1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[786,57419],{7660:(e,t,r)=>{"use strict";r.d(t,{J:()=>i});var n=r(95155),a=r(12115),l=r(90101),s=r(35822);let i=(0,a.forwardRef)((e,t)=>{let{as:r="span",className:a,transform:i="uppercase",...c}=e;return(0,n.jsx)(l.v,{as:r,className:(0,s.cn)("text-[13px] font-medium leading-[130%] tracking-[0.01em]",a),ref:t,transform:i,...c})});i.displayName="NavText"},13252:(e,t,r)=>{"use strict";r.d(t,{NT:()=>n.useContext,q6:()=>n.createContext});var n=r(12115)},19980:(e,t,r)=>{"use strict";r.d(t,{Rf:()=>n.forwardRef,n:()=>n.createElement});var n=r(12115)},23916:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>a,default:()=>l});var n=r(13185);let a=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],l=(0,n.A)("chevron-down",a)},31261:(e,t,r)=>{"use strict";r.d(t,{default:()=>y});var n=r(95155),a=r(32958),l=r(20063),s=r(70090),i=r(57419),c=r(23916),o=r(57259);let d=o.bL;o.R6;let u=o.Ke;var f=r(53017),p=r(7660),h=r(94823),x=r(82429);function m(e){var t,r;let{title:a,href:o,level:v,isSheet:b,isActive:g,items:j,noLink:N,isIndexChild:y,navTitle:w}=e,C=(0,h.E)("sublink"),R=null!=w?w:(e,t)=>t,k=R(y?"".concat(o,"#index"):o,a),A=(0,x.m)((0,l.usePathname)()),_=A.endsWith("/")?A.slice(0,-1):A,W=(0,s.Bi)(),[E,P]=(0,s.J0)(null),[T,J]=(0,s.J0)(null),B=(0,s.li)(null),D=(0,s.li)(new Map),q=()=>j&&j.length>0?!!(_===o||_.startsWith("".concat(o,"/")))||j.some(e=>{let t="".concat(o).concat(e.href);return _===t||_.startsWith("".concat(t,"/"))}):_.startsWith(o),[I,L]=(0,s.J0)(q),[F,S]=(0,s.J0)(!1),G=(0,s.li)(_);(0,s.vJ)(()=>{G.current!==_&&(G.current=_,q()&&L(!0))},[_]),(0,s.Nf)(()=>{if(!j||!I)return;let e=null;
1j.forEach((t,r)=>{t.items&&t.items.length>0||_==="".concat(o).concat(t.href)&&(e="sub-".concat(r))}),e&&D.current.has(e)?(P(e),(e=>{let t=D.current.get(e);if(t&&B.current){let e=B.current.getBoundingClientRect(),r=t.getBoundingClientRect(),n=r.top-e.top,a=r.height;J({top:"".concat(n,"px"),height:"".concat(a,"px")})}})(e)):(P(null),J(null)),F||requestAnimationFrame(()=>S(!0))},[g,j,_,o,I,F]);let K=()=>N&&j&&j.length>0?"".concat(o).concat(j[0].href):o;return j?0===v?(0,n.jsxs)("div",{children:[(0,n.jsx)(p.J,{as:"p",className:"px-2 pb-1 pt-2 font-display text-secondary",transform:"uppercase",children:k}),(0,n.jsx)("div",{className:"flex flex-col",children:null==j?void 0:j.map((e,t)=>{let r="".concat(o+e.href),a=!e.noLink&&(""===e.href?_===r:_===r||_.startsWith("".concat(r,"/"))),l={...e,href:r,level:v+1,isSheet:b,isActive:a,isIndexChild:""===e.href,navTitle:w};return(0,n.jsx)(m,{...l},"".concat(l.href,"-").concat(t))})})]}):(0,n.jsxs)(d,{open:I,onOpenChange:L,children:[(0,n.jsxs)("div",{className:"relative flex w-full items-center justify-between rounded-md px-2 py-1.5 transition-colors duration-200",children:[g&&v>=2&&(0,n.jsx)("div",{className:"absolute -left-4 bottom-0 top-0 w-0.5 bg-purple-300"}),(0,n.jsx)(f.default,{href:K(),scroll:!1,"aria-current":_===K()?"page":void 0,className:"flex-1 text-utility-lg transition-colors duration-200 hover:text-prey-100 ".concat(g?"font-semibold text-white":"text-foreground"),children:k}),(0,n.jsx)("button",{onClick:e=>{e.preventDefault(),e.stopPropagation(),L(!I)},className:"ml-2 rounded p-0.5 hover:bg-neutral-800","aria-label":(I?null!=(t=C.collapseAriaLabel)?t:"Collapse {title}":null!=(r=C.expandAriaLabel)?r:"Expand {title}").replace("{title}",k),"aria-expanded":I,"aria-controls":W,children:I?(0,n.jsx)(i.default,{className:"h-3.5 w-3.5 text-neutral-500"}):(0,n.jsx)(c.default,{className:"h-3.5 w-3.5 text-neutral-500"})})]}),(0,n.jsx)(u,{id:W,children:(0,n.jsxs)("div",{ref:B,className:"relative mt-1.5 flex flex-col items-start gap-0.5 pl-4",children:[(0,n.jsx)("div",{className:"absolute bottom-0 left-0 top-0 w-[1px] bg-prey-600"}),E&&T&&(0,n.jsx)("div",{className:"absolute left-0 w-0.5 bg-purple-300 ".concat(F?"transition-all duration-200":""),style:T}),null==j?void 0:j.map((e,t)=>{let r="".concat(o+e.href),a="sub-".concat(t),l=_===r,s=""===e.href,i={...e,href:r,level:v+1,isSheet:b,isActive:l,isIndexChild:s,navTitle:w};return e.items&&e.items.length>0?(0,n.jsx)(m,{...i},"".concat(i.href,"-").concat(t)):(0,n.jsx)("div",{children:(0,n.jsx)(f.default,{ref:e=>{e?D.current.set(a,e):D.current.delete(a)},href:r,scroll:!1,"aria-current":_===r?"page":void 0,className:"flex items-center rounded-md px-2 py-2 text-utility-lg transition-colors duration-200 hover:text-prey-100 ".concat(l?"font-semibold text-white":"text-foreground"),children:R(s?"".concat(r,"#index"):r,e.title)})},"".concat(i.href,"-").concat(t))})]})})]}):(0,n.jsx)(f.default,{href:o,scroll:!1,"aria-current":_===o?"page":void 0,className:"flex items-center rounded-md px-2 py-1.5 text-utility-lg transition-colors duration-200 hover:text-prey-100 ".concat(g?"font-semibold text-white":"text-foreground"),children:k})}function v(e){let{routes:t,basePath:r,navTitle:a,isSheet:s=!1}=e,i=(0,x.m)((0,l.usePathname)()),c=i.endsWith("/")?i.slice(0,-1):i;return(0,n.jsx)("div",{className:"flex flex-col gap-5",children:t.map((e,t)=>{let l,i="".concat(r).concat(e.href);if(""===e.href){var o,d;l=null!=(d=null==(o=e.items)?void 0:o.some(e=>{let t="".concat(r).concat(e.href);return c===t||c.startsWith("".concat(t,"/"))}))&&d}else l=c===i||c.startsWith("".concat(i,"/"));return(0,n.jsx)(m,{...e,href:i,level:0,isSheet:s,isActive:l,navTitle:a},e.title+t)})})}var b=r(26417);function g(e){let{isSheet:t=!1}=e,r=(0,x.m)((0,l.usePathname)()),s=(0,b.K)();return r.startsWith("/docs")&&"/docs"!==r?(0,n.jsx)(v,{routes:a.bw,basePath:"/docs",navTitle:s,isSheet:t}):null}function j(){return(0,n.jsx)("div",{className:"sticky top-24 font-sans",children:(0,n.jsx)("div",{className:"hide-scrollbar max-h-[100vh] overflow-y-auto overscroll-contain pr-4",children:(0,n.jsx)("div",{className:"pb-40 pt-[4rem]",children:(0,n.jsx)(g,{})})})})}var N=r(12115);function y(e){let{children:t}=e,r=(0,l.usePathname)(),a=(0,N.useRef)(null),s=(0,N.useRef)(!0);return(0,N.useEffect)(()=>{var e;if(s.current){s.current=!1;return}let t=a.current;if(!t)return;let r=null!=(e=t.querySelector("h1"))?e:t;r.setAttribute("tabindex","-1"),r.focus()},[r]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mx-auto grid max-w-none grid-cols-12 gap-4 px-4 pb-20 pt-16 sm:px-8 sm:pt-[5rem] md:px-6 lg:pt-6 xl-custom:max-w-[1480px]",style:{minHeight:"calc(100vh - 200px)"},children:[(0,n.jsx)("aside",{className:"hidden lg:col-span-2 lg:block",children:(0,n.jsx)(j,{},"leftbar")}),(0,n.jsx)("div",{ref:a,className:"col-span-12 mx-auto flex h-[100%] w-full flex-col lg:col-span-10",children:t})]}),(0,n.jsx)("hr",{className:"border-t border-border/50"})]})}},57259:(e,t,r)=>{"use strict";r.d(t,{Ke:()=>y,R6:()=>j,UC:()=>A,bL:()=>R,l9:()=>k,z3:()=>x});var n=r(12115),a=r(92556),l=r(3468),s=r(23558),i=r(4129),c=r(94446),o=r(97602),d=r(76842),u=r(68946),f=r(95155),p="Collapsible",[h,x]=(0,l.A)(p),[m,v]=h(p),b=n.forwardRef((e,t)=>
1{let{__scopeCollapsible:r,open:a,defaultOpen:l,disabled:i,onOpenChange:c,...d}=e,[p=!1,h]=(0,s.i)({prop:a,defaultProp:l,onChange:c});return(0,f.jsx)(m,{scope:r,disabled:i,contentId:(0,u.B)(),open:p,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),children:(0,f.jsx)(o.sG.div,{"data-state":C(p),"data-disabled":i?"":void 0,...d,ref:t})})});b.displayName=p;var g="CollapsibleTrigger",j=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,l=v(g,r);return(0,f.jsx)(o.sG.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":C(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...n,ref:t,onClick:(0,a.m)(e.onClick,l.onOpenToggle)})});j.displayName=g;var N="CollapsibleContent",y=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=v(N,e.__scopeCollapsible);return(0,f.jsx)(d.C,{present:r||a.open,children:e=>{let{present:r}=e;return(0,f.jsx)(w,{...n,ref:t,present:r})}})});y.displayName=N;var w=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:a,children:l,...s}=e,d=v(N,r),[u,p]=n.useState(a),h=n.useRef(null),x=(0,c.s)(t,h),m=n.useRef(0),b=m.current,g=n.useRef(0),j=g.current,y=d.open||u,w=n.useRef(y),R=n.useRef();return n.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.N)(()=>{let e=h.current;if(e){R.current=R.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();m.current=t.height,g.current=t.width,w.current||(e.style.transitionDuration=R.current.transitionDuration,e.style.animationName=R.current.animationName),p(a)}},[d.open,a]),(0,f.jsx)(o.sG.div,{"data-state":C(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!y,...s,ref:x,style:{"--radix-collapsible-content-height":b?"".concat(b,"px"):void 0,"--radix-collapsible-content-width":j?"".concat(j,"px"):void 0,...e.style},children:y&&l})});function C(e){return e?"open":"closed"}var R=b,k=j,A=y},57419:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>a,default:()=>l});var n=r(13185);let a=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],l=(0,n.A)("chevron-up",a)},90101:(e,t,r)=>{"use strict";r.d(t,{v:()=>l});var n=r(95155),a=r(35822);let l=(0,r(12115).forwardRef)((e,t)=>{let{as:r="span",block:l=!1,center:s=!1,transform:i="none",children:c,className:o,...d}=e,u=(0,a.cn)(s&&"text-center",i,o),f={...d,className:u,ref:t};return(0,n.jsx)(r,{...f,children:c})});l.displayName="BaseText"},97928:(e,t,r)=>{Promise.resolve().then(r.bind(r,31261))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.