(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,206558,e=>{"use strict";e.s(["NEXT_PUBLIC",()=>r,"SEARCH_REMOVED",()=>o]);var t=e.i(247167),n=e.i(839847);let r={ENV:"production",POSTHOG_KEY:"phc_eNuN6Ojnk9O7uWfC17z12AK85fNR0BY6IiGVy0Gfwzw",AUTH_ENABLED:t.default.env.NEXT_PUBLIC_AUTH_ENABLED,CUSTOM_JS_DISABLED:t.default.env.NEXT_PUBLIC_CUSTOM_JS_DISABLED,ASSET_PREFIX:t.default.env.NEXT_PUBLIC_ASSET_PREFIX??"",AI_MESSAGE_HOST:"https://leaves.mintlify.com",BASE_PATH:(0,n.normalizeBasePath)("/docs"),IS_LOCAL_CLIENT:"true"===t.default.env.NEXT_PUBLIC_IS_LOCAL_CLIENT,IS_SELF_HOSTED:"true"===t.default.env.NEXT_PUBLIC_IS_SELF_HOSTED,TURNSTILE_SITE_KEY:"0x4AAAAAACyMzUc-ZGkPEsa2",ENABLE_DOCS_CONFIG_OVERRIDES:"true"===t.default.env.NEXT_PUBLIC_ENABLE_DOCS_CONFIG_OVERRIDES},o="true"===t.default.env.NEXT_PUBLIC_SEARCH_REMOVED},221274,(e,t,n)=>{t.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},439805,(e,t,n)=>{t.exports=function(e){return this.__data__.has(e)}},27493,(e,t,n)=>{var r=e.r(587547),o=e.r(221274),i=e.r(439805);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{t.exports=function(e,t){return e.has(t)}},206856,(e,t,n)=>{var r=e.r(27493),o=e.r(851477),i=e.r(315262);t.exports=function(e,t,n,a,s,l){var c=1&n,p=e.length,u=t.length;if(p!=u&&!(c&&u>p))return!1;var d=l.get(e),f=l.get(t);if(d&&f)return d==t&&f==e;var h=-1,g=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},899850,(e,t,n)=>{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},678012,(e,t,n)=>{var r=e.r(630353),o=e.r(263750),i=e.r(25172),a=e.r(206856),s=e.r(75331),l=e.r(899850),c=r?r.prototype:void 0,p=c?c.valueOf:void 0;t.exports=function(e,t,n,r,c,u,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!u(new o(e),new o(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=l),e.size!=t.size&&!h)break;var g=d.get(e);if(g)return g==t;r|=2,d.set(e,t);var m=a(f(e),f(t),r,c,u,d);return d.delete(e),m;case"[object Symbol]":if(p)return p.call(e)==p.call(t)}return!1}},330698,(e,t,n)=>{var r=e.r(413370),o=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),p=c.length;if(p!=r(t).length&&!l)return!1;for(var u=p;u--;){var d=c[u];if(!(l?d in t:o.call(t,d)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++u{var r=e.r(901551),o=e.r(206856),i=e.r(678012),a=e.r(330698),s=e.r(367426),l=e.r(45350),c=e.r(356956),p=e.r(3023),u="[object Arguments]",d="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,g,m,y){var b=l(e),v=l(t),z=b?d:s(e),w=v?d:s(t);z=z==u?f:z,w=w==u?f:w;var x=z==f,E=w==f,j=z==w;if(j&&c(e)){if(!c(t))return!1;b=!0,x=!1}if(j&&!x)return y||(y=new r),b||p(e)?o(e,t,n,g,m,y):i(e,t,z,n,g,m,y);if(!(1&n)){var O=x&&h.call(e,"__wrapped__"),A=E&&h.call(t,"__wrapped__");if(O||A){var S=O?e.value():e,I=A?t.value():t;return y||(y=new r),m(S,I,n,g,y)}}return!!j&&(y||(y=new r),a(e,t,n,g,m,y))}},421885,(e,t,n)=>{var r=e.r(178353),o=e.r(877289);t.exports=function e(t,n,i,a,s){return t===n||(null!=t&&null!=n&&(o(t)||o(n))?r(t,n,i,a,e,s):t!=t&&n!=n)}},898892,(e,t,n)=>{var r=e.r(421885);t.exports=function(e,t){return r(e,t)}},590280,644017,42143,8136,265694,750962,699510,120067,127250,322986,e=>{"use strict";e.s(["LivePreviewContext",()=>r3,"LivePreviewProvider",()=>r7,"applyLivePreviewCssOverrides",()=>r$,"buildLivePreviewRequestContentMessage",()=>rK,"isLivePreviewControllerMessage",()=>rQ,"isNewLivePreviewPath",()=>r2,"mergeLivePreviewMedia",()=>rF,"parseLivePreviewNewPaths",()=>r1,"resolveLivePreviewHref",()=>r6,"resolveLivePreviewMediaSrc",()=>rW],590280);var t,n=e.i(843476);e.s(["ALLOWED_LIVE_PREVIEW_ORIGINS",()=>w,"ALLOWED_LIVE_PREVIEW_ORIGINS_STATIC",()=>b,"DOCS_CONFIG_OVERRIDES_SESSION_STORAGE_KEY",()=>i,"LIVE_PREVIEW_MODE_SESSION_STORAGE_KEY",()=>d,"LIVE_PREVIEW_NAVIGATE_BACK_MESSAGE_TYPE",()=>c,"LIVE_PREVIEW_NAVIGATE_FORWARD_MESSAGE_TYPE",()=>p,"LIVE_PREVIEW_PARAM",()=>l,"LIVE_PREVIEW_REFRESH_MESSAGE_TYPE",()=>u,"LIVE_PREVIEW_ROUTE_PREFIX",()=>s,"LIVE_PREVIEW_SESSIONSTORAGE_GET_MESSAGE_TYPE",()=>f,"LIVE_PREVIEW_SESSIONSTORAGE_GET_RESPONSE_MESSAGE_TYPE",()=>h,"LIVE_PREVIEW_SESSIONSTORAGE_REMOVE_MESSAGE_TYPE",()=>m,"LIVE_PREVIEW_SESSIONSTORAGE_SET_MESSAGE_TYPE",()=>g,"NAVIGATION_OVERRIDE_SESSION_STORAGE_KEY",()=>a,"appendLivePreviewParam",()=>E,"isAllowedLivePreviewOrigin",()=>z,"stripLivePreviewPrefix",()=>x],644017);var r=e.i(247167),o=e.i(876469);let i="docs-config-overrides",a="live-preview-navigation-override",s="/_live-preview",l="_mintlify-live-preview",c="LIVE_PREVIEW_NAVIGATE_BACK",p="LIVE_PREVIEW_NAVIGATE_FORWARD",u="LIVE_PREVIEW_REFRESH",d="livePreviewMode",f="LIVE_PREVIEW_SESSIONSTORAGE_GET",h="LIVE_PREVIEW_SESSIONSTORAGE_GET_RESPONSE",g="LIVE_PREVIEW_SESSIONSTORAGE_SET",m="LIVE_PREVIEW_SESSIONSTORAGE_REMOVE",y=r.default.env.NEXT_PUBLIC_LOCAL_DASHBOARD_ORIGIN??"http://localhost:3000",b=o.IS_DEV?[y]:["https://dashboard.mintlify.com","https://app.mintlify.com"],v=[];function z(e){return!!b.includes(e)||v.some(t=>t.test(e))}let w=b;function x(e){return e.includes(s)?e.replace(s,"")||"/":e}function E(e){if(!e||e.startsWith("http://")||e.startsWith("https://")||e.startsWith("//")||e.startsWith("mailto:")||e.startsWith("tel:")||e.includes(l))return e;let t=e.indexOf("#"),n=-1!==t,r=n?e.slice(0,t):e,o=n?e.slice(t):"",i=r.includes("?")?"&":"?";return`${r}${i}${l}=true${o}`}var j=e.i(206558);e.s(["normalizeLivePreviewPath",()=>A],42143);var O=e.i(558594);function A(e,t=j.NEXT_PUBLIC.BASE_PATH){return(0,O.stripLivePreviewBasePath)(e,t)}var S=e.i(50270);let I=S.z.string().trim().nonempty(),_=S.z.union([S.z.string().min(3,"Must be a path to your logo file including the file extension"),S.z.object({light:S.z.string(),dark:S.z.string(),href:S.z.string().optional()})]),k=S.z.object({default:S.z.enum(["light","dark"]).optional(),isHidden:S.z.boolean().optional()}),P=S.z.object({display:S.z.enum(["section","breadcrumbs"]).optional()}),T=S.z.boolean(),L=S.z.record(S.z.string(),S.z.string().nonempty()),C=S.z.object({mode:S.z.enum(["auto","dark"]).optional()}),R=S.z.object({thumbsRating:S.z.boolean().optional(),suggestEdit:S.z.boolean().optional(),raiseIssue:S.z.boolean().optional()}),M=S.z.object({prompt:S.z.string().optional(),location:S.z.enum(["side","top"]).optional()}),N=S.z.object({source:S.z.string(),destination:S.z.string(),permanent:S.z.boolean().optional()}),U=S.z.array(N).refine(e=>{let t=e.map(e=>e.source);return new Set(t).size===t.length},"Each source path can only be used once"),D=S.z.union([S.z.object({type:S.z.literal("link").optional(),name:S.z.string(),url:S.z.string().nonempty(),style:S.z.enum(["pill","roundedRectangle"]).optional(),arrow:S.z.boolean().optional()}).strict(),S.z.object({type:S.z.literal("github"),url:S.z.string().url("Must be a valid URL").describe("A link to your GitHub repository")}).strict()]).describe('An object containing the configuration for a Call-to-Action button. The object can have { "type": "link" } (the default) if you define a url and a name. For links to your GitHub repo, use { "type": "github" }'),B=S.z.string().url().optional().default("https://mintlify.com/docs.json").describe("The URL of the schema file"),q=e=>{if(!e||"string"!=typeof e)return!1;try{return URL.canParse(e)}catch(e){return!1}};var V=e.i(741790);function W(e){let t=V.default.posix.resolve("/",e).slice(1);return e.endsWith("/")&&t.length>0&&!t.endsWith("/")?t+"/":t}let F=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{let n=new URL(e);if("https:"!==n.protocol&&"http:"!==n.protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema"}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),$=S.z.object({source:F,directory:S.z.string().trim().optional()}).strict(),G=S.z.union([F,S.z.array(F),$]).describe("A string or an array of strings of absolute or relative urls pointing to the AsyncAPI file(s)"),H=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{let n=new URL(e);if("https:"!==n.protocol&&"http:"!==n.protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema"}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),K=S.z.object({source:H,directory:S.z.string().trim().optional(),overlays:S.z.array(H).optional().describe("OpenAPI Overlay documents to apply to the source specification, in order. An empty array disables all overlays for this specification, including auto-discovered ones.")}).strict(),Y=S.z.union([H,S.z.array(S.z.union([H,K])),K]).describe("A string, an array of strings or objects, or an object of absolute or relative urls pointing to the OpenAPI file(s), optionally with OpenAPI Overlay documents to apply"),X=S.z.object({openapi:Y.optional(),asyncapi:G.optional(),params:S.z.object({expanded:S.z.enum(["all","closed"]).optional().describe("The view mode of the API parameters. Defaults to `closed`."),post:S.z.array(S.z.string()).optional().describe("OpenAPI spec field keys to render as post pills on every ParamField. For each key, the field value on the schema is surfaced as a pill (string → verbatim, boolean true → key name, array → one pill per element, object → skipped).")}).optional().describe("Configurations for the API parameters"),playground:S.z.object({display:S.z.enum(["interactive","simple","none","auth"]).optional().describe("The display mode of the API playground. Defaults to `interactive`. Use `auth` to show the playground only to authenticated users."),proxy:S.z.boolean().optional().describe("Whether to pass API requests through a proxy server. Defaults to `true`."),credentials:S.z.boolean().optional().describe("Whether to include cookies/auth for cross-origin requests when proxy is disabled. Defaults to `false`.")}).optional().describe("Configurations for the API playground"),examples:S.z.object({defaults:S.z.enum(["required","all"]).optional().describe("Whether to show only required parameters in the examples, defaults to `all`."),languages:S.z.array(S.z.string()).optional().describe("Example languages for the autogenerated API snippets"),prefill:S.z.boolean().optional().describe("Whether to prefill the API playground with the examples"),autogenerate:S.z.boolean().optional().describe("Whether to generate code samples for API endpoints. Defaults to `true`. If `false`, only manually-written code samples (from either `x-codeSamples` property in the OpenAPI spec or `` components in the MDX files) will be shown.")}).optional().describe("Configurations for the autogenerated API examples"),url:S.z.enum(["full"]).optional().describe("The display mode of the base URL in the endpoint header. Set to `full` to always show the full base URL on every endpoint page."),mdx:S.z.object({auth:S.z.object({method:S.z.enum(["bearer","basic","key","cobo"]).optional().describe("Authentication method for the API"),name:S.z.string().optional().describe("Authentication name for the API")}).optional().describe("Authentication configuration for the API"),server:S.z.union([S.z.string().url(),S.z.array(S.z.string().url())]).optional().describe("Base URL(s) for the API")}).optional().describe("Configurations for API pages generated from MDX files")}).describe("API reference configuration and playground settings"),J=S.z.object({default:S.z.enum(["system","light","dark"]).optional().describe("The default light/dark mode. Defaults to `system`."),strict:S.z.boolean().optional().describe("Whether to hide the light / dark mode toggle. Defaults to `false`.")}).describe("Light / dark mode toggle settings"),Z=S.z.string().regex(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,"Must be a hex color string, with a leading #"),Q=S.z.object({light:Z.describe("The color in hex format to use in light mode").optional(),dark:Z.describe("The color in hex format to use in dark mode").optional()}).strict(),ee=S.z.object({image:S.z.union([S.z.string().describe("Path or URL pointing to the background image file, including the file extension. Used for both light and dark mode."),S.z.object({light:S.z.string().describe("The file for the light version of the background image used in dark mode, including the file extension."),dark:S.z.string().describe("The file for the dark version of the background image used in light mode, including the file extension.")}).describe("The path to the background image. Can be a single file or a pair for light and dark mode.")]).optional().describe("The background image configuration. Can be a single image for both light and dark mode, or separate images for each mode."),decoration:S.z.enum(["gradient","grid","windows"]).optional().describe("The background decoration of the theme"),color:S.z.object({light:Z.describe("The background color in light mode").optional(),dark:Z.describe("The background color in dark mode").optional()}).strict().optional().describe("The colors of the background")}).describe("Background color and decoration settings"),et=S.z.object({content:S.z.string().nonempty().describe("The text content displayed in the banner. Supports basic MDX formatting including links, bold, and italic text. Custom components are not supported."),dismissible:S.z.boolean().optional().describe("Whether to show the dismiss button on the right side of the banner"),type:S.z.enum(["info","warning","critical"]).optional().describe("The visual style of the banner. `info` uses the primary brand color for general announcements. `warning` uses an amber background for cautionary notices (maintenance, deprecations). `critical` uses a red background for urgent notices. Defaults to `info`."),color:Q.optional().describe("Override the banner background color with a custom hex color. Accepts `{ light, dark }` for theme-aware colors. When set, takes precedence over the color implied by `type`. Banner text is white, so choose a dark enough background for legibility.")}).describe("Display an announcement bar across the top of every page. When enabled, the banner is shown with the content you provide."),en=S.z.object({primary:Z.describe("The primary color"),light:Z.optional().describe("The light color. Used primary in dark mode."),dark:Z.optional().describe("The dark color. Used primary in light mode.")}).strict().describe('The colors to use in your documentation. At the very least, you must define the primary color. For example: { "colors": { "primary": "#ff0000" } }.');e.s(["contextualSchema",()=>ef],699510),e.s(["NATIVE_METADATA_TAG_KEYS_SET",()=>er,"contextualDisplayOptions",()=>ei,"contextualOptions",()=>eo],8136);let er=new Set(["title","description","keywords","url","href","noindex","rss","robots","canonical","og:site_name","og:title","og:description","og:url","og:type","og:image","og:image:width","og:image:height","twitter:card","twitter:title","twitter:description","twitter:site","twitter:image","twitter:image:width","twitter:image:height"]),eo=["copy","assistant","view","download-pdf","download-spec","chatgpt","claude","perplexity","grok","aistudio","devin","windsurf","mcp","add-mcp","cursor","vscode","devin-mcp"],ei=["header","toc"];e.s(["iconTypes",()=>ea],265694);let ea=["brands","duotone","light","regular","sharp-duotone-solid","sharp-light","sharp-regular","sharp-solid","sharp-thin","solid","thin"];e.s(["iconLibraries",()=>es,"isNotDefaultFontawesome",()=>el],750962);let es=["fontawesome","lucide","tabler"];function el(e){return"lucide"===e||"tabler"===e}let ec=S.z.string({invalid_type_error:"Anchor icon must be the name of a Font Awesome, Lucide, or Tabler icon. Browse their libraries to see all the available icons: https://fontawesome.com/icons, https://lucide.dev/icons, https://tabler.io/icons"}).refine(e=>!e.startsWith("fa-"),"Icon does not need to start with 'fa-'. Please delete 'fa-' and keep the rest of the icon name"),ep=S.z.union([ec,S.z.object({style:S.z.enum(ea).optional(),name:ec,library:S.z.enum(es).optional()})]).describe("The icon to be displayed in the section"),eu=S.z.object({base:S.z.string(),query:S.z.array(S.z.object({key:S.z.string(),value:S.z.string()})).optional()}),ed=S.z.object({title:S.z.string(),description:S.z.string(),icon:ep.optional(),href:S.z.union([S.z.string(),eu])}).describe("Custom contextual option"),ef=S.z.object({options:S.z.array(S.z.union([S.z.enum(eo),ed])).describe("Quick actions surfaced in the page context menu, like copying the page contents or opening it in an AI assistant (ChatGPT, Claude, Cursor, etc.)").refine(e=>new Set(e).size===e.length,{message:"Each contextual option can only appear once"}),display:S.z.enum(ei).optional().default("header").describe("Where to display the contextual options: `header` (default) shows them in the top-of-page context menu, `toc` shows them in the table of contents sidebar.")}).describe("Context menu shown on each documentation page, providing quick actions for copying, viewing source, and opening the page in AI assistants and IDEs"),eh=S.z.string().trim().describe("Overview of the project. Used for SEO and AEO."),eg=S.z.object({404:S.z.object({redirect:S.z.boolean().optional().default(!0).describe("Whether to redirect to the home page, if the page is not found. When false, displays a 404 page."),title:S.z.string().optional().describe("The title of the error page"),description:S.z.string().optional().describe("The description of the error page. Supports MDX formatting including links, bold, italic text, and custom components.")})}).describe("Error pages configuration"),em=S.z.union([S.z.string().describe("Path pointing to the favicon file in your docs folder, including the file extension. The favicon will automatically be resized to the appropriate sizes."),S.z.object({light:S.z.string().describe("The file for the light version of the favicon used in dark mode, including the file extension."),dark:S.z.string().describe("The file for the dark version of the favicon used in light mode, including the file extension.")}).describe("The path to the favicon. Can be a single file or a pair for light and dark mode.")]).describe("The favicon configuration. Can be a single image path for both light and dark mode, or separate paths for each mode."),ey=["woff","woff2"],eb=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{let n=new URL(e);if("https:"!==n.protocol&&"http:"!==n.protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema"}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),ev=S.z.object({family:S.z.string().describe("The font family name. Any [Google Fonts](https://fonts.google.com/) family works out of the box (e.g. `Inter`, `Open Sans`, `Playfair Display`). For a self-hosted font, set `source` and `format` as well."),weight:S.z.number().optional().describe("The font weight. Typically `400` for regular and `700` for bold. Variable fonts support precise weights like `550`."),source:eb.optional().describe("URL or path to a self-hosted font file. Use this when the font is not on Google Fonts. Example: `/fonts/custom.woff2` or `https://cdn.example.com/font.woff2`."),format:S.z.enum(ey).optional().describe("File format of the self-hosted font. Required when `source` is set.")}).refine(e=>!e.source||!!e.format),ez=S.z.union([ev,S.z.object({heading:ev.optional().describe("Font settings applied to all headings (`h1`–`h6`)."),body:ev.optional().describe("Font settings applied to body text and the rest of the page.")}).strict()]).describe("Typography configuration. Use a single set of font settings for the whole site, or split into separate `heading` and `body` fonts.");e.s(["footerSocialKeys",()=>ew],120067);let ew=["x","website","facebook","youtube","discord","slack","github","linkedin","instagram","hacker-news","medium","telegram","twitter","x-twitter","earth-americas","bluesky","threads","reddit","podcast"],ex=["https:"],eE=[".svg",".exe",".zip"];function ej(e){let t=e,n=t.indexOf("#");-1!==n&&0!==n&&(t=t.substring(0,n));try{let e=new URL(t);"/"!==e.pathname&&e.pathname.endsWith("/")&&(e.pathname=e.pathname.replace(/\/+$/,""),t=e.toString())}catch(e){if(!t.startsWith("mailto:")){let e=t.indexOf("?");if(-1!==e){let n=t.substring(0,e),r=t.substring(e);t=(n.length>1&&n.endsWith("/")?n.replace(/\/+$/,""):n)+r}else t.length>1&&t.endsWith("/")&&(t=t.replace(/\/+$/,""))}}return t}let eO=S.z.string().refine(e=>{if(e.startsWith("/")||e.startsWith("#")||e.startsWith("mailto:"))return!0;try{return new URL(e),!0}catch(e){return!1}},{message:"Must be a valid URL or relative path"}).describe("A valid path or external link"),eA=S.z.string().transform(ej).refine(e=>{if(e.startsWith("//"))return!1;if(e.startsWith("/")||e.startsWith("mailto:")||e.startsWith("#"))return!0;try{let t=new URL(e),n=ex.includes(t.protocol),r=decodeURIComponent(t.pathname).toLowerCase(),o=!eE.some(e=>r.endsWith(e));return n&&o}catch(e){return!1}},{message:"Must be a valid url or relative path."}),eS=["https:"],eI=[".svg",".exe",".zip"],e_=S.z.string().url().transform(ej).refine(e=>{try{let t=new URL(e),n=eS.includes(t.protocol),r=decodeURIComponent(t.pathname).toLowerCase(),o=!eI.some(e=>r.endsWith(e));return n&&o}catch(e){return!1}},{message:"Must be a valid HTTPS URL."}),ek=S.z.object({label:S.z.string().nonempty("Link must have a non-empty label").describe("The label of the link"),href:eA.describe("The url of the link")}),eP=S.z.object({header:S.z.string().nonempty("Column must have a non-empty header").optional().describe("The header title of the column"),items:S.z.array(ek).min(1,"Column must have at least 1 link").describe("The links to be displayed in the column")}),eT=S.z.record(S.z.enum(ew),e_.describe("Must be a valid URL")).describe("An object in which each key is the name of a social media platform, and each value is the url to your profile."),eL=S.z.object({socials:eT.optional(),links:S.z.array(eP).min(1,"A footer must have at least 1 links column").max(4,"A footer can have a maximum of 4 links columns").optional().describe("Enable columns with links to be displayed in the footer")}).describe("Footer configurations"),eC=S.z.object({library:S.z.enum(es).describe("The icon library used for all icon properties. Defaults to `fontawesome`.")}).describe("Icon library settings"),eR=S.z.object({launchUrl:S.z.string().url("Must be a valid URL")}),eM=S.z.object({apiKey:S.z.string()}),eN=S.z.object({publicApiKey:S.z.string()}),eU=S.z.object({siteId:S.z.string()}),eD=S.z.object({measurementId:S.z.string().startsWith("G","Must start with G")}),eB=S.z.object({tagId:S.z.string().startsWith("G","Must start with G")}),eq=S.z.object({hjid:S.z.string(),hjsv:S.z.string()}),eV=S.z.object({publicApiKey:S.z.string().min(2)}),eW=S.z.object({appId:S.z.string()}),eF=S.z.object({projectToken:S.z.string(),region:S.z.enum(["us","eu","in"]).optional()}),e$=S.z.object({id:S.z.string()}),eG=S.z.object({apiKey:S.z.string().startsWith("phc_","Must start with phc_"),apiHost:S.z.string().url("Must be a valid URL").optional(),sessionRecording:S.z.boolean().optional()}),eH=S.z.object({domain:S.z.string().refine(e=>!e.startsWith("https://"),"Must not start with https://"),server:S.z.string().refine(e=>!e.startsWith("https://"),"Must not start with https://").optional()}),eK=S.z.object({appId:S.z.string()}),eY=S.z.object({writeKey:S.z.string(),apiHost:S.z.string().optional()}),eX=S.z.object({projectId:S.z.string()}),eJ=S.z.object({key:S.z.string(),cdnUrl:S.z.string().url().refine(e=>e.startsWith("https://"),"Must be an HTTPS URL").refine(e=>{try{let t=new URL(e);return!t.search&&!t.hash}catch(e){return!0}},"Must not contain query parameters or fragments").optional()}),eZ=S.z.object({domainScript:S.z.string().min(1,"Domain script is required"),categoryId:S.z.string().min(1,"Category ID is required").optional(),scriptSource:S.z.string().url("Must be a valid URL").refine(e=>e.startsWith("https://"),"Must be an HTTPS URL").optional()}),eQ=S.z.object({bundleId:S.z.string().trim().regex(/^[a-zA-Z0-9_-]+$/,"Bundle ID must contain only letters, numbers, hyphens, or underscores"),analyticsPurpose:S.z.string().trim().min(1).max(100).optional()}),e0=S.z.object({appId:S.z.string().min(6,"Must be a valid Intercom app ID")}),e1=S.z.object({snippetId:S.z.string().min(6,"Must be a valid Front chat snippet id")}),e2=S.z.object({enabled:S.z.boolean().optional()}),e6=S.z.object({key:S.z.string().optional(),value:S.z.string().optional()}),e5=[".svg",".exe",".zip"];S.z.object({src:S.z.string().url("Must be a valid URL").refine(e=>e.startsWith("https://"),"Must be an HTTPS URL").refine(e=>{try{let{pathname:t}=new URL(e),n=decodeURIComponent(t).toLowerCase();return!e5.some(e=>n.endsWith(e))}catch(e){return!1}},"URL must not point to a disallowed file type (e.g. .svg, .exe, .zip)"),strategy:S.z.enum(["beforeInteractive","afterInteractive","lazyOnload"]).optional()});let e3=S.z.object({adobe:eR.optional(),amplitude:eM.optional(),clarity:eX.optional(),clearbit:eN.optional(),fathom:eU.optional(),frontchat:e1.optional(),ga4:eD.optional(),gtm:eB.optional(),heap:eK.optional(),hightouch:eY.optional(),hotjar:eq.optional(),intercom:e0.optional(),koala:eV.optional(),logrocket:eW.optional(),mixpanel:eF.optional(),onetrust:eZ.optional(),pirsch:e$.optional(),posthog:eG.optional(),plausible:eH.optional(),segment:eJ.optional(),telemetry:e2.optional(),cookies:e6.optional(),transcend:eQ.optional()}).strict().describe("Configurations for official integrations"),e4=S.z.object({drilldown:S.z.boolean().optional().describe("Whether to automatically navigate to the first page when navigation groups are expanded")}).describe("Options for how users interact with links in the documentation"),e8=S.z.union([S.z.string().min(3,"Must be a path to your logo file including the file extension").describe("The logo (for both light and dark mode)"),S.z.object({light:S.z.string().describe("The file for the light version of the logo used in dark mode, including the file extension."),dark:S.z.string().describe("The file for the dark version of the logo used in light mode, including the file extension."),href:eO.optional().describe("The URL to redirect to when clicking the logo. If not provided, the logo will link to the homepage.")})]).describe("The logo configuration. Can be a single image path for both light and dark mode, or separate paths for each mode with an optional click target URL."),e7=S.z.object({schema:S.z.boolean().optional().describe("Whether to include the full OpenAPI/AsyncAPI specification in API reference pages served as markdown to AI agents. Defaults to true."),instructions:S.z.union([S.z.string(),S.z.array(S.z.string())]).optional().describe("Custom instructions appended to every page served as markdown to AI agents, in addition to Mintlify's default guidance. Use this to provide product-specific directions such as preferred CLIs, workflows, or interaction patterns. Provide a single string or an array of strings (rendered as separate lines).")}).optional().describe("Configuration for markdown pages served to AI agents"),e9=S.z.object({timestamp:S.z.boolean().optional().default(!1).describe("When enabled, all pages will display the date the content was last modified. Default is `false`.")}).optional().describe("Metadata configuration for documentation pages"),te=S.z.string().trim().nonempty().describe("The name of the project"),tt=S.z.object({icon:ep.optional(),href:eO}),tn=tt.extend({label:S.z.string(),type:S.z.string().optional()}),tr=tt.extend({label:S.z.string().optional(),type:S.z.literal("github")}),to=tt.extend({label:S.z.string().optional(),type:S.z.literal("discord")}),ti=S.z.union([tr,to,tn]),ta=S.z.object({type:S.z.literal("button"),label:S.z.string(),href:eO}),ts=S.z.object({type:S.z.literal("github"),label:S.z.string().optional(),href:eO}),tl=S.z.object({type:S.z.literal("discord"),label:S.z.string().optional(),href:eO}),tc=S.z.discriminatedUnion("type",[ta,ts,tl]),tp=S.z.object({links:S.z.array(ti).optional().describe("The links in the navbar"),primary:tc.optional().describe("The primary CTA in the navbar")}).describe("Navbar content and settings"),tu=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{if("https:"!==new URL(e).protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must be a local path or a valid HTTPS URL."}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),td=S.z.object({source:tu,directory:S.z.string().trim().nonempty().transform(W).optional()}).strict(),tf=S.z.union([tu,td]).describe("A local path or HTTPS URL pointing to a GraphQL SDL schema"),th=S.z.never().optional();var tg=e.i(765106);let tm=S.z.enum(tg.SDK_FORMATS).describe("The documentation generator that produced the artifact"),ty=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{if("https:"!==new URL(e).protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must be a local path or a valid HTTPS URL."}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}).describe("Relative path or HTTPS URL of the generator artifact; directory-shaped formats accept a zip (or javadoc jar) when remote"),tb=S.z.object({format:tm,source:ty,directory:S.z.string().trim().nonempty().transform(W).optional()}).strict().describe("Generate SDK reference pages from a documentation generator artifact"),tv=S.z.never().optional(),tz=S.z.boolean().describe("Whether the current option is default hidden"),tw=S.z.union([S.z.string(),S.z.record(S.z.string(),S.z.string()).refine(e=>1===Object.keys(e).length,{message:"Related page title entries must contain exactly one link"})]),tx=S.z.union([S.z.literal(!1),S.z.array(tw)]),tE=S.z.string().nonempty().transform(W).describe("A page in the navigation. Referenced by the path to the page. Example: path/to/page."),tj=S.z.object({href:S.z.string(),title:S.z.string(),sidebarTitle:S.z.string().optional(),description:S.z.string().optional(),canonical:S.z.string().optional(),"og:title":S.z.string().optional(),"og:url":S.z.string().optional(),api:S.z.string().optional(),openapi:S.z.string().optional(),asyncapi:S.z.string().optional(),graphql:S.z.object({source:S.z.string(),kind:S.z.enum(["query","mutation","type"]),name:S.z.string()}).optional(),contentType:S.z.string().optional(),authMethod:S.z.string().optional(),auth:S.z.string().optional(),version:S.z.string().optional(),mode:S.z.string().optional(),hideFooterPagination:S.z.boolean().optional(),authors:S.z.unknown().optional(),lastUpdatedDate:S.z.string().optional(),createdDate:S.z.string().optional(),"openapi-schema":S.z.string().optional(),icon:ep.optional(),iconType:S.z.enum(ea).optional().describe("Deprecated, use icon instead"),tag:S.z.string().optional(),url:S.z.string().optional(),hideApiMarker:S.z.boolean().optional(),noindex:S.z.boolean().optional(),searchable:S.z.boolean().optional(),isPublic:S.z.boolean().optional(),public:S.z.boolean().optional(),boost:S.z.number().optional(),deprecated:S.z.boolean().optional(),hidden:S.z.boolean().optional(),groups:S.z.array(S.z.string()).optional(),robots:S.z.string().optional(),playground:S.z.enum(["interactive","simple","none","auth"]).optional(),keywords:S.z.array(S.z.string()).optional(),timestamp:S.z.boolean().optional(),related:tx.optional(),contextual:ef.optional()}).passthrough().describe("page metadata tags in the navigation"),tO=S.z.boolean().describe("When true on a hidden tab or group, descendant pages remain indexed for search, sitemap, AI assistant, and llms.txt despite being hidden from the rendered navigation. Has no effect when hidden is false."),tA=S.z.lazy(()=>S.z.union([tE,tC])),tS=S.z.lazy(()=>S.z.union([tj,tR])),tI=S.z.array(tA).describe("An array of page paths or groups"),t_=S.z.array(tS).describe("An array of page metadata or groups");var tk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let tP={directory:S.z.enum(["none","accordion","card"]).optional().describe('Directory layout for this navigation node and its descendants. "accordion" and "card" show automatic directory UI on eligible root pages; "none" disables it. Inherits recursively; descendants can override.')},tT=S.z.object(Object.assign({group:S.z.string().nonempty().describe("The name of the group"),graphql:th,sdk:tv,public:S.z.boolean().optional().describe("Whether the group is public"),boost:S.z.number().optional().describe("Search ranking multiplier for pages in this group (e.g. 3 = 3x boost)"),icon:ep.optional(),hidden:tz.optional(),searchable:tO.optional(),root:tE.optional(),tag:S.z.string().optional().describe("Tag for the group"),expanded:S.z.boolean().optional().describe("Whether the group is expanded by default")},tP)),tL=e=>e.optional().catch(void 0),tC=tT.extend({sdk:tb.optional(),openapi:tL(Y),asyncapi:tL(G).describe("A string or an array of strings of absolute or relative urls pointing to the AsyncAPI file(s). Ignored when openapi is also set"),pages:S.z.lazy(()=>tI).default([])}).transform(e=>{if(void 0===e.openapi||void 0===e.asyncapi)return e;let{asyncapi:t}=e;return tk(e,["asyncapi"])}).describe("Organizing by groups"),tR=S.z.object(Object.assign({group:S.z.string().nonempty().describe("The name of the group"),public:S.z.boolean().optional().describe("Whether the group is public"),boost:S.z.number().optional().describe("Search ranking multiplier for pages in this group (e.g. 3 = 3x boost)"),icon:ep.optional(),hidden:tz.optional(),searchable:tO.optional(),root:tj.optional(),pages:S.z.lazy(()=>t_),tag:S.z.string().optional().describe("Tag for the group"),expanded:S.z.boolean().optional().describe("Whether the group is expanded by default")},tP)).describe("Organizing by groups"),tM=S.z.array(tC).min(1,"At least one group must be specified").describe("Organizing by groups"),tN=S.z.array(tR).min(1,"At least one group must be specified").describe("Organizing by groups"),tU=S.z.object(Object.assign({version:S.z.string().nonempty().describe("The name of the version"),graphql:th,sdk:tv,default:S.z.boolean().optional().describe("Whether this version is the default version"),tag:S.z.string().optional().describe("Tag for the version"),hidden:tz.optional()},tP)),tD=tU.extend({href:eO}),tB=S.z.union([tU.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({groups:S.z.lazy(()=>tM),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tU.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),tq=tU.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}))])),tV=S.z.array(tB).min(1,"At least one version must be specified").describe("Organizing by versions"),tW=S.z.array(tq).min(1,"At least one version must be specified").describe("Organizing by versions"),tF=S.z.enum(["start","end"]).describe("Tab alignment in the navigation"),t$=S.z.object(Object.assign({tab:S.z.string().nonempty().describe("The name of the tab"),icon:ep.optional(),hidden:tz.optional(),searchable:tO.optional(),align:tF.optional()},tP)),tG=t$.extend({href:eO,graphql:th,sdk:tv}),tH=S.z.union([t$.extend({graphql:tf}).strict(),t$.extend({groups:S.z.lazy(()=>tM),graphql:tf}).strict(),t$.extend({sdk:tb}).strict(),t$.extend({groups:S.z.lazy(()=>tM),sdk:tb}).strict(),t$.extend({href:eO,graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({languages:S.z.lazy(()=>nn),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({versions:S.z.lazy(()=>tV),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({dropdowns:S.z.lazy(()=>nc),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({anchors:S.z.lazy(()=>ng),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({products:S.z.lazy(()=>t3),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({groups:S.z.lazy(()=>tM),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({pages:S.z.lazy(()=>tI),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({menu:S.z.lazy(()=>t0),graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t$.extend({graphql:th,sdk:tv,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),tK=t$.and(S.z.object({graphql:th,sdk:tv})).and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()})),S.z.lazy(()=>S.z.object({menu:t1,global:no.optional()}))])),tY=S.z.array(tH).min(1,"At least one tab must be specified").describe("Organizing by tabs"),tX=S.z.array(tK).min(1,"At least one tab must be specified").describe("Organizing by tabs"),tJ=S.z.object(Object.assign({item:S.z.string().nonempty().describe("The name of the menu item"),graphql:th,sdk:tv,icon:ep.optional(),description:S.z.string().optional().describe("The description of the menu item"),hidden:tz.optional()},tP));tJ.extend({href:eO});let tZ=S.z.union([tJ.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({groups:S.z.lazy(()=>tM),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),tJ.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),tQ=tJ.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}))])),t0=S.z.array(tZ).describe("Organizing by menu"),t1=S.z.array(tQ).min(1,"At least one menu item must be specified").describe("Organizing by menu"),t2=S.z.object(Object.assign({product:S.z.string().nonempty().describe("The name of the product"),graphql:th,sdk:tv,name:S.z.string().optional().describe("Display name for the product"),icon:ep.optional(),color:Q.optional(),description:S.z.string().optional().describe("The description of the product"),hidden:tz.optional()},tP)),t6=S.z.union([t2.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({groups:S.z.lazy(()=>tM),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({menu:S.z.lazy(()=>t0),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t2.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),t5=t2.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()})),S.z.lazy(()=>S.z.object({menu:t1,global:no.optional()}))])),t3=S.z.array(t6).describe("Organizing by products"),t4=S.z.array(t5).min(1,"At least one product must be specified").describe("Organizing by products"),t8=t2.extend({href:eO}),t7=S.z.object(Object.assign({language:S.z.enum(["en","cn","zh","zh-Hans","zh-Hant","zh-CN","zh-TW","es","fr","fr-CA","fr-ca","ja","jp","ja-jp","ja-JP","pt","pt-BR","de","ko","it","ru","ro","cs","id","ar","tr","hi","sv","no","da","lv","nl","uk","vi","pl","uz","he","ca","fi","hu"]).describe("The name of the language in the ISO 639-1 format"),graphql:th,sdk:tv,default:S.z.boolean().optional().describe("Whether this language is the default language"),banner:et.optional().describe("Banner configuration specific to this language"),footer:eL.optional().describe("Footer configuration specific to this language"),navbar:tp.optional().describe("Navbar configuration specific to this language"),hidden:tz.optional()},tP)),t9=t7.extend({href:eO}),ne=S.z.union([t7.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({groups:S.z.lazy(()=>tM),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),t7.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]).describe("Organizing by languages"),nt=t7.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}))])).describe("Organizing by languages"),nn=S.z.array(ne).min(1,"At least one language must be specified").describe("Organizing by languages"),nr=S.z.array(nt).min(1,"At least one language must be specified").describe("Organizing by languages"),no=S.z.lazy(()=>S.z.object({languages:S.z.array(t9).optional(),versions:S.z.array(tD).optional(),tabs:S.z.array(tG).optional(),dropdowns:S.z.array(na).optional(),anchors:S.z.array(nd).optional(),products:S.z.array(t8).optional()}).strict()).describe("Add external links that will appear on all sections and pages irregardless of navigation nesting"),ni=S.z.object(Object.assign({dropdown:S.z.string().nonempty().describe("The name of the dropdown"),graphql:th,sdk:tv,icon:ep.optional(),color:Q.optional(),description:S.z.string().optional().describe("The description of the dropdown"),hidden:tz.optional()},tP)),na=ni.extend({href:eO}),ns=S.z.union([ni.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({anchors:S.z.lazy(()=>ng),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({groups:S.z.lazy(()=>tM),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),ni.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),nl=ni.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({anchors:nm,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}))])),nc=S.z.array(ns).describe("Organizing by dropdowns"),np=S.z.array(nl).min(1,"At least one dropdown must be specified").describe("Organizing by dropdowns"),nu=S.z.object(Object.assign({anchor:S.z.string().nonempty().describe("The name of the anchor"),graphql:th,sdk:tv,icon:ep.optional(),color:Q.optional(),hidden:tz.optional()},tP)),nd=nu.extend({href:eO}),nf=S.z.union([nu.extend({href:eO,openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no.optional())}),nu.extend({languages:S.z.lazy(()=>nn),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({versions:S.z.lazy(()=>tV),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({dropdowns:S.z.lazy(()=>nc),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({tabs:S.z.lazy(()=>tY),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({products:S.z.lazy(()=>t3),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({groups:S.z.lazy(()=>tM),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({pages:S.z.lazy(()=>tI),openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()}),nu.extend({openapi:Y.optional(),asyncapi:G.optional(),global:S.z.lazy(()=>no).optional()})]),nh=nu.and(S.z.union([S.z.object({href:eO}),S.z.lazy(()=>S.z.object({languages:nr,global:no.optional()})),S.z.lazy(()=>S.z.object({versions:tW,global:no.optional()})),S.z.lazy(()=>S.z.object({dropdowns:np,global:no.optional()})),S.z.lazy(()=>S.z.object({tabs:tX,global:no.optional()})),S.z.lazy(()=>S.z.object({products:t4,global:no.optional()})),S.z.lazy(()=>S.z.object({groups:tN,global:no.optional()})),S.z.lazy(()=>S.z.object({pages:t_,global:no.optional()}))])),ng=S.z.array(nf).min(1,"At least one anchor must be specified").describe("Organizing by anchors"),nm=S.z.array(nh).describe("Organizing by anchors"),ny=S.z.object(Object.assign({global:no.optional(),graphql:th,sdk:tv},tP)),nb=S.z.union([ny.extend({products:t3}),ny.extend({languages:nn}),ny.extend({versions:tV}),ny.extend({tabs:tY}),ny.extend({dropdowns:nc}),ny.extend({anchors:ng}),ny.extend({groups:tM}),ny.extend({pages:tI})]).describe("The navigation structure of the content");S.z.union([S.z.object({products:t4}),S.z.object({languages:nr}),S.z.object({versions:tW}),S.z.object({tabs:tX}),S.z.object({dropdowns:np}),S.z.object({anchors:nm}),S.z.object({groups:tN}),S.z.object({pages:t_})]).and(S.z.object(Object.assign({global:no.optional()},tP))).describe("The navigation structure of the content");let nv=S.z.boolean().describe("Whether the documentation is publicly accessible by default"),nz=S.z.object({prompt:S.z.string().optional().describe("The prompt to be displayed in the search bar placeholder")}).describe("Search display settings"),nw=S.z.record(S.z.string(),S.z.string().nonempty()).optional().describe("Meta tags added to every page. Must be a valid key-value pair."),nx=S.z.object({id:S.z.string().url().optional().describe("Stable `@id` URL identifying your organization across pages, e.g. `https://example.com/#organization`. Defaults to `/#organization`."),name:S.z.string().nonempty().optional().describe("Organization name. Defaults to the site name."),legalName:S.z.string().nonempty().optional().describe("Registered legal name."),url:S.z.string().url().optional().describe("Canonical organization homepage URL."),logo:S.z.string().url().optional().describe("Canonical logo URL used in structured data. Defaults to the docs logo."),sameAs:S.z.array(S.z.string().url()).optional().describe("URLs of official profiles, e.g. X, LinkedIn, GitHub.")}).describe("Organization entity emitted in structured data (JSON-LD) on every page."),nE=S.z.object({metatags:nw.optional(),organization:nx.optional(),indexing:S.z.enum(["navigable","all"]).optional().describe("Specify which pages to be indexed by search engines. Setting `navigable` indexes pages that are set in navigation, `all` indexes all pages. Defaults to `navigable`."),trailingSlash:S.z.boolean().optional().describe("Emit trailing-slash URLs consistently across canonical tags, `og:url`, the sitemap, and generated internal links. Does not change page routes. Defaults to `false`.")}).describe("SEO indexing configurations");var nj=e.i(505288);let nO=S.z.object({custom:S.z.array(S.z.string().describe("Path (absolute or relative) to a JSON file describing a custom Shiki language")).optional()}).describe("Custom language configuration for codeblocks"),nA=S.z.object({eyebrows:S.z.enum(["section","breadcrumbs"]).optional().describe("The eyebrows style of the content. Defaults to `section`."),codeblocks:S.z.union([S.z.enum(["system","dark"]).optional().describe("Match the docs light/dark mode with `system`, or always use a dark theme with `dark`."),S.z.object({theme:S.z.union([S.z.enum(nj.SHIKI_THEMES),S.z.object({light:S.z.enum(nj.SHIKI_THEMES),dark:S.z.enum(nj.SHIKI_THEMES)})]).optional(),languages:nO.optional()}).describe("Pick a custom Shiki theme. Use a single theme for both modes, or set separate light/dark themes.")]).describe('The codeblock theme configuration. Defaults to `system`. To use a built-in shiki theme, add the theme name as "theme" in the object. To use different shiki themes for light and dark modes, add "themes" in the object with "dark" and "light" keys.'),latex:S.z.boolean().optional().describe("Whether to load LaTeX stylesheets")}).describe("Styling configurations");!function(e){e.Light="light",e.Dark="dark"}(t||(t={}));let nS=S.z.object({family:S.z.string().describe('The font family, such as "Open Sans", "Playfair Display"')}).describe("The font to be used for thumbnails. Only family name is supported for Google Fonts."),nI=S.z.object({appearance:S.z.enum([t.Light,t.Dark]).optional().describe("Whether to render page thumbnails in light or dark mode. When unset, thumbnails are auto-generated from your theme colors."),background:S.z.string().optional().describe("Background image for the thumbnail. Can be an absolute URL or relative path."),fonts:nS.optional()}),n_=S.z.record(S.z.string(),S.z.string()).describe("Set of custom variables that can be re-used throughout the content"),nk={$schema:B,name:te,public:nv.optional(),description:eh.optional(),colors:en,logo:e8.optional(),favicon:em.optional(),api:X.optional(),appearance:J.optional(),background:ee.optional(),navbar:tp.optional(),navigation:nb,footer:eL.optional(),search:nz.optional(),seo:nE.optional(),fonts:ez.optional(),icons:eC.optional(),styling:nA.optional(),redirects:U.optional(),integrations:e3.optional(),banner:et.optional(),errors:eg.optional(),contextual:ef.optional(),thumbnails:nI.optional(),interaction:e4.optional(),metadata:e9.optional(),variables:n_.optional(),markdown:e7.optional()},nP=S.z.enum(["mint","maple","palm","willow","linden","almond","aspen","luma","sequoia"]).describe("Visual theme for the site. Learn more in [available themes](https://www.mintlify.com/docs/themes)."),nT=S.z.object(Object.assign({theme:S.z.literal(nP.enum.almond)},nk)),nL=S.z.object(Object.assign({theme:S.z.literal(nP.enum.aspen)},nk)),nC=S.z.object(Object.assign({theme:S.z.literal(nP.enum.linden)},nk)),nR=S.z.object(Object.assign({theme:S.z.literal(nP.enum.luma)},nk)),nM=S.z.object(Object.assign({theme:S.z.literal(nP.enum.maple)},nk)),nN=S.z.object(Object.assign({theme:S.z.literal(nP.enum.mint)},nk)),nU=S.z.object(Object.assign({theme:S.z.literal(nP.enum.palm)},nk)),nD=S.z.object(Object.assign({theme:S.z.literal(nP.enum.sequoia)},nk)),nB=S.z.object({id:S.z.string().trim().nonempty().describe("Stable identifier for the variation"),label:S.z.string().trim().nonempty().describe("Display label for the variation")}).describe("A documentation content variation"),nq=S.z.object({options:S.z.array(nB).min(1,"At least one variation option must be specified").describe("Variation options in display order. The first option is the default.")}).superRefine(({options:e},t)=>{let n=new Set;e.forEach((e,r)=>{n.has(e.id)&&t.addIssue({code:S.z.ZodIssueCode.custom,message:`Variation id "${e.id}" is duplicated. Variation ids must be unique.`,path:["options",r,"id"]}),n.add(e.id)})}).describe("Documentation content variations"),nV=S.z.object(Object.assign(Object.assign({theme:S.z.literal(nP.enum.willow)},nk),{variations:nq.optional()})),nW=S.z.discriminatedUnion("theme",[nN,nM,nU,nV,nC,nT,nL,nR,nD]),nF=S.z.object(Object.assign({theme:nP},nk)),n$=(e,t)=>{switch(e.code){case"invalid_type":if("undefined"===e.received)return{message:"This field is required"};return{message:`Invalid type. Expected field to be of type '${e.expected}', received '${e.received}'`};case"invalid_union":return{message:"Invalid type. Field did not match any types in union"}}return{message:t.defaultError}},nG=S.z.object({launchUrl:S.z.string().url("Must be a valid URL")}),nH=S.z.object({apiKey:S.z.string()}),nK=S.z.object({publicApiKey:S.z.string()}),nY=S.z.object({siteId:S.z.string()}),nX=S.z.object({measurementId:S.z.string().startsWith("G","Must start with G")}),nJ=S.z.object({tagId:S.z.string().startsWith("G","Must start with G")}),nZ=S.z.object({hjid:S.z.string(),hjsv:S.z.string()}),nQ=S.z.object({publicApiKey:S.z.string().min(2)}),n0=S.z.object({appId:S.z.string()}),n1=S.z.object({projectToken:S.z.string(),region:S.z.enum(["us","eu","in"]).optional()}),n2=S.z.object({id:S.z.string()}),n6=S.z.object({apiKey:S.z.string().startsWith("phc_","Must start with phc_"),apiHost:S.z.string().url("Must be a valid URL").optional(),sessionRecording:S.z.boolean().optional()}),n5=S.z.object({domain:S.z.string().refine(e=>!e.startsWith("https://"),"Must not start with https://"),server:S.z.string().refine(e=>!e.startsWith("https://"),"Must not start with https://").optional()}),n3=S.z.object({appId:S.z.string()}),n4=S.z.object({writeKey:S.z.string(),apiHost:S.z.string().optional()}),n8=S.z.object({projectId:S.z.string()}),n7=S.z.object({key:S.z.string(),cdnUrl:S.z.string().url().refine(e=>e.startsWith("https://"),"Must be an HTTPS URL").refine(e=>{let t=new URL(e);return!t.search&&!t.hash},"Must not contain query parameters or fragments").optional()}),n9=S.z.object({adobe:nG.optional(),amplitude:nH.optional(),clarity:n8.optional(),clearbit:nK.optional(),fathom:nY.optional(),ga4:nX.optional(),gtm:nJ.optional(),heap:n3.optional(),hightouch:n4.optional(),hotjar:nZ.optional(),koala:nQ.optional(),logrocket:n0.optional(),mixpanel:n1.optional(),pirsch:n2.optional(),posthog:n6.optional(),plausible:n5.optional(),segment:n7.optional()}).strict("Mintlify only supports analytics integrations from: adobe, amplitude, clarity, clearbit, fathom, ga4, gtm, heap, hotjar, koala, logrocket, mixpanel, pirsch, posthog, plausible, and segment."),re=S.z.string().regex(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,"Must be a hex color string, with a leading #"),rt=S.z.object({from:re,via:re.optional(),to:re}),rn=S.z.union([re,rt.strict()]),rr=S.z.string().trim().nonempty().refine(e=>e.startsWith("/")||e.startsWith("https:")||e.startsWith("http:"),"File path must start with '/' or 'https://'. Urls with 'http://' are only supported with cli option --local-schema").optional(),ro=S.z.object({name:S.z.string().trim().nonempty(),url:S.z.string().trim().nonempty(),icon:S.z.string({invalid_type_error:"Anchor icon must be the name of a Font Awesome, Lucide, or Tabler icon. Browse their libraries to see all the available icons: https://fontawesome.com/icons, https://lucide.dev/icons, https://tabler.io/icons"}).refine(e=>!e.startsWith("fa-"),"Icon does not need to start with 'fa-'. Please delete 'fa-' and keep the rest of the icon name").optional(),iconType:S.z.enum(ea).optional(),color:rn.optional(),isDefaultHidden:S.z.boolean().optional(),version:S.z.string({invalid_type_error:"Version must be a string in the #.versions array"}).optional(),openapi:rr}),ri=S.z.object({name:S.z.string(),icon:S.z.string().optional(),iconType:S.z.enum(ea).optional()}).strict();e.s(["apiParamFieldOptions",()=>ra,"requestExampleLanguages",()=>rs],127250);let ra=["all","topLevel","topLevelOneOfs","none"],rs=["bash","python","javascript","php","go","java","ruby"],rl=S.z.string().trim().nonempty().transform((e,t)=>{if(!q(e))return W(e);try{let n=new URL(e);if("https:"!==n.protocol&&"http:"!==n.protocol)return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema"}),S.z.NEVER}catch(e){return t.addIssue({code:S.z.ZodIssueCode.custom,message:"Invalid URL"}),S.z.NEVER}return e}),rc=S.z.union([rl,S.z.array(rl)]).describe("A string or an array of strings of absolute or relative urls pointing to your OpenAPI files"),rp=S.z.object({baseUrl:S.z.union([S.z.string().url(),S.z.array(S.z.string().url())]).optional(),auth:S.z.object({method:S.z.enum(["bearer","basic","key","cobo"]).optional(),name:S.z.string().optional(),inputPrefix:S.z.string().optional()}).strict().optional(),playground:S.z.object({mode:S.z.enum(["show","simple","hide"]).optional().default("show"),disableProxy:S.z.boolean().optional()}).optional(),request:S.z.object({example:S.z.object({showOptionalParams:S.z.boolean().optional(),languages:S.z.array(S.z.union([S.z.enum(rs),S.z.string()])).optional()}).optional()}).optional(),maintainOrder:S.z.boolean().optional(),paramFields:S.z.object({expanded:S.z.enum(ra).optional(),post:S.z.array(S.z.string()).optional()}).optional()}).strict(),ru=S.z.object({style:S.z.enum(["gradient","grid","windows"]).optional()}),rd=S.z.object({primary:re,light:re.optional(),dark:re.optional(),background:S.z.object({light:re.optional(),dark:re.optional()}).optional(),anchors:rn.optional(),ultraLight:S.z.any().optional(),ultraDark:S.z.any().optional()}).strict().describe('The colors to use in your documentation. At the very least, you must define the primary color. For example: { "colors": { "primary": "#ff0000" } }'),rf=S.z.string().describe("A path pointing to the favicon file in your docs folder, including the file extension. We recommend using an .svg or .png file. The favicon will automatically be resized to the appropriate sizes. You can also include a URL, but browser support may be limited for file extensions other than PNG"),rh=S.z.object({family:S.z.string().describe('The font family, such as "Open Sans", "Playfair Display"'),weight:S.z.number().optional().describe("The font weight, such as 400, 700. Precise font weights such as 550 are supported for variable fonts."),url:S.z.string().url().optional().describe("The font url, such as https://mintlify-assets.b-cdn.net/fonts/Hubot-Sans.woff2"),format:S.z.enum(ey).optional().describe("The font format, can be one of woff, woff2")}).refine(e=>!e.url||!!e.format),rg=S.z.union([rh,S.z.object({headings:rh.optional(),body:rh.optional()}).strict()]),rm=S.z.object({label:S.z.string().nonempty("Link must have a non-empty label"),url:S.z.union([S.z.string().url("Must be a valid URL"),S.z.string().startsWith("/","Must be a valid relative url starting with /")])}),ry=S.z.object({title:S.z.string().nonempty("Column must have a non-empty title").optional(),links:S.z.array(rm).min(1,"Column must have at least 1 link")}),rb=S.z.union([S.z.record(S.z.enum(ew),S.z.string().url("Must be a valid URL")),S.z.array(S.z.object({type:S.z.enum(ew),url:S.z.string().url("Must be a valid URL")}))]).describe('An object in which each key is the name of a social media platform, and each value is the url to your profile. For example: { "x": "https://x.com/mintlify" }'),rv=S.z.object({socials:rb.optional(),links:S.z.array(ry).min(1,"A footer must have at least 1 links column").max(4,"A footer can have a maximum of 4 links columns").optional()}),rz=S.z.string().min(6,"Must be a valid Intercom app ID"),rw=S.z.string().min(6,"Must be a valid Front chat snippet id"),rx=S.z.object({intercom:rz.optional(),frontchat:rw.optional()}),rE=S.z.object({group:S.z.string().describe("The label for this group in the navigation sidebar"),public:S.z.boolean().optional().describe("Whether this group is public or not"),icon:S.z.string().optional(),iconType:S.z.enum(ea).optional(),version:S.z.string().optional()}).strict().extend({pages:S.z.lazy(()=>S.z.array(S.z.union([rE,S.z.string().nonempty().transform(W)])).nonempty())}),rj=S.z.array(rE).min(1),rO=S.z.object({indexHiddenPages:S.z.boolean().optional()}),rA=S.z.object({items:S.z.enum(["container","card","border","undecorated"]).optional()}),rS=S.z.object({name:S.z.string().trim().nonempty(),url:S.z.string().trim().nonempty(),version:S.z.string().optional(),isDefaultHidden:S.z.boolean().optional(),openapi:rr}).array(),rI=S.z.object({name:S.z.string(),isDefaultHidden:S.z.boolean().optional()}).strict(),r_=S.z.object({style:S.z.enum(["gradient","default"]).optional()});var rk=e.i(713238);let rP=S.z.union([S.z.string(),S.z.object({name:S.z.string().nonempty(),url:S.z.string().url().nonempty().optional(),default:S.z.literal(!0).optional(),locale:S.z.enum(rk.locales).optional()}).strict()]),rT=S.z.array(rP).min(1).refine(e=>e.filter(e=>"object"==typeof e&&e.default).length<=1,"Only one version can be set as default");function rL(){try{return window.sessionStorage.getItem("test"),!1}catch{return!0}}function rC(){return window.location.ancestorOrigins[0]||window.location.origin}S.z.object({$schema:S.z.string().url().optional().default("https://mintlify.com/schema.json"),mintlify:S.z.string().optional(),name:I,logo:_.optional(),theme:S.z.enum(["venus","quill","prism"]).optional(),layout:S.z.enum(["topnav","sidenav","solidSidenav"]).optional(),favicon:rf,openapi:rc.optional(),topbar:r_.optional(),sidebar:rA.optional(),rounded:S.z.enum(["default","sharp"]).optional(),api:rp.optional(),modeToggle:k.optional(),versions:rT.optional(),metadata:L.optional(),codeBlock:C.optional(),colors:rd,eyebrow:P.optional(),topbarCtaButton:D.optional(),topbarLinks:D.array().optional(),navigation:rj,primaryTab:rI.optional(),topAnchor:ri.optional(),anchors:ro.array().optional(),tabs:rS.optional(),footer:rv.optional(),background:ru.optional(),backgroundImage:S.z.string().optional(),font:rg.optional(),feedback:R.optional(),analytics:n9.optional(),integrations:rx.optional(),isWhiteLabeled:T.optional(),search:M.optional(),redirects:U.optional(),seo:rO.optional(),footerSocials:rb.optional()}),S.z.object({sourceRef:S.z.string().nonempty().describe("The mount path of the git source to inline")}).describe("Reference to a git source navigation section").strict(),e.s(["getItem",()=>rR,"getItemAsync",()=>rM,"removeItem",()=>rU,"setItem",()=>rN],322986);let rR=e=>rL()?null:window.sessionStorage.getItem(e),rM=async e=>{if(rL())return new Promise(t=>{let n=Math.random().toString(36).substring(7),r=e=>{w.includes(e.origin)&&e.data?.type===h&&e.data?.requestId===n&&(window.removeEventListener("message",r),t(e.data.value))};window.addEventListener("message",r),setTimeout(()=>{window.removeEventListener("message",r),t(null)},5e3),window.parent.postMessage({type:f,key:e,requestId:n},rC())});return window.sessionStorage.getItem(e)},rN=(e,t)=>{if(rL())return void window.parent.postMessage({type:g,key:e,value:t},rC());window.sessionStorage.setItem(e,t)},rU=e=>{if(rL())return void window.parent.postMessage({type:m,key:e},rC());window.sessionStorage.removeItem(e)};var rD=e.i(898892),rB=e.i(618566),rq=e.i(271645);function rV(e){return"object"==typeof e&&null!==e&&"path"in e&&"dataUrl"in e&&"string"==typeof e.path&&"string"==typeof e.dataUrl}function rW({src:e,isLivePreview:t,liveMedia:n}){return e&&t&&n.has(e)?n.get(e):e}function rF(e,t){if(!Array.isArray(t))return e;let n=e;for(let r of t)rV(r)&&n.get(r.path)!==r.dataUrl&&(n===e&&(n=new Map(e)),n.set(r.path,r.dataUrl));return n}function r$(e){let t=new Map,n=new Map,r=()=>{for(let e of t.keys())e.isConnected||t.delete(e);let r=Array.from(document.querySelectorAll("style[data-custom-css-path]"));for(let n of r){let r=n.dataset.customCssPath?.replace(/^\/+/,"");r&&e.has(r)&&(t.has(n)||t.set(n,n.media),n.media="not all")}let o=r.at(-1)??null;for(let[t,i]of e){if(null===i)continue;let e=n.get(t);e||((e=document.createElement("style")).dataset.livePreviewCssPath=t,n.set(t,e)),e.textContent!==i&&(e.textContent=i);let a=r.filter(e=>e.dataset.customCssPath?.replace(/^\/+/,"")===t),s=a.at(-1)??o;s?(e.parentElement!==s.parentElement||s.nextElementSibling!==e)&&s.insertAdjacentElement("afterend",e):e.isConnected||(document.body??document.head).appendChild(e),0===a.length&&(o=e)}};r();let o=new MutationObserver(e=>{e.some(e=>[...e.addedNodes,...e.removedNodes].some(e=>e instanceof Element&&(e.matches("style[data-custom-css-path]")||null!==e.querySelector("style[data-custom-css-path]"))))&&r()});return o.observe(document.documentElement,{childList:!0,subtree:!0}),()=>{for(let[e,n]of(o.disconnect(),t))e.media=n;for(let e of n.values())e.remove()}}function rG(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function rH(e){return"string"==typeof e?.pageId&&e.pageId.length>0?e.pageId:void 0}function rK(e,t){let n=rH(t);return{type:O.LIVE_PREVIEW_REQUEST_CONTENT_MESSAGE_TYPE,path:e,...n?{pageId:n}:{}}}function rY(){return window.location.pathname.includes(s)}function rX(){let e=Array.from(window.location.ancestorOrigins??[]).find(e=>z(e))??null;if(e)return e;try{let e=document.referrer;if(e){let t=new URL(e).origin;if(z(t))return t}}catch{}return null===rZ()?null:r0()[0]??null}function rJ(){return null!==rX()}function rZ(){if(window.parent!==window)return window.parent;try{if(window.opener&&!window.opener.closed)return window.opener}catch{}return null}function rQ(e,t){return null!==t&&e.source===t}function r0(){let e=[...b];try{let t=document.referrer;if(t){let n=new URL(t).origin;z(n)&&!e.includes(n)&&e.unshift(n)}}catch{}for(let t of Array.from(window.location.ancestorOrigins??[]))z(t)&&!e.includes(t)&&e.unshift(t);return e}function r1(e,t){return Array.isArray(e)?new Set(e.filter(e=>"string"==typeof e).map(e=>A(e,t))):new Set}function r2(e,t,n){let r=e.split(/[?#]/)[0]??"";return t.has(A(r,n))}function r6({href:e,isLivePreview:t,isLivePreviewRoutePrefix:n,newPathsKnown:r,newPreviewPaths:o,basePath:i}){return t&&(n||!r||r2(e,o,i))?E(e):e}function r5(e){return rG(e)&&"string"==typeof e.compiledSource&&rG(e.frontmatter)&&rG(e.scope)}let r3=(0,rq.createContext)({isLivePreview:!1,livePreviewUpdateId:null,compiledVersion:0,docsConfigVersion:0,navigationVersion:0,getDocsConfigOverrides:()=>void 0,getNavigationOverride:()=>void 0,clearDocsConfigOverrides:()=>{},liveMedia:new Map,compiledContent:new Map,getCompiledContent:()=>void 0,liveMetadata:new Map,liveMdxExtracts:new Map,getMdxExtracts:()=>void 0,loadingPaths:new Set,isPathLoading:()=>!1,newPreviewPaths:new Set,isNewPreviewPath:()=>!1,isGenerationActive:!1,isGeneratedPageReady:()=>!0,getLivePreviewHref:e=>e,currentPreviewPath:void 0,navigateWithinLivePreview:()=>!1,requestContentEarly:()=>{},basePath:""});function r4(){try{let e=new URL(window.location.href);return"true"===e.searchParams.get(l)||rY()}catch{return!1}}function r8(){return r4()?new Set([A(x(window.location.pathname))]):new Set}function r7({children:e,isLivePreviewRoute:t=!1}){let r=(0,rB.useRouter)(),[o,f]=(0,rq.useState)(r4),[h,g]=(0,rq.useState)(!1),[m,y]=(0,rq.useState)(!1),[b,v]=(0,rq.useState)(rJ),w=(0,rq.useMemo)(()=>t||o||h||m&&b,[b,t,h,m,o]);(0,rq.useRef)(w).current=w;let[E,I]=(0,rq.useState)(0),[_,k]=(0,rq.useState)(0),[P,T]=(0,rq.useState)(0),L=(0,rq.useMemo)(()=>`${_}-${P}-${E}`,[E,_,P]),[C,R]=(0,rq.useState)(void 0),M=(0,rq.useRef)(C),[N,U]=(0,rq.useState)(new Map),D=(0,rq.useRef)(N);D.current=N;let[B,q]=(0,rq.useState)(new Map),[V,W]=(0,rq.useState)(new Map),F=(0,rq.useRef)(V),[$,G]=(0,rq.useState)(new Map),H=(0,rq.useMemo)(()=>{let e=new Map($);for(let[t,n]of V)e.set(t,n);return e},[$,V]),K=(0,rq.useRef)(H),[Y,X]=(0,rq.useState)(new Map),[J,Z]=(0,rq.useState)(void 0),Q=(0,rq.useRef)(J),[ee,et]=(0,rq.useState)(r8),[en,er]=(0,rq.useState)(new Set),[eo,ei]=(0,rq.useState)(!1),[ea,es]=(0,rq.useState)(t),el=(0,rq.useRef)(ea);el.current=ea;let[ec,ep]=(0,rq.useState)(new Set),eu=(0,rq.useRef)(en);eu.current=en;let ed=(0,rq.useRef)(eo);ed.current=eo;let[ef,eh]=(0,rq.useState)(new Map),[eg,em]=(0,rq.useState)(()=>(0,O.normalizeLivePreviewBasePath)(j.NEXT_PUBLIC.BASE_PATH)),[ey,eb]=(0,rq.useState)(()=>A(x(window.location.pathname))),ev=(0,rq.useRef)(eg),ez=(0,rq.useRef)(new Map),ew=(0,rq.useRef)(-1),ex=(0,rq.useRef)(null),eE=(0,rq.useRef)(null),ej=(0,rq.useRef)(new Map),eO=(0,rq.useRef)(new Set),eA=(0,rq.useCallback)(e=>{let t=A(e,ev.current);et(e=>{let n=new Set(e);return n.add(t),n})},[]),eS=(0,rq.useCallback)(e=>{let t=A(e,ev.current),n=ez.current.get(t);n&&(clearTimeout(n),ez.current.delete(t)),et(e=>{let n=new Set(e);return n.delete(t),n})},[]),eI=(0,rq.useCallback)(e=>{eA(A(e,ev.current))},[eA]),e_=(0,rq.useCallback)(e=>{if(!w)return;let t=e.split(/[?#]/)[0]??"";if(!t.startsWith("/"))return;let n=rX(),r=rZ();if(!n||!r)return;let o=x(t),i=A(o,ev.current);if(i===eE.current)return;eE.current=i,eI(o);let a=K.current.get(i);r.postMessage(rK(i,a),n)},[w,eI]),ek=(0,rq.useCallback)(e=>{let t=A(e.path,ev.current),n=e.mdxExtracts;q(n=>{let r=new Map(n);return r.set(t,{...e,path:t}),r}),G(n=>{let r=new Map(n);return r.set(t,e.metadata),r}),n&&X(e=>{let r=new Map(e);return r.set(t,n),r}),eS(t),I(e=>e+1)},[eS]);(0,rq.useEffect)(()=>{K.current=H},[H]);let eP=(0,rq.useCallback)(e=>{let t=A(e,eg),n=B.get(t);if(n)return n;let r=rH(H.get(t));if(r){let e=Array.from(B.values()).find(e=>rH(e.metadata)===r);if(e)return e}},[eg,B,H]),eT=(0,rq.useCallback)(e=>{let t=A(e,eg);return!(!ea&&eP(t))&&ee.has(t)},[eg,eP,ea,ee]),eL=(0,rq.useCallback)(e=>Y.get(A(e,eg)),[eg,Y]),eC=(0,rq.useCallback)(e=>r2(e,en,eg),[eg,en]),eR=(0,rq.useCallback)(e=>ec.has(A(e.split(/[?#]/)[0]??"",eg)),[eg,ec]),eM=(0,rq.useCallback)(e=>r6({href:e,isLivePreview:w,isLivePreviewRoutePrefix:rY()||ea,newPathsKnown:eo,newPreviewPaths:en,basePath:eg}),[eg,ea,w,eo,en]),eN=(0,rq.useCallback)(e=>{if(!w||!el.current)return!1;try{let t=new URL(eM(e),window.location.origin);if(t.origin!==window.location.origin)return!1;let n=(0,O.normalizeLivePreviewBasePath)(ev.current);n&&t.pathname!==n&&!t.pathname.startsWith(`${n}/`)&&(t.pathname=`${n}${t.pathname.startsWith("/")?"":"/"}${t.pathname}`),t.searchParams.set(l,"true");let r=`${t.pathname}${t.search}${t.hash}`,o=`${window.location.pathname}${window.location.search}${window.location.hash}`;if(r===o)return!0;return e_(t.pathname),window.history.pushState({},"",r),eb(A(x(t.pathname),ev.current)),!0}catch{return!1}},[eM,w,e_]),eU=(0,rq.useRef)(!1);(0,rq.useEffect)(()=>{let e=rJ();e!==b&&v(e);let t=function(){try{let e=new URLSearchParams(window.location.search);return"true"===e.get(l)}catch{return!1}}();t&&!o&&f(!0),eU.current||(async()=>{let e=ew.current,n=await rM(d);if(ew.current!==e){eU.current=!0;return}if("true"===n&&y(!0),t||"true"===n){let t=await rM(i);if(ew.current!==e){eU.current=!0;return}if(t)try{let e=JSON.parse(t);e&&"object"==typeof e&&(M.current=e,R(e),k(e=>e+1))}catch{M.current=void 0,R(void 0)}let n=await rM(a);if(ew.current!==e){eU.current=!0;return}if(n){let e=function(e){try{var t;let n=JSON.parse(e);if(!rG(n)||(t=n.navigation,!rG(t)))return;let r={};if(void 0!==n.pageMetadata){if(!rG(n.pageMetadata))return;for(let[e,t]of Object.entries(n.pageMetadata))rG(t)&&(r[e]=t)}return{navigation:n.navigation,pageMetadata:r}}catch{return}}(n);if(e){let t=new Map(Object.entries(e.pageMetadata));Q.current=e.navigation,F.current=t,Z(e.navigation),W(t),T(e=>e+1)}}}eU.current=!0})()},[b,o]);let eD=(0,rq.useCallback)(()=>C,[C]),eB=(0,rq.useCallback)(()=>J,[J]),eq=(0,rq.useCallback)(()=>{rU(i),rU(a),M.current=void 0,Q.current=void 0,R(void 0),Z(void 0)},[]),eV=(0,rq.useCallback)(()=>{for(let e of ez.current.values())clearTimeout(e);ez.current.clear(),ej.current.clear(),eO.current.clear(),eE.current=null,F.current=new Map,eq(),U(new Map),q(new Map),W(new Map),G(new Map),X(new Map),eh(new Map),et(new Set),er(new Set),ei(!1)},[eq]),eW=(0,rq.useCallback)(e=>{let t=A(e,ev.current);q(e=>{let n=new Map(e);return n.delete(t),n}),G(e=>{let n=new Map(e);return n.delete(t),n}),X(e=>{let n=new Map(e);return n.delete(t),n});let n=ej.current.get(t)??new Set;ej.current.delete(t),U(e=>{let t=e;for(let r of n)[...ej.current.values()].some(e=>e.has(r))||eO.current.has(r)||(t===e&&(t=new Map(e)),t.delete(r));return t}),eE.current===t&&(eE.current=null),I(e=>e+1),eS(t)},[eS]);return(0,rq.useEffect)(()=>{if(o&&rN(d,"true"),!w)return;let e=rZ(),t=t=>{if(z(t.origin)&&rQ(t,e)&&rG(t.data)){if(new Set([O.LIVE_PREVIEW_DOCSJSON_OVERRIDE_MESSAGE_TYPE,O.LIVE_PREVIEW_COMPILED_CONTENT_UPDATE_MESSAGE_TYPE,O.LIVE_PREVIEW_CONTENT_UNAVAILABLE_MESSAGE_TYPE,O.LIVE_PREVIEW_CSS_SNAPSHOT_MESSAGE_TYPE,O.LIVE_PREVIEW_NAVIGATION_UPDATE_MESSAGE_TYPE,O.LIVE_PREVIEW_RESET_MESSAGE_TYPE]).has(String(t.data.type))){let e=t.data.generation;if("number"!=typeof e||!Number.isSafeInteger(e)||ee+1),T(e=>e+1),I(e=>e+1);return}e>ew.current&&(ew.current=e,eV())}if(t.data.type===O.LIVE_PREVIEW_DOCSJSON_OVERRIDE_MESSAGE_TYPE){let e=function(e,t){if(!t||!("object"==typeof e&&null!==e&&!Array.isArray(e)))return;let{integrations:n,...r}=e,o=function(e){let t=S.z.getErrorMap();S.z.setErrorMap(n$);let n=nW.safeParse(e);return(S.z.setErrorMap(t),n.success)?Object.assign(Object.assign({},n),{warnings:[]}):n}(r);if(o.success)return o.data;console.warn("[live-preview] docs.json override failed full validation; salvaging valid fields",o.error);let i={};for(let[e,t]of Object.entries(nF.shape)){if(!(e in r))continue;let n=t.safeParse(r[e]);n.success&&(i[e]=n.data)}if(0!==Object.keys(i).length)return JSON.parse(JSON.stringify(i))}(t.data.docsJson,!0===t.data.replace);if(e){let n=!(0,rD.default)(e,M.current);n&&(M.current=e,rN(i,JSON.stringify(e)),R(e));let r=Array.isArray(t.data.media)?t.data.media.filter(rV):[],o=eO.current;eO.current=new Set(r.map(e=>e.path));let a=D.current,s=a;for(let e of o)[...ej.current.values()].some(t=>t.has(e))||eO.current.has(e)||(s===a&&(s=new Map(a)),s.delete(e));let l=(s=rF(s,r))!==a;l&&(D.current=s,U(s)),(n||l)&&k(e=>e+1)}}if(t.data.type===O.LIVE_PREVIEW_COMPILED_CONTENT_UPDATE_MESSAGE_TYPE){let{path:e,rawContent:n,mdxSource:r,mdxSourceWithNoJs:o,metadata:i,media:a,mdxExtracts:s}=t.data;if("string"==typeof e&&e.startsWith("/")&&!e.includes("..")&&r5(r)&&r5(o)&&rG(i)){let t=A(e,ev.current),l=ej.current.get(t)??new Set,c=Array.isArray(a)?a.filter(rV):[];ej.current.set(t,new Set(c.map(e=>e.path))),ek({path:e,rawContent:"string"==typeof n?n:void 0,mdxSource:r,mdxSourceWithNoJs:o,metadata:i||{},mdxExtracts:rG(s)?s:void 0}),U(e=>{let t=e;for(let n of l)[...ej.current.values()].some(e=>e.has(n))||eO.current.has(n)||(t===e&&(t=new Map(e)),t.delete(n));return rF(t,c)})}}if(t.data.type===O.LIVE_PREVIEW_CONTENT_UNAVAILABLE_MESSAGE_TYPE&&"string"==typeof t.data.path&&eW(t.data.path),t.data.type===O.LIVE_PREVIEW_GENERATION_STATE_MESSAGE_TYPE&&"boolean"==typeof t.data.active&&(es(t.data.active),Array.isArray(t.data.readyPaths)&&ep(new Set(t.data.readyPaths.filter(e=>"string"==typeof e).map(e=>A(e,ev.current))))),t.data.type===O.LIVE_PREVIEW_CSS_SNAPSHOT_MESSAGE_TYPE&&Array.isArray(t.data.overrides)){let e=new Map;for(let n of t.data.overrides)rG(n)&&"string"==typeof n.path&&!n.path.includes("..")&&("string"==typeof n.content||null===n.content)&&e.set(n.path.replace(/^\/+/,""),n.content);eh(e)}if(t.data.type===O.LIVE_PREVIEW_NAVIGATION_UPDATE_MESSAGE_TYPE){let e=t.data.navigation;if(rG(e)){let n,r;if(rG(t.data.pageMetadata)){let e=new Map;for(let[n,r]of Object.entries(t.data.pageMetadata))rG(r)&&e.set(A(n,ev.current),r);n=e}let o=!(0,rD.default)(e,Q.current),i=void 0!==n&&!(0,rD.default)(Object.fromEntries(n),Object.fromEntries(F.current));Array.isArray(t.data.newPaths)&&(r=r1(t.data.newPaths,ev.current));let s=void 0!==r&&(!ed.current||!(0,rD.default)(r,eu.current));if(!o&&!i&&!s)return;if(o||i){Q.current=e,Z(e);let t={};n&&(F.current=n,W(n),t=Object.fromEntries(n));try{rN(a,JSON.stringify({navigation:e,pageMetadata:t}))}catch{}}s&&r&&(er(r),ei(!0)),T(e=>e+1)}}if(t.data.type===c&&window.history.back(),t.data.type===p&&window.history.forward(),t.data.type===u&&window.location.reload(),t.data.type===O.LIVE_PREVIEW_INIT_MESSAGE_TYPE&&e?.postMessage({type:O.LIVE_PREVIEW_READY_MESSAGE_TYPE},t.origin),t.data.type===O.LIVE_PREVIEW_NAVIGATE_TO_URL_MESSAGE_TYPE&&t.data.url&&"string"==typeof t.data.url)try{let e=new URL(t.data.url.trim().replaceAll(" ","+"),window.location.origin);e.pathname===window.location.pathname||eN(e.href)||r.push(eM(e.pathname+e.search+e.hash))}catch{}}};window.addEventListener("message",t);let n=()=>{let e=rX();if(e)return rZ()?.postMessage({type:O.LIVE_PREVIEW_READY_MESSAGE_TYPE},e),!0;let t=rZ();if(t){let e=r0();for(let n of e)try{t.postMessage({type:O.LIVE_PREVIEW_READY_MESSAGE_TYPE},n)}catch{}return e.length>0}return!1};n();let s=0,l=setInterval(()=>{if(++s>=3)return void clearInterval(l);n()},500);return()=>{window.removeEventListener("message",t),clearInterval(l)}},[w,o,eq,eW,eN,eM,r,ek,eA,eS,eV]),(0,rq.useEffect)(()=>{if(w&&0!==ef.size)return r$(ef)},[w,ef]),(0,rq.useEffect)(()=>{if(!w)return;let e=rX();if(!e)return;let t=rZ();if(!t)return;let n=n=>{let r=x(n),o=A(r,eg);if(o===eE.current)return;eE.current=o,eI(r);let i=K.current.get(o),a=rK(o,i);t.postMessage(a,e)},r=x(window.location.pathname);eb(A(r,eg));let o=window.location.href.replace(s,"");t.postMessage({type:O.LIVE_PREVIEW_URL_CHANGE_MESSAGE_TYPE,url:o,isBackForward:!1},e),n(r);let i=r=>{let o=x(window.location.pathname);eb(A(o,eg));let i=window.location.href.replace(s,"");t.postMessage({type:O.LIVE_PREVIEW_URL_CHANGE_MESSAGE_TYPE,url:i,isBackForward:r},e),n(o)},a=()=>{i(!0)};window.addEventListener("popstate",a);let l=window.history.pushState,c=window.history.replaceState,p=!1,u=()=>{queueMicrotask(()=>{p||i(!1)})};return window.history.pushState=function(...e){l.apply(window.history,e),u()},window.history.replaceState=function(...e){c.apply(window.history,e),u()},()=>{p=!0,window.removeEventListener("popstate",a),window.history.pushState=l,window.history.replaceState=c}},[eg,w,eI]),(0,rq.useEffect)(()=>{if(w)return;let e=rZ();if(!e)return;let t=t=>{z(t.origin)&&rQ(t,e)&&rG(t.data)&&t.data.type===O.LIVE_PREVIEW_INIT_MESSAGE_TYPE&&(rN(d,"true"),g(!0))};return window.addEventListener("message",t),()=>window.removeEventListener("message",t)},[w]),(0,rq.useEffect)(()=>{if(!w)return;let e=window.location.origin,t=t=>{let n=t.target;if(!(n instanceof Element))return;let r=n.closest("a");if(!r)return;let o=r.getAttribute("href");if(!o||o.startsWith("mailto:")||o.startsWith("tel:")||o.startsWith("sms:"))return;let i=0===t.button&&!t.metaKey&&!t.ctrlKey&&!t.shiftKey&&!t.altKey&&"_blank"!==r.target&&!r.hasAttribute("download");try{let n=new URL(o,e);if(n.origin===e){let e=n.pathname===window.location.pathname&&n.search===window.location.search&&n.hash!==window.location.hash;i&&!e&&eN(n.href)&&t.preventDefault();return}}catch{return}t.preventDefault(),t.stopPropagation()},n=t=>{let n=document.activeElement?.getAttribute("href");if(n)try{new URL(n,e).origin!==e&&t.preventDefault()}catch{return}};return document.addEventListener("click",t,!0),window.addEventListener("beforeunload",n),()=>{document.removeEventListener("click",t,!0),window.removeEventListener("beforeunload",n)}},[w,eN]),(0,n.jsx)(r3.Provider,{value:{isLivePreview:w,livePreviewUpdateId:L,compiledVersion:E,docsConfigVersion:_,navigationVersion:P,getDocsConfigOverrides:eD,getNavigationOverride:eB,clearDocsConfigOverrides:eq,liveMedia:N,compiledContent:B,getCompiledContent:eP,liveMetadata:H,liveMdxExtracts:Y,getMdxExtracts:eL,loadingPaths:ee,isPathLoading:eT,newPreviewPaths:en,isNewPreviewPath:eC,isGenerationActive:ea,isGeneratedPageReady:eR,getLivePreviewHref:eM,currentPreviewPath:ey,navigateWithinLivePreview:eN,requestContentEarly:e_,basePath:eg},children:e})}},237978,e=>{"use strict";e.s(["PageModeOverrideContext",()=>r,"PageModeOverrideProvider",()=>o,"useEffectivePageMetadata",()=>a,"usePageModeOverride",()=>i]);var t=e.i(843476),n=e.i(271645);let r=(0,n.createContext)({pageModeOverride:void 0,originalPageMode:void 0,setPageModeOverride:()=>{},setOriginalPageMode:()=>{}});function o({children:e}){let[o,i]=(0,n.useState)(void 0),[a,s]=(0,n.useState)(void 0),l=(0,n.useCallback)(e=>{s(e)},[]),c=(0,n.useCallback)(e=>{if(i(e),"undefined"!=typeof document){let t=void 0===e?a??"none":e||"none";document.documentElement.setAttribute("data-page-mode",t)}},[a]),p=(0,n.useMemo)(()=>({pageModeOverride:o,originalPageMode:a,setPageModeOverride:c,setOriginalPageMode:l}),[o,a,c,l]);return(0,t.jsx)(r.Provider,{value:p,children:e})}function i(){return(0,n.useContext)(r)}function a(e){let{pageModeOverride:t}=(0,n.useContext)(r);return(0,n.useMemo)(()=>void 0===t?e:{...e,mode:t||void 0},[e,t])}},628694,(e,t,n)=>{t.exports=function e(t,n){return 0===n?t:e(n,t%n)}},429965,(e,t,n)=>{var r=e.r(628694);t.exports=function(e,t){return 0===t?0:e*t/r(e,t)}},368971,(e,t,n)=>{t.exports=(function t(n,r,o){function i(s,l){if(!r[s]){if(!n[s]){var c=e.t;return!l&&c?c(s,!0):a(s,!0)}l=r[s]={exports:{}},n[s][0].call(l.exports,function(e){return i(n[s][1][e]||e)},l,l.exports,t,n,r,o)}return r[s].exports}for(var a=e.t,s=0;s>16),c((65280&o)>>8),c(255&o);return 2==i?c(255&(o=n(e.charAt(r))<<2|n(e.charAt(r+1))>>4)):1==i&&(c((o=n(e.charAt(r))<<10|n(e.charAt(r+1))<<4|n(e.charAt(r+2))>>2)>>8&255),c(255&o)),a},e.fromByteArray=function(e){var t,n,r,o,i=e.length%3,a="";function s(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,r=e.length-i;t>18&63)+s(o>>12&63)+s(o>>6&63)+s(63&o);switch(i){case 1:a=(a+=s((n=e[e.length-1])>>2))+s(n<<4&63)+"==";break;case 2:a=(a=(a+=s((n=(e[e.length-2]<<8)+e[e.length-1])>>10))+s(n>>4&63))+s(n<<2&63)+"="}return a}}(void 0===n?this.base64js={}:n)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,n){(function(t,r,o,i,a,s,l,c,p){var u=e("base64-js"),d=e("ieee754");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);var r,i,a,s,l=typeof e;if("base64"===t&&"string"==l)for(e=(s=e).trim?s.trim():s.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==l)r=S(e);else if("string"==l)r=o.byteLength(e,t);else{if("object"!=l)throw Error("First argument needs to be a number, array or string.");r=S(e.length)}if(o._useTypedArrays?i=o._augment(new Uint8Array(r)):((i=this).length=r,i._isBuffer=!0),o._useTypedArrays&&"number"==typeof e.byteLength)i._set(e);else if(I(s=e)||o.isBuffer(s)||s&&"object"==typeof s&&"number"==typeof s.length)for(a=0;a>>0)):(t+1>>0),o}function g(e,t,n,r){if(r||(N("boolean"==typeof n,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+1>>8*(r?i:1-i)}function z(e,t,n,r,o){if(o||(N(null!=t,"missing value"),N("boolean"==typeof r,"missing or invalid endian"),N(null!=n,"missing offset"),N(n+3>>8*(r?i:3-i)&255}function w(e,t,n,r,o){o||(N(null!=t,"missing value"),N("boolean"==typeof r,"missing or invalid endian"),N(null!=n,"missing offset"),N(n+1>8,r.push(n%=256),r.push(t);return r}(e),this,s,l);break;default:throw Error("Unknown encoding")}return c},o.prototype.toString=function(e,t,n){var r,o,i;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(n=void 0!==n?Number(n):this.length)===t)return"";switch(e){case"hex":r=function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||rthis.length&&(r=this.length);var i=(r=e.length-t=this.length))return this[e]},o.prototype.readUInt16LE=function(e,t){return f(this,e,!0,t)},o.prototype.readUInt16BE=function(e,t){return f(this,e,!1,t)},o.prototype.readUInt32LE=function(e,t){return h(this,e,!0,t)},o.prototype.readUInt32BE=function(e,t){return h(this,e,!1,t)},o.prototype.readInt8=function(e,t){if(t||(N(null!=e,"missing offset"),N(e=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){return g(this,e,!0,t)},o.prototype.readInt16BE=function(e,t){return g(this,e,!1,t)},o.prototype.readInt32LE=function(e,t){return m(this,e,!0,t)},o.prototype.readInt32BE=function(e,t){return m(this,e,!1,t)},o.prototype.readFloatLE=function(e,t){return y(this,e,!0,t)},o.prototype.readFloatBE=function(e,t){return y(this,e,!1,t)},o.prototype.readDoubleLE=function(e,t){return b(this,e,!0,t)},o.prototype.readDoubleBE=function(e,t){return b(this,e,!1,t)},o.prototype.writeUInt8=function(e,t,n){n||(N(null!=e,"missing value"),N(null!=t,"missing offset"),N(t=this.length||(this[t]=e)},o.prototype.writeUInt16LE=function(e,t,n){v(this,e,t,!0,n)},o.prototype.writeUInt16BE=function(e,t,n){v(this,e,t,!1,n)},o.prototype.writeUInt32LE=function(e,t,n){z(this,e,t,!0,n)},o.prototype.writeUInt32BE=function(e,t,n){z(this,e,t,!1,n)},o.prototype.writeInt8=function(e,t,n){n||(N(null!=e,"missing value"),N(null!=t,"missing offset"),N(t=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},o.prototype.writeInt16LE=function(e,t,n){w(this,e,t,!0,n)},o.prototype.writeInt16BE=function(e,t,n){w(this,e,t,!1,n)},o.prototype.writeInt32LE=function(e,t,n){x(this,e,t,!0,n)},o.prototype.writeInt32BE=function(e,t,n){x(this,e,t,!1,n)},o.prototype.writeFloatLE=function(e,t,n){E(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){E(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){j(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){j(this,e,t,!1,n)},o.prototype.fill=function(e,t,n){if(t=t||0,n=n||this.length,N("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),N(t<=n,"end < start"),n!==t&&0!==this.length){N(0<=t&&t"},o.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t=t.length||o>=e.length);o++)t[o+n]=e[o];return o}function L(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function C(e,t){N("number"==typeof e,"cannot write a non-number as a number"),N(0<=e,"specified a negative value for writing an unsigned value"),N(e<=t,"value is larger than maximum value for type"),N(Math.floor(e)===e,"value has a fractional component")}function R(e,t,n){N("number"==typeof e,"cannot write a non-number as a number"),N(e<=t,"value larger than maximum allowed value"),N(n<=e,"value smaller than minimum allowed value"),N(Math.floor(e)===e,"value has a fractional component")}function M(e,t,n){N("number"==typeof e,"cannot write a non-number as a number"),N(e<=t,"value larger than maximum allowed value"),N(n<=e,"value smaller than minimum allowed value")}function N(e,t){if(!e)throw Error(t||"Failed assertion")}o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=O.get,e.set=O.set,e.write=O.write,e.toString=O.toString,e.toLocaleString=O.toString,e.toJSON=O.toJSON,e.copy=O.copy,e.slice=O.slice,e.readUInt8=O.readUInt8,e.readUInt16LE=O.readUInt16LE,e.readUInt16BE=O.readUInt16BE,e.readUInt32LE=O.readUInt32LE,e.readUInt32BE=O.readUInt32BE,e.readInt8=O.readInt8,e.readInt16LE=O.readInt16LE,e.readInt16BE=O.readInt16BE,e.readInt32LE=O.readInt32LE,e.readInt32BE=O.readInt32BE,e.readFloatLE=O.readFloatLE,e.readFloatBE=O.readFloatBE,e.readDoubleLE=O.readDoubleLE,e.readDoubleBE=O.readDoubleBE,e.writeUInt8=O.writeUInt8,e.writeUInt16LE=O.writeUInt16LE,e.writeUInt16BE=O.writeUInt16BE,e.writeUInt32LE=O.writeUInt32LE,e.writeUInt32BE=O.writeUInt32BE,e.writeInt8=O.writeInt8,e.writeInt16LE=O.writeInt16LE,e.writeInt16BE=O.writeInt16BE,e.writeInt32LE=O.writeInt32LE,e.writeInt32BE=O.writeInt32BE,e.writeFloatLE=O.writeFloatLE,e.writeFloatBE=O.writeFloatBE,e.writeDoubleLE=O.writeDoubleLE,e.writeDoubleBE=O.writeDoubleBE,e.fill=O.fill,e.inspect=O.inspect,e.toArrayBuffer=O.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,n){(function(n,r,o,i,a,s,l,c,p){var o=e("buffer").Buffer,u=new o(4);u.fill(0),t.exports={hash:function(e,t,n,r){for(var i=t(function(e,t){e.length%4!=0&&(n=e.length+(4-e.length%4),e=o.concat([e,u],n));for(var n,r=[],i=t?e.readInt32BE:e.readInt32LE,a=0;a64?t=e(t):t.length<64&&(t=o.concat([t,g],64));for(var r=new o(64),i=new o(64),a=0;a<64;a++)r[a]=54^t[a],i[a]=92^t[a];return n=e(o.concat([r,n])),e(o.concat([i,n]))}(n,t,i):n(i);return r=null,e?i.toString(e):i}}}function y(){var e=[].slice.call(arguments).join(" ");throw Error([e,"we accept pull requests\nhttp://github.com/dominictarr/crypto-browserify"].join("\n"))}g.fill(0),n.createHash=function(e){return m(e)},n.createHmac=m,n.randomBytes=function(e,t){if(!t||!t.call)return new o(f(e));try{t.call(this,void 0,new o(f(e)))}catch(e){t(e)}};var b,v=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],z=function(e){n[e]=function(){y("sorry,",e,"is not implemented yet")}};for(b in v)z(v[b],b)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,n){(function(n,r,o,i,a,s,l,c,p){var u=e("./helpers");function d(e,t){e[t>>5]|=128<>>9<<4)]=t;for(var n=0x67452301,r=-0x10325477,o=-0x67452302,i=0x10325476,a=0;a>>32-o,n)}function h(e,t,n,r,o,i,a){return f(t&n|~t&r,e,t,o,i,a)}function g(e,t,n,r,o,i,a){return f(t&r|n&~r,e,t,o,i,a)}function m(e,t,n,r,o,i,a){return f(t^n^r,e,t,o,i,a)}function y(e,t,n,r,o,i,a){return f(n^(t|~r),e,t,o,i,a)}function b(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}t.exports=function(e){return u.hash(e,d,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,n){(function(e,n,r,o,i,a,s,l,c){t.exports=function(e){for(var t,n=Array(e),r=0;r>>((3&r)<<3)&255;return n}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,n){(function(n,r,o,i,a,s,l,c,p){var u=e("./helpers");function d(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n,r,o,i=Array(80),a=0x67452301,s=-0x10325477,l=-0x67452302,c=0x10325476,p=-0x3c2d1e10,u=0;u>16)+(t>>16)+(n>>16)<<16|65535&n}function h(e,t){return e<>>32-t}t.exports=function(e){return u.hash(e,d,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,n){(function(n,r,o,i,a,s,l,c,p){function u(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function d(e,t){var n,r=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],o=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],i=Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var a,s,l=0;l>>t|e<<32-t},g=function(e,t){return e>>>t};t.exports=function(e){return f.hash(e,d,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,n){(function(e,t,r,o,i,a,s,l,c){n.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<>1,p=-7,u=n?o-1:0,d=n?-1:1,o=e[t+u];for(u+=d,i=o&(1<<-p)-1,o>>=-p,p+=s;0>=-p,p+=r;0>1,u=5960464477539062e-23*(23===o),d=r?0:i-1,f=r?1:-1,i=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(r=Math.pow(2,-a))<1&&(a--,r*=2),2<=(t+=1<=a+p?u/r:u*Math.pow(2,1-p))*r&&(a++,r/=2),c<=a+p?(s=0,a=c):1<=a+p?(s=(t*r-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));8<=o;e[n+d]=255&s,d+=f,s/=256,o-=8);for(a=a<{"use strict";var r;Object.defineProperty(n,"__esModule",{value:!0}),n.Doctype=n.CDATA=n.Tag=n.Style=n.Script=n.Comment=n.Directive=n.Text=n.Root=n.isTag=n.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=n.ElementType||(n.ElementType={})),n.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},n.Root=r.Root,n.Text=r.Text,n.Directive=r.Directive,n.Comment=r.Comment,n.Script=r.Script,n.Style=r.Style,n.Tag=r.Tag,n.CDATA=r.CDATA,n.Doctype=r.Doctype},111304,(e,t,n)=>{"use strict";var r=e.e&&e.e.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=e.e&&e.e.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);n.NodeWithChildren=u;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(u);n.CDATA=d;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(u);n.Document=f;var h=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=o,a}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null==(n=e["x-attribsNamespace"])?void 0:n[t],prefix:null==(r=e["x-attribsPrefix"])?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(u);function g(e){return(0,i.isTag)(e)}function m(e){return e.type===i.ElementType.CDATA}function y(e){return e.type===i.ElementType.Text}function b(e){return e.type===i.ElementType.Comment}function v(e){return e.type===i.ElementType.Directive}function z(e){return e.type===i.ElementType.Root}function w(e,t){if(void 0===t&&(t=!1),y(e))n=new l(e.data);else if(b(e))n=new c(e.data);else if(g(e)){var n,r=t?x(e.children):[],i=new h(e.name,o({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(m(e)){var r=t?x(e.children):[],a=new d(r);r.forEach(function(e){return e.parent=a}),n=a}else if(z(e)){var r=t?x(e.children):[],s=new f(r);r.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(v(e)){var u=new p(e.name,e.data);null!=e["x-name"]&&(u["x-name"]=e["x-name"],u["x-publicId"]=e["x-publicId"],u["x-systemId"]=e["x-systemId"]),n=u}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function x(e){for(var t=e.map(function(e){return w(e,!0)}),n=1;n{"use strict";var r=e.e&&e.e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=e.e&&e.e.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),n.DomHandler=void 0;var i=e.r(117831),a=e.r(111304);o(e.r(111304),n);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();n.DomHandler=l,n.default=l},612369,(e,t,n)=>{var r,o="html",i="head",a="body",s=/<([a-zA-Z]+[0-9]?)/,l=//i,c=//i,p=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var f=new d;p=u=function(e,t){return t&&(e="<"+t+">"+e+""),f.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var h=document.implementation.createHTMLDocument();p=function(e,t){return t?h.documentElement.querySelector(t).innerHTML=e:h.documentElement.innerHTML=e,h}}var g="object"==typeof document?document.createElement("template"):{};g.content&&(r=function(e){return g.innerHTML=e,g.content.childNodes}),t.exports=function(e){var t,n,d,f,h=e.match(s);switch(h&&h[1]&&(t=h[1].toLowerCase()),t){case o:return n=u(e),!l.test(e)&&(d=n.querySelector(i))&&d.parentNode.removeChild(d),!c.test(e)&&(d=n.querySelector(a))&&d.parentNode.removeChild(d),n.querySelectorAll(o);case i:case a:if(f=(n=p(e)).querySelectorAll(t),c.test(e)&&l.test(e))return f[0].parentNode.childNodes;return f;default:if(r)return r(e);return(d=p(e,a).querySelector(a)).childNodes}}},699235,(e,t,n)=>{n.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},73217,(e,t,n)=>{for(var r,o=e.r(907976),i=e.r(699235).CASE_SENSITIVE_TAG_NAMES,a=o.Comment,s=o.Element,l=o.ProcessingInstruction,c=o.Text,p={},u=0,d=i.length;u{var r=e.r(612369),o=e.r(73217).formatDOM,i=/<(![a-zA-Z\s]+)>/;t.exports=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(i);return n&&n[1]&&(t=n[1]),o(r(e),null,t)}},559878,(e,t,n)=>{n.SAME=0,n.CAMELCASE=1,n.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},594555,(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n{"use strict";n.__esModule=!0,n.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,o=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};n.camelCase=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||i.test(n)||r.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,c):e.replace(a,c)).replace(o,l))}},515511,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n.__esModule=!0;var o=r(e.r(473326)),i=e.r(965185);n.default=function(e,t){var n={};return e&&"string"==typeof e&&(0,o.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}},846335,(e,t,n)=>{var r=e.r(271645),o=e.r(515511).default,i={reactCompat:!0},a=r.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},a={};for(n in e){if(r=e[n],o&&(i=t(n,r))&&2===i.length){a[i[0]]=i[1];continue}"string"==typeof r&&(a[r]=n)}return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},312467,(e,t,n)=>{var r=e.r(594555),o=e.r(846335),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}t.exports=function(e,t){var n,c,p,u,d,f={},h=(e=e||{}).type&&s[e.type];for(n in e){if(p=e[n],r.isCustomAttribute(n)){f[n]=p;continue}if(u=l(c=n.toLowerCase())){switch(d=r.getPropertyInfo(u),-1!==i.indexOf(u)&&-1!==a.indexOf(t)&&!h&&(u=l("default"+c)),f[u]=p,d&&d.type){case r.BOOLEAN:f[u]=!0;break;case r.OVERLOADED_BOOLEAN:""===p&&(f[u]=!0)}continue}o.PRESERVE_CUSTOM_ATTRIBUTES&&(f[n]=p)}return o.setStyleProp(e.style,f),f}},454465,(e,t,n)=>{var r=e.r(271645),o=e.r(312467),i=e.r(846335),a=i.setStyleProp,s=i.canTextBeChildOfNode;t.exports=function e(t,n){for(var l,c,p,u,d,f,h=(n=n||{}).library||r,g=h.cloneElement,m=h.createElement,y=h.isValidElement,b=[],v="function"==typeof n.replace,z=n.trim,w=0,x=t.length;w1&&(u=g(u,{key:u.key||w})),b.push(u);continue}if("text"===c.type){if((p=!c.data.trim().length)&&c.parent&&!s(c.parent)||z&&p)continue;b.push(c.data);continue}switch(d=c.attribs,(l=c,i.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===l.type&&i.isCustomComponent(l.name,l.attribs))?a(d.style,d):d&&(d=o(d,c.name)),f=null,c.type){case"script":case"style":c.children[0]&&(d.dangerouslySetInnerHTML={__html:c.children[0].data});break;case"tag":"textarea"===c.name&&c.children[0]?d.defaultValue=c.children[0].data:c.children&&c.children.length&&(f=e(c.children,n));break;default:continue}x>1&&(d.key=w),b.push(m(c.name,d,f))}return 1===b.length?b[0]:b}},8452,(e,t,n)=>{var r=e.r(907976),o=e.r(971883),i=e.r(312467),a=e.r(454465);o="function"==typeof o.default?o.default:o;var s={lowerCaseAttributeNames:!1};function l(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return""===e?[]:a(o(e,(t=t||{}).htmlparser2||s),t)}l.domToReact=a,l.htmlToDOM=o,l.attributesToProps=i,l.Comment=r.Comment,l.Element=r.Element,l.ProcessingInstruction=r.ProcessingInstruction,l.Text=r.Text,t.exports=l,l.default=l},91557,117595,912710,715274,166303,259604,49859,742458,64753,863481,110683,420078,819701,939368,251650,450322,810412,e=>{"use strict";let t;e.s(["ApiReferenceContext",()=>t$,"ApiReferenceProvider",()=>tX,"AuthContext",()=>tF,"AuthProvider",()=>tY,"DeploymentMetadataContext",()=>tV,"DeploymentMetadataProvider",()=>tG,"DocsConfigContext",()=>tW,"DocsConfigProvider",()=>tK,"OpenApiProvider",()=>tJ,"PageContext",()=>tq],91557);var n,r=e.i(843476),o=e.i(876469),i=e.i(644017),a=e.i(590280),s=e.i(237978),l=e.i(206558);function c(e){for(var t=1;tT],259604),e.s(["ENCRYPTION_COOKIE_KEY",()=>u,"loadEncrypted",()=>m,"storeEncrypted",()=>g],912710),e.s(["default",()=>p],117595);var p=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=c({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o{if(!/^[0-9a-fA-F]+$/.test(e)||e.length%2!=0)throw Error("Invalid hex key format");let t=new Uint8Array(e.length/2);for(let n=0;n{let e=p.get(u);if(void 0!==e)return e;let t=Array.from(globalThis.crypto.getRandomValues(new Uint8Array(16)),e=>e.toString(16).padStart(2,"0")).join("");return p.set(u,t,{secure:"https:"===location.protocol,sameSite:"strict"}),t};var b=e.i(618566),v=e.i(271645);e.s(["USERINFO_LOCALSTORAGE_KEY",()=>z,"loadUserInfo",()=>w,"validateUserInfo",()=>x],715274);let z="mintlify-user-info";async function w(e){if(!e)return null;let t=await m(z,E);if(!t)return null;let n="shared-session"===e.type?o.DAY_IN_MILLISECONDS:o.TWO_WEEKS_IN_MILLISECONDS,r=t.data.expiresAt?1e3*t.data.expiresAt:t.retrievedAt+n;return Date.now()>r||e.invalidatedAt&&e.invalidatedAt>t.retrievedAt?null:t.data}function x(e){return!!e&&"object"==typeof e&&(!("expiresAt"in e)||"number"==typeof e.expiresAt)&&(!("groups"in e)||Array.isArray(e.groups)&&e.groups.every(e=>"string"==typeof e))&&(!("content"in e)||!!e.content&&"object"==typeof e.content)&&(!("apiPlaygroundInputs"in e)||!!e.apiPlaygroundInputs&&"object"==typeof e.apiPlaygroundInputs&&(!("header"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.header&&"object"==typeof e.apiPlaygroundInputs.header)&&(!("cookie"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.cookie&&"object"==typeof e.apiPlaygroundInputs.cookie)&&(!("query"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.query&&"object"==typeof e.apiPlaygroundInputs.query)&&(!("server"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.server&&"object"==typeof e.apiPlaygroundInputs.server)&&(!("path"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.path&&"object"==typeof e.apiPlaygroundInputs.path))}function E(e){return!!e&&"object"==typeof e&&"retrievedAt"in e&&"number"==typeof e.retrievedAt&&"data"in e&&x(e.data)}async function j(t,n,r){let o,[i,a]=function(e){if(O(e))return[e,null];let t=new URLSearchParams(e),n=t.get("jwt");return n&&O(n)?[n,t.get("anchor")]:[null,null]}(location.hash.slice(1));if(!i){let e=await w(t);if(e)return void await r(e);try{localStorage.removeItem(z)}catch{}return}let{importSPKI:s,jwtVerify:l}=await e.A(108387);for(let e of t.signingKeys)try{let t=178===e.publicKey.length?"ES256":"EdDSA",n=await s(e.publicKey,t),{payload:r}=await l(i,n);for(let e of["aud","exp","iat","iss","jti","nbf","sub"])delete r[e];o=r;break}catch(e){console.error(e)}x(o)&&await r(o);let c=a?`#${a}`:"";n.replace(`${location.pathname}${location.search}${c}`)}function O(e){return e.startsWith("ey")&&e.match(/\./g)?.length===2}e.s(["CODE_VERIFIER_COOKIE",()=>A,"default",()=>S],166303);let A="mintlify-pkce-code-verifier";async function S(t){let{default:n}=await e.A(566265),{code_challenge:r,code_verifier:i}=await n(),a=new URL(t.authorizationUrl);a.searchParams.append("response_type","code"),a.searchParams.append("client_id",t.clientId),a.searchParams.append("redirect_uri",window.location.origin+l.NEXT_PUBLIC.BASE_PATH+o.USERAUTH_OAUTH_CALLBACK_PATH),t.scopes.length&&a.searchParams.append("scope",t.scopes.join(" ")),a.searchParams.append("code_challenge",r),a.searchParams.append("code_challenge_method","S256");let s=new Date(Date.now()+10*o.MINUTE_IN_MILLISECONDS);p.set(A,i,{secure:!0,expires:s}),window.location.href=a.href}async function I(e,t,n){let r=new URL(window.location.href),o=r.searchParams.get("code");if(!o){let t=await w(e);if(t)return void await n(t);try{localStorage.removeItem(z)}catch{}return}let i=await _(e,o);x(i)&&await n(i),r.search="",t.push(r.toString())}async function _(e,t){let n,r,o=p.get(A);if(!o)return void console.error("missing code verifier");try{n=await k(e,t,o)}catch(e){console.error(`unable to complete oauth exchange request: ${e}`);return}try{let t=await fetch(e.apiUrl,{headers:{Authorization:`Bearer ${n}`}});r=await t.json()}catch(e){console.error(`unable to complete oauth api request: ${e}`);return}return r}async function k(e,t,n){let r=new URL(e.tokenUrl);r.searchParams.append("grant_type","authorization_code"),r.searchParams.append("client_id",e.clientId),r.searchParams.append("redirect_uri",window.location.origin),r.searchParams.append("code",t),r.searchParams.append("code_verifier",n);let o=await fetch(r,{method:"POST"}),{access_token:i}=await o.json();if("string"!=typeof i)throw Error("unable to parse access_token from oauth exchange response");return i}async function P(e,t){let n,r=await w(e);if(r)return void await t(r);try{localStorage.removeItem(z)}catch{}try{let t=await fetch(e.apiUrl,{credentials:"include"});if(!t.ok)return;n=await t.json()}catch{return}x(n)&&await t(n)}function T(e){let t=(0,b.useRouter)(),[n,r]=(0,v.useState)(),[o,i]=(0,v.useState)(!0),[a,s]=(0,v.useState)(!0);(0,v.useEffect)(()=>{let n=async e=>{r(e);let t={retrievedAt:Date.now(),data:e};await g(z,t)},o=async()=>{try{i(!0);let e=await fetch(`${l.NEXT_PUBLIC.BASE_PATH}/_mintlify/api/user`),t=await e.json();null!=t.user&&await n(t.user)}catch{}finally{i(!1)}};l.NEXT_PUBLIC.AUTH_ENABLED||"cli"===l.NEXT_PUBLIC.ENV||"development"===l.NEXT_PUBLIC.ENV?o():i(!1),(async()=>{s(!0);try{switch(e?.type){case"shared-session":return void await P(e,n);case"jwt":return void await j(e,t,n);case"oauth":return void await I(e,t,n);case void 0:try{localStorage.removeItem(z)}catch{}return}}finally{s(!1)}})()},[]);let c=o||a;return(0,v.useEffect)(()=>{if(!c){var e;e=n?.content,window.mintlify={...window.mintlify,user:e},window.dispatchEvent(new CustomEvent("mintlify:user",{detail:e??null}))}},[n,c]),{userInfo:n,isFetchingUserInfo:c}}var L=e.i(752473);function C(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}let R=L.divisions.filter(e=>"menu"!==e).map(e=>e.endsWith("s")?e.slice(0,-1):e);function M(e,t){let n=[e];for(let e of R){let r=t[e];r&&n.unshift(`${e}:${r}`)}return n.join("|")}function N(e,t){let n=t;for(let t of R)t in e&&"string"==typeof e[t]&&(n={...n,[t]:e[t]});return n}function U(e,t,n){let r="string"==typeof e?e:String(e.path||""),o=r.startsWith("/")?r:"/"+r,i=n.get(o),a=t.get(o),s=i?.title,l=i?.sidebarTitle,c={href:o,title:("string"==typeof s?s:void 0)??("string"==typeof l?l:void 0)??a?.title??function(e){let t=e.split("/").filter(Boolean);return(t[t.length-1]||"").replace(/-/g," ").replace(/_/g," ").replace(/\b\w/g,e=>e.toUpperCase())}(o)},p=i?.sidebarTitle??a?.sidebarTitle;"string"==typeof p&&(c.sidebarTitle=p);let u=i?.description??a?.description;"string"==typeof u&&(c.description=u);let d=i?.icon??a?.icon;for(let e of("string"==typeof d&&(c.icon=d),["api","openapi","asyncapi","contentType","authMethod","auth","version","mode","hideFooterPagination","authors","lastUpdatedDate","createdDate","openapi-schema","tag","url","hideApiMarker","noindex","isPublic","public","deprecated"])){let t=i?.[e]??a?.[e];void 0!==t&&(c[e]=t)}return c}function D(e,t,n,r){return e.map(e=>{if("string"==typeof e)return U(e,t.pageMetadata,n);if(C(e)){if("group"in e)return B(e,t,n,r);if("path"in e)return U(e,t.pageMetadata,n)}return e})}function B(e,t,n,r){let o={...e},i=M("string"==typeof o.group?o.group:"",r),a=("openapi"in o||"asyncapi"in o)&&!("pages"in o&&o.pages);if("pages"in o&&Array.isArray(o.pages))o.pages=D(o.pages,t,n,r);else if(a){let e=t.groupPages.get(i);e&&e.length>0?o.pages=e:o.pages=[]}else"group"in o&&(o.pages=[]);return"root"in o&&o.root&&("string"==typeof o.root?o.root=U(o.root,t.pageMetadata,n):C(o.root)&&(o.root=U(o.root,t.pageMetadata,n))),o}function q(e,t,n,r){return e.map(e=>C(e)?B(e,t,n,r):e)}var V=e.i(42143),W=e.i(322986);e.s(["getClientBoundaryDocsConfig",()=>$],49859);var F=e.i(352350);function $(e){let{redirects:t,navigation:n,...r}=e;return{...r,navigation:function(e){let t={..."global"in e&&e.global?{global:e.global}:{},...e.directory?{directory:e.directory}:{}};return"languages"in e?{...t,languages:e.languages.map(e=>({language:e.language,...void 0!==e.default?{default:e.default}:{},...void 0!==e.hidden?{hidden:e.hidden}:{},...e.banner?{banner:e.banner}:{},...e.footer?{footer:e.footer}:{},...e.navbar?{navbar:e.navbar}:{},...e.directory?{directory:e.directory}:{},href:"href"in e&&"string"==typeof e.href&&e.href||((0,F.getFirstPageFromNavConfig)(e)??"/")}))}:{...t,pages:[]}}(n)}}e.s(["OpenApiReferenceContext",()=>tD,"OpenApiReferenceProvider",()=>tB],810412),e.s(["langToPresetMap",()=>Y,"shikiLangToDisplayLang",()=>J,"snippetPresets",()=>K,"toShikiLang",()=>X],742458);let G=[{key:"bash",aliases:["curl","sh","shell"],displayName:"cURL",shikiLanguage:"bash",httpSnippet:{target:"shell"}},{key:"python",aliases:["py"],displayName:"Python",shikiLanguage:"python",httpSnippet:{target:"python",client:"requests"}},{key:"javascript",aliases:["js"],displayName:"JavaScript",shikiLanguage:"javascript",httpSnippet:{target:"javascript",client:"fetch"}},{key:"node",aliases:["nodejs","node.js"],displayName:"Node.js",iconKey:"node",shikiLanguage:"javascript",httpSnippet:{target:"node",client:"fetch"}},{key:"php",displayName:"PHP",shikiLanguage:"php",httpSnippet:{target:"php",client:"curl"}},{key:"go",aliases:["golang"],displayName:"Go",shikiLanguage:"go",httpSnippet:{target:"go"}},{key:"java",displayName:"Java",shikiLanguage:"java",httpSnippet:{target:"java"}},{key:"ruby",aliases:["rb"],displayName:"Ruby",shikiLanguage:"ruby",httpSnippet:{target:"ruby"}},{key:"powershell",displayName:"PowerShell",shikiLanguage:"bash",httpSnippet:{target:"powershell"}},{key:"swift",displayName:"Swift",shikiLanguage:"swift",httpSnippet:{target:"swift"}},{key:"csharp",aliases:["c#"],displayName:"C#",shikiLanguage:"csharp",httpSnippet:{target:"csharp",client:"restsharp"}},{key:"dotnet",aliases:[".net",".NET","dotnet","dot-net"],displayName:".NET",iconKey:"dot-net",shikiLanguage:"csharp",httpSnippet:{target:"csharp",client:"restsharp"}},{key:"typescript",aliases:["ts"],displayName:"TypeScript",shikiLanguage:"typescript",httpSnippet:{target:"javascript",client:"fetch"}},{key:"c",displayName:"C",shikiLanguage:"c",httpSnippet:{target:"c"}},{key:"c++",aliases:["cpp"],displayName:"C++",shikiLanguage:"c++",iconKey:"cplusplus",httpSnippet:{target:"c"}},{key:"kotlin",aliases:["kt"],displayName:"Kotlin",shikiLanguage:"kotlin",httpSnippet:{target:"kotlin"}},{key:"rust",aliases:["rs"],displayName:"Rust",shikiLanguage:"rust",httpSnippet:{target:"rust"}},{key:"dart",aliases:["flutter"],displayName:"Dart",shikiLanguage:"dart",httpSnippet:{target:"dart"}}],H=new Map;for(let e of G)for(let t of(H.set(e.key.toLowerCase(),e),null!=(n=e.aliases)?n:[]))H.set(t.toLowerCase(),e);let K=G.filter(e=>["bash","python","javascript","php","go","java","ruby"].includes(e.key)),Y=Object.fromEntries(G.flatMap(e=>{var t;return[[e.key,e],...(null!=(t=e.aliases)?t:[]).map(t=>[t,e])]})),X=e=>{var t,n;return null!=(n=null===(t=H.get(e.toLowerCase()))||void 0===t?void 0:t.key)?n:e.toLowerCase()},J=Object.fromEntries(G.flatMap(e=>{var t;return[[e.key,e.displayName],...(null!=(t=e.aliases)?t:[]).map(t=>[t,e.displayName])]}));var Z=e.i(422233);let Q=e=>{let t=e=>{let t,n={};if((t="enum"===e.type?"string":"enum"===e.type?"number":"enum"===e.type?"integer":"file"===e.type?"string":"any"===e.type?void 0:e.type)&&(n.type=t),e.title&&(n.title=e.title),e.description&&(n.description=e.description),void 0!==e.default&&(n.default=e.default),void 0!==e.example&&(n.example=e.example),e.deprecated&&(n.deprecated=e.deprecated),e.readOnly&&(n.readOnly=e.readOnly),e.writeOnly&&(n.writeOnly=e.writeOnly),("enum"===e.type||"enum"===e.type||"enum"===e.type)&&(n.enum=e.enum),"string"===e.type)e.format&&(n.format=e.format),e.pattern&&(n.pattern=e.pattern),e.maxLength&&(n.maxLength=e.maxLength),e.minLength&&(n.minLength=e.minLength),"const"in e&&void 0!==e.const&&(n.const=e.const);else if("number"===e.type||"integer"===e.type)void 0!==e.minimum&&(n.minimum=e.minimum),void 0!==e.maximum&&(n.maximum=e.maximum),e.multipleOf&&(n.multipleOf=e.multipleOf),"const"in e&&void 0!==e.const&&(n.const=e.const);else if("array"===e.type)e.maxItems&&(n.maxItems=e.maxItems),e.minItems&&(n.minItems=e.minItems),e.uniqueItems&&(n.uniqueItems=e.uniqueItems),e.items&&(n.items=Q(e.items));else if("object"===e.type){if(e.maxProperties&&(n.maxProperties=e.maxProperties),e.minProperties&&(n.minProperties=e.minProperties),e.properties){n.properties={};let t=[];Object.entries(e.properties).forEach(([e,r])=>{var o;n.properties[e]=Q(r),Array.isArray(r)&&(null==(o=r[0])?void 0:o.required)&&t.push(e)}),t.length>0&&(n.required=t)}void 0!==e.additionalProperties&&("boolean"==typeof e.additionalProperties?n.additionalProperties=e.additionalProperties:n.additionalProperties=Q(e.additionalProperties))}else"file"===e.type&&(n.format=e.contentEncoding||"binary");return n};return 1===e.length?t(e[0]):{oneOf:e.map(e=>t(e))}};e.s(["addKeyIfDefined",()=>es,"combineAdditionalProperties",()=>ew,"combineDescription",()=>ez,"combineExamples",()=>eb,"combineProperties",()=>ev,"combineTitle",()=>em,"copyAndCombineKeys",()=>ey,"copyExampleIfDefined",()=>ec,"copyKeyIfDefined",()=>el,"dereference",()=>ea,"discriminatorAndSchemaRefsMatch",()=>ex,"getFileLikeStringEncoding",()=>en,"getSchemaContentEncoding",()=>ei,"getSchemaContentMediaType",()=>eo,"mergeTypes",()=>ed,"normalizeMinMax",()=>ef,"sortSchemas",()=>eu,"structuredDataContentTypes",()=>et],64753);var ee=e.i(429965);let et=["multipart/form-data","application/json","application/x-www-form-urlencoded"];function en(e){return"binary"===e.format||"base64"===e.format?e.format:"string"==typeof e.contentMediaType&&function(e){var t,n;let r=e.toLowerCase().trim();if(0===r.length)return!1;let o=null!=(n=null==(t=r.split(";",1)[0])?void 0:t.trim())?n:r;return o.startsWith("image/")||o.startsWith("audio/")||o.startsWith("video/")||er.has(o)}(e.contentMediaType)?"base64"===e.contentEncoding||"base64url"===e.contentEncoding?"base64":"binary":void 0}let er=new Set(["application/octet-stream","application/pdf","application/zip","application/gzip","application/x-gzip","application/x-zip-compressed","application/x-tar","application/x-7z-compressed","application/vnd.rar","application/x-rar-compressed"]);function eo(e){if(!("contentMediaType"in e))return;let t=e.contentMediaType;return"string"==typeof t?t:void 0}function ei(e){if(!("contentEncoding"in e))return;let t=e.contentEncoding;return"string"==typeof t?t:void 0}function ea(e,t,n,r=5){let o=`#/components/${e}/`;if(!t.startsWith(o))return;let i=t.slice(o.length),a=null==n?void 0:n[i];return a&&"$ref"in a?r>0&&"string"==typeof a.$ref?ea(e,a.$ref,n,r-1):void 0:a}let es=(e,t,n)=>{void 0!==t&&(n[e]=t)},el=(e,t,n)=>{void 0!==t[e]&&(n[e]=t[e])},ec=(e,t)=>{var n;let r=void 0!==e.example?e.example:null==(n=e.examples)?void 0:n[0];void 0!==r&&(t.example=r)};function ep(e,t){var n;if("object"==typeof e&&void 0!==t){if(e.discriminator&&e.discriminator.mapping){let r=e.discriminator.mapping;if(t in r&&(null==(n=r[t])?void 0:n.description))return r[t].description}if(Array.isArray(e)){for(let n of e){let e=ep(n,t);if(e)return e}return}if("type"in e&&e.type===t&&"description"in e&&"string"==typeof e.description)return e.description;for(let[n,r]of Object.entries(e)){if(n===t&&"object"==typeof r&&null!==r&&"description"in r&&"string"==typeof r.description)return r.description;let e=ep(r,t);if(e)return e}}}function eu(e){e.sort((e,t)=>{var n,r;let o=null!=(n=e._depth)?n:0,i=null!=(r=t._depth)?r:0;return o!==i?o-i:e.type&&!t.type?-1:!e.type&&t.type?1:0})}function ed(e,t){let n=t.type;if("integer"===e.type&&"number"===n?n="integer":"number"===e.type&&"integer"===n?e.type="integer":void 0===e.type&&void 0!==n?e.type=n:void 0!==e.type&&void 0===n&&(n=e.type),e.type!==n)throw Error(`${e.type} vs ${n}`)}function ef(e){"number"==typeof e.exclusiveMaximum&&(void 0===e.maximum||e.maximum>=e.exclusiveMaximum?(e.maximum=e.exclusiveMaximum,e.exclusiveMaximum=!0):e.exclusiveMaximum=void 0),"number"==typeof e.exclusiveMinimum&&(void 0===e.minimum||e.minimum<=e.exclusiveMinimum?(e.minimum=e.exclusiveMinimum,e.exclusiveMinimum=!0):e.exclusiveMinimum=void 0)}let eh=(e,t,n,r)=>{var o;return void 0!==e[n]&&void 0!==t[n]?r(e[n],t[n]):null!=(o=e[n])?o:t[n]},eg=(e,t,n,r)=>{es(e,eh(t,n,e,r),n)};function em(e,t){void 0!=t.discriminator||void 0==t.type&&void 0!=e.title||t.isAllOf&&t.refIdentifier&&t.refIdentifier!==t.isAllOf||el("title",t,e)}function ey(e,t){el("refIdentifier",t,e),el("examples",t,e),el("format",t,e),el("contentMediaType",t,e),el("contentEncoding",t,e),el("default",t,e),el("x-default",t,e),el("const",t,e),el("x-mint-enum",t,e),el("x-mint",t,e),eg("multipleOf",t,e,ee.default),eg("maxLength",t,e,Math.min),eg("minLength",t,e,Math.max),eg("maxItems",t,e,Math.min),eg("minItems",t,e,Math.max),eg("maxProperties",t,e,Math.min),eg("minProperties",t,e,Math.max),eg("required",t,e,(e,t)=>t.concat(e.filter(e=>!t.includes(e)))),eg("enum",t,e,(e,t)=>t.filter(t=>e.includes(t))),eg("readOnly",t,e,(e,t)=>e&&t),eg("writeOnly",t,e,(e,t)=>e&&t),eg("deprecated",t,e,(e,t)=>e||t);let n=eh(t,e,"maximum",Math.min),r=eh(t,e,"minimum",Math.max);es("exclusiveMaximum",(e.maximum===n?e.exclusiveMaximum:void 0)||(t.maximum===n?t.exclusiveMaximum:void 0),e),es("exclusiveMinimum",(e.minimum===r?e.exclusiveMinimum:void 0)||(t.minimum===r?t.exclusiveMinimum:void 0),e),es("maximum",n,e),es("minimum",r,e)}function eb(e,t){var n,r;let o=(null==(n=e.examples)?void 0:n[0])!==void 0?e.examples[0]:e.example,i=(null==(r=t.examples)?void 0:r[0])!==void 0?t.examples[0]:t.example;o&&i&&"object"==typeof o&&"object"==typeof i?e.example=Object.assign(Object.assign({},o),i):es("example",void 0!==i?i:o,e)}function ev(e,t,n,r){t.properties&&Object.entries(t.properties).filter(([e,t])=>{if("$ref"in t){let e=ea("schemas",t.$ref,n);if(!e)return!0;t=e}return(!t.readOnly||"request"!==r)&&(!t.writeOnly||"response"!==r)}).forEach(([t,n])=>{var r;let o=null!=(r=e.properties)?r:{},i=o[t];i?i.allOf.push(n):o[t]={allOf:[n]},e.properties=o})}function ez(e,t,n){var r,o;if((null==(r=e.properties)?void 0:r.type)&&t.discriminator&&!e.description){let r,i=null!=(o=e.properties.type.allOf[0])?o:{};"const"in i&&"string"==typeof i.const&&(r=i.const);let a=ep(t,r)||n.flatMap(e=>ep(e,r)).filter(Boolean)[0];a&&(e.description=a)}else e.description&&t.description&&!t.discriminator&&!e.description.includes(t.description)?e.description=`${e.description} ${t.description}`:e.description||el("description",t,e)}function ew(e,t){var n;if(!1===t.additionalProperties)e.additionalProperties=!1;else if(!1!==e.additionalProperties&&t.additionalProperties&&"object"==typeof t.additionalProperties){let r=null!=(n=e.additionalProperties)?n:{allOf:[]};r.allOf.push(t.additionalProperties),e.additionalProperties=r}}function ex(e){let t=e.discriminator;if(null==t||!t.mapping)return!1;{let n=Object.values(t.mapping).map(e=>e),r=[];"allOf"in e&&Array.isArray(e.allOf)&&e.allOf.forEach(e=>{"$ref"in e&&r.push(e.$ref)}),"oneOf"in e&&Array.isArray(e.oneOf)&&e.oneOf.forEach(e=>{"$ref"in e&&r.push(e.$ref)}),"anyOf"in e&&Array.isArray(e.anyOf)&&e.anyOf.forEach(e=>{"$ref"in e&&r.push(e.$ref)});let o=new Set(n),i=new Set(r);return o.size===i.size&&[...o].every(e=>i.has(e))}}e.s(["buildRecursiveParamFieldId",()=>tu,"convertAnySchemaToOneOfs",()=>e6,"decodePathSegment",()=>e8,"encodeBasicAuth",()=>tl,"escapeDots",()=>e4,"filterSchemasWithConsts",()=>tr,"generateSchemaOptionLabels",()=>tp,"generateSimpleSchemaLabel",()=>tc,"getBodyDefaultsFromSchema",()=>to,"getBooleanEnumOptions",()=>eY,"getDeepObjectParentName",()=>tf,"getDifferentiatedType",()=>eH,"getParametersPerSection",()=>e1,"getPrefillRequestExamples",()=>e0,"getRecursiveParentName",()=>td,"getRequestBodyContentType",()=>e5,"getSchemaDefault",()=>e2,"getSchemaPlaceholder",()=>eX,"getSecurityOptionInputKeyPrefix",()=>ti,"getSecuritySchemeName",()=>ts,"hasPropertyChildren",()=>eF,"isArrayObject",()=>e$,"isBasicAuth",()=>ta,"isCircularRef",()=>eq,"isEnum",()=>eK,"isFileExample",()=>th,"isNumberSchema",()=>eZ,"isObjectArray",()=>eG,"isSchemaObject",()=>eW,"isStringSchema",()=>eJ,"mapParamInToPlaygroundInputKey",()=>e7,"mapResponseExamples",()=>eQ,"unflattenInputs",()=>e9],819701);var eE=e.i(462153);let ej={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},eO=new Uint8Array(16),eA=[];for(let e=0;e<256;++e)eA.push((e+256).toString(16).slice(1));let eS=function(e,n,r){if(ej.randomUUID&&!n&&!e)return ej.randomUUID();let o=(e=e||{}).random??e.rng?.()??function(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(eO)}();if(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,n){if((r=r||0)<0||r+16>n.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)n[r+e]=o[e];return n}return function(e,t=0){return(eA[e[t+0]]+eA[e[t+1]]+eA[e[t+2]]+eA[e[t+3]]+"-"+eA[e[t+4]]+eA[e[t+5]]+"-"+eA[e[t+6]]+eA[e[t+7]]+"-"+eA[e[t+8]]+eA[e[t+9]]+"-"+eA[e[t+10]]+eA[e[t+11]]+eA[e[t+12]]+eA[e[t+13]]+eA[e[t+14]]+eA[e[t+15]]).toLowerCase()}(o)};var eI=e.i(368971);let e_=({schema:e,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o=new WeakMap})=>{if("$ref"in e){let n=t[e.$ref]||eS();e.$ref=n;return}if(o.has(e))return void o.get(e);if(o.set(e,""),"properties"in e&&e.properties&&"object"==typeof e.properties&&Object.entries(e.properties).forEach(([i,a])=>{var s;if("object"!=typeof a||null===a)return;let l=ek({childSchema:a,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});l&&(null==(s=e.properties)?void 0:s[i])&&(e.properties[i]=l)}),"items"in e&&e.items&&"object"==typeof e.items){let i=ek({childSchema:e.items,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});i&&(e.items=i)}if("additionalProperties"in e&&"object"==typeof e.additionalProperties){let i=ek({childSchema:e.additionalProperties,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});i&&(e.additionalProperties=i)}if("oneOf"in e&&e.oneOf&&Array.isArray(e.oneOf)&&e.oneOf.forEach((i,a)=>{var s;if("object"!=typeof i)return;let l=ek({childSchema:i,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});l&&(null==(s=e.oneOf)?void 0:s[a])&&(e.oneOf[a]=l)}),"anyOf"in e&&e.anyOf&&Array.isArray(e.anyOf)&&e.anyOf.forEach((i,a)=>{var s;if("object"!=typeof i)return;let l=ek({childSchema:i,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});l&&(null==(s=e.anyOf)?void 0:s[a])&&(e.anyOf[a]=l)}),"allOf"in e&&e.allOf&&Array.isArray(e.allOf)&&e.allOf.forEach((i,a)=>{var s;if("object"!=typeof i)return;let l=ek({childSchema:i,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});l&&(null==(s=e.allOf)?void 0:s[a])&&(e.allOf[a]=l)}),"not"in e&&e.not&&"object"==typeof e.not){let i=ek({childSchema:e.not,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o});i&&(e.not=i)}if("discriminator"in e&&e.discriminator&&"object"==typeof e.discriminator&&"mapping"in e.discriminator&&e.discriminator.mapping){let n=e.discriminator.mapping;for(let e of Object.keys(n)){let r=n[e];if("string"==typeof r&&r.startsWith("#/")){let o=t[r];o&&(n[e]=o)}}}},ek=({childSchema:e,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o})=>{if("object"!=typeof e)return;if("$ref"in e){let i=t[e.$ref]||eS();if(0===Object.keys(e).filter(e=>"$ref"!==e).length)return i;let a=eS();e.$ref=i;let s=(0,eI.default)(e);return s in r?n[a]=s:(n[a]=s,r[s]=e),o.set(e,a),a}if(o.has(e)){let t=o.get(e);if(t)return t}let i=eS(),a=(0,eI.default)(e);return a in r?(n[i]=a,o.set(e,i)):(n[i]=a,e_({schema:e,refUuidMap:t,uuidObjectHashMap:n,hashedNodeMap:r,schemaToUuidMap:o}),o.set(e,i),r[a]=e),i};var eP=e.i(866285);e.s(["CIRCULAR_REF_KEY",()=>eL,"MAX_SCHEMA_COMBINATION_SIZE",()=>eT,"apiPlaygroundInputKeys",()=>eM,"combinationKeys",()=>eC,"initialApiPlaygroundInputs",()=>eR,"orNullTypeString",()=>eN],863481);let eT=1e3,eL="$circularRef",eC=["properties","additionalProperties","items","oneOf","anyOf","allOf"],eR={server:{},path:{},query:{},header:{},cookie:{},body:void 0},eM={server:"server",path:"path",query:"query",header:"header",cookie:"cookie",body:"body"},eN=" | null";e.s(["getExampleBodyInputs",()=>eD],420078),e.s(["updateSchemaUniqueKeys",()=>eU],110683);let eU=(e,t,n)=>{if(!eW(e))return e;let r=Object.assign({},e);if(r.uniqueKey&&r.uniqueKey.startsWith(t)&&(r.uniqueKey=r.uniqueKey.replace(t,n)),r.oneOf&&Array.isArray(r.oneOf)&&(r.oneOf=r.oneOf.map(e=>eW(e)?eU(e,t,n):e)),r.properties&&"object"==typeof r.properties){let e={};Object.entries(r.properties).forEach(([r,o])=>{eW(o)?e[r]=eU(o,t,n):e[r]=o}),r.properties=e}return r.additionalProperties&&"object"==typeof r.additionalProperties&&eW(r.additionalProperties)&&(r.additionalProperties=eU(r.additionalProperties,t,n)),"array"===r.type&&"items"in r&&eW(r.items)&&(r.items=eU(r.items,t,n)),r},eD=({schema:e,example:t})=>(function e(t,n,r,o=[]){var i,a,s,l;let c={};if(null==n)return c;if(t.oneOf&&Array.isArray(t.oneOf)){let a=null;for(let e of t.oneOf)if(eW(e)&&function e(t,n){let r=typeof n;if(t.oneOf&&Array.isArray(t.oneOf))return t.oneOf.some(t=>!!eW(t)&&e(t,n));if(t.enum&&Array.isArray(t.enum))return t.enum.includes(n);if("string"===t.type&&"string"===r&&t.pattern&&"string"==typeof n)try{return new RegExp(t.pattern).test(n)}catch(e){return!1}if("object"===t.type&&"object"===r&&null!==n&&!Array.isArray(n)){if(t.properties&&"object"==typeof t.properties){let r=Object.keys(n),o=Object.keys(t.properties);if(t.required&&Array.isArray(t.required)&&t.required.some(e=>"string"==typeof e&&!r.includes(e)))return!1;for(let i of r)if(o.includes(i)){let r=t.properties[i],o=n[i];if(eW(r)&&!function t(n,r){if(n.enum&&Array.isArray(n.enum))return n.enum.includes(r);if(n.oneOf&&Array.isArray(n.oneOf))return n.oneOf.some(t=>!!eW(t)&&e(t,r));let o=typeof r;if("string"===n.type&&"string"!==o||"number"===n.type&&"number"!==o||"integer"===n.type&&("number"!==o||!Number.isInteger(r))||"boolean"===n.type&&"boolean"!==o||"array"===n.type&&!Array.isArray(r)||"object"===n.type&&("object"!==o||null===r||Array.isArray(r)))return!1;if("array"===n.type&&Array.isArray(r)&&eW(n.items)){for(let t of r)if(!e(n.items,t))return!1}if("object"===n.type&&null!==r&&"object"==typeof r&&!Array.isArray(r)&&n.properties){for(let[e,o]of Object.entries(n.properties))if(e in r&&eW(o)&&!t(o,r[e]))return!1}return!0}(r,o))return!1}if(r.length>0&&o.length>0)return r.some(e=>o.includes(e));if(0===r.length)return!(t.required&&Array.isArray(t.required)&&t.required.length>0)}return!0}return!!("string"===t.type&&"string"===r||"number"===t.type&&"number"===r||"integer"===t.type&&"number"===r&&Number.isInteger(n)||"boolean"===t.type&&"boolean"===r||"array"===t.type&&Array.isArray(n))}(e,n)){let t=function(e,t){if("object"===e.type&&"object"==typeof t&&null!==t&&!Array.isArray(t)&&e.properties&&"object"==typeof e.properties){let n=Object.keys(t),r=Object.keys(e.properties);return n.filter(e=>r.includes(e)).length}return 1}(e,n);(null===a||t>a.matchCount)&&(a={variant:e,matchCount:t})}let s=null!=(i=null==a?void 0:a.variant)?i:t.oneOf.length>0&&eW(t.oneOf[0])?t.oneOf[0]:null;if(s){if("object"!==s.type&&"array"!==s.type){if(s.uniqueKey){let e=eB(s.uniqueKey,o);c[`${r}.${e}`]=n}return c}return e(s,n,r,o)}}if("object"===t.type&&t.properties&&"object"==typeof n&&!Array.isArray(n))for(let[i,a]of Object.entries(t.properties)){if(!eW(a))continue;let t=n[i];if(void 0!==t){if("object"===a.type||"array"===a.type||a.oneOf)Object.assign(c,e(a,t,r,o));else if(a.uniqueKey){let e=eB(a.uniqueKey,o);c[`${r}.${e}`]=t}}}if("object"===t.type&&eW(t.additionalProperties)&&"object"==typeof n&&!Array.isArray(n)){let i=t.additionalProperties,l=null!=(a=i.uniqueKey)?a:"",p=null!=(s=t.uniqueKey)?s:"";for(let[a,s]of Object.entries(n)){if(!l)break;if("__proto__"===a||"constructor"===a||"prototype"===a||t.properties&&Object.prototype.hasOwnProperty.call(t.properties,a)||void 0===s)continue;let n=p?`${p}.${e4(a)}`:e4(a),u=e(eU(i,l,n),s,r,o);0===Object.keys(u).length?c[`${r}.${eB(n,o)}`]=s:Object.assign(c,u)}}if("array"===t.type&&Array.isArray(n)&&"items"in t&&eW(t.items)){let i=t.items;n.forEach((t,n)=>{Object.assign(c,e(i,t,r,[...o,n]))})}let p="object"===t.type&&(Object.keys(null!=(l=t.properties)?l:{}).length>0||eW(t.additionalProperties)),u="array"===t.type&&"items"in t&&eW(t.items);if(!p&&!u&&!t.oneOf&&t.uniqueKey){let e=eB(t.uniqueKey,o);c[`${r}.${e}`]=n}return c})(e,t,eM.body);function eB(e,t){let n=e;return t.forEach(e=>{n=n.replace("[INDEX]",e.toString())}),n}function eq(e){return"object"==typeof e&&null!==e&&eL in e&&"string"==typeof e[eL]}let eV=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),eW=e=>!!eV(e)&&("type"in e||"properties"in e||"oneOf"in e||"anyOf"in e||"allOf"in e||"items"in e||"additionalProperties"in e||"enum"in e||"const"in e||"format"in e||"pattern"in e||"minimum"in e||"maximum"in e||"minLength"in e||"maxLength"in e||"minItems"in e||"maxItems"in e||"minProperties"in e||"maxProperties"in e||"required"in e||"nullable"in e||"description"in e),eF=e=>!!eW(e)&&(!!e.properties&&Object.keys(e.properties).length>0||!!e.additionalProperties&&Object.keys(e.additionalProperties).length>0),e$=e=>eW(e)&&"array"===e.type,eG=e=>e$(e)&&eW(e.items)&&"object"===e.items.type,eH=e=>{if(e.oneOf)return"oneOf";if(e.enum)switch(e.type){case"string":return"enum";case"number":return"enum";case"integer":return"enum";case"boolean":return"enum";default:return e.type}return void 0!==en(e)?"file":e.type},eK=e=>"enum"in e&&void 0!==e.enum,eY=e=>{if(e.enum&&e.enum.length>0){let t=e.enum.map(e=>"boolean"==typeof e?e:"true"===e||"false"!==e&&null).filter(e=>null!==e);if(t.length>0)return t}return[!0,!1]},eX=e=>"placeholder"in e&&"string"==typeof e.placeholder?e.placeholder:void 0,eJ=e=>"string"===e.type,eZ=e=>"number"===e.type||"integer"===e.type,eQ=e=>{var t,n;let r={};return Object.entries(null!=(n=null==(t=e.operation)?void 0:t.responses)?n:{}).forEach(([t,n])=>{var o,i;let a=null==(i=null==(o=e.dependencies)?void 0:o.responses)?void 0:i[n];a&&a.content&&(r[t]=a.content)}),r},e0=e=>{var t,n,r;let o=null==(n=null==(t=e.dependencies)?void 0:t.requestBody)?void 0:n.content;if(void 0===o)return[];let i=Object.keys(o)[0];if(!i)return[];let a=o[i],s=null==a?void 0:a.schema;if(!eW(s))return[];let l=Object.values(null!=(r=null==a?void 0:a.examples)?r:{});if(0===l.length)return[];let c=[];for(let e of l)if("value"in e){let t=eD({schema:s,example:e.value});c.push(t)}return c},e1=e=>{var t;let n=null==(t=e.dependencies)?void 0:t.parameters;if(n){let e=Object.values(n),t=e.filter(e=>!("in"in e)||"header"===e.in),r=e.filter(e=>"cookie"===e.in);return{header:t,path:e.filter(e=>"path"===e.in),query:e.filter(e=>"query"===e.in),cookie:r}}return{header:[],path:[],query:[],cookie:[]}},e2=e=>{let t;if(e)return"object"==typeof e&&"default"in e&&(t=e.default),"object"==typeof e&&"x-default"in e&&(t=e["x-default"]),t},e6=()=>({oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"object",properties:{}},{type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"object",properties:{}},{type:"array",items:{}},{type:"null"}]}},{type:"null"}]}),e5=(e,t)=>{var n,r;let o=null==(r=null==(n=e.dependencies)?void 0:n.requestBody)?void 0:r.content;if(void 0!==o)return Object.keys(o)[t]},e3=new Set(["oneOf","items","additionalProperties"]),e4=e=>{let t=e.replace(/\./g,"\\.");return e3.has(e)||t.startsWith("\\")?`\\${t}`:t},e8=e=>e.startsWith("\\")?e.slice(1):e,e7=e=>{switch(e){case"header":default:return eM.header;case"path":return eM.path;case"query":return eM.query;case"cookie":return eM.cookie}},e9=e=>{let t={server:{},header:{},path:{},query:{},cookie:{},body:void 0};return Object.entries(e).forEach(([e,n])=>{if(void 0===n)return;let r=e.split(/(?e.replace(/\\\./g,"."));if(r.length<2){"body"===e&&(t.body=n);return}let[o,...i]=r,a=Object.values(eM);if(o&&a.includes(o))if(o!==eM.body){if(null===n)return;tn(t[o],[...i],n)}else 0==[...i].length?t.body=n:((void 0===t.body||"object"!=typeof t.body)&&(t.body={}),tn(t.body,i,n))}),te(t)},te=e=>{if(null==e||(0,eE.isFile)(e)||e instanceof FileList)return e;if(Array.isArray(e))return e.map(te);if(eV(e)){if((e=>{if(!eV(e))return!1;let t=Object.keys(e);return 0!==t.length&&t.every(e=>null!==ty(e))})(e)){let t=[];for(let[n,r]of Object.entries(e)){let e=ty(n);null!==e&&t.push({index:e,value:te(r)})}return t.sort((e,t)=>e.index-t.index),t.map(e=>e.value)}if((e=>{if(!eV(e))return!1;let t=Object.keys(e);return 0!==t.length&&t.every(e=>/^\d+$/.test(e))})(e))return Object.keys(e).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]).map(te);let t={};for(let[n,r]of Object.entries(e))t[n]=te(r);return t}return e},tt=new Set(["__proto__","constructor","prototype"]),tn=(e,t,n)=>{let r=[];for(let e=0;ee.filter(e=>!("enum"in e)||!e.enum||!("const"in e)||e.enum.includes(e.const)),to=(e,t=0)=>{let n={};if("uniqueKey"in e&&void 0!==e.uniqueKey){let t=e2(e);if(void 0!==t){let r=`${eM.body}.${e.uniqueKey}`;n[r=r.replaceAll("[INDEX]","0")]=t}}if("oneOf"in e&&Array.isArray(e.oneOf)&&e.oneOf.length>0){let r=t{eW(e)&&Object.assign(n,to(e,0))}),e.additionalProperties&&"object"==typeof e.additionalProperties&&eW(e.additionalProperties)&&Object.assign(n,to(e.additionalProperties,0)),n},ti=e=>{var t;let n="schemes"in e?null==(t=e.schemes[0])?void 0:t.scheme:e.scheme;if(!n)return"header.Authorization";let r="in"in n?n.in:"header",o="name"in n?n.name:ts(n);return`${e7(r)}.${e4(o)}`},ta=e=>e&&"type"in e&&"http"===e.type&&"basic"===e.scheme,ts=e=>e&&"type"in e&&"apiKey"===e.type?e.name:"Authorization",tl=(e,t)=>{let n=new TextEncoder().encode(`${null!=e?e:""}:${null!=t?t:""}`),r="";for(let e of n)r+=String.fromCharCode(e);return btoa(r)},tc=e=>{var t;let n=e.typeLabel,r="type"in e&&"string"==typeof e.type?e.type:void 0;return null!=(t=null!=n?n:r)?t:"unknown"},tp=e=>{if(e.length<=1)return e.map(e=>tc(e));let t=e.every(e=>"object"===e.type),n=e.map(e=>tc(e));return t?e.map((e,t)=>{var n;return null!=(n=e.title)?n:`Option ${t+1}`}):new Set(n).size===n.length?n:n.map((t,n)=>{var r,o;let i=null!=(o=null==(r=e[n])?void 0:r.title)?o:`Option ${n+1}`;return t.startsWith(`${i} \xb7 `)?t:`${i} \xb7 ${t}`})},tu=(e,t,n,r)=>(0,eP.default)(`${e?`${e}-`:""}${n?`${n}-`:""}${t||""}-${r||""}`,{decamelize:!0}),td=(e,t)=>e?`${t?`${t}`:""}${e}.`:"",tf=(e,t)=>e?t?`${t}${e}][`:`${e}[`:"",th=e=>void 0!==en(e),tg="_tupleOriginal",tm=e=>tg in e&&!0===e[tg],ty=e=>{let t=e.match(/^\[(\d+)\]$/);return t&&void 0!==t[1]?parseInt(t[1],10):null},tb=e=>{var t;let n=e.type;if("string"===e.type&&void 0!==en(e))return"file";if(Array.isArray(n))return null!=(t=n[0])?t:"string";if(!n){if(e.oneOf&&Array.isArray(e.oneOf)){let t=e.oneOf.map(e=>eW(e)&&"typeLabel"in e?e.typeLabel:void 0).filter(e=>void 0!==e);if(t.length>0){let e=new Set(t);if(1===e.size){let t=Array.from(e)[0];if(t)return t}let n=e.size===t.length?" | ":" · ";return t.join(n)}}return"any"}switch(n){case"null":return"null";case"object":if(tm(e)){if(e.title)return`${e.title} \xb7 tuple`;return"tuple"}if(e.title)return`${e.title} \xb7 object`;return"object";case"array":if("items"in e&&e.items&&eW(e.items)){let t="typeLabel"in e.items&&"string"==typeof e.items.typeLabel?e.items.typeLabel:tb(e.items),n=t.includes(" | ")?`(${t})`:t;if("object"===t&&e.title)return`${e.title} \xb7 object[]`;return`${n}[]`}if(e.title)return`${e.title} \xb7 array`;return"array";default:if("enum"in e&&void 0!==e.enum)return`enum<${n}>`;return"format"in e&&"string"==typeof e.format?`${n}<${e.format}>`:n}},tv=e=>{if(!eW(e))return e;let t=Object.assign({},e);if(t.oneOf&&Array.isArray(t.oneOf)&&(t.oneOf=t.oneOf.map(e=>eW(e)?tv(e):e)),"object"===t.type&&t.properties){let e={};Object.entries(t.properties).forEach(([t,n])=>{eW(n)?e[t]=tv(n):e[t]=n}),t.properties=e}return t.additionalProperties&&"object"==typeof t.additionalProperties&&eW(t.additionalProperties)&&(t.additionalProperties=tv(t.additionalProperties)),"array"===t.type&&"items"in t&&eW(t.items)&&(t.items=tv(t.items)),t.typeLabel=tb(t),t};e.s(["addUniqueKeysToSchema",()=>tz,"getParamIdFromSchema",()=>tx,"getUniqueInputKey",()=>tw],939368);let tz=(e,t="")=>{if(!eW(e))return e;let n=Object.assign(Object.assign({},e),{uniqueKey:t});if(n.oneOf&&Array.isArray(n.oneOf)&&(n.oneOf=n.oneOf.map((e,n)=>eW(e)?tz(e,t?`${t}.oneOf.${n}`:`oneOf.${n}`):e)),"object"===n.type&&n.properties){let e={};Object.entries(n.properties).forEach(([n,r])=>{if(eW(r)){let o=t?`${t}.${e4(n)}`:e4(n);e[n]=tz(r,o)}else e[n]=r}),n.properties=e}if(n.additionalProperties&&"object"==typeof n.additionalProperties&&eW(n.additionalProperties)){let e=t?`${t}.additionalProperties`:"additionalProperties";n.additionalProperties=tz(n.additionalProperties,e)}if("array"===n.type&&"items"in n&&eW(n.items)){let e=t?`${t}.items`:"items";n.items=tz(n.items,e+".[INDEX]")}return n},tw=(e,t,n,r)=>{if(!t.uniqueKey)return e;{let o=t.uniqueKey;return null==n||n.forEach(e=>{o=o.replace("[INDEX]",e.toString())}),`${e?e+".":""}${o}${void 0!==r?"."+e4(r):""}`}},tx=(e,t,n,r)=>{if(!e.uniqueKey)return tu(t,n,r);let o=e.uniqueKey.replace(/\[INDEX\]/g,""),i=t?`${t}-${o}`:o;return(0,eP.default)(i,{decamelize:!0})},tE=e=>{if(!eW(e))return e;if(e.oneOf&&Array.isArray(e.oneOf)&&e.oneOf.length>0)return Object.assign(Object.assign({},e),{oneOf:e.oneOf.map(t=>e.isRequired?Object.assign(Object.assign({},t),{isRequired:!0}):t).map(e=>eW(e)?tE(e):e)});if("object"===e.type&&e.additionalProperties&&eW(e.additionalProperties)&&(e.additionalProperties=tE(e.additionalProperties)),"object"===e.type&&e.properties){let t=new Set(Array.isArray(e.required)?e.required:[]),n=Object.entries(e.properties).filter(e=>eW(e[1])).sort(([e],[n])=>{let r=t.has(e);return r===t.has(n)?0:r?-1:1}),r={};return n.forEach(([e,n])=>{let o=t.has(e)?Object.assign(Object.assign({},n),{isRequired:!0}):n,i=eW(o)?tE(o):o;r[e]=i}),Object.assign(Object.assign({},e),{properties:r})}return"array"===e.type&&eW(e.items)?Object.assign(Object.assign({},e),{items:tE(e.items)}):e},tj=e=>tv(tz(tE(e),""));e.s(["generateExamplesFromSchema",()=>tI,"getFirstExampleValue",()=>tT,"getWebhookExamples",()=>tL,"mdxCodeExampleToExamples",()=>tS],450322),e.s(["default",()=>tA],251650);var tO=e.i(8452);tO.default.domToReact,tO.default.htmlToDOM,tO.default.attributesToProps,tO.default.Comment,tO.default.Element,tO.default.ProcessingInstruction,tO.default.Text;let tA=tO.default,tS=e=>{var t,n;let r=[],o=null==(t=e.attributes)?void 0:t.some(e=>"dropdown"===e.name&&"false"!==e.value);return null==(n=e.children)||n.map(e=>{var t,n;let i=tA(null!=(t=e.html)?t:""),a="object"!=typeof i||Array.isArray(i)||"pre"!==i.type?void 0:null!=(n=i.props.language)?n:function(e,t){var n;let r=/language-(\w+)/.exec(null!=e?e:"");return r?null!=(n=r[1])?n:"text":null!=t?t:"text"}(i.props.className,e.filename);r.push({dropdown:o,language:a,code:i,filename:e.filename})}),r},tI=(e,t="request")=>{let n="generated";return Object.entries(e).forEach(([r,o])=>{let i={};o.examples&&Object.keys(o.examples).length>0?(Object.entries(o.examples).forEach(([e,t])=>{"$ref"in t||(i[e]={title:e,description:t.description,value:t.value})}),e[r]&&(e[r].examples=i),n="examples"):o.example?(i.Example={title:"Example",value:o.example},e[r]&&(e[r].examples=i),n="examples"):eW(o.schema)&&(i.Example=t_(o.schema,t),e[r]&&(e[r].examples=i),n="generated")}),{content:e,exampleType:n}},t_=(e,t="request")=>{var n,r;let o={title:"Example",value:void 0};if(void 0!==e.example)return o.value=e.example,o;if("examples"in e&&(null==(n=e.examples)?void 0:n[0])!==void 0)return o.value=e.examples[0],o;if(void 0!==e.default)return o.value=e.default,o;if("const"in e&&void 0!==e.const)return o.value=e.const,o;if(e.enum)return("response"===t||1===e.enum.length)&&(o.value=e.enum[0]),o;if(e.oneOf&&Array.isArray(e.oneOf)&&e.oneOf.length>0){let n=e.oneOf.find(e=>eW(e)&&"null"!==e.type),r=null!=n?n:e.oneOf[0];if(eW(r))return t_(r,t)}switch(e.type){case"string":return o.value=tP(e),o;case"boolean":return o.value=!0,o;case"number":case"integer":return o.value=tk(e),o;case"object":let i=Object.fromEntries(Object.entries(null!=(r=e.properties)?r:{}).filter(([,e])=>{var n;return!("request"===t&&eW(e))||"isRequired"in e&&!!e.isRequired||void 0!==e.default||void 0!==e.example||"examples"in e&&(null==(n=e.examples)?void 0:n[0])!==void 0||!("object"===e.type&&Array.isArray(e.required)&&e.required.length>0)}).map(([e,n])=>eW(n)?[e,t_(n,t).value]:[e,""]).filter(([,t])=>tm(e)||void 0!==t));return o.value=tm(e)?(e=>{let t=[];for(let[n,r]of Object.entries(e)){let e=ty(n);null!==e&&t.push({index:e,value:r})}return t.sort((e,t)=>e.index-t.index),t.map(e=>e.value)})(i):i,o;case"array":if(eW(e.items)){let n=t_(e.items,t).value;o.value=void 0!==n?[n]:[]}else o.value="";return o;case"null":return o.value=null,o;default:return o.value="",o}},tk=e=>{let t="integer"===e.type?Math.floor:e=>e;return void 0!==e.minimum&&void 0!==e.maximum?t((e.minimum+e.maximum)/2):void 0!==e.minimum?t(e.minimum+1):void 0!==e.maximum?123{var t;switch(null==(t=e.format)?void 0:t.toLowerCase()){case"byte":case"base64":return"aSDinaTvuI8gbWludGxpZnk=";case"date":return"2023-12-25";case"date-time":return"2023-11-07T05:31:56Z";case"email":return"jsmith@example.com";case"uuid":return"3c90c3cc-0d44-4b50-8888-8dd25736052a";case"ipv4":return"127.0.0.1";case"ipv6":return"2606:4700:3108::ac42:2835";default:return""}},tT=(e,t)=>{var n;let r=Object.keys(e)[t];if(r){let t=e[r],o=Object.values(null!=(n=null==t?void 0:t.examples)?n:{})[0];if(o&&"value"in o)return o.value}},tL=(e,t)=>{var n,r,o;let i=[];if(null==(r=null==(n=e.dependencies)?void 0:n.requestBody)?void 0:r.content){let n=Object.keys(e.dependencies.requestBody.content)[t],r=void 0!==n?e.dependencies.requestBody.content[n]:void 0,a=Object.entries(null!=(o=null==r?void 0:r.examples)?o:{});if(0===a.length){let n=tT(e.dependencies.requestBody.content,t);n&&i.push({language:"json",filename:"Example Request Body",code:JSON.stringify(n,null,2)})}else for(let[e,t]of a)"value"in t&&void 0!==t.value&&i.push({language:"json",filename:e,code:JSON.stringify(t.value,null,2)})}return i},tC=["apiKey","http","oauth2"];var tR=e.i(271944);let tM=e=>"x-mint"in e&&e["x-mint"]&&"object"==typeof e["x-mint"]&&"groups"in e["x-mint"]&&Array.isArray(e["x-mint"].groups),tN=e=>"x-mint"in e&&e["x-mint"]&&"object"==typeof e["x-mint"]&&"groups"in e["x-mint"]&&Array.isArray(e["x-mint"].groups)?e["x-mint"].groups:[],tU=(e,t)=>{var n;let r=Object.assign({},e);if(r.properties&&"object"==typeof r.properties){let e={};for(let[n,o]of Object.entries(r.properties))if(eW(o))if(tM(o)){if(tN(o).some(e=>t.includes(e))){let r=tU(o,t);r&&(e[n]=r)}}else{let r=tU(o,t);r&&(e[n]=r)}else e[n]=o;r.properties=e}if("items"in r&&r.items&&"object"==typeof r.items&&eW(r.items))if(tM(r.items))if(tN(r.items).some(e=>t.includes(e))){let e=tU(r.items,t);e?r.items=e:delete r.items}else delete r.items;else{let e=tU(r.items,t);e?r.items=e:delete r.items}if("oneOf"in r&&r.oneOf&&Array.isArray(r.oneOf)){let e=[];r.oneOf.forEach(n=>{if(eW(n))if(tM(n)){if(tN(n).some(e=>t.includes(e))){let r=tU(n,t);r&&e.push(r)}}else{let r=tU(n,t);r&&e.push(r)}}),r.oneOf=e}if(r.additionalProperties&&"object"==typeof r.additionalProperties&&eW(r.additionalProperties)){let e=tU(r.additionalProperties,t);e?r.additionalProperties=e:delete r.additionalProperties}if(tM(r))return tN(r).some(e=>t.includes(e))?r:void 0;if("x-mint-enum"in r&&r.enum){let e=r.enum,o=[];Object.entries(null!=(n=r["x-mint-enum"])?n:{}).forEach(([e,n])=>{Array.isArray(n)&&n.some(e=>t.includes(e))||o.push(e)}),r.enum=e.filter(e=>!o.includes(e))}return r.typeLabel=tb(r),r},tD=(0,v.createContext)({openApiReferenceData:{}});function tB({pageMetadata:e,docsConfig:t,mdxExtracts:n,openApiReferenceData:o,userInfo:i,isFetchingUserInfo:a,children:s}){let l=(0,v.useMemo)(()=>{let r=(({pageMetadata:e,openApiReferenceData:t,mdxExtracts:n,docsConfig:r})=>{var o,i,a,s,l,c,p,u,d,f,h,g,m,y,b,v,z,w,x,E,j,O,A,S,I,_,k;let P=null!=t?t:{operation:void 0};if(!t&&(null==n?void 0:n.endpoint)){let{dependencies:e,parameterUuids:t,requestBodyUuid:r,responseUuids:o}=(e=>{let t,n,r={},o=[];["query","header","cookie","path"].forEach(t=>{Object.entries(e.request.parameters[t]).forEach(([e,n])=>{let i=(0,Z.v4)();o.push(i);let a="path"===t||!!n.schema[0].required,s=Q(n.schema),l=n.schema[0].description,c=tj(Object.assign(Object.assign({},s),{isRequired:a}));r[i]=Object.assign(Object.assign(Object.assign(Object.assign({name:e,in:t,required:a},l&&{description:l}),{schema:c}),n.style&&{style:n.style}),void 0!==n.explode&&{explode:n.explode})})});let i=Object.keys(e.request.body);if(i.length>0){n=(0,Z.v4)();let r={};i.forEach(t=>{let n=e.request.body[t];if(!n)return;let o={schema:tj(Q(n.schemaArray))};if(n.description&&(o.description=n.description),Object.keys(n.examples).length>0){let e={};Object.entries(n.examples).forEach(([t,n])=>{e[t]=Object.assign(Object.assign(Object.assign({},n.summary&&{summary:n.summary}),n.description&&{description:n.description}),{value:n.value})}),o.examples=e}r[t]=o}),t={content:r,required:!0}}let a={},s={};return Object.entries(e.response).forEach(([e,t])=>{let n=(0,Z.v4)();s[e]=n;let r={};Object.entries(t).forEach(([e,t])=>{if(!t)return;let n={schema:tj(Q(t.schemaArray))};if(t.description&&(n.description=t.description),Object.keys(t.examples).length>0){let e={};Object.entries(t.examples).forEach(([t,n])=>{e[t]=Object.assign(Object.assign(Object.assign({},n.summary&&{summary:n.summary}),n.description&&{description:n.description}),{value:n.value})}),n.examples=e}r[e]=n}),a[n]={description:`Response ${e}`,content:r}}),{dependencies:{parameters:Object.keys(r).length>0?r:void 0,requestBody:t,responses:Object.keys(a).length>0?a:void 0,servers:{},security:{},processedSecurityOptions:[],schemas:{}},parameterUuids:o,requestBodyUuid:n,responseUuids:s}})(n.endpoint);P.dependencies=e,P.operation=((e,t)=>{var n,r,o,i,a;let s=null!=(r=null==(n=e.servers)?void 0:n.map(e=>e.url))?r:[],l={path:e.path,method:e.method,title:null!=(o=e.title)?o:"",description:null!=(i=e.description)?i:"",type:null!=(a=e.type)?a:"path",baseUrlOptions:s,deprecated:e.deprecated};return(null==t?void 0:t.parameterUuids)&&t.parameterUuids.length>0&&(l.parameters=t.parameterUuids),(null==t?void 0:t.requestBodyUuid)&&(l.requestBody=t.requestBodyUuid),(null==t?void 0:t.responseUuids)&&Object.keys(t.responseUuids).length>0&&(l.responses=t.responseUuids),l})(n.endpoint,{parameterUuids:t,requestBodyUuid:r,responseUuids:o})}if(e.description&&P.operation&&(P.operation.description=e.description),!P.operation)return P;let T=null==(i=null==(o=null==r?void 0:r.api)?void 0:o.mdx)?void 0:i.server,L=null==(s=null==(a=null==r?void 0:r.api)?void 0:a.mdx)?void 0:s.auth,C=P.operation.baseUrlOptions.length>0;"string"!=typeof T||C?Array.isArray(T)&&T.length>0&&!C&&(P.operation.baseUrlOptions=T):P.operation.baseUrlOptions=[T];let R=Object.values(null!=(c=null==(l=P.dependencies)?void 0:l.parameters)?c:{}).some(e=>"Authorization"===e.name&&"header"===e.in);if(L&&0===Object.keys(null!=(u=null==(p=P.dependencies)?void 0:p.security)?u:{}).length){let e=(({method:e,name:t})=>{let n,r=(0,Z.v4)();switch(e){case"basic":n={[r]:{Authorization:{type:"http",scheme:"basic",description:"Basic authentication header of the form `Basic `, where `` is the base64-encoded string `username:password`."}}};break;case"bearer":n={[r]:{Authorization:{type:"http",scheme:"bearer",description:"Bearer authentication header of the form `Bearer `, where `` is your auth token."}}};break;case"cobo":n={[r]:{CoboAuth:{type:"apiKey",in:"header",name:"API-SECRET"}}};break;case"key":n={[r]:{Key:{name:null!=t?t:"Key",type:"apiKey",in:"header"}}}}return n})({method:L.method,name:L.name});e&&!R&&(P.dependencies||(P.dependencies={servers:{},security:{}}),P.dependencies.security=Object.assign({},e))}let M=null==(d=null==n?void 0:n.codeExamples)?void 0:d.request,N=null==(f=null==n?void 0:n.codeExamples)?void 0:f.response,U=null==(m=null==(g=null==(h=null==r?void 0:r.api)?void 0:h.examples)?void 0:g.languages)?void 0:m.map(X);P.operation.requestExampleLanguages=U;let D=(null==(b=null==(y=null==r?void 0:r.api)?void 0:y.examples)?void 0:b.defaults)==="required";P.operation.requiredOnlyExamples=D;let B=(null==(z=null==(v=null==r?void 0:r.api)?void 0:v.examples)?void 0:z.autogenerate)!==!1;B||(P.operation.disableCodeSampleGeneration=!0),M?(P.operation.requestExamples=tS(M),P.operation.requestExampleType="mdx"):"webhook"===P.operation.type?(P.operation.requestExamples=tL(P,0),P.operation.requestExampleType="webhook"):P.operation.codeSamples&&P.operation.codeSamples.length>0?P.operation.requestExampleType="codeSamples":B&&(P.operation.requestExampleType="generated"),N?(P.operation.responseExamples=tS(N),P.operation.responseExampleType="mdx"):P.operation.responseExampleType="generated";let q=P.operation.baseUrlOptions.length>0,V=(null==(x=null==(w=null==r?void 0:r.api)?void 0:w.examples)?void 0:x.prefill)&&q;V&&(P.operation.prefillPlaygroundWithExample=!!V,P.operation.prefillPlaygroundExamples=e0(P)),(null==(O=null==(j=null==(E=null==r?void 0:r.api)?void 0:E.mdx)?void 0:j.auth)?void 0:O.method)==="cobo"&&(P.operation.isCobo=!0),(null==(S=null==(A=null==r?void 0:r.api)?void 0:A.playground)?void 0:S.proxy)===!1&&(P.operation.disableProxy=!0),(null==(_=null==(I=null==r?void 0:r.api)?void 0:I.playground)?void 0:_.credentials)===!0&&(P.operation.withCredentials=!0);let W=null==(k=null==r?void 0:r.api)?void 0:k.url;return W&&(P.operation.urlDisplay=W),P})({openApiReferenceData:o,mdxExtracts:n,docsConfig:t,pageMetadata:e}),a=(e=>{var t,n;let r=null!=(n=null==(t=e.dependencies)?void 0:t.security)?n:{};if(0===Object.keys(r).length)return[];let o=[];return Object.entries(r).forEach(([e,t])=>{let n=[];if(Object.entries(t).forEach(([e,t])=>{if(tC.includes(t.type)){let r=ts(t),o=(e=>{var t,n,r;switch(e.type){case"apiKey":return{title:e.name,type:"string",description:e.description,isRequired:!0,default:e["x-default"],typeLabel:"string"};case"http":return"basic"===e.scheme?{title:"Basic Auth",type:"object",description:null!=(t=e.description)?t:"Basic authentication header of the form `Basic `, where `` is the base64-encoded string `username:password`.",isRequired:!0,properties:{username:{type:"string",uniqueKey:"username",isRequired:!0,typeLabel:"string"},password:{type:"string",uniqueKey:"password",isRequired:!0,typeLabel:"string"}},additionalProperties:!1,default:e["x-default"]}:{title:"Bearer Auth",type:"string",isRequired:!0,description:null!=(n=e.description)?n:"Bearer authentication header of the form `Bearer `, where `` is your auth token.",format:"bearer",default:e["x-default"],typeLabel:"string"};case"oauth2":return{title:"OAuth2 Auth",type:"string",isRequired:!0,description:null!=(r=e.description)?r:"The access token received from the authorization server in the OAuth 2.0 flow.",format:"bearer",typeLabel:"string"};default:return}})(t);o&&n.push({scheme:t,schema:o,schemeName:e,name:r})}}),n.length>0){let e=n.map(e=>e.schemeName).join(" & ");o.push({schemes:n,title:e})}}),o})(r);return a.length>0&&(r.dependencies||(r.dependencies={servers:{},security:{},processedSecurityOptions:[]}),r.dependencies.processedSecurityOptions=a),(null==i?void 0:i.apiPlaygroundInputs)&&r.operation&&(r.operation.userInfoPlaygroundInputs=i.apiPlaygroundInputs),r},[o,n,t,e,i]),c=(0,v.useMemo)(()=>{var e;let t=a?[]:null!=(e=null==i?void 0:i.groups)?e:[];if(l.schemaData){let e=((e,t)=>{let n=tU((0,tR.default)(e),t);return n||e})(l.schemaData,t);return Object.assign(Object.assign({},l),{schemaData:e})}return(({apiReferenceData:e,groups:t})=>{var n,r;let{dependencies:o}=e;if(!o)return e;let i=(0,tR.default)(o);if(i.parameters&&Object.keys(i.parameters).length>0&&Object.entries(i.parameters).forEach(([e,n])=>{if(n.schema&&"object"==typeof n.schema&&eW(n.schema)){let e=tU(n.schema,t);e&&(n.schema=e)}}),i.requestBody&&Object.keys(i.requestBody.content).length>0&&Object.entries(i.requestBody.content).forEach(([e,n])=>{if(n.schema){let r=tU(n.schema,t);r&&(n.schema=r,i.requestBody&&(i.requestBody.content[e]=n))}}),i.responses&&Object.keys(i.responses).length>0&&Object.entries(i.responses).forEach(([e,n])=>{n.content&&Object.entries(n.content).forEach(([e,r])=>{if(r.schema){let o=tU(r.schema,t);o&&(r.schema=o,n.content&&(n.content[e]=r))}})}),i.callbacks&&i.callbacks.length>0&&(i.callbacks=i.callbacks.map(e=>{let n=e.resolved.dependencies;return n.requestBody&&Object.keys(n.requestBody.content).length>0&&Object.entries(n.requestBody.content).forEach(([e,r])=>{if(r.schema){let o=tU(r.schema,t);o&&(r.schema=o,n.requestBody&&(n.requestBody.content[e]=r))}}),n.responses&&Object.keys(n.responses).length>0&&Object.entries(n.responses).forEach(([e,n])=>{n.content&&Object.entries(n.content).forEach(([e,r])=>{if(r.schema){let o=tU(r.schema,t);o&&(r.schema=o,n.content&&(n.content[e]=r))}})}),e})),(null==(n=i.requestBody)?void 0:n.exampleType)==="generated"&&(null==(r=i.requestBody)?void 0:r.content)){Object.values(i.requestBody.content).forEach(e=>{delete e.examples,delete e.example});let{content:e,exampleType:t}=tI(i.requestBody.content);i.requestBody.content=e,i.requestBody.exampleType=t}return i.responses&&Object.values(i.responses).forEach(e=>{if("generated"===e.exampleType&&e.content){Object.values(e.content).forEach(e=>{delete e.examples,delete e.example});let{content:t,exampleType:n}=tI(e.content,"response");e.content=t,e.exampleType=n}}),Object.assign(Object.assign({},e),{dependencies:i})})({apiReferenceData:l,groups:t})},[l,i,a]),p=(0,v.useMemo)(()=>({openApiReferenceData:c}),[c]);return(0,r.jsx)(tD.Provider,{value:p,children:s})}let tq=(0,v.createContext)({pageMetadata:{}}),tV=(0,v.createContext)({}),tW=(0,v.createContext)({}),tF=(0,v.createContext)({}),t$=(0,v.createContext)({apiReferenceData:{}});function tG({value:e,children:t}){return(0,r.jsx)(tV.Provider,{value:e,children:t})}function tH(e,t,n){if(!e||0===t.size)return e;let r=e=>{if(null==e)return e;if(Array.isArray(e))return e.map(r);if("object"!=typeof e)return e;let o=Object.assign({},e);if("href"in o&&"string"==typeof o.href){let e,r=(e=o.href,t.get(e)??t.get((0,V.normalizeLivePreviewPath)(e,n)));if(r){let e=r.sidebarTitle,t="string"==typeof e&&e.length>0?e:r.title;Object.assign(o,r,{href:o.href,..."string"==typeof t&&t.length>0?{title:t}:{}})}}for(let e of[...L.divisions,"groups","pages"])e in o&&Array.isArray(o[e])&&(o[e]=o[e].map(r));return o};return r(e)}function tK({value:e,children:t}){let{basePath:n="",isLivePreview:s,livePreviewUpdateId:c,getDocsConfigOverrides:p,getNavigationOverride:u,liveMetadata:d}=(0,v.useContext)(a.LivePreviewContext),f=s||o.IS_DEV||l.NEXT_PUBLIC.ENABLE_DOCS_CONFIG_OVERRIDES,h=(0,v.useMemo)(()=>{let t,r,o;if(!f)return e;if(s)t=p(),r=u();else try{let e=(0,W.getItem)(i.DOCS_CONFIG_OVERRIDES_SESSION_STORAGE_KEY);if(e)try{t=JSON.parse(e)}catch{}}catch{}return(o=r?tH(r,d,n):t?.navigation&&(!s||e.hasFullNav)?function(e,t,n){let r=function(e){let t=new Map,n=new Map;if(!e)return{pageMetadata:t,groupPages:n};let r=(e,o)=>{if(null==e)return;if(Array.isArray(e))return void e.forEach(e=>r(e,o));if(!C(e))return;if("href"in e&&"string"==typeof e.href){let{href:n,...r}=e;t.set(n,r)}if("group"in e&&"string"==typeof e.group){let t=M(e.group,o);"pages"in e&&Array.isArray(e.pages)&&n.set(t,e.pages)}let i=N(e,o);for(let t of[...L.divisions,"groups","pages"]){let n=e[t];t in e&&Array.isArray(n)&&n.forEach(e=>r(e,i))}"root"in e&&e.root&&"object"==typeof e.root&&r(e.root,i)};return r(e,{}),{pageMetadata:t,groupPages:n}}(t),o={};"global"in e&&e.global&&(o.global=e.global);let i=[...L.divisions,"groups","pages"],a={};for(let t of i)if(t in e){let i=e[t];Array.isArray(i)&&("pages"===t?o[t]=D(i,r,n,a):"groups"===t?o[t]=q(i,r,n,a):o[t]=function e(t,n,r,o){return t.map(t=>{if(!C(t))return t;let i={...t},a=N(i,o);for(let t of("pages"in i&&Array.isArray(i.pages)&&(i.pages=D(i.pages,n,r,a)),"groups"in i&&Array.isArray(i.groups)&&(i.groups=q(i.groups,n,r,a)),L.divisions)){let o=i[t];t in i&&Array.isArray(o)&&(i[t]=e(o,n,r,a))}return i})}(i,r,n,a))}return o}(t.navigation,e.docsNavWithMetadata,d):tH(e.docsNavWithMetadata,d,n),t||o)?{...e,docsConfig:t?$({...e.docsConfig,...t}):e.docsConfig,docsNavWithMetadata:o??e.docsNavWithMetadata}:e},[f,n,s,c,e,p,u,d]);return(0,r.jsx)(tW.Provider,{value:h,children:t})}function tY({value:e,children:t}){let{userInfo:n,isFetchingUserInfo:o}=T(e.userAuth);return(0,r.jsx)(tF.Provider,{value:{...e,userInfo:n,isFetchingUserInfo:o},children:t})}function tX({value:e,children:t}){return(0,r.jsx)(t$.Provider,{value:e,children:t})}function tJ({pageMetadata:e,docsConfig:t,mdxExtracts:n,openApiReferenceData:o,children:i}){let a=(0,s.useEffectivePageMetadata)(e),{docsConfig:l}=(0,v.useContext)(tW),{userInfo:c,isFetchingUserInfo:p}=(0,v.useContext)(tF);return(0,r.jsx)(tB,{pageMetadata:a,docsConfig:l??t,mdxExtracts:n,openApiReferenceData:o,userInfo:c,isFetchingUserInfo:p,children:i})}tq.displayName="PageContext",tV.displayName="DeploymentMetadataContext",tW.displayName="DocsConfigContext",tF.displayName="AuthContext",t$.displayName="ApiReferenceContext"}]);