(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,476781,e=>{"use strict";e.s(["Classes",()=>t]);let t=Object.fromEntries(Object.entries({Accordion:"accordion",AccordionGroup:"accordion-group",Callout:"callout",Card:"card",CardGroup:"card-group",Columns:"columns",CodeBlock:"code-block",CodeBlockIcon:"code-block-icon",CodeBlockCopyButton:"code-block-copy-button",CodeBlockFadeOverlay:"code-block-fade-overlay",CodeGroup:"code-group",Expandable:"expandable",Field:"field",Frame:"frame",GitHubRepo:"github-repo",Icon:"icon",Mermaid:"mermaid",Step:"step",Steps:"steps",Tab:"tab",Tabs:"tabs",TabIcon:"tab-icon",Update:"update",Tooltip:"tooltip",Panel:"panel",Prompt:"prompt",APISection:"api-section",APISectionHeading:"api-section-heading",APISectionHeadingTitle:"api-section-heading-title",APISectionHeadingSubtitle:"api-section-heading-subtitle",OptionDropdown:"option-dropdown",TryitButton:"tryit-button",MethodPill:"method-pill",MethodNavPill:"method-nav-pill",NavTagPill:"nav-tag-pill",NavTagPillText:"nav-tag-pill-text",Anchors:"nav-anchors",Anchor:"nav-anchor",TabsBar:"nav-tabs",TabsBarItem:"nav-tabs-item",MobileNavTabsBarItem:"mobile-nav-tabs-item",TableOfContents:"toc",TableOfContentsItem:"toc-item",Footer:"footer",AdvancedFooter:"advanced-footer",SidebarGroupIcon:"sidebar-group-icon",SidebarGroupHeader:"sidebar-group-header",SidebarTitle:"sidebar-title",SidebarGroup:"sidebar-group",SidebarNavGroupDivider:"sidebar-nav-group-divider",NavBarLink:"navbar-link",TopbarRightContainer:"topbar-right-container",Logo:"nav-logo",PaginationPrev:"pagination-prev",PaginationNext:"pagination-next",FeedbackToolbar:"feedback-toolbar",Eyebrow:"eyebrow",BreadcrumbList:"breadcrumb-list",BreadcrumbItem:"breadcrumb-item",Content:"mdx-content",DropdownTrigger:"nav-dropdown-trigger",DropdownContent:"nav-dropdown-content",DropdownItem:"nav-dropdown-item",DropdownItemTextContainer:"nav-dropdown-item-text-container",DropdownItemTitle:"nav-dropdown-item-title",DropdownItemDescription:"nav-dropdown-item-description",DropdownItemIcon:"nav-dropdown-item-icon",ProductsSelectorTrigger:"nav-dropdown-products-selector-trigger",ProductsSelectorContent:"nav-dropdown-products-selector-content",ProductsSelectorItem:"nav-dropdown-products-selector-item",ProductsSelectorItemTitle:"nav-dropdown-products-selector-item-title",ProductsSelectorItemDescription:"nav-dropdown-products-selector-item-description",ProductsSelectorItemIcon:"nav-dropdown-products-selector-item-icon",Link:"link",AlmondLayout:"almond-layout",AlmondNavBottomSection:"almond-nav-bottom-section",AlmondNavBottomSectionDivider:"almond-nav-bottom-section-divider",Directory:"directory",DirectoryGroup:"directory-group",DirectoryPage:"directory-page",DirectoryCard:"directory-card",ChatAssistantSheet:"chat-assistant-sheet",ChatAssistantSheetHeader:"chat-assistant-sheet-header",ChatAssistantSheetContent:"chat-assistant-sheet-content",ChatAssistantInput:"chat-assistant-input",ChatAssistantFloatingInput:"chat-assistant-floating-input",ChatAssistantSendButton:"chat-assistant-send-button",ChatAssistantDisclaimerText:"chat-assistant-disclaimer-text",ChatAssistantPayloadItem:"chat-assistant-payload-item",ChatAssistantCodeBlock:"chat-assistant-code-block",StarterQuestionText:"starter-question-text",LoginLink:"login-link",LogoutLink:"logout-link",ContextualFeedbackContainer:"contextual-feedback-container",ContextualFeedbackForm:"contextual-feedback-form",ContextualFeedbackFormTitle:"contextual-feedback-form-title",ContextualFeedbackFormInput:"contextual-feedback-input",ContextualFeedbackFormButton:"contextual-feedback-button",ContextualFeedbackFormSubmitButton:"contextual-feedback-form-submit-button",CodeSnippetFeedbackPopoverContent:"code-snippet-feedback-popover-content",CodeSnippetFeedbackForm:"code-snippet-feedback-form",CodeSnippetFeedbackButton:"code-snippet-feedback-button",CodeSnippetFeedbackTextArea:"code-snippet-feedback-textarea",CodeSnippetFeedbackFormTitle:"code-snippet-feedback-form-title",CodeSnippetFeedbackFormDescription:"code-snippet-feedback-form-description",CodeSnippetFeedbackFormSubmitButton:"code-snippet-feedback-form-submit-button",NotFoundContainer:"not-found-container",NotFoundStatusCode:"not-found-status-code",NotFoundTitle:"not-found-title",NotFoundDescription:"not-found-description",NotFoundLogo:"not-found-logo",NotFoundLogoContainer:"not-found-logo-container",NotFoundMessage:"not-found-message",NotFoundGoBackButton:"not-found-go-back-button",NotFoundGoBackArrow:"not-found-go-back-arrow",NotFoundGoBackText:"not-found-go-back-text",NotFoundRecommendedPagesList:"not-found-recommended-pages-list",NotFoundRecommendedPageLink:"not-found-recommended-page-link",MultiViewItem:"multi-view-item",MultiViewDropdown:"multi-view-dropdown",MultiViewDropdownTrigger:"multi-view-dropdown-trigger",MultiViewDropdownContent:"multi-view-dropdown-content",MultiViewDropdownItem:"multi-view-dropdown-item",ThemePreferenceMenuTrigger:"theme-preference-menu-trigger",ThemePreferenceMenuContent:"theme-preference-menu-content",ThemePreferenceMenuItem:"theme-preference-menu-item",Color:"color",ColorRow:"color-row",ColorItem:"color-item",Tile:"tile",Tree:"tree",TreeFolder:"tree-folder",TreeFile:"tree-file"}).map(([e,t])=>[e,`${t}`]))},998183,(e,t,r)=>{"use strict";function n(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{formatUrl:function(){return o},formatWithValidation:function(){return l},urlObjectKeys:function(){return i}});let n=e.r(151836)._(e.r(998183)),a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",i=e.pathname||"",l=e.hash||"",s=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(c+=":"+e.port)),s&&"object"==typeof s&&(s=String(n.urlQueryToSearchParams(s)));let u=e.search||s&&"?"+s||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==c?(c="//"+(c||""),i&&"/"!==i[0]&&(i="/"+i)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),u&&"?"!==u[0]&&(u="?"+u),""+o+c+(i=i.replace(/[?#]/g,encodeURIComponent))+(u=u.replace("#","%23"))+l}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return o(e)}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(271645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=o(e,n)),t&&(a.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return b},NormalizeError:function(){return f},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return n},execOnce:function(){return a},getDisplayName:function(){return c},getLocationOrigin:function(){return l},getURL:function(){return s},isAbsoluteUrl:function(){return i},isResSent:function(){return u},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return k}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return function(){for(var n=arguments.length,a=Array(n),o=0;oo.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=l();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function d(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Object.defineProperty(Error('"'+c(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let m="undefined"!=typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class f extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class b extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function k(e){return JSON.stringify({message:e.message,stack:e.stack})}},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(718967),a=e.r(652817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{default:function(){return f},useLinkStatus:function(){return b}});let n=e.r(151836),a=e.r(843476),o=n._(e.r(271645)),i=e.r(195057),l=e.r(8372),s=e.r(818581),c=e.r(718967),u=e.r(405550);e.r(233525);let d=e.r(91949),p=e.r(573668),m=e.r(699781);e.r(284508);let g=e.r(565165);function h(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}function f(e){var t;let r,n,i,[f,b]=(0,o.useOptimistic)(d.IDLE_LINK_STATUS),v=(0,o.useRef)(null),{href:k,as:x,children:S,prefetch:w=null,passHref:T,replace:C,shallow:L,scroll:N,onClick:E,onMouseEnter:P,onTouchStart:A,legacyBehavior:F=!1,onNavigate:_,ref:j,unstable_dynamicOnHover:I,...D}=e;r=S,F&&("string"==typeof r||"number"==typeof r)&&(r=(0,a.jsx)("a",{children:r}));let M=o.default.useContext(l.AppRouterContext),O=!1!==w,R=!1!==w?null===(t=w)||"auto"===t?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,{href:B,as:$}=o.default.useMemo(()=>{let e=h(k);return{href:e,as:x?h(x):e}},[k,x]);F&&(n=o.default.Children.only(r));let U=F?n&&"object"==typeof n&&n.ref:j,H=o.default.useCallback(e=>(null!==M&&(v.current=(0,d.mountLinkInstance)(e,B,M,R,O,b)),()=>{v.current&&((0,d.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,d.unmountPrefetchableInstance)(e)}),[O,B,M,R,b]),G={ref:(0,s.useMergedRef)(H,U),onClick(e){F||"function"!=typeof E||E(e),F&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),M&&(e.defaultPrevented||function(e,t,r,n,a,i,l){let{nodeName:s}=e.currentTarget;if(!("A"===s.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){a&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}o.default.startTransition(()=>{(0,m.dispatchNavigateAction)(r||t,a?"replace":"push",null==i||i,n.current)})}}(e,B,$,v,C,N,_))},onMouseEnter(e){F||"function"!=typeof P||P(e),F&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),M&&O&&(0,d.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){F||"function"!=typeof A||A(e),F&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),M&&O&&(0,d.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,c.isAbsoluteUrl)($)?G.href=$:F&&!T&&("a"!==n.type||"href"in n.props)||(G.href=(0,u.addBasePath)($)),i=F?o.default.cloneElement(n,G):(0,a.jsx)("a",{...D,...G,children:r}),(0,a.jsx)(y.Provider,{value:f,children:i})}let y=(0,o.createContext)(d.IDLE_LINK_STATUS),b=()=>(0,o.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},225913,e=>{"use strict";e.s(["cva",()=>n],225913);let t=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,r=function(){for(var e,t,r=0,n="";ra=>{var o;if((null==n?void 0:n.variants)==null)return r(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:i,defaultVariants:l}=n,s=Object.keys(i).map(e=>{let r=null==a?void 0:a[e],n=null==l?void 0:l[e];if(null===r)return null;let o=t(r)||t(n);return i[e][o]}),c=a&&Object.entries(a).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return r(e,s,null==n||null==(o=n.compoundVariants)?void 0:o.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...c}[t]):({...l,...c})[t]===r})?[...e,r,n]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)}},951378,e=>{"use strict";e.s(["DEFAULT_DARK_THEME",()=>t,"DEFAULT_LIGHT_THEME",()=>r,"codeStylingToThemeOrThemes",()=>n,"getCodeStylingEnum",()=>a]);let t="dark-plus",r="github-light-default",n=e=>"object"==typeof e&&"theme"in e&&"object"==typeof e.theme?{themes:e.theme}:"object"==typeof e&&"theme"in e&&"string"==typeof e.theme?{themes:{light:e.theme,dark:e.theme}}:"dark"===e?{themes:{light:t,dark:t}}:{themes:{light:r,dark:t}},a=e=>"system"===e||"dark"===e?e:"object"==typeof e&&"theme"in e&&"object"==typeof e.theme?"system":"object"==typeof e&&"theme"in e&&"string"==typeof e.theme?["catppuccin-latte","everforest-light","github-light","github-light-default","github-light-high-contrast","gruvbox-light-hard","gruvbox-light-medium","gruvbox-light-soft","kanagawa-lotus","light-plus","material-theme-lighter","min-light","one-light","rose-pine-dawn","slack-ochin","snazzy-light","solarized-light","vitesse-light"].includes(e.theme)?"system":"dark":"system"},306864,e=>{"use strict";e.s(["DEFAULT_DARK_BG",()=>i,"DEFAULT_LIGHT_BG",()=>l,"LANGS",()=>s,"LINE_DIFF_ADD_CLASS_NAME",()=>a,"LINE_DIFF_REMOVE_CLASS_NAME",()=>o,"LINE_FOCUS_CLASS_NAME",()=>n,"LINE_HIGHLIGHT_CLASS_NAME",()=>r,"SHIKI_CLASSNAME",()=>d,"shikiColorReplacements",()=>c,"shikiLangMap",()=>u]);var t=e.i(951378);let r="line-highlight",n="line-focus",a="line-diff line-add",o="line-diff line-remove",i="#0B0C0E",l="#FFFFFF",s=["bash","c","c++","dart","go","graphql","http","java","javascript","json","kotlin","markdown","mdx","php","python","ruby","rust","swift","csharp","toml","typescript","tsx","yaml"],c={[t.DEFAULT_DARK_THEME]:{"#1e1e1e":i}},u={curl:"bash",bash:"bash",sh:"bash",shell:"bash",zsh:"bash",shellscript:"bash",c:"c",csharp:"csharp","c++":"c++",cpp:"c++",cc:"c++",go:"go",golang:"go",graphql:"graphql",http:"http",java:"java",javascript:"javascript",js:"javascript",node:"javascript",nodejs:"javascript",json:"json",jsonc:"json",json5:"json",markdown:"markdown",md:"markdown",mdx:"mdx",php:"php",python:"python",py:"python",typescript:"typescript",ts:"typescript",tsx:"tsx",react:"tsx",reactts:"tsx","react-ts":"tsx",jsx:"tsx",ruby:"ruby",rb:"ruby",rust:"rust",rs:"rust",rustc:"rust",swift:"swift",kotlin:"kotlin",kt:"kotlin",dart:"dart",flutter:"dart",toml:"toml",yaml:"yaml",yml:"yaml"},d="shiki shiki-themes"},615824,147611,e=>{"use strict";let t,r,n;e.s(["getLanguageFromClassName",()=>L,"getShikiHighlightedHtml",()=>function r(n){let o;if(!n.codeString||p)return;if("language"in n){if("text"===n.language)return;o=n.language}else{if("lang-text"===n.className)return;o=L(n.className,n.fileName)}if(!o)return;let i=function(e){let t="text";if(void 0===e)return t;let r=Number(e);if(!isNaN(r)&&r>99&&r<600)return"json";let n=e.toLowerCase(),a=u(n);return d.shikiLangMap[a]??d.shikiLangMap[n]??t}(o),l=JSON.stringify([n.codeString,i,n.codeBlockTheme,{...n.opts,noAsync:void 0}]),s=function(e){let t=N.get(e);return void 0!==t&&(N.delete(e),N.set(e,t)),t}(l);if("string"==typeof s||void 0!==s&&n.opts?.noAsync!==!0)return s;if(n.codeString.length>5*a.MAX_PREVIEW_BYTES)return;if(n.codeString.length>a.MAX_PREVIEW_BYTES){if(n.opts?.noAsync===!0)return;let t=e.A(753735).then(({getShikiWorker:e})=>e()?.highlight(n)).then(e=>("string"==typeof e?E(l,e):N.delete(l),e),()=>{N.delete(l)});return E(l,t),t}let c=t;if(void 0===c||h!==g||"text"!==i&&!c.isLanguageLoaded(i)){if(n.opts?.noAsync===!0)return void(w++,v(i).then(()=>{T=!0},()=>void 0).then(()=>{if(!(--w>0)&&T)for(let e of(T=!1,[...x]))e()}));return v(i).then(()=>r(n)).catch(()=>void 0)}let m=c.highlightToHtml(n,i);return"string"==typeof m&&E(l,m),m},"loadShikiThemes",()=>C,"onShikiSettled",()=>S,"preloadShiki",()=>k],615824);var a=e.i(876469);e.s(["getDisplayName",()=>s,"getIconKey",()=>c,"getShikiLanguageFromPreset",()=>u],147611);let o=[{key:"bash",aliases:["curl","sh","shell"],displayName:"cURL",shikiLanguage:"bash",httpSnippet:{target:"shell"}},{key:"python",aliases:["py"],displayName:"Python",shikiLanguage:"python",httpSnippet:{target:"python",client:"requests"}},{key:"javascript",aliases:["js"],displayName:"JavaScript",shikiLanguage:"javascript",httpSnippet:{target:"javascript",client:"fetch"}},{key:"node",aliases:["nodejs","node.js"],displayName:"Node.js",iconKey:"node",shikiLanguage:"javascript",httpSnippet:{target:"node",client:"fetch"}},{key:"php",displayName:"PHP",shikiLanguage:"php",httpSnippet:{target:"php",client:"curl"}},{key:"go",aliases:["golang"],displayName:"Go",shikiLanguage:"go",httpSnippet:{target:"go"}},{key:"java",displayName:"Java",shikiLanguage:"java",httpSnippet:{target:"java"}},{key:"ruby",aliases:["rb"],displayName:"Ruby",shikiLanguage:"ruby",httpSnippet:{target:"ruby"}},{key:"powershell",displayName:"PowerShell",shikiLanguage:"bash",httpSnippet:{target:"powershell"}},{key:"swift",displayName:"Swift",shikiLanguage:"swift",httpSnippet:{target:"swift"}},{key:"csharp",aliases:["c#"],displayName:"C#",shikiLanguage:"csharp",httpSnippet:{target:"csharp",client:"restsharp"}},{key:"dotnet",aliases:[".net",".NET","dotnet","dot-net"],displayName:".NET",iconKey:"dot-net",shikiLanguage:"csharp",httpSnippet:{target:"csharp",client:"restsharp"}},{key:"typescript",aliases:["ts"],displayName:"TypeScript",shikiLanguage:"typescript",httpSnippet:{target:"javascript",client:"fetch"}},{key:"c",displayName:"C",shikiLanguage:"c",httpSnippet:{target:"c"}},{key:"c++",aliases:["cpp"],displayName:"C++",shikiLanguage:"c++",iconKey:"cplusplus",httpSnippet:{target:"c"}},{key:"kotlin",aliases:["kt"],displayName:"Kotlin",shikiLanguage:"kotlin",httpSnippet:{target:"kotlin"}},{key:"rust",aliases:["rs"],displayName:"Rust",shikiLanguage:"rust",httpSnippet:{target:"rust"}},{key:"dart",aliases:["flutter"],displayName:"Dart",shikiLanguage:"dart",httpSnippet:{target:"dart"}}],i=new Map;for(let e of o)for(let t of(i.set(e.key.toLowerCase(),e),e.aliases??[]))i.set(t.toLowerCase(),e);let l=e=>i.get(e.toLowerCase()),s=e=>l(e)?.displayName??e,c=e=>{let t=l(e);return t?t.iconKey??t.key:e.toLowerCase()},u=e=>l(e)?.shikiLanguage??e;o.filter(e=>["bash","python","javascript","php","go","java","ruby"].includes(e.key)),Object.fromEntries(o.flatMap(e=>[[e.key,e],...(e.aliases??[]).map(t=>[t,e])])),Object.fromEntries(o.flatMap(e=>[[e.key,e.displayName],...(e.aliases??[]).map(t=>[t,e.displayName])]));var d=e.i(306864);let p=!1,m=!1,g=0,h=-1,f=Promise.resolve();function y(){return r??=e.A(389096).then(async e=>(await e.initHighlighter(),t=e,e)).catch(e=>{throw console.error(e),p=!0,e})}function b(e){return h===g?f:f=f.catch(()=>void 0).then(async()=>{let t=g;h!==t&&(await e.applyThemes(n),h=t)})}function v(e){return y().then(async t=>{await Promise.all([b(t),"text"===e?void 0:t.loadShikiLanguage(e)])})}function k(){return y().then(b).catch(()=>void 0)}let x=new Set;function S(e){return x.add(e),()=>{x.delete(e)}}let w=0,T=!1;function C(e,t){return((!m||t)&&(n=e,m=!0,g++),t)?k():Promise.resolve()}function L(e,t){let r=/language-(\w+)/.exec(e??"");return r?r[1]??"text":t??"text"}let N=new Map;function E(e,t){if(!N.has(e)&&N.size>=200){let e=N.keys().next().value;void 0!==e&&N.delete(e)}N.set(e,t)}},771455,e=>{"use strict";e.s(["getS3BaseUrl",()=>r,"getS3URI",()=>n]);var t=e.i(741790);let r=(e={})=>`https://${e.bucketName?e.bucketName:"mintlify"}.s3.${e.region?e.region:"us-west-1"}.amazonaws.com`,n=(e,n,a={})=>{if(n.startsWith("http://")||n.startsWith("https://"))return n;let o=t.default.join(e,n),i=new URL(r(a));return new URL(o,i).toString()}},17677,e=>{"use strict";e.s(["combineColors",()=>l,"convertColorsToRgbWithCommas",()=>u,"generateDynamicBackgroundDarkColor",()=>i,"generateDynamicGrayRgb",()=>s,"generateDynamicGrayScale",()=>c,"getBackgroundColors",()=>d,"hexRgb",()=>r,"hexToRgbString",()=>n,"rgbToHex",()=>o,"rgbToRgbString",()=>a]);let t=(e,t)=>{let r=t.a+e.a-t.a*e.a;if(0===r)return{r:0,g:0,b:0,a:0};let n=t.a/r,a=(e,t)=>Math.round((1-n)*e+n*t);return{r:a(e.r,t.r),g:a(e.g,t.g),b:a(e.b,t.b),a:r}},r=e=>{var t;let r=null==(t=/^#?([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.exec(e))?void 0:t[1];if(!r)throw TypeError(`Expected a valid hex string, got ${e}`);let n=r.length<6?[...r].map(e=>e+e).join(""):r,a=Number.parseInt(n.slice(0,6),16);return{red:a>>16,green:a>>8&255,blue:255&a,alpha:8===n.length?Number.parseInt(n.slice(6,8),16)/255:1}},n=e=>{try{let t=r(e);return`${t.red} ${t.green} ${t.blue}`}catch(e){return"0 0 0"}},a=e=>`${e.r} ${e.g} ${e.b}`,o=e=>`#${e.r.toString(16).padStart(2,"0")}${e.g.toString(16).padStart(2,"0")}${e.b.toString(16).padStart(2,"0")}`,i=(e,t,r)=>{if(t)return r?t:n(t);let i=l("#09090b",1,e,.02);return r?o(i):a(i)},l=(e,n,a,o)=>{let i=r(e),l=r(a);return t({r:i.red,g:i.green,b:i.blue,a:n},{r:l.red,g:l.green,b:l.blue,a:o})},s=(e,n)=>{let o=r(n);return a(t({r:e.red,g:e.green,b:e.blue,a:.6},{r:o.red,g:o.green,b:o.blue,a:.95}))},c=e=>{let t={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},n=r(e);return{50:s(n,t[50]),100:s(n,t[100]),200:s(n,t[200]),300:s(n,t[300]),400:s(n,t[400]),500:s(n,t[500]),600:s(n,t[600]),700:s(n,t[700]),800:s(n,t[800]),900:s(n,t[900]),950:s(n,t[950])}},u=e=>e.split(" ").join(", ");function d(e){var t,r,a,s,c,u,d,p,m,g,h,f,y;let b=(null==e?void 0:e.colors.primary)||"#16A34A",v=null!=(t=null==e?void 0:e.colors.light)?t:"#4ADE80";(null==e?void 0:e.theme)==="linden"&&(e.background=Object.assign(Object.assign({},e.background),{color:{light:(null==(a=null==(r=e.background)?void 0:r.color)?void 0:a.light)||o(l("#FFFFFF",1,b,.03)),dark:(null==(c=null==(s=e.background)?void 0:s.color)?void 0:c.dark)||o(l("#09090B",1,v,.03))}}));let k=null!=(p=null==(d=null==(u=null==e?void 0:e.background)?void 0:u.color)?void 0:d.light)?p:"#ffffff",x=n(k),S=i(v,null==(g=null==(m=null==e?void 0:e.background)?void 0:m.color)?void 0:g.dark);return{light:x,dark:S,lightHex:k,darkHex:i(v,null==(f=null==(h=null==e?void 0:e.background)?void 0:h.color)?void 0:f.dark,!0),background:null==(y=null==e?void 0:e.thumbnails)?void 0:y.background}}},662862,363178,e=>{"use strict";e.s(["suppressTransitionsThisTask",()=>y,"useTheme",()=>b],662862),e.s(["ThemeProvider",()=>c,"useTheme",()=>s],363178);var t=e.i(271645),r=(e,t,r,n,a,o,i,l)=>{let s=document.documentElement,c=["light","dark"];function u(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&o?a.map(e=>o[e]||e):a;r?(s.classList.remove(...n),s.classList.add(o&&o[t]?o[t]:t)):s.setAttribute(e,t)}),r=t,l&&c.includes(r)&&(s.style.colorScheme=r)}if(n)u(n);else try{let e=localStorage.getItem(t)||r,n=i&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;u(n)}catch(e){}},n=["light","dark"],a="(prefers-color-scheme: dark)",o="undefined"==typeof window,i=t.createContext(void 0),l={setTheme:e=>{},themes:[]},s=()=>{var e;return null!=(e=t.useContext(i))?e:l},c=e=>t.useContext(i)?t.createElement(t.Fragment,null,e.children):t.createElement(d,{...e}),u=["light","dark"],d=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:o=!0,enableColorScheme:l=!0,storageKey:s="theme",themes:c=u,defaultTheme:d=o?"system":"light",attribute:f="data-theme",value:y,children:b,nonce:v,scriptProps:k})=>{let[x,S]=t.useState(()=>m(s,d)),[w,T]=t.useState(()=>"system"===x?h():x),C=y?Object.values(y):c,L=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&o&&(t=h());let a=y?y[t]:t,i=r?g(v):null,s=document.documentElement,c=e=>{"class"===e?(s.classList.remove(...C),a&&s.classList.add(a)):e.startsWith("data-")&&(a?s.setAttribute(e,a):s.removeAttribute(e))};if(Array.isArray(f)?f.forEach(c):c(f),l){let e=n.includes(d)?d:null,r=n.includes(t)?t:e;s.style.colorScheme=r}null==i||i()},[v]),N=t.useCallback(e=>{let t="function"==typeof e?e(x):e;S(t);try{localStorage.setItem(s,t)}catch(e){}},[x]),E=t.useCallback(t=>{T(h(t)),"system"===x&&o&&!e&&L("system")},[x,e]);t.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(E),E(e),()=>e.removeListener(E)},[E]),t.useEffect(()=>{let e=e=>{e.key===s&&(e.newValue?S(e.newValue):N(d))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[N]),t.useEffect(()=>{L(null!=e?e:x)},[e,x]);let P=t.useMemo(()=>({theme:x,setTheme:N,forcedTheme:e,resolvedTheme:"system"===x?w:x,themes:o?[...c,"system"]:c,systemTheme:o?w:void 0}),[x,N,e,w,o,c]);return t.createElement(i.Provider,{value:P},t.createElement(p,{forcedTheme:e,storageKey:s,attribute:f,enableSystem:o,enableColorScheme:l,defaultTheme:d,value:y,themes:c,nonce:v,scriptProps:k}),b)},p=t.memo(({forcedTheme:e,storageKey:n,attribute:a,enableSystem:o,enableColorScheme:i,defaultTheme:l,value:s,themes:c,nonce:u,scriptProps:d})=>{let p=JSON.stringify([a,n,l,e,c,s,o,i]).slice(1,-1);return t.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?u:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${p})`}})}),m=(e,t)=>{let r;if(!o){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},g=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},h=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light"),f=e.i(174080);function y(){let e=document.createElement("style");e.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),setTimeout(()=>{window.getComputedStyle(document.body),e.remove()},1)}function b(){let e=s(),{theme:r,setTheme:n}=e,a=(0,t.useCallback)(e=>{if(e===r)return void n(e);y(),(0,f.flushSync)(()=>n(e))},[r,n]);return(0,t.useMemo)(()=>({...e,setTheme:a}),[e,a])}},822236,e=>{"use strict";e.s(["THEME_PREFERENCE_ATTRIBUTE",()=>t,"getThemePreferenceScript",()=>a,"normalizeThemePreference",()=>n]);let t="data-theme-preference",r={true:"dark",false:"light"},n=(e,t="system")=>{let n=void 0!==e&&e in r?r[e]:e;return"light"===n||"dark"===n||"system"===n?n:t},a=(e,r)=>`(function(){try{var f=${JSON.stringify(r??null)};var v=f||localStorage.getItem(${JSON.stringify("isDarkMode")});if(v==='true')v='dark';else if(v==='false')v='light';if(v!=='light'&&v!=='dark'&&v!=='system')v=${JSON.stringify(e)};document.documentElement.setAttribute(${JSON.stringify(t)},v)}catch(e){}})();`},479721,e=>{"use strict";e.s(["getContentSideLayoutClassNames",()=>v,"getTableOfContentsContentStyle",()=>x,"getTableOfContentsLayoutStyle",()=>k,"getThemeFonts",()=>b,"themeBackground",()=>f,"themeDescription",()=>o,"themeEyebrow",()=>l,"themeHeadings",()=>i,"themePagination",()=>h,"themeSidebarGroupHeader",()=>m,"themeSidebarGroupLabel",()=>p,"themeSidebarItem",()=>g,"themeTitle",()=>a,"themeTocHeading",()=>u,"themeTocSubheading",()=>d,"themeTocTitle",()=>c,"themeVariants",()=>n]);var t=e.i(225913),r=e.i(296548);let n=(e,r="")=>(0,t.cva)(r,{variants:{theme:e}}),a=n({sequoia:"font-medium",luma:"text-[1.875rem] leading-[2.25rem] tracking-[-0.03125rem] font-medium",willow:"text-center text-[30px] text-gray-950 dark:text-white font-medium leading-[36px] w-full"},"font-semibold"),o=n({willow:"text-gray-600 dark:text-gray-400 [&>p:where(:not(:not(p)~p))]:text-center text-sm not-italic font-normal leading-[160%] tracking-[-0.14px]"}),i=n({sequoia:"font-medium",luma:"font-medium",willow:"font-medium text-xl text-gray-950 dark:text-white leading-[150%]"}),l=n({sequoia:"text-xs font-medium",luma:"text-xs font-medium leading-4 tracking-normal capitalize",willow:"text-center font-family-mono text-xs font-medium leading-4 tracking-[-0.12px] uppercase"},"text-sm font-semibold"),s="text-right text-xs not-italic font-medium leading-[140%] tracking-[-0.12px] uppercase font-family-mono",c=n({willow:[s,"text-gray-500 dark:text-gray-500"]}),u=n({sequoia:"text-gray-600 [li:not([data-active])>&:hover]:text-gray-900 dark:[li:not([data-active])>&:hover]:text-gray-100 font-normal!",willow:[s,"justify-end text-gray-600 dark:text-gray-400"]}),d=n({willow:[s,"justify-end text-gray-500 dark:text-gray-500"]}),p=n({maple:"font-medium",palm:"font-medium",almond:"font-medium",aspen:"text-xs",luma:"text-xs",sequoia:"text-xs font-normal"}),m=n({luma:"capitalize",willow:"text-xs font-medium text-gray-900 dark:text-gray-200 leading-4 tracking-[-0.12px] uppercase font-family-mono"}),g=n({willow:"text-gray-700 dark:text-gray-400 text-sm not-italic font-normal leading-5 tracking-[-0.1px]"}),h=n({willow:"text-sm not-italic font-medium leading-[140%] tracking-[-0.14px] uppercase text-gray-600 dark:text-gray-400 font-family-mono"}),f=n({almond:"bg-gray-950/[0.03] dark:bg-[#09090B]",willow:"bg-gray-950/5 dark:bg-background-dark"}),y={almond:{body:{family:"Google Sans"},heading:{family:"Google Sans"}},linden:{body:{family:"Paper Mono"},heading:{family:"Paper Mono"}},willow:{body:{family:"Geist"},heading:{family:"Playfair Display",weight:400}}},b=e=>e?y[e]:void 0,v=({theme:e,hasTabs:t,isApiExample:n})=>{let a="hidden xl:flex self-start sticky xl:flex-col max-w-[28rem] z-21";return"maple"===e?(0,r.cn)(a,"z-10",t?"h-[calc(100vh-6rem)] top-[6rem] [[data-banner-state=visible]_&]:h-[calc(100vh-8rem)] [[data-banner-state=visible]_&]:top-[8rem]":"h-[calc(100vh-4rem)] top-[2.5rem] [[data-banner-state=visible]_&]:h-[calc(100vh-5rem)] [[data-banner-state=visible]_&]:top-[6rem]"):"palm"===e?(0,r.cn)(a,t?"h-[calc(100vh-9.5rem)] top-[9.5rem] [[data-banner-state=visible]_&]:h-[calc(100vh-15rem)] [[data-banner-state=visible]_&]:top-[12rem]":"h-[calc(100vh-8rem)] top-[6.5rem] [[data-banner-state=visible]_&]:h-[calc(100vh-9.5rem)] [[data-banner-state=visible]_&]:top-[9rem]"):"willow"===e?(0,r.cn)(a,"shrink-0 h-[calc(100%+2.5rem)] mt-[-2.5rem]",n?"w-[28rem] mx-4 mt-0":"w-[19rem]"):"linden"===e?(0,r.cn)(a,"h-[calc(100vh-6.5rem)] top-[6.5rem] [[data-banner-state=visible]_&]:h-[calc(100vh-12rem)] [[data-banner-state=visible]_&]:top-[12rem]"):"almond"===e?(0,r.cn)(a,"h-[calc(100vh-6.5rem)] top-0"):"aspen"===e?(0,r.cn)(a,t?"h-[calc(100vh-9.5rem)] top-[9.5rem] [[data-banner-state=visible]_&]:h-[calc(100vh-15rem)] [[data-banner-state=visible]_&]:top-[12rem]":"h-[calc(100vh-8rem)] top-[6.5rem] [[data-banner-state=visible]_&]:h-[calc(100vh-9.5rem)] [[data-banner-state=visible]_&]:top-[9rem]"):"luma"===e?n?(0,r.cn)(a,"h-[calc(100vh-3rem-var(--banner-height,0px))] top-[calc(3rem+var(--banner-height,0px))]","pt-6 xl:mr-6"):(0,r.cn)(a,"overflow-y-auto overflow-x-hidden","h-[calc(100vh-3rem-var(--banner-height,0px))] top-[calc(3rem+var(--banner-height,0px))]","w-[18rem] pl-8 pr-5 pt-4 [&>*]:w-auto! [&>*]:max-w-full!"):"sequoia"===e?(0,r.cn)(a,t?"h-[calc(100vh-6rem)] top-[6rem] [[data-banner-state=visible]_&]:h-[calc(100vh-8.5rem)] [[data-banner-state=visible]_&]:top-[8.5rem]":"h-[calc(100vh-3rem)] top-[3rem] [[data-banner-state=visible]_&]:h-[calc(100vh-5.5rem)] [[data-banner-state=visible]_&]:top-[5.5rem]",n&&"pt-6 xl:mr-6",!n&&"w-[18rem] border-l border-gray-100 dark:border-gray-800 px-8 pt-4"):(0,r.cn)(a,t?"h-[calc(100vh-9.5rem)] top-[9.5rem] [[data-banner-state=visible]_&]:h-[calc(100vh-12rem)] [[data-banner-state=visible]_&]:top-[12rem]":"h-[calc(100vh-8rem)] top-[6.5rem] [[data-banner-state=visible]_&]:h-[calc(100vh-9.5rem)] [[data-banner-state=visible]_&]:top-[9.5rem]")},k=e=>"sequoia"===e||"luma"===e?"w-full":"willow"===e?"sticky top-16 flex-row-reverse":"pl-10 w-[19rem]",x=e=>"luma"===e?"dot":"maple"===e||"aspen"===e?"border":"linden"===e?"arrow":"almond"===e?"border":"default"},152823,e=>{"use strict";e.s(["ColorVariables",()=>i,"getColorsFromDocsConfig",()=>o]);var t=e.i(843476),r=e.i(590280),n=e.i(17677),a=e.i(271645);function o(e){let t=e?.colors.primary??"#16A34A",r=e?.colors.light??"#4ADE80",a=e?.colors.dark??"#166534",o=e?.colors.primary,i=e?.colors.primary;return e?.theme==="linden"&&(e.background={...e.background,color:{light:e.background?.color?.light||(0,n.rgbToHex)((0,n.combineColors)("#FFFFFF",1,t,.03)),dark:e.background?.color?.dark||(0,n.rgbToHex)((0,n.combineColors)("#09090B",1,r,.03))}}),{primary:(0,n.hexToRgbString)(t),primaryLight:(0,n.hexToRgbString)(r),primaryDark:(0,n.hexToRgbString)(a),primaryDarkForeground:(e=>{let t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i.exec(e),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e)??t;if(!r||!r[1]||!r[2]||!r[3])return!1;let n=e=>1===e.length?e+e:e,a=parseInt(n(r[1]),16),o=parseInt(n(r[2]),16);return .299*a+.587*o+.114*parseInt(n(r[3]),16)>165})(a)?"0 0 0":"255 255 255",backgroundLight:(0,n.hexToRgbString)(e?.background?.color?.light??"#ffffff"),backgroundDark:(0,n.generateDynamicBackgroundDarkColor)(r,e?.background?.color?.dark),anchorDefault:o,dropdownDefault:i,gray:(0,n.generateDynamicGrayScale)(t)}}let i=(0,a.memo)(function({docsConfig:e}){let{isLivePreview:n,getDocsConfigOverrides:i}=(0,a.useContext)(r.LivePreviewContext),l=i(),s=o(n&&l?{...e,...l}:e),c=`:root { --primary: ${s.primary}; --primary-light: ${s.primaryLight}; --primary-dark: ${s.primaryDark}; --tooltip-foreground: ${s.primaryDarkForeground}; --background-light: ${s.backgroundLight}; --background-dark: ${s.backgroundDark}; --gray-50: ${s.gray[50]}; --gray-100: ${s.gray[100]}; --gray-200: ${s.gray[200]}; --gray-300: ${s.gray[300]}; --gray-400: ${s.gray[400]}; --gray-500: ${s.gray[500]}; --gray-600: ${s.gray[600]}; --gray-700: ${s.gray[700]}; --gray-800: ${s.gray[800]}; --gray-900: ${s.gray[900]}; --gray-950: ${s.gray[950]}; }`;return(0,t.jsx)("style",{children:c})})}]);