1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24697,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return u},getImageProps:function(){return c}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(81258),o=e.r(61576),l=e.r(69686),s=i._(e.r(47856));function c(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75,90,100],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=l.Image},32138,(e,t,n)=>{t.exports=e.r(24697)},67240,e=>{"use strict";var t=e.i(1292),n=e.i(95295);e.s(["createContextScope",0,function(e,r=[]){let a=[],i=()=>{let n=a.map(e=>t.createContext(e));return function(r){let a=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:a}}),[r,a])}};return i.scopeName=e,[function(r,i){let o=t.createContext(i);o.displayName=r+"Context";let l=a.length;a=[...a,i];let s=r=>{let{scope:a,children:i,...s}=r,c=a?.[e]?.[l]||o,u=t.useMemo(()=>s,Object.values(s));return(0,n.jsx)(c.Provider,{value:u,children:i})};return s.displayName=r+"Provider",[s,function(n,a){let s=a?.[e]?.[l]||o,c=t.useContext(s);if(c)return c;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let a=r.reduce((t,{useScope:n,scopeName:r})=>{let a=n(e)[`__scope${r}`];return{...t,...a}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:a}),[a])}};return r.scopeName=n.scopeName,r}(i,...r)]}])},15201,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}])},8196,43644,88164,e=>{"use strict";var t=e.i(1292),n=e.i(52127);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let n=!1,a=e.map(e=>{let a=r(e,t);return n||"function"!=typeof a||(n=!0),a});if(n)return()=>{for(let t=0;t<a.length;t++){let n=a[t];"function"==typeof n?n():r(e[t],null)}}}}function i(...e){return t.useCallback(a(...e),e)}function o(e){let n=t.forwardRef((n,r)=>{var a;let o,l,{children:u,...h}=n,v=null,x=!1,g=[];d(u)&&"function"==typeof p&&(u=p(u._payload)),t.Children.forEach(u,e=>{var n;if(n=e,t.isValidElement(n)&&"function"==typeof n.type&&"__radixId"in n.type&&n.type.__radixId===s){x=!0;let t="child"in e.props?e.props.child:e.props.children;d(t)&&"function"==typeof p&&(t=p(t._payload)),v=c(e,t),g.push(v?.props?.children)}else g.push(e)}),v?v=t.cloneElement(v,void 0,g):!x&&1===t.Children.count(u)&&t.isValidElement(u)&&(v=u);let b=v?(a=v,(l=(o=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?a.ref:(l=(o=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,y=i(r,b);if(!v){if(u||0===u)throw Error(x?m(e):f(e));return u}let w=function(e,t){let n={...t};for(let r in t){let a=e[r],i=t[r];/^on[A-Z]/.test(r)?a&&i?n[r]=(...e)=>{let t=i(...e);return a(...e),t}:a&&(n[r]=a):"style"===r?n[r]={...a,...i}:"className"===r&&(n[r]=[a,i].filter(Boolean).join(" "))}return{...e,...n}}(h,v.props??{});return v.type!==t.Fragment&&(w.ref=r?y:b),t.cloneElement(v,w)});return n.displayName=`${e}.Slot`,n}e.s(["composeRefs",0,a,"useComposedRefs",0,i],43644);var l=o("Slot"),s=Symbol.for("radix.slottable"),c=(e,n)=>{if("child"in e.props){let n=e.props.child;return t.isValidElement(n)?t.cloneElement(n,void 0,e.props.children(n.props.children)):null}return t.isValidElement(n)?n:null},u=Symbol.for("react.lazy");function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===u&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var f=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,m=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,p=t[" use ".trim().toString()];e.s(["Slot",0,l,"createSlot",0,o],88164);var h=e.i(95295),v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let r=o(`Primitive.${n}`),a=t.forwardRef((e,t)=>
1{let{asChild:a,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,h.jsx)(a?r:n,{...i,ref:t})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{});e.s(["Primitive",0,v,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}],8196)},59451,e=>{"use strict";var t=e.i(1292),n=e.i(91467);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var r=t[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:n,onChange:a=()=>{},caller:i}){let[o,l,s]=function({defaultProp:e,onChange:n}){let[a,i]=t.useState(e),o=t.useRef(a),l=t.useRef(n);return r(()=>{l.current=n},[n]),t.useEffect(()=>{o.current!==a&&(l.current?.(a),o.current=a)},[a,o]),[a,i,l]}({defaultProp:n,onChange:a}),c=void 0!==e,u=c?e:o;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==c){let t=c?"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.`)}n.current=c},[c,i])}return[u,t.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&s.current?.(n)}else l(t)},[c,e,l,s])]}],59451)},97229,e=>{"use strict";var t=e.i(1292);e.i(95295);var n=t.createContext(void 0);e.s(["useDirection",0,function(e){let r=t.useContext(n);return e||r||"ltr"}])},91467,94458,e=>{"use strict";var t=e.i(1292),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n],91467);var r=e=>{var r;let o,l,{present:s,children:c}=e,u=function(e){var r,a;let[o,l]=t.useState(),s=t.useRef(null),c=t.useRef(e),u=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",a={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>a[e][t]??e,r));return t.useEffect(()=>{let e=i(s.current);u.current="mounted"===d?e:"none"},[d]),n(()=>{let t=s.current,n=c.current;if(n!==e){let r=u.current,a=i(t);e?f("MOUNT"):"none"===a||t?.display==="none"?f("UNMOUNT"):n&&r!==a?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),n(()=>{if(o){let e,t=o.ownerDocument.defaultView??window,n=n=>{let r=i(s.current).includes(CSS.escape(n.animationName));if(n.target===o&&r&&(f("ANIMATION_END"),!c.current)){let n=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=n)})}},r=e=>{e.target===o&&(u.current=i(s.current))};return o.addEventListener("animationstart",r),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",r),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{s.current=e?getComputedStyle(e):null,l(e)},[])}}(s),d="function"==typeof c?c({present:u.isPresent}):t.Children.only(c),f=function(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,i=t.map(t=>{let n=a(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let n=i[e];"function"==typeof n?n():a(t[e],null)}}},[])}(u.ref,(r=d,(l=(o=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?r.ref:(l=(o=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?r.props.ref:r.props.ref||r.ref));return"function"==typeof c||u.isPresent?t.cloneElement(d,{ref:f}):null};function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(e){return e?.animationName||"none"}r.displayName="Presence",e.s(["Presence",0,r],94458)},68048,e=>{"use strict";
1var t=e.i(1292),n=e.i(91467),r=t[" useId ".trim().toString()]||(()=>void 0),a=0;e.s(["useId",0,function(e){let[i,o]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||o(e=>e??String(a++))},[e]),e||(i?`radix-${i}`:"")}])},15919,e=>{"use strict";var t=e.i(1292),n=e.i(67240),r=e.i(43644),a=e.i(88164),i=e.i(95295),o=new WeakMap;function l(e,t){var n,r;let a,i,o;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(n=e,r=t,a=n.length,(o=(i=s(r))>=0?i:a+i)<0||o>=a?-1:o);return -1===l?void 0:e[l]}function s(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],o.set(this,!0)}set(e,t){return o.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,a=this.has(t),i=this.#e.length,o=s(e),l=o>=0?o:i+o,c=l<0||l>=i?-1:l;if(c===this.size||a&&c===this.size-1||-1===c)return this.set(t,n),this;let u=this.size+ +!a;o<0&&l++;let d=[...this.#e],f=!1;for(let e=l;e<u;e++)if(l===e){let i=d[e];d[e]===t&&(i=d[e+1]),a&&this.delete(t),r=this.get(i),this.set(t,n)}else{f||d[e-1]!==t||(f=!0);let n=d[f?e:e-1],a=r;r=this.get(n),this.delete(n),this.set(n,a)}return this}with(t,n,r){let a=new e(this);return a.insert(t,n,r),a}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],a=0;for(let e of this)Reflect.apply(t,n,[e,a,this])&&r.push(e),a++;return new e(r)}map(t,n){let r=[],a=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,a,this])]),a++;return new e(r)}reduce(...e){let[t,n]=e,r=0,a=n??this.at(0);for(let n of this)a=0===r&&1===e.length?n:Reflect.apply(t,this,[a,n,r,this]),r++;return a}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let a=this.at(n);r=n===this.size-1&&1===e.length?a:Reflect.apply(t,this,[r,a,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,a=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(a=n-1);for(let e=t;e<=a;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}}),e.s(["createCollection",0,function(e){let o=e+"CollectionProvider",[l,s]=(0,n.createContextScope)(o),[c,u]=l(o,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:n,children:r}=e,a=t.useRef(null),o=t.useRef(new Map).current;return(0,i.jsx)(c,{scope:n,itemMap:o,collectionRef:a,children:r})};d.displayName=o;let f=e+"CollectionSlot",m=(0,a.createSlot)(f),p=t.forwardRef((e,t)=>{let{scope:n,children:a}=e,o=u(f,n),l=(0,r.useComposedRefs)(t,o.collectionRef);return(0,i.jsx)(m,{ref:l,children:a})});p.displayName=f;let h=e+"CollectionItemSlot",v="data-radix-collection-item",x=(0,a.createSlot)(h),g=t.forwardRef((e,n
1)=>{let{scope:a,children:o,...l}=e,s=t.useRef(null),c=(0,r.useComposedRefs)(n,s),d=u(h,a);return t.useEffect(()=>(d.itemMap.set(s,{ref:s,...l}),()=>void d.itemMap.delete(s))),(0,i.jsx)(x,{...{[v]:""},ref:c,children:o})});return g.displayName=h,[{Provider:d,Slot:p,ItemSlot:g},function(n){let r=u(e+"CollectionConsumer",n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])},s]}])},79603,e=>{"use strict";var t=e.i(1292);e.s(["useCallbackRef",0,function(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}])},15084,e=>{"use strict";var t=e.i(1292);e.s(["usePrevious",0,function(e){let n=t.useRef({value:e,previous:e});return t.useMemo(()=>(n.current.value!==e&&(n.current.previous=n.current.value,n.current.value=e),n.current.previous),[e])}])},72940,e=>{"use strict";var t=e.i(1292),n=e.i(8196),r=e.i(95295),a=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"}),i=t.forwardRef((e,t)=>(0,r.jsx)(n.Primitive.span,{...e,ref:t,style:{...a,...e.style}}));i.displayName="VisuallyHidden",e.s(["Root",0,i,"VISUALLY_HIDDEN_STYLES",0,a])},17737,e=>{"use strict";let t=(0,e.i(9784).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},94265,e=>{"use strict";let t=(0,e.i(9784).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],94265)},74586,e=>{"use strict";let t=(0,e.i(9784).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",0,t])},46302,e=>{"use strict";var t=e.i(1292),n=e.i(67240),r=e.i(15919),a=e.i(43644),i=e.i(15201),o=e.i(59451),l=e.i(8196),s=e.i(91467),c=e.i(94458),u=e.i(68048),d=e.i(95295),f="Collapsible",[m,p]=(0,n.createContextScope)(f),[h,v]=m(f),x=t.forwardRef((e,n)=>{let{__scopeCollapsible:r,open:a,defaultOpen:i,disabled:s,onOpenChange:c,...m}=e,[p,v]=(0,o.useControllableState)({prop:a,defaultProp:i??!1,onChange:c,caller:f});return(0,d.jsx)(h,{scope:r,disabled:s,contentId:(0,u.useId)(),open:p,onOpenToggle:t.useCallback(()=>v(e=>!e),[v]),children:(0,d.jsx)(l.Primitive.div,{"data-state":E(p),"data-disabled":s?"":void 0,...m,ref:n})})});x.displayName=f;var g="CollapsibleTrigger",b=t.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,a=v(g,n);return(0,d.jsx)(l.Primitive.button,{type:"button","aria-controls":a.open?a.contentId:void 0,"aria-expanded":a.open||!1,"data-state":E(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:t,onClick:(0,i.composeEventHandlers)(e.onClick,a.onOpenToggle)})});b.displayName=g;var y="CollapsibleContent",w=t.forwardRef((e,t)=>{let{forceMount:n,...r}=e,a=v(y,e.__scopeCollapsible);return(0,d.jsx)(c.Presence,{present:n||a.open,children:({present:e})=>(0,d.jsx)(j,{...r,ref:t,present:e})})});w.displayName=y;var j=t.forwardRef((e,n)=>{let{__scopeCollapsible:r,present:i,children:o,...c}=e,u=v(y,r),[f,m]=t.useState(i),p=t.useRef(null),h=(0,a.useComposedRefs)(n,p),x=t.useRef(0),g=x.current,b=t.useRef(0),w=b.current,j=u.open||f,N=t.useRef(j),C=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>N.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.useLayoutEffect)(()=>{let e=p.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();x.current=t.height,b.current=t.width,N.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),m(i)}},[u.open,i]),(0,d.jsx)(l.Primitive.div,{"data-state":E(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!j,...c,ref:h,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:j&&o})});function E(e){return e?"open":"closed"}var N=e.i(97229),C="Accordion",R=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[k,A,S]=(0,r.createCollection)(C),[P,_]=(0,n.createContextScope)(C,[S,p]),T=p(),L=t.forwardRef((e,t)=>
1{let{type:n,...r}=e;return(0,d.jsx)(k.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,d.jsx)(F,{...r,ref:t}):(0,d.jsx)(z,{...r,ref:t})})});L.displayName=C;var[I,D]=P(C),[O,M]=P(C,{collapsible:!1}),z=t.forwardRef((e,n)=>{let{value:r,defaultValue:a,onValueChange:i=()=>{},collapsible:l=!1,...s}=e,[c,u]=(0,o.useControllableState)({prop:r,defaultProp:a??"",onChange:i,caller:C});return(0,d.jsx)(I,{scope:e.__scopeAccordion,value:t.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:t.useCallback(()=>l&&u(""),[l,u]),children:(0,d.jsx)(O,{scope:e.__scopeAccordion,collapsible:l,children:(0,d.jsx)(U,{...s,ref:n})})})}),F=t.forwardRef((e,n)=>{let{value:r,defaultValue:a,onValueChange:i=()=>{},...l}=e,[s,c]=(0,o.useControllableState)({prop:r,defaultProp:a??[],onChange:i,caller:C}),u=t.useCallback(e=>c((t=[])=>[...t,e]),[c]),f=t.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,d.jsx)(I,{scope:e.__scopeAccordion,value:s,onItemOpen:u,onItemClose:f,children:(0,d.jsx)(O,{scope:e.__scopeAccordion,collapsible:!0,children:(0,d.jsx)(U,{...l,ref:n})})})}),[H,W]=P(C),U=t.forwardRef((e,n)=>{let{__scopeAccordion:r,disabled:o,dir:s,orientation:c="vertical",...u}=e,f=t.useRef(null),m=(0,a.useComposedRefs)(f,n),p=A(r),h="ltr"===(0,N.useDirection)(s),v=(0,i.composeEventHandlers)(e.onKeyDown,e=>{if(!R.includes(e.key))return;let t=e.target,n=p().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),a=n.length;if(-1===r)return;e.preventDefault();let i=r,o=a-1,l=()=>{(i=r+1)>o&&(i=0)},s=()=>{(i=r-1)<0&&(i=o)};switch(e.key){case"Home":i=0;break;case"End":i=o;break;case"ArrowRight":"horizontal"===c&&(h?l():s());break;case"ArrowDown":"vertical"===c&&l();break;case"ArrowLeft":"horizontal"===c&&(h?s():l());break;case"ArrowUp":"vertical"===c&&s()}let u=i%a;n[u].ref.current?.focus()});return(0,d.jsx)(H,{scope:r,disabled:o,direction:s,orientation:c,children:(0,d.jsx)(k.Slot,{scope:r,children:(0,d.jsx)(l.Primitive.div,{...u,"data-orientation":c,ref:m,onKeyDown:o?void 0:v})})})}),$="AccordionItem",[K,V]=P($),B=t.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...a}=e,i=W($,n),o=D($,n),l=T(n),s=(0,u.useId)(),c=r&&o.value.includes(r)||!1,f=i.disabled||e.disabled;return(0,d.jsx)(K,{scope:n,open:c,disabled:f,triggerId:s,children:(0,d.jsx)(x,{"data-orientation":i.orientation,"data-state":J(c),...l,...a,ref:t,disabled:f,open:c,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})});B.displayName=$;var Y="AccordionHeader",X=t.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,a=W(C,n),i=V(Y,n);return(0,d.jsx)(l.Primitive.h3,{"data-orientation":a.orientation,"data-state":J(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});X.displayName=Y;var q="AccordionTrigger",G=t.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,a=W(C,n),i=V(q,n),o=M(q,n),l=T(n);return(0,d.jsx)(k.ItemSlot,{scope:n,children:(0,d.jsx)(b,{"aria-disabled":i.open&&!o.collapsible||void 0,"data-orientation":a.orientation,id:i.triggerId,...l,...r,ref:t})})});G.displayName=q;var Z="AccordionContent",Q=t.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,a=W(C,n),i=V(Z,n),o=T(n);return(0,d.jsx)(w,{role:"region","aria-labelledby":i.triggerId,"data-orientation":a.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function J(e){return e?"open":"closed"}Q.displayName=Z,e.s(["Accordion",0,L,"AccordionContent",0,Q,"AccordionHeader",0,X,"AccordionItem",0,B,"AccordionTrigger",0,G,"Content",0,Q,"Header",0,X,"Item",0,B,"Root",0,L,"Trigger",0,G,"createAccordionScope",0,_],46302)},72261,42655,e=>{"use strict";var t=e.i(9784);let n=(0,t.default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["MinusIcon",0,n],72261);let r=(0,t.default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["PlusIcon",0,r],42655)},79449,e=>{"use strict";var t=e.i(95295),n=e.i(52036),r=e.i(46302),a=e.i(87221),i=e.i(72261),o=e.i(42655),l=e.i(75430);e.s(["Accordion",0,function(e){let a,i,o=(0,n.c)(4);return o[0]!==e?({...a}=e,o[0]=e,o[1]=a):a=o[1],o[2]!==a?(i=(0,t.jsx)(r.Root,{"data-slot":"accordion",...a}),o[2]=a,o[3]=i):i=o[3],i},"AccordionContent",0,function(e){let a,i,o,s,c,u,d=(0,n.c)(12);return d[0]!==e?({className:i,children:a,...o}=e,d[0]=e,d[1]=a,d[2]=i,d[3]=o):(a=d[1],i=d[2],o=d[3]),d[4]!==i?(s=(0,l.cn)("text-secondary p-0 text-base md:text-lg",i),d[4]=i,d[5]=s):s=d[5],d[6]!==a||d[7]!==s?(c=(0,t.jsx)("div",{className:s,children:a}),d[6]=a,d[7]=s,d[8]=c):c=d[8],d[9]!==o||d[10]!==c?(u=(0,t.jsx)(r.Content,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden",...o,children:c}
1),d[9]=o,d[10]=c,d[11]=u):u=d[11],u},"AccordionItem",0,function(e){let a,i,o,s,c=(0,n.c)(8);return c[0]!==e?({className:a,...i}=e,c[0]=e,c[1]=a,c[2]=i):(a=c[1],i=c[2]),c[3]!==a?(o=(0,l.cn)("border-b last:border-b-0",a),c[3]=a,c[4]=o):o=c[4],c[5]!==i||c[6]!==o?(s=(0,t.jsx)(r.Item,{"data-slot":"accordion-item",className:o,...i}),c[5]=i,c[6]=o,c[7]=s):s=c[7],s},"AccordionNavTrigger",0,function(e){let i,o,s,c,u,d,f,m=(0,n.c)(13);return m[0]!==e?({className:o,children:i,...s}=e,m[0]=e,m[1]=i,m[2]=o,m[3]=s):(i=m[1],o=m[2],s=m[3]),m[4]!==o?(c=(0,l.cn)("group focus-visible:border-ring focus-visible:ring-ring/50 [&[data-state=open]>div>svg:first-child]:text-primary-600 flex flex-1 cursor-pointer items-center justify-between gap-2 rounded-md text-left text-lg font-medium text-neutral-900 transition-all duration-300 outline-none after:absolute after:right-0 after:bottom-0 after:left-0 after:h-0.5 after:rounded-full after:opacity-0 after:transition-opacity focus-visible:ring-[3px] focus-visible:after:opacity-100 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-neutral-900 xl:gap-4 xl:p-6 xl:text-2xl [&[data-state=open]>div>svg:first-child]:rotate-90",o),m[4]=o,m[5]=c):c=m[5],m[6]!==i?(u=(0,t.jsx)("div",{className:"after:bg-primary-600 relative after:absolute after:right-0 after:-bottom-1 after:left-0 after:h-0.5 after:rounded-full after:opacity-0 after:transition-opacity group-data-[state=open]:after:opacity-100",children:i}),m[6]=i,m[7]=u):u=m[7],m[8]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("div",{className:"relative size-5 min-w-5",children:(0,t.jsx)(a.ChevronRight,{className:"pointer-events-none absolute inset-0 shrink-0 translate-y-0.5 text-neutral-900 transition-transform duration-200"})}),m[8]=d):d=m[8],m[9]!==s||m[10]!==c||m[11]!==u?(f=(0,t.jsx)(r.Header,{className:"flex",children:(0,t.jsxs)(r.Trigger,{"data-slot":"accordion-trigger",className:c,...s,children:[u,d]})}),m[9]=s,m[10]=c,m[11]=u,m[12]=f):f=m[12],f},"AccordionTrigger",0,function(e){let a,s,c,u,d,f,m,p=(0,n.c)(14);p[0]!==e?({className:s,children:a,withIndicator:u,...c}=e,p[0]=e,p[1]=a,p[2]=s,p[3]=c,p[4]=u):(a=p[1],s=p[2],c=p[3],u=p[4]);let h=void 0===u||u;return p[5]!==s?(d=(0,l.cn)("focus-visible:border-ring bg-bg-gray group focus-visible:ring-ring/50 text-primary flex flex-1 cursor-pointer items-center gap-2 rounded-md px-2 py-4 text-left text-lg font-semibold transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 md:gap-4 md:p-6 md:text-2xl [&[data-state=open]>div>svg:first-child]:opacity-0 [&[data-state=open]>div>svg:last-child]:opacity-100",s),p[5]=s,p[6]=d):d=p[6],p[7]!==h?(f=h&&(0,t.jsxs)("div",{className:"relative h-6 w-6",children:[(0,t.jsx)(o.PlusIcon,{size:24,className:"text-primary-600 pointer-events-none absolute inset-0 shrink-0 translate-y-0.5 transition-opacity duration-200"}),(0,t.jsx)(i.MinusIcon,{size:24,className:"text-primary-600 pointer-events-none absolute inset-0 shrink-0 translate-y-0.5 opacity-0 transition-opacity duration-200"})]}),p[7]=h,p[8]=f):f=p[8],p[9]!==a||p[10]!==c||p[11]!==d||p[12]!==f?(m=(0,t.jsx)(r.Header,{className:"flex",children:(0,t.jsxs)(r.Trigger,{"data-slot":"accordion-trigger",className:d,...c,children:[f,a]})}),p[9]=a,p[10]=c,p[11]=d,p[12]=f,p[13]=m):m=p[13],m}])},92185,82325,90849,82657,13579,73772,e=>{"use strict";let t;var n,r,a,i,o,l,s,c,u=e.i(1292),d=e.i(15201),f=e.i(8196),m=e.i(43644),p=e.i(79603),h=e.i(95295),v="dismissableLayer.update",x=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),g=u.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:l,onDismiss:c,...g}=e,w=u.useContext(x),[j,E]=u.useState(null),N=j?.ownerDocument??globalThis?.document,[,C]=u.useState({}),R=(0,m.useComposedRefs)(t,e=>E(e)),k=Array.from(w.layers),[A]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),S=k.indexOf(A),P=j?k.indexOf(j):-1,_=w.layersWithOutsidePointerEventsDisabled.size>0,T=P>=S,L=u.useRef(!1),I=function(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:i}=t,o=(0,p.useCallbackRef)(e),l=u.useRef(!1),s=u.useRef(!1),c=u.useRef(new Map),d=u.useRef(()=>{});return u.useEffect(()=>{function e(){s.current=!1,a.current=!1,c.current.clear()}function t(e){if(!s.current)return;let t=e.target;t instanceof Node&&[...i].some(e=>e.contains(t))||c.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{s.current&&d.current()},0)}function u(e){s.current&&c.current.set(e.type,!1)}let f=t=>
1{if(t.target&&!l.current){let i=function(){n.removeEventListener("click",d.current);let t=Array.from(c.current.values()).some(Boolean);e(),t||y("dismissableLayer.pointerDownOutside",o,l,{discrete:!0})},l={originalEvent:t};s.current=!0,a.current=r&&0===t.button,c.current.clear(),r&&0===t.button?(n.removeEventListener("click",d.current),d.current=i,n.addEventListener("click",d.current,{once:!0})):i()}else n.removeEventListener("click",d.current),e();l.current=!1},m=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of m)n.addEventListener(e,t,!0),n.addEventListener(e,u);let p=window.setTimeout(()=>{n.addEventListener("pointerdown",f)},0);return()=>{for(let e of(window.clearTimeout(p),n.removeEventListener("pointerdown",f),n.removeEventListener("click",d.current),m))n.removeEventListener(e,t,!0),n.removeEventListener(e,u)}},[n,o,r,a,i]),{onPointerDownCapture:()=>l.current=!0}}(e=>{let t=e.target;if(!(t instanceof Node))return;let n=[...w.branches].some(e=>e.contains(t));T&&!n&&(i?.(e),l?.(e),e.defaultPrevented||c?.())},{ownerDocument:N,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:L,dismissableSurfaces:w.dismissableSurfaces}),D=function(e,t=globalThis?.document){let n=(0,p.useCallbackRef)(e),r=u.useRef(!1);return u.useEffect(()=>{let e=e=>{e.target&&!r.current&&y("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{if(r&&L.current)return;let t=e.target;![...w.branches].some(e=>e.contains(t))&&(o?.(e),l?.(e),e.defaultPrevented||c?.())},N);return!function(e,t=globalThis?.document){let n=(0,p.useCallbackRef)(e);u.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{P===w.layers.size-1&&(a?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},N),u.useEffect(()=>{if(j)return n&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(s=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(j)),w.layers.add(j),b(),()=>{n&&(w.layersWithOutsidePointerEventsDisabled.delete(j),0===w.layersWithOutsidePointerEventsDisabled.size&&(N.body.style.pointerEvents=s))}},[j,N,n,w]),u.useEffect(()=>()=>{j&&(w.layers.delete(j),w.layersWithOutsidePointerEventsDisabled.delete(j),b())},[j,w]),u.useEffect(()=>{let e=()=>C({});return document.addEventListener(v,e),()=>document.removeEventListener(v,e)},[]),(0,h.jsx)(f.Primitive.div,{...g,ref:R,style:{pointerEvents:_?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,d.composeEventHandlers)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,d.composeEventHandlers)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,d.composeEventHandlers)(e.onPointerDownCapture,I.onPointerDownCapture)})});function b(){let e=new CustomEvent(v);document.dispatchEvent(e)}function y(e,t,n,{discrete:r}){let a=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?(0,f.dispatchDiscreteCustomEvent)(a,i):a.dispatchEvent(i)}g.displayName="DismissableLayer",u.forwardRef((e,t)=>{let n=u.useContext(x),r=u.useRef(null),a=(0,m.useComposedRefs)(t,r);return u.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,h.jsx)(f.Primitive.div,{...e,ref:a})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,g,"useDismissableLayerSurface",0,function(){let e=u.useContext(x),[t,n]=u.useState(null);return u.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}],92185);var w="focusScope.autoFocusOnMount",j="focusScope.autoFocusOnUnmount",E={bubbles:!1,cancelable:!0},N=u.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...o}=e,[l,s]=u.useState(null),c=(0,p.useCallbackRef)(a),d=(0,p.useCallbackRef)(i),v=u.useRef(null),x=(0,m.useComposedRefs)(t,e=>s(e)),g=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(r){let e=function(e){if(g.paused||!l)return;let t=e.target;l.contains(t)?v.current=t:k(v.current,{select:!0})},t=function(e){if(g.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||k(v.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&k(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,g.paused]),u.useEffect(()=>{if(l){A.add(g);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(w,E);l.addEventListener(w,c),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(k(r,{select:t}),document.activeElement!==n)return}(C(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&k(l))}return()=>{l.removeEventListener(w,c),setTimeout(()=>{let t=new CustomEvent(j,E);l.addEventListener(j,d),l.dispatchEvent(t),t.defaultPrevented||k(e??document.body,{select:!0}),l.removeEventListener(j,d),A.remove(g)},0)}}},[l,c,d,g]);let b=u.useCallback(e=>{if(!n&&!r||g.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,a=document.activeElement;if(t&&a){var i;let t,r=e.currentTarget,[o,l]=[R(t=C(i=r),i),R(t.reverse(),i)];o&&l?e.shiftKey||a!==l?e.shiftKey&&a===o&&(e.preventDefault(),n&&k(l,{select:!0})):(e.preventDefault(),n&&k(o,{select:!0})):a===r&&e.preventDefault()}},[n,r,g.paused]);return(0,h.jsx)(f.Primitive.div,{tabIndex:-1,...o,ref:x,onKeyDown:b})});function C(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function R(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function k(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}N.displayName="FocusScope";var A=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=S(t,e)).unshift(e)},remove(e){t=S(t,e),t[0]?.resume()}});function S(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",0,N],82325);var P=e.i(52127),_=e.i(91467),T=u.forwardRef((e,t)=>
1{let{container:n,...r}=e,[a,i]=u.useState(!1);(0,_.useLayoutEffect)(()=>i(!0),[]);let o=n||a&&globalThis?.document?.body;return o?P.createPortal((0,h.jsx)(f.Primitive.div,{...r,ref:t}),o):null});T.displayName="Portal",e.s(["Portal",0,T],90849);var L=0,I=null;function D(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",0,function(){u.useEffect(()=>{I||(I={start:D(),end:D()});let{start:e,end:t}=I;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),L++,()=>{1===L&&(I?.start.remove(),I?.end.remove(),I=null),L=Math.max(0,L-1)}},[])}],82657);var O=function(){return(O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function M(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}var z=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),F="width-before-scroll-bar";function H(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var W="u">typeof window?u.useLayoutEffect:u.useEffect,U=new WeakMap,$=(void 0===n&&(n={}),(void 0===r&&(r=function(e){return e}),a=[],i=!1,o={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=r(e,i);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){i=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=O({async:!0,ssr:!1},n),o),K=function(){},V=u.forwardRef(function(e,t){var n,r,a,i,o=u.useRef(null),l=u.useState({onScrollCapture:K,onWheelCapture:K,onTouchMoveCapture:K}),s=l[0],c=l[1],d=e.forwardProps,f=e.children,m=e.className,p=e.removeScrollBar,h=e.enabled,v=e.shards,x=e.sideCar,g=e.noRelative,b=e.noIsolation,y=e.inert,w=e.allowPinchZoom,j=e.as,E=e.gapMode,N=M(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=(n=[o,t],r=function(e){return n.forEach(function(t){return H(t,e)})},(a=(0,u.useState)(function(){return{value:null,callback:r,facade:{get current(){return a.value},set current(value){var e=a.value;e!==value&&(a.value=value,a.callback(value,e))}}}})[0]).callback=r,i=a.facade,W(function(){var e=U.get(i);if(e){var t=new Set(e),r=new Set(n),a=i.current;t.forEach(function(e){r.has(e)||H(e,null)}),r.forEach(function(e){t.has(e)||H(e,a)})}U.set(i,n)},[n]),i),R=O(O({},N),s);return u.createElement(u.Fragment,null,h&&u.createElement(x,{sideCar:$,removeScrollBar:p,shards:v,noRelative:g,noIsolation:b,inert:y,setCallbacks:c,allowPinchZoom:!!w,lockRef:o,gapMode:E}),d?u.cloneElement(u.Children.only(f),O(O({},R),{ref:C})):u.createElement(void 0===j?"div":j,O({},R,{className:m,ref:C}),f))});V.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},V.classNames={fullWidth:F,zeroRight:z};var B=function(e){var t=e.sideCar,n=M(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return u.createElement(r,O({},n))};B.isSideCarExport=!0;var Y=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,a;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},X=function(){var e=Y();return function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},q=function(){var e=X();return function(t){return e(t.styles,t.dynamic),null}},G={left:0,top:0,right:0,gap:0},Z=function(e){return parseInt(e||"",10)||0},Q=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[Z(n),Z(r),Z(a)]},J=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return G;var t=Q(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ee=q(),et="data-scroll-locked",en=function(e,t,n,r){var a=e.left,i=e.top,o=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(et,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(a,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(o,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(z," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(F," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(z," .").concat(z," {\n right: 0 ").concat(r,";\n }\n \n .").concat(F," .").concat(F," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(et,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},er=function(){var e=parseInt(document.body.getAttribute(et)||"0",10);return isFinite(e)?e:0},ea=function(){u.useEffect(function(){return document.body.setAttribute(et,(er()+1).toString()),function(){var e=er()-1;e<=0?document.body.removeAttribute(et):document.body.setAttribute(et,e.toString())}},[])},ei=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=void 0===r?"margin":r;ea();var i=u.useMemo(function(){return J(a)},[a]);return u.createElement(ee,{styles:en(i,!t,a,n?"":"!important")})},eo=!1;if("u">typeof window)try{var el=Object.defineProperty({},"passive",{get:function(){return eo=!0,!0}});window.addEventListener("test",el,el),window.removeEventListener("test",el,el)}catch(e){eo=!1}var es=!!eo&&{passive:!1},ec=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},eu=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),ed(e,r)){var a=ef(e,r);if(a[1]>a[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},ed=function(e,t){return"v"===e?ec(t,"overflowY"):ec(t,"overflowX")},ef=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},em=function(e,t,n,r,a){var i,o=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=o*r,s=n.target,c=t.contains(s),u=!1,d=l>0,f=0,m=0;do{if(!s)break;var p=ef(e,s),h=p[0],v=p[1]-p[2]-o*h;(h||v)&&ed(e,s)&&(f+=v,m+=h);var x=s.parentNode;s=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}while(!c&&s!==document.body||c&&(t.contains(s)||t===s))return d&&(a&&1>Math.abs(f)||!a&&l>f)?u=!0:!d&&(a&&1>Math.abs(m)||!a&&-l>m)&&(u=!0),u},ep=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eh=function(e){return[e.deltaX,e.deltaY]},ev=function(e){return e&&"current"in e?e.current:e},ex=0,eg=[];let eb=(l=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),a=u.useState(ex++)[0],i=u.useState(q)[0],o=u.useRef(e);u.useEffect(function(){o.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ev),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var a,i=ep(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),m=f&&f.anchorNode;if(m&&(m===u||m.contains(u)))return!1;var p=eu(d,u);if(!p)return!0;if(p?a=d:(a="v"===d?"h":"v",p=eu(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=a),!a)return!0;var h=r.current||a;return em(h,t,e,"h"===h?s:c,!0)},[]),s=u.useCallback(function(e){if(eg.length&&eg[eg.length-1]===i){var n="deltaY"in e?eh(e):ep(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}
1if(!r){var a=(o.current.shards||[]).map(ev).filter(Boolean).filter(function(t){return t.contains(e.target)});(a.length>0?l(e,a[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=u.useCallback(function(e,n,r,a){var i={name:e,delta:n,target:r,should:a,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=u.useCallback(function(e){n.current=ep(e),r.current=void 0},[]),f=u.useCallback(function(t){c(t.type,eh(t),t.target,l(t,e.lockRef.current))},[]),m=u.useCallback(function(t){c(t.type,ep(t),t.target,l(t,e.lockRef.current))},[]);u.useEffect(function(){return eg.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",s,es),document.addEventListener("touchmove",s,es),document.addEventListener("touchstart",d,es),function(){eg=eg.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,es),document.removeEventListener("touchmove",s,es),document.removeEventListener("touchstart",d,es)}},[]);var p=e.removeScrollBar,h=e.inert;return u.createElement(u.Fragment,null,h?u.createElement(i,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,p?u.createElement(ei,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},$.useMedium(l),B);var ey=u.forwardRef(function(e,t){return u.createElement(V,O({},e,{ref:t,sideCar:eb}))});ey.classNames=V.classNames,e.s(["RemoveScroll",0,ey],13579);var ew=new WeakMap,ej=new WeakMap,eE={},eN=0,eC=function(e){return e&&(e.host||eC(e.parentNode))},eR=function(e,t,n,r){var a=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=eC(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});eE[n]||(eE[n]=new WeakMap);var i=eE[n],o=[],l=new Set,s=new Set(a),c=function(e){!e||l.has(e)||(l.add(e),c(e.parentNode))};a.forEach(c);var u=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))u(e);else try{var t=e.getAttribute(r),a=null!==t&&"false"!==t,s=(ew.get(e)||0)+1,c=(i.get(e)||0)+1;ew.set(e,s),i.set(e,c),o.push(e),1===s&&a&&ej.set(e,!0),1===c&&e.setAttribute(n,"true"),a||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),l.clear(),eN++,function(){o.forEach(function(e){var t=ew.get(e)-1,a=i.get(e)-1;ew.set(e,t),i.set(e,a),t||(ej.has(e)||e.removeAttribute(r),ej.delete(e)),a||e.removeAttribute(n)}),--eN||(ew=new WeakMap,ew=new WeakMap,ej=new WeakMap,eE={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),eR(r,a,n,"aria-hidden")):function(){return null}}],73772)},41973,e=>{"use strict";var t=e.i(1292),n=e.i(15201),r=e.i(43644),a=e.i(67240),i=e.i(68048),o=e.i(59451),l=e.i(92185),s=e.i(82325),c=e.i(90849),u=e.i(94458),d=e.i(8196),f=e.i(82657),m=e.i(13579),p=e.i(73772),h=e.i(88164),v=e.i(95295),x="Dialog",[g,b]=(0,a.createContextScope)(x),[y,w]=g(x),j=e=>{let{__scopeDialog:n,children:r,open:a,defaultOpen:l,onOpenChange:s,modal:c=!0}=e,u=t.useRef(null),d=t.useRef(null),[f,m]=(0,o.useControllableState)({prop:a,defaultProp:l??!1,onChange:s,caller:x});return(0,v.jsx)(y,{scope:n,triggerRef:u,contentRef:d,contentId:(0,i.useId)(),titleId:(0,i.useId)(),descriptionId:(0,i.useId)(),open:f,onOpenChange:m,onOpenToggle:t.useCallback(()=>m(e=>!e),[m]),modal:c,children:r})};j.displayName=x;var E="DialogTrigger",N=t.forwardRef((e,t)=>{let{__scopeDialog:a,...i}=e,o=w(E,a),l=(0,r.useComposedRefs)(t,o.triggerRef);return(0,v.jsx)(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":K(o.open),...i,ref:l,onClick:(0,n.composeEventHandlers)(e.onClick,o.onOpenToggle)})});N.displayName=E;var C="DialogPortal",[R,k]=g(C,{forceMount:void 0}),A=e=>{let{__scopeDialog:n,forceMount:r,children:a,container:i}=e,o=w(C,n);return(0,v.jsx)(R,{scope:n,forceMount:r,children:t.Children.map(a,e=>(0,v.jsx)(u.Presence,{present:r||o.open,children:(0,v.jsx)(c.Portal,{asChild:!0,container:i,children:e})}))})};A.displayName=C;var S="DialogOverlay",P=t.forwardRef((e,t)=>
1{let n=k(S,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,i=w(S,e.__scopeDialog);return i.modal?(0,v.jsx)(u.Presence,{present:r||i.open,children:(0,v.jsx)(T,{...a,ref:t})}):null});P.displayName=S;var _=(0,h.createSlot)("DialogOverlay.RemoveScroll"),T=t.forwardRef((e,t)=>{let{__scopeDialog:n,...a}=e,i=w(S,n),o=(0,l.useDismissableLayerSurface)(),s=(0,r.useComposedRefs)(t,o);return(0,v.jsx)(m.RemoveScroll,{as:_,allowPinchZoom:!0,shards:[i.contentRef],children:(0,v.jsx)(d.Primitive.div,{"data-state":K(i.open),...a,ref:s,style:{pointerEvents:"auto",...a.style}})})}),L="DialogContent",I=t.forwardRef((e,t)=>{let n=k(L,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,i=w(L,e.__scopeDialog);return(0,v.jsx)(u.Presence,{present:r||i.open,children:i.modal?(0,v.jsx)(D,{...a,ref:t}):(0,v.jsx)(O,{...a,ref:t})})});I.displayName=L;var D=t.forwardRef((e,a)=>{let i=w(L,e.__scopeDialog),o=t.useRef(null),l=(0,r.useComposedRefs)(a,i.contentRef,o);return t.useEffect(()=>{let e=o.current;if(e)return(0,p.hideOthers)(e)},[]),(0,v.jsx)(M,{...e,ref:l,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),O=t.forwardRef((e,n)=>{let r=w(L,e.__scopeDialog),a=t.useRef(!1),i=t.useRef(!1);return(0,v.jsx)(M,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||r.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),M=t.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:i,...o}=e,c=w(L,n);return(0,f.useFocusGuards)(),(0,v.jsx)(v.Fragment,{children:(0,v.jsx)(s.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:i,children:(0,v.jsx)(l.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":K(c.open),...o,ref:t,deferPointerDownOutside:!0,onDismiss:()=>c.onOpenChange(!1)})})})}),z="DialogTitle",F=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=w(z,n);return(0,v.jsx)(d.Primitive.h2,{id:a.titleId,...r,ref:t})});F.displayName=z;var H="DialogDescription",W=t.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=w(H,n);return(0,v.jsx)(d.Primitive.p,{id:a.descriptionId,...r,ref:t})});W.displayName=H;var U="DialogClose",$=t.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,i=w(U,r);return(0,v.jsx)(d.Primitive.button,{type:"button",...a,ref:t,onClick:(0,n.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function K(e){return e?"open":"closed"}$.displayName=U,e.s(["Close",0,$,"Content",0,I,"Description",0,W,"Overlay",0,P,"Portal",0,A,"Root",0,j,"Title",0,F,"Trigger",0,N])},16939,e=>{"use strict";var t=e.i(52036),n=e.i(1292);let r={sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)",xl:"(min-width: 1280px)"};e.s(["useMediaQuery",0,function(e){let a,i,o=(0,t.c)(3),[l,s]=(0,n.useState)(!1);return o[0]!==e?(a=()=>{if(!e)return;let t=window.matchMedia(r[e]);s(t.matches);let n=e=>{let{matches:t}=e;return s(t)};return t.addEventListener("change",n),()=>t.removeEventListener("change",n)},i=[e],o[0]=e,o[1]=a,o[2]=i):(a=o[1],i=o[2]),(0,n.useEffect)(a,i),!!e&&l}])},30664,e=>{"use strict";var t=e.i(95295),n=e.i(52036),r=e.i(75430),a=e.i(44886);e.s(["ResourceLink",0,function(e){let i,o,l,s,c,u,d,f=(0,n.c)(18);if(f[0]!==e?({slug:s,contentType:i,externalLink:o,...l}=e,f[0]=e,f[1]=i,f[2]=o,f[3]=l,f[4]=s):(i=f[1],o=f[2],l=f[3],s=f[4]),o){let e,n;f[5]!==o?(e={type:"external",externalUrl:o},f[5]=o,f[6]=e):e=f[6];let r=e;
1return f[7]!==r||f[8]!==l?(n=(0,t.jsx)(a.AppLink,{destination:r,...l}),f[7]=r,f[8]=l,f[9]=n):n=f[9],n}f[10]!==i||f[11]!==s?(c=(0,r.getResourcePath)(s,i),f[10]=i,f[11]=s,f[12]=c):c=f[12],f[13]!==c?(u={type:"page",page:{slug:c,isDisabled:!1}},f[13]=c,f[14]=u):u=f[14];let m=u;return f[15]!==m||f[16]!==l?(d=(0,t.jsx)(a.AppLink,{destination:m,...l}),f[15]=m,f[16]=l,f[17]=d):d=f[17],d}])},88180,(e,t,n)=>{"use strict";var r=/["'&<>]/;t.exports=function(e){var t,n=""+e,a=r.exec(n);if(!a)return n;var i="",o=0,l=0;for(o=a.index;o<n.length;o++){switch(n.charCodeAt(o)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}l!==o&&(i+=n.substring(l,o)),l=o+1,i+=t}return l!==o?i+n.substring(l,o):i}},94924,e=>{"use strict";e.i(14207);var t,n,r=e.i(1292);function a(e){return void 0!==e.children}function i(e){return void 0!==e.text}(t=n||(n={}))[t["heading-one"]=0]="heading-one",t[t["heading-two"]=1]="heading-two",t[t["heading-three"]=2]="heading-three",t[t["heading-four"]=3]="heading-four",t[t["heading-five"]=4]="heading-five",t[t["heading-six"]=5]="heading-six",t[t.table_head=6]="table_head";var o={"heading-one":"h1","heading-two":"h2","heading-three":"h3","heading-four":"h4","heading-five":"h5","heading-six":"h6",class:"class",link:"a",image:"img",iframe:"iframe",video:"video","bulleted-list":"ul","numbered-list":"ol","list-item":"li","list-item-child":"list_item_child",table:"table",table_head:"table_head",table_body:"table_body",table_row:"table_row",table_cell:"table_cell",table_header_cell:"table_header_cell","block-quote":"blockquote",paragraph:"p",bold:"bold",italic:"italic",underline:"underline",code:"code","code-block":"code_block"},l=e.i(88180);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function u(e){var t=e.url;return r.default.createElement("audio",{style:{display:"block",maxWidth:"100%",height:"auto"},src:t,controls:!0},r.default.createElement("p",null,"Your browser doesn't support HTML5 audio. Here is a"," ",r.default.createElement("a",{href:t},"link to the audio")," instead."))}function d(e){var t=e.src,n=e.width,a=e.height,i=e.altText,o=e.title,s=n&&n>0,c=a&&a>0;return r.default.createElement("img",Object.assign({loading:"lazy",src:(0,l.default)(t)},s&&{width:n},c&&{height:a},{alt:i,title:o}))}function f(e){var t=e.src,n=e.width,a=e.height,i=e.title;return r.default.createElement("video",{src:(0,l.default)(t),controls:!0,width:n||"100%",height:a||"100%",title:i},r.default.createElement("p",null,"Your browser doesn't support HTML5 video. Here is a"," ",r.default.createElement("a",{href:t},"link to the video")," instead."))}function m(e){return e.mimeType,r.default.createElement(r.Fragment,null)}var p={a:function(e){var t=e.children,n=c(e,["children"]),a=n.href,i=n.rel,o=n.id,s=n.title,u=n.openInNewTab,d=n.className,f={};return i&&(f.rel=i),o&&(f.id=o),s&&(f.title=s),d&&(f.className=d),u&&(f.target="_blank"),r.default.createElement("a",Object.assign({href:(0,l.default)(a)},f),t)},class:function(e){var t=e.className,n=e.children;return r.default.createElement("div",{className:t},n)},video:f,img:d,iframe:function(e){var t=e.url;return r.default.createElement("div",{style:{position:"relative",overflow:"hidden",width:"100%",paddingTop:"56.25%"}},r.default.createElement("iframe",{style:{position:"absolute",top:0,bottom:0,right:0,left:0,width:"100%",height:"100%"},src:(0,l.default)(t),loading:"lazy",allow:"fullscreen",frameBorder:"0",referrerPolicy:"no-referrer"}))},blockquote:function(e){var t=e.children;return r.default.createElement("blockquote",null,t)},ul:function(e){var t=e.children;return r.default.createElement("ul",null,t)},ol:function(e){var t=e.children;return r.default.createElement("ol",null,t)},li:function(e){var t=e.children;return r.default.createElement("li",null,t)},p:function(e){var t=e.children;return r.default.createElement("p",null,t)},h1:function(e){var t=e.children;return r.default.createElement("h1",null,t)},h2:function(e){var t=e.children;return r.default.createElement("h2",null,t)},h3:function(e){var t=e.children;return r.default.createElement("h3",null,t)},h4:function(e){var t=e.children;return r.default.createElement("h4",null,t)},h5:function(e){var t=e.children;return r.default.createElement("h5",null,t)},h6:function(e){var t=e.children;return r.default.createElement("h6",null,t)},table:function(e){var t=e.children;return r.default.createElement("table",null,t)},table_head:function(e){var t=e.children;return r.default.createElement("thead",null,t)},table_body:function(e){var t=e.children;return r.default.createElement("tbody",null,t)},table_row:function(e){var t=e.children;return r.default.createElement("tr",null,t)},table_cell:function(e){var t=e.children;return r.default.createElement("td",null,t)},table_header_cell:function(e){var t=e.children;
1return r.default.createElement("th",null,t)},bold:function(e){var t=e.children;return r.default.createElement("b",null,t)},italic:function(e){var t=e.children;return r.default.createElement("i",null,t)},underline:function(e){var t=e.children;return r.default.createElement("u",null,t)},code:function(e){var t=e.children;return r.default.createElement("code",null,t)},code_block:function(e){var t=e.children;return r.default.createElement("pre",{style:{whiteSpace:"pre",wordWrap:"break-word",overflowX:"auto",WebkitOverflowScrolling:"touch",fontFamily:"monospace"}},t)},list_item_child:function(e){var t=e.children;return r.default.createElement(r.default.Fragment,null,t)},Asset:{audio:function(e){return r.default.createElement(u,Object.assign({},e,{url:e.url}))},image:function(e){return r.default.createElement(d,Object.assign({},e,{src:e.url}))},video:function(e){return r.default.createElement(f,Object.assign({},e,{src:e.url}))},font:m,application:m,model:m,text:m},embed:{},link:{}};function h(e){var t=e.textNode,n=e.renderers,a=e.shouldSerialize,i=t.text,o=t.bold,l=t.italic,s=t.underline,c=t.code,u=a?function(e){if(e.includes("\n")){var t=e.split("\n");return t.map(function(e,n){return r.default.createElement(r.default.Fragment,{key:n},e,n===t.length-1?null:r.default.createElement("br",null))})}return e}(i):i,d=null==n?void 0:n.bold,f=null==n?void 0:n.italic,m=null==n?void 0:n.underline,p=null==n?void 0:n.code;return o&&d&&(u=r.default.createElement(d,null,u)),l&&f&&(u=r.default.createElement(f,null,u)),s&&m&&(u=r.default.createElement(m,null,u)),c&&p&&(u=r.default.createElement(p,null,u)),r.default.createElement(r.default.Fragment,null,u)}function v(e){var t=e.node,n=e.parent,o=e.renderers,l=e.references;if(i(t)){var c=t.text,u=n&&a(n)&&"code-block"!==n.type;return r.default.createElement(h,{textNode:s({},t,{text:c}),renderers:o,shouldSerialize:u})}return a(t)?r.default.createElement(x,{element:t,renderers:o,references:l}):(t.type,r.default.createElement(r.Fragment,null))}function x(e){var t=e.element,l=e.renderers,u=e.references,d=t.children,f=t.type,m=c(t,["children","type"]),p=m.nodeId,h=m.nodeType;if(f in n&&(d.length>1?!(d.filter(function e(t){return!!i(t)&&""!==t.text||!!a(t)&&(t.children=t.children.filter(e)).length}).length>0):""===d[0].text))return r.default.createElement(r.Fragment,null);var v=p&&h,x=v?null==u?void 0:u.filter(function(e){return e.id===p})[0]:null;if(v&&"Asset"!==h){var b,y,w,j="link"===f?null==l||null==(y=l.link)?void 0:y[h]:null==l||null==(w=l.embed)?void 0:w[h];if(void 0===j)return console.warn("[@graphcms/rich-text-react-renderer]: No renderer found for custom "+f+" nodeType "+h+"."),r.default.createElement(r.Fragment,null);b=j}if(v&&"Asset"===h){var E=null==l||null==(N=l.Asset)?void 0:N[null==x?void 0:x.mimeType];if(void 0!==E)b=E;else{var N,C,R=null==x?void 0:x.mimeType.split("/")[0];b=null==l||null==(C=l.Asset)?void 0:C[R]}}var k=v?b:null==l?void 0:l[o[f]],A=s({},m,x);return k?r.default.createElement(k,Object.assign({},A),r.default.createElement(g,{content:d,renderers:l,references:u,parent:t})):r.default.createElement(r.Fragment,null)}function g(e){var t=e.content,n=e.references,a=e.renderers,i=e.parent,o=Array.isArray(t)?t:t.children;return r.default.createElement(r.default.Fragment,null,o.map(function(e,t){return r.default.createElement(v,{node:e,parent:i||null,renderers:a,references:n,key:t})}))}e.s(["RichText",0,function(e){var t=e.content,n=e.renderers,a=e.references,i=s({},null==p?void 0:p.Asset,null==n?void 0:n.Asset),o=s({},p,n,{Asset:i});return r.default.createElement(g,{content:t,renderers:o,references:a})}],94924)},46791,e=>{"use strict";var t=e.i(95295),n=e.i(52036),r=e.i(94924);let a="text-sm leading-tight font-medium text-neutral-700 xl:text-lg";function i(e){var a;let i,d,f,m,p=(0,n.c)(5),{richTextContent:h}=e;p[0]!==h?(d=(i=(Array.isArray(a=h)?a:a&&"object"==typeof a&&"children"in a&&Array.isArray(a.children)?a.children:[]).find(e=>e&&"object"==typeof e&&"type"in e&&"paragraph"===e.type))?Array.isArray(a)?[i]:{...a,children:[i]}:null,p[0]=h,p[1]=d):d=p[1];let v=d;return v?(p[2]===Symbol.for("react.memo_cache_sentinel")?(f={p:u,a:c,bold:s,italic:l,underline:o}
1,p[2]=f):f=p[2],p[3]!==v?(m=(0,t.jsx)(r.RichText,{content:v,renderers:f}),p[3]=v,p[4]=m):m=p[4],m):null}function o(e){let{children:n}=e;return(0,t.jsx)("span",{children:n})}function l(e){let{children:n}=e;return(0,t.jsx)("span",{children:n})}function s(e){let{children:n}=e;return(0,t.jsx)("span",{children:n})}function c(e){let{children:n}=e;return(0,t.jsx)("span",{children:n})}function u(e){let{children:n}=e;return(0,t.jsx)("p",{className:"mb-0 line-clamp-3",children:n})}e.s(["ResourceDescriptionRenderer",0,function(e){let r,o,l=(0,n.c)(10),{description:s,content:c,className:u,descriptionPreviewAttrs:d,contentPreviewAttrs:f}=e;if(s&&"Planday Resource"!==s){let e,n=u||`line-clamp-3 ${a}`;return l[0]!==s||l[1]!==d||l[2]!==n?(e=(0,t.jsx)("p",{...d,className:n,children:s}),l[0]=s,l[1]=d,l[2]=n,l[3]=e):e=l[3],e}let m=c?.[0]?.__typename==="RichTextComponent"&&c[0].richText?.raw?c[0].richText.raw:null;if(!m)return null;let p=u||a;return l[4]!==m?(r=(0,t.jsx)(i,{richTextContent:m}),l[4]=m,l[5]=r):r=l[5],l[6]!==f||l[7]!==p||l[8]!==r?(o=(0,t.jsx)("div",{...f,className:p,children:r}),l[6]=f,l[7]=p,l[8]=r,l[9]=o):o=l[9],o}])},81919,e=>{"use strict";var t=e.i(95295),n=e.i(52036);e.s(["ProductTourIframe",0,function(e){let r,a,i,o=(0,n.c)(4),{url:l}=e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(r={position:"relative",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},o[0]=r):r=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(a={position:"absolute",top:0,left:0,width:"100%",height:"100%",border:"1px solid rgba(63,95,172,0.35)",boxShadow:"0px 0px 18px rgba(26, 19, 72, 0.15)",borderRadius:"10px",boxSizing:"border-box"},o[1]=a):a=o[1],o[2]!==l?(i=(0,t.jsx)("div",{className:"sl-embed-nav",style:r,children:(0,t.jsx)("iframe",{title:"Product Tour",loading:"lazy",className:"sl-demo-nav",src:l,allow:"fullscreen",style:a})}),o[2]=l,o[3]=i):i=o[3],i}])},85581,e=>{"use strict";var t=e.i(74586);e.s(["XIcon",()=>t.default])},39686,e=>{"use strict";var t=e.i(95295),n=e.i(52036),r=e.i(41973),a=e.i(85581),i=e.i(75430);function o(e){let a,i,o=(0,n.c)(4);return o[0]!==e?({...a}=e,o[0]=e,o[1]=a):a=o[1],o[2]!==a?(i=(0,t.jsx)(r.Portal,{"data-slot":"dialog-portal",...a}),o[2]=a,o[3]=i):i=o[3],i}function l(e){let a,o,l,s,c=(0,n.c)(8);return c[0]!==e?({className:a,...o}=e,c[0]=e,c[1]=a,c[2]=o):(a=c[1],o=c[2]),c[3]!==a?(l=(0,i.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),c[3]=a,c[4]=l):l=c[4],c[5]!==o||c[6]!==l?(s=(0,t.jsx)(r.Overlay,{"data-slot":"dialog-overlay",className:l,...o}),c[5]=o,c[6]=l,c[7]=s):s=c[7],s}e.s(["Dialog",0,function(e){let a,i,o=(0,n.c)(4);return o[0]!==e?({...a}=e,o[0]=e,o[1]=a):a=o[1],o[2]!==a?(i=(0,t.jsx)(r.Root,{"data-slot":"dialog",...a}),o[2]=a,o[3]=i):i=o[3],i},"DialogClose",0,function(e){let a,i,o=(0,n.c)(4);return o[0]!==e?({...a}=e,o[0]=e,o[1]=a):a=o[1],o[2]!==a?(i=(0,t.jsx)(r.Close,{"data-slot":"dialog-close",...a}),o[2]=a,o[3]=i):i=o[3],i},"DialogContent",0,function(e){let s,c,u,d,f,m,p,h,v,x,g,b=(0,n.c)(20);b[0]!==e?({className:c,children:s,iconWhite:d,...u}=e,b[0]=e,b[1]=s,b[2]=c,b[3]=u,b[4]=d):(s=b[1],c=b[2],u=b[3],d=b[4]);let y=void 0!==d&&d;return b[5]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(l,{}),b[5]=f):f=b[5],b[6]!==c?(m=(0,i.cn)("group bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200",c),b[6]=c,b[7]=m):m=b[7],b[8]!==y?(p=y&&{color:"white"},b[8]=y,b[9]=p):p=b[9],b[10]!==p?(h=(0,t.jsx)(a.XIcon,{...p}),b[10]=p,b[11]=h):h=b[11],b[12]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)("span",{className:"sr-only",children:"Close"}),b[12]=v):v=b[12],b[13]!==h?(x=(0,t.jsxs)(r.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute -top-10 right-0 rounded-xl bg-transparent p-2 transition-opacity duration-200 hover:bg-gray-50/30 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-6",children:[h,v]}
1),b[13]=h,b[14]=x):x=b[14],b[15]!==s||b[16]!==u||b[17]!==m||b[18]!==x?(g=(0,t.jsxs)(o,{"data-slot":"dialog-portal",children:[f,(0,t.jsxs)(r.Content,{"data-slot":"dialog-content",className:m,...u,children:[s,x]})]}),b[15]=s,b[16]=u,b[17]=m,b[18]=x,b[19]=g):g=b[19],g},"DialogHeader",0,function(e){let r,a,o,l,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(o=(0,i.cn)("flex flex-col gap-2 text-center sm:text-left",r),s[3]=r,s[4]=o):o=s[4],s[5]!==a||s[6]!==o?(l=(0,t.jsx)("div",{"data-slot":"dialog-header",className:o,...a}),s[5]=a,s[6]=o,s[7]=l):l=s[7],l},"DialogTitle",0,function(e){let a,o,l,s,c=(0,n.c)(8);return c[0]!==e?({className:a,...o}=e,c[0]=e,c[1]=a,c[2]=o):(a=c[1],o=c[2]),c[3]!==a?(l=(0,i.cn)("text-lg leading-none font-semibold",a),c[3]=a,c[4]=l):l=c[4],c[5]!==o||c[6]!==l?(s=(0,t.jsx)(r.Title,{"data-slot":"dialog-title",className:l,...o}),c[5]=o,c[6]=l,c[7]=s):s=c[7],s}])},16097,80751,e=>{"use strict";let t=(0,e.i(9784).default)("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["CirclePlay",0,t],16097);var n=e.i(95295),r=e.i(52036),a=e.i(81919);function i(e){let t,a=(0,r.c)(2),{id:i}=e,o=`https://brandfolder.com/planday/attachments/embed/${i}?resource_type=Brandfolder&frame=auto&animated=false&loop=false&muted=false&autoplay=false`;return a[0]!==o?(t=(0,n.jsx)("iframe",{src:o,allow:"fullscreen",className:"h-full w-full",title:"Video Player"}),a[0]=o,a[1]=t):t=a[1],t}var o=e.i(39686);e.s(["VideoPlayerDialog",0,function(e){let t,l,s,c,u=(0,r.c)(10),{videoId:d,productTourUrl:f,openPlayer:m}=e,p=!!(d||f);return u[0]!==m?(t=()=>m({videoId:null,productTourUrl:null}),u[0]=m,u[1]=t):t=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,n.jsx)(o.DialogTitle,{className:"sr-only",children:"Player"}),u[2]=l):l=u[2],u[3]!==f||u[4]!==d?(s=(0,n.jsxs)(o.DialogContent,{iconWhite:!0,className:"aspect-video w-[1280px] max-w-[calc(100vw-4rem)] rounded-4xl border-none p-0 xl:max-w-[1280px]",children:[l,(0,n.jsx)("div",{className:"h-full w-full overflow-hidden rounded-4xl transition-opacity duration-300",children:(0,n.jsx)("div",{className:"relative aspect-video max-w-screen xl:max-w-[1280px]",children:f?(0,n.jsx)(a.ProductTourIframe,{url:f}):(0,n.jsx)(i,{id:d})})})]}),u[3]=f,u[4]=d,u[5]=s):s=u[5],u[6]!==p||u[7]!==t||u[8]!==s?(c=(0,n.jsx)(o.Dialog,{open:p,onOpenChange:t,children:s}),u[6]=p,u[7]=t,u[8]=s,u[9]=c):c=u[9],c}],80751)},54742,e=>{"use strict";var t=e.i(95295),n=e.i(52036),r=e.i(32138),a=e.i(50547),i=e.i(1292),o=e.i(56082),l=e.i(75430),s=e.i(97794),c=e.i(52127),u=e.i(67240),d=e.i(15201),f=e.i(8196),m=e.i(59451),p=e.i(43644),h=e.i(97229),v=e.i(94458),x=e.i(68048),g=e.i(15919),b=e.i(92185),y=e.i(15084),w=e.i(91467),j=e.i(79603),E=e.i(72940),N="NavigationMenu",[C,R,k]=(0,g.createCollection)(N),[A,S,P]=(0,g.createCollection)(N),[_,T]=(0,u.createContextScope)(N,[k,P]),[L,I]=_(N),[D,O]=_(N),M=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,onValueChange:o,defaultValue:l,delayDuration:s=200,skipDelayDuration:c=300,orientation:u="horizontal",dir:d,...v}=e,[x,g]=i.useState(null),b=(0,p.useComposedRefs)(n,e=>g(e)),y=(0,h.useDirection)(d),w=i.useRef(0),j=i.useRef(0),E=i.useRef(0),[C,R]=i.useState(!0),[k,A]=(0,m.useControllableState)({prop:a,onChange:e=>{let t=c>0;""!==e?(window.clearTimeout(E.current),t&&R(!1)):(window.clearTimeout(E.current),E.current=window.setTimeout(()=>R(!0),c)),o?.(e)},defaultProp:l??"",caller:N}),S=i.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>A(""),150)},[A]),P=i.useCallback(e=>{window.clearTimeout(j.current),A(e)},[A]),_=i.useCallback(e=>{k===e?window.clearTimeout(j.current):w.current=window.setTimeout(()=>{window.clearTimeout(j.current),A(e)},s)},[k,A,s]);return i.useEffect(()=>()=>{window.clearTimeout(w.current),window.clearTimeout(j.current),window.clearTimeout(E.current)},[]),(0,t.jsx)(F,{scope:r,isRootMenu:!0,value:k,dir:y,orientation:u,rootNavigationMenu:x,onTriggerEnter:e=>{window.clearTimeout(w.current),C?_(e):P(e)},onTriggerLeave:()=>{window.clearTimeout(w.current),S()},onContentEnter:()=>window.clearTimeout(j.current),onContentLeave:S,onItemSelect:e=>{A(t=>t===e?"":e)},onItemDismiss:()=>A(""),children:(0,t.jsx)(f.Primitive.nav,{"aria-label":"Main","data-orientation":u,dir:y,...v,ref:b})})});M.displayName=N;var z="NavigationMenuSub";
1i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,onValueChange:i,defaultValue:o,orientation:l="horizontal",...s}=e,c=I(z,r),[u,d]=(0,m.useControllableState)({prop:a,onChange:i,defaultProp:o??"",caller:z});return(0,t.jsx)(F,{scope:r,isRootMenu:!1,value:u,dir:c.dir,orientation:l,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>d(e),onItemSelect:e=>d(e),onItemDismiss:()=>d(""),children:(0,t.jsx)(f.Primitive.div,{"data-orientation":l,...s,ref:n})})}).displayName=z;var F=e=>{let{scope:n,isRootMenu:r,rootNavigationMenu:a,dir:o,orientation:l,children:s,value:c,onItemSelect:u,onItemDismiss:d,onTriggerEnter:f,onTriggerLeave:m,onContentEnter:p,onContentLeave:h}=e,[v,g]=i.useState(null),[b,w]=i.useState(new Map),[E,N]=i.useState(null);return(0,t.jsx)(L,{scope:n,isRootMenu:r,rootNavigationMenu:a,value:c,previousValue:(0,y.usePrevious)(c),baseId:(0,x.useId)(),dir:o,orientation:l,viewport:v,onViewportChange:g,indicatorTrack:E,onIndicatorTrackChange:N,onTriggerEnter:(0,j.useCallbackRef)(f),onTriggerLeave:(0,j.useCallbackRef)(m),onContentEnter:(0,j.useCallbackRef)(p),onContentLeave:(0,j.useCallbackRef)(h),onItemSelect:(0,j.useCallbackRef)(u),onItemDismiss:(0,j.useCallbackRef)(d),onViewportContentChange:i.useCallback((e,t)=>{w(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:i.useCallback(e=>{w(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(C.Provider,{scope:n,children:(0,t.jsx)(D,{scope:n,items:b,children:s})})})},H="NavigationMenuList",W=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,i=I(H,r),o=(0,t.jsx)(f.Primitive.ul,{"data-orientation":i.orientation,...a,ref:n});return(0,t.jsx)(f.Primitive.div,{style:{position:"relative"},ref:i.onIndicatorTrackChange,children:(0,t.jsx)(C.Slot,{scope:r,children:i.isRootMenu?(0,t.jsx)(eo,{asChild:!0,children:o}):o})})});W.displayName=H;var U="NavigationMenuItem",[$,K]=_(U),V=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,...o}=e,l=(0,x.useId)(),s=i.useRef(null),c=i.useRef(null),u=i.useRef(null),d=i.useRef(()=>{}),m=i.useRef(!1),p=i.useCallback((e="start")=>{if(s.current){d.current();let t=ec(s.current);t.length&&eu("start"===e?t:t.reverse())}},[]),h=i.useCallback(()=>{if(s.current){var e;let t=ec(s.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),d.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)($,{scope:r,value:a||l||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:s,focusProxyRef:u,wasEscapeCloseRef:m,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:h,onContentFocusOutside:h,children:(0,t.jsx)(f.Primitive.li,{...o,ref:n})})});V.displayName=U;var B="NavigationMenuTrigger",Y=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,disabled:a,...o}=e,l=I(B,e.__scopeNavigationMenu),s=K(B,e.__scopeNavigationMenu),c=i.useRef(null),u=(0,p.useComposedRefs)(c,s.triggerRef,n),m=em(l.baseId,s.value),h=ep(l.baseId,s.value),v=i.useRef(!1),x=i.useRef(!1),g=s.value===l.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.ItemSlot,{scope:r,value:s.value,children:(0,t.jsx)(es,{asChild:!0,children:(0,t.jsx)(f.Primitive.button,{id:m,disabled:a,"data-disabled":a?"":void 0,"data-state":ef(g),"aria-expanded":g,"aria-controls":g?h:void 0,...o,ref:u,onPointerEnter:(0,d.composeEventHandlers)(e.onPointerEnter,()=>{x.current=!1,s.wasEscapeCloseRef.current=!1}),onPointerMove:(0,d.composeEventHandlers)(e.onPointerMove,eh(()=>{a||x.current||s.wasEscapeCloseRef.current||v.current||(l.onTriggerEnter(s.value),v.current=!0)})),onPointerLeave:(0,d.composeEventHandlers)(e.onPointerLeave,eh(()=>{a||(l.onTriggerLeave(),v.current=!1)})),onClick:(0,d.composeEventHandlers)(e.onClick,()=>{l.onItemSelect(s.value),x.current=g}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===l.dir?"ArrowLeft":"ArrowRight"}[l.orientation];g&&e.key===t&&(s.onEntryKeyDown(),e.preventDefault())})})})}),g&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(E.Root,{"aria-hidden":!0,tabIndex:0,ref:s.focusProxyRef,onFocus:e=>{let t=s.contentRef.current,n=e.relatedTarget,r=n===c.current,a=t?.contains(n);(r||!a)&&s.onFocusProxyEnter(r?"start":"end")}}),l.viewport&&(0,t.jsx)("span",{"aria-owns":h})]})]})});Y.displayName=B;
1var X="navigationMenu.linkSelect",q=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,active:a,onSelect:i,...o}=e;return(0,t.jsx)(es,{asChild:!0,children:(0,t.jsx)(f.Primitive.a,{"data-active":a?"":void 0,"aria-current":a?"page":void 0,...o,ref:n,onClick:(0,d.composeEventHandlers)(e.onClick,e=>{let t=e.target,n=new CustomEvent(X,{bubbles:!0,cancelable:!0});if(t.addEventListener(X,e=>i?.(e),{once:!0}),(0,f.dispatchDiscreteCustomEvent)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(et,{bubbles:!0,cancelable:!0});(0,f.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});q.displayName="NavigationMenuLink";var G="NavigationMenuIndicator";i.forwardRef((e,n)=>{let{forceMount:r,...a}=e,i=I(G,e.__scopeNavigationMenu),o=!!i.value;return i.indicatorTrack?c.createPortal((0,t.jsx)(v.Presence,{present:r||o,children:(0,t.jsx)(Z,{...a,ref:n})}),i.indicatorTrack):null}).displayName=G;var Z=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,o=I(G,r),l=R(r),[s,c]=i.useState(null),[u,d]=i.useState(null),m="horizontal"===o.orientation,p=!!o.value;i.useEffect(()=>{let e=l(),t=e.find(e=>e.value===o.value)?.ref.current;t&&c(t)},[l,o.value]);let h=()=>{s&&d({size:m?s.offsetWidth:s.offsetHeight,offset:m?s.offsetLeft:s.offsetTop})};return ed(s,h),ed(o.indicatorTrack,h),u?(0,t.jsx)(f.Primitive.div,{"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":o.orientation,...a,ref:n,style:{position:"absolute",...m?{left:0,width:u.size+"px",transform:`translateX(${u.offset}px)`}:{top:0,height:u.size+"px",transform:`translateY(${u.offset}px)`},...a.style}}):null}),Q="NavigationMenuContent",J=i.forwardRef((e,n)=>{let{forceMount:r,...a}=e,i=I(Q,e.__scopeNavigationMenu),o=K(Q,e.__scopeNavigationMenu),l=(0,p.useComposedRefs)(o.contentRef,n),s=o.value===i.value,c={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...a};return i.viewport?(0,t.jsx)(ee,{forceMount:r,...c,ref:l}):(0,t.jsx)(v.Presence,{present:r||s,children:(0,t.jsx)(en,{"data-state":ef(s),...c,ref:l,onPointerEnter:(0,d.composeEventHandlers)(e.onPointerEnter,i.onContentEnter),onPointerLeave:(0,d.composeEventHandlers)(e.onPointerLeave,eh(i.onContentLeave)),style:{pointerEvents:!s&&i.isRootMenu?"none":void 0,...c.style}})})});J.displayName=Q;var ee=i.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=I(Q,e.__scopeNavigationMenu);return(0,w.useLayoutEffect)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,w.useLayoutEffect)(()=>()=>r(e.value),[e.value,r]),null}),et="navigationMenu.rootContentDismiss",en=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,triggerRef:o,focusProxyRef:l,wasEscapeCloseRef:s,onRootContentClose:c,onContentFocusOutside:u,...f}=e,m=I(Q,r),h=i.useRef(null),v=(0,p.useComposedRefs)(h,n),x=em(m.baseId,a),g=ep(m.baseId,a),y=R(r),w=i.useRef(null),{onItemDismiss:j}=m;i.useEffect(()=>{let e=h.current;if(m.isRootMenu&&e){let t=()=>{j(),c(),e.contains(document.activeElement)&&o.current?.focus()};return e.addEventListener(et,t),()=>e.removeEventListener(et,t)}},[m.isRootMenu,e.value,o,j,c]);let E=i.useMemo(()=>{let e=y().map(e=>e.value);"rtl"===m.dir&&e.reverse();let t=e.indexOf(m.value),n=e.indexOf(m.previousValue),r=a===m.value,i=n===e.indexOf(a);if(!r&&!i)return w.current;let o=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(i&&-1!==t)return t>n?"to-start":"to-end"}return null})();return w.current=o,o},[m.previousValue,m.value,m.dir,y,a]);return(0,t.jsx)(eo,{asChild:!0,children:(0,t.jsx)(b.DismissableLayer,{id:g,"aria-labelledby":x,"data-motion":E,"data-orientation":m.orientation,...f,ref:v,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(et,{bubbles:!0,cancelable:!0});h.current?.dispatchEvent(e)},onFocusOutside:(0,d.composeEventHandlers)(e.onFocusOutside,e=>{u();let t=e.target;m.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,d.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,n=y().some(e=>e.ref.current?.contains(t)),r=m.isRootMenu&&m.viewport?.contains(t);(n||r||!m.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ec(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);eu(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():l.current?.focus()}}),onEscapeKeyDown:(0,d.composeEventHandlers)(e.onEscapeKeyDown,e=>{s.current=!0})})})}
1),er="NavigationMenuViewport",ea=i.forwardRef((e,n)=>{let{forceMount:r,...a}=e,i=!!I(er,e.__scopeNavigationMenu).value;return(0,t.jsx)(v.Presence,{present:r||i,children:(0,t.jsx)(ei,{...a,ref:n})})});ea.displayName=er;var ei=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,children:a,...o}=e,l=I(er,r),s=(0,p.useComposedRefs)(n,l.onViewportChange),c=O(Q,e.__scopeNavigationMenu),[u,m]=i.useState(null),[h,x]=i.useState(null),g=u?u?.width+"px":void 0,b=u?u?.height+"px":void 0,y=!!l.value,w=y?l.value:l.previousValue;return ed(h,()=>{h&&m({width:h.offsetWidth,height:h.offsetHeight})}),(0,t.jsx)(f.Primitive.div,{"data-state":ef(y),"data-orientation":l.orientation,...o,ref:s,style:{pointerEvents:!y&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":g,"--radix-navigation-menu-viewport-height":b,...o.style},onPointerEnter:(0,d.composeEventHandlers)(e.onPointerEnter,l.onContentEnter),onPointerLeave:(0,d.composeEventHandlers)(e.onPointerLeave,eh(l.onContentLeave)),children:Array.from(c.items).map(([e,{ref:n,forceMount:r,...a}])=>{let i=w===e;return(0,t.jsx)(v.Presence,{present:r||i,children:(0,t.jsx)(en,{...a,ref:(0,p.composeRefs)(n,e=>{i&&e&&x(e)})})},e)})})}),eo=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,i=I("FocusGroup",r);return(0,t.jsx)(A.Provider,{scope:r,children:(0,t.jsx)(A.Slot,{scope:r,children:(0,t.jsx)(f.Primitive.div,{dir:i.dir,...a,ref:n})})})}),el=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],es=i.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,i=S(r),o=I("FocusGroupItem",r);return(0,t.jsx)(A.ItemSlot,{scope:r,children:(0,t.jsx)(f.Primitive.button,{...a,ref:n,onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...el].includes(e.key)){let t=i().map(e=>e.ref.current);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),el.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eu(t)),e.preventDefault()}})})})});function ec(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eu(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ed(e,t){let n=(0,j.useCallbackRef)(t);(0,w.useLayoutEffect)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function ef(e){return e?"open":"closed"}function em(e,t){return`${e}-trigger-${t}`}function ep(e,t){return`${e}-content-${t}`}function eh(e){return t=>"mouse"===t.pointerType?e(t):void 0}var ev=e.i(94237),ex=e.i(17737),ex=ex;function eg(e){let r,a,i,o,s,c,u,d=(0,n.c)(15);d[0]!==e?({className:a,children:r,viewport:o,...i}=e,d[0]=e,d[1]=r,d[2]=a,d[3]=i,d[4]=o):(r=d[1],a=d[2],i=d[3],o=d[4]);let f=void 0===o||o;return d[5]!==a?(s=(0,l.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",a),d[5]=a,d[6]=s):s=d[6],d[7]!==f?(c=f&&(0,t.jsx)(eN,{}),d[7]=f,d[8]=c):c=d[8],d[9]!==r||d[10]!==i||d[11]!==s||d[12]!==c||d[13]!==f?(u=(0,t.jsxs)(M,{"data-slot":"navigation-menu","data-viewport":f,className:s,...i,children:[r,c]}),d[9]=r,d[10]=i,d[11]=s,d[12]=c,d[13]=f,d[14]=u):u=d[14],u}function eb(e){let r,a,i,o,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(i=(0,l.cn)("group flex flex-1 list-none items-center justify-center gap-1",r),s[3]=r,s[4]=i):i=s[4],s[5]!==a||s[6]!==i?(o=(0,t.jsx)(W,{"data-slot":"navigation-menu-list",className:i,...a}),s[5]=a,s[6]=i,s[7]=o):o=s[7],o}function ey(e){let r,a,i,o,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(i=(0,l.cn)("relative",r),s[3]=r,s[4]=i):i=s[4],s[5]!==a||s[6]!==i?(o=(0,t.jsx)(V,{"data-slot":"navigation-menu-item",className:i,...a}),s[5]=a,s[6]=i,s[7]=o):o=s[7],o}let ew=(0,ev.cva)("group inline-flex cursor-pointer w-max font-medium [&_svg]:size-5 text-base text-neutral-900 items-center justify-center rounded-md py-3 disabled:pointer-events-none disabled:opacity-50 ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 transition-[color,box-shadow] relative after:absolute after:left-0 after:right-0 after:h-1 after:rounded-full focus-visible:outline-none after:bg-primary-700 after:bottom-[-4px] after:opacity-0 hover:after:opacity-100 focus-visible:after:opacity-100 data-[state=open]:after:opacity-100 after:transition-opacity");function ej(e){let r,a,i,o,s,c,u,d=(0,n.c)(15);return d[0]!==e?({className:i,children:a,asChild:r,...o}=e,d[0]=e,d[1]=r,d[2]=a,d[3]=i,d[4]=o):(r=d[1],a=d[2],i=d[3],o=d[4]),d[5]!==i?(s=(0,l.cn)(ew(),"group",i),d[5]=i,d[6]=s):s=d[6],d[7]!==r||d[8]!==a?(c=r?a:(0,t.jsxs)(t.Fragment,{children:[a," ",(0,t.jsx)(ex.default,{className:"relative top-[1px] size-6 transition group-data-[state=open]:rotate-180","aria-hidden":"true"})]}),d[7]=r,d[8]=a,d[9]=c):c=d[9],d[10]!==r||d[11]!==o||d[12]!==s||d[13]!==c?(u=(0,t.jsx)(Y,{"data-slot":"navigation-menu-trigger",className:s,asChild:r,...o,children:c}),d[10]=r,d[11]=o,d[12]=s,d[13]=c,d[14]=u):u=d[14],u}function eE(e){let r,a,i,o,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(i=(0,l.cn)("data-[motion=from-end]:animate-in data-[motion=to-start]:animate-out data-[motion=to-end]:animate-out data-[motion=from-end]:slide-in-from-right-full data-[motion=from-start]:slide-in-from-left-full data-[motion=from-start]:animate-in data-[motion=to-start]:slide-out-to-left-full data-[motion=to-end]:slide-out-to-right-full data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out absolute top-0 left-0 w-auto p-6 data-[motion^=from-]:duration-300 data-[motion^=to-]:duration-300","group-data-[viewport=false]/navigation-menu:bg-popover 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 group-data-[viewport=false]/navigation-menu:shadow-custom group-data-[viewport=false]/navigation-menu:border-border group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-3xl group-data-[viewport=false]/navigation-menu:border **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",r),s[3]=r,s[4]=i):i=s[4],s[5]!==a||s[6]!==i?(o=(0,t.jsx)(J,{"data-slot":"navigation-menu-content",className:i,...a}),s[5]=a,s[6]=i,s[7]=o):o=s[7],o}function eN(e){let r,a,i,o,s,c=(0,n.c)(9);return c[0]!==e?({className:r,...a}=e,c[0]=e,c[1]=r,c[2]=a):(r=c[1],a=c[2]),c[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,l.cn)("absolute top-full right-0 left-0 isolate z-50 flex justify-center empty:pointer-events-none"),c[3]=i):i=c[3],c[4]!==r?(o=(0,l.cn)("text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-100 data-[state=open]:zoom-in-95 relative -top-1 h-[var(--radix-navigation-menu-viewport-height)] !w-screen origin-top-left overflow-hidden rounded-b-md border border-t-0 border-none bg-transparent md:w-[var(--radix-navigation-menu-viewport-width)]",r),c[4]=r,c[5]=o):o=c[5],c[6]!==a||c[7]!==o?(s=(0,t.jsx)("div",{className:i,children:(0,t.jsx)(ea,{"data-slot":"navigation-menu-viewport",className:o,...a}
1)}),c[6]=a,c[7]=o,c[8]=s):s=c[8],s}function eC(e){let r,a,i,o,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(i=(0,l.cn)("data-[active=true]:focus:bg-accent data-[active=true]:text-accent-foreground hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm text-base transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",r),s[3]=r,s[4]=i):i=s[4],s[5]!==a||s[6]!==i?(o=(0,t.jsx)(q,{"data-slot":"navigation-menu-link",className:i,...a}),s[5]=a,s[6]=i,s[7]=o):o=s[7],o}var eR=e.i(94265);function ek(e){let a,i,s,c,u,d,f,m=(0,n.c)(18),{isActive:p,lang:h,href:v}=e,x=o.LANGUAGE_NAMES[h];return m[0]!==h?(a=(0,l.getFlagImagePath)(h),m[0]=h,m[1]=a):a=m[1],m[2]!==x||m[3]!==a?(i=(0,t.jsx)(r.default,{src:a,alt:x,width:32,height:21,className:"border-border w-6 min-w-6 rounded-sm border xl:w-8 xl:min-w-8"}),m[2]=x,m[3]=a,m[4]=i):i=m[4],m[5]!==x?(s=(0,t.jsx)("span",{className:"text-neutral-700",children:x}),m[5]=x,m[6]=s):s=m[6],m[7]!==i||m[8]!==s?(c=(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[i,s]}),m[7]=i,m[8]=s,m[9]=c):c=m[9],m[10]!==p?(u=p&&(0,t.jsx)(eR.Check,{className:"text-primary-600 size-5 lg:size-6"}),m[10]=p,m[11]=u):u=m[11],m[12]!==c||m[13]!==u?(d=(0,t.jsxs)("div",{className:"flex w-full items-center justify-between",children:[c,u]}),m[12]=c,m[13]=u,m[14]=d):d=m[14],m[15]!==v||m[16]!==d?(f=(0,t.jsx)("a",{href:v,className:"hover:text-primary-700 flex w-full min-w-[160px] items-center justify-between gap-2",children:d}),m[15]=v,m[16]=d,m[17]=f):f=m[17],f}function eA(){let e,a,i,c,u,d,f=(0,n.c)(13),{lang:m}=(0,s.useParams)();f[0]!==m?(e=(0,l.getFlagImagePath)(m),f[0]=m,f[1]=e):e=f[1];let p=o.LANGUAGE_NAMES[m];return f[2]!==e||f[3]!==p?(a=(0,t.jsx)(ej,{className:"w-full justify-between gap-1 text-neutral-900 after:hidden",children:(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)(r.default,{src:e,alt:p,width:32,height:22,className:"h-4 w-6 min-w-6 xl:h-5 xl:w-8"})})}),f[2]=e,f[3]=p,f[4]=a):a=f[4],f[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("h3",{className:"mb-2.5 text-sm text-neutral-700",children:"Language"}),f[5]=i):i=f[5],f[6]!==m?(c=o.ALL_LOCALES.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(eC,{asChild:!0,"data-active":m===e,className:`${ew()} w-full items-start after:hidden`,children:(0,t.jsx)(ek,{isActive:m===e,lang:e,href:function(e){return e===o.DEFAULT_LOCALE?`/${o.DEFAULT_LOCALE}`:`/${e}`}(e)})})},e)),f[6]=m,f[7]=c):c=f[7],f[8]!==c?(u=(0,t.jsxs)(eE,{className:"z-50 xl:!top-10 xl:left-1/2 xl:min-w-[296px] xl:-translate-x-1/2",children:[i,(0,t.jsx)("ul",{className:"flex w-full flex-col gap-3 p-1",children:c})]}),f[8]=c,f[9]=u):u=f[9],f[10]!==a||f[11]!==u?(d=(0,t.jsx)(eg,{viewport:!1,className:"w-full max-w-none justify-start [&>div]:w-full",children:(0,t.jsx)(eb,{className:"w-full justify-start",children:(0,t.jsxs)(ey,{className:"w-full",children:[a,u]})})}),f[10]=a,f[11]=u,f[12]=d):d=f[12],d}var eS=e.i(44886);function eP(e){let r,a,i,o,l=(0,n.c)(9),{cta:s,hideLanguageSwitcher:c}=e;return l[0]!==c?(r=!c&&(0,t.jsx)(eA,{}),l[0]=c,l[1]=r):r=l[1],l[2]!==s?(a=s.map(e_),l[2]=s,l[3]=a):a=l[3],l[4]!==a?(i=(0,t.jsx)("div",{className:"flex gap-2 2xl:gap-3",children:a}),l[4]=a,l[5]=i):i=l[5],l[6]!==r||l[7]!==i?(o=(0,t.jsxs)("div",{className:"hidden items-center gap-2 xl:ml-5 xl:flex 2xl:gap-3",children:[r,i]}),l[6]=r,l[7]=i,l[8]=o):o=l[8],o}function e_(e){let{id:n,...r}=e;return(0,t.jsx)(eS.AppLink,{...r,destination:r.destination,size:"xs",className:"px-2 py-3 leading-tight 2xl:px-
15"},n)}let eT=(0,e.i(9784).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var eL=e.i(74586),eL=eL,eI=e.i(79449),eD=e.i(41973);function eO(e){let r,a,i=(0,n.c)(4);return i[0]!==e?({...r}=e,i[0]=e,i[1]=r):r=i[1],i[2]!==r?(a=(0,t.jsx)(eD.Root,{"data-slot":"sheet",...r}),i[2]=r,i[3]=a):a=i[3],a}function eM(e){let r,a,i=(0,n.c)(4);return i[0]!==e?({...r}=e,i[0]=e,i[1]=r):r=i[1],i[2]!==r?(a=(0,t.jsx)(eD.Trigger,{"data-slot":"sheet-trigger",...r}),i[2]=r,i[3]=a):a=i[3],a}function ez(e){let r,a,i=(0,n.c)(4);return i[0]!==e?({...r}=e,i[0]=e,i[1]=r):r=i[1],i[2]!==r?(a=(0,t.jsx)(eD.Portal,{"data-slot":"sheet-portal",...r}),i[2]=r,i[3]=a):a=i[3],a}function eF(e){let r,a,i,o,s,c,u=(0,n.c)(15);u[0]!==e?({className:a,children:r,side:o,...i}=e,u[0]=e,u[1]=r,u[2]=a,u[3]=i,u[4]=o):(r=u[1],a=u[2],i=u[3],o=u[4]);let d=void 0===o?"right":o,f="right"===d&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l",m="left"===d&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r",p="top"===d&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",h="bottom"===d&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t";return u[5]!==a||u[6]!==f||u[7]!==m||u[8]!==p||u[9]!==h?(s=(0,l.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",f,m,p,h,a),u[5]=a,u[6]=f,u[7]=m,u[8]=p,u[9]=h,u[10]=s):s=u[10],u[11]!==r||u[12]!==i||u[13]!==s?(c=(0,t.jsx)(ez,{children:(0,t.jsx)(eD.Content,{"data-slot":"sheet-content",className:s,...i,children:r})}),u[11]=r,u[12]=i,u[13]=s,u[14]=c):c=u[14],c}function eH(e){let r,a,i,o,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(i=(0,l.cn)("text-foreground font-semibold",r),s[3]=r,s[4]=i):i=s[4],s[5]!==a||s[6]!==i?(o=(0,t.jsx)(eD.Title,{"data-slot":"sheet-title",className:i,...a}),s[5]=a,s[6]=i,s[7]=o):o=s[7],o}var eW=e.i(16939),eU=e.i(16097);function e$(e){let a,i,o,s,c,u=(0,n.c)(11),{thumbnailUrl:d,setVideoPlaying:f,className:m}=e;u[0]!==m?(a=(0,l.cn)("focus-visible:outline-primary-600 relative h-full w-full rounded-4xl p-1 focus-visible:outline-4",m),u[0]=m,u[1]=a):a=u[1];let p=d??"";return u[2]!==p?(i=(0,t.jsx)(r.default,{src:p,alt:"",fill:!0,className:"peer h-full w-full object-cover opacity-60 transition-transform duration-500 hover:scale-105"}),u[2]=p,u[3]=i):i=u[3],u[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(eU.CirclePlay,{size:96,className:"peer-[:hover]:text-primary-400 pointer-events-none absolute top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2 stroke-1 text-white transition-all duration-200 peer-[:active]:scale-92"}),u[4]=o):o=u[4],u[5]!==i?(s=(0,t.jsxs)("div",{className:"relative h-full w-full overflow-hidden rounded-4xl bg-black",children:[i,o]}),u[5]=i,u[6]=s):s=u[6],u[7]!==f||u[8]!==a||u[9]!==s?(c=(0,t.jsx)("button",{onClick:f,className:a,children:s}),u[7]=f,u[8]=a,u[9]=s,u[10]=c):c=u[10],c}function eK(e){let r,a=(0,n.c)(7),{link:i}=e;if(i){let n,r;return a[0]!==e?(n=(0,t.jsx)(eV,{className:"h-full",...e}),a[0]=e,a[1]=n):n=a[1],a[2]!==i||a[3]!==n?(r=(0,t.jsx)(eS.AppLink,{destination:i,clean:!0,className:"h-inherit",children:n}),a[2]=i,a[3]=n,a[4]=r):r=a[4],r}return a[5]!==e?(r=(0,t.jsx)(eV,{...e}),a[5]=e,a[6]=r):r=a[6],r}let eV=e=>{let a,i,o,s,c,u,d,f=(0,n.c)(19);return f[0]!==e?({className:a,...i}=e,f[0]=e,f[1]=a,f[2]=i):(a=f[1],i=f[2]),f[3]!==a?(o=(0,l.cn)("flex h-auto flex-col rounded-xl bg-neutral-100 p-5 xl:max-w-[320px] xl:px-6 xl:pt-12 2xl:w-[390px] 2xl:max-w-[390px]",a),f[3]=a,f[4]=o):o=f[4],f[5]!==i.asset||f[6]!==i.hasPlayer||f[7]!==i.openPlayer||f[8]!==i.thumbnailAsset?(s=(0,t.jsx)("div",{className:"flex h-[200px] w-full max-w-[350px] items-center justify-center rounded-3xl font-semibold text-neutral-700",children:i.hasPlayer?(0,t.jsx)(e$,{thumbnailUrl:i.thumbnailAsset.url,setVideoPlaying:i.openPlayer}):(0,t.jsx)(r.default,{src:i.asset.url,alt:i.asset.altText??"",width:324,height:200,className:"h-full w-full rounded-3xl object-cover"})}),f[5]=i.asset,f[6]=i.hasPlayer,f[7]=i.openPlayer,f[8]=i.thumbnailAsset,f[9]=s):s=f[9],f[10]!==i.title?(c=(0,t.jsx)("h2",{className:"text-primary-700 mt-4 mb-2 text-2xl font-semibold lg:mb-2",children:i.title}),f[10]=i.title,f[11]=c):c=f[11],f[12]!==i.description?(u=(0,t.jsx)("p",{className:"text-base font-medium text-neutral-900 xl:text-base",children:i.description}),f[12]=i.description,f[13]=u):u=f[13],f[14]!==o||f[15]!==s||f[16
1]!==c||f[17]!==u?(d=(0,t.jsxs)("div",{className:o,children:[s,c,u]}),f[14]=o,f[15]=s,f[16]=c,f[17]=u,f[18]=d):d=f[18],d};function eB(e){let r,a,i,o=(0,n.c)(8),{text:l,link:s,onClick:c}=e;return o[0]!==l?(r=(0,t.jsx)("p",{className:"mb-4 text-lg font-bold text-white xl:mt-4 xl:mr-10 xl:mb-0",children:l}),o[0]=l,o[1]=r):r=o[1],o[2]!==s||o[3]!==c?(a=s&&(0,t.jsx)(eS.AppLink,{...s,variant:"tertiary",size:"sm",className:"justify-start p-0 font-bold text-white xl:mt-4 xl:justify-center xl:p-4",icon:"chevronRight",isDark:!0,title:s.title,onClick:s.destination?.type!=="external"?c:void 0}),o[2]=s,o[3]=c,o[4]=a):a=o[4],o[5]!==r||o[6]!==a?(i=(0,t.jsxs)("div",{className:"bg-primary-800 shadow-navigation-menu mb-6 flex w-full flex-col rounded-b-xl p-4 xl:-mt-5 xl:mb-0 xl:flex-row xl:items-center xl:justify-center xl:rounded-b-3xl",children:[r,a]}),o[5]=r,o[6]=a,o[7]=i):i=o[7],i}var eY=e.i(87221),eX=e.i(30664),eq=e.i(46791);function eG(e){let a,i,o,l,s,c,u=(0,n.c)(20),{onClick:d,title:f,latestResource:m}=e,p=m.contentType?.route;return u[0]!==f?(a=(0,t.jsx)("h2",{className:"text-primary-700 order-2 mb-3 text-2xl font-semibold lg:mb-2 xl:order-1",children:f}),u[0]=f,u[1]=a):a=u[1],u[2]!==m.thumbnailAndHeroImage?(i=m.thumbnailAndHeroImage&&(0,t.jsx)(r.default,{src:m.thumbnailAndHeroImage.url,alt:m.thumbnailAndHeroImage.altText??"",width:324,height:200,className:"order-1 h-full w-full rounded-3xl object-cover xl:order-2"}),u[2]=m.thumbnailAndHeroImage,u[3]=i):i=u[3],u[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(eY.ChevronRight,{size:18,className:"text-primary-700 xl:hidden"}),u[4]=o):o=u[4],u[5]!==m.title?(l=(0,t.jsxs)("h3",{className:"order-3 mt-4 mb-2 flex items-center gap-3 text-lg font-medium text-neutral-900 xl:block xl:font-semibold",children:[m.title,o]}),u[5]=m.title,u[6]=l):l=u[6],u[7]!==m.content||u[8]!==m.description?(s=(0,t.jsx)("div",{className:"order-4 h-full",children:(0,t.jsx)(eq.ResourceDescriptionRenderer,{description:m.description,content:m.content,className:"line-clamp-3 text-sm font-medium text-neutral-700"})}),u[7]=m.content,u[8]=m.description,u[9]=s):s=u[9],u[10]!==m.link||u[11]!==m.slug||u[12]!==m.title||u[13]!==d||u[14]!==p||u[15]!==a||u[16]!==i||u[17]!==l||u[18]!==s?(c=(0,t.jsx)("div",{className:"mb-6 flex h-auto flex-1 flex-col rounded-xl bg-neutral-100 p-5 xl:mb-0 xl:max-w-[320px] xl:px-6 xl:pt-12 2xl:w-[390px] 2xl:max-w-[390px]",children:(0,t.jsxs)(eX.ResourceLink,{onClick:d,externalLink:m.link,slug:m.slug,contentType:p,label:m.title,clean:!0,className:"flex w-full flex-col justify-center rounded-3xl font-semibold text-neutral-700 lg:mb-8",children:[a,i,l,s]})}),u[10]=m.link,u[11]=m.slug,u[12]=m.title,u[13]=d,u[14]=p,u[15]=a,u[16]=i,u[17]=l,u[18]=s,u[19]=c):c=u[19],c}function eZ(e){let r,a,i,o=(0,n.c)(8),{title:l,description:s,className:c}=e;return o[0]!==l?(r=(0,t.jsx)("h2",{className:"text-primary-700 text-xl font-semibold",children:l}),o[0]=l,o[1]=r):r=o[1],o[2]!==s?(a=s&&(0,t.jsx)("p",{className:"text-secondary max-w-full text-sm font-medium lg:mt-1 lg:max-w-[250px]",children:s}),o[2]=s,o[3]=a):a=o[3],o[4]!==c||o[5]!==r||o[6]!==a?(i=(0,t.jsxs)("div",{className:c,children:[r,a]}),o[4]=c,o[5]=r,o[6]=a,o[7]=i):i=o[7],i}function eQ(e){let r,a,i,o,s,c=(0,n.c)(12),{title:u,link:d,description:f,onClick:m}=e;return c[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,l.cn)("text-left text-base font-medium text-neutral-900"),c[0]=r):r=c[0],c[1]!==u?(a=(0,t.jsx)("span",{className:r,children:u}),c[1]=u,c[2]=a):a=c[2],c[3]!==f?(i=f&&(0,t.jsx)("p",{className:"text-secondary mt-1 text-left text-sm font-medium",children:f}),c[3]=f,c[4]=i):i=c[4],c[5]!==a||c[6]!==i?(o=(0,t.jsxs)("div",{className:"flex flex-col items-start xl:max-w-[290px]",children:[a,i]}),c[5]=a,c[6]=i,c[7]=o):o=c[7],c[8]!==d||c[9]!==m||c[10]!==o?(s=(0,t.jsx)("li",{children:(0,t.jsx)(eS.AppLink,{destination:d,className:"hover:shadow-nav-sub-item focus-visible:shadow-nav-sub-item flex justify-between gap-5 rounded-2xl p-4 py-2 text-neutral-900 transition-all duration-300 hover:bg-neutral-50 hover:!opacity-100 focus-visible:bg-neutral-50 focus-visible:!opacity-100 [&_img]:min-w-4 [&_img]:xl:min-w-6",variant:"tertiary",onClick:m,children:o})}
1),c[8]=d,c[9]=m,c[10]=o,c[11]=s):s=c[11],s}function eJ(){document.body.style.removeProperty("overflow")}function e0(e){var r;let a,o,s,c,u,d,f,m,p,h,v,x,g,b,y=(0,n.c)(28),{navLinks:w,cta:j,openPlayer:E,latestResource:N}=e,C=(0,eW.useMediaQuery)("xl"),[R,k]=(0,i.useState)(!1);r=!C&&R,(b=(0,n.c)(3))[0]!==r?(x=()=>(r&&(document.body.style.overflow="hidden"),eJ),g=[r],b[0]=r,b[1]=x,b[2]=g):(x=b[1],g=b[2]),(0,i.useEffect)(x,g),C&&R&&k(!1),y[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>k(!1),y[0]=a):a=y[0];let A=a;if(y[1]!==R?(o=R?(0,t.jsx)(eL.default,{className:"text-primary-600 size-5 lg:size-6"}):(0,t.jsx)(eT,{className:"text-primary-600 size-5 lg:size-6 [&>path:last-child]:hidden"}),y[1]=R,y[2]=o):o=y[2],y[3]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("span",{className:"sr-only",children:"Toggle navigation menu"}),y[3]=s):s=y[3],y[4]!==o?(c=(0,t.jsx)(eM,{children:(0,t.jsxs)("div",{className:"border-border flex items-center p-2",children:[o,s]})}),y[4]=o,y[5]=c):c=y[5],y[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(eH,{asChild:!0,children:(0,t.jsx)("div",{className:"sr-only",children:"Navigation menu"})}),y[6]=u):u=y[6],y[7]!==N||y[8]!==w||y[9]!==E){let e;y[11]!==N||y[12]!==E?(e=e=>{let{id:n,itemLink:r,title:a,expandable:i,assetDescription:o,assetTitle:s,assetLink:c,image:u,video:d,videoThumbnail:f,withLatestResources:m,sections:p,highlightText:h,highlightTextLink:v,latestResourcesTitle:x,productTourUrl:g}=e;if(i){let e=f&&(d?.brandfolderVideoId||g);return(0,t.jsxs)(eI.AccordionItem,{value:n,className:"border-t border-b-0 border-neutral-200 text-base",onClick:e1,children:[(0,t.jsx)(eI.AccordionNavTrigger,{className:"bg-white px-5 py-6 text-base",children:a}),(0,t.jsxs)(eI.AccordionContent,{className:"mx-5",children:[e?(0,t.jsx)(eK,{link:c,hasPlayer:!0,title:s,description:o,thumbnailAsset:f,openPlayer:()=>E({productTourUrl:g,videoId:d?.brandfolderVideoId??null})}):u&&(0,t.jsx)(eK,{link:c,hasPlayer:!1,title:s,description:o,asset:u}),(0,t.jsx)("div",{className:"group mt-6 mb-4 flex flex-col items-start gap-4",children:p.map(e=>{let{id:n,title:r,description:a,items:i,sectionLink:o}=e;return(0,t.jsxs)("div",{className:(0,l.cn)("w-full",r&&"pt-2"),children:[o?(0,t.jsx)(eS.AppLink,{title:r,destination:o,size:"md",variant:"tertiary",className:"justify-start px-0 text-left",onClick:A,children:(0,t.jsx)(eZ,{title:r,description:a})}):(0,t.jsx)(eZ,{title:r,description:a,className:"mb-2"}),(0,t.jsx)("ul",{children:i.map(e=>(0,t.jsx)(eQ,{...e,onClick:A},e.id))})]},n)})}),m&&N&&(0,t.jsx)(eG,{title:x,latestResource:N,onClick:A}),h&&(0,t.jsx)(eB,{text:h,link:v,onClick:A})]})]},n)}return r?(0,t.jsx)(ey,{className:"border-t border-neutral-200 px-5",children:(0,t.jsx)(eS.AppLink,{title:a,destination:r,variant:"nav",size:"xs",className:"justify-between px-0 py-6",onClick:A,icon:"chevronRight"})},n):null},y[11]=N,y[12]=E,y[13]=e):e=y[13],d=w.map(e),y[7]=N,y[8]=w,y[9]=E,y[10]=d}else d=y[10];if(y[14]!==d?(f=(0,t.jsx)(eg,{className:"w-full max-w-none justify-start [&>div]:w-full",children:(0,t.jsx)(eb,{className:"w-full justify-start",children:(0,t.jsx)(eI.Accordion,{type:"single",collapsible:!0,className:"flex w-full flex-col overflow-x-hidden",children:d})})}),y[14]=d,y[15]=f):f=y[15],y[16]!==j){let e;y[18]===Symbol.for("react.memo_cache_sentinel")?(e=e=>{let{id:n,...r}=e;return(0,t.jsx)("li",{children:(0,t.jsx)(eS.AppLink,{...r,destination:r.destination,size:"sm",onClick:A})},n)},y[18]=e):e=y[18],m=j.map(e),y[16]=j,y[17]=m}else m=y[17];return y[19]!==m?(p=(0,t.jsx)("ul",{className:"mt-6 flex flex-col gap-3 px-5 pb-2",children:m}),y[19]=m,y[20]=p):p=y[20],y[21]!==f||y[22]!==p?(h=(0,t.jsxs)(eF,{onPointerDownOutside:e2,side:"top",className:"top-[75px] max-h-[calc(100vh-75px)] w-full bg-white px-0",children:[u,(0,t.jsx)("div",{className:"flex min-h-[calc(100vh-75px)] flex-col bg-white pb-4",children:(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[f,p]})})]}),y[21]=f,y[22]=p,y[23]=h):h=y[23],y[24]!==R||y[25]!==h||y[26]!==c?(v=(0,t.jsxs)(eO,{modal:!1,open:R,onOpenChange:k,children:[c,h]}),y[24]=R,y[25]=h,y[26]=c,y[27]=v):v=y[27],v}function e1(e){let t=e.currentTarget;setTimeout(()=>t.scrollIntoView({behavior:"instant"}))}function e2(e){return e.preventDefault()}var ex=ex;function e4(e){let r,a,o,s,c=(0,n.c)(13),{navLinks:u,openPlayer:d,latestResource:f}=e,[m,p]=(0,i.useState)("");c[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>p(""),c[0]=r):r=c[0];let h=r;if(c[1]!==f||c[2]!==u||c[3]!==d){let e;c[5]!==f||c[6]!==d?(e=e=>{let{id:n,itemLink:r,sections:a,expandable:i,assetLink:o,videoThumbnail:s,image:c,video:u,highlightTextLink:m,withLatestResources:p,title:v,productTourUrl:x,assetTitle:g,assetDescription:b,highlightText:y,latestResourcesTitle:w}=e;if(i){let e,i,j=s&&(u?.brandfolderVideoId||x),{sections:E,columns:N}=(e=a.sort((e,t)=>
1e.column!==t.column?e.column-t.column:e.row-t.row),i=Array.from({length:e[e.length-1]?.column??0},(e,t)=>t+1),{sections:e,columns:i});return(0,t.jsxs)(ey,{value:n,children:[r?(0,t.jsx)(ej,{asChild:!0,children:(0,t.jsxs)(eS.AppLink,{title:v,destination:r,size:"xs",variant:"nav",className:"px-2 py-2 leading-tight !text-neutral-900 2xl:p-3",children:[v,(0,t.jsx)(ex.default,{className:"relative top-[1px] size-4 transition group-data-[state=open]:rotate-180 2xl:size-6","aria-hidden":"true"})]})}):(0,t.jsx)(ej,{className:"gap-1 px-2 py-2 leading-tight !text-neutral-900 2xl:p-3",children:v}),(0,t.jsxs)(eE,{className:"!w-full bg-transparent px-0 py-0",children:[(0,t.jsxs)("div",{className:(0,l.cn)("relative z-50 flex w-full gap-6 overflow-hidden rounded-b-4xl bg-white 2xl:gap-10"),children:[j?(0,t.jsx)(eK,{link:o,hasPlayer:!0,title:g,description:b,thumbnailAsset:s,openPlayer:()=>d({productTourUrl:x,videoId:u?.brandfolderVideoId??null})}):c&&(0,t.jsx)(eK,{link:o,hasPlayer:!1,title:g,description:b,asset:c}),(0,t.jsx)("div",{className:"flex flex-2 items-start justify-between gap-4 py-8 xl:gap-5 xl:py-10 2xl:gap-6 2xl:py-12",children:N.map(e=>(0,t.jsx)("div",{children:E.filter(t=>t.column===e).map(e=>{let{id:n,title:r,description:a,items:i,sectionLink:o}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-2 px-3 xl:px-3.5 2xl:px-4",children:o?(0,t.jsx)(eS.AppLink,{title:r,destination:o,size:"md",variant:"tertiary",className:"hover:shadow-nav-sub-item focus-visible:shadow-nav-sub-item justify-start gap-5 rounded-2xl p-3 py-2 text-left text-neutral-900 transition-all duration-300 hover:bg-neutral-50 hover:!opacity-100 focus-visible:bg-neutral-50 focus-visible:!opacity-100 [&_img]:min-w-4 [&_img]:xl:min-w-6",onClick:h,children:(0,t.jsx)(eZ,{title:r,description:a})}):(0,t.jsx)(eZ,{title:r,description:a,className:"px-3"})}),(0,t.jsx)("ul",{className:"mb-4 px-3",children:i.map(e=>(0,t.jsx)(eQ,{...e,onClick:h},e.id))})]},n)})},e))}),p&&f&&(0,t.jsx)(eG,{onClick:h,title:w,latestResource:f})]}),y&&(0,t.jsx)(eB,{text:y,link:m,onClick:h})]})]},n)}return(0,t.jsx)(ey,{children:(0,t.jsx)(eS.AppLink,{title:v,destination:r,size:"xs",variant:"nav",className:"px-2 py-2 leading-tight 2xl:p-3"})},n)},c[5]=f,c[6]=d,c[7]=e):e=c[7],a=u.map(e),c[1]=f,c[2]=u,c[3]=d,c[4]=a}else a=c[4];return c[8]!==a?(o=(0,t.jsx)(eb,{className:"h-full gap-1 2xl:gap-3",children:a}),c[8]=a,c[9]=o):o=c[9],c[10]!==o||c[11]!==m?(s=(0,t.jsx)(eg,{value:m,onValueChange:p,className:"static right-0 left-0 [&>div]:h-full",children:o}),c[10]=o,c[11]=m,c[12]=s):s=c[12],s}var e5=e.i(80751);function e3(e){let{id:n,...r}=e;return(0,t.jsx)(eS.AppLink,{...r,destination:r.destination,size:"xs",className:"w-auto px-3 py-2"},n)}e.s(["default",0,function(e){let s,c,u,d,f,m,p,h,v,x,g,b,y,w,j,E,N,C=(0,n.c)(52),{logo:R,stickyLogo:k,navLinks:A,cta:S,mobileCta:P,mobileTopBarCta:_,hideLanguageSwitcher:T,lang:L,latestResource:I}=e,[D,O]=(0,i.useState)(null),[M,z]=(0,i.useState)(null),{ref:F,isSticky:H}=(()=>{let e,t,r,a=(0,n.c)(4),[o,l]=(0,i.useState)(!1),s=(0,i.useRef)(null);return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=new IntersectionObserver(e=>{let[t]=e;return l((t?.intersectionRatio??0)<1)},{threshold:[1]});return s.current&&e.observe(s.current),()=>{e.disconnect()}},t=[],a[0]=e,a[1]=t):(e=a[0],t=a[1]),(0,i.useEffect)(e,t),a[2]!==o?(r={ref:s,isSticky:o},a[2]=o,a[3]=r):r=a[3],r})();C[0]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{let{videoId:t,productTourUrl:n}=e;O(t),z(n)},C[0]=s):s=C[0];let W=s,U=H?"xl:h-[70px] 2xl:h-[86px]":"xl:h-[90px] 2xl:h-[116px]";C[1]!==U?(c=(0,l.cn)("shadow-navigation-menu sticky top-0 z-50 flex h-[75px] min-h-[75px] w-full items-center justify-between rounded-b-2xl bg-white px-5 transition-all duration-300 ease-in-out 2xl:px-12 [&:has([data-state=open])]:rounded-b-none [&:has([data-state=open])]:bg-white [&:has([data-state=open])]:duration-400",U),C[1]=U,C[2]=c):c=C[2],C[3]!==T?(u=!T&&(0,t.jsx)(eA,{}),C[3]=T,C[4]=u):u=C[4],C[5]!==u?(d=(0,t.jsx)("div",{className:"xl:hidden",children:u}),C[5]=u,C[6]=d):d=C[6];let $=L===o.DEFAULT_LOCALE?"/":`/${L}`,K=R.url,V=R.url,B=R.width??180,Y=R.height??70,X=H?"xl:opacity-0":"xl:opacity-100";return C[7]!==X?(f=(0,l.cn)("w-[125px] transition-opacity duration-300 ease-in-out 2xl:w-[180px]",X),C[7]=X,C[8]=f):f=C[8],C[9]!==R.url||C[10]!==Y||C[11]!==f||C[12]!==B?(m=(0,t.jsx)(r.default,{src:K,alt:V,width:B,height:Y,"aria-label":"Planday logo",className:f}),C[9]=R.url,C[10]=Y,C[11]=f,C[12]=B,C[13]=m):m=C[13],C[14]!==H||C[15]!==k?(p=k&&(0,t.jsx)(r.default,{src:k.url,alt:k.url,width:60,height:k.height??40,"aria-label":"Planday logo",className:(0,l.cn)("absolute top-1/2 left-0 hidden w-[40px] -translate-y-1/2 transition-opacity duration-300 ease-in-out xl:block 2xl:w-[60px]",H?"opacity-100":"opacity-0"),priority:!0}),C[14]=H,C[15]=k,C[16]=p):p=C[16],C[17]!==m||C[18]!==p?(h=(0,t.jsxs)("div",{className:"relative w-[125px] 2xl:w-[180px]",children:[m,p]}),C[17]=m,C[18]=p,C[19]=h):h=C[19],C[20]!==h||C[21]!==$?(v=(0,t.jsx)(a.default,{href:$,"aria-label":"Homepage",children:h}),C[20]=h,C[21]=$,C[22]=v):v=C[22],C[23]!==I||C[24]!==A?(x=(0,t.jsx)("div",{className:"hidden h-full xl:flex",children:(0,t.jsx)(e4,{navLinks:A,openPlayer:W,latestResource:I})}),C[23]=I,C[24]=A,C[25]=x):x=C[25],C[26]!==I||C[27]!==P||C[28]!==_||C[29]!==A?(g=A.length>0?(0,t.jsxs)(t.Fragment,{children:[_&&(0,t.jsx)(eS.AppLink,{..._,size:"xs",className:"w-auto px-3 py-2"}),(0,t.jsx)(e0,{navLinks:A,cta:P,openPlayer:W,latestResource:I})]}):P.map(e3),C[26]=I,C[27]=P,C[28]=_,C[29]=A,C[30]=g):g=C[30],C[31]!==g?(b=(0,t.jsx)("div",{className:"flex items-center gap-2 xl:hidden",children:g}),C[31]=g,C[32]=b):b=C[32],C[33]!==S||C[34]!==T?(y=(0,t.jsx)(eP,{cta:S,hideLanguageSwitcher:T}),C[33]=S,C[34]=T,C[35]=y):y=C[35],C[36]!==D||C[37]!==M?(w=(D||M)&&(0,t.jsx)(e5.VideoPlayerDialog,{videoId:D,productTourUrl:M,openPlayer:W}),C[36]=D,C[37]=M,C[38]=w):w=C[38],C[39]!==v||C[40]!==x||C[41]!==b||C[42]!==y||C[43]!==w||C[44]!==c||C[45]!==d?(j=(0,t.jsxs)("nav",{className:c,children:[d,v,x,b,y,w]}),C[39]=v,C[40]=x,C[41]=b,C[42]=y,C[43]=w,C[44]=c,C[45]=d,C[46]=j):j=C[46],C[47]!==F?(E=(0,t.jsx)("div",{ref:F,className:"pointer-events-none absolute top-20 h-8 w-full"}),C[47]=F,C[48]=E):E=C[48],C[49]!==j||C[50]!==E?(N=(0,t.jsxs)(t.Fragment,{children:[j,E]}),C[49]=j,C[50]=E,C[51]=N):N=C[51],N}],54742)}]);
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.