"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71251],{11533:(e,t,r)=>{r.d(t,{SupportLink:()=>g,X:()=>p});var o=r(54568),n=r(19664),a=r.n(n),i=r(7620),d=r(17798),s=r(33052),l=r(81325),c=r(48622);function u(){return(0,o.jsxs)("div",{className:"flex flex-col items-center gap-y-2 w-full animate-pulse",children:[(0,o.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-3/4"}),(0,o.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-1/2"})]})}function m(){return(0,o.jsxs)("div",{className:"w-full animate-pulse space-y-3",children:[(0,o.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-2/3 mx-auto"}),(0,o.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-3/5 mx-auto"}),(0,o.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-1/2 mx-auto"})]})}function p({content:e,recommendPages:t,loading:r}){let{docsConfig:n}=(0,i.useContext)(d.H6),a=n?.errors?.[404].title;return(0,o.jsxs)("div",{className:(0,l.cn)("flex flex-col items-center justify-center w-full max-w-lg overflow-x-hidden mx-auto py-48 px-5 text-center *:text-center gap-y-8",s.x.NotFoundContainer),children:[(0,o.jsxs)("div",{className:"flex flex-col items-center justify-center gap-y-6",children:[(0,o.jsx)("span",{id:"error-badge",className:(0,l.cn)("inline-flex -mb-2 text-5xl font-semibold p-1 text-primary dark:text-primary-light",s.x.NotFoundStatusCode),children:"404"}),(0,o.jsx)("h1",{id:"error-title",className:(0,l.cn)("font-medium mb-0 text-2xl text-gray-800 dark:text-gray-200",s.x.NotFoundTitle),children:a??"Page Not Found"}),(0,o.jsx)("div",{id:"error-description",className:(0,l.cn)("flex flex-col items-center gap-y-6 min-h-[3.5rem] prose prose-gray dark:prose-invert",s.x.NotFoundDescription),children:r?(0,o.jsx)(u,{}):e})]}),(0,o.jsx)("div",{className:"w-full min-h-24",children:r?(0,o.jsx)(m,{}):(0,o.jsx)(c.RecommendedPagesList,{recommendPages:t})})]})}function g(){return(0,o.jsx)(a(),{href:"mailto:support@mintlify.com",className:"font-medium text-gray-700 dark:text-gray-100 border-b hover:border-b-[2px] border-primary-dark dark:border-primary-light",children:"contact support"})}},16986:(e,t,r)=>{r.d(t,{Q:()=>a});var o=r(54568),n=r(11533);function a(e,t){switch(e){case 404:return"We couldn't find the page."+(t?" Maybe you were looking for one of these pages below?":"");case 500:return(0,o.jsxs)(o.Fragment,{children:["An unexpected error occurred. Please ",(0,o.jsx)(n.SupportLink,{})," to get help."]});default:return"An unexpected error occurred. Please contact support."}}},24223:(e,t,r)=>{r.d(t,{RoundedVariables:()=>d});var o=r(54568),n=r(7620),a=r(17798),i=r(54871);function d({theme:e}){let{isLivePreview:t,getDocsConfigOverrides:r}=(0,n.useContext)(i.K),{docsConfig:d}=(0,n.useContext)(a.H6),s=r(),l=s?.theme,c=e;if(d?.theme!==e&&(c=d?.theme),t&&l&&(c=l),"willow"===c){let e=`:root {
      --rounded-sm: 0px;
      --rounded: 0px;
      --rounded-md: 0px;
      --rounded-lg: 0px;
      --rounded-xl: 0px;
      --rounded-xt: 0px;
      --rounded-2xl: 0px;
      --rounded-search: 0px;
      --rounded-3xl: 0px;
      --rounded-full: 0px;
  }`;return(0,o.jsx)("style",{children:e})}if("linden"!==c)return null;{let e=`:root {
      --rounded-sm: 4px;
      --rounded: 4px;
      --rounded-md: 4px;
      --rounded-lg: 4px;
      --rounded-xl: 4px;
      --rounded-xt: 4px;
      --rounded-2xl: 4px;
      --rounded-search: 4px;
      --rounded-3xl: 4px;
      --rounded-full: 4px;
  }`;return(0,o.jsx)("style",{children:e})}}},33052:(e,t,r)=>{r.d(t,{x:()=>o});let o=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",CodeGroup:"code-group",Expandable:"expandable",Field:"field",Frame:"frame",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",PaginationTitle:"pagination-title",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",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",Color:"color",ColorRow:"color-row",ColorItem:"color-item",Tile:"tile",Tree:"tree",TreeFolder:"tree-folder",TreeFile:"tree-file"}).map(([e,t])=>[e,`${t}`]))},35021:(e,t,r)=>{r.d(t,{C:()=>d,ColorVariables:()=>s});var o=r(54568),n=r(10897),a=r(7620),i=r(54871);function d(e){let t=e?.colors.primary??"#16A34A",r=e?.colors.light??"#4ADE80",o=e?.colors.dark??"#166534",a=e?.colors.primary,i=e?.colors.primary;return e?.theme==="linden"&&(e.background={...e.background,color:{light:e.background?.color?.light||(0,n.Ob)((0,n._x)("#FFFFFF",1,t,.03)),dark:e.background?.color?.dark||(0,n.Ob)((0,n._x)("#09090B",1,r,.03))}}),{primary:(0,n.N9)(t),primaryLight:(0,n.N9)(r),primaryDark:(0,n.N9)(o),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 o=e=>1===e.length?e+e:e,n=parseInt(o(r[1]),16),a=parseInt(o(r[2]),16);return .299*n+.587*a+.114*parseInt(o(r[3]),16)>165})(o)?"0 0 0":"255 255 255",backgroundLight:(0,n.N9)(e?.background?.color?.light??"#ffffff"),backgroundDark:(0,n.ab)(r,e?.background?.color?.dark),anchorDefault:a,dropdownDefault:i,gray:(0,n.Eo)(t)}}let s=(0,a.memo)(function({docsConfig:e}){let{isLivePreview:t,getDocsConfigOverrides:r}=(0,a.useContext)(i.K),n=r(),s=d(t&&n?{...e,...n}:e),l=`: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,o.jsx)("style",{children:l})})},48622:(e,t,r)=>{r.d(t,{RecommendedPagesList:()=>s});var o=r(54568),n=r(7620),a=r(98167),i=r(33052),d=r(81325);function s({recommendPages:e=[]}){let t=(0,n.useMemo)(()=>t=>(function(e,t){let r=new Map;t.forEach(e=>{let t=r.get(e.title)||[];r.set(e.title,[...t,e])});let o=r.get(e.title)||[];if(o.length<=1||!e.breadcrumbs||e.breadcrumbs.length<=1)return[];let n=o.filter(e=>e.breadcrumbs&&e.breadcrumbs.length>1);if(n.length<=1)return[];let a=1,i=Math.max(...n.map(e=>(e.breadcrumbs?.length||1)-1));for(;a<=i;){let t=Math.max(0,e.breadcrumbs.length-1-a),r=e.breadcrumbs.length-1,o=e.breadcrumbs.slice(t,r);if(n.filter(t=>t!==e).every(e=>{if(!e.breadcrumbs||e.breadcrumbs.length<=1)return!0;let t=Math.max(0,e.breadcrumbs.length-1-a),r=e.breadcrumbs.length-1,n=e.breadcrumbs.slice(t,r);return o.join("/")!==n.join("/")}))return o;a++}return[]})(t,e),[e]);return e.length>0?(0,o.jsx)("div",{className:(0,d.cn)(i.x.NotFoundRecommendedPagesList,"w-full flex flex-col gap-3"),children:e.map((e,r)=>{let n=e.link.startsWith("/")?e.link:`/${e.link}`,s=a.c.BASE_PATH&&n.startsWith(a.c.BASE_PATH)?n.slice(a.c.BASE_PATH.length):n;return(0,o.jsxs)("a",{href:`${a.c.BASE_PATH}${s}`,className:(0,d.cn)(i.x.NotFoundRecommendedPageLink,"text-base text-primary dark:text-primary-light hover:brightness-[0.75] dark:hover:brightness-[1.35] text-center min-w-0 truncate"),children:[t(e).length>0&&(0,o.jsxs)("span",{children:[t(e).join(" / ")," - "]}),(0,o.jsx)("span",{children:e.title})]},r)})}):(0,o.jsx)(o.Fragment,{})}},51749:(e,t,r)=>{r.d(t,{ThemeProvider:()=>s});var o=r(54568),n=r(24560),a=r(7620),i=r(16816),d=r(54871);function s({children:e,appearance:t,queryParamMode:r,codeblockTheme:s,forceShikiThemeLoad:l,...c}){let{isLivePreview:u,getDocsConfigOverrides:m,livePreviewUpdateId:p}=(0,a.useContext)(d.K),g=m(),f=g?.appearance,b=g?.styling?.codeblocks,x=r&&["dark","light","system"].includes(r),h=u&&b?b:s;(0,i.px)(h,l);let y=x?r:u&&f?.default?f.default:t?.default,k=x?r:u&&f?.strict?f.default:t?.strict?t.default:void 0;return(0,o.jsx)(n.N,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:y,forcedTheme:k,storageKey:"isDarkMode",themes:["dark","light","true","false","system"],value:{true:"dark",false:"light",dark:"dark",light:"light"},enableSystem:!0,...c,children:e},p)}},71251:(e,t,r)=>{r.d(t,{z:()=>u});var o=r(54568),n=r(10897),a=r(51749),i=r(82274),d=r(35021),s=r(24223),l=r(48622),c=r(16986);function u({statusCode:e,title:t,description:r}){let u="#4ADE80",m=`:root {
  --primary: ${(0,n.N9)("#117866")};
  --primary-light: ${(0,n.N9)(u)};
  --primary-dark: ${(0,n.N9)("#166534")};
  --background-light: ${(0,n.N9)("#FFFFFF")};
  --background-dark: ${(0,n.ab)(u,"#0f1117")};
}`;return(0,o.jsxs)(a.ThemeProvider,{children:[(0,o.jsx)(d.ColorVariables,{}),(0,o.jsx)(i.FontScript,{}),(0,o.jsx)(s.RoundedVariables,{}),(0,o.jsx)("style",{children:m}),(0,o.jsx)("main",{className:"h-screen bg-background-light dark:bg-background-dark text-left",children:(0,o.jsx)("article",{className:"bg-custom bg-fixed bg-center bg-cover relative flex flex-col items-center justify-center h-full",children:(0,o.jsxs)("div",{className:"w-full max-w-xl px-10",children:[(0,o.jsxs)("span",{className:"inline-flex mb-6 rounded-full px-3 py-1 text-sm font-semibold mr-4 text-white p-1 bg-primary",children:["Error ",e]}),(0,o.jsx)("h1",{className:"font-semibold mb-3 text-3xl",children:t??"Page not found!"}),(0,o.jsx)("p",{className:"text-lg text-gray-600 dark:text-gray-400 mb-6",children:r??(0,c.Q)(e)}),(0,o.jsx)(l.RecommendedPagesList,{})]})})})]})}},79627:(e,t,r)=>{r.d(t,{W:()=>o});function o(e,t){if(e){if("family"in e)return e;else if(t in e){let r=e[t];return"string"==typeof r?{family:r}:r}}}},82274:(e,t,r)=>{r.d(t,{FontScript:()=>m});var o=r(54568),n=r(7620),a=r(54871),i=r(40009),d=r(7799),s=r(90280);function l({font:e,subdomain:t}){if(!e)return null;if(e.source){let r=function(e,t){let r=e.startsWith("fonts/"),o=e.startsWith("http://")||e.startsWith("https://");return r?`/${e}`:o?e:t?(0,d.P)(t,e):`/${e}`}(e.source,t),n=function(e){switch(e?.toLowerCase()){case"woff":return"font/woff";case"truetype":case"ttf":return"font/ttf";case"opentype":case"otf":return"font/otf";default:return"font/woff2"}}(e.format);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("link",{rel:"preload",href:r,as:"font",type:n,crossOrigin:"anonymous"}),(0,o.jsx)("style",{children:`@font-face {
  font-family: '${e.family}';
  src: url('${r}') format('${e.format}');
  font-weight: ${e.weight};
  font-display: swap;
}`})]})}let r=(e.weight??"400;500;600;700;800").toString().split(";"),n=[...r.map(e=>`0,${e}`),...r.map(e=>`1,${e}`)].join(";");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,o.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,o.jsx)("link",{href:`https://fonts.googleapis.com/css2?family=${e.family.replace(/\s+/g,"+")}:ital,wght@${n}&display=swap`,rel:"stylesheet"})]})}function c({heading:e,body:t,mono:r}){return(0,o.jsx)("style",{children:`:root {
  ${e?.family?`--font-family-headings-custom: "${e.family}", ${s.zl};`:""}
  ${e?.weight?`--font-weight-headings-custom: ${e.weight};`:""}
  ${t?.family?`--font-family-body-custom: "${t.family}", ${s.zl};`:""}
  ${t?.weight?`--font-weight-body-custom: ${t.weight};`:""}
  ${r?.family?`--font-family-mono-custom: "${r.family}", ${s.vE};`:""}
}
${r?.weight?`.font-family-mono { font-weight: ${r.weight}; }`:""}`})}var u=r(79627);function m({theme:e,fonts:t,subdomain:r}){let{isLivePreview:d,getDocsConfigOverrides:s,livePreviewUpdateId:m}=(0,n.useContext)(a.K),p=s(),g=p?.theme,f=(0,i.HJ)(d&&g?g:e).fonts,b=p?.fonts;if(!t&&!f&&!b)return null;let x=d&&b?b:t??f,h=(0,u.W)(x,"heading"),y=(0,u.W)(x,"body"),k=f?.mono;return(0,o.jsxs)(n.Fragment,{children:[(0,o.jsx)(l,{font:h,subdomain:r}),(0,o.jsx)(l,{font:y,subdomain:r}),(0,o.jsx)(l,{font:k,subdomain:r}),(0,o.jsx)(c,{heading:h,body:y,mono:k})]},m)}}}]);