@mintlify/cli 4.1.8 → 4.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/start.js +1 -1
- package/package.json +11 -11
package/dist/start.js
CHANGED
|
@@ -15,7 +15,7 @@ import{a as e,i as t,n,o as r,r as i,t as a}from"./rolldown-runtime-CEAe2Uac.js"
|
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
17
|
*/
|
|
18
|
-
var Ir=/* @__PURE__ */ a((e=>{var t=Symbol.for(`react.transitional.element`);function n(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.jsx=n,e.jsxs=n})),z=(/* @__PURE__ */ a(((e,t)=>{t.exports=Ir()})))();Ot.fileURLToPath(new URL(`.`,import.meta.url));const Lr=mt.homedir(),Rr=gt.join(Lr,`.mintlify`);let zr,Br,Vr,Hr,Ur,Wr,Gr,Kr,qr,Jr,Yr,Xr,Zr=`next`;const Qr=(e,t=`next`)=>{Zr=t,zr=gt.join(Rr,`previews`,t===`vite`?`${e}-beta`:e),Br=`${zr}-last`,Vr=gt.join(zr,`mint`),Hr=gt.join(Vr,`mint-version.txt`),Ur=gt.join(Vr,`apps`,t===`vite`?`client-vite`:`client`),Wr=t===`vite`?gt.join(Ur,`.mint-cli`):Ur;let n=gt.join(Vr,`node_modules`,`next`,`dist`,`server`);Gr=gt.join(n,`next.js`),Kr=gt.join(n,`lib`,`router-server.js`),qr=gt.join(Ur,`.next`,`required-server-files.json`),Jr=gt.join(Wr,`public`),Yr=gt.join(Wr,`src`,`_props`),Xr=gt.join(zr,`mint.tar.gz`)},$r=(e=3e3,t=`next`)=>{let n=Number(e);if(!Number.isInteger(n)||n<1||n>65535)throw Error(`invalid preview port: ${e}`);Qr(String(n),t)},ei=(e=`next`)=>{Qr(`shared`,e)};ei();const ti=`https://releases.mintlify.com`,ni=`${ti}/mint-version.txt`,ri=`${ti}/mint-version-map.json`,ii=process.cwd(),ai=`linked to local package`,oi=[`all`,`topLevel`,`topLevelOneOfs`,`none`],si=[`bash`,`python`,`javascript`,`php`,`go`,`java`,`ruby`],ci=[`auto`,`dark`],li=[`woff`,`woff2`],ui=[`x`,`website`,`facebook`,`youtube`,`discord`,`slack`,`github`,`linkedin`,`instagram`,`hacker-news`,`medium`,`telegram`,`twitter`,`x-twitter`,`earth-americas`,`bluesky`,`threads`,`reddit`,`podcast`],di=/* @__PURE__ */ `419.AD.AE.AF.AG.AI.AL.AM.AO.AQ.AR.AS.AT.AU.AW.AX.AZ.BA.BB.BD.BE.BF.BG.BH.BI.BJ.BL.BM.BN.BO.BQ.BR.BS.BT.BV.BW.BY.BZ.CA.CC.CD.CF.CG.CH.CI.CK.CL.CM.CN.CO.CR.CU.CV.CW.CX.CY.CZ.DE.DJ.DK.DM.DO.DZ.EC.EE.EG.EH.ER.ES.ET.FI.FJ.FK.FM.FO.FR.GA.GB.GD.GE.GF.GG.GH.GI.GL.GM.GN.GP.GQ.GR.GS.GT.GU.GW.GY.HK.HM.HN.HR.HT.HU.ID.IE.IL.IM.IN.IO.IQ.IR.IS.IT.JE.JM.JO.JP.KE.KG.KH.KI.KM.KN.KP.KR.KW.KY.KZ.LA.LB.LC.LI.LK.LR.LS.LT.LU.LV.LY.MA.MC.MD.ME.MF.MG.MH.MK.ML.MM.MN.MO.MP.MQ.MR.MS.MT.MU.MV.MW.MX.MY.MZ.NA.NC.NE.NF.NG.NI.NL.NO.NP.NR.NU.NZ.OM.PA.PE.PF.PG.PH.PK.PL.PM.PN.PR.PS.PT.PW.PY.QA.RE.RO.RS.RU.RW.SA.SB.SC.SD.SE.SG.SH.SI.SJ.SK.SL.SM.SN.SO.SR.SS.ST.SV.SX.SY.SZ.TC.TD.TF.TG.TH.TJ.TK.TL.TM.TN.TO.TR.TT.TV.TW.TZ.UA.UG.UM.US.UY.UZ.VA.VC.VE.VG.VI.VN.VU.WF.WS.YE.YT.ZA.ZM.ZW`.split(`.`),fi=/* @__PURE__ */ `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`.split(`.`),pi={en:`English`,cn:`Chinese`,zh:`Chinese`,"zh-Hans":`Simplified Chinese`,"zh-Hant":`Traditional Chinese`,"zh-CN":`Simplified Chinese`,"zh-TW":`Traditional Chinese`,es:`Spanish`,fr:`French`,"fr-CA":`Canadian French`,"fr-ca":`Canadian French`,ja:`Japanese`,jp:`Japanese`,"ja-jp":`Japanese`,"ja-JP":`Japanese`,pt:`Portuguese`,"pt-BR":`Brazilian Portuguese`,de:`German`,ko:`Korean`,it:`Italian`,ru:`Russian`,ro:`Romanian`,cs:`Czech`,id:`Indonesian`,ar:`Arabic`,tr:`Turkish`,hi:`Hindi`,sv:`Swedish`,no:`Norwegian`,da:`Danish`,lv:`Latvian`,nl:`Dutch`,uk:`Ukrainian`,vi:`Vietnamese`,pl:`Polish`,uz:`Uzbek`,he:`Hebrew`,ca:`Catalan`,fi:`Finnish`,hu:`Hungarian`},mi={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:`🇭🇺`},hi=/* @__PURE__ */ `en.zh.es.fr.ja.pt.de.ko.it.ru.ro.cs.id.ar.tr.hi.sv.no.da.lv.nl.uk.vi.pl.uz.he.ca.fi.hu`.split(`.`),gi=new Set(fi),_i=new Set(hi),vi=new Set(di),yi=e=>gi.has(e),bi=e=>_i.has(e),xi=e=>{let[t,n,...r]=e.split(`-`),i=n?.toUpperCase();return t&&bi(t)&&i&&vi.has(i)&&!r.length?`${t}-${i}`:yi(e)?e:void 0};[...fi],Object.values(pi),Object.values(mi);const Si=[`venus`,`quill`,`prism`],Ci=[`typedoc`,`docfx`,`javadoc`,`sphinx`,`phpdoc`,`go`],wi=[`package`,`class`,`interface`,`enum`,`function`,`type`,`variable`,`method`,`property`],Ti=[`topnav`,`sidenav`,`solidSidenav`],Ei=[`default`,`sharp`],Di=F({launchUrl:M().url(`Must be a valid URL`)}),Oi=F({apiKey:M()}),ki=F({publicApiKey:M()}),Ai=F({siteId:M()}),ji=F({measurementId:M().startsWith(`G`,`Must start with G`)}),Mi=F({tagId:M().startsWith(`G`,`Must start with G`)}),Ni=F({hjid:M(),hjsv:M()}),Pi=F({publicApiKey:M().min(2)}),Fi=F({appId:M()}),Ii=F({projectToken:M(),region:x([`us`,`eu`,`in`]).optional()}),Li=F({id:M()}),Ri=F({apiKey:M().startsWith(`phc_`,`Must start with phc_`),apiHost:M().url(`Must be a valid URL`).optional(),sessionRecording:C().optional()}),zi=F({domain:M().refine(e=>!e.startsWith(`https://`),`Must not start with https://`),server:M().refine(e=>!e.startsWith(`https://`),`Must not start with https://`).optional()}),Bi=F({appId:M()}),Vi=F({writeKey:M(),apiHost:M().optional()}),Hi=F({projectId:M()}),Ui=F({key:M(),cdnUrl:M().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()}),Wi=F({adobe:Di.optional(),amplitude:Oi.optional(),clarity:Hi.optional(),clearbit:ki.optional(),fathom:Ai.optional(),ga4:ji.optional(),gtm:Mi.optional(),heap:Bi.optional(),hightouch:Vi.optional(),hotjar:Ni.optional(),koala:Pi.optional(),logrocket:Fi.optional(),mixpanel:Ii.optional(),pirsch:Li.optional(),posthog:Ri.optional(),plausible:zi.optional(),segment:Ui.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.`),Gi=M().regex(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,`Must be a hex color string, with a leading #`),Ki=F({from:Gi,via:Gi.optional(),to:Gi}),qi=s([Gi,Ki.strict()]),Ji=M().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(),Yi=F({name:M().trim().nonempty(),url:M().trim().nonempty(),icon:M({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:x(ee).optional(),color:qi.optional(),isDefaultHidden:C().optional(),version:M({invalid_type_error:`Version must be a string in the #.versions array`}).optional(),openapi:Ji}),Xi=F({name:M(),icon:M().optional(),iconType:x(ee).optional()}).strict(),Zi=e=>{if(!e||typeof e!=`string`)return!1;try{return URL.canParse(e)}catch{return!1}},Qi=M().trim().nonempty().transform((e,t)=>{if(Zi(e)){try{let n=new URL(e);if(n.protocol!==`https:`&&n.protocol!==`http:`)return t.addIssue({code:Fe.custom,message:`Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}return T(e)}),$i=s([Qi,he(Qi)]).describe(`A string or an array of strings of absolute or relative urls pointing to your OpenAPI files`),ea=F({baseUrl:s([M().url(),he(M().url())]).optional(),auth:F({method:x([`bearer`,`basic`,`key`,`cobo`]).optional(),name:M().optional(),inputPrefix:M().optional()}).strict().optional(),playground:F({mode:x([`show`,`simple`,`hide`]).optional().default(`show`),disableProxy:C().optional()}).optional(),request:F({example:F({showOptionalParams:C().optional(),languages:he(s([x(si),M()])).optional()}).optional()}).optional(),maintainOrder:C().optional(),paramFields:F({expanded:x(oi).optional(),post:he(M()).optional()}).optional()}).strict(),ta=F({style:x([`gradient`,`grid`,`windows`]).optional()}),na=M().trim().nonempty(),ra=s([M().min(3,`Must be a path to your logo file including the file extension`),F({light:M(),dark:M(),href:M().optional()})]),ia=F({default:x([`light`,`dark`]).optional(),isHidden:C().optional()}),aa=F({display:x([`section`,`breadcrumbs`]).optional()}),oa=C(),sa=Se(M(),M().nonempty()),ca=F({mode:x(ci).optional()}),la=F({thumbsRating:C().optional(),suggestEdit:C().optional(),raiseIssue:C().optional()}),ua=F({prompt:M().optional(),location:x([`side`,`top`]).optional()}),da=F({source:M(),destination:M(),permanent:C().optional()}),fa=he(da).refine(e=>{let t=e.map(e=>e.source);return new Set(t).size===t.length},`Each source path can only be used once`),pa=s([F({type:L(`link`).optional(),name:M(),url:M().nonempty(),style:x([`pill`,`roundedRectangle`]).optional(),arrow:C().optional()}).strict(),F({type:L(`github`),url:M().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" }`),ma=F({primary:Gi,light:Gi.optional(),dark:Gi.optional(),background:F({light:Gi.optional(),dark:Gi.optional()}).optional(),anchors:qi.optional(),ultraLight:d().optional(),ultraDark:d().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" } }`),ha=M().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`),ga=F({family:M().describe(`The font family, such as "Open Sans", "Playfair Display"`),weight:be().optional().describe(`The font weight, such as 400, 700. Precise font weights such as 550 are supported for variable fonts.`),url:M().url().optional().describe(`The font url, such as https://mintlify-assets.b-cdn.net/fonts/Hubot-Sans.woff2`),format:x(li).optional().describe(`The font format, can be one of woff, woff2`)}).refine(e=>!e.url||!!e.format),_a=s([ga,F({headings:ga.optional(),body:ga.optional()}).strict()]),va=F({label:M().nonempty(`Link must have a non-empty label`),url:s([M().url(`Must be a valid URL`),M().startsWith(`/`,`Must be a valid relative url starting with /`)])}),ya=F({title:M().nonempty(`Column must have a non-empty title`).optional(),links:he(va).min(1,`Column must have at least 1 link`)}),ba=s([Se(x(ui),M().url(`Must be a valid URL`)),he(F({type:x(ui),url:M().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" }`),xa=F({socials:ba.optional(),links:he(ya).min(1,`A footer must have at least 1 links column`).max(4,`A footer can have a maximum of 4 links columns`).optional()}),Sa=M().min(6,`Must be a valid Intercom app ID`),Ca=M().min(6,`Must be a valid Front chat snippet id`),wa=F({intercom:Sa.optional(),frontchat:Ca.optional()}),Ta=F({group:M().describe(`The label for this group in the navigation sidebar`),public:C().optional().describe(`Whether this group is public or not`),icon:M().optional(),iconType:x(ee).optional(),version:M().optional()}).strict().extend({pages:k(()=>he(s([Ta,M().nonempty().transform(T)])).nonempty())}),Ea=he(Ta).min(1),Da=F({indexHiddenPages:C().optional()}),Oa=F({items:x([`container`,`card`,`border`,`undecorated`]).optional()}),ka=F({name:M().trim().nonempty(),url:M().trim().nonempty(),version:M().optional(),isDefaultHidden:C().optional(),openapi:Ji}).array(),Aa=F({name:M(),isDefaultHidden:C().optional()}).strict(),ja=F({style:x([`gradient`,`default`]).optional()}),Ma=s([M(),F({name:M().nonempty(),url:M().url().nonempty().optional(),default:L(!0).optional(),locale:x(fi).optional()}).strict()]),Na=he(Ma).min(1).refine(e=>e.filter(e=>typeof e==`object`&&e.default).length<=1,`Only one version can be set as default`),Pa=F({$schema:M().url().optional().default(`https://mintlify.com/schema.json`),mintlify:M().optional(),name:na,logo:ra.optional(),theme:x(Si).optional(),layout:x(Ti).optional(),favicon:ha,openapi:$i.optional(),topbar:ja.optional(),sidebar:Oa.optional(),rounded:x(Ei).optional(),api:ea.optional(),modeToggle:ia.optional(),versions:Na.optional(),metadata:sa.optional(),codeBlock:ca.optional(),colors:ma,eyebrow:aa.optional(),topbarCtaButton:pa.optional(),topbarLinks:pa.array().optional(),navigation:Ea,primaryTab:Aa.optional(),topAnchor:Xi.optional(),anchors:Yi.array().optional(),tabs:ka.optional(),footer:xa.optional(),background:ta.optional(),backgroundImage:M().optional(),font:_a.optional(),feedback:la.optional(),analytics:Wi.optional(),integrations:wa.optional(),isWhiteLabeled:oa.optional(),search:ua.optional(),redirects:fa.optional(),seo:Da.optional(),footerSocials:ba.optional()}),Fa={mint:2},Ia=e=>be().int().min(1).max(e).describe(`The version of the theme to use, from 1 to ${e}. Defaults to 1, the original version.`),La=M().url().optional().default(`https://mintlify.com/docs.json`).describe(`The URL of the schema file`),Ra=M().trim().nonempty().transform((e,t)=>{if(Zi(e)){try{let n=new URL(e);if(n.protocol!==`https:`&&n.protocol!==`http:`)return t.addIssue({code:Fe.custom,message:`Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}return T(e)}),za=F({source:Ra,directory:M().trim().optional()}).strict(),Ba=s([Ra,he(Ra),za]).describe(`A string or an array of strings of absolute or relative urls pointing to the AsyncAPI file(s)`),Va=M().trim().nonempty().transform((e,t)=>{if(Zi(e)){try{let n=new URL(e);if(n.protocol!==`https:`&&n.protocol!==`http:`)return t.addIssue({code:Fe.custom,message:`Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}return T(e)}),Ha=F({source:Va,directory:M().trim().optional(),overlays:he(Va).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(),Ua=s([Va,he(s([Va,Ha])),Ha]).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`),Wa=e=>e==null?[]:typeof e==`string`?[{source:e}]:Array.isArray(e)?e.map(e=>typeof e==`string`?{source:e}:{source:e.source,directory:e.directory,overlays:e.overlays}):[{source:e.source,directory:e.directory,overlays:e.overlays}],Ga=F({openapi:Ua.optional(),asyncapi:Ba.optional(),params:F({expanded:x([`all`,`closed`]).optional().describe("The view mode of the API parameters. Defaults to `closed`."),post:he(M()).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`),optional:x([`static`,`expanded`,`collapsed`]).optional().describe("How optional request fields display in the API playground. `collapsed` hides them behind an expand control, `expanded` shows them with the control available, and `static` always shows them after required fields with no control. Defaults to `collapsed`."),playground:F({display:x([`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:C().optional().describe("Whether to pass API requests through a proxy server. Defaults to `true`."),credentials:C().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:F({defaults:x([`required`,`all`]).optional().describe("Whether to show only required parameters in the examples, defaults to `all`."),languages:he(M()).optional().describe(`Example languages for the autogenerated API snippets`),prefill:C().optional().describe(`Whether to prefill the API playground with the examples`),autogenerate:C().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 `<RequestExample>` components in the MDX files) will be shown.")}).optional().describe(`Configurations for the autogenerated API examples`),url:x([`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:F({auth:F({method:x([`bearer`,`basic`,`key`,`cobo`]).optional().describe(`Authentication method for the API`),name:M().optional().describe(`Authentication name for the API`)}).optional().describe(`Authentication configuration for the API`),server:s([M().url(),he(M().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`),Ka=F({default:x([`system`,`light`,`dark`]).optional().describe("The default light/dark mode. Defaults to `system`."),strict:C().optional().describe("Whether to hide the light / dark mode toggle. Defaults to `false`.")}).describe(`Light / dark mode toggle settings`),qa=M().regex(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,`Must be a hex color string, with a leading #`),Ja=F({light:qa.describe(`The color in hex format to use in light mode`).optional(),dark:qa.describe(`The color in hex format to use in dark mode`).optional()}).strict(),Ya=F({image:s([M().describe(`Path or URL pointing to the background image file, including the file extension. Used for both light and dark mode.`),F({light:M().describe(`The file for the light version of the background image used in dark mode, including the file extension.`),dark:M().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:x([`gradient`,`grid`,`windows`]).optional().describe(`The background decoration of the theme`),color:F({light:qa.describe(`The background color in light mode`).optional(),dark:qa.describe(`The background color in dark mode`).optional()}).strict().optional().describe(`The colors of the background`)}).describe(`Background color and decoration settings`),Xa=F({content:M().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:C().optional().describe(`Whether to show the dismiss button on the right side of the banner`),type:x([`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:Ja.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.`),Za=F({primary:qa.describe(`The primary color`),light:qa.optional().describe(`The light color. Used primary in dark mode.`),dark:qa.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" } }.`),Qa=M().trim().describe(`Overview of the project. Used for SEO and AEO.`),$a=F({404:F({redirect:C().optional().default(!0).describe(`Whether to redirect to the home page, if the page is not found. When false, displays a 404 page.`),title:M().optional().describe(`The title of the error page`),description:M().optional().describe(`The description of the error page. Supports MDX formatting including links, bold, italic text, and custom components.`)})}).describe(`Error pages configuration`),eo=s([M().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.`),F({light:M().describe(`The file for the light version of the favicon used in dark mode, including the file extension.`),dark:M().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.`),to=M().trim().nonempty().transform((e,t)=>{if(Zi(e)){try{let n=new URL(e);if(n.protocol!==`https:`&&n.protocol!==`http:`)return t.addIssue({code:Fe.custom,message:`Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}return T(e)}),no=F({family:M().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:be().optional().describe("The font weight. Typically `400` for regular and `700` for bold. Variable fonts support precise weights like `550`."),source:to.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:x(li).optional().describe("File format of the self-hosted font. Required when `source` is set.")}),ro=e=>!e.source||!!e.format,io={message:"`format` is required when `source` is set",path:[`format`]},ao=no.refine(ro,io),oo=s([ao,F({heading:ao.optional().describe("Font settings applied to all headings (`h1`–`h6`)."),body:ao.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."),so=[`https:`],co=[`.svg`,`.exe`,`.zip`];function lo(e){let t=e,n=t.indexOf(`#`);n!==-1&&n!==0&&(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{if(!t.startsWith(`mailto:`)){let e=t.indexOf(`?`);if(e!==-1){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}const uo=M().refine(e=>{if(e.startsWith(`/`)||e.startsWith(`#`)||e.startsWith(`mailto:`))return!0;try{return new URL(e),!0}catch{return!1}},{message:`Must be a valid URL or relative path`}).describe(`A valid path or external link`),fo=M().transform(lo).refine(e=>{if(e.startsWith(`//`))return!1;if(e.startsWith(`/`)||e.startsWith(`mailto:`)||e.startsWith(`#`))return!0;try{let t=new URL(e),n=so.includes(t.protocol),r=decodeURIComponent(t.pathname).toLowerCase(),i=!co.some(e=>r.endsWith(e));return n&&i}catch{return!1}},{message:`Must be a valid url or relative path.`}),po=[`https:`],mo=[`.svg`,`.exe`,`.zip`],ho=M().url().transform(lo).refine(e=>{try{let t=new URL(e),n=po.includes(t.protocol),r=decodeURIComponent(t.pathname).toLowerCase(),i=!mo.some(e=>r.endsWith(e));return n&&i}catch{return!1}},{message:`Must be a valid HTTPS URL.`}),go=F({label:M().nonempty(`Link must have a non-empty label`).describe(`The label of the link`),href:fo.describe(`The url of the link`)}),_o=F({header:M().nonempty(`Column must have a non-empty header`).optional().describe(`The header title of the column`),items:he(go).min(1,`Column must have at least 1 link`).describe(`The links to be displayed in the column`)}),vo=Se(x(ui),ho.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.`),yo=F({socials:vo.optional(),links:he(_o).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`),bo=F({library:x(P).describe("The icon library used for all icon properties. Defaults to `fontawesome`.")}).describe(`Icon library settings`),xo=F({launchUrl:M().url(`Must be a valid URL`)}),So=F({apiKey:M()}),Co=F({publicApiKey:M()}),wo=F({siteId:M()}),To=F({measurementId:M().startsWith(`G`,`Must start with G`)}),Eo=F({tagId:M().startsWith(`G`,`Must start with G`)}),Do=F({hjid:M(),hjsv:M()}),Oo=F({publicApiKey:M().min(2)}),ko=F({appId:M()}),Ao=F({projectToken:M(),region:x([`us`,`eu`,`in`]).optional()}),jo=F({id:M()}),Mo=F({apiKey:M().startsWith(`phc_`,`Must start with phc_`),apiHost:M().url(`Must be a valid URL`).optional(),sessionRecording:C().optional()}),No=F({domain:M().refine(e=>!e.startsWith(`https://`),`Must not start with https://`),server:M().refine(e=>!e.startsWith(`https://`),`Must not start with https://`).optional()}),Po=F({appId:M()}),Fo=F({writeKey:M(),apiHost:M().optional()}),Io=F({projectId:M()}),Lo=F({key:M(),cdnUrl:M().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{return!0}},`Must not contain query parameters or fragments`).optional()}),Ro=F({domainScript:M().min(1,`Domain script is required`),categoryId:M().min(1,`Category ID is required`).optional(),scriptSource:M().url(`Must be a valid URL`).refine(e=>e.startsWith(`https://`),`Must be an HTTPS URL`).optional()}),zo=F({bundleId:M().trim().regex(/^[a-zA-Z0-9_-]+$/,`Bundle ID must contain only letters, numbers, hyphens, or underscores`),analyticsPurpose:M().trim().min(1).max(100).optional()}),Bo=F({appId:M().min(6,`Must be a valid Intercom app ID`)}),Vo=F({snippetId:M().min(6,`Must be a valid Front chat snippet id`)}),Ho=F({enabled:C().optional()}),Uo=F({key:M().optional(),value:M().optional()}),Wo=[`.svg`,`.exe`,`.zip`];F({src:M().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!Wo.some(e=>n.endsWith(e))}catch{return!1}},`URL must not point to a disallowed file type (e.g. .svg, .exe, .zip)`),strategy:x([`beforeInteractive`,`afterInteractive`,`lazyOnload`]).optional()});const Go=F({adobe:xo.optional(),amplitude:So.optional(),clarity:Io.optional(),clearbit:Co.optional(),fathom:wo.optional(),frontchat:Vo.optional(),ga4:To.optional(),gtm:Eo.optional(),heap:Po.optional(),hightouch:Fo.optional(),hotjar:Do.optional(),intercom:Bo.optional(),koala:Oo.optional(),logrocket:ko.optional(),mixpanel:Ao.optional(),onetrust:Ro.optional(),pirsch:jo.optional(),posthog:Mo.optional(),plausible:No.optional(),segment:Lo.optional(),telemetry:Ho.optional(),cookies:Uo.optional(),transcend:zo.optional()}).strict().describe(`Configurations for official integrations`),Ko=F({drilldown:C().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`),qo=s([M().min(3,`Must be a path to your logo file including the file extension`).describe(`The logo (for both light and dark mode)`),F({light:M().describe(`The file for the light version of the logo used in dark mode, including the file extension.`),dark:M().describe(`The file for the dark version of the logo used in light mode, including the file extension.`),href:uo.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.`),Jo=F({schema:C().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([M(),he(M())]).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`),Yo=F({timestamp:C().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`),Xo=M().trim().nonempty().describe(`The name of the project`),Zo=F({icon:y.optional(),href:uo}),Qo=Zo.extend({label:M(),type:M().optional()}),$o=Zo.extend({label:M().optional(),type:L(`github`)}),es=Zo.extend({label:M().optional(),type:L(`discord`)}),ts=s([$o,es,Qo]),ns=F({type:L(`button`),label:M(),href:uo}),rs=F({type:L(`github`),label:M().optional(),href:uo}),is=F({type:L(`discord`),label:M().optional(),href:uo}),as=_e(`type`,[ns,rs,is]),os=F({links:he(ts).optional().describe(`The links in the navbar`),primary:as.optional().describe(`The primary CTA in the navbar`)}).describe(`Navbar content and settings`),ss=M().trim().nonempty().transform((e,t)=>{if(!Zi(e))return T(e);try{if(new URL(e).protocol!==`https:`)return t.addIssue({code:Fe.custom,message:`Must be a local path or a valid HTTPS URL.`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}),cs=F({source:ss,directory:M().trim().nonempty().transform(T).optional()}).strict(),ls=s([ss,cs]).describe(`A local path or HTTPS URL pointing to a GraphQL SDL schema`),us=D().optional(),ds=M().trim().nonempty().refine(e=>!Zi(e),{message:`Must be a local path to an MCP definition JSON file.`}).transform(T),fs=F({source:ds,directory:M().trim().nonempty().transform(T).optional()}).strict(),ps=s([ds,fs]).describe(`A local path to an MCP definition JSON file with tools and resources`),ms=D().optional(),hs=x(Ci).describe(`The documentation generator that produced the artifact`),gs=M().trim().nonempty().transform((e,t)=>{if(!Zi(e))return T(e);try{if(new URL(e).protocol!==`https:`)return t.addIssue({code:Fe.custom,message:`Must be a local path or a valid HTTPS URL.`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}).describe(`Relative path or HTTPS URL of the generator artifact; directory-shaped formats accept a zip (or javadoc jar) when remote`),_s=F({format:hs,source:gs,directory:M().trim().nonempty().transform(T).optional()}).strict().describe(`Generate SDK reference pages from a documentation generator artifact`),vs=D().optional(),ys=C().describe(`Whether the current option is default hidden`),bs=[`anchors`,`dropdowns`,`languages`,`tabs`,`versions`,`menu`,`products`],xs=[`tab`,`dropdown`,`anchor`,`language`,`product`,`version`,`item`],Ss={anchors:`anchor`,dropdowns:`dropdown`,languages:`language`,tabs:`tab`,versions:`version`,menu:`item`,products:`product`};var Cs;(function(e){e.Light=`light`,e.Dark=`dark`})(Cs||={});const ws=no.pick({family:!0}).extend({source:no.shape.source.describe("URL or path to a self-hosted font file. Example: `/fonts/custom.woff` or `https://cdn.example.com/font.woff`."),format:x([`woff`,`ttf`,`otf`]).optional().describe("File format of the self-hosted font. Required when `source` is set. Thumbnails support `woff`, `ttf` and `otf`, but not `woff2`.")}).refine(ro,io).describe("The font for thumbnail titles and descriptions. With a `preset`, the eyebrow stays in a monospace font."),Ts=F({source:x([`group`,...xs,`none`]).optional().describe("The navigation level whose name is shown above the title. `none` hides it. Defaults to `group`."),style:x([`plain`,`bar`,`pill`]).optional().describe(`How the eyebrow is drawn. Defaults to the style of the preset.`),color:qa.optional().describe(`The eyebrow color. Defaults to the primary color.`)}).describe(`The label shown above the page title.`),Es=F({preset:x([`classic`,`headline`,`minimal`]).optional().describe(`The thumbnail layout. When unset, thumbnails use the current layout.`),appearance:x([Cs.Light,Cs.Dark]).optional().describe(`Whether to render page thumbnails in light or dark mode. When unset, thumbnails are auto-generated from your theme colors.`),surface:x([`neutral`,`brand`]).optional().describe("Whether the thumbnail uses a neutral background or fills it with your brand color. Defaults to `brand`."),background:M().optional().describe(`Background image for the thumbnail. Can be an absolute URL or relative path.`),fonts:ws.optional(),eyebrow:Ts.optional()}),Ds=Es.pick({preset:!0,appearance:!0,surface:!0,background:!0}).extend({eyebrow:M().optional().describe(`Text shown above the title on this thumbnail. An empty string hides it.`)}).describe("Thumbnail settings for pages in this group or division, or for this page in frontmatter. Each key overrides the nearest parent and `thumbnails` in docs.json."),Os={thumbnail:Ds.optional()},ks=e=>{let t=e.toLowerCase();return xi(t)??fi.find(e=>e.toLowerCase()===t)},As=e=>{let t=JSON.stringify(e),n=typeof e==`string`?ks(e):void 0;return n?`Invalid language code ${t}. Did you mean "${n}"?`:`Invalid language code ${t}. Use a supported language code such as "en" or "es", optionally followed by a two-letter region such as "en-GB" or "es-MX"`},js=RegExp(`^(?:${hi.join(`|`)})-(?:${di.map(e=>[...e].map(e=>{let t=e.toLowerCase();return t===e?e:`[${e}${t}]`}).join(``)).join(`|`)})$`),Ms=M({errorMap:(e,t)=>({message:e.code===`invalid_string`?As(t.data):t.defaultError})}).regex(js).and(pe()),Ns=s([x(fi),Ms]).describe(`Language code, such as "en" or "en-GB"`),Ps=C().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.`),Fs=F({type:L(`link`),title:M().trim().min(1),href:M().url().refine(e=>/^https?:\/\//i.test(e),`Use an HTTP or HTTPS URL`)}),Is=k(()=>s([ie,Fs,Ws])),Ls=k(()=>s([ne,Gs])),Rs=he(Is).describe(`An array of page paths, groups, or external links`),zs=he(Ls).describe(`An array of page metadata or groups`);var Bs=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const Vs={directory:x([`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.`)},Hs=F(Object.assign(Object.assign({group:M().nonempty().describe(`The name of the group`),mcp:ps.optional(),public:C().optional().describe(`Whether the group is public`),boost:be().optional().describe(`Search ranking multiplier for pages in this group (e.g. 3 = 3x boost)`),icon:y.optional(),hidden:ys.optional(),searchable:Ps.optional(),root:ie.optional(),tag:M().optional().describe(`Tag for the group`),expanded:C().optional().describe(`Whether the group is expanded by default`)},Vs),Os)),Us=e=>e.optional().catch(void 0),Ws=Hs.extend({sdk:_s.optional(),graphql:ls.optional(),openapi:Us(Ua),asyncapi:Us(Ba).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:k(()=>Rs).default([])}).transform(e=>{if(e.openapi===void 0||e.asyncapi===void 0)return e;let{asyncapi:t}=e;return Bs(e,[`asyncapi`])}).describe(`Organizing by groups`),Gs=F(Object.assign(Object.assign({group:M().nonempty().describe(`The name of the group`),public:C().optional().describe(`Whether the group is public`),boost:be().optional().describe(`Search ranking multiplier for pages in this group (e.g. 3 = 3x boost)`),icon:y.optional(),hidden:ys.optional(),searchable:Ps.optional(),root:ne.optional(),pages:k(()=>zs),tag:M().optional().describe(`Tag for the group`),expanded:C().optional().describe(`Whether the group is expanded by default`)},Vs),Os)).describe(`Organizing by groups`),Ks=he(Ws).min(1,`At least one group must be specified`).describe(`Organizing by groups`),qs=he(Gs).min(1,`At least one group must be specified`).describe(`Organizing by groups`),Js=F(Object.assign(Object.assign({version:M().nonempty().describe(`The name of the version`),graphql:us,mcp:ms,sdk:vs,default:C().optional().describe(`Whether this version is the default version`),tag:M().optional().describe(`Tag for the version`),hidden:ys.optional()},Vs),Os)),Ys=Js.extend({href:uo}),Xs=s([Js.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),Zs=Js.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])),Qs=he(Xs).min(1,`At least one version must be specified`).describe(`Organizing by versions`),$s=he(Zs).min(1,`At least one version must be specified`).describe(`Organizing by versions`),ec=x([`start`,`end`]).describe(`Tab alignment in the navigation`),tc=F(Object.assign(Object.assign({tab:M().nonempty().describe(`The name of the tab`),mcp:ps.optional(),icon:y.optional(),hidden:ys.optional(),searchable:Ps.optional(),align:ec.optional()},Vs),Os)),nc=tc.extend({href:uo,graphql:us,mcp:ms,sdk:vs}),rc=s([tc.extend({graphql:ls,mcp:ms}).strict(),tc.extend({groups:k(()=>Ks),graphql:ls,mcp:ms}).strict(),tc.extend({mcp:ps}).strict(),tc.extend({groups:k(()=>Ks),mcp:ps}).strict(),tc.extend({sdk:_s,mcp:ms}).strict(),tc.extend({groups:k(()=>Ks),sdk:_s,mcp:ms}).strict(),tc.extend({href:uo,graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({languages:k(()=>Sc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({versions:k(()=>Qs),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({dropdowns:k(()=>kc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({anchors:k(()=>Fc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({products:k(()=>hc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({groups:k(()=>Ks),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({pages:k(()=>Rs),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({menu:k(()=>uc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),ic=tc.and(F({graphql:us,mcp:ms,sdk:vs})).and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()})),k(()=>F({menu:dc,global:wc.optional()}))])),ac=he(rc).min(1,`At least one tab must be specified`).describe(`Organizing by tabs`),oc=he(ic).min(1,`At least one tab must be specified`).describe(`Organizing by tabs`),sc=F(Object.assign(Object.assign({item:M().nonempty().describe(`The name of the menu item`),graphql:us,mcp:ms,sdk:vs,icon:y.optional(),description:M().optional().describe(`The description of the menu item`),hidden:ys.optional()},Vs),Os));sc.extend({href:uo});const cc=s([sc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),lc=sc.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])),uc=he(cc).describe(`Organizing by menu`),dc=he(lc).min(1,`At least one menu item must be specified`).describe(`Organizing by menu`),fc=F(Object.assign(Object.assign({product:M().nonempty().describe(`The name of the product`),graphql:us,mcp:ms,sdk:vs,name:M().optional().describe(`Display name for the product`),icon:y.optional(),color:Ja.optional(),description:M().optional().describe(`The description of the product`),hidden:ys.optional()},Vs),Os)),pc=s([fc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({menu:k(()=>uc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),mc=fc.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()})),k(()=>F({menu:dc,global:wc.optional()}))])),hc=he(pc).describe(`Organizing by products`),gc=he(mc).min(1,`At least one product must be specified`).describe(`Organizing by products`),_c=fc.extend({href:uo}),vc=F(Object.assign(Object.assign({language:Ns,graphql:us,mcp:ms,sdk:vs,default:C().optional().describe(`Whether this language is the default language`),banner:Xa.optional().describe(`Banner configuration specific to this language`),footer:yo.optional().describe(`Footer configuration specific to this language`),navbar:os.optional().describe(`Navbar configuration specific to this language`),hidden:ys.optional()},Vs),Os)),yc=vc.extend({href:uo}),bc=s([vc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]).describe(`Organizing by languages`),xc=vc.and(s([F({href:uo}),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])).describe(`Organizing by languages`),Sc=he(bc).min(1,`At least one language must be specified`).describe(`Organizing by languages`),Cc=he(xc).min(1,`At least one language must be specified`).describe(`Organizing by languages`),wc=k(()=>F({languages:he(yc).optional(),versions:he(Ys).optional(),tabs:he(nc).optional(),dropdowns:he(Ec).optional(),anchors:he(Mc).optional(),products:he(_c).optional()}).strict()).describe(`Add external links that will appear on all sections and pages irregardless of navigation nesting`),Tc=F(Object.assign(Object.assign({dropdown:M().nonempty().describe(`The name of the dropdown`),graphql:us,mcp:ms,sdk:vs,icon:y.optional(),color:Ja.optional(),description:M().optional().describe(`The description of the dropdown`),hidden:ys.optional()},Vs),Os)),Ec=Tc.extend({href:uo}),Dc=s([Tc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),Oc=Tc.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])),kc=he(Dc).describe(`Organizing by dropdowns`),Ac=he(Oc).min(1,`At least one dropdown must be specified`).describe(`Organizing by dropdowns`),jc=F(Object.assign(Object.assign({anchor:M().nonempty().describe(`The name of the anchor`),graphql:us,mcp:ms,sdk:vs,icon:y.optional(),color:Ja.optional(),hidden:ys.optional()},Vs),Os)),Mc=jc.extend({href:uo}),Nc=s([jc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc.optional())}),jc.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),Pc=jc.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])),Fc=he(Nc).min(1,`At least one anchor must be specified`).describe(`Organizing by anchors`),Ic=he(Pc).describe(`Organizing by anchors`),Lc=F(Object.assign({global:wc.optional(),graphql:us,mcp:ms,sdk:vs},Vs)),Rc=s([Lc.extend({products:hc}),Lc.extend({languages:Sc}),Lc.extend({versions:Qs}),Lc.extend({tabs:ac}),Lc.extend({dropdowns:kc}),Lc.extend({anchors:Fc}),Lc.extend({groups:Ks}),Lc.extend({pages:Rs})]).describe(`The navigation structure of the content`);s([F({products:gc}),F({languages:Cc}),F({versions:$s}),F({tabs:oc}),F({dropdowns:Ac}),F({anchors:Ic}),F({groups:qs}),F({pages:zs})]).and(F(Object.assign({global:wc.optional()},Vs))).describe(`The navigation structure of the content`);const zc=/^@[a-z0-9-~][a-z0-9-._~]*$/,Bc=[`page`,`frame`],Vc=M().regex(zc,"Registry keys must be npm scopes such as `@acme` (lowercase, starting with `@`)"),Hc=/[\s\u0000-\u001f\u007f]/,Uc=e=>{if(Hc.test(e))return`Registry URLs cannot contain whitespace`;if(e.includes("${"))return"Registry URLs cannot contain `${`, which npm expands from environment variables";if(/[;#\\]/.test(e))return"Registry URLs cannot contain `;`, `#` or `\\`, which npm reads as a comment or escape in .npmrc";let t;try{t=new URL(e)}catch{return}if(t.username!==``||t.password!==``)return`Registry URLs cannot include a username, password or token`;if(e.includes(`?`)||t.hash!==``)return`Registry URLs cannot include a query string or fragment`;if(t.href.includes("${")||/[;#\\]/.test(t.href))return"Registry URLs cannot parse to a URL with `${`, `;`, `#` or `\\`, such as from full-width characters in the host, which npm rewrites in .npmrc";if(t.hostname.includes(`=`)||t.pathname.includes(`=`))return"Registry URLs cannot have `=` in the host or path, which npm reads as the end of the auth token key in .npmrc"},Wc=M().max(512,`Registry URLs cannot be longer than 512 characters`).url(`Must be a valid URL`).regex(/^https:\/\/[^/]/,"Registry URLs must start with `https://` and then the host").superRefine((e,t)=>{let n=Uc(e);n&&t.addIssue({code:Fe.custom,message:n})}),Gc=/^[a-z][a-z\d+.-]*:/i,Kc=M().min(1,`CSS entries cannot be empty`).refine(e=>!/^[./\\]/.test(e)&&!Gc.test(e)&&!e.split(/[\\/]/).includes(`..`),"CSS entries must be paths inside an installed package, such as `@acme/ui/dist/styles.css`"),qc=e=>{if(e===``)return;let t=e.replace(/\\/g,`/`),n=t.replace(/^\/+/,``).split(`/`);if(n.includes(`..`))return"Provider path cannot contain `..` segments";if(n.includes(``))return"Provider path must name a file, such as `/snippets/provider.jsx`, with no empty segments or trailing slash";let r=t.replace(/[?#].*$/,``),i=r.replace(/^\/+|\/+$/g,``);if((i===``||i.split(`/`).includes(`..`)?t:r).split(`/`).slice(0,-1).includes(`node_modules`))return"Provider path cannot be inside a `node_modules` folder";if(!e.startsWith(`/`))return"Provider path must start with `/`, such as `/snippets/provider.jsx`";if(n.some(e=>/[:\0]/.test(e)||e!==`.`&&/[. ]$/.test(e)))return"Provider path cannot contain `:` or NUL, or a name that ends in `.` or a space"},Jc=M().min(1,`Provider path cannot be empty`).superRefine((e,t)=>{let n=qc(e);n&&t.addIssue({code:Fe.custom,message:n})}),Yc=F({registries:Se(Vc,Wc).optional().describe('Registry to install each npm scope from, e.g. `{ "@acme": "https://npm.acme.com/" }`. One registry per scope. Unscoped packages always install from registry.npmjs.org.'),css:he(Kc).optional().describe("Compiled CSS files shipped by your packages to load on pages that use package components, e.g. `@acme/ui/dist/styles.css`"),provider:Jc.optional().describe("Path to a snippet that exports a `Provider` component, e.g. `/snippets/provider.jsx`. It wraps every package component."),ssr:C().optional().describe(`Whether to render package components to HTML at build time so they show before their JavaScript loads. Defaults to true.`),isolation:x(Bc).optional().describe("How package components run in the browser. `page` (default) renders them in the docs page. `frame`, a sandboxed iframe per component, is not implemented yet and fails the build.")}).describe("Use npm packages from package.json in MDX pages and snippets. Adding this key, even as `{}`, turns the feature on. Requires a package-lock.json or pnpm-lock.yaml next to docs.json."),Xc=C().describe(`Whether the documentation is publicly accessible by default`),Zc=F({prompt:M().optional().describe(`The prompt to be displayed in the search bar placeholder`)}).describe(`Search display settings`),Qc=Se(M(),M().nonempty()).optional().describe(`Meta tags added to every page. Must be a valid key-value pair.`),$c=/^[^\s/\\?#]+$/;function el(e){return e.split(`/`).every(e=>$c.test(e)&&e!==`.`&&e!==`..`)}const tl=F({path:M().nonempty().refine(el,"Must be a slash-delimited folder path relative to the docs root, e.g. `guides/v2`. Each segment must be non-empty and must not be `.` or `..`, and the path must not start or end with a slash or contain whitespace, backslashes, `?`, or `#`.").describe("Folder path relative to the docs root, e.g. `guides/v2`. Applies to every page under that folder."),metatags:Se(M(),M().nonempty()).describe("Meta tags added to every page under `path`. Must be a valid key-value pair.")}),nl=he(tl).refine(e=>{let t=e.map(e=>e.path);return new Set(t).size===t.length},`Each path can only be used once`).describe("Meta tags scoped to a folder. Longer paths override shorter ones, which override `metatags`. Page frontmatter overrides both."),rl=F({id:M().url().optional().describe("Stable `@id` URL identifying your organization across pages, e.g. `https://example.com/#organization`. Defaults to `<site origin>/#organization`."),name:M().nonempty().optional().describe(`Organization name. Defaults to the site name.`),legalName:M().nonempty().optional().describe(`Registered legal name.`),url:M().url().optional().describe(`Canonical organization homepage URL.`),logo:M().url().optional().describe(`Canonical logo URL used in structured data. Defaults to the docs logo.`),sameAs:he(M().url()).optional().describe(`URLs of official profiles, e.g. X, LinkedIn, GitHub.`)}).describe(`Organization entity emitted in structured data (JSON-LD) on every page.`),il=F({metatags:Qc.optional(),paths:nl.optional(),organization:rl.optional(),indexing:x([`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:C().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`),al=/* @__PURE__ */ `andromeeda.aurora-x.ayu-dark.catppuccin-frappe.catppuccin-latte.catppuccin-macchiato.catppuccin-mocha.dark-plus.dracula.dracula-soft.everforest-dark.everforest-light.github-dark.github-dark-default.github-dark-dimmed.github-dark-high-contrast.github-light.github-light-default.github-light-high-contrast.gruvbox-dark-hard.gruvbox-dark-medium.gruvbox-dark-soft.gruvbox-light-hard.gruvbox-light-medium.gruvbox-light-soft.houston.kanagawa-dragon.kanagawa-lotus.kanagawa-wave.laserwave.light-plus.material-theme.material-theme-darker.material-theme-lighter.material-theme-ocean.material-theme-palenight.min-dark.min-light.monokai.night-owl.nord.one-dark-pro.one-light.plastic.poimandres.red.rose-pine.rose-pine-dawn.rose-pine-moon.slack-dark.slack-ochin.snazzy-light.solarized-dark.solarized-light.synthwave-84.tokyo-night.vesper.vitesse-black.vitesse-dark.vitesse-light.css-variables`.split(`.`),ol=F({custom:he(M().refine(e=>!/^[a-zA-Z]:/.test(e)&&!e.split(/[\\/]/).includes(`..`),{message:`Custom language path must stay within the docs directory`}).describe(`Path (relative to the docs root) to a JSON file describing a custom Shiki language`)).optional()}).describe(`Custom language configuration for codeblocks`),sl=F({eyebrows:x([`section`,`breadcrumbs`]).optional().describe("The eyebrows style of the content. Defaults to `section`."),codeblocks:s([x([`system`,`dark`]).optional().describe("Match the docs light/dark mode with `system`, or always use a dark theme with `dark`."),F({theme:s([x(al),F({light:x(al),dark:x(al)})]).optional(),languages:ol.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:C().optional().describe(`Whether to load LaTeX stylesheets`)}).describe(`Styling configurations`),cl=Se(M(),M()).describe(`Set of custom variables that can be re-used throughout the content`),ll={$schema:La,name:Xo,public:Xc.optional(),description:Qa.optional(),colors:Za,logo:qo.optional(),favicon:eo.optional(),api:Ga.optional(),appearance:Ka.optional(),background:Ya.optional(),navbar:os.optional(),navigation:Rc,footer:yo.optional(),search:Zc.optional(),seo:il.optional(),fonts:oo.optional(),icons:bo.optional(),styling:sl.optional(),redirects:fa.optional(),integrations:Go.optional(),banner:Xa.optional(),errors:$a.optional(),contextual:se.optional(),thumbnails:Es.optional(),interaction:Ko.optional(),metadata:Yo.optional(),variables:cl.optional(),markdown:Jo.optional(),packages:Yc.optional().catch(void 0)},ul=x([`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).`),dl=F(Object.assign({theme:L(ul.enum.almond)},ll)),fl=F(Object.assign({theme:L(ul.enum.aspen)},ll)),pl=F(Object.assign({theme:L(ul.enum.linden)},ll)),ml=F(Object.assign({theme:L(ul.enum.luma)},ll)),hl=F(Object.assign({theme:L(ul.enum.maple)},ll)),gl=F(Object.assign({theme:L(ul.enum.mint),themeVersion:Ia(Fa.mint).optional()},ll)),_l=F(Object.assign({theme:L(ul.enum.palm)},ll)),vl=F(Object.assign({theme:L(ul.enum.sequoia)},ll)),yl=F({id:M().trim().nonempty().describe(`Stable identifier for the variation`),label:M().trim().nonempty().describe(`Display label for the variation`)}).describe(`A documentation content variation`),bl=F({options:he(yl).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=/* @__PURE__ */ new Set;e.forEach((e,r)=>{n.has(e.id)&&t.addIssue({code:Fe.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`),xl=F(Object.assign(Object.assign({theme:L(ul.enum.willow)},ll),{variations:bl.optional()})),Sl=_e(`theme`,[gl,hl,_l,xl,pl,dl,fl,ml,vl]);F(Object.assign({theme:ul,themeVersion:Ia(Math.max(...Object.values(Fa))).optional()},ll));const Cl=F({sourceRef:M().nonempty().describe(`The mount path of the git source to inline`)}).describe(`Reference to a git source navigation section`),wl=[`get`,`put`,`post`,`delete`,`options`,`head`,`patch`,`trace`,`query`],Tl=e=>wl.includes(e),El=/^[A-Z0-9!#$%&'*+.^_`|~-]+$/,Dl=/* @__PURE__ */ new Set([`WEBHOOK`]),Ol=e=>El.test(e)&&!Tl(e.toLowerCase())&&!Dl.has(e),kl=e=>{let t=e.toLowerCase();if(Tl(t))return t;let n=e.toUpperCase();return Ol(n)?n:void 0},Al=e=>`additionalOperations`in e?e.additionalOperations??{}:{};function jl(e){let t=[];for(let n of wl){let r=e[n];r&&t.push([n,r])}for(let[n,r]of Object.entries(Al(e)))Ol(n)&&t.push([n,r]);return t}function Ml(e,t){return Tl(t)?e[t]:Al(e)[t]}var Nl=/* @__PURE__ */ a(((e,t)=>{t.exports=function e(t,n){return n===0?t:e(n,t%n)}})),Pl=/* @__PURE__ */ a(((e,t)=>{var n=Nl();t.exports=function(e,t){return t===0?0:e*t/n(e,t)}})),Fl=/* @__PURE__ */ a(((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n})),Il=/* @__PURE__ */ a(((e,t)=>{function n(e,t){return e===t||e!==e&&t!==t}t.exports=n})),Ll=/* @__PURE__ */ a(((e,t)=>{var n=Il();function r(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}t.exports=r})),Rl=/* @__PURE__ */ a(((e,t)=>{var n=Ll(),r=Array.prototype.splice;function i(e){var t=this.__data__,i=n(t,e);return i<0?!1:(i==t.length-1?t.pop():r.call(t,i,1),--this.size,!0)}t.exports=i})),zl=/* @__PURE__ */ a(((e,t)=>{var n=Ll();function r(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}t.exports=r})),Bl=/* @__PURE__ */ a(((e,t)=>{var n=Ll();function r(e){return n(this.__data__,e)>-1}t.exports=r})),Vl=/* @__PURE__ */ a(((e,t)=>{var n=Ll();function r(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}t.exports=r})),Hl=/* @__PURE__ */ a(((e,t)=>{var n=Fl(),r=Rl(),i=zl(),a=Bl(),o=Vl();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),Ul=/* @__PURE__ */ a(((e,t)=>{var n=Hl();function r(){this.__data__=new n,this.size=0}t.exports=r})),Wl=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=n})),Gl=/* @__PURE__ */ a(((e,t)=>{function n(e){return this.__data__.get(e)}t.exports=n})),Kl=/* @__PURE__ */ a(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),ql=/* @__PURE__ */ a(((e,t)=>{t.exports=typeof global==`object`&&global&&global.Object===Object&&global})),Jl=/* @__PURE__ */ a(((e,t)=>{var n=ql(),r=typeof self==`object`&&self&&self.Object===Object&&self;t.exports=n||r||Function(`return this`)()})),Yl=/* @__PURE__ */ a(((e,t)=>{t.exports=Jl().Symbol})),Xl=/* @__PURE__ */ a(((e,t)=>{var n=Yl(),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,o=n?n.toStringTag:void 0;function s(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch{}var s=a.call(e);return r&&(t?e[o]=n:delete e[o]),s}t.exports=s})),Zl=/* @__PURE__ */ a(((e,t)=>{var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r})),Ql=/* @__PURE__ */ a(((e,t)=>{var n=Yl(),r=Xl(),i=Zl(),a=`[object Null]`,o=`[object Undefined]`,s=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?o:a:s&&s in Object(e)?r(e):i(e)}t.exports=c})),$l=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n})),eu=/* @__PURE__ */ a(((e,t)=>{var n=Ql(),r=$l(),i=`[object AsyncFunction]`,a=`[object Function]`,o=`[object GeneratorFunction]`,s=`[object Proxy]`;function c(e){if(!r(e))return!1;var t=n(e);return t==a||t==o||t==i||t==s}t.exports=c})),tu=/* @__PURE__ */ a(((e,t)=>{t.exports=Jl()[`__core-js_shared__`]})),nu=/* @__PURE__ */ a(((e,t)=>{var n=tu(),r=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function i(e){return!!r&&r in e}t.exports=i})),ru=/* @__PURE__ */ a(((e,t)=>{var n=Function.prototype.toString;function r(e){if(e!=null){try{return n.call(e)}catch{}try{return e+``}catch{}}return``}t.exports=r})),iu=/* @__PURE__ */ a(((e,t)=>{var n=eu(),r=nu(),i=$l(),a=ru(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp(`^`+u.call(d).replace(o,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function p(e){return!i(e)||r(e)?!1:(n(e)?f:s).test(a(e))}t.exports=p})),au=/* @__PURE__ */ a(((e,t)=>{function n(e,t){return e?.[t]}t.exports=n})),ou=/* @__PURE__ */ a(((e,t)=>{var n=iu(),r=au();function i(e,t){var i=r(e,t);return n(i)?i:void 0}t.exports=i})),su=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`Map`)})),cu=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Object,`create`)})),lu=/* @__PURE__ */ a(((e,t)=>{var n=cu();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r})),uu=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}t.exports=n})),du=/* @__PURE__ */ a(((e,t)=>{var n=cu(),r=`__lodash_hash_undefined__`,i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(n){var a=t[e];return a===r?void 0:a}return i.call(t,e)?t[e]:void 0}t.exports=a})),fu=/* @__PURE__ */ a(((e,t)=>{var n=cu(),r=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?t[e]!==void 0:r.call(t,e)}t.exports=i})),pu=/* @__PURE__ */ a(((e,t)=>{var n=cu(),r=`__lodash_hash_undefined__`;function i(e,t){var i=this.__data__;return this.size+=+!this.has(e),i[e]=n&&t===void 0?r:t,this}t.exports=i})),mu=/* @__PURE__ */ a(((e,t)=>{var n=lu(),r=uu(),i=du(),a=fu(),o=pu();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),hu=/* @__PURE__ */ a(((e,t)=>{var n=mu(),r=Hl(),i=su();function a(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=a})),gu=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}t.exports=n})),_u=/* @__PURE__ */ a(((e,t)=>{var n=gu();function r(e,t){var r=e.__data__;return n(t)?r[typeof t==`string`?`string`:`hash`]:r.map}t.exports=r})),vu=/* @__PURE__ */ a(((e,t)=>{var n=_u();function r(e){var t=n(this,e).delete(e);return this.size-=+!!t,t}t.exports=r})),yu=/* @__PURE__ */ a(((e,t)=>{var n=_u();function r(e){return n(this,e).get(e)}t.exports=r})),bu=/* @__PURE__ */ a(((e,t)=>{var n=_u();function r(e){return n(this,e).has(e)}t.exports=r})),xu=/* @__PURE__ */ a(((e,t)=>{var n=_u();function r(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}t.exports=r})),Su=/* @__PURE__ */ a(((e,t)=>{var n=hu(),r=vu(),i=yu(),a=bu(),o=xu();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),Cu=/* @__PURE__ */ a(((e,t)=>{var n=Hl(),r=su(),i=Su(),a=200;function o(e,t){var o=this.__data__;if(o instanceof n){var s=o.__data__;if(!r||s.length<a-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new i(s)}return o.set(e,t),this.size=o.size,this}t.exports=o})),wu=/* @__PURE__ */ a(((e,t)=>{var n=Hl(),r=Ul(),i=Wl(),a=Gl(),o=Kl(),s=Cu();function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c})),Tu=/* @__PURE__ */ a(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}t.exports=n})),Eu=/* @__PURE__ */ a(((e,t)=>{var n=ou();t.exports=function(){try{var e=n(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),Du=/* @__PURE__ */ a(((e,t)=>{var n=Eu();function r(e,t,r){t==`__proto__`&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}t.exports=r})),Ou=/* @__PURE__ */ a(((e,t)=>{var n=Du(),r=Il(),i=Object.prototype.hasOwnProperty;function a(e,t,a){var o=e[t];(!(i.call(e,t)&&r(o,a))||a===void 0&&!(t in e))&&n(e,t,a)}t.exports=a})),ku=/* @__PURE__ */ a(((e,t)=>{var n=Ou(),r=Du();function i(e,t,i,a){var o=!i;i||={};for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(i[l],e[l],l,i,e):void 0;u===void 0&&(u=e[l]),o?r(i,l,u):n(i,l,u)}return i}t.exports=i})),Au=/* @__PURE__ */ a(((e,t)=>{function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=n})),ju=/* @__PURE__ */ a(((e,t)=>{function n(e){return typeof e==`object`&&!!e}t.exports=n})),Mu=/* @__PURE__ */ a(((e,t)=>{var n=Ql(),r=ju(),i=`[object Arguments]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Nu=/* @__PURE__ */ a(((e,t)=>{var n=Mu(),r=ju(),i=Object.prototype,a=i.hasOwnProperty,o=i.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,`callee`)&&!o.call(e,`callee`)}})),Pu=/* @__PURE__ */ a(((e,t)=>{t.exports=Array.isArray})),Fu=/* @__PURE__ */ a(((e,t)=>{function n(){return!1}t.exports=n})),Iu=/* @__PURE__ */ a(((e,t)=>{var n=Jl(),r=Fu(),i=typeof e==`object`&&e&&!e.nodeType&&e,a=i&&typeof t==`object`&&t&&!t.nodeType&&t,o=a&&a.exports===i?n.Buffer:void 0;t.exports=(o?o.isBuffer:void 0)||r})),Lu=/* @__PURE__ */ a(((e,t)=>{var n=/^(?:0|[1-9]\d*)$/;function r(e,t){var r=typeof e;return t??=9007199254740991,!!t&&(r==`number`||r!=`symbol`&&n.test(e))&&e>-1&&e%1==0&&e<t}t.exports=r})),Ru=/* @__PURE__ */ a(((e,t)=>{function n(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=9007199254740991}t.exports=n})),zu=/* @__PURE__ */ a(((e,t)=>{var n=Ql(),r=Ru(),i=ju(),a=`[object Arguments]`,o=`[object Array]`,s=`[object Boolean]`,c=`[object Date]`,l=`[object Error]`,u=`[object Function]`,d=`[object Map]`,f=`[object Number]`,p=`[object Object]`,m=`[object RegExp]`,h=`[object Set]`,g=`[object String]`,_=`[object WeakMap]`,v=`[object ArrayBuffer]`,y=`[object DataView]`,b=`[object Float32Array]`,x=`[object Float64Array]`,S=`[object Int8Array]`,C=`[object Int16Array]`,w=`[object Int32Array]`,T=`[object Uint8Array]`,E=`[object Uint8ClampedArray]`,D=`[object Uint16Array]`,O=`[object Uint32Array]`,k={};k[b]=k[x]=k[S]=k[C]=k[w]=k[T]=k[E]=k[D]=k[O]=!0,k[a]=k[o]=k[v]=k[s]=k[y]=k[c]=k[l]=k[u]=k[d]=k[f]=k[p]=k[m]=k[h]=k[g]=k[_]=!1;function A(e){return i(e)&&r(e.length)&&!!k[n(e)]}t.exports=A})),Bu=/* @__PURE__ */ a(((e,t)=>{function n(e){return function(t){return e(t)}}t.exports=n})),Vu=/* @__PURE__ */ a(((e,t)=>{var n=ql(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r&&n.process;t.exports=function(){try{return i&&i.require&&i.require(`util`).types||a&&a.binding&&a.binding(`util`)}catch{}}()})),Hu=/* @__PURE__ */ a(((e,t)=>{var n=zu(),r=Bu(),i=Vu(),a=i&&i.isTypedArray;t.exports=a?r(a):n})),Uu=/* @__PURE__ */ a(((e,t)=>{var n=Au(),r=Nu(),i=Pu(),a=Iu(),o=Lu(),s=Hu(),c=Object.prototype.hasOwnProperty;function l(e,t){var l=i(e),u=!l&&r(e),d=!l&&!u&&a(e),f=!l&&!u&&!d&&s(e),p=l||u||d||f,m=p?n(e.length,String):[],h=m.length;for(var g in e)(t||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||o(g,h)))&&m.push(g);return m}t.exports=l})),Wu=/* @__PURE__ */ a(((e,t)=>{var n=Object.prototype;function r(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||n)}t.exports=r})),Gu=/* @__PURE__ */ a(((e,t)=>{function n(e,t){return function(n){return e(t(n))}}t.exports=n})),Ku=/* @__PURE__ */ a(((e,t)=>{t.exports=Gu()(Object.keys,Object)})),qu=/* @__PURE__ */ a(((e,t)=>{var n=Wu(),r=Ku(),i=Object.prototype.hasOwnProperty;function a(e){if(!n(e))return r(e);var t=[];for(var a in Object(e))i.call(e,a)&&a!=`constructor`&&t.push(a);return t}t.exports=a})),Ju=/* @__PURE__ */ a(((e,t)=>{var n=eu(),r=Ru();function i(e){return e!=null&&r(e.length)&&!n(e)}t.exports=i})),Yu=/* @__PURE__ */ a(((e,t)=>{var n=Uu(),r=qu(),i=Ju();function a(e){return i(e)?n(e):r(e)}t.exports=a})),eee=/* @__PURE__ */ a(((e,t)=>{var n=ku(),r=Yu();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),Xu=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}t.exports=n})),Zu=/* @__PURE__ */ a(((e,t)=>{var n=$l(),r=Wu(),i=Xu(),a=Object.prototype.hasOwnProperty;function o(e){if(!n(e))return i(e);var t=r(e),o=[];for(var s in e)(s!=`constructor`||!t&&a.call(e,s))&&o.push(s);return o}t.exports=o})),Qu=/* @__PURE__ */ a(((e,t)=>{var n=Uu(),r=Zu(),i=Ju();function a(e){return i(e)?n(e,!0):r(e)}t.exports=a})),tee=/* @__PURE__ */ a(((e,t)=>{var n=ku(),r=Qu();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),nee=/* @__PURE__ */ a(((e,t)=>{var n=Jl(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r?n.Buffer:void 0,o=a?a.allocUnsafe:void 0;function s(e,t){if(t)return e.slice();var n=e.length,r=o?o(n):new e.constructor(n);return e.copy(r),r}t.exports=s})),ree=/* @__PURE__ */ a(((e,t)=>{function n(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}t.exports=n})),iee=/* @__PURE__ */ a(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}t.exports=n})),$u=/* @__PURE__ */ a(((e,t)=>{function n(){return[]}t.exports=n})),ed=/* @__PURE__ */ a(((e,t)=>{var n=iee(),r=$u(),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(e){return e==null?[]:(e=Object(e),n(a(e),function(t){return i.call(e,t)}))}:r})),aee=/* @__PURE__ */ a(((e,t)=>{var n=ku(),r=ed();function i(e,t){return n(e,r(e),t)}t.exports=i})),td=/* @__PURE__ */ a(((e,t)=>{function n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}t.exports=n})),nd=/* @__PURE__ */ a(((e,t)=>{t.exports=Gu()(Object.getPrototypeOf,Object)})),rd=/* @__PURE__ */ a(((e,t)=>{var n=td(),r=nd(),i=ed(),a=$u();t.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=r(e);return t}:a})),oee=/* @__PURE__ */ a(((e,t)=>{var n=ku(),r=rd();function i(e,t){return n(e,r(e),t)}t.exports=i})),id=/* @__PURE__ */ a(((e,t)=>{var n=td(),r=Pu();function i(e,t,i){var a=t(e);return r(e)?a:n(a,i(e))}t.exports=i})),ad=/* @__PURE__ */ a(((e,t)=>{var n=id(),r=ed(),i=Yu();function a(e){return n(e,i,r)}t.exports=a})),od=/* @__PURE__ */ a(((e,t)=>{var n=id(),r=rd(),i=Qu();function a(e){return n(e,i,r)}t.exports=a})),sd=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`DataView`)})),see=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`Promise`)})),cee=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`Set`)})),lee=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`WeakMap`)})),cd=/* @__PURE__ */ a(((e,t)=>{var n=sd(),r=su(),i=see(),a=cee(),o=lee(),s=Ql(),c=ru(),l=`[object Map]`,u=`[object Object]`,d=`[object Promise]`,f=`[object Set]`,p=`[object WeakMap]`,m=`[object DataView]`,h=c(n),g=c(r),_=c(i),v=c(a),y=c(o),b=s;(n&&b(new n(/* @__PURE__ */ new ArrayBuffer(1)))!=m||r&&b(new r)!=l||i&&b(i.resolve())!=d||a&&b(new a)!=f||o&&b(new o)!=p)&&(b=function(e){var t=s(e),n=t==u?e.constructor:void 0,r=n?c(n):``;if(r)switch(r){case h:return m;case g:return l;case _:return d;case v:return f;case y:return p}return t}),t.exports=b})),ld=/* @__PURE__ */ a(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]==`string`&&n.call(e,`index`)&&(r.index=e.index,r.input=e.input),r}t.exports=r})),uee=/* @__PURE__ */ a(((e,t)=>{t.exports=Jl().Uint8Array})),ud=/* @__PURE__ */ a(((e,t)=>{var n=uee();function r(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}t.exports=r})),dee=/* @__PURE__ */ a(((e,t)=>{var n=ud();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}t.exports=r})),dd=/* @__PURE__ */ a(((e,t)=>{var n=/\w*$/;function r(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}t.exports=r})),fee=/* @__PURE__ */ a(((e,t)=>{var n=Yl(),r=n?n.prototype:void 0,i=r?r.valueOf:void 0;function a(e){return i?Object(i.call(e)):{}}t.exports=a})),pee=/* @__PURE__ */ a(((e,t)=>{var n=ud();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}t.exports=r})),mee=/* @__PURE__ */ a(((e,t)=>{var n=ud(),r=dee(),i=dd(),a=fee(),o=pee(),s=`[object Boolean]`,c=`[object Date]`,l=`[object Map]`,u=`[object Number]`,d=`[object RegExp]`,f=`[object Set]`,p=`[object String]`,m=`[object Symbol]`,h=`[object ArrayBuffer]`,g=`[object DataView]`,_=`[object Float32Array]`,v=`[object Float64Array]`,y=`[object Int8Array]`,b=`[object Int16Array]`,x=`[object Int32Array]`,S=`[object Uint8Array]`,C=`[object Uint8ClampedArray]`,w=`[object Uint16Array]`,T=`[object Uint32Array]`;function E(e,t,E){var D=e.constructor;switch(t){case h:return n(e);case s:case c:return new D(+e);case g:return r(e,E);case _:case v:case y:case b:case x:case S:case C:case w:case T:return o(e,E);case l:return new D;case u:case p:return new D(e);case d:return i(e);case f:return new D;case m:return a(e)}}t.exports=E})),fd=/* @__PURE__ */ a(((e,t)=>{var n=$l(),r=Object.create;t.exports=function(){function e(){}return function(t){if(!n(t))return{};if(r)return r(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}()})),hee=/* @__PURE__ */ a(((e,t)=>{var n=fd(),r=nd(),i=Wu();function a(e){return typeof e.constructor==`function`&&!i(e)?n(r(e)):{}}t.exports=a})),gee=/* @__PURE__ */ a(((e,t)=>{var n=cd(),r=ju(),i=`[object Map]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),_ee=/* @__PURE__ */ a(((e,t)=>{var n=gee(),r=Bu(),i=Vu(),a=i&&i.isMap;t.exports=a?r(a):n})),pd=/* @__PURE__ */ a(((e,t)=>{var n=cd(),r=ju(),i=`[object Set]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),md=/* @__PURE__ */ a(((e,t)=>{var n=pd(),r=Bu(),i=Vu(),a=i&&i.isSet;t.exports=a?r(a):n})),vee=/* @__PURE__ */ a(((e,t)=>{var n=wu(),r=Tu(),i=Ou(),a=eee(),o=tee(),s=nee(),c=ree(),l=aee(),u=oee(),d=ad(),f=od(),p=cd(),m=ld(),h=mee(),g=hee(),_=Pu(),v=Iu(),y=_ee(),b=$l(),x=md(),S=Yu(),C=Qu(),w=1,T=2,E=4,D=`[object Arguments]`,O=`[object Array]`,k=`[object Boolean]`,A=`[object Date]`,ee=`[object Error]`,te=`[object Function]`,ne=`[object GeneratorFunction]`,re=`[object Map]`,ie=`[object Number]`,ae=`[object Object]`,oe=`[object RegExp]`,j=`[object Set]`,se=`[object String]`,ce=`[object Symbol]`,M=`[object WeakMap]`,N=`[object ArrayBuffer]`,P=`[object DataView]`,le=`[object Float32Array]`,ue=`[object Float64Array]`,de=`[object Int8Array]`,fe=`[object Int16Array]`,pe=`[object Int32Array]`,me=`[object Uint8Array]`,he=`[object Uint8ClampedArray]`,ge=`[object Uint16Array]`,_e=`[object Uint32Array]`,ve={};ve[D]=ve[O]=ve[N]=ve[P]=ve[k]=ve[A]=ve[le]=ve[ue]=ve[de]=ve[fe]=ve[pe]=ve[re]=ve[ie]=ve[ae]=ve[oe]=ve[j]=ve[se]=ve[ce]=ve[me]=ve[he]=ve[ge]=ve[_e]=!0,ve[ee]=ve[te]=ve[M]=!1;function F(e,t,O,k,A,ee){var re,ie=t&w,oe=t&T,j=t&E;if(O&&(re=A?O(e,k,A,ee):O(e)),re!==void 0)return re;if(!b(e))return e;var se=_(e);if(se){if(re=m(e),!ie)return c(e,re)}else{var ce=p(e),M=ce==te||ce==ne;if(v(e))return s(e,ie);if(ce==ae||ce==D||M&&!A){if(re=oe||M?{}:g(e),!ie)return oe?u(e,o(re,e)):l(e,a(re,e))}else{if(!ve[ce])return A?e:{};re=h(e,ce,ie)}}ee||=new n;var N=ee.get(e);if(N)return N;ee.set(e,re),x(e)?e.forEach(function(n){re.add(F(n,t,O,n,e,ee))}):y(e)&&e.forEach(function(n,r){re.set(r,F(n,t,O,r,e,ee))});var P=se?void 0:(j?oe?f:d:oe?C:S)(e);return r(P||e,function(n,r){P&&(r=n,n=e[r]),i(re,r,F(n,t,O,r,e,ee))}),re}t.exports=F}));Pl();const hd=e=>typeof e==`object`&&!!e&&!Array.isArray(e),gd=(e,t)=>{if(!e.startsWith(`#`))return;let n;try{n=decodeURIComponent(e.slice(1))}catch{return}let r=`/components/${t}/`;if(!n.startsWith(r))return;let i=n.slice(r.length);if(!(i.length===0||i.includes(`/`)))return i.replace(/~1/g,`/`).replace(/~0/g,`~`)},yee=e=>gd(e,`securitySchemes`);var _d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const bee=(e,t)=>{if(!hd(e))return;let n=e.pathItems;if(!hd(n))return;let r=n[t];return hd(r)?r:void 0},vd=(e,t,n=/* @__PURE__ */ new Set)=>{if(!hd(e))return;let r=e.$ref;if(typeof r!=`string`)return e;let i=gd(r,`pathItems`);if(i===void 0||n.has(i))return;let a=bee(t,i);if(a===void 0)return;n.add(i);let{$ref:o}=a,s=_d(a,[`$ref`]),c=vd(a,t,n)??s,l=structuredClone(c);for(let[t,n]of Object.entries(e))t!==`$ref`&&n!==void 0&&(l[t]=t===`additionalOperations`&&hd(n)&&hd(l[t])?Object.assign(Object.assign({},l[t]),n):n);return l},yd=e=>hd(e)&&typeof e.$ref==`string`?gd(e.$ref,`pathItems`):void 0,xee=e=>yd(e)!==void 0,bd=e=>{let t=yd(e);return t===void 0?/* @__PURE__ */ new Set:/* @__PURE__ */ new Set([t])},xd=(e,t)=>{switch(e.code){case`invalid_type`:return e.received===`undefined`?{message:`This field is required`}:{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}};function Sd(e){return e.flatMap(e=>{if(typeof e==`string`)return[];let t=Sd(e.pages);return e.version!==void 0&&t.push(e.version),t})}function See({navigation:e,versions:t=[]},n){let r=Sd(e),i=t.map(e=>typeof e==`string`?e:e.url?void 0:e.name).filter(Boolean);r.forEach(e=>{i.includes(e)||n.addIssue({code:Fe.custom,message:`Version ${e} is not included in the versions array, but is used in the navigation. Please add ${e} to the versions array.`})})}const Cee=({anchors:e,navigation:t})=>e?.filter(e=>!e.url.startsWith(`mailto:`)&&!e.url.startsWith(`http://`)&&!e.url.startsWith(`https://`)&&!t.some(t=>Cd(t,e.url))).map((e,t)=>({code:Fe.custom,message:`No pages in the navigation match anchor ${e.url}`,path:[`anchors`,t,`url`]}))??[];function Cd(e,t){return typeof e==`string`?e.startsWith(t):e.pages.some(e=>Cd(e,t))}const wee=[Cee],Tee=e=>wee.flatMap(t=>t(e)),wd=/* @__PURE__ */ new Set([`anchors`,`dropdowns`,`languages`,`menu`,`pages`,`products`,`tabs`,`versions`,`groups`]),Eee={anchors:{anchor:`sourceRef`,href:`/sourceRef`},dropdowns:{dropdown:`sourceRef`,href:`/sourceRef`},languages:{language:`en`,href:`/sourceRef`},menu:{item:`sourceRef`,href:`/sourceRef`},pages:`sourceRef`,products:{product:`sourceRef`,href:`/sourceRef`},tabs:{tab:`sourceRef`,href:`/sourceRef`},versions:{version:`sourceRef`,href:`/sourceRef`},groups:{group:`sourceRef`,pages:[]}},Dee=Cl.strict();function Td(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&`sourceRef`in e}function Ed(e){return Td(e)&&typeof e.sourceRef==`string`}function Dd(e,t,n=[]){if(Td(e)){if(!t||!wd.has(t))return[{code:Fe.custom,path:n,message:`sourceRef is only supported as an element in navigation arrays`}];let r=Dee.safeParse(e);return r.success?[]:r.error.issues.map(e=>Object.assign(Object.assign({},e),{path:[...n,...e.path]}))}return Array.isArray(e)?e.flatMap((e,r)=>Dd(e,t,[...n,r])):typeof e!=`object`||!e?[]:Object.entries(e).flatMap(([e,t])=>Dd(t,e,[...n,e]))}function Od(e,t){return Ed(e)&&t&&wd.has(t)?Eee[t]:Array.isArray(e)?e.map(e=>Od(e,t)):typeof e!=`object`||!e?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Od(t,e)]))}const kd=Symbol(`strippedSourceRef`);function Ad(e){return Ed(e)?kd:Array.isArray(e)?e.map(e=>Ad(e)).filter(e=>e!==kd):typeof e!=`object`||!e?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Ad(t)]).filter(([,e])=>e!==kd))}function jd(e){let t=et();We(xd);let n=Pa.superRefine(See).safeParse(e);return We(t),n.success?Object.assign(Object.assign({},n),{warnings:Tee(n.data)}):n}function Md(e){let t=et();We(xd);let n=Sl.safeParse(e);return We(t),n.success?(n.data.packages===void 0&&delete n.data.packages,Object.assign(Object.assign({},n),{warnings:[]})):n}function Oee(e){let t=et();We(xd);let n=Dd(e),r=n.length>0?{success:!1,error:new Xe(n)}:Sl.safeParse(Od(e));return We(t),r.success?Object.assign(Object.assign({},r),{data:e,warnings:[]}):r}const Nd=` `,Pd=e=>Fd(e),Fd=(e,t=0)=>{let n=e.path.map(e=>typeof e==`string`?`.${e}`:`[${e}]`),r=e.code===`invalid_union`?e.unionErrors.flatMap((e,n)=>{let r=e.issues.map(e=>Fd(e,t+1));return r.unshift(`${Nd.repeat(t)} ${n+1}:`),r}):[];return r.unshift(`${Nd.repeat(t)}\#${n.join(``)}: ${e.message}`),r.join(`
|
|
18
|
+
var Ir=/* @__PURE__ */ a((e=>{var t=Symbol.for(`react.transitional.element`);function n(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.jsx=n,e.jsxs=n})),z=(/* @__PURE__ */ a(((e,t)=>{t.exports=Ir()})))();Ot.fileURLToPath(new URL(`.`,import.meta.url));const Lr=mt.homedir(),Rr=gt.join(Lr,`.mintlify`);let zr,Br,Vr,Hr,Ur,Wr,Gr,Kr,qr,Jr,Yr,Xr,Zr=`next`;const Qr=(e,t=`next`)=>{Zr=t,zr=gt.join(Rr,`previews`,t===`vite`?`${e}-beta`:e),Br=`${zr}-last`,Vr=gt.join(zr,`mint`),Hr=gt.join(Vr,`mint-version.txt`),Ur=gt.join(Vr,`apps`,t===`vite`?`client-vite`:`client`),Wr=t===`vite`?gt.join(Ur,`.mint-cli`):Ur;let n=gt.join(Vr,`node_modules`,`next`,`dist`,`server`);Gr=gt.join(n,`next.js`),Kr=gt.join(n,`lib`,`router-server.js`),qr=gt.join(Ur,`.next`,`required-server-files.json`),Jr=gt.join(Wr,`public`),Yr=gt.join(Wr,`src`,`_props`),Xr=gt.join(zr,`mint.tar.gz`)},$r=(e=3e3,t=`next`)=>{let n=Number(e);if(!Number.isInteger(n)||n<1||n>65535)throw Error(`invalid preview port: ${e}`);Qr(String(n),t)},ei=(e=`next`)=>{Qr(`shared`,e)};ei();const ti=`https://releases.mintlify.com`,ni=`${ti}/mint-version.txt`,ri=`${ti}/mint-version-map.json`,ii=process.cwd(),ai=`linked to local package`,oi=[`all`,`topLevel`,`topLevelOneOfs`,`none`],si=[`bash`,`python`,`javascript`,`php`,`go`,`java`,`ruby`],ci=[`auto`,`dark`],li=[`woff`,`woff2`],ui=[`x`,`website`,`facebook`,`youtube`,`discord`,`slack`,`github`,`linkedin`,`instagram`,`hacker-news`,`medium`,`telegram`,`twitter`,`x-twitter`,`earth-americas`,`bluesky`,`threads`,`reddit`,`podcast`],di=/* @__PURE__ */ `419.AD.AE.AF.AG.AI.AL.AM.AO.AQ.AR.AS.AT.AU.AW.AX.AZ.BA.BB.BD.BE.BF.BG.BH.BI.BJ.BL.BM.BN.BO.BQ.BR.BS.BT.BV.BW.BY.BZ.CA.CC.CD.CF.CG.CH.CI.CK.CL.CM.CN.CO.CR.CU.CV.CW.CX.CY.CZ.DE.DJ.DK.DM.DO.DZ.EC.EE.EG.EH.ER.ES.ET.FI.FJ.FK.FM.FO.FR.GA.GB.GD.GE.GF.GG.GH.GI.GL.GM.GN.GP.GQ.GR.GS.GT.GU.GW.GY.HK.HM.HN.HR.HT.HU.ID.IE.IL.IM.IN.IO.IQ.IR.IS.IT.JE.JM.JO.JP.KE.KG.KH.KI.KM.KN.KP.KR.KW.KY.KZ.LA.LB.LC.LI.LK.LR.LS.LT.LU.LV.LY.MA.MC.MD.ME.MF.MG.MH.MK.ML.MM.MN.MO.MP.MQ.MR.MS.MT.MU.MV.MW.MX.MY.MZ.NA.NC.NE.NF.NG.NI.NL.NO.NP.NR.NU.NZ.OM.PA.PE.PF.PG.PH.PK.PL.PM.PN.PR.PS.PT.PW.PY.QA.RE.RO.RS.RU.RW.SA.SB.SC.SD.SE.SG.SH.SI.SJ.SK.SL.SM.SN.SO.SR.SS.ST.SV.SX.SY.SZ.TC.TD.TF.TG.TH.TJ.TK.TL.TM.TN.TO.TR.TT.TV.TW.TZ.UA.UG.UM.US.UY.UZ.VA.VC.VE.VG.VI.VN.VU.WF.WS.YE.YT.ZA.ZM.ZW`.split(`.`),fi=/* @__PURE__ */ `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.nb.da.lv.nl.uk.vi.pl.uz.he.ca.fi.hu`.split(`.`),pi={en:`English`,cn:`Chinese`,zh:`Chinese`,"zh-Hans":`Simplified Chinese`,"zh-Hant":`Traditional Chinese`,"zh-CN":`Simplified Chinese`,"zh-TW":`Traditional Chinese`,es:`Spanish`,fr:`French`,"fr-CA":`Canadian French`,"fr-ca":`Canadian French`,ja:`Japanese`,jp:`Japanese`,"ja-jp":`Japanese`,"ja-JP":`Japanese`,pt:`Portuguese`,"pt-BR":`Brazilian Portuguese`,de:`German`,ko:`Korean`,it:`Italian`,ru:`Russian`,ro:`Romanian`,cs:`Czech`,id:`Indonesian`,ar:`Arabic`,tr:`Turkish`,hi:`Hindi`,sv:`Swedish`,no:`Norwegian`,nb:`Norwegian Bokmål`,da:`Danish`,lv:`Latvian`,nl:`Dutch`,uk:`Ukrainian`,vi:`Vietnamese`,pl:`Polish`,uz:`Uzbek`,he:`Hebrew`,ca:`Catalan`,fi:`Finnish`,hu:`Hungarian`},mi={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:`🇳🇴`,nb:`🇳🇴`,da:`🇩🇰`,lv:`🇱🇻`,nl:`🇳🇱`,uk:`🇺🇦`,vi:`🇻🇳`,pl:`🇵🇱`,uz:`🇺🇿`,he:`🇮🇱`,ca:`🇪🇸`,fi:`🇫🇮`,hu:`🇭🇺`},hi=/* @__PURE__ */ `en.zh.es.fr.ja.pt.de.ko.it.ru.ro.cs.id.ar.tr.hi.sv.no.nb.da.lv.nl.uk.vi.pl.uz.he.ca.fi.hu`.split(`.`),gi=new Set(fi),_i=new Set(hi),vi=new Set(di),yi=e=>gi.has(e),bi=e=>_i.has(e),xi=e=>{let[t,n,...r]=e.split(`-`),i=n?.toUpperCase();return t&&bi(t)&&i&&vi.has(i)&&!r.length?`${t}-${i}`:yi(e)?e:void 0};[...fi],Object.values(pi),Object.values(mi);const Si=[`venus`,`quill`,`prism`],Ci=[`typedoc`,`docfx`,`javadoc`,`sphinx`,`phpdoc`,`go`],wi=[`package`,`class`,`interface`,`enum`,`function`,`type`,`variable`,`method`,`property`],Ti=[`topnav`,`sidenav`,`solidSidenav`],Ei=[`default`,`sharp`],Di=F({launchUrl:M().url(`Must be a valid URL`)}),Oi=F({apiKey:M()}),ki=F({publicApiKey:M()}),Ai=F({siteId:M()}),ji=F({measurementId:M().startsWith(`G`,`Must start with G`)}),Mi=F({tagId:M().startsWith(`G`,`Must start with G`)}),Ni=F({hjid:M(),hjsv:M()}),Pi=F({publicApiKey:M().min(2)}),Fi=F({appId:M()}),Ii=F({projectToken:M(),region:x([`us`,`eu`,`in`]).optional()}),Li=F({id:M()}),Ri=F({apiKey:M().startsWith(`phc_`,`Must start with phc_`),apiHost:M().url(`Must be a valid URL`).optional(),sessionRecording:C().optional()}),zi=F({domain:M().refine(e=>!e.startsWith(`https://`),`Must not start with https://`),server:M().refine(e=>!e.startsWith(`https://`),`Must not start with https://`).optional()}),Bi=F({appId:M()}),Vi=F({writeKey:M(),apiHost:M().optional()}),Hi=F({projectId:M()}),Ui=F({key:M(),cdnUrl:M().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()}),Wi=F({adobe:Di.optional(),amplitude:Oi.optional(),clarity:Hi.optional(),clearbit:ki.optional(),fathom:Ai.optional(),ga4:ji.optional(),gtm:Mi.optional(),heap:Bi.optional(),hightouch:Vi.optional(),hotjar:Ni.optional(),koala:Pi.optional(),logrocket:Fi.optional(),mixpanel:Ii.optional(),pirsch:Li.optional(),posthog:Ri.optional(),plausible:zi.optional(),segment:Ui.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.`),Gi=M().regex(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,`Must be a hex color string, with a leading #`),Ki=F({from:Gi,via:Gi.optional(),to:Gi}),qi=s([Gi,Ki.strict()]),Ji=M().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(),Yi=F({name:M().trim().nonempty(),url:M().trim().nonempty(),icon:M({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:x(ee).optional(),color:qi.optional(),isDefaultHidden:C().optional(),version:M({invalid_type_error:`Version must be a string in the #.versions array`}).optional(),openapi:Ji}),Xi=F({name:M(),icon:M().optional(),iconType:x(ee).optional()}).strict(),Zi=e=>{if(!e||typeof e!=`string`)return!1;try{return URL.canParse(e)}catch{return!1}},Qi=M().trim().nonempty().transform((e,t)=>{if(Zi(e)){try{let n=new URL(e);if(n.protocol!==`https:`&&n.protocol!==`http:`)return t.addIssue({code:Fe.custom,message:`Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}return T(e)}),$i=s([Qi,he(Qi)]).describe(`A string or an array of strings of absolute or relative urls pointing to your OpenAPI files`),ea=F({baseUrl:s([M().url(),he(M().url())]).optional(),auth:F({method:x([`bearer`,`basic`,`key`,`cobo`]).optional(),name:M().optional(),inputPrefix:M().optional()}).strict().optional(),playground:F({mode:x([`show`,`simple`,`hide`]).optional().default(`show`),disableProxy:C().optional()}).optional(),request:F({example:F({showOptionalParams:C().optional(),languages:he(s([x(si),M()])).optional()}).optional()}).optional(),maintainOrder:C().optional(),paramFields:F({expanded:x(oi).optional(),post:he(M()).optional()}).optional()}).strict(),ta=F({style:x([`gradient`,`grid`,`windows`]).optional()}),na=M().trim().nonempty(),ra=s([M().min(3,`Must be a path to your logo file including the file extension`),F({light:M(),dark:M(),href:M().optional()})]),ia=F({default:x([`light`,`dark`]).optional(),isHidden:C().optional()}),aa=F({display:x([`section`,`breadcrumbs`]).optional()}),oa=C(),sa=Se(M(),M().nonempty()),ca=F({mode:x(ci).optional()}),la=F({thumbsRating:C().optional(),suggestEdit:C().optional(),raiseIssue:C().optional()}),ua=F({prompt:M().optional(),location:x([`side`,`top`]).optional()}),da=F({source:M(),destination:M(),permanent:C().optional()}),fa=he(da).refine(e=>{let t=e.map(e=>e.source);return new Set(t).size===t.length},`Each source path can only be used once`),pa=s([F({type:L(`link`).optional(),name:M(),url:M().nonempty(),style:x([`pill`,`roundedRectangle`]).optional(),arrow:C().optional()}).strict(),F({type:L(`github`),url:M().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" }`),ma=F({primary:Gi,light:Gi.optional(),dark:Gi.optional(),background:F({light:Gi.optional(),dark:Gi.optional()}).optional(),anchors:qi.optional(),ultraLight:d().optional(),ultraDark:d().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" } }`),ha=M().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`),ga=F({family:M().describe(`The font family, such as "Open Sans", "Playfair Display"`),weight:be().optional().describe(`The font weight, such as 400, 700. Precise font weights such as 550 are supported for variable fonts.`),url:M().url().optional().describe(`The font url, such as https://mintlify-assets.b-cdn.net/fonts/Hubot-Sans.woff2`),format:x(li).optional().describe(`The font format, can be one of woff, woff2`)}).refine(e=>!e.url||!!e.format),_a=s([ga,F({headings:ga.optional(),body:ga.optional()}).strict()]),va=F({label:M().nonempty(`Link must have a non-empty label`),url:s([M().url(`Must be a valid URL`),M().startsWith(`/`,`Must be a valid relative url starting with /`)])}),ya=F({title:M().nonempty(`Column must have a non-empty title`).optional(),links:he(va).min(1,`Column must have at least 1 link`)}),ba=s([Se(x(ui),M().url(`Must be a valid URL`)),he(F({type:x(ui),url:M().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" }`),xa=F({socials:ba.optional(),links:he(ya).min(1,`A footer must have at least 1 links column`).max(4,`A footer can have a maximum of 4 links columns`).optional()}),Sa=M().min(6,`Must be a valid Intercom app ID`),Ca=M().min(6,`Must be a valid Front chat snippet id`),wa=F({intercom:Sa.optional(),frontchat:Ca.optional()}),Ta=F({group:M().describe(`The label for this group in the navigation sidebar`),public:C().optional().describe(`Whether this group is public or not`),icon:M().optional(),iconType:x(ee).optional(),version:M().optional()}).strict().extend({pages:k(()=>he(s([Ta,M().nonempty().transform(T)])).nonempty())}),Ea=he(Ta).min(1),Da=F({indexHiddenPages:C().optional()}),Oa=F({items:x([`container`,`card`,`border`,`undecorated`]).optional()}),ka=F({name:M().trim().nonempty(),url:M().trim().nonempty(),version:M().optional(),isDefaultHidden:C().optional(),openapi:Ji}).array(),Aa=F({name:M(),isDefaultHidden:C().optional()}).strict(),ja=F({style:x([`gradient`,`default`]).optional()}),Ma=s([M(),F({name:M().nonempty(),url:M().url().nonempty().optional(),default:L(!0).optional(),locale:x(fi).optional()}).strict()]),Na=he(Ma).min(1).refine(e=>e.filter(e=>typeof e==`object`&&e.default).length<=1,`Only one version can be set as default`),Pa=F({$schema:M().url().optional().default(`https://mintlify.com/schema.json`),mintlify:M().optional(),name:na,logo:ra.optional(),theme:x(Si).optional(),layout:x(Ti).optional(),favicon:ha,openapi:$i.optional(),topbar:ja.optional(),sidebar:Oa.optional(),rounded:x(Ei).optional(),api:ea.optional(),modeToggle:ia.optional(),versions:Na.optional(),metadata:sa.optional(),codeBlock:ca.optional(),colors:ma,eyebrow:aa.optional(),topbarCtaButton:pa.optional(),topbarLinks:pa.array().optional(),navigation:Ea,primaryTab:Aa.optional(),topAnchor:Xi.optional(),anchors:Yi.array().optional(),tabs:ka.optional(),footer:xa.optional(),background:ta.optional(),backgroundImage:M().optional(),font:_a.optional(),feedback:la.optional(),analytics:Wi.optional(),integrations:wa.optional(),isWhiteLabeled:oa.optional(),search:ua.optional(),redirects:fa.optional(),seo:Da.optional(),footerSocials:ba.optional()}),Fa={mint:2},Ia=e=>be().int().min(1).max(e).describe(`The version of the theme to use, from 1 to ${e}. Defaults to 1, the original version.`),La=M().url().optional().default(`https://mintlify.com/docs.json`).describe(`The URL of the schema file`),Ra=M().trim().nonempty().transform((e,t)=>{if(Zi(e)){try{let n=new URL(e);if(n.protocol!==`https:`&&n.protocol!==`http:`)return t.addIssue({code:Fe.custom,message:`Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}return T(e)}),za=F({source:Ra,directory:M().trim().optional()}).strict(),Ba=s([Ra,he(Ra),za]).describe(`A string or an array of strings of absolute or relative urls pointing to the AsyncAPI file(s)`),Va=M().trim().nonempty().transform((e,t)=>{if(Zi(e)){try{let n=new URL(e);if(n.protocol!==`https:`&&n.protocol!==`http:`)return t.addIssue({code:Fe.custom,message:`Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}return T(e)}),Ha=F({source:Va,directory:M().trim().optional(),overlays:he(Va).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(),Ua=s([Va,he(s([Va,Ha])),Ha]).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`),Wa=e=>e==null?[]:typeof e==`string`?[{source:e}]:Array.isArray(e)?e.map(e=>typeof e==`string`?{source:e}:{source:e.source,directory:e.directory,overlays:e.overlays}):[{source:e.source,directory:e.directory,overlays:e.overlays}],Ga=F({openapi:Ua.optional(),asyncapi:Ba.optional(),params:F({expanded:x([`all`,`closed`]).optional().describe("The view mode of the API parameters. Defaults to `closed`."),post:he(M()).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`),optional:x([`static`,`expanded`,`collapsed`]).optional().describe("How optional request fields display in the API playground. `collapsed` hides them behind an expand control, `expanded` shows them with the control available, and `static` always shows them after required fields with no control. Defaults to `collapsed`."),playground:F({display:x([`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:C().optional().describe("Whether to pass API requests through a proxy server. Defaults to `true`."),credentials:C().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:F({defaults:x([`required`,`all`]).optional().describe("Whether to show only required parameters in the examples, defaults to `all`."),languages:he(M()).optional().describe(`Example languages for the autogenerated API snippets`),prefill:C().optional().describe(`Whether to prefill the API playground with the examples`),autogenerate:C().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 `<RequestExample>` components in the MDX files) will be shown.")}).optional().describe(`Configurations for the autogenerated API examples`),url:x([`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:F({auth:F({method:x([`bearer`,`basic`,`key`,`cobo`]).optional().describe(`Authentication method for the API`),name:M().optional().describe(`Authentication name for the API`)}).optional().describe(`Authentication configuration for the API`),server:s([M().url(),he(M().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`),Ka=F({default:x([`system`,`light`,`dark`]).optional().describe("The default light/dark mode. Defaults to `system`."),strict:C().optional().describe("Whether to hide the light / dark mode toggle. Defaults to `false`.")}).describe(`Light / dark mode toggle settings`),qa=M().regex(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,`Must be a hex color string, with a leading #`),Ja=F({light:qa.describe(`The color in hex format to use in light mode`).optional(),dark:qa.describe(`The color in hex format to use in dark mode`).optional()}).strict(),Ya=F({image:s([M().describe(`Path or URL pointing to the background image file, including the file extension. Used for both light and dark mode.`),F({light:M().describe(`The file for the light version of the background image used in dark mode, including the file extension.`),dark:M().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:x([`gradient`,`grid`,`windows`]).optional().describe(`The background decoration of the theme`),color:F({light:qa.describe(`The background color in light mode`).optional(),dark:qa.describe(`The background color in dark mode`).optional()}).strict().optional().describe(`The colors of the background`)}).describe(`Background color and decoration settings`),Xa=F({content:M().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:C().optional().describe(`Whether to show the dismiss button on the right side of the banner`),type:x([`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:Ja.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.`),Za=F({primary:qa.describe(`The primary color`),light:qa.optional().describe(`The light color. Used primary in dark mode.`),dark:qa.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" } }.`),Qa=M().trim().describe(`Overview of the project. Used for SEO and AEO.`),$a=F({404:F({redirect:C().optional().default(!0).describe(`Whether to redirect to the home page, if the page is not found. When false, displays a 404 page.`),title:M().optional().describe(`The title of the error page`),description:M().optional().describe(`The description of the error page. Supports MDX formatting including links, bold, italic text, and custom components.`)})}).describe(`Error pages configuration`),eo=s([M().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.`),F({light:M().describe(`The file for the light version of the favicon used in dark mode, including the file extension.`),dark:M().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.`),to=M().trim().nonempty().transform((e,t)=>{if(Zi(e)){try{let n=new URL(e);if(n.protocol!==`https:`&&n.protocol!==`http:`)return t.addIssue({code:Fe.custom,message:`Must use protocol https or http. Urls with 'http://' are only supported with cli option --local-schema`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}return T(e)}),no=F({family:M().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:be().optional().describe("The font weight. Typically `400` for regular and `700` for bold. Variable fonts support precise weights like `550`."),source:to.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:x(li).optional().describe("File format of the self-hosted font. Required when `source` is set.")}),ro=e=>!e.source||!!e.format,io={message:"`format` is required when `source` is set",path:[`format`]},ao=no.refine(ro,io),oo=s([ao,F({heading:ao.optional().describe("Font settings applied to all headings (`h1`–`h6`)."),body:ao.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."),so=[`https:`],co=[`.svg`,`.exe`,`.zip`];function lo(e){let t=e,n=t.indexOf(`#`);n!==-1&&n!==0&&(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{if(!t.startsWith(`mailto:`)){let e=t.indexOf(`?`);if(e!==-1){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}const uo=M().refine(e=>{if(e.startsWith(`/`)||e.startsWith(`#`)||e.startsWith(`mailto:`))return!0;try{return new URL(e),!0}catch{return!1}},{message:`Must be a valid URL or relative path`}).describe(`A valid path or external link`),fo=M().transform(lo).refine(e=>{if(e.startsWith(`//`))return!1;if(e.startsWith(`/`)||e.startsWith(`mailto:`)||e.startsWith(`#`))return!0;try{let t=new URL(e),n=so.includes(t.protocol),r=decodeURIComponent(t.pathname).toLowerCase(),i=!co.some(e=>r.endsWith(e));return n&&i}catch{return!1}},{message:`Must be a valid url or relative path.`}),po=[`https:`],mo=[`.svg`,`.exe`,`.zip`],ho=M().url().transform(lo).refine(e=>{try{let t=new URL(e),n=po.includes(t.protocol),r=decodeURIComponent(t.pathname).toLowerCase(),i=!mo.some(e=>r.endsWith(e));return n&&i}catch{return!1}},{message:`Must be a valid HTTPS URL.`}),go=F({label:M().nonempty(`Link must have a non-empty label`).describe(`The label of the link`),href:fo.describe(`The url of the link`)}),_o=F({header:M().nonempty(`Column must have a non-empty header`).optional().describe(`The header title of the column`),items:he(go).min(1,`Column must have at least 1 link`).describe(`The links to be displayed in the column`)}),vo=Se(x(ui),ho.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.`),yo=F({socials:vo.optional(),links:he(_o).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`),bo=F({library:x(P).describe("The icon library used for all icon properties. Defaults to `fontawesome`.")}).describe(`Icon library settings`),xo=F({launchUrl:M().url(`Must be a valid URL`)}),So=F({apiKey:M()}),Co=F({publicApiKey:M()}),wo=F({siteId:M()}),To=F({measurementId:M().startsWith(`G`,`Must start with G`)}),Eo=F({tagId:M().startsWith(`G`,`Must start with G`)}),Do=F({hjid:M(),hjsv:M()}),Oo=F({publicApiKey:M().min(2)}),ko=F({appId:M()}),Ao=F({projectToken:M(),region:x([`us`,`eu`,`in`]).optional()}),jo=F({id:M()}),Mo=F({apiKey:M().startsWith(`phc_`,`Must start with phc_`),apiHost:M().url(`Must be a valid URL`).optional(),sessionRecording:C().optional()}),No=F({domain:M().refine(e=>!e.startsWith(`https://`),`Must not start with https://`),server:M().refine(e=>!e.startsWith(`https://`),`Must not start with https://`).optional()}),Po=F({appId:M()}),Fo=F({writeKey:M(),apiHost:M().optional()}),Io=F({projectId:M()}),Lo=F({key:M(),cdnUrl:M().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{return!0}},`Must not contain query parameters or fragments`).optional()}),Ro=F({domainScript:M().min(1,`Domain script is required`),categoryId:M().min(1,`Category ID is required`).optional(),scriptSource:M().url(`Must be a valid URL`).refine(e=>e.startsWith(`https://`),`Must be an HTTPS URL`).optional()}),zo=F({bundleId:M().trim().regex(/^[a-zA-Z0-9_-]+$/,`Bundle ID must contain only letters, numbers, hyphens, or underscores`),analyticsPurpose:M().trim().min(1).max(100).optional()}),Bo=F({appId:M().min(6,`Must be a valid Intercom app ID`)}),Vo=F({snippetId:M().min(6,`Must be a valid Front chat snippet id`)}),Ho=F({enabled:C().optional()}),Uo=F({key:M().optional(),value:M().optional()}),Wo=[`.svg`,`.exe`,`.zip`];F({src:M().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!Wo.some(e=>n.endsWith(e))}catch{return!1}},`URL must not point to a disallowed file type (e.g. .svg, .exe, .zip)`),strategy:x([`beforeInteractive`,`afterInteractive`,`lazyOnload`]).optional()});const Go=F({adobe:xo.optional(),amplitude:So.optional(),clarity:Io.optional(),clearbit:Co.optional(),fathom:wo.optional(),frontchat:Vo.optional(),ga4:To.optional(),gtm:Eo.optional(),heap:Po.optional(),hightouch:Fo.optional(),hotjar:Do.optional(),intercom:Bo.optional(),koala:Oo.optional(),logrocket:ko.optional(),mixpanel:Ao.optional(),onetrust:Ro.optional(),pirsch:jo.optional(),posthog:Mo.optional(),plausible:No.optional(),segment:Lo.optional(),telemetry:Ho.optional(),cookies:Uo.optional(),transcend:zo.optional()}).strict().describe(`Configurations for official integrations`),Ko=F({drilldown:C().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`),qo=s([M().min(3,`Must be a path to your logo file including the file extension`).describe(`The logo (for both light and dark mode)`),F({light:M().describe(`The file for the light version of the logo used in dark mode, including the file extension.`),dark:M().describe(`The file for the dark version of the logo used in light mode, including the file extension.`),href:uo.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.`),Jo=F({schema:C().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([M(),he(M())]).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`),Yo=F({timestamp:C().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`),Xo=M().trim().nonempty().describe(`The name of the project`),Zo=F({icon:y.optional(),href:uo}),Qo=Zo.extend({label:M(),type:M().optional()}),$o=Zo.extend({label:M().optional(),type:L(`github`)}),es=Zo.extend({label:M().optional(),type:L(`discord`)}),ts=s([$o,es,Qo]),ns=F({type:L(`button`),label:M(),href:uo}),rs=F({type:L(`github`),label:M().optional(),href:uo}),is=F({type:L(`discord`),label:M().optional(),href:uo}),as=_e(`type`,[ns,rs,is]),os=F({links:he(ts).optional().describe(`The links in the navbar`),primary:as.optional().describe(`The primary CTA in the navbar`)}).describe(`Navbar content and settings`),ss=M().trim().nonempty().transform((e,t)=>{if(!Zi(e))return T(e);try{if(new URL(e).protocol!==`https:`)return t.addIssue({code:Fe.custom,message:`Must be a local path or a valid HTTPS URL.`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}),cs=F({source:ss,directory:M().trim().nonempty().transform(T).optional()}).strict(),ls=s([ss,cs]).describe(`A local path or HTTPS URL pointing to a GraphQL SDL schema`),us=D().optional(),ds=M().trim().nonempty().refine(e=>!Zi(e),{message:`Must be a local path to an MCP definition JSON file.`}).transform(T),fs=F({source:ds,directory:M().trim().nonempty().transform(T).optional()}).strict(),ps=s([ds,fs]).describe(`A local path to an MCP definition JSON file with tools and resources`),ms=D().optional(),hs=x(Ci).describe(`The documentation generator that produced the artifact`),gs=M().trim().nonempty().transform((e,t)=>{if(!Zi(e))return T(e);try{if(new URL(e).protocol!==`https:`)return t.addIssue({code:Fe.custom,message:`Must be a local path or a valid HTTPS URL.`}),ft}catch{return t.addIssue({code:Fe.custom,message:`Invalid URL`}),ft}return e}).describe(`Relative path or HTTPS URL of the generator artifact; directory-shaped formats accept a zip (or javadoc jar) when remote`),_s=F({format:hs,source:gs,directory:M().trim().nonempty().transform(T).optional()}).strict().describe(`Generate SDK reference pages from a documentation generator artifact`),vs=D().optional(),ys=C().describe(`Whether the current option is default hidden`),bs=[`anchors`,`dropdowns`,`languages`,`tabs`,`versions`,`menu`,`products`],xs=[`tab`,`dropdown`,`anchor`,`language`,`product`,`version`,`item`],Ss={anchors:`anchor`,dropdowns:`dropdown`,languages:`language`,tabs:`tab`,versions:`version`,menu:`item`,products:`product`};var Cs;(function(e){e.Light=`light`,e.Dark=`dark`})(Cs||={});const ws=no.pick({family:!0}).extend({source:no.shape.source.describe("URL or path to a self-hosted font file. Example: `/fonts/custom.woff` or `https://cdn.example.com/font.woff`."),format:x([`woff`,`ttf`,`otf`]).optional().describe("File format of the self-hosted font. Required when `source` is set. Thumbnails support `woff`, `ttf` and `otf`, but not `woff2`.")}).refine(ro,io).describe("The font for thumbnail titles and descriptions. With a `preset`, the eyebrow stays in a monospace font."),Ts=F({source:x([`group`,...xs,`none`]).optional().describe("The navigation level whose name is shown above the title. `none` hides it. Defaults to `group`."),style:x([`plain`,`bar`,`pill`]).optional().describe(`How the eyebrow is drawn. Defaults to the style of the preset.`),color:qa.optional().describe(`The eyebrow color. Defaults to the primary color.`)}).describe(`The label shown above the page title.`),Es=F({preset:x([`classic`,`headline`,`minimal`]).optional().describe(`The thumbnail layout. When unset, thumbnails use the current layout.`),appearance:x([Cs.Light,Cs.Dark]).optional().describe(`Whether to render page thumbnails in light or dark mode. When unset, thumbnails are auto-generated from your theme colors.`),surface:x([`neutral`,`brand`]).optional().describe("Whether the thumbnail uses a neutral background or fills it with your brand color. Defaults to `brand`."),background:M().optional().describe(`Background image for the thumbnail. Can be an absolute URL or relative path.`),fonts:ws.optional(),eyebrow:Ts.optional()}),Ds=Es.pick({preset:!0,appearance:!0,surface:!0,background:!0}).extend({eyebrow:M().optional().describe(`Text shown above the title on this thumbnail. An empty string hides it.`)}).describe("Thumbnail settings for pages in this group or division, or for this page in frontmatter. Each key overrides the nearest parent and `thumbnails` in docs.json."),Os={thumbnail:Ds.optional()},ks=e=>{let t=e.toLowerCase();return xi(t)??fi.find(e=>e.toLowerCase()===t)},As=e=>{let t=JSON.stringify(e),n=typeof e==`string`?ks(e):void 0;return n?`Invalid language code ${t}. Did you mean "${n}"?`:`Invalid language code ${t}. Use a supported language code such as "en" or "es", optionally followed by a two-letter region such as "en-GB" or "es-MX"`},js=RegExp(`^(?:${hi.join(`|`)})-(?:${di.map(e=>[...e].map(e=>{let t=e.toLowerCase();return t===e?e:`[${e}${t}]`}).join(``)).join(`|`)})$`),Ms=M({errorMap:(e,t)=>({message:e.code===`invalid_string`?As(t.data):t.defaultError})}).regex(js).and(pe()),Ns=s([x(fi),Ms]).describe(`Language code, such as "en" or "en-GB"`),Ps=C().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.`),Fs=F({type:L(`link`),title:M().trim().min(1),href:M().url().refine(e=>/^https?:\/\//i.test(e),`Use an HTTP or HTTPS URL`)}),Is=k(()=>s([ie,Fs,Ws])),Ls=k(()=>s([ne,Gs])),Rs=he(Is).describe(`An array of page paths, groups, or external links`),zs=he(Ls).describe(`An array of page metadata or groups`);var Bs=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const Vs={directory:x([`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.`)},Hs=F(Object.assign(Object.assign({group:M().nonempty().describe(`The name of the group`),mcp:ps.optional(),public:C().optional().describe(`Whether the group is public`),boost:be().optional().describe(`Search ranking multiplier for pages in this group (e.g. 3 = 3x boost)`),icon:y.optional(),hidden:ys.optional(),searchable:Ps.optional(),root:ie.optional(),tag:M().optional().describe(`Tag for the group`),expanded:C().optional().describe(`Whether the group is expanded by default`)},Vs),Os)),Us=e=>e.optional().catch(void 0),Ws=Hs.extend({sdk:_s.optional(),graphql:ls.optional(),openapi:Us(Ua),asyncapi:Us(Ba).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:k(()=>Rs).default([])}).transform(e=>{if(e.openapi===void 0||e.asyncapi===void 0)return e;let{asyncapi:t}=e;return Bs(e,[`asyncapi`])}).describe(`Organizing by groups`),Gs=F(Object.assign(Object.assign({group:M().nonempty().describe(`The name of the group`),public:C().optional().describe(`Whether the group is public`),boost:be().optional().describe(`Search ranking multiplier for pages in this group (e.g. 3 = 3x boost)`),icon:y.optional(),hidden:ys.optional(),searchable:Ps.optional(),root:ne.optional(),pages:k(()=>zs),tag:M().optional().describe(`Tag for the group`),expanded:C().optional().describe(`Whether the group is expanded by default`)},Vs),Os)).describe(`Organizing by groups`),Ks=he(Ws).min(1,`At least one group must be specified`).describe(`Organizing by groups`),qs=he(Gs).min(1,`At least one group must be specified`).describe(`Organizing by groups`),Js=F(Object.assign(Object.assign({version:M().nonempty().describe(`The name of the version`),graphql:us,mcp:ms,sdk:vs,default:C().optional().describe(`Whether this version is the default version`),tag:M().optional().describe(`Tag for the version`),hidden:ys.optional()},Vs),Os)),Ys=Js.extend({href:uo}),Xs=s([Js.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Js.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),Zs=Js.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])),Qs=he(Xs).min(1,`At least one version must be specified`).describe(`Organizing by versions`),$s=he(Zs).min(1,`At least one version must be specified`).describe(`Organizing by versions`),ec=x([`start`,`end`]).describe(`Tab alignment in the navigation`),tc=F(Object.assign(Object.assign({tab:M().nonempty().describe(`The name of the tab`),mcp:ps.optional(),icon:y.optional(),hidden:ys.optional(),searchable:Ps.optional(),align:ec.optional()},Vs),Os)),nc=tc.extend({href:uo,graphql:us,mcp:ms,sdk:vs}),rc=s([tc.extend({graphql:ls,mcp:ms}).strict(),tc.extend({groups:k(()=>Ks),graphql:ls,mcp:ms}).strict(),tc.extend({mcp:ps}).strict(),tc.extend({groups:k(()=>Ks),mcp:ps}).strict(),tc.extend({sdk:_s,mcp:ms}).strict(),tc.extend({groups:k(()=>Ks),sdk:_s,mcp:ms}).strict(),tc.extend({href:uo,graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({languages:k(()=>Sc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({versions:k(()=>Qs),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({dropdowns:k(()=>kc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({anchors:k(()=>Fc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({products:k(()=>hc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({groups:k(()=>Ks),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({pages:k(()=>Rs),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({menu:k(()=>uc),graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),tc.extend({graphql:us,mcp:ms,sdk:vs,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),ic=tc.and(F({graphql:us,mcp:ms,sdk:vs})).and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()})),k(()=>F({menu:dc,global:wc.optional()}))])),ac=he(rc).min(1,`At least one tab must be specified`).describe(`Organizing by tabs`),oc=he(ic).min(1,`At least one tab must be specified`).describe(`Organizing by tabs`),sc=F(Object.assign(Object.assign({item:M().nonempty().describe(`The name of the menu item`),graphql:us,mcp:ms,sdk:vs,icon:y.optional(),description:M().optional().describe(`The description of the menu item`),hidden:ys.optional()},Vs),Os));sc.extend({href:uo});const cc=s([sc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),sc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),lc=sc.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])),uc=he(cc).describe(`Organizing by menu`),dc=he(lc).min(1,`At least one menu item must be specified`).describe(`Organizing by menu`),fc=F(Object.assign(Object.assign({product:M().nonempty().describe(`The name of the product`),graphql:us,mcp:ms,sdk:vs,name:M().optional().describe(`Display name for the product`),icon:y.optional(),color:Ja.optional(),description:M().optional().describe(`The description of the product`),hidden:ys.optional()},Vs),Os)),pc=s([fc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({menu:k(()=>uc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),fc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),mc=fc.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()})),k(()=>F({menu:dc,global:wc.optional()}))])),hc=he(pc).describe(`Organizing by products`),gc=he(mc).min(1,`At least one product must be specified`).describe(`Organizing by products`),_c=fc.extend({href:uo}),vc=F(Object.assign(Object.assign({language:Ns,graphql:us,mcp:ms,sdk:vs,default:C().optional().describe(`Whether this language is the default language`),banner:Xa.optional().describe(`Banner configuration specific to this language`),footer:yo.optional().describe(`Footer configuration specific to this language`),navbar:os.optional().describe(`Navbar configuration specific to this language`),hidden:ys.optional()},Vs),Os)),yc=vc.extend({href:uo}),bc=s([vc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),vc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]).describe(`Organizing by languages`),xc=vc.and(s([F({href:uo}),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])).describe(`Organizing by languages`),Sc=he(bc).min(1,`At least one language must be specified`).describe(`Organizing by languages`),Cc=he(xc).min(1,`At least one language must be specified`).describe(`Organizing by languages`),wc=k(()=>F({languages:he(yc).optional(),versions:he(Ys).optional(),tabs:he(nc).optional(),dropdowns:he(Ec).optional(),anchors:he(Mc).optional(),products:he(_c).optional()}).strict()).describe(`Add external links that will appear on all sections and pages irregardless of navigation nesting`),Tc=F(Object.assign(Object.assign({dropdown:M().nonempty().describe(`The name of the dropdown`),graphql:us,mcp:ms,sdk:vs,icon:y.optional(),color:Ja.optional(),description:M().optional().describe(`The description of the dropdown`),hidden:ys.optional()},Vs),Os)),Ec=Tc.extend({href:uo}),Dc=s([Tc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({anchors:k(()=>Fc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),Tc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),Oc=Tc.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({anchors:Ic,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])),kc=he(Dc).describe(`Organizing by dropdowns`),Ac=he(Oc).min(1,`At least one dropdown must be specified`).describe(`Organizing by dropdowns`),jc=F(Object.assign(Object.assign({anchor:M().nonempty().describe(`The name of the anchor`),graphql:us,mcp:ms,sdk:vs,icon:y.optional(),color:Ja.optional(),hidden:ys.optional()},Vs),Os)),Mc=jc.extend({href:uo}),Nc=s([jc.extend({href:uo,openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc.optional())}),jc.extend({languages:k(()=>Sc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({versions:k(()=>Qs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({dropdowns:k(()=>kc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({tabs:k(()=>ac),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({products:k(()=>hc),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({groups:k(()=>Ks),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({pages:k(()=>Rs),openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()}),jc.extend({openapi:Ua.optional(),asyncapi:Ba.optional(),global:k(()=>wc).optional()})]),Pc=jc.and(s([F({href:uo}),k(()=>F({languages:Cc,global:wc.optional()})),k(()=>F({versions:$s,global:wc.optional()})),k(()=>F({dropdowns:Ac,global:wc.optional()})),k(()=>F({tabs:oc,global:wc.optional()})),k(()=>F({products:gc,global:wc.optional()})),k(()=>F({groups:qs,global:wc.optional()})),k(()=>F({pages:zs,global:wc.optional()}))])),Fc=he(Nc).min(1,`At least one anchor must be specified`).describe(`Organizing by anchors`),Ic=he(Pc).describe(`Organizing by anchors`),Lc=F(Object.assign({global:wc.optional(),graphql:us,mcp:ms,sdk:vs},Vs)),Rc=s([Lc.extend({products:hc}),Lc.extend({languages:Sc}),Lc.extend({versions:Qs}),Lc.extend({tabs:ac}),Lc.extend({dropdowns:kc}),Lc.extend({anchors:Fc}),Lc.extend({groups:Ks}),Lc.extend({pages:Rs})]).describe(`The navigation structure of the content`);s([F({products:gc}),F({languages:Cc}),F({versions:$s}),F({tabs:oc}),F({dropdowns:Ac}),F({anchors:Ic}),F({groups:qs}),F({pages:zs})]).and(F(Object.assign({global:wc.optional()},Vs))).describe(`The navigation structure of the content`);const zc=/^@[a-z0-9-~][a-z0-9-._~]*$/,Bc=[`page`,`frame`],Vc=M().regex(zc,"Registry keys must be npm scopes such as `@acme` (lowercase, starting with `@`)"),Hc=/[\s\u0000-\u001f\u007f]/,Uc=e=>{if(Hc.test(e))return`Registry URLs cannot contain whitespace`;if(e.includes("${"))return"Registry URLs cannot contain `${`, which npm expands from environment variables";if(/[;#\\]/.test(e))return"Registry URLs cannot contain `;`, `#` or `\\`, which npm reads as a comment or escape in .npmrc";let t;try{t=new URL(e)}catch{return}if(t.username!==``||t.password!==``)return`Registry URLs cannot include a username, password or token`;if(e.includes(`?`)||t.hash!==``)return`Registry URLs cannot include a query string or fragment`;if(t.href.includes("${")||/[;#\\]/.test(t.href))return"Registry URLs cannot parse to a URL with `${`, `;`, `#` or `\\`, such as from full-width characters in the host, which npm rewrites in .npmrc";if(t.hostname.includes(`=`)||t.pathname.includes(`=`))return"Registry URLs cannot have `=` in the host or path, which npm reads as the end of the auth token key in .npmrc"},Wc=M().max(512,`Registry URLs cannot be longer than 512 characters`).url(`Must be a valid URL`).regex(/^https:\/\/[^/]/,"Registry URLs must start with `https://` and then the host").superRefine((e,t)=>{let n=Uc(e);n&&t.addIssue({code:Fe.custom,message:n})}),Gc=/^[a-z][a-z\d+.-]*:/i,Kc=M().min(1,`CSS entries cannot be empty`).refine(e=>!/^[./\\]/.test(e)&&!Gc.test(e)&&!e.split(/[\\/]/).includes(`..`),"CSS entries must be paths inside an installed package, such as `@acme/ui/dist/styles.css`"),qc=e=>{if(e===``)return;let t=e.replace(/\\/g,`/`),n=t.replace(/^\/+/,``).split(`/`);if(n.includes(`..`))return"Provider path cannot contain `..` segments";if(n.includes(``))return"Provider path must name a file, such as `/snippets/provider.jsx`, with no empty segments or trailing slash";let r=t.replace(/[?#].*$/,``),i=r.replace(/^\/+|\/+$/g,``);if((i===``||i.split(`/`).includes(`..`)?t:r).split(`/`).slice(0,-1).includes(`node_modules`))return"Provider path cannot be inside a `node_modules` folder";if(!e.startsWith(`/`))return"Provider path must start with `/`, such as `/snippets/provider.jsx`";if(n.some(e=>/[:\0]/.test(e)||e!==`.`&&/[. ]$/.test(e)))return"Provider path cannot contain `:` or NUL, or a name that ends in `.` or a space"},Jc=M().min(1,`Provider path cannot be empty`).superRefine((e,t)=>{let n=qc(e);n&&t.addIssue({code:Fe.custom,message:n})}),Yc=F({registries:Se(Vc,Wc).optional().describe('Registry to install each npm scope from, e.g. `{ "@acme": "https://npm.acme.com/" }`. One registry per scope. Unscoped packages always install from registry.npmjs.org.'),css:he(Kc).optional().describe("Compiled CSS files shipped by your packages to load on pages that use package components, e.g. `@acme/ui/dist/styles.css`"),provider:Jc.optional().describe("Path to a snippet that exports a `Provider` component, e.g. `/snippets/provider.jsx`. It wraps every package component."),ssr:C().optional().describe(`Whether to render package components to HTML at build time so they show before their JavaScript loads. Defaults to true.`),isolation:x(Bc).optional().describe("How package components run in the browser. `page` (default) renders them in the docs page. `frame`, a sandboxed iframe per component, is not implemented yet and fails the build.")}).describe("Use npm packages from package.json in MDX pages and snippets. Adding this key, even as `{}`, turns the feature on. Requires a package-lock.json or pnpm-lock.yaml next to docs.json."),Xc=C().describe(`Whether the documentation is publicly accessible by default`),Zc=F({prompt:M().optional().describe(`The prompt to be displayed in the search bar placeholder`)}).describe(`Search display settings`),Qc=Se(M(),M().nonempty()).optional().describe(`Meta tags added to every page. Must be a valid key-value pair.`),$c=/^[^\s/\\?#]+$/;function el(e){return e.split(`/`).every(e=>$c.test(e)&&e!==`.`&&e!==`..`)}const tl=F({path:M().nonempty().refine(el,"Must be a slash-delimited folder path relative to the docs root, e.g. `guides/v2`. Each segment must be non-empty and must not be `.` or `..`, and the path must not start or end with a slash or contain whitespace, backslashes, `?`, or `#`.").describe("Folder path relative to the docs root, e.g. `guides/v2`. Applies to every page under that folder."),metatags:Se(M(),M().nonempty()).describe("Meta tags added to every page under `path`. Must be a valid key-value pair.")}),nl=he(tl).refine(e=>{let t=e.map(e=>e.path);return new Set(t).size===t.length},`Each path can only be used once`).describe("Meta tags scoped to a folder. Longer paths override shorter ones, which override `metatags`. Page frontmatter overrides both."),rl=F({id:M().url().optional().describe("Stable `@id` URL identifying your organization across pages, e.g. `https://example.com/#organization`. Defaults to `<site origin>/#organization`."),name:M().nonempty().optional().describe(`Organization name. Defaults to the site name.`),legalName:M().nonempty().optional().describe(`Registered legal name.`),url:M().url().optional().describe(`Canonical organization homepage URL.`),logo:M().url().optional().describe(`Canonical logo URL used in structured data. Defaults to the docs logo.`),sameAs:he(M().url()).optional().describe(`URLs of official profiles, e.g. X, LinkedIn, GitHub.`)}).describe(`Organization entity emitted in structured data (JSON-LD) on every page.`),il=F({metatags:Qc.optional(),paths:nl.optional(),organization:rl.optional(),indexing:x([`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:C().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`),al=/* @__PURE__ */ `andromeeda.aurora-x.ayu-dark.catppuccin-frappe.catppuccin-latte.catppuccin-macchiato.catppuccin-mocha.dark-plus.dracula.dracula-soft.everforest-dark.everforest-light.github-dark.github-dark-default.github-dark-dimmed.github-dark-high-contrast.github-light.github-light-default.github-light-high-contrast.gruvbox-dark-hard.gruvbox-dark-medium.gruvbox-dark-soft.gruvbox-light-hard.gruvbox-light-medium.gruvbox-light-soft.houston.kanagawa-dragon.kanagawa-lotus.kanagawa-wave.laserwave.light-plus.material-theme.material-theme-darker.material-theme-lighter.material-theme-ocean.material-theme-palenight.min-dark.min-light.monokai.night-owl.nord.one-dark-pro.one-light.plastic.poimandres.red.rose-pine.rose-pine-dawn.rose-pine-moon.slack-dark.slack-ochin.snazzy-light.solarized-dark.solarized-light.synthwave-84.tokyo-night.vesper.vitesse-black.vitesse-dark.vitesse-light.css-variables`.split(`.`),ol=F({custom:he(M().refine(e=>!/^[a-zA-Z]:/.test(e)&&!e.split(/[\\/]/).includes(`..`),{message:`Custom language path must stay within the docs directory`}).describe(`Path (relative to the docs root) to a JSON file describing a custom Shiki language`)).optional()}).describe(`Custom language configuration for codeblocks`),sl=F({eyebrows:x([`section`,`breadcrumbs`]).optional().describe("The eyebrows style of the content. Defaults to `section`."),codeblocks:s([x([`system`,`dark`]).optional().describe("Match the docs light/dark mode with `system`, or always use a dark theme with `dark`."),F({theme:s([x(al),F({light:x(al),dark:x(al)})]).optional(),languages:ol.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:C().optional().describe(`Whether to load LaTeX stylesheets`)}).describe(`Styling configurations`),cl=Se(M(),M()).describe(`Set of custom variables that can be re-used throughout the content`),ll={$schema:La,name:Xo,public:Xc.optional(),description:Qa.optional(),colors:Za,logo:qo.optional(),favicon:eo.optional(),api:Ga.optional(),appearance:Ka.optional(),background:Ya.optional(),navbar:os.optional(),navigation:Rc,footer:yo.optional(),search:Zc.optional(),seo:il.optional(),fonts:oo.optional(),icons:bo.optional(),styling:sl.optional(),redirects:fa.optional(),integrations:Go.optional(),banner:Xa.optional(),errors:$a.optional(),contextual:se.optional(),thumbnails:Es.optional(),interaction:Ko.optional(),metadata:Yo.optional(),variables:cl.optional(),markdown:Jo.optional(),packages:Yc.optional().catch(void 0)},ul=x([`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).`),dl=F(Object.assign({theme:L(ul.enum.almond)},ll)),fl=F(Object.assign({theme:L(ul.enum.aspen)},ll)),pl=F(Object.assign({theme:L(ul.enum.linden)},ll)),ml=F(Object.assign({theme:L(ul.enum.luma)},ll)),hl=F(Object.assign({theme:L(ul.enum.maple)},ll)),gl=F(Object.assign({theme:L(ul.enum.mint),themeVersion:Ia(Fa.mint).optional()},ll)),_l=F(Object.assign({theme:L(ul.enum.palm)},ll)),vl=F(Object.assign({theme:L(ul.enum.sequoia)},ll)),yl=F({id:M().trim().nonempty().describe(`Stable identifier for the variation`),label:M().trim().nonempty().describe(`Display label for the variation`)}).describe(`A documentation content variation`),bl=F({options:he(yl).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=/* @__PURE__ */ new Set;e.forEach((e,r)=>{n.has(e.id)&&t.addIssue({code:Fe.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`),xl=F(Object.assign(Object.assign({theme:L(ul.enum.willow)},ll),{variations:bl.optional()})),Sl=_e(`theme`,[gl,hl,_l,xl,pl,dl,fl,ml,vl]);F(Object.assign({theme:ul,themeVersion:Ia(Math.max(...Object.values(Fa))).optional()},ll));const Cl=F({sourceRef:M().nonempty().describe(`The mount path of the git source to inline`)}).describe(`Reference to a git source navigation section`),wl=[`get`,`put`,`post`,`delete`,`options`,`head`,`patch`,`trace`,`query`],Tl=e=>wl.includes(e),El=/^[A-Z0-9!#$%&'*+.^_`|~-]+$/,Dl=/* @__PURE__ */ new Set([`WEBHOOK`]),Ol=e=>El.test(e)&&!Tl(e.toLowerCase())&&!Dl.has(e),kl=e=>{let t=e.toLowerCase();if(Tl(t))return t;let n=e.toUpperCase();return Ol(n)?n:void 0},Al=e=>`additionalOperations`in e?e.additionalOperations??{}:{};function jl(e){let t=[];for(let n of wl){let r=e[n];r&&t.push([n,r])}for(let[n,r]of Object.entries(Al(e)))Ol(n)&&t.push([n,r]);return t}function Ml(e,t){return Tl(t)?e[t]:Al(e)[t]}var Nl=/* @__PURE__ */ a(((e,t)=>{t.exports=function e(t,n){return n===0?t:e(n,t%n)}})),Pl=/* @__PURE__ */ a(((e,t)=>{var n=Nl();t.exports=function(e,t){return t===0?0:e*t/n(e,t)}})),Fl=/* @__PURE__ */ a(((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n})),Il=/* @__PURE__ */ a(((e,t)=>{function n(e,t){return e===t||e!==e&&t!==t}t.exports=n})),Ll=/* @__PURE__ */ a(((e,t)=>{var n=Il();function r(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}t.exports=r})),Rl=/* @__PURE__ */ a(((e,t)=>{var n=Ll(),r=Array.prototype.splice;function i(e){var t=this.__data__,i=n(t,e);return i<0?!1:(i==t.length-1?t.pop():r.call(t,i,1),--this.size,!0)}t.exports=i})),zl=/* @__PURE__ */ a(((e,t)=>{var n=Ll();function r(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}t.exports=r})),Bl=/* @__PURE__ */ a(((e,t)=>{var n=Ll();function r(e){return n(this.__data__,e)>-1}t.exports=r})),Vl=/* @__PURE__ */ a(((e,t)=>{var n=Ll();function r(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}t.exports=r})),Hl=/* @__PURE__ */ a(((e,t)=>{var n=Fl(),r=Rl(),i=zl(),a=Bl(),o=Vl();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),Ul=/* @__PURE__ */ a(((e,t)=>{var n=Hl();function r(){this.__data__=new n,this.size=0}t.exports=r})),Wl=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=n})),Gl=/* @__PURE__ */ a(((e,t)=>{function n(e){return this.__data__.get(e)}t.exports=n})),Kl=/* @__PURE__ */ a(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),ql=/* @__PURE__ */ a(((e,t)=>{t.exports=typeof global==`object`&&global&&global.Object===Object&&global})),Jl=/* @__PURE__ */ a(((e,t)=>{var n=ql(),r=typeof self==`object`&&self&&self.Object===Object&&self;t.exports=n||r||Function(`return this`)()})),Yl=/* @__PURE__ */ a(((e,t)=>{t.exports=Jl().Symbol})),Xl=/* @__PURE__ */ a(((e,t)=>{var n=Yl(),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,o=n?n.toStringTag:void 0;function s(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch{}var s=a.call(e);return r&&(t?e[o]=n:delete e[o]),s}t.exports=s})),Zl=/* @__PURE__ */ a(((e,t)=>{var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r})),Ql=/* @__PURE__ */ a(((e,t)=>{var n=Yl(),r=Xl(),i=Zl(),a=`[object Null]`,o=`[object Undefined]`,s=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?o:a:s&&s in Object(e)?r(e):i(e)}t.exports=c})),$l=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n})),eu=/* @__PURE__ */ a(((e,t)=>{var n=Ql(),r=$l(),i=`[object AsyncFunction]`,a=`[object Function]`,o=`[object GeneratorFunction]`,s=`[object Proxy]`;function c(e){if(!r(e))return!1;var t=n(e);return t==a||t==o||t==i||t==s}t.exports=c})),tu=/* @__PURE__ */ a(((e,t)=>{t.exports=Jl()[`__core-js_shared__`]})),nu=/* @__PURE__ */ a(((e,t)=>{var n=tu(),r=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function i(e){return!!r&&r in e}t.exports=i})),ru=/* @__PURE__ */ a(((e,t)=>{var n=Function.prototype.toString;function r(e){if(e!=null){try{return n.call(e)}catch{}try{return e+``}catch{}}return``}t.exports=r})),iu=/* @__PURE__ */ a(((e,t)=>{var n=eu(),r=nu(),i=$l(),a=ru(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp(`^`+u.call(d).replace(o,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function p(e){return!i(e)||r(e)?!1:(n(e)?f:s).test(a(e))}t.exports=p})),au=/* @__PURE__ */ a(((e,t)=>{function n(e,t){return e?.[t]}t.exports=n})),ou=/* @__PURE__ */ a(((e,t)=>{var n=iu(),r=au();function i(e,t){var i=r(e,t);return n(i)?i:void 0}t.exports=i})),su=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`Map`)})),cu=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Object,`create`)})),lu=/* @__PURE__ */ a(((e,t)=>{var n=cu();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r})),uu=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}t.exports=n})),du=/* @__PURE__ */ a(((e,t)=>{var n=cu(),r=`__lodash_hash_undefined__`,i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(n){var a=t[e];return a===r?void 0:a}return i.call(t,e)?t[e]:void 0}t.exports=a})),fu=/* @__PURE__ */ a(((e,t)=>{var n=cu(),r=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?t[e]!==void 0:r.call(t,e)}t.exports=i})),pu=/* @__PURE__ */ a(((e,t)=>{var n=cu(),r=`__lodash_hash_undefined__`;function i(e,t){var i=this.__data__;return this.size+=+!this.has(e),i[e]=n&&t===void 0?r:t,this}t.exports=i})),mu=/* @__PURE__ */ a(((e,t)=>{var n=lu(),r=uu(),i=du(),a=fu(),o=pu();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),hu=/* @__PURE__ */ a(((e,t)=>{var n=mu(),r=Hl(),i=su();function a(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=a})),gu=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}t.exports=n})),_u=/* @__PURE__ */ a(((e,t)=>{var n=gu();function r(e,t){var r=e.__data__;return n(t)?r[typeof t==`string`?`string`:`hash`]:r.map}t.exports=r})),vu=/* @__PURE__ */ a(((e,t)=>{var n=_u();function r(e){var t=n(this,e).delete(e);return this.size-=+!!t,t}t.exports=r})),yu=/* @__PURE__ */ a(((e,t)=>{var n=_u();function r(e){return n(this,e).get(e)}t.exports=r})),bu=/* @__PURE__ */ a(((e,t)=>{var n=_u();function r(e){return n(this,e).has(e)}t.exports=r})),xu=/* @__PURE__ */ a(((e,t)=>{var n=_u();function r(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}t.exports=r})),Su=/* @__PURE__ */ a(((e,t)=>{var n=hu(),r=vu(),i=yu(),a=bu(),o=xu();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),Cu=/* @__PURE__ */ a(((e,t)=>{var n=Hl(),r=su(),i=Su(),a=200;function o(e,t){var o=this.__data__;if(o instanceof n){var s=o.__data__;if(!r||s.length<a-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new i(s)}return o.set(e,t),this.size=o.size,this}t.exports=o})),wu=/* @__PURE__ */ a(((e,t)=>{var n=Hl(),r=Ul(),i=Wl(),a=Gl(),o=Kl(),s=Cu();function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c})),Tu=/* @__PURE__ */ a(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}t.exports=n})),Eu=/* @__PURE__ */ a(((e,t)=>{var n=ou();t.exports=function(){try{var e=n(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),Du=/* @__PURE__ */ a(((e,t)=>{var n=Eu();function r(e,t,r){t==`__proto__`&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}t.exports=r})),Ou=/* @__PURE__ */ a(((e,t)=>{var n=Du(),r=Il(),i=Object.prototype.hasOwnProperty;function a(e,t,a){var o=e[t];(!(i.call(e,t)&&r(o,a))||a===void 0&&!(t in e))&&n(e,t,a)}t.exports=a})),ku=/* @__PURE__ */ a(((e,t)=>{var n=Ou(),r=Du();function i(e,t,i,a){var o=!i;i||={};for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(i[l],e[l],l,i,e):void 0;u===void 0&&(u=e[l]),o?r(i,l,u):n(i,l,u)}return i}t.exports=i})),Au=/* @__PURE__ */ a(((e,t)=>{function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=n})),ju=/* @__PURE__ */ a(((e,t)=>{function n(e){return typeof e==`object`&&!!e}t.exports=n})),Mu=/* @__PURE__ */ a(((e,t)=>{var n=Ql(),r=ju(),i=`[object Arguments]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Nu=/* @__PURE__ */ a(((e,t)=>{var n=Mu(),r=ju(),i=Object.prototype,a=i.hasOwnProperty,o=i.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,`callee`)&&!o.call(e,`callee`)}})),Pu=/* @__PURE__ */ a(((e,t)=>{t.exports=Array.isArray})),Fu=/* @__PURE__ */ a(((e,t)=>{function n(){return!1}t.exports=n})),Iu=/* @__PURE__ */ a(((e,t)=>{var n=Jl(),r=Fu(),i=typeof e==`object`&&e&&!e.nodeType&&e,a=i&&typeof t==`object`&&t&&!t.nodeType&&t,o=a&&a.exports===i?n.Buffer:void 0;t.exports=(o?o.isBuffer:void 0)||r})),Lu=/* @__PURE__ */ a(((e,t)=>{var n=/^(?:0|[1-9]\d*)$/;function r(e,t){var r=typeof e;return t??=9007199254740991,!!t&&(r==`number`||r!=`symbol`&&n.test(e))&&e>-1&&e%1==0&&e<t}t.exports=r})),Ru=/* @__PURE__ */ a(((e,t)=>{function n(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=9007199254740991}t.exports=n})),zu=/* @__PURE__ */ a(((e,t)=>{var n=Ql(),r=Ru(),i=ju(),a=`[object Arguments]`,o=`[object Array]`,s=`[object Boolean]`,c=`[object Date]`,l=`[object Error]`,u=`[object Function]`,d=`[object Map]`,f=`[object Number]`,p=`[object Object]`,m=`[object RegExp]`,h=`[object Set]`,g=`[object String]`,_=`[object WeakMap]`,v=`[object ArrayBuffer]`,y=`[object DataView]`,b=`[object Float32Array]`,x=`[object Float64Array]`,S=`[object Int8Array]`,C=`[object Int16Array]`,w=`[object Int32Array]`,T=`[object Uint8Array]`,E=`[object Uint8ClampedArray]`,D=`[object Uint16Array]`,O=`[object Uint32Array]`,k={};k[b]=k[x]=k[S]=k[C]=k[w]=k[T]=k[E]=k[D]=k[O]=!0,k[a]=k[o]=k[v]=k[s]=k[y]=k[c]=k[l]=k[u]=k[d]=k[f]=k[p]=k[m]=k[h]=k[g]=k[_]=!1;function A(e){return i(e)&&r(e.length)&&!!k[n(e)]}t.exports=A})),Bu=/* @__PURE__ */ a(((e,t)=>{function n(e){return function(t){return e(t)}}t.exports=n})),Vu=/* @__PURE__ */ a(((e,t)=>{var n=ql(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r&&n.process;t.exports=function(){try{return i&&i.require&&i.require(`util`).types||a&&a.binding&&a.binding(`util`)}catch{}}()})),Hu=/* @__PURE__ */ a(((e,t)=>{var n=zu(),r=Bu(),i=Vu(),a=i&&i.isTypedArray;t.exports=a?r(a):n})),Uu=/* @__PURE__ */ a(((e,t)=>{var n=Au(),r=Nu(),i=Pu(),a=Iu(),o=Lu(),s=Hu(),c=Object.prototype.hasOwnProperty;function l(e,t){var l=i(e),u=!l&&r(e),d=!l&&!u&&a(e),f=!l&&!u&&!d&&s(e),p=l||u||d||f,m=p?n(e.length,String):[],h=m.length;for(var g in e)(t||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||o(g,h)))&&m.push(g);return m}t.exports=l})),Wu=/* @__PURE__ */ a(((e,t)=>{var n=Object.prototype;function r(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||n)}t.exports=r})),Gu=/* @__PURE__ */ a(((e,t)=>{function n(e,t){return function(n){return e(t(n))}}t.exports=n})),Ku=/* @__PURE__ */ a(((e,t)=>{t.exports=Gu()(Object.keys,Object)})),qu=/* @__PURE__ */ a(((e,t)=>{var n=Wu(),r=Ku(),i=Object.prototype.hasOwnProperty;function a(e){if(!n(e))return r(e);var t=[];for(var a in Object(e))i.call(e,a)&&a!=`constructor`&&t.push(a);return t}t.exports=a})),Ju=/* @__PURE__ */ a(((e,t)=>{var n=eu(),r=Ru();function i(e){return e!=null&&r(e.length)&&!n(e)}t.exports=i})),Yu=/* @__PURE__ */ a(((e,t)=>{var n=Uu(),r=qu(),i=Ju();function a(e){return i(e)?n(e):r(e)}t.exports=a})),eee=/* @__PURE__ */ a(((e,t)=>{var n=ku(),r=Yu();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),Xu=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}t.exports=n})),Zu=/* @__PURE__ */ a(((e,t)=>{var n=$l(),r=Wu(),i=Xu(),a=Object.prototype.hasOwnProperty;function o(e){if(!n(e))return i(e);var t=r(e),o=[];for(var s in e)(s!=`constructor`||!t&&a.call(e,s))&&o.push(s);return o}t.exports=o})),Qu=/* @__PURE__ */ a(((e,t)=>{var n=Uu(),r=Zu(),i=Ju();function a(e){return i(e)?n(e,!0):r(e)}t.exports=a})),tee=/* @__PURE__ */ a(((e,t)=>{var n=ku(),r=Qu();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),nee=/* @__PURE__ */ a(((e,t)=>{var n=Jl(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r?n.Buffer:void 0,o=a?a.allocUnsafe:void 0;function s(e,t){if(t)return e.slice();var n=e.length,r=o?o(n):new e.constructor(n);return e.copy(r),r}t.exports=s})),ree=/* @__PURE__ */ a(((e,t)=>{function n(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}t.exports=n})),iee=/* @__PURE__ */ a(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}t.exports=n})),$u=/* @__PURE__ */ a(((e,t)=>{function n(){return[]}t.exports=n})),ed=/* @__PURE__ */ a(((e,t)=>{var n=iee(),r=$u(),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(e){return e==null?[]:(e=Object(e),n(a(e),function(t){return i.call(e,t)}))}:r})),aee=/* @__PURE__ */ a(((e,t)=>{var n=ku(),r=ed();function i(e,t){return n(e,r(e),t)}t.exports=i})),td=/* @__PURE__ */ a(((e,t)=>{function n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}t.exports=n})),nd=/* @__PURE__ */ a(((e,t)=>{t.exports=Gu()(Object.getPrototypeOf,Object)})),rd=/* @__PURE__ */ a(((e,t)=>{var n=td(),r=nd(),i=ed(),a=$u();t.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=r(e);return t}:a})),oee=/* @__PURE__ */ a(((e,t)=>{var n=ku(),r=rd();function i(e,t){return n(e,r(e),t)}t.exports=i})),id=/* @__PURE__ */ a(((e,t)=>{var n=td(),r=Pu();function i(e,t,i){var a=t(e);return r(e)?a:n(a,i(e))}t.exports=i})),ad=/* @__PURE__ */ a(((e,t)=>{var n=id(),r=ed(),i=Yu();function a(e){return n(e,i,r)}t.exports=a})),od=/* @__PURE__ */ a(((e,t)=>{var n=id(),r=rd(),i=Qu();function a(e){return n(e,i,r)}t.exports=a})),sd=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`DataView`)})),see=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`Promise`)})),cee=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`Set`)})),lee=/* @__PURE__ */ a(((e,t)=>{t.exports=ou()(Jl(),`WeakMap`)})),cd=/* @__PURE__ */ a(((e,t)=>{var n=sd(),r=su(),i=see(),a=cee(),o=lee(),s=Ql(),c=ru(),l=`[object Map]`,u=`[object Object]`,d=`[object Promise]`,f=`[object Set]`,p=`[object WeakMap]`,m=`[object DataView]`,h=c(n),g=c(r),_=c(i),v=c(a),y=c(o),b=s;(n&&b(new n(/* @__PURE__ */ new ArrayBuffer(1)))!=m||r&&b(new r)!=l||i&&b(i.resolve())!=d||a&&b(new a)!=f||o&&b(new o)!=p)&&(b=function(e){var t=s(e),n=t==u?e.constructor:void 0,r=n?c(n):``;if(r)switch(r){case h:return m;case g:return l;case _:return d;case v:return f;case y:return p}return t}),t.exports=b})),ld=/* @__PURE__ */ a(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]==`string`&&n.call(e,`index`)&&(r.index=e.index,r.input=e.input),r}t.exports=r})),uee=/* @__PURE__ */ a(((e,t)=>{t.exports=Jl().Uint8Array})),ud=/* @__PURE__ */ a(((e,t)=>{var n=uee();function r(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}t.exports=r})),dee=/* @__PURE__ */ a(((e,t)=>{var n=ud();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}t.exports=r})),dd=/* @__PURE__ */ a(((e,t)=>{var n=/\w*$/;function r(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}t.exports=r})),fee=/* @__PURE__ */ a(((e,t)=>{var n=Yl(),r=n?n.prototype:void 0,i=r?r.valueOf:void 0;function a(e){return i?Object(i.call(e)):{}}t.exports=a})),pee=/* @__PURE__ */ a(((e,t)=>{var n=ud();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}t.exports=r})),mee=/* @__PURE__ */ a(((e,t)=>{var n=ud(),r=dee(),i=dd(),a=fee(),o=pee(),s=`[object Boolean]`,c=`[object Date]`,l=`[object Map]`,u=`[object Number]`,d=`[object RegExp]`,f=`[object Set]`,p=`[object String]`,m=`[object Symbol]`,h=`[object ArrayBuffer]`,g=`[object DataView]`,_=`[object Float32Array]`,v=`[object Float64Array]`,y=`[object Int8Array]`,b=`[object Int16Array]`,x=`[object Int32Array]`,S=`[object Uint8Array]`,C=`[object Uint8ClampedArray]`,w=`[object Uint16Array]`,T=`[object Uint32Array]`;function E(e,t,E){var D=e.constructor;switch(t){case h:return n(e);case s:case c:return new D(+e);case g:return r(e,E);case _:case v:case y:case b:case x:case S:case C:case w:case T:return o(e,E);case l:return new D;case u:case p:return new D(e);case d:return i(e);case f:return new D;case m:return a(e)}}t.exports=E})),fd=/* @__PURE__ */ a(((e,t)=>{var n=$l(),r=Object.create;t.exports=function(){function e(){}return function(t){if(!n(t))return{};if(r)return r(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}()})),hee=/* @__PURE__ */ a(((e,t)=>{var n=fd(),r=nd(),i=Wu();function a(e){return typeof e.constructor==`function`&&!i(e)?n(r(e)):{}}t.exports=a})),gee=/* @__PURE__ */ a(((e,t)=>{var n=cd(),r=ju(),i=`[object Map]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),_ee=/* @__PURE__ */ a(((e,t)=>{var n=gee(),r=Bu(),i=Vu(),a=i&&i.isMap;t.exports=a?r(a):n})),pd=/* @__PURE__ */ a(((e,t)=>{var n=cd(),r=ju(),i=`[object Set]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),md=/* @__PURE__ */ a(((e,t)=>{var n=pd(),r=Bu(),i=Vu(),a=i&&i.isSet;t.exports=a?r(a):n})),vee=/* @__PURE__ */ a(((e,t)=>{var n=wu(),r=Tu(),i=Ou(),a=eee(),o=tee(),s=nee(),c=ree(),l=aee(),u=oee(),d=ad(),f=od(),p=cd(),m=ld(),h=mee(),g=hee(),_=Pu(),v=Iu(),y=_ee(),b=$l(),x=md(),S=Yu(),C=Qu(),w=1,T=2,E=4,D=`[object Arguments]`,O=`[object Array]`,k=`[object Boolean]`,A=`[object Date]`,ee=`[object Error]`,te=`[object Function]`,ne=`[object GeneratorFunction]`,re=`[object Map]`,ie=`[object Number]`,ae=`[object Object]`,oe=`[object RegExp]`,j=`[object Set]`,se=`[object String]`,ce=`[object Symbol]`,M=`[object WeakMap]`,N=`[object ArrayBuffer]`,P=`[object DataView]`,le=`[object Float32Array]`,ue=`[object Float64Array]`,de=`[object Int8Array]`,fe=`[object Int16Array]`,pe=`[object Int32Array]`,me=`[object Uint8Array]`,he=`[object Uint8ClampedArray]`,ge=`[object Uint16Array]`,_e=`[object Uint32Array]`,ve={};ve[D]=ve[O]=ve[N]=ve[P]=ve[k]=ve[A]=ve[le]=ve[ue]=ve[de]=ve[fe]=ve[pe]=ve[re]=ve[ie]=ve[ae]=ve[oe]=ve[j]=ve[se]=ve[ce]=ve[me]=ve[he]=ve[ge]=ve[_e]=!0,ve[ee]=ve[te]=ve[M]=!1;function F(e,t,O,k,A,ee){var re,ie=t&w,oe=t&T,j=t&E;if(O&&(re=A?O(e,k,A,ee):O(e)),re!==void 0)return re;if(!b(e))return e;var se=_(e);if(se){if(re=m(e),!ie)return c(e,re)}else{var ce=p(e),M=ce==te||ce==ne;if(v(e))return s(e,ie);if(ce==ae||ce==D||M&&!A){if(re=oe||M?{}:g(e),!ie)return oe?u(e,o(re,e)):l(e,a(re,e))}else{if(!ve[ce])return A?e:{};re=h(e,ce,ie)}}ee||=new n;var N=ee.get(e);if(N)return N;ee.set(e,re),x(e)?e.forEach(function(n){re.add(F(n,t,O,n,e,ee))}):y(e)&&e.forEach(function(n,r){re.set(r,F(n,t,O,r,e,ee))});var P=se?void 0:(j?oe?f:d:oe?C:S)(e);return r(P||e,function(n,r){P&&(r=n,n=e[r]),i(re,r,F(n,t,O,r,e,ee))}),re}t.exports=F}));Pl();const hd=e=>typeof e==`object`&&!!e&&!Array.isArray(e),gd=(e,t)=>{if(!e.startsWith(`#`))return;let n;try{n=decodeURIComponent(e.slice(1))}catch{return}let r=`/components/${t}/`;if(!n.startsWith(r))return;let i=n.slice(r.length);if(!(i.length===0||i.includes(`/`)))return i.replace(/~1/g,`/`).replace(/~0/g,`~`)},yee=e=>gd(e,`securitySchemes`);var _d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const bee=(e,t)=>{if(!hd(e))return;let n=e.pathItems;if(!hd(n))return;let r=n[t];return hd(r)?r:void 0},vd=(e,t,n=/* @__PURE__ */ new Set)=>{if(!hd(e))return;let r=e.$ref;if(typeof r!=`string`)return e;let i=gd(r,`pathItems`);if(i===void 0||n.has(i))return;let a=bee(t,i);if(a===void 0)return;n.add(i);let{$ref:o}=a,s=_d(a,[`$ref`]),c=vd(a,t,n)??s,l=structuredClone(c);for(let[t,n]of Object.entries(e))t!==`$ref`&&n!==void 0&&(l[t]=t===`additionalOperations`&&hd(n)&&hd(l[t])?Object.assign(Object.assign({},l[t]),n):n);return l},yd=e=>hd(e)&&typeof e.$ref==`string`?gd(e.$ref,`pathItems`):void 0,xee=e=>yd(e)!==void 0,bd=e=>{let t=yd(e);return t===void 0?/* @__PURE__ */ new Set:/* @__PURE__ */ new Set([t])},xd=(e,t)=>{switch(e.code){case`invalid_type`:return e.received===`undefined`?{message:`This field is required`}:{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}};function Sd(e){return e.flatMap(e=>{if(typeof e==`string`)return[];let t=Sd(e.pages);return e.version!==void 0&&t.push(e.version),t})}function See({navigation:e,versions:t=[]},n){let r=Sd(e),i=t.map(e=>typeof e==`string`?e:e.url?void 0:e.name).filter(Boolean);r.forEach(e=>{i.includes(e)||n.addIssue({code:Fe.custom,message:`Version ${e} is not included in the versions array, but is used in the navigation. Please add ${e} to the versions array.`})})}const Cee=({anchors:e,navigation:t})=>e?.filter(e=>!e.url.startsWith(`mailto:`)&&!e.url.startsWith(`http://`)&&!e.url.startsWith(`https://`)&&!t.some(t=>Cd(t,e.url))).map((e,t)=>({code:Fe.custom,message:`No pages in the navigation match anchor ${e.url}`,path:[`anchors`,t,`url`]}))??[];function Cd(e,t){return typeof e==`string`?e.startsWith(t):e.pages.some(e=>Cd(e,t))}const wee=[Cee],Tee=e=>wee.flatMap(t=>t(e)),wd=/* @__PURE__ */ new Set([`anchors`,`dropdowns`,`languages`,`menu`,`pages`,`products`,`tabs`,`versions`,`groups`]),Eee={anchors:{anchor:`sourceRef`,href:`/sourceRef`},dropdowns:{dropdown:`sourceRef`,href:`/sourceRef`},languages:{language:`en`,href:`/sourceRef`},menu:{item:`sourceRef`,href:`/sourceRef`},pages:`sourceRef`,products:{product:`sourceRef`,href:`/sourceRef`},tabs:{tab:`sourceRef`,href:`/sourceRef`},versions:{version:`sourceRef`,href:`/sourceRef`},groups:{group:`sourceRef`,pages:[]}},Dee=Cl.strict();function Td(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&`sourceRef`in e}function Ed(e){return Td(e)&&typeof e.sourceRef==`string`}function Dd(e,t,n=[]){if(Td(e)){if(!t||!wd.has(t))return[{code:Fe.custom,path:n,message:`sourceRef is only supported as an element in navigation arrays`}];let r=Dee.safeParse(e);return r.success?[]:r.error.issues.map(e=>Object.assign(Object.assign({},e),{path:[...n,...e.path]}))}return Array.isArray(e)?e.flatMap((e,r)=>Dd(e,t,[...n,r])):typeof e!=`object`||!e?[]:Object.entries(e).flatMap(([e,t])=>Dd(t,e,[...n,e]))}function Od(e,t){return Ed(e)&&t&&wd.has(t)?Eee[t]:Array.isArray(e)?e.map(e=>Od(e,t)):typeof e!=`object`||!e?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Od(t,e)]))}const kd=Symbol(`strippedSourceRef`);function Ad(e){return Ed(e)?kd:Array.isArray(e)?e.map(e=>Ad(e)).filter(e=>e!==kd):typeof e!=`object`||!e?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Ad(t)]).filter(([,e])=>e!==kd))}function jd(e){let t=et();We(xd);let n=Pa.superRefine(See).safeParse(e);return We(t),n.success?Object.assign(Object.assign({},n),{warnings:Tee(n.data)}):n}function Md(e){let t=et();We(xd);let n=Sl.safeParse(e);return We(t),n.success?(n.data.packages===void 0&&delete n.data.packages,Object.assign(Object.assign({},n),{warnings:[]})):n}function Oee(e){let t=et();We(xd);let n=Dd(e),r=n.length>0?{success:!1,error:new Xe(n)}:Sl.safeParse(Od(e));return We(t),r.success?Object.assign(Object.assign({},r),{data:e,warnings:[]}):r}const Nd=` `,Pd=e=>Fd(e),Fd=(e,t=0)=>{let n=e.path.map(e=>typeof e==`string`?`.${e}`:`[${e}]`),r=e.code===`invalid_union`?e.unionErrors.flatMap((e,n)=>{let r=e.issues.map(e=>Fd(e,t+1));return r.unshift(`${Nd.repeat(t)} ${n+1}:`),r}):[];return r.unshift(`${Nd.repeat(t)}\#${n.join(``)}: ${e.message}`),r.join(`
|
|
19
19
|
`)};var Id=/* @__PURE__ */ a(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}t.exports=n})),Ld=/* @__PURE__ */ a(((e,t)=>{var n=Ql(),r=ju(),i=`[object Symbol]`;function a(e){return typeof e==`symbol`||r(e)&&n(e)==i}t.exports=a})),kee=/* @__PURE__ */ a(((e,t)=>{var n=Yl(),r=Id(),i=Pu(),a=Ld(),o=1/0,s=n?n.prototype:void 0,c=s?s.toString:void 0;function l(e){if(typeof e==`string`)return e;if(i(e))return r(e,l)+``;if(a(e))return c?c.call(e):``;var t=e+``;return t==`0`&&1/e==-o?`-0`:t}t.exports=l})),Rd=/* @__PURE__ */ a(((e,t)=>{var n=kee();function r(e){return e==null?``:n(e)}t.exports=r})),zd=/* @__PURE__ */ a(((e,t)=>{function n(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}t.exports=n})),Bd=/* @__PURE__ */ a(((e,t)=>{var n=zd();function r(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:n(e,t,r)}t.exports=r})),Vd=/* @__PURE__ */ a(((e,t)=>{var n=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]`);function r(e){return n.test(e)}t.exports=r})),Hd=/* @__PURE__ */ a(((e,t)=>{function n(e){return e.split(``)}t.exports=n})),Aee=/* @__PURE__ */ a(((e,t)=>{var n=`\\ud800-\\udfff`,r=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,i=`\\ufe0e\\ufe0f`,a=`[`+n+`]`,o=`[`+r+`]`,s=`\\ud83c[\\udffb-\\udfff]`,c=`(?:`+o+`|`+s+`)`,l=`[^`+n+`]`,u=`(?:\\ud83c[\\udde6-\\uddff]){2}`,d=`[\\ud800-\\udbff][\\udc00-\\udfff]`,f=`\\u200d`,p=c+`?`,m=`[`+i+`]?`,h=`(?:`+f+`(?:`+[l,u,d].join(`|`)+`)`+m+p+`)*`,g=m+p+h,_=`(?:`+[l+o+`?`,o,u,d,a].join(`|`)+`)`,v=RegExp(s+`(?=`+s+`)|`+_+g,`g`);function y(e){return e.match(v)||[]}t.exports=y})),jee=/* @__PURE__ */ a(((e,t)=>{var n=Hd(),r=Vd(),i=Aee();function a(e){return r(e)?i(e):n(e)}t.exports=a})),Mee=/* @__PURE__ */ a(((e,t)=>{var n=Bd(),r=Vd(),i=jee(),a=Rd();function o(e){return function(t){t=a(t);var o=r(t)?i(t):void 0,s=o?o[0]:t.charAt(0),c=o?n(o,1).join(``):t.slice(1);return s[e]()+c}}t.exports=o})),Ud=/* @__PURE__ */ a(((e,t)=>{t.exports=Mee()(`toUpperCase`)})),Nee=/* @__PURE__ */ a(((e,t)=>{var n=Rd(),r=Ud();function i(e){return r(n(e).toLowerCase())}t.exports=i})),Pee=/* @__PURE__ */ a(((e,t)=>{var n=Pu(),r=Ld(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function o(e,t){if(n(e))return!1;var o=typeof e;return o==`number`||o==`symbol`||o==`boolean`||e==null||r(e)?!0:a.test(e)||!i.test(e)||t!=null&&e in Object(t)}t.exports=o})),Fee=/* @__PURE__ */ a(((e,t)=>{var n=Su(),r=`Expected a function`;function i(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(r);var a=function(){var n=arguments,r=t?t.apply(this,n):n[0],i=a.cache;if(i.has(r))return i.get(r);var o=e.apply(this,n);return a.cache=i.set(r,o)||i,o};return a.cache=new(i.Cache||n),a}i.Cache=n,t.exports=i})),Wd=/* @__PURE__ */ a(((e,t)=>{var n=Fee(),r=500;function i(e){var t=n(e,function(e){return i.size===r&&i.clear(),e}),i=t.cache;return t}t.exports=i})),Gd=/* @__PURE__ */ a(((e,t)=>{var n=Wd(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;t.exports=n(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(r,function(e,n,r,a){t.push(r?a.replace(i,`$1`):n||e)}),t})})),Kd=/* @__PURE__ */ a(((e,t)=>{var n=Pu(),r=Pee(),i=Gd(),a=Rd();function o(e,t){return n(e)?e:r(e,t)?[e]:i(a(e))}t.exports=o})),qd=/* @__PURE__ */ a(((e,t)=>{function n(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}t.exports=n})),Jd=/* @__PURE__ */ a(((e,t)=>{var n=Ld(),r=1/0;function i(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-r?`-0`:t}t.exports=i})),Yd=/* @__PURE__ */ a(((e,t)=>{var n=Kd(),r=Jd();function i(e,t){t=n(t,e);for(var i=0,a=t.length;e!=null&&i<a;)e=e[r(t[i++])];return i&&i==a?e:void 0}t.exports=i})),Xd=/* @__PURE__ */ a(((e,t)=>{var n=Yd(),r=zd();function i(e,t){return t.length<2?e:n(e,r(t,0,-1))}t.exports=i})),Iee=/* @__PURE__ */ a(((e,t)=>{var n=Kd(),r=qd(),i=Xd(),a=Jd(),o=Object.prototype.hasOwnProperty;function s(e,t){t=n(t,e);var s=-1,c=t.length;if(!c)return!0;for(;++s<c;){var l=a(t[s]);if(l===`__proto__`&&!o.call(e,`__proto__`)||(l===`constructor`||l===`prototype`)&&s<c-1)return!1}var u=i(e,t);return u==null||delete u[a(r(t))]}t.exports=s})),Zd=/* @__PURE__ */ a(((e,t)=>{var n=Ql(),r=nd(),i=ju(),a=`[object Object]`,o=Function.prototype,s=Object.prototype,c=o.toString,l=s.hasOwnProperty,u=c.call(Object);function d(e){if(!i(e)||n(e)!=a)return!1;var t=r(e);if(t===null)return!0;var o=l.call(t,`constructor`)&&t.constructor;return typeof o==`function`&&o instanceof o&&c.call(o)==u}t.exports=d})),Lee=/* @__PURE__ */ a(((e,t)=>{var n=Zd();function r(e){return n(e)?void 0:e}t.exports=r})),Ree=/* @__PURE__ */ a(((e,t)=>{var n=Yl(),r=Nu(),i=Pu(),a=n?n.isConcatSpreadable:void 0;function o(e){return i(e)||r(e)||!!(a&&e&&e[a])}t.exports=o})),zee=/* @__PURE__ */ a(((e,t)=>{var n=td(),r=Ree();function i(e,t,a,o,s){var c=-1,l=e.length;for(a||=r,s||=[];++c<l;){var u=e[c];t>0&&a(u)?t>1?i(u,t-1,a,o,s):n(s,u):o||(s[s.length]=u)}return s}t.exports=i})),Bee=/* @__PURE__ */ a(((e,t)=>{var n=zee();function r(e){return e!=null&&e.length?n(e,1):[]}t.exports=r})),Qd=/* @__PURE__ */ a(((e,t)=>{function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}t.exports=n})),Vee=/* @__PURE__ */ a(((e,t)=>{var n=Qd(),r=Math.max;function i(e,t,i){return t=r(t===void 0?e.length-1:t,0),function(){for(var a=arguments,o=-1,s=r(a.length-t,0),c=Array(s);++o<s;)c[o]=a[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=a[o];return l[t]=i(c),n(e,this,l)}}t.exports=i})),Hee=/* @__PURE__ */ a(((e,t)=>{function n(e){return function(){return e}}t.exports=n})),Uee=/* @__PURE__ */ a(((e,t)=>{function n(e){return e}t.exports=n})),$d=/* @__PURE__ */ a(((e,t)=>{var n=Hee(),r=Eu(),i=Uee();t.exports=r?function(e,t){return r(e,`toString`,{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i})),ef=/* @__PURE__ */ a(((e,t)=>{var n=Date.now;function r(e){var t=0,r=0;return function(){var i=n(),a=16-(i-r);if(r=i,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}t.exports=r})),Wee=/* @__PURE__ */ a(((e,t)=>{var n=$d();t.exports=ef()(n)})),Gee=/* @__PURE__ */ a(((e,t)=>{var n=Bee(),r=Vee(),i=Wee();function a(e){return i(r(e,void 0,n),e+``)}t.exports=a})),tf=/* @__PURE__ */ r((/* @__PURE__ */ a(((e,t)=>{var n=Id(),r=vee(),i=Iee(),a=Kd(),o=ku(),s=Lee(),c=Gee(),l=od(),u=1,d=2,f=4;t.exports=c(function(e,t){var c={};if(e==null)return c;var p=!1;t=n(t,function(t){return t=a(t,e),p||=t.length>1,t}),o(e,l(e),c),p&&(c=r(c,u|d|f,s));for(var m=t.length;m--;)i(c,t[m]);return c})})))(),1);const nf={tab:`Documentation`},Kee={anchor:`Documentation`,icon:`book-open`},rf=(e,t)=>e.filter(e=>e.version===t||e.version===void 0||!t),af=(e,t)=>t?{name:e,style:t}:e,of=e=>e?e.startsWith(`https://`)||e.startsWith(`http://`):!1,qee=e=>{let{tabs:t,anchors:n,versions:r}=e,i={};return r?.length&&r.every(e=>typeof e==`object`&&of(e.url))&&(i.versions=r.map(e=>({version:e.name,href:e.url}))),t?.length&&t.every(e=>!e.version&&of(e.url))&&(i.tabs=t.map(e=>Object.assign({tab:e.name,href:e.url},e.isDefaultHidden?{hidden:e.isDefaultHidden}:{}))),n?.length&&n.every(e=>!e.version&&of(e.url))&&(i.anchors=n.map(e=>Object.assign(Object.assign(Object.assign({anchor:e.name,href:e.url},e.icon?{icon:af(e.icon,e.iconType)}:{}),typeof e.color==`string`?{color:{light:e.color,dark:e.color}}:{}),e.isDefaultHidden?{hidden:e.isDefaultHidden}:{}))),i},sf=(e,t,n,r=[])=>{let i=[],a=[],o=t?.url;return of(o)?{matchedGroups:i,unmatchedGroups:e}:(e.forEach(e=>{let s=[],c=[];(e.version===n||e.version===void 0||!n)&&e.pages.forEach(e=>{if(typeof e==`string`)(!o||uf(df(e)).startsWith(uf(df(o))))&&!r.some(t=>uf(df(e)).startsWith(uf(df(t.url))))?s.push(e):c.push(e);else{let{matchedGroups:i,unmatchedGroups:a}=sf([e],t,n,r);s.push(...i),a.length&&c.push(e)}}),s.length&&i.push(Object.assign(Object.assign({group:e.group},e.icon?{icon:af(e.icon,e.iconType)}:{}),{pages:s})),c.length&&a.push(Object.assign(Object.assign({},e),{pages:c}))}),{matchedGroups:i,unmatchedGroups:a})},cf=(e,t=[],n=[],r=!1,i,a,o)=>{let s=rf(n,i),c=t.map(r=>{if(r.version!==i&&i&&r.version)return;let c;r.openapi&&(c=of(r.url)?r.openapi:{source:r.openapi,directory:r.url});let l=Object.assign(Object.assign(Object.assign(Object.assign({},e===`tabs`?{tab:r.name}:{anchor:r.name}),{href:r.url}),r.isDefaultHidden?{hidden:r.isDefaultHidden}:{}),c?{openapi:c}:{});if(e===`anchors`&&(`icon`in r&&r.icon&&(l.icon=af(r.icon,r.iconType)),`color`in r&&r.color)){let e=typeof r.color==`string`?r.color:r.color.from;l.color={light:e,dark:e}}let u=t.filter(e=>e.url&&uf(e.url).startsWith(uf(r.url))&&e.url!==r.url),d=[],f=[];if(o?.length){let t=o.filter(e=>uf(e.url).startsWith(uf(r.url)));if(t.length){let{tabs:r,anchors:o}=cf(e===`tabs`?`anchors`:`tabs`,t,n,!1,i,a);d=r,f=o}}let{matchedGroups:p,unmatchedGroups:m}=sf(s,r,i,u);s=m;let h=(0,tf.default)(l,`href`);if(d.length)return Object.assign(Object.assign({},h),{tabs:d});if(f.length)return Object.assign(Object.assign({},h),{anchors:f});if(p.length)return Object.assign(Object.assign({},h),{groups:p});if(p.length||Zi(r.url)||r.openapi)return r.openapi&&!of(r.url)?(0,tf.default)(l,`href`):l}).filter(Boolean);if(s.length&&r){let{matchedGroups:t}=sf(s,void 0,i,[]);c.unshift(Object.assign(Object.assign({},ff(e===`tabs`?`tab`:`anchor`,a)),{groups:t}))}return e===`tabs`?{tabs:c,anchors:[],remainingGroups:s}:{anchors:c,tabs:[],remainingGroups:s}},lf=(e,t,n)=>{let r=[];return e.forEach(e=>{let i=[];(e.version===t||e.version===void 0)&&e.pages.forEach(e=>{if(typeof e==`string`){let r=Object.entries(n).some(([n,r])=>r.includes(t)&&e.startsWith(n)),a=Object.keys(n).every(t=>!e.startsWith(t));(r||a)&&i.push(e)}else{let{matchedGroups:r}=lf([e],t,n);i.push(...r)}}),i.length&&r.push(Object.assign(Object.assign({group:e.group},e.icon?{icon:af(e.icon,e.iconType)}:{}),{pages:i}))}),{matchedGroups:r}},Jee=(e=[],t=[],n)=>{let r=e.every(e=>typeof e==`object`&&e.locale);return{isLocale:r,versions:e.map(e=>{if(r&&typeof e==`object`&&e.locale){let r=Object.assign({language:e.locale},e.default?{default:e.default}:{});if(e.url)return Object.assign(Object.assign({},r),{href:e.url});let{matchedGroups:i}=lf(t,e.name,n);return Object.assign(Object.assign({},r),{groups:i})}{let r;if(typeof e==`object`){if(r={version:e.name,default:e.default},e.url)return Object.assign(Object.assign({},r),{href:e.url})}else r={version:e};let{matchedGroups:i}=lf(t,r.version,n);return Object.assign(Object.assign({},r),{groups:i})}})}},Yee=e=>{let{tabs:t,anchors:n,versions:r}=e,i=e.navigation,{tabs:a,anchors:o,versions:s}=qee(e),c=t?.length,l=n?.length;t=a?.length?[]:t,n=o?.length?[]:n,r=s?.length?[]:r;let u=(e,r,i)=>{if(Xee(t,n)===`anchors`){if(l){let{anchors:a,remainingGroups:o}=cf(`anchors`,n,e,!1,i,r,t);if(o.length||t?.length){if(t?.length){let{tabs:n}=cf(`tabs`,t,o.length?o:e,!0,i,r);a.unshift(Object.assign(Object.assign({},ff(`anchor`,r)),{tabs:n}))}else{let{matchedGroups:e}=sf(o,void 0,i);a.unshift(Object.assign(Object.assign({},ff(`anchor`,r)),{groups:e}))}}return{anchors:a}}if(c){let{tabs:n}=cf(`tabs`,t,e,!0,i,r);return{tabs:n}}}else{if(c){let{tabs:a,remainingGroups:o}=cf(`tabs`,t,e,!1,i,r,n);if(o.length||n?.length){if(n?.length){let{anchors:t}=cf(`anchors`,n,o.length?o:e,!0,i,r);a.unshift(Object.assign(Object.assign({},ff(`tab`,r)),{anchors:t}))}else{let{matchedGroups:e}=sf(o,void 0,i);a.unshift(Object.assign(Object.assign({},ff(`tab`,r)),{groups:e}))}}return{tabs:a}}if(l){let{anchors:t}=cf(`anchors`,n,e,!0,i,r);return{anchors:t}}}if(e.length)return{groups:rf(e,i).map(e=>Object.assign({group:e.group,pages:e.pages},e.icon?{icon:af(e.icon,e.iconType)}:{}))}};if(r?.length&&!s?.length){let s=r.reduce((e,r)=>{let i=typeof r==`string`?r:r.name,a=n?.filter(e=>e.version===i&&!of(e.url)),o=t?.filter(e=>e.version===i&&!of(e.url));return a?.forEach(t=>e[t.url]=[...e[t.url]||[],i]),o?.forEach(t=>e[t.url]=[...e[t.url]||[],i]),e},{}),{versions:c,isLocale:l}=Jee(r,i,s);c.forEach((t,n)=>{if(typeof t==`object`&&`href`in t)return;let a=typeof r[n]==`string`?t.version:r[n]?.name||t.language;if(`groups`in t&&t.groups.length){let r=u(t.groups,e,a);r&&(c[n]=Object.assign(Object.assign({},(0,tf.default)(t,`groups`)),r))}else{let r=u(i,e,a);r&&(c[n]=Object.assign(Object.assign({},(0,tf.default)(t,`groups`)),r))}});let d=l?{languages:c}:{versions:c};return(a?.length||o?.length)&&(d.global=Object.assign(Object.assign({},a?.length?{tabs:a}:{}),o?.length?{anchors:o}:{})),d}let d=u(i,e)||{groups:[]};return(a?.length||o?.length)&&(d.global=Object.assign(Object.assign({},a?.length?{tabs:a}:{}),o?.length?{anchors:o}:{})),d};function Xee(e,t){if(!e?.length)return`anchors`;if(!t?.length)return`tabs`;let n=e.filter(e=>t.some(t=>uf(e.url).startsWith(uf(t.url)))),r=t.filter(t=>e.some(e=>uf(t.url).startsWith(uf(e.url))));return n.length===e.length?`tabs`:r.length===t.length?`anchors`:n.length>r.length?`tabs`:`anchors`}function uf(e){return e.startsWith(`/`)?e:`/${e}`}function df(e){return e.endsWith(`/`)?e:`${e}/`}const ff=(e,t)=>e===`anchor`?Object.assign(Object.assign({},t?.topAnchor?.name?{anchor:t.topAnchor.name}:Kee),t?.topAnchor?.icon?{icon:af(t.topAnchor.icon,t.topAnchor.iconType)}:{}):Object.assign({},t?.primaryTab?Object.assign({tab:t.primaryTab.name},t.primaryTab.isDefaultHidden!==void 0&&{hidden:t.primaryTab.isDefaultHidden}):nf);var Zee=/* @__PURE__ */ r(Nee(),1),Qee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function $ee(e){if(e.eyebrow?.display!=null)return e.eyebrow.display===`breadcrumbs`?`breadcrumbs`:`section`}function ete(e){if(e.codeBlock?.mode!=null)return e.codeBlock.mode===`dark`?`dark`:`system`}function tte(e){let t=e.api?.playground?.mode,n=e.api?.playground?.disableProxy;if(t||n!==void 0)return{display:(()=>{switch(t){case`show`:return`interactive`;case`hide`:return`none`;case void 0:return;default:return t}})(),proxy:n==null?void 0:!n}}function nte(e){let t=e.topbarCtaButton;if(t)return t.type===void 0||t.type===`link`?{type:`button`,label:t.name,href:t.url}:{type:`github`,href:t.url}}function rte(e){let t=e.font,n={};if(!t)return;if(`family`in t)return r(t);function r(e){let{url:t}=e,n=Qee(e,[`url`]);return Object.assign(Object.assign({},n),t?{source:t}:{})}return t.headings&&(n.heading=r(t.headings)),t.body&&(n.body=r(t.body)),n}function ite(e){if(!e.footer?.socials&&!e.footerSocials)return;let t=e.footer?.socials??e.footerSocials;return Array.isArray(t)?t.reduce((e,t)=>(e[t.type]=t.url,e),{}):t}function ate(e,t){let n;if(t?.shouldUpgradeTheme){if(e.theme)switch(e.theme){case`venus`:n=`palm`;break;case`quill`:n=`willow`;break;default:n=`mint`}e.layout===`sidenav`?n=`maple`:e.layout===`solidSidenav`&&(n=`willow`)}return{theme:n??`mint`}}function pf(e,t){let n=rte(e),r=tte(e),i=$ee(e),a=ete(e),o=ate(e,t);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({$schema:`https://mintlify.com/docs.json`},o),{name:e.name}),e.colors?{colors:{primary:e.colors.primary,light:e.colors.light,dark:e.colors.dark}}:{colors:{primary:`#16A34A`}}),{favicon:e.favicon,navigation:Yee(e)}),i||a?{styling:{eyebrows:i,codeblocks:a}}:{}),{logo:e.logo}),r||e.api?.request?.example?.languages||e.api?.baseUrl||e.api?.auth?.method||e.openapi?{api:Object.assign(Object.assign(Object.assign(Object.assign({},e.openapi?{openapi:e.openapi}:{}),r?{playground:Object.assign(Object.assign({},r.display?{display:r.display}:{}),r.proxy===void 0?{}:{proxy:r.proxy})}:{}),e.api?.request?.example?.languages?{examples:{languages:e.api.request.example.languages}}:{}),e.api?.baseUrl||e.api?.auth?.method||e.api?.auth?.name?{mdx:Object.assign({server:e.api.baseUrl},e.api.auth?.method||e.api.auth?.name?{auth:{method:e.api.auth.method,name:e.api.auth.name}}:{})}:{})}:{}),e.modeToggle?.default||e.modeToggle?.isHidden!=null?{appearance:{default:e.modeToggle.default,strict:e.modeToggle.isHidden}}:{}),e.background||e.backgroundImage||e.colors&&e.colors.background?{background:Object.assign(Object.assign(Object.assign({},e.backgroundImage?{image:e.backgroundImage}:{}),{decoration:e.background?.style}),e.colors&&e.colors.background?{color:{light:e.colors.background.light,dark:e.colors.background.dark}}:{})}:{}),e.topbarLinks||e.topbarCtaButton?{navbar:Object.assign(Object.assign({},e.topbarLinks?{links:e.topbarLinks.map(e=>e.type===`link`||e.type===void 0?{label:e.name,href:e.url}:{label:(0,Zee.default)(e.type),href:e.url})}:{}),{primary:nte(e)})}:{}),e.search?.prompt?{search:{prompt:e.search.prompt}}:{}),e.metadata||e.seo?.indexHiddenPages!==void 0?{seo:Object.assign(Object.assign({},e.metadata?{metatags:e.metadata}:{}),{indexing:e.seo?.indexHiddenPages?`all`:`navigable`})}:{}),e.footer||e.footerSocials?{footer:Object.assign(Object.assign({},e.footer?.socials||e.footerSocials?{socials:ite(e)}:{}),e.footer?.links?{links:e.footer.links.map(e=>({header:e.title,items:e.links.map(e=>({label:e.label,href:e.url}))}))}:{})}:{}),e.integrations||e.analytics?{integrations:Object.assign(Object.assign(Object.assign({},e.analytics),e.integrations?.intercom?{intercom:{appId:e.integrations.intercom}}:{}),e.integrations?.frontchat?{frontchat:{snippetId:e.integrations.frontchat}}:{})}:{}),n?{fonts:n}:{}),e.redirects?{redirects:e.redirects}:{})}function ote(e){return Zi(e)?e:T(e)}function ste(e){return typeof e==`string`?!0:Array.isArray(e)?e.every(e=>typeof e==`string`||typeof e==`object`&&!!e&&`source`in e&&typeof e.source==`string`):typeof e==`object`&&!!e&&`source`in e&&typeof e.source==`string`}function mf(e,t,n){if(typeof e!=`object`||!e||n.has(e))return;if(n.add(e),Array.isArray(e)){for(let r of e)mf(r,t,n);return}let r=Object.fromEntries(Object.entries(e));`openapi`in r&&ste(r.openapi)&&t.push(...Wa(r.openapi));for(let[e,i]of Object.entries(r))e!==`openapi`&&mf(i,t,n)}function hf(e){let t=[];mf(e,t,/* @__PURE__ */ new Set);let n=/* @__PURE__ */ new Map;for(let e of t){if(e.overlays==null)continue;let t=e.overlays.map(e=>ote(e.trim())),r=ote(e.source.trim()),i=n.get(r);if(i!=null&&JSON.stringify(i)!==JSON.stringify(t))throw Error(`OpenAPI source ${e.source} is configured with conflicting overlay lists in docs.json: [${i.join(`, `)}] and [${t.join(`, `)}]. Use the same overlays everywhere the source is referenced.`);n.set(r,t)}return n}const cte=/^1\.[01](\.\d+)?$/,lte=/^x-/,gf=e=>(t,n)=>{for(let r of Object.keys(t))!e.includes(r)&&!lte.test(r)&&n.addIssue({code:Fe.custom,message:`Unknown field "${r}". Only specification extensions (fields starting with "x-") are allowed in addition to the fixed fields.`})},ute=F({title:M({required_error:`The Overlay "info.title" field is required`}),version:M({required_error:`The Overlay "info.version" field is required`}),description:M().optional()}).passthrough().superRefine(gf([`title`,`version`,`description`])),dte=F({target:M({required_error:`Each Overlay action requires a "target" JSONPath expression`}).trim().nonempty(`Each Overlay action requires a non-empty "target" JSONPath expression`),description:M().optional(),update:je().optional(),copy:M().trim().nonempty().optional(),remove:C().optional()}).passthrough().superRefine(gf([`target`,`description`,`update`,`copy`,`remove`])).superRefine((e,t)=>{e.update!==void 0&&e.copy!==void 0&&t.addIssue({code:Fe.custom,message:`Action targeting "${e.target}" sets both "update" and "copy". Use only one modifier per action.`}),e.update===void 0&&e.copy===void 0&&e.remove!==!0&&t.addIssue({code:Fe.custom,message:`Action targeting "${e.target}" has no effect. Set "update", "copy", or "remove: true".`})}),fte=F({overlay:M({required_error:`The Overlay "overlay" version field is required`,invalid_type_error:`The Overlay "overlay" version field must be a string, e.g. "1.1.0"`}).regex(cte,`Unsupported Overlay Specification version. Supported versions are 1.0.x and 1.1.x`),info:ute,extends:M().optional(),actions:he(dte).min(1,`The Overlay "actions" array must contain at least one action`)}).passthrough().superRefine(gf([`overlay`,`info`,`extends`,`actions`])).superRefine((e,t)=>{e.overlay.startsWith(`1.0`)&&e.actions.forEach((e,n)=>{e.copy!==void 0&&t.addIssue({code:Fe.custom,path:[`actions`,n,`copy`],message:`The "copy" modifier requires Overlay Specification 1.1.0 or later. Declare overlay: "1.1.0" to use copy.`})})});function _f(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&`overlay`in e}function pte(e){let t=fte.safeParse(e);if(!t.success){let e=t.error.issues.map(e=>`${e.path.length>0?`${e.path.join(`.`)}: `:``}${e.message}`).join(`; `);throw Error(`Invalid OpenAPI Overlay document: ${e}`)}return t.data}const vf=(e,t)=>{let n=t||process.cwd(),r=gt.resolve(n,e),i=gt.relative(n,r);if(i.startsWith(`..${gt.sep}`)||i===`..`||gt.isAbsolute(i))throw Error(`Access denied: path: ${e} is outside the current directory`);return{resolvedPath:r}};var mte=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;function hte(e){return typeof e==`string`&&mte.test(e)}const yf=[];for(let e=0;e<256;++e)yf.push((e+256).toString(16).slice(1));function gte(e,t=0){return(yf[e[t+0]]+yf[e[t+1]]+yf[e[t+2]]+yf[e[t+3]]+`-`+yf[e[t+4]]+yf[e[t+5]]+`-`+yf[e[t+6]]+yf[e[t+7]]+`-`+yf[e[t+8]]+yf[e[t+9]]+`-`+yf[e[t+10]]+yf[e[t+11]]+yf[e[t+12]]+yf[e[t+13]]+yf[e[t+14]]+yf[e[t+15]]).toLowerCase()}const bf=/* @__PURE__ */ new Uint8Array(256);let xf=bf.length;function _te(){return xf>bf.length-16&&(Nt(bf),xf=0),bf.slice(xf,xf+=16)}var vte={randomUUID:Pt};function Sf(e,t,n){if(vte.randomUUID&&!t&&!e)return vte.randomUUID();e||={};let r=e.random??e.rng?.()??_te();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return gte(r)}const yte=e=>{let t={};if(!e.components)return t;let n=[`schemas`,`responses`,`parameters`,`examples`,`requestBodies`,`headers`,`securitySchemes`,`mediaTypes`,`links`,`callbacks`,`pathItems`],r=e.components;return n.forEach(e=>{let n=r[e];n&&Object.entries(n).forEach(([n,r])=>{let i=Sf(),a=`#/components/${e}/${n}`;t[a]=i})}),t};var Cf=/* @__PURE__ */ r((/* @__PURE__ */ a(((e,n)=>{var r=t(`crypto`);e=n.exports=i;function i(e,t){return t=s(e,t),l(e,t)}e.sha1=function(e){return i(e)},e.keys=function(e){return i(e,{excludeValues:!0,algorithm:`sha1`,encoding:`hex`})},e.MD5=function(e){return i(e,{algorithm:`md5`,encoding:`hex`})},e.keysMD5=function(e){return i(e,{algorithm:`md5`,encoding:`hex`,excludeValues:!0})};var a=r.getHashes?r.getHashes().slice():[`sha1`,`md5`];a.push(`passthrough`);var o=[`buffer`,`hex`,`binary`,`base64`];function s(e,t){t||={};var n={};if(n.algorithm=t.algorithm||`sha1`,n.encoding=t.encoding||`hex`,n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=t.ignoreUnknown===!0,n.respectType=t.respectType!==!1,n.respectFunctionNames=t.respectFunctionNames!==!1,n.respectFunctionProperties=t.respectFunctionProperties!==!1,n.unorderedArrays=t.unorderedArrays===!0,n.unorderedSets=t.unorderedSets!==!1,n.unorderedObjects=t.unorderedObjects!==!1,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,e===void 0)throw Error(`Object argument required.`);for(var r=0;r<a.length;++r)a[r].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=a[r]);if(a.indexOf(n.algorithm)===-1)throw Error(`Algorithm "`+n.algorithm+`" not supported. supported values: `+a.join(`, `));if(o.indexOf(n.encoding)===-1&&n.algorithm!==`passthrough`)throw Error(`Encoding "`+n.encoding+`" not supported. supported values: `+o.join(`, `));return n}function c(e){return typeof e==`function`&&/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}function l(e,t){var n=t.algorithm===`passthrough`?new d:r.createHash(t.algorithm);if(n.write===void 0&&(n.write=n.update,n.end=n.update),u(t,n).dispatch(e),n.update||n.end(``),n.digest)return n.digest(t.encoding===`buffer`?void 0:t.encoding);var i=n.read();return t.encoding===`buffer`?i:i.toString(t.encoding)}e.writeToStream=function(e,t,n){return n===void 0&&(n=t,t={}),t=s(e,t),u(t,n).dispatch(e)};function u(e,t,n){n||=[];var r=function(e){return t.update?t.update(e,`utf8`):t.write(e,`utf8`)};return{dispatch:function(t){e.replacer&&(t=e.replacer(t));var n=typeof t;return t===null&&(n=`null`),this[`_`+n](t)},_object:function(t){var i=/\[object (.*)\]/i,a=Object.prototype.toString.call(t),o=i.exec(a);o=o?o[1]:`unknown:[`+a+`]`,o=o.toLowerCase();var s=null;if((s=n.indexOf(t))>=0)return this.dispatch(`[CIRCULAR:`+s+`]`);if(n.push(t),typeof Buffer<`u`&&Buffer.isBuffer&&Buffer.isBuffer(t))return r(`buffer:`),r(t);if(o!==`object`&&o!==`function`&&o!==`asyncfunction`){if(this[`_`+o])this[`_`+o](t);else if(e.ignoreUnknown)return r(`[`+o+`]`);else throw Error(`Unknown object type "`+o+`"`)}else{var l=Object.keys(t);e.unorderedObjects&&(l=l.sort()),e.respectType!==!1&&!c(t)&&l.splice(0,0,`prototype`,`__proto__`,`constructor`),e.excludeKeys&&(l=l.filter(function(t){return!e.excludeKeys(t)})),r(`object:`+l.length+`:`);var u=this;return l.forEach(function(n){u.dispatch(n),r(`:`),e.excludeValues||u.dispatch(t[n]),r(`,`)})}},_array:function(t,i){i=i===void 0?e.unorderedArrays!==!1:i;var a=this;if(r(`array:`+t.length+`:`),!i||t.length<=1)return t.forEach(function(e){return a.dispatch(e)});var o=[],s=t.map(function(t){var r=new d,i=n.slice();return u(e,r,i).dispatch(t),o=o.concat(i.slice(n.length)),r.read().toString()});return n=n.concat(o),s.sort(),this._array(s,!1)},_date:function(e){return r(`date:`+e.toJSON())},_symbol:function(e){return r(`symbol:`+e.toString())},_error:function(e){return r(`error:`+e.toString())},_boolean:function(e){return r(`bool:`+e.toString())},_string:function(e){r(`string:`+e.length+`:`),r(e.toString())},_function:function(t){r(`fn:`),c(t)?this.dispatch(`[native]`):this.dispatch(t.toString()),e.respectFunctionNames!==!1&&this.dispatch(`function-name:`+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return r(`number:`+e.toString())},_xml:function(e){return r(`xml:`+e.toString())},_null:function(){return r(`Null`)},_undefined:function(){return r(`Undefined`)},_regexp:function(e){return r(`regex:`+e.toString())},_uint8array:function(e){return r(`uint8array:`),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return r(`uint8clampedarray:`),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return r(`int8array:`),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return r(`uint16array:`),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return r(`int16array:`),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return r(`uint32array:`),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return r(`int32array:`),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return r(`float32array:`),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return r(`float64array:`),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return r(`arraybuffer:`),this.dispatch(new Uint8Array(e))},_url:function(e){return r(`url:`+e.toString(),`utf8`)},_map:function(t){r(`map:`);var n=Array.from(t);return this._array(n,e.unorderedSets!==!1)},_set:function(t){r(`set:`);var n=Array.from(t);return this._array(n,e.unorderedSets!==!1)},_file:function(e){return r(`file:`),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return r(`[blob]`);throw Error(`Hashing Blob objects is currently not supported
|
|
20
20
|
(see https://github.com/puleos/object-hash/issues/26)
|
|
21
21
|
Use "options.replacer" or "options.ignoreUnknown"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/cli",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.9",
|
|
4
4
|
"description": "The Mintlify CLI",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -51,21 +51,21 @@
|
|
|
51
51
|
"sharp": "0.33.5"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@mintlify/package-builder": "0.0.
|
|
54
|
+
"@mintlify/package-builder": "0.0.142",
|
|
55
55
|
"fsevents": "2.3.3",
|
|
56
56
|
"keytar": "7.9.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@inquirer/prompts": "7.9.0",
|
|
60
|
-
"@mintlify/common": "1.0.
|
|
61
|
-
"@mintlify/editor": "0.0.
|
|
62
|
-
"@mintlify/link-rot": "3.0.
|
|
63
|
-
"@mintlify/models": "0.0.
|
|
64
|
-
"@mintlify/og": "0.0.
|
|
65
|
-
"@mintlify/prebuild": "1.0.
|
|
66
|
-
"@mintlify/previewing": "4.0.
|
|
60
|
+
"@mintlify/common": "1.0.1353",
|
|
61
|
+
"@mintlify/editor": "0.0.631",
|
|
62
|
+
"@mintlify/link-rot": "3.0.1598",
|
|
63
|
+
"@mintlify/models": "0.0.391",
|
|
64
|
+
"@mintlify/og": "0.0.152",
|
|
65
|
+
"@mintlify/prebuild": "1.0.1529",
|
|
66
|
+
"@mintlify/previewing": "4.0.1616",
|
|
67
67
|
"@mintlify/ts-config": "2.0.2",
|
|
68
|
-
"@mintlify/validation": "0.1.
|
|
68
|
+
"@mintlify/validation": "0.1.966",
|
|
69
69
|
"@tsconfig/recommended": "1.0.2",
|
|
70
70
|
"@types/detect-port": "1.3.2",
|
|
71
71
|
"@types/keytar": "4.4.2",
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"yargs": "17.7.1",
|
|
114
114
|
"zod": "4.3.6"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "d0cd3c03d30b85b3dbc68bce038c41064082b2c3"
|
|
117
117
|
}
|