1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,409797,e=>{"use strict";var t=e.i(631171);e.s(["ChevronDownIcon",()=>t.default])},487486,e=>{"use strict";var t=e.i(119805),r=e.i(327601),n=e.i(225913),i=e.i(975157);let a=(0,n.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:n="default",render:o,...s}){var l;return l={defaultTagName:"span",props:(0,t.mergeProps)({className:(0,i.cn)(a({variant:n}),e)},s),render:o,state:{slot:"badge",variant:n}},(0,r.useRenderElement)(l.defaultTagName??"div",l,l)}],487486)},740582,e=>{"use strict";var t=e.i(271645),r=e.i(327601);let n=t.forwardRef(function(e,t){let{className:n,render:i,orientation:a="horizontal",...o}=e;return(0,r.useRenderElement)("div",e,{state:{orientation:a},ref:t,props:[{role:"separator","aria-orientation":a},o]})});e.s(["Separator",0,n])},772436,e=>{"use strict";var t=e.i(843476),r=e.i(740582),n=e.i(975157);e.s(["Separator",0,function({className:e,orientation:i="horizontal",...a}){return(0,t.jsx)(r.Separator,{"data-slot":"separator",orientation:i,className:(0,n.cn)("shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",e),...a})}])},492161,991799,897250,894013,e=>{"use strict";var t=e.i(475254);let r=(0,t.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",0,r],492161);var n=e.i(843476);let i=(0,t.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);e.s(["Moon",0,i],991799);let a=(0,t.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["Sun",0,a],897250);var o=e.i(363178),s=e.i(975157);e.s(["ThemeToggle",0,function({className:e}){let{resolvedTheme:t,setTheme:r}=(0,o.useTheme)();return(0,n.jsxs)("button",{type:"button","aria-label":"Toggle theme",onClick:()=>r("dark"===t?"light":"dark"),className:(0,s.cn)("relative inline-flex size-8 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",e),children:[(0,n.jsx)(a,{className:"size-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90"}),(0,n.jsx)(i,{className:"absolute size-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0"})]})}],894013)},367018,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(225913),i=e.i(975157);let a=(0,n.cva)("inline-flex h-8 shrink-0 items-center justify-center gap-1.5 rounded-[8px] px-3 text-[14px] font-medium leading-5 tracking-[0.105px] whitespace-nowrap transition-[color,background-color] duration-200 ease-[
1cubic-bezier(.4,0,.2,1)] outline-none focus-visible:ring-2 focus-visible:ring-ring/60 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{primary:"rounded-full bg-primary text-primary-foreground hover:bg-primary/90",secondary:"rounded-full border border-border bg-background text-foreground hover:bg-accent",ghost:"text-muted-foreground hover:bg-accent hover:text-foreground"}},defaultVariants:{variant:"primary"}});e.s(["ButtonP",0,function({className:e,variant:r,children:n,...o}){return(0,t.jsx)("button",{className:(0,i.cn)(a({variant:r}),e),...o,children:n})},"LinkButtonP",0,function({className:e,variant:n,children:o,href:s,...l}){return(0,t.jsx)(r.default,{className:(0,i.cn)(a({variant:n}),e),href:s,...l,children:o})},"buttonVariantsP",0,a])},691602,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n=(0,r.createContext)(null);e.s(["LocaleAlternatesProvider",0,function({value:e,children:r}){return(0,t.jsx)(n.Provider,{value:e,children:r})},"useLocaleAlternates",0,function(){return(0,r.useContext)(n)}])},595085,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(861745),i=e.i(948148),a=e.i(643531),o=e.i(248256),s=e.i(520133),l=e.i(744705),u=e.i(691602),d=e.i(975157);e.s(["LanguageSwitcher",0,function({className:e}){let c=(0,i.useTranslations)("LanguageSwitcher"),f=(0,n.useLocale)(),p=(0,s.useRouter)(),m=(0,s.usePathname)(),v=(0,u.useLocaleAlternates)(),[h,x]=(0,r.useState)(!1),[g,b]=(0,r.useTransition)(),w=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(h)return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e);function e(e){w.current&&!w.current.contains(e.target)&&x(!1)}},[h]),(0,t.jsxs)("div",{ref:w,className:(0,d.cn)("relative",e),children:[(0,t.jsxs)("button",{type:"button","aria-haspopup":"menu","aria-expanded":h,"aria-label":c("label"),"aria-busy":g,onClick:()=>x(e=>!e),className:(0,d.cn)("inline-flex h-8 items-center gap-1.5 rounded-md px-2 text-[13px] font-medium text-[var(--color-text-gray)] transition-colors hover:text-foreground",g&&"opacity-60"),children:[(0,t.jsx)(o.Globe,{className:"size-4","aria-hidden":"true"}),(0,t.jsx)("span",{className:"uppercase",children:f})]}),h&&(0,t.jsx)("div",{role:"menu",className:"animate-in fade-in-0 zoom-in-95 absolute right-0 top-full z-50 mt-1 min-w-[9rem] overflow-hidden rounded-[10px] border border-divider bg-popover p-1 shadow-lg",children:l.routing.locales.map(e=>{let r=e===f;return(0,t.jsxs)("button",{type:"button",role:"menuitemradio","aria-checked":r,onClick:()=>(function(e){if(x(!1),e===f)return;let t=v?.[e]??m;b(()=>{p.replace(t,{locale:e})})})(e),className:(0,d.cn)("flex w-full items-center justify-between gap-3 rounded-[7px] px-2.5 py-1.5 text-left text-[14px] transition-colors",r?"font-medium text-foreground":"text-muted-foreground hover:bg-accent hover:text-foreground"),children:[c(e),r&&(0,t.jsx)(a.Check,{className:"size-4 text-[var(--color-brand)]","aria-hidden":"true"})]},e)})})]})}])},587668,e=>{"use strict";var t,r=e.i(843476),n=e.i(271645);let i=(0,e.i(475254).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);var a=e.i(664659),o=e.i(492161),s=e.i(37727),l=e.i(948148),u=e.i(520133),d=e.i(13194),c=e.i(174080);function f(e,t=[]){let i=[],a=()=>{let t=i.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return a.scopeName=e,[function(t,a){let o=n.createContext(a);o.displayName=t+"Context";let s=i.length;i=[...i,a];let l=t=>{let{scope:i,children:a,...l}=t,u=i?.[e]?.[s]||o,d=n.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:d,children:a})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[s]||o,u=n.useContext(l);if(u)return u;if(void 0!==a)return a;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 i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(a,...t)]}function p(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function m(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function v(...e){return t=>{let r=!1,n=e.map(e=>{let n=m(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():m(e[t],null)}}}}function h(...e){return n.useCallback(v(...e),e)}function x(e){let t=n.forwardRef((t,r)=>{var i;let a,o,{children:s,...l}=t,u=null,d=!1,c=[];
1y(s)&&"function"==typeof k&&(s=k(s._payload)),n.Children.forEach(s,e=>{var t;if(t=e,n.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===g){d=!0;let t="child"in e.props?e.props.child:e.props.children;y(t)&&"function"==typeof k&&(t=k(t._payload)),u=b(e,t),c.push(u?.props?.children)}else c.push(e)}),u?u=n.cloneElement(u,void 0,c):!d&&1===n.Children.count(s)&&n.isValidElement(s)&&(u=s);let f=u?(i=u,(o=(a=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.ref:(o=(a=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,p=h(r,f);if(!u){if(s||0===s)throw Error(d?N(e):j(e));return s}let m=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,u.props??{});return u.type!==n.Fragment&&(m.ref=r?p:f),n.cloneElement(u,m)});return t.displayName=`${e}.Slot`,t}"u">typeof window&&window.document&&window.document.createElement;var g=Symbol.for("radix.slottable"),b=(e,t)=>{if("child"in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null},w=Symbol.for("react.lazy");function y(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===w&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var j=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,N=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,k=n[" use ".trim().toString()],E=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let i=x(`Primitive.${t}`),a=n.forwardRef((e,n)=>{let{asChild:a,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(a?i:t,{...o,ref:n})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{});function R(e,t){e&&c.flushSync(()=>e.dispatchEvent(t))}var C=globalThis?.document?n.useLayoutEffect:()=>{};n[" useEffectEvent ".trim().toString()],n[" useInsertionEffect ".trim().toString()];var T=n[" useInsertionEffect ".trim().toString()]||C;function M({prop:e,defaultProp:t,onChange:r=()=>{},caller:i}){let[a,o,s]=function({defaultProp:e,onChange:t}){let[r,i]=n.useState(e),a=n.useRef(r),o=n.useRef(t);return T(()=>{o.current=t},[t]),n.useEffect(()=>{a.current!==r&&(o.current?.(r),a.current=r)},[r,a]),[r,i,o]}({defaultProp:t,onChange:r}),l=void 0!==e,u=l?e:a;{let t=n.useRef(void 0!==e);n.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${i} 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=l},[l,i])}return[u,n.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else o(t)},[l,e,o,s])]}Symbol("RADIX:SYNC_STATE");var S=n.createContext(void 0),L=e=>{var t;let r,i,{present:a,children:o}=e,s=function(e){var t,r;let[i,a]=n.useState(),o=n.useRef(null),s=n.useRef(e),l=n.useRef("none"),[u,d]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=O(o.current);l.current="mounted"===u?e:"none"},[u]),C(()=>
1{let t=o.current,r=s.current;if(r!==e){let n=l.current,i=O(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):r&&n!==i?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),C(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=O(o.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(d("ANIMATION_END"),!s.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(l.current=O(o.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:n.useCallback(e=>{o.current=e?getComputedStyle(e):null,a(e)},[])}}(a),l="function"==typeof o?o({present:s.isPresent}):n.Children.only(o),u=function(...e){let t=n.useRef(e);return t.current=e,n.useCallback(e=>{let r=t.current,n=!1,i=r.map(t=>{let r=P(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<i.length;e++){let t=i[e];"function"==typeof t?t():P(r[e],null)}}},[])}(s.ref,(t=l,(i=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(i=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof o||s.isPresent?n.cloneElement(l,{ref:u}):null};function P(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function O(e){return e?.animationName||"none"}L.displayName="Presence";var z=n[" useId ".trim().toString()]||(()=>void 0),A=0;function _(e){let[t,r]=n.useState(z());return C(()=>{e||r(e=>e??String(A++))},[e]),e||(t?`radix-${t}`:"")}function D(e){let t=e+"CollectionProvider",[i,a]=f(t),[o,s]=i(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:i}=e,a=n.useRef(null),s=n.useRef(new Map).current;return(0,r.jsx)(o,{scope:t,itemMap:s,collectionRef:a,children:i})};l.displayName=t;let u=e+"CollectionSlot",d=x(u),c=n.forwardRef((e,t)=>{let{scope:n,children:i}=e,a=h(t,s(u,n).collectionRef);return(0,r.jsx)(d,{ref:a,children:i})});c.displayName=u;let p=e+"CollectionItemSlot",m="data-radix-collection-item",v=x(p),g=n.forwardRef((e,t)=>{let{scope:i,children:a,...o}=e,l=n.useRef(null),u=h(t,l),d=s(p,i);return n.useEffect(()=>(d.itemMap.set(l,{ref:l,...o}),()=>void d.itemMap.delete(l))),(0,r.jsx)(v,{...{[m]:""},ref:u,children:a})});return g.displayName=p,[{Provider:l,Slot:c,ItemSlot:g},function(t){let r=s(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},a]}var I=new WeakMap;function F(e,t){var r,n;let i,a,o;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,i=r.length,(o=(a=U(n))>=0?a:i+a)<0||o>=i?-1:o);return -1===s?void 0:e[s]}function U(e){return e!=e||0===e?0:Math.trunc(e)}function V(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],I.set(this,!0)}set(e,t){return I.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,o=U(e),s=o>=0?o:a+o,l=s<0||s>=a?-1:s;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let u=this.size+ +!i;o<0&&s++;let d=[...this.#e],c=!1;for(let e=s;e<u;e++)if(s===e){let a=d[e];d[e]===t&&(a=d[e+1]),i&&this.delete(t),n=this.get(a),this.set(t,r)}else{c||d[e-1]!==t||(c=!0);let r=d[c?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=F(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=F(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return F(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);
1n=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 $="dismissableLayer.update",W=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),K=n.forwardRef((e,i)=>{let{disableOutsidePointerEvents:a=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,onDismiss:c,...f}=e,m=n.useContext(W),[v,x]=n.useState(null),g=v?.ownerDocument??globalThis?.document,[,b]=n.useState({}),w=h(i,e=>x(e)),y=Array.from(m.layers),[j]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),N=y.indexOf(j),k=v?y.indexOf(v):-1,R=m.layersWithOutsidePointerEventsDisabled.size>0,C=k>=N,T=n.useRef(!1),M=function(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:o}=t,s=V(e),l=n.useRef(!1),u=n.useRef(!1),d=n.useRef(new Map),c=n.useRef(()=>{});return n.useEffect(()=>{function e(){u.current=!1,a.current=!1,d.current.clear()}function t(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...o].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{u.current&&c.current()},0)}function n(e){u.current&&d.current.set(e.type,!1)}let f=t=>{if(t.target&&!l.current){let n=function(){r.removeEventListener("click",c.current);let t=Array.from(d.current.values()).some(Boolean);e(),t||G("dismissableLayer.pointerDownOutside",s,o,{discrete:!0})},o={originalEvent:t};u.current=!0,a.current=i&&0===t.button,d.current.clear(),i&&0===t.button?(r.removeEventListener("click",c.current),c.current=n,r.addEventListener("click",c.current,{once:!0})):n()}else r.removeEventListener("click",c.current),e();l.current=!1},p=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of p)r.addEventListener(e,t,!0),r.addEventListener(e,n);let m=window.setTimeout(()=>{r.addEventListener("pointerdown",f)},0);return()=>{for(let e of(window.clearTimeout(m),r.removeEventListener("pointerdown",f),r.removeEventListener("click",c.current),p))r.removeEventListener(e,t,!0),r.removeEventListener(e,n)}},[r,s,i,a,o]),{onPointerDownCapture:()=>l.current=!0}}(e=>{let t=e.target;if(!(t instanceof Node))return;let r=[...m.branches].some(e=>e.contains(t));C&&!r&&(l?.(e),d?.(e),e.defaultPrevented||c?.())},{ownerDocument:g,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:T,dismissableSurfaces:m.dismissableSurfaces}),S=function(e,t=globalThis?.document){let r=V(e),i=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!i.current&&G("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{if(o&&T.current)return;let t=e.target;![...m.branches].some(e=>e.contains(t))&&(u?.(e),d?.(e),e.defaultPrevented||c?.())},g);return!function(e,t=globalThis?.document){let r=V(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{k===m.layers.size-1&&(s?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},g),n.useEffect(()=>{if(v)return a&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(t=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(v)),m.layers.add(v),B(),()=>{a&&(m.layersWithOutsidePointerEventsDisabled.delete(v),0===m.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=t))}},[v,g,a,m]),n.useEffect(()=>()=>{v&&(m.layers.delete(v),m.layersWithOutsidePointerEventsDisabled.delete(v),B())},[v,m]),n.useEffect(()=>{let e=()=>b({});return document.addEventListener($,e),()=>document.removeEventListener($,e)},[]),(0,r.jsx)(E.div,{...f,ref:w,style:{pointerEvents:R?C?"auto":"none":void 0,...e.style},onFocusCapture:p(e.onFocusCapture,S.onFocusCapture),onBlurCapture:p(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:p(e.onPointerDownCapture,M.onPointerDownCapture)})});function B(){let e=new CustomEvent($);document.dispatchEvent(e)}function G(e,t,r,{discrete:n}){let i=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?R(i,a):i.dispatchEvent(a)}K.displayName="DismissableLayer",n.forwardRef((e,t)=>
1{let i=n.useContext(W),a=n.useRef(null),o=h(t,a);return n.useEffect(()=>{let e=a.current;if(e)return i.branches.add(e),()=>{i.branches.delete(e)}},[i.branches]),(0,r.jsx)(E.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var Y=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"}),H=n.forwardRef((e,t)=>(0,r.jsx)(E.span,{...e,ref:t,style:{...Y,...e.style}}));H.displayName="VisuallyHidden";var q="NavigationMenu",[X,Z,J]=D(q),[Q,ee,et]=D(q),[er,en]=f(q,[J,et]),[ei,ea]=er(q),[eo,es]=er(q),el=n.forwardRef((e,t)=>{let i,{__scopeNavigationMenu:a,value:o,onValueChange:s,defaultValue:l,delayDuration:u=200,skipDelayDuration:d=300,orientation:c="horizontal",dir:f,...p}=e,[m,v]=n.useState(null),x=h(t,e=>v(e)),g=(i=n.useContext(S),f||i||"ltr"),b=n.useRef(0),w=n.useRef(0),y=n.useRef(0),[j,N]=n.useState(!0),[k,R]=M({prop:o,onChange:e=>{let t=d>0;""!==e?(window.clearTimeout(y.current),t&&N(!1)):(window.clearTimeout(y.current),y.current=window.setTimeout(()=>N(!0),d)),s?.(e)},defaultProp:l??"",caller:q}),C=n.useCallback(()=>{window.clearTimeout(w.current),w.current=window.setTimeout(()=>R(""),150)},[R]),T=n.useCallback(e=>{window.clearTimeout(w.current),R(e)},[R]),L=n.useCallback(e=>{k===e?window.clearTimeout(w.current):b.current=window.setTimeout(()=>{window.clearTimeout(w.current),R(e)},u)},[k,R,u]);return n.useEffect(()=>()=>{window.clearTimeout(b.current),window.clearTimeout(w.current),window.clearTimeout(y.current)},[]),(0,r.jsx)(ed,{scope:a,isRootMenu:!0,value:k,dir:g,orientation:c,rootNavigationMenu:m,onTriggerEnter:e=>{window.clearTimeout(b.current),j?L(e):T(e)},onTriggerLeave:()=>{window.clearTimeout(b.current),C()},onContentEnter:()=>window.clearTimeout(w.current),onContentLeave:C,onItemSelect:e=>{R(t=>t===e?"":e)},onItemDismiss:()=>R(""),children:(0,r.jsx)(E.nav,{"aria-label":"Main","data-orientation":c,dir:g,...p,ref:x})})});el.displayName=q;var eu="NavigationMenuSub";n.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:i,onValueChange:a,defaultValue:o,orientation:s="horizontal",...l}=e,u=ea(eu,n),[d,c]=M({prop:i,onChange:a,defaultProp:o??"",caller:eu});return(0,r.jsx)(ed,{scope:n,isRootMenu:!1,value:d,dir:u.dir,orientation:s,rootNavigationMenu:u.rootNavigationMenu,onTriggerEnter:e=>c(e),onItemSelect:e=>c(e),onItemDismiss:()=>c(""),children:(0,r.jsx)(E.div,{"data-orientation":s,...l,ref:t})})}).displayName=eu;var ed=e=>{let t,{scope:i,isRootMenu:a,rootNavigationMenu:o,dir:s,orientation:l,children:u,value:d,onItemSelect:c,onItemDismiss:f,onTriggerEnter:p,onTriggerLeave:m,onContentEnter:v,onContentLeave:h}=e,[x,g]=n.useState(null),[b,w]=n.useState(new Map),[y,j]=n.useState(null);return(0,r.jsx)(ei,{scope:i,isRootMenu:a,rootNavigationMenu:o,value:d,previousValue:(t=n.useRef({value:d,previous:d}),n.useMemo(()=>(t.current.value!==d&&(t.current.previous=t.current.value,t.current.value=d),t.current.previous),[d])),baseId:_(),dir:s,orientation:l,viewport:x,onViewportChange:g,indicatorTrack:y,onIndicatorTrackChange:j,onTriggerEnter:V(p),onTriggerLeave:V(m),onContentEnter:V(v),onContentLeave:V(h),onItemSelect:V(c),onItemDismiss:V(f),onViewportContentChange:n.useCallback((e,t)=>{w(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:n.useCallback(e=>{w(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,r.jsx)(X.Provider,{scope:i,children:(0,r.jsx)(eo,{scope:i,items:b,children:u})})})},ec="NavigationMenuList",ef=n.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...i}=e,a=ea(ec,n),o=(0,r.jsx)(E.ul,{"data-orientation":a.orientation,...i,ref:t});return(0,r.jsx)(E.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,r.jsx)(X.Slot,{scope:n,children:a.isRootMenu?(0,r.jsx)(eL,{asChild:!0,children:o}):o})})});ef.displayName=ec;var ep="NavigationMenuItem",[em,ev]=er(ep),eh=n.forwardRef((e,t)=>{let{__scopeNavigationMenu:i,value:a,...o}=e,s=_(),l=n.useRef(null),u=n.useRef(null),d=n.useRef(null),c=n.useRef(()=>{}),f=n.useRef(!1),p=n.useCallback((e="start")=>{if(l.current){c.current();let t=ez(l.current);t.length&&eA("start"===e?t:t.reverse())}},[]),m=n.useCallback(()=>
1{if(l.current){var e;let t=ez(l.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),c.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,r.jsx)(em,{scope:i,value:a||s||"LEGACY_REACT_AUTO_VALUE",triggerRef:u,contentRef:l,focusProxyRef:d,wasEscapeCloseRef:f,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:m,onContentFocusOutside:m,children:(0,r.jsx)(E.li,{...o,ref:t})})});eh.displayName=ep;var ex="NavigationMenuTrigger",eg=n.forwardRef((e,t)=>{let{__scopeNavigationMenu:i,disabled:a,...o}=e,s=ea(ex,e.__scopeNavigationMenu),l=ev(ex,e.__scopeNavigationMenu),u=n.useRef(null),d=h(u,l.triggerRef,t),c=eI(s.baseId,l.value),f=eF(s.baseId,l.value),m=n.useRef(!1),v=n.useRef(!1),x=l.value===s.value;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(X.ItemSlot,{scope:i,value:l.value,children:(0,r.jsx)(eO,{asChild:!0,children:(0,r.jsx)(E.button,{id:c,disabled:a,"data-disabled":a?"":void 0,"data-state":eD(x),"aria-expanded":x,"aria-controls":x?f:void 0,...o,ref:d,onPointerEnter:p(e.onPointerEnter,()=>{v.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:p(e.onPointerMove,eU(()=>{a||v.current||l.wasEscapeCloseRef.current||m.current||(s.onTriggerEnter(l.value),m.current=!0)})),onPointerLeave:p(e.onPointerLeave,eU(()=>{a||(s.onTriggerLeave(),m.current=!1)})),onClick:p(e.onClick,()=>{s.onItemSelect(l.value),v.current=x}),onKeyDown:p(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===s.dir?"ArrowLeft":"ArrowRight"}[s.orientation];x&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),x&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(H,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,r=e.relatedTarget,n=r===u.current,i=t?.contains(r);(n||!i)&&l.onFocusProxyEnter(n?"start":"end")}}),s.viewport&&(0,r.jsx)("span",{"aria-owns":f})]})]})});eg.displayName=ex;var eb="navigationMenu.linkSelect",ew=n.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:i,onSelect:a,...o}=e;return(0,r.jsx)(eO,{asChild:!0,children:(0,r.jsx)(E.a,{"data-active":i?"":void 0,"aria-current":i?"page":void 0,...o,ref:t,onClick:p(e.onClick,e=>{let t=e.target,r=new CustomEvent(eb,{bubbles:!0,cancelable:!0});t.addEventListener(eb,e=>a?.(e),{once:!0}),R(t,r),r.defaultPrevented||e.metaKey||R(t,new CustomEvent(eR,{bubbles:!0,cancelable:!0}))},{checkForDefaultPrevented:!1})})})});ew.displayName="NavigationMenuLink";var ey="NavigationMenuIndicator";n.forwardRef((e,t)=>{let{forceMount:n,...i}=e,a=ea(ey,e.__scopeNavigationMenu),o=!!a.value;return a.indicatorTrack?c.createPortal((0,r.jsx)(L,{present:n||o,children:(0,r.jsx)(ej,{...i,ref:t})}),a.indicatorTrack):null}).displayName=ey;var ej=n.forwardRef((e,t)=>{let{__scopeNavigationMenu:i,...a}=e,o=ea(ey,i),s=Z(i),[l,u]=n.useState(null),[d,c]=n.useState(null),f="horizontal"===o.orientation,p=!!o.value;n.useEffect(()=>{let e=s(),t=e.find(e=>e.value===o.value)?.ref.current;t&&u(t)},[s,o.value]);let m=()=>{l&&c({size:f?l.offsetWidth:l.offsetHeight,offset:f?l.offsetLeft:l.offsetTop})};return e_(l,m),e_(o.indicatorTrack,m),d?(0,r.jsx)(E.div,{"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":o.orientation,...a,ref:t,style:{position:"absolute",...f?{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}),eN="NavigationMenuContent",ek=n.forwardRef((e,t)=>{let{forceMount:n,...i}=e,a=ea(eN,e.__scopeNavigationMenu),o=ev(eN,e.__scopeNavigationMenu),s=h(o.contentRef,t),l=o.value===a.value,u={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...i};return a.viewport?(0,r.jsx)(eE,{forceMount:n,...u,ref:s}):(0,r.jsx)(L,{present:n||l,children:(0,r.jsx)(eC,{"data-state":eD(l),...u,ref:s,onPointerEnter:p(e.onPointerEnter,a.onContentEnter),onPointerLeave:p(e.onPointerLeave,eU(a.onContentLeave)),style:{pointerEvents:!l&&a.isRootMenu?"none":void 0,...u.style}})})});ek.displayName=eN;var eE=n.forwardRef((e,t)=>
vendor: 4,580 bytes, line 1
1{let{onViewportContentChange:r,onViewportContentRemove:n}=ea(eN,e.__scopeNavigationMenu);return C(()=>{r(e.value,{ref:t,...e})},[e,t,r]),C(()=>()=>n(e.value),[e.value,n]),null}),eR="navigationMenu.rootContentDismiss",eC=n.forwardRef((e,t)=>{let{__scopeNavigationMenu:i,value:a,triggerRef:o,focusProxyRef:s,wasEscapeCloseRef:l,onRootContentClose:u,onContentFocusOutside:d,...c}=e,f=ea(eN,i),m=n.useRef(null),v=h(m,t),x=eI(f.baseId,a),g=eF(f.baseId,a),b=Z(i),w=n.useRef(null),{onItemDismiss:y}=f;n.useEffect(()=>{let e=m.current;if(f.isRootMenu&&e){let t=()=>{y(),u(),e.contains(document.activeElement)&&o.current?.focus()};return e.addEventListener(eR,t),()=>e.removeEventListener(eR,t)}},[f.isRootMenu,e.value,o,y,u]);let j=n.useMemo(()=>{let e=b().map(e=>e.value);"rtl"===f.dir&&e.reverse();let t=e.indexOf(f.value),r=e.indexOf(f.previousValue),n=a===f.value,i=r===e.indexOf(a);if(!n&&!i)return w.current;let o=(()=>{if(t!==r){if(n&&-1!==r)return t>r?"from-end":"from-start";if(i&&-1!==t)return t>r?"to-start":"to-end"}return null})();return w.current=o,o},[f.previousValue,f.value,f.dir,b,a]);return(0,r.jsx)(eL,{asChild:!0,children:(0,r.jsx)(K,{id:g,"aria-labelledby":x,"data-motion":j,"data-orientation":f.orientation,...c,ref:v,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(eR,{bubbles:!0,cancelable:!0});m.current?.dispatchEvent(e)},onFocusOutside:p(e.onFocusOutside,e=>{d();let t=e.target;f.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:p(e.onPointerDownOutside,e=>{let t=e.target,r=b().some(e=>e.ref.current?.contains(t)),n=f.isRootMenu&&f.viewport?.contains(t);(r||n||!f.isRootMenu)&&e.preventDefault()}),onKeyDown:p(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ez(e.currentTarget),r=document.activeElement,n=t.findIndex(e=>e===r);eA(e.shiftKey?t.slice(0,n).reverse():t.slice(n+1,t.length))?e.preventDefault():s.current?.focus()}}),onEscapeKeyDown:p(e.onEscapeKeyDown,e=>{l.current=!0})})})}),eT="NavigationMenuViewport",eM=n.forwardRef((e,t)=>{let{forceMount:n,...i}=e,a=!!ea(eT,e.__scopeNavigationMenu).value;return(0,r.jsx)(L,{present:n||a,children:(0,r.jsx)(eS,{...i,ref:t})})});eM.displayName=eT;var eS=n.forwardRef((e,t)=>{let{__scopeNavigationMenu:i,children:a,...o}=e,s=ea(eT,i),l=h(t,s.onViewportChange),u=es(eN,e.__scopeNavigationMenu),[d,c]=n.useState(null),[f,m]=n.useState(null),x=d?d?.width+"px":void 0,g=d?d?.height+"px":void 0,b=!!s.value,w=b?s.value:s.previousValue;return e_(f,()=>{f&&c({width:f.offsetWidth,height:f.offsetHeight})}),(0,r.jsx)(E.div,{"data-state":eD(b),"data-orientation":s.orientation,...o,ref:l,style:{pointerEvents:!b&&s.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":x,"--radix-navigation-menu-viewport-height":g,...o.style},onPointerEnter:p(e.onPointerEnter,s.onContentEnter),onPointerLeave:p(e.onPointerLeave,eU(s.onContentLeave)),children:Array.from(u.items).map(([e,{ref:t,forceMount:n,...i}])=>{let a=w===e;return(0,r.jsx)(L,{present:n||a,children:(0,r.jsx)(eC,{...i,ref:v(t,e=>{a&&e&&m(e)})})},e)})})}),eL=n.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...i}=e,a=ea("FocusGroup",n);return(0,r.jsx)(Q.Provider,{scope:n,children:(0,r.jsx)(Q.Slot,{scope:n,children:(0,r.jsx)(E.div,{dir:a.dir,...i,ref:t})})})}),eP=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eO=n.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...i}=e,a=ee(n),o=ea("FocusGroupItem",n);return(0,r.jsx)(Q.ItemSlot,{scope:n,children:(0,r.jsx)(E.button,{...i,ref:t,onKeyDown:p(e.onKeyDown,e=>{if(["Home","End",...eP].includes(e.key)){let t=a().map(e=>e.ref.current);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eP.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>eA(t)),e.preventDefault()}})})})});function ez(e){let t=[],r=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(;r.nextNode();)t.push(r.currentNode);return t}function eA(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function e_(e,t){let r=V(t);C(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}function eD(e){return e?"open":"closed"}function eI(e,t){return`${e}-trigger-${t}`}function eF(e,t){return`${e}-content-${t}`}function eU(e){return t=>
1"mouse"===t.pointerType?e(t):void 0}var eV=e.i(225913),e$=e.i(409797),eW=e.i(975157);let eK=n.forwardRef(({className:e,children:t,viewport:n=!0,...i},a)=>(0,r.jsxs)(el,{ref:a,"data-slot":"navigation-menu","data-viewport":n,role:"navigation",className:(0,eW.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...i,children:[t,n&&(0,r.jsx)(eX,{})]}));function eB({className:e,...t}){return(0,r.jsx)(ef,{"data-slot":"navigation-menu-list",className:(0,eW.cn)("group flex flex-1 list-none items-center justify-center gap-1",e),...t})}function eG({className:e,...t}){return(0,r.jsx)(eh,{"data-slot":"navigation-menu-item",className:(0,eW.cn)("relative",e),...t})}eK.displayName=el.displayName;let eY=(0,eV.cva)("group inline-flex h-8 w-max items-center justify-center rounded-md px-4 py-1 text-sm text-muted-foreground font-medium hover:bg-foreground/5 hover:text-foreground focus:bg-foreground/5 focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-foreground
1/5 data-[state=open]:text-foreground data-[state=open]:focus:bg-foreground/5 data-[state=open]:bg-foreground/5 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function eH({className:e,children:t,...n}){return(0,r.jsxs)(eg,{"data-slot":"navigation-menu-trigger",className:(0,eW.cn)(eY(),"group",e),...n,children:[t," ",(0,r.jsx)(e$.ChevronDownIcon,{className:"relative top-px ml-1.5 size-3 opacity-75 transition duration-300 group-data-[state=open]:translate-y-px","aria-hidden":"true",strokeWidth:2.5})]})}function eq({className:e,...t}){return(0,r.jsx)(ek,{"data-slot":"navigation-menu-content",className:(0,eW.cn)("left-0 top-0 w-full origin-top p-2 pr-2.5 md:absolute md:w-auto","data-[motion=from-end]:animate-enter-from-right data-[motion=from-start]:animate-enter-from-left data-[motion=to-end]:animate-exit-to-right data-[motion=to-start]:animate-exit-to-left","group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:ring-border group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:shadow-black/6.5 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:-translate-x-1/3 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-xl group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-200",e),...t})}function eX({className:e,...t}){return(0,r.jsx)("div",{"data-slot":"navigation-menu-viewport-parent",className:(0,eW.cn)("px-(--viewport-outer-px) fixed inset-x-0 top-12 isolate z-50 mx-auto flex max-w-6xl"),children:(0,r.jsx)(eM,{"data-slot":"navigation-menu-viewport",className:(0,eW.cn)("bg-popover text-popover-foreground h-(--radix-navigation-menu-viewport-height) ring-border md:w-(--radix-navigation-menu-viewport-width) shadow-black/6.5 relative mt-1.5 w-full origin-top overflow-hidden rounded-xl p-0.5 shadow-xl ring-1 transition-[width,height] duration-200","data-[state=closed]:animate-scale-out data-[state=open]:animate-scale-in",e),...t})})}function eZ({className:e,...t}){return(0,r.jsx)(ew,{"data-slot":"navigation-menu-link",className:(0,eW.cn)("data-[active=true]:focus:bg-foreground
1/5 data-[active=true]:hover:bg-foreground/5 data-[active=true]:bg-foreground/2.5 data-[active=true]:text-foreground hover:bg-foreground/5 hover:text-foreground focus:bg-foreground/5 focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-[11px] p-2 text-sm outline-none transition-all focus-visible:outline-1 focus-visible:ring-[3px] [&_svg:not([class*='size-'])]:size-4",e),...t})}var eJ=e.i(487486),eQ=e.i(772436),e0=e.i(108164),e1=e.i(894013),e5=e.i(367018),e4=e.i(595085);function e2({label:e,onNavigate:t}){let[i,o]=(0,n.useState)(!1);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("button",{type:"button","aria-expanded":i,onClick:()=>o(e=>!e),className:"flex w-full items-center justify-between pt-4 pb-2 text-[17px] font-medium leading-6 text-foreground",children:[e,(0,r.jsx)(a.ChevronDown,{className:(0,eW.cn)("size-5 transition-transform duration-200",i&&"rotate-180"),"aria-hidden":"true"})]}),i&&(0,r.jsx)("div",{className:"flex flex-col pb-2",children:d.FEATURES_MENU.map(e=>{let n=e.icon;return(0,r.jsxs)(u.Link,{href:e.href,onClick:t,className:"flex items-center gap-3 rounded-[8px] p-2",children:[(0,r.jsx)("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-[8px] bg-accent text-[var(--color-brand)]",children:(0,r.jsx)(n,{className:"size-4","aria-hidden":"true"})}),(0,r.jsx)("span",{className:"text-[15px] text-foreground",children:e.label})]},e.href)})})]})}function e7({groups:e,className:t}){return(0,r.jsx)("div",{className:(0,eW.cn)("grid w-[680px] grid-cols-3 gap-2",t),children:e.map(e=>(0,r.jsxs)("div",{className:(0,eW.cn)("rounded-xl border border-divider bg-card p-2",2===e.cols?"col-span-2":"col-span-1"),children:[(0,r.jsx)("span",{className:"ml-1 text-[11px] font-medium uppercase tracking-wide text-muted-foreground",children:e.name}),(0,r.jsx)("ul",{className:(0,eW.cn)("mt-1 grid gap-0.5",2===e.cols?"grid-cols-2":"grid-cols-1"),children:e.items.map(e=>{let t=e.icon;return(0,r.jsx)("li",{children:(0,r.jsx)(eZ,{asChild:!0,className:"grid grid-cols-[auto_1fr] items-center gap-2.5",children:(0,r.jsxs)(u.Link,{href:e.href,children:[(0,r.jsx)("span",{className:"flex size-9 shrink-0 items-center justify-center rounded-lg border border-divider bg-background text-[var(--color-brand)]",children:(0,r.jsx)(t,{className:"size-[18px]","aria-hidden":"true"})}),(0,r.jsxs)("span",{className:"min-w-0",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1.5 text-sm font-medium text-foreground",children:[e.label,e.badge&&(0,r.jsx)("span",{className:"rounded-full bg-[var(--color-brand)]/10 px-1.5 py-px text-[10px] font-semibold uppercase leading-4 tracking-wide text-[var(--color-brand)]",children:e.badge})]}),(0,r.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:e.description})]})]})})},e.href)})})]},e.name))})}function e8({label:e}){return(0,r.jsx)(eJ.Badge,{variant:"secondary",className:"h-4 shrink-0 bg-[var(--color-brand)]/10 px-1.5 text-[10px] font-semibold uppercase tracking-wide text-[var(--color-brand)]",children:e})}function e6(){return(0,r.jsxs)("div",{className:"w-[860px]",children:[(0,r.jsx)("div",{className:"grid grid-cols-4 gap-x-3",children:d.FREE_TOOLS_MENU_GROUPS.map(e=>(0,r.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,r.jsx)("span",{className:"px-2 text-[11px] font-medium uppercase tracking-wide text-muted-foreground",children:e.name}),(0,r.jsx)("ul",{className:"flex flex-col",children:e.items.map(e=>{let t=e.icon;return(0,r.jsx)("li",{children:(0,r.jsx)(eZ,{asChild:!0,className:"group/tool flex-row items-center gap-2.5 rounded-lg px-2 py-1.5 text-[13px]",children:(0,r.jsxs)(u.Link,{href:e.href,children:[(0,r.jsx)(t,{className:"size-4 shrink-0 text-muted-foreground transition-colors group-hover/tool:text-[var(--color-brand)]","aria-hidden":"true"}),(0,r.jsx)("span",{className:"truncate font-medium text-foreground",children:e.label}),e.badge&&(0,r.jsx)(e8,{label:e.badge})]})})},e.href)})})]},e.name))}),(0,r.jsx)(eQ.Separator,{className:"mt-2"}),(0,r.jsx)("div",{className:"pt-1",children:(0,r.jsx)(eZ,{asChild:!0,className:"w-fit flex-row items-center gap-1.5 rounded-lg px-2 py-1.5 text-[13px] font-medium text-[var(--color-brand)]",children:(0,r.jsxs)(u.Link,{href:"/free-tools",children:["View all free tools",(0,r.jsx)(i,{className:"size-3.5","aria-hidden":"true"})]})})})]})}function e3({label:e,onNavigate:t}
1){let[o,s]=(0,n.useState)(!1);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("button",{type:"button","aria-expanded":o,onClick:()=>s(e=>!e),className:"flex w-full items-center justify-between pt-4 pb-2 text-[17px] font-medium leading-6 text-foreground",children:[e,(0,r.jsx)(a.ChevronDown,{className:(0,eW.cn)("size-5 transition-transform duration-200",o&&"rotate-180"),"aria-hidden":"true"})]}),o&&(0,r.jsxs)("div",{className:"flex flex-col gap-3 pb-2",children:[d.FREE_TOOLS_MENU_GROUPS.map(e=>(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"px-2 pb-1 text-[11px] font-medium uppercase tracking-wide text-muted-foreground",children:e.name}),(0,r.jsx)("div",{className:"flex flex-col",children:e.items.map(e=>{let n=e.icon;return(0,r.jsxs)(u.Link,{href:e.href,onClick:t,className:"flex items-center gap-3 rounded-[8px] p-2",children:[(0,r.jsx)("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-[8px] bg-accent text-[var(--color-brand)]",children:(0,r.jsx)(n,{className:"size-4","aria-hidden":"true"})}),(0,r.jsxs)("span",{className:"flex items-center gap-1.5 text-[15px] text-foreground",children:[e.label,e.badge&&(0,r.jsx)(e8,{label:e.badge})]})]},e.href)})})]},e.name)),(0,r.jsxs)(u.Link,{href:"/free-tools",onClick:t,className:"flex items-center gap-1.5 px-2 pt-1 text-[14px] font-medium text-[var(--color-brand)]",children:["View all free tools",(0,r.jsx)(i,{className:"size-3.5","aria-hidden":"true"})]})]})]})}e.s(["SiteHeader",0,function(){let e=(0,l.useTranslations)("Nav"),t=(0,l.useTranslations)("Common"),[i,a]=(0,n.useState)(!1),c=()=>a(!1),f=function(e=80){let[t,r]=(0,n.useState)(!1),i=(0,n.useRef)(0);return(0,n.useEffect)(()=>{i.current=window.scrollY;let t=()=>{let t=window.scrollY;if(!(4>=Math.abs(t-i.current))){var n;r((n=i.current,!(t<=e)&&t>n)),i.current=t}};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[e]),t}()&&!i;return(0,r.jsxs)("header",{className:(0,eW.cn)("sticky top-0 z-40 w-full border-b border-divider bg-background/70 backdrop-blur-md","transition-transform duration-300 ease-in-out motion-reduce:transition-none",f&&"-translate-y-full"),children:[(0,r.jsxs)("div",{className:"mx-auto flex h-14 w-full max-w-[1088px] items-center px-4",children:[(0,r.jsx)("div",{className:"flex flex-1 items-center",children:(0,r.jsx)(u.Link,{href:"/","aria-label":"SEOmator home",className:"shrink-0",children:(0,r.jsx)(e0.LogoWordmark,{})})}),(0,r.jsx)(eK,{viewport:!1,"aria-label":"Primary",className:"hidden lg:flex",children:(0,r.jsxs)(eB,{children:[(0,r.jsxs)(eG,{children:[(0,r.jsx)(eH,{children:e("features")}),(0,r.jsx)(eq,{children:(0,r.jsx)(e7,{groups:d.FEATURES_MENU_GROUPS})})]}),d.PRIMARY_NAV.map(t=>"freeTools"===t.key?(0,r.jsxs)(eG,{className:"static",children:[(0,r.jsx)(eH,{children:e(t.key)}),(0,r.jsx)(eq,{className:"group-data-[viewport=false]/navigation-menu:left-1/2 group-data-[viewport=false]/navigation-menu:-translate-x-1/2",children:(0,r.jsx)(e6,{})})]},t.href):(0,r.jsx)(eG,{children:(0,r.jsx)(eZ,{asChild:!0,className:eY(),children:(0,r.jsx)(u.Link,{href:t.href,children:e(t.key)})})},t.href))]})}),(0,r.jsxs)("div",{className:"hidden flex-1 items-center justify-end gap-1.5 lg:flex",children:[(0,r.jsx)(e4.LanguageSwitcher,{}),(0,r.jsx)(e1.ThemeToggle,{}),(0,r.jsx)(u.Link,{href:"/waitlist",className:(0,e5.buttonVariantsP)({variant:"primary"}),children:t("getStarted")})]}),(0,r.jsxs)("div",{className:"ml-auto flex items-center gap-2 lg:hidden",children:[!i&&(0,r.jsx)(u.Link,{href:"/waitlist",className:(0,e5.buttonVariantsP)({variant:"primary"}),children:t("getStarted")}),(0,r.jsx)("button",{type:"button","aria-label":i?e("closeMenu"):e("openMenu"),"aria-expanded":i,onClick:()=>a(e=>!e),className:"inline-flex size-9 items-center justify-center rounded-md text-foreground hover:bg-accent",children:i?(0,r.jsx)(s.X,{className:"size-5"}):(0,r.jsx)(o.Menu,{className:"size-5"})})]})]}),i&&(0,r.jsx)("div",{className:"fixed inset-x-0 top-14 z-[35] overflow-y-auto bg-background lg:hidden",style:{height:"calc(100dvh - 56px)"},children:(0,r.jsxs)("div",{className:"mx-auto flex h-full max-w-[1088px] flex-col px-5",children:[(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)(e2,{label:e("features"),onNavigate:c}),d.PRIMARY_NAV.map(t=>"freeTools"===t.key?(0,r.jsx)(e3,{label:e(t.key),onNavigate:c},t.href):(0,r.jsx)(u.Link,{href:t.href,onClick:c,className:"flex w-full items-center justify-between pt-4 pb-2 text-[17px] font-medium leading-6 text-foreground",children:e(t.key)},t.href))]}),(0,r.jsxs)("div",{className:"mt-auto flex flex-col gap-3 pt-6 pb-6",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)(e4.LanguageSwitcher,{}),(0,r.jsx)(e1.ThemeToggle,{})]}),(0,r.jsx)(u.Link,{href:"/waitlist",className:(0,eW.cn)((0,e5.buttonVariantsP)({variant:"primary"}),"flex h-12 w-full items-center justify-center"),children:t("getStarted")})]})]})})]})}],587668)},205920,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(861745),i=e.i(948148),a=e.i(520133),o=e.i(769630);e.s(["FooterToolsList",0,function({tools:e,previewCount:s=22}){let l=(0,i.useTranslations)("Footer"),u=(0,n.useLocale)(),[d,c]=(0,r.useState)(!1);return(0,t.jsxs)("ul",{className:"columns-2 gap-x-6 [&>li]:mb-2.5 [&>li]:break-inside-avoid",children:[e.map((e,r)=>{let n=(0,o.getToolNameOverride)(e.href,u)?.label??e.label;return(0,t.jsx)("li",{className:!d&&r>=s?"hidden":void 0,children:(0,t.jsxs)(a.Link,{href:e.href,className:"inline-flex max-w-full items-center gap-1.5 text-[13px] text-muted-foreground transition-colors hover:text-foreground",title:n,children:[(0,t.jsx)("span",{className:"truncate",children:n}),e.badge&&(0,t.jsx)("span",{className:"shrink-0 rounded-full bg-[var(--color-brand)]/10 px-1.5 py-px text-[10px] font-semibold uppercase leading-4 tracking-wide text-[var(--color-brand)]",children:e.badge})]})},e.href)}),(0,t.jsx)("li",{children:d?(0,t.jsxs)("button",{type:"button",onClick:()=>c(!1),className:"text-[13px] font-medium text-[var(--color-brand)] transition-opacity hover:opacity-80",children:[l("showFewer")," â"]}):(0,t.jsxs)("button",{type:"button",onClick:()=>c(!0),className:"text-[13px] font-medium text-[var(--color-brand)] transition-opacity hover:opacity-80",children:[l("showMore")," â"]})})]})}])}]);
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.