1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,917213,e=>{"use strict";var t=e.i(856365),n=e.i(632165);function r({ref:e,href:o="#",external:i=!!(o.match(/^\w+:/)||o.startsWith("//")),prefetch:l,children:a,...s}){return i?(0,n.jsx)("a",{ref:e,href:o,rel:"noreferrer noopener",target:"_blank",...s,children:a}):(0,n.jsx)(t.Link,{ref:e,href:o,prefetch:l,...s,children:a})}e.s(["Link",0,r,"default",0,r])},49113,e=>{"use strict";Symbol("VisitBreak"),e.s(["r",0,function(e,t,n={}){let{includeSeparator:r=!0}=n;return function e(n){let o;for(let i of n){if(t(i)){let e=[];return o&&e.push(o),e.push(i),e}if("separator"===i.type&&r){o=i;continue}if("folder"===i.type){let n=i.index&&t(i.index)?[i.index]:e(i.children);if(n)return n.unshift(i),o&&n.unshift(o),n}}}(e)??null}])},266302,17079,e=>{"use strict";e.s(["LinkItem",()=>g,"baseSlots",()=>v],266302),e.s(["getLayoutTabs",()=>u,"isLayoutTabActive",()=>f,"isLinkItemActive",()=>p,"useLinkItems",()=>d],17079);var t=e.i(479895),n=e.i(54146),r=e.i(28217),o=e.i(573098),i=e.i(329615),l=e.i(632165),a=e.i(205729),s=e.i(49113),s=s;let c=(e,t)=>t.icon?{...e,icon:(0,l.jsx)("div",{className:"size-full [&_svg]:size-full max-md:p-1.5 max-md:rounded-md max-md:border max-md:bg-fd-secondary",children:t.icon})}:e;function u(e,{transform:t=c}={}){let n=[];function r(e,o){if("root"in e&&e.root){let r=e.index?.url??e.children.find(e=>"page"===e.type)?.url;if(r){let i={title:e.name,icon:e.icon,description:e.description,url:r,unlisted:o,$folder:e},l=t?t(i,e):i;l&&n.push(l)}}for(let t of e.children)"folder"===t.type&&r(t,o)}return r(e),e.fallback&&r(e.fallback,!0),n}function f(e,t){return e.$folder?null!==s.r(e.$folder.children,e=>"page"===e.type&&(0,i.isActive)(e.url,t)):e.urls?e.urls.has((0,i.normalize)(t)):(0,i.isActive)(e.url,t,!0)}function d({githubUrl:e,links:t}){return(0,a.useMemo)(()=>{let n=function({links:e=[],githubUrl:t}){let n=[...e];return t&&n.push({type:"icon",url:t,text:"Github",label:"GitHub",icon:(0,l.jsx)("svg",{role:"img",viewBox:"0 0 24 24",fill:"currentColor",children:(0,l.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})}),external:!0}),n}({links:t,githubUrl:e}),r=[],o=[];for(let e of n)switch(e.on){case"menu":o.push(e);break;case"nav":r.push(e);break;default:r.push(e),o.push(e)}return{navItems:r,menuItems:o,all:n}},[t,e])}function p(e,t){return"custom"!==e.type&&!!e.url&&"none"!==e.active&&(0,i.isActive)(e.url,t,"nested-url"===e.active)}var h=e.i(917213),m=e.i(856365);function g({ref:e,item:t,...n}){let r=p(t,(0,m.usePathname)());return(0,l.jsx)(h.default,{ref:e,href:t.url,external:t.external,...n,"data-active":r,children:n.children})}function v({useProps:e}){function i(t){let{themeSwitch:n}=e();return n.component?n.component:(0,l.jsx)(o.ThemeSwitch,{...t,...n})}function a(t){let{searchToggle:n}=e();return n.components?.sm?n.components.sm:(0,l.jsx)(r.SearchTrigger,{...t,...n.sm})}function s(t){let{searchToggle:n}=e();return n.components?.lg?n.components.lg:(0,l.jsx)(r.FullSearchTrigger,{...t,...n.full})}function c({href:t="/",...n}){let{url:r=t,title:o}=e().nav??{};return"function"==typeof o?o({href:r,...n}):(0,l.jsx)(h.default,{href:r,...n,children:o})}return{useBaseSlots(e){let{locales:r=[]}=(0,t.useI18n)(),{nav:o,slots:l={},i18n:u=r.length>1,searchToggle:{enabled:f=!0,...d}={},themeSwitch:{enabled:p=!0,...h}={}}=e;return{baseSlots:{navTitle:l.navTitle??c,themeSwitch:p&&(l.themeSwitch??i),languageSelect:!!u&&(l.languageSelect??{root:n.LanguageSelect,text:n.LanguageSelectText}),searchTrigger:f&&(l.searchTrigger??{sm:a,full:s})},baseProps:{nav:o,searchToggle:d,themeSwitch:h}}}}}},54146,125331,28217,573098,329615,e=>{"use strict";let t;e.i(600877);var n=e.i(136303),r=e.i(795250),o=e.i(479895),i=e.i(632165),l=e.i(205729),a=e.i(543836),s=e.i(976173),c=e.i(464503),u=e.i(998037),f=e.i(225948),d=e.i(647776),p=e.i(244726);let h=["top","right","bottom","left"],m=Math.min,g=Math.max,v=Math.round,x=Math.floor,y=e=>({x:e,y:e}
vendor: 5,744 bytes, line 1
1),w={left:"right",right:"left",bottom:"top",top:"bottom"};function b(e,t){return"function"==typeof e?e(t):e}function C(e){return e.split("-")[0]}function P(e){return e.split("-")[1]}function S(e){return"x"===e?"y":"x"}function R(e){return"y"===e?"height":"width"}function k(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function A(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let T=["left","right"],j=["right","left"],L=["top","bottom"],O=["bottom","top"];function E(e){let t=C(e);return w[t]+e.slice(t.length)}function F(e){var t,n,r,o;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(o=e.left)?o:0}:{top:e,right:e,bottom:e,left:e}}function M(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function D(e,t,n){let r,{reference:o,floating:i}=e,l=k(t),a=S(k(t)),s=R(a),c=C(t),u=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,d=o[s]/2-i[s]/2;switch(c){case"top":r={x:u,y:o.y-i.height};break;case"bottom":r={x:u,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-i.width,y:f};break;default:r={x:o.x,y:o.y}}let p=P(t);return p&&(r[a]+=d*("end"===p?1:-1)*(n&&"y"===l?-1:1)),r}async function H(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=b(t,e),h=F(p),m=a[d?"floating"===f?"reference":"floating":f],g=M(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:s})),v="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await (null==i.isElement?void 0:i.isElement(x))&&await (null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},w=M(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:x,strategy:s}):v);return{top:(g.top-w.top+h.top)/y.y,bottom:(w.bottom-g.bottom+h.bottom)/y.y,left:(g.left-w.left+h.left)/y.x,right:(w.right-g.right+h.right)/y.x}}let N=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:H},s=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=D(c,r,s),d=r,p=0,h={};for(let n=0;n<i.length;n++){let m=i[n];if(!m)continue;let{name:g,fn:v}=m,{x:x,y:y,data:w,reset:b}=await v({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=x?x:u,f=null!=y?y:f,h[g]={...h[g],...w},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:u,y:f}=D(c,d,s)),n=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:h}};function z(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function $(e){return h.some(t=>e[t]>=0)}let I=new Set(["left","top"]);async function W(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=C(n),a=P(n),s="y"===k(n),c=I.has(l)?-1:1,u=i&&s?-1:1,f=b(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*u,y:d*c}:{x:d*c,y:p*u}}function V(){return"u">typeof window}function B(e){return G(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function q(e){var t;return null==(t=(G(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function G(e){return!!V()&&(e instanceof Node||e instanceof _(e).Node)}function K(e){return!!V()&&(e instanceof Element||e instanceof _(e).Element)}function U(e){return!!V()&&(e instanceof HTMLElement||e instanceof _(e).HTMLElement)}function Y(e){return!(!V()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof _(e).ShadowRoot)}function Z(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=eo(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function X(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let J=/transform|translate|scale|rotate|perspective|filter/,Q=/paint|layout|strict|content/,ee=e=>!!e&&"none"!==e;function et(e){let t=K(e)?eo(e):e;return ee(t.transform)||ee(t.translate)||ee(t.scale)||ee(t.rotate)||ee(t.perspective)||!en()&&(ee(t.backdropFilter)||ee(t.filter))||J.test(t.willChange||"")||Q.test(t.contain||"")}function en(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function er(e){return/^(html|body|#document)$/.test(B(e))}function eo(e){return _(e).getComputedStyle(e)}function ei(e){return K(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function el(e){if("html"===B(e))return e;let t=e.assignedSlot||e.parentNode||Y(e)&&e.host||q(e);return Y(t)?t.host:t}function ea(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=el(t);return er(n)?(t.ownerDocument||t).body:U(n)&&Z(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=_(o);if(!i)return t.concat(o,ea(o,[],n));{let e=es(l);
1return t.concat(l,l.visualViewport||[],Z(o)?o:[],e&&n?ea(e):[])}}function es(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ec(e){let t=eo(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=U(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=v(n)!==i||v(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function eu(e){return K(e)?e:e.contextElement}function ef(e){let t=eu(e);if(!U(t))return y(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ec(t),l=(i?v(n.width):n.width)/r,a=(i?v(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let ed=y(0);function ep(e){let t=_(e);return en()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ed}function eh(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=eu(e),a=y(1);t&&(r?K(r)&&(a=ef(r)):a=ef(e));let s=(void 0===(o=n)&&(o=!1),r&&o&&r===_(l))?ep(l):y(0),c=(i.left+s.x)/a.x,u=(i.top+s.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(l&&r){let e=_(l),t=K(r)?_(r):r,n=e,o=es(n);for(;o&&t!==n;){let e=ef(o),t=o.getBoundingClientRect(),r=eo(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,f*=e.x,d*=e.y,c+=i,u+=l,o=es(n=_(o))}}return M({width:f,height:d,x:c,y:u})}function em(e,t){let n=ei(e).scrollLeft;return t?t.left+n:eh(q(e)).left+n}function eg(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-em(e,n),y:n.top+t.scrollTop}}function ev(e,t,n){var r;let o;if("viewport"===t||"layoutViewport"===t)o=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,o=_(e),i=q(e),l=o.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,u=0;if(l){let e=!en()||"fixed"===t;r?e||(c=-l.offsetLeft,u=-l.offsetTop):(a=l.width,s=l.height,e&&(c=l.offsetLeft,u=l.offsetTop))}if(0>=em(i)){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(i).scrollbarGutter?o/2:o;l<=25&&(a-=l)}return{width:a,height:s,x:c,y:u}}(e,n,t);else if("document"===t){let t,n,i,l,a,s;t=ei(r=q(e)),n=r.ownerDocument.body,i=g(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),l=g(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+em(r),s=-t.scrollTop,"rtl"===eo(n).direction&&(a+=g(r.clientWidth,n.clientWidth)-i),o={width:i,height:l,x:a,y:s}}else if(K(t)){let e,r,i,l,a,s;r=(e=eh(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=ef(t),a=t.clientWidth*l.x,s=t.clientHeight*l.y,o={width:a,height:s,x:i*l.x,y:r*l.y}}else{let n=ep(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return M(o)}function ex(e){return"static"===eo(e).position}function ey(e,t){if(!U(e)||"fixed"===eo(e).position)return null;if(t)return t(e);let n=e.offsetParent;return q(e)===n&&(n=n.ownerDocument.body),n}function ew(e,t){var n;let r=_(e);if(X(e))return r;if(!U(e)){let t=el(e);for(;t&&!er(t);){if(K(t)&&!ex(t))return t;t=el(t)}return r}let o=ey(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(B(n)))&&ex(o);)o=ey(o,t);return o&&er(o)&&ex(o)&&!et(o)?r:o||function(e){let t=el(e);for(;U(t)&&!er(t);){if(et(t))return t;if(X(t))break;t=el(t)}return null}(e)||r}let eb=async function(e){let t=this.getOffsetParent||ew,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=U(t),o=q(t),i="fixed"===n,l=eh(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=y(0);if((r||!i)&&(("body"!==B(t)||Z(o))&&(a=ei(t)),r)){let e=eh(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!r&&o&&(s.x=em(o));let c=!o||r||i?y(0):eg(o,a);return{x:l.left+a.scrollLeft-s.x-c.x,y:l.top+a.scrollTop-s.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eC={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=q(r),a=!!t&&X(t.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},c=y(1),u=y(0),f=U(r);if((f||!i)&&(("body"!==B(r)||Z(l))&&(s=ei(r)),f)){let e=eh(r);c=ef(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let d=!l||f||i?y(0):eg(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+d.x,y:n.y*c.y-s.scrollTop*c.y+u.y+d.y}},getDocumentElement:q,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?X(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ea(e,[],!1).filter(e=>K(e)&&"body"!==B(e)),o=null,i="fixed"===eo(e).position,l=i?el(e):e;for(;K(l)&&!er(l);){let e=eo(l),t=et(l),n=o?o.position:i?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?o=e:r=r.filter(e=>e!==l),l=el(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=ev(t,i[0],o),a=l.top,s=l.right,c=l.bottom,u=l.left;for(let e=1;e<i.length;e++){let n=ev(t,i[e],o);a=g(n.top,a),s=m(n.right,s),c=m(n.bottom,c),u=g(n.left,u)}return{width:s-u,height:c-a,x:u,y:a}},getOffsetParent:ew,getElementRects:eb,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=ec(e);return{width:t,height:n}},getScale:ef,isElement:K,isRTL:function(e){return"rtl"===eo(e).direction}};function eP(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eS=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:s}=t,{element:c,padding:u=0}=b(e,t)||{};if(null==c)return{};let f=F(u),d={x:n,y:r},p=S(k(o)),h=R(p),v=await l.getDimensions(c),x="y"===p,y=x?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[p]-d[p]-i.floating[h],C=d[p]-i.reference[p],A=await (null==l.getOffsetParent?void 0:l.getOffsetParent(c)),T=A?A[y]:0;T&&await (null==l.isElement?void 0:l.isElement(A))||(T=a.floating[y]||i.floating[h]);let j=T/2-v[h]/2-1,L=m(f[x?"top":"left"],j),O=m(f[x?"bottom":"right"],j),E=T-v[h]-O,M=T/2-v[h]/2+(w/2-C/2),D=g(L,m(M,E)),H=!s.arrow&&null!=P(o)&&M!==D&&i.reference[h]/2-(M<L?L:O)-v[h]/2<0,N=H?M<L?M-L:M-E:0;return{[p]:d[p]+N,data:{[p]:D,centerOffset:M-D-N,...H&&{alignmentOffset:N}},reset:H}}});var eR=e.i(794303),ek="u">typeof document?l.useLayoutEffect:function(){};function eA(e,t){let n,r,o;
1if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eA(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eA(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eT(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ej(e,t){let n=eT(e);return Math.round(t*n)/n}function eL(e){let t=l.useRef(e);return ek(()=>{t.current=e}),t}var eO=e.i(156316),eE=Object.defineProperty,eF=l.forwardRef(eE(function(e,t){let{children:n,width:r=10,height:o=5,...l}=e;return(0,i.jsx)(eO.Primitive.svg,{...l,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,i.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"name",{value:"Arrow",configurable:!0})),eM=e.i(228755),eD=e.i(587114);function eH(e){let[t,n]=l.useState(void 0);return(0,eD.useLayoutEffect)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(0,Object.defineProperty)(eH,"name",{value:"useSize",configurable:!0});var eN=Object.defineProperty,ez=(e,t)=>eN(e,"name",{value:t,configurable:!0}),e$="Popper",[eI,eW]=(0,c.createContextScope)(e$),[eV,eB]=eI(e$),e_=ez(e=>{let{__scopePopper:t,children:n}=e,[r,o]=l.useState(null),[a,s]=l.useState(void 0);return(0,i.jsx)(eV,{scope:t,anchor:r,onAnchorChange:o,placementState:a,setPlacementState:s,children:n})},"Popper"),eq=l.forwardRef(ez(function(e,t){let{__scopePopper:n,virtualRef:r,...o}=e,a=eB("PopperAnchor",n),c=l.useRef(null),u=a.onAnchorChange,f=l.useCallback(e=>{c.current=e,e&&u(e)},[u]),d=(0,s.useComposedRefs)(t,f),p=l.useRef(null);l.useEffect(()=>{if(!r)return;let e=p.current;p.current=r.current,e!==p.current&&u(p.current)});let h=a.placementState&&eQ(a.placementState),m=h?.[0],g=h?.[1];return r?null:(0,i.jsx)(eO.Primitive.div,{"data-radix-popper-side":m,"data-radix-popper-align":g,...o,ref:d})},"PopperAnchor")),eG="PopperContent",[eK,eU]=eI(eG),eY=l.forwardRef(ez(function(e,t){var n,r,o,a,c,u,f,d,p,h,v,y,w;let F,M,D,H,V,B,{__scopePopper:G,side:K="bottom",sideOffset:U=0,align:Y="center",alignOffset:Z=0,arrowPadding:X=0,avoidCollisions:J=!0,collisionBoundary:Q=[],collisionPadding:ee=0,sticky:et="partial",hideWhenDetached:en=!1,updatePositionStrategy:er="optimized",onPlaced:eo,...ei}=e,el=eB(eG,G),[es,ec]=l.useState(null),ef=(0,s.useComposedRefs)(t,ec),[ed,ep]=l.useState(null),em=eH(ed),eg=em?.width??0,ev=em?.height??0,ex="number"==typeof ee?ee:{top:0,right:0,bottom:0,left:0,...ee},ey=Array.isArray(Q)?Q:[Q],ew=ey.length>0,eb={padding:ex,boundary:ey.filter(eX),altBoundary:ew},{refs:eE,floatingStyles:eF,placement:eN,isPositioned:e$,middlewareData:eI}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[f,d]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=l.useState(r);eA(p,r)||h(r);let[m,g]=l.useState(null),[v,x]=l.useState(null),y=l.useCallback(e=>{e!==P.current&&(P.current=e,g(e))},[]),w=l.useCallback(e=>{e!==S.current&&(S.current=e,x(e))},[]),b=i||m,C=a||v,P=l.useRef(null),S=l.useRef(null),R=l.useRef(f),k=null!=c,A=eL(c),T=eL(o),j=eL(u),L=l.useCallback(()=>{var e,r;let o,i,l;if(!P.current||!S.current)return;let a={placement:t,strategy:n,middleware:p};T.current&&(a.platform=T.current),(e=P.current,r=S.current,o=new Map,i=null!=a?a:{},l={...eC,...i.platform,_c:o},N(e,r,{...i,platform:l})).then(e=>{let t={...e,isPositioned:!1!==j.current};O.current&&!eA(R.current,t)&&(R.current=t,eR.flushSync(()=>{d(t)}))})},[p,t,n,T,j]);ek(()=>{!1===u&&R.current.isPositioned&&(R.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let O=l.useRef(!1);ek(()=>(O.current=!0,()=>{O.current=!1}),[]),ek(()=>
1{if(b&&(P.current=b),C&&(S.current=C),b&&C){if(A.current)return A.current(b,C,L);L()}},[b,C,L,A,k]);let E=l.useMemo(()=>({reference:P,floating:S,setReference:y,setFloating:w}),[y,w]),F=l.useMemo(()=>({reference:b,floating:C}),[b,C]),M=l.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=ej(F.floating,f.x),r=ej(F.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eT(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,F.floating,f.x,f.y]);return l.useMemo(()=>({...f,update:L,refs:E,elements:F,floatingStyles:M}),[f,L,E,F,M])}({strategy:"fixed",placement:K+("center"!==Y?"-"+Y:""),whileElementsMounted:ez((...e)=>(function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,u=eu(e),f=i||l?[...u?ea(u):[],...t?ea(t):[]]:[];f.forEach(e=>{i&&e.addEventListener("scroll",n),l&&e.addEventListener("resize",n)});let d=u&&s?function(e,t,n){let r,o=null,i=q(e);function l(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}function a(n,s){void 0===n&&(n=!1),void 0===s&&(s=1),l();let c=e.getBoundingClientRect(),{left:u,top:f,width:d,height:p}=c;if(n||t(),!d||!p)return;let h={rootMargin:-x(f)+"px "+-x(i.clientWidth-(u+d))+"px "+-x(i.clientHeight-(f+p))+"px "+-x(u)+"px",threshold:g(0,m(1,s))||1},v=!0;function y(t){let n=t[0].intersectionRatio;if(!eP(c,e.getBoundingClientRect()))return a();if(n!==s){if(!v)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}v=!1}try{o=new IntersectionObserver(y,{...h,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(y,h)}o.observe(e)}let s=_(e),c=()=>a(n);return s.addEventListener("resize",c),a(!0),()=>{s.removeEventListener("resize",c),l()}}(u,n,l):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&h&&t&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),u&&!c&&h.observe(u),t&&h.observe(t));let v=c?eh(e):null;return c&&function t(){let r=eh(e);v&&!eP(v,r)&&n(),v=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===er}),"whileElementsMounted"),elements:{reference:el.anchor},middleware:[{name:(F={name:"offset",options:r=n={mainAxis:U+ev,alignmentAxis:Z},async fn(e){var t,n;let{x:o,y:i,placement:l,middlewareData:a}=e,s=await W(e,r);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}).name,fn:F.fn,options:[n,void 0]},J&&{name:(M={name:"shift",options:c=a={mainAxis:!0,crossAxis:!1,limiter:"partial"===et?{fn:(o=void 0,{options:o={},fn(e){var t,n,r,i;let{x:l,y:a,placement:s,rects:c,middlewareData:u}=e,{offset:f=0,mainAxis:d=!0,crossAxis:p=!0}=b(o,e),h={x:l,y:a},m=k(s),g=S(m),v=h[g],x=h[m],y=b(f,e),w="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:null!=(t=y.mainAxis)?t:0,crossAxis:null!=(n=y.crossAxis)?n:0};if(d){let e="y"===g?"height":"width",t=c.reference[g]-c.floating[e]+w.mainAxis,n=c.reference[g]+c.reference[e]-w.mainAxis;v<t?v=t:v>n&&(v=n)}if(p){let e="y"===g?"width":"height",t=I.has(C(s)),n=c.reference[m]-c.floating[e]+(t&&(null==(r=u.offset)?void 0:r[m])||0)+(t?0:w.crossAxis),o=c.reference[m]+c.reference[e]+(t?0:(null==(i=u.offset)?void 0:i[m])||0)-(t?w.crossAxis:0);x<n?x=n:x>o&&(x=o)}return{[g]:v,[m]:x}}}).fn,options:[void 0,void 0]}:void 0,...eb},async fn(e){let{x:t,y:n,placement:r,platform:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=b(c,e),u={x:t,y:n},f=await o.detectOverflow(e,s),d=k(r),p=S(d),h=u[p],v=u[d],x=(e,t)=>g(t+f["y"===e?"top":"left"],m(t,t-f["y"===e?"bottom":"right"]));i&&(h=x(p,h)),l&&(v=x(d,v));let y=a.fn({...e,[p]:h,[d]:v});return{...y,data:{x:y.x-t,y:y.y-n,enabled:{[p]:i,[d]:l}}}}}).name,fn:M.fn,options:[a,void 0]},J&&{name:(D={name:"flip",options:f=u={...eb},async fn(e){var t,n,r,o,i,l,a,s;let c,u,d,{placement:p,middlewareData:h,rects:m,initialPlacement:g,platform:v,elements:x}=e,{mainAxis:y=!0,crossAxis:w=!0,fallbackPlacements:F,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:H=!0,...N}=b(f,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let z=C(p),$=k(g),I=C(g)===g,W=await (null==v.isRTL?void 0:v.isRTL(x.floating)),V=F||(I||!H?[E(g)]:(c=E(g),[A(g),c,A(c)])),B="none"!==D;!F&&B&&V.push(...(u=P(g),d=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?j:T;return t?T:j;case"left":case"right":return t?L:O;default:return[]}}(C(g),"start"===D,W),u&&(d=d.map(e=>e+"-"+u),H&&(d=d.concat(d.map(A)))),d));let _=[g,...V],q=await v.detectOverflow(e,N),G=[],K=(null==(n=h.flip)?void 0:n.overflows)||[];if(y&&G.push(q[z]),w){let e,t,n,r,o=(l=p,a=m,void 0===(s=W)&&(s=!1),e=P(l),n=R(t=S(k(l))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=E(r)),[r,E(r)]);G.push(q[o[0]],q[o[1]])}if(K=[...K,{placement:p,overflows:G}],!G.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,t=_[e];if(t&&("alignment"!==w||$===k(t)||K.every(e=>k(e.placement)!==$||e.overflows[0]>0)))return{data:{index:e,overflows:K},reset:{placement:t}};let n=null==(o=K.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(M){case"bestFit":{let e=null==(i=K.filter(e=>{if(B){let t=k(e.placement);return t===$||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=g}if(p!==n)return{reset:{placement:n}}}return{}}}).name,fn:D.fn,options:[u,void 0]},{name:(H={name:"size",options:p=d={...eb,apply:ez(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${o}px`),l.setProperty("--radix-popper-anchor-height",`${i}px`)},"apply")},async fn(e){let t,n,{placement:r,rects:o,platform:i,elements:l}=e,{apply:a=()=>{},...s}=b(p,e),c=await i.detectOverflow(e,s),u=C(r),f=P(r),d="y"===k(r),{width:h,height:v}=o.floating;"top"===u||"bottom"===u?(t=u,n=f===(await (null==i.isRTL?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(n=u,t="end"===f?"top":"bottom");let x=v-c.top-c.bottom,y=h-c.left-c.right,w=m(v-c[t],x),S=m(h-c[n],y),R=e.middlewareData.shift,A=!R,T=w,j=S;null!=R&&R.enabled.x&&(j=y),null!=R&&R.enabled.y&&(T=x),A&&!f&&(d?j=h-2*g(c.left,c.right):T=v-2*g(c.top,c.bottom)),await a({...e,availableWidth:j,availableHeight:T});let L=await i.getDimensions(l.floating);return h!==L.width||v!==L.height?{reset:{rects:!0}}:{}}}).name,fn:H.fn,options:[d,void 0]},ed&&{name:(V={name:"arrow",options:v=h={element:ed,padding:X},fn(e){let{element:t,padding:n}="function"==typeof v?v(e):v;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eS({element:t.current,padding:n}).fn(e):{}:t?eS({element:t,padding:n}).fn(e):{}}}).name,fn:V.fn,options:[h,void 0]},eJ({arrowWidth:eg,arrowHeight:ev}),en&&{name:(B={name:"hide",options:w=y={strategy:"referenceHidden",...eb,boundary:ew?eb.boundary:void 0},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...o}=b(w,e);switch(r){case"referenceHidden":{let r=z(await n.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:$(r)}}}case"escaped":{let r=z(await n.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:$(r)}}}default:return{}}}}).name,fn:B.fn,options:[y,void 0]}]}),eW=el.setPlacementState;(0,eD.useLayoutEffect)(()=>(eW(eN),()=>{eW(void 0)}),[eN,eW]);let[eV,e_]=eQ(eN),eq=(0,eM.useCallbackRef)(eo);(0,eD.useLayoutEffect)(()=>{e$&&eq?.()},[e$,eq]);let eU=eI.arrow?.x,eY=eI.arrow?.y,eZ=eI.arrow?.centerOffset!==0,[e0,e1]=l.useState();return(0,eD.useLayoutEffect)(()=>{es&&e1(window.getComputedStyle(es).zIndex)},[es]),(0,i.jsx)("div",{ref:eE.setFloating,"data-radix-popper-content-wrapper":"",style:{...eF,transform:e$?eF.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e0,"--radix-popper-transform-origin":[eI.transformOrigin?.x,eI.transformOrigin?.y].join(" "),...eI.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,i.jsx)(eK,{scope:G,placedSide:eV,placedAlign:e_,onArrowChange:ep,arrowX:eU,arrowY:eY,shouldHideArrow:eZ,children:(0,i.jsx)(eO.Primitive.div,{"data-side":eV,"data-align":e_,...ei,ref:ef,style:{...ei.style,animation:e$?ei.style?.animation:"none"}})})})},"PopperContent")),eZ={top:"bottom",right:"left",bottom:"top",left:"right"};function eX(e){return null!==e}ez(eX,"isNotNull");var eJ=ez(e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,l=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[s,c]=eQ(n),u={start:"0%",center:"50%",end:"100%"}[c],f=(o.arrow?.x??0)+l/2,d=(o.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=i?u:`${f}px`,h=`${-a}px`):"top"===s?(p=i?u:`${f}px`,h=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=i?u:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,h=i?u:`${d}px`),{data:{x:p,y:h}}}}),"transformOrigin");function eQ(e){let[t,n="center"]=e.split("-");return[t,n]}ez(eQ,"getSideAndAlignFromPlacement");var e0=e.i(723416),e1=e.i(911681),e2=e.i(950700),e5=e.i(76440),e3=e.i(73772),e6=e.i(180962),e4=Object.defineProperty,e7=(e,t)=>e4(e,"name",{value:t,configurable:!0}),e8="Popover",[e9,te]=(0,c.createContextScope)(e8,[eW]),tt=eW(),[tn,tr]=e9(e8),to=e7(e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,c=tt(t),u=l.useRef(null),[f,d]=l.useState(!1),[h,m]=(0,e5.useControllableState)({prop:r,defaultProp:o??!1,onChange:a,caller:e8});return(0,i.jsx)(e_,{...c,children:(0,i.jsx)(tn,{scope:t,contentId:(0,p.useId)(),triggerRef:u,open:h,onOpenChange:m,onOpenToggle:l.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:f,onCustomAnchorAdd:l.useCallback(()=>d(!0),[]),onCustomAnchorRemove:l.useCallback(()=>d(!1),[]),modal:s,children:n})})},"Popover"),ti=l.forwardRef(e7(function(e,t){let{__scopePopover:n,...r}=e,o=tr("PopoverTrigger",n),l=tt(n),c=(0,s.useComposedRefs)(t,o.triggerRef),u=(0,i.jsx)(eO.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":tg(o.open),...r,ref:c,onClick:(0,a.composeEventHandlers)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?u:(0,i.jsx)(eq,{asChild:!0,...l,children:u})},"PopoverTrigger")),tl="PopoverPortal",[ta,ts]=e9(tl,{forceMount:void 0}),tc=e7(e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,l=tr(tl,t);return(0,i.jsx)(ta,{scope:t,forceMount:n,children:(0,i.jsx)(e1.Presence,{present:n||l.open,children:(0,i.jsx)(e0.Portal,{asChild:!0,container:o,children:r})})})},"PopoverPortal"),tu="PopoverContent",tf=l.forwardRef(e7(function(e,t){let n=ts(tu,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,l=tr(tu,e.__scopePopover);return(0,i.jsx)(e1.Presence,{present:r||l.open,children:l.modal?(0,i.jsx)(tp,{...o,ref:t}):(0,i.jsx)(th,{...o,ref:t})})},"PopoverContent")),td=(0,e2.createSlot)("PopoverContent.RemoveScroll"),tp=l.forwardRef(e7(function(e,t){let n=tr(tu,e.__scopePopover),r=l.useRef(null),o=(0,s.useComposedRefs)(t,r),c=l.useRef(!1);return l.useEffect(()=>{let e=r.current;if(e)return(0,e3.hideOthers)(e)},[]),(0,i.jsx)(e6.RemoveScroll,{as:td,allowPinchZoom:!0,children:(0,i.jsx)(tm,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),c.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;c.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),th=l.forwardRef(e7(function(e,t){let n=tr(tu,e.__scopePopover),r=l.useRef(!1),o=l.useRef(!1);return(0,i.jsx)(tm,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})},"PopoverContentNonModal")),tm=l.forwardRef(e7(function(e,t){let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:l,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:p,onInteractOutside:h,...m}=e,g=tr(tu,n),v=tt(n);return(0,f.useFocusGuards)(),(0,i.jsx)(d.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:l,children:(0,i.jsx)(u.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:p,onDismiss:()=>g.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,i.jsx)(eY,{"data-state":tg(g.open),role:"dialog",id:g.contentId,...v,...m,ref:t,style:{...m.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)"}})})})},"PopoverContentImpl"));function tg(e){return e?"open":"closed"}function tv({className:e,align:t="center",sideOffset:r=4,...o}){return(0,i.jsx)(tc,{children:(0,i.jsx)(tf,{align:t,sideOffset:r,side:"bottom",className:(0,n.cn)("z-50 origin-(--radix-popover-content-transform-origin) overflow-y-auto max-h-(--radix-popover-content-available-height) min-w-[240px] max-w-[98vw] rounded-xl border bg-fd-popover/60 backdrop-blur-lg p-2 text-sm text-fd-
1popover-foreground shadow-lg focus-visible:outline-none data-[state=closed]:animate-fd-popover-out data-[state=open]:animate-fd-popover-in",e),...o})})}e7(tg,"getState"),e.s(["Popover",0,to,"PopoverContent",0,tv,"PopoverTrigger",0,ti],125331);var tx=e.i(391954);e.s(["LanguageSelect",0,function({className:e,variant:t="ghost",children:l,...a}){let s=(0,o.useI18n)(),c=(0,tx.useTranslations)({note:"language switcher"});if(!s.locales)throw Error("Missing `<I18nProvider />`");let u=c("Choose a language");return(0,i.jsxs)(to,{children:[(0,i.jsx)(ti,{"aria-label":c("Choose a language",{note:"aria-label"}),className:(0,n.cn)((0,r.buttonVariants)({variant:t}),"gap-1.5 p-1.5 data-[state=open]:bg-fd-accent",e),...a,children:l}),(0,i.jsxs)(tv,{className:"flex flex-col gap-0.5 p-1",children:[(0,i.jsx)("p",{className:"p-2 text-xs font-medium text-fd-muted-foreground",children:u}),s.locales.map(e=>(0,i.jsx)("button",{type:"button",className:(0,n.cn)("px-2 py-1.5 text-start text-sm rounded-lg transition-colors",e.locale===s.locale?"bg-fd-primary/10 text-fd-primary":"text-fd-muted-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"),onClick:()=>{s.onChange?.(e.locale)},children:e.name},e.locale))]})]})},"LanguageSelectText",0,function(e){let{locales:t,locale:n}=(0,o.useI18n)(),r=t?.find(e=>e.locale===n)?.name;return(0,i.jsx)("span",{...e,children:r})}],54146);var ty=e.i(293596),tw=e.i(89259),tw=tw;e.s(["FullSearchTrigger",0,function({hideIfDisabled:e,...t}){let{enabled:r,hotKey:o,setOpenSearch:l}=(0,ty.useSearchContext)(),a=(0,tx.useTranslations)({note:"search trigger"});return e&&!r?null:(0,i.jsxs)("button",{type:"button","data-search-full":"",...t,className:(0,n.cn)("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:()=>{l(!0)},children:[(0,i.jsx)(tw.default,{className:"size-4"}),a("Search"),(0,i.jsx)("div",{className:"ms-auto inline-flex gap-0.5",children:o.map((e,t)=>(0,i.jsx)("kbd",{className:"rounded-md border bg-fd-background px-1.5",children:e.display},t))})]})},"SearchTrigger",0,function({hideIfDisabled:e,size:t="icon-sm",color:o="ghost",...l}){let{setOpenSearch:a,enabled:s}=(0,ty.useSearchContext)(),c=(0,tx.useTranslations)({note:"search trigger"});return e&&!s?null:(0,i.jsx)("button",{type:"button",className:(0,n.cn)((0,r.buttonVariants)({size:t,color:o}),l.className),"data-search":"","aria-label":c("Open Search",{note:"aria-label"}),onClick:()=>{a(!0)},children:(0,i.jsx)(tw.default,{})})}],28217);var tb=e.i(210987);let tC=(0,tb.default)("airplay",[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["path",{d:"m12 15 5 6H7Z",key:"14qnn2"}]]),tP=(0,tb.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),tS=(0,tb.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);var tR=e.i(294237),tk=e.i(848317);let tA=(0,tR.cva)("size-6.5 p-1.5 text-fd-muted-foreground",{variants:{active:{true:"bg-fd-accent text-fd-accent-foreground",false:"text-fd-muted-foreground"}}}),tT=[["light",tS],["dark",tP],["system",tC]];function tj(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}e.s(["ThemeSwitch",0,function({className:e,mode:t="light-dark",...r}){let{setTheme:o,theme:a,resolvedTheme:s}=(0,tk.useTheme)(),[c,u]=(0,l.useState)(!1),f=(0,tx.useTranslations)({note:"theme switcher"}),d={light:f("Light",{note:"aria-label"}),dark:f("Dark",{note:"aria-label"}),system:f("System",{note:"aria-label"})},p=e=>{document?.startViewTransition?document.startViewTransition(()=>(0,eR.flushSync)(()=>o(e))):o(e)};(0,l.useEffect)(()=>{u(!0)},[]);let h=(0,n.cn)("inline-flex items-center rounded-full border p-1 overflow-hidden *:rounded-full",e);if("light-dark"===t){let e=c?s:null;return(0,i.jsx)("button",{className:h,"aria-label":f("Toggle Theme",{note:"aria-label"}),onClick:()=>p("light"===e?"dark":"light"),"data-theme-toggle":"",children:tT.map(([t,r])=>
1{if("system"!==t)return(0,i.jsx)(r,{fill:"currentColor",className:(0,n.cn)(tA({active:e===t}))},t)})})}let m=c?a:null;return(0,i.jsx)("div",{className:h,"data-theme-toggle":"",...r,children:tT.map(([e,t])=>(0,i.jsx)("button",{"aria-label":d[e],className:(0,n.cn)(tA({active:m===e})),onClick:()=>p(e),children:(0,i.jsx)(t,{className:"size-full",fill:"currentColor"})},e))})}],573098),e.s(["isActive",0,function(e,t,n=!1){return(e=tj(e))===(t=tj(t))||n&&t.startsWith(`${e}/`)},"normalize",0,tj],329615)},21305,26250,621666,e=>{"use strict";var t=e.i(205729);e.s(["useIsScrollTop",0,function({enabled:e=!0}){let[n,r]=(0,t.useState)();return(0,t.useEffect)(()=>{if(!e)return;let t=()=>{r(window.scrollY<10)};return t(),window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[e]),n}],21305);var n=e.i(210987);let r=(0,n.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,r],26250);let o=(0,n.default)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);e.s(["Languages",0,o],621666)}]);
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.