1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,789460,e=>{"use strict";var t=e.i(545995);e.s(["LucideLogOut",()=>t.default])},755146,56623,71540,615022,439366,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(981140),n=e.i(820783),o=e.i(30030),s=e.i(369340),i=e.i(248425),l=e.i(75830),d=e.i(586318),c=e.i(726330),u=e.i(303536),p=e.i(765491),h=e.i(610772),m=e.i(853660),x=e.i(774606),f=e.i(296626),g=e.i(842727),b=e.i(991918),v=e.i(30207),w=e.i(186312),j=e.i(985369),k=["Enter"," "],y=["ArrowUp","PageDown","End"],N=["ArrowDown","PageUp","Home",...y],C={ltr:[...k,"ArrowRight"],rtl:[...k,"ArrowLeft"]},R={ltr:["ArrowLeft"],rtl:["ArrowRight"]},_="Menu",[S,E,M]=(0,l.createCollection)(_),[P,D]=(0,o.createContextScope)(_,[M,m.createPopperScope,g.createRovingFocusGroupScope]),L=(0,m.createPopperScope)(),T=(0,g.createRovingFocusGroupScope)(),[I,A]=P(_),[O,H]=P(_),F=e=>{let{__scopeMenu:a,open:n=!1,children:o,dir:s,onOpenChange:i,modal:l=!0}=e,c=L(a),[u,p]=r.useState(null),h=r.useRef(!1),x=(0,v.useCallbackRef)(i),f=(0,d.useDirection)(s);return r.useEffect(()=>{let e=()=>{h.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>h.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,t.jsx)(m.Root,{...c,children:(0,t.jsx)(I,{scope:a,open:n,onOpenChange:x,content:u,onContentChange:p,children:(0,t.jsx)(O,{scope:a,onClose:r.useCallback(()=>x(!1),[x]),isUsingKeyboardRef:h,dir:f,modal:l,children:o})})})};F.displayName=_;var z=r.forwardRef((e,r)=>{let{__scopeMenu:a,...n}=e,o=L(a);return(0,t.jsx)(m.Anchor,{...o,...n,ref:r})});z.displayName="MenuAnchor";var K="MenuPortal",[B,U]=P(K,{forceMount:void 0}),V=e=>{let{__scopeMenu:r,forceMount:a,children:n,container:o}=e,s=A(K,r);return(0,t.jsx)(B,{scope:r,forceMount:a,children:(0,t.jsx)(f.Presence,{present:a||s.open,children:(0,t.jsx)(x.Portal,{asChild:!0,container:o,children:n})})})};V.displayName=K;var G="MenuContent",[$,q]=P(G),W=r.forwardRef((e,r)=>{let a=U(G,e.__scopeMenu),{forceMount:n=a.forceMount,...o}=e,s=A(G,e.__scopeMenu),i=H(G,e.__scopeMenu);return(0,t.jsx)(S.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(f.Presence,{present:n||s.open,children:(0,t.jsx)(S.Slot,{scope:e.__scopeMenu,children:i.modal?(0,t.jsx)(Q,{...o,ref:r}):(0,t.jsx)(X,{...o,ref:r})})})})}),Q=r.forwardRef((e,o)=>{let s=A(G,e.__scopeMenu),i=r.useRef(null),l=(0,n.useComposedRefs)(o,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,w.hideOthers)(e)},[]),(0,t.jsx)(Z,{...e,ref:l,trapFocus:s.open,disableOutsidePointerEvents:s.open,disableOutsideScroll:!0,onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>s.onOpenChange(!1)})}),X=r.forwardRef((e,r)=>{let a=A(G,e.__scopeMenu);return(0,t.jsx)(Z,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>a.onOpenChange(!1)})}),Y=(0,b.createSlot)("MenuContent.ScrollLock"),Z=r.forwardRef((e,o)=>{let{__scopeMenu:s,loop:i=!1,trapFocus:l,onOpenAutoFocus:d,onCloseAutoFocus:h,disableOutsidePointerEvents:x,onEntryFocus:f,onEscapeKeyDown:b,onPointerDownOutside:v,onFocusOutside:w,onInteractOutside:k,onDismiss:C,disableOutsideScroll:R,..._}=e,S=A(G,s),M=H(G,s),P=L(s),D=T(s),I=E(s),[O,F]=r.useState(null),z=r.useRef(null),K=(0,n.useComposedRefs)(o,z,S.onContentChange),B=r.useRef(0),U=r.useRef(""),V=r.useRef(0),q=r.useRef(null),W=r.useRef("right"),Q=r.useRef(0),X=R?j.RemoveScroll:r.Fragment;r.useEffect(()=>()=>window.clearTimeout(B.current),[]),(0,u.useFocusGuards)();let Z=r.useCallback(e=>{var t,r;return W.current===q.current?.side&&(t=e,!!(r=q.current?.area)&&function(e,t){let{x:r,y:a}=e,n=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let s=t[e].x,i=t[e].y,l=t[o].x,d=t[o].y;i>a!=d>a&&r<(l-s)*(a-i)/(d-i)+s&&(n=!n)}return n}({x:t.clientX,y:t.clientY},r))},[]);return(0,t.jsx)($,{scope:s,searchRef:U,onItemEnter:r.useCallback(e=>{Z(e)&&e.preventDefault()},[Z]),onItemLeave:r.useCallback(e=>{Z(e)||(z.current?.focus(),F(null))}
1,[Z]),onTriggerLeave:r.useCallback(e=>{Z(e)&&e.preventDefault()},[Z]),pointerGraceTimerRef:V,onPointerGraceIntentChange:r.useCallback(e=>{q.current=e},[]),children:(0,t.jsx)(X,{...R?{as:Y,allowPinchZoom:!0}:void 0,children:(0,t.jsx)(p.FocusScope,{asChild:!0,trapped:l,onMountAutoFocus:(0,a.composeEventHandlers)(d,e=>{e.preventDefault(),z.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:h,children:(0,t.jsx)(c.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:x,onEscapeKeyDown:b,onPointerDownOutside:v,onFocusOutside:w,onInteractOutside:k,onDismiss:C,children:(0,t.jsx)(g.Root,{asChild:!0,...D,dir:M.dir,orientation:"vertical",loop:i,currentTabStopId:O,onCurrentTabStopIdChange:F,onEntryFocus:(0,a.composeEventHandlers)(f,e=>{M.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,t.jsx)(m.Content,{role:"menu","aria-orientation":"vertical","data-state":eN(S.open),"data-radix-menu-content":"",dir:M.dir,...P,..._,ref:K,style:{outline:"none",..._.style},onKeyDown:(0,a.composeEventHandlers)(_.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,a=1===e.key.length;if(t){var n;let t,o,s,i,l,d;"Tab"===e.key&&e.preventDefault(),!r&&a&&(n=e.key,t=U.current+n,o=I().filter(e=>!e.disabled),s=document.activeElement,i=o.find(e=>e.ref.current===s)?.textValue,l=function(e,t,r){var a;let n=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=r?e.indexOf(r):-1,s=(a=Math.max(o,0),e.map((t,r)=>e[(a+r)%e.length]));1===n.length&&(s=s.filter(e=>e!==r));let i=s.find(e=>e.toLowerCase().startsWith(n.toLowerCase()));return i!==r?i:void 0}(o.map(e=>e.textValue),t,i),d=o.find(e=>e.textValue===l)?.ref.current,function e(t){U.current=t,window.clearTimeout(B.current),""!==t&&(B.current=window.setTimeout(()=>e(""),1e3))}(t),d&&setTimeout(()=>d.focus()))}let o=z.current;if(e.target!==o||!N.includes(e.key))return;e.preventDefault();let s=I().filter(e=>!e.disabled).map(e=>e.ref.current);y.includes(e.key)&&s.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(s)}),onBlur:(0,a.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(B.current),U.current="")}),onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,e_(e=>{let t=e.target,r=Q.current!==e.clientX;e.currentTarget.contains(t)&&r&&(W.current=e.clientX>Q.current?"right":"left",Q.current=e.clientX)}))})})})})})})});W.displayName=G;var J=r.forwardRef((e,r)=>{let{__scopeMenu:a,...n}=e;return(0,t.jsx)(i.Primitive.div,{role:"group",...n,ref:r})});J.displayName="MenuGroup";var ee=r.forwardRef((e,r)=>{let{__scopeMenu:a,...n}=e;return(0,t.jsx)(i.Primitive.div,{...n,ref:r})});ee.displayName="MenuLabel";var et="MenuItem",er="menu.itemSelect",ea=r.forwardRef((e,o)=>{let{disabled:s=!1,onSelect:l,...d}=e,c=r.useRef(null),u=H(et,e.__scopeMenu),p=q(et,e.__scopeMenu),h=(0,n.useComposedRefs)(o,c),m=r.useRef(!1);return(0,t.jsx)(en,{...d,ref:h,disabled:s,onClick:(0,a.composeEventHandlers)(e.onClick,()=>{let e=c.current;if(!s&&e){let t=new CustomEvent(er,{bubbles:!0,cancelable:!0});e.addEventListener(er,e=>l?.(e),{once:!0}),(0,i.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?m.current=!1:u.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),m.current=!0},onPointerUp:(0,a.composeEventHandlers)(e.onPointerUp,e=>{m.current||e.currentTarget?.click()}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==p.searchRef.current;s||t&&" "===e.key||k.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ea.displayName=et;var en=r.forwardRef((e,o)=>{let{__scopeMenu:s,disabled:l=!1,textValue:d,...c}=e,u=q(et,s),p=T(s),h=r.useRef(null),m=(0,n.useComposedRefs)(o,h),[x,f]=r.useState(!1),[b,v]=r.useState("");return r.useEffect(()=>{let e=h.current;e&&v((e.textContent??"").trim())},[c.children]),(0,t.jsx)(S.ItemSlot,{scope:s,disabled:l,textValue:d??b,children:(0,t.jsx)(g.Item,{asChild:!0,...p,focusable:!l,children:(0,t.jsx)(i.Primitive.div,{role:"menuitem","data-highlighted":x?"":void 0,"aria-disabled":l||void 0,"data-disabled":l?"":void 0,...c,ref:m,onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,e_(e=>{l?u.onItemLeave(e):(u.onItemEnter(e),e.defaultPrevented||e.currentTarget.focu
1s({preventScroll:!0}))})),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,e_(e=>u.onItemLeave(e))),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>f(!0)),onBlur:(0,a.composeEventHandlers)(e.onBlur,()=>f(!1))})})})}),eo=r.forwardRef((e,r)=>{let{checked:n=!1,onCheckedChange:o,...s}=e;return(0,t.jsx)(eh,{scope:e.__scopeMenu,checked:n,children:(0,t.jsx)(ea,{role:"menuitemcheckbox","aria-checked":eC(n)?"mixed":n,...s,ref:r,"data-state":eR(n),onSelect:(0,a.composeEventHandlers)(s.onSelect,()=>o?.(!!eC(n)||!n),{checkForDefaultPrevented:!1})})})});eo.displayName="MenuCheckboxItem";var es="MenuRadioGroup",[ei,el]=P(es,{value:void 0,onValueChange:()=>{}}),ed=r.forwardRef((e,r)=>{let{value:a,onValueChange:n,...o}=e,s=(0,v.useCallbackRef)(n);return(0,t.jsx)(ei,{scope:e.__scopeMenu,value:a,onValueChange:s,children:(0,t.jsx)(J,{...o,ref:r})})});ed.displayName=es;var ec="MenuRadioItem",eu=r.forwardRef((e,r)=>{let{value:n,...o}=e,s=el(ec,e.__scopeMenu),i=n===s.value;return(0,t.jsx)(eh,{scope:e.__scopeMenu,checked:i,children:(0,t.jsx)(ea,{role:"menuitemradio","aria-checked":i,...o,ref:r,"data-state":eR(i),onSelect:(0,a.composeEventHandlers)(o.onSelect,()=>s.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});eu.displayName=ec;var ep="MenuItemIndicator",[eh,em]=P(ep,{checked:!1}),ex=r.forwardRef((e,r)=>{let{__scopeMenu:a,forceMount:n,...o}=e,s=em(ep,a);return(0,t.jsx)(f.Presence,{present:n||eC(s.checked)||!0===s.checked,children:(0,t.jsx)(i.Primitive.span,{...o,ref:r,"data-state":eR(s.checked)})})});ex.displayName=ep;var ef=r.forwardRef((e,r)=>{let{__scopeMenu:a,...n}=e;return(0,t.jsx)(i.Primitive.div,{role:"separator","aria-orientation":"horizontal",...n,ref:r})});ef.displayName="MenuSeparator";var eg=r.forwardRef((e,r)=>{let{__scopeMenu:a,...n}=e,o=L(a);return(0,t.jsx)(m.Arrow,{...o,...n,ref:r})});eg.displayName="MenuArrow";var[eb,ev]=P("MenuSub"),ew="MenuSubTrigger",ej=r.forwardRef((e,o)=>{let s=A(ew,e.__scopeMenu),i=H(ew,e.__scopeMenu),l=ev(ew,e.__scopeMenu),d=q(ew,e.__scopeMenu),c=r.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:p}=d,h={__scopeMenu:e.__scopeMenu},m=r.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return r.useEffect(()=>m,[m]),r.useEffect(()=>{let e=u.current;return()=>{window.clearTimeout(e),p(null)}},[u,p]),(0,t.jsx)(z,{asChild:!0,...h,children:(0,t.jsx)(en,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":l.contentId,"data-state":eN(s.open),...e,ref:(0,n.composeRefs)(o,l.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),s.open||s.onOpenChange(!0))},onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,e_(t=>{d.onItemEnter(t),!t.defaultPrevented&&(e.disabled||s.open||c.current||(d.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{s.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,e_(e=>{m();let t=s.content?.getBoundingClientRect();if(t){let r=s.content?.dataset.side,a="right"===r,n=t[a?"left":"right"],o=t[a?"right":"left"];d.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:n,y:t.top},{x:o,y:t.top},{x:o,y:t.bottom},{x:n,y:t.bottom}],side:r}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>d.onPointerGraceIntentChange(null),300)}else{if(d.onTriggerLeave(e),e.defaultPrevented)return;d.onPointerGraceIntentChange(null)}})),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,t=>{let r=""!==d.searchRef.current;e.disabled||r&&" "===t.key||C[i.dir].includes(t.key)&&(s.onOpenChange(!0),s.content?.focus(),t.preventDefault())})})})});ej.displayName=ew;var ek="MenuSubContent",ey=r.forwardRef((e,o)=>{let s=U(G,e.__scopeMenu),{forceMount:i=s.forceMount,...l}=e,d=A(G,e.__scopeMenu),c=H(G,e.__scopeMenu),u=ev(ek,e.__scopeMenu),p=r.useRef(null),h=(0,n.useComposedRefs)(o,p);return(0,t.jsx)(S.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(f.Presence,{present:i||d.open,children:(0,t.jsx)(S.Slot,{scope:e.__scopeMenu,children:(0,t.jsx)(Z,{id:u.contentId,"aria-labelledby":u.triggerId,...l,ref:h,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{c.isUsingKeyboardRef.current&&p.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==u.trigger&&d.onOpenChange(!1)}),onEscapeKeyDown:(0,a.composeEventHandlers)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=R[c.dir].includes(e.ke
1y);t&&r&&(d.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})});function eN(e){return e?"open":"closed"}function eC(e){return"indeterminate"===e}function eR(e){return eC(e)?"indeterminate":e?"checked":"unchecked"}function e_(e){return t=>"mouse"===t.pointerType?e(t):void 0}ey.displayName=ek;var eS="DropdownMenu",[eE,eM]=(0,o.createContextScope)(eS,[D]),eP=D(),[eD,eL]=eE(eS),eT=e=>{let{__scopeDropdownMenu:a,children:n,dir:o,open:i,defaultOpen:l,onOpenChange:d,modal:c=!0}=e,u=eP(a),p=r.useRef(null),[m=!1,x]=(0,s.useControllableState)({prop:i,defaultProp:l,onChange:d});return(0,t.jsx)(eD,{scope:a,triggerId:(0,h.useId)(),triggerRef:p,contentId:(0,h.useId)(),open:m,onOpenChange:x,onOpenToggle:r.useCallback(()=>x(e=>!e),[x]),modal:c,children:(0,t.jsx)(F,{...u,open:m,onOpenChange:x,dir:o,modal:c,children:n})})};eT.displayName=eS;var eI="DropdownMenuTrigger",eA=r.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,disabled:s=!1,...l}=e,d=eL(eI,o),c=eP(o);return(0,t.jsx)(z,{asChild:!0,...c,children:(0,t.jsx)(i.Primitive.button,{type:"button",id:d.triggerId,"aria-haspopup":"menu","aria-expanded":d.open,"aria-controls":d.open?d.contentId:void 0,"data-state":d.open?"open":"closed","data-disabled":s?"":void 0,disabled:s,...l,ref:(0,n.composeRefs)(r,d.triggerRef),onPointerDown:(0,a.composeEventHandlers)(e.onPointerDown,e=>{!s&&0===e.button&&!1===e.ctrlKey&&(d.onOpenToggle(),d.open||e.preventDefault())}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{!s&&(["Enter"," "].includes(e.key)&&d.onOpenToggle(),"ArrowDown"===e.key&&d.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eA.displayName=eI;var eO=e=>{let{__scopeDropdownMenu:r,...a}=e,n=eP(r);return(0,t.jsx)(V,{...n,...a})};eO.displayName="DropdownMenuPortal";var eH="DropdownMenuContent",eF=r.forwardRef((e,n)=>{let{__scopeDropdownMenu:o,...s}=e,i=eL(eH,o),l=eP(o),d=r.useRef(!1);return(0,t.jsx)(W,{id:i.contentId,"aria-labelledby":i.triggerId,...l,...s,ref:n,onCloseAutoFocus:(0,a.composeEventHandlers)(e.onCloseAutoFocus,e=>{d.current||i.triggerRef.current?.focus(),d.current=!1,e.preventDefault()}),onInteractOutside:(0,a.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,a=2===t.button||r;(!i.modal||a)&&(d.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eF.displayName=eH,r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(J,{...o,...n,ref:r})}).displayName="DropdownMenuGroup";var ez=r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(ee,{...o,...n,ref:r})});ez.displayName="DropdownMenuLabel";var eK=r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(ea,{...o,...n,ref:r})});eK.displayName="DropdownMenuItem";var eB=r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(eo,{...o,...n,ref:r})});eB.displayName="DropdownMenuCheckboxItem",r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(ed,{...o,...n,ref:r})}).displayName="DropdownMenuRadioGroup";var eU=r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(eu,{...o,...n,ref:r})});eU.displayName="DropdownMenuRadioItem";var eV=r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(ex,{...o,...n,ref:r})});eV.displayName="DropdownMenuItemIndicator";var eG=r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(ef,{...o,...n,ref:r})});eG.displayName="DropdownMenuSeparator",r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(eg,{...o,...n,ref:r})}).displayName="DropdownMenuArrow";var e$=r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);return(0,t.jsx)(ej,{...o,...n,ref:r})});e$.displayName="DropdownMenuSubTrigger";var eq=r.forwardRef((e,r)=>{let{__scopeDropdownMenu:a,...n}=e,o=eP(a);
1return(0,t.jsx)(ey,{...o,...n,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eq.displayName="DropdownMenuSubContent";var eW=e.i(689664),eQ=e.i(867927),eX=e.i(564346),eY=e.i(975157);r.forwardRef(({className:e,inset:r,children:a,...n},o)=>(0,t.jsxs)(e$,{ref:o,className:(0,eY.cn)("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",e),...n,children:[a,(0,t.jsx)(eQ.ChevronRight,{className:"ml-auto"})]})).displayName=e$.displayName,r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(eq,{ref:a,className:(0,eY.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",e),...r})).displayName=eq.displayName;let eZ=r.forwardRef(({className:e,sideOffset:r=4,...a},n)=>(0,t.jsx)(eO,{children:(0,t.jsx)(eF,{ref:n,sideOffset:r,className:(0,eY.cn)("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",e),...a})}));eZ.displayName=eF.displayName;let eJ=r.forwardRef(({className:e,inset:r,...a},n)=>(0,t.jsx)(eK,{ref:n,className:(0,eY.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",r&&"pl-8",e),...a}));eJ.displayName=eK.displayName;let e0=r.forwardRef(({className:e,children:r,checked:a,...n},o)=>(0,t.jsxs)(eB,{ref:o,className:(0,eY.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...n,children:[(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(eV,{children:(0,t.jsx)(eW.Check,{className:"h-4 w-4"})})}),r]}));e0.displayName=eB.displayName,r.forwardRef(({className:e,children:r,...a},n)=>(0,t.jsxs)(eU,{ref:n,className:(0,eY.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(eV,{children:(0,t.jsx)(eX.Circle,{className:"h-2 w-2 fill-current"})})}),r]})).displayName=eU.displayName,r.forwardRef(({className:e,inset:r,...a},n)=>(0,t.jsx)(ez,{ref:n,className:(0,eY.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",e),...a})).displayName=ez.displayName,r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(eG,{ref:a,className:(0,eY.cn)("-mx-1 my-1 h-px bg-muted",e),...r})).displayName=eG.displayName,e.s(["DropdownMenu",0,eT,"DropdownMenuCheckboxItem",0,e0,"DropdownMenuContent",0,eZ,"DropdownMenuItem",0,eJ,"DropdownMenuTrigger",0,eA],755146);var e1=e.i(336044);e.s(["LucideMessageCircleQuestion",()=>e1.default],56623);var e2=e.i(32528);
1e.s(["LucideShoppingCart",()=>e2.default],71540);var e5=e.i(363178),e4=e.i(185301),e6=e.i(844071),e6=e6,e3=e.i(906815),e3=e3,e7=e.i(456420);let e8={name:"sun-moon",size:24,node:[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715",key:"xlf6rm"}],["path",{d:"M16 12a4 4 0 0 0-4-4",key:"6vsxu"}],["path",{d:"m19 5-1.256 1.256",key:"1yg6a6"}],["path",{d:"M20 12h2",key:"1q8mjw"}]]};e8.node;let e9=(0,e7.default)(e8);var te=e.i(519455),tt=e.i(948148);e.s(["ModeToggle",0,function(){let e=(0,tt.useTranslations)("general"),{setTheme:r}=(0,e5.useTheme)();return(0,t.jsxs)(eT,{children:[(0,t.jsx)(eA,{asChild:!0,children:(0,t.jsx)(te.Button,{variant:"ghost",size:"icon","aria-label":"Open theme menu",children:(0,t.jsx)(e9,{className:"h-5 w-5 rotate-0 scale-100 transition-all"})})}),(0,t.jsxs)(eZ,{align:"end",children:[(0,t.jsxs)(eJ,{onClick:()=>{r("light")},children:[(0,t.jsx)(e3.default,{className:"mr-2 h-4 w-4"}),(0,t.jsx)("span",{children:e("light_label")})]}),(0,t.jsxs)(eJ,{onClick:()=>{r("dark")},children:[(0,t.jsx)(e6.default,{className:"mr-2 h-4 w-4"}),(0,t.jsx)("span",{children:e("dark_label")})]}),(0,t.jsxs)(eJ,{onClick:()=>r("system"),children:[(0,t.jsx)(e4.LucideLaptop,{className:"mr-2 h-4 w-4"}),(0,t.jsx)("span",{children:e("system_label")})]})]})]})}],615022);var tr=e.i(43263),tr=tr,ta=e.i(744705),tn=e.i(759684),to=e.i(618566),ts=e.i(861745),ti=e.i(520133);let tl=({localeToRender:e})=>{let a=(0,ti.useRouter)(),[n,o]=(0,r.useTransition)(),s=(0,ti.usePathname)(),i=(0,to.useParams)(),l=(0,to.useSearchParams)(),d=(0,ts.useLocale)(),c={};return l.forEach((e,t)=>{c[t]=e}),(0,t.jsx)(e0,{className:"w-auto",disabled:n,onClick:function(){o(()=>{let t={pathname:s,params:i};if(l&&l.size>0){let e={};l.forEach((t,r)=>{e[r]=t}),t.query=e}a.replace(t,{locale:e})})},checked:d===e,children:((e,t=!1)=>{let r,a;switch(e){case"ar":r="Ø§ÙØ¹Ø±Ø¨ÙØ©",a="ð¸ð¦";break;case"cs":r="ÄeÅ¡tina",a="ð¨ð¿";break;case"da":r="Dansk",a="ð©ð°";break;case"de":r="Deutsch",a="ð©ðª";break;case"el":r="Îλληνικά",a="ð¬ð·";break;case"en":default:r="English",a="ð¬ð§";break;case"es":r="Español",a="ðªð¸";break;case"fa":r="ÙØ§Ø±Ø³Û",a="ð®ð·";break;case"fi":r="Suomi",a="ð«ð®";break;case"fil":r="Filipino",a="ðµð";break;case"fr":r="Français",a="ð«ð·";break;case"ha":r="Hausa",a="ð³ð¬";break;case"he":r="×¢×ר×ת",a="ð®ð±";break;case"hi":r="हिनà¥à¤¦à¥",a="ð®ð³";break;case"hr":r="Hrvatski",a="ðð·";break;case"id":r="Indonesian",a="ð®ð©";break;case"is":r="Ãslenska",a="ð®ð¸";break;case"it":r="Italiano",a="ð®ð¹";break;case"ja":r="æ¥æ¬èª",a="ð¯ðµ";break;case"ka":r="á¥áá áá£áá",a="ð¬ðª";break;case"kn":r="à²à²¨à³à²¨à²¡",a="ð®ð³";break;case"ko":r="íêµì´",a="ð°ð·";break;case"ku":r="Kurdî",a="ð®ð¶";break;case"ky":r="ÐÑÑгÑзÑа",a="ð°ð¬";break;case"lv":r="LatvieÅ¡u",a="ð±ð»";break;case"mg":r="Malagasy",a="ð²ð¬";break;case"ms":r="Melayu",a="ð²ð¾";break;case"nl":r="Nederlands",a="ð³ð±";break;case"no":r="Norsk",a="ð³ð´";break;case"pl":r="Polski",a="ðµð±";break;case"pt":r="Português",a="ðµð¹";break;case"ro":r="RomânÄ",a="ð·ð´";break;case"ru":r="Ð ÑÑÑкий",a="ð·ðº";break;case"so":r="Soomaali",a="ð¸ð´";break;case"sv":r="Svenska",a="ð¸ðª";break;case"tg":r="Тоҷикӣ",a="ð¹ð¯";break;case"th":r="ภาษาà¹à¸à¸¢",a="ð¹ð";break;case"tk":r="Türkmençe",a="ð¹ð²";break;case"tr":r="Türkçe",a="ð¹ð·";break;case"uk":r="УкÑаÑнÑÑка",a="ðºð¦";break;case"ur":r="اردÙ",a="ðµð°";break;case"vi":r="Tiếng Viá»t",a="ð»ð³";break;case"zh":r="ç®ä½ä¸æ",a="ð¨ð³";break;case"zh-Hant":r="ç¹é«ä¸æ",a="ð¹ð¼";break;case"zu":r="Zulu",a="ð¿ð¦"}return t?`${a} ${r}`:r})(e,!0)},e)};e.s(["default",0,()=>(0,t.jsxs)(eT,{children:[(0,t.jsx)(eA,{asChild:!0,children:(0,t.jsx)(te.Button,{variant:"ghost",size:"icon","aria-label":"Switch language",children:(0,t.jsx)(tr.default,{className:"h-5 w-5 rotate-0 scale-100 transition-all"})})}),(0,t.jsx)(eZ,{align:"end",children:(0,t.jsx)(tn.ScrollArea,{className:"h-[60vh] md:h-[40vh]",children:(0,t.jsx)(r.Suspense,{fallback:null,children:ta.routing.locales.map(e=>(0,t.jsx)(tl,{localeToRender:e},e))})})})]})],439366)},180555,e=>{"use strict";var t,r=e.i(843476),a=e.i(520133),n=e.i(975157),o=e.i(108164),s=e.i(605131),i=e.i(271645),l=e.i(981140),d=e.i(30030),c=e.i(369340),u=e.i(820783),p=e.i(853660),h=(e.i(774606),e.i(296626)),m=e.i(248425),x=e.i(726330),f="HoverCard",[g,b]=(0,d.createContextScope)(f,[p.createPopperScope]),v=(0,p.createPopperScope)(),[w,j]=g(f),k=e=>{let{__scopeHoverCard:t,children:a,open:n,defaultOpen:o,onOpenChange:s,openDelay:l=700,closeDelay:d=300}=e,u=v(t),h=i.useRef(0),m=i.useRef(0),x=i.useRef(!1),f=i.useRef(!1),[g=!1,b]=(0,c.useControllableState)({prop:n,defaultProp:o,onChange:s}),j=i.useCallback(()=>{clearTimeout(m.current),h.current=window.setTimeout(()=>b(!0),l)},[l,b]),k=i.useCallback(()=>{clearTimeout(h.current),x.current||f.current||(m.current=window.setTimeout(()=>b(!1),d))},[d,b]),y=i.useCallback(()=>b(!1),[b]);return i.useEffect(()=>()=>{clearTimeout(h.current),clearTimeout(m.current)},[]),(0,r.jsx)(w,{scope:t,open:g,onOpenChange:b,onOpen:j,onClose:k,onDismiss:y,hasSelectionRef:x,isPointerDownOnContentRef:f,children:(0,r.jsx)(p.Root,{...u,children:a})})};k.displayName=f;var y="HoverCardTrigger",N=i.forwardRef((e,t)=>
1{let{__scopeHoverCard:a,...n}=e,o=j(y,a),s=v(a);return(0,r.jsx)(p.Anchor,{asChild:!0,...s,children:(0,r.jsx)(m.Primitive.a,{"data-state":o.open?"open":"closed",...n,ref:t,onPointerEnter:(0,l.composeEventHandlers)(e.onPointerEnter,M(o.onOpen)),onPointerLeave:(0,l.composeEventHandlers)(e.onPointerLeave,M(o.onClose)),onFocus:(0,l.composeEventHandlers)(e.onFocus,o.onOpen),onBlur:(0,l.composeEventHandlers)(e.onBlur,o.onClose),onTouchStart:(0,l.composeEventHandlers)(e.onTouchStart,e=>e.preventDefault())})})});N.displayName=y;var[C,R]=g("HoverCardPortal",{forceMount:void 0}),_="HoverCardContent",S=i.forwardRef((e,t)=>{let a=R(_,e.__scopeHoverCard),{forceMount:n=a.forceMount,...o}=e,s=j(_,e.__scopeHoverCard);return(0,r.jsx)(h.Presence,{present:n||s.open,children:(0,r.jsx)(E,{"data-state":s.open?"open":"closed",...o,onPointerEnter:(0,l.composeEventHandlers)(e.onPointerEnter,M(s.onOpen)),onPointerLeave:(0,l.composeEventHandlers)(e.onPointerLeave,M(s.onClose)),ref:t})})});S.displayName=_;var E=i.forwardRef((e,a)=>{let{__scopeHoverCard:n,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:d,onInteractOutside:c,...h}=e,m=j(_,n),f=v(n),g=i.useRef(null),b=(0,u.useComposedRefs)(a,g),[w,k]=i.useState(!1);return i.useEffect(()=>{if(w){let e=document.body;return t=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=t,e.style.webkitUserSelect=t}}},[w]),i.useEffect(()=>{if(g.current){let e=()=>{k(!1),m.isPointerDownOnContentRef.current=!1,setTimeout(()=>{document.getSelection()?.toString()!==""&&(m.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!1}}},[m.isPointerDownOnContentRef,m.hasSelectionRef]),i.useEffect(()=>{g.current&&(function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;r.nextNode();)t.push(r.currentNode);return t})(g.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,r.jsx)(x.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:c,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:(0,l.composeEventHandlers)(d,e=>{e.preventDefault()}),onDismiss:m.onDismiss,children:(0,r.jsx)(p.Content,{...f,...h,onPointerDown:(0,l.composeEventHandlers)(h.onPointerDown,e=>{e.currentTarget.contains(e.target)&&k(!0),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!0}),ref:b,style:{...h.style,userSelect:w?"text":void 0,WebkitUserSelect:w?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})});function M(e){return t=>"touch"===t.pointerType?void 0:e()}i.forwardRef((e,t)=>{let{__scopeHoverCard:a,...n}=e,o=v(a);return(0,r.jsx)(p.Arrow,{...o,...n,ref:t})}).displayName="HoverCardArrow";let P=i.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},s)=>(0,r.jsx)(S,{ref:s,align:t,sideOffset:a,className:(0,n.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]",e),...o}));P.displayName=S.displayName;var D=e.i(309657),L=e.i(948148);let T="relative rounded-full px-3 py-1.5 text-[14px] font-semibold text-[#334155] transition-colors hover:text-[#2563eb] dark:text-slate-200 dark:hover:text-white";function I(){let e=(0,L.useTranslations)("headers.app.top_header"),t=(0,D.useAuthStore)(e=>e.isAuthenticated),i=(0,a.usePathname)();return(0,r.jsxs)("div",{className:"mr-2 hidden md:flex md:items-center",children:[(0,r.jsxs)(a.Link,{href:"/",className:"mr-5 flex items-center gap-2","aria-label":s.AppName,children:[(0,r.jsx)(o.Icons.Logo,{className:"h-7 w-7"}),(0,r.jsx)("span",{className:"hidden text-[17px] font-extrabold tracking-[-0.02em] text-[#0f172a] dark:text-white sm:inline-block",children:s.AppName})]}),(0,r.jsx)("nav",{className:"flex items-center gap-0.5",children:s.NestedRoutes.map((s,l)=>s.auth&&!t?null:s.child.length>0?(0,r.jsxs)(k,{openDelay:80,closeDelay:120,children:[(0,r.jsx)(N,{asChild:!0,children:(0,r.jsxs)("button",{type:"button",className:(0,n.cn)(T,"inline-flex items-center gap-1"),children:[s.translationKey?e(s.translationKey):s.label,(0,r.jsx)(o.Icons.ChevronDown,{className:"h-3.5 w-3.5 opacity-60"})]})}),(0,r.jsx)(P,{className:"w-52 rounded-2xl border border-[#e6edf6] p-1.5 shadow-[0_24px_60px_-30px_rgba(15,23,42,0.4)] dark:border-white/10",align:"start",children:(0,r.jsx)("div",{className:"flex flex-col",children:s.child.map(t=>(0,r.jsx)(a.Link,{href:t.path,target:t.path.startsWith("/")?"_self":"_blank",className:(0,n.cn)("rounded-xl px-3 py-2 text-[13.5px] font-medium text-[#334155] transition-colors hover:bg-[#2563eb]/[0.08] hover:text-[#2563eb] dark:text-slate-200 dark:hover:bg-white/10 dark:hover:text-white",i===t.path&&"bg-[#2563eb]/[0.08] text-[#2563eb] dark:bg-white/10 dark:text-white"),children:t.translationKey?e(t.translationKey):t.name}
1,t.name))})})]},l):(0,r.jsx)(a.Link,{href:s.path,target:s.path.startsWith("/")?"_self":"_blank",className:(0,n.cn)(T,i===s.path&&"text-[#2563eb] dark:text-white bg-[#2563eb]/[0.08] dark:bg-white/10"),children:s.translationKey?e(s.translationKey):s.label},l))})]})}var A=e.i(759684),O=e.i(980376),H=e.i(519455);function F(){let e=(0,L.useTranslations)("headers.app.top_header"),[t,a]=(0,i.useState)(!1),n=(0,D.useAuthStore)(e=>e.isAuthenticated);return(0,r.jsxs)(O.Sheet,{open:t,onOpenChange:a,children:[(0,r.jsx)(O.SheetTrigger,{asChild:!0,children:(0,r.jsx)(H.Button,{variant:"ghost",size:"icon","aria-label":"Open navigation menu",className:"mr-1 h-9 w-9 rounded-full text-[#2563eb] hover:bg-[#2563eb]/[0.08] md:hidden dark:text-blue-400 dark:hover:bg-white/10",children:(0,r.jsx)(o.Icons.Menu,{className:"h-6 w-6"})})}),(0,r.jsxs)(O.SheetContent,{side:"left",className:"w-[300px] border-r border-[#e6edf6] p-0 dark:border-white/10",children:[(0,r.jsx)(O.SheetTitle,{className:"border-b border-[#e6edf6] px-6 py-4 dark:border-white/10",children:(0,r.jsxs)(z,{href:"/",className:"flex items-center gap-2",onOpenChange:a,children:[(0,r.jsx)(o.Icons.Logo,{className:"h-7 w-7"}),(0,r.jsx)("span",{className:"text-[17px] font-extrabold tracking-[-0.02em] text-[#0f172a] dark:text-white",children:s.AppName})]})}),(0,r.jsxs)(A.ScrollArea,{className:"h-[calc(100vh-8rem)] px-3 py-4",children:[(0,r.jsx)("div",{className:"flex flex-col gap-0.5",children:s.Routes.map(t=>t.auth&&!n?null:(0,r.jsxs)(z,{href:t.path,onOpenChange:a,className:"group flex items-center justify-between rounded-xl px-3 py-3 transition-colors hover:bg-[#2563eb]/[0.08] dark:hover:bg-white/10",children:[(0,r.jsx)("span",{className:"text-[15px] font-semibold text-[#334155] transition-colors group-hover:text-[#2563eb] dark:text-slate-200 dark:group-hover:text-white",children:t.translationKey?e(t.translationKey):t.name}),(0,r.jsx)(o.Icons.ChevronRight,{className:"h-4 w-4 text-[#cbd5e1] transition-all group-hover:translate-x-0.5 group-hover:text-[#2563eb] dark:text-slate-600 dark:group-hover:text-blue-400"})]},t.path))}),!n&&(0,r.jsx)(z,{href:"/sign-in/",onOpenChange:a,className:"mt-4 flex h-11 items-center justify-center rounded-full bg-[#2563eb] text-[14px] font-bold text-white shadow-[0_12px_26px_-12px_rgba(37,99,235,0.7)] transition-colors hover:bg-[#1d4ed8]",children:e("sign_in")})]})]})]})}function z({href:e,onOpenChange:t,className:o,children:s,...i}){let l=(0,a.useRouter)();return(0,r.jsx)(a.Link,{href:e,onClick:()=>{l.push(e.toString()),t?.(!1)},className:(0,n.cn)(o),...i,children:s})}var K=e.i(755146),B=e.i(371741),U=e.i(733006),V=e.i(505113),G=e.i(486965),$=e.i(693776),q=e.i(922140),W=e.i(264372),Q=e.i(996454),X=e.i(456420);let Y={name:"layout-dashboard",size:24,node:[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]};Y.node;let Z=(0,X.default)(Y);var J=e.i(789460),ee=e.i(56623),et=e.i(71540),er=e.i(615022),ea=e.i(736080),en=e.i(5554),eo=e.i(439366);e.s(["default",0,()=>{let t=(0,L.useTranslations)("headers.app.top_header"),{toast:n}=(0,q.useToast)(),o=(0,a.useRouter)(),l=(0,a.usePathname)(),d=(0,B.useAppStore)(e=>e.helpUnreadCount),c=(0,D.useAuthStore)(e=>e.showIsAuthLoading),u=(0,D.useAuthStore)(e=>e.hideIsAuthLoading),p=(0,D.useAuthStore)(e=>e.isAuthLoading),h=(0,D.useAuthStore)(e=>e.isAuthenticated),m=(0,D.useAuthStore)(e=>e.setError),x=(0,B.useAppStore)(e=>e.currency),f=(0,B.useAppStore)(e=>e.setCurrency),g=(0,D.useAuthStore)(e=>e.resetUser),b=(0,D.useAuthStore)(e=>e.resetError),v=(0,G.useCustomerStore)(e=>e.resetCustomer),w=(0,$.useCartStore)(e=>e.focusCart),j=(0,G.useCustomerStore)(e=>e.customer),k=(0,en.useRechargeStore)(e=>e.rechargeTransaction),y=(0,en.useRechargeStore)(e=>e.setRechargeTransaction),[N,C]=(0,i.useState)(""),[R,_]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=()=>_(window.scrollY>8);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,i.useEffect)(()=>{w&&w.items.length>0?(C("animate-bounce"),setTimeout(()=>{C("")},2e3)):C("")},[w?.id,w?.items?.length]),(0,i.useEffect)(()=>{w&&w.id&&w.items.length>0&&fetch("/api/carts/currency",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({cartId:w.id,currency:x||"USD"})}).then(e=>e.json())},[x,w?.id]);let S=async()=>{try{if(k&&k.id){let e=await fetch("/api/membership/refill",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({orderId:k?.id||"",amount:k?.amount||0,currency:x,userId:j?.id||""})});if(200!==e.status)throw Error("Failed to update currency");let r=await e.json();r?y(r):n({variant:"destructive",title:t("currency_error_title"),description:t("currency_error_description")})}}catch(e){n({variant:"destructive",title:t("currency_error_title"),description:t("currency_error_description")})}};(0,i.useEffect)(()=>{x&&S()},[x]);let E=async()=>{try{c();let[{signOut:t},{auth:r}]=await Promise.all([e.A(403975),e.A(476207)]);await t(r),(await e.A(77715)).hideIntercom(),g(),b(),v(),window.posthog?.reset?.(),o.replace("/")}catch(e){m((0,U.handleError)(e))}finally{u()}},M="h-9 w-9 rounded-full text-[#334155] hover:bg-[#2563eb]/[0.08] hover:text-[#2563eb] dark:text-slate-300 dark:hover:bg-white/10 dark:hover:text-white",P=(e,t)=>!e||e<=0?null:(0,r.jsx)("span",{className:`absolute -right-0.5 -top-0.5 flex h-[17px] min-w-[17px] items-center justify-center rounded-full bg-[#2563eb] px-1 text-[10px] font-bold text-white ring-2 ring-white dark:ring-[#0b1120] ${t??""}`,children:e});return"/sign-in/"===l||"/sign-up/"===l||"/reset-password/"===l||l.includes("/auth/action/")||l.includes("calling")?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)("header",{className:`fixed top-0 z-40 w-full transition-all duration-300 ${R?"border-b border-[#e6edf6]/80 bg-white/85 shadow-[0_8px_30px_-18px_rgba(15,23,42,0.35)] backdrop-blur-xl dark:border-white/10 dark:bg-[#0b1120]/85":"border-b border-transparent bg-white/60 backdrop-blur-md dark:bg-[#0b1120]/50"}`,children:(0,r.jsxs)("div",{className:"container flex h-14 items-center gap-2",children:[(0,r.jsx)(I,{}),(0,r.jsx)(F,{}),(0,r.jsx)("nav",{className:"flex flex-1 items-center justify-end",children:(0,r.jsxs)("div",{className:"flex items-center gap-0.5 sm:gap-1",children:[(0,r.jsxs)("div",{className:"relative inline-block",children:[(0,r.jsx)(H.Button,{variant:"ghost",className:M,"aria-label":"Open shopping cart",onClick:()=>{o.push("/shopping-cart/")},children:(0,r.jsx)(et.LucideShoppingCart,{className:"h-5 w-5"})}),P(w?.items?.length??0,N)]}),(0,r.jsxs)("div",{className:"relative inline-block",children:[(0,r.jsx)(H.Button,{variant:"ghost",className:M,"aria-label":"Open live chat",onClick:async()=>{let{showIntercom:t}=await e.A(77715);t(j?.email,j?.id,j?.displayName)},children:(0,r.jsx)(ee.LucideMessageCircleQuestion,{className:"h-5 w-5"})}),P(d)]}),(0,r.jsx)(eo.default,{}),(0,r.jsxs)(K.DropdownMenu,{children:[(0,r.jsx)(K.DropdownMenuTrigger,{asChild:!0,children:(0,r.jsx)(H.Button,{variant:"ghost",size:"icon",className:M,"aria-label":"Select currency",children:(0,r.jsx)(W.LucideDollarSign,{className:"h-5 w-5"})})}),(0,r.jsx)(K.DropdownMenuContent,{align:"end",children:(0,r.jsx)(A.ScrollArea,{className:"h-96",children:s.SupportedCurrency.map(e=>(0,r.jsx)(K.DropdownMenuCheckboxItem,{disabled:p,onClick:()=>{f(e)},checked:x===e,children:`${(0,V.getCurrencySymbolWithFlag)(e)} ${e}`},e))})})]}),(0,r.jsx)(er.ModeToggle,{}),h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(H.Button,{variant:"ghost",className:M,"aria-label":"Redeem gift card",onClick:()=>o.push(ea.DashboardRoutes.MEMBERSHIP),children:(0,r.jsx)(Q.LucideGift,{className:"h-5 w-5"})}),(0,r.jsx)(H.Button,{variant:"ghost",className:M,"aria-label":"Open dashboard",onClick:()=>{o.push(ea.DashboardRoutes.DASHBOARD)},children:(0,r.jsx)(Z,{className:"h-5 w-5"})}),(0,r.jsx)(H.Button,{variant:"ghost",className:M,"aria-label":"Sign out",onClick:E,children:(0,r.jsx)(J.LucideLogOut,{className:"h-5 w-5"})})]}):(0,r.jsx)(a.Link,{href:"/sign-in/",className:"ml-1.5 inline-flex h-9 items-center rounded-full bg-[#2563eb] px-5 text-[13.5px] font-bold text-white shadow-[0_10px_22px_-10px_rgba(37,99,235,0.7)] transition-all duration-300 hover:-translate-y-[1px] hover:bg-[#1d4ed8] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2563eb] focus-visible:ring-offset-2 dark:focus-visible:ring-offset-[#0b1120]",children:t("sign_in")})]})})]})})}],180555)},42098,e=>{"use strict";var t=e.i(843476),r=e.i(605131),a=e.i(108164),n=e.i(331111),o=e.i(519455),s=e.i(975157),i=e.i(371741
1),l=e.i(271645),d=e.i(720565),c=e.i(948148);let u=()=>{let e=(0,c.useTranslations)("general"),[r,n]=(0,l.useState)(!1),s=(0,d.usePostHog)(),u=(0,i.useAppStore)(e=>e.cookieConsent),p=(0,i.useAppStore)(e=>e.setCookieConsent);return((0,l.useEffect)(()=>{let e=setTimeout(()=>{n(!0)},100);return()=>clearTimeout(e)},[]),(0,l.useEffect)(()=>{if("boolean"!=typeof u)return;let e=String(u),t=u?"yes":"no";window.localStorage.setItem("ai_consent",e),window.localStorage.setItem("cookie_consent",t),!0===u&&window?.consentListeners?.forEach(e=>{e()}),s&&s.set_config({persistence:u?"localStorage+cookie":"memory"})},[u,s]),r&&"boolean"!=typeof u)?(0,t.jsx)("div",{className:"fixed z-50 w-full bottom-2 min-h-[120px]",role:"region","aria-label":"Cookie consent",style:{contentVisibility:"auto",containIntrinsicSize:"0 200px"},children:(0,t.jsx)("div",{className:"container px-4 mx-auto",children:(0,t.jsx)("div",{className:"p-4 bg-background rounded-2xl border-2 border-blue-500 shadow-2xl",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center -mx-4",children:[(0,t.jsx)("div",{className:"w-full lg:w-8/12 px-4 mb-8 lg:mb-0",children:(0,t.jsxs)("div",{className:"flex items-start",children:[(0,t.jsx)(a.Icons.Cookie,{className:"block flex-shrink-0"}),(0,t.jsx)("div",{className:"ml-4 max-w-xl",children:(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:e("cookie_consent_description")})})]})}),(0,t.jsx)("div",{className:"w-full lg:w-4/12 px-2 text-right",children:(0,t.jsxs)("div",{className:"xs:flex items-center justify-end gap-2",children:[(0,t.jsx)(o.Button,{onClick:()=>{p(!0)},children:e("allow_label")}),(0,t.jsx)(o.Button,{onClick:()=>{p(!1)},variant:"outline",children:e("decline_label")})]})})]})})})}):null};var p=e.i(520133),h=e.i(647395),m=e.i(460579),x=e.i(657688);let f=()=>{let e=(0,c.useTranslations)("general"),a=function(e,{getInitialValueInEffect:t}={getInitialValueInEffect:!0}){let[r,a]=(0,l.useState)(t?void 0:!!("u">typeof window&&"matchMedia"in window)&&window.matchMedia(e).matches),n=(0,l.useRef)(null);return(0,l.useEffect)(()=>{if("matchMedia"in window){n.current=window.matchMedia(e),a(n.current.matches);var t=n.current,r=e=>a(e.matches);try{return t.addEventListener("change",r),()=>t.removeEventListener("change",r)}catch(e){return t.addListener(r),()=>t.removeListener(r)}}},[e]),r}("(min-width: 768px)"),n=(0,h.useOs)(),i=(0,p.usePathname)(),[d,u]=(0,l.useState)(!0);return"/"!==i||a||!d?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)("div",{className:"fixed bottom-0 left-0 right-0 min-h-[72px] bg-background p-1 z-40 shadow-lg border-t",children:[(0,t.jsxs)("div",{className:"flex flex-row items-center w-full",children:[(0,t.jsx)("div",{className:"w-2/8 ml-2",children:(0,t.jsx)(x.default,{src:"/logo.webp",alt:"Roamify logo",width:26,height:26,loading:"lazy"})}),(0,t.jsxs)("div",{className:"ml-4 w-4/8 flex flex-1 flex-col items-start",children:[(0,t.jsx)("h3",{className:"text-sm font-bold",children:r.AppName}),(0,t.jsx)("p",{className:"text-xs",children:e("download_app_description")}),(0,t.jsx)("p",{className:"text-xs font-semibold",children:e("free_label")})]}),(0,t.jsx)("div",{className:"w-2/8 flex flex-1 justify-end",children:(0,t.jsx)(p.Link,{href:"/download-app/","aria-label":e("download_label"),onClick:e=>{("ios"===n||"android"===n)&&(e.preventDefault(),window.open("ios"===n?r.AppleAppStoreLink:r.GooglePlayStoreLink,"_blank","noopener")),u(!1)},className:(0,s.cn)((0,o.buttonVariants)()),children:e("download_label")})})]}),(0,t.jsx)("button",{type:"button","aria-label":"Close app download banner",onClick:()=>u(!1),className:"absolute top-1 left-1",children:(0,t.jsx)(m.LucideXCircle,{className:"w-4 h-4"})})]})};e.i(247167);var g=e.i(861745);let b=[{id:"chatgpt",name:"ChatGPT",icon:({className:e})=>(0,t.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:e,fill:"
1currentColor",children:(0,t.jsx)("path",{d:"M22.282 9.821a6 6 0 0 0-.516-4.91a6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a6 6 0 0 0-3.998 2.9a6.05 6.05 0 0 0 .743 7.097a5.98 5.98 0 0 0 .51 4.911a6.05 6.05 0 0 0 6.515 2.9A6 6 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206a6 6 0 0 0 3.997-2.9a6.06 6.06 0 0 0-.747-7.073M13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081l4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085l4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354l-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667m2.01-3.023l-.141-.085l-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.8.8 0 0 0-.393.681zm1.097-2.365l2.602-1.5l2.607 1.5v2.999l-2.597 1.5l-2.607-1.5Z"})}),buildUrl:e=>`https://chatgpt.com/?hints=search&q=${encodeURIComponent(e)}`},{id:"claude",name:"Claude",icon:({className:e})=>(0,t.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:e,fill:"
1currentColor",children:(0,t.jsx)("path",{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.
10182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"})}),buildUrl:e=>`https://claude.ai/new?q=${encodeURIComponent(e)}`},{id:"gemini",name:"Gemini",icon:({className:e})=>(0,t.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:e,fill:"currentColor",children:(0,t.jsx)("path",{d:"M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81"})}),buildUrl:e=>`https://aistudio.google.com/app/prompts/new_chat?prompt=${encodeURIComponent(e)}`},{id:"perplexity",name:"Perplexity",icon:({className:e})=>(0,t.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:e,fill:"currentColor",children:(0,t.jsx)("path",{d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})}),buildUrl:e=>`https://www.perplexity.ai/search?q=${encodeURIComponent(e)}`},{id:"grok",name:"Grok",icon:({className:e})=>(0,t.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:e,fill:"
1currentColor",children:(0,t.jsx)("path",{d:"m4 4 7.2 8L4 20h3.8l5.3-5.9L16.2 20H20l-7.1-8L20 4h-3.8l-5.1 5.8L7.8 4z"})}),buildUrl:e=>`https://grok.com/?q=${encodeURIComponent(e)}`}],v=({pageLabel:e,pageUrl:r,className:a})=>{let n=(0,c.useTranslations)("shared.ai_summary"),o=(0,p.usePathname)(),i=(0,g.useLocale)(),{links:d}=(0,l.useMemo)(()=>{let t,a=o&&"/"!==o?o.endsWith("/")?o:`${o}/`:"/",n=r?.trim()||`https://www.getroamify.com/${i}${a}`,s=(t=e?.trim()||(o.includes("/help")?"help page":o.includes("/blog")?"blog page":o.includes("/esim/")?"product page":"homepage"),`Summarize this Roamify ${t}: ${n}. Include key points, pricing or limits, and the best next action for travelers.`);return{links:b.map(e=>({...e,href:e.buildUrl(s)}))}},[e,r,o,i]);return(0,t.jsxs)("section",{className:(0,s.cn)("mt-2 max-w-sm rounded-2xl border border-border/60 bg-muted/40 p-5 md:p-4 border bg-card/80 backdrop-blur-sm",a),"aria-label":"AI summary tools",children:[(0,t.jsx)("p",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-2",children:n("title")}),(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-3",children:d.map(e=>{let r=e.icon;return(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",title:e.name,"aria-label":`Summarize with ${e.name}`,className:"mx-2 inline-flex h-6 w-6 items-center justify-center rounded-full border border-border/70 bg-background/70 text-muted-foreground transition-colors hover:text-foreground hover:border-foreground
1/40",children:(0,t.jsx)(r,{className:"h-6 w-6"})},e.id)})})]})},w=({className:e})=>(0,t.jsx)("section",{className:(0,s.cn)("mt-2 max-w-sm rounded-2xl border border-border/60 bg-muted/40 p-5 md:p-4 border bg-card/80 backdrop-blur-sm",e),"aria-label":"AI summary tools",children:(0,t.jsx)("span",{className:"sr-only",children:"AI Summary"})}),j=e=>(0,t.jsx)(l.Suspense,{fallback:(0,t.jsx)(w,{className:e.className}),children:(0,t.jsx)(v,{...e})}),k=[{titleKey:"popular_countries",routes:r.FooterRoutesColumnOne},{titleKey:"more_info",routes:r.FooterRoutesColumnTwo},{titleKey:"about_roamify",routes:r.FooterRoutesColumnThree}];e.s(["default",0,()=>{let e=(0,c.useTranslations)("headers.app.footer"),i=(0,p.usePathname)();return i.includes("/sign-in/")||i.includes("/sign-up/")||i.includes("/reset-password/")||i.includes("/auth/action/")||i.includes("/calling")?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)("footer",{className:"bg-[#f4f7fb] pt-14 dark:bg-secondary md:pt-[72px]",children:[(0,t.jsxs)("div",{className:"container mx-auto px-4",children:[(0,t.jsx)(j,{pageLabel:"",className:"mb-10"}),(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-x-14 gap-y-12 border-b border-[#e2e8f2] pb-14 dark:border-white/10",children:[(0,t.jsxs)("div",{className:"flex max-w-[420px] flex-col gap-[18px]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)(a.Icons.Logo,{size:30}),(0,t.jsx)("span",{className:"text-xl font-extrabold tracking-tight text-[#0f172a] dark:text-white",children:r.AppName})]}),(0,t.jsxs)("h2",{className:"m-0 text-balance text-[26px] font-extrabold leading-[1.2] tracking-[-0.5px] text-[#0f172a] dark:text-white sm:text-[30px]",children:[e("have_question"),(0,t.jsx)("br",{}),e("let_talk")]}),(0,t.jsx)("p",{className:"m-0 text-[14.5px] leading-relaxed text-[#5b6b82] dark:text-neutral-400",children:e("support_description")}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-3",children:[(0,t.jsx)(p.Link,{href:"/contact/",className:(0,s.cn)((0,o.buttonVariants)(),"h-11 rounded-xl bg-blue-700 px-6 text-sm text-white shadow-lg shadow-blue-700/25 hover:bg-blue-800"),children:e("contact_label")}),(0,t.jsx)(p.Link,{href:"/help/",className:(0,s.cn)((0,o.buttonVariants)({variant:"outline"}),"h-11 rounded-xl border-[#dde5f0] bg-white px-6 text-sm text-[#0f172a] hover:border-blue-700 hover:text-blue-700 dark:border-white/10 dark:bg-white/[0.04] dark:text-white dark:hover:border-blue-400 dark:hover:text-blue-300"),children:e("help_center")})]}),(0,t.jsxs)("a",{href:r.AwardLink,target:"_blank",rel:"noopener nofollow",className:"mt-1 flex max-w-[360px] items-center gap-3.5 rounded-2xl border border-[#dde5f0] bg-white px-4 py-3.5 transition-colors hover:border-blue-700/40 dark:border-white/10 dark:bg-white/[0.04] dark:hover:border-blue-400/40",children:[(0,t.jsx)(x.default,{src:r.AwardBadgeImage,alt:e("award_badge_alt"),width:56,height:56,loading:"lazy",className:"h-14 w-14 shrink-0 object-contain"}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-[13.5px] font-bold leading-tight text-[#0f172a] dark:text-white",children:e("award_title")}),(0,t.jsx)("span",{className:"text-[12.5px] leading-snug text-[#5b6b82] dark:text-neutral-400",children:e("award_subtitle",{body:r.AwardBody})})]})]})]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-x-16 gap-y-10 lg:gap-x-[72px]",children:k.map(r=>(0,t.jsxs)("nav",{"aria-label":e(r.titleKey),className:"flex flex-col gap-3.5",children:[(0,t.jsx)("span",{className:"text-[12.5px] font-bold uppercase tracking-[0.08em] text-[#94a3b8] dark:text-neutral-500",children:e(r.titleKey)}),(0,t.jsx)("ul",{className:"flex flex-col gap-3.5",children:r.routes.map((r,a)=>(0,t.jsx)("li",{children:(0,t.jsx)(p.Link,{className:"text-sm font-medium text-[#3d4c63] transition-colors hover:text-blue-700 dark:text-neutral-300 dark:hover:text-blue-300",href:r.path,children:e(r.name)})},a))})]},r.titleKey))})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-4 py-7",children:[(0,t.jsxs)("span",{className:"text-[13px] text-[#8494ab] dark:text-neutral-500",children:["© ",new Date().getFullYear()," ",r.AppName,". ",e("rights_reserved")]}),(0,t.jsx)("nav",{"aria-label":e("follow_us_on"),children:(0,t.jsx)(n.default,{placement:"footer"})})]})]}
1),(0,t.jsx)("div",{"aria-hidden":!0,className:"overflow-hidden px-4",children:(0,t.jsx)("div",{className:"-mb-5 select-none bg-gradient-to-b from-[#c8d8f2] to-[#f4f7fb] bg-clip-text text-center text-[88px] font-extrabold leading-none tracking-[-3px] text-transparent dark:from-white/[0.12] dark:to-transparent md:-mb-[38px] md:text-[176px] md:tracking-[-6px]",children:r.AppName})}),(0,t.jsx)(u,{}),(0,t.jsx)(f,{})]})}],42098)}]);
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.