"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17551],{22904:(e,t,r)=>{r.d(t,{Gq:()=>a,SO:()=>n});let a=e=>{try{return window.localStorage.getItem(e)}catch{return null}},n=(e,t)=>{try{window.localStorage.setItem(e,t)}catch{}}},31587:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(92068).A)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},35021:(e,t,r)=>{r.d(t,{C:()=>i,ColorVariables:()=>o});var a=r(54568),n=r(10897),l=r(7620),s=r(54871);function i(e){let t=e?.colors.primary??"#16A34A",r=e?.colors.light??"#4ADE80",a=e?.colors.dark??"#166534",l=e?.colors.primary,s=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)(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 a=e=>1===e.length?e+e:e,n=parseInt(a(r[1]),16),l=parseInt(a(r[2]),16);return .299*n+.587*l+.114*parseInt(a(r[3]),16)>165})(a)?"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:l,dropdownDefault:s,gray:(0,n.Eo)(t)}}let o=(0,l.memo)(function({docsConfig:e}){let{isLivePreview:t,getDocsConfigOverrides:r}=(0,l.useContext)(s.K),n=r(),o=i(t&&n?{...e,...n}:e),d=`:root {
    --primary: ${o.primary};
    --primary-light: ${o.primaryLight};
    --primary-dark: ${o.primaryDark};
    --tooltip-foreground: ${o.primaryDarkForeground};
    --background-light: ${o.backgroundLight};
    --background-dark: ${o.backgroundDark};
    --gray-50: ${o.gray[50]};
    --gray-100: ${o.gray[100]};
    --gray-200: ${o.gray[200]};
    --gray-300: ${o.gray[300]};
    --gray-400: ${o.gray[400]};
    --gray-500: ${o.gray[500]};
    --gray-600: ${o.gray[600]};
    --gray-700: ${o.gray[700]};
    --gray-800: ${o.gray[800]};
    --gray-900: ${o.gray[900]};
    --gray-950: ${o.gray[950]};
  }`;return(0,a.jsx)("style",{children:d})})},42080:(e,t,r)=>{r.d(t,{FooterAndSidebarScrollScript:()=>g,ScrollTopScript:()=>m});var a=r(54568),n=r(23792),l=r(7620),s=r(12192),i=r(54871),o=r(88901);function d(e,t,r){return`(${c.toString()})(${e}, ${t}, "${r}")`}function c(e,t,r){let a=document.documentElement.getAttribute("data-banner-state"),n=2.5*!!(null!=a?"visible"===a:t),l=3*!!e,s=4,i=n+4+l;switch(r){case"mint":case"palm":break;case"aspen":s=3.5,i=n+(l=2.5*!!e)+s;break;case"luma":i=n+(s=3);break;case"linden":i=n+(s=4);break;case"almond":i=n+(s=3.5);break;case"sequoia":i=n+(s=3)+(l=3*!!e)}return i}let x=(function(e,t,r,a){let n,l="mint"===a||"linden"===a?"sidebar":"sidebar-content",s=(n="navbar-transition","maple"===a&&(n+="-maple"),n),[i,o]=(()=>{switch(a){case"almond":return["[--scroll-mt:2.5rem]","[--scroll-mt:2.5rem]"];case"luma":return["lg:[--scroll-mt:6rem]","lg:[--scroll-mt:6rem]"];case"sequoia":return["lg:[--scroll-mt:8.5rem]","lg:[--scroll-mt:11rem]"];default:return["lg:[--scroll-mt:9.5rem]","lg:[--scroll-mt:12rem]"]}})();function d(){document.documentElement.classList.add(i)}function c(e){document.getElementById(l)?.style.setProperty("top",`${e}rem`)}function x(e){document.getElementById(l)?.style.setProperty("height",`calc(100vh - ${e}rem)`)}function u(e,t){!e&&t||e&&!t?(d(),document.documentElement.classList.remove(o)):e&&t&&(document.documentElement.classList.add(o),document.documentElement.classList.remove(i))}let m=document.documentElement.getAttribute("data-banner-state"),g=null!=m?"visible"===m:t;switch(a){case"mint":c(r),u(e,g);break;case"palm":case"aspen":case"sequoia":c(r),x(r),u(e,g);break;case"luma":d();break;case"linden":c(r),g&&d();break;case"almond":d(),c(r),x(r)}let h=function(){let e=document.createElement("style");return 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),function(){window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}}();("requestAnimationFrame"in globalThis?requestAnimationFrame:setTimeout)(()=>{let e;e=!1,e=window.scrollY>50,document.getElementById(s)?.setAttribute("data-is-opaque",`${!!e}`),h()})}).toString();function u(e,t){if(!document.getElementById("footer")?.classList.contains("advanced-footer")||"maple"===t||"willow"===t||"almond"===t||"luma"===t||"sequoia"===t)return;let r=document.documentElement.getAttribute("data-page-mode"),a=document.getElementById("navbar"),n=document.getElementById("navigation-items"),l=document.getElementById("sidebar"),s=document.getElementById("footer"),i=document.getElementById("table-of-contents-content"),o=16*e;if(!s||"center"===r)return;let d=s.getBoundingClientRect().top,c=window.innerHeight-d,x=(n?.clientHeight??0)+o+32*("mint"===t||"linden"===t);if(l&&n)if(c>0){let e=Math.max(0,x-d);l.style.bottom=`${c}px`,l.style.top=`${o-e}px`}else l.style.bottom="",l.style.top=`${e}rem`,l.style.height="auto";i&&a&&(c>0?i.style.top="custom"===r?`${a.clientHeight-c}px`:`${40+a.clientHeight-c}px`:i.style.top="")}function m({theme:e}){let{isLivePreview:t,getDocsConfigOverrides:r}=(0,l.useContext)(i.K),c=r(),u=c?.theme,m=t&&u?u:e,{banner:g}=(0,l.useContext)(s.y),{divisions:h}=(0,l.useContext)(o._),p=h.tabs.length>0,V=!!g,f=(0,l.useMemo)(()=>`(${x})(
  ${p},
  ${V},
  ${d(p,V,m)},
  "${m}",
)`,[p,V,m]);return(0,a.jsx)(n.default,{strategy:"beforeInteractive",id:"_mintlify-scroll-top-script",dangerouslySetInnerHTML:{__html:f},suppressHydrationWarning:!0})}function g({theme:e}){let{isLivePreview:t,getDocsConfigOverrides:r}=(0,l.useContext)(i.K),c=r(),x=c?.theme,m=t&&x?x:e,{banner:g}=(0,l.useContext)(s.y),{divisions:h}=(0,l.useContext)(o._),p=h.tabs.length>0,V=!!g,f=(0,l.useMemo)(()=>`(${u.toString()})(
  ${d(p,V,m)},
  "${m}",
)`,[p,V,m]);return(0,a.jsx)(n.default,{strategy:"beforeInteractive",id:"_mintlify-footer-and-sidebar-scroll-script",dangerouslySetInnerHTML:{__html:f},suppressHydrationWarning:!0})}},61664:(e,t,r)=>{r.d(t,{g:()=>E});var a=r(54568),n=r(7620),l=r(97652),s=r(8677),i=r(67908),o=r(88901),d=r(35878),c=r(40588),x=r(91263),u=r(21749),m=r(1710),g=r(60361),h=r(26842),p=r(81325),V=r(79972),f=r(15717),y=r(70785),L=r(19664),j=r.n(L),b=r(68367),v=r(22153),H=r(7769),M=r(33052),w=r(50864),k=r(43119),N=r(49201),Z=r(96116);let C="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-white/90 dark:hover:text-gray-300",A=({mobile:e=!1})=>{let t=(0,H.L)(),r=(0,v.p)("docs.navitem.click"),{userAuthLoginButton:l,authLoginButton:s,authLogoutButton:i,userAuthLogoutButton:o}=(0,n.useContext)(b.F),d=(0,n.useCallback)((e,t)=>r({name:e,url:t}),[r]);return(0,a.jsxs)(a.Fragment,{children:[t?.links?.map(t=>{let r=(0,y.v)(t.href),{label:n,type:l}=t;return"github"===l?(0,a.jsx)(N.s,{href:t.href,label:n||"",actionClassName:C},t.href):"discord"===l?(0,a.jsx)(k.x,{href:t.href,label:n||"",actionClassName:C},t.href):r?(0,a.jsx)("li",{className:(0,p.cn)(M.x.NavBarLink,!e&&"border border-gray-400/20 dark:border-gray-600/30 bg-background-light dark:bg-white/5 dark:border-none dark:text-white/90 group group-hover:opacity-[0.9] rounded-lg px-2.5 py-1.5 relative inline-flex items-center text-sm font-semibold"),children:(0,a.jsxs)("a",{href:t.href,className:C,onClick:()=>d(n,t.href),target:"_blank",children:[t.icon&&(0,a.jsx)(V.VE,{icon:"string"==typeof t.icon?t.icon:t.icon.name,iconType:"string"==typeof t.icon?"regular":t.icon.style||"regular",className:"h-4 w-4"}),n]})},n):(0,a.jsx)("li",{className:(M.x.NavBarLink,"list-none"),children:(0,a.jsxs)(j(),{href:t.href||"/",className:C,onClick:()=>d(n,t.href),children:[t.icon&&(0,a.jsx)(V.VE,{icon:"string"==typeof t.icon?t.icon:t.icon.name,iconType:"string"==typeof t.icon?"regular":t.icon.style||"regular",className:"h-4 w-4"}),n]})},n)}),l&&(0,a.jsx)("li",{children:l},"login"),o&&(0,a.jsx)("li",{children:o},"personalization-logout"),s&&(0,a.jsx)("li",{children:s},"partial-auth-login"),i&&(0,a.jsx)("li",{children:i},"auth-logout"),(0,a.jsx)(Z.T,{actionClassName:C}),(0,a.jsx)(w.j,{})]})};function E({className:e,pageMetadata:t}){let{divisions:r}=(0,n.useContext)(o._),y=(0,o.n)(),{search:L}=y,[j,b]=(0,n.useState)(!1),v=r.tabs.length>0;return(0,a.jsxs)("div",{id:d.V.Navbar,className:(0,p.cn)(i.f.PrimaryNav,"fixed top-0",e),style:{width:`calc(100% - var(${l.Wv}, 0px))`},children:[(0,a.jsx)("div",{className:"z-10 absolute w-full h-full"}),(0,a.jsx)("div",{className:"z-0 absolute inset-0"}),(0,a.jsx)(s.l,{}),(0,a.jsx)("div",{className:"z-10 mx-auto relative",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:(0,p.cn)("flex items-center lg:px-7 h-14 min-w-0",v?"mx-4 lg:mx-0":"px-4"),children:(0,a.jsxs)("div",{className:(0,p.cn)("h-full relative flex-1 flex items-center gap-x-4 min-w-0 lg:border-none"),children:[(0,a.jsxs)("div",{className:"flex-1 flex items-center gap-x-4",children:[(0,a.jsx)(m.l,{logoClassName:"h-6"}),(0,a.jsx)(u.Xh,{showLocalization:!1}),(0,a.jsx)(u.m4,{className:"max-lg:hidden bg-transparent"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("div",{className:"flex-1 relative hidden lg:flex items-center ml-auto ustify-end gap-x-6",children:[(0,a.jsx)("div",{className:"h-14 font-semibold",children:(0,a.jsx)(f.U,{underlineClassName:"hidden"})}),(0,a.jsx)("nav",{className:"text-sm",children:(0,a.jsx)("ul",{className:"flex gap-x-2 items-center",children:(0,a.jsx)(A,{})})})]}),(0,a.jsxs)("div",{className:"flex lg:hidden items-center gap-3",children:[(0,a.jsxs)(g.SearchButton,{className:"text-gray-500 w-8 h-8 flex items-center justify-center hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300",id:d.V.SearchBarEntryMobile,children:[(0,a.jsx)("span",{className:"sr-only",children:L}),(0,a.jsx)(V.Ay,{icon:"magnifying-glass",iconType:"solid",className:"h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300"})]}),(0,a.jsx)(h.A,{}),(0,a.jsx)("button",{"aria-label":y["aria.moreActions"],className:"h-7 w-5 flex items-center justify-end",onClick:()=>b(!0),children:(0,a.jsx)(V.Ay,{icon:"ellipsis-vertical",iconType:"solid",className:"h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300"})}),(0,a.jsx)(u.j1,{topbarDialogOpen:j,setTopbarDialogOpen:b,children:(0,a.jsx)(A,{mobile:!0})})]})]})]})}),(0,a.jsx)(x.i,{pageMetadata:t})]})}),(0,a.jsx)(c.c,{})]})}},63466:(e,t,r)=>{r.d(t,{PageModeUpdater:()=>n});var a=r(7620);function n({mode:e}){return(0,a.useEffect)(()=>{document.documentElement.setAttribute("data-page-mode",e)},[e]),null}},83176:(e,t,r)=>{r.d(t,{I:()=>o,default:()=>d});var a=r(54568),n=r(8494),l=r(7620);let s="mintlify-flag-overrides";var i=r(22904);let o=(0,l.createContext)({flags:(0,n.flagsClient)([]),overrides:{},isEnabled:()=>!1,setOverride:()=>{}});function d({children:e,toggles:t}){let r=(0,l.useMemo)(()=>(0,n.flagsClient)(t),[t]),[d,c]=(0,l.useState)(()=>{let e=(0,i.Gq)(s);return e?JSON.parse(e):{}}),x=(0,l.useCallback)((e,t)=>{c(r=>{let a={...r};return void 0===t?delete a[e]:a[e]=t,(0,i.SO)(s,JSON.stringify(a)),a})},[]),u=(0,l.useCallback)(e=>void 0!==d[e]?d[e]:r.isEnabled(e),[r,d]);return(0,a.jsx)(o.Provider,{value:{flags:r,overrides:d,isEnabled:u,setOverride:x},children:e})}},89308:(e,t,r)=>{r.d(t,{default:()=>eM});var a=r(54568),n=r(24560),l=r(7620),s=r(58377),i=r(97509),o=r(88901),d=r(22153),c=r(32626),x=r(91382),u=r(35878),m=r(33052),g=r(60361),h=r(81325);let p=e=>{let{overflowX:t,overflowY:r}=window.getComputedStyle(e);return"visible"!==t||"visible"!==r};function V(){let[e,t]=(0,l.useState)(null),[r,n]=(0,l.useState)(""),[V,f]=(0,l.useState)(!1),{hasChatPermissions:y,assistantConfig:L}=(0,l.useContext)(g.SearchContext),{isChatSheetOpen:j,onChatSheetToggle:b,setShouldFocusChatSheet:v}=(0,l.useContext)(g.ChatAssistantContext),H=(0,o.n)(),M=(0,x.G)(),w=(0,d.p)("docs.assistant.ask_ai_on_text_selection");(0,l.useEffect)(()=>{let e;if(!y)return;let r=()=>{clearTimeout(e),e=setTimeout(()=>{let e=window.getSelection();if(!e||e.isCollapsed)return void f(!1);let r=e.toString().trim();if(!r)return void f(!1);let a=e.getRangeAt(0),l=a.startContainer,s=document.getElementsByClassName(m.x.Content);if(!s[0]?.contains(l))return void f(!1);let i=(e=>{let t=e.getClientRects();return 0===t.length?e.getBoundingClientRect():((e,t)=>{let r=1/0,a=1/0,n=-1/0,l=-1/0,s=!1;for(let i of Array.from(e)){if(0===i.width&&0===i.height)continue;let e=Math.max(i.left,t.left),o=Math.max(i.top,t.top),d=Math.min(i.right,t.right),c=Math.min(i.bottom,t.bottom);d<=e||c<=o||(s=!0,r=Math.min(r,e),a=Math.min(a,o),n=Math.max(n,d),l=Math.max(l,c))}return s?new DOMRect(r,a,n-r,l-a):null})(t,(e=>{let t,r=(t=e).nodeType===Node.TEXT_NODE?t.parentElement:t instanceof Element?t:null;for(;r&&r!==document.documentElement;){if(p(r))return r;r=r.parentElement}return null})(e.startContainer)?.getBoundingClientRect()??new DOMRect(0,0,window.innerWidth,window.innerHeight))??e.getBoundingClientRect()})(a);n(r),t({top:i.top-45,left:i.left+i.width/2}),f(!0)},100)},a=r=>{let a=document.getElementById(u.V.TextSelectionTooltip);a?.contains(r.target)||(clearTimeout(e),f(!1),t(null),n(""))},l=()=>{f(!1),t(null),n("")};return document.addEventListener("mouseup",r),document.addEventListener("mousedown",a),window.addEventListener("scroll",l,!0),window.addEventListener("resize",l),()=>{clearTimeout(e),document.removeEventListener("mouseup",r),document.removeEventListener("mousedown",a),window.removeEventListener("scroll",l,!0),window.removeEventListener("resize",l)}},[y]);let{payloadInput:k,setPayloadInput:N}=(0,c.w)();return e&&r&&y&&L?.askAiOnTextSelection!==!1?(0,i.createPortal)((0,a.jsx)("div",{id:u.V.TextSelectionTooltip,className:"fixed z-50 pointer-events-auto",style:{top:`${e.top}px`,left:`${e.left}px`,transform:"translateX(-50%)"},children:(0,a.jsx)("button",{id:u.V.TextSelectionTooltipButton,onClick:()=>{r&&(j||b({entryPoint:"text-selection"}),w({path:M,text:r}).catch(console.error),N({context:[...k.context||[],{type:"textSelection",value:r,path:M}]}),v(!0),window.getSelection()?.removeAllRanges(),f(!1),t(null),n(""))},className:(0,h.cn)("flex items-center gap-1.5 rounded-xl","bg-white dark:bg-[#0B0C0E] text-gray-900 dark:text-white border border-gray-200 dark:border-white/10","transition-all duration-100","shadow-xl shadow-gray-500/5 dark:shadow-gray-500/5",V?"opacity-100 scale-100 translate-y-0":"opacity-0 scale-95 translate-y-1"),children:(0,a.jsxs)("div",{className:"px-2.5 py-1.5 flex gap-1.5 items-center rounded-[10px] text-sm font-medium whitespace-nowrap hover:bg-gray-50 dark:hover:bg-gray-900",children:[(0,a.jsx)(s.BtC,{className:"size-3.5 text-primary dark:text-primary-light","aria-hidden":"true"}),(0,a.jsx)("span",{className:"select-none",children:H.addToAssistant})]})})}),document.body):null}var f=r(17798),y=r(15209),L=r(74092),j=r(8685),b=r(22759),v=r(90280),H=r(94262),M=r(98167),w=r(72902);let k=()=>{let[e,t]=(0,l.useState)(!0);return(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs font-mono text-gray-500 dark:text-gray-400",children:"Cache Toolbar:"}),(0,a.jsx)("button",{onClick:()=>{let r=document.getElementsByClassName("nct-inline-flex"),a=document.getElementById("dev-panel-button");r[0]&&r[0]instanceof HTMLElement&&(e?(r[0].setAttribute("style","z-index: 9999"),a?.setAttribute("style","transform: translateX(-100%)")):(r[0].setAttribute("style","z-index: -9999"),a?.setAttribute("style","transform: translateX(0%)")),t(!e))},className:(0,w.A)("px-2 py-1 text-xs font-mono rounded-md","transition-colors duration-150",e?"bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-200 hover:bg-gray-200 dark:hover:bg-gray-700":"bg-primary text-white dark:bg-primary-light dark:text-gray-950"),children:e?"Show":"Hide"})]})};var N=r(6438),Z=r(17023),C=r(72116),A=r(57810);let E=({title:e,defaultOpen:t=!1,children:r,copyText:n,sectionClassName:s,classNames:i})=>{let[o,d]=(0,l.useState)(t),[c,x]=(0,l.useState)(!1),u=async e=>{e.stopPropagation(),e.preventDefault(),n&&"success"===await (0,A.l)(n)&&(x(!0),setTimeout(()=>{x(!1)},2e3))},m=i?.borderRadius??"rounded-xl";return(0,a.jsxs)("div",{className:(0,w.A)("border",m,i?.wrapper??"border-gray-200/70 dark:border-white/10"),children:[(0,a.jsxs)("button",{onClick:()=>d(!o),className:(0,w.A)("w-full flex items-center justify-between p-3","transition-colors",i?.trigger??"hover:bg-gray-100 dark:hover:bg-gray-800",o?i?.triggerRadiusOpen??"rounded-tl-xl rounded-tr-xl":m),children:[(0,a.jsx)("span",{className:i?.title??"text-sm font-semibold text-gray-900 dark:text-gray-100",children:e}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[n&&(0,a.jsx)("button",{onClick:u,className:"text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300 transition-colors",children:c?(0,a.jsx)(N.A,{size:14}):(0,a.jsx)(Z.A,{size:14})}),(0,a.jsx)(C.A,{size:16,className:(0,w.A)("transition-transform duration-200 text-gray-400 dark:text-gray-500",o&&"rotate-180")})]})]}),o&&(0,a.jsx)("div",{className:(0,w.A)("p-3 flex flex-col gap-3",i?.content??"border-t border-gray-200/70 dark:border-white/10",s),children:r})]})};var S=r(14486);let T={property:"#953800",punctuation:"#1f2328",string:"#0a3069",number:"#0550ae",boolean:"#cf222e",null:"#6e7781",border:"#d1d9e0"},O={property:"#d2a8ff",punctuation:"#e6edf3",string:"#a5d6ff",number:"#79c0ff",boolean:"#ff7b72",null:"#7d8590",border:"#30363d"},$=({value:e,color:t,displayValue:r})=>{let[n,s]=(0,l.useState)(!1),i=async()=>{"success"===await (0,A.l)(e)&&(s(!0),setTimeout(()=>{s(!1)},2e3))};return(0,a.jsxs)("span",{onClick:i,className:"cursor-pointer hover:opacity-70 transition-opacity inline-flex items-center gap-1",title:"Click to copy",children:[(0,a.jsx)("span",{style:{color:t},children:r??e}),n&&(0,a.jsx)(N.A,{size:10,className:"text-green-500"})]})},B=({label:e,value:t,colors:r,depth:n=0})=>{let[s,i]=(0,l.useState)(0===n);if(null==t)return(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{style:{color:r.property},children:e}),(0,a.jsx)("span",{style:{color:r.punctuation},children:": "})]}),(0,a.jsx)($,{value:String(t),color:r.null})]});if("boolean"==typeof t)return(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{style:{color:r.property},children:e}),(0,a.jsx)("span",{style:{color:r.punctuation},children:": "})]}),(0,a.jsx)($,{value:String(t),color:r.boolean})]});if("number"==typeof t)return(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{style:{color:r.property},children:e}),(0,a.jsx)("span",{style:{color:r.punctuation},children:": "})]}),(0,a.jsx)($,{value:String(t),color:r.number})]});if("string"==typeof t)return(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{style:{color:r.property},children:e}),(0,a.jsx)("span",{style:{color:r.punctuation},children:": "})]}),(0,a.jsx)($,{value:t,color:r.string,displayValue:`"${t}"`})]});if(Array.isArray(t))return 0===t.length?(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{style:{color:r.property},children:e}),(0,a.jsx)("span",{style:{color:r.punctuation},children:": "})]}),(0,a.jsx)("span",{style:{color:r.punctuation},children:"[]"})]}):(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>i(!s),className:"flex items-center gap-1 hover:opacity-70 transition-opacity",style:{color:r.punctuation},children:[(0,a.jsx)(S.A,{size:12,className:(0,w.A)("transition-transform",s&&"rotate-90")}),e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{style:{color:r.property},children:e}),(0,a.jsx)("span",{style:{color:r.punctuation},children:": "})]}),(0,a.jsxs)("span",{style:{color:r.punctuation},children:["[",t.length,"]"]})]}),s&&(0,a.jsx)("div",{className:"ml-4 border-l pl-2",style:{borderColor:r.border},children:t.map((e,t)=>(0,a.jsx)(B,{label:String(t),value:e,colors:r,depth:n+1},t))})]});if("object"==typeof t){let l=Object.entries(t);return 0===l.length?(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{style:{color:r.property},children:e}),(0,a.jsx)("span",{style:{color:r.punctuation},children:": "})]}),(0,a.jsx)("span",{style:{color:r.punctuation},children:"{}"})]}):e?(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>i(!s),className:"flex items-center gap-1 hover:opacity-70 transition-opacity",style:{color:r.punctuation},children:[(0,a.jsx)(S.A,{size:12,className:(0,w.A)("transition-transform",s&&"rotate-90")}),(0,a.jsx)("span",{style:{color:r.property},children:e}),(0,a.jsx)("span",{style:{color:r.punctuation},children:": "}),(0,a.jsxs)("span",{style:{color:r.punctuation},children:["{",l.length,"}"]})]}),s&&(0,a.jsx)("div",{className:"ml-4 border-l pl-2",style:{borderColor:r.border},children:l.map(([e,t])=>(0,a.jsx)(B,{label:e,value:t,colors:r,depth:n+1},e))})]}):(0,a.jsx)("div",{children:l.map(([e,t])=>(0,a.jsx)(B,{label:e,value:t,colors:r,depth:n+1},e))})}return null},I=({data:e,theme:t,containerClassName:r})=>(0,a.jsx)("div",{className:(0,w.A)("rounded-lg p-3 font-mono text-xs overflow-x-auto",r??("dark"===t?"bg-gray-900":"bg-gray-50")),children:(0,a.jsx)(B,{value:e,colors:"dark"===t?O:T})});var F=r(83176);let z=({readOnly:e=!1})=>{let{flags:t,overrides:r,isEnabled:n,setOverride:s}=(0,l.useContext)(F.I),i=t.getAllToggles();return e?(0,a.jsx)("div",{className:"flex flex-col divide-y divide-gray-200/70 dark:divide-white/10",children:i.map(({name:e,enabled:t})=>(0,a.jsxs)("div",{className:"flex items-center justify-between py-1.5 font-mono text-xs text-gray-500 dark:text-gray-400",children:[(0,a.jsx)("span",{className:"truncate",children:e}),t?(0,a.jsx)("span",{className:"text-[10px] font-semibold font-mono shrink-0 px-1.5 py-0.5 rounded-[4px] bg-green-500/15 text-green-500",children:"ENABLED"}):(0,a.jsx)("span",{className:"text-[10px] font-semibold font-mono shrink-0 px-1.5 py-0.5 rounded-[4px] bg-gray-500/15 text-gray-500",children:"DISABLED"})]},e))}):(0,a.jsxs)("div",{className:"flex flex-col divide-y divide-gray-200/70 dark:divide-white/10",children:[i.map(({name:e,enabled:l})=>{let i=n(e),o=void 0!==r[e];return(0,a.jsxs)("div",{className:"flex items-center justify-between py-1.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[(0,a.jsx)("span",{className:"text-xs font-mono text-gray-500 dark:text-gray-400 truncate",children:e}),l&&!o&&(0,a.jsx)("span",{className:"text-[10px] font-semibold font-mono shrink-0 px-1.5 py-0.5 rounded-[4px] bg-green-500/15 text-green-500",children:"DEFAULT"}),o&&(0,a.jsx)("span",{className:"text-[10px] font-semibold font-mono shrink-0 px-1.5 py-0.5 rounded-[4px] bg-blue-500/15 text-blue-500",children:"LOCAL"})]}),(0,a.jsx)("button",{onClick:()=>(e=>{let a=t.isEnabled(e);void 0!==r[e]?s(e,void 0):s(e,!a)})(e),className:`relative w-9 h-5 rounded-full cursor-pointer transition-colors shrink-0 ml-3 ${i?"bg-green-500":"bg-gray-300 dark:bg-gray-600"}`,children:(0,a.jsx)("div",{className:`absolute top-0.5 w-4 h-4 rounded-full bg-white transition-transform shadow-sm ${i?"translate-x-[18px]":"translate-x-0.5"}`})})]},e)}),0===i.length&&(0,a.jsx)("div",{className:"py-6 text-center text-xs font-mono text-gray-400 dark:text-gray-500",children:"No feature flags available"})]})};var R=r(31587),D=r(49948);let _=["default","wide","custom","center","frame"],P=()=>{let{pageModeOverride:e,originalPageMode:t,setPageModeOverride:r}=(0,D.a0)(),n=void 0!==e,l=n?e||"default":t??"default";return(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs font-mono text-gray-500 dark:text-gray-400",children:"Page Mode"}),n&&(0,a.jsxs)("button",{onClick:()=>r(void 0),className:"flex items-center gap-1 text-[10px] font-mono text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300 transition-colors","aria-label":"Reset page mode",children:[(0,a.jsx)(R.A,{size:10}),"Reset"]})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:_.map(e=>{let t=l===e,s="default"===e?"":e;return(0,a.jsx)("button",{onClick:()=>{t&&n?r(void 0):t||r(s)},className:(0,w.A)("px-2 py-1 text-[10px] font-mono rounded-md capitalize transition-colors duration-150",t?"bg-primary text-white dark:bg-primary-light dark:text-gray-950":"bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-200 hover:bg-gray-200 dark:hover:bg-gray-700"),children:e},e)})})]})},q=({setPosition:e,position:t,classNames:r})=>(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:r?.label??"text-xs font-mono text-gray-500 dark:text-gray-400",children:"Position:"}),(0,a.jsx)("div",{className:"flex gap-1",children:["top","right","bottom","left"].map(n=>(0,a.jsx)("button",{onClick:()=>e(n),className:(0,w.A)("px-2 py-1 text-xs font-mono rounded-md capitalize","transition-colors duration-150",t===n?r?.active??"bg-primary text-white dark:bg-primary-light dark:text-gray-950":r?.inactive??"bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-200 hover:bg-gray-200 dark:hover:bg-gray-700"),children:n},n))})]});var W=r(73205);let U=({toggleTheme:e,docsAreDarkMode:t})=>t?null:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs font-mono text-gray-500 dark:text-gray-400",children:"Theme"}),(0,a.jsxs)("button",{onClick:e,className:"relative flex h-7 w-[3.25rem] items-center rounded-full border border-gray-200 dark:border-gray-700 hover:border-gray-300 dark:hover:border-gray-600 p-1 transition-colors","aria-label":"Toggle theme",children:[(0,a.jsxs)("div",{className:"z-10 flex w-full items-center justify-between px-1",children:[(0,a.jsx)(W.gL,{className:"size-3 text-gray-600 dark:text-gray-500 fill-current"}),(0,a.jsx)(W.rR,{className:"size-3 text-gray-400 dark:text-gray-300 fill-current"})]}),(0,a.jsx)("div",{className:(0,w.A)("absolute left-1 h-5 w-5 rounded-full bg-gray-200 dark:bg-gray-700 transition-transform duration-200","dark:translate-x-[1.40rem]")})]})]});var K=r(12598),J=r(92068);let X=(0,J.A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),G=({theme:e,toggleSheet:t,isOpen:r,currentPosition:n,children:s,buttonRef:o,onPointerDown:d,isButtonPositioned:c,classNames:x,header:u})=>{let[m,g]=(0,l.useState)(!1);(0,l.useEffect)(()=>{g(!0)},[]);let h=(0,a.jsxs)("div",{className:(0,w.A)("dark"===e?"dark":""),children:[(0,a.jsx)("button",{ref:o,onPointerDown:d,id:"dev-panel-button",onClick:t,className:(0,w.A)("fixed top-0 left-0 z-[99999] touch-none","flex items-center justify-center","w-12 h-12 rounded-full","shadow-lg hover:shadow-xl","transition-[transform,background-color,opacity] duration-200","hover:scale-105 active:cursor-grabbing active:scale-95","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",c?"opacity-100":"opacity-0 pointer-events-none",x?.fab??"bg-primary text-white dark:bg-primary-light dark:text-gray-950"),"aria-label":r?"Close dev panel":"Open dev panel",children:r?(0,a.jsx)(K.A,{}):(0,a.jsx)(X,{})}),(0,a.jsx)("div",{id:"dev-panel-wrapper",className:(0,w.A)("fixed z-[99999]","shadow-2xl","transition-transform duration-300 ease-in-out",n.container,n.transform,x?.panel??"bg-white dark:bg-gray-950 border-gray-200/70 dark:border-white/10"),children:(0,a.jsxs)("div",{className:"h-full flex flex-col overflow-hidden",children:[u??(0,a.jsxs)("div",{className:(0,w.A)("flex items-center justify-between px-4 py-3 border-b border-gray-200/70 dark:border-white/10",x?.header),children:[(0,a.jsx)("span",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:"Dev Panel"}),(0,a.jsx)("button",{onClick:t,className:(0,w.A)("size-7 flex items-center justify-center rounded-lg transition-colors",x?.closeButton??"hover:bg-gray-100 dark:hover:bg-gray-800 text-gray-500 dark:text-gray-400"),"aria-label":"Close",children:(0,a.jsx)(K.A,{size:14})})]}),(0,a.jsx)("div",{className:(0,w.A)("flex-1 overflow-auto px-4 py-4",x?.content??"text-gray-900 dark:text-gray-100"),children:(0,a.jsx)("div",{className:(0,w.A)("flex flex-col",x?.contentGap??"gap-3"),children:s})})]})})]});return m?(0,i.createPortal)(h,document.body):null};var Y=r(22904);let Q=80,ee=25,et=5,er=2,ea=20,en=(e,[t,r],a=er,n=ea)=>{if(e>r){let t=e-r;return r+Math.min((t>0?Math.sqrt(t):-Math.sqrt(-t))*a,n)}if(e<t){let r=e-t;return t+Math.max((r>0?Math.sqrt(r):-Math.sqrt(-r))*a,-n)}return e},el=new Set(["STYLE","SCRIPT","TITLE"]),es=new Set(["dev-panel-button","dev-panel-wrapper"]),ei="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ",eo=new WeakMap,ed=e=>{let t=e;for(;t;){if(t instanceof Element&&t.id&&es.has(t.id))return!0;t=t.parentNode}return!1},ec=e=>/^\s*$/.test(e),ex=()=>{let[e,t]=(0,l.useState)(!1);return(0,a.jsxs)("div",{className:"flex flex-col gap-2 py-1",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-0.5 flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-xs font-mono text-gray-500 dark:text-gray-400",children:"Chaos String Test"}),e&&(0,a.jsx)("span",{className:"text-[10px] font-semibold font-mono px-1.5 py-0.5 rounded-[4px] bg-green-500/15 text-green-500",children:"ACTIVE"})]}),(0,a.jsx)("span",{className:"text-[10px] font-mono text-gray-400 dark:text-gray-500",children:"Replaces all text with random strings"})]}),(0,a.jsx)("button",{onClick:()=>{(()=>{for(let e of function*(e){yield*function*(e,t=NodeFilter.SHOW_ALL,{inspect:r,collect:a,callback:n}={}){let l,s=document.createTreeWalker(e,t,{acceptNode:e=>r&&!r(e)?NodeFilter.FILTER_REJECT:a&&!a(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});for(;l=s.nextNode();)n?.(l),yield l}(e,NodeFilter.SHOW_TEXT,{inspect:e=>!el.has(e.parentElement?.nodeName||"")})}(document.body)){if(ed(e)||null===e.textContent||ec(e.textContent))continue;let t=e.textContent.length,r=eo.get(e);void 0===r?(eo.set(e,e.textContent),e.textContent=Array.from({length:3*t},()=>ei[Math.floor(Math.random()*ei.length)]).join("")):(e.textContent=r,eo.delete(e))}})(),t(e=>!e)},className:`relative w-9 h-5 rounded-full border-none cursor-pointer transition-colors shrink-0 ml-3 ${e?"bg-green-500":"bg-gray-300 dark:bg-gray-600"}`,children:(0,a.jsx)("div",{className:`absolute top-0.5 w-4 h-4 rounded-full bg-white transition-transform shadow-sm ${e?"translate-x-[18px]":"translate-x-0.5"}`})})]}),e&&(0,a.jsxs)("div",{className:"text-xs bg-blue-500/10 text-blue-400 p-2 rounded-lg font-mono",children:[(0,a.jsx)("div",{className:"text-[10px] text-blue-500 font-semibold mb-1",children:"Potential fix:"}),(0,a.jsx)("div",{className:"text-gray-500 dark:text-gray-400",children:"/* css */"}),(0,a.jsx)("div",{children:"overflow-wrap: break-word;"}),(0,a.jsx)("div",{children:"hyphens: auto;"}),(0,a.jsx)("div",{className:"text-gray-500 dark:text-gray-400 mt-1",children:"/* tailwind */"}),(0,a.jsx)("div",{children:"break-words hyphens-auto"})]})]})},eu=({text:e})=>{let[t,r]=(0,l.useState)(!1),n=async()=>{"success"===await (0,A.l)(e)&&(r(!0),setTimeout(()=>{r(!1)},2e3))};return(0,a.jsxs)("span",{children:[(0,a.jsx)("button",{className:"p-1 hover:bg-zinc-950/5 dark:hover:bg-white/5 rounded mr-1",onClick:n,children:t?(0,a.jsx)(N.A,{className:"size-3"}):(0,a.jsx)(Z.A,{className:"size-3"})}),e]})},em=(0,J.A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);function eg({enabled:e,onToggle:t,size:r="normal"}){let n="small"===r;return(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),t()},className:(0,w.A)("relative rounded-full border-none cursor-pointer transition-colors",e?"bg-green-500":"bg-gray-400",n?"w-8 h-4":"w-10 h-5"),children:(0,a.jsx)("div",{className:(0,w.A)("absolute rounded-full bg-white transition-all shadow-md",n?"top-0.5 w-3 h-3":"top-0.5 w-4 h-4",e?n?"left-[18px]":"left-[22px]":"left-0.5")})})}let eh=({rule:e})=>{let[t,r]=(0,l.useState)(!1);return 0===e.declarations.length?null:(0,a.jsxs)("div",{className:"border rounded text-xs overflow-hidden border-gray-200/70 dark:border-white/10",children:[(0,a.jsxs)("button",{onClick:()=>r(!t),className:"w-full flex items-center justify-between pl-0.5 pr-2 py-1.5 gap-2 transition-colors text-left hover:bg-gray-50 dark:hover:bg-gray-800",children:[(0,a.jsx)("code",{className:"text-[11px] font-mono truncate flex-1 bg-transparent dark:bg-transparent text-gray-800 dark:text-gray-200",title:e.selector,children:e.selector}),(0,a.jsx)("div",{className:"flex items-center gap-2",children:(0,a.jsx)(C.A,{size:12,className:(0,w.A)("transition-transform duration-200",t&&"rotate-180")})})]}),t&&(0,a.jsx)("div",{className:"border-t py-2 px-1 bg-gray-100/5 overflow-x-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none] border-gray-200/70 dark:border-white/10",children:(0,a.jsx)("div",{className:"w-fit",children:e.declarations.map(e=>(0,a.jsxs)("code",{className:"text-[10px] font-mono whitespace-nowrap rounded-none !bg-transparent block",children:[(0,a.jsx)("span",{className:"text-purple-600 dark:text-purple-400",children:e.property}),(0,a.jsx)("span",{className:"text-gray-500",children:": "}),(0,a.jsx)("span",{className:"text-blue-600 dark:text-blue-400",children:e.value})]},e.key))})})]})},ep=({file:e,onToggleFile:t})=>{let[r,n]=(0,l.useState)(!1),[s,i]=(0,l.useState)(!1),o=[...e.content.replace(/\/\*[\s\S]*?\*\//g,"").matchAll(/([^{}]+)\{([^{}]*)\}/g)].map((e,t)=>{let r=e[1],a=e[2];if(!r||void 0===a)return null;let n=r.trim();if(!n||n.startsWith("/*")||n.endsWith("*/"))return null;let l=a.split(";").map(e=>e.trim()).filter(Boolean).map(e=>{let r=function(e){let t=e.indexOf(":");if(-1===t)return null;let r=e.slice(0,t).trim(),a=e.slice(t+1).trim();return r&&a?{property:r,value:a}:null}(e);return r?{property:r.property,value:r.value,key:`${t}|${n}|${r.property}`}:null}).filter(e=>null!==e);return{selector:n,declarations:l,ruleIndex:t}}).filter(e=>null!==e),d=(0,l.useCallback)(t=>{t.stopPropagation(),navigator.clipboard.writeText(e.content),i(!0),setTimeout(()=>i(!1),1500)},[e.content]),c=(0,l.useCallback)(t=>{t.stopPropagation();let r=new Blob([e.content],{type:"text/css"}),a=URL.createObjectURL(r),n=document.createElement("a");n.href=a,n.download=e.path.split("/").pop()||"custom.css",document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(a)},[e.content,e.path]);return(0,a.jsxs)("div",{className:(0,w.A)("border-b last-of-type:border-b-0 overflow-hidden border-gray-200/70 dark:border-white/10",!e.enabled&&"opacity-60"),children:[(0,a.jsxs)("div",{onClick:()=>n(!r),className:"w-full flex items-center justify-between p-2 gap-2 overflow-hidden cursor-pointer hover:bg-gray-900/5 dark:hover:bg-gray-200/10",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-1 min-w-0 text-left",children:[(0,a.jsx)(C.A,{size:14,className:(0,w.A)("transition-transform duration-200 shrink-0",r&&"rotate-180")}),(0,a.jsx)("span",{className:"text-xs font-mono truncate",title:e.path,children:e.path})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5 shrink-0",children:[(0,a.jsx)("button",{onClick:d,className:"p-1 rounded transition-colors bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700",title:"Copy CSS",children:s?(0,a.jsx)(N.A,{size:14,className:"text-green-500"}):(0,a.jsx)(Z.A,{size:14,className:"opacity-60"})}),(0,a.jsx)("button",{onClick:c,className:"p-1 rounded transition-colors bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700",title:"Download CSS",children:(0,a.jsx)(em,{size:14,className:"opacity-60"})}),(0,a.jsx)(eg,{size:"small",enabled:e.enabled,onToggle:()=>t(e.index)})]})]}),r&&(0,a.jsx)("div",{className:"border-t p-2 space-y-2 max-h-[280px] overflow-y-auto border-gray-200/70 dark:border-white/10",children:0===o.length?(0,a.jsx)("div",{className:"text-xs text-gray-500 italic",children:"No CSS rules found"}):o.map(t=>(0,a.jsx)(eh,{rule:t},`${e.index}-${t.ruleIndex}`))})]})},eV=()=>{let[e,t]=(0,l.useState)(null);(0,l.useEffect)(()=>{let e=document.querySelectorAll("style[data-custom-css-index]"),r=[];e.forEach(e=>{let t=parseInt(e.dataset.customCssIndex??"0",10),a=e.dataset.customCssPath??`css-file-${t}`,n=e.textContent??"",l="not all"!==e.media;r.push({index:t,path:a,content:n,enabled:l})}),t(r)},[]);let r=(0,l.useCallback)(e=>{let r=document.querySelector(`style[data-custom-css-index="${e}"]`);if(!r)return;let a="not all"!==r.media;r.media=a?"not all":"",t(t=>t?.map(t=>t.index===e?{...t,enabled:!a}:t)??null)},[]);return null===e?null:0===e.length?(0,a.jsx)("div",{className:"text-xs font-mono text-gray-500 italic p-4",children:"No custom CSS files found"}):(0,a.jsx)("div",{className:"flex flex-col overflow-hidden",children:e.map(e=>(0,a.jsx)(ep,{file:e,onToggleFile:r},e.index))})},ef="mintlify-dev-panel",ey=!1,eL="right",ej="light",eb=()=>{let[e,t]=(0,l.useState)(ey),r=e=>{ey=e,t(e)},[n,s]=(0,l.useState)(eL),[i,o]=(0,l.useState)(ej),{ref:d,onPointerDown:c,isPositioned:x}=(({localStorageKey:e,dragThreshold:t=et,offsetTop:r=Q,offsetOther:a=ee,onDragStart:n,defaultSide:s="right",defaultVertical:i="bottom"})=>{let o=(0,l.useRef)(null),[d,c]=(0,l.useState)(!1),x=(0,l.useRef)(!1),u=(0,l.useRef)({state:"idle"}),m=(0,l.useRef)(null),g=(0,l.useRef)({x:0,y:0}),h=(0,l.useRef)({x:0,y:0}),p=(0,l.useRef)(0),V=(0,l.useRef)([]),f=(e,t,r)=>Math.max(t,Math.min(r,e)),y=(0,l.useRef)(s),L=e=>{if(!o.current)return 0;let t=o.current.offsetWidth,r=window.innerWidth-document.documentElement.clientWidth;return"right"===e?window.innerWidth-r-a-t:a},j=()=>{if(!o.current)return{x:0,y:0};let e=L(s),t=o.current.getBoundingClientRect();return{x:e,y:"bottom"===i?window.innerHeight-t.height-a:r}};(0,l.useEffect)(()=>{let e=()=>{if(!o.current)return;let e=o.current.getBoundingClientRect().height,t=L(y.current),n=window.innerHeight-a-e,l=f(h.current.y,r,n);h.current={x:t,y:l},o.current.style.translate=`${t}px ${l}px`};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[r,a]),(0,l.useEffect)(()=>()=>{null!==m.current&&(m.current(),m.current=null)},[]);let b=()=>{"drag"===u.current.state&&o.current?.releasePointerCapture(u.current.pointerId);let e="drag"===u.current.state;u.current=e?{state:"drag-end"}:{state:"idle"},null!==m.current&&(m.current(),m.current=null),e||o.current?.removeEventListener("click",H),V.current=[],document.body.style.userSelect=""},v=e=>{o.current&&(h.current=e,o.current.style.translate=`${e.x}px ${e.y}px`)},H=e=>{"drag-end"===u.current.state&&(e.preventDefault(),e.stopPropagation(),u.current={state:"idle"},o.current?.removeEventListener("click",H))},M=e=>{if("press"===u.current.state){let r=e.clientX-g.current.x,a=e.clientY-g.current.y;Math.sqrt(r*r+a*a)>=t&&(n?.(),u.current={state:"drag",pointerId:e.pointerId},o.current?.setPointerCapture(e.pointerId),document.body.style.userSelect="none")}if("drag"!==u.current.state||!o.current)return;let l={x:e.clientX,y:e.clientY},s=l.x-g.current.x,i=l.y-g.current.y;g.current=l;let d=o.current.getBoundingClientRect(),c=d.width,x=d.height,m=window.innerWidth-document.documentElement.clientWidth,f=window.innerWidth-m-a-c,y=window.innerHeight-a-x;v({x:en(h.current.x+s,[a,f]),y:en(h.current.y+i,[r,y])});let L=Date.now();L-p.current>=10&&(V.current=[...V.current.slice(-5),{position:l,timestamp:L}]),p.current=L},w=()=>{if("drag"!==u.current.state||!o.current)return void b();let t=(e=>{if(e.length<2)return{x:0,y:0};let t=e[0],r=e[e.length-1],a=(r?.timestamp??0)-(t?.timestamp??0);return 0===a?{x:0,y:0}:{x:1e3*(((r?.position.x??0)-(t?.position.x??0))/a),y:1e3*(((r?.position.y??0)-(t?.position.y??0))/a)}})(V.current),n=o.current.getBoundingClientRect(),l=n.height,s=n.width,i=n.left+s/2+((e,t=.998)=>e/1e3*t/(1-t))(t.x)<window.innerWidth/2?"left":"right",d=L(i),c=window.innerHeight-a-l,x=f(h.current.y,r,c);b(),((t,r)=>{let a=o.current;if(!a)return;let n=l=>{if("translate"===l.propertyName){h.current=t,y.current=r,a.style.transition="",a.removeEventListener("transitionend",n);var s=t.y;try{localStorage.setItem(e,JSON.stringify({side:r,y:s}))}catch(e){console.error("Failed to save widget position:",e)}}};a.style.transition="translate 300ms cubic-bezier(0.34, 1.56, 0.64, 1)",a.addEventListener("transitionend",n),v(t)})({x:d,y:x},i)};return{ref:t=>{o.current=t,t&&!x.current&&(x.current=!0,(t=>{try{let r=localStorage.getItem(e);if(r){let e=JSON.parse(r);y.current=e.side;let a=L(e.side);h.current={x:a,y:e.y},t.style.translate=`${a}px ${e.y}px`}else{let{x:e,y:r}=j();y.current=s,h.current={x:e,y:r},t.style.translate=`${e}px ${r}px`}}catch(a){console.error("Failed to load widget position:",a);let{x:e,y:r}=j();y.current=s,h.current={x:e,y:r},t.style.translate=`${e}px ${r}px`}c(!0)})(t))},onPointerDown:e=>{0===e.button&&(o.current&&(o.current.style.transition=""),g.current={x:e.clientX,y:e.clientY},u.current={state:"press"},window.addEventListener("pointermove",M),window.addEventListener("pointerup",w),null!==m.current&&(m.current(),m.current=null),m.current=()=>{window.removeEventListener("pointermove",M),window.removeEventListener("pointerup",w)},o.current?.addEventListener("click",H))},isPositioned:d}})({localStorageKey:"mintlify-dev-panel-position",defaultSide:"right",defaultVertical:"bottom"}),u=((e,t)=>({top:{container:"top-0 left-0 right-0 h-[60vh] border-b",transform:t?"translate-y-0":"-translate-y-full"},bottom:{container:"bottom-0 left-0 right-0 h-[60vh] border-t",transform:t?"translate-y-0":"translate-y-full"},left:{container:"top-0 left-0 bottom-0 w-[400px] border-r",transform:t?"translate-x-0":"-translate-x-full"},right:{container:"top-0 right-0 bottom-0 w-[400px] border-l",transform:t?"translate-x-0":"translate-x-full"}})[e])(n,e),m=(0,l.useContext)(g.SearchContext),h=(0,l.useContext)(f.Em),p=(0,l.useContext)(f.H6),{openApiReferenceData:V}=(0,l.useContext)(j.OpenApiReferenceContext),{inputs:y,getApiPlaygroundInputs:L}=(0,b.usePlaygroundInputsStore)(),w=L(),{pageMetadata:N}=(0,l.useContext)(f.NQ);if((0,l.useEffect)(()=>{let e=e=>{e.shiftKey&&e.ctrlKey&&e.metaKey&&"m"===e.key.toLowerCase()&&("true"===(0,Y.Gq)(ef)?((0,Y.SO)(ef,"false"),r(!1)):((0,Y.SO)(ef,"true"),r(!0)))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[e]),"true"!==(0,Y.Gq)(ef))return null;let Z=document.documentElement.classList.contains("dark");return(0,a.jsxs)(G,{theme:i,toggleSheet:()=>r(!e),isOpen:e,currentPosition:u,buttonRef:d,onPointerDown:c,isButtonPositioned:x,children:[(0,a.jsxs)("div",{className:"font-mono text-xs text-gray-400 dark:text-gray-500",children:[M.c.IS_LOCAL_CLIENT&&"LOCAL ","v",H.f]}),(0,a.jsxs)(E,{title:"Dev Panel Settings",defaultOpen:!0,children:[(0,a.jsx)(U,{toggleTheme:()=>(e=>{ej=e,o(e)})("dark"===i?"light":"dark"),docsAreDarkMode:Z}),(0,a.jsx)(q,{position:n,setPosition:e=>{eL=e,s(e)}}),H._.CACHE_TOOLBAR&&(0,a.jsx)(k,{})]}),(0,a.jsx)(E,{title:"Page Overrides",defaultOpen:!0,children:(0,a.jsx)(P,{})}),(0,a.jsx)(E,{title:"Custom CSS",defaultOpen:!1,sectionClassName:"px-0 py-0 overflow-hidden",children:(0,a.jsx)(eV,{})}),(0,a.jsx)(E,{title:"Search Data",defaultOpen:!1,children:(0,a.jsx)(I,{data:m,theme:i})}),(0,a.jsx)(E,{title:"Deployment Metadata",defaultOpen:!1,copyText:JSON.stringify(h),children:(0,a.jsx)(I,{data:h,theme:i})}),(0,a.jsx)(E,{title:"Docs Config",defaultOpen:!1,copyText:JSON.stringify(p.docsConfig),children:(0,a.jsx)(I,{data:p.docsConfig??{},theme:i})}),(0,a.jsx)(E,{title:"Docs Nav With Metadata",defaultOpen:!1,copyText:JSON.stringify(p.docsNavWithMetadata),children:(0,a.jsx)(I,{data:p.docsNavWithMetadata??{},theme:i})}),(0,a.jsx)(E,{title:"Page Metadata",defaultOpen:!1,children:(0,a.jsx)(I,{data:N,theme:i})}),"development"!==H._.NODE_ENV&&(0,a.jsx)(E,{title:"Feature Flags",defaultOpen:!1,children:(0,a.jsx)(z,{readOnly:!0})}),v.HL&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(E,{title:"Api Reference Data",defaultOpen:!1,children:[V.filename&&(0,a.jsxs)("div",{className:"text-xs font-mono text-gray-500 dark:text-gray-400",children:["filename: ",(0,a.jsx)(eu,{text:V.filename})]}),V.originalFileLocation&&(0,a.jsxs)("div",{className:"text-xs font-mono text-gray-500 dark:text-gray-400",children:["originalFileLocation:"," ",(0,a.jsx)(eu,{text:V.originalFileLocation})]}),(0,a.jsx)(I,{data:{operation:V.operation,dependencies:V.dependencies},theme:i})]}),(0,a.jsxs)(E,{title:"Api Playground Inputs",defaultOpen:!1,children:[(0,a.jsx)("div",{className:"text-xs font-semibold text-gray-900 dark:text-gray-100",children:"flattened"}),(0,a.jsx)(I,{data:y,theme:i}),(0,a.jsx)("div",{className:"text-xs font-semibold text-gray-900 dark:text-gray-100",children:"unflattened"}),(0,a.jsx)(I,{data:w,theme:i})]}),(0,a.jsx)(E,{title:"Feature Flags",defaultOpen:!1,children:(0,a.jsx)(z,{})}),(0,a.jsx)(E,{title:"Actions",defaultOpen:!1,children:(0,a.jsx)(ex,{})})]})]})};var ev=r(6723),eH=r(36140);function eM(e){let{mdxSource:t,mdxSourceWithNoJs:r,forceIsLoading:s}=e,{pageMetadata:i}=(0,l.useContext)(f.NQ),{userInfo:o}=(0,l.useContext)(f.cy),{resolvedTheme:d}=(0,n.D)(),c=(0,y.e)();return(({containJsCode:e})=>{(0,l.useEffect)(()=>{if(!e)return;let t=setTimeout(()=>{let e=window.location.hash;if(e){let t=document.getElementById(e.slice(1));t&&t.scrollIntoView({behavior:"instant",block:"start"})}});return()=>clearTimeout(t)},[e])})({containJsCode:t.compiledSource!==r.compiledSource}),(0,L.E)(()=>{"dark"===c||"dark"===d?document.documentElement.classList.add("twoslash-dark"):document.documentElement.classList.remove("twoslash-dark")},[d]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ev.A,{children:(0,a.jsx)(eH.b,{mdxSource:t,mdxSourceWithNoJs:r,pageMetadata:i,userInfo:o,forceIsLoading:s})}),(0,a.jsx)(eb,{}),(0,a.jsx)(V,{})]})}},91153:(e,t,r)=>{r.d(t,{Background:()=>V});var a=r(54568),n=r(10897),l=r(7620),s=r(17798),i=r(54871),o=r(49948),d=r(35878),c=r(94879),x=r(19208),u=r(81325),m=r(35021);let g=(e,t,r)=>{switch(e?.decoration){case"gradient":return{background:`radial-gradient(49.63% 57.02% at 58.99% -7.2%, rgba(${(0,n.uu)(t)}, 0.1) 39.4%, rgba(0, 0, 0, 0) 100%)`,className:"h-[64rem]"};case"grid":return{background:`radial-gradient(49.63% 57.02% at 58.99% -7.2%, rgba(${(0,n.uu)(t)}, 0.1) 39.4%, rgba(0, 0, 0, 0) 100%)`,className:"h-[64rem]",children:(0,a.jsxs)("svg",{width:"918",height:"560",viewBox:"0 0 918 591",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute pl-48 -top-16 left-1/2 -translate-x-1/2",children:[(0,a.jsx)("mask",{id:`mask-${r}`,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},x:"0",y:"-80",width:"936",height:"671",children:(0,a.jsx)("ellipse",{cx:"468.373",cy:"255.536",rx:"467.627",ry:"335.114",fill:`url(#radial-${r})`})}),(0,a.jsx)("g",{mask:`url(#mask-${r})`,children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-64.8616 -138.566L1001.61 -138.566V-139.566L-64.8616 -139.566L-64.8616 -138.566ZM73.7705 589.928V649.243H74.7705V589.928H134.479V649.243H135.479V589.928H195.187V649.243H196.187V589.928H255.895V649.243H256.895V589.928H316.603V649.243H317.603V589.928H377.311V649.243H378.311V589.928H438.019V649.243H439.019V589.928L498.727 589.928V649.243H499.727V589.928H559.435V649.243H560.435V589.928H620.143V649.243H621.143V589.928H680.851V649.243H681.851V589.928H741.559V649.243H742.559V589.928H802.267V649.243H803.267V589.928H862.975V649.243H863.975V589.928H1001.61V588.928H863.975V529.221H1001.61V528.221H863.975V468.512H1001.61V467.512H863.975V407.805H1001.61V406.805H863.975V347.097H1001.61V346.097H863.975V286.39H1001.61V285.39H863.975V225.681H1001.61V224.681H863.975V164.974H1001.61V163.974H863.975V104.266H1001.61V103.266H863.975V43.5572H1001.61V42.5572H863.975V-17.152H1001.61V-18.152H863.975V-77.8592L1001.61 -77.8593V-78.8593L863.975 -78.8592V-137.177H862.975V-78.8592H803.267V-137.177H802.267V-78.8592H742.559V-137.177H741.559V-78.8592L681.851 -78.8592V-137.177H680.851V-78.8592H621.143V-137.177H620.143V-78.8592H560.435V-137.177H559.435V-78.8592L499.727 -78.8592V-137.177H498.727V-78.8592H439.019V-137.177H438.019V-78.8592L378.311 -78.8592V-137.177H377.311V-78.8592H317.603V-137.177H316.603V-78.8592H256.895V-137.177H255.895V-78.8592L196.187 -78.8592V-137.177H195.187V-78.8592H135.479V-137.177H134.479V-78.8592H74.7706V-137.177H73.7706V-78.8592L-64.862 -78.8592L-64.862 -77.8592L73.7706 -77.8592L73.7705 -18.152H-64.8617L-64.8617 -17.152H73.7705V42.5572H-64.8621L-64.8621 43.5572H73.7705V103.267H-64.8618L-64.8618 104.267H73.7705V163.974H-64.8622L-64.8622 164.974H73.7705V224.681H-64.8619L-64.8619 225.681H73.7705V285.39H-64.8623L-64.8623 286.39H73.7705V346.097H-64.862L-64.862 347.097H73.7705V406.805H-64.8617L-64.8617 407.805H73.7705V467.512H-64.8614L-64.8614 468.512H73.7705V528.221H-64.8618L-64.8618 529.221H73.7705V588.928H-64.8622L-64.8622 589.928H73.7705ZM803.267 -77.8592H862.975V-18.152L803.267 -18.152V-77.8592ZM742.559 -77.8592H802.267V-18.152H742.559V-77.8592ZM681.851 -77.8592L741.559 -77.8592V-18.152H681.851V-77.8592ZM621.143 -77.8592H680.851V-18.152H621.143V-77.8592ZM560.435 -77.8592H620.143V-18.152H560.435L560.435 -77.8592ZM499.727 -77.8592L559.435 -77.8592L559.435 -18.152H499.727L499.727 -77.8592ZM439.019 -77.8592H498.727L498.727 -18.152L439.019 -18.152L439.019 -77.8592ZM378.311 -77.8592L438.019 -77.8592L438.019 -18.152H378.311L378.311 -77.8592ZM317.603 -77.8592H377.311L377.311 -18.152H317.603L317.603 -77.8592ZM256.895 -77.8592H316.603L316.603 -18.152H256.895L256.895 -77.8592ZM196.187 -77.8592L255.895 -77.8592L255.895 -18.152H196.187L196.187 -77.8592ZM135.479 -77.8592H195.187L195.187 -18.152H135.479L135.479 -77.8592ZM74.7706 -77.8592H134.479L134.479 -18.152L74.7705 -18.152L74.7706 -77.8592ZM74.7705 -17.152V42.5572H134.479V-17.152L74.7705 -17.152ZM135.479 -17.152V42.5572H195.187V-17.152H135.479ZM196.187 -17.152V42.5572L255.895 42.5572V-17.152H196.187ZM256.895 -17.152V42.5572H316.603V-17.152H256.895ZM317.603 -17.152V42.5572H377.311V-17.152H317.603ZM378.311 -17.152V42.5572H438.019V-17.152H378.311ZM439.019 -17.152V42.5572H498.727V-17.152L439.019 -17.152ZM499.727 -17.152V42.5572H559.435V-17.152H499.727ZM560.435 -17.152V42.5572H620.143V-17.152H560.435ZM621.143 -17.152V42.5572H680.851V-17.152H621.143ZM681.851 -17.152V42.5572L741.559 42.5572V-17.152H681.851ZM742.559 -17.152V42.5572H802.267V-17.152H742.559ZM803.267 -17.152V42.5572H862.975V-17.152L803.267 -17.152ZM803.267 43.5572H862.975V103.266H803.267V43.5572ZM742.559 43.5572H802.267V103.266H742.559V43.5572ZM681.851 43.5572L741.559 43.5572V103.266L681.851 103.266V43.5572ZM621.143 43.5572H680.851V103.266H621.143V43.5572ZM560.435 43.5572H620.143V103.266H560.435V43.5572ZM499.727 43.5572H559.435V103.266H499.727V43.5572ZM439.019 43.5572H498.727V103.266H439.019V43.5572ZM378.311 43.5572H438.019V103.266H378.311V43.5572ZM317.603 43.5572H377.311V103.266H317.603V43.5572ZM256.895 43.5572H316.603V103.266H256.895V43.5572ZM196.187 43.5572L255.895 43.5572V103.266L196.187 103.267V43.5572ZM135.479 43.5572H195.187V103.267H135.479V43.5572ZM74.7705 43.5572H134.479V103.267H74.7705V43.5572ZM74.7705 104.267V163.974H134.479V104.267H74.7705ZM135.479 104.267V163.974H195.187V104.267H135.479ZM196.187 104.267V163.974H255.895V104.266L196.187 104.267ZM256.895 104.266V163.974H316.603V104.266H256.895ZM317.603 104.266V163.974H377.311V104.266H317.603ZM378.311 104.266V163.974H438.019V104.266H378.311ZM439.019 104.266V163.974L498.727 163.974V104.266H439.019ZM499.727 104.266V163.974H559.435V104.266H499.727ZM560.435 104.266V163.974H620.143V104.266H560.435ZM621.143 104.266V163.974H680.851V104.266H621.143ZM681.851 104.266V163.974H741.559V104.266L681.851 104.266ZM742.559 104.266V163.974H802.267V104.266H742.559ZM803.267 104.266V163.974H862.975V104.266H803.267ZM803.267 164.974H862.975V224.681H803.267V164.974ZM742.559 164.974H802.267V224.681H742.559V164.974ZM681.851 164.974H741.559V224.681H681.851V164.974ZM621.143 164.974H680.851V224.681H621.143V164.974ZM560.435 164.974H620.143V224.681H560.435V164.974ZM499.727 164.974H559.435V224.681H499.727V164.974ZM439.019 164.974L498.727 164.974V224.681L439.019 224.681V164.974ZM378.311 164.974H438.019V224.681H378.311V164.974ZM317.603 164.974H377.311V224.681H317.603V164.974ZM256.895 164.974H316.603V224.681H256.895V164.974ZM196.187 164.974H255.895V224.681H196.187V164.974ZM135.479 164.974H195.187V224.681H135.479V164.974ZM74.7705 164.974H134.479V224.681H74.7705V164.974ZM74.7705 225.681V285.39H134.479V225.681H74.7705ZM135.479 225.681V285.39H195.187V225.681H135.479ZM196.187 225.681V285.39H255.895V225.681H196.187ZM256.895 225.681V285.39H316.603V225.681H256.895ZM317.603 225.681V285.39H377.311V225.681H317.603ZM378.311 225.681V285.39H438.019V225.681H378.311ZM439.019 225.681V285.39L498.727 285.39V225.681L439.019 225.681ZM499.727 225.681V285.39H559.435V225.681H499.727ZM560.435 225.681V285.39H620.143V225.681H560.435ZM621.143 225.681V285.39H680.851V225.681H621.143ZM681.851 225.681V285.39H741.559V225.681H681.851ZM742.559 225.681V285.39H802.267V225.681H742.559ZM803.267 225.681V285.39H862.975V225.681H803.267ZM803.267 286.39H862.975V346.097H803.267V286.39ZM742.559 286.39H802.267V346.097H742.559V286.39ZM681.851 286.39H741.559V346.097H681.851V286.39ZM621.143 286.39H680.851V346.097H621.143V286.39ZM560.435 286.39H620.143V346.097H560.435V286.39ZM499.727 286.39H559.435V346.097H499.727V286.39ZM439.019 286.39L498.727 286.39V346.097L439.019 346.097V286.39ZM378.311 286.39H438.019V346.097H378.311V286.39ZM317.603 286.39H377.311V346.097H317.603V286.39ZM256.895 286.39H316.603V346.097H256.895V286.39ZM196.187 286.39H255.895V346.097H196.187V286.39ZM135.479 286.39H195.187V346.097H135.479V286.39ZM74.7705 286.39H134.479V346.097H74.7705V286.39ZM74.7705 347.097V406.805H134.479V347.097H74.7705ZM135.479 347.097V406.805H195.187V347.097H135.479ZM196.187 347.097V406.805H255.895V347.097H196.187ZM256.895 347.097V406.805H316.603V347.097H256.895ZM317.603 347.097V406.805H377.311V347.097H317.603ZM378.311 347.097V406.805H438.019V347.097H378.311ZM439.019 347.097V406.805L498.727 406.805V347.097L439.019 347.097ZM499.727 347.097V406.805H559.435V347.097H499.727ZM560.435 347.097V406.805H620.143V347.097H560.435ZM621.143 347.097V406.805H680.851V347.097H621.143ZM681.851 347.097V406.805H741.559V347.097H681.851ZM742.559 347.097V406.805H802.267V347.097H742.559ZM803.267 347.097V406.805H862.975V347.097H803.267ZM803.267 407.805H862.975V467.512H803.267V407.805ZM742.559 407.805H802.267V467.512H742.559V407.805ZM681.851 407.805H741.559V467.512H681.851V407.805ZM621.143 407.805H680.851V467.512H621.143V407.805ZM560.435 407.805H620.143V467.512H560.435V407.805ZM499.727 407.805H559.435V467.512H499.727V407.805ZM439.019 407.805L498.727 407.805V467.512L439.019 467.512V407.805ZM378.311 407.805H438.019V467.512H378.311V407.805ZM317.603 407.805H377.311V467.512H317.603V407.805ZM256.895 407.805H316.603V467.512H256.895V407.805ZM196.187 407.805H255.895V467.512H196.187V407.805ZM135.479 407.805H195.187V467.512H135.479V407.805ZM74.7705 407.805H134.479V467.512H74.7705V407.805ZM74.7705 468.512V528.221H134.479V468.512H74.7705ZM135.479 468.512V528.221H195.187V468.512H135.479ZM196.187 468.512V528.221H255.895V468.512H196.187ZM256.895 468.512V528.221H316.603V468.512H256.895ZM317.603 468.512V528.221H377.311V468.512H317.603ZM378.311 468.512V528.221H438.019V468.512H378.311ZM439.019 468.512V528.221L498.727 528.221V468.512L439.019 468.512ZM499.727 468.512V528.221H559.435V468.512H499.727ZM560.435 468.512V528.221H620.143V468.512H560.435ZM621.143 468.512V528.221H680.851V468.512H621.143ZM681.851 468.512V528.221H741.559V468.512H681.851ZM742.559 468.512V528.221H802.267V468.512H742.559ZM803.267 468.512V528.221H862.975V468.512H803.267ZM803.267 529.221H862.975V588.928H803.267V529.221ZM742.559 529.221H802.267V588.928H742.559V529.221ZM681.851 529.221H741.559V588.928H681.851V529.221ZM621.143 529.221H680.851V588.928H621.143V529.221ZM560.435 529.221H620.143V588.928H560.435V529.221ZM499.727 529.221H559.435V588.928H499.727V529.221ZM439.019 529.221L498.727 529.221V588.928L439.019 588.928V529.221ZM378.311 529.221H438.019V588.928H378.311V529.221ZM317.603 529.221H377.311V588.928H317.603V529.221ZM256.895 529.221H316.603V588.928H256.895V529.221ZM196.187 529.221H255.895V588.928H196.187V529.221ZM135.479 529.221H195.187V588.928H135.479V529.221ZM74.7705 529.221H134.479V588.928H74.7705V529.221ZM1001.61 650.637L-64.862 650.638L-64.862 649.638L1001.61 649.637V650.637Z",className:"fill-primary dark:fill-primary-light",fillOpacity:"0.08"})}),(0,a.jsx)("defs",{children:(0,a.jsxs)("radialGradient",{id:`radial-${r}`,cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(468.373 255.536) rotate(90) scale(335.114 467.627)",children:[(0,a.jsx)("stop",{stopColor:"#D9D9D9"}),(0,a.jsx)("stop",{offset:"1",stopOpacity:"0"})]})})]})};case"windows":return{background:`radial-gradient(49.63% 57.02% at 58.99% -7.2%, rgba(${(0,n.uu)(t)}, 0.1) 39.4%, rgba(0, 0, 0, 0) 100%)`,className:"h-[64rem]",children:(0,a.jsxs)("svg",{width:"790",height:"640",viewBox:"0 0 790 718",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute pl-48 -top-16 left-1/2 -translate-x-1/2",children:[(0,a.jsx)("mask",{id:`mask-${r}`,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"-143",width:"936",height:"861",children:(0,a.jsx)("ellipse",{cx:"468.373",cy:"287.536",rx:"467.627",ry:"430.464",fill:`url(#radial-${r})`})}),(0,a.jsxs)("g",{mask:`url(#mask-${r})`,className:"fill-primary dark:fill-primary-light",children:[(0,a.jsx)("path",{d:"M506.419 281.855L446.417 297.931V359.885L506.419 343.71V281.855Z",fillOpacity:"0.05"}),(0,a.jsx)("path",{d:"M384.768 188.752L324.766 204.828V266.781L384.768 250.606V188.752Z",fillOpacity:"0.05"}),(0,a.jsx)("path",{d:"M263.625 347.002L203.623 363.078V425.031L263.625 408.856V347.002Z",fillOpacity:"0.05"}),(0,a.jsx)("path",{d:"M385.089 440.096L325.087 456.172V518.125L385.089 501.95V440.096Z",fillOpacity:"0.05"}),(0,a.jsx)("path",{d:"M627.756 123.527L567.754 139.603V201.557L627.756 185.382V123.527Z",fillOpacity:"0.05"}),(0,a.jsx)("path",{d:"M445.32 46.918L385.318 62.994V124.947L445.32 108.772V46.918Z",fillOpacity:"0.05"}),(0,a.jsx)("path",{d:"M749.192 279.59L689.19 295.666V357.619L749.192 341.444V279.59Z",fillOpacity:"0.05"}),(0,a.jsx)("path",{d:"M627.905 437.912L567.903 453.988V515.941L627.905 499.766V437.912Z",fillOpacity:"0.05"}),(0,a.jsx)("path",{d:"M202.491 175.656L142.489 191.732V253.685L202.491 237.511V175.656Z",fillOpacity:"0.05"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M446.54 -79.1784L949.537 -213.956L949.278 -214.922L446.54 -80.2137V-87.9997H445.54V-79.9457L385.832 -63.947V-87.9997H384.832V-63.679L325.124 -47.6803V-87.9997H324.124V-47.4124L264.416 -31.4137V-87.9997H263.416V-31.1457L203.708 -15.147L203.708 -87.9997H202.708L202.708 -14.8791L143 1.11966L143 -87.9997H142L142 1.3876L-80.8521 61.1006L-80.5932 62.0666L142 2.42287V64.2363L-65.1402 119.739L-64.8814 120.705L142 65.2715L142 127.085L-49.4278 178.378L-49.1689 179.344L142 128.12V189.936L-33.7155 237.019L-33.4566 237.985L142 190.971V252.787L-18.0025 295.659L-17.7437 296.625L142 253.822V315.635L-2.29068 354.298L-2.03186 355.264L142 316.671V378.484L13.4218 412.937L13.6806 413.903L142 379.519V441.335L29.1341 471.577L29.3929 472.543L142 442.37V504.184L44.8466 530.216L45.1054 531.182L142 505.219V567.032L60.5591 588.855L60.8179 589.82L142 568.068V629.881L76.2715 647.493L76.5303 648.459L142 630.917V692.732L91.9838 706.134L92.2426 707.1L142 693.767V698.42H143V693.499L202.708 677.501V698.42H203.708V677.233L263.416 661.234V698.42H264.416V660.966L324.124 644.967V698.42H325.124V644.699L384.832 628.701V690.514L107.696 764.773L107.954 765.738L384.832 691.549V698.42H385.832V691.281L445.54 675.283V698.42H446.54V675.015L506.248 659.016V698.42H507.248V658.748L566.956 642.749V698.42H567.956V642.481L627.664 626.483V688.298L123.409 823.413L123.667 824.379L627.664 689.334V698.42H628.664V689.066L688.372 673.067V698.42H689.372V672.799L749.08 656.8V698.42H750.08V656.532L809.788 640.534V698.42H810.788V640.266L870.496 624.267V698.42H871.496V623.999L931.204 608V698.42H932.204V607.732L1153.8 548.357L1153.54 547.391L932.204 606.697V544.881L1138.08 489.716L1137.83 488.75L932.204 543.846V482.033L1122.37 431.077L1122.11 430.111L932.204 480.997V419.182L1106.66 372.437L1106.4 371.471L932.204 418.147V356.333L1090.95 313.798L1090.69 312.832L932.204 355.298V293.484L1075.24 255.159L1074.98 254.193L932.204 292.449V230.636L1059.52 196.521L1059.26 195.555L932.204 229.6V167.785L1043.81 137.88L1043.55 136.914L932.204 166.75V104.936L1028.1 79.2413L1027.84 78.2754L932.204 103.901V42.0874L1012.39 20.6027L1012.13 19.6367L932.204 41.0522V-20.7634L996.674 -38.0379L996.415 -39.0039L932.204 -21.7987L932.204 -83.6142L980.961 -96.6786L980.702 -97.6445L932.204 -84.6495V-87.9997H931.204V-84.3815L871.496 -68.3828V-87.9997H870.496V-68.1149L810.788 -52.1161V-87.9997H809.788V-51.8482L750.08 -35.8495V-87.9997H749.08V-35.5815L689.372 -19.5828L689.372 -81.3963L965.249 -155.317L964.99 -156.283L689.372 -82.4316V-87.9997H688.372V-82.1637L628.664 -66.1649V-87.9997H627.664V-65.897L567.956 -49.8983V-87.9997H566.956V-49.6303L507.248 -33.6316V-87.9997H506.248V-33.3637L446.54 -17.365L446.54 -79.1784ZM445.54 -78.9104L385.832 -62.9117L385.832 -1.09831L445.54 -17.097L445.54 -78.9104ZM384.832 -62.6438L325.124 -46.6451L325.124 15.1684L384.832 -0.830353L384.832 -62.6438ZM324.124 -46.3771L264.416 -30.3784L264.416 31.435L324.124 15.4363L324.124 -46.3771ZM263.416 -30.1104L203.708 -14.1117V47.7017L263.416 31.703L263.416 -30.1104ZM202.708 -13.8438L143 2.15492V63.9683L202.708 47.9696V-13.8438ZM628.664 -65.1297L688.372 -81.1284L688.372 -19.3149L628.664 -3.31616L628.664 -65.1297ZM567.956 -48.863L627.664 -64.8617L627.664 -3.04822L567.956 12.9505L567.956 -48.863ZM507.248 -32.5964L566.956 -48.5951L566.956 13.2184L507.248 29.2172L507.248 -32.5964ZM446.54 -16.3297L506.248 -32.3284L506.248 29.4851L446.54 45.4838V-16.3297ZM385.832 -0.0630493L445.54 -16.0618V45.7517L385.832 61.7505V-0.0630493ZM325.124 16.2036L384.832 0.20491V62.0184L325.124 78.0171V16.2036ZM264.416 32.4703L324.124 16.4716V78.2851L264.416 94.2838V32.4703ZM203.708 48.7369L263.416 32.7382V94.5517L203.708 110.55V48.7369ZM143 65.0036L202.708 49.0049V110.818L143 126.817L143 65.0036ZM931.204 -83.3463L871.496 -67.3475L871.496 -5.53207L931.204 -21.5308L931.204 -83.3463ZM870.496 -67.0796L810.788 -51.0809L810.788 10.7346L870.496 -5.26411L870.496 -67.0796ZM809.788 -50.8129L750.08 -34.8142L750.08 27.0013L809.788 11.0025L809.788 -50.8129ZM749.08 -34.5463L689.372 -18.5476V43.2679L749.08 27.2692L749.08 -34.5463ZM688.372 -18.2796L628.664 -2.2809V59.5346L688.372 43.5359V-18.2796ZM627.664 -2.01295L567.956 13.9858V75.8012L627.664 59.8025V-2.01295ZM566.956 14.2537L507.248 30.2524V92.0679L566.956 76.0692V14.2537ZM506.248 30.5204L446.54 46.5191V108.335L506.248 92.3358V30.5204ZM445.54 46.787L385.832 62.7857V124.601L445.54 108.603V46.787ZM384.832 63.0537L325.124 79.0524V140.868L384.832 124.869V63.0537ZM324.124 79.3203L264.416 95.319V157.135L324.124 141.136V79.3203ZM263.416 95.587L203.708 111.586V173.401L263.416 157.402V95.587ZM202.708 111.854L143 127.852V189.668L202.708 173.669V111.854ZM871.496 -4.49677L931.204 -20.4955V41.3201L871.496 57.3188V-4.49677ZM810.788 11.7699L870.496 -4.22882V57.5868L810.788 73.5855V11.7699ZM750.08 28.0365L809.788 12.0378V73.8534L750.08 89.8521V28.0365ZM689.372 44.3032L749.08 28.3045V90.1201L689.372 106.119V44.3032ZM628.664 60.5699L688.372 44.5711V106.387L628.664 122.385V60.5699ZM567.956 76.8365L627.664 60.8378V122.653L567.956 138.652V76.8365ZM507.248 93.1032L566.956 77.1045V138.92L507.248 154.919V93.1032ZM446.54 109.37L506.248 93.3711V155.187L446.54 171.185V109.37ZM385.832 125.636L445.54 109.638V171.453L385.832 187.452V125.636ZM325.124 141.903L384.832 125.904V187.72L325.124 203.719V141.903ZM264.416 158.17L324.124 142.171V203.987L264.416 219.985V158.17ZM203.708 174.436L263.416 158.438V220.253L203.708 236.252V174.436ZM143 190.703L202.708 174.704V236.52L143 252.519V190.703ZM143 253.554V315.367L202.708 299.369V237.555L143 253.554ZM203.708 237.287V299.101L263.416 283.102V221.289L203.708 237.287ZM264.416 221.021V282.834L324.124 266.835V205.022L264.416 221.021ZM325.124 204.754V266.567L384.832 250.569V188.755L325.124 204.754ZM385.832 188.487V250.301L445.54 234.302V172.489L385.832 188.487ZM446.54 172.221V234.034L506.248 218.035V156.222L446.54 172.221ZM507.248 155.954V217.767L566.956 201.769V139.955L507.248 155.954ZM567.956 139.687V201.501L627.664 185.502V123.689L567.956 139.687ZM628.664 123.421V185.234L688.372 169.235V107.422L628.664 123.421ZM689.372 107.154V168.967L749.08 152.969V91.1554L689.372 107.154ZM750.08 90.8874V152.701L809.788 136.702V74.8887L750.08 90.8874ZM810.788 74.6208V136.434L870.496 120.435V58.622L810.788 74.6208ZM871.496 58.3541V120.167L931.204 104.169V42.3554L871.496 58.3541ZM871.496 121.203L931.204 105.204V167.018L871.496 183.016V121.203ZM810.788 137.469L870.496 121.471V183.284L810.788 199.283V137.469ZM750.08 153.736L809.788 137.737V199.551L750.08 215.55V153.736ZM689.372 170.003L749.08 154.004V215.818L689.372 231.816V170.003ZM628.664 186.269L688.372 170.271V232.084L628.664 248.083V186.269ZM567.956 202.536L627.664 186.537V248.351L567.956 264.35V202.536ZM507.248 218.803L566.956 202.804V264.617L507.248 280.616V218.803ZM446.54 235.069L506.248 219.071V280.884L446.54 296.883V235.069ZM385.832 251.336L445.54 235.337V297.151L385.832 313.15V251.336ZM325.124 267.603L384.832 251.604V313.417L325.124 329.416V267.603ZM264.416 283.869L324.124 267.871V329.684L264.416 345.683V283.869ZM203.708 300.136L263.416 284.137V345.951L203.708 361.95V300.136ZM143 316.403L202.708 300.404V362.217L143 378.216V316.403ZM143 379.251V441.067L202.708 425.068V363.253L143 379.251ZM203.708 362.985V424.8L263.416 408.802V346.986L203.708 362.985ZM264.416 346.718V408.534L324.124 392.535V330.719L264.416 346.718ZM325.124 330.451V392.267L384.832 376.268V314.453L325.124 330.451ZM385.832 314.185V376L445.54 360.002V298.186L385.832 314.185ZM446.54 297.918V359.734L506.248 343.735V281.919L446.54 297.918ZM507.248 281.651V343.467L566.956 327.468V265.653L507.248 281.651ZM567.956 265.385V327.2L627.664 311.202V249.386L567.956 265.385ZM628.664 249.118V310.934L688.372 294.935V233.119L628.664 249.118ZM689.372 232.852V294.667L749.08 278.668V216.853L689.372 232.852ZM750.08 216.585V278.4L809.788 262.402V200.586L750.08 216.585ZM810.788 200.318V262.134L870.496 246.135V184.319L810.788 200.318ZM871.496 184.052V245.867L931.204 229.868V168.053L871.496 184.052ZM871.496 246.902L931.204 230.904V292.717L871.496 308.716V246.902ZM810.788 263.169L870.496 247.17V308.984L810.788 324.982V263.169ZM750.08 279.436L809.788 263.437V325.25L750.08 341.249V279.436ZM689.372 295.702L749.08 279.704V341.517L689.372 357.516V295.702ZM628.664 311.969L688.372 295.97V357.784L628.664 373.782V311.969ZM567.956 328.236L627.664 312.237V374.05L567.956 390.049V328.236ZM507.248 344.502L566.956 328.504V390.317L507.248 406.316V344.502ZM446.54 360.769L506.248 344.77V406.584L446.54 422.582V360.769ZM385.832 377.036L445.54 361.037V422.85L385.832 438.849V377.036ZM325.124 393.302L384.832 377.304V439.117L325.124 455.116V393.302ZM264.416 409.569L324.124 393.57V455.384L264.416 471.382V409.569ZM203.708 425.836L263.416 409.837V471.65L203.708 487.649V425.836ZM143 442.102L202.708 426.104V487.917L143 503.916V442.102ZM143 504.951V566.765L202.708 550.766V488.952L143 504.951ZM203.708 488.684V550.498L263.416 534.499V472.686L203.708 488.684ZM264.416 472.418V534.231L324.124 518.232V456.419L264.416 472.418ZM325.124 456.151V517.965L384.832 501.966V440.152L325.124 456.151ZM385.832 439.884V501.698L445.54 485.699V423.886L385.832 439.884ZM446.54 423.618V485.431L506.248 469.433V407.619L446.54 423.618ZM507.248 407.351V469.165L566.956 453.166V391.352L507.248 407.351ZM567.956 391.084V452.898L627.664 436.899V375.086L567.956 391.084ZM628.664 374.818V436.631L688.372 420.633V358.819L628.664 374.818ZM689.372 358.551V420.365L749.08 404.366V342.552L689.372 358.551ZM750.08 342.284V404.098L809.788 388.099V326.286L750.08 342.284ZM810.788 326.018V387.831L870.496 371.833V310.019L810.788 326.018ZM871.496 309.751V371.565L931.204 355.566V293.752L871.496 309.751ZM871.496 372.6L931.204 356.601V418.415L871.496 434.413V372.6ZM810.788 388.867L870.496 372.868V434.681L810.788 450.68V388.867ZM750.08 405.133L809.788 389.135V450.948L750.08 466.947V405.133ZM689.372 421.4L749.08 405.401V467.215L689.372 483.213V421.4ZM628.664 437.667L688.372 421.668V483.481L628.664 499.48V437.667ZM567.956 453.933L627.664 437.935V499.748L567.956 515.747V453.933ZM507.248 470.2L566.956 454.201V516.015L507.248 532.013V470.2ZM446.54 486.467L506.248 470.468V532.281L446.54 548.28V486.467ZM385.832 502.733L445.54 486.734V548.548L385.832 564.547V502.733ZM325.124 519L384.832 503.001V564.815L325.124 580.813V519ZM264.416 535.267L324.124 519.268V581.081L264.416 597.08V535.267ZM203.708 551.533L263.416 535.534V597.348L203.708 613.347V551.533ZM143 567.8L202.708 551.801V613.615L143 629.613V567.8ZM143 630.649V692.464L202.708 676.465V614.65L143 630.649ZM203.708 614.382V676.197L263.416 660.199V598.383L203.708 614.382ZM264.416 598.115V659.931L324.124 643.932V582.117L264.416 598.115ZM325.124 581.849V643.664L384.832 627.665V565.85L325.124 581.849ZM385.832 565.582V627.397L445.54 611.399V549.583L385.832 565.582ZM446.54 549.315V611.131L506.248 595.132V533.317L446.54 549.315ZM507.248 533.049V594.864L566.956 578.865V517.05L507.248 533.049ZM567.956 516.782V578.597L627.664 562.599V500.783L567.956 516.782ZM628.664 500.515V562.331L688.372 546.332V484.517L628.664 500.515ZM689.372 484.249V546.064L749.08 530.065V468.25L689.372 484.249ZM750.08 467.982V529.797L809.788 513.799V451.983L750.08 467.982ZM810.788 451.715V513.531L870.496 497.532V435.717L810.788 451.715ZM871.496 435.449V497.264L931.204 481.265V419.45L871.496 435.449ZM385.832 690.246V628.433L445.54 612.434V674.247L385.832 690.246ZM446.54 673.979V612.166L506.248 596.167V657.981L446.54 673.979ZM507.248 657.713V595.899L566.956 579.901V641.714L507.248 657.713ZM567.956 641.446V579.633L627.664 563.634V625.447L567.956 641.446ZM628.664 625.18V563.366L688.372 547.367V609.181L628.664 625.18ZM689.372 608.913V547.099L749.08 531.101V592.914L689.372 608.913ZM750.08 592.646V530.833L809.788 514.834V576.647L750.08 592.646ZM810.788 576.38V514.566L870.496 498.567V560.381L810.788 576.38ZM871.496 560.113V498.299L931.204 482.301V544.114L871.496 560.113ZM628.664 626.215V688.03L688.372 672.032V610.216L628.664 626.215ZM689.372 609.948V671.764L749.08 655.765V593.949L689.372 609.948ZM750.08 593.681V655.497L809.788 639.498V577.683L750.08 593.681ZM810.788 577.415V639.23L870.496 623.232V561.416L810.788 577.415ZM871.496 561.148V622.964L931.204 606.965V545.149L871.496 561.148Z",fillOpacity:"0.1"})]}),(0,a.jsx)("defs",{children:(0,a.jsxs)("radialGradient",{id:`radial-${r}`,cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(468.373 287.536) rotate(90) scale(430.464 467.627)",children:[(0,a.jsx)("stop",{stopColor:"#D9D9D9"}),(0,a.jsx)("stop",{offset:"1",stopOpacity:"0"})]})})]})};default:return{background:void 0}}},h=({docsConfig:e})=>{let t=(0,m.C)(e);if(null==e.background)return null;let r=g(e.background,t.primary,"light"),n=g(e.background,t.primaryLight,"dark");return null==r||null==n?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:(0,u.cn)("block absolute dark:hidden inset-0 overflow-hidden pointer-events-none",r.className),style:{background:r.background},children:r.children}),(0,a.jsx)("span",{className:(0,u.cn)("hidden absolute dark:block inset-0 overflow-hidden pointer-events-none",n.className),style:{background:n.background},children:n.children})]})},p=({backgroundImage:e,className:t})=>(0,a.jsx)("span",{className:(0,u.cn)("fixed inset-0 pointer-events-none",t),style:{backgroundImage:`url('${e}')`,backgroundRepeat:"no-repeat",backgroundPosition:"top right",backgroundAttachment:"fixed",WebkitTouchCallout:"none"}}),V=({docsConfig:e,pageMetadata:t,className:r})=>{let n=(0,o.dd)(t),{isLivePreview:m,getDocsConfigOverrides:g}=(0,l.useContext)(i.K),{docsConfig:V}=(0,l.useContext)(s.H6),f=g(),y=m&&f?{...e,...f}:e,L=m&&f?.background?.image!==void 0?f.background.image:e.background?.image,j=f?.theme,b=y.theme;V?.theme!=null&&V.theme!==y.theme&&(b=V.theme),m&&j&&(b=j);let v="custom"===n.mode;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:(0,u.cn)("fixed inset-0 bg-background-light dark:bg-background-dark -z-10 pointer-events-none",!v&&"almond"===b&&c.t,"willow"===b&&x.t0,r),id:"almond"===b?d.V.AlmondBackground:d.V.Background}),(0,a.jsx)(h,{docsConfig:y}),"string"==typeof L&&(0,a.jsx)(p,{backgroundImage:L}),"object"==typeof L&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p,{backgroundImage:L.light,className:"dark:hidden"}),(0,a.jsx)(p,{backgroundImage:L.dark,className:"hidden dark:block"})]})]})}},98046:(e,t,r)=>{r.d(t,{Z:()=>b});var a=r(54568),n=r(7620),l=r(8677),s=r(67908),i=r(12192),o=r(88901),d=r(35878),c=r(40588),x=r(91263),u=r(21749),m=r(1710),g=r(60361),h=r(26842),p=r(81325),V=r(79972),f=r(15717),y=r(30921),L=r(11957);let j=({showThemeToggle:e})=>(0,a.jsx)(y.c,{actionClassName:L.N,showThemeToggle:e});function b({className:e,pageMetadata:t}){let{banner:r}=(0,n.useContext)(i.y),{divisions:y}=(0,n.useContext)(o._),L=(0,o.n)(),{search:b}=L,[v,H]=(0,n.useState)(!1),M=y.tabs.length>0,w=!!r;return(0,n.useEffect)(()=>{!M&&w||M&&!w?window.document.documentElement.classList.add("lg:[--scroll-mt:9.5rem]"):M&&w&&window.document.documentElement.classList.add("lg:[--scroll-mt:12rem]")},[M,w]),(0,a.jsxs)("div",{id:d.V.Navbar,className:(0,p.cn)(s.f.PrimaryNav,"fixed lg:sticky top-0 w-full",e),children:[(0,a.jsx)("div",{className:(0,p.cn)("z-10 absolute w-full h-full bg-gray-950/[0.03] dark:bg-white/[0.03] border-b border-gray-200 dark:border-gray-800")}),(0,a.jsx)("div",{className:"z-0 absolute inset-0 bg-background-light dark:bg-background-dark"}),(0,a.jsx)(l.l,{}),(0,a.jsxs)("div",{className:"z-10 mx-auto relative",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:(0,p.cn)("flex items-center lg:px-12 h-16 min-w-0",M?"mx-4 lg:mx-0":"px-4"),children:(0,a.jsxs)("div",{className:(0,p.cn)("h-full relative flex-1 flex items-center gap-x-4 min-w-0",!M&&"lg:border-none"),children:[(0,a.jsxs)("div",{className:"flex-1 flex items-center gap-x-4",children:[(0,a.jsx)(m.l,{}),(0,a.jsx)(u.Xh,{showLocalization:!1}),(0,a.jsx)(u.m4,{className:"!bg-transparent max-lg:hidden"})]}),(0,a.jsx)(g.DesktopSearchEntry,{searchButtonClassName:"rounded-lg hover:ring-1 hover:ring-gray-200 dark:hover:ring-gray-800 shadow-none",includeAskAiText:!0}),(0,a.jsx)("div",{className:"flex-1 relative hidden lg:flex items-center ml-auto justify-end space-x-4",children:(0,a.jsx)("nav",{className:"text-sm",children:(0,a.jsx)("ul",{className:"flex space-x-6 items-center",children:(0,a.jsx)(j,{})})})}),(0,a.jsxs)("div",{className:"flex lg:hidden items-center gap-3",children:[(0,a.jsxs)(g.SearchButton,{className:"text-gray-500 w-8 h-8 flex items-center justify-center hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300",id:d.V.SearchBarEntryMobile,children:[(0,a.jsx)("span",{className:"sr-only",children:b}),(0,a.jsx)(V.Ay,{icon:"magnifying-glass",iconType:"solid",className:"h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300"})]}),(0,a.jsx)(h.A,{}),(0,a.jsx)("button",{"aria-label":L["aria.moreActions"],className:"h-7 w-5 flex items-center justify-end",onClick:()=>H(!0),children:(0,a.jsx)(V.Ay,{icon:"ellipsis-vertical",iconType:"solid",className:"h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300"})}),(0,a.jsx)(u.j1,{topbarDialogOpen:v,setTopbarDialogOpen:H,children:(0,a.jsx)(j,{showThemeToggle:!1})})]})]})}),(0,a.jsx)(x.i,{pageMetadata:t})]}),M&&(0,a.jsx)("div",{className:"hidden lg:flex px-12 h-12",children:(0,a.jsx)(f.U,{})})]}),(0,a.jsx)(c.c,{})]})}},98362:(e,t,r)=>{r.d(t,{MDXContentController:()=>eE});var a=r(54568),n=r(7620),l=r(54871),s=r(49948),i=r(28603),o=r(52094),d=r(54808),c=r(35878),x=r(21749),u=r(16538),m=r(66438),g=r(66818),h=r(61706),p=r(97154),V=r(81325),f=r(840),y=r(12192),L=r(8685),j=r(35784),b=r(14189),v=r(17798),H=r(81817),M=r(39282),w=r(6482),k=r(78856),N=r(52648),Z=r(88901),C=r(91382);let A=(e,t,r)=>e.map(e=>{let a=t?void 0===e.tabId||t.includes(e.tabId):!e.tabId,n=r?void 0===e.viewId||e.viewId===r:!e.viewId;if(a&&n){let a=A(e.children,t,r);return{...e,slug:(0,N.P)(e.slug),children:a}}return null}).filter(e=>null!==e),E=()=>{let[{tableOfContents:e,multiViewItems:t}]=(0,M.O)(),r=(()=>{let[e,t]=(0,n.useState)([]),r=(0,C.G)();return(0,n.useEffect)(()=>{let e=e=>"tab-button"===e.getAttribute("data-component-part"),r=t=>t instanceof Element&&(e(t)||null!==t.querySelector('[data-component-part="tab-button"]')),a=()=>{let e=Array.from(document.querySelectorAll('[data-component-part="tab-button"][data-active="true"]')).filter(e=>!e.closest('[data-component-part="tab-content"].hidden')).map(e=>e.parentElement?.id).filter(e=>void 0!==e);t(t=>t.length===e.length&&t.every((t,r)=>t===e[r])?t:e)},n=()=>{setTimeout(a,0)};a();let l=new MutationObserver(t=>{t.some(t=>{if("attributes"===t.type){if("data-active"!==t.attributeName)return!1;let r=t.target;return r instanceof Element&&e(r)}if("childList"===t.type){let e=t.target;return e instanceof Element&&(null!==e.closest('[data-component-part="tab-content"]')||Array.from(t.addedNodes).some(r)||Array.from(t.removedNodes).some(r))}return!1})&&n()});l.observe(document.body,{attributes:!0,attributeFilter:["data-active"],childList:!0,subtree:!0});let s=e=>{let t=e.target;t instanceof Element&&"tab-button"===t.getAttribute("data-component-part")&&n()};return setTimeout(()=>{n()}),document.addEventListener("hashchange",n),document.addEventListener("click",s),()=>{l.disconnect(),document.removeEventListener("hashchange",n),document.removeEventListener("click",s)}},[r]),e})(),a=(0,n.useMemo)(()=>{let e=t.find(e=>e.active);return e?.title},[t]),{setNavIsOpen:l}=(0,n.useContext)(Z._),s=(0,n.useCallback)(()=>l(!1),[l]),i=(0,n.useMemo)(()=>A(e,r,a),[e,r,a]),o=i.some(e=>e.children.length>0);return(0,n.useMemo)(()=>({closeNav:s,pageHasSubsections:o,tableOfContents:i}),[s,o,i])};var S=r(60361),T=r(12598),O=r(67908);function $(){let{docsConfig:e}=(0,n.useContext)(v.H6),t=e?.theme,[{changelogFilters:r},l]=(0,M.O)(),{filters:s,clear:i}=(0,Z.n)(),o=r.some(e=>e.active),d=e=>{l({type:"toggle_changelog_filter",payload:{...e,active:!e.active}})};return r.length?(0,a.jsxs)("div",{className:(0,V.cn)(O.f.Control,"hidden xl:flex flex-col box-border","sequoia"===t||"luma"===t?"w-full":"pl-10 w-[19rem]"),id:"changelog-filters",children:[(0,a.jsx)(g.g,{}),(0,a.jsxs)("div",{id:c.V.ChangelogFilters,className:(0,V.cn)("relative text-gray-600 text-sm leading-6 space-y-4","sequoia"===t||"luma"===t?"w-full overflow-y-auto pb-4":"w-[16.5rem] overflow-y-auto"),children:[(0,a.jsxs)("div",{className:"w-full flex justify-between items-center",children:[(0,a.jsx)("span",{className:"text-gray-700 dark:text-gray-300 font-medium",children:s}),(0,a.jsx)("button",{className:(0,V.cn)("text-sm font-medium px-3 rounded-full",o?"text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200":"hidden"),onClick:()=>{o&&r.forEach(e=>d({...e,active:!0}))},children:(0,a.jsxs)("span",{className:"flex items-center",children:[(0,a.jsx)(T.A,{className:"w-4 h-4 mr-1"}),i]})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",id:c.V.ChangelogFiltersContent,children:r.map(e=>(0,a.jsx)(B,{tag:e.tag,count:e.count,active:e.active??!1,onClick:()=>d(e)},e.tag))})]})]}):null}let B=({tag:e,active:t,onClick:r})=>(0,a.jsx)("button",{onClick:r,className:(0,V.cn)("px-3 py-1 text-sm rounded-full flex items-center space-x-1",t?"bg-primary text-white/90":"bg-gray-100 text-gray-700 hover:bg-gray-200 dark:bg-gray-900 dark:text-gray-300"),children:(0,a.jsx)("span",{children:e})},e);var I=r(68216),F=r(36602),z=r(40009);function R({children:e,isApiExample:t,className:r}){let{divisions:l}=(0,n.useContext)(Z._),{docsConfig:s}=(0,n.useContext)(v.H6),{banner:i}=(0,n.useContext)(y.y),{isCustom:o,isCenter:d,isWide:x}=(0,F.c)(),u=(0,I.W)(),m=s?.theme,g=l.tabs.length>0,h=u?.links&&u.links.length>0;return((0,n.useEffect)(()=>{let e=()=>{if(!h)return;let e=document.getElementById(c.V.Content);if(e){let t=e.getBoundingClientRect().bottom,r=window.innerHeight-t;document.documentElement.style.setProperty("--sidenav-move-up",`${Math.max(r,0)}px`)}};return e(),window.addEventListener("scroll",e),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[h]),o||d||x)?null:(0,a.jsx)("div",{suppressHydrationWarning:!0,className:(0,V.cn)((0,z.n9)({theme:m,hasTabs:g,hasBanner:!!i,isApiExample:t}),r),id:c.V.ContentSideLayout,children:e})}var D=r(34920),_=r(26976),P=r(33052),q=r(79972);let W=e=>{try{return decodeURIComponent(e)}catch{return e}},U=()=>{let{docsConfig:e}=(0,n.useContext)(v.H6),[{tableOfContents:t,headings:r}]=(0,M.O)(),[a,l]=(0,n.useState)(""),[s,i]=(0,n.useState)(),o=(0,n.useRef)(void 0),d=e?.theme==="almond";return(0,n.useEffect)(()=>(d&&(o.current=document.getElementById(c.V.ContentContainer)),()=>{o.current=void 0}),[d]),(0,n.useEffect)(()=>{let e=()=>{let e=window.location.hash;e&&l(e.substring(1))};return window.addEventListener("hashchange",e),e(),()=>{window.removeEventListener("hashchange",e)}},[]),(0,n.useEffect)(()=>{if(0===t.length||0===r.length)return;function e(){let e,t=!1;if(d){if(o.current){let{scrollTop:e,scrollHeight:r,clientHeight:a}=o.current;t=5>Math.abs(e+a-r)}}else t=window.innerHeight+window.scrollY===document.body.offsetHeight;if(t){let e=r.concat([]).sort((e,t)=>(e.top??0)-(t.top??0)),t=e[e.length-1];if(t?.id)return void i(t.id)}let a=window.getComputedStyle(document.documentElement),n=parseFloat(a.getPropertyValue("--scroll-mt").match(/[\d.]+/)?.[0]??"0");d&&(n+=6.5),n*=parseFloat(a.fontSize.match(/[\d.]+/)?.[0]??"16");let l=r.concat([]).sort((e,t)=>(e.top??0)-(t.top??0));e=d?(o.current?.scrollTop??0)+n+1:window.scrollY+n+1;let c=l[0];for(let t=0;t<l.length;t++)e>=(l[t]?.top??0)&&(c=l[t]);s!=c?.id&&i(c?.id)}let a={capture:!0,passive:!0};return d?o.current?(o.current.addEventListener("scroll",e,a),e(),()=>o.current?.removeEventListener("scroll",e,a)):void 0:(window.addEventListener("scroll",e,a),e(),()=>window.removeEventListener("scroll",e,a))},[a,s,r,t,d]),s};var K=r(73205);let J=({section:e,closeNav:t,pageHasSubsections:r,style:l,theme:s})=>{let i="arrow"===l?1:2,{isActive:o,isDeepestActive:d}=(()=>{let e=W(U()??""),t=(0,n.useCallback)(t=>t.slug===e,[e]),r=(0,n.useCallback)(e=>!!t(e)||!!e.children.length&&e.children.findIndex(r)>-1,[t]);return(0,n.useMemo)(()=>({isActive:r,isDeepestActive:t}),[r,t])})(),c=e=>{let r=e.depth-i,x=Math.max(e.depth-i,0),u=o(e),m=d(e);return(0,a.jsxs)(n.Fragment,{children:[(0,a.jsxs)("li",{className:(0,V.cn)(P.x.TableOfContentsItem,"relative","border"===l&&"border-l pl-4 border-gray-950/5 dark:border-white/10 hover:border-gray-950/20 dark:hover:border-white/20","dot"===l&&"pl-4",u&&"border"===l&&"border-primary hover:border-primary dark:border-primary-light"),"data-depth":x,"data-active":u||void 0,"data-active-deepest":m||void 0,children:["arrow"===l&&u&&(0,a.jsx)(K.mu,{className:"absolute left-0 mt-1 text-primary dark:text-primary-light"}),(0,a.jsx)("a",{style:{paddingLeft:r+"rem"},href:`#${encodeURIComponent(W(e.slug))}`,onClick:t,className:(0,V.cn)("group flex items-start break-words py-1 whitespace-pre-wrap",!u&&("sequoia"===s?"text-gray-500 hover:text-gray-900 dark:hover:text-gray-300":"text-gray-500 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300"),(0,z.HJ)(s).tocSubheading,u&&"text-primary dark:text-primary-light"),children:e.title})]}),e.children.map(e=>c(e))]},e.slug)},x=o(e),u=d(e);return(0,a.jsxs)(n.Fragment,{children:[(0,a.jsxs)("li",{className:(0,V.cn)(P.x.TableOfContentsItem,"relative","arrow"===l&&"pl-4","dot"===l&&"pl-4"),"data-depth":0,"data-active":x||void 0,"data-active-deepest":u||void 0,children:["arrow"===l&&x&&(0,a.jsx)(K.mu,{className:"absolute left-0 mt-1 text-primary dark:text-primary-light"}),(0,a.jsx)("a",{href:`#${encodeURIComponent(W(e.slug))}`,onClick:t,className:(0,V.cn)("break-words py-1 block",r&&"font-medium","border"===l&&"border-l pl-4 border-gray-950/5 dark:border-white/10 hover:border-gray-950/20 dark:hover:border-white/20",(0,z.HJ)(s).tocHeading,x?"font-medium text-primary dark:text-primary-light border-primary dark:border-primary-light hover:border-primary dark:hover:border-primary-light":"sequoia"===s?"text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-100":"hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300","sequoia"===s&&"!font-normal"),children:e.title})]}),e.children.map(e=>c(e))]},e.slug)};function X({containerRef:e}){let[t,r]=(0,n.useState)(null),l=(0,n.useRef)(!1),s=U();return((0,n.useEffect)(()=>{let t=e.current;if(!t)return;let a=t.querySelector("[data-active-deepest]")??t.querySelector("[data-active]");if(a){let e=t.getBoundingClientRect(),n=a.querySelector("a")??a,l=n.getBoundingClientRect(),s=getComputedStyle(n),i=parseFloat(s.lineHeight)||1.5*parseFloat(s.fontSize),o=parseFloat(s.paddingTop)||0;r(l.top-e.top+o+i/2)}else r(null);l.current=!0},[e,s]),null==t)?null:(0,a.jsx)("span",{className:"absolute left-0 w-1.5 h-1.5 rounded-full bg-primary dark:bg-primary-light",style:{top:t,transform:"translateY(-50%)",transition:l.current?"top 160ms cubic-bezier(0.25, 0.75, 0.2, 1)":"none"}})}let G="regular";function Y({icon:e}){return"function"==typeof e||"object"==typeof e&&"render"in e?(0,a.jsx)(e,{className:"w-3.5 h-3.5 shrink-0"}):(0,a.jsx)(q.VE,{icon:"string"==typeof e?e:e?.name??"info",iconType:"string"==typeof e?G:e?.style||G,className:"h-3.5 w-3.5 bg-current",overrideColor:!0})}function Q({option:e}){let t="copy"===e.id||"mcp"===e.id,{text:r,execute:l,isDisabled:s}=(0,_.k)({idleText:e.title}),i=(0,n.useCallback)(async()=>{t?await l(e.action):e.action()},[e,t,l]);return(0,a.jsxs)("button",{onClick:i,disabled:s,className:"flex items-center gap-2 w-full py-1.5 text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-200 transition-colors text-left disabled:opacity-70",children:[(0,a.jsx)(Y,{icon:e.icon}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[t?r:e.title,e.externalLink&&(0,a.jsx)(D.A,{className:"w-3 h-3 text-gray-400 dark:text-gray-500"})]})]})}function ee(){let{docsConfig:e}=(0,n.useContext)(v.H6),{onThisPage:t}=(0,Z.n)(),{closeNav:r,pageHasSubsections:l,tableOfContents:s}=E(),{options:i,display:o}=(0,k.t)(),d="toc"===o&&i.length>0,x=Array.isArray(s)&&s.length>0,u=e?.theme,m="willow"!==u,h=(0,z.K6)(u),p=(0,n.useRef)(null);return x||d?"sequoia"===u?(0,a.jsxs)("div",{className:"text-sm leading-6 w-full overflow-y-auto pb-4",id:c.V.TableOfContents,children:[(0,a.jsx)(g.g,{className:"mb-2.5"}),x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{onClick:()=>{let e=document.getElementById(c.V.ContentContainer);e&&e.scrollHeight>e.clientHeight?e.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"})},className:"text-gray-500 dark:text-gray-400 text-xs font-normal py-2 hover:text-gray-700 dark:hover:text-gray-300 transition-colors cursor-pointer",children:t}),(0,a.jsx)("ul",{id:c.V.TableOfContentsContent,className:(0,V.cn)(P.x.TableOfContents,"space-y-0"),children:s.map(e=>(0,a.jsx)(J,{section:e,closeNav:r,pageHasSubsections:l,style:"default",theme:"sequoia"},`TableOfContentSection-${e.slug}`))})]}),d&&(0,a.jsxs)(a.Fragment,{children:[x&&(0,a.jsx)("div",{className:"h-px w-full bg-gray-200 dark:bg-white/10 my-4"}),(0,a.jsx)("div",{className:"space-y-0",children:i.map(e=>(0,a.jsx)(Q,{option:e},e.id))})]})]}):(0,a.jsxs)("div",{className:(0,z.b8)(u),id:c.V.TableOfContents,children:[(0,a.jsx)(g.g,{className:"mb-2.5"}),x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("button",{onClick:()=>{let e=document.getElementById(c.V.ContentContainer);e&&e.scrollHeight>e.clientHeight?e.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"})},className:(0,V.cn)("text-gray-700 dark:text-gray-300 font-medium flex items-center space-x-2 hover:text-gray-900 dark:hover:text-gray-100 transition-colors cursor-pointer",(0,z.HJ)(u).tocTitle),children:[m&&(0,a.jsx)(et,{}),(0,a.jsx)("span",{children:t})]}),(0,a.jsxs)("div",{ref:p,className:"dot"===h?"relative":void 0,children:["dot"===h&&(0,a.jsx)(X,{containerRef:p}),(0,a.jsx)("ul",{id:c.V.TableOfContentsContent,className:P.x.TableOfContents,children:s.map(e=>(0,a.jsx)(J,{section:e,closeNav:r,pageHasSubsections:l,style:h,theme:u},`TableOfContentSection-${e.slug}`))})]})]}),d&&(0,a.jsxs)(a.Fragment,{children:[x&&(0,a.jsx)("div",{className:"h-px w-full bg-gray-200 dark:bg-white/10 my-3"}),(0,a.jsx)("div",{className:"space-y-1",children:i.map(e=>(0,a.jsx)(Q,{option:e},e.id))})]})]}):(0,a.jsx)(g.g,{})}function et(){return(0,a.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",xmlns:"http://www.w3.org/2000/svg",className:"h-3 w-3",children:[(0,a.jsx)("path",{d:"M2.44434 12.6665H13.5554",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M2.44434 3.3335H13.5554",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M2.44434 8H7.33323",strokeLinecap:"round",strokeLinejoin:"round"})]})}let er=({children:e})=>{let{docsConfig:t}=(0,n.useContext)(v.H6);return(0,a.jsx)("div",{className:(0,V.cn)(O.f.Control,"hidden xl:flex box-border max-h-full",(0,z.Jg)(t?.theme)),id:c.V.TableOfContentsLayout,children:e})},ea=()=>(0,a.jsx)(er,{children:(0,a.jsx)(ee,{})}),en=()=>{let{docsConfig:e}=(0,n.useContext)(v.H6),t=function(){let{tableOfContents:e}=E(),[{multiViewItems:t}]=(0,M.O)(),{options:r,display:a}=(0,k.t)();return(0,n.useMemo)(()=>{let n=Array.isArray(e)&&e.length>0,l=t.length>0,s="toc"===a&&r.length>0;return n||l||s},[e,t,r,a])}();return e?.theme!=="sequoia"||t?(0,a.jsx)(R,{children:(0,a.jsx)(ea,{})}):null},el=()=>{let e=(0,w.i)(),[{changelogFilters:t}]=(0,M.O)(),r=(0,H.B)(),{openApiReferenceData:l}=(0,n.useContext)(L.OpenApiReferenceContext),s=e||l.operation||l.schemaData,i=(()=>{let{panelMdxSource:e,panelMdxSourceWithNoJs:t}=(0,n.useContext)(v.NQ);return!!e&&!!t})(),{isChatSheetOpen:d}=(0,n.useContext)(S.ChatAssistantContext),c=d?"pointer-events-none invisible !w-0 !min-w-0 !max-w-0 !m-0 !p-0 !border-0 overflow-hidden":void 0;return i?(0,a.jsxs)(R,{isApiExample:!0,className:c,children:[(0,a.jsx)(g.g,{}),(0,a.jsx)(o.A,{}),r&&!s&&(0,a.jsx)(j.z,{name:"Messages",channel:r}),s&&(0,a.jsx)(b._,{})]}):r?(0,a.jsx)(R,{isApiExample:!0,className:c,children:(0,a.jsx)(j.z,{name:"Messages",channel:r})}):s?(0,a.jsxs)(R,{isApiExample:!0,className:c,children:[(0,a.jsx)(g.g,{className:"ml-auto xl:mb-2.5"}),(0,a.jsx)(b._,{})]}):t.length?(0,a.jsx)(R,{className:c,children:(0,a.jsx)($,{})}):d?(0,a.jsx)(R,{className:c}):(0,a.jsx)(en,{})};function es({children:e}){let{banner:t}=(0,n.useContext)(y.y);return(0,a.jsx)("div",{className:(0,V.cn)("flex rounded-2xl h-[calc(100dvh-8rem)]",t?"lg:h-[calc(100dvh-6.5rem)]":"lg:h-[calc(100dvh-4rem)]"),children:e})}function ei({isWide:e,isCenter:t,children:r}){return(0,a.jsx)(es,{children:(0,a.jsxs)("div",{className:(0,V.cn)("flex-1 px-8 pt-8 lg:pt-12 lg:ml-[16.5rem] lg:px-16 overflow-y-auto stable-scrollbar-gutter","rounded-2xl bg-background-light dark:bg-background-dark border border-gray-200/70 dark:border-white/[0.07]",e&&"px-14"),id:c.V.ContentContainer,children:[(0,a.jsxs)("div",{className:(0,V.cn)("flex flex-row-reverse gap-x-12 justify-center mx-auto w-full",!t&&!e&&"lg:pl-12"),children:[!e&&(0,a.jsx)(el,{}),(0,a.jsx)("div",{className:(0,V.cn)("w-full overflow-x-visible max-w-xl",e&&"max-w-full",t&&"max-w-3xl"),id:c.V.ContentArea,children:r})]}),(0,a.jsx)(i.S,{disableSidebarOffset:!0})]})})}function eo({isWide:e,isCenter:t,children:r}){return(0,a.jsx)(ei,{isCenter:t,isWide:e,children:r})}var ed=r(61664);function ec({pageMetadata:e,children:t}){let{isCustom:r,isWide:n,isCenter:l,isFrame:s}=(0,f.H)(e);return r?(0,a.jsxs)(d.MB,{children:[(0,a.jsx)(ed.g,{pageMetadata:e}),(0,a.jsx)(m.U,{pageMetadata:e,children:t}),(0,a.jsx)(p.A,{className:"hidden"})]}):s?(0,a.jsx)(d.MB,{children:(0,a.jsx)(es,{children:(0,a.jsxs)("div",{className:(0,V.cn)("flex-1 lg:ml-[16.5rem] overflow-y-auto stable-scrollbar-gutter","rounded-2xl bg-background-light dark:bg-background-dark border border-gray-200/70 dark:border-white/[0.07]"),id:c.V.ContentContainer,children:[(0,a.jsx)(h.z,{}),(0,a.jsx)(g.g,{mobile:!0}),(0,a.jsx)(o.A,{mobile:!0}),(0,a.jsx)(u.j,{pageMetadata:e,children:t}),(0,a.jsx)(m.U,{pageMetadata:e,children:t}),(0,a.jsx)(i.S,{className:"w-full"}),(0,a.jsx)(p.A,{className:"hidden"})]})})}):(0,a.jsx)(d.MB,{children:(0,a.jsx)(eo,{isCenter:l,isWide:n,children:(0,a.jsx)(x.Kd,{pageMetadata:e,children:t})})})}function ex({pageMetadata:e,children:t}){let{isCenter:r,isWide:l}=(0,f.H)(e),{banner:s}=(0,n.useContext)(y.y);return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{className:(0,V.cn)("px-5 lg:pr-10 lg:pl-[5.5rem] lg:pt-10 mx-auto max-w-6xl flex flex-row-reverse gap-x-12 w-full",r&&"lg:pl-0 max-w-3xl mx-auto",s?"pt-[200px]":" pt-36"),id:c.V.ContentContainer,children:[!l&&(0,a.jsx)(el,{}),(0,a.jsx)("div",{className:(0,V.cn)("grow w-full mx-auto [contain:inline-size]",l?"xl:w-[calc(100%-19rem)]":"xl:w-[calc(100%-28rem)]"),id:c.V.ContentArea,children:t})]}),(0,a.jsx)(i.S,{className:"w-full"})]})}function eu({pageMetadata:e,children:t}){let{isCustom:r,isFrame:n}=(0,f.H)(e);return r||n?(0,a.jsx)(d.MB,{children:(0,a.jsxs)("div",{id:c.V.ContentArea,className:"w-full pt-28 lg:pt-0",children:[(0,a.jsx)(h.z,{}),(0,a.jsx)(g.g,{mobile:!0}),(0,a.jsx)(o.A,{mobile:!0}),(0,a.jsx)(u.j,{pageMetadata:e,children:t}),(0,a.jsx)(m.U,{pageMetadata:e,children:t}),n&&(0,a.jsx)(i.S,{className:"w-full"}),(0,a.jsx)(p.A,{className:"hidden"})]})}):(0,a.jsx)(d.MB,{children:(0,a.jsx)(ex,{pageMetadata:e,children:(0,a.jsx)(x.Kd,{pageMetadata:e,children:t})})})}let em=({isCustom:e,children:t})=>{let{banner:r}=(0,n.useContext)(y.y);return(0,a.jsx)("div",{suppressHydrationWarning:!0,className:(0,V.cn)("flex flex-row-reverse gap-12 box-border w-full",e?"pt-[120px] lg:pt-0":`${r?"pt-[200px]":"pt-40"} lg:pt-10`),children:t})},eg=({pageMetadata:e,children:t})=>{let{isWide:r,isCustom:n,isCenter:l}=(0,f.H)(e),s=!(r||n||l);return(0,a.jsxs)(em,{isCustom:n,children:[(0,a.jsx)(el,{}),(0,a.jsx)("div",{className:(0,V.cn)("relative grow box-border flex-col w-full",!n&&!l&&"mx-auto px-1 lg:pl-[20rem] w-full",s?"xl:max-w-4xl":"xl:w-[calc(100%-19rem)] xl:min-w-full"),id:c.V.ContentArea,children:t})]})};function eh({pageMetadata:e,children:t}){return"custom"===e.mode?(0,a.jsx)(d.MB,{children:(0,a.jsxs)(eg,{pageMetadata:e,children:[(0,a.jsx)(m.U,{pageMetadata:e,children:t}),(0,a.jsx)(p.A,{className:"hidden"})]})}):(0,a.jsx)(d.MB,{children:(0,a.jsx)(eg,{pageMetadata:e,children:(0,a.jsx)(x.Kd,{pageMetadata:e,children:t})})})}function ep({pageMetadata:e,children:t}){let{isWide:r}=(0,f.H)(e),n=!!(e.api||e.openapi||e.asyncapi);return(0,a.jsxs)("div",{className:"w-full flex-1 flex flex-col lg:pt-0 pt-[6.5rem] [[data-banner-state=visible]_&]:pt-36 [[data-banner-state=visible]_&]:lg:pt-0",children:[(0,a.jsxs)("div",{className:"flex-1 flex",id:c.V.ContentContainer,children:[(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsx)("div",{className:(0,V.cn)("w-full lg:max-w-[696px] pt-6 px-6 lg:ml-[max(0px,calc(50vw-348px-14rem))] [&_.prose]:tracking-[-0.0125rem]",n&&"max-[1650px]:!mx-auto","[[data-assistant-state=open]_&]:!mx-auto"),id:c.V.ContentArea,children:t})}),!r&&(0,a.jsx)(el,{})]}),(0,a.jsx)(i.S,{className:"w-full",disableSidebarOffset:!0})]})}function eV({pageMetadata:e,children:t}){let{isCustom:r,isFrame:n}=(0,f.H)(e);return r||n?(0,a.jsx)(d.MB,{children:(0,a.jsxs)("div",{id:c.V.ContentArea,className:"w-full pt-28 lg:pt-0",children:[(0,a.jsx)(h.z,{}),(0,a.jsx)(g.g,{mobile:!0}),(0,a.jsx)(o.A,{mobile:!0}),(0,a.jsx)(u.j,{pageMetadata:e,children:t}),(0,a.jsx)(m.U,{pageMetadata:e,children:t}),n&&(0,a.jsx)(i.S,{className:"w-full"}),(0,a.jsx)(p.A,{className:"hidden"})]})}):(0,a.jsx)(d.MB,{children:(0,a.jsx)(ep,{pageMetadata:e,children:(0,a.jsx)(x.Kd,{pageMetadata:e,children:t})})})}var ef=r(15717);let ey=function({hasBanner:e,hasTabs:t}){return(0,a.jsx)(x.m8,{id:c.V.NavBarTransition+"-maple",hasTabs:t,hasBanner:e,className:"px-12 w-full border-gray-200/70",children:(0,a.jsx)(ef.U,{})})},eL=({isWide:e,isCustom:t,isCenter:r,children:l})=>{let{divisions:s}=(0,n.useContext)(Z._),{banner:i}=(0,n.useContext)(y.y),o=!(e||t||r),d=s.tabs.length>0,x=!!i;return(0,a.jsxs)("div",{suppressHydrationWarning:!0,className:(0,V.cn)("relative w-full lg:ml-[19rem] flex gap-x-8 min-h-screen",t?"pt-[120px] lg:pt-0":`${x?"pt-[200px]":"pt-40"} px-4 lg:pt-10 lg:pl-16 lg:pr-10`),id:c.V.ContentContainer,children:[(0,a.jsx)(ey,{hasBanner:x,hasTabs:d}),(0,a.jsx)("div",{className:(0,V.cn)("flex flex-col box-border w-full relative grow",!t&&"mx-auto max-w-xl 2xl:max-w-2xl [contain:inline-size]",o?"xl:w-[calc(100%-28rem)]":"xl:w-[calc(100%-19rem)]",(t||e)&&"xl:min-w-full",r&&"max-w-3xl",d&&"lg:mt-12"),id:c.V.ContentArea,children:l}),(0,a.jsx)(el,{})]})},ej=({pageMetadata:e,children:t})=>{let{isWide:r,isCustom:n,isCenter:l}=(0,f.H)(e);return(0,a.jsx)(eL,{isCustom:n,isCenter:l,isWide:r,children:t})};function eb({pageMetadata:e,children:t}){return"custom"===e.mode?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"block lg:hidden",children:(0,a.jsx)(x.Vs,{pageMetadata:e})}),(0,a.jsx)(d.MB,{children:(0,a.jsxs)(ej,{pageMetadata:e,children:[(0,a.jsx)(m.U,{pageMetadata:e,children:t}),(0,a.jsx)(p.A,{className:"hidden"})]})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"block lg:hidden",children:(0,a.jsx)(x.Vs,{pageMetadata:e})}),(0,a.jsx)(d.MB,{children:(0,a.jsx)(ej,{pageMetadata:e,children:(0,a.jsx)(x.Kd,{pageMetadata:e,children:t})})})]})}let ev=({isCustom:e,children:t})=>{let{banner:r}=(0,n.useContext)(y.y);return(0,a.jsx)("div",{suppressHydrationWarning:!0,className:(0,V.cn)("flex flex-row-reverse gap-12 box-border w-full",e?"pt-[120px] lg:pt-0":`${r?"pt-[200px]":"pt-40"} lg:pt-10`),children:t})},eH=({pageMetadata:e,children:t})=>{let{isWide:r,isCustom:n,isCenter:l}=(0,f.H)(e),s=!(r||n||l);return(0,a.jsxs)(ev,{isCustom:n,children:[(0,a.jsx)(el,{}),(0,a.jsx)("div",{className:(0,V.cn)("relative grow box-border flex-col w-full",!n&&!l&&"mx-auto px-1 lg:pl-[23.7rem] lg:-ml-12",s?"xl:w-[calc(100%-28rem)]":"xl:w-[calc(100%-19rem)] xl:min-w-full"),id:c.V.ContentArea,children:t})]})};function eM({pageMetadata:e,children:t}){return"custom"===e.mode?(0,a.jsx)(d.MB,{children:(0,a.jsxs)(eH,{pageMetadata:e,children:[(0,a.jsx)(m.U,{pageMetadata:e,children:t}),(0,a.jsx)(p.A,{className:"hidden"})]})}):(0,a.jsx)(d.MB,{children:(0,a.jsx)(eH,{pageMetadata:e,children:(0,a.jsx)(x.Kd,{pageMetadata:e,children:t})})})}function ew({pageMetadata:e,children:t}){let{isWide:r,isCenter:n}=(0,f.H)(e);return(0,a.jsx)("div",{className:(0,V.cn)("flex-1 px-5 pt-[calc(9rem+var(--banner-height,0px))] lg:pt-10 lg:pl-24 transition-all duration-100",r&&"px-14",n&&"lg:pl-0 max-w-3xl mx-auto"),id:c.V.ContentContainer,children:(0,a.jsxs)("div",{className:"mx-auto max-w-5xl flex flex-row-reverse gap-x-12",children:[!r&&(0,a.jsx)(el,{}),(0,a.jsx)("div",{className:"w-full [contain:inline-size]",id:c.V.ContentArea,children:t})]})})}var ek=r(98046);function eN({pageMetadata:e,children:t}){let{isCustom:r}=(0,f.H)(e);return r?(0,a.jsxs)(d.MB,{children:[(0,a.jsx)(ek.Z,{pageMetadata:e}),(0,a.jsx)(m.U,{pageMetadata:e,children:t}),(0,a.jsx)(p.A,{className:"hidden"})]}):(0,a.jsx)(d.MB,{children:(0,a.jsx)(ew,{pageMetadata:e,children:(0,a.jsx)(x.Kd,{pageMetadata:e,children:t})})})}function eZ({pageMetadata:e,children:t}){let{isWide:r}=(0,f.H)(e),{banner:l}=(0,n.useContext)(y.y),s=!!(e.api||e.openapi||e.asyncapi);return(0,a.jsxs)("div",{className:(0,V.cn)("w-full flex-1 flex flex-col lg:pt-0",l?"pt-36":"pt-[6.5rem]"),children:[(0,a.jsxs)("div",{className:"flex-1 flex",id:c.V.ContentContainer,children:[(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsx)("div",{className:(0,V.cn)("w-full lg:max-w-[696px] pt-6 px-6 lg:mx-auto",!r&&"xl:ml-[max(0px,calc(50vw-348px-18rem))]",s&&"max-[1650px]:!mx-auto"),id:c.V.ContentArea,children:t})}),!r&&(0,a.jsx)(el,{})]}),(0,a.jsx)(i.S,{className:"w-full",disableSidebarOffset:!0})]})}function eC({pageMetadata:e,children:t}){let{isCustom:r,isFrame:n}=(0,f.H)(e);return r||n?(0,a.jsx)(d.MB,{children:(0,a.jsxs)("div",{id:c.V.ContentArea,className:"w-full pt-28 lg:pt-0",children:[(0,a.jsx)(h.z,{}),(0,a.jsx)(g.g,{mobile:!0}),(0,a.jsx)(o.A,{mobile:!0}),(0,a.jsx)(u.j,{pageMetadata:e,children:t}),(0,a.jsx)(m.U,{pageMetadata:e,children:t}),n&&(0,a.jsx)(i.S,{className:"w-full",disableSidebarOffset:!0}),(0,a.jsx)(p.A,{className:"hidden"})]})}):(0,a.jsx)(d.MB,{children:(0,a.jsx)(eZ,{pageMetadata:e,children:(0,a.jsx)(x.Kd,{pageMetadata:e,children:t})})})}let eA=({pageMetadata:e,children:t})=>{let r=e.openapi||e["openapi-schema"]||e.api||e.asyncapi;return(0,a.jsx)(d.MB,{children:(0,a.jsxs)("div",{suppressHydrationWarning:!0,className:"flex flex-row-reverse box-border w-full min-h-screen pt-40 lg:pt-10",children:[(0,a.jsx)(el,{}),(0,a.jsxs)("div",{className:"relative grow box-border flex-col w-full mx-auto px-1 lg:pl-[18rem] xl:w-[calc(100%-19rem)] -mt-10",id:c.V.ContentArea,children:[(0,a.jsx)("div",{className:"max-w-[844px] mx-auto py-12 bg-background-light dark:bg-gray-900",children:(0,a.jsx)("div",{className:(0,V.cn)("max-w-[600px] mx-auto",r?"px-4":"px-4 sm:px-0"),children:(0,a.jsx)(x.Kd,{pageMetadata:e,renderFooter:!1,children:t})})}),(0,a.jsx)("div",{className:"max-w-[844px] mx-auto mt-8",children:(0,a.jsx)(i.w,{className:"border-none"})})]})]})})};function eE({slug:e,theme:t,pageMetadata:r,children:i}){let o=(0,s.dd)(r),{isLivePreview:d,getDocsConfigOverrides:c}=(0,n.useContext)(l.K),x=c(),u=x?.theme;switch(d&&u?u:t){case"maple":return(0,a.jsx)(eb,{pageMetadata:o,children:i},e);case"palm":return(0,a.jsx)(eN,{pageMetadata:o,children:i},e);case"willow":return(0,a.jsx)(eA,{pageMetadata:o,children:i},e);case"linden":return(0,a.jsx)(eh,{pageMetadata:o,children:i},e);case"aspen":return(0,a.jsx)(eu,{pageMetadata:o,children:i},e);case"luma":return(0,a.jsx)(eV,{pageMetadata:o,children:i},e);case"almond":return(0,a.jsx)(ec,{pageMetadata:o,children:i},e);case"sequoia":return(0,a.jsx)(eC,{pageMetadata:o,children:i},e);default:return(0,a.jsx)(eM,{pageMetadata:o,children:i},e)}}}}]);