PageSourceSearch

https://smartkit.ai/_next/static/chunks/d4cb8bb25e949689.js

js smartkit.ai collected 2026-10-05 15:06:13 UTC 65,586 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,531278,e=>{"use strict";let t=(0,e.i(475254).default)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],531278)},635804,e=>{"use strict";var t=e.i(271645),r=e.i(934620);function n(e){let[n,i]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,n;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,n=t.blockSize}else r=e.offsetWidth,n=e.offsetHeight;i({width:r,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),n}e.s(["useSize",()=>n])},934620,e=>{"use strict";var t=e.i(271645),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>r])},30207,e=>{"use strict";var t=e.i(271645);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}e.s(["useCallbackRef",()=>r])},981140,369340,e=>{"use strict";function t(e,r,{checkForDefaultPrevented:n=!0}={}){return function(t){if(e?.(t),!1===n||!t.defaultPrevented)return r?.(t)}}"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",()=>t],981140);var r=e.i(271645),n=e.i(934620);r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var i=r[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;function a({prop:e,defaultProp:t,onChange:n=()=>{},caller:a}){let[s,l,o]=function({defaultProp:e,onChange:t}){let[n,a]=r.useState(e),s=r.useRef(n),l=r.useRef(t);return i(()=>{l.current=t},[t]),r.useEffect(()=>{s.current!==n&&(l.current?.(n),s.current=n)},[n,s]),[n,a,l]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:s;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.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.`)}t.current=u},[u,a])}return[c,r.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&o.current?.(r)}else l(t)},[u,e,l,o])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>a],369340)},610772,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=t[" useId ".trim().toString()]||(()=>void 0),i=0;function a(e){let[a,s]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||s(e=>e??String(i++))},[e]),e||(a?`radix-${a}`:"")}e.s(["useId",()=>a])},643531,e=>{"use strict";let t=(0,e.i(475254).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>t],643531)},664659,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",()=>t],664659)},178583,e=>{"use strict";let t=(0,e.i(475254).default)("FileText",[["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"}]]);e.s(["FileText",()=>t],178583)},607486,e=>{"use strict";let t=(0,e.i(475254).default)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);e.s(["Building2",()=>t],607486)},39312,e=>{"use strict";let t=(0,e.i(475254).default)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",()=>t],39312)},98919,e=>{"use strict";let t=(0,e.i(475254).default)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
1y:"oel41y"}]]);e.s(["Shield",()=>t],98919)},167881,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(991918),i=e.i(225913),a=e.i(647163);let s=(0,i.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:ring-offset-slate-950 dark:focus-visible:ring-slate-300",{variants:{variant:{default:"bg-slate-900 text-slate-50 hover:bg-slate-900/90 dark:bg-slate-50 dark:text-slate-900 dark:hover:bg-slate-50/90",destructive:"bg-red-500 text-slate-50 hover:bg-red-500/90 dark:bg-red-900 dark:text-slate-50 dark:hover:bg-red-900/90",outline:"border border-slate-200 bg-white hover:bg-slate-100 hover:text-slate-900 dark:border-slate-800 dark:bg-slate-950 dark:hover:bg-slate-800 dark:hover:text-slate-50",secondary:"bg-slate-100 text-slate-900 hover:bg-slate-100/80 dark:bg-slate-800 dark:text-slate-50 dark:hover:bg-slate-800/80",ghost:"hover:bg-slate-100 hover:text-slate-900 dark:hover:bg-slate-800 dark:hover:text-slate-50",link:"text-slate-900 underline-offset-4 hover:underline dark:text-slate-50",action:"rounded-full bg-clay font-label uppercase tracking-[0.08em] text-white hover:bg-clay-hover focus-visible:ring-clay dark:focus-visible:ring-clay-tint"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10",pill:"h-11 gap-2 px-6 text-[0.8125rem]"}},defaultVariants:{variant:"default",size:"default"}}),l=r.forwardRef(({className:e,variant:r,size:i,asChild:l=!1,...o},u)=>{let c=l?n.Slot:"button";return(0,t.jsx)(c,{className:(0,a.cn)(s({variant:r,size:i,className:e})),ref:u,...o})});l.displayName="Button",e.s(["Button",()=>l,"buttonVariants",()=>s])},991918,e=>{"use strict";var t=e.i(271645),r=e.i(820783),n=e.i(843476),i=Symbol.for("react.lazy"),a=t[" use ".trim().toString()];function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function l(e){var i;let l,o=(i=e,(l=t.forwardRef((e,n)=>{let{children:i,...l}=e;if(s(i)&&"function"==typeof a&&(i=a(i._payload)),t.isValidElement(i)){var o;let e,a,s=(o=i,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(l,i.props);return i.type!==t.Fragment&&(u.ref=n?(0,r.composeRefs)(n,s):s),t.cloneElement(i,u)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,l),u=t.forwardRef((e,r)=>{let{children:i,...l}=e;s(i)&&"function"==typeof a&&(i=a(i._payload));let u=t.Children.toArray(i),d=u.find(c);if(d){let e=d.props.children,i=u.map(r=>r!==d?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(o,{...l,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,n.jsx)(o,{...l,ref:r,children:i})});return u.displayName=`${e}.Slot`,u}var o=l("Slot"),u=Symbol("radix.slottable");function c(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}e.s(["Slot",()=>o,"createSlot",()=>l])},225913,e=>{"use strict";let t=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,r=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n);else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(n&&(n+=" "),n+=t);return n};e.s(["cva",0,(e,n)=>i=>{var a;if((null==n?void 0:n.variants)==null)return r(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:s,defaultVariants:l}=n,o=Object.keys(s).map(e=>{let r=null==i?void 0:i[e],n=null==l?void 0:l[e];
1if(null===r)return null;let a=t(r)||t(n);return s[e][a]}),u=i&&Object.entries(i).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return r(e,o,null==n||null==(a=n.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...u}[t]):({...l,...u})[t]===r})?[...e,r,n]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}],225913)},475254,e=>{"use strict";var t=e.i(271645);let r=(...e)=>e.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ");var n={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"};let i=(0,t.forwardRef)(({color:e="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:l="",children:o,iconNode:u,...c},d)=>(0,t.createElement)("svg",{ref:d,...n,width:i,height:i,stroke:e,strokeWidth:s?24*Number(a)/Number(i):a,className:r("lucide",l),...c},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(o)?o:[o]])),a=(e,n)=>{let a=(0,t.forwardRef)(({className:a,...s},l)=>(0,t.createElement)(i,{ref:l,iconNode:n,className:r(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,a),...s}));return a.displayName=`${e}`,a};e.s(["default",()=>a],475254)},820783,e=>{"use strict";var t=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let t=0;t<i.length;t++){let n=i[t];"function"==typeof n?n():r(e[t],null)}}}}function i(...e){return t.useCallback(n(...e),e)}e.s(["composeRefs",()=>n,"useComposedRefs",()=>i])},37727,e=>{"use strict";let t=(0,e.i(475254).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>t],37727)},296626,e=>{"use strict";var t=e.i(271645),r=e.i(820783),n=e.i(934620),i=e=>{var i;let s,l,{present:o,children:u}=e,c=function(e){var r,i;let[s,l]=t.useState(),o=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),[d,f]=(r=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,r));return t.useEffect(()=>{let e=a(o.current);c.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>
1{let t=o.current,r=u.current;if(r!==e){let n=c.current,i=a(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,r=r=>{let n=a(o.current).includes(CSS.escape(r.animationName));if(r.target===s&&n&&(f("ANIMATION_END"),!u.current)){let r=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=r)})}},n=e=>{e.target===s&&(c.current=a(o.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}f("ANIMATION_END")},[s,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{o.current=e?getComputedStyle(e):null,l(e)},[])}}(o),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),f=(0,r.useComposedRefs)(c.ref,(i=d,(l=(s=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?i.ref:(l=(s=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in s&&s.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",()=>i])},630374,326999,e=>{"use strict";let t,r;var n,i=e.i(843476),a=e.i(271645),s=e.i(981140),l=e.i(820783),o=e.i(610772),u=e.i(369340),c=e.i(726330),d=e.i(765491),f=e.i(774606),p=e.i(296626);function h(e){var t;let r,n=(t=e,(r=a.forwardRef((e,t)=>{let{children:r,...n}=e;if(a.isValidElement(r)){var i;let e,s,o=(i=r,(s=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(s=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==a.Fragment&&(u.ref=t?(0,l.composeRefs)(t,o):o),a.cloneElement(r,u)}return a.Children.count(r)>1?a.Children.only(null):null})).displayName=`${t}.SlotClone`,r),s=a.forwardRef((e,t)=>{let{children:r,...s}=e,l=a.Children.toArray(r),o=l.find(y);if(o){let e=o.props.children,r=l.map(t=>t!==o?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,i.jsx)(n,{...s,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,r):null})}return(0,i.jsx)(n,{...s,ref:t,children:r})});return s.displayName=`${e}.Slot`,s}e.i(174080);var m=Symbol("radix.slottable");function y(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===m}var g=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=h(`Primitive.${t}`),n=a.forwardRef((e,n)=>{let{asChild:a,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a?r:t,{...s,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),x=e.i(303536),v=e.i(985369),b=e.i(186312),k="Dialog",[w,j]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>a.createContext(e));return function(r){let n=r?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let s=a.createContext(n),l=r.length;r=[...r,n];let o=t=>{let{scope:r,children:n,...o}=t,u=r?.[e]?.[l]||s,c=a.useMemo(()=>o,Object.values(o));return(0,i.jsx)(u.Provider,{value:c,children:n})};return o.displayName=t+"Provider",[o,function(r,i){let o=i?.[e]?.[l]||s,u=a.useContext(o);if(u)return u;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(k),[N,C]=w(k),R=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,d=a.useRef(null),f=a.useRef(null),[p,h]=(0,u.useControllableState)({prop:n,defaultProp:s??!1,onChange:l,caller:k});return(0,i.jsx)(N,{scope:t,triggerRef:d,contentRef:f,contentId:(0,o.useId)(),titleId:(0,o.useId)(),descriptionId:(0,o.useId)(),open:p,onOpenChange:h,onOpenToggle:a.useCallback(()=>h(e=>!e),[h]),modal:c,children:r})};R.displayName=k;var M="DialogTrigger",S=a.forwardRef((e,t)=>
1{let{__scopeDialog:r,...n}=e,a=C(M,r),o=(0,l.useComposedRefs)(t,a.triggerRef);return(0,i.jsx)(g.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Z(a.open),...n,ref:o,onClick:(0,s.composeEventHandlers)(e.onClick,a.onOpenToggle)})});S.displayName=M;var A="DialogPortal",[E,O]=w(A,{forceMount:void 0}),D=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:s}=e,l=C(A,t);return(0,i.jsx)(E,{scope:t,forceMount:r,children:a.Children.map(n,e=>(0,i.jsx)(p.Presence,{present:r||l.open,children:(0,i.jsx)(f.Portal,{asChild:!0,container:s,children:e})}))})};D.displayName=A;var I="DialogOverlay",L=a.forwardRef((e,t)=>{let r=O(I,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,s=C(I,e.__scopeDialog);return s.modal?(0,i.jsx)(p.Presence,{present:n||s.open,children:(0,i.jsx)(P,{...a,ref:t})}):null});L.displayName=I;var T=h("DialogOverlay.RemoveScroll"),P=a.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=C(I,r);return(0,i.jsx)(v.RemoveScroll,{as:T,allowPinchZoom:!0,shards:[a.contentRef],children:(0,i.jsx)(g.div,{"data-state":Z(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),_="DialogContent",z=a.forwardRef((e,t)=>{let r=O(_,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,s=C(_,e.__scopeDialog);return(0,i.jsx)(p.Presence,{present:n||s.open,children:s.modal?(0,i.jsx)(F,{...a,ref:t}):(0,i.jsx)($,{...a,ref:t})})});z.displayName=_;var F=a.forwardRef((e,t)=>{let r=C(_,e.__scopeDialog),n=a.useRef(null),o=(0,l.useComposedRefs)(t,r.contentRef,n);return a.useEffect(()=>{let e=n.current;if(e)return(0,b.hideOthers)(e)},[]),(0,i.jsx)(H,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,s.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,s.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,s.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),$=a.forwardRef((e,t)=>{let r=C(_,e.__scopeDialog),n=a.useRef(!1),s=a.useRef(!1);return(0,i.jsx)(H,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,s.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(s.current=!0));let i=t.target;r.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&s.current&&t.preventDefault()}})}),H=a.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:o,...u}=e,f=C(_,r),p=a.useRef(null),h=(0,l.useComposedRefs)(t,p);return(0,x.useFocusGuards)(),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:o,children:(0,i.jsx)(c.DismissableLayer,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":Z(f.open),...u,ref:h,onDismiss:()=>f.onOpenChange(!1)})}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Y,{titleId:f.titleId}),(0,i.jsx)(Q,{contentRef:p,descriptionId:f.descriptionId})]})]})}),V="DialogTitle",U=a.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=C(V,r);return(0,i.jsx)(g.h2,{id:a.titleId,...n,ref:t})});U.displayName=V;var W="DialogDescription",B=a.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=C(W,r);return(0,i.jsx)(g.p,{id:a.descriptionId,...n,ref:t})});B.displayName=W;var q="DialogClose",G=a.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=C(q,r);return(0,i.jsx)(g.button,{type:"button",...n,ref:t,onClick:(0,s.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function Z(e){return e?"open":"closed"}G.displayName=q;var K="DialogTitleWarning",[X,J]=(n={contentName:_,titleName:V,docsSlug:"dialog"},t=a.createContext(n),(r=e=>{let{children:r,...n}=e,s=a.useMemo(()=>n,Object.values(n));return(0,i.jsx)(t.Provider,{value:s,children:r})}).displayName=K+"Provider",[r,function(e){let r=a.useContext(t);if(r)return r;if(void 0!==n)return n;throw Error(`\`${e}\` must be used within \`${K}\``)}]),Y=({titleId:e})=>{let t=J(K),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return a.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Q=({contentRef:e,descriptionId:t})=>{let r=J("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return a.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};e.s(["Close",()=>G,"Content",()=>z,"Description",()=>B,"Overlay",()=>L,"Portal",()=>D,"Root",()=>R,"Title",()=>U,"Trigger",()=>S],326999);var ee=e.i(37727),et=e.i(647163);let er=a.forwardRef(({className:e,...t},r)=>(0,i.jsx)(L,{ref:r,className:(0,et.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));er.displayName=L.displayName;let en=a.forwardRef(({className:e,children:t,...r},n)=>(0,i.jsxs)(D,{children:[(0,i.jsx)(er,{}),(0,i.jsxs)(z,{ref:n,className:(0,et.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-slate-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
5nded-lg dark:border-slate-800 dark:bg-slate-950",e),...r,children:[t,(0,i.jsxs)(G,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-slate-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-slate-100 data-[state=open]:text-slate-500 dark:ring-offset-slate-950 dark:focus:ring-slate-300 dark:data-[state=open]:bg-slate-800 dark:data-[state=open]:text-slate-400",children:[(0,i.jsx)(ee.X,{className:"h-4 w-4"}),(0,i.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));en.displayName=z.displayName;let ei=({className:e,...t})=>(0,i.jsx)("div",{className:(0,et.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ei.displayName="DialogHeader";let ea=({className:e,...t})=>(0,i.jsx)("div",{className:(0,et.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});ea.displayName="DialogFooter";let es=a.forwardRef(({className:e,...t},r)=>(0,i.jsx)(U,{ref:r,className:(0,et.cn)("text-lg font-semibold leading-none tracking-tight",e),...t}));es.displayName=U.displayName;let el=a.forwardRef(({className:e,...t},r)=>(0,i.jsx)(B,{ref:r,className:(0,et.cn)("text-sm text-slate-500 dark:text-slate-400",e),...t}));el.displayName=B.displayName,e.s(["Dialog",()=>R,"DialogClose",()=>G,"DialogContent",()=>en,"DialogDescription",()=>el,"DialogFooter",()=>ea,"DialogHeader",()=>ei,"DialogOverlay",()=>er,"DialogPortal",()=>D,"DialogTitle",()=>es,"DialogTrigger",()=>S],630374)},107233,e=>{"use strict";let t=(0,e.i(475254).default)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",()=>t],107233)},464077,e=>{"use strict";e.s(["brandName",0,"DeepStation"])},755838,(e,t,r)=>{"use strict";var n=e.r(271645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,s=n.useEffect,l=n.useLayoutEffect,o=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return l(function(){i.value=r,i.getSnapshot=t,u(i)&&c({inst:i})},[e,r,t]),s(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},802239,(e,t,r)=>{"use strict";t.exports=e.r(755838)},63270,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(30207),i=e.i(934620);e.i(174080);var a=e.i(991918),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,a.createSlot)(`Primitive.${n}`),s=r.forwardRef((e,r)=>{let{asChild:a,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(a?i:n,{...s,ref:r})});return s.displayName=`Primitive.${n}`,{...e,[n]:s}},{}),l=e.i(802239);function o(){return()=>{}}var u="Avatar",[c,d]=function(e,n=[]){let i=[],a=()=>{let t=i.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return a.scopeName=e,[function(n,a){let s=r.createContext(a);s.displayName=n+"Context";let l=i.length;i=[...i,a];let o=n=>{let{scope:i,children:a,...o}=n,u=i?.[e]?.[l]||s,c=r.useMemo(()=>o,Object.values(o));return(0,t.jsx)(u.Provider,{value:c,children:a})};return o.displayName=n+"Provider",[o,function(t,i){let o=i?.[e]?.[l]||s,u=r.useContext(o);if(u)return u;if(void 0!==a)return a;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(a,...n)]}(u),[f,p]=c(u),h=r.forwardRef((e,n)=>{let{__scopeAvatar:i,...a}=e,[l,o]=r.useState("idle");return(0,t.jsx)(f,{scope:i,imageLoadingStatus:l,onImageLoadingStatusChange:o,children:(0,t.jsx)(s.span,{...a,ref:n})})});h.displayName=u;var m="AvatarImage",y=r.forwardRef((e,a)=>{let{__scopeAvatar:u,src:c,onLoadingStatusChange:d=()=>{},...f}=e,h=p(m,u),y=function(e,{referrerPolicy:t,crossOrigin:n}){let a=(0,l.useSyncExternalStore)(o,()=>!0,()=>
5!1),s=r.useRef(null),u=a?(s.current||(s.current=new window.Image),s.current):null,[c,d]=r.useState(()=>v(u,e));return(0,i.useLayoutEffect)(()=>{d(v(u,e))},[u,e]),(0,i.useLayoutEffect)(()=>{let e=e=>()=>{d(e)};if(!u)return;let r=e("loaded"),i=e("error");return u.addEventListener("load",r),u.addEventListener("error",i),t&&(u.referrerPolicy=t),"string"==typeof n&&(u.crossOrigin=n),()=>{u.removeEventListener("load",r),u.removeEventListener("error",i)}},[u,n,t]),c}(c,f),g=(0,n.useCallbackRef)(e=>{d(e),h.onImageLoadingStatusChange(e)});return(0,i.useLayoutEffect)(()=>{"idle"!==y&&g(y)},[y,g]),"loaded"===y?(0,t.jsx)(s.img,{...f,ref:a,src:c}):null});y.displayName=m;var g="AvatarFallback",x=r.forwardRef((e,n)=>{let{__scopeAvatar:i,delayMs:a,...l}=e,o=p(g,i),[u,c]=r.useState(void 0===a);return r.useEffect(()=>{if(void 0!==a){let e=window.setTimeout(()=>c(!0),a);return()=>window.clearTimeout(e)}},[a]),u&&"loaded"!==o.imageLoadingStatus?(0,t.jsx)(s.span,{...l,ref:n}):null});function v(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}x.displayName=g;var b=e.i(647163);let k=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(h,{ref:n,className:(0,b.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...r}));k.displayName=h.displayName;let w=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(y,{ref:n,className:(0,b.cn)("aspect-square h-full w-full",e),...r}));w.displayName=y.displayName;let j=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(x,{ref:n,className:(0,b.cn)("flex h-full w-full items-center justify-center rounded-full bg-slate-100 dark:bg-slate-800",e),...r}));j.displayName=x.displayName,e.s(["Avatar",()=>k,"AvatarFallback",()=>j,"AvatarImage",()=>w],63270)},842727,e=>{"use strict";var t=e.i(271645),r=e.i(981140),n=e.i(843476);function i(e,r=[]){let a=[],s=()=>{let r=a.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return s.scopeName=e,[function(r,i){let s=t.createContext(i),l=a.length;a=[...a,i];let o=r=>{let{scope:i,children:a,...o}=r,u=i?.[e]?.[l]||s,c=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(u.Provider,{value:c,children:a})};return o.displayName=r+"Provider",[o,function(n,a){let o=a?.[e]?.[l]||s,u=t.useContext(o);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}(s,...r)]}var a=e.i(820783);function s(e){var r;let i,s=(r=e,(i=t.forwardRef((e,r)=>{let{children:n,...i}=e;if(t.isValidElement(n)){var s;let e,l,o=(s=n,(l=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(l=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(i,n.props);return n.type!==t.Fragment&&(u.ref=r?(0,a.composeRefs)(r,o):o),t.cloneElement(n,u)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,i),l=t.forwardRef((e,r)=>{let{children:i,...a}=e,l=t.Children.toArray(i),u=l.find(o);if(u){let e=u.props.children,i=l.map(r=>r!==u?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(s,{...a,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,n.jsx)(s,{...a,ref:r,children:i})});return l.displayName=`${e}.Slot`,l}var l=Symbol("radix.slottable");function o(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}var u=new WeakMap;function c(e,t){var r,n;let i,a,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,n=t,i=r.length,(s=(a=d(n))>=0?a:i+a)<0||s>=i?-1:s);return -1===l?void 0:e[l]}function d(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],u.set(this,!0)}set(e,t){return u.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),a=this.#e.length,s=d(e),l=s>=0?s:a+s,o=l<0||l>=a?-1:l;if(o===this.size||i&&o===this.size-1||-1===o)return this.set(t,r),this;let u=this.size+ +!i;s<0&&l++;let c=[...this.#e],f=!1;for(let e=l;e<u;e++)if(l===e){let a=c[e];c[e]===t&&(a=c[e+1]),i&&this.delete(t),n=this.get(a),this.set(t,r)}else{f||c[e-1]!==t||(f=!0);let r=c[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}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,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}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=c(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return c(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
5n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}});var f=e.i(610772);e.i(174080);var p=Symbol("radix.slottable");function h(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}var m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var i,s;let l,o,u,c=(s=i=`Primitive.${r}`,(l=t.forwardRef((e,r)=>{let{children:n,...i}=e;if(t.isValidElement(n)){var s;let e,l,o=(s=n,(l=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(l=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(i,n.props);return n.type!==t.Fragment&&(u.ref=r?(0,a.composeRefs)(r,o):o),t.cloneElement(n,u)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${s}.SlotClone`,o=l,(u=t.forwardRef((e,r)=>{let{children:i,...a}=e,s=t.Children.toArray(i),l=s.find(h);if(l){let e=l.props.children,i=s.map(r=>r!==l?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(o,{...a,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,n.jsx)(o,{...a,ref:r,children:i})})).displayName=`${i}.Slot`,u),d=t.forwardRef((e,t)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(i?c:r,{...a,ref:t})});return d.displayName=`Primitive.${r}`,{...e,[r]:d}},{}),y=e.i(30207),g=e.i(369340),x=t.createContext(void 0),v="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},k="RovingFocusGroup",[w,j,N]=function(e){let r=e+"CollectionProvider",[l,o]=i(r),[u,c]=l(r,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:i}=e,a=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,n.jsx)(u,{scope:r,itemMap:s,collectionRef:a,children:i})};d.displayName=r;let f=e+"CollectionSlot",p=s(f),h=t.default.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=c(f,r),l=(0,a.useComposedRefs)(t,s.collectionRef);return(0,n.jsx)(p,{ref:l,children:i})});h.displayName=f;let m=e+"CollectionItemSlot",y="data-radix-collection-item",g=s(m),x=t.default.forwardRef((e,r)=>{let{scope:i,children:s,...l}=e,o=t.default.useRef(null),u=(0,a.useComposedRefs)(r,o),d=c(m,i);return t.default.useEffect(()=>(d.itemMap.set(o,{ref:o,...l}),()=>void d.itemMap.delete(o))),(0,n.jsx)(g,{...{[y]:""},ref:u,children:s})});return x.displayName=m,[{Provider:d,Slot:h,ItemSlot:x},function(r){let n=c(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},o]}(k),[C,R]=i(k,[N]),[M,S]=C(k),A=t.forwardRef((e,t)=>(0,n.jsx)(w.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(w.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(E,{...e,ref:t})})}));A.displayName=k;var E=t.forwardRef((e,i)=>{let s,{__scopeRovingFocusGroup:l,orientation:o,loop:u=!1,dir:c,currentTabStopId:d,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:p,onEntryFocus:h,preventScrollOnEntryFocus:w=!1,...
5N}=e,C=t.useRef(null),R=(0,a.useComposedRefs)(i,C),S=(s=t.useContext(x),c||s||"ltr"),[A,E]=(0,g.useControllableState)({prop:d,defaultProp:f??null,onChange:p,caller:k}),[O,D]=t.useState(!1),I=(0,y.useCallbackRef)(h),T=j(l),P=t.useRef(!1),[_,z]=t.useState(0);return t.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(v,I),()=>e.removeEventListener(v,I)},[I]),(0,n.jsx)(M,{scope:l,orientation:o,dir:S,loop:u,currentTabStopId:A,onItemFocus:t.useCallback(e=>E(e),[E]),onItemShiftTab:t.useCallback(()=>D(!0),[]),onFocusableItemAdd:t.useCallback(()=>z(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>z(e=>e-1),[]),children:(0,n.jsx)(m.div,{tabIndex:O||0===_?-1:0,"data-orientation":o,...N,ref:R,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{P.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!O){let t=new CustomEvent(v,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=T().filter(e=>e.focusable);L([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),w)}}P.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>D(!1))})})}),O="RovingFocusGroupItem",D=t.forwardRef((e,i)=>{let{__scopeRovingFocusGroup:a,focusable:s=!0,active:l=!1,tabStopId:o,children:u,...c}=e,d=(0,f.useId)(),p=o||d,h=S(O,a),y=h.currentTabStopId===p,g=j(a),{onFocusableItemAdd:x,onFocusableItemRemove:v,currentTabStopId:b}=h;return t.useEffect(()=>{if(s)return x(),()=>v()},[s,x,v]),(0,n.jsx)(w.ItemSlot,{scope:a,id:p,focusable:s,active:l,children:(0,n.jsx)(m.span,{tabIndex:y?0:-1,"data-orientation":h.orientation,...c,ref:i,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{s?h.onItemFocus(p):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>h.onItemFocus(p)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return I[i]}(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let a=i.indexOf(e.currentTarget);i=h.loop?(r=i,n=a+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(a+1)}setTimeout(()=>L(i))}}),children:"function"==typeof u?u({isCurrentTabStop:y,hasTabStop:null!=b}):u})})});D.displayName=O;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function L(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",()=>D,"Root",()=>A,"createRovingFocusGroupScope",()=>R],842727)},114683,e=>{"use strict";let t=(0,e.i(475254).default)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Circle",()=>t],114683)},63727,e=>{"use strict";let t=(0,e.i(475254).default)("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);e.s(["Briefcase",()=>t],63727)},323585,e=>{"use strict";let t=(0,e.i(475254).default)("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);e.s(["MoreVertical",()=>t],323585)},972520,e=>{"use strict";let t=(0,e.i(475254).default)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],972520)},209912,e=>{"use strict";let t=(0,e.i(475254).default)("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);e.s(["Rocket",()=>t],209912)},378021,e=>{"use strict";let t=(0,e.i(475254).default)("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);e.s(["Twitter",()=>t],378021)},463059,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>t],463059)},373375,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",()=>t],373375)},292270,e=>{"use strict";let t=(0,e.i(475254).default)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);e.s(["LogOut",()=>t],292270)},803408,e=>{"use strict";let t=(0,e.i(475254).default)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);e.s(["default",()=>t])},248256,e=>{"use strict";let t=(0,e.i(475254).default)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",()=>t],248256)},878894,e=>{"use strict";let t=(0,e.i(475254).default)("TriangleAlert",[["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"}]]);e.s(["AlertTriangle",()=>t],878894)},357675,e=>{"use strict";var t=e.i(843476),r=e.i(878894),n=e.i(972520),i=e.i(643531),a=e.i(373375),s=e.i(463059),l=e.i(475254);let o=(0,l.default)("Command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}
5]]),u=(0,l.default)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]),c=(0,l.default)("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"}]]);var d=e.i(178583);let f=(0,l.default)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var p=e.i(803408),p=p;let h=(0,l.default)("Laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]]);var m=e.i(531278);let y=(0,l.default)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);var g=e.i(323585);let x=(0,l.default)("Pizza",[["path",{d:"M15 11h.01",key:"rns66s"}],["path",{d:"M11 15h.01",key:"k85uqc"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"m2 16 20 6-6-20A20 20 0 0 0 2 16",key:"e4slt2"}],["path",{d:"M5.71 17.11a17.04 17.04 0 0 1 11.4-11.4",key:"rerf8f"}]]);var v=e.i(107233);let b=(0,l.default)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),k=(0,l.default)("SunMedium",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]]),w=(0,l.default)("Trash",[["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"}]]);var j=e.i(378021);let N=(0,l.default)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),C={logo:o,close:e.i(37727).X,spinner:m.Loader2,chevronLeft:a.ChevronLeft,chevronRight:s.ChevronRight,trash:w,post:d.FileText,page:c,media:p.default,settings:b,billing:u,ellipsis:g.MoreVertical,add:v.Plus,warning:r.AlertTriangle,user:N,arrowRight:n.ArrowRight,help:f,pizza:x,sun:k,moon:y,laptop:h,gitHub:({...e})=>(0,t.jsx)("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fab","data-icon":"github",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512",...e,children:(0,t.jsx)("path",{fill:"currentColor",d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"})}),microsoft:({...e})=>(0,t.jsxs)("svg",{"aria-hidden":"true",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 21",...e,children:[(0,t.jsx)("rect",{x:"1",y:"1",width:"9",height:"9",fill:"#F25022"}),(0,t.jsx)("rect",{x:"11",y:"1",width:"9",height:"9",fill:"#7FBA00"}),(0,t.jsx)("rect",{x:"1",y:"11",width:"9",height:"9",fill:"#00A4EF"}),(0,t.jsx)("rect",{x:"11",y:"11",width:"9",height:"9",fill:"#FFB900"})]}),twitter:j.Twitter,check:i.Check};e.s(["Icons",0,C],357675)},492161,e=>{"use strict";let t=(0,e.i(475254).default)("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"}]]);e.s(["Menu",()=>t],492161)},662031,718364,e=>{"use strict";var t=e.i(475254);let r=(0,t.default)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);e.s(["Share2",()=>r],662031);let n=(0,t.default)("UserPen",[["path",{d:"M11.5 15H7a4 4 0 0 0-4 4v2",key:"15lzij"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}]]);e.s(["UserPen",()=>n],718364)},371844,e=>{"use strict";var t=e.i(843476),r=e.i(861745),n=e.i(948148),i=e.i(456904),a=e.i(618566),s=e.i(160889),l=e.i(248256),o=e.i(463415),u=e.i(647163);let c={en:"English",es:"Español",pt:"Português",fr:"Français",de:"Deutsch",ja:"日本語 (日本)",zh:"中文 (简体)",ko:"한국어 (대한민국)",it:"Italiano",nl:"Nederlands",hi:"हिन्दी (भारत)"};function d({className:e}){let d=(0,r.useLocale)(),f=(0,i.useRouter)(),p=(0,a.useRouter)(),h=(0,i.usePathname)(),m=(0,n.useTranslations)("LanguagePicker");return(0,t.jsxs)(o.DropdownMenu,{children:[(0,t.jsx)(o.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)("button",{className:(0,u.cn)("flex h-11 min-w-11 items-center justify-center gap-1.5 px-2 py-1.5 text-sm rounded-lg text-slate-700 dark:text-white/80 hover:bg-slate-100 dar
5k:hover:bg-white/10 transition-colors",e),"aria-label":m("label"),children:[(0,t.jsx)(l.Globe,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"hidden sm:inline text-xs font-medium",children:d.split("-")[0].toUpperCase()})]})}),(0,t.jsx)(o.DropdownMenuContent,{align:"end",className:"max-h-80 overflow-y-auto w-56",children:s.locales.map(e=>(0,t.jsx)(o.DropdownMenuItem,{onClick:()=>(function(e){if(e!==d){if(e===s.routing.defaultLocale)return void p.replace(h);f.replace(h,{locale:e})}})(e),className:`cursor-pointer ${e===d?"bg-accent font-medium":""}`,children:(0,t.jsx)("span",{className:"text-sm",children:c[e]})},e))})]})}e.s(["default",()=>d])},489752,679149,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(456904),i=e.i(647163);let a="font-label text-xs uppercase tracking-[0.14em] text-muted-foreground",s="group flex min-h-11 items-center gap-3 rounded-xl px-3 py-2.5 text-lg font-medium text-foreground/90 transition-colors hover:bg-foreground/5 hover:text-foreground active:bg-foreground/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring motion-reduce:transition-none";function l({label:e,children:n}){let s=(0,r.useId)();return(0,t.jsxs)("div",{className:"pt-5 first:pt-2",children:[e?(0,t.jsx)("p",{id:s,className:(0,i.cn)(a,"px-3 pb-1"),children:e}):null,(0,t.jsx)("ul",{"aria-labelledby":e?s:void 0,className:"space-y-0.5",children:n})]})}function o({href:e,icon:r,external:i=!1,onNavigate:a,children:l}){let o=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r,{"aria-hidden":"true",className:"h-5 w-5 shrink-0 text-muted-foreground transition-colors group-hover:text-clay dark:group-hover:text-clay-tint motion-reduce:transition-none"}),l]});return(0,t.jsx)("li",{children:i?(0,t.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",onClick:a,className:s,children:o}):(0,t.jsx)(n.Link,{href:e,onClick:a,className:s,children:o})})}e.s(["MENU_LABEL_CLASSES",0,a,"MobileNavGroup",()=>l,"MobileNavLink",()=>o],489752);var u=e.i(948148),c=e.i(643531),d=e.i(531278);function f({notifications:e,unreadCount:r,isLoading:n,didLoadOnce:i,onMarkRead:a,onMarkAllRead:s,onActivateItem:l}){let o=(0,u.useTranslations)("Notifications"),f=r>0,h=e.slice(0,5);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-2 py-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-xs font-semibold uppercase tracking-widest text-muted-foreground",children:o("title")}),f&&(0,t.jsx)("span",{className:"inline-flex min-h-[18px] min-w-[18px] items-center justify-center rounded-full bg-clay px-1 text-[10px] font-semibold leading-none text-white",children:r>9?"9+":r})]}),f&&(0,t.jsxs)("button",{type:"button",onClick:s,className:"inline-flex items-center gap-1 rounded-sm text-xs font-medium text-clay transition-colors hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-transparent dark:text-clay-tint",children:[(0,t.jsx)(c.Check,{className:"h-3.5 w-3.5","aria-hidden":"true"}),o("markAllRead")]})]}),(0,t.jsx)("span",{className:"sr-only",role:"status","aria-live":"polite",children:f?o("unreadStatus",{count:r}):o("noUnreadStatus")}),(0,t.jsx)("div",{className:"max-h-[min(18rem,50vh)] overflow-y-auto",children:n&&!i?(0,t.jsxs)("div",{className:"flex items-center justify-center py-8",children:[(0,t.jsx)(d.Loader2,{className:"h-5 w-5 animate-spin text-slate-400","aria-hidden":"true"}),(0,t.jsx)("span",{className:"sr-only",children:o("loading")})]}):0===h.length?(0,t.jsx)("p",{className:"px-2 py-8 text-center text-sm text-muted-foreground",children:o("empty")}):(0,t.jsx)("ul",{className:"space-y-0.5",children:h.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(p,{notification:e,relativeTime:function(e,t){let r=new Date(e).getTime();if(Number.isNaN(r))return"";let n=Math.max(0,Math.floor((Date.now()-r)/1e3));if(n<60)return t("timeJustNow");let i=Math.floor(n/60);if(i<60)return t("timeMinutes",{count:i});let a=Math.floor(i/60);return a<24?t("timeHours",{count:a}):t("timeDays",{count:Math.floor(a/24)})}(e.createdAt,o),onActivate:()=>{e.readAt||a(e.id),l?.()}})},e.id))})})]})}function p({notification:e,relativeTime:r,onActivate:i}){let a=!e.readAt,s=(0,t.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:`mt-1.5 h-2 w-2 shrink-0 rounded-full ${a?"bg-clay":"bg-transparent"}`}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:`truncate text-sm ${a?"font-semibold text-slate-900 dark:text-white":"font-medium text-slate-600 dar
5k:text-slate-300"}`,children:e.title}),(0,t.jsx)("p",{className:"mt-0.5 text-[11px] text-muted-foreground",children:r})]})]}),l="block w-full rounded-sm px-2 py-2 text-left transition-colors hover:bg-clay-soft focus-visible:outline-none focus-visible:bg-clay-soft focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-clay-ring dark:hover:bg-accent dark:focus-visible:bg-accent dark:focus-visible:ring-ring";return e.linkUrl?(0,t.jsx)(n.Link,{href:e.linkUrl,onClick:i,className:l,children:s}):(0,t.jsx)("button",{type:"button",onClick:i,className:l,children:s})}e.s(["default",()=>f],679149)},393539,e=>{"use strict";var t=e.i(843476),r=e.i(363178),n=e.i(271645),i=e.i(357675);function a(){let{theme:e,setTheme:a}=(0,r.useTheme)(),[s,l]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{l(!0)},[]),s)?(0,t.jsx)("button",{type:"button",onClick:()=>a("dark"===e?"light":"dark"),className:"flex h-11 w-11 items-center justify-center rounded-full border border-slate-300 bg-slate-900/10 transition-colors duration-300 hover:bg-slate-900/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background active:bg-slate-900/20 dark:border-white/10 dark:bg-white/5 dark:hover:bg-white/10 dark:active:bg-white/15","aria-label":`Switch to ${"dark"===e?"light":"dark"} mode`,children:"dark"===e?(0,t.jsx)(i.Icons.sun,{className:"w-5 h-5 text-white"}):(0,t.jsx)(i.Icons.moon,{className:"w-5 h-5 text-gray-700"})}):(0,t.jsx)("button",{type:"button",disabled:!0,className:"flex h-11 w-11 items-center justify-center rounded-full border border-slate-300 bg-slate-900/10 transition-colors duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-wait dark:border-white/10 dark:bg-white/5","aria-label":"Toggle theme",children:(0,t.jsx)("div",{className:"w-5 h-5"})})}e.s(["ThemeToggle",()=>a])},950868,825640,e=>{"use strict";var t=e.i(843476),r=e.i(526732),n=e.i(948148),i=e.i(705766),a=e.i(63727),s=e.i(607486),l=e.i(292270),o=e.i(209912),u=e.i(662031),c=e.i(98919),d=e.i(718364),f=e.i(39312),p=e.i(371844),h=e.i(489752),m=e.i(679149),y=e.i(393539),g=e.i(63270),x=e.i(463415),v=e.i(456904),b=e.i(647163);let k="Your dashboards",w="border border-border dark:border-white/10";function j(){let e=(0,n.useTranslations)("Navigation"),t=[{href:"/hackathons/dashboard",icon:o.Rocket,label:"My Hackathons"},{href:"/jobs/dashboard/applications",icon:a.Briefcase,label:"My Applications"},{href:"/jobs/dashboard/company",icon:s.Building2,label:"My Company"}];return{dashboardLinks:t,profileLinks:[{href:"/community/profile/edit",icon:d.UserPen,label:"My Profile"},{href:"/connect",icon:u.Share2,label:e("connect")}],adminLinks:[{href:"/admin",icon:c.Shield,label:e("admin")},{href:"/hackathons/admin/review",icon:f.Zap,label:"Hackathon Review"}]}}function N(e){return e?.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2)??"?"}function C({operation:e,pathname:t}){(0,r.signOut)().catch(r=>{console.error("Sign out failed",{operation:e,pathname:t,error:r instanceof Error?r.message:String(r),stack:r instanceof Error?r.stack:void 0}),i.default.error("Couldn't sign you out. Check your connection and try again.")})}function R({user:e,notifications:r,onSignOut:i,triggerClassName:a}){let s=(0,n.useTranslations)("Navigation"),{dashboardLinks:o,profileLinks:u,adminLinks:c}=j(),{unreadCount:d}=r,f=d>0;return(0,t.jsxs)(x.DropdownMenu,{modal:!1,onOpenChange:e=>{e&&r.fetchNotifications()},children:[(0,t.jsx)(x.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)("button",{type:"button",className:(0,b.cn)("relative inline-flex h-11 w-11 items-center justify-center rounded-full transition-colors hover:bg-foreground
5/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring motion-reduce:transition-none",a),"aria-label":f?s("accountWithNotifications",{count:d}):s("account"),children:[(0,t.jsxs)(g.Avatar,{className:(0,b.cn)("h-9 w-9",w),children:[(0,t.jsx)(g.AvatarImage,{src:e?.image??void 0,alt:e?.name??"User"}),(0,t.jsx)(g.AvatarFallback,{className:"bg-clay text-xs font-medium text-white",children:N(e?.name)})]}),f?(0,t.jsxs)("span",{"aria-hidden":"true",className:"absolute right-1 top-1 flex h-2.5 w-2.5",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full rounded-full bg-clay opacity-60 motion-safe:animate-ping dark:bg-clay-tint"}),(0,t.jsx)("span",{className:"relative inline-flex h-2.5 w-2.5 rounded-full bg-clay ring-2 ring-home-surface dark:bg-clay-tint"})]}):null]})}),(0,t.jsxs)(x.DropdownMenuContent,{align:"end",sideOffset:14,className:"w-72",children:[(0,t.jsx)(m.default,{notifications:r.notifications,unreadCount:d,isLoading:r.isLoading,didLoadOnce:r.didLoadOnce,onMarkRead:r.markRead,onMarkAllRead:r.markAllRead}),(0,t.jsx)(x.DropdownMenuSeparator,{}),(0,t.jsxs)("div",{className:"px-2 py-1.5",children:[(0,t.jsx)("p",{className:"text-sm font-medium truncate",children:e?.name??"User"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground truncate",children:e?.email})]}),(0,t.jsx)(x.DropdownMenuSeparator,{}),(0,t.jsx)("div",{className:(0,b.cn)(h.MENU_LABEL_CLASSES,"px-2 py-1.5"),children:s("preferences")}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 px-2 py-1.5",children:[(0,t.jsx)("span",{className:"text-sm",children:s("language")}),(0,t.jsx)(p.default,{})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 px-2 py-1.5",children:[(0,t.jsx)("span",{className:"text-sm",children:s("theme")}),(0,t.jsx)(y.ThemeToggle,{})]}),(0,t.jsx)(x.DropdownMenuSeparator,{}),(0,t.jsx)("div",{className:(0,b.cn)(h.MENU_LABEL_CLASSES,"px-2 py-1.5"),children:k}),o.map(e=>(0,t.jsx)(M,{link:e},e.href)),(0,t.jsx)(x.DropdownMenuSeparator,{}),u.map(e=>(0,t.jsx)(M,{link:e},e.href)),e?.isAdmin?c.map(e=>(0,t.jsx)(M,{link:e},e.href)):null,(0,t.jsx)(x.DropdownMenuSeparator,{}),(0,t.jsxs)(x.DropdownMenuItem,{onClick:i,className:"cursor-pointer text-red-700 focus:text-red-700 dark:text-red-400 dark:focus:text-red-400",children:[(0,t.jsx)(l.LogOut,{className:"mr-2 h-4 w-4"}),s("signOut")]})]})]})}function M({link:e}){let r=e.icon;return(0,t.jsx)(x.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(v.Link,{href:e.href,className:"cursor-pointer",children:[(0,t.jsx)(r,{className:"mr-2 h-4 w-4"}),e.label]})})}function S({user:e,notifications:r,onNavigate:i}){let a=(0,n.useTranslations)("Navigation"),s=r.unreadCount>0;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 px-3 py-2",children:[(0,t.jsxs)("div",{className:"relative shrink-0",children:[(0,t.jsxs)(g.Avatar,{className:(0,b.cn)("h-10 w-10",w),children:[(0,t.jsx)(g.AvatarImage,{src:e?.image??void 0,alt:e?.name??"User"}),(0,t.jsx)(g.AvatarFallback,{className:"bg-clay text-sm font-medium text-white",children:N(e?.name)})]}),s?(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute right-0 top-0 h-2.5 w-2.5 rounded-full bg-clay ring-2 ring-background dark:bg-clay-tint"}):null]}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate text-sm font-medium text-foreground",children:e?.name??"User"}),(0,t.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:e?.email})]})]}),(0,t.jsxs)("div",{className:"space-y-1 px-3 pt-1",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-foreground/80",children:a("language")}),(0,t.jsx)(p.default,{})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-foreground/80",children:a("theme")}),(0,t.jsx)(y.ThemeToggle,{})]})]}),(0,t.jsx)("div",{className:"pt-3",children:(0,t.jsx)(m.default,{notifications:r.notifications,unreadCount:r.unreadCount,isLoading:r.isLoading,didLoadOnce:r.didLoadOnce,onMarkRead:r.markRead,onMarkAllRead:r.markAllRead,onActivateItem:i})})]})}function A({onNavigate:e}){let{dashboardLinks:r,profileLinks:n}=j();return(0,t.jsx)(h.MobileNavGroup,{label:k,children:[...r,...n].map(r=>(0,t.jsx)(h.MobileNavLink,{href:r.href,icon:r.icon,onNavigate:e,children:r.label},r.href))})}function E({user:e,onNavigate:r}){let{adminLinks:n}=j();return e?.isAdmin?(0,t.jsx)(h.MobileNavGroup,{children:n.map(e=>(0,t.jsx)(h.MobileNavLink,{href:e.href,icon:e.icon,onNavigate:r,children:e.label},e.href))}):null}function O({onSignOut:e}){let r=(0,n.useTranslations)("Navigation");return(0,t.jsxs)("button",{type:"button",onClick:e,className:"inline-flex h-11 w-full items-center justify-center gap-2 rounded-full border border-red-600 text-sm font-semibold text-red-700 transition-colors hover:bg-red-600/10 active:bg-red-600/15 focu
5s-visible:outline-none focus-visible:ring-2 focus-visible:ring-red-600 focus-visible:ring-offset-2 focus-visible:ring-offset-background dark:border-red-400/70 dark:text-red-300 dark:hover:bg-red-400/10 dark:active:bg-red-400/15 dark:focus-visible:ring-red-400 motion-reduce:transition-none",children:[(0,t.jsx)(l.LogOut,{"aria-hidden":"true",className:"h-4 w-4"}),r("signOut")]})}e.s(["AccountMenu",()=>R,"AccountSheetAdminLinks",()=>E,"AccountSheetDashboards",()=>A,"AccountSheetProfile",()=>S,"AccountSheetSignOut",()=>O,"signOutOrToast",()=>C],950868);var D=e.i(271645);function I(){let[e,t]=(0,D.useState)([]),[r,n]=(0,D.useState)(0),[i,a]=(0,D.useState)(!1),[s,l]=(0,D.useState)(!1),o=(0,D.useCallback)(async()=>{a(!0);try{let e=await fetch("/api/notifications");if(!e.ok)return;let r=await e.json();t(Array.isArray(r?.notifications)?r.notifications:[]),n("number"==typeof r?.unreadCount?r.unreadCount:0),l(!0)}catch{}finally{a(!1)}},[]);return{notifications:e,unreadCount:r,isLoading:i,didLoadOnce:s,fetchNotifications:o,markRead:(0,D.useCallback)(async e=>{t(t=>t.map(t=>t.id!==e||t.readAt?t:{...t,readAt:new Date().toISOString()})),n(e=>Math.max(0,e-1));try{let t=await fetch("/api/notifications/mark-read",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})});if(t.ok){let e=await t.json();"number"==typeof e?.unreadCount&&n(e.unreadCount)}}catch{}},[]),markAllRead:(0,D.useCallback)(async()=>{t(e=>e.map(e=>e.readAt?e:{...e,readAt:new Date().toISOString()})),n(0);try{let e=await fetch("/api/notifications/mark-read",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({all:!0})});if(e.ok){let t=await e.json();"number"==typeof t?.unreadCount&&n(t.unreadCount)}}catch{}},[])}}e.s(["useNotifications",()=>I],825640)},175424,e=>{"use strict";let t=new Set(["/","/login","/register"]);function r(e,n=""){if(!(e.startsWith("/")&&!e.startsWith("//"))||t.has(e))return"/login";let i=n.startsWith("?")?n:n?`?${n}`:"",a="?"===i?e:`${e}${i}`;return`/login?callbackUrl=${encodeURIComponent(a)}`}e.s(["buildLoginHref",()=>r])}]);

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.