1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6881],{5967:(e,r,t)=>{t.r(r);var n=t(86967),a={};for(let e in n)"default"!==e&&(a[e]=()=>n[e]);t.d(r,a)},17427:(e,r,t)=>{t.d(r,{BaseLinkItem:()=>s});var n=t(49796),a=t(81825),l=t(5385),o=t(89817);function s(e){var r;let{ref:t,item:s,...i}=e,d=(0,a.a8)(),c=null!=(r=s.active)?r:"url",u="none"!==c&&(0,l.$)(s.url,d,"nested-url"===c);return(0,n.jsx)(o.default,{ref:t,href:s.url,external:s.external,...i,"data-active":u,children:i.children})}},39953:(e,r,t)=>{t.d(r,{CollapsibleControl:()=>v,LayoutBody:()=>x,LayoutTabs:()=>g,Navbar:()=>h});var n=t(49796),a=t(73052),l=t(81800),o=t(97460),s=t(54806),i=t(56113),d=t(28097),c=t(71898),u=t(56965),f=t(81825),p=t(5385),m=t(89817);function h(e){let{isTransparent:r}=(0,d.hI)();return(0,n.jsx)("header",{id:"nd-subnav",...e,className:(0,o.QP)("fixed top-(--fd-banner-height) left-0 right-(--removed-body-scroll-bar-size,0) z-30 flex items-center ps-4 pe-2.5 border-b transition-colors backdrop-blur-sm",!r&&"bg-fd-background/80",e.className),children:e.children})}function x(e){let{collapsed:r}=(0,i.c)();return(0,n.jsx)("main",{id:"nd-docs-layout",...e,className:(0,o.QP)("flex flex-1 flex-col pt-(--fd-nav-height) transition-[padding] fd-default-layout",!r&&"mx-(--fd-layout-offset)",e.className),style:{...e.style,paddingInlineStart:r?"min(calc(100vw - var(--fd-page-width)), var(--fd-sidebar-width))":"var(--fd-sidebar-width)"},children:e.children})}function v(){let{collapsed:e}=(0,i.c)();return(0,n.jsxs)("div",{className:(0,o.QP)("fixed flex shadow-lg transition-opacity rounded-xl p-0.5 border bg-fd-muted text-fd-muted-foreground z-10 max-md:hidden xl:start-4 max-xl:end-4",!e&&"pointer-events-none opacity-0"),style:{top:"calc(var(--fd-banner-height) + var(--fd-tocnav-height) + var(--spacing) * 4)"},children:[(0,n.jsx)(c.SidebarCollapseTrigger,{className:(0,o.QP)((0,s.r)({color:"ghost",size:"icon-sm",className:"rounded-lg"})),children:(0,n.jsx)(a.Bx,{})}),(0,n.jsx)(u.SearchToggle,{className:"rounded-lg",hideIfDisabled:!0})]})}function g(e){let{options:r,...t}=e,a=(0,f.a8)(),s=(0,l.useMemo)(()=>r.findLast(e=>(0,p.c)(e,a)),[r,a]);return(0,n.jsx)("div",{...t,className:(0,o.QP)("flex flex-row items-end gap-6 overflow-auto",t.className),children:r.map(e=>(0,n.jsx)(b,{selected:s===e,option:e},e.url))})}function b(e){let{option:{title:r,url:t,unlisted:a,props:l},selected:s=!1}=e;return(0,n.jsx)(m.default,{href:t,...l,className:(0,o.QP)("inline-flex border-b-2 border-transparent transition-colors items-center pb-1.5 font-medium gap-2 text-fd-muted-foreground text-sm text-nowrap hover:text-fd-accent-foreground",a&&!s&&"hidden",s&&"border-fd-primary text-fd-primary",null==l?void 0:l.className),children:r})}},44814:(e,r,t)=>{t.d(r,{q:()=>n});function n(e,[r,t]){return Math.min(t,Math.max(r,e))}},48399:(e,r,t)=>{t.d(r,{$A:()=>o,YL:()=>i});var n=t(49796),a=t(81800);let l=(0,t(81825).q6)("SearchContext",{enabled:!1,hotKey:[],setOpenSearch:()=>void 0});function o(){return l.use()}function s(){let[e,r]=(0,a.useState)("â");return(0,a.useEffect)(()=>{window.navigator.userAgent.includes("Windows")&&r("Ctrl")},[]),e}function i(e){let{SearchDialog:r,children:t,preload:o=!0,options:i,hotKey:d=[{key:e=>e.metaKey||e.ctrlKey,display:(0,n.jsx)(s,{})},{key:"k",display:"K"}],links:c}=e,[u,f]=(0,a.useState)(!o&&void 0);return(0,a.useEffect)(()=>{let e=e=>{d.every(r=>"string"==typeof r.key?e.key===r.key:r.key(e))&&(f(!0),e.preventDefault())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[d]),(0,n.jsxs)(l.Provider,{value:(0,a.useMemo)(()=>({enabled:!0,hotKey:d,setOpenSearch:f}),[d]),children:[void 0!==u&&(0,n.jsx)(r,{open:u,onOpenChange:f,links:c,...i}),t]})}},54806:(e,r,t)=>{t.d(r,{r:()=>l});var n=t(58479);let a={primary:"bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80",outline:"border hover:bg-fd-accent hover:text-fd-accent-foreground",ghost:"hover:bg-fd-accent hover:text-fd-accent-foreground",secondary:"border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"},l=(0,n.F)("inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring",{variants:{variant:a,c
1olor:a,size:{sm:"gap-1 px-2 py-1.5 text-xs",icon:"p-1.5 [&_svg]:size-5","icon-sm":"p-1.5 [&_svg]:size-4.5","icon-xs":"p-1 [&_svg]:size-4"}}})},56965:(e,r,t)=>{t.d(r,{LargeSearchToggle:()=>c,SearchToggle:()=>d});var n=t(49796),a=t(73052),l=t(48399),o=t(95031),s=t(97460),i=t(54806);function d(e){let{hideIfDisabled:r,size:t="icon-sm",color:o="ghost",...d}=e,{setOpenSearch:c,enabled:u}=(0,l.$A)();return r&&!u?null:(0,n.jsx)("button",{type:"button",className:(0,s.QP)((0,i.r)({size:t,color:o}),d.className),"data-search":"","aria-label":"Open Search",onClick:()=>{c(!0)},children:(0,n.jsx)(a.vj,{})})}function c(e){let{hideIfDisabled:r,...t}=e,{enabled:i,hotKey:d,setOpenSearch:c}=(0,l.$A)(),{text:u}=(0,o.s9)();return r&&!i?null:(0,n.jsxs)("button",{type:"button","data-search-full":"",...t,className:(0,s.QP)("inline-flex items-center gap-2 rounded-lg border bg-fd-secondary/50 p-1.5 ps-2 text-sm text-fd-muted-foreground transition-colors hover:bg-fd-accent hover:text-fd-accent-foreground",t.className),onClick:()=>{c(!0)},children:[(0,n.jsx)(a.vj,{className:"size-4"}),u.search,(0,n.jsx)("div",{className:"ms-auto inline-flex gap-0.5",children:d.map((e,r)=>(0,n.jsx)("kbd",{className:"rounded-md border bg-fd-background px-1.5",children:e.display},r))})]})}},60921:(e,r,t)=>{t.d(r,{RootToggle:()=>f});var n=t(49796),a=t(73052),l=t(81800),o=t(89817),s=t(81825),i=t(97460),d=t(5385),c=t(56113),u=t(81915);function f(e){let{options:r,placeholder:t,...f}=e,[p,m]=(0,l.useState)(!1),{closeOnRedirect:h}=(0,c.c)(),x=(0,s.a8)(),v=(0,l.useMemo)(()=>r.findLast(e=>(0,d.c)(e,x)),[r,x]),g=()=>{h.current=!1,m(!1)},b=v?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"size-9 shrink-0 md:size-5",children:v.icon}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-sm font-medium",children:v.title}),(0,n.jsx)("p",{className:"text-[13px] text-fd-muted-foreground empty:hidden md:hidden",children:v.description})]})]}):t;return(0,n.jsxs)(u.AM,{open:p,onOpenChange:m,children:[b&&(0,n.jsxs)(u.Wv,{...f,className:(0,i.QP)("flex items-center gap-2 rounded-lg p-2 border bg-fd-secondary/50 text-start text-fd-secondary-foreground transition-colors hover:bg-fd-accent data-[state=open]:bg-fd-accent data-[state=open]:text-fd-accent-foreground",f.className),children:[b,(0,n.jsx)(a.Ml,{className:"shrink-0 ms-auto size-4 text-fd-muted-foreground"})]}),(0,n.jsx)(u.hl,{className:"flex flex-col gap-1 w-(--radix-popover-trigger-width) overflow-hidden p-1",children:r.map(e=>{var r;let t=v&&e.url===v.url;if(t||!e.unlisted)return(0,n.jsxs)(o.default,{href:e.url,onClick:g,...e.props,className:(0,i.QP)("flex items-center gap-2 rounded-lg p-1.5 hover:bg-fd-accent hover:text-fd-accent-foreground",null==(r=e.props)?void 0:r.className),children:[(0,n.jsx)("div",{className:"shrink-0 size-9 md:mt-1 md:mb-auto md:size-5",children:e.icon}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-sm font-medium",children:e.title}),(0,n.jsx)("p",{className:"text-[13px] text-fd-muted-foreground empty:hidden",children:e.description})]}),(0,n.jsx)(a.Jl,{className:(0,i.QP)("shrink-0 ms-auto size-3.5 text-fd-primary",!t&&"invisible")})]},e.url)})})]})}},71898:(e,r,t)=>{t.d(r,{Sidebar:()=>w,SidebarCollapseTrigger:()=>E,SidebarContent:()=>C,SidebarContentMobile:()=>P,SidebarFolder:()=>z,SidebarFolderContent:()=>O,SidebarFolderLink:()=>M,SidebarFolderTrigger:()=>R,SidebarFooter:()=>S,SidebarHeader:()=>k,SidebarItem:()=>T,SidebarPageTree:()=>D,SidebarTrigger:()=>F,SidebarViewport:()=>Q});var n=t(49796),a=t(73052),l=t(81825),o=t(81800),s=t(89817),i=t(31270),d=t(97460),c=t(54754);let u=o.forwardRef(({className:e,children:r,...t},a)=>(0,n.jsxs)(c.bL,{ref:a,type:"scroll",className:(0,d.QP)("overflow-hidden",e),...t,children:[r,(0,n.jsx)(c.OK,{}),(0,n.jsx)(p,{orientation:"vertical"})]}));u.displayName=c.bL.displayName;let f=o.forwardRef(({className:e,children:r,...t},a)=>(0,n.jsx)(c.LM,{ref:a,className:(0,d.QP)("size-full rounded-[inherit]",e),...t,children:r}));f.displayName=c.LM.displayName;let p=o.forwardRef(({className:e,orientation:r="vertical",...t},a)=>(0,n.jsx)(c.Ze,{ref:a,orientation:r,className:(0,d.QP)("flex select-none data-[state=hidden]:animate-fd-fade-out","vertical"===r&&"h-full w-1.5","horizontal"===r&&"h-1.5 flex-col",e),...t,children:(0,n.jsx)(c.lr,{className:"relative flex-1 rounded-full bg-fd-border"})}));p.displayName=c.Ze.displayName;var m=t(5385),h=t(72602),x=t(56113),v=t(58479),g=t(43523);t(564);var b=t(97659);let j=(0,v.F)("relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0",{variants:{active:{true:"bg-fd-primary/10 text-fd-
1primary",false:"transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none"}}}),y=(0,o.createContext)(null),N=(0,o.createContext)(null);function w(e){var r;let{defaultOpenLevel:t=0,prefetch:a=!0,Mobile:l,Content:s}=e,i=null!=(r=function(e,r=!1){let[t,n]=(0,o.useState)(null);return(0,o.useEffect)(()=>{if(r)return;let t=window.matchMedia(e),a=()=>{n(t.matches)};return a(),t.addEventListener("change",a),()=>{t.removeEventListener("change",a)}},[r,e]),t}("(width < 768px)"))&&r,d=(0,o.useMemo)(()=>({defaultOpenLevel:t,prefetch:a,level:1}),[t,a]);return(0,n.jsx)(y.Provider,{value:d,children:i&&null!=l?l:s})}function C(e){let{collapsed:r}=(0,x.c)(),[t,a]=(0,o.useState)(!1),l=(0,o.useRef)(0),s=(0,o.useRef)(0);return(0,i.T)(r,()=>{a(!1),s.current=Date.now()+150}),(0,n.jsx)("aside",{id:"nd-sidebar",...e,"data-collapsed":r,className:(0,d.QP)("fixed left-0 rtl:left-auto rtl:right-(--removed-body-scroll-bar-size,0) flex flex-col items-end top-(--fd-sidebar-top) bottom-(--fd-sidebar-margin) z-20 bg-fd-card text-sm border-e transition-[top,opacity,translate,width] duration-200 max-md:hidden *:w-(--fd-sidebar-width)",r&&["rounded-xl border translate-x-(--fd-sidebar-offset) rtl:-translate-x-(--fd-sidebar-offset)",t?"z-50 shadow-lg":"opacity-0"],e.className),style:{...e.style,"--fd-sidebar-offset":t?"calc(var(--spacing) * 2)":"calc(16px - 100%)","--fd-sidebar-margin":r?"0.5rem":"0px","--fd-sidebar-top":"calc(var(--fd-banner-height) + var(--fd-nav-height) + var(--fd-sidebar-margin))",width:r?"var(--fd-sidebar-width)":"calc(var(--spacing) + var(--fd-sidebar-width) + var(--fd-layout-offset))"},onPointerEnter:e=>{!r||"touch"===e.pointerType||s.current>Date.now()||(window.clearTimeout(l.current),a(!0))},onPointerLeave:e=>{r&&"touch"!==e.pointerType&&(window.clearTimeout(l.current),l.current=window.setTimeout(()=>{a(!1),s.current=Date.now()+150},Math.min(e.clientX,document.body.clientWidth-e.clientX)>100?0:500))},children:e.children})}function P(e){let{className:r,children:t,...a}=e,{open:l,setOpen:o}=(0,x.c)(),s=l?"open":"closed";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b.C,{present:l,children:(0,n.jsx)("div",{"data-state":s,className:"fixed z-40 inset-0 backdrop-blur-xs data-[state=open]:animate-fd-fade-in data-[state=closed]:animate-fd-fade-out",onClick:()=>o(!1)})}),(0,n.jsx)(b.C,{present:l,children:e=>{let{present:l}=e;return(0,n.jsx)("aside",{id:"nd-sidebar-mobile",...a,"data-state":s,className:(0,d.QP)("fixed text-[15px] flex flex-col shadow-lg border-s end-0 inset-y-0 w-[85%] max-w-[380px] z-40 bg-fd-background data-[state=open]:animate-fd-sidebar-in data-[state=closed]:animate-fd-sidebar-out",!l&&"invisible",r),children:t})}})]})}function k(e){return(0,n.jsx)("div",{...e,className:(0,d.QP)("flex flex-col gap-3 p-4 pb-2",e.className),children:e.children})}function S(e){return(0,n.jsx)("div",{...e,className:(0,d.QP)("flex flex-col border-t p-4 pt-2",e.className),children:e.children})}function Q(e){return(0,n.jsx)(u,{...e,className:(0,d.QP)("h-full",e.className),children:(0,n.jsx)(f,{className:"p-4 overscroll-contain",style:{"--sidebar-item-offset":"calc(var(--spacing) * 2)",maskImage:"linear-gradient(to bottom, transparent, white 12px, white calc(100% - 12px), transparent)"},children:e.children})})}function L(e){return(0,n.jsx)("p",{...e,className:(0,d.QP)("inline-flex items-center gap-2 mb-1.5 px-2 ps-(--sidebar-item-offset) empty:mb-0 [&_svg]:size-4 [&_svg]:shrink-0",e.className),children:e.children})}function T(e){let{icon:r,...t}=e,o=(0,l.a8)(),i=void 0!==t.href&&(0,m.$)(t.href,o,!1),{prefetch:c}=_();return(0,n.jsxs)(s.default,{...t,"data-active":i,className:(0,d.QP)(j({active:i}),t.className),prefetch:c,children:[null!=r?r:t.external?(0,n.jsx)(a.Gr,{}):null,t.children]})}function z(e){let{defaultOpen:r=!1,...t}=e,[a,l]=(0,o.useState)(r);return(0,i.T)(r,e=>{e&&l(e)}),(0,n.jsx)(h.Collapsible,{open:a,onOpenChange:l,...t,children:(0,n.jsx)(N.Provider,{value:(0,o.useMemo)(()=>({open:a,setOpen:l}),[a]),children:t.children})})}function R(e){let{className:r,...t}=e,{open:l}=A();return(0,n.jsxs)(h.CollapsibleTrigger,{className:(0,d.QP)(j({active:!1}),"w-full",r),...t,children:[t.children,(0,n.jsx)(a.yQ,{"data-icon":!0,className:(0,d.QP)("ms-auto transition-transform",!l&&"-rotate-90")})]})}function M(e){let{open:r,setOpen:t}=A(),{prefetch:o}=_(),i=(0,l.a8)(),c=void 0!==e.href&&(0,m.$)(e.href,i,!1);return(0,n.jsxs)(s.default,{...e,"data-active":c,className:(0,d.QP)(j({active:c}
1),"w-full",e.className),onClick:e=>{e.target instanceof Element&&e.target.matches("[data-icon], [data-icon] *")?(t(!r),e.preventDefault()):t(!c||!r)},prefetch:o,children:[e.children,(0,n.jsx)(a.yQ,{"data-icon":!0,className:(0,d.QP)("ms-auto transition-transform",!r&&"-rotate-90")})]})}function O(e){let{level:r,...t}=_();return(0,n.jsx)(h.CollapsibleContent,{...e,className:(0,d.QP)("relative",1===r&&["before:content-[''] before:absolute before:w-px before:inset-y-1 before:bg-fd-border before:start-2.5","**:data-[active=true]:before:content-[''] **:data-[active=true]:before:bg-fd-primary **:data-[active=true]:before:absolute **:data-[active=true]:before:w-px **:data-[active=true]:before:inset-y-2.5 **:data-[active=true]:before:start-2.5"],e.className),style:{"--sidebar-item-offset":"calc(var(--spacing) * ".concat((r+1)*3,")"),...e.style},children:(0,n.jsx)(y.Provider,{value:(0,o.useMemo)(()=>({...t,level:r+1}),[t,r]),children:e.children})})}function F(e){let{children:r,...t}=e,{setOpen:a}=(0,x.c)();return(0,n.jsx)("button",{...t,"aria-label":"Open Sidebar",onClick:()=>a(e=>!e),children:r})}function E(e){let{collapsed:r,setCollapsed:t}=(0,x.c)();return(0,n.jsx)("button",{type:"button","aria-label":"Collapse Sidebar","data-collapsed":r,...e,onClick:()=>{t(e=>!e)},children:e.children})}function A(){let e=(0,o.useContext)(N);if(!e)throw Error("Missing sidebar folder");return e}function _(){let e=(0,o.useContext)(y);if(!e)throw Error("<Sidebar /> component required.");return e}function D(e){let{root:r}=(0,g.t)();return(0,o.useMemo)(()=>{var t;let{Separator:a,Item:l,Folder:s}=null!=(t=e.components)?t:{};return(0,n.jsx)(o.Fragment,{children:function e(r,t){return r.map((r,o)=>{if("separator"===r.type)return a?(0,n.jsx)(a,{item:r},o):(0,n.jsxs)(L,{className:(0,d.QP)(0!==o&&"mt-6"),children:[r.icon,r.name]},o);if("folder"===r.type){let a=e(r.children,t+1);return s?(0,n.jsx)(s,{item:r,level:t,children:a},o):(0,n.jsx)(I,{item:r,children:a},o)}return l?(0,n.jsx)(l,{item:r},r.url):(0,n.jsx)(T,{href:r.url,external:r.external,icon:r.icon,children:r.name},r.url)})}(r.children,1)},r.$id)},[e.components,r])}function I(e){var r;let{item:t,...a}=e,{defaultOpenLevel:l,level:o}=_(),s=(0,g.L)();return(0,n.jsxs)(z,{defaultOpen:(null!=(r=t.defaultOpen)?r:l>=o)||s.includes(t),children:[t.index?(0,n.jsxs)(M,{href:t.index.url,external:t.index.external,...a,children:[t.icon,t.name]}):(0,n.jsxs)(R,{...a,children:[t.icon,t.name]}),(0,n.jsx)(O,{children:a.children})]})}},72826:(e,r,t)=>{t.d(r,{ThemeToggle:()=>u});var n=t(49796),a=t(58479),l=t(73052),o=t(67436),s=t(81800),i=t(97460);let d=(0,a.F)("size-6.5 rounded-full p-1.5 text-fd-muted-foreground",{variants:{active:{true:"bg-fd-accent text-fd-accent-foreground",false:"text-fd-muted-foreground"}}}),c=[["light",l.bd],["dark",l.AX],["system",l.$3]];function u(e){let{className:r,mode:t="light-dark",...a}=e,{setTheme:l,theme:u,resolvedTheme:f}=(0,o.D)(),[p,m]=(0,s.useState)(!1);(0,s.useLayoutEffect)(()=>{m(!0)},[]);let h=(0,i.QP)("inline-flex items-center rounded-full border p-1",r);if("light-dark"===t){let e=p?f:null;return(0,n.jsx)("button",{className:h,"aria-label":"Toggle Theme",onClick:()=>l("light"===e?"dark":"light"),"data-theme-toggle":"",...a,children:c.map(r=>{let[t,a]=r;if("system"!==t)return(0,n.jsx)(a,{fill:"currentColor",className:(0,i.QP)(d({active:e===t}))},t)})})}let x=p?u:null;return(0,n.jsx)("div",{className:h,"data-theme-toggle":"",...a,children:c.map(e=>{let[r,t]=e;return(0,n.jsx)("button",{"aria-label":r,className:(0,i.QP)(d({active:x===r})),onClick:()=>l(r),children:(0,n.jsx)(t,{className:"size-full",fill:"currentColor"})},r)})})}},77777:(e,r,t)=>{t.d(r,{UC:()=>Z,ZL:()=>W,bL:()=>B,iN:()=>K,l9:()=>U});var n=t(81800),a=t(44612),l=t(74913),o=t(19159),s=t(34154),i=t(66486),d=t(91898),c=t(54660),u=t(84055),f=t(74441),p=t(97659),m=t(8143),h=t(29543),x=t(66200),v=t(40864),g=t(5606),b=t(49796),j="Popover",[y,N]=(0,o.A)(j,[u.Bk]),w=(0,u.Bk)(),[C,P]=y(j),k=e=>{let{__scopePopover:r,children:t,open:a,defaultOpen:l,onOpenChange:o,modal:s=!1}=e,i=w(r),d=n.useRef(null),[f,p]=n.useState(!1),[m,h]=(0,x.i)({prop:a,defaultProp:null!=l&&l,onChange:o,caller:j});return(0,b.jsx)(u.bL,{...i,children:(0,b.jsx)(C,{scope:r,contentId:(0,c.B)(),triggerRef:d,open:m,onOpenChange:h,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:f,onCustomAnchorAdd:n.useCallback(()=>p(!0),[]),onCustomAnchorRemove:n.useCallback(()=>p(!1),[]),modal:s,children:t})})};k.displayName=j;var S="PopoverAnchor";n.forwardRef((e,r)=>{let{__scopePopover:t,...a}=e,l=P(S,t),o=w(t),{onCustomAnchorAdd:s,onCustomAnchorRemove:i}=l;return n.useEffect(()=>(s(),()=>i()),[s,i]),(0,b.jsx)(u.Mz,{...o,...a,ref:r})}).displayName=S;var Q="PopoverTrigger",L=n.forwardRef((e,r)=>{let{__scopePopover:t,...n}=e,o=P(Q,t),s=w(t),i=(0,l.s)(r,o.triggerRef),d=(0,b.jsx)(m.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":$(o.open),...n,ref:i,onClick:(0,a.mK)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?d:(0,b.jsx)(u.Mz,{asChild:!0,...s,children:d})});L.displayName=Q;var T="PopoverPortal",[z,R]=y(T,{forceMount:void 0}),M=e=>{let{__scopePopover:r,forceMount:t,children:n,container:a}=e,l=P(T,r);return(0,b.jsx)(z,{scope:r,forceMount:t,children:(0,b.jsx)(p.C,{present:t||l.open,children:(0,b.jsx)(f.Z,{asChild:!0,container:a,children:n})})})};M.displayName=T;var O="PopoverContent",F=n.forwardRef((e,r)=>{let t=R(O,e.__scopePopover),{forceMount:n=t.forceMount,...a}=e,l=P(O,e.__scopePopover);return(0,b.jsx)(p.C,{present:n||l.open,children:l.modal?(0,b.jsx)(A,{...a,ref:r}):(0,b.jsx)(_,{...a,ref:r})})});F.displayName=O;var E=(0,h.TL)("PopoverContent.RemoveScroll"),A=n.forwardRef((e,r)=>{let t=P(O,e.__scopePopover),o=n.useRef(null),s=(0,l.s)(r,o),i=n.useRef(!1);return n.useEffect(()=>{let e=o.current;
1if(e)return(0,v.Eq)(e)},[]),(0,b.jsx)(g.A,{as:E,allowPinchZoom:!0,children:(0,b.jsx)(D,{...e,ref:s,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.mK)(e.onCloseAutoFocus,e=>{var r;e.preventDefault(),i.current||null==(r=t.triggerRef.current)||r.focus()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{let r=e.detail.originalEvent,t=0===r.button&&!0===r.ctrlKey;i.current=2===r.button||t},{checkForDefaultPrevented:!1}),onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),_=n.forwardRef((e,r)=>{let t=P(O,e.__scopePopover),a=n.useRef(!1),l=n.useRef(!1);return(0,b.jsx)(D,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var n,o;null==(n=e.onCloseAutoFocus)||n.call(e,r),r.defaultPrevented||(a.current||null==(o=t.triggerRef.current)||o.focus(),r.preventDefault()),a.current=!1,l.current=!1},onInteractOutside:r=>{var n,o;null==(n=e.onInteractOutside)||n.call(e,r),r.defaultPrevented||(a.current=!0,"pointerdown"===r.detail.originalEvent.type&&(l.current=!0));let s=r.target;(null==(o=t.triggerRef.current)?void 0:o.contains(s))&&r.preventDefault(),"focusin"===r.detail.originalEvent.type&&l.current&&r.preventDefault()}})}),D=n.forwardRef((e,r)=>{let{__scopePopover:t,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:l,disableOutsidePointerEvents:o,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:m,...h}=e,x=P(O,t),v=w(t);return(0,i.Oh)(),(0,b.jsx)(d.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:l,children:(0,b.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:m,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:p,onDismiss:()=>x.onOpenChange(!1),children:(0,b.jsx)(u.UC,{"data-state":$(x.open),role:"dialog",id:x.contentId,...v,...h,ref:r,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),I="PopoverClose",K=n.forwardRef((e,r)=>{let{__scopePopover:t,...n}=e,l=P(I,t);return(0,b.jsx)(m.sG.button,{type:"button",...n,ref:r,onClick:(0,a.mK)(e.onClick,()=>l.onOpenChange(!1))})});function $(e){return e?"open":"closed"}K.displayName=I,n.forwardRef((e,r)=>{let{__scopePopover:t,...n}=e,a=w(t);return(0,b.jsx)(u.i3,{...a,...n,ref:r})}).displayName="PopoverArrow";var B=k,U=L,W=M,Z=F},80589:(e,r,t)=>{t.d(r,{RootProvider:()=>b});var n=t(49796),a=t(67436),l=t(81800),o=t(78960),s=t(56113),i=t(48399),d=t(95031),c=t(81825);let u=(0,l.lazy)(()=>t.e(862).then(t.bind(t,10862)));function f(e){let{children:r,dir:t="ltr",theme:l={},search:d,i18n:c}=e,f=r;return(null==d?void 0:d.enabled)!==!1&&(f=(0,n.jsx)(i.YL,{SearchDialog:u,...d,children:f})),(null==l?void 0:l.enabled)!==!1&&(f=(0,n.jsx)(a.N,{attribute:"class",defaultTheme:"system",enableSystem:!0,disableTransitionOnChange:!0,...l,children:f})),c&&(f=(0,n.jsx)(p,{...c,children:f})),(0,n.jsx)(o.FX,{dir:t,children:(0,n.jsx)(s.G,{children:f})})}function p(e){let{locales:r=[],locale:t,onLocaleChange:a,children:o,translations:s}=e,i=(0,c.rd)(),u=(0,c.a8)(),f=e=>{if(a)return a(e);let r=u.split("/").filter(e=>e.length>0);r[0]!==t?r.unshift(e):r[0]=e,i.push("/".concat(r.join("/")))},p=(0,l.useRef)(f);return p.current=f,(0,n.jsx)(d.gJ.Provider,{value:(0,l.useMemo)(()=>({locale:t,locales:r,text:{...d.Cr,...s},onChange:e=>p.current(e)}),[t,r,s]),children:o})}var m=t(97378);t(564);var h=t(5967),x=t(73690),v=t(88174);function g(e){let{children:r}=e;return(0,n.jsx)(m.Uy,{usePathname:h.usePathname,useRouter:h.useRouter,useParams:h.useParams,Link:x,Image:v.default,children:r})}function b(e){return(0,n.jsx)(g,{children:(0,n.jsx)(f,{...e,children:e.children})})}},81415:(e,r,t)=>{t.d(r,{LanguageToggle:()=>i,LanguageToggleText:()=>d});var n=t(49796),a=t(95031),l=t(81915),o=t(97460),s=t(54806);function i(e){let r=(0,a.s9)();if(!r.locales)throw Error("Missing `<I18nProvider />`");return(0,n.jsxs)(l.AM,{children:[(0,n.jsx)(l.Wv,{"aria-label":r.text.chooseLanguage,...e,className:(0,o.QP)((0,s.r)({color:"ghost",className:"gap-1.5 p-1.5"}),e.className),children:e.children}),(0,n.jsxs)(l.hl,{className:"flex flex-col overflow-hidden p-0",children:[(0,n.jsx)("p",{className:"mb-1 p-2 text-xs font-medium text-fd-muted-foreground",children:r.text.chooseLanguage}),r.locales.map(e=>(0,n.jsx)("button",{type:"button",className:(0,o.QP)("p-2 text-start text-sm",e.locale===r.locale?"bg-fd-primary/10 font-medium text-fd-
1primary":"hover:bg-fd-accent hover:text-fd-accent-foreground"),onClick:()=>{var t;null==(t=r.onChange)||t.call(r,e.locale)},children:e.name},e.locale))]})]})}function d(e){var r,t;let l=(0,a.s9)(),o=null==(t=l.locales)||null==(r=t.find(e=>e.locale===l.locale))?void 0:r.name;return(0,n.jsx)("span",{...e,children:o})}},81915:(e,r,t)=>{t.d(r,{AM:()=>s,Wv:()=>i,hl:()=>d});var n=t(49796),a=t(77777),l=t(81800),o=t(97460);let s=a.bL,i=a.l9,d=l.forwardRef((e,r)=>{let{className:t,align:l="center",sideOffset:s=4,...i}=e;return(0,n.jsx)(a.ZL,{children:(0,n.jsx)(a.UC,{ref:r,align:l,sideOffset:s,side:"bottom",className:(0,o.QP)("z-50 origin-(--radix-popover-content-transform-origin) min-w-[240px] max-w-[98vw] rounded-xl border bg-fd-popover/60 backdrop-blur-lg p-2 text-sm text-fd-popover-foreground shadow-lg focus-visible:outline-none data-[state=closed]:animate-fd-popover-out data-[state=open]:animate-fd-popover-in",t),...i})})});d.displayName=a.UC.displayName,a.iN}}]);
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.