1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,81405,e=>{"use strict";var t=e.i(15300),n=e.i(99873);e.s(["createContext",0,function(e,r){let i=t.createContext(r),a=e=>{let{children:r,...a}=e,o=t.useMemo(()=>a,Object.values(a));return(0,n.jsx)(i.Provider,{value:o,children:r})};return a.displayName=e+"Provider",[a,function(n){let a=t.useContext(i);if(a)return a;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,r=[]){let i=[],a=()=>{let n=i.map(e=>t.createContext(e));return function(r){let i=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return a.scopeName=e,[function(r,a){let o=t.createContext(a),s=i.length;i=[...i,a];let l=r=>{let{scope:i,children:a,...l}=r,u=i?.[e]?.[s]||o,c=t.useMemo(()=>l,Object.values(l));return(0,n.jsx)(u.Provider,{value:c,children:a})};return l.displayName=r+"Provider",[l,function(n,i){let l=i?.[e]?.[s]||o,u=t.useContext(l);if(u)return u;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}(a,...r)]}])},91967,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}])},97854,e=>{"use strict";var t=e.i(15300);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function r(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():n(e[t],null)}}}}e.s(["composeRefs",0,r,"useComposedRefs",0,function(...e){return t.useCallback(r(...e),e)}])},80739,e=>{"use strict";var t=e.i(15300),n=e.i(97854),r=e.i(99873),i=Symbol("radix.slottable");function a(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}e.s(["createSlot",0,function(e){var i;let o,s=(i=e,(o=t.forwardRef((e,r)=>{let{children:i,...a}=e;if(t.isValidElement(i)){var o;let e,s,l=(o=i,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...a}:"className"===r&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}(a,i.props);return i.type!==t.Fragment&&(u.ref=r?(0,n.composeRefs)(r,l):l),t.cloneElement(i,u)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,o),l=t.forwardRef((e,n)=>{let{children:i,...o}=e,l=t.Children.toArray(i),u=l.find(a);if(u){let e=u.props.children,i=l.map(n=>n!==u?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,r.jsx)(s,{...o,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,r.jsx)(s,{...o,ref:n,children:i})});return l.displayName=`${e}.Slot`,l}])},46352,e=>{"use strict";var t=e.i(15300),n=e.i(91359),r=e.i(80739),i=e.i(99873),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let a=(0,r.createSlot)(`Primitive.${n}`),o=t.forwardRef((e,t)=>{let{asChild:r,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(r?a:n,{...o,ref:t})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});e.s(["Primitive",0,a,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}])},84482,e=>{"use strict";var t=e.i(15300),n=globalThis?.document?t.useLayoutEffect:()=>{};
1e.s(["useLayoutEffect",0,n])},326,e=>{"use strict";var t=e.i(15300),n=e.i(84482);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var r=t[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:n,onChange:i=()=>{},caller:a}){let[o,s,l]=function({defaultProp:e,onChange:n}){let[i,a]=t.useState(e),o=t.useRef(i),s=t.useRef(n);return r(()=>{s.current=n},[n]),t.useEffect(()=>{o.current!==i&&(s.current?.(i),o.current=i)},[i,o]),[i,a,s]}({defaultProp:n,onChange:i}),u=void 0!==e,c=u?e:o;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${a} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=u},[u,a])}return[c,t.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else s(t)},[u,e,s,l])]}],326)},92527,e=>{"use strict";var t=e.i(15300),n=e.i(97854),r=e.i(84482),i=e=>{var i;let o,s,{present:l,children:u}=e,c=function(e){var n,i;let[o,s]=t.useState(),l=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),[d,f]=(n=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,n));return t.useEffect(()=>{let e=a(l.current);c.current="mounted"===d?e:"none"},[d]),(0,r.useLayoutEffect)(()=>{let t=l.current,n=u.current;if(n!==e){let r=c.current,i=a(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,r.useLayoutEffect)(()=>{if(o){let e,t=o.ownerDocument.defaultView??window,n=n=>{let r=a(l.current).includes(CSS.escape(n.animationName));if(n.target===o&&r&&(f("ANIMATION_END"),!u.current)){let n=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=n)})}},r=e=>{e.target===o&&(c.current=a(l.current))};return o.addEventListener("animationstart",r),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",r),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,s(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),f=(0,n.useComposedRefs)(c.ref,(i=d,(s=(o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?i.ref:(s=(o=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof u||c.isPresent?t.cloneElement(d,{ref:f}):null};function a(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},15321,e=>{"use strict";var t=e.i(15300),n=e.i(84482),r=t[" useId ".trim().toString()]||(()=>void 0),i=0;e.s(["useId",0,function(e){let[a,o]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||o(e=>e??String(i++))},[e]),e||(a?`radix-${a}`:"")}])},94595,e=>{"use strict";var t=e.i(15300);e.s(["useCallbackRef",0,function(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}])},16509,e=>{"use strict";var t=e.i(15300),n=e.i(81405),r=e.i(97854),i=e.i(80739),a=e.i(99873),o=new WeakMap;function s(e,t){var n,r;let i,a,o;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(n=e,r=t,i=n.length,(o=(a=l(r))>=0?a:i+a)<0||o>=i?-1:o);return -1===s?void 0:e[s]}function l(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],o.set(this,!0)}set(e,t){return o.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),a=this.#e.length,o=l(e),s=o>=0?o:a+o,u=s<0||s>=a?-1:s;if(u===this.size||i&&u===this.size-1||-1===u)return this.set(t,n),this;let c=this.size+ +!i;o<0&&s++;let d=[...this.#e],f=!1;for(let e=s;e<c;e++)if(s===e){let a=d[e];d[e]===t&&(a=d[e+1]),i&&this.delete(t),r=this.get(a),this.set(t,n)}else{f||d[e-1]!==t||(f=!0);let n=d[f?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=s(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=s(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return s(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
1}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}}),e.s(["createCollection",0,function(e){let o=e+"CollectionProvider",[s,l]=(0,n.createContextScope)(o),[u,c]=s(o,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:n,children:r}=e,i=t.default.useRef(null),o=t.default.useRef(new Map).current;return(0,a.jsx)(u,{scope:n,itemMap:o,collectionRef:i,children:r})};d.displayName=o;let f=e+"CollectionSlot",h=(0,i.createSlot)(f),p=t.default.forwardRef((e,t)=>{let{scope:n,children:i}=e,o=c(f,n),s=(0,r.useComposedRefs)(t,o.collectionRef);return(0,a.jsx)(h,{ref:s,children:i})});p.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",y=(0,i.createSlot)(v),g=t.default.forwardRef((e,n)=>{let{scope:i,children:o,...s}=e,l=t.default.useRef(null),u=(0,r.useComposedRefs)(n,l),d=c(v,i);return t.default.useEffect(()=>(d.itemMap.set(l,{ref:l,...s}),()=>void d.itemMap.delete(l))),(0,a.jsx)(y,{...{[m]:""},ref:u,children:o})});return g.displayName=v,[{Provider:d,Slot:p,ItemSlot:g},function(n){let r=c(e+"CollectionConsumer",n);return t.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])},l]}])},94237,e=>{"use strict";let t=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r};e.s(["cva",0,(e,r)=>i=>{var a;if((null==r?void 0:r.variants)==null)return n(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:o,defaultVariants:s}=r,l=Object.keys(o).map(e=>{let n=null==i?void 0:i[e],r=null==s?void 0:s[e];if(null===n)return null;let a=t(n)||t(r);return o[e][a]}),u=i&&Object.entries(i).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return n(e,l,null==r||null==(a=r.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...u}[t]):({...s,...u})[t]===n})?[...e,n,r]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}],94237)},4371,e=>{"use strict";let t=(0,e.i(94237).cva)("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",{variants:{color:{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"},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"}}});e.s(["buttonVariants",0,t])},927,e=>{"use strict";var t=e.i(99873),n=e.i(15300),r=e.i(83137);let i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},a=(e,a)=>{let o=(0,n.forwardRef)(({className:e,size:o=24,color:s="currentColor",children:l,...u},c)=>(0,t.jsxs)("svg",{ref:c,...i,width:o,height:o,stroke:s,className:(0,r.cn)("lucide",e),...u,children:[a.map(([e,t])=>(0,n.createElement)(e,t)),l]}));return o.displayName=e,o},o=a("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a("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"}]]);let s=a("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]),l=a("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]),u=a("search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),c=a("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),d=a("moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),f=a("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"}]]),h=a("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"}]]);a("menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),a("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);let p=a("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),a("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);let v=a("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);a("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),a("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);let m=a("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),y=a("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),g=a("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]),x=a("text",[["path",{d:"M15 18H3",key:"olowqp"}],["path",{d:"M17 6H3",key:"16j9eg"}],["path",{d:"M21 12H3",key:"2avoz0"}]]);a("file",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]),a("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]),a("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),a("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]),a("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]),a("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);let w=a("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),k=a("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);a("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),a("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]),a("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),e.s(["Airplay",0,h,"Check",0,v,"ChevronDown",0,o,"ChevronLeft",0,k,"ChevronRight",0,w,"ChevronsUpDown",0,l,"Copy",0,m,"ExternalLink",0,c,"FileText",0,y,"Hash",0,g,"LoaderCircle",0,p,"Moon",0,d,"Search",0,u,"Sidebar",0,s,"Sun",0,f,"Text",0,x])},61980,33577,e=>{"use strict";var t=e.i(8142),n=e.i(15300),r=e.i(99873),i=(0,n.forwardRef)(({href:e="#",external:n=!(e.startsWith("/")||e.startsWith("#")||e.startsWith(".")),prefetch:i,...a},o)=>n?(0,r.jsx)("a",{ref:o,href:e,rel:"noreferrer noopener",target:"_blank",...a,children:a.children}):(0,r.jsx)(t.Link,{ref:o,href:e,prefetch:i,...a}));i.displayName="Link",e.s(["Link",0,i],33577),e.s([],61980)},17086,e=>{"use strict";e.i(61980);var t=e.i(33577);e.s(["default",()=>t.Link])},73936,74353,e=>{"use strict";var t=e.i(33577);e.s(["default",()=>t.Link],73936),e.s(["isActive",0,function(e,t,n=!0){return e.endsWith("/")&&(e=e.slice(0,-1)),t.endsWith("/")&&(t=t.
1slice(0,-1)),e===t||n&&t.startsWith(`${e}/`)}],74353)},98181,e=>{"use strict";var t=e.i(99873),n=e.i(15300),r=e.i(91359),i=e.i(81405),a=e.i(91967),o=e.i(46352),s=e.i(326),l=e.i(97854),u=e.i(18772),c=e.i(92527),d=e.i(15321),f=e.i(16509),h=e.i(52991),p=e.i(84482),v=e.i(94595),m=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),y=n.forwardRef((e,n)=>(0,t.jsx)(o.Primitive.span,{...e,ref:n,style:{...m,...e.style}}));y.displayName="VisuallyHidden";var g="NavigationMenu",[x,w,k]=(0,f.createCollection)(g),[N,b,M]=(0,f.createCollection)(g),[R,C]=(0,i.createContextScope)(g,[k,M]),[E,j]=R(g),[T,L]=R(g),P=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,value:a,onValueChange:c,defaultValue:d,delayDuration:f=200,skipDelayDuration:h=300,orientation:p="horizontal",dir:v,...m}=e,[y,x]=n.useState(null),w=(0,l.useComposedRefs)(r,e=>x(e)),k=(0,u.useDirection)(v),N=n.useRef(0),b=n.useRef(0),M=n.useRef(0),[R,C]=n.useState(!0),[E,j]=(0,s.useControllableState)({prop:a,onChange:e=>{let t=h>0;""!==e?(window.clearTimeout(M.current),t&&C(!1)):(window.clearTimeout(M.current),M.current=window.setTimeout(()=>C(!0),h)),c?.(e)},defaultProp:d??"",caller:g}),T=n.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>j(""),150)},[j]),L=n.useCallback(e=>{window.clearTimeout(b.current),j(e)},[j]),P=n.useCallback(e=>{E===e?window.clearTimeout(b.current):N.current=window.setTimeout(()=>{window.clearTimeout(b.current),j(e)},f)},[E,j,f]);return n.useEffect(()=>()=>{window.clearTimeout(N.current),window.clearTimeout(b.current),window.clearTimeout(M.current)},[]),(0,t.jsx)(A,{scope:i,isRootMenu:!0,value:E,dir:k,orientation:p,rootNavigationMenu:y,onTriggerEnter:e=>{window.clearTimeout(N.current),R?P(e):L(e)},onTriggerLeave:()=>{window.clearTimeout(N.current),T()},onContentEnter:()=>window.clearTimeout(b.current),onContentLeave:T,onItemSelect:e=>{j(t=>t===e?"":e)},onItemDismiss:()=>j(""),children:(0,t.jsx)(o.Primitive.nav,{"aria-label":"Main","data-orientation":p,dir:k,...m,ref:w})})});P.displayName=g;var S="NavigationMenuSub";n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:i,onValueChange:a,defaultValue:l,orientation:u="horizontal",...c}=e,d=j(S,r),[f,h]=(0,s.useControllableState)({prop:i,onChange:a,defaultProp:l??"",caller:S});return(0,t.jsx)(A,{scope:r,isRootMenu:!1,value:f,dir:d.dir,orientation:u,rootNavigationMenu:d.rootNavigationMenu,onTriggerEnter:e=>h(e),onItemSelect:e=>h(e),onItemDismiss:()=>h(""),children:(0,t.jsx)(o.Primitive.div,{"data-orientation":u,...c,ref:n})})}).displayName=S;var A=e=>{let r,{scope:i,isRootMenu:a,rootNavigationMenu:o,dir:s,orientation:l,children:u,value:c,onItemSelect:f,onItemDismiss:h,onTriggerEnter:p,onTriggerLeave:m,onContentEnter:y,onContentLeave:g}=e,[w,k]=n.useState(null),[N,b]=n.useState(new Map),[M,R]=n.useState(null);return(0,t.jsx)(E,{scope:i,isRootMenu:a,rootNavigationMenu:o,value:c,previousValue:(r=n.useRef({value:c,previous:c}),n.useMemo(()=>(r.current.value!==c&&(r.current.previous=r.current.value,r.current.value=c),r.current.previous),[c])),baseId:(0,d.useId)(),dir:s,orientation:l,viewport:w,onViewportChange:k,indicatorTrack:M,onIndicatorTrackChange:R,onTriggerEnter:(0,v.useCallbackRef)(p),onTriggerLeave:(0,v.useCallbackRef)(m),onContentEnter:(0,v.useCallbackRef)(y),onContentLeave:(0,v.useCallbackRef)(g),onItemSelect:(0,v.useCallbackRef)(f),onItemDismiss:(0,v.useCallbackRef)(h),onViewportContentChange:n.useCallback((e,t)=>{b(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:n.useCallback(e=>{b(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(x.Provider,{scope:i,children:(0,t.jsx)(T,{scope:i,items:N,children:u})})})},I="NavigationMenuList",O=n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...i}=e,a=j(I,r),s=(0,t.jsx)(o.Primitive.ul,{"data-orientation":a.orientation,...i,ref:n});return(0,t.jsx)(o.Primitive.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,t.jsx)(x.Slot,{scope:r,children:a.isRootMenu?(0,t.jsx)(ee,{asChild:!0,children:s}):s})})});O.displayName=I;var z="NavigationMenuItem",[_,D]=R(z),H=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,value:a,...s}=e,l=(0,d.useId)(),u=n.useRef(null),c=n.useRef(null),f=n.useRef(null),h=n.useRef(()=>{}),p=n.useRef(!1),v=n.useCallback((e="start")=>{if(u.current){h.current();let t=er(u.current);t.length&&ei("start"===e?t:t.reverse())}},[]),m=n.useCallback(()=>
1{if(u.current){var e;let t=er(u.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),h.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)(_,{scope:i,value:a||l||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:u,focusProxyRef:f,wasEscapeCloseRef:p,onEntryKeyDown:v,onFocusProxyEnter:v,onRootContentClose:m,onContentFocusOutside:m,children:(0,t.jsx)(o.Primitive.li,{...s,ref:r})})});H.displayName=z;var V="NavigationMenuTrigger",F=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,disabled:s,...u}=e,c=j(V,e.__scopeNavigationMenu),d=D(V,e.__scopeNavigationMenu),f=n.useRef(null),h=(0,l.useComposedRefs)(f,d.triggerRef,r),p=es(c.baseId,d.value),v=el(c.baseId,d.value),m=n.useRef(!1),g=n.useRef(!1),w=d.value===c.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.ItemSlot,{scope:i,value:d.value,children:(0,t.jsx)(en,{asChild:!0,children:(0,t.jsx)(o.Primitive.button,{id:p,disabled:s,"data-disabled":s?"":void 0,"data-state":eo(w),"aria-expanded":w,"aria-controls":v,...u,ref:h,onPointerEnter:(0,a.composeEventHandlers)(e.onPointerEnter,()=>{g.current=!1,d.wasEscapeCloseRef.current=!1}),onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,eu(()=>{s||g.current||d.wasEscapeCloseRef.current||m.current||(c.onTriggerEnter(d.value),m.current=!0)})),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,eu(()=>{s||(c.onTriggerLeave(),m.current=!1)})),onClick:(0,a.composeEventHandlers)(e.onClick,()=>{c.onItemSelect(d.value),g.current=w}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===c.dir?"ArrowLeft":"ArrowRight"}[c.orientation];w&&e.key===t&&(d.onEntryKeyDown(),e.preventDefault())})})})}),w&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y,{"aria-hidden":!0,tabIndex:0,ref:d.focusProxyRef,onFocus:e=>{let t=d.contentRef.current,n=e.relatedTarget,r=n===f.current,i=t?.contains(n);(r||!i)&&d.onFocusProxyEnter(r?"start":"end")}}),c.viewport&&(0,t.jsx)("span",{"aria-owns":v})]})]})});F.displayName=V;var $="navigationMenu.linkSelect",q=n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,active:i,onSelect:s,...l}=e;return(0,t.jsx)(en,{asChild:!0,children:(0,t.jsx)(o.Primitive.a,{"data-active":i?"":void 0,"aria-current":i?"page":void 0,...l,ref:n,onClick:(0,a.composeEventHandlers)(e.onClick,e=>{let t=e.target,n=new CustomEvent($,{bubbles:!0,cancelable:!0});if(t.addEventListener($,e=>s?.(e),{once:!0}),(0,o.dispatchDiscreteCustomEvent)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(G,{bubbles:!0,cancelable:!0});(0,o.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});q.displayName="NavigationMenuLink";var W="NavigationMenuIndicator";n.forwardRef((e,n)=>{let{forceMount:i,...a}=e,o=j(W,e.__scopeNavigationMenu),s=!!o.value;return o.indicatorTrack?r.default.createPortal((0,t.jsx)(c.Presence,{present:i||s,children:(0,t.jsx)(K,{...a,ref:n})}),o.indicatorTrack):null}).displayName=W;var K=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...a}=e,s=j(W,i),l=w(i),[u,c]=n.useState(null),[d,f]=n.useState(null),h="horizontal"===s.orientation,p=!!s.value;n.useEffect(()=>{let e=l(),t=e.find(e=>e.value===s.value)?.ref.current;t&&c(t)},[l,s.value]);let v=()=>{u&&f({size:h?u.offsetWidth:u.offsetHeight,offset:h?u.offsetLeft:u.offsetTop})};return ea(u,v),ea(s.indicatorTrack,v),d?(0,t.jsx)(o.Primitive.div,{"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":s.orientation,...a,ref:r,style:{position:"absolute",...h?{left:0,width:d.size+"px",transform:`translateX(${d.offset}px)`}:{top:0,height:d.size+"px",transform:`translateY(${d.offset}px)`},...a.style}}):null}),U="NavigationMenuContent",B=n.forwardRef((e,n)=>{let{forceMount:r,...i}=e,o=j(U,e.__scopeNavigationMenu),s=D(U,e.__scopeNavigationMenu),u=(0,l.useComposedRefs)(s.contentRef,n),d=s.value===o.value,f={value:s.value,triggerRef:s.triggerRef,focusProxyRef:s.focusProxyRef,wasEscapeCloseRef:s.wasEscapeCloseRef,onContentFocusOutside:s.onContentFocusOutside,onRootContentClose:s.onRootContentClose,...i};return o.viewport?(0,t.jsx)(Z,{forceMount:r,...f,ref:u}):(0,t.jsx)(c.Presence,{present:r||d,children:(0,t.jsx)(Y,{"data-state":eo(d),...f,ref:u,onPointerEnter:(0,a.composeEventHandlers)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,eu(o.onContentLeave)),style:{pointerEvents:!d&&o.isRootMenu?"none":void 0,...f.style}})})});B.displayName=U;var Z=n.forwardRef((e,t)=>
1{let{onViewportContentChange:n,onViewportContentRemove:r}=j(U,e.__scopeNavigationMenu);return(0,p.useLayoutEffect)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,p.useLayoutEffect)(()=>()=>r(e.value),[e.value,r]),null}),G="navigationMenu.rootContentDismiss",Y=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,value:o,triggerRef:s,focusProxyRef:u,wasEscapeCloseRef:c,onRootContentClose:d,onContentFocusOutside:f,...p}=e,v=j(U,i),m=n.useRef(null),y=(0,l.useComposedRefs)(m,r),g=es(v.baseId,o),x=el(v.baseId,o),k=w(i),N=n.useRef(null),{onItemDismiss:b}=v;n.useEffect(()=>{let e=m.current;if(v.isRootMenu&&e){let t=()=>{b(),d(),e.contains(document.activeElement)&&s.current?.focus()};return e.addEventListener(G,t),()=>e.removeEventListener(G,t)}},[v.isRootMenu,e.value,s,b,d]);let M=n.useMemo(()=>{let e=k().map(e=>e.value);"rtl"===v.dir&&e.reverse();let t=e.indexOf(v.value),n=e.indexOf(v.previousValue),r=o===v.value,i=n===e.indexOf(o);if(!r&&!i)return N.current;let a=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(i&&-1!==t)return t>n?"to-start":"to-end"}return null})();return N.current=a,a},[v.previousValue,v.value,v.dir,k,o]);return(0,t.jsx)(ee,{asChild:!0,children:(0,t.jsx)(h.DismissableLayer,{id:x,"aria-labelledby":g,"data-motion":M,"data-orientation":v.orientation,...p,ref:y,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(G,{bubbles:!0,cancelable:!0});m.current?.dispatchEvent(e)},onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>{f();let t=e.target;v.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,a.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,n=k().some(e=>e.ref.current?.contains(t)),r=v.isRootMenu&&v.viewport?.contains(t);(n||r||!v.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=er(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);ei(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():u.current?.focus()}}),onEscapeKeyDown:(0,a.composeEventHandlers)(e.onEscapeKeyDown,e=>{c.current=!0})})})}),X="NavigationMenuViewport",J=n.forwardRef((e,n)=>{let{forceMount:r,...i}=e,a=!!j(X,e.__scopeNavigationMenu).value;return(0,t.jsx)(c.Presence,{present:r||a,children:(0,t.jsx)(Q,{...i,ref:n})})});J.displayName=X;var Q=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,children:s,...u}=e,d=j(X,i),f=(0,l.useComposedRefs)(r,d.onViewportChange),h=L(U,e.__scopeNavigationMenu),[p,v]=n.useState(null),[m,y]=n.useState(null),g=p?p?.width+"px":void 0,x=p?p?.height+"px":void 0,w=!!d.value,k=w?d.value:d.previousValue;return ea(m,()=>{m&&v({width:m.offsetWidth,height:m.offsetHeight})}),(0,t.jsx)(o.Primitive.div,{"data-state":eo(w),"data-orientation":d.orientation,...u,ref:f,style:{pointerEvents:!w&&d.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":g,"--radix-navigation-menu-viewport-height":x,...u.style},onPointerEnter:(0,a.composeEventHandlers)(e.onPointerEnter,d.onContentEnter),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,eu(d.onContentLeave)),children:Array.from(h.items).map(([e,{ref:n,forceMount:r,...i}])=>{let a=k===e;return(0,t.jsx)(c.Presence,{present:r||a,children:(0,t.jsx)(Y,{...i,ref:(0,l.composeRefs)(n,e=>{a&&e&&y(e)})})},e)})})}),ee=n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...i}=e,a=j("FocusGroup",r);return(0,t.jsx)(N.Provider,{scope:r,children:(0,t.jsx)(N.Slot,{scope:r,children:(0,t.jsx)(o.Primitive.div,{dir:a.dir,...i,ref:n})})})}),et=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],en=n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...i}=e,s=b(r),l=j("FocusGroupItem",r);return(0,t.jsx)(N.ItemSlot,{scope:r,children:(0,t.jsx)(o.Primitive.button,{...i,ref:n,onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...et].includes(e.key)){let t=s().map(e=>e.ref.current);if(["rtl"===l.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),et.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>ei(t)),e.preventDefault()}})})})});function er(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ei(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ea(e,t){let n=(0,v.useCallbackRef)(t);(0,p.useLayoutEffect)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function eo(e){return e?"open":"closed"}function es(e,t){return`${e}-trigger-${t}`}function el(e,t){return`${e}-content-${t}`}function eu(e){return t=>
1"mouse"===t.pointerType?e(t):void 0}var ec=e.i(83137);let ed=n.forwardRef(({className:e,children:n,...r},i)=>(0,t.jsx)(H,{ref:i,className:(0,ec.cn)("list-none",e),...r,children:n}));ed.displayName=H.displayName;let ef=n.forwardRef(({className:e,children:n,...r},i)=>(0,t.jsx)(F,{ref:i,className:(0,ec.cn)("data-[state=open]:bg-fd-accent/50",e),...r,children:n}));ef.displayName=F.displayName;let eh=n.forwardRef(({className:e,...n},r)=>(0,t.jsx)(B,{ref:r,className:(0,ec.cn)("absolute inset-x-0 top-0 overflow-auto fd-scroll-container max-h-[80svh] data-[motion=from-end]:animate-fd-enterFromRight data-[motion=from-start]:animate-fd-enterFromLeft data-[motion=to-end]:animate-fd-exitToRight data-[motion=to-start]:animate-fd-exitToLeft",e),...n}));eh.displayName=B.displayName;let ep=n.forwardRef(({className:e,...n},r)=>(0,t.jsx)("div",{ref:r,className:"flex w-full justify-center",children:(0,t.jsx)(J,{...n,className:(0,ec.cn)("relative h-(--radix-navigation-menu-viewport-height) w-full origin-[top_center] overflow-hidden transition-[width,height] duration-300 data-[state=closed]:animate-fd-nav-menu-out data-[state=open]:animate-fd-nav-menu-in",e)})}));ep.displayName=J.displayName,e.s(["NavigationMenu",0,P,"NavigationMenuContent",0,eh,"NavigationMenuItem",0,ed,"NavigationMenuLink",0,q,"NavigationMenuList",0,O,"NavigationMenuTrigger",0,ef,"NavigationMenuViewport",0,ep],98181)},28532,e=>{"use strict";var t=e.i(99873),n=e.i(15300),r=e.i(94237);e.i(61980);var i=e.i(73936),a=e.i(83137),o=e.i(45977),s=e.i(98181),l=e.i(65264),u=e.i(4371);let c=(0,r.cva)("inline-flex items-center gap-1 p-2 text-fd-muted-foreground transition-colors hover:text-fd-accent-foreground data-[active=true]:text-fd-primary [&_svg]:size-4"),d=s.NavigationMenuItem,f=(0,r.cva)("",{variants:{variant:{main:c(),button:(0,u.buttonVariants)({color:"secondary",className:"gap-1.5 [&_svg]:size-4"}),icon:(0,u.buttonVariants)({color:"ghost",size:"icon"})}},defaultVariants:{variant:"main"}});e.s(["Navbar",0,function(e){let[r,i]=(0,n.useState)(""),{isTransparent:o}=(0,l.useNav)();return(0,t.jsx)(s.NavigationMenu,{value:r,onValueChange:i,asChild:!0,children:(0,t.jsxs)("header",{id:"nd-nav",...e,className:(0,a.cn)("fixed top-(--fd-banner-height) z-40 inset-x-0 backdrop-blur-lg border-b transition-colors *:mx-auto *:max-w-fd-container",r.length>0?"shadow-lg":"shadow-sm",(!o||r.length>0)&&"bg-fd-background/80",e.className),children:[(0,t.jsx)(s.NavigationMenuList,{className:"flex h-14 w-full items-center px-4",asChild:!0,children:(0,t.jsx)("nav",{children:e.children})}),(0,t.jsx)(s.NavigationMenuViewport,{className:"text-fd-popover-foreground"})]})})},"NavbarLink",0,function({item:e,variant:n,...r}){return(0,t.jsx)(s.NavigationMenuItem,{children:(0,t.jsx)(s.NavigationMenuLink,{asChild:!0,children:(0,t.jsx)(o.BaseLinkItem,{...r,item:e,className:(0,a.cn)(f({variant:n}),r.className),children:r.children})})})},"NavbarMenu",0,d,"NavbarMenuContent",0,function(e){return(0,t.jsx)(s.NavigationMenuContent,{...e,className:(0,a.cn)("grid grid-cols-1 gap-2 p-4 md:grid-cols-2 lg:grid-cols-3",e.className),children:e.children})},"NavbarMenuLink",0,function(e){return(0,t.jsx)(s.NavigationMenuLink,{asChild:!0,children:(0,t.jsx)(i.default,{...e,className:(0,a.cn)("flex flex-col gap-2 rounded-lg border bg-fd-card p-3 transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground",e.className),children:e.children})})},"NavbarMenuTrigger",0,function(e){return(0,t.jsx)(s.NavigationMenuTrigger,{...e,className:(0,a.cn)(c(),"rounded-md",e.className),children:e.children})}])},72523,e=>{"use strict";var t=e.i(99873),n=e.i(45977),r=e.i(83137),i=e.i(98181);e.i(61980);var a=e.i(73936),o=e.i(94237),s=e.i(4371);let l=(0,o.cva)("",{variants:{variant:{main:"inline-flex items-center gap-2 py-1.5 transition-colors hover:text-fd-popover-foreground
1/50 data-[active=true]:font-medium data-[active=true]:text-fd-primary [&_svg]:size-4",icon:(0,s.buttonVariants)({size:"icon",color:"ghost"}),button:(0,s.buttonVariants)({color:"secondary",className:"gap-1.5 [&_svg]:size-4"})}},defaultVariants:{variant:"main"}}),u=i.NavigationMenuItem;e.s(["Menu",0,u,"MenuContent",0,function(e){return(0,t.jsx)(i.NavigationMenuContent,{...e,className:(0,r.cn)("flex flex-col p-4",e.className),children:e.children})},"MenuLinkItem",0,function e({item:o,...s}){if("custom"===o.type)return(0,t.jsx)("div",{className:(0,r.cn)("grid",s.className),children:o.children});if("menu"===o.type){let n=(0,t.jsxs)(t.Fragment,{children:[o.icon,o.text]});return(0,t.jsxs)("div",{className:(0,r.cn)("mb-4 flex flex-col",s.className),children:[(0,t.jsx)("p",{className:"mb-1 text-sm text-fd-muted-foreground",children:o.url?(0,t.jsx)(i.NavigationMenuLink,{asChild:!0,children:(0,t.jsx)(a.default,{href:o.url,children:n})}):n}),o.items.map((n,r)=>(0,t.jsx)(e,{item:n},r))]})}return(0,t.jsx)(i.NavigationMenuLink,{asChild:!0,children:(0,t.jsxs)(n.BaseLinkItem,{item:o,className:(0,r.cn)(l({variant:o.type}),s.className),"aria-label":"icon"===o.type?o.label:void 0,children:[o.icon,"icon"===o.type?void 0:o.text]})})},"MenuTrigger",0,function({enableHover:e=!1,...n}){return(0,t.jsx)(i.NavigationMenuTrigger,{...n,onPointerMove:e?void 0:e=>e.preventDefault(),children:n.children})}])}]);
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.