1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1512],{73050:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(23265).Z)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},8590:function(e,t,r){r.d(t,{AnchorProvider:function(){return v},ID:function(){return g},FU:function(){return w},tD:function(){return m},_z:function(){return x}});var n=r(36867);r(43690);var l=r(62310);let o=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,a=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r=getComputedStyle(e,null);return i(r.overflowY,t)||i(r.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},s=(e,t,r,n,l,o,i,a)=>o<e&&i>t||o>e&&i<t?0:o<=e&&a<=r||i>=t&&a>=r?o-e-n:i>t&&a<r||o<e&&a>r?i-t+l:0,c=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},u=(e,t)=>
1{var r,n,l,i;if("undefined"==typeof document)return[];let{scrollMode:u,block:d,inline:f,boundary:h,skipOverflowHiddenElements:p}=t,m="function"==typeof h?h:e=>e!==h;if(!o(e))throw TypeError("Invalid target");let x=document.scrollingElement||document.documentElement,g=[],v=e;for(;o(v)&&m(v);){if((v=c(v))===x){g.push(v);break}null!=v&&v===document.body&&a(v)&&!a(document.documentElement)||null!=v&&a(v,p)&&g.push(v)}let w=null!=(n=null==(r=window.visualViewport)?void 0:r.width)?n:innerWidth,b=null!=(i=null==(l=window.visualViewport)?void 0:l.height)?i:innerHeight,{scrollX:y,scrollY:j}=window,{height:N,width:k,top:M,right:T,bottom:C,left:F}=e.getBoundingClientRect(),{top:E,right:R,bottom:H,left:I}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),W="start"===d||"nearest"===d?M-E:"end"===d?C+H:M+N/2-E+H,P="center"===f?F+k/2-I+R:"end"===f?T+R:F-I,S=[];for(let e=0;e<g.length;e++){let t=g[e],{height:r,width:n,top:l,right:o,bottom:i,left:c}=t.getBoundingClientRect();if("if-needed"===u&&M>=0&&F>=0&&C<=b&&T<=w&&(t===x&&!a(t)||M>=l&&C<=i&&F>=c&&T<=o))break;let h=getComputedStyle(t),p=parseInt(h.borderLeftWidth,10),m=parseInt(h.borderTopWidth,10),v=parseInt(h.borderRightWidth,10),E=parseInt(h.borderBottomWidth,10),R=0,H=0,I="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-v:0,B="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-E:0,L="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,_="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(x===t)R="start"===d?W:"end"===d?W-b:"nearest"===d?s(j,j+b,b,m,E,j+W,j+W+N,N):W-b/2,H="start"===f?P:"center"===f?P-w/2:"end"===f?P-w:s(y,y+w,w,p,v,y+P,y+P+k,k),R=Math.max(0,R+j),H=Math.max(0,H+y);else{R="start"===d?W-l-m:"end"===d?W-i+E+B:"nearest"===d?s(l,i,r,m,E+B,W,W+N,N):W-(l+r/2)+B/2,H="start"===f?P-c-p:"center"===f?P-(c+n/2)+I/2:"end"===f?P-o+v+I:s(c,o,n,p,v+I,P,P+k,k);let{scrollLeft:e,scrollTop:a}=t;R=0===_?0:Math.max(0,Math.min(a+R/_,t.scrollHeight-r/_+B)),H=0===L?0:Math.max(0,Math.min(e+H/L,t.scrollWidth-n/L+I)),W+=a-R,P+=e-H}S.push({el:t,top:R,left:H})}return S},d=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};var f=r(25193),h=(0,l.createContext)([]),p=(0,l.createContext)({current:null});function m(){return(0,l.useContext)(h).at(-1)}function x(){return(0,l.useContext)(h)}function g(e){let{containerRef:t,children:r}=e;return(0,f.jsx)(p.Provider,{value:t,children:r})}function v(e){let{toc:t,single:r=!0,children:n}=e,o=(0,l.useMemo)(()=>t.map(e=>e.url.split("#")[1]),[t]);return(0,f.jsx)(h.Provider,{value:function(e,t){let[r,n]=(0,l.useState)([]);return(0,l.useEffect)(()=>{let r=[],l=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&!r.includes(t.target.id)?r=[...r,t.target.id]:!t.isIntersecting&&r.includes(t.target.id)&&(r=r.filter(e=>e!==t.target.id));r.length>0&&n(r)},{rootMargin:t?"-80px 0% -70% 0%":"-20px 0% -40% 0%",threshold:1});function o(){let r=document.scrollingElement;r&&(0===r.scrollTop&&t?n(e.slice(0,1)):r.scrollTop+r.clientHeight>=r.scrollHeight-6&&n(r=>r.length>0&&!t?e.slice(e.indexOf(r[0])):e.slice(-1)))}for(let t of e){let e=document.getElementById(t);e&&l.observe(e)}return o(),window.addEventListener("scroll",o),()=>{window.removeEventListener("scroll",o),l.disconnect()}},[t,e]),t?r.slice(0,1):r}(o,r),children:n})}var w=(0,l.forwardRef)((e,t)=>{let{onActiveChange:r,...o}=e,i=(0,l.useContext)(p),a=x(),s=(0,l.useRef)(null),c=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach(t=>{"function"==typeof t?t(e):null!==t&&(t.current=e)})}}(s,t),h=a.includes(o.href.slice(1));return(0,n.p)(h,e=>{let t=s.current;t&&(e&&i.current&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let r=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||
10,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(u(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:l,top:o,left:i}of u(e,d(t))){let e=o-r.top+r.bottom,t=i-r.left+r.right;l.scroll({top:e,left:t,behavior:n})}}(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:i.current}),null==r||r(e))}),(0,f.jsx)("a",{ref:c,"data-active":h,...o,children:o.children})});w.displayName="TOCItem"},48226:function(e,t,r){r.d(t,{i:function(){return l}}),r(43690);var n=r(62310);function l(e){let t=(0,n.useRef)(e);return t.current=e,(0,n.useCallback)(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.current(...r)},[])}},54930:function(e,t,r){r.d(t,{default:function(){return c}});var n=r(25193),l=r(8590),o=r(62310),i=r(29998),a=r(22616),s=r(99494);function c(e){let{items:t}=e,r=(0,o.useRef)(null),[l,i]=(0,o.useState)();return((0,o.useEffect)(()=>{if(!r.current)return;let e=r.current;function n(){if(0===e.clientHeight)return;let r=0,n=0,l=[];for(let o=0;o<t.length;o++){let i=e.querySelector('a[href="#'.concat(t[o].url.slice(1),'"]'));if(!i)continue;let a=getComputedStyle(i),s=u(t[o].depth)+1,c=i.offsetTop+parseFloat(a.paddingTop),d=i.offsetTop+i.clientHeight-parseFloat(a.paddingBottom);r=Math.max(s,r),n=Math.max(n,d),l.push("".concat(0===o?"M":"L").concat(s," ").concat(c)),l.push("L".concat(s," ").concat(d))}i({path:l.join(" "),width:r+1,height:n})}let l=new ResizeObserver(n);return n(),l.observe(e),()=>{l.disconnect()}},[t]),0===t.length)?(0,n.jsx)(s.B,{}):(0,n.jsxs)(n.Fragment,{children:[l?(0,n.jsx)("div",{className:"absolute start-0 top-0 rtl:-scale-x-100",style:{width:l.width,height:l.height,maskImage:'url("data:image/svg+xml,'.concat(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '.concat(l.width," ").concat(l.height,'"><path d="').concat(l.path,'" stroke="black" stroke-width="1" fill="none" /></svg>')),'")')},children:(0,n.jsx)(a.F,{containerRef:r,className:"mt-(--fd-top) h-(--fd-height) bg-fd-primary transition-all"})}):null,(0,n.jsx)("div",{className:"flex flex-col",ref:r,children:t.map((e,r)=>{var l,o;return(0,n.jsx)(d,{item:e,upper:null===(l=t[r-1])||void 0===l?void 0:l.depth,lower:null===(o=t[r+1])||void 0===o?void 0:o.depth},e.url)})})]})}function u(e){return e>=3?10:0}function d(e){var t;let{item:r,upper:o=r.depth,lower:a=r.depth}=e,s=u(r.depth),c=u(o),d=u(a);return(0,n.jsxs)(l.FU,{href:r.url,style:{paddingInlineStart:(t=r.depth)<=2?14:3===t?26:36},className:"prose relative py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary",children:[s!==c?(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",className:"absolute -top-1.5 start-0 size-4 rtl:-scale-x-100",children:(0,n.jsx)("line",{x1:c,y1:"0",x2:s,y2:"12",className:"stroke-fd-foreground/10",strokeWidth:"1"})}):null,(0,n.jsx)("div",{className:(0,i.m6)("absolute inset-y-0 w-px bg-fd-foreground/10",s!==c&&"top-1.5",s!==d&&"bottom-1.5"),style:{insetInlineStart:s}}),r.title]})}},22616:function(e,t,r){r.d(t,{F:function(){return u}});var n=r(25193),l=r(62310),o=r(8590),i=r(31331),a=r(48226);function s(e,t){if(0===t.length||0===e.clientHeight)return[0,0];let r=Number.MAX_VALUE,n=0;for(let l of t){let t=e.querySelector('a[href="#'.concat(l,'"]'));if(!t)continue;let o=getComputedStyle(t);r=Math.min(r,t.offsetTop+parseFloat(o.paddingTop)),n=Math.max(n,t.offsetTop+t.clientHeight-parseFloat(o.paddingBottom))}return[r,n-r]}function c(e,t){e.style.setProperty("--fd-top","".concat(t[0],"px")),e.style.setProperty("--fd-height","".concat(t[1],"px"))}
1function u(e){let{containerRef:t,...r}=e,u=o._z(),d=(0,l.useRef)(null),f=(0,a.i)(()=>{t.current&&d.current&&c(d.current,s(t.current,u))});return(0,l.useEffect)(()=>{if(!t.current)return;let e=t.current;f();let r=new ResizeObserver(f);return r.observe(e),()=>{r.disconnect()}},[t,f]),(0,i.p)(u,()=>{t.current&&d.current&&c(d.current,s(t.current,u))}),(0,n.jsx)("div",{ref:d,role:"none",...r})}},99494:function(e,t,r){r.d(t,{B:function(){return f},TOCItems:function(){return p},TOCScrollArea:function(){return h},Toc:function(){return d}});var n=r(25193),l=r(8590),o=r(62310),i=r(29998),a=r(99703),s=r(22616),c=r(38091),u=r(76882);function d(e){let{toc:t}=(0,u.$)();return(0,n.jsx)("div",{id:"nd-toc",...e,className:(0,i.m6)("sticky top-[calc(var(--fd-banner-height)+var(--fd-nav-height))] h-(--fd-toc-height) pb-2 pt-12",t,e.className),style:{...e.style,"--fd-toc-height":"calc(100dvh - var(--fd-banner-height) - var(--fd-nav-height))"},children:(0,n.jsx)("div",{className:"flex h-full w-(--fd-toc-width) max-w-full flex-col gap-3 pe-4",children:e.children})})}function f(){let{text:e}=(0,a.QT)();return(0,n.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:e.tocNoHeadings})}function h(e){let{isMenu:t,...r}=e,a=(0,o.useRef)(null);return(0,n.jsx)(c.xr,{...r,className:(0,i.m6)("flex flex-col ps-px",r.className),children:(0,n.jsx)(c.fK,{ref:a,className:(0,i.m6)("relative min-h-0 text-sm",t&&"[mask-image:linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] px-4 md:px-6 py-2"),children:(0,n.jsx)(l.ID,{containerRef:a,children:r.children})})})}function p(e){let{items:t}=e,r=(0,o.useRef)(null);return 0===t.length?(0,n.jsx)(f,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.F,{containerRef:r,className:"absolute top-(--fd-top) h-(--fd-height) w-px bg-fd-primary transition-all"}),(0,n.jsx)("div",{ref:r,className:"flex flex-col border-s border-fd-foreground/10",children:t.map(e=>(0,n.jsx)(m,{item:e},e.url))})]})}function m(e){let{item:t}=e;return(0,n.jsx)(l.FU,{href:t.url,className:(0,i.m6)("prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary",t.depth<=2&&"ps-3",3===t.depth&&"ps-6",t.depth>=4&&"ps-8"),children:t.title})}},28453:function(e,t,r){r.d(t,{Breadcrumb:function(){return H},Footer:function(){return E},LastUpdate:function(){return C},PageArticle:function(){return T},PageBody:function(){return M},TocPopover:function(){return k},TocPopoverContent:function(){return N},TocPopoverTrigger:function(){return y}});var n=r(25193),l=r(62310),o=r(22172);let i=(0,r(23265).Z)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);var a=r(73050),s=r(18325),c=r(29998),u=r(99703),d=r(368),f=r(95205),h=r(41623),p=r(49952),m=r(76882),x=r(12045),g=r(48226),v=r(39343),w=r(8590);let b=(0,h.kr)("TocPopoverContext");function y(e){var t,r;let{items:i,...a}=e,{text:s}=(0,u.QT)(),{open:f}=b.use(),h=w.tD(),p=(0,l.useMemo)(()=>i.findIndex(e=>h===e.url.slice(1)),[i,h]),m=(0,d.m)().at(-1),x=-1!==p&&!f;return(0,n.jsxs)(v.wy,{...a,className:(0,c.m6)("flex flex-row items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-none [&_svg]:shrink-0 [&_svg]:size-4 md:px-6",a.className),children:[(0,n.jsx)(j,{value:(p+1)/i.length,max:1,className:(0,c.m6)(f&&"text-fd-primary")}),(0,n.jsxs)("span",{className:(0,c.m6)("grid flex-1 *:row-start-1 *:col-start-1",f&&"text-fd-foreground"),children:[(0,n.jsx)("span",{className:(0,c.m6)("truncate transition-all",x&&"opacity-0 -translate-y-full pointer-events-none"),children:null!==(r=null==m?void 0:m.name)&&void 0!==r?r:s.toc}),(0,n.jsx)("span",{className:(0,c.m6)("truncate transition-all",!x&&"opacity-0 translate-y-full pointer-events-none"),children:null===(t=i[p])||void 0===t?void 0:t.title})]}),(0,n.jsx)(o.Z,{className:(0,c.m6)("transition-transform",f&&"rotate-180")})]})}function j(e){let{value:t,strokeWidth:r=2,size:l=24,min:o=0,max:i=100,...a}=e,s=t<o?o:t>i?i:t,c=(l-r)/2,u=2*Math.PI*c,d=s/i*u,f={cx:l/2,cy:l/2,r:c,fill:"none",strokeWidth:r};return(0,n.jsxs)("svg",{role:"progressbar",viewBox:"0 0 ".concat(l," ").concat(l),"aria-valuenow":s,"aria-valuemin":o,"aria-valuemax":i,...a,children:[(0,n.jsx)("circle",{...f,className:"stroke-current/25"}),(0,n.jsx)("circle",{...f,stroke:"currentColor",strokeDasharray:u,strokeDashoffset:u-d,strokeLinecap:"round",transform:"rotate(-90 ".concat(l/2," ").concat(l/2,")"),className:"transition-all"})]})}function N(e){return(0,n.jsx)(v.Fw,{"data-toc-popover":"",...e,className:(0,
1c.m6)("flex flex-col max-h-[50vh]",e.className),children:e.children})}function k(e){let t=(0,l.useRef)(null),[r,o]=(0,l.useState)(!1),i=(0,f.A)(),{tocNav:a}=(0,m.$)(),{isTransparent:s}=(0,m.Y)(),u=(0,g.i)(e=>{r&&t.current&&!t.current.contains(e.target)&&o(!1)});return(0,l.useEffect)(()=>(window.addEventListener("click",u),()=>{window.removeEventListener("click",u)}),[u]),(0,n.jsx)("div",{...e,className:(0,c.m6)("sticky overflow-visible z-10",a,e.className),style:{...e.style,top:"calc(var(--fd-banner-height) + var(--fd-nav-height))"},children:(0,n.jsx)(b.Provider,{value:(0,l.useMemo)(()=>({open:r,setOpen:o}),[o,r]),children:(0,n.jsx)(v.zF,{open:r,onOpenChange:o,asChild:!0,children:(0,n.jsx)("header",{ref:t,id:"nd-tocnav",...e,className:(0,c.m6)("border-b border-fd-foreground/10 backdrop-blur-sm transition-colors",(!s||r)&&"bg-fd-background/80",r&&"shadow-lg",i.open&&"max-md:hidden"),children:e.children})})})})}function M(e){let{page:t}=(0,m.$)();return(0,n.jsx)("div",{id:"nd-page",...e,className:(0,c.m6)("flex w-full min-w-0 flex-col",t,e.className),children:e.children})}function T(e){let{article:t}=(0,m.$)();return(0,n.jsx)("article",{...e,className:(0,c.m6)("flex w-full flex-1 flex-col gap-6 px-4 md:px-6 pt-8 md:pt-12 xl:px-12 xl:mx-auto",t,e.className),children:e.children})}function C(e){let{text:t}=(0,u.QT)(),[r,o]=(0,l.useState)("");return(0,l.useEffect)(()=>{o(e.date.toLocaleDateString())},[e.date]),(0,n.jsxs)("p",{className:"text-sm text-fd-muted-foreground",children:[t.lastUpdate," ",r]})}let F=new WeakMap;function E(e){let{items:t}=e,{root:r}=(0,d.W)(),o=(0,h.jD)(),{previous:i,next:a}=(0,l.useMemo)(()=>{if(t)return t;let e=F.get(r),n=null!=e?e:function e(t){let r=[];return t.forEach(t=>{if("folder"===t.type){t.index&&r.push(t.index),r.push(...e(t.children));return}"page"!==t.type||t.external||r.push(t)}),r}(r.children);F.set(r,n);let l=n.findIndex(e=>(0,x.z)(e.url,o,!1));return -1===l?{}:{previous:n[l-1],next:n[l+1]}},[t,o,r]);return(0,n.jsxs)("div",{className:(0,c.m6)("@container grid gap-4 pb-6",i&&a?"grid-cols-2":"grid-cols-1"),children:[i?(0,n.jsx)(R,{item:i,index:0}):null,a?(0,n.jsx)(R,{item:a,index:1}):null]})}function R(e){var t;let{item:r,index:l}=e,{text:o}=(0,u.QT)(),d=0===l?i:a.Z;return(0,n.jsxs)(s.default,{href:r.url,className:(0,c.m6)("flex flex-col gap-2 rounded-lg border p-4 text-sm transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground @max-lg:col-span-full",1===l&&"text-end"),children:[(0,n.jsxs)("div",{className:(0,c.m6)("inline-flex items-center gap-1.5 font-medium",1===l&&"flex-row-reverse"),children:[(0,n.jsx)(d,{className:"-mx-1 size-4 shrink-0 rtl:rotate-180"}),(0,n.jsx)("p",{children:r.name})]}),(0,n.jsx)("p",{className:"text-fd-muted-foreground truncate",children:null!==(t=r.description)&&void 0!==t?t:0===l?o.previousPage:o.nextPage})]})}function H(e){let t=(0,d.m)(),{root:r}=(0,d.W)(),o=(0,l.useMemo)(()=>{var n;return(0,p.bi)(r,t,{includePage:null!==(n=e.includePage)&&void 0!==n&&n,...e})},[e,t,r]);return 0===o.length?null:(0,n.jsx)("div",{className:"flex flex-row items-center gap-1.5 text-[15px] text-fd-muted-foreground",children:o.map((e,t)=>{let r=(0,c.m6)("truncate",t===o.length-1&&"text-fd-primary font-medium");return(0,n.jsxs)(l.Fragment,{children:[0!==t&&(0,n.jsx)("span",{className:"text-fd-foreground/30",children:"/"}),e.url?(0,n.jsx)(s.default,{href:e.url,className:(0,c.m6)(r,"transition-opacity hover:opacity-80"),children:e.name}):(0,n.jsx)("span",{className:r,children:e.name})]},t)})})}}}]);
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.