1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88747,e=>{"use strict";var t=e.i(1292),l=e.i(78928),n=e.i(52127),a="u">typeof document?t.useLayoutEffect:function(){};function i(e,t){let l,n,a;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((l=e.length)!==t.length)return!1;for(n=l;0!=n--;)if(!i(e[n],t[n]))return!1;return!0}if((l=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=l;0!=n--;)if(!({}).hasOwnProperty.call(t,a[n]))return!1;for(n=l;0!=n--;){let l=a[n];if(("_owner"!==l||!e.$$typeof)&&!i(e[l],t[l]))return!1}return!0}return e!=e&&t!=t}function s(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function o(e,t){let l=s(e);return Math.round(t*l)/l}function c(e){let l=t.useRef(e);return a(()=>{l.current=e}),l}var d=e.i(8196),u=e.i(95295),m=t.forwardRef((e,t)=>{let{children:l,width:n=10,height:a=5,...i}=e;return(0,u.jsx)(d.Primitive.svg,{...i,ref:t,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?l:(0,u.jsx)("polygon",{points:"0,0 30,0 15,10"})})});m.displayName="Arrow";var p=e.i(43644),f=e.i(67240),h=e.i(79603),x=e.i(91467),v=e.i(70724),g="Popper",[b,w]=(0,f.createContextScope)(g),[j,y]=b(g),N=e=>{let{__scopePopper:l,children:n}=e,[a,i]=t.useState(null),[s,o]=t.useState(void 0);return(0,u.jsx)(j,{scope:l,anchor:a,onAnchorChange:i,placementState:s,setPlacementState:o,children:n})};N.displayName=g;var C="PopperAnchor",S=t.forwardRef((e,l)=>{let{__scopePopper:n,virtualRef:a,...i}=e,s=y(C,n),o=t.useRef(null),c=s.onAnchorChange,m=t.useCallback(e=>{o.current=e,e&&c(e)},[c]),f=(0,p.useComposedRefs)(l,m),h=t.useRef(null);t.useEffect(()=>{if(!a)return;let e=h.current;h.current=a.current,e!==h.current&&c(h.current)});let x=s.placementState&&L(s.placementState),v=x?.[0],g=x?.[1];return a?null:(0,u.jsx)(d.Primitive.div,{"data-radix-popper-side":v,"data-radix-popper-align":g,...i,ref:f})});S.displayName=C;var P="PopperContent",[k,R]=b(P),A=t.forwardRef((e,m)=>{var f,g,b,w,j,N,C;let S,R,A,E,T,_,{__scopePopper:F,side:M="bottom",sideOffset:O=0,align:z="center",alignOffset:H=0,arrowPadding:V=0,avoidCollisions:U=!0,collisionBoundary:B=[],collisionPadding:W=0,sticky:Y="partial",hideWhenDetached:$=!1,updatePositionStrategy:G="optimized",onPlaced:q,...K}=e,Q=y(P,F),[X,Z]=t.useState(null),J=(0,p.useComposedRefs)(m,e=>Z(e)),[ee,et]=t.useState(null),er=(0,v.useSize)(ee),el=er?.width??0,en=er?.height??0,ea="number"==typeof W?W:{top:0,right:0,bottom:0,left:0,...W},ei=Array.isArray(B)?B:[B],es=ei.length>0,eo={padding:ea,boundary:ei.filter(I),altBoundary:es},{refs:ec,floatingStyles:ed,placement:eu,isPositioned:em,middlewareData:ep}=function(e){void 0===e&&(e={});let{placement:d="bottom",strategy:u="absolute",middleware:m=[],platform:p,elements:{reference:f,floating:h}={},transform:x=!0,whileElementsMounted:v,open:g}=e,[b,w]=t.useState({x:0,y:0,strategy:u,placement:d,middlewareData:{},isPositioned:!1}),[j,y]=t.useState(m);i(j,m)||y(m);let[N,C]=t.useState(null),[S,P]=t.useState(null),k=t.useCallback(e=>{e!==T.current&&(T.current=e,C(e))},[]),R=t.useCallback(e=>{e!==_.current&&(_.current=e,P(e))},[]),A=f||N,E=h||S,T=t.useRef(null),_=t.useRef(null),I=t.useRef(b),D=null!=v,L=c(v),F=c(p),M=c(g),O=t.useCallback(()=>{if(!T.current||!_.current)return;let e={placement:d,strategy:u,middleware:j};F.current&&(e.platform=F.current),(0,l.computePosition)(T.current,_.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};z.current&&!i(I.current,t)&&(I.current=t,n.flushSync(()=>{w(t)}))})},[j,d,u,F,M]);a(()=>{!1===g&&I.current.isPositioned&&(I.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[g]);let z=t.useRef(!1);a(()=>(z.current=!0,()=>{z.current=!1}),[]),a(()=>{if(A&&(T.current=A),E&&(_.current=E),A&&E){if(L.current)return L.current(A,E,O);O()}},[A,E,O,L,D]);let H=t.useMemo(()=>({reference:T,floating:_,setReference:k,setFloating:R}),[k,R]),V=t.useMemo(()=>({reference:A,floating:E}),[A,E]),U=t.useMemo(()=>{let e={position:u,left:0,top:0};if(!V.floating)return e;let t=o(V.floating,b.x),l=o(V.floating,b.y);return x?{...e,transform:"translate("+t+"px, "+l+"px)",...s(V.floating)>=1.5&&{willChange:"transform"}}:{position:u,left:t,top:l}},[u,x,V.floating,b.x,b.y]);return t.useMemo(()=>({...b,update:O,refs:H,elements:V,floatingStyles:U}),[b,O,H,V,U])}({strategy:"fixed",placement:M+("center"!==z?"-"+z:""),whileElementsMounted:(...e)=>(0,l.autoUpdate)(...e,{animationFrame:"always"===G}),elements:{reference:Q.anchor},middleware:[(f={mainAxis:O+en,alignmentAxis:H},{name:(S=(0,l.offset)(f)).name,fn:S.fn,options:[f,void 0]}),U&&(g={mainAxis:!0,crossAxis:!1,limiter:"partial"===Y?{fn:(0,l.limitShift)(void 0).fn,options:[void 0,void 0]}:void 0,...eo},{name:(R=(0,l.shift)(g)).name,fn:R.fn,options:[g,void 0]}),U&&(b={...eo},{name:(A=(0,l.flip)(b)).name,fn:A.fn,options:[b,void 0]}),(w={...eo,apply:({elements:e,rects:t,availableWidth:l,availableHeight:n})=>{let{width:a,height:i}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${l}px`),s.setProperty("--radix-popper-available-height",`${n}px`),s.setProperty("--radix-popper-anchor-width",`${a}px`),s.setProperty("--radix-popper-anchor-height",`${i}px`)}},{name:(E=(0,l.size)(w)).name,fn:E.fn,options:[w,void 0]}),ee&&{name:(T={name:"arrow",options:N=j={element:ee,padding:V},fn(e){let{element:t,padding:n}="function"==typeof N?N(e):N;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?(0,l.arrow)({element:t.current,padding:n}).fn(e):{}:t?(0,l.arrow)({element:t,padding:n}).fn(e):{}}}).name,fn:T.fn,options:[j,void 0]},D({arrowWidth:el,arrowHeight:en}),$&&(C={strategy:"referenceHidden",...eo,boundary:es?eo.boundary:void 0},{name:(_=(0,l.hide)(C)).name,fn:_.fn,options:[C,void 0]})]}),ef=Q.setPlacementState;(0,x.useLayoutEffect)(()=>(ef(eu),()=>{ef(void 0)}),[eu,ef]);let[eh,ex]=L(eu),ev=(0,h.useCallbackRef)(q);(0,x.useLayoutEffect)(()=>{em&&ev?.()},[em,ev]);let eg=ep.arrow?.x,eb=ep.arrow?.y,ew=ep.arrow?.centerOffset!==0,[ej,ey]=t.useState();return(0,x.useLayoutEffect)(()=>{X&&ey(window.getComputedStyle(X).zIndex)},[X]),(0,u.jsx)("div",{ref:ec.setFloating,"data-radix-popper-content-wrapper":"",style:{...ed,transform:em?ed.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ej,"--radix-popper-transform-origin":[ep.transformOrigin?.x,ep.transformOrigin?.y].join(" "),...ep.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,u.jsx)(k,{scope:F,placedSide:eh,placedAlign:ex,onArrowChange:et,arrowX:eg,arrowY:eb,shouldHideArrow:ew,children:(0,u.jsx)(d.Primitive.div,{"data-side":eh,"data-align":ex,...K,ref:J,style:{...K.style,animation:em?void 0:"none"}})})})});A.displayName=P;var E="PopperArrow",T={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},_=t.forwardRef(function(e,t){let{__scopePopper:l,...n}=e,a=R(E,l),i=T[a.placedSide];return(0,u.jsx)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:(0,u.jsx)(m,{...n,ref:t,style:{...n.style,display:"block"}})})});function I(e){return null!==e}_.displayName=E;var D=e=>({name:"transformOrigin",options:e,fn(t){let{placement:l,rects:n,middlewareData:a}=t,i=a.arrow?.centerOffset!==0,s=i?0:e.arrowWidth,o=i?0:e.arrowHeight,[c,d]=L(l),u={start:"0%",center:"50%",end:"100%"}[d],m=(a.arrow?.x??0)+s/2,p=(a.arrow?.y??0)+o/2,f="",h="";return"bottom"===c?(f=i?u:`${m}px`,h=`${-o}px`):"top"===c?(f=i?u:`${m}px`,h=`${n.floating.height+o}px`):"right"===c?(f=`${-o}px`,h=i?u:`${p}px`):"left"===c&&(f=`${n.floating.width+o}px`,h=i?u:`${p}px`),{data:{x:f,y:h}}}});function L(e){let[t,l="center"]=e.split("-");return[t,l]}e.s(["Anchor",0,S,"Arrow",0,_,"Content",0,A,"Root",0,N,"createPopperScope",0,w],88747)},3512,e=>{"use strict";e.s(["clamp",0,function(e,[t,l]){return Math.min(l,Math.max(t,e))}])},71120,e=>{"use strict";var t=e.i(95295),l=e.i(1292),n=e.i(52127),a=e.i(3512),i=e.i(15201),s=e.i(15919),o=e.i(43644),c=e.i(67240),d=e.i(97229),u=e.i(92185),m=e.i(82657),p=e.i(82325),f=e.i(68048),h=e.i(88747),x=e.i(90849),v=e.i(94458),g=e.i(8196),b=e.i(88164),w=e.i(79603),j=e.i(59451),y=e.i(91467),N=e.i(15084),C=e.i(72940),S=e.i(73772),P=e.i(13579),k=[" ","Enter","ArrowUp","ArrowDown"],R=[" ","Enter"],A="Select",[E,T,_]=(0,s.createCollection)(A),[I,D]=(0,c.createContextScope)(A,[_,h.createPopperScope]),L=(0,h.createPopperScope)(),[F,M]=I(A),[O,z]=I(A);function H(e){let{__scopeSelect:n,children:a,open:i,defaultOpen:s,onOpenChange:o,value:c,defaultValue:u,onValueChange:m,dir:p,name:x,autoComplete:v,disabled:g,required:b,form:w,internal_do_not_use_render:y}=e,N=L(n),[C,S]=l.useState(null),[P,k]=l.useState(null),[R,T]=l.useState(!1),_=(0,d.useDirection)(p),[I,D]=(0,j.useControllableState)({prop:i,defaultProp:s??!1,onChange:o,caller:A}),[M,z]=(0,j.useControllableState)({prop:c,defaultProp:u,onChange:m,caller:A}),H=l.useRef(null),V=!C||!!w||!!C.closest("form"),[U,B]=l.useState(new Set),W=(0,f.useId)(),Y=Array.from(U).map(e=>e.props.value).join(";"),$=l.useCallback(e=>{B(t=>new Set(t).add(e))},[]),G=l.useCallback(e=>{B(t=>{let l=new Set(t);return l.delete(e),l})},[]),q={required:b,trigger:C,onTriggerChange:S,valueNode:P,onValueNodeChange:k,valueNodeHasChildren:R,onValueNodeHasChildrenChange:T,contentId:W,value:M,onValueChange:z,open:I,onOpenChange:D,dir:_,triggerPointerDownPosRef:H,disabled:g,name:x,autoComplete:v,form:w,nativeOptions:U,nativeSelectKey:Y,isFormControl:V};return(0,t.jsx)(h.Root,{...N,children:(0,t.jsx)(F,{scope:n,...q,children:(0,t.jsx)(E.Provider,{scope:n,children:(0,t.jsx)(O,{scope:n,onNativeOptionAdd:$,onNativeOptionRemove:G,children:"function"==typeof y?y(q):a})})})})}H.displayName="SelectProvider";var V=e=>{let{__scopeSelect:l,children:n,...a}=e;return(0,t.jsx)(H,{__scopeSelect:l,...a,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[n,e?(0,t.jsx)(eE,{__scopeSelect:l}):null]})})};V.displayName=A;var U="SelectTrigger",B=l.forwardRef((e,n)=>{let{__scopeSelect:a,disabled:s=!1,...c}=e,d=L(a),u=M(U,a),m=u.disabled||s,p=(0,o.useComposedRefs)(n,u.onTriggerChange),f=T(a),x=l.useRef("touch"),[v,b,w]=e_(e=>{let t=f().filter(e=>!e.disabled),l=t.find(e=>e.value===u.value),n=eI(t,e,l);void 0!==n&&u.onValueChange(n.value)}),j=e=>{m||(u.onOpenChange(!0),w()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,t.jsx)(h.Anchor,{asChild:!0,...d,children:(0,t.jsx)(g.Primitive.button,{type:"button",role:"combobox","aria-controls":u.open?u.contentId:void 0,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:m,"data-disabled":m?"":void 0,"data-placeholder":eT(u.value)?"":void 0,...c,ref:p,onClick:(0,i.composeEventHandlers)(c.onClick,e=>
1{e.currentTarget.focus(),"mouse"!==x.current&&j(e)}),onPointerDown:(0,i.composeEventHandlers)(c.onPointerDown,e=>{x.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(j(e),e.preventDefault())}),onKeyDown:(0,i.composeEventHandlers)(c.onKeyDown,e=>{let t=""!==v.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||b(e.key),(!t||" "!==e.key)&&k.includes(e.key)&&(j(),e.preventDefault())})})})});B.displayName=U;var W="SelectValue",Y=l.forwardRef((e,n)=>{let{__scopeSelect:a,className:i,style:s,children:c,placeholder:d="",...u}=e,m=M(W,a),{onValueNodeHasChildrenChange:p}=m,f=void 0!==c,h=(0,o.useComposedRefs)(n,m.onValueNodeChange);(0,y.useLayoutEffect)(()=>{p(f)},[p,f]);let x=eT(m.value);return(0,t.jsx)(g.Primitive.span,{...u,asChild:!x&&u.asChild,ref:h,style:{pointerEvents:"none"},children:(0,t.jsx)(l.Fragment,{children:x?d:c},x?"placeholder":"value")})});Y.displayName=W;var $=l.forwardRef((e,l)=>{let{__scopeSelect:n,children:a,...i}=e;return(0,t.jsx)(g.Primitive.span,{"aria-hidden":!0,...i,ref:l,children:a||"â¼"})});$.displayName="SelectIcon";var G="SelectPortal",[q,K]=I(G,{forceMount:void 0}),Q=e=>{let{__scopeSelect:l,forceMount:n,...a}=e;return(0,t.jsx)(q,{scope:e.__scopeSelect,forceMount:n,children:(0,t.jsx)(x.Portal,{asChild:!0,...a})})};Q.displayName=G;var X="SelectContent",Z=l.forwardRef((e,n)=>{let a=K(X,e.__scopeSelect),{forceMount:i=a.forceMount,...s}=e,o=M(X,e.__scopeSelect),[c,d]=l.useState();return(0,y.useLayoutEffect)(()=>{d(new DocumentFragment)},[]),(0,t.jsx)(v.Presence,{present:i||o.open,children:({present:e})=>e?(0,t.jsx)(el,{...s,ref:n}):(0,t.jsx)(J,{...s,fragment:c})})});Z.displayName=X;var J=l.forwardRef((e,l)=>{let{__scopeSelect:a,children:i,fragment:s}=e;return s?n.createPortal((0,t.jsx)(ee,{scope:a,children:(0,t.jsx)(E.Slot,{scope:a,children:(0,t.jsx)("div",{ref:l,children:i})})}),s):null});J.displayName="SelectContentFragment";var[ee,et]=I(X),er=(0,b.createSlot)("SelectContent.RemoveScroll"),el=l.forwardRef((e,n)=>{let{__scopeSelect:a}=e,{position:s="item-aligned",onCloseAutoFocus:c,onEscapeKeyDown:d,onPointerDownOutside:f,side:h,sideOffset:x,align:v,alignOffset:g,arrowPadding:b,collisionBoundary:w,collisionPadding:j,sticky:y,hideWhenDetached:N,avoidCollisions:C,...k}=e,R=M(X,a),[A,E]=l.useState(null),[_,I]=l.useState(null),D=(0,o.useComposedRefs)(n,e=>E(e)),[L,F]=l.useState(null),[O,z]=l.useState(null),H=T(a),[V,U]=l.useState(!1),B=l.useRef(!1);l.useEffect(()=>{if(A)return(0,S.hideOthers)(A)},[A]),(0,m.useFocusGuards)();let W=l.useCallback(e=>{let[t,...l]=H().map(e=>e.ref.current),[n]=l.slice(-1),a=document.activeElement;for(let l of e)if(l===a||(l?.scrollIntoView({block:"nearest"}),l===t&&_&&(_.scrollTop=0),l===n&&_&&(_.scrollTop=_.scrollHeight),l?.focus(),document.activeElement!==a))return},[H,_]),Y=l.useCallback(()=>W([L,A]),[W,L,A]);l.useEffect(()=>{V&&Y()},[V,Y]);let{onOpenChange:$,triggerPointerDownPosRef:G}=R;l.useEffect(()=>{if(A){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(G.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(G.current?.y??0))}},l=l=>{e.x<=10&&e.y<=10?l.preventDefault():l.composedPath().includes(A)||$(!1),document.removeEventListener("pointermove",t),G.current=null};return null!==G.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",l,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",l,{capture:!0})}}},[A,$,G]),l.useEffect(()=>{let e=()=>$(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[$]);let[q,K]=e_(e=>{let t=H().filter(e=>!e.disabled),l=t.find(e=>e.ref.current===document.activeElement),n=eI(t,e,l);n&&setTimeout(()=>n.ref.current?.focus())}),Q=l.useCallback((e,t,l)=>{let n=!B.current&&!l;(void 0!==R.value&&R.value===t||n)&&(F(e),n&&(B.current=!0))},[R.value]),Z=l.useCallback(()=>A?.focus(),[A]),J=l.useCallback((e,t,l)=>{let n=!B.current&&!l;(void 0!==R.value&&R.value===t||n)&&z(e)},[R.value]),et="popper"===s?ea:en,el=et===ea?{side:h,sideOffset:x,align:v,alignOffset:g,arrowPadding:b,collisionBoundary:w,collisionPadding:j,sticky:y,hideWhenDetached:N,avoidCollisions:C}:{};return(0,t.jsx)(ee,{scope:a,content:A,viewport:_,onViewportChange:I,itemRefCallback:Q,selectedItem:L,onItemLeave:Z,itemTextRefCallback:J,focusSelectedItem:Y,selectedItemText:O,position:s,isPositioned:V,searchRef:q,children:(0,t.jsx)(P.RemoveScroll,{as:er,allowPinchZoom:!0,children:(0,t.jsx)(p.FocusScope,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.composeEventHandlers)(c,e=>{R.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,t.jsx)(u.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,t.jsx)(et,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...k,...el,onPlaced:()=>U(!0),ref:D,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:(0,i.composeEventHandlers)(k.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||K(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=H().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let l=e.target,n=t.indexOf(l);t=t.slice(n+1)}setTimeout(()=>W(t)),e.preventDefault()}})})})})})})});el.displayName="SelectContentImpl";var en=l.forwardRef((e,n)=>{let{__scopeSelect:i,onPlaced:s,...c}=e,d=M(X,i),u=et(X,i),[m,p]=l.useState(null),[f,h]=l.useState(null),x=(0,o.useComposedRefs)(n,e=>h(e)),v=T(i),b=l.useRef(!1),w=l.useRef(!0),{viewport:j,selectedItem:N,selectedItemText:C,focusSelectedItem:S}=u,P=l.useCallback(()=>{if(d.trigger&&d.valueNode&&m&&f&&j&&N&&C){let e=d.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),l=d.valueNode.getBoundingClientRect(),n=C.getBoundingClientRect();if("rtl"!==d.dir){let i=n.left-t.left,s=l.left-i,o=e.left-s,c=e.width+o,d=Math.max(c,t.width),u=window.innerWidth-10,p=(0,a.clamp)(s,[10,Math.max(10,u-d)]);m.style.minWidth=c+"px",m.style.left=p+"px"}else{let i=t.right-n.right,s=window.innerWidth-l.right-i,o=window.innerWidth-e.right-s,c=e.width+o,d=Math.max(c,t.width),u=window.innerWidth-10,p=(0,a.clamp)(s,[10,Math.max(10,u-d)]);m.style.minWidth=c+"px",m.style.right=p+"px"}let i=v(),o=window.innerHeight-20,c=j.scrollHeight,u=window.getComputedStyle(f),p=parseInt(u.borderTopWidth,10),h=parseInt(u.paddingTop,10),x=parseInt(u.borderBottomWidth,10),g=p+h+c+parseInt(u.paddingBottom,10)+x,w=Math.min(5*N.offsetHeight,g),y=window.getComputedStyle(j),S=parseInt(y.paddingTop,10),P=parseInt(y.paddingBottom,10),k=e.top+e.height/2-10,R=N.offsetHeight/2,A=p+h+(N.offsetTop+R);if(A<=k){let e=i.length>0&&N===i[i.length-1].ref.current;m.style.bottom="0px";let t=Math.max(o-k,R+(e?P:0)+(f.clientHeight-j.offsetTop-j.offsetHeight)+x);m.style.height=A+t+"px"}else{let e=i.length>0&&N===i[0].ref.current;m.style.top="0px";let t=Math.max(k,p+j.offsetTop+(e?S:0)+R);m.style.height=t+(g-A)+"px",j.scrollTop=A-k+j.offsetTop}m.style.margin="10px 0",m.style.minHeight=w+"px",m.style.maxHeight=o+"px",s?.(),requestAnimationFrame(()=>b.current=!0)}},[v,d.trigger,d.valueNode,m,f,j,N,C,d.dir,s]);(0,y.useLayoutEffect)(()=>P(),[P]);let[k,R]=l.useState();(0,y.useLayoutEffect)(()=>{f&&R(window.getComputedStyle(f).zIndex)},[f]);let A=l.useCallback(e=>{e&&!0===w.current&&(P(),S?.(),w.current=!1)},[P,S]);return(0,t.jsx)(ei,{scope:i,contentWrapper:m,shouldExpandOnScrollRef:b,onScrollButtonChange:A,children:(0,t.jsx)("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:(0,t.jsx)(g.Primitive.div,{...c,ref:x,style:{boxSizing:"border-box",maxHeight:"100%",...c.style}})})})});en.displayName="SelectItemAlignedPosition";var ea=l.forwardRef((e,l)=>{let{__scopeSelect:n,align:a="start",collisionPadding:i=10,...s}=e,o=L(n);return(0,t.jsx)(h.Content,{...o,...s,ref:l,align:a,collisionPadding:i,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});ea.displayName="SelectPopperPosition";var[ei,es]=I(X,{}),eo="SelectViewport",ec=l.forwardRef((e,n)=>{let{__scopeSelect:a,nonce:s,...c}=e,d=et(eo,a),u=es(eo,a),m=(0,o.useComposedRefs)(n,d.onViewportChange),p=l.useRef(0);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),(0,t.jsx)(E.Slot,{scope:a,children:(0,t.jsx)(g.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...c,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...c.style},onScroll:(0,i.composeEventHandlers)(c.onScroll,e=>{let t=e.currentTarget,{contentWrapper:l,shouldExpandOnScrollRef:n}=u;if(n?.current&&l){let e=Math.abs(p.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,a=Math.max(parseFloat(l.style.minHeight),parseFloat(l.style.height));if(a<n){let i=a+e,s=Math.min(n,i),o=i-s;l.style.height=s+"px","0px"===l.style.bottom&&(t.scrollTop=o>0?o:0,l.style.justifyContent="flex-end")}}}p.current=t.scrollTop})})})]})});ec.displayName=eo;var ed="SelectGroup",[eu,em]=I(ed);l.forwardRef((e,l)=>{let{__scopeSelect:n,...a}=e,i=(0,f.useId)();return(0,t.jsx)(eu,{scope:n,id:i,children:(0,t.jsx)(g.Primitive.div,{role:"group","aria-labelledby":i,...a,ref:l})})}).displayName=ed;var ep="SelectLabel",ef=l.forwardRef((e,l)=>{let{__scopeSelect:n,...a}=e,i=em(ep,n);return(0,t.jsx)(g.Primitive.div,{id:i.id,...a,ref:l})});
1ef.displayName=ep;var eh="SelectItem",[ex,ev]=I(eh),eg=l.forwardRef((e,n)=>{let{__scopeSelect:a,value:s,disabled:c=!1,textValue:d,...u}=e,m=M(eh,a),p=et(eh,a),h=m.value===s,[x,v]=l.useState(d??""),[b,w]=l.useState(!1),j=(0,o.useComposedRefs)(n,e=>p.itemRefCallback?.(e,s,c)),y=(0,f.useId)(),N=l.useRef("touch"),C=()=>{c||(m.onValueChange(s),m.onOpenChange(!1))};return(0,t.jsx)(ex,{scope:a,value:s,disabled:c,textId:y,isSelected:h,onItemTextChange:l.useCallback(e=>{v(t=>t||(e?.textContent??"").trim())},[]),children:(0,t.jsx)(E.ItemSlot,{scope:a,value:s,disabled:c,textValue:x,children:(0,t.jsx)(g.Primitive.div,{role:"option","aria-labelledby":y,"data-highlighted":b?"":void 0,"aria-selected":h&&b,"data-state":h?"checked":"unchecked","aria-disabled":c||void 0,"data-disabled":c?"":void 0,tabIndex:c?void 0:-1,...u,ref:j,onFocus:(0,i.composeEventHandlers)(u.onFocus,()=>w(!0)),onBlur:(0,i.composeEventHandlers)(u.onBlur,()=>w(!1)),onClick:(0,i.composeEventHandlers)(u.onClick,()=>{"mouse"!==N.current&&C()}),onPointerUp:(0,i.composeEventHandlers)(u.onPointerUp,()=>{"mouse"===N.current&&C()}),onPointerDown:(0,i.composeEventHandlers)(u.onPointerDown,e=>{N.current=e.pointerType}),onPointerMove:(0,i.composeEventHandlers)(u.onPointerMove,e=>{N.current=e.pointerType,c?p.onItemLeave?.():"mouse"===N.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,i.composeEventHandlers)(u.onPointerLeave,e=>{e.currentTarget===document.activeElement&&p.onItemLeave?.()}),onKeyDown:(0,i.composeEventHandlers)(u.onKeyDown,e=>{(p.searchRef?.current===""||" "!==e.key)&&(R.includes(e.key)&&C()," "===e.key&&e.preventDefault())})})})})});eg.displayName=eh;var eb="SelectItemText",ew=l.forwardRef((e,a)=>{let{__scopeSelect:i,className:s,style:c,...d}=e,u=M(eb,i),m=et(eb,i),p=ev(eb,i),f=z(eb,i),[h,x]=l.useState(null),v=(0,o.useComposedRefs)(a,e=>x(e),p.onItemTextChange,e=>m.itemTextRefCallback?.(e,p.value,p.disabled)),b=h?.textContent,w=l.useMemo(()=>(0,t.jsx)("option",{value:p.value,disabled:p.disabled,children:b},p.value),[p.disabled,p.value,b]),{onNativeOptionAdd:j,onNativeOptionRemove:N}=f;return(0,y.useLayoutEffect)(()=>(j(w),()=>N(w)),[j,N,w]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.Primitive.span,{id:p.textId,...d,ref:v}),p.isSelected&&u.valueNode&&!u.valueNodeHasChildren&&!eT(u.value)?n.createPortal(d.children,u.valueNode):null]})});ew.displayName=eb;var ej="SelectItemIndicator";l.forwardRef((e,l)=>{let{__scopeSelect:n,...a}=e;return ev(ej,n).isSelected?(0,t.jsx)(g.Primitive.span,{"aria-hidden":!0,...a,ref:l}):null}).displayName=ej;var ey="SelectScrollUpButton",eN=l.forwardRef((e,n)=>{let a=et(ey,e.__scopeSelect),i=es(ey,e.__scopeSelect),[s,c]=l.useState(!1),d=(0,o.useComposedRefs)(n,i.onScrollButtonChange);return(0,y.useLayoutEffect)(()=>{if(a.viewport&&a.isPositioned){let e=function(){c(t.scrollTop>0)},t=a.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[a.viewport,a.isPositioned]),s?(0,t.jsx)(eP,{...e,ref:d,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=a;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});eN.displayName=ey;var eC="SelectScrollDownButton",eS=l.forwardRef((e,n)=>{let a=et(eC,e.__scopeSelect),i=es(eC,e.__scopeSelect),[s,c]=l.useState(!1),d=(0,o.useComposedRefs)(n,i.onScrollButtonChange);return(0,y.useLayoutEffect)(()=>{if(a.viewport&&a.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;c(Math.ceil(t.scrollTop)<e)},t=a.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[a.viewport,a.isPositioned]),s?(0,t.jsx)(eP,{...e,ref:d,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=a;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});eS.displayName=eC;var eP=l.forwardRef((e,n)=>{let{__scopeSelect:a,onAutoScroll:s,...o}=e,c=et("SelectScrollButton",a),d=l.useRef(null),u=T(a),m=l.useCallback(()=>{null!==d.current&&(window.clearInterval(d.current),d.current=null)},[]);return l.useEffect(()=>()=>m(),[m]),(0,y.useLayoutEffect)(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,t.jsx)(g.Primitive.div,{"aria-hidden":!0,...o,ref:n,style:{flexShrink:0,...o.style},onPointerDown:(0,i.composeEventHandlers)(o.onPointerDown,()=>{null===d.current&&(d.current=window.setInterval(s,50))}),onPointerMove:(0,i.composeEventHandlers)(o.onPointerMove,()=>{c.onItemLeave?.(),null===d.current&&(d.current=window.setInterval(s,50))}),onPointerLeave:(0,i.composeEventHandlers)(o.onPointerLeave,()=>{m()})})}),ek=l.forwardRef((e,l)=>{let{__scopeSelect:n,...a}=e;return(0,t.jsx)(g.Primitive.div,{"aria-hidden":!0,...a,ref:l})});ek.displayName="SelectSeparator";var eR="SelectArrow";l.forwardRef((e,l)=>{let{__scopeSelect:n,...a}=e,i=L(n);return"popper"===et(eR,n).position?(0,t.jsx)(h.Arrow,{...i,...a,ref:l}):null}).displayName=eR;var eA="SelectBubbleInput",eE=l.forwardRef(({__scopeSelect:e,...n},a)=>{let i=M(eA,e),{value:s,onValueChange:c,required:d,disabled:u,name:m,autoComplete:p,form:f}=i,{nativeOptions:h,nativeSelectKey:x}=i,v=l.useRef(null),b=(0,o.useComposedRefs)(a,v),w=s??"",j=(0,N.usePrevious)(w),y=Array.from(h).some(e=>(e.props.value??"")==="");return l.useEffect(()=>{let e=v.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(j!==w&&t){let l=new Event("change",{bubbles:!0});t.call(e,w),e.dispatchEvent(l)}},[j,w]),(0,t.jsxs)(g.Primitive.select,{"aria-hidden":!0,required:d,tabIndex:-1,name:m,autoComplete:p,disabled:u,form:f,onChange:e=>c(e.target.value),...n,style:{...C.VISUALLY_HIDDEN_STYLES,...n.style},ref:b,defaultValue:w,children:[eT(s)&&!y?(0,t.jsx)("option",{value:""}):null,Array.from(h)]},x)});function eT(e){return""===e||void 0===e}function e_(e){let t=(0,w.useCallbackRef)(e),n=l.useRef(""),a=l.useRef(0),i=l.useCallback(e=>{let l=n.current+e;t(l),function e(t){n.current=t,window.clearTimeout(a.current),""!==t&&(
1a.current=window.setTimeout(()=>e(""),1e3))}(l)},[t]),s=l.useCallback(()=>{n.current="",window.clearTimeout(a.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(a.current),[]),[n,i,s]}function eI(e,t,l){var n,a;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,s=l?e.indexOf(l):-1,o=(n=e,a=Math.max(s,0),n.map((e,t)=>n[(a+t)%n.length]));1===i.length&&(o=o.filter(e=>e!==l));let c=o.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return c!==l?c:void 0}eE.displayName=eA;var eD=e.i(37017);let eL=(0,e.i(9784).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var eF=e.i(75430);let eM=l.forwardRef(({className:e,children:l,...n},a)=>(0,t.jsxs)(B,{ref:a,className:(0,eF.cn)("border-input ring-offset-background data-[placeholder]:text-muted-foreground focus:ring-ring flex h-12 w-full items-center justify-between rounded-full border bg-white p-4 text-sm font-semibold whitespace-nowrap focus:ring-1 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[l,(0,t.jsx)($,{asChild:!0,children:(0,t.jsx)(eD.ChevronDown,{className:"text-primary-600 size-4"})})]}));eM.displayName=B.displayName;let eO=l.forwardRef(({className:e,...l},n)=>(0,t.jsx)(eN,{ref:n,className:(0,eF.cn)("flex cursor-default items-center justify-center py-1",e),...l,children:(0,t.jsx)(eL,{className:"h-4 w-4"})}));eO.displayName=eN.displayName;let ez=l.forwardRef(({className:e,...l},n)=>(0,t.jsx)(eS,{ref:n,className:(0,eF.cn)("flex cursor-default items-center justify-center py-1",e),...l,children:(0,t.jsx)(eD.ChevronDown,{className:"h-4 w-4"})}));ez.displayName=eS.displayName;let eH=l.forwardRef(({className:e,children:l,position:n="popper",...a},i)=>(0,t.jsx)(Q,{children:(0,t.jsxs)(Z,{ref:i,className:(0,eF.cn)("bg-popover text-popover-foreground 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 relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] origin-[--radix-select-content-transform-origin] overflow-x-hidden overflow-y-auto rounded-3xl border","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...a,children:[(0,t.jsx)(eO,{}),(0,t.jsx)(ec,{className:(0,eF.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:l}),(0,t.jsx)(ez,{})]})}));eH.displayName=Z.displayName,l.forwardRef(({className:e,...l},n)=>(0,t.jsx)(ef,{ref:n,className:(0,eF.cn)("px-2 py-1.5 text-sm font-semibold",e),...l})).displayName=ef.displayName;let eV=l.forwardRef(({className:e,children:l,...n},a)=>(0,t.jsxs)(eg,{ref:a,className:(0,eF.cn)("focus:text-primary-700 relative flex w-full cursor-default items-center rounded-sm py-2 pr-8 pl-4 text-sm font-medium outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[(0,t.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"}),(0,t.jsx)(ew,{children:l})]}));eV.displayName=eg.displayName,l.forwardRef(({className:e,...l},n)=>(0,t.jsx)(ek,{ref:n,className:(0,eF.cn)("bg-muted -mx-1 my-1 h-px",e),...l})).displayName=ek.displayName,e.s(["Select",0,V,"SelectContent",0,eH,"SelectItem",0,eV,"SelectTrigger",0,eM,"SelectValue",0,Y],71120)},77902,69806,71865,17934,42414,1811,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(37017),a=e.i(31783),i=e.i(76295),s=e.i(1292);function o(e,t,l){try{return e(t)}catch(e){return(0,i.l)("[nuqs] Error while parsing value `%s`: %O"+(l?" (for key `%s`)":""),t,e,l),null}}function c(e){function t(t){if(void 0===t)return null;let l="";if(Array.isArray(t)){if(void 0===t[0])return null;l=t[0]}return"string"==typeof t&&(l=t),o(e.parse,l)}return{type:"single",eq:(e,t)=>e===t,...e,parseServerSide:t,withDefault(e){return{...this,defaultValue:e,parseServerSide:l=>t(l)??e}},withOptions(e){return{...this,...e}}}}let d=c({parse:e=>e,serialize:String}),u=c({parse:e=>{let t=parseInt(e);return t==t?t:null}
1,serialize:e=>""+Math.round(e)});function m(e,t){return e.valueOf()===t.valueOf()}function p(e){return"string"==typeof e||e instanceof URLSearchParams||e instanceof URL}c({parse:e=>{let t=parseInt(e);return t==t?t-1:null},serialize:e=>""+Math.round(e+1)}),c({parse:e=>{let t=parseInt(e,16);return t==t?t:null},serialize:e=>{let t=Math.round(e).toString(16);return(1&t.length?"0":"")+t}}),c({parse:e=>{let t=parseFloat(e);return t==t?t:null},serialize:String}),c({parse:e=>"true"===e.toLowerCase(),serialize:String}),c({parse:e=>{let t=parseInt(e);return t==t?new Date(t):null},serialize:e=>""+e.valueOf(),eq:m}),c({parse:e=>{let t=new Date(e);return t.valueOf()==t.valueOf()?t:null},serialize:e=>e.toISOString(),eq:m}),c({parse:e=>{let t=new Date(e.slice(0,10));return t.valueOf()==t.valueOf()?t:null},serialize:e=>e.toISOString().slice(0,10),eq:m});let f=(0,a.r)(),h={};function x(e,t={}){let l=(0,s.useId)(),n=(0,i.i)(),o=(0,i.a)(),{history:c="replace",scroll:d=n?.scroll??!1,shallow:u=n?.shallow??!0,throttleMs:m=a.s.timeMs,limitUrlUpdates:p=n?.limitUrlUpdates,clearOnDefault:b=n?.clearOnDefault??!0,startTransition:w,urlKeys:j=h}=t,y=Object.keys(e).join(","),N=(0,s.useMemo)(()=>Object.fromEntries(Object.keys(e).map(e=>[e,j[e]??e])),[y,JSON.stringify(j)]),C=(0,i.r)(Object.values(N)),S=C.searchParams,P=(0,s.useRef)({}),k=(0,s.useMemo)(()=>Object.fromEntries(Object.keys(e).map(t=>[t,e[t].defaultValue??null])),[Object.values(e).map(({defaultValue:e})=>e).join(",")]),R=a.t.useQueuedQueries(Object.values(N)),[A,E]=(0,s.useState)(()=>v(e,j,S??new URLSearchParams,R).state),T=(0,s.useRef)(A);if((0,i.c)("[nuq+ %s `%s`] render - state: %O, iSP: %s",l,y,A,S),Object.keys(P.current).join("&")!==Object.values(N).join("&")){let{state:t,hasChanged:n}=v(e,j,S,R,P.current,T.current);n&&((0,i.c)("[nuq+ %s `%s`] State changed: %O",l,y,{state:t,initialSearchParams:S,queuedQueries:R,queryRef:P.current,stateRef:T.current}),T.current=t,E(t)),P.current=Object.fromEntries(Object.entries(N).map(([t,l])=>[l,e[t]?.type==="multi"?S?.getAll(l):S?.get(l)??null]))}(0,s.useEffect)(()=>{let{state:t,hasChanged:n}=v(e,j,S,R,P.current,T.current);n&&((0,i.c)("[nuq+ %s `%s`] State changed: %O",l,y,{state:t,initialSearchParams:S,queuedQueries:R,queryRef:P.current,stateRef:T.current}),T.current=t,E(t))},[Object.values(N).map(e=>`${e}=${S?.getAll(e)}`).join("&"),JSON.stringify(R)]),(0,s.useEffect)(()=>{let t=Object.keys(e).reduce((t,n)=>(t[n]=({state:t,query:a})=>{E(s=>{let{defaultValue:o}=e[n],c=N[n],d=t??o??null;return Object.is(s[n]??o??null,d)?((0,i.c)("[nuq+ %s `%s`] Cross-hook key sync %s: %O (default: %O). no change, skipping, resolved: %O",l,y,c,t,o,T.current),s):(T.current={...T.current,[n]:d},P.current[c]=a,(0,i.c)("[nuq+ %s `%s`] Cross-hook key sync %s: %O (default: %O). updateInternalState, resolved: %O",l,y,c,t,o,T.current),T.current)})},t),{});for(let n of Object.keys(e)){let e=N[n];(0,i.c)("[nuq+ %s `%s`] Subscribing to sync for `%s`",l,e,y),f.on(e,t[n])}return()=>{for(let n of Object.keys(e)){let e=N[n];(0,i.c)("[nuq+ %s `%s`] Unsubscribing to sync for `%s`",l,e,y),f.off(e,t[n])}}},[y,N]);let _=(0,s.useCallback)((t,n={})=>{let s,h=Object.fromEntries(Object.keys(e).map(e=>[e,null])),x="function"==typeof t?t(g(T.current,k))??h:t??h;(0,i.c)("[nuq+ %s `%s`] setState: %O",l,y,x);let v=0,j=!1,S=[];for(let[t,l]of Object.entries(x)){let h=e[t],x=N[t];if(!h||void 0===l)continue;(n.clearOnDefault??h.clearOnDefault??b)&&null!==l&&void 0!==h.defaultValue&&(h.eq??((e,t)=>e===t))(l,h.defaultValue)&&(l=null);let g=null===l?null:(h.serialize??String)(l);f.emit(x,{state:l,query:g});let y={key:x,query:g,options:{history:n.history??h.history??c,shallow:n.shallow??h.shallow??u,scroll:n.scroll??h.scroll??d,startTransition:n.startTransition??h.startTransition??w}};if(n?.limitUrlUpdates?.method==="debounce"||p?.method==="debounce"||h.limitUrlUpdates?.method==="debounce"){!0===y.options.shallow&&console.warn((0,i.s)(422));let e=n?.limitUrlUpdates?.timeMs??p?.timeMs??h.limitUrlUpdates?.timeMs??a.s.timeMs,t=a.t.push(y,e,C,o);v<e&&(s=t,v=e)}else{let e=n?.limitUrlUpdates?.timeMs??h?.limitUrlUpdates?.timeMs??p?.timeMs??n.throttleMs??h.throttleMs??m;S.push(a.t.abort(x)),a.n.push(y,e),j=!0}}let P=S.reduce((e,t)=>
1t(e),j?a.n.flush(C,o):a.n.getPendingPromise(C));return s??P},[y,c,u,d,m,p?.method,p?.timeMs,w,N,C.updateUrl,C.getSearchParamsSnapshot,C.rateLimitFactor,o,k]);return[(0,s.useMemo)(()=>g(A,k),[A,k]),_]}function v(e,t,l,n,i,s){let c=!1,d=Object.entries(e).reduce((e,[d,u])=>{var m;let p=t?.[d]??d,f=n[p],h="multi"===u.type?[]:null,x=void 0===f?("multi"===u.type?l?.getAll(p):l?.get(p))??h:f;return i&&s&&((m=i[p]??h)===x||null!==m&&null!==x&&"string"!=typeof m&&"string"!=typeof x&&m.length===x.length&&m.every((e,t)=>e===x[t]))?e[d]=s[d]??null:(c=!0,e[d]=((0,a.i)(x)?null:o(u.parse,x,p))??null,i&&(i[p]=x)),e},{});if(!c){let t=Object.keys(e),l=Object.keys(s??{});c=t.length!==l.length||t.some(e=>!l.includes(e))}return{state:d,hasChanged:c}}function g(e,t){return Object.fromEntries(Object.keys(e).map(l=>[l,e[l]??t[l]??null]))}e.s(["createSerializer",0,function(e,{clearOnDefault:t=!0,urlKeys:l={},processUrlSearchParams:n}={}){return function(s,o={}){let[c,d]=p(s)?function(e){if("string"==typeof e){let[t="",...l]=e.split("?");return[t,new URLSearchParams(l.join("?"))]}return e instanceof URLSearchParams?["",new URLSearchParams(e)]:[e.origin+e.pathname,new URLSearchParams(e.searchParams)]}(s):["",new URLSearchParams],u=p(s)?o:s;if(null===u){for(let t in e){let e=l[t]??t;d.delete(e)}return n&&(d=n(d)),c+(0,i.o)(d)}for(let n in e){let i=e[n],s=u[n];if(!i||void 0===s)continue;let o=l[n]??n,c=void 0!==i.defaultValue&&null!==s&&(i.eq??((e,t)=>e===t))(s,i.defaultValue);null===s||(i.clearOnDefault??t??!0)&&c?d.delete(o):d=(0,a.a)(i.serialize(s),o,d)}return n&&(d=n(d)),c+(0,i.o)(d)}},"parseAsInteger",0,u,"parseAsString",0,d,"useQueryStates",0,x],69806);var b=e.i(15201),w=e.i(43644),j=e.i(67240),y=e.i(59451),N=e.i(8196),C=e.i(15919),S=e.i(97229),P=e.i(92185),k=e.i(82657),R=e.i(82325),A=e.i(68048),E=e.i(88747),T=e.i(90849),_=e.i(94458),I=e.i(28547),D=e.i(88164),L=e.i(79603),F=e.i(73772),M=e.i(13579),O=["Enter"," "],z=["ArrowUp","PageDown","End"],H=["ArrowDown","PageUp","Home",...z],V={ltr:[...O,"ArrowRight"],rtl:[...O,"ArrowLeft"]},U={ltr:["ArrowLeft"],rtl:["ArrowRight"]},B="Menu",[W,Y,$]=(0,C.createCollection)(B),[G,q]=(0,j.createContextScope)(B,[$,E.createPopperScope,I.createRovingFocusGroupScope]),K=(0,E.createPopperScope)(),Q=(0,I.createRovingFocusGroupScope)(),[X,Z]=G(B),[J,ee]=G(B),et=e=>{let{__scopeMenu:l,open:n=!1,children:a,dir:i,onOpenChange:o,modal:c=!0}=e,d=K(l),[u,m]=s.useState(null),p=s.useRef(!1),f=(0,L.useCallbackRef)(o),h=(0,S.useDirection)(i);return s.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.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})}},[]),s.useEffect(()=>{if(!n)return;let e=()=>f(!1);return window.addEventListener("blur",e),()=>window.removeEventListener("blur",e)},[n,f]),(0,t.jsx)(E.Root,{...d,children:(0,t.jsx)(X,{scope:l,open:n,onOpenChange:f,content:u,onContentChange:m,children:(0,t.jsx)(J,{scope:l,onClose:s.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:h,modal:c,children:a})})})};et.displayName=B;var er=s.forwardRef((e,l)=>{let{__scopeMenu:n,...a}=e,i=K(n);return(0,t.jsx)(E.Anchor,{...i,...a,ref:l})});er.displayName="MenuAnchor";var el="MenuPortal",[en,ea]=G(el,{forceMount:void 0}),ei=e=>{let{__scopeMenu:l,forceMount:n,children:a,container:i}=e,s=Z(el,l);return(0,t.jsx)(en,{scope:l,forceMount:n,children:(0,t.jsx)(_.Presence,{present:n||s.open,children:(0,t.jsx)(T.Portal,{asChild:!0,container:i,children:a})})})};ei.displayName=el;var es="MenuContent",[eo,ec]=G(es),ed=s.forwardRef((e,l)=>{let n=ea(es,e.__scopeMenu),{forceMount:a=n.forceMount,...i}=e,s=Z(es,e.__scopeMenu),o=ee(es,e.__scopeMenu);return(0,t.jsx)(W.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(_.Presence,{present:a||s.open,children:(0,t.jsx)(W.Slot,{scope:e.__scopeMenu,children:o.modal?(0,t.jsx)(eu,{...i,ref:l}):(0,t.jsx)(em,{...i,ref:l})})})})}),eu=s.forwardRef((e,l)=>{let n=Z(es,e.__scopeMenu),a=s.useRef(null),i=(0,w.useComposedRefs)(l,a);return s.useEffect(()=>{let e=a.current;if(e)return(0,F.hideOthers)(e)},[]),(0,t.jsx)(ef,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,b.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),em=s.forwardRef((e,l)=>{let n=Z(es,e.__scopeMenu);return(0,t.jsx)(ef,{...e,ref:l,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ep=(0,D.createSlot)("MenuContent.ScrollLock"),ef=s.forwardRef((e,l)=>{let{__scopeMenu:n,loop:a=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEntryFocus:u,onEscapeKeyDown:m,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:h,onDismiss:x,disableOutsideScroll:v,...g}=e,j=Z(es,n),y=ee(es,n),N=K(n),C=Q(n),S=Y(n),[A,T]=s.useState(null),_=s.useRef(null),D=(0,w.useComposedRefs)(l,_,j.onContentChange),L=s.useRef(0),F=s.useRef(""),O=s.useRef(0),V=s.useRef(null),U=s.useRef("right"),B=s.useRef(0),W=v?M.RemoveScroll:s.Fragment;s.useEffect(()=>()=>window.clearTimeout(L.current),[]),(0,k.useFocusGuards)();let $=s.useCallback(e=>{var t,l;return U.current===V.current?.side&&(t=e,!!(l=V.current?.area)&&function(e,t){let{x:l,y:n}=e,a=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let s=t[e],o=t[i],c=s.x,d=s.y,u=o.x,m=o.y;d>n!=m>n&&l<(u-c)*(n-d)/(m-d)+c&&(a=!a)}return a}({x:t.clientX,y:t.clientY},l))},[]);return(0,t.jsx)(eo,{scope:n,searchRef:F,onItemEnter:s.useCallback(e=>{$(e)&&e.preventDefault()},[$]),onItemLeave:s.useCallback(e=>{$(e)||(_.current?.focus(),T(null))},[$]),onTriggerLeave:s.useCallback(e=>{$(e)&&e.preventDefault()},[$]),pointerGraceTimerRef:O,onPointerGraceIntentChange:s.useCallback(e=>{V.current=e},[]),children:(0,t.jsx)(W,{...v?{as:ep,allowPinchZoom:!0}:void 0,children:(0,t.jsx)(R.FocusScope,{asChild:!0,trapped:i,onMountAutoFocus:(0,b.composeEventHandlers)(o,e=>{e.preventDefault(),_.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,t.jsx)(P.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:m,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:h,onDismiss:x,children:(0,t.jsx)(I.Root,{asChild:!0,...C,dir:y.dir,orientation:"vertical",loop:a,currentTabStopId:A,onCurrentTabStopIdChange:T,onEntryFocus:(0,b.composeEventHandlers)(u,e=>{y.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,t.jsx)(E.Content,{role:"menu","aria-orientation":"vertical","data-state":eH(j.open),"data-radix-menu-content":"",dir:y.dir,...N,...g,ref:D,style:{outline:"none",...g.style},onKeyDown:(0,b.composeEventHandlers)(g.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,l=e.ctrlKey||e.altKey||e.metaKey,n=1===e.ke
1y.length;if(t){var a;let t,i,s,o,c,d;"Tab"===e.key&&e.preventDefault(),!l&&n&&(a=e.key,t=F.current+a,i=S().filter(e=>!e.disabled),s=document.activeElement,o=i.find(e=>e.ref.current===s)?.textValue,c=function(e,t,l){var n;let a=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=l?e.indexOf(l):-1,s=(n=Math.max(i,0),e.map((t,l)=>e[(n+l)%e.length]));1===a.length&&(s=s.filter(e=>e!==l));let o=s.find(e=>e.toLowerCase().startsWith(a.toLowerCase()));return o!==l?o:void 0}(i.map(e=>e.textValue),t,o),d=i.find(e=>e.textValue===c)?.ref.current,function e(t){F.current=t,window.clearTimeout(L.current),""!==t&&(L.current=window.setTimeout(()=>e(""),1e3))}(t),d&&setTimeout(()=>d.focus()))}let i=_.current;if(e.target!==i||!H.includes(e.key))return;e.preventDefault();let s=S().filter(e=>!e.disabled).map(e=>e.ref.current);z.includes(e.key)&&s.reverse(),function(e){let t=document.activeElement;for(let l of e)if(l===t||(l.focus(),document.activeElement!==t))return}(s)}),onBlur:(0,b.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(L.current),F.current="")}),onPointerMove:(0,b.composeEventHandlers)(e.onPointerMove,eB(e=>{let t=e.target,l=B.current!==e.clientX;e.currentTarget.contains(t)&&l&&(U.current=e.clientX>B.current?"right":"left",B.current=e.clientX)}))})})})})})})});ed.displayName=es;var eh=s.forwardRef((e,l)=>{let{__scopeMenu:n,...a}=e;return(0,t.jsx)(N.Primitive.div,{role:"group",...a,ref:l})});eh.displayName="MenuGroup";var ex=s.forwardRef((e,l)=>{let{__scopeMenu:n,...a}=e;return(0,t.jsx)(N.Primitive.div,{...a,ref:l})});ex.displayName="MenuLabel";var ev="MenuItem",eg="menu.itemSelect",eb=s.forwardRef((e,l)=>{let{disabled:n=!1,onSelect:a,...i}=e,o=s.useRef(null),c=ee(ev,e.__scopeMenu),d=ec(ev,e.__scopeMenu),u=(0,w.useComposedRefs)(l,o),m=s.useRef(!1);return(0,t.jsx)(ew,{...i,ref:u,disabled:n,onClick:(0,b.composeEventHandlers)(e.onClick,()=>{let e=o.current;if(!n&&e){let t=new CustomEvent(eg,{bubbles:!0,cancelable:!0});e.addEventListener(eg,e=>a?.(e),{once:!0}),(0,N.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?m.current=!1:c.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),m.current=!0},onPointerUp:(0,b.composeEventHandlers)(e.onPointerUp,e=>{m.current||e.currentTarget?.click()}),onKeyDown:(0,b.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;n||t&&" "===e.key||O.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eb.displayName=ev;var ew=s.forwardRef((e,l)=>{let{__scopeMenu:n,disabled:a=!1,textValue:i,...o}=e,c=ec(ev,n),d=Q(n),u=s.useRef(null),m=(0,w.useComposedRefs)(l,u),[p,f]=s.useState(!1),[h,x]=s.useState("");return s.useEffect(()=>{let e=u.current;e&&x((e.textContent??"").trim())},[o.children]),(0,t.jsx)(W.ItemSlot,{scope:n,disabled:a,textValue:i??h,children:(0,t.jsx)(I.Item,{asChild:!0,...d,focusable:!a,children:(0,t.jsx)(N.Primitive.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...o,ref:m,onPointerMove:(0,b.composeEventHandlers)(e.onPointerMove,eB(e=>{a?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,b.composeEventHandlers)(e.onPointerLeave,eB(e=>c.onItemLeave(e))),onFocus:(0,b.composeEventHandlers)(e.onFocus,()=>f(!0)),onBlur:(0,b.composeEventHandlers)(e.onBlur,()=>f(!1))})})})}),ej=s.forwardRef((e,l)=>{let{checked:n=!1,onCheckedChange:a,...i}=e;return(0,t.jsx)(eA,{scope:e.__scopeMenu,checked:n,children:(0,t.jsx)(eb,{role:"menuitemcheckbox","aria-checked":eV(n)?"mixed":n,...i,ref:l,"data-state":eU(n),onSelect:(0,b.composeEventHandlers)(i.onSelect,()=>a?.(!!eV(n)||!n),{checkForDefaultPrevented:!1})})})});ej.displayName="MenuCheckboxItem";var ey="MenuRadioGroup",[eN,eC]=G(ey,{value:void 0,onValueChange:()=>{}}),eS=s.forwardRef((e,l)=>{let{value:n,onValueChange:a,...i}=e,s=(0,L.useCallbackRef)(a);return(0,t.jsx)(eN,{scope:e.__scopeMenu,value:n,onValueChange:s,children:(0,t.jsx)(eh,{...i,ref:l})})});eS.displayName=ey;var eP="MenuRadioItem",ek=s.forwardRef((e,l)=>{let{value:n,...a}=e,i=eC(eP,e.__scopeMenu),s=n===i.value;return(0,t.jsx)(eA,{scope:e.__scopeMenu,checked:s,children:(0,t.jsx)(eb,{role:"menuitemradio","aria-checked":s,...a,ref:l,"data-state":eU(s),onSelect:(0,b.composeEventHandlers)(a.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});ek.displayName=eP;var eR="MenuItemIndicator",[eA,eE]=G(eR,{checked:!1}
1),eT=s.forwardRef((e,l)=>{let{__scopeMenu:n,forceMount:a,...i}=e,s=eE(eR,n);return(0,t.jsx)(_.Presence,{present:a||eV(s.checked)||!0===s.checked,children:(0,t.jsx)(N.Primitive.span,{...i,ref:l,"data-state":eU(s.checked)})})});eT.displayName=eR;var e_=s.forwardRef((e,l)=>{let{__scopeMenu:n,...a}=e;return(0,t.jsx)(N.Primitive.div,{role:"separator","aria-orientation":"horizontal",...a,ref:l})});e_.displayName="MenuSeparator";var eI=s.forwardRef((e,l)=>{let{__scopeMenu:n,...a}=e,i=K(n);return(0,t.jsx)(E.Arrow,{...i,...a,ref:l})});eI.displayName="MenuArrow";var[eD,eL]=G("MenuSub"),eF="MenuSubTrigger",eM=s.forwardRef((e,l)=>{let n=Z(eF,e.__scopeMenu),a=ee(eF,e.__scopeMenu),i=eL(eF,e.__scopeMenu),o=ec(eF,e.__scopeMenu),c=s.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:u}=o,m={__scopeMenu:e.__scopeMenu},p=s.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return s.useEffect(()=>p,[p]),s.useEffect(()=>{let e=d.current;return()=>{window.clearTimeout(e),u(null)}},[d,u]),(0,t.jsx)(er,{asChild:!0,...m,children:(0,t.jsx)(ew,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":n.open?i.contentId:void 0,"data-state":eH(n.open),...e,ref:(0,w.composeRefs)(l,i.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,b.composeEventHandlers)(e.onPointerMove,eB(t=>{o.onItemEnter(t),!t.defaultPrevented&&(e.disabled||n.open||c.current||(o.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100)))})),onPointerLeave:(0,b.composeEventHandlers)(e.onPointerLeave,eB(e=>{p();let t=n.content?.getBoundingClientRect();if(t){let l=n.content?.dataset.side,a="right"===l,i=t[a?"left":"right"],s=t[a?"right":"left"];o.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:i,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:i,y:t.bottom}],side:l}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(e),e.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:(0,b.composeEventHandlers)(e.onKeyDown,t=>{let l=""!==o.searchRef.current;e.disabled||l&&" "===t.key||V[a.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});eM.displayName=eF;var eO="MenuSubContent",ez=s.forwardRef((e,l)=>{let n=ea(es,e.__scopeMenu),{forceMount:a=n.forceMount,align:i="start",...o}=e,c=Z(es,e.__scopeMenu),d=ee(es,e.__scopeMenu),u=eL(eO,e.__scopeMenu),m=s.useRef(null),p=(0,w.useComposedRefs)(l,m);return(0,t.jsx)(W.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(_.Presence,{present:a||c.open,children:(0,t.jsx)(W.Slot,{scope:e.__scopeMenu,children:(0,t.jsx)(ef,{id:u.contentId,"aria-labelledby":u.triggerId,...o,ref:p,align:i,side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{d.isUsingKeyboardRef.current&&m.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,b.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==u.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:(0,b.composeEventHandlers)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,b.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),l=U[d.dir].includes(e.key);t&&l&&(c.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})});function eH(e){return e?"open":"closed"}function eV(e){return"indeterminate"===e}function eU(e){return eV(e)?"indeterminate":e?"checked":"unchecked"}function eB(e){return t=>"mouse"===t.pointerType?e(t):void 0}ez.displayName=eO;var eW="DropdownMenu",[eY,e$]=(0,j.createContextScope)(eW,[q]),eG=q(),[eq,eK]=eY(eW),eQ=e=>{let{__scopeDropdownMenu:l,children:n,dir:a,open:i,defaultOpen:o,onOpenChange:c,modal:d=!0}=e,u=eG(l),m=s.useRef(null),[p,f]=(0,y.useControllableState)({prop:i,defaultProp:o??!1,onChange:c,caller:eW});return(0,t.jsx)(eq,{scope:l,triggerId:(0,A.useId)(),triggerRef:m,contentId:(0,A.useId)(),open:p,onOpenChange:f,onOpenToggle:s.useCallback(()=>f(e=>
1!e),[f]),modal:d,children:(0,t.jsx)(et,{...u,open:p,onOpenChange:f,dir:a,modal:d,children:n})})};eQ.displayName=eW;var eX="DropdownMenuTrigger",eZ=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,disabled:a=!1,...i}=e,s=eK(eX,n),o=eG(n);return(0,t.jsx)(er,{asChild:!0,...o,children:(0,t.jsx)(N.Primitive.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":a?"":void 0,disabled:a,...i,ref:(0,w.composeRefs)(l,s.triggerRef),onPointerDown:(0,b.composeEventHandlers)(e.onPointerDown,e=>{!a&&0===e.button&&!1===e.ctrlKey&&(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,b.composeEventHandlers)(e.onKeyDown,e=>{!a&&(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eZ.displayName=eX;var eJ=e=>{let{__scopeDropdownMenu:l,...n}=e,a=eG(l);return(0,t.jsx)(ei,{...a,...n})};eJ.displayName="DropdownMenuPortal";var e0="DropdownMenuContent",e1=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eK(e0,n),o=eG(n),c=s.useRef(!1);return(0,t.jsx)(ed,{id:i.contentId,"aria-labelledby":i.triggerId,...o,...a,ref:l,onCloseAutoFocus:(0,b.composeEventHandlers)(e.onCloseAutoFocus,e=>{c.current||i.triggerRef.current?.focus(),c.current=!1,e.preventDefault()}),onInteractOutside:(0,b.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,l=0===t.button&&!0===t.ctrlKey,n=2===t.button||l;(!i.modal||n)&&(c.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)"}})});e1.displayName=e0,s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(eh,{...i,...a,ref:l})}).displayName="DropdownMenuGroup";var e2=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(ex,{...i,...a,ref:l})});e2.displayName="DropdownMenuLabel";var e3=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(eb,{...i,...a,ref:l})});e3.displayName="DropdownMenuItem";var e5=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(ej,{...i,...a,ref:l})});e5.displayName="DropdownMenuCheckboxItem",s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(eS,{...i,...a,ref:l})}).displayName="DropdownMenuRadioGroup";var e4=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(ek,{...i,...a,ref:l})});e4.displayName="DropdownMenuRadioItem";var e6=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(eT,{...i,...a,ref:l})});e6.displayName="DropdownMenuItemIndicator";var e9=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(e_,{...i,...a,ref:l})});e9.displayName="DropdownMenuSeparator",s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(eI,{...i,...a,ref:l})}).displayName="DropdownMenuArrow";var e7=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(eM,{...i,...a,ref:l})});e7.displayName="DropdownMenuSubTrigger";var e8=s.forwardRef((e,l)=>{let{__scopeDropdownMenu:n,...a}=e,i=eG(n);return(0,t.jsx)(ez,{...i,...a,ref:l,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)"}})});e8.displayName="DropdownMenuSubContent";var te=e.i(94265),tt=e.i(87221),tr=e.i(49197),tl=e.i(75430);
1s.forwardRef((e,n)=>{let a,i,s,o,c,d,u,m=(0,l.c)(14);m[0]!==e?({className:i,inset:s,children:a,...o}=e,m[0]=e,m[1]=a,m[2]=i,m[3]=s,m[4]=o):(a=m[1],i=m[2],s=m[3],o=m[4]);let p=s&&"pl-8";return m[5]!==i||m[6]!==p?(c=(0,tl.cn)("focus:bg-accent data-[state=open]:bg-accent flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none select-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",p,i),m[5]=i,m[6]=p,m[7]=c):c=m[7],m[8]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(tt.ChevronRight,{className:"ml-auto"}),m[8]=d):d=m[8],m[9]!==a||m[10]!==o||m[11]!==n||m[12]!==c?(u=(0,t.jsxs)(e7,{ref:n,className:c,...o,children:[a,d]}),m[9]=a,m[10]=o,m[11]=n,m[12]=c,m[13]=u):u=m[13],u}).displayName=e7.displayName,s.forwardRef((e,n)=>{let a,i,s,o,c=(0,l.c)(9);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?(s=(0,tl.cn)("bg-popover text-popover-foreground 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 z-50 min-w-[8rem] origin-[--radix-dropdown-menu-content-transform-origin] overflow-hidden rounded-md border p-1 shadow-lg",a),c[3]=a,c[4]=s):s=c[4],c[5]!==i||c[6]!==n||c[7]!==s?(o=(0,t.jsx)(e8,{ref:n,className:s,...i}),c[5]=i,c[6]=n,c[7]=s,c[8]=o):o=c[8],o}).displayName=e8.displayName;let tn=s.forwardRef((e,n)=>{let a,i,s,o,c,d=(0,l.c)(11);d[0]!==e?({className:a,sideOffset:s,...i}=e,d[0]=e,d[1]=a,d[2]=i,d[3]=s):(a=d[1],i=d[2],s=d[3]);let u=void 0===s?4:s;return d[4]!==a?(o=(0,tl.cn)("bg-popover text-popover-foreground z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-2xl border p-1 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]",a),d[4]=a,d[5]=o):o=d[5],d[6]!==i||d[7]!==n||d[8]!==u||d[9]!==o?(c=(0,t.jsx)(eJ,{children:(0,t.jsx)(e1,{ref:n,sideOffset:u,className:o,...i})}),d[6]=i,d[7]=n,d[8]=u,d[9]=o,d[10]=c):c=d[10],c});tn.displayName=e1.displayName,s.forwardRef((e,n)=>{let a,i,s,o,c,d=(0,l.c)(11);d[0]!==e?({className:a,inset:i,...s}=e,d[0]=e,d[1]=a,d[2]=i,d[3]=s):(a=d[1],i=d[2],s=d[3]);let u=i&&"pl-8";return d[4]!==a||d[5]!==u?(o=(0,tl.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm transition-colors outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",u,a),d[4]=a,d[5]=u,d[6]=o):o=d[6],d[7]!==s||d[8]!==n||d[9]!==o?(c=(0,t.jsx)(e3,{ref:n,className:o,...s}),d[7]=s,d[8]=n,d[9]=o,d[10]=c):c=d[10],c}).displayName=e3.displayName;let ta=s.forwardRef((e,n)=>{let a,i,s,o,c,d,u,m=(0,l.c)(14);return m[0]!==e?({className:s,children:i,checked:a,...o}=e,m[0]=e,m[1]=a,m[2]=i,m[3]=s,m[4]=o):(a=m[1],i=m[2],s=m[3],o=m[4]),m[5]!==s?(c=(0,tl.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm transition-colors outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),m[5]=s,m[6]=c):c=m[6],m[7]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(e6,{children:(0,t.jsx)(te.Check,{className:"h-4 w-4"})})}),m[7]=d):d=m[7],m[8]!==a||m[9]!==i||m[10]!==o||m[11]!==n||m[12]!==c?(u=(0,t.jsxs)(e5,{ref:n,className:c,checked:a,...o,children:[d,i]}),m[8]=a,m[9]=i,m[10]=o,m[11]=n,m[12]=c,m[13]=u):u=m[13],u});
1ta.displayName=e5.displayName,s.forwardRef((e,n)=>{let a,i,s,o,c,d,u=(0,l.c)(12);return u[0]!==e?({className:i,children:a,...s}=e,u[0]=e,u[1]=a,u[2]=i,u[3]=s):(a=u[1],i=u[2],s=u[3]),u[4]!==i?(o=(0,tl.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm transition-colors outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",i),u[4]=i,u[5]=o):o=u[5],u[6]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(e6,{children:(0,t.jsx)(tr.Circle,{className:"h-2 w-2 fill-current"})})}),u[6]=c):c=u[6],u[7]!==a||u[8]!==s||u[9]!==n||u[10]!==o?(d=(0,t.jsxs)(e4,{ref:n,className:o,...s,children:[c,a]}),u[7]=a,u[8]=s,u[9]=n,u[10]=o,u[11]=d):d=u[11],d}).displayName=e4.displayName,s.forwardRef((e,n)=>{let a,i,s,o,c,d=(0,l.c)(11);d[0]!==e?({className:a,inset:i,...s}=e,d[0]=e,d[1]=a,d[2]=i,d[3]=s):(a=d[1],i=d[2],s=d[3]);let u=i&&"pl-8";return d[4]!==a||d[5]!==u?(o=(0,tl.cn)("px-2 py-1.5 text-sm font-semibold",u,a),d[4]=a,d[5]=u,d[6]=o):o=d[6],d[7]!==s||d[8]!==n||d[9]!==o?(c=(0,t.jsx)(e2,{ref:n,className:o,...s}),d[7]=s,d[8]=n,d[9]=o,d[10]=c):c=d[10],c}).displayName=e2.displayName,s.forwardRef((e,n)=>{let a,i,s,o,c=(0,l.c)(9);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?(s=(0,tl.cn)("bg-muted -mx-1 my-1 h-px",a),c[3]=a,c[4]=s):s=c[4],c[5]!==i||c[6]!==n||c[7]!==s?(o=(0,t.jsx)(e9,{ref:n,className:s,...i}),c[5]=i,c[6]=n,c[7]=s,c[8]=o):o=c[8],o}).displayName=e9.displayName;var ti=e.i(86825),ts=e.i(6911);function to(e){let n,a,i,s,o,c,d=(0,l.c)(9),{className:u}=e;return d[0]!==u?(n=(0,tl.cn)("fill-primary-600 text-primary-100 h-8 w-8 animate-spin duration-600",u),d[0]=u,d[1]=n):n=d[1],d[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),i=(0,t.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"}),d[2]=a,d[3]=i):(a=d[2],i=d[3]),d[4]!==n?(s=(0,t.jsxs)("svg",{"aria-hidden":"true",className:n,viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a,i]}),d[4]=n,d[5]=s):s=d[5],d[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("span",{className:"sr-only",children:"Loading..."}),d[6]=o):o=d[6],d[7]!==s?(c=(0,t.jsxs)("div",{role:"status",className:"flex items-center justify-center",children:[s,o]}),d[7]=s,d[8]=c):c=d[8],c}e.s(["CategoriesFilter",0,function(e){let a,i,s,o,c,d,m,p,f,h,v,g,b=(0,l.c)(26),{categories:w,startTransition:j}=e;b[0]===Symbol.for("react.memo_cache_sentinel")?(a=ti.parseAsResourceCategories.withDefault([]).withOptions({clearOnDefault:!0}),b[0]=a):a=b[0],b[1]===Symbol.for("react.memo_cache_sentinel")?(i={[ts.QUERY_PARAMS.CATEGORY]:a,[ts.QUERY_PARAMS.PAGE]:u.withDefault(1)},b[1]=i):i=b[1],b[2]!==j?(s={startTransition:j,shallow:!1},b[2]=j,b[3]=s):s=b[3];let[y,N]=x(i,s),{c:C}=y;b[4]!==C||b[5]!==N?(o=e=>{let t=C.includes(e)?C.filter(t=>t!==e):[...C,e];N({[ts.QUERY_PARAMS.CATEGORY]:t,[ts.QUERY_PARAMS.PAGE]:1})},b[4]=C,b[5]=N,b[6]=o):o=b[6];let S=o;b[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,tl.cn)("focus:ring-primary-500 flex items-center justify-between gap-2 rounded-full border border-gray-100 bg-neutral-50 px-4 py-3.5 text-base font-semibold text-neutral-900 transition-colors hover:bg-neutral-100 focus:ring-2 focus:ring-offset-2 focus:outline-none","min-w-[200px]"),b[7]=c):c=b[7];let P=C.length>0?`Categories (${C.length})`:"Categories";if(b[8]!==P?(d=(0,t.jsx)("span",{children:P}),b[8]=P,b[9]=d):d=b[9],b[10]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)(n.ChevronDown,{className:"text-primary-600 size-4"}),b[10]=m):m=b[10],b[11]!==d?(p=(0,t.jsxs)(eZ,{className:c,children:[d,m]}),b[11]=d,b[12]=p):p=b[12],b[13]===Symbol.for("react.memo_cache_sentinel")?(f={width:"var(--radix-dropdown-menu-trigger-width)"}
1,b[13]=f):f=b[13],b[14]!==C||b[15]!==w||b[16]!==S){let e;b[18]!==C||b[19]!==S?(e=e=>{let{id:l,title:n}=e;return(0,t.jsx)(ta,{checked:C.includes(n),onCheckedChange:()=>S(n),children:n},l)},b[18]=C,b[19]=S,b[20]=e):e=b[20],h=w.map(e),b[14]=C,b[15]=w,b[16]=S,b[17]=h}else h=b[17];return b[21]!==h?(v=(0,t.jsx)(tn,{align:"start",className:"rounded-3xl",style:f,children:h}),b[21]=h,b[22]=v):v=b[22],b[23]!==p||b[24]!==v?(g=(0,t.jsxs)(eQ,{children:[p,v]}),b[23]=p,b[24]=v,b[25]=g):g=b[25],g}],77902),e.s(["Loader",0,function(){let e,n=(0,l.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"flex min-h-[700px]! w-full items-center justify-center py-16",children:(0,t.jsx)(to,{className:"size-12"})}),n[0]=e):e=n[0],e}],71865),e.s(["Navbar",0,function(e){let n,a=(0,l.c)(2),{children:i}=e;return a[0]!==i?(n=(0,t.jsx)("aside",{className:"border-border z-10 flex w-full flex-col gap-3 rounded-lg border bg-neutral-50 px-5 py-3 xl:flex-row xl:rounded-full",children:i}),a[0]=i,a[1]=n):n=a[1],n}],17934),e.s(["calculatePageRange",0,(e,t)=>e<=4?[1,Math.min(5,t)]:e>=t-3?[Math.max(1,t-4),t]:[e-1,e+1],"getPageHref",0,e=>""===e?{query:" "}:e],42414);e.s(["useSearch",0,()=>{let e,t,n,i,o,c,m,p=(0,l.c)(13),[f,h]=(0,s.useTransition)();p[0]===Symbol.for("react.memo_cache_sentinel")?(e=d.withDefault("").withOptions({startTransition:h,shallow:!1}),p[0]=e):e=p[0],p[1]===Symbol.for("react.memo_cache_sentinel")?(t={[ts.QUERY_PARAMS.SEARCH]:e,[ts.QUERY_PARAMS.PAGE]:u.withDefault(1)},n=d.withDefault("").withOptions({startTransition:h,shallow:!1}),p[1]=t,p[2]=n):(t=p[1],n=p[2]);let[v,g]=x(t,n),{search:b}=v,[w,j]=(0,s.useState)(b);p[3]!==b?(i=()=>{if(""===b)return j("");let e=setTimeout(()=>{j(b)},600);return()=>{clearTimeout(e)}},o=[b],p[3]=b,p[4]=i,p[5]=o):(i=p[4],o=p[5]),(0,s.useEffect)(i,o),p[6]!==g?(c=e=>{let{target:t}=e;return g({[ts.QUERY_PARAMS.SEARCH]:t.value,[ts.QUERY_PARAMS.PAGE]:1},{limitUrlUpdates:""===t.value?void 0:(0,a.o)(600)})},p[6]=g,p[7]=c):c=p[7];let y=c;return p[8]!==w||p[9]!==y||p[10]!==f||p[11]!==b?(m={search:b,debouncedSearch:w,handleSearch:y,startTransition:h,isPending:f},p[8]=w,p[9]=y,p[10]=f,p[11]=b,p[12]=m):m=p[12],m}],1811)},5591,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(84464),a=e.i(75430);e.s(["SearchInput",0,function(e){let i,s,o,c,d=(0,l.c)(10),{placeholder:u,value:m,handleChange:p,className:f}=e;return d[0]!==f?(i=(0,a.cn)("w-full rounded-4xl border border-gray-100 bg-neutral-50 px-4 py-3 pl-12 !text-base placeholder:text-neutral-900",f),d[0]=f,d[1]=i):i=d[1],d[2]!==p||d[3]!==u||d[4]!==i||d[5]!==m?(s=(0,t.jsx)("input",{id:"search",type:"search",placeholder:u,"aria-label":u,className:i,value:m,onChange:p}),d[2]=p,d[3]=u,d[4]=i,d[5]=m,d[6]=s):s=d[6],d[7]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(n.Search,{className:"absolute top-1/2 left-4 size-5 -translate-y-1/2 text-neutral-900"}),d[7]=o):o=d[7],d[8]!==s?(c=(0,t.jsxs)("search",{className:"relative w-full",children:[s,o]}),d[8]=s,d[9]=c):c=d[9],c}])},52433,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(77902),a=e.i(50547),i=e.i(91146),s=e.i(42414),o=e.i(75430),c=e.i(97794),d=e.i(71120);function u(e){let n,a,i,o,u,p=(0,l.c)(12),{activeContentType:f,contentTypes:h,pageURL:x}
1=e,v=(0,c.useRouter)();p[0]!==x||p[1]!==v?(n=e=>{let t=(0,s.getPageHref)(x([e]));v.push("string"==typeof t?t:t.query)},p[0]=x,p[1]=v,p[2]=n):n=p[2];let g=n;return p[3]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(d.SelectTrigger,{className:"w-full rounded-full border-gray-100 bg-neutral-50 px-4 py-2",children:(0,t.jsx)(d.SelectValue,{})}),p[3]=a):a=p[3],p[4]!==h?(i=h.map(m),p[4]=h,p[5]=i):i=p[5],p[6]!==i?(o=(0,t.jsx)(d.SelectContent,{children:i}),p[6]=i,p[7]=o):o=p[7],p[8]!==f||p[9]!==g||p[10]!==o?(u=(0,t.jsxs)(d.Select,{value:f,onValueChange:g,children:[a,o]}),p[8]=f,p[9]=g,p[10]=o,p[11]=u):u=p[11],u}function m(e){let{id:l,title:n}=e;return(0,t.jsx)(d.SelectItem,{value:n,children:n},l)}var p=e.i(17934);function f(e){let n,c,d,m,f,h=(0,l.c)(19),{contentTypes:x,activeContentType:v,children:g,pageURL:b}=e;h[0]!==v?(n=e=>v===e,h[0]=v,h[1]=n):n=h[1];let w=n;if(h[2]!==v||h[3]!==x||h[4]!==b?(c=(0,t.jsx)("div",{className:"w-full md:hidden",children:(0,t.jsx)(u,{activeContentType:v,contentTypes:x,pageURL:b})}),h[2]=v,h[3]=x,h[4]=b,h[5]=c):c=h[5],h[6]!==x||h[7]!==w||h[8]!==b){let e;h[10]!==w||h[11]!==b?(e=e=>{let{id:l,title:n}=e,c=[n];return(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:(0,s.getPageHref)(b(c)),className:(0,o.cn)((0,i.appLinkVariants)({variant:"tertiary",size:"sm"}),w(n)?"text-primary-600":"text-neutral-900","hover:text-primary-600 focus-visible:text-primary-600 px-3"),children:n})},l)},h[10]=w,h[11]=b,h[12]=e):e=h[12],d=x.map(e),h[6]=x,h[7]=w,h[8]=b,h[9]=d}else d=h[9];return h[13]!==d?(m=(0,t.jsx)("ul",{className:"hidden flex-wrap gap-2 md:flex",children:d}),h[13]=d,h[14]=m):m=h[14],h[15]!==g||h[16]!==c||h[17]!==m?(f=(0,t.jsxs)(p.Navbar,{children:[c,m,g]}),h[15]=g,h[16]=c,h[17]=m,h[18]=f):f=h[18],f}var h=e.i(71865),x=e.i(6911),v=e.i(1811),g=e.i(5591),b=e.i(76376),w=e.i(69806),j=e.i(20948),y=e.i(86825);let N={[x.QUERY_PARAMS.TYPE]:y.parseAsResourceType.withOptions({clearOnDefault:!1}),[x.QUERY_PARAMS.PAGE]:j.parseAsInteger.withDefault(1),[x.QUERY_PARAMS.CATEGORY]:y.parseAsResourceCategories.withDefault([]).withOptions({clearOnDefault:!0}),[x.QUERY_PARAMS.SEARCH]:j.parseAsString.withOptions({clearOnDefault:!1})};(0,j.createSearchParamsCache)(N),(0,j.createSerializer)(N);let C=(0,w.createSerializer)(N);function S(e){let{id:t,label:l}=e;return{id:t,title:l}}function P(e){return C({[x.QUERY_PARAMS.PAGE]:1,[x.QUERY_PARAMS.TYPE]:e[0]})}e.s(["Content",0,function(e){let a,i,s,c,d,u,m,p,x=(0,l.c)(23),{searchPlaceholderText:w,categories:j,contentTypes:y,activeContentType:N,children:C}=e,{search:k,handleSearch:R,startTransition:A,isPending:E}=(0,v.useSearch)();x[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,o.cn)("w-full pb-10",b.innerWrapperClasses),x[0]=a):a=x[0];let T=N.label;x[1]!==y?(i=y.map(S),x[1]=y,x[2]=i):i=x[2],x[3]!==j||x[4]!==A?(s=j.length>0&&(0,t.jsx)(n.CategoriesFilter,{categories:j,startTransition:A}),x[3]=j,x[4]=A,x[5]=s):s=x[5];let _=w??"Search the resource hub";return x[6]!==R||x[7]!==k||x[8]!==_?(c=(0,t.jsx)(g.SearchInput,{placeholder:_,value:k,handleChange:R,className:"min-w-[200px] bg-neutral-200/60"}),x[6]=R,x[7]=k,x[8]=_,x[9]=c):c=x[9],x[10]!==s||x[11]!==c?(d=(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-2 sm:flex-row sm:items-center xl:ml-6",children:[s,c]}),x[10]=s,x[11]=c,x[12]=d):d=x[12],x[13]!==N.label||x[14]!==i||x[15]!==d?(u=(0,t.jsx)("div",{className:a,children:(0,t.jsx)(f,{activeContentType:T,contentTypes:i,pageURL:P,children:d})}),x[13]=N.label,x[14]=i,x[15]=d,x[16]=u):u=x[16],x[17]!==C||x[18]!==E?(m=E?(0,t.jsx)(h.Loader,{}):C,x[17]=C,x[18]=E,x[19]=m):m=x[19],x[20]!==u||x[21]!==m?(p=(0,t.jsxs)("div",{className:"mt-10 flex flex-col items-start",children:[u,m]}),x[20]=u,x[21]=m,x[22]=p):p=x[22],p}],52433)},90527,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(97794),a=e.i(1292),i=e.i(6911);e.s(["ScrollToResources",0,function(e){let s,o,c,d,u=(0,l.c)(7),{children:m}=e,p=(0,n.useSearchParams)(),f=(0,a.useRef)(null);u[0]!==p?(s=p.get(i.QUERY_PARAMS.PAGE),u[0]=p,u[1]=s):s=u[1];let h=s;return u[2]!==h?(o=()=>{f.current&&h&&"1"!==h&&f.current.scrollIntoView({behavior:"smooth"})},c=[h],u[2]=h,u[3]=o,u[4]=c):(o=u[3],c=u[4]),(0,a.useEffect)(o,c
1),u[5]!==m?(d=(0,t.jsx)("div",{ref:f,className:"scroll-mt-24",children:m}),u[5]=m,u[6]=d):d=u[6],d}])},16141,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(94924),a=e.i(10969),i=e.i(76376),s=e.i(64333),o=e.i(47546),c=e.i(32138),d=e.i(30951),u=e.i(55451),m=e.i(80269);function p(e){let n,a,i,s,o,p,f,h,x,v,g,b,w,j,y,N,C,S,P,k,R,A,E,T,_,I,D,L,F,M,O,z,H,V,U=(0,l.c)(91),{pricingPlans:B,control:W,summary:Y,baseFee:$,pricePerUser:G,users:q,subtotal:K,total:Q,exclVat:X,minimumUsersInputName:Z,pricingPlansInputName:J}=e;U[0]!==W||U[1]!==J?(n={control:W,name:J},U[0]=W,U[1]=J,U[2]=n):n=U[2];let ee=(0,d.useWatch)(n);U[3]!==W||U[4]!==Z?(a={control:W,name:Z},U[3]=W,U[4]=Z,U[5]=a):a=U[5];let et=(0,d.useWatch)(a),er=B[0]?.currency||"pounds";if(U[6]!==$||U[7]!==er||U[8]!==ee||U[9]!==et||U[10]!==G||U[11]!==B||U[12]!==Y){let e,l,n;U[25]!==ee?(e=e=>e.name===ee,U[25]=ee,U[26]=e):e=U[26];let a=B.find(e);j=(a?.price||0)*(et||1)+(a?.baseFee||0),o="h-fit w-full rounded-xl bg-white",U[27]!==Y?(p=(0,t.jsx)("div",{className:"border-b-gray-ultraLight border-b-2",children:(0,t.jsx)("p",{className:"flex justify-center px-8 pt-5 pb-3 text-xs",children:Y})}),U[27]=Y,U[28]=p):p=U[28],i="border-b-gray-ultraLight mx-8 my-5 border-b-2 pb-4 text-sm",s=(0,t.jsx)("p",{className:"mx-auto mb-5 w-fit rounded-lg bg-black px-4 py-2 leading-none font-bold text-white",children:a?.name}),b="overflow-hidden",U[29]!==$?(l=(0,t.jsx)("p",{className:"w-[35%]",children:$}),U[29]=$,U[30]=l):l=U[30],U[31]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("span",{className:"absolute bottom-0 left-[35%] z-0 mb-1 h-full w-full border-b-2 border-dotted"}),U[31]=n):n=U[31],w=(0,t.jsxs)("div",{className:"relative mb-2 flex justify-between",children:[l,n,(0,t.jsx)("p",{className:"relative z-10 bg-white pl-3",children:(0,m.formatPriceWithCurrency)(a?.baseFee||0,er)})]}),x="relative mb-2 flex justify-between",U[32]!==G?(v=(0,t.jsx)("p",{className:"w-[35%]",children:G}),U[32]=G,U[33]=v):v=U[33],U[34]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)("span",{className:"absolute bottom-0 left-[35%] z-0 mb-1 h-full w-full border-b-2 border-dotted"}),U[34]=g):g=U[34],f="relative z-10 bg-white pl-3",h=(0,m.formatPriceWithCurrency)(a?.price||0,er),U[6]=$,U[7]=er,U[8]=ee,U[9]=et,U[10]=G,U[11]=B,U[12]=Y,U[13]=i,U[14]=s,U[15]=o,U[16]=p,U[17]=f,U[18]=h,U[19]=x,U[20]=v,U[21]=g,U[22]=b,U[23]=w,U[24]=j}else i=U[13],s=U[14],o=U[15],p=U[16],f=U[17],h=U[18],x=U[19],v=U[20],g=U[21],b=U[22],w=U[23],j=U[24];return U[35]!==f||U[36]!==h?(y=(0,t.jsx)("p",{className:f,children:h}),U[35]=f,U[36]=h,U[37]=y):y=U[37],U[38]!==y||U[39]!==x||U[40]!==v||U[41]!==g?(N=(0,t.jsxs)("div",{className:x,children:[v,g,y]}),U[38]=y,U[39]=x,U[40]=v,U[41]=g,U[42]=N):N=U[42],U[43]!==q?(C=(0,t.jsx)("p",{className:"w-[35%]",children:q}),U[43]=q,U[44]=C):C=U[44],U[45]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)("span",{className:"absolute bottom-0 left-[35%] z-0 mb-1 h-full w-full border-b-2 border-dotted"}),U[45]=S):S=U[45],U[46]!==et?(P=(0,t.jsxs)("p",{className:"relative z-10 bg-white pl-3",children:[et," Users"]}),U[46]=et,U[47]=P):P=U[47],U[48]!==C||U[49]!==P?(k=(0,t.jsxs)("div",{className:"relative mb-2 flex justify-between",children:[C,S,P]}),U[48]=C,U[49]=P,U[50]=k):k=U[50],U[51]!==K?(R=(0,t.jsx)("p",{className:"w-[35%]",children:K}),U[51]=K,U[52]=R):R=U[52],U[53]===Symbol.for("react.memo_cache_sentinel")?(A=(0,t.jsx)("span",{className:"absolute bottom-0 left-[35%] z-0 mb-1 h-full w-full border-b-2 border-dotted"}),U[53]=A):A=U[53],U[54]!==er||U[55]!==j?(E=(0,m.formatPriceWithCurrency)(j,er),U[54]=er,U[55]=j,U[56]=E):E=U[56],U[57]!==E?(T=(0,t.jsx)("p",{className:"relative z-10 bg-white pl-3",children:E}),U[57]=E,U[58]=T):T=U[58],U[59]!==R||U[60]!==T?(_=(0,t.jsxs)("div",{className:"relative mb-2 flex justify-between",children:[R,A,T]}),U[59]=R,U[60]=T,U[61]=_):_=U[61],U[62]!==N||U[63]!==k||U[64]!==_||U[65]!==b||U[66]!==w?(I=(0,t.jsxs)("div",{className:b,children:[w,N,k,_]}),U[62]=N,U[63]=k,U[64]=_,U[65]=b,U[66]=w,U[67]=I):I=U[67],U[68]!==i||U[69]!==s||U[70]!==I?(D=(0,t.jsxs)("div",{className:i,children:[s,I]}),U[68]=i,U[69]=s,U[70]=I,U[71]=D):D=U[71],U[72]!==Q?(L=(0,t.jsx)("p",{className:"mb-1.5 text-xs",children:Q}),U[72]=Q,U[73]=L):L=U[73],U[74]!==er||U[75]!==j?(F=(0,m.formatPriceWithCurrency)(j,er),U[74]=er,U[75]=j,U[76]=F):F=U[76],U[77]!==F?(M=(0,t.jsx)("p",{className:"mb-1.5 text-2xl uppercase",children:F}),U[77]=F,U[78]=M):M=U[78],U[79]!==X?(O=(0,t.jsx)("p",{className:"text-xs",children:X}),U[79]=X,U[80]=O):O=U[80],U[81]!==L||U[82]!==M||U[83]!==O?(z=(0,t.jsxs)("div",{className:"px-8 pb-5 font-semibold",children:[L,M,O]}),U[81]=L,U[82]=M,U[83]=O,U[84]=z):z=U[84],U[85]===Symbol.for("react.memo_cache_sentinel")?(H=(0,t.jsx)("div",{className:"border-t-gray-ultraLight relative flex items-center border-t-2 px-8 py-5",children:(0,t.jsx)(c.default,{src:`${u.IMAGE_BASE_URL}cmewmh2b5ihfv07w2qrharmz2`,alt:"Payment Methods",width:400,height:50,className:"w-full object-contain",unoptimized:!0})}),U[85]=H):H=U[85],U[86]!==o||U[87]!==p||U[88]!==D||U[89]!==z?(V=(0,t.jsxs)("div",{className:o,children:[p,D,z,H]}),U[86]=o,U[87]=p,U[88]=D,U[89]=z,U[90]=V):V=U[90],V}e.s(["SectionBuyNow",0,function(e){let c,d,u,m,f,h,x,v,g,b,w,j,y,N,C,S,P,k=(0,l.c)(42);k[0]!==e?({title:h,description:c,form:u,userMonth:x,entryId:d,scrollId:m,...f}=e,k[0]=e,k[1]=c,k[2]=d,k[3]=u,k[4]=m,k[5]=f,k[6]=h,k[7]=x):(c=k[1],d=k[2],u=k[3],m=k[4],f=k[5],h=k[6],x=k[7]),k[8]!==u?(v=u??{},k[8]=u,k[9]=v):v=k[9];let{isBuyNowForm:R,pricingPlansInputName:A,minimumUsersInputName:E}=v;k[10]!==u?(g=(e=>{if(!e)return[];let t=(0,s.getAllInputs)(e).find(t=>"InputRadio"===t.__typename&&t.name===e.pricingPlansInputName);return t?.pricingPlans??[]})(u),k[10]=u,k[11]=g):g=k[11];let T=g;
1if(!R||!A||!E||!T.length)return null;let _=T[0]?.name,I=T[0]?.minimumUsers;k[12]!==E||k[13]!==A||k[14]!==_||k[15]!==I?(b={[A]:_,[E]:I},k[12]=E,k[13]=A,k[14]=_,k[15]=I,k[16]=b):b=k[16];let D=b;return k[17]!==d?(w=(0,o.previewChainedField)(d,"title"),k[17]=d,k[18]=w):w=k[18],k[19]!==w||k[20]!==h?(j=(0,t.jsx)("h1",{...w,className:"mb-5 text-3xl leading-[130%] font-semibold lg:text-[56px]",children:h}),k[19]=w,k[20]=h,k[21]=j):j=k[21],k[22]!==c||k[23]!==d?(y=c&&(0,t.jsx)("div",{...(0,o.previewChainedField)(d,"description"),children:(0,t.jsx)(n.RichText,{content:c?.raw})}),k[22]=c,k[23]=d,k[24]=y):y=k[24],k[25]!==j||k[26]!==y?(N=(0,t.jsxs)("div",{className:"mb-10 text-center",children:[j,y]}),k[25]=j,k[26]=y,k[27]=N):N=k[27],k[28]!==D||k[29]!==u||k[30]!==E||k[31]!==T||k[32]!==A||k[33]!==f||k[34]!==x?(C=u&&(0,t.jsx)(a.Form,{...u,defaultValues:D,radioLabelSuffix:x||"/USER/MONTH",renderChildren:e=>{let{control:l}=e;return(0,t.jsx)(p,{control:l,pricingPlans:T,minimumUsersInputName:E,pricingPlansInputName:A,...f})}}),k[28]=D,k[29]=u,k[30]=E,k[31]=T,k[32]=A,k[33]=f,k[34]=x,k[35]=C):C=k[35],k[36]!==C||k[37]!==N?(S=(0,t.jsxs)("div",{className:"mx-auto max-w-5xl",children:[N,C]}),k[36]=C,k[37]=N,k[38]=S):S=k[38],k[39]!==m||k[40]!==S?(P=(0,t.jsx)(i.SectionWrapper,{id:m,children:S}),k[39]=m,k[40]=S,k[41]=P):P=k[41],P}],16141)},80918,e=>{"use strict";var t=e.i(95295),l=e.i(52036);e.s(["PreviewEntry",0,function(e){let n,a=(0,l.c)(4),{id:i,children:s,className:o}=e;return a[0]!==s||a[1]!==o||a[2]!==i?(n=(0,t.jsx)("div",{"data-hygraph-entry-id":i,className:o,children:s}),a[0]=s,a[1]=o,a[2]=i,a[3]=n):n=a[3],n}])},4384,e=>{"use strict";var t=e.i(52036),l=e.i(1292);e.s(["useParallax",0,function(e,n){let a,i,s,o,c=(0,t.c)(10);c[0]!==n?(a=void 0===n?{}:n,c[0]=n,c[1]=a):a=c[1];let{initialOverlap:d,topBuffer:u,lerpFactor:m}=a,p=void 0===d?10:d,f=void 0===u?100:u,h=void 0===m?.5:m,[x,v]=(0,l.useState)(0),g=(0,l.useRef)(null),b=(0,l.useRef)(null),w=(0,l.useRef)(null),j=(0,l.useRef)(null),y=(0,l.useRef)(0),N=(0,l.useRef)(0),C=(0,l.useRef)(null);return c[2]!==e||c[3]!==p||c[4]!==h||c[5]!==f?(i=()=>{if(!e)return;let t=()=>{let e=g.current,t=b.current;if(!e||!t)return;let l=e.getBoundingClientRect(),n=window.innerHeight,a=.5*n,i=-(.5*t.offsetHeight-p),s=n-a-l.top,o=Math.abs(i)/(1.5*(n-a-f));N.current=s>0?Math.max(-s*o,i):0},l=()=>{let e=N.current-y.current;Math.abs(e)>.5?(y.current=y.current+e*h,v(y.current),j.current=requestAnimationFrame(l)):(y.current=N.current,v(y.current),j.current=null)},n=()=>{C.current!==window.scrollY&&(C.current=window.scrollY,w.current||(w.current=requestAnimationFrame(()=>{t(),w.current=null,j.current||l()})))};return window.addEventListener("scroll",n,{passive:!0}),t(),l(),()=>{window.removeEventListener("scroll",n),w.current&&cancelAnimationFrame(w.current),j.current&&cancelAnimationFrame(j.current)}},s=[e,p,f,h],c[2]=e,c[3]=p,c[4]=h,c[5]=f,c[6]=i,c[7]=s):(i=c[6],s=c[7]),(0,l.useEffect)(i,s),c[8]!==x?(o={containerRef:g,imageRef:b,offset:x},c[8]=x,c[9]=o):o=c[9],o}])},78778,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(39686),a=e.i(81919);e.s(["ProductTourDialog",0,function(e){let i,s,o,c,d=(0,l.c)(11),{isOpen:u,onOpenChange:m,url:p,title:f}=e,h=void 0===f?"Product Tour":f;return d[0]!==h?(i=(0,t.jsx)(n.DialogTitle,{className:"sr-only",children:h}),d[0]=h,d[1]=i):i=d[1],d[2]!==p?(s=(0,t.jsx)("div",{className:"h-full w-full overflow-hidden rounded-4xl transition-opacity duration-300",children:(0,t.jsx)("div",{className:"relative aspect-video max-w-screen xl:max-w-[1280px]",children:(0,t.jsx)(a.ProductTourIframe,{url:p})})}),d[2]=p,d[3]=s):s=d[3],d[4]!==i||d[5]!==s?(o=(0,t.jsxs)(n.DialogContent,{iconWhite:!0,className:"aspect-video w-[1280px] max-w-[calc(100vw-4rem)] rounded-4xl border-none p-0 xl:max-w-[1280px]",children:[i,s]}),d[4]=i,d[5]=s,d[6]=o):o=d[6],d[7]!==u||d[8]!==m||d[9]!==o?(c=(0,t.jsx)(n.Dialog,{open:u,onOpenChange:m,children:o}),d[7]=u,d[8]=m,d[9]=o,d[10]=c):c=d[10],c}])},63391,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(76376),a=e.i(32138),i=e.i(1292),s=e.i(44886),o=e.i(52989),c=e.i(78778),d=e.i(47546);function u(e){let n,u,p,f,h=(0,l.c)(13),{productTourButtonText:x,productTourDemoUrl:v,productTourPlaceholderImageUrl:g,title:b,description:w,ctaButtons:j,badges:y,isHero:N,entryId:C,rootEntryId:S,componentChain:P}=e,{entryId:k,chain:R}=(0,d.resolvePreviewContext)(C,{rootEntryId:S,componentChain:P}),[A,E]=(0,i.useState)(!1);return h[0]!==y?(n=y.length>0&&(0,t.jsx)("div",{className:"mt-5 flex flex-row flex-wrap gap-5 md:mt-10",children:y.map(m)}),h[0]=y,h[1]=n):n=h[1],h[2]!==g||h[3]!==b?(u=g&&(0,t.jsxs)("div",{className:"relative h-[300px] w-full overflow-hidden rounded-2xl md:h-[350px]",children:[(0,t.jsx)(a.default,{src:g,alt:b||"Product Tour",fill:!0,className:"aspect-video object-cover",unoptimized:!0}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50"})]}),h[2]=g,h[3]=b,h[4]=u):u=h[4],h[5]!==v||h[6]!==E?(p=()=>{v&&E(!0)},h[5]=v,h[6]=E,h[7]=p):p=h[7],h[8]!==A||h[9]!==v||h[10]!==E||h[11]!==b?(f=v&&(0,t.jsx)(c.ProductTourDialog,{isOpen:A,onOpenChange:E,url:v,title:b??void 0}),h[8]=A,h[9]=v,h[10]=E,h[11]=b,h[12]=f):f=h[12],(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"shadow-rounded relative grid grid-cols-1 items-center gap-10 rounded-4xl bg-white p-5 md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"relative z-10 md:order-2",children:[(0,t.jsx)(N?"h1":"h2",{className:"text-3xl font-medium text-neutral-900 md:text-4xl",...(0,d.previewChainedField)(k,"title",R),children:b}),w&&(0,t.jsx)("div",{className:"mt-5 w-full md:mt-10",...(0,d.previewChainedField)(k,"description",R),children:(0,t.jsx)(o.DescriptionRichTextRenderer,{content:w.raw})}),n]}),(0,t.jsxs)("div",{className:"relative z-10 md:order-1",children:[(0,t.jsxs)("div",{className:"relative",children:[u,(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)(s.AppButton,{variant:"primary",size:"lg",className:"z-10 rounded-full",onClick:p,children:(0,t.jsx)("span",{...(0,d.previewChainedField)(k,"productTourButtonText",R),children:x||"ð Planday Product Tour"})})})]}),j.length>0&&(0,t.jsx)("div",{className:"flex flex-col items-center gap-5 pt-10 md:flex-row md:justify-end md:pt-20",children:j.map(e=>(0,t.jsx)(s.AppLink,{...e,...(0,d.previewChainedField)(k,"title",[...R??[],{fieldApiId:"ctaButtons",instanceId:e.id}]),isDark:!0},e.title))})]})]}),f]})}function m(e){return(0,t.jsx)(a.default,{src:e.url,width:e.width||100,height:e.height||100,alt:e.altText||"",className:"max-w-[60px] object-contain md:max-w-[100px]"},e.url)}var p=e.i(94237),f=e.i(25186),h=e.i(97794),x=e.i(56082);function v(){let e,n,a,s,o,c,d=(0,l.c)(8),{lang:u}=(0,h.useParams)();d[0]!==u?(e=(0,x.getLocale)(u).replace("_","-"),d[0]=u,d[1]=e):e=d[1];let m=e,p=(0,i.useRef)(null);d[2]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{window.Trustpilot&&p.current&&window.Trustpilot.loadFromElement(p.current,!0)},a=[],d[2]=n,d[3]=a):(n=d[2],a=d[3]),(0,i.useEffect)(n,a),d[4]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{window.Trustpilot&&p.current&&window.Trustpilot.loadFromElement(p.current,!0)},d[4]=s):s=d[4];let v=s;return d[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(f.default,{src:"//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",strategy:"afterInteractive",onLoad:v}),d[5]=o):o=d[5],d[6]!==m?(c=(0,t.jsx)("div",{ref:p,className:"trustpilot-widget min-h-[28px]","data-locale":m,"data-template-id":"5406e65db0d04a09e042d5fc","data-businessunit-id":"5710caeb0000ff00058b8cf1","data-style-height":"28px","data-style-width":"100%","data-token":"1f5d2fee-23e1-4198-a7ae-1b61b01f0a89",children:o}),d[6]=m,d[7]=c):c=d[7],c}var g=e.i(75430);function b(e){let n,i,c,u,m,p,h,x,b,y,N,C=(0,l.c)(60),{productTourButtonText:S,productTourDemoUrl:P,productTourPlaceholderImageUrl:k,title:R,description:A,ctaButtons:E,badges:T,isHero:_,backgroundPosition:I,trustpilotReviews:D,entryId:L,rootEntryId:F,componentChain:M}=e,O=void 0===I?"bottom":I;if(C[0]!==O||C[1]!==T||C[2]!==M||C[3]!==E||C[4]!==A||C[5]!==L||C[6]!==_||C[7]!==S||C[8]!==P||C[9]!==k||C[10]!==F||C[11]!==R||C[12]!==D){let e,l,p,f,h,x,b,j,y,N,{entryId:I,chain:z}=(0,d.resolvePreviewContext)(L,{rootEntryId:F,componentChain:M}),H=_?"h1":"h2",V=S||"ð Planday Product Tour",U="bottom"===O,B="top"===O;u="relative grid grid-cols-1 gap-10 py-5 md:gap-16 md:p-10 lg:p-20";let W=U?"text-primary-700 font-medium":"text-center font-normal text-white",Y=_?"text-4xl md:text-6xl":"text-3xl md:text-5xl";C[18]!==W||C[19]!==Y?(e=(0,g.cn)(W,Y),C[18]=W,C[19]=Y,C[20]=e):e=C[20];
1let $=A&&(0,t.jsx)("div",{className:"max-w-[550px] md:w-1/2",...(0,d.previewChainedField)(I,"description",z),children:(0,t.jsx)(o.DescriptionRichTextRenderer,{content:A.raw,isDark:!U})});C[21]!==D?(l=D&&(0,t.jsx)(v,{}),C[21]=D,C[22]=l):l=C[22],C[23]!==T?(p=T.length>0&&(0,t.jsx)("div",{className:"flex flex-row flex-wrap gap-5 md:justify-end",children:T.map(w)}),C[23]=T,C[24]=p):p=C[24],C[25]!==l||C[26]!==p?(f=(0,t.jsxs)("div",{className:"flex flex-col gap-5 md:w-1/2 md:items-end",children:[l,p]}),C[25]=l,C[26]=p,C[27]=f):f=C[27],C[28]!==$||C[29]!==f?(h=(0,t.jsxs)("div",{className:"mt-5 flex w-full flex-col items-center justify-between gap-5 md:mt-10 md:flex-row",children:[$,f]}),C[28]=$,C[29]=f,C[30]=h):h=C[30],m=(0,t.jsxs)("div",{className:"relative z-10",children:[(0,t.jsx)(H,{className:e,...(0,d.previewChainedField)(I,"title",z),children:R}),h]}),n="relative z-10",C[31]!==P?(x=e=>{window.Storylane&&window.Storylane.Play({type:"preview_embed",demo_type:"image",width:2560,height:1439.3,element:e.currentTarget,demo_url:P})},C[31]=P,C[32]=x):x=C[32];let G=(0,t.jsx)("button",{className:"sl-preview-cta",onClick:x,children:(0,t.jsx)("span",{...(0,d.previewChainedField)(I,"productTourButtonText",z),children:V})});C[33]!==G?(b=(0,t.jsx)("div",{className:"sl-preview-heading z-20",children:G}),C[33]=G,C[34]=b):b=C[34];let q=!!_;C[35]!==k||C[36]!==q?(j=(0,t.jsx)("div",{className:"sl-preview",children:(0,t.jsx)("div",{className:"absolute inset-0 z-10 after:absolute after:inset-0 after:z-10 after:bg-black after:opacity-30 after:content-['']",children:(0,t.jsx)(a.default,{src:k,alt:"Product tour preview",fill:!0,priority:q,className:"object-contain object-center"})})}),C[35]=k,C[36]=q,C[37]=j):j=C[37],C[38]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)("iframe",{title:"Product Tour",className:"sl-demo",name:"sl-embed",allow:"fullscreen"}),C[38]=y):y=C[38],C[39]!==j?(N=(0,t.jsxs)("div",{className:"sl-embed","data-sl-demo-type":"image",children:[j,y]}),C[39]=j,C[40]=N):N=C[40],C[41]!==b||C[42]!==N?(i=(0,t.jsx)("div",{className:"mx-5",children:(0,t.jsxs)("div",{className:"sl-embed-container sl-embed-shadow",children:[b,N]})}),C[41]=b,C[42]=N,C[43]=i):i=C[43],c=E.length>0&&(0,t.jsx)("div",{className:"flex flex-col items-center gap-5 pt-10 md:flex-row md:justify-end md:pt-20",children:E.map(e=>(0,t.jsx)(s.AppLink,{...e,...(0,d.previewChainedField)(I,"title",[...z??[],{fieldApiId:"ctaButtons",instanceId:e.id}]),isDark:!B},e.title))}),C[0]=O,C[1]=T,C[2]=M,C[3]=E,C[4]=A,C[5]=L,C[6]=_,C[7]=S,C[8]=P,C[9]=k,C[10]=F,C[11]=R,C[12]=D,C[13]=n,C[14]=i,C[15]=c,C[16]=u,C[17]=m}else n=C[13],i=C[14],c=C[15],u=C[16],m=C[17];C[44]!==n||C[45]!==i||C[46]!==c?(p=(0,t.jsxs)("div",{className:n,children:[i,c]}),C[44]=n,C[45]=i,C[46]=c,C[47]=p):p=C[47];let z=O||"bottom";return C[48]!==z?(h=j({backgroundPosition:z}),C[48]=z,C[49]=h):h=C[49],C[50]!==h?(x=(0,t.jsx)("div",{className:h}),C[50]=h,C[51]=x):x=C[51],C[52]!==x||C[53]!==u||C[54]!==m||C[55]!==p?(b=(0,t.jsxs)("div",{className:u,children:[m,p,x]}),C[52]=x,C[53]=u,C[54]=m,C[55]=p,C[56]=b):b=C[56],C[57]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(f.default,{src:"https://js.storylane.io/js/v2/storylane.js",strategy:"afterInteractive"}),C[57]=y):y=C[57],C[58]!==b?(N=(0,t.jsxs)(t.Fragment,{children:[b,y]}),C[58]=b,C[59]=N):N=C[59],N}function w(e){return(0,t.jsx)(a.default,{src:e.url,width:e.width||100,height:e.height||100,alt:e.altText||"",className:"object-contain"},e.url)}let j=(0,p.cva)("absolute -left-5 w-[calc(100%+40px)] [background:var(--gradient-medium-flipped)] md:left-0 md:w-full md:rounded-4xl",{variants:{backgroundPosition:{top:"top-0 h-[60%]",center:"h-full inset-y-0",bottom:"bottom-0 h-1/2"}}});function y(e){let n,a=(0,l.c)(4);if(e.isColumn){let l;return a[0]!==e?(l=(0,t.jsx)(u,{...e}),a[0]=e,a[1]=l):l=a[1],l}return a[2]!==e?(n=(0,t.jsx)(b,{...e}),a[2]=e,a[3]=n):n=a[3],n}e.s(["SectionProductTour",0,function(e){let a,i,s=(0,l.c)(5);return s[0]!==e?(a=(0,t.jsx)(y,{...e,rootEntryId:e.entryId}),s[0]=e,s[1]=a):a=s[1],s[2]!==e.scrollId||s[3]!==a?(i=(0,t.jsx)(n.SectionWrapper,{id:e.scrollId,children:a}),s[2]=e.scrollId,s[3]=a,s[4]=i):i=s[4],i},"SectionProductTourComponent",0,y],63391)},53645,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(32138),a=e.i(44886),i=e.i(24959),s=e.i(80918),o=e.i(70),c=e.i(76376),d=e.i(4384),u=e.i(47546),m=e.i(75430),p=e.i(63391);let f={1:"lg:grid-cols-1",2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-4"};e.s(["SectionCampaignValueCards",0,function(e){let h,x,v,g,b,w,j,y,N,C,S,P,k,R,A,E,T,_=(0,l.c)(55),{topImage:I,topImageText:D,header:L,valueCards:F,sectionProductTour:M,ctas:O,isFirstSection:z,entryId:H,scrollId:V}=e;_[0]===Symbol.for("react.memo_cache_sentinel")?(h={initialOverlap:0},_[0]=h):h=_[0];
1let{containerRef:U,imageRef:B,offset:W}=(0,d.useParallax)(!!I,h);_[1]!==H||_[2]!==B||_[3]!==z||_[4]!==I||_[5]!==D?(x=I&&(0,t.jsx)("div",{ref:B,className:(0,m.cn)(c.innerWrapperClasses,"relative z-0 h-[400px] !px-0 md:h-[500px] md:!px-10 lg:h-[600px]"),children:(0,t.jsxs)("div",{className:"relative h-full w-full after:absolute after:inset-0 after:z-20 after:h-full after:w-full after:bg-black/50 after:content-['']",children:[(0,t.jsx)(n.default,{src:I.url,alt:I.altText??"",width:I.width??1200,height:I.height??1200,priority:z,className:"relative z-10 h-full w-full object-cover"}),D&&(0,t.jsx)("p",{className:"absolute top-1/4 left-1/2 z-30 w-3/4 -translate-x-1/2 px-5 text-center text-3xl text-white md:text-4xl lg:text-5xl",...(0,u.previewChainedField)(H,"topImageText"),children:D})]})}),_[1]=H,_[2]=B,_[3]=z,_[4]=I,_[5]=D,_[6]=x):x=_[6],_[7]!==W||_[8]!==I?(v=I?{transform:`translateY(${W}px)`,marginBottom:`${W}px`}:void 0,_[7]=W,_[8]=I,_[9]=v):v=_[9],_[10]!==z?(g=(0,t.jsx)(n.default,{src:"/vectors/y-dark.svg",alt:"","aria-hidden":"true",priority:z,width:1920,height:1080,className:"absolute inset-0 z-10 h-full w-[105%] object-cover md:h-[105%]"}),_[10]=z,_[11]=g):g=_[11],_[12]===Symbol.for("react.memo_cache_sentinel")?(b=(0,m.cn)(c.innerWrapperClasses,"relative z-20 py-10 lg:py-20"),_[12]=b):b=_[12],_[13]!==H||_[14]!==L?(w=L&&(0,t.jsx)(o.SectionHeader,{...L,rootEntryId:H,componentChain:(0,u.appendPreviewComponentChain)(void 0,"header",L.id),isDark:!0,className:"mb-10 lg:mb-16"}),_[13]=H,_[14]=L,_[15]=w):w=_[15],_[16]!==H||_[17]!==z?(j=e=>{let{id:l,titleWithImageTitle:a,titleWithImageImage:i}=e;return(0,t.jsxs)("div",{className:"flex h-full flex-col overflow-hidden rounded-4xl bg-white",children:[(0,t.jsx)("div",{className:"relative h-[250px] w-full bg-neutral-200",children:(0,t.jsx)(n.default,{src:i?.url??"",alt:i?.altText??"",height:250,width:250,priority:z,className:"h-full w-full object-cover"})}),(0,t.jsx)("h3",{className:"p-5 text-center text-xl font-bold text-neutral-900",...(0,u.previewNestedField)(H,"titleWithImageTitle","valueCards",l),children:a})]})},_[16]=H,_[17]=z,_[18]=j):j=_[18],_[19]!==j||_[20]!==F?(y=(0,t.jsx)(i.Carousel,{className:"-ml-5 w-[calc(100%+40px)] lg:hidden",slideButtonAriaLabel:"Select value card",items:F,renderSlide:j}),_[19]=j,_[20]=F,_[21]=y):y=_[21];let Y=f[Math.min(F.length,4)]??"lg:grid-cols-4";if(_[22]!==Y?(N=(0,m.cn)("hidden gap-8 lg:grid",Y),_[22]=Y,_[23]=N):N=_[23],_[24]!==H||_[25]!==F){let e;_[27]!==H?(e=e=>{let{id:l,titleWithImageTitle:a,titleWithImageImage:i}=e;return(0,t.jsxs)("li",{className:"flex h-full flex-col overflow-hidden rounded-4xl bg-white",children:[(0,t.jsx)("div",{className:"relative h-[350px] w-full bg-neutral-200",children:(0,t.jsx)(n.default,{src:i?.url??"",alt:i?.altText??"",height:350,width:350,className:"h-full w-full object-cover"})}),(0,t.jsx)("h3",{className:"p-8 text-center text-xl font-bold text-neutral-900",...(0,u.previewNestedField)(H,"titleWithImageTitle","valueCards",l),children:a})]},l)},_[27]=H,_[28]=e):e=_[28],C=F.map(e),_[24]=H,_[25]=F,_[26]=C}else C=_[26];return _[29]!==N||_[30]!==C?(S=(0,t.jsx)("ul",{className:N,children:C}),_[29]=N,_[30]=C,_[31]=S):S=_[31],_[32]!==M?(P=M&&(0,t.jsx)("div",{className:"-mx-5 mt-8 mb-10 md:mx-0 lg:mb-16",children:(0,t.jsx)(s.PreviewEntry,{id:M.id,children:(0,t.jsx)(p.SectionProductTourComponent,{...M,entryId:M.id})})}),_[32]=M,_[33]=P):P=_[33],_[34]!==O||_[35]!==H||_[36]!==M?(k=O&&(0,t.jsx)("div",{className:(0,m.cn)("mx-auto flex flex-col flex-wrap gap-5 sm:w-fit sm:flex-row",!M&&"mt-10 lg:mt-16"),children:O.map(e=>(0,t.jsx)(a.AppLink,{...e,rootEntryId:H,componentChain:(0,u.appendPreviewComponentChain)(void 0,"ctas",e.id),isDark:!0},e.id))}),_[34]=O,_[35]=H,_[36]=M,_[37]=k):k=_[37],_[38]!==S||_[39]!==P||_[40]!==k||_[41]!==w||_[42]!==y?(R=(0,t.jsxs)("div",{className:b,children:[w,y,S,P,k]}),_[38]=S,_[39]=P,_[40]=k,_[41]=w,_[42]=y,_[43]=R):R=_[43],_[44]!==R||_[45]!==v||_[46]!==g?(A=(0,t.jsxs)("div",{className:"relative z-10 overflow-hidden [background:var(--gradient-darker)] md:rounded-[48px]",style:v,children:[g,R]}),_[44]=R,_[45]=v,_[46]=g,_[47]=A):A=_[47],_[48]!==U||_[49]!==A||_[50]!==x?(E=(0,t.jsxs)("div",{ref:U,children:[x,A]}),_[48]=U,_[49]=A,_[50]=x,_[51]=E):E=_[51],_[52]!==V||_[53]!==E?(T=(0,t.jsx)(c.SectionWrapper,{id:V,className:"max-w-none px-0 2xl:max-w-none",children:E}),_[52]=V,_[53]=E,_[54]=T):T=_[54],T}])}
1,14951,73666,17203,81278,e=>{"use strict";var t,l,n=e.i(95295),a=e.i(52036),i=e.i(94237),s=e.i(32138),o=e.i(44886),c=e.i(63661),d="Document",u="FragmentDefinition";class m extends Error{constructor(e,t,l,n,a,i,s){super(e),this.name="GraphQLError",this.message=e,a&&(this.path=a),t&&(this.nodes=Array.isArray(t)?t:[t]),l&&(this.source=l),n&&(this.positions=n),i&&(this.originalError=i);var o=s;if(!o&&i){var c=i.extensions;c&&"object"==typeof c&&(o=c)}this.extensions=o||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}}function p(e){return new m(`Syntax Error: Unexpected token at ${l} in ${e}`)}function f(e){if(e.lastIndex=l,e.test(t))return t.slice(l,l=e.lastIndex)}var h=/ +(?=[^\s])/y;function x(){for(var e=0|t.charCodeAt(l++);9===e||10===e||13===e||32===e||35===e||44===e||65279===e;e=0|t.charCodeAt(l++))if(35===e)for(;(e=0|t.charCodeAt(l++))&&10!==e&&13!==e;);l--}function v(){for(var e=l,n=0|t.charCodeAt(l++);n>=48&&n<=57||n>=65&&n<=90||95===n||n>=97&&n<=122;n=0|t.charCodeAt(l++));if(e===l-1)throw p("Name");var a=t.slice(e,--l);return x(),a}function g(){return{kind:"Name",value:v()}}var b=/(?:"""|(?:[\s\S]*?[^\\])""")/y,w=/(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;function j(e){var n;switch(t.charCodeAt(l)){case 91:l++,x();for(var a=[];93!==t.charCodeAt(l);)a.push(j(e));return l++,x(),{kind:"ListValue",values:a};case 123:l++,x();for(var i=[];125!==t.charCodeAt(l);){var s=g();if(58!==t.charCodeAt(l++))throw p("ObjectField");x(),i.push({kind:"ObjectField",name:s,value:j(e)})}return l++,x(),{kind:"ObjectValue",fields:i};case 36:if(e)throw p("Variable");return l++,{kind:"Variable",name:g()};case 34:if(34===t.charCodeAt(l+1)&&34===t.charCodeAt(l+2)){if(l+=3,null==(n=f(b)))throw p("StringValue");return x(),{kind:"StringValue",value:function(e){for(var t=e.split("\n"),l="",n=0,a=0,i=t.length-1,s=0;s<t.length;s++)h.lastIndex=0,h.test(t[s])&&(s&&(!n||h.lastIndex<n)&&(n=h.lastIndex),a=a||s,i=s);for(var o=a;o<=i;o++)o!==a&&(l+="\n"),l+=t[o].slice(n).replace(/\\"""/g,'"""');return l}(n.slice(0,-3)),block:!0}}var o,c=l;l++;var d=!1;for(o=0|t.charCodeAt(l++);92===o&&(l++,d=!0)||10!==o&&13!==o&&34!==o&&o;o=0|t.charCodeAt(l++));if(34!==o)throw p("StringValue");return n=t.slice(c,l),x(),{kind:"StringValue",value:d?JSON.parse(n):n.slice(1,-1),block:!1};case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var u,m=l++;(u=0|t.charCodeAt(l++))>=48&&u<=57;);var y=t.slice(m,--l);if(46!==(u=t.charCodeAt(l))&&69!==u&&101!==u)return x(),{kind:"IntValue",value:y};if(null==(n=f(w)))throw p("FloatValue");return x(),{kind:"FloatValue",value:y+n};case 110:if(117===t.charCodeAt(l+1)&&108===t.charCodeAt(l+2)&&108===t.charCodeAt(l+3))return l+=4,x(),{kind:"NullValue"};break;case 116:if(114===t.charCodeAt(l+1)&&117===t.charCodeAt(l+2)&&101===t.charCodeAt(l+3))return l+=4,x(),{kind:"BooleanValue",value:!0};break;case 102:if(97===t.charCodeAt(l+1)&&108===t.charCodeAt(l+2)&&115===t.charCodeAt(l+3)&&101===t.charCodeAt(l+4))return l+=5,x(),{kind:"BooleanValue",value:!1}}return{kind:"EnumValue",value:v()}}function y(e){if(40===t.charCodeAt(l)){var n=[];l++,x();do{var a=g();if(58!==t.charCodeAt(l++))throw p("Argument");x(),n.push({kind:"Argument",name:a,value:j(e)})}while(41!==t.charCodeAt(l))return l++,x(),n}}function N(e){if(64===t.charCodeAt(l)){var n=[];do l++,n.push({kind:"Directive",name:g(),arguments:y(e)});while(64===t.charCodeAt(l))return n}}function C(){if(123!==t.charCodeAt(l++))throw p("SelectionSet");return x(),S()}function S(){var e=[];do if(46===t.charCodeAt(l)){if(46!==t.charCodeAt(++l)||46!==t.charCodeAt(++l))throw p("SelectionSet");switch(l++,x(),t.charCodeAt(l)){case 64:e.push({kind:"InlineFragment",typeCondition:void 0,directives:N(!1),selectionSet:C()});break;case 111:110===t.charCodeAt(l+1)?(l+=2,x(),e.push({kind:"InlineFragment",typeCondition:{kind:"NamedType",name:g()},directives:N(!1),selectionSet:C()})):e.push({kind:"FragmentSpread",name:g(),directives:N(!1)});break;case 123:l++,x(),e.push({kind:"InlineFragment",typeCondition:void 0,directives:void 0,selectionSet:S()});break;default:e.push({kind:"FragmentSpread",name:g(),directives:N(!1)})}}else{var n=g(),a=void 0;58===t.charCodeAt(l)&&(l++,x(),a=n,n=g());var i=y(!1),s=N(!1),o=void 0;123===t.charCodeAt(l)&&(l++,x(),o=S()),e.push({kind:"Field",alias:a,name:n,arguments:i,directives:s,selectionSet:o})}while(125!==t.charCodeAt(l))return l++,x(),{kind:"SelectionSet",selections:e}}function P(e,t,l){for(var n="",a=0;a<e.length;a++)a&&(n+=t),n+=l(e[a]);return n}var k="\n",R={OperationDefinition(e){var t="";e.description&&(t+=R.StringValue(e.description)+"\n"),t+=e.operation,e.name&&(t+=" "+e.name.value),e.variableDefinitions&&e.variableDefinitions.length&&(e.name||(t+=" "),t+="("+P(e.variableDefinitions,", ",R.VariableDefinition)+")"),e.directives&&e.directives.length&&(t+=" "+P(e.directives," ",R.Directive));var l=R.SelectionSet(e.selectionSet);return"query"!==t?t+" "+l:l},VariableDefinition(e){var t="";return e.description&&(t+=R.StringValue(e.description)+" "),t+=R.Variable(e.variable)+": "+A(e.type),e.defaultValue&&(t+=" = "+A(e.defaultValue)),e.directives&&e.directives.length&&(t+=" "+P(e.directives," ",R.Directive)),t},Field(e){var t=e.alias?e.alias.value+": "+e.name.value:e.name.value;if(e.arguments&&e.arguments.length){var l=P(e.arguments,", ",R.Argument);t.length+l.length+2>80?t+="("+(k+=" ")+P(e.arguments,k,R.Argument)+(k=k.slice(0,-2))+")":t+="("+l+")"}return e.directives&&e.directives.length&&(t+=" "+P(e.directives," ",R.Directive)),e.selectionSet&&e.selectionSet.selections.length&&(t+=" "+R.SelectionSet(e.selectionSet)),t}
1,StringValue:e=>e.block?('"""\n'+e.value.replace(/"""/g,'\\"""')+'\n"""').replace(/\n/g,k):JSON.stringify(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+P(e.values,", ",A)+"]",ObjectValue:e=>"{"+P(e.fields,", ",R.ObjectField)+"}",ObjectField:e=>e.name.value+": "+A(e.value),Document:e=>e.definitions&&e.definitions.length?P(e.definitions,"\n\n",A):"",SelectionSet:e=>"{"+(k+=" ")+P(e.selections,k,A)+(k=k.slice(0,-2))+"}",Argument:e=>e.name.value+": "+A(e.value),FragmentSpread(e){var t="..."+e.name.value;return e.directives&&e.directives.length&&(t+=" "+P(e.directives," ",R.Directive)),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),e.directives&&e.directives.length&&(t+=" "+P(e.directives," ",R.Directive)),t+" "+R.SelectionSet(e.selectionSet)},FragmentDefinition(e){var t="";return e.description&&(t+=R.StringValue(e.description)+"\n"),t+="fragment "+e.name.value+" on "+e.typeCondition.name.value,e.directives&&e.directives.length&&(t+=" "+P(e.directives," ",R.Directive)),t+" "+R.SelectionSet(e.selectionSet)},Directive(e){var t="@"+e.name.value;return e.arguments&&e.arguments.length&&(t+="("+P(e.arguments,", ",R.Argument)+")"),t},NamedType:e=>
1e.name.value,ListType:e=>"["+A(e.type)+"]",NonNullType:e=>A(e.type)+"!"},A=e=>R[e.kind](e),E=0,T=new Set;function _(){function e(e,n){var a,i,s=(t=e.body?e.body:e,l=0,x(),{kind:"Document",definitions:function(){var e=[];do{var n=void 0;if(34===t.charCodeAt(l)&&(n=j(!0)),123===t.charCodeAt(l)){if(n)throw p("Document");l++,x(),e.push({kind:"OperationDefinition",operation:"query",name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:S()})}else{var a=v();switch(a){case"fragment":e.push(function(e){var n=g();if(111!==t.charCodeAt(l++)||110!==t.charCodeAt(l++))throw p("FragmentDefinition");x();var a={kind:"FragmentDefinition",name:n,typeCondition:{kind:"NamedType",name:g()},directives:N(!1),selectionSet:C()};return e&&(a.description=e),a}(n));break;case"query":case"mutation":case"subscription":var i,s=void 0;40!==(i=t.charCodeAt(l))&&64!==i&&123!==i&&(s=g());var o={kind:"OperationDefinition",operation:a,name:s,variableDefinitions:function(){if(x(),40===t.charCodeAt(l)){var e=[];l++,x();do{var n=void 0;if(34===t.charCodeAt(l)&&(n=j(!0)),36!==t.charCodeAt(l++))throw p("Variable");var a=g();if(58!==t.charCodeAt(l++))throw p("VariableDefinition");x();var i=function(){for(var e=0;91===t.charCodeAt(l);)e++,l++,x();var n={kind:"NamedType",name:g()};do if(33===t.charCodeAt(l)&&(l++,x(),n={kind:"NonNullType",type:n}),e){if(93!==t.charCodeAt(l++))throw p("NamedType");x(),n={kind:"ListType",type:n}}while(e--)return n}(),s=void 0;61===t.charCodeAt(l)&&(l++,x(),s=j(!0)),x();var o={kind:"VariableDefinition",variable:{kind:"Variable",name:a},type:i,defaultValue:s,directives:N(!0)};n&&(o.description=n),e.push(o)}while(41!==t.charCodeAt(l))return l++,x(),e}}(),directives:N(!1),selectionSet:C()};n&&(o.description=n),e.push(o);break;default:throw p("Document")}}}while(l<t.length)return e}(),loc:{start:0,end:t.length,startToken:void 0,endToken:void 0,source:{body:t,name:"graphql.web",locationOffset:{line:1,column:1}}}}).definitions,o=new Set;for(var c of n||[])for(var m of c.definitions)m.kind!==u||o.has(m)||(s.push(m),o.add(m));return(a=s[0].kind===u)&&s[0].directives&&(s[0].directives=s[0].directives.filter(e=>"_unmask"!==e.name.value)),{kind:d,definitions:s,get loc(){if(!i&&a){var f=e+function(e){try{E++;var t="";for(var l of e)if(!T.has(l)){T.add(l);var{loc:n}=l;n&&(t+=n.source.body)}return t}finally{0==--E&&T.clear()}}(n||[]);return{start:0,end:f.length,source:{body:f,name:"GraphQLTada",locationOffset:{line:1,column:1}}}}return i},set loc(r){i=r}}}return e.scalar=function(e,t){return t},e.persisted=function(e,t){return{kind:d,definitions:t?t.definitions:[],documentId:e}},e}_();let I=_(),D=e=>{if(!e)return!1;switch(e.type){case"page":return!!e.page?.slug;case"resource":return!!e.resource?.slug;case"external":return!!e.externalUrl;default:return!1}},L=I(` 2 fragment PageSlug on Page { 3 slug 4 isDisabled 5 } 6`),F=I(` 7 fragment LinkDestination on LinkDestination { 8 type 9 searchQuery 10 linkTrackingId 11 scrollId 12 resource { 13 contentType { 14 route 15 } 16 slug 17 } 18 page { 19 localizations(locales: [$locale], includeCurrent: true) { 20 ...PageSlug 21 } 22 } 23 localizations(locales: [$locale], includeCurrent: true) { 24 externalUrl 25 } 26 } 27 `,[L]);I(` 28 fragment Link on Link { 29 id 30 variant 31 icon 32 size 33 fitWidth 34 localizations(locales: [$locale], includeCurrent: true) { 35 title 36 } 37 destination { 38 ...LinkDestination 39 } 40 }
41 `,[F]),e.s(["hasValidLinkDestination",0,D],73666);var M=e.i(47546),O=e.i(75430);let z="inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-xs font-semibold";function H(e){let t,l,i,d,u=(0,a.c)(21),{pill:m,className:p,previewAttrs:f,asLink:h}=e,{textWithIconAndLinkTitle:x,textWithIconAndLinkIcon:v,textWithIconAndLinkLink:g,theme:b}=m;if(!x)return null;let w=b??"gray";u[0]!==v?(t=v?.url&&(0,n.jsx)(s.default,{src:v.url,alt:"",width:16,height:16,className:"size-4 shrink-0 object-contain","aria-hidden":!0}),u[0]=v,u[1]=t):t=u[1],u[2]!==t||u[3]!==x?(l=(0,n.jsxs)(n.Fragment,{children:[t,x]}),u[2]=t,u[3]=x,u[4]=l):l=u[4];let j=l;if((void 0===h||h)&&D(g)){let e,t;return u[5]!==p||u[6]!==w?(e=(0,O.cn)(z,(0,c.getTagTheme)(w,!0),c.TAG_HOVER_BACKGROUNDS[w],"transition-colors",p),u[5]=p,u[6]=w,u[7]=e):e=u[7],u[8]!==j||u[9]!==g||u[10]!==f||u[11]!==e||u[12]!==x?(t=(0,n.jsx)(o.AppLink,{clean:!0,destination:g,label:x,...f,className:e,children:j}),u[8]=j,u[9]=g,u[10]=f,u[11]=e,u[12]=x,u[13]=t):t=u[13],t}return u[14]!==p||u[15]!==w?(i=(0,O.cn)(z,(0,c.getTagTheme)(w,!0),p),u[14]=p,u[15]=w,u[16]=i):i=u[16],u[17]!==j||u[18]!==f||u[19]!==i?(d=(0,n.jsx)("span",{...f,className:i,children:j}),u[17]=j,u[18]=f,u[19]=i,u[20]=d):d=u[20],d}function V(e){let t,l,i,s=(0,a.c)(14),{pills:o,className:c,asLinks:d,rootEntryId:u,componentChain:m}=e,p=void 0===d||d;if(!o.length)return null;if(s[0]!==c?(t=(0,O.cn)("flex flex-wrap items-center gap-2",c),s[0]=c,s[1]=t):t=s[1],s[2]!==p||s[3]!==m||s[4]!==o||s[5]!==u){let e;s[7]!==p||s[8]!==m||s[9]!==u?(e=e=>(0,n.jsx)(H,{pill:e,asLink:p,previewAttrs:(0,M.previewChainedField)(u,"textWithIconAndLinkTitle",(0,M.appendPreviewComponentChain)(m,"pills",e.id))},e.id),s[7]=p,s[8]=m,s[9]=u,s[10]=e):e=s[10],l=o.map(e),s[2]=p,s[3]=m,s[4]=o,s[5]=u,s[6]=l}else l=s[6];return s[11]!==t||s[12]!==l?(i=(0,n.jsx)("div",{className:t,children:l}),s[11]=t,s[12]=l,s[13]=i):i=s[13],i}e.s(["PillList",0,V],17203);var U=e.i(94924);function B(e){let t,l,i=(0,a.c)(5),{content:s,paragraphSize:o}=e,c=void 0===o?"md":o;return i[0]!==c?(t={p:e=>{let{children:t}=e;return(0,n.jsx)("p",{className:(0,O.cn)("text-neutral-700","sm"===c?"text-sm":"text-md"),children:t})}},i[0]=c,i[1]=t):t=i[1],i[2]!==s||i[3]!==t?(l=(0,n.jsx)(U.RichText,{content:s,renderers:t}),i[2]=s,i[3]=t,i[4]=l):l=i[4],l}e.s(["RichTextRenderer",0,B],81278);let W=e=>{let t,l=(0,a.c)(10),{children:i,className:s,link:c,title:d}=e;if(c){let e,t;return l[0]!==s?(e=(0,O.cn)(s,"hover:shadow-nav-sub-item transition-all duration-300"),l[0]=s,l[1]=e):e=l[1],l[2]!==i||l[3]!==c||l[4]!==e||l[5]!==d?(t=(0,n.jsx)(o.AppLink,{clean:!0,destination:c,className:e,label:d,children:i}),l[2]=i,l[3]=c,l[4]=e,l[5]=d,l[6]=t):t=l[6],t}return l[7]!==i||l[8]!==s?(t=(0,n.jsx)("div",{className:s,children:i}),l[7]=i,l[8]=s,l[9]=t):t=l[9],t},Y=(0,i.cva)("flex w-full h-full",{variants:{variant:{primary:"border-border items-start gap-x-6 md:gap-x-4 lg:gap-x-6 rounded-3xl border bg-neutral-50 p-6 md:px-4 lg:px-6",secondary:"flex-col items-start gap-7 rounded-lg px-6 md:px-8 py-8 md:py-12",tertiary:"flex-col items-center justify-start rounded-lg bg-white px-6 py-10",quaternary:"flex-col items-start gap-4 md:gap-7 rounded-lg px-6 md:px-4 lg:px-8 py-8 md:py-12",imageTop:"flex-col gap-4 md:gap-7 justify-between lg:justify-start rounded-3xl p-0 max-h-full min-h-full h-auto [@media(max-height:900px)]:gap-3"}}}),$=(0,i.cva)("text-base font-semibold md:text-xl",{variants:{color:{teal:"text-cyan-600",pink:"text-pink-800",orange:"text-orange-800",purple:"text-purple-700",transparent:"text-neutral-900",gray:"text-neutral-900",primary:"text-primary-700",darkGreen:"text-green-700",blue:"text-primary-600"}}}),G=(0,i.cva)("",{variants:{borderColor:{teal:"bg-cyan-600",pink:"bg-pink-700",orange:"bg-orange-700",purple:"bg-purple-700",transparent:"",gray:"",darkGreen:"bg-green-700",blue:"bg-primary-300",primary:"bg-primary-600"}}}),q=(0,i.cva)("",{variants:{borderColor:{teal:"border border-border border-l-cyan-600 border-l-10 bg-neutral-50",pink:"border border-border border-l-pink-700 border-l-10 bg-neutral-50",orange:"border border-border border-l-orange-700 border-l-10 bg-neutral-50",purple:"border border-border border-l-purple-700 border-l-10 bg-neutral-50",transparent:"border-none bg-white",gray:"border-border border bg-neutral-50",darkGreen:"border border-border border-l-green-700 border-l-10 bg-neutral-50",blue:"border border-border border-l-primary-300 border-l-10 bg-neutral-50",primary:"border border-border border-l-primary-600 border-l-10 bg-neutral-50"}}});
41e.s(["Card",0,function(e){let t,l,i,c,d,u=(0,a.c)(167),{id:m,title:p,description:f,iconText:h,borderColor:x,cardImage:v,cardLink:g,icon:b,link:w,pills:j,variant:y,className:N,copyAlignment:C,preloadImage:S,rootEntryId:P,componentChain:k}=e,R=void 0!==S&&S,A=b?.url;u[0]!==k||u[1]!==m||u[2]!==w||u[3]!==P?({entryId:i,chain:t}=(0,M.resolvePreviewContext)(m,{rootEntryId:P,componentChain:k}),c=(0,M.previewChainedField)(i,"title",t),l=(0,M.previewChainedField)(i,"description",t),d=w?(0,M.appendPreviewComponentChain)(t,"link",w.id):void 0,u[0]=k,u[1]=m,u[2]=w,u[3]=P,u[4]=t,u[5]=l,u[6]=i,u[7]=c,u[8]=d):(t=u[4],l=u[5],i=u[6],c=u[7],d=u[8]);let E=d;if("primary"===y){let e,a,o,d,m,h,v;return u[9]!==x||u[10]!==N?(e=(0,O.cn)(Y({variant:"primary"}),q({borderColor:x}),N),u[9]=x,u[10]=N,u[11]=e):e=u[11],u[12]!==b||u[13]!==A||u[14]!==R?(a=A&&(0,n.jsx)(s.default,{src:b.url,alt:b.altText??"",width:32,height:32,className:"max-h-8 min-h-8 min-w-8 md:max-h-6 md:min-h-6 md:min-w-6 lg:max-h-8 lg:min-h-8 lg:min-w-8",priority:R}),u[12]=b,u[13]=A,u[14]=R,u[15]=a):a=u[15],u[16]!==c||u[17]!==p?(o=(0,n.jsx)("h3",{...c,className:"text-lg font-semibold break-words hyphens-auto text-neutral-900",children:p}),u[16]=c,u[17]=p,u[18]=o):o=u[18],u[19]!==f||u[20]!==l?(d=f&&(0,n.jsx)("div",{...l,children:(0,n.jsx)(B,{content:f.raw,paragraphSize:"sm"})}),u[19]=f,u[20]=l,u[21]=d):d=u[21],u[22]!==g||u[23]!==j||u[24]!==t||u[25]!==i?(m=j&&(0,n.jsx)(V,{pills:j,asLinks:!g,className:"pt-2",rootEntryId:i,componentChain:t}),u[22]=g,u[23]=j,u[24]=t,u[25]=i,u[26]=m):m=u[26],u[27]!==o||u[28]!==d||u[29]!==m?(h=(0,n.jsxs)("div",{className:"space-y-1",children:[o,d,m]}),u[27]=o,u[28]=d,u[29]=m,u[30]=h):h=u[30],u[31]!==g||u[32]!==e||u[33]!==a||u[34]!==h||u[35]!==p?(v=(0,n.jsx)("div",{className:"h-full w-full list-none",children:(0,n.jsxs)(W,{title:p,link:g,className:e,children:[a,h]})}),u[31]=g,u[32]=e,u[33]=a,u[34]=h,u[35]=p,u[36]=v):v=u[36],v}if("secondary"===y){let e,t,a,i,o,d;return u[37]!==x||u[38]!==N?(e=(0,O.cn)(Y({variant:"secondary"}),q({borderColor:x}),N),u[37]=x,u[38]=N,u[39]=e):e=u[39],u[40]!==b||u[41]!==A||u[42]!==R?(t=A&&(0,n.jsx)(s.default,{src:b.url,alt:b.altText??"",width:32,height:32,className:"max-h-8 min-h-8 min-w-8",priority:R}),u[40]=b,u[41]=A,u[42]=R,u[43]=t):t=u[43],u[44]!==c||u[45]!==p?(a=(0,n.jsx)("h3",{...c,className:"text-xl font-semibold break-words hyphens-auto text-neutral-900 md:text-2xl",children:p}),u[44]=c,u[45]=p,u[46]=a):a=u[46],u[47]!==f||u[48]!==l?(i=f&&(0,n.jsx)("div",{...l,children:(0,n.jsx)(B,{content:f.raw,paragraphSize:"sm"})}),u[47]=f,u[48]=l,u[49]=i):i=u[49],u[50]!==a||u[51]!==i?(o=(0,n.jsxs)("div",{className:"space-y-2",children:[a,i]}),u[50]=a,u[51]=i,u[52]=o):o=u[52],u[53]!==g||u[54]!==e||u[55]!==t||u[56]!==o||u[57]!==p?(d=(0,n.jsx)("div",{className:"h-full w-full list-none",children:(0,n.jsxs)(W,{title:p,link:g,className:e,children:[t,o]})}),u[53]=g,u[54]=e,u[55]=t,u[56]=o,u[57]=p,u[58]=d):d=u[58],d}if("tertiary"===y){let e,t,a,d,m,h,v;u[59]!==x||u[60]!==N||u[61]!==C?(e=(0,O.cn)(Y({variant:"tertiary"}),q({borderColor:x}),"left"===C?"text-left":"text-center",N),u[59]=x,u[60]=N,u[61]=C,u[62]=e):e=u[62],u[63]!==b||u[64]!==A||u[65]!==R?(t=A&&(0,n.jsx)(s.default,{src:b.url,alt:b.altText??"",width:50,height:50,className:"mx-auto mb-10 !max-h-12 min-h-12 min-w-12",priority:R}),u[63]=b,u[64]=A,u[65]=R,u[66]=t):t=u[66];let j="left"===C?"text-left":"text-center";return u[67]!==j?(a=(0,O.cn)("mb-5 w-full text-xl font-medium break-words hyphens-auto text-neutral-900 md:text-2xl",j),u[67]=j,u[68]=a):a=u[68],u[69]!==c||u[70]!==a||u[71]!==p?(d=(0,n.jsx)("h3",{...c,className:a,children:p}),u[69]=c,u[70]=a,u[71]=p,u[72]=d):d=u[72],u[73]!==g||u[74]!==f||u[75]!==w||u[76]!==l?(m=f&&(0,n.jsx)("div",{...l,className:(0,O.cn)(!g&&w&&"mb-3"),children:(0,n.jsx)(B,{content:f.raw})}),u[73]=g,u[74]=f,u[75]=w,u[76]=l,u[77]=m):m=u[77],u[78]!==g||u[79]!==w||u[80]!==i||u[81]!==E?(h=!g&&w&&(0,n.jsx)(o.AppLink,{...w,rootEntryId:i,componentChain:E,className:"mt-auto self-center p-0",size:"xs"}),u[78]=g,u[79]=w,u[80]=i,u[81]=E,u[82]=h):h=u[82],u[83]!==g||u[84]!==e||u[85]!==t||u[86]!==d||u[87]!==m||u[88]!==h||u[89]!==p?(v=(0,n.jsx)("div",{className:"h-full w-full list-none",children:(0,n.jsxs)(W,{title:p,link:g,className:e,children:[t,d,m,h]})}),u[83]=g,u[84]=e,u[85]=t,u[86]=d,u[87]=m,u[88]=h,u[89]=p,u[90]=v):v=u[90],v}if("quaternary"===y){let e,t,a,d,m,g,j,y,C;return u[91]!==N?(e=(0,O.cn)(Y({variant:"quaternary"}),q({borderColor:"gray"}),N),u[91]=N,u[92]=e):e=u[92],u[93]!==x||u[94]!==b||u[95]!==h||u[96]!==A||u[97]!==R?(t=A&&(0,n.jsxs)("div",{className:"flex items-center gap-6 md:gap-4 lg:gap-6",children:[(0,n.jsx)(s.default,{src:b.url,alt:b.altText??"",width:40,height:40,className:"max-h-10 min-h-10 min-w-10 md:max-h-8 md:min-h-8 md:min-w-8 lg:max-h-10 lg:min-h-10 lg:min-w-10",priority:R}),(0,n.jsx)("p",{className:$({color:x}),children:h})]}),u[93]=x,u[94]=b,u[95]=h,u[96]=A,u[97]=R,u[98]=t):t=u[98],u[99]!==c||u[100]!==p?(a=(0,n.jsx)("h3",{...c,className:"text-xl font-semibold break-words hyphens-auto text-neutral-900 md:text-2xl",children:p}),u[99]=c,u[100]=p,u[101]=a):a=u[101],u[102]!==f||u[103]!==l?(d=f&&(0,n.jsx)("div",{...l,children:(0,n.jsx)(B,{content:f.raw})}),u[102]=f,u[103]=l,u[104]=d):d=u[104],u[105]!==a||u[106]!==d?(m=(0,n.jsxs)("div",{className:"space-y-2",children:[a,d]}),u[105]=a,u[106]=d,u[107]=m):m=u[107],u[108]!==x||u[109]!==v||u[110]!==R?(g=v&&(0,n.jsx)("div",{className:(0,O.cn)("mt-4 overflow-hidden rounded-2xl md:mt-8",q({borderColor:x}
41)),children:(0,n.jsx)(s.default,{src:v.url,alt:v.altText??"",width:v.width??100,height:v.height??100,className:"aspect-square h-full max-h-48 w-full max-w-48 object-cover",priority:R})}),u[108]=x,u[109]=v,u[110]=R,u[111]=g):g=u[111],u[112]!==w||u[113]!==i||u[114]!==E?(j=w&&(0,n.jsx)(o.AppLink,{...w,rootEntryId:i,componentChain:E,className:"mt-8 !p-0 text-start",size:"sm"}),u[112]=w,u[113]=i,u[114]=E,u[115]=j):j=u[115],u[116]!==g||u[117]!==j?(y=(0,n.jsxs)("div",{className:"flex h-full flex-col items-start justify-end",children:[g,j]}),u[116]=g,u[117]=j,u[118]=y):y=u[118],u[119]!==y||u[120]!==e||u[121]!==t||u[122]!==m?(C=(0,n.jsxs)("div",{className:e,children:[t,m,y]}),u[119]=y,u[120]=e,u[121]=t,u[122]=m,u[123]=C):C=u[123],C}if("imageTop"===y){let e,t,a,d,m,g,j,y,C,S,P,k,T,_=x&&"transparent"!==x&&"gray"!==x,I="transparent"===x?"border-none bg-white":"border-border border bg-neutral-50";return u[124]!==N||u[125]!==I?(e=(0,O.cn)("flex h-auto h-full max-h-full min-h-full w-full max-w-[650px] overflow-hidden rounded-3xl",I,N),u[124]=N,u[125]=I,u[126]=e):e=u[126],u[127]!==x||u[128]!==_?(t=_&&(0,n.jsx)("div",{className:(0,O.cn)("w-3 shrink-0 self-stretch",G({borderColor:x}))}),u[127]=x,u[128]=_,u[129]=t):t=u[129],u[130]!==v||u[131]!==R?(a=v&&(0,n.jsx)("div",{className:"relative w-full shrink overflow-hidden rounded-2xl",children:(0,n.jsx)(s.default,{src:v.url,alt:v.altText??"",width:v.width??600,height:v.height??500,className:"mx-auto aspect-1.5/1 w-[650px] object-cover",priority:R})}),u[130]=v,u[131]=R,u[132]=a):a=u[132],u[133]!==x||u[134]!==b||u[135]!==h||u[136]!==A||u[137]!==R?(d=A&&(0,n.jsxs)("div",{className:"mb-3 flex items-center gap-6",children:[(0,n.jsx)(s.default,{src:b.url,alt:b.altText??"",width:40,height:40,className:"max-h-10 min-h-10 min-w-10",priority:R}),(0,n.jsx)("p",{className:(0,O.cn)($({color:x}),"text-sm md:text-sm lg:text-base"),children:h})]}),u[133]=x,u[134]=b,u[135]=h,u[136]=A,u[137]=R,u[138]=d):d=u[138],u[139]!==c||u[140]!==p?(m=(0,n.jsx)("h3",{...c,className:"text-lg font-semibold break-words hyphens-auto text-neutral-900 lg:text-5xl [@media(max-height:900px)]:lg:text-4xl",children:p}),u[139]=c,u[140]=p,u[141]=m):m=u[141],u[142]!==f?(g=f&&(0,n.jsx)(B,{content:f.raw}),u[142]=f,u[143]=g):g=u[143],u[144]!==l||u[145]!==g?(j=(0,n.jsx)("div",{...l,className:"max-w-[605px]",children:g}),u[144]=l,u[145]=g,u[146]=j):j=u[146],u[147]!==j||u[148]!==m?(y=(0,n.jsxs)("div",{className:"flex-1 space-y-6 [@media(max-height:900px)]:space-y-3",children:[m,j]}),u[147]=j,u[148]=m,u[149]=y):y=u[149],u[150]!==w||u[151]!==i||u[152]!==E?(C=w&&(0,n.jsx)(o.AppLink,{...w,rootEntryId:i,componentChain:E,className:"mt-8 !p-0 text-start",size:"sm"}),u[150]=w,u[151]=i,u[152]=E,u[153]=C):C=u[153],u[154]!==C?(S=(0,n.jsx)("div",{className:"flex items-start justify-start",children:C}),u[154]=C,u[155]=S):S=u[155],u[156]!==y||u[157]!==S||u[158]!==d?(P=(0,n.jsxs)("div",{className:"flex w-full flex-col px-6 pb-8 md:px-8 md:pb-12",children:[d,y,S]}),u[156]=y,u[157]=S,u[158]=d,u[159]=P):P=u[159],u[160]!==P||u[161]!==a?(k=(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col justify-between gap-4 md:gap-7 lg:justify-start [@media(max-height:900px)]:gap-3",children:[a,P]}),u[160]=P,u[161]=a,u[162]=k):k=u[162],u[163]!==k||u[164]!==e||u[165]!==t?(T=(0,n.jsxs)("article",{className:e,children:[t,k]}),u[163]=k,u[164]=e,u[165]=t,u[166]=T):T=u[166],T}return null},"borderColorCardVariants",0,q],14951)},95409,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(94237),a=e.i(32138),i=e.i(14951),s=e.i(24959),o=e.i(80918),c=e.i(70),d=e.i(76376),u=e.i(47546),m=e.i(75430);let p=(0,n.cva)("md:relative",{variants:{backgroundVariant:{transparent:"",gradient:"p-5 md:p-10 lg:p-20 md:rounded-4xl md:overflow-hidden",darkGradient:"p-5 md:p-10 lg:p-20 md:rounded-4xl md:overflow-hidden"}}}),f=(0,n.cva)("absolute bottom-0 left-0 md:rounded-4xl w-full z-0",{variants:{backgroundVariant:{transparent:"bg-transparent",gradient:"[background:var(--gradient-dark-flipped)]",darkGradient:"[background:var(--gradient-darker)]"},isImage:{true:"h-[calc(100%-100px)] md:h-[calc(100%-250px)] lg:h-[c
41alc(100%-400px)]",false:"h-full"}}}),h=(0,n.cva)("grid justify-items-center w-full",{variants:{columns:{3:"sm:grid-cols-1 md:grid-cols-3 gap-8 md:gap-4 lg:gap-12",4:"sm:grid-cols-2 lg:grid-cols-4 gap-4 md:gap-8 lg:gap-4 xl:gap-8"},subtleGap:{true:"!gap-5",false:""}}});e.s(["SectionCardsWithImage",0,function(e){let n,x,v,g,b,w,j,y,N,C,S,P,k,R,A,E,T,_=(0,l.c)(58),{header:I,cardColumns:D,cards:L,image:F,topImageText:M,backgroundVariant:O,subtleGap:z,with5thElement:H,mobileCardsSlider:V,isFirstSection:U,entryId:B,scrollId:W}=e,Y=!!F?.url;_[0]!==O||_[1]!==Y?(n=(0,m.cn)(p({backgroundVariant:O}),Y&&"px-0"),_[0]=O,_[1]=Y,_[2]=n):n=_[2],_[3]!==U||_[4]!==H?(x=H&&(0,t.jsx)(a.default,{src:"/vectors/y-dark.svg",alt:"","aria-hidden":"true",width:1920,height:1080,priority:U,className:"absolute inset-0 z-10 h-full w-[105%] object-cover md:h-[105%]"}),_[3]=U,_[4]=H,_[5]=x):x=_[5],_[6]!==O||_[7]!==Y?(v=f({backgroundVariant:O,isImage:Y}),_[6]=O,_[7]=Y,_[8]=v):v=_[8],_[9]!==v?(g=(0,t.jsx)("div",{className:v}),_[9]=v,_[10]=g):g=_[10],_[11]!==B||_[12]!==F||_[13]!==U||_[14]!==Y||_[15]!==M?(b=Y&&(0,t.jsx)("div",{className:"relative mb-8 w-full md:mb-12",children:(0,t.jsxs)("div",{className:"relative w-full",children:[(0,t.jsx)(a.default,{src:F.url,alt:F.altText||"",width:F.width||1200,height:F.height||1200,priority:U,className:"h-auto w-full"}),(0,t.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.35))"}}),M&&(0,t.jsx)("p",{className:"absolute top-1/2 left-1/2 z-10 w-full -translate-x-1/2 -translate-y-1/2 px-4 text-center text-2xl text-white md:text-3xl xl:text-5xl",...(0,u.previewChainedField)(B,"topImageText"),children:M})]})}),_[11]=B,_[12]=F,_[13]=U,_[14]=Y,_[15]=M,_[16]=b):b=_[16],_[17]===Symbol.for("react.memo_cache_sentinel")?(w=(0,m.cn)("relative w-full"),_[17]=w):w=_[17],_[18]!==O||_[19]!==B||_[20]!==I||_[21]!==U?(j=I&&(0,t.jsx)(c.SectionHeader,{...I,rootEntryId:B,componentChain:(0,u.appendPreviewComponentChain)(void 0,"header",I.id),isDark:"transparent"!==O,className:"mb-10 w-full !max-w-full px-5 lg:mb-16",isPageTitle:U}),_[18]=O,_[19]=B,_[20]=I,_[21]=U,_[22]=j):j=_[22],_[23]!==L||_[24]!==U||_[25]!==V?(y=V&&(0,t.jsx)(s.Carousel,{className:(0,m.cn)("overflow-x-hidden sm:px-5 md:hidden md:px-0"),slideButtonAriaLabel:"Select card",items:L,renderSlide:e=>(0,t.jsx)(o.PreviewEntry,{id:e.id,className:"h-full",children:(0,t.jsx)(i.Card,{...e,preloadImage:U})})}),_[23]=L,_[24]=U,_[25]=V,_[26]=y):y=_[26];let $=V?"hidden md:block":"";if(_[27]!==$?(N=(0,m.cn)($,"px-5"),_[27]=$,_[28]=N):N=_[28],_[29]!==z||_[30]!==D?(C=h({columns:D,subtleGap:z}),_[29]=z,_[30]=D,_[31]=C):C=_[31],_[32]!==L||_[33]!==U){let e;_[35]!==U?(e=e=>(0,t.jsx)("li",{className:"h-full w-full",children:(0,t.jsx)(o.PreviewEntry,{id:e.id,className:"h-full",children:(0,t.jsx)(i.Card,{...e,preloadImage:U})})},e.id),_[35]=U,_[36]=e):e=_[36],S=L.map(e),_[32]=L,_[33]=U,_[34]=S}else S=_[34];return _[37]!==C||_[38]!==S?(P=(0,t.jsx)("ul",{className:C,children:S}),_[37]=C,_[38]=S,_[39]=P):P=_[39],_[40]!==N||_[41]!==P?(k=(0,t.jsx)("div",{className:N,children:P}),_[40]=N,_[41]=P,_[42]=k):k=_[42],_[43]!==k||_[44]!==j||_[45]!==y?(R=(0,t.jsxs)("div",{className:w,children:[j,y,k]}),_[43]=k,_[44]=j,_[45]=y,_[46]=R):R=_[46],_[47]!==R||_[48]!==b?(A=(0,t.jsxs)("div",{className:"relative z-10 flex flex-col items-center",children:[b,R]}),_[47]=R,_[48]=b,_[49]=A):A=_[49],_[50]!==n||_[51]!==A||_[52]!==x||_[53]!==g?(E=(0,t.jsxs)("div",{className:n,children:[x,g,A]}),_[50]=n,_[51]=A,_[52]=x,_[53]=g,_[54]=E):E=_[54],_[55]!==W||_[56]!==E?(T=(0,t.jsx)(d.SectionWrapper,{id:W,className:"relative px-0",children:E}),_[55]=W,_[56]=E,_[57]=T):T=_[57],T}])},87274,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(87221),a=e.i(32138),i=e.i(1292),s=e.i(44886),o=e.i(70),c=e.i(94924);function d(e){let n,a,i=(0,l.c)(3),{content:s}=e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(n={p:m,a:u},i[0]=n):n=i[0],i[1]!==s?(a=(0,t.jsx)(c.RichText,{content:s,renderers:n}),i[1]=s,i[2]=a):a=i[2],a}function u(e){let{children:l,href:n}=e;return(0,t.jsx)("a",{href:n,className:"text-primary-600",children:l})}function m(e){let{children:l}=e;return(0,t.jsx)("p",{className:"text-secondary mb-5 text-base md:text-lg",children:l})}var p=e.i(76376),f=e.i(27341),h=e.i(47546),x=e.i(75430),v=e.i(71120);function g(e){let n,i,s,o,c,d,u,m,p,f,g,b,w=(0,l.c)(36),{contact:j,selectedTab:y,onValueChange:N,className:C,entryId:S}=e;if(w[0]!==C||w[1]!==j||w[2]!==S||w[3]!==N||w[4]!==y){let e;w[12]!==y?(e=e=>e.shortCode===y,w[12]=y,w[13]=e):e=w[13];let l=j.find(e);s=v.Select,d=y,u=N,i=v.SelectTrigger,w[14]!==C?(c=(0,x.cn)("shadow-card flex w-fit gap-8 rounded-tl-lg rounded-tr-3xl rounded-b-none border-transparent p-6 py-8 font-semibold",C),w[14]=C,w[15]=c):c=w[15],n=v.SelectValue,o=l&&(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(a.default,{src:l.flag?.url??"",alt:y,width:32,height:21}),(0,t.jsx)("span",{...(0,h.previewNestedField)(S,"shortCode","contact",l.id),className:"text-primary text-xl font-semibold",children:y})]}),w[0]=C,w[1]=j,w[2]=S,w[3]=N,w[4]=y,w[5]=n,w[6]=i,w[7]=s,w[8]=o,w[9]=c,w[10]=d,w[11]=u}else n=w[5],i=w[6],s=w[7],o=w[8],c=w[9],d=w[10],u=w[11];if(w[16]!==n||w[17]!==o?(m=(0,t.jsx)(n,{children:o}),w[16]=n,w[17]=o,w[18]=m):m=w[18],w[19]!==i||w[20]!==c||w[21]!==m?(p=(0,t.jsx)(i,{className:c,children:m}),w[19]=i,w[20]=c,w[21]=m,w[22]=p):p=w[22],w[23]!==j||w[24]!==S){let e;w[26]!==S?(e=e=>{let{id:l,flag:n,shortCode:i}=e;return(0,t.jsx)(v.SelectItem,{value:i,className:"cursor-pointer py-4",...(0,h.previewNestedField)(S,"shortCode","contact",l),children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(a.default,{src:n?.url??"",alt:i,width:32,height:21}),(0,t.jsx)("span",{className:"text-primary text-xl font-semibold",children:i})]})},l)}
41,w[26]=S,w[27]=e):e=w[27],f=j.map(e),w[23]=j,w[24]=S,w[25]=f}else f=w[25];return w[28]!==f?(g=(0,t.jsx)(v.SelectContent,{className:"shadow-card mt-0.5 rounded-t-none border-none",children:f}),w[28]=f,w[29]=g):g=w[29],w[30]!==s||w[31]!==d||w[32]!==u||w[33]!==p||w[34]!==g?(b=(0,t.jsxs)(s,{value:d,onValueChange:u,children:[p,g]}),w[30]=s,w[31]=d,w[32]=u,w[33]=p,w[34]=g,w[35]=b):b=w[35],b}function b(e){return e.icon&&e.label&&e.details?.raw}e.s(["SectionContact",0,function(e){let c,u,m,v,w,j,y,N,C,S,P,k,R=(0,l.c)(54),{header:A,addressIcon:E,phoneNumberIcon:T,existingCustomersIcon:_,addressLabel:I,phoneNumberLabel:D,existingCustomersLabel:L,existingCustomersDetails:F,contactLinks:M,contact:O,isFirstSection:z,entryId:H,scrollId:V}=e,[U,B]=(0,i.useState)(O?.[0]?.shortCode??"");if(R[0]!==E||R[1]!==I||R[2]!==O||R[3]!==M||R[4]!==H||R[5]!==F||R[6]!==_||R[7]!==L||R[8]!==A||R[9]!==z||R[10]!==T||R[11]!==D||R[12]!==V||R[13]!==U){let e,l=O?.find(e=>e.shortCode===U),i=[{id:"address",icon:E,label:I,details:l?.addressDetails},{id:"phoneNumber",icon:T,label:D,details:l?.phoneNumberDetails},{id:"existingCustomers",icon:_,label:L,details:F}].filter(b);if(u=p.SectionWrapper,N=V,C="flex flex-col gap-16",R[24]!==H||R[25]!==A||R[26]!==z?(S=A&&(0,t.jsx)(o.SectionHeader,{...A,rootEntryId:H,componentChain:(0,h.appendPreviewComponentChain)(void 0,"header",A.id),isPageTitle:z}),R[24]=H,R[25]=A,R[26]=z,R[27]=S):S=R[27],c=f.Tabs,m=U,v=B,R[28]!==O||R[29]!==H||R[30]!==U?(w=(0,t.jsx)(g,{contact:O,selectedTab:U,onValueChange:B,entryId:H,className:"sm:hidden"}),R[28]=O,R[29]=H,R[30]=U,R[31]=w):w=R[31],R[32]!==O||R[33]!==H||R[34]!==z){let l;R[36]!==H||R[37]!==z?(l=e=>{let{id:l,flag:n,shortCode:i}=e;return(0,t.jsxs)(f.TabsTrigger,{value:i??"",className:"data-[state=active]:shadow-card relative top-px data-[state=active]:border-transparent",...(0,h.previewNestedField)(H,"shortCode","contact",l),children:[(0,t.jsx)(a.default,{src:n?.url??"",alt:i??"",width:32,height:21,priority:z}),(0,t.jsx)("span",{className:"text-primary text-2xl font-semibold",children:i??""})]},`trigger-${l}`)},R[36]=H,R[37]=z,R[38]=l):l=R[38],e=O.map(l),R[32]=O,R[33]=H,R[34]=z,R[35]=e}else e=R[35];R[39]!==e?(j=(0,t.jsx)(f.TabsList,{className:"hidden sm:inline-flex",children:e}),R[39]=e,R[40]=j):j=R[40],y=O.map(e=>{let{id:o,shortCode:c}=e;return(0,t.jsxs)(f.TabsContent,{value:c??"",className:(0,x.cn)("shadow-card border-t-primary-600 z-10 flex flex-col gap-5 rounded-tr-md rounded-b-3xl border-t-6 border-none bg-white p-5 lg:flex-row lg:gap-16 lg:p-10",c!==O?.[0]?.shortCode&&"sm:rounded-tl-md"),children:[(0,t.jsx)("div",{className:"flex flex-1 flex-col gap-5 lg:flex-row lg:gap-10",children:i.map(e=>{let{id:n,icon:i,label:s,details:o}=e;return(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-3 lg:gap-5",children:[(0,t.jsx)(a.default,{src:i?.url??"",alt:s??"",width:36,height:36,className:"max-h-[36px] max-w-[36px]",priority:z}),(0,t.jsx)("h2",{...(0,h.previewChainedField)(H,"address"===n?"addressLabel":"phoneNumber"===n?"phoneNumberLabel":"existingCustomersLabel"),className:"text-primary text-xl font-semibold lg:text-2xl",children:s}),o&&(0,t.jsx)("div",{..."existingCustomers"===n?(0,h.previewChainedField)(H,"existingCustomersDetails"):(0,h.previewNestedField)(H,"address"===n?"addressDetails":"phoneNumberDetails","contact",l?.id??""),className:"text-secondary text-base lg:text-lg",children:(0,t.jsx)(d,{content:o.raw})})]},n)})}),M&&M.length>0&&(0,t.jsx)("div",{className:"flex w-full flex-col gap-4 sm:w-80",children:M.map(e=>{let{id:l,contactLinkTitle:a,contactLinkDescription:i,contactLinkLink:o}=e;return(0,t.jsxs)(s.AppLink,{clean:!0,destination:o,className:"group border-border hover:shadow-nav-sub-item flex w-full items-center justify-between gap-4 rounded-2xl border bg-neutral-50 p-6 transition-all hover:bg-white",children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{...(0,h.previewNestedField)(H,"contactLinkTitle","contactLinks",l),className:"text-primary mb-2 text-lg font-semibold",children:a??""}),(0,t.jsx)("p",{...(0,h.previewNestedField)(H,"contactLinkDescription","contactLinks",l),className:"text-secondary text-sm",children:i??""})]}),(0,t.jsx)("div",{className:"bg-primary-600 flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full transition-colors",children:(0,t.jsx)(n.ChevronRight,{className:"text-white",size:20})})]},l)})})]},`content-${o}`)}
41),R[0]=E,R[1]=I,R[2]=O,R[3]=M,R[4]=H,R[5]=F,R[6]=_,R[7]=L,R[8]=A,R[9]=z,R[10]=T,R[11]=D,R[12]=V,R[13]=U,R[14]=c,R[15]=u,R[16]=m,R[17]=v,R[18]=w,R[19]=j,R[20]=y,R[21]=N,R[22]=C,R[23]=S}else c=R[14],u=R[15],m=R[16],v=R[17],w=R[18],j=R[19],y=R[20],N=R[21],C=R[22],S=R[23];return R[41]!==c||R[42]!==m||R[43]!==v||R[44]!==w||R[45]!==j||R[46]!==y?(P=(0,t.jsxs)(c,{value:m,onValueChange:v,children:[w,j,y]}),R[41]=c,R[42]=m,R[43]=v,R[44]=w,R[45]=j,R[46]=y,R[47]=P):P=R[47],R[48]!==u||R[49]!==N||R[50]!==C||R[51]!==S||R[52]!==P?(k=(0,t.jsxs)(u,{id:N,className:C,children:[S,P]}),R[48]=u,R[49]=N,R[50]=C,R[51]=S,R[52]=P,R[53]=k):k=R[53],k}],87274)},37344,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(94237),a=e.i(75430);let i=(0,n.cva)("",{variants:{position:{top:"h-4 w-full rounded-t-full","top-to-left":"h-4 w-full rounded-t-full md:h-full md:w-4 md:rounded-t-none md:rounded-l-full self-stretch shrink-0",left:"w-4 self-stretch rounded-l-full shrink-0",bottom:"h-4 w-full rounded-b-full"}}}),s=(0,n.cva)("bg-primary-600",{variants:{color:{plandayBlue:"bg-primary-500",orange:"bg-orange-600",purple:"bg-purple-600",blue:"bg-blue-400",green:"bg-green-600",gray:"bg-gray-600",cyan:"bg-cyan-600",white:"bg-white",black:"bg-black"}}});e.s(["DecorBar",0,function(e){let n,o,c=(0,l.c)(6),{position:d,color:u,className:m}=e;return c[0]!==m||c[1]!==u||c[2]!==d?(n=(0,a.cn)(i({position:d}),s({color:u}),m),c[0]=m,c[1]=u,c[2]=d,c[3]=n):n=c[3],c[4]!==n?(o=(0,t.jsx)("div",{className:n}),c[4]=n,c[5]=o):o=c[5],o}])},19750,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(32138),a=e.i(44886),i=e.i(37344),s=e.i(70),o=e.i(76376),c=e.i(47546);e.s(["SectionContentWithBottomAssets",0,function(e){let d,u,m,p,f,h,x,v=(0,l.c)(20),{contentWithBottomAssetsContent:g,contentWithBottomAssetsAssets:b,contentWithBottomAssetsCta:w,isFirstSection:j,entryId:y,scrollId:N}=e;return v[0]!==g||v[1]!==y||v[2]!==j?(d=g&&(0,t.jsx)(s.SectionHeader,{...g,rootEntryId:y,componentChain:(0,c.appendPreviewComponentChain)(void 0,"contentWithBottomAssetsContent",g.id),className:"mb-10 md:mb-16",isPageTitle:j}),v[0]=g,v[1]=y,v[2]=j,v[3]=d):d=v[3],v[4]!==b||v[5]!==j?(u=b&&b.length>0&&(0,t.jsx)("div",{className:"flex gap-4",children:b.map(e=>{let{id:l,url:a,altText:i,width:s,height:o}=e;return(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)(n.default,{src:a,alt:i??"",width:s??0,height:o??0,priority:j,className:"h-full max-h-[500px] w-full object-cover lg:max-h-[600px]"})},l)})}),v[4]=b,v[5]=j,v[6]=u):u=v[6],v[7]!==u?(m=(0,t.jsx)("div",{className:"mb-10",children:u}),v[7]=u,v[8]=m):m=v[8],v[9]!==w||v[10]!==y?(p=w&&(0,t.jsx)(a.AppLink,{...w,rootEntryId:y,componentChain:(0,c.appendPreviewComponentChain)(void 0,"contentWithBottomAssetsCta",w.id),className:"mx-auto mb-10 w-fit"}),v[9]=w,v[10]=y,v[11]=p):p=v[11],v[12]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(i.DecorBar,{position:"bottom"}),v[12]=f):f=v[12],v[13]!==m||v[14]!==p?(h=(0,t.jsxs)("div",{className:"border-border overflow-hidden rounded-t-4xl rounded-b-2xl border bg-neutral-100",children:[m,p,f]}),v[13]=m,v[14]=p,v[15]=h):h=v[15],v[16]!==N||v[17]!==d||v[18]!==h?(x=(0,t.jsxs)(o.SectionWrapper,{id:N,children:[d,h]}),v[16]=N,v[17]=d,v[18]=h,v[19]=x):x=v[19],x}])},22592,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(76376),a=e.i(94924),i=e.i(1292);function s(e){let n,a,s,o=(0,l.c)(4),{scriptId:c}=e,d=(0,i.useRef)(null);return o[0]!==c?(n=()=>{let e=d.current;if(!e||document.getElementById("CookieDeclaration"))return;let t=document.createElement("script");return t.id="CookieDeclaration",t.src=`https://consent.cookiebot.com/${c}/cd.js`,t.type="text/javascript",t.async=!0,e.appendChild(t),()=>{t.remove()}},a=[c],o[0]=c,o[1]=n,o[2]=a):(n=o[1],a=o[2]),(0,i.useEffect)(n,a),o[3]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("div",{ref:d,className:"cookiebot-declaration"}),o[3]=s):s=o[3],s}function o(e){let n,a=(0,l.c)(2),{children:i}=e;return a[0]!==i?(n=(0,t.jsx)("div",{className:"my-6 overflow-x-auto rounded-lg border border-neutral-200",children:(0,t.jsx)("table",{className:"w-full border-collapse text-left text-base",children:i})}),a[0]=i,a[1]=n):n=a[1],n}function c(e){let n,a=(0,l.c)(2),{children:i}=e;return a[0]!==i?(n=(0,t.jsx)("thead",{className:"bg-neutral-100",children:i}),a[0]=i,a[1]=n):n=a[1],n}function d(e){let n,a=(0,l.c)(2),{children:i}=e;return a[0]!==i?(n=(0,t.jsx)("tbody",{className:"divide-y divide-neutral-200",children:i}),a[0]=i,a[1]=n):n=a[1],n}function u(e){let n,a=(0,l.c)(2),{children:i}=e;return a[0]!==i?(n=(0,t.jsx)("tr",{className:"border-b border-neutral-200 last:border-b-0",children:i}),a[0]=i,a[1]=n):n=a[1],n}function m(e){let n,a,i=(0,l.c)(3),{children:s}=e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(n={verticalAlign:"middle"},i[0]=n):n=i[0],i[1]!==s?(a=(0,t.jsx)("th",{className:"min-w-[150px] border-r border-neutral-200 bg-neutral-100 px-4 py-3 text-sm font-semibold text-neutral-900 last:border-r-0 md:min-w-[200px] xl:min-w-[250px] [&>*]:mb-0",style:n,children:s}),i[1]=s,i[2]=a):a=i[2],a}function p(e){let n,a,i=(0,l.c)(3),{children:s}=e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(n={verticalAlign:"middle"},i[0]=n):n=i[0],i[1]!==s?(a=(0,t.jsx)("td",{className:"min-w-[150px] border-r border-neutral-200 px-4 py-2 text-neutral-700 last:border-r-0 md:min-w-[200px] xl:min-w-[250px] [&>*]:mb-0",style:n,children:s}),i[1]=s,i[2]=a):a=i[2],a}function f(e){if("string"==typeof e)return e;if(Array.isArray(e))return e.map(f).join("");if((0,i.isValidElement)(e)){let{props:t}=e;if(t?.content&&Array.isArray(t.content))return t.content.map(e=>e.text).join("");if(t?.children)return f(t.children)}return""}function h(e){let n,i,f=(0,l.c)(6),{content:h,references:N}=e;return f[0]!==N?(n={h2:y,h3:j,h4:w,p:b,ul:g,li:v,a:x,table:o,table_head:c,table_body:d,table_row:u,table_header_cell:m,table_cell:p,embed:{CookiebotScript:e=>{let{nodeId:l}=e,n=N?.find(e=>{let{id:t}=e;return t===l});return n?.__typename==="CookiebotScript"?(0,t.jsx)(s,{scriptId:n.scriptId}):null}}},f[0]=N,f[1]=n):n=f[1],f[2]!==h||f[3]!==N||f[4]!==n?(i=(0,t.jsx)(a.RichText,{content:h,references:N,renderers:n}),f[2]=h,f[3]=N,f[4]=n,f[5]=i):i=f[5],i}function x(e){let{children:l,href:n}=e;return(0,t.jsx)("a",{href:n,className:"text-primary-600",children:l})}function v(e){let{children:l}=e;return(0,t.jsx)("li",{className:"before:bg-primary-600 relative pl-8 text-left text-lg leading-[28px] font-medium text-neutral-700 before:absolute before:top-[8px] before:left-0 before:h-3 before:w-3 before:rounded-full before:content-['']",children:l})}function g(e){let{children:l}=e;return(0,t.jsx)("ul",{className:"mt-5 flex list-none flex-col gap-2 pl-0 text-left font-medium text-neutral-700",children:l})}function b(e){let{children:l}=e;return(0,t.jsx)("p",{className:"mb-3 text-lg font-medium text-neutral-700",children:l})}function w(e){let{children:l}=e,n=f(l);return(0,t.jsx)("h4",{id:n,className:"mt-8 mb-3 scroll-mt-20 text-xl font-medium text-neutral-900 md:text-2xl",children:l})}function j(e){let{children:l}=e,n=f(l);return(0,t.jsx)("h3",{id:n,className:"mt-8 mb-3 scroll-mt-20 text-2xl font-medium text-neutral-900 md:text-3xl",children:l})}function y(e){let{children:l}=e,n=f(l);return(0,t.jsx)("h2",{id:n,className:"mt-10 mb-5 scroll-mt-24 text-3xl font-medium text-neutral-900 first-of-type:mt-0 md:text-5xl 2xl:scroll-mt-28",children:(0,t.jsx)("a",{href:`#${n}`,children:l})})}var N=e.i(46302),C=e.i(37017),S=e.i(79449),P=e.i(75430);function k(e){let n,a,i,s=(0,l.c)(7),{chapters:o}=e;s[0]!==o?(n=o.filter(T).map(E),s[0]=o,s[1]=n):n=s[1];let c=n;return s[2]!==o?(a=o.map(R),s[2]=o,s[3]=a):a=s[3],s[4]!==c||s[5]!==a?(i=(0,t.jsx)("aside",{className:"h-fit max-h-[calc(100vh-150px)] w-full overflow-y-auto rounded-4xl bg-neutral-100 p-5 md:sticky md:top-[110px] md:w-[250px]",children:(0,t.jsx)("nav",{children:(0,t.jsx)(S.Accordion,{type:"multiple",defaultValue:c,className:"space-y-3",children:a})})}),s[4]=c,s[5]=a,s[6]=i):i=s[6],i}function R(e){var l;let n,{unifiedComponentRichText:a,unifiedComponentText:i,id:s}=e;if(!i||!a?.raw)return null;
41let o=(l=a.raw,n=[],l?.children&&l.children.forEach(e=>{if("heading-two"===e.type&&e.children?.[0]?.text){let t=e.children[0].text;n.push({id:t,text:t})}}),n);return(0,t.jsxs)(S.AccordionItem,{value:s,className:"border-b-0",children:[(0,t.jsx)(N.Header,{className:"flex",children:(0,t.jsxs)(N.Trigger,{className:(0,P.cn)("group hover:text-primary-600 flex w-full items-center justify-between px-3 pb-1 text-left text-lg font-semibold text-neutral-900 transition-colors [&[data-state=open]>svg]:rotate-180"),children:[i,(0,t.jsx)(C.ChevronDown,{className:"text-primary-600 h-4 w-4 shrink-0 transition-transform duration-200"})]})}),o.length>0&&(0,t.jsx)(S.AccordionContent,{className:"pb-2",children:(0,t.jsx)("ul",{className:"flex flex-col gap-1 pl-3",children:o.map(A)})})]},s)}function A(e){return(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:`#${e.id}`,className:(0,P.cn)("hover:text-primary-600 block w-full rounded-lg py-px text-left text-base font-medium text-neutral-700 transition-colors"),children:e.text})},e.id)}function E(e){return e.id}function T(e){return e.unifiedComponentText&&e.unifiedComponentRichText?.raw}function _(e){let{unifiedComponentRichText:l,id:n}=e,a=l?.raw,i=l?.references;return a?(0,t.jsx)(h,{content:a,references:i},n):null}e.s(["SectionContentWithSidebarNav",0,function(e){let a,i,s,o,c=(0,l.c)(11),{chapters:d,withNavigationPanel:u,scrollId:m}=e,p=void 0===u||u;return c[0]!==d||c[1]!==p?(a=p&&(0,t.jsx)(k,{chapters:d}),c[0]=d,c[1]=p,c[2]=a):a=c[2],c[3]!==d?(i=d.map(_),c[3]=d,c[4]=i):i=c[4],c[5]!==i?(s=(0,t.jsx)("article",{className:"flex-1",children:i}),c[5]=i,c[6]=s):s=c[6],c[7]!==m||c[8]!==a||c[9]!==s?(o=(0,t.jsxs)(n.SectionWrapper,{id:m,className:"flex flex-col gap-8 md:flex-row md:gap-12",children:[a,s]}),c[7]=m,c[8]=a,c[9]=s,c[10]=o):o=c[10],o}],22592)},23908,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(32138),a=e.i(1292);e.s(["CopyButton",0,function(e){let i,s,o,c,d,u,m=(0,l.c)(13),{textElementId:p}=e,[f,h]=(0,a.useState)(!0),{copy:x,copied:v}=function(){let e,t,n=(0,l.c)(3),[i,s]=(0,a.useState)(!1);n[0]===Symbol.for("react.memo_cache_sentinel")?(e=async e=>{try{await navigator.clipboard.writeText(e),s(!0),setTimeout(()=>s(!1),1e3)}catch(e){console.error(e),s(!1)}},n[0]=e):e=n[0];let o=e;return n[1]!==i?(t={copy:o,copied:i},n[1]=i,n[2]=t):t=n[2],t}();m[0]!==p?(i=()=>document.getElementById(p)?.textContent,m[0]=p,m[1]=i):i=m[1];let g=i;m[2]!==x||m[3]!==g?(s=()=>{let e=g();e&&x(e)},m[2]=x,m[3]=g,m[4]=s):s=m[4];let b=s;return(m[5]!==g?(o=()=>{h(!!g())},c=[g],m[5]=g,m[6]=o,m[7]=c):(o=m[6],c=m[7]),(0,a.useEffect)(o,c),f)?(m[8]!==v?(d=v?(0,t.jsx)(n.default,{src:"/icons/check.svg",alt:"Copied",width:24,height:24}):(0,t.jsx)(n.default,{src:"/icons/copy.svg",alt:"Copy",width:24,height:24}),m[8]=v,m[9]=d):d=m[9],m[10]!==b||m[11]!==d?(u=(0,t.jsx)("button",{className:"shadow-nav-sub-item top-5 right-5 flex h-[45px] w-[45px] shrink-0 items-center justify-center rounded-lg bg-white md:absolute md:h-[55px] md:w-[55px]",onClick:b,children:d}),m[10]=b,m[11]=d,m[12]=u):u=m[12],u):null}],23908)},86570,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(70),a=e.i(76376),i=e.i(47546),s=e.i(1292);e.s(["SectionCountingNumbers",0,function(e){let o,c,d,u,m,p,f=(0,l.c)(22),{counters:h,header:x,isFirstSection:v,entryId:g,scrollId:b}=e;f[0]!==h?(o={counters:h},f[0]=h,f[1]=o):o=f[1];let{sectionRef:w,displayValues:j}=function(e){let t,n,a,i,o,c,d=(0,l.c)(9),{counters:u}=e,[m,p]=(0,s.useState)(!1);d[0]===Symbol.for("react.memo_cache_sentinel")?(t={},d[0]=t):t=d[0];let[f,h]=(0,s.useState)(t),x=(0,s.useRef)(null),v=(0,s.useRef)(0);return d[1]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{let e=new IntersectionObserver(e=>e.forEach(e=>{let{isIntersecting:t}=e;return t?p(!0):null}));return x.current&&e.observe(x.current),()=>e.disconnect()},a=[],d[1]=n,d[2]=a):(n=d[1],a=d[2]),(0,s.useEffect)(n,a),d[3]!==u||d[4]!==m?(i=()=>{if(m){let e=performance.now(),t=l=>{let n=Math.min((l-e)/1500,1),a={};u.forEach(e=>{let{id:t,numberText:l}=e,i=parseInt(l.replace(/[^0-9]/g,""),10);a[t]=Math.floor(n*i)}),h(a),n<1&&(v.current=requestAnimationFrame(t))};return v.current=requestAnimationFrame(t),()=>{cancelAnimationFrame(v.current)}}},o=[m,u],d[3]=u,d[4]=m,d[5]=i,d[6]=o):(i=d[5],o=d[6]),(0,s.useEffect)(i,o),d[7]!==f?(c={sectionRef:x,displayValues:f},d[7]=f,d[8]=c):c=d[8],c}(o);if(f[2]!==g||f[3]!==x||f[4]!==v?(c=x&&(0,t.jsx)(n.SectionHeader,{...x,rootEntryId:g,componentChain:(0,i.appendPreviewComponentChain)(void 0,"header",x.id),isPageTitle:v}
41),f[2]=g,f[3]=x,f[4]=v,f[5]=c):c=f[5],f[6]!==h||f[7]!==j||f[8]!==g){let e;f[10]!==j||f[11]!==g?(e=e=>{let{id:l,numberText:n,labelUp:a,labelDown:s}=e,o=n.replace(/[0-9]/g,"");return(0,t.jsxs)("div",{className:"border-border flex w-full flex-col gap-2 border-t pt-5 sm:max-w-[350px]",children:[(0,t.jsx)("span",{...(0,i.previewNestedField)(g,"labelUp","counters",l),className:"text-neutral-900 md:text-xl lg:min-w-[295px]",children:a}),(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("span",{...(0,i.previewNestedField)(g,"numberText","counters",l),className:"text-5xl font-medium text-neutral-500 md:text-6xl lg:text-[80px]","aria-label":n,children:j[l]??0}),(0,t.jsx)("span",{className:"text-5xl font-medium break-words hyphens-auto text-neutral-500 md:text-6xl lg:text-[80px]",children:o})]}),(0,t.jsx)("span",{...(0,i.previewNestedField)(g,"labelDown","counters",l),className:"text-neutral-900 md:text-xl lg:min-w-[295px]",children:s})]},l)},f[10]=j,f[11]=g,f[12]=e):e=f[12],d=h.map(e),f[6]=h,f[7]=j,f[8]=g,f[9]=d}else d=f[9];return f[13]!==d?(u=(0,t.jsx)("div",{className:"flex flex-col items-center justify-between gap-5 sm:flex-row sm:gap-10",children:d}),f[13]=d,f[14]=u):u=f[14],f[15]!==w||f[16]!==c||f[17]!==u?(m=(0,t.jsxs)("div",{ref:w,className:"flex flex-col gap-8 md:gap-16",children:[c,u]}),f[15]=w,f[16]=c,f[17]=u,f[18]=m):m=f[18],f[19]!==b||f[20]!==m?(p=(0,t.jsx)(a.SectionWrapper,{id:b,children:m}),f[19]=b,f[20]=m,f[21]=p):p=f[21],p}],86570)},77701,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(37017),a=e.i(32138),i=e.i(70),s=e.i(79449),o=e.i(5050),c=e.i(76376),d=e.i(4384),u=e.i(47546),m=e.i(75430);e.s(["SectionFaq",0,function(e){let p,f,h,x,v,g,b,w,j,y,N=(0,l.c)(35),{header:C,backgroundImage:S,faqs:P,imageHeadline:k,isFirstSection:R,entryId:A,scrollId:E}=e,{containerRef:T,imageRef:_,offset:I}=(0,d.useParallax)(!!S);N[0]!==S||N[1]!==A||N[2]!==k||N[3]!==_||N[4]!==R?(p=S&&(0,t.jsxs)("div",{ref:_,className:"relative z-0 h-[400px] md:h-[600px] lg:h-[800px]",children:[(0,t.jsx)(a.default,{src:S.url,alt:S.altText||"",width:S.width||1920,height:S.height||1080,priority:R,className:"absolute inset-0 h-full max-h-full max-w-full object-cover object-top md:rounded-t-4xl"}),(0,t.jsx)("div",{className:"absolute inset-0 z-10 h-full rounded-t-4xl bg-black/40"}),k&&(0,t.jsx)("p",{...(0,u.previewChainedField)(A,"imageHeadline"),className:"absolute top-1/4 left-1/2 z-20 w-3/4 -translate-x-1/2 px-5 text-center text-3xl text-white md:text-4xl lg:text-5xl",children:k})]}),N[0]=S,N[1]=A,N[2]=k,N[3]=_,N[4]=R,N[5]=p):p=N[5];let D=S&&"-mt-10";if(N[6]!==D?(f=(0,m.cn)("relative z-10 rounded-[36px] py-10 shadow-[0_3px_20px_0px_rgba(0,0,0,0.10)] md:py-20",D),N[6]=D,N[7]=f):f=N[7],N[8]!==S||N[9]!==I?(h=S?{transform:`translateY(${I}px)`,marginBottom:`${I}px`}:void 0,N[8]=S,N[9]=I,N[10]=h):h=N[10],N[11]!==A||N[12]!==C?(x=C&&(0,t.jsx)(i.SectionHeader,{...C,rootEntryId:A,componentChain:(0,u.appendPreviewComponentChain)(void 0,"header",C.id),withSmallSubtitleGap:!0}),N[11]=A,N[12]=C,N[13]=x):x=N[13],N[14]!==x?(v=(0,t.jsx)(o.CardHeader,{className:"px-5",children:x}),N[14]=x,N[15]=v):v=N[15],N[16]!==A||N[17]!==P){let e;N[19]!==A?(e=e=>{let{id:l,title:a,text:i}=e;return(0,t.jsxs)(s.AccordionItem,{value:l,className:"border-none",children:[(0,t.jsxs)(s.AccordionTrigger,{withIndicator:!1,className:"rounded-xl rounded-b-none bg-gray-50 px-6 py-4 text-left text-base font-medium text-gray-700 transition-colors duration-200 hover:bg-gray-100 hover:text-gray-900 md:text-lg [&[data-state=open]]:bg-gray-100 [&[data-state=open]]:text-gray-900",children:[(0,t.jsx)("span",{...(0,u.previewNestedField)(A,"title","faqs",l),className:"flex-1 pr-4",children:a}),(0,t.jsx)(n.ChevronDown,{className:"h-5 w-5 text-gray-500 transition-transform duration-200 group-data-[state=open]:rotate-180"})]}),(0,t.jsx)(s.AccordionContent,{className:"px-6 py-4 leading-relaxed text-gray-600",children:(0,t.jsx)("p",{...(0,u.previewNestedField)(A,"text","faqs",l),children:i})})]},l)},N[19]=A,N[20]=e):e=N[20],g=P.map(e),N[16]=A,N[17]=P,N[18]=g}else g=N[18];return N[21]!==g?(b=(0,t.jsx)(o.CardContent,{className:"px-5",children:(0,t.jsx)(s.Accordion,{type:"multiple",className:"w-full space-y-5",children:g})}),N[21]=g,N[22]=b):b=N[22],N[23]!==f||N[24]!==h||N[25]!==v||N[26]!==b?(w=(0,t.jsxs)(o.Card,{className:f,style:h,children:[v,b]}),N[23]=f,N[24]=h,N[25]=v,N[26]=b,N[27]=w):w=N[27],N[28]!==T||N[29]!==p||N[30]!==w?(j=(0,t.jsxs)("div",{ref:T,children:[p,w]}),N[28]=T,N[29]=p,N[30]=w,N[31]=j):j=N[31],N[32]!==E||N[33]!==j?(y=(0,t.jsx)(c.SectionWrapper,{id:E,className:"px-0 md:px-5",children:j}),N[32]=E,N[33]=j,N[34]=y):y=N[34],y}])},86495,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(32138),a=e.i(24959),i=e.i(70),s=e.i(76376),o=e.i(47546);e.s(["SectionFeatureHighlight",0,function(e){let c,d,u,m,p,f,h,x=(0,l.c)(23),{topIcon:v,featureHighlightContent:g,assetDesktop:b,sliderAssetsMobile:w,isFirstSection:j,entryId:y,scrollId:N}=e;return x[0]!==j||x[1]!==v?(c=v&&(0,t.jsx)(n.default,{src:v.url,alt:v.altText??"",width:v.width??0,height:v.height??0,priority:j,className:"h-full max-h-[60px] w-full max-w-[60px] object-contain"}),x[0]=j,x[1]=v,x[2]=c):c=x[2],x[3]!==y||x[4]!==g||x[5]!==j?(d=g&&(0,t.jsx)(i.SectionHeader,{...g,rootEntryId:y,componentChain:(0,o.appendPreviewComponentChain)(void 0,"featureHighlightContent",g.id),isPageTitle:j}),x[3]=y,x[4]=g,x[5]=j,x[6]=d):d=x[6],x[7]!==c||x[8]!==d?(u=(0,t.jsxs)("div",{className:"flex flex-col justify-center gap-5 bg-white p-5 md:w-1/3 lg:p-10",children:[c,d]}),x[7]=c,x[8]=d,x[9]=u):u=x[9],x[10]!==b||x[11]!==j?(m=b&&(0,t.jsx)("div",{className:"hidden p-5 md:block md:w-2/3",children:(0,t.jsx)(n.default,{src:b.url,alt:b.altText??"",width:b.
41width??0,height:b.height??0,priority:j,className:"h-full max-h-[500px] w-full object-contain"})}),x[10]=b,x[11]=j,x[12]=m):m=x[12],x[13]!==j||x[14]!==w?(p=w&&w.length>0&&(0,t.jsx)("div",{className:"w-full p-5 md:hidden",children:(0,t.jsx)(a.Carousel,{items:w,renderSlide:e=>(0,t.jsx)(n.default,{src:e.url,alt:e.altText??"",width:e.width??0,height:e.height??0,priority:j,className:"h-full w-full rounded-2xl object-cover"}),slideClassName:"min-w-0 flex-[0_0_100%] pr-3 select-none sm:flex-[0_0_50%]",slideButtonClassName:"bg-white"})}),x[13]=j,x[14]=w,x[15]=p):p=x[15],x[16]!==u||x[17]!==m||x[18]!==p?(f=(0,t.jsxs)("div",{className:"border-border flex flex-col overflow-hidden rounded-4xl border bg-neutral-100 md:flex-row",children:[u,m,p]}),x[16]=u,x[17]=m,x[18]=p,x[19]=f):f=x[19],x[20]!==N||x[21]!==f?(h=(0,t.jsx)(s.SectionWrapper,{id:N,children:f}),x[20]=N,x[21]=f,x[22]=h):h=x[22],h}])},24946,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(32138),a=e.i(37344),i=e.i(47546),s=e.i(1292);e.s(["DesktopCards",0,function(e){let o,c,d,u,m,p=(0,l.c)(20),{cards:f,preloadImage:h,entryId:x}=e,v=void 0!==h&&h,{containerRef:g,activeCardIndex:b,getCardStyle:w}=function(e){let t,n,a,i,o=(0,l.c)(10),c=(0,s.useRef)(null),[d,u]=(0,s.useState)(0),[m,p]=(0,s.useState)(0);o[0]!==m||o[1]!==e?(t=()=>{let t=()=>{if(!c.current)return;let t=c.current,l=t.offsetTop,n=t.offsetHeight,a=window.scrollY,i=window.innerHeight,s=l-i/2,o=Math.max(0,Math.min(1,(a-s)/(l+n-i/2-s)));u(o);let d=Math.floor(o*(e+1));d!==m&&d<e&&p(d)};return window.addEventListener("scroll",t),t(),()=>window.removeEventListener("scroll",t)},n=[e,m],o[0]=m,o[1]=e,o[2]=t,o[3]=n):(t=o[2],n=o[3]),(0,s.useEffect)(t,n),o[4]!==e||o[5]!==d?(a=t=>{let l,n,a,i=d*(e+1),s=t===e-1;return i>=t&&i<t+1?(l=.97+.03*(1-(i-t)),n=1,a=0):i>=t+1?(l=.97,n=+!!s,a=-20):(l=1,n=0,a=20),{transform:`scale(${l}) translateY(${a}px)`,opacity:n}},o[4]=e,o[5]=d,o[6]=a):a=o[6];let f=a;return o[7]!==m||o[8]!==f?(i={containerRef:c,activeCardIndex:m,getCardStyle:f},o[7]=m,o[8]=f,o[9]=i):i=o[9],i}(f.length),j=`${60*f.length}vh`;if(p[0]!==j?(o={height:j},p[0]=j,p[1]=o):o=p[1],p[2]===Symbol.for("react.memo_cache_sentinel")?(c={height:"60vh"},p[2]=c):c=p[2],p[3]!==b||p[4]!==f||p[5]!==x||p[6]!==w||p[7]!==v){let e;p[9]!==b||p[10]!==x||p[11]!==w||p[12]!==v?(e=(e,l)=>{let{id:s,parallaxedFeatureTitle:o,parallaxedFeatureDescription:c,parallaxedFeatureIcon:d,parallaxedFeatureImage:u,parallaxedFeatureDecor:m}=e,p=b===l;return(0,t.jsx)("article",{className:"absolute inset-0 flex items-center justify-center",style:{...w(l),transition:"transform 0.3s ease-out, opacity 0.3s ease-out"},"aria-hidden":!p,children:(0,t.jsx)("div",{className:"flex w-full items-center justify-center rounded-3xl",style:{height:"60vh"},children:(0,t.jsxs)("div",{className:"flex max-h-[calc(100vh-200px)] w-full flex-col items-center justify-center gap-6 lg:flex-row lg:gap-12",children:[(0,t.jsxs)("div",{className:"flex min-w-[300px] basis-[45%] flex-col gap-4 lg:min-w-[420px] lg:gap-8",children:[d&&(0,t.jsx)("div",{className:"mb-4 lg:mb-8",children:(0,t.jsx)(n.default,{src:d.url,alt:d.altText??"",width:d.width??80,height:d.height??80,className:"size-16 lg:size-20",priority:v})}),(0,t.jsx)("h2",{className:"text-4xl font-semibold text-neutral-900 lg:text-5xl",...(0,i.previewNestedField)(x,"parallaxedFeatureTitle","parallaxedFeatures",s),children:o}),(0,t.jsx)("p",{className:"text-lg text-neutral-700 lg:max-w-md lg:text-2xl",...(0,i.previewNestedField)(x,"parallaxedFeatureDescription","parallaxedFeatures",s),children:c})]}),(0,t.jsxs)("div",{className:"relative w-full basis-[55%]",children:[(0,t.jsx)(a.DecorBar,{position:"left",color:m,className:"absolute top-0 left-0 h-full"}),(0,t.jsx)(n.default,{src:u.url,alt:u.altText??"",width:u.width??100,height:u.height??100,className:"aspect-5/4 h-full w-full rounded-2xl object-cover",priority:v})]})]})})},s)},p[9]=b,p[10]=x,p[11]=w,p[12]=v,p[13]=e):e=p[13],d=f.map(e),p[3]=b,p[4]=f,p[5]=x,p[6]=w,p[7]=v,p[8]=d}else d=p[8];return p[14]!==d?(u=(0,t.jsx)("div",{className:"sticky top-[22vh] flex items-center justify-center",style:c,children:d}),p[14]=d,p[15]=u):u=p[15],p[16]!==g||p[17]!==o||p[18]!==u?(m=(0,t.jsx)("div",{ref:g,className:"relative",style:o,children:u}),p[16]=g,p[17]=o,p[18]=u,p[19]=m):m=p[19],m}],24946)},35492,e=>{"use strict";let t=(0,e.i(9784).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],35492)},14530,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(35492);let a=(0,e.i(9784).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var i=e.i(75430);e.s(["CarouselNavButton",0,function(e){let s,o,c,d,u,m,p=(0,l.c)(12);p[0]!==e?({direction:o,className:s,...c}=e,p[0]=e,p[1]=s,p[2]=o,p[3]=c):(s=p[1],o=p[2],c=p[3]);let f="previous"===o?n.ArrowLeft:a;return p[4]!==s?(d=(0,i.cn)("text-primary-700 flex size-12 cursor-pointer items-center justify-center rounded-full bg-white disabled:cursor-not-allowed disabled:text-neutral-500",s),p[4]=s,p[5]=d):d=p[5],p[6]!==f?(u=(0,t.jsx)(f,{size:24}),p[6]=f,p[7]=u):u=p[7],p[8]!==c||p[9]!==d||p[10]!==u?(m=(0,t.jsx)("button",{className:d,...c,children:u}),p[8]=c,p[9]=d,p[10]=u,p[11]=m):m=p[11],m}],14530)},60182,e=>{"use strict";var t=e.i(52036),l=e.i(50790),n=e.i(1292);e.s(["useCarousel",0,function(){let e,a,i,s,o,c,d=(0,t.c)(15);d[0]===Symbol.for("react.memo_cache_sentinel")?(e={align:"start",loop:!1,dragFree:!1},d[0]=e):e=d[0];
41let[u,m]=(0,l.default)(e),[p,f]=(0,n.useState)(!0),[h,x]=(0,n.useState)(!0);d[1]!==m?(a=()=>{m&&m.scrollPrev()},d[1]=m,d[2]=a):a=d[2];let v=a;d[3]!==m?(i=()=>{m&&m.scrollNext()},d[3]=m,d[4]=i):i=d[4];let g=i;return d[5]!==m?(s=()=>{if(!m)return;let e=e=>{f(!e.canScrollPrev()),x(!e.canScrollNext())};e(m),m.on("reInit",e).on("select",e)},o=[m],d[5]=m,d[6]=s,d[7]=o):(s=d[6],o=d[7]),(0,n.useEffect)(s,o),d[8]!==m||d[9]!==u||d[10]!==h||d[11]!==p||d[12]!==g||d[13]!==v?(c={emblaRef:u,scrollPrev:v,scrollNext:g,emblaApi:m,prevBtnDisabled:p,nextBtnDisabled:h},d[8]=m,d[9]=u,d[10]=h,d[11]=p,d[12]=g,d[13]=v,d[14]=c):c=d[14],c}])},27927,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(32138),a=e.i(14530),i=e.i(60182),s=e.i(9382),o=e.i(75430);e.s(["StepsTimeline",0,function(e){let c,d,u,m,p,f=(0,l.c)(20),{items:h,preloadImage:x}=e,v=void 0!==x&&x,{emblaRef:g,scrollPrev:b,scrollNext:w,prevBtnDisabled:j,nextBtnDisabled:y,emblaApi:N}=(0,i.useCarousel)(),{scrollSnaps:C}=(0,s.useCarouselButton)(N),S=C.length>1;if(f[0]!==h||f[1]!==v){let e;f[3]!==h.length||f[4]!==v?(e=(e,l)=>{let a=e.icon?.url;return(0,t.jsxs)("li",{className:"flex min-w-0 flex-[0_0_75%] flex-col items-center text-center sm:flex-[0_0_45%] lg:flex-[0_0_30%] xl:flex-[0_0_16.666%]",children:[(0,t.jsxs)("div",{className:"relative flex h-24 w-full items-center justify-center",children:[l>0&&(0,t.jsx)("span",{className:"absolute top-1/2 left-0 h-px w-1/2 bg-neutral-200"}),l<h.length-1&&(0,t.jsx)("span",{className:"absolute top-1/2 right-0 h-px w-1/2 bg-neutral-200"}),(0,t.jsxs)("span",{className:"relative z-10 flex size-16 items-center justify-center rounded-full border border-neutral-200 bg-white",children:[a&&(0,t.jsx)(n.default,{src:a,alt:e.icon?.altText??"",width:40,height:40,priority:v,className:"size-10 object-contain"}),(0,t.jsx)("span",{className:(0,o.cn)(a?"bg-primary-600 absolute -top-1 -right-1 flex size-7 items-center justify-center rounded-full text-sm font-semibold text-white ring-4 ring-white":"text-primary-600 text-2xl font-semibold"),children:l+1})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 px-3 pt-6",children:[e.title&&(0,t.jsx)("h4",{...e.titlePreviewAttrs,className:"text-xl font-semibold break-words hyphens-auto text-neutral-900",children:e.title}),e.pills,e.description&&(0,t.jsx)("div",{...e.descriptionPreviewAttrs,children:e.description})]})]},e.id)}
41,f[3]=h.length,f[4]=v,f[5]=e):e=f[5],c=h.map(e),f[0]=h,f[1]=v,f[2]=c}else c=f[2];return f[6]!==c?(d=(0,t.jsx)("ol",{className:"flex",children:c}),f[6]=c,f[7]=d):d=f[7],f[8]!==g||f[9]!==d?(u=(0,t.jsx)("div",{className:"overflow-hidden",ref:g,children:d}),f[8]=g,f[9]=d,f[10]=u):u=f[10],f[11]!==S||f[12]!==y||f[13]!==j||f[14]!==w||f[15]!==b?(m=S&&(0,t.jsxs)("div",{className:"mt-8 flex gap-3",children:[(0,t.jsx)(a.CarouselNavButton,{direction:"previous",onClick:b,disabled:j,"aria-label":"Previous step",className:"border border-neutral-200"}),(0,t.jsx)(a.CarouselNavButton,{direction:"next",onClick:w,disabled:y,"aria-label":"Next step",className:"border border-neutral-200"})]}),f[11]=S,f[12]=y,f[13]=j,f[14]=w,f[15]=b,f[16]=m):m=f[16],f[17]!==u||f[18]!==m?(p=(0,t.jsxs)("div",{className:"w-full",children:[u,m]}),f[17]=u,f[18]=m,f[19]=p):p=f[19],p}])},57120,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(1292),a=e.i(44886),i=e.i(14951),s=e.i(70),o=e.i(76376),c=e.i(27341),d=e.i(73666),u=e.i(47546),m=e.i(75430),p=e.i(81278),f=e.i(17203),h=e.i(27927);function x(e){let n,a,i=(0,l.c)(10),{features:s,rootEntryId:o,componentChain:c,preloadImage:d}=e,m=void 0!==d&&d;if(i[0]!==c||i[1]!==s||i[2]!==o){let e;i[4]!==c||i[5]!==o?(e=e=>{let l=(0,u.appendPreviewComponentChain)(c,"features",e.id);return{id:e.id,title:e.textWithIconAndLinkTitle,titlePreviewAttrs:(0,u.previewChainedField)(o,"textWithIconAndLinkTitle",l),icon:e.textWithIconAndLinkIcon,pills:(0,t.jsx)(f.PillList,{pills:e.pills,className:"justify-center",rootEntryId:o,componentChain:l}),description:e.textWithIconAndLinkDescription?(0,t.jsx)(p.RichTextRenderer,{content:e.textWithIconAndLinkDescription.raw,paragraphSize:"sm"}):null,descriptionPreviewAttrs:(0,u.previewChainedField)(o,"textWithIconAndLinkDescription",l)}},i[4]=c,i[5]=o,i[6]=e):e=i[6],n=s.map(e),i[0]=c,i[1]=s,i[2]=o,i[3]=n}else n=i[3];let x=n;return i[7]!==x||i[8]!==m?(a=(0,t.jsx)(h.StepsTimeline,{items:x,preloadImage:m}),i[7]=x,i[8]=m,i[9]=a):a=i[9],a}var v=e.i(32138),g=e.i(52989),b=e.i(35765),w=e.i(63661);function j(e){let n,s,o,c,d,p,h,x,j,y,N,C,S,P,k,R=(0,l.c)(60),{id:A,isHero:E,tag:T,title:_,description:I,borderVariant:D,icon:L,link:F,image:M,pills:O,className:z,preloadImage:H,rootEntryId:V,componentChain:U}=e,B=void 0!==H&&H,W=E?"h1":"h4";if(R[0]!==W||R[1]!==D||R[2]!==z||R[3]!==U||R[4]!==I||R[5]!==L||R[6]!==A||R[7]!==M||R[8]!==E||R[9]!==B||R[10]!==V||R[11]!==T||R[12]!==_){({entryId:s,chain:n}=(0,u.resolvePreviewContext)(A,{rootEntryId:V,componentChain:U}));let e=M&&"md:grid-cols-2",l="transparent"!==D&&"px-5 md:px-10 lg:px-20";R[22]!==D||R[23]!==z||R[24]!==l||R[25]!==e?(j=(0,m.cn)("grid grid-cols-1 items-center rounded-l-xl rounded-r-4xl md:gap-10",e,l,(0,i.borderColorCardVariants)({borderColor:D}),z),R[22]=D,R[23]=z,R[24]=l,R[25]=e,R[26]=j):j=R[26];let a="transparent"!==D&&"py-5 md:py-10 lg:py-20";R[27]!==a?(h=(0,m.cn)("flex items-start gap-3 md:gap-6",a),R[27]=a,R[28]=h):h=R[28],R[29]!==L||R[30]!==E||R[31]!==B?(x=L&&(0,t.jsx)(v.default,{src:L.url,alt:L.altText??"",width:L.width??40,height:L.height??40,className:"max-h-[30px] max-w-[30px] shrink-0 object-contain md:max-h-[40px] md:max-w-[40px]",priority:!!(E||B)}),R[29]=L,R[30]=E,R[31]=B,R[32]=x):x=R[32],o="space-y-4 lg:space-y-8",c=T&&(0,t.jsx)("div",{...(0,u.previewChainedField)(s,"tag",n),children:(0,t.jsx)(b.Tag,{title:T,theme:(0,w.getTagColorForVariant)(D),withBackground:!0})}),d=(0,t.jsx)(W,{...(0,u.previewChainedField)(s,"title",n),className:"text-2xl font-semibold text-neutral-900 lg:text-4xl",children:_}),p=I&&(0,t.jsx)("div",{...(0,u.previewChainedField)(s,"description",n),children:(0,t.jsx)(g.DescriptionRichTextRenderer,{content:I.raw})}),R[0]=W,R[1]=D,R[2]=z,R[3]=U,R[4]=I,R[5]=L,R[6]=A,R[7]=M,R[8]=E,R[9]=B,R[10]=V,R[11]=T,R[12]=_,R[13]=n,R[14]=s,R[15]=o,R[16]=c,R[17]=d,R[18]=p,R[19]=h,R[20]=x,R[21]=j}else n=R[13],s=R[14],o=R[15],c=R[16],d=R[17],p=R[18],h=R[19],x=R[20],j=R[21];return R[33]!==O||R[34]!==n||R[35]!==s?(y=(0,t.jsx)(f.PillList,{pills:O,rootEntryId:s,componentChain:n}),R[33]=O,R[34]=n,R[35]=s,R[36]=y):y=R[36],R[37]!==F||R[38]!==n||R[39]!==s?(N=F&&(0,t.jsx)(a.AppLink,{...F,rootEntryId:s,componentChain:(0,u.appendPreviewComponentChain)(n,"link",F.id),className:"w-fit! p-0! text-start!"}),R[37]=F,R[38]=n,R[39]=s,R[40]=N):N=R[40],R[41]!==N||R[42]!==o||R[43]!==c||R[44]!==d||R[45]!==p||R[46]!==y?(C=(0,t.jsxs)("div",{className:o,children:[c,d,p,y,N]}),R[41]=N,R[42]=o,R[43]=c,R[44]=d,R[45]=p,R[46]=y,R[47]=C):C=R[47],R[48]!==C||R[49]!==h||R[50]!==x?(S=(0,t.jsxs)("div",{className:h,children:[x,C]}),R[48]=C,R[49]=h,R[50]=x,R[51]=S):S=R[51],R[52]!==M||R[53]!==E||R[54]!==B?(P=M&&(0,t.jsx)(v.default,{src:M.url,alt:M.altText??"",width:M.width??0,height:M.height??0,className:"h-full min-h-[200px] w-full object-contain md:min-
41h-[400px] lg:min-h-[400px]",priority:!!(E||B)}),R[52]=M,R[53]=E,R[54]=B,R[55]=P):P=R[55],R[56]!==S||R[57]!==P||R[58]!==j?(k=(0,t.jsxs)("div",{className:j,children:[S,P]}),R[56]=S,R[57]=P,R[58]=j,R[59]=k):k=R[59],k}let y=e=>!e.textWithIconAndLinkLink||(0,d.hasValidLinkDestination)(e.textWithIconAndLinkLink);function N(e,l){return(0,t.jsx)(c.TabsTrigger,{value:e.id,className:"bg-primary-100 text-primary-700 hover:bg-primary-200 data-[state=active]:bg-primary-600 !flex-0 !rounded-full !p-3 !text-sm !font-semibold transition-colors data-[state=active]:text-white",children:e.buttonText},l)}function C(e,t){return e.textWithIconAndLinkTitle?.localeCompare(t.textWithIconAndLinkTitle??"")??0}function S(e){return e.features}function P(e){let t=e.features.filter(y);return{...e,features:e.sortAlphabetically?t.sort(k):t}}function k(e,t){return e.textWithIconAndLinkTitle?.localeCompare(t.textWithIconAndLinkTitle??"")??0}e.s(["SectionFeaturesList",0,function(e){let d,p,f,h,v,g,b,w,k,R,A=(0,l.c)(36),{header:E,allFeaturesButtonText:T,allFeaturesLabel:_,seeAllButtonText:I,allCategoryOnlyFeatures:D,categories:L,centerCategories:F,isFirstSection:M,entryId:O,scrollId:z}=e,H=(0,n.useRef)(null),[V,U]=(0,n.useState)(L[0]?.id??"all"),B=!!T;A[0]!==D||A[1]!==T||A[2]!==_||A[3]!==L||A[4]!==B?(d=[...L.map(P),...B?[{id:"all",label:_,subLabel:null,features:[...L.flatMap(S),...D].filter(y).sort(C),buttonText:T,highlightedFeatures:[],highlightedFeaturesGrid:null,sortAlphabetically:null,featuresDisplayStyle:null}]:[]],A[0]=D,A[1]=T,A[2]=_,A[3]=L,A[4]=B,A[5]=d):d=A[5];let W=d;A[6]!==O||A[7]!==E||A[8]!==M?(p=E&&(0,t.jsx)(s.SectionHeader,{...E,rootEntryId:O,componentChain:(0,u.appendPreviewComponentChain)(void 0,"header",E.id),className:"mb-8 lg:mb-16",isPageTitle:M}),A[6]=O,A[7]=E,A[8]=M,A[9]=p):p=A[9];let Y=F&&"mx-auto";return A[10]!==Y?(f=(0,m.cn)("mb-8 flex-wrap justify-start gap-2 lg:mb-16",Y),A[10]=Y,A[11]=f):f=A[11],A[12]!==W?(h=W.map(N),A[12]=W,A[13]=h):h=A[13],A[14]!==f||A[15]!==h?(v=(0,t.jsx)(c.TabsList,{className:f,children:h}),A[14]=f,A[15]=h,A[16]=v):v=A[16],A[17]!==O||A[18]!==W||A[19]!==M?(g=W.map((e,l)=>(0,t.jsx)(c.TabsContent,{value:e.id,className:"!w-full !border-none !p-0",children:(0,t.jsxs)("div",{className:"w-full",children:[e.label&&(0,t.jsx)("h3",{className:(0,m.cn)("text-3xl font-semibold text-neutral-900 lg:text-5xl",e.subLabel?"mb-3":"mb-10"),children:e.label}),e.subLabel&&(0,t.jsx)("p",{className:"mb-10 text-lg text-balance text-neutral-700 lg:text-xl",children:e.subLabel}),e.highlightedFeatures.length>0&&(0,t.jsx)("div",{className:(0,m.cn)("grid grid-cols-1 gap-5","two"===e.highlightedFeaturesGrid&&"md:grid-cols-2",e.features.length&&"mb-5"),children:e.highlightedFeatures.map(l=>(0,t.jsx)(j,{...l,rootEntryId:O,componentChain:(0,u.appendPreviewComponentChain)((0,u.appendPreviewComponentChain)(void 0,"categories",e.id),"highlightedFeatures",l.id),preloadImage:M},l.id))}),"steps"===e.featuresDisplayStyle?(0,t.jsx)(x,{features:e.features,rootEntryId:O,componentChain:(0,u.appendPreviewComponentChain)(void 0,"categories",e.id),preloadImage:M}):(0,t.jsx)("ul",{className:(0,m.cn)("grid grid-cols-1 gap-5 md:grid-cols-2",e.features.length>2&&"lg:grid-cols-3"),children:e.features.map((e,l)=>{let{textWithIconAndLinkTitle:n,textWithIconAndLinkDescription:a,textWithIconAndLinkIcon:s,textWithIconAndLinkLink:o,pills:c}=e;return(0,t.jsx)(i.Card,{title:n||"",description:a,icon:s,cardLink:o,pills:c,variant:"primary",borderColor:"gray",iconText:null,link:null,cardImage:null,preloadImage:M},l)})})]})},l)),A[17]=O,A[18]=W,A[19]=M,A[20]=g):g=A[20],A[21]!==V||A[22]!==v||A[23]!==g?(b=(0,t.jsxs)(c.Tabs,{value:V,onValueChange:U,className:"mb-8 w-full lg:mb-16",children:[v,g]}),A[21]=V,A[22]=v,A[23]=g,A[24]=b):b=A[24],A[25]!==V||A[26]!==B||A[27]!==I?(w=B&&"all"!==V&&I&&(0,t.jsx)(a.AppButton,{variant:"primary",size:"md",onClick:()=>{H.current?.scrollIntoView({behavior:"smooth"}),U("all")},className:"mx-auto",children:I}),A[25]=V,A[26]=B,A[27]=I,A[28]=w):w=A[28],A[29]!==b||A[30]!==w?(k=(0,t.jsxs)("div",{ref:H,className:"w-full scroll-mt-28",children:[b,w]}),A[29]=b,A[30]=w,A[31]=k):k=A[31],A[32]!==z||A[33]!==k||A[34]!==p?(R=(0,t.jsxs)(o.SectionWrapper,{id:z,children:[p,k]}),A[32]=z,A[33]=k,A[34]=p,A[35]=R):R=A[35],R}],57120)},91500,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(50547),a=e.i(1292),i=e.i(44886),s=e.i(5591),o=e.i(37344),c=e.i(30664);function d(e){let n,a,i,s,d,u=(0,l.c)(14),{letter:m,glossaries:p,type:f}=e;if(0===p.length)return null;let h="#"===m?"numbers":m;if(u[0]!==m?(n=(0,t.jsx)("h2",{className:"text-5xl font-medium text-neutral-900",children:m}),u[0]=m,u[1]=n):n=u[1],u[2]!==p||u[3]!==f){let e;u[5]!==f?(e=e=>{let{id:l,title:n,slug:a}=e;return(0,t.jsx)("li",{children:(0,t.jsx)(c.ResourceLink,{slug:a,contentType:f.route,variant:"tertiary",size:"lg",className:"justify-start p-0 text-left font-normal text-neutral-900",label:n,children:n})},l)},u[5]=f,u[6]=e):e=u[6],a=p.map(e),u[2]=p,u[3]=f,u[4]=a}else a=u[4];return u[7]!==a?(i=(0,t.jsx)("ul",{className:"mt-4 mb-6 flex flex-col gap-1",children:a}),u[7]=a,u[8]=i):i=u[8],u[9]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(o.DecorBar,{position:"bottom",className:"mt-auto"}),u[9]=s):s=u[9],u[10]!==h||u[11]!==n||u[12]!==i?(d=(0,t.jsxs)("div",{id:h,className:"flex scroll-mt-24 flex-col xl:scroll-mt-32",children:[n,i,s]}),u[10]=h,u[11]=n,u[12]=i,u[13]=d):d=u[13],d}let u=Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZ"),m=(e,t)=>
41e.toLowerCase().includes(t.toLowerCase()),p=(e,t,l)=>e.filter(({title:e})=>e.startsWith(t)&&m(e,l));e.s(["SectionContainer",0,function(e){let o,c,f,h,x,v,g,b,w,j,y,N,C,S=(0,l.c)(35),{type:P,searchPlaceholder:k,scrollToTopButtonText:R,glossaries:A}=e,E=(0,a.useRef)(null),[T,_]=(0,a.useState)("");S[0]===Symbol.for("react.memo_cache_sentinel")?(o=e=>_(e.target.value),S[0]=o):o=S[0];let I=o;S[1]!==A||S[2]!==T?(c=((e,t="")=>e.filter(({title:e})=>/^[0-9]/.test(e)&&m(e,t)))(A,T),S[1]=A,S[2]=T,S[3]=c):c=S[3];let D=c;S[4]!==D.length?(f=D.length>0&&(0,t.jsx)(n.default,{href:"#numbers",children:(0,t.jsx)("span",{className:"text-lg font-semibold text-neutral-900",children:"#"})},"jump-to-numbers"),S[4]=D.length,S[5]=f):f=S[5],S[6]!==A||S[7]!==T?(h=u.map(e=>0===p(A,e,T).length?null:(0,t.jsx)(n.default,{href:`#${e}`,children:(0,t.jsx)("span",{className:"text-lg font-semibold text-neutral-900",children:e})},`jump-to-${e}`)),S[6]=A,S[7]=T,S[8]=h):h=S[8],S[9]!==f||S[10]!==h?(x=(0,t.jsxs)("div",{className:"flex flex-1 flex-wrap justify-start gap-4 lg:gap-2",children:[f,h]}),S[9]=f,S[10]=h,S[11]=x):x=S[11];let L=k??"";return S[12]!==T||S[13]!==L?(v=(0,t.jsx)("div",{className:"w-full lg:max-w-md",children:(0,t.jsx)(s.SearchInput,{placeholder:L,className:"border-neutral-200 bg-neutral-100",value:T,handleChange:I})}),S[12]=T,S[13]=L,S[14]=v):v=S[14],S[15]!==x||S[16]!==v?(g=(0,t.jsxs)("div",{ref:E,className:"my-8 flex scroll-mt-28 flex-col justify-between gap-4 rounded-2xl border border-neutral-100 bg-neutral-50 py-4 pr-4 pl-4 lg:my-16 lg:flex-row lg:items-center lg:gap-0 lg:rounded-full lg:py-2 lg:pl-8",children:[x,v]}),S[15]=x,S[16]=v,S[17]=g):g=S[17],S[18]!==D||S[19]!==P?(b=(0,t.jsx)(d,{letter:"#",glossaries:D,type:P}),S[18]=D,S[19]=P,S[20]=b):b=S[20],S[21]!==A||S[22]!==T||S[23]!==P?(w=u.map(e=>(0,t.jsx)(d,{letter:e,glossaries:p(A,e,T),type:P},e)),S[21]=A,S[22]=T,S[23]=P,S[24]=w):w=S[24],S[25]!==w||S[26]!==b?(j=(0,t.jsxs)("div",{className:"grid grid-cols-1 items-stretch gap-8 md:grid-cols-2 lg:grid-cols-3",children:[b,w]}),S[25]=w,S[26]=b,S[27]=j):j=S[27],S[28]===Symbol.for("react.memo_cache_sentinel")?(y=()=>E.current?.scrollIntoView({behavior:"smooth"}),S[28]=y):y=S[28],S[29]!==R?(N=(0,t.jsx)(i.AppButton,{className:"mx-auto mt-20",size:"md",onClick:y,children:R}),S[29]=R,S[30]=N):N=S[30],S[31]!==j||S[32]!==N||S[33]!==g?(C=(0,t.jsxs)(t.Fragment,{children:[g,j,N]}),S[31]=j,S[32]=N,S[33]=g,S[34]=C):C=S[34],C}],91500)},16156,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(1292),a=e.i(24959),i=e.i(32138),s=e.i(47546),o=e.i(94924),c=e.i(75430);function d(e){let n,a,i=(0,l.c)(3),{content:s}=e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(n={p:u},i[0]=n):n=i[0],i[1]!==s?(a=(0,t.jsx)(o.RichText,{content:s,renderers:n}),i[1]=s,i[2]=a):a=i[2],a}function u(e){let{children:l}=e;return(0,t.jsx)("p",{className:(0,c.cn)("text-secondary text-md"),children:l})}var m=e.i(44886),p=e.i(37344);function f(e){let n,a,o,c,u,f,x,v,g=(0,l.c)(54),{name:b,logo:w,asListItem:j,asCard:y,cta:N,id:C,image:S,link:P,subtitle:k,description:R}=e;if(y){let e,l,n,a,o,c,u,f,h,x,v;g[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(p.DecorBar,{position:"left"}),g[0]=e):e=g[0],g[1]!==w||g[2]!==b?(l=w&&(0,t.jsx)("div",{className:"size-16 min-h-16 min-w-16 overflow-hidden rounded-lg",children:(0,t.jsx)(i.default,{src:w.url,alt:b??"",width:64,height:64,className:"h-full w-full"})}),g[1]=w,g[2]=b,g[3]=l):l=g[3],g[4]!==b?(n=b&&(0,t.jsx)("h3",{className:"text-2xl font-semibold text-neutral-900",children:b}),g[4]=b,g[5]=n):n=g[5],g[6]!==k?(a=k&&(0,t.jsx)("p",{className:"text-sm text-neutral-700",children:k}),g[6]=k,g[7]=a):a=g[7],g[8]!==n||g[9]!==a?(o=(0,t.jsxs)("div",{className:"flex flex-col",children:[n,a]}),g[8]=n,g[9]=a,g[10]=o):o=g[10],g[11]!==l||g[12]!==o?(c=(0,t.jsxs)("div",{className:"flex h-[64px] items-center gap-4",children:[l,o]}),g[11]=l,g[12]=o,g[13]=c):c=g[13],g[14]!==R?(u=R&&(0,t.jsx)("div",{className:"text-base text-neutral-900",children:(0,t.jsx)(d,{content:R.raw})}),g[14]=R,g[15]=u):u=g[15],g[16]!==C||g[17]!==N?(f=N&&(0,t.jsx)(m.AppLink,{...N,rootEntryId:C,componentChain:(0,s.appendPreviewComponentChain)(void 0,"cta",N.id),className:"mt-auto mb-6 w-fit self-start p-0 text-left"}),g[16]=C,g[17]=N,g[18]=f):f=g[18],g[19]!==c||g[20]!==u||g[21]!==f?(h=(0,t.jsxs)("div",{className:"flex max-w-xl flex-1 flex-col gap-6 md:p-4 lg:px-8 lg:py-6",children:[c,u,f]}),g[19]=c,g[20]=u,g[21]=f,g[22]=h):h=g[22],g[23]!==S||g[24]!==b?(x=S&&(0,t.jsx)("div",{className:"relative w-full md:mr-5 md:ml-auto md:w-1/3",children:(0,t.jsx)(i.default,{src:S.url,alt:(S.altText||b)??"",width:S.width??500,height:S.height??300,className:"h-full w-full object-contain"})}),g[23]=S,g[24]=b,g[25]=x):x=g[25],g[26]!==x||g[27]!==h?(v=(0,t.jsxs)("article",{className:"flex h-full rounded-2xl border border-gray-100 bg-neutral-50",children:[e,(0,t.jsxs)("div",{className:"flex w-full flex-col p-4 md:flex-row md:p-0",children:[h,x]})]}),g[26]=x,g[27]=h,g[28]=v):v=g[28];let y=v;if(j){let e;return g[29]!==y?(e=(0,t.jsx)("li",{children:y}),g[29]=y,g[30]=e):e=g[30],e}return y}if(h(P))return null;g[31]!==w||g[32]!==b?(n=w&&(0,t.jsx)("div",{className:"size-16 overflow-hidden rounded-lg",children:(0,t.jsx)(i.default,{src:w.url,alt:b??"",width:100,height:100,className:"h-full w-full max-w-none"})}),g[31]=w,g[32]=b,g[33]=n):n=g[33],g[34]!==b?(a=b&&(0,t.jsx)("h3",{className:"text-xl font-semibold text-neutral-900 lg:text-2xl",children:b}),g[34]=b,g[35]=a):a=g[35],g[36]!==k?(o=k&&(0,t.jsx)("p",{className:"text-sm text-neutral-700",children:k}),g[36]=k,g[37]=o):o=g[37],g[38]!==a||g[39]!==o?(c=(0,t.jsxs)("div",{className:"flex flex-col",children:[a,o]}),g[38]=a,g[39]=o,g[40]=c):c=g[40],g[41]!==n||g[42]!==c?(u=(0,t.jsxs)("div",{className:"flex h-[64px] items-center gap-4",children:[n,c]}),g[41]=n,g[42]=c,g[43]=u):u=g[43],g[44]!==R?(f=R&&(0,t.jsx)("div",{className:"text-base text-neutral-900",children:(0,t.jsx)(d,{content:R.raw})}),g[44]=R,g[45]=f):f=g[45],g[46]!==u||g[47]!==f?(x=(0,t.jsxs)("article",{className:"flex h-full flex-col gap-4 roun
41ded-2xl border border-gray-100 bg-neutral-50 p-4 lg:px-8 lg:py-6",children:[u,f]}),g[46]=u,g[47]=f,g[48]=x):x=g[48],g[49]!==P||g[50]!==x?(v=(0,t.jsx)(m.AppLink,{clean:!0,destination:P,className:"block h-full transition-all duration-300",children:x}),g[49]=P,g[50]=x,g[51]=v):v=g[51];let A=v;if(j){let e;return g[52]!==A?(e=(0,t.jsx)("li",{children:A}),g[52]=A,g[53]=e):e=g[53],e}return A}let h=e=>!e||!!e.page?.isDisabled;var x=e.i(5591),v=e.i(86825),g=e.i(70);function b(e){let n,a,i,s,o=(0,l.c)(8);return(o[0]!==e?({rootEntryId:i,componentChain:n,...a}=e,o[0]=e,o[1]=n,o[2]=a,o[3]=i):(n=o[1],a=o[2],i=o[3]),a)?(o[4]!==n||o[5]!==a||o[6]!==i?(s=(0,t.jsx)("div",{className:"bg-primary-800 flex items-center justify-center rounded-3xl p-10",children:(0,t.jsx)(g.SectionHeader,{...a,rootEntryId:i,componentChain:n,isDark:!0,ctaClassName:"lg:flex-col"})}),o[4]=n,o[5]=a,o[6]=i,o[7]=s):s=o[7],s):null}function w(e){let n,a,i,s=(0,l.c)(7),{integrations:o,children:c}=e;return s[0]!==o?(n=o.map(j),s[0]=o,s[1]=n):n=s[1],s[2]!==c?(a=c&&(0,t.jsx)("li",{children:c}),s[2]=c,s[3]=a):a=s[3],s[4]!==n||s[5]!==a?(i=(0,t.jsxs)("ul",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 xl:grid-cols-3",children:[n,a]}),s[4]=n,s[5]=a,s[6]=i):i=s[6],i}function j(e){return(0,t.jsx)(f,{...e,asListItem:!0,asCard:!1,link:e.link??e.cta?.destination??null},e.id)}function y(e){return(0,t.jsx)(f,{...e,link:e.link??e.cta?.destination??null})}function N(e,t,l){return l.findIndex(t=>t.id===e.id)===t}function C(e){return e.sections.map(S)}function S(e){let{integrations:t}=e;return t}e.s(["IntegrationsContent",0,function(e){let i,o,c,d,u,m,p,f=(0,l.c)(35),{searchPlaceholder:h,integrations:g,buildIntegrationCard:j,rootEntryId:S}=e,[P,k]=(0,n.useState)("");if(f[0]!==g||f[1]!==P||f[2]!==h){c=Symbol.for("react.early_return_sentinel");e:{let e;if(i=g.map(C).flat().flat().filter(N),f[6]===Symbol.for("react.memo_cache_sentinel")?(e=e=>k(e.target.value),f[6]=e):e=f[6],o=e,P){let e,l,n,a;f[7]!==P?(e=e=>e.name.toLowerCase().includes(P.toLowerCase()),f[7]=P,f[8]=e):e=f[8];let s=i.filter(e),d=h??"";f[9]!==P||f[10]!==d?(l=(0,t.jsx)(x.SearchInput,{placeholder:d,value:P,handleChange:o}),f[9]=P,f[10]=d,f[11]=l):l=f[11],f[12]!==s?(n=(0,t.jsx)(w,{integrations:s}),f[12]=s,f[13]=n):n=f[13],f[14]!==l||f[15]!==n?(a=(0,t.jsxs)(t.Fragment,{children:[l,n]}),f[14]=l,f[15]=n,f[16]=a):a=f[16],c=a;break e}}f[0]=g,f[1]=P,f[2]=h,f[3]=i,f[4]=o,f[5]=c}else i=f[3],o=f[4],c=f[5];if(c!==Symbol.for("react.early_return_sentinel"))return c;let R=h??"";if(f[17]!==o||f[18]!==P||f[19]!==R?(d=(0,t.jsx)(x.SearchInput,{placeholder:R,value:P,handleChange:o}),f[17]=o,f[18]=P,f[19]=R,f[20]=d):d=f[20],f[21]!==i||f[22]!==j||f[23]!==g||f[24]!==S){let e;f[26]!==i||f[27]!==j||f[28]!==S?(e=e=>{let{sections:l}=e;return l.map(e=>{let{id:l,integrations:n,carousel:o,sectionTitle:c,allIntegrations:d}=e;return(0,t.jsxs)("section",{children:[(0,t.jsx)("h2",{id:(0,v.textToQuery)(c),className:"mb-6 scroll-m-20 text-4xl font-semibold text-neutral-900",children:c}),o?(0,t.jsx)(a.Carousel,{items:n,renderSlide:y,className:"w-[calc(100%+20px)] sm:w-full",slideButtonAriaLabel:"Select integration",slideClassName:"flex-[0_0_90%] pr-1 pl-5 select-none lg:flex-[0_0_100%] lg:p-0"}):d?(0,t.jsx)(w,{integrations:i,children:j&&(0,t.jsx)(b,{...j,rootEntryId:S,componentChain:(0,s.appendPreviewComponentChain)(void 0,"buildIntegrationCard",j.id)})}):(0,t.jsx)(w,{integrations:n})]},l)})},f[26]=i,f[27]=j,f[28]=S,f[29]=e):e=f[29],u=g.map(e),f[21]=i,f[22]=j,f[23]=g,f[24]=S,f[25]=u}else u=f[25];return f[30]!==u?(m=(0,t.jsx)("div",{className:"flex flex-col gap-12",children:u}),f[30]=u,f[31]=m):m=f[31],f[32]!==d||f[33]!==m?(p=(0,t.jsxs)(t.Fragment,{children:[d,m]}),f[32]=d,f[33]=m,f[34]=p):p=f[34],p}],16156)},73649,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(1292),a=e.i(8196),i=e.i(94458),s=e.i(67240),o=e.i(43644),c=e.i(79603),d=e.i(97229),u=e.i(91467),m=e.i(3512),p=e.i(15201),f="ScrollArea",[h,x]=(0,s.createContextScope)(f),[v,g]=h(f),b=n.forwardRef((e,l)=>{let{__scopeScrollArea:i,type:s="hover",dir:c,scrollHideDelay:u=600,...m}=e,[p,f]=n.useState(null),[h,x]=n.useState(null),[g,b]=n.useState(null),[w,j]=n.useState(null),[y,N]=n.useState(null),[C,S]=n.useState(0),[P,k]=n.useState(0),[R,A]=n.useState(!1),[E,T]=n.useState(!1),_=(0,o.useComposedRefs)(l,e=>f(e)),I=(0,d.useDirection)(c);return(0,t.jsx)(v,{scope:i,type:s,dir:I,scrollHideDelay:u,scrollArea:p,viewport:h,onViewportChange:x,content:g,onContentChange:b,scrollbarX:w,onScrollbarXChange:j,scrollbarXEnabled:R,onScrollbarXEnabledChange:A,scrollbarY:y,onScrollbarYChange:N,scrollbarYEnabled:E,onScrollbarYEnabledChange:T,onCornerWidthChange:S,onCornerHeight
41Change:k,children:(0,t.jsx)(a.Primitive.div,{dir:I,...m,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":P+"px",...e.style}})})});b.displayName=f;var w="ScrollAreaViewport",j=n.forwardRef((e,l)=>{let{__scopeScrollArea:i,children:s,nonce:c,...d}=e,u=g(w,i),m=n.useRef(null),p=(0,o.useComposedRefs)(l,m,u.onViewportChange);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y,{nonce:c}),(0,t.jsx)(a.Primitive.div,{"data-radix-scroll-area-viewport":"",...d,ref:p,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,t.jsx)("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"},children:s})})]})});j.displayName=w;var y=n.memo(({nonce:e})=>(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:e}),(e,t)=>e.nonce===t.nonce),N="ScrollAreaScrollbar",C=n.forwardRef((e,l)=>{let{forceMount:a,...i}=e,s=g(N,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:c}=s,d="horizontal"===e.orientation;return n.useEffect(()=>(d?o(!0):c(!0),()=>{d?o(!1):c(!1)}),[d,o,c]),"hover"===s.type?(0,t.jsx)(S,{...i,ref:l,forceMount:a}):"scroll"===s.type?(0,t.jsx)(P,{...i,ref:l,forceMount:a}):"auto"===s.type?(0,t.jsx)(k,{...i,ref:l,forceMount:a}):"always"===s.type?(0,t.jsx)(R,{...i,ref:l,"data-state":"visible"}):null});C.displayName=N;var S=n.forwardRef((e,l)=>{let{forceMount:a,...s}=e,o=g(N,e.__scopeScrollArea),[c,d]=n.useState(!1);return n.useEffect(()=>{let e=o.scrollArea,t=0;if(e){let l=()=>{window.clearTimeout(t),d(!0)},n=()=>{t=window.setTimeout(()=>d(!1),o.scrollHideDelay)};return e.addEventListener("pointerenter",l),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",l),e.removeEventListener("pointerleave",n)}}},[o.scrollArea,o.scrollHideDelay]),(0,t.jsx)(i.Presence,{present:a||c,children:(0,t.jsx)(k,{"data-state":c?"visible":"hidden",...s,ref:l})})}),P=n.forwardRef((e,l)=>{var a;let{forceMount:s,...o}=e,c=g(N,e.__scopeScrollArea),d="horizontal"===e.orientation,u=$(()=>f("SCROLL_END"),100),[m,f]=(a={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},n.useReducer((e,t)=>a[e][t]??e,"hidden"));return n.useEffect(()=>{if("idle"===m){let e=window.setTimeout(()=>f("HIDE"),c.scrollHideDelay);return()=>window.clearTimeout(e)}},[m,c.scrollHideDelay,f]),n.useEffect(()=>{let e=c.viewport,t=d?"scrollLeft":"scrollTop";if(e){let l=e[t],n=()=>{let n=e[t];l!==n&&(f("SCROLL"),u()),l=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[c.viewport,d,f,u]),(0,t.jsx)(i.Presence,{present:s||"hidden"!==m,children:(0,t.jsx)(R,{"data-state":"hidden"===m?"hidden":"visible",...o,ref:l,onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,()=>f("POINTER_LEAVE"))})})}),k=n.forwardRef((e,l)=>{let a=g(N,e.__scopeScrollArea),{forceMount:s,...o}=e,[c,d]=n.useState(!1),u="horizontal"===e.orientation,m=$(()=>{if(a.viewport){let e=a.viewport.offsetWidth<a.viewport.scrollWidth,t=a.viewport.offsetHeight<a.viewport.scrollHeight;d(u?e:t)}},10);return G(a.viewport,m),G(a.content,m),(0,t.jsx)(i.Presence,{present:s||c,children:(0,t.jsx)(R,{"data-state":c?"visible":"hidden",...o,ref:l})})}),R=n.forwardRef((e,l)=>{let{orientation:a="vertical",...i}=e,s=g(N,e.__scopeScrollArea),o=n.useRef(null),c=n.useRef(0),[d,u]=n.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),m=V(d.viewport,d.content),p={...i,sizes:d,onSizesChange:u,hasThumb:!!(m>0&&m<1),onThumbChange:e=>o.current=e,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:e=>c.current=e};function f(e,t){return function(e,t,l,n="ltr"){let a=U(l),i=t||a/2,s=l.scrollbar.paddingStart+i,o=l.scrollbar.size-l.scrollbar.paddingEnd-(a-i),c=l.content-l.viewport;return W([s,o],"ltr"===n?[0,c]:[-1*c,0])(e)}(e,c.current,d,t)}return"horizontal"===a?(0,t.jsx)(A,{...p,ref:l,onThumbPositionChange:()=>{if(s.viewport&&o.current){let e=B(s.viewport.scrollLeft,d,s.dir);o.current.style.transform=`translate3d(${e}px, 0, 0)`}}
41,onWheelScroll:e=>{s.viewport&&(s.viewport.scrollLeft=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollLeft=f(e,s.dir))}}):"vertical"===a?(0,t.jsx)(E,{...p,ref:l,onThumbPositionChange:()=>{if(s.viewport&&o.current){let e=B(s.viewport.scrollTop,d);o.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollTop=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollTop=f(e))}}):null}),A=n.forwardRef((e,l)=>{let{sizes:a,onSizesChange:i,...s}=e,c=g(N,e.__scopeScrollArea),[d,u]=n.useState(),m=n.useRef(null),p=(0,o.useComposedRefs)(l,m,c.onScrollbarXChange);return n.useEffect(()=>{m.current&&u(getComputedStyle(m.current))},[m]),(0,t.jsx)(I,{"data-orientation":"horizontal",...s,ref:p,sizes:a,style:{bottom:0,left:"rtl"===c.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===c.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":U(a)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,l)=>{if(c.viewport){var n,a;let i=c.viewport.scrollLeft+t.deltaX;e.onWheelScroll(i),n=i,a=l,n>0&&n<a&&t.preventDefault()}},onResize:()=>{m.current&&c.viewport&&d&&i({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:m.current.clientWidth,paddingStart:H(d.paddingLeft),paddingEnd:H(d.paddingRight)}})}})}),E=n.forwardRef((e,l)=>{let{sizes:a,onSizesChange:i,...s}=e,c=g(N,e.__scopeScrollArea),[d,u]=n.useState(),m=n.useRef(null),p=(0,o.useComposedRefs)(l,m,c.onScrollbarYChange);return n.useEffect(()=>{m.current&&u(getComputedStyle(m.current))},[m]),(0,t.jsx)(I,{"data-orientation":"vertical",...s,ref:p,sizes:a,style:{top:0,right:"ltr"===c.dir?0:void 0,left:"rtl"===c.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":U(a)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,l)=>{if(c.viewport){var n,a;let i=c.viewport.scrollTop+t.deltaY;e.onWheelScroll(i),n=i,a=l,n>0&&n<a&&t.preventDefault()}},onResize:()=>{m.current&&c.viewport&&d&&i({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:m.current.clientHeight,paddingStart:H(d.paddingTop),paddingEnd:H(d.paddingBottom)}})}})}),[T,_]=h(N),I=n.forwardRef((e,l)=>{let{__scopeScrollArea:i,sizes:s,hasThumb:d,onThumbChange:u,onThumbPointerUp:m,onThumbPointerDown:f,onThumbPositionChange:h,onDragScroll:x,onWheelScroll:v,onResize:b,...w}=e,j=g(N,i),[y,C]=n.useState(null),S=(0,o.useComposedRefs)(l,e=>C(e)),P=n.useRef(null),k=n.useRef(""),R=j.viewport,A=s.content-s.viewport,E=(0,c.useCallbackRef)(v),_=(0,c.useCallbackRef)(h),I=$(b,10);function D(e){P.current&&x({x:e.clientX-P.current.left,y:e.clientY-P.current.top})}return n.useEffect(()=>{let e=e=>{let t=e.target;y?.contains(t)&&E(e,A)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[R,y,A,E]),n.useEffect(_,[s,_]),G(y,I),G(j.content,I),(0,t.jsx)(T,{scope:i,scrollbar:y,hasThumb:d,onThumbChange:(0,c.useCallbackRef)(u),onThumbPointerUp:(0,c.useCallbackRef)(m),onThumbPositionChange:_,onThumbPointerDown:(0,c.useCallbackRef)(f),children:(0,t.jsx)(a.Primitive.div,{...w,ref:S,style:{position:"absolute",...w.style},onPointerDown:(0,p.composeEventHandlers)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),P.current=y.getBoundingClientRect(),k.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",j.viewport&&(j.viewport.style.scrollBehavior="auto"),D(e))}),onPointerMove:(0,p.composeEventHandlers)(e.onPointerMove,D),onPointerUp:(0,p.composeEventHandlers)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=k.current,j.viewport&&(j.viewport.style.scrollBehavior=""),P.current=null})})})}),D="ScrollAreaThumb",L=n.forwardRef((e,l)=>{let{forceMount:n,...a}=e,s=_(D,e.__scopeScrollArea);return(0,t.jsx)(i.Presence,{present:n||s.hasThumb,children:(0,t.jsx)(F,{ref:l,...a})})}),F=n.forwardRef((e,l)=>{let{__scopeScrollArea:i,style:s,...c}=e,d=g(D,i),u=_(D,i),{onThumbPositionChange:m}=u,f=(0,o.useComposedRefs)(l,e=>u.onThumbChange(e)),h=n.useRef(void 0),x=$(()=>{h.current&&(h.current(),h.current=void 0)},100);return n.useEffect(()=>{let e=d.viewport;if(e){let t=()=>{x(),h.current||(h.current=Y(e,m),m())};return m(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[d.viewport,x,m]),(0,t.jsx)(a.Primitive.div,{"data-state":u.hasThumb?"visible":"hidden",...c,ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:(0,p.composeEventHandlers)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),l=e.clientX-t.left,n=e.clientY-t.top;u.onThumbPointerDown({x:l,y:n})}),onPointerUp:(0,p.composeEventHandlers)(e.onPointerUp,u.onThumbPointerUp)})});L.displayName=D;var M="ScrollAreaCorner",O=n.forwardRef((e,l)=>{let n=g(M,e.__scopeScrollArea),a=!!(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&a?(0,t.jsx)(z,{...e,ref:l}):null});O.displayName=M;var z=n.forwardRef((e,l)=>{let{__scopeScrollArea:i,...s}=e,o=g(M,i),[c,d]=n.useState(0),[u,m]=n.useState(0),p=!!(c&&u);return G(o.scrollbarX,()=>{let e=o.scrollbarX?.offsetHeight||0;
41o.onCornerHeightChange(e),m(e)}),G(o.scrollbarY,()=>{let e=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(e),d(e)}),p?(0,t.jsx)(a.Primitive.div,{...s,ref:l,style:{width:c,height:u,position:"absolute",right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:0,...e.style}}):null});function H(e){return e?parseInt(e,10):0}function V(e,t){let l=e/t;return isNaN(l)?0:l}function U(e){let t=V(e.viewport,e.content),l=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-l)*t,18)}function B(e,t,l="ltr"){let n=U(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-a,s=t.content-t.viewport,o=(0,m.clamp)(e,"ltr"===l?[0,s]:[-1*s,0]);return W([0,s],[0,i-n])(o)}function W(e,t){return l=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(l-e[0])}}var Y=(e,t=()=>{})=>{let l={left:e.scrollLeft,top:e.scrollTop},n=0;return!function a(){let i={left:e.scrollLeft,top:e.scrollTop},s=l.left!==i.left,o=l.top!==i.top;(s||o)&&t(),l=i,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function $(e,t){let l=(0,c.useCallbackRef)(e),a=n.useRef(0);return n.useEffect(()=>()=>window.clearTimeout(a.current),[]),n.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(l,t)},[l,t])}function G(e,t){let l=(0,c.useCallbackRef)(t);(0,u.useLayoutEffect)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(l)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,l])}var q=e.i(75430);function K(e){let n,a,i,s,o,c,d=(0,l.c)(13);d[0]!==e?({className:n,orientation:i,...a}=e,d[0]=e,d[1]=n,d[2]=a,d[3]=i):(n=d[1],a=d[2],i=d[3]);let u=void 0===i?"vertical":i,m="vertical"===u&&"h-full w-2.5 border-l border-l-transparent",p="horizontal"===u&&"h-2.5 flex-col border-t border-t-transparent";return d[4]!==n||d[5]!==m||d[6]!==p?(s=(0,q.cn)("flex touch-none p-px transition-colors select-none",m,p,n),d[4]=n,d[5]=m,d[6]=p,d[7]=s):s=d[7],d[8]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(L,{"data-slot":"scroll-area-thumb",className:"bg-border relative flex-1 rounded-full"}),d[8]=o):o=d[8],d[9]!==u||d[10]!==a||d[11]!==s?(c=(0,t.jsx)(C,{"data-slot":"scroll-area-scrollbar",orientation:u,className:s,...a,children:o}),d[9]=u,d[10]=a,d[11]=s,d[12]=c):c=d[12],c}e.s(["ScrollArea",0,function(e){let n,a,i,s,o,c,d,u,m=(0,l.c)(14);return m[0]!==e?({className:a,children:n,...i}=e,m[0]=e,m[1]=n,m[2]=a,m[3]=i):(n=m[1],a=m[2],i=m[3]),m[4]!==a?(s=(0,q.cn)("relative",a),m[4]=a,m[5]=s):s=m[5],m[6]!==n?(o=(0,t.jsx)(j,{"data-slot":"scroll-area-viewport",className:"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",children:n}),m[6]=n,m[7]=o):o=m[7],m[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(K,{}),d=(0,t.jsx)(O,{}),m[8]=c,m[9]=d):(c=m[8],d=m[9]),m[10]!==i||m[11]!==s||m[12]!==o?(u=(0,t.jsxs)(b,{"data-slot":"scroll-area",className:s,...i,children:[o,c,d]}),m[10]=i,m[11]=s,m[12]=o,m[13]=u):u=m[13],u},"ScrollBar",0,K],73649)},95669,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(1292),a=e.i(71120),i=e.i(27341),s=e.i(47546);function o(e){let{id:l,content:n}=e;return(0,t.jsx)(i.TabsContent,{value:l,className:u,children:n},`${l}-content`)}function c(e){let{id:l,title:n}=e;return(0,t.jsx)(i.TabsTrigger,{value:l,className:m,...(0,s.previewChainedField)(l,"title"),children:n},l)}function d(e){let{id:l,title:n}=e;return(0,t.jsx)(a.SelectItem,{value:l,...(0,s.previewChainedField)(l,"title"),children:n},l)}let u="border-none bg-transparent pl-5 lg:pl-0 pr-0",m="data-[state=active]:text-primary-600 rounded-full border-none text-lg font-semibold data-[state=active]:rounded-full";e.s(["SelectedResources",0,function(e){let s,m,p,f,h,x,v,g,b,w,j,y,N=(0,l.c)(29),{categories:C}=e,[S,P]=(0,n.useState)(C[0]?.id??"");N[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(a.SelectTrigger,{children:(0,t.jsx)(a.SelectValue,{})}),N[0]=s):s=N[0],N[1]!==C?(m=C.map(d),N[1]=C,N[2]=m):m=N[2],N[3]!==m?(p=(0,t.jsx)(a.SelectContent,{children:m}),N[3]=m,N[4]=p):p=N[4],N[5]!==S||N[6]!==p?(f=(0,t.jsx)("div",{className:"my-8 px-5",children:(0,t.jsxs)(a.Select,{value:S,onValueChange:P,children:[s,p]})}),N[5]=S,N[6]=p,N[7]=f):f=N[7],N[8]!==S||N[9]!==C?(h=C.find(e=>{let{id:t}=e;return t===S})?.content,N[8]=S,N[9]=C,N[10]=h):h=N[10],N[11]!==h?(x=(0,t.jsx)("div",{className:u,children:h}),N[11]=h,N[12]=x):x=N[12],N[13]!==f||N[14]!==x?(v=(0,t.jsxs)("div",{className:"lg:hidden",children:[f,x]}),N[13]=f,N[14]=x,N[15]=v):v=N[15];let k=C[0]?.id??"";return N[16]!==C?(g=C.map(c),N[16]=C,N[17]=g):g=N[17],N[18]!==g?(b=(0,t.jsx)("div",{className:"px-10 lg:px-0",children:(0,t.jsx)(i.TabsList,{className:"mb-12 flex w-full items-center rounded-full border border-neutral-100 bg-white data-[state=active]:border-none lg:px-0",children:g})}),N[18]=g,N[19]=b):b=N[19],N[20]!==C?(w=C.map(o),N[20]=C,N[21]=w):w=N[21],N[22]!==b||N[23]!==w||N[24]!==k?(j=(0,t.jsxs)(i.Tabs,{defaultValue:k,className:"mt-8 hidden pb-0 lg:mt-10 lg:block lg:px-5 lg:pb-0",children:[b,w]}),N[22]=b,N[23]=w,N[24]=k,N[25]=j):j=N[25],N[26]!==j||N[27]!==v?(y=(0,t.jsxs)("div",{children:[v,j]}),N[26]=j,N[27]=v,N[28]=y):y=N[28],y}])},43826,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(16939),a=e.i(14951),i=e.i(47546),s=e.i(32138),o=e.i(70);function c(e){let n,a,i,c=(0,l.c)(9),{header:d,preloadImage:u,rootEntryId:m,componentChain:p}=e,f=void 0!==u&&u;return c[0]!==f?(n=(0,t.jsx)(s.default,{src:"/vectors/y-light.svg",alt:"","aria-hidden":"true",width:1920,height:1080,className:"absolute inset-0 top-0 z-0 h-full w-[105%] object-cover md:top-[-50px] md:h-[105%]",priority:f}),c[0]=f,c[1]=n):n=c[1],c[2]!==p||c[3]!==d||c[4]!==m?(a=(0,t.jsx)("div",{className:"relative z-20",children:(0,t.jsx)(o.SectionHeader,{...d,rootEntryId:m,componentChain:p,isDark:!0})}),c[2]=p,c[3]=d,c[4]=m,c[5]=a):a=c[5],c[6]!==n||c[7]!==a?(i=(0,t.jsxs)("div",{className:"relative flex h-full flex-col items-center justify-center gap-6 overflow-hidden rounded-3xl bg-white p-4 [background:var(--gradient-dark-flipped)]",children:[n,a]}
41),c[6]=n,c[7]=a,c[8]=i):i=c[8],i}var d=e.i(1292),u=e.i(76376),m=e.i(75430);function p(e){let n,a,c,d,p,f,h,x,v=(0,l.c)(30),{asset:g,header:b,copyAlignement:w,asCard:j,inParallax:y,isFirstSection:N,entryId:C,rootEntryId:S,componentChain:P,scrollId:k}=e,R="right"===w;if(v[0]!==P||v[1]!==C||v[2]!==b||v[3]!==S){let{entryId:e,chain:t}=(0,i.resolvePreviewContext)(C,{rootEntryId:S,componentChain:P});n=e,a=b?(0,i.appendPreviewComponentChain)(t,"header",b.id):t,v[0]=P,v[1]=C,v[2]=b,v[3]=S,v[4]=n,v[5]=a}else n=v[4],a=v[5];let A=a,E=j&&"px-5 md:px-10";v[6]!==E?(c=(0,m.cn)("relative grid grid-cols-1 items-center gap-10 md:grid-cols-2 md:gap-20",E),v[6]=E,v[7]=c):c=v[7],v[8]!==j?(d=j&&{background:"custom"},v[8]=j,v[9]=d):d=v[9];let T=y&&"mb-0 lg:mb-0",_=j&&"relative !py-8 lg:!py-20 before:border-l-primary-600 before:shadow-rounded before:h-ful relative before:absolute before:inset-0 before:-z-10 before:w-full before:rounded-l-xl before:rounded-r-[48px] before:border-l-8 before:bg-neutral-50 before:lg:border-l-16";return v[10]!==T||v[11]!==_?(p=(0,m.cn)(T,_),v[10]=T,v[11]=_,v[12]=p):p=v[12],v[13]!==b||v[14]!==N||v[15]!==R||v[16]!==A||v[17]!==n?(f=b&&(0,t.jsx)(o.SectionHeader,{...b,rootEntryId:n,componentChain:A,className:(0,m.cn)("relative z-10",R&&"md:order-2"),withSmallSubtitleGap:!0,isPageTitle:N}),v[13]=b,v[14]=N,v[15]=R,v[16]=A,v[17]=n,v[18]=f):f=v[18],v[19]!==g||v[20]!==N||v[21]!==R?(h=g&&(0,t.jsx)(s.default,{src:g.url,alt:g.altText??"",width:g.width??0,height:g.height??0,unoptimized:!0,priority:N,className:(0,m.cn)("relative z-10 h-full w-full object-contain lg:max-h-[600px]",R&&"md:order-1")}),v[19]=g,v[20]=N,v[21]=R,v[22]=h):h=v[22],v[23]!==k||v[24]!==c||v[25]!==d||v[26]!==p||v[27]!==f||v[28]!==h?(x=(0,t.jsxs)(u.SectionWrapper,{id:k,className:c,...d,wrapperClassName:p,children:[f,h]}),v[23]=k,v[24]=c,v[25]=d,v[26]=p,v[27]=f,v[28]=h,v[29]=x):x=v[29],x}function f(e){let n,s,o,u,m,f,h,x=(0,l.c)(26),{firstFeatureSection:v,cards:g,ctaCard:b,isFirstSection:w,lang:j,entryId:y}=e;x[0]!==w||x[1]!==j?(n={isFirstSection:w,lang:j},x[0]=w,x[1]=j,x[2]=n):n=x[2];let N=n,{sectionRef:C,contentRef:S}=function(){let e,t,n,a,i,s=(0,l.c)(6),o=(0,d.useRef)(null),c=(0,d.useRef)(null),[u,m]=(0,d.useState)(0),p=(0,d.useRef)(null);return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=o.current,t=c.current;if(!e||!t)return;let l=()=>{p.current&&cancelAnimationFrame(p.current),p.current=requestAnimationFrame(()=>{let t=e.getBoundingClientRect(),l=e.offsetHeight,n=window.innerHeight-100;if(t.top<=100&&t.bottom>=window.innerHeight){let e=Math.abs(t.top-100);e<=280?m(0):m(Math.max(0,Math.min(1,(e-280)/(l-n-280))))}else t.top>100?m(0):t.bottom<window.innerHeight&&m(1)})},n=()=>
41{if(!t)return;let l=t.scrollWidth,n=window.innerWidth,a=window.innerHeight-100;e.style.height=`${a+(l-n+(n-830)/2)+280}px`};return n(),window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",n),()=>{p.current&&cancelAnimationFrame(p.current),window.removeEventListener("scroll",l),window.removeEventListener("resize",n)}},t=[],s[0]=e,s[1]=t):(e=s[0],t=s[1]),(0,d.useEffect)(e,t),s[2]!==u?(n=()=>{let e=c.current;if(!e)return;let t=e.scrollWidth,l=window.innerWidth,n=-(u*(t-l+(l-830)/2));e.style.transform=`translateX(${n}px)`},a=[u],s[2]=u,s[3]=n,s[4]=a):(n=s[3],a=s[4]),(0,d.useEffect)(n,a),s[5]===Symbol.for("react.memo_cache_sentinel")?(i={sectionRef:o,contentRef:c},s[5]=i):i=s[5],i}();if(x[3]!==y||x[4]!==v||x[5]!==N?(s=v&&(0,t.jsx)("div",{className:"flex h-[650px] max-h-[calc(100vh-200px)] w-dvw min-w-dvw flex-col items-center justify-center",children:(0,t.jsx)("div",{className:"mx-auto flex h-full w-full max-w-[1280px] items-center px-5 2xl:px-0",children:(0,t.jsx)(p,{...v,rootEntryId:y,componentChain:(0,i.appendPreviewComponentChain)(void 0,"firstFeatureSection",v.id),inParallax:!0,...N})})}),x[3]=y,x[4]=v,x[5]=N,x[6]=s):s=x[6],x[7]!==g||x[8]!==w){let e;x[10]!==w?(e=e=>(0,t.jsx)("div",{className:"flex h-[650px] max-h-[calc(100vh-200px)] w-[calc(685px+40px)] min-w-[calc(685px+40px)] flex-col items-center justify-center",children:(0,t.jsx)("div",{className:"mx-auto h-full w-full max-w-[685px] 2xl:px-0",children:(0,t.jsx)(a.Card,{...e,preloadImage:w})})},e.id),x[10]=w,x[11]=e):e=x[11],o=g.map(e),x[7]=g,x[8]=w,x[9]=o}else o=x[9];return x[12]!==b||x[13]!==y||x[14]!==w?(u=b&&(0,t.jsx)("div",{className:"flex h-[650px] max-h-[calc(100vh-200px)] w-[calc(685px+40px)] min-w-[calc(685px+40px)] flex-col items-center justify-center",children:(0,t.jsx)("div",{className:"mx-auto h-full w-full max-w-[685px] px-5 2xl:px-0",children:(0,t.jsx)(c,{header:b,rootEntryId:y,componentChain:(0,i.appendPreviewComponentChain)(void 0,"ctaCard",b.id),preloadImage:w})})}),x[12]=b,x[13]=y,x[14]=w,x[15]=u):u=x[15],x[16]!==s||x[17]!==o||x[18]!==u?(m=(0,t.jsxs)("div",{className:"mt-[75px] flex h-full items-center gap-4",children:[s,o,u]}),x[16]=s,x[17]=o,x[18]=u,x[19]=m):m=x[19],x[20]!==S||x[21]!==m?(f=(0,t.jsx)("div",{className:"sticky top-0 h-screen overflow-hidden",children:(0,t.jsx)("div",{ref:S,className:"flex h-full items-center transition-transform duration-0 will-change-transform",children:m})}),x[20]=S,x[21]=m,x[22]=f):f=x[22],x[23]!==C||x[24]!==f?(h=(0,t.jsx)("div",{ref:C,className:"relative",children:f}),x[23]=C,x[24]=f,x[25]=h):h=x[25],h}var h=e.i(14530),x=e.i(30987),v=e.i(57453),g=e.i(9382);function b(e){let n,s,o,d,u,f,b,w,j,y,N,C,S,P,k,R,A,E=(0,l.c)(54),{firstFeatureSection:T,cards:_,ctaCard:I,isFirstSection:D,lang:L,entryId:F}=e,{onAutoplayButtonClick:M,carouselRef:O,emblaRef:z,emblaApi:H}=(0,v.useAutoplay)(),{prevBtnDisabled:V,nextBtnDisabled:U,selectedIndex:B,onPrevButtonClick:W,onNextButtonClick:Y,selectSlide:$}=(0,g.useCarouselButton)(H);E[0]!==D||E[1]!==L?(n={isFirstSection:D,lang:L},E[0]=D,E[1]=L,E[2]=n):n=E[2];let G=n;if(E[3]!==F||E[4]!==T||E[5]!==G?(s=T&&(0,t.jsx)(p,{...T,rootEntryId:F,componentChain:(0,i.appendPreviewComponentChain)(void 0,"firstFeatureSection",T.id),...G}),E[3]=F,E[4]=T,E[5]=G,E[6]=s):s=E[6],E[7]!==O||E[8]!==z?(o=e=>{z(e),O.current!==e&&(O.current=e)},E[7]=O,E[8]=z,E[9]=o):o=E[9],E[10]!==_||E[11]!==D){let e;E[13]!==D?(e=e=>(0,t.jsx)("li",{className:(0,m.cn)("flex-[0_0_85%] pr-1 pl-5 select-none md:flex-[0_0_49%] lg:flex-[0_0_33%] lg:pl-12"),children:(0,t.jsx)(a.Card,{...e,preloadImage:D})},e.id),E[13]=D,E[14]=e):e=E[14],d=_.map(e),E[10]=_,E[11]=D,E[12]=d}else d=E[12];return E[15]!==I||E[16]!==F||E[17]!==D?(u=I&&(0,t.jsx)("li",{className:(0,m.cn)("flex-[0_0_85%] pr-5 pl-5 select-none md:flex-[0_0_49%] lg:flex-[0_0_33%] lg:pl-12"),children:(0,t.jsx)(c,{header:I,rootEntryId:F,componentChain:(0,i.appendPreviewComponentChain)(void 0,"ctaCard",I.id),preloadImage:D})}),E[15]=I,E[16]=F,E[17]=D,E[18]=u):u=E[18],E[19]!==d||E[20]!==u?(f=(0,t.jsxs)("ul",{className:"flex lg:-ml-11",children:[d,u]}),E[19]=d,E[20]=u,E[21]=f):f=E[21],E[22]!==M||E[23]!==W?(b=()=>M(W),E[22]=M,E[23]=W,E[24]=b):b=E[24],E[25]!==V||E[26]!==b?(w=(0,t.jsx)(h.CarouselNavButton,{direction:"previous",onClick:b,disabled:V,"aria-label":"Previous testimonials"}),E[25]=V,E[26]=b,E[27]=w):w=E[27],E[28]!==M||E[29]!==Y?(j=()=>M(Y),E[28]=M,E[29]=Y,E[30]=j):j=E[30],E[31]!==U||E[32]!==j?(y=(0,t.jsx)(h.CarouselNavButton,{direction:"next",onClick:j,disabled:U,"aria-label":"Next testimonials"}),E[31]=U,E[32]=j,E[33]=y):y=E[33],E[34]!==y||E[35]!==w?(N=(0,t.jsxs)("div",{className:"flex flex-1 gap-3",children:[w,y]}),E[34]=y,E[35]=w,E[36]=N):N=E[36],E[37]!==H||E[38]!==$||E[39]!==B?(C=H?.scrollSnapList().map((e,l)=>(0,t.jsx)(x.SlideButton,{isActive:l===B,onClick:()=>$(l),"aria-label":`Select feature ${l+1}`},l)),E[37]=H,E[38]=$,E[39]=B,E[40]=C):C=E[40],E[41]!==C?(S=(0,t.jsx)("div",{className:"flex gap-2",children:C}),E[41]=C,E[42]=S):S=E[42],E[43]===Symbol.for("react.memo_cache_sentinel")?(P=(0,t.jsx)("div",{className:"sm:flex-1"}),E[43]=P):P=E[43],E[44]!==N||E[45]!==S?(k=(0,t.jsxs)("div",{className:"mt-6 flex items-center gap-3 pr-5",children:[N,S,P]}),E[44]=N,E[45]=S,E[46]=k):k=E[46],E[47]!==k||E[48]!==o||E[49]!==f?(R=(0,t.jsxs)("div",{className:"relative w-full overflow-hidden",ref:o,children:[f,k]}),E[47]=k,E[48]=o,E[49]=f,E[50]=R):R=E[50],E[51]!==R||E[52]!==s?(A=(0,t.jsxs)(t.Fragment,{children:[s,R]}),E[51]=R,E[52]=s,E[53]=A):A=E[53],A}e.s(["SectionParallaxFeatures",0,function(e){let a,i,s,o=(0,l.c)(13),{firstFeatureSection:c,cards:d,ctaCard:u,scrollId:m,isFirstSection:p,lang:h,entryId:x}=e,v=(0,n.useMediaQuery)("lg");o[0]!==x||o[1]!==p||o[2]!==h?(a={isFirstSection:p,lang:h,entryId:x},o[0]=x,o[1]=p,o[2]=h,o[3]=a):a=o[3];let g=a,w=m||void 0;return o[4]!==d||o[5]!==u||o[6]!==c||o[7]!==v||o[8]!==g?(i=v?(0,t.jsx)(f,{firstFeatureSection:c,cards:d,ctaCard:u,...g}):(0,t.jsx)(b,{firstFeatureSection:c,cards:d,ctaCard:u,...g}),o[4]=d,o[5]=u,o[6]=c,o[7]=v,o[8]=g,o[9]=i):i=o[9],o[10]!==w||o[11]!==i?(s=(0,t.jsx)("section",{id:w,children:i}),o[10]=w,o[11]=i,o[12]=s):s=o[12],s}],43826)},26259,e=>{"use strict";let t=(0,e.i(9784).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CircleCheck",0,t],26259)},27744,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(16939),a=e.i(47546),i=e.i(75430),s=e.i(26259);function o(e){let n,a,i=(0,l.c)(3),{name:o}=e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(s.CircleCheck,{className:"flex-shrink-0 fill-green-600 text-white",size:24}),i[0]=n):n=i[0],i[1]!==o?(a=(0,t.jsxs)("li",{className:"flex items-center gap-2",children:[n,(0,t.jsx)("span",{className:"text-secondary font-medium",children:o})]}),i[1]=o,i[2]=a):a=i[2],a}var c=e.i(80269);function d(e){let n,a,i,s=(0,l.c)(11),{note:o,monthlySubscriptionFee:d,currency:u,isLoading:m}=e;if(!o)return null;let p=null!=d&&null!=u;s[0]!==o?(n=o.includes("{price}"),s[0]=o,s[1]=n):n=s[1];let f=n;if(m&&f){let e;return s[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"mx-auto h-5 w-32 animate-pulse rounded bg-neutral-200"}),s[2]=e):e=s[2],e}s[3]!==u||s[4]!==f||s[5]!==p||s[6]!==d||s[7]!==o?(a=p&&f?o.replace("{price}",(0,c.formatPriceWithCurrency)(d,u)):o,s[3]=u,s[4]=f,s[5]=p,s[6]=d,s[7]=o,s[8]=a):a=s[8];let h=a;return s[9]!==h?(i=(0,t.jsx)("p",{className:"text-center text-sm text-neutral-600",children:h}),s[9]=h,s[10]=i):i=s[10],i}function u(e){let n,a,i=(0,l.c)(6),{price:s,currency:o,isLoading:d}=e;if(d){let e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"mx-auto mb-2 h-10 w-26 animate-pulse rounded-xl bg-neutral-200"}),i[0]=e):e=i[0],e}return i[1]!==o||i[2]!==s?(n=(0,c.formatPriceWithCurrency)(s,o),i[1]=o,i[2]=s,i[3]=n):n=i[3],i[4]!==n?(a=(0,t.jsx)("span",{className:"text-primary block text-center text-3xl font-semibold sm:text-5xl lg:text-4xl",children:n}),i[4]=n,i[5]=a):a=i[5],a}var m=e.i(1292);let p=new Map,f=(e,t)=>e.find(({id:e})=>e===t)||null;var h=e.i(44886),x=e.i(35765);function v(e){let n,s,o,c,m,p,f,v,b,w,j,y,N,C,S,P,k,R,A,E=(0,l.c)(59),{description:T,currency:_,note:I,price:D,customPrice:L,priceN
41ote:F,monthlySubscriptionFee:M,cta:O,tag:z,isCustomPrice:H,highlightedPlanTitle:V,isHighlighted:U,highlightedFeatures:B,isNonFirstHighlighted:W,inHeroSection:Y,isLoadingPrice:$,id:G}=e,q=U&&"rounded-t-none border-t-0",K=W&&"mt-[52px]";E[0]!==q||E[1]!==K?(n=(0,i.cn)("relative rounded-3xl border border-neutral-200/50 bg-white shadow-none",q,K),E[0]=q,E[1]=K,E[2]=n):n=E[2];let Q=U&&"rounded-t-none border-t-0";E[3]!==Q?(s=(0,i.cn)("absolute inset-0 z-10 rounded-3xl border border-neutral-200/50 bg-white shadow-none",Q),E[3]=Q,E[4]=s):s=E[4],E[5]!==s?(o=(0,t.jsx)("div",{className:s}),E[5]=s,E[6]=o):o=E[6],E[7]!==V||E[8]!==U?(c=U&&(0,t.jsxs)("div",{className:"absolute top-[-52px] right-0 left-0 -mr-px -ml-px rounded-t-3xl border border-b-0 border-neutral-200/50 bg-white",children:[(0,t.jsx)("div",{className:"mb-2 h-5 w-full rounded-t-3xl bg-orange-500"}),(0,t.jsx)("span",{className:"block text-center font-medium text-orange-700 uppercase",children:V||"Most popular"})]}),E[7]=V,E[8]=U,E[9]=c):c=E[9],E[10]!==z.id?(m=(0,a.appendPreviewComponentChain)(void 0,"tag",z.id),E[10]=z.id,E[11]=m):m=E[11];let X=Y?"h2":"h3";return E[12]!==G||E[13]!==m||E[14]!==X||E[15]!==z?(p=(0,t.jsx)(x.Tag,{...z,rootEntryId:G,componentChain:m,as:X}),E[12]=G,E[13]=m,E[14]=X,E[15]=z,E[16]=p):p=E[16],E[17]!==_||E[18]!==L||E[19]!==H||E[20]!==$||E[21]!==D?(f=H?(0,t.jsx)("span",{className:"text-primary text-center text-3xl font-semibold wrap-break-word hyphens-auto sm:text-5xl lg:text-4xl",children:L}):(0,t.jsx)(u,{price:D||0,currency:_||"pounds",isLoading:$}),E[17]=_,E[18]=L,E[19]=H,E[20]=$,E[21]=D,E[22]=f):f=E[22],E[23]!==F?(v=(0,t.jsx)("p",{className:"text-center text-sm text-neutral-900",children:F}),E[23]=F,E[24]=v):v=E[24],E[25]!==_||E[26]!==$||E[27]!==M||E[28]!==I?(b=(0,t.jsx)(d,{note:I,monthlySubscriptionFee:M,currency:_,isLoading:$}),E[25]=_,E[26]=$,E[27]=M,E[28]=I,E[29]=b):b=E[29],E[30]!==v||E[31]!==b?(w=(0,t.jsxs)("div",{className:"space-y-2",children:[v,b]}),E[30]=v,E[31]=b,E[32]=w):w=E[32],E[33]!==f||E[34]!==w?(j=(0,t.jsx)("div",{className:"mt-4 flex w-full flex-col items-center gap-4 px-4",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 px-2",children:[f,w]})}),E[33]=f,E[34]=w,E[35]=j):j=E[35],E[36]!==T?(y=(0,t.jsx)("div",{className:"flex w-full items-center px-6",children:(0,t.jsx)("p",{className:"text-center text-base font-bold text-neutral-900",children:T})}),E[36]=T,E[37]=y):y=E[37],E[38]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)("div",{className:"bg-border mx-4 h-px"}),E[38]=N):N=E[38],E[39]!==B?(C=B?.map(g),E[39]=B,E[40]=C):C=E[40],E[41]!==C?(S=(0,t.jsx)("div",{className:"mb-6 space-y-3 px-4",children:(0,t.jsx)("ul",{className:"space-y-3",children:C})}),E[41]=C,E[42]=S):S=E[42],E[43]!==O||E[44]!==G?(P=O&&(0,t.jsx)(h.AppLink,{...O,rootEntryId:G,componentChain:(0,a.appendPreviewComponentChain)(void 0,"cta",O.id),className:"w-full"}),E[43]=O,E[44]=G,E[45]=P):P=E[45],E[46]!==P?(k=(0,t.jsx)("div",{className:"px-4 pb-8",children:P}),E[46]=P,E[47]=k):k=E[47],E[48]!==p||E[49]!==j||E[50]!==y||E[51]!==S||E[52]!==k?(R=(0,t.jsxs)("div",{className:"relative z-10 flex flex-col gap-4 pt-8",children:[p,j,y,N,S,k]}),E[48]=p,E[49]=j,E[50]=y,E[51]=S,E[52]=k,E[53]=R):R=E[53],E[54]!==R||E[55]!==n||E[56]!==o||E[57]!==c?(A=(0,t.jsxs)("div",{className:n,children:[o,c,R]}),E[54]=R,E[55]=n,E[56]=o,E[57]=c,E[58]=A):A=E[58],A}function g(e){return(0,t.jsx)(o,{...e},e.id)}function b(e){let n,s,o,c,m,p,f,v,g,b,j,y,N,C,S,P,k,R,A,E,T,_,I,D,L,F,M,O,z=(0,l.c)(83),{description:H,currency:V,note:U,price:B,customPrice:W,priceNote:Y,monthlySubscriptionFee:$,cta:G,tag:q,isCustomPrice:K,highlightedPlanTitle:Q,isHighlighted:X,highlightedFeatures:Z,gridColumn:J,inHeroSection:ee,isLoadingPrice:et,id:er}=e;z[0]!==J?(n={gridColumn:J,gridRow:"1 / 7"},z[0]=J,z[1]=n):n=z[1];let el=X&&"rounded-t-none border-t-0";z[2]!==el?(s=(0,i.cn)("absolute inset-0 z-0 rounded-3xl border border-neutral-200/50 bg-white shadow-none",el),z[2]=el,z[3]=s):s=z[3],z[4]!==Q||z[5]!==X?(o=X&&(0,t.jsxs)("div",{className:"absolute top-[-52px] right-0 left-0 -mr-px -ml-px rounded-t-3xl border border-b-0 border-neutral-200/50 bg-white",children:[(0,t.jsx)("div",{className:"mb-2 h-5 w-full rounded-t-3xl bg-orange-500"}),(0,t.jsx)("span",{className:"block text-center font-medium text-orange-700 uppercase",children:Q||"Most popular"})]}),z[4]=Q,z[5]=X,z[6]=o):o=z[6],z[7]!==s||z[8]!==o?(c=(0,t.jsx)("div",{className:s,children:o}),z[7]=s,z[8]=o,z[9]=c):c=z[9],z[10]!==n||z[11]!==c?(m=(0,t.jsx)("div",{className:"relative z-10 block",style:n,children:c}),z[10]=n,z[11]=c,z[12]=m):m=z[12],z[13]!==J?(p={gridColumn:J,gridRow:1},z[13]=J,z[14]=p):p=z[14],z[15]!==q.id?(f=(0,a.appendPreviewComponentChain)(void 0,"tag",q.id),z[15]=q.id,z[16]=f):f=z[16];let en=ee?"h2":"h3";return z[17]!==er||z[18]!==f||z[19]!==en||z[20]!==q?(v=(0,t.jsx)(x.Tag,{...q,rootEntryId:er,componentChain:f,as:en}),z[17]=er,z[18]=f,z[19]=en,z[20]=q,z[21]=v):v=z[21],z[22]!==v||z[23]!==p?(g=(0,t.jsx)("div",{className:"relative z-10 flex justify-center px-4 pt-8",style:p,children:v}),z[22]=v,z[23]=p,z[24]=g):g=z[24],z[25]!==J?(b={gridColumn:J,gridRow:2},z[25]=J,z[26]=b):b=z[26],z[27]!==V||z[28]!==W||z[29]!==K||z[30]!==et||z[31]!==B?(j=K?(0,t.jsx)("span",{className:"text-primary text-center text-4xl font-semibold",children:W}):(0,t.jsx)(u,{price:B||0,currency:V||"pounds",isLoading:et}),z[27]=V,z[28]=W,z[29]=K,z[30]=et,z[31]=B,z[32]=j):j=z[32],z[33]!==Y?(y=(0,t.jsx)("p",{className:"text-center text-sm text-neutral-900",children:Y}),z[33]=Y,z[34]=y):y=z[34],z[35]!==V||z[36]!==et||z[37]!==$||z[38]!==U?(N=(0,t.jsx)(d,{note:U,monthlySubscriptionFee:$,currency:V,isLoading:et}),z[35]=V,z[36]=et,z[37]=$,z[38]=U,z[39]=N):N=z[39],z[40]!==y||z[41]!==N?(C=(0,t.jsxs)("div",{className:"space-y-2",children:[y,N]}),z[40]=y,z[41]=N,z[42]=C):C=z[42],z[43]!==j||z[44]!==C?(S=(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[j,C]}),z[43]=j,z[44]=C,z[45]=S):S=z[45],z[46]!==b||z[47]!==S?(P=(0,t.jsx)("div",{className:"relative z-10 mt-4 flex w-full flex-col items-center gap-4 px-4",style:b,children:S}),z[46]=b,z[47]=S,z[48]=P):P=z[48],z[49]!==J?(k={gridColumn:J,gridRow:3},z[49]=J,z[50]=k):k=z[50],z[51]!==H?(R=(0,t.jsx)("p",{className:"text-center text-base font-bold text-neutral-900",children:H}),z[51]=H,z[52]=R):R=z[52],z[53]!==k||z[54]!==R?(A=(0,t.jsx)("div",{className:"z-10 flex w-full items-center px-6",style:k,children:R}),z[53]=k,z[54]=R,z[55]=A):A=z[55],z[56]!==J?(E=(0,t.jsx)("div",{className:"bg-border z-10 mx-4 h-px",style:{gridColumn:J,gridRow:4}}),z[56]=J,z[57]=E):E=z[57],z[58]!==J?(T={gridColumn:J,gridRow:5},z[58]=J,z[59]=T):T=z[59],z[60]!==Z?(_=Z?.map(w),z[60]=Z,z[61]=_):_=z[61],z[62]!==_?(I=(0,t.jsx)("ul",{className:"space-y-3",children:_}),z[62]=_,z[63]=I):I=z[63],z[64]!==T||z[65]!==I?(D=(0,t.jsx)("div",{className:"z-10 mb-6 space-y-3 px-4",style:T,children:I}),z[64]=T,z[65]=I,z[66]=D):D=z[66],z[67]!==J?(L={gridColumn:J,gridRow:6},z[67]=J,z[68]=L):L=z[68],z[69]!==G||z[70]!==er?(F=G&&(0,t.jsx)(h.AppLink,{...G,rootEntryId:er,componentChain:(0,a.appendPreviewComponentChain)(void 0,"cta",G.id),className:"w-full"}),z[69]=G,z[70]=er,z[71]=F):F=z[71],z[72]!==L||z[73]!==F?(M=(0,t.jsx)("div",{className:"z-10 px-4 pb-8",style:L,children:F}),z[72]=L,z[73]=F,z[74]=M):M=z[74],z[75]!==g||z[76]!==P||z[77]!==A||z[78]!==E||z[79]!==D||z[80]!==M||z[81]!==m?(O=(0,t.jsxs)(t.Fragment,{children:[m,g,P,A,E,D,M]}),z[75]=g,z[76]=P,z[77]=A,z[78]=E,z[79]=D,z[80]=M,z[81]=m,z[82]=O):O=z[82],O}function w(e){return(0,t.jsx)(o,{...e},e.id)}e.s(["PricingPlan",0,function(e){let a,i,s=(0,l.c)(15),o=!(0,n.useMediaQuery)("lg");s[0]!==e.id||s[1]!==e.sectionId?(a={planId:e.id,sectionId:e.sectionId},s[0]=e.id,s[1]=e.sectionId,s[2]=a):a=s[2];let{pricingPlan:c,isLoading:d}=(({planId:e,sectionId:t})=>{let[l,n]=(0,m.useState)(!0),[a,i]=(0,m.useState)(null);return(0,m.useEffect)(()=>{(async()=>
41{if(p.has(t))try{let l=await p.get(t);l?.pricingPlans&&l.country&&i(f(l.pricingPlans,e))}catch{console.error("Error fetching pricing plans")}finally{n(!1);return}let l=(async()=>{try{let e=await fetch(`/api/geo-pricing?id=${t}`);return await e.json()}catch{return console.error("Error fetching pricing plans"),null}finally{p.delete(t)}})();p.set(t,l);try{let t=await l;t?.pricingPlans&&t.country&&i(f(t.pricingPlans,e))}catch{console.error("Error fetching pricing plans")}finally{n(!1)}})()},[e,t]),{pricingPlan:a,isLoading:l}})(a),u=c?.price!=null&&c?.currency!=null,h=u?c.price:e.price,x=u?c.currency:e.currency,g=u?c.monthlySubscriptionFee:e.monthlySubscriptionFee;if(o){let l;return s[3]!==x||s[4]!==d||s[5]!==g||s[6]!==h||s[7]!==e?(l=(0,t.jsx)(v,{...e,price:h,monthlySubscriptionFee:g,currency:x,isLoadingPrice:d}),s[3]=x,s[4]=d,s[5]=g,s[6]=h,s[7]=e,s[8]=l):l=s[8],l}return s[9]!==x||s[10]!==d||s[11]!==g||s[12]!==h||s[13]!==e?(i=(0,t.jsx)(b,{...e,price:h,monthlySubscriptionFee:g,currency:x,isLoadingPrice:d}),s[9]=x,s[10]=d,s[11]=g,s[12]=h,s[13]=e,s[14]=i):i=s[14],i}],27744)},77432,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(26259),a=e.i(9784);let i=(0,a.default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var s=e.i(1292),o=e.i(15201),c=e.i(43644),d=e.i(67240),u=e.i(92185),m=e.i(82657),p=e.i(82325),f=e.i(68048),h=e.i(88747),x=e.i(90849),v=e.i(94458),g=e.i(8196),b=e.i(88164),w=e.i(59451),j=e.i(73772),y=e.i(13579),N="Popover",[C,S]=(0,d.createContextScope)(N,[h.createPopperScope]),P=(0,h.createPopperScope)(),[k,R]=C(N),A=e=>{let{__scopePopover:l,children:n,open:a,defaultOpen:i,onOpenChange:o,modal:c=!1}=e,d=P(l),u=s.useRef(null),[m,p]=s.useState(!1),[x,v]=(0,w.useControllableState)({prop:a,defaultProp:i??!1,onChange:o,caller:N});return(0,t.jsx)(h.Root,{...d,children:(0,t.jsx)(k,{scope:l,contentId:(0,f.useId)(),triggerRef:u,open:x,onOpenChange:v,onOpenToggle:s.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:m,onCustomAnchorAdd:s.useCallback(()=>p(!0),[]),onCustomAnchorRemove:s.useCallback(()=>p(!1),[]),modal:c,children:n})})};A.displayName=N;var E="PopoverAnchor";s.forwardRef((e,l)=>{let{__scopePopover:n,...a}=e,i=R(E,n),o=P(n),{onCustomAnchorAdd:c,onCustomAnchorRemove:d}=i;return s.useEffect(()=>(c(),()=>d()),[c,d]),(0,t.jsx)(h.Anchor,{...o,...a,ref:l})}).displayName=E;var T="PopoverTrigger",_=s.forwardRef((e,l)=>{let{__scopePopover:n,...a}=e,i=R(T,n),s=P(n),d=(0,c.useComposedRefs)(l,i.triggerRef),u=(0,t.jsx)(g.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":W(i.open),...a,ref:d,onClick:(0,o.composeEventHandlers)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?u:(0,t.jsx)(h.Anchor,{asChild:!0,...s,children:u})});_.displayName=T;var I="PopoverPortal",[D,L]=C(I,{forceMount:void 0}),F=e=>{let{__scopePopover:l,forceMount:n,children:a,container:i}=e,s=R(I,l);return(0,t.jsx)(D,{scope:l,forceMount:n,children:(0,t.jsx)(v.Presence,{present:n||s.open,children:(0,t.jsx)(x.Portal,{asChild:!0,container:i,children:a})})})};F.displayName=I;var M="PopoverContent",O=s.forwardRef((e,l)=>{let n=L(M,e.__scopePopover),{forceMount:a=n.forceMount,...i}=e,s=R(M,e.__scopePopover);return(0,t.jsx)(v.Presence,{present:a||s.open,children:s.modal?(0,t.jsx)(H,{...i,ref:l}):(0,t.jsx)(V,{...i,ref:l})})});O.displayName=M;var z=(0,b.createSlot)("PopoverContent.RemoveScroll"),H=s.forwardRef((e,l)=>{let n=R(M,e.__scopePopover),a=s.useRef(null),i=(0,c.useComposedRefs)(l,a),d=s.useRef(!1);return s.useEffect(()=>{let e=a.current;if(e)return(0,j.hideOthers)(e)},[]),(0,t.jsx)(y.RemoveScroll,{as:z,allowPinchZoom:!0,children:(0,t.jsx)(U,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),d.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,l=0===t.button&&!0===t.ctrlKey;d.current=2===t.button||l},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),V=s.forwardRef((e,l)=>{let n=R(M,e.__scopePopover),a=s.useRef(!1),i=s.useRef(!1);return(0,t.jsx)(U,{...e,ref:l,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||n.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 l=t.target;n.triggerRef.current?.contains(l)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),U=s.forwardRef((e,l)=>{let{__scopePopover:n,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:o,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:x,...v}=e,g=R(M,n),b=P(n);return(0,m.useFocusGuards)(),(0,t.jsx)(p.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:s,children:(0,t.jsx)(u.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:x,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onDismiss:()=>g.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,t.jsx)(h.Content,{"data-state":W(g.open),role:"dialog",id:g.contentId,...b,...v,ref:l,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),B="PopoverClose";function W(e){return e?"open":"closed"}s.forwardRef((e,l)=>{let{__scopePopover:n,...a}=e,i=R(B,n);return(0,t.jsx)(g.Primitive.button,{type:"button",...a,ref:l,onClick:(0,o.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})}).displayName=B,s.forwardRef((e,l)=>{let{__scopePopover:n,...a}=e,i=P(n);return(0,t.jsx)(h.Arrow,{...i,...a,ref:l})}).displayName="PopoverArrow";let Y=(0,a.default)("triangle",[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]]);var $=e.i(75430);function G(e){let n,a,i=(0,l.c)(4);return i[0]!==e?({...n}=e,i[0]=e,i[1]=n):n=i[1],i[2]!==n?(a=(0,t.jsx)(A,{"data-slot":"popover",...n}),i[2]=n,i[3]=a):a=i[3],a}function q(e){let n,a,i=(0,l.c)(4);return i[0]!==e?({...n}=e,i[0]=e,i[1]=n):n=i[1],i[2]!==n?(a=(0,t.jsx)(_,{"data-slot":"popover-trigger",...n}),i[2]=n,i[3]=a):a=i[3],a}function K(e){let n,a,i,s,o,c,d,u,m,p=(0,l.c)(18);p[0]!==e?({className:a,align:s,sideOffset:o,showArrow:c,children:n,...i}=e,p[0]=e,p[1]=n,p[2]=a,p[3]=i,p[4]=s,p[5]=o,p[6]=c):(n=p[1],a=p[2],i=p[3],s=p[4],o=p[5],c=p[6]);let f=void 0===s?"center":s,h=void 0===o?4:o,x=void 0!==c&&c;return p[7]!==a?(d=(0,$.cn)("bg-popover text-popover-foreground 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]:sli
41de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 rounded-md border p-4 shadow-md outline-none",a),p[7]=a,p[8]=d):d=p[8],p[9]!==x?(u=x&&(0,t.jsx)(Y,{className:"absolute -bottom-3 left-1/2 -translate-x-1/2 rotate-180 fill-white text-white",height:14,width:14}),p[9]=x,p[10]=u):u=p[10],p[11]!==f||p[12]!==n||p[13]!==i||p[14]!==h||p[15]!==d||p[16]!==u?(m=(0,t.jsx)(F,{children:(0,t.jsxs)(O,{"data-slot":"popover-content",align:f,sideOffset:h,className:d,...i,children:[n,u]})}),p[11]=f,p[12]=n,p[13]=i,p[14]=h,p[15]=d,p[16]=u,p[17]=m):m=p[17],m}e.s(["PricingFeature",0,function(e){let a,o,c,d,u,m,p=(0,l.c)(20),{name:f,tooltip:h,value:x,pricingPlan:v,pricingPlans:g}=e,[b,w]=(0,s.useState)(!1);if(p[0]!==f?(a=(0,t.jsx)("span",{className:"text-neutral-900",children:f}),p[0]=f,p[1]=a):a=p[1],p[2]!==b||p[3]!==h?(o=h&&(0,t.jsxs)(G,{open:b,onOpenChange:w,children:[(0,t.jsx)(q,{"aria-label":"Show more info",className:"cursor-pointer",onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1),children:(0,t.jsx)(i,{className:"size-4 text-neutral-700"})}),(0,t.jsx)(K,{className:"relative z-10 mb-3 max-w-[300px] rounded-xl bg-white p-2 px-4 text-base leading-snug shadow-lg",side:"top",showArrow:!0,children:h})]}),p[2]=b,p[3]=h,p[4]=o):o=p[4],p[5]!==a||p[6]!==o?(c=(0,t.jsxs)("div",{className:"flex items-center gap-2 pl-4 lg:pl-0",children:[a,o]}),p[5]=a,p[6]=o,p[7]=c):c=p[7],p[8]!==v||p[9]!==g||p[10]!==x){let e;p[12]!==v||p[13]!==x?(e=(e,l)=>(0,t.jsx)("div",{className:"border-border flex w-full border-r last:border-r-0 lg:border-r-0",children:(0,t.jsx)("div",{className:"mx-auto flex min-w-[50px] items-center justify-center lg:min-w-[90px]",children:v.some(t=>{let{id:l}=t;return l===e.id})&&(x?.length>0?(0,t.jsx)("span",{className:"text-neutral-900",children:x[l]}):(0,t.jsx)(n.CircleCheck,{className:"size-6 fill-green-400 text-white sm:size-8"}))})},e.id),p[12]=v,p[13]=x,p[14]=e):e=p[14],d=g.map(e),p[8]=v,p[9]=g,p[10]=x,p[11]=d}else d=p[11];return p[15]!==d?(u=(0,t.jsx)("div",{className:"grid shrink-0 grid-cols-3 lg:ml-auto lg:w-fit lg:gap-12",children:d}),p[15]=d,p[16]=u):u=p[16],p[17]!==c||p[18]!==u?(m=(0,t.jsxs)("div",{className:"border-border flex flex-col gap-2 py-3 last:border-b-0 lg:flex-row lg:items-center lg:border-b lg:py-6 lg:pr-8 lg:pl-16",children:[c,u]}),p[17]=c,p[18]=u,p[19]=m):m=p[19],m}],77432)},3198,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(44886),a=e.i(27341),i=e.i(47546),s=e.i(32138),o=e.i(1292),c=e.i(48802),d=e.i(5050),u=e.i(78778);function m(e){let a,i,c,m,f,h,x,v,g,b,w,j,y=(0,l.c)(34),{productTourCardTitle:N,productTourCardDescription:C,productTourCardThumbnailAsset:S,productTourCardThumbnailUrl:P,productTourCardIsBackgroundUrl:k,productTourCardCategories:R,productTourCardProductTourIframeUrl:A,launchButtonText:E,launchButtonPreviewAttrs:T}=e,[_,I]=(0,o.useState)(!1),D=k?P:S?.url;return y[0]!==D||y[1]!==N?(a=D?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{src:D,alt:N??"",className:"w-full object-cover",fill:!0,unoptimized:!0}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50"})]}):(0,t.jsx)("div",{className:"h-full w-full bg-neutral-200"}),y[0]=D,y[1]=N,y[2]=a):a=y[2],y[3]!==A?(i=()=>{A&&I(!0)},y[3]=A,y[4]=i):i=y[4],y[5]!==T||y[6]!==E?(c=(0,t.jsx)("span",{...T,children:E}),y[5]=T,y[6]=E,y[7]=c):c=y[7],y[8]!==i||y[9]!==c?(m=(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)(n.AppButton,{variant:"primary",size:"sm",className:"z-10 rounded-full",onClick:i,children:c})}),y[8]=i,y[9]=c,y[10]=m):m=y[10],y[11]!==a||y[12]!==m?(f=(0,t.jsx)(d.CardHeader,{className:"relative !space-y-0 p-0",children:(0,t.jsxs)("div",{className:"relative h-[180px] w-full xl:h-[260px]",children:[a,m]})}),y[11]=a,y[12]=m,y[13]=f):f=y[13],y[14]!==N?(h=(0,t.jsx)(d.CardTitle,{className:"text-base font-semibold text-neutral-900 xl:text-3xl",children:N}),y[14]=N,y[15]=h):h=y[15],y[16]!==C?(x=C&&(0,t.jsx)("p",{className:"text-sm leading-tight font-medium text-neutral-700 xl:text-lg",children:C}),y[16]=C,y[17]=x):x=y[17],y[18]!==h||y[19]!==x?(v=(0,t.jsx)(d.CardContent,{className:"flex flex-1 flex-col px-5",children:(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-3 xl:gap-5",children:[h,x]})}),y[18]=h,y[19]=x,y[20]=v):v=y[20],y[21]!==R?(g=R.map(p),y[21]=R,y[22]=g):g=y[22],y[23]!==g?(b=(0,t.jsx)(d.
41CardFooter,{className:"mt-6 flex-wrap gap-2 px-5 xl:mt-0",children:g}),y[23]=g,y[24]=b):b=y[24],y[25]!==_||y[26]!==A||y[27]!==N?(w=A&&(0,t.jsx)(u.ProductTourDialog,{isOpen:_,onOpenChange:I,url:A,title:N}),y[25]=_,y[26]=A,y[27]=N,y[28]=w):w=y[28],y[29]!==b||y[30]!==w||y[31]!==f||y[32]!==v?(j=(0,t.jsxs)(d.Card,{className:"h-full gap-3 overflow-hidden rounded-3xl border border-neutral-200 !pt-0 shadow-none xl:gap-6",children:[f,v,b,w]}),y[29]=b,y[30]=w,y[31]=f,y[32]=v,y[33]=j):j=y[33],j}function p(e){return(0,t.jsx)(c.CategoryPill,{title:e.productTourCategoryTitle},e.id)}function f(e){return e+12}function h(e){let{id:l,label:n}=e;return(0,t.jsx)(a.TabsTrigger,{value:l,className:"bg-primary-100 text-primary-700 hover:bg-primary-200 data-[state=active]:bg-primary-600 max-w-fit min-w-[90px] !rounded-full !p-3 !text-sm !font-semibold transition-colors data-[state=active]:text-white",children:n},l)}e.s(["ProductTourCardsTabs",0,function(e){let s,c,d,u,p,x=(0,l.c)(29),{productTourCards:v,categories:g,sectionProductTourCardsListLaunchProductTourButtonText:b,sectionProductTourCardsListLoadMoreText:w,entryId:j}=e,y=void 0===b?"Launch Product Tour":b,N=void 0===w?"Load More":w;x[0]!==v||x[1]!==g?(s={cards:v,categories:g},x[0]=v,x[1]=g,x[2]=s):s=x[2];let{tabs:C,activeTab:S,visibleCards:P,hasMoreCards:k,handleLoadMore:R,handleTabChange:A}=function(e){let t,n,a,i,s,c,d,u,m,p=(0,l.c)(21),{cards:h,categories:x}=e,[v,g]=(0,o.useState)("all"),[b,w]=(0,o.useState)(12);if(p[0]!==h?(a={id:"all",label:"All",cards:h},p[0]=h,p[1]=a):a=p[1],p[2]!==h||p[3]!==x||p[4]!==a){let e;p[6]!==h?(e=e=>{let t,l,{id:n,productTourCategoryTitle:a}=e;return{id:n,label:a,cards:(t=h,l=n,t.filter(e=>e.productTourCardCategories?.some(e=>e.id===l)))}},p[6]=h,p[7]=e):e=p[7],i=[a,...x.map(e)],p[2]=h,p[3]=x,p[4]=a,p[5]=i}else i=p[5];let j=i;p[8]!==v||p[9]!==j?(s=(t=j,n=v,t.find(e=>e.id===n)||j[0]),p[8]=v,p[9]=j,p[10]=s):s=p[10];let y=s,N=y.cards.length>b;p[11]!==y.cards||p[12]!==b?(c=y.cards.slice(0,b),p[11]=y.cards,p[12]=b,p[13]=c):c=p[13];let C=c;p[14]===Symbol.for("react.memo_cache_sentinel")?(d=()=>w(f),p[14]=d):d=p[14];let S=d;p[15]===Symbol.for("react.memo_cache_sentinel")?(u=e=>{g(e),w(12)},p[15]=u):u=p[15];let P=u;return p[16]!==v||p[17]!==N||p[18]!==j||p[19]!==C?(m={tabs:j,activeTab:v,visibleCards:C,hasMoreCards:N,handleLoadMore:S,handleTabChange:P},p[16]=v,p[17]=N,p[18]=j,p[19]=C,p[20]=m):m=p[20],m}(s);if(x[3]!==C?(c=C.map(h),x[3]=C,x[4]=c):c=x[4],x[5]!==c?(d=(0,t.jsx)(a.TabsList,{className:"mb-8 w-full flex-wrap justify-start gap-2 lg:mb-16",children:c}),x[5]=c,x[6]=d):d=x[6],x[7]!==S||x[8]!==j||x[9]!==R||x[10]!==k||x[11]!==y||x[12]!==N||x[13]!==C||x[14]!==P){let e;x[16]!==S||x[17]!==j||x[18]!==R||x[19]!==k||x[20]!==y||x[21]!==N||x[22]!==P?(e=e=>{let{id:l,label:s}=e;return(0,t.jsx)(a.TabsContent,{value:l,className:"!w-full !border-none !p-0",children:(0,t.jsxs)("div",{className:"w-full",children:[s&&(0,t.jsx)("h3",{className:"mb-10 text-3xl font-semibold text-neutral-900 lg:text-5xl",children:s}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:grid-cols-3",children:S===l&&P?.map(e=>(0,t.jsx)(m,{...e,launchButtonText:y,launchButtonPreviewAttrs:(0,i.previewChainedField)(j,"sectionProductTourCardsListLaunchProductTourButtonText")},e.id))}),k&&(0,t.jsx)("div",{className:"mt-10 flex justify-center",children:(0,t.jsx)(n.AppButton,{variant:"primary",size:"md",onClick:R,children:(0,t.jsx)("span",{...(0,i.previewChainedField)(j,"sectionProductTourCardsListLoadMoreText"),children:N})})})]})},l)},x[16]=S,x[17]=j,x[18]=R,x[19]=k,x[20]=y,x[21]=N,x[22]=P,x[23]=e):e=x[23],u=C.map(e),x[7]=S,x[8]=j,x[9]=R,x[10]=k,x[11]=y,x[12]=N,x[13]=C,x[14]=P,x[15]=u}else u=x[15];return x[24]!==S||x[25]!==A||x[26]!==d||x[27]!==u?(p=(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)(a.Tabs,{value:S,onValueChange:A,className:"mb-8 w-full lg:mb-16",children:[d,u]})}),x[24]=S,x[25]=A,x[26]=d,x[27]=u,x[28]=p):p=x[28],p}],3198)},63323,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(11762),a=e.i(77902);function i(e){let n,a=(0,l.c)(3),{emptyContentText:i,previewAttrs:s}=e,o=i??"No search results available";return a[0]!==s||a[1]!==o?(n=(0,t.jsx)("div",{className:"flex w-full justify-center self-center",children:(0,t.jsx)("p",{...s,className:"text-primary-700 text-center text-2xl font-semibold",children:o})}),a[0]=s,a[1]=o,a[2]=n):n=a[2],n}var s=e.i(71865),o=e.i(17934),c=e.i(35492),d=e.i(50547),u=e.i(75430),m=e.i(42414);function p(e){let n,a,i,s,o=(0,l.c)(10),{direction:p,href:f}=e;o[0]!==f?(n=(0,m.getPageHref)(f),o[0]=f,o[1]=n):n=o[1];let h="previous"===p?"Previous page":"Next page",x="next"===p&&"rotate-180";return o[2]!==x?(a=(0,u.cn)("h-4 w-4",x),o[2]=x,o[3]=a):a=o[3],o[4]!==a?(i=(0,t.jsx)(c.ArrowLeft,{className:a}),o[4]=a,o[5]=i):i=o[5],o[6]!==n||o[7]!==h||o[8]!==i?(s=(0,t.jsx)("li",{children:(0,t.jsx)(d.default,{href:n,"aria-label":h,className:"text-primary-600 flex h-10 w-12 items-center justify-center rounded-full text-sm",children:i})}),o[6]=n,o[7]=h,o[8]=i,o[9]=s):s=o[9],s}function f(e){let n,a,i,s=(0,l.c)(9),{page:o,isActive:c,href:p}=e;if(void 0!==c&&c){let e,l;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,u.cn)("flex h-10 w-10 items-center justify-center rounded-full","bg-primary-600 text-white"),s[0]=e):e=s[0],s[1]!==o?(l=(0,t.jsx)("span",{className:e,children:o}),s[1]=o,s[2]=l):l=s[2],l}return s[3]!==p?(n=(0,m.getPageHref)(p),s[3]=p,s[4]=n):n=s[4],s[5]===Symbol.for("react.memo_cache_sentinel")?(a=(0,u.cn)("flex h-10 w-10 items-center justify-center rounded-full","text-sm text-gray-900"),s[5]=a):a=s[5],s[6]!==o||s[7]!==n?(i=(0,t.jsx)(d.default,{href:n,className:a,children:o}),s[6]=o,s[7]=n,s[8]=i):i=s[8],i}function h(e){let n,a,i,s,o,c,d,u,h,v,g,b,w=(0,l.c)(45),{totalPages:j,page:y,pageURL:N}=e;w[0]!==y||w[1]!==j?(n=(0,m.calculatePageRange)(y,j),w[0]=y,w[1]=j,w[2]=n):n=w[2];let[C,S]=n;
41if(w[3]!==S||w[4]!==y||w[5]!==N||w[6]!==C||w[7]!==j){let e;w[15]!==C?(e=(e,t)=>C+t,w[15]=C,w[16]=e):e=w[16];let l=Array.from({length:S-C+1},e),n=C>2;i=S<j-1;let m=C>1;a=S<j,s="mx-auto flex w-fit flex-wrap gap-1 py-10",w[17]!==y||w[18]!==N?(o=y>1&&(0,t.jsx)(p,{href:N(y-1),direction:"previous"}),w[17]=y,w[18]=N,w[19]=o):o=w[19],w[20]!==N||w[21]!==m?(c=m&&(0,t.jsx)("li",{children:(0,t.jsx)(f,{page:1,href:N(1)})}),w[20]=N,w[21]=m,w[22]=c):c=w[22],w[23]!==n?(d=n&&(0,t.jsx)(x,{}),w[23]=n,w[24]=d):d=w[24],u=l.length>1&&l.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(f,{page:e,isActive:e===y,href:N(e)})},e)),w[3]=S,w[4]=y,w[5]=N,w[6]=C,w[7]=j,w[8]=a,w[9]=i,w[10]=s,w[11]=o,w[12]=c,w[13]=d,w[14]=u}else a=w[8],i=w[9],s=w[10],o=w[11],c=w[12],d=w[13],u=w[14];return w[25]!==i?(h=i&&(0,t.jsx)(x,{}),w[25]=i,w[26]=h):h=w[26],w[27]!==y||w[28]!==N||w[29]!==a||w[30]!==j?(v=a&&(0,t.jsx)("li",{children:(0,t.jsx)(f,{page:j,isActive:j===y,href:N(j)})}),w[27]=y,w[28]=N,w[29]=a,w[30]=j,w[31]=v):v=w[31],w[32]!==y||w[33]!==N||w[34]!==j?(g=y<j&&(0,t.jsx)(p,{href:N(y+1),direction:"next"}),w[32]=y,w[33]=N,w[34]=j,w[35]=g):g=w[35],w[36]!==s||w[37]!==o||w[38]!==c||w[39]!==d||w[40]!==u||w[41]!==h||w[42]!==v||w[43]!==g?(b=(0,t.jsxs)("ul",{className:s,children:[o,c,d,u,h,v,g]}),w[36]=s,w[37]=o,w[38]=c,w[39]=d,w[40]=u,w[41]=h,w[42]=v,w[43]=g,w[44]=b):b=w[44],b}let x=()=>{let e,n=(0,l.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("li",{className:"flex h-10 w-10 items-center justify-center rounded-full",children:(0,t.jsx)("span",{className:"text-sm text-gray-400",children:"..."})}),n[0]=e):e=n[0],e};var v=e.i(6911),g=e.i(1811),b=e.i(5591),w=e.i(76376),j=e.i(47546),y=e.i(69806),N=e.i(20948),C=e.i(86825);let S={[v.QUERY_PARAMS.PAGE]:N.parseAsInteger.withDefault(1),[v.QUERY_PARAMS.CATEGORY]:C.parseAsResourceCategories.withDefault([]).withOptions({clearOnDefault:!0}),[v.QUERY_PARAMS.SEARCH]:N.parseAsString.withOptions({clearOnDefault:!1})};(0,N.createSearchParamsCache)(S),(0,N.createSerializer)(S);let P=(0,y.createSerializer)(S);var k=e.i(90527);e.s(["SectionResourcesContent",0,function(e){let c,d,u,m,p,f,x=(0,l.c)(26),{type:y,categories:N,searchPlaceholderText:C,emptyContentText:S,featuredResources:R,popularCategories:A,resources:E,totalPages:T,page:_,entryId:I}=e,{search:D,debouncedSearch:L,handleSearch:F,startTransition:M,isPending:O}=(0,g.useSearch)();x[0]!==N?(c=e=>P({[v.QUERY_PARAMS.PAGE]:e,...N.length>0&&{[v.QUERY_PARAMS.CATEGORY]:N}}),x[0]=N,x[1]=c):c=x[1];let z=c;x[2]!==A||x[3]!==M?(d=(0,t.jsx)(a.CategoriesFilter,{categories:A,startTransition:M}),x[2]=A,x[3]=M,x[4]=d):d=x[4];let H=C??"Search the resource hub";return x[5]!==F||x[6]!==D||x[7]!==H?(u=(0,t.jsx)(b.SearchInput,{placeholder:H,value:D,handleChange:F,className:"min-w-[200px] bg-neutral-200/60 text-sm md:text-base"}),x[5]=F,x[6]=D,x[7]=H,x[8]=u):u=x[8],x[9]!==d||x[10]!==u?(m=(0,t.jsxs)(o.Navbar,{children:[d,u]}),x[9]=d,x[10]=u,x[11]=m):m=x[11],x[12]!==L||x[13]!==S||x[14]!==I||x[15]!==R||x[16]!==O||x[17]!==_||x[18]!==z||x[19]!==E||x[20]!==T||x[21]!==y?(p=O?(0,t.jsx)(s.Loader,{}):(0,t.jsxs)(t.Fragment,{children:[E&&0!==E.length?(0,t.jsxs)("div",{className:w.innerWrapperClasses,children:[!L&&R,(0,t.jsx)(k.ScrollToResources,{children:(0,t.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:E.map(e=>(0,t.jsx)(n.ResourceCard,{...e,type:y.label},e.id))})})]}):(0,t.jsx)(i,{emptyContentText:S,previewAttrs:(0,j.previewChainedField)(I,"emptyContentText")}),(0,t.jsx)(h,{totalPages:T,page:_,pageURL:z})]}),x[12]=L,x[13]=S,x[14]=I,x[15]=R,x[16]=O,x[17]=_,x[18]=z,x[19]=E,x[20]=T,x[21]=y,x[22]=p):p=x[22],x[23]!==m||x[24]!==p?(f=(0,t.jsxs)("div",{className:"mt-10 flex flex-col gap-10",children:[m,p]}),x[23]=m,x[24]=p,x[25]=f):f=x[25],f}],63323)},65723,e=>{"use strict";var t=e.i(95295),l=e.i(52036),n=e.i(70),a=e.i(32138);e.i(40511);var i=e.i(64999),i=i,s=e.i(47546),o=e.i(37344);function c(e){let n,i,c,u,m,p,f,h,x,v,g,b,w,j,y,N,C,S=(0,l.c)(49),{content:P,rating:k,authorName:R,authorCompany:A,authorPicture:E,id:T,entryId:_}=e;S[0]!==_||S[1]!==T?(n=(0,s.previewNestedField)(_,"authorPicture","testimonials",T),S[0]=_,S[1]=T,S[2]=n):n=S[2];let I=`${R}, ${A}`;S[3]!==E.url||S[4]!==I?(i=(0,t.jsx)(a.default,{src:E.url,alt:I,width:80,height:80}),S[3]=E.url,S[4]=I,S[5]=i):i=S[5],S[6]!==n||S[7]!==i?(c=(0,t.jsx)("div",{className:"h-20 w-20 overflow-hidden rounded-full",...n,children:i}),S[6]=n,S[7]=i,S[8]=c):c=S[8];let D=`${k} star rating`;return S[9]!==_||S[10]!==T?(u=(0,s.previewNestedField)(_,"rating","testimonials",T),S[9]=_,S[10]=T,S[11]=u):u=S[11],S[12]!==k?(m=Array.from({length:k}).map(d),S[12]=k,S[13]=m):m=S[13],S[14]!==D||S[15]!==u||S[16]!==m?(p=(0,t.jsx)("div",{className:"flex gap-2",role:"img","aria-label":D,...u,children:m}),S[14]=D,S[15]=u,S[16]=m,S[17]=p):p=S[17],S[18]!==_||S[19]!==T?(f=(0,s.previewNestedField)(_,"content","testimonials",T),S[18]=_,S[19]=T,S[20]=f):f=S[20],S[21]!==P||S[22]!==f?(h=(0,t.jsx)("blockquote",{className:"text-base font-medium text-neutral-700 md:text-lg",children:(0,t.jsx)("p",{...f,children:P})}),S[21]=P,S[22]=f,S[23]=h):h=S[23],S[24]!==h||S[25]!==c||S[26]!==p?(x=(0,t.jsxs)("div",{className:"relative mb-10 flex flex-col gap-6",children:[c,p,h]}),S[24]=h,S[25]=c,S[26]=p,S[27]=x):x=S[27],S[28]!==_||S[29]!==T?(v=(0,s.previewNestedField)(_,"authorName","testimonials",T),S[28]=_,S[29]=T,S[30]=v):v=S[30],S[31]!==R||S[32]!==v?(g=(0,t.jsx)("h3",{className:"mb-1 text-lg font-medium text-neutral-900 md:text-xl",...v,children:R}),S[31]=R,S[32]=v,S[33]=g):g=S[33],S[34]!==_||S[35]!==T?(b=(0,s.previewNestedField)(_,"authorCompany","testimonials",T),S[34]=_,S[35]=T,S[36]=b):b=S[36],S[37]!==A||S[38]!==b?(w=(0,t.jsx)("p",{className:"text-sm font-medium text-neutral-900 md:text-base",...b,children:A}),S[37]=A,S[38]=b,S[39]=w):w=S[39],S[40]!==g||S[41]!==w?(j=(0,t.jsxs)("footer",{children:[g,w]}),S[40]=g,S[41]=w,S[42]=j):j=S[42],S[43]!==x||S[44]!==j?(y=(0,t.jsxs)("div",{className:"flex flex-1 flex-col items-start justify-between p-6 md:p-10",children:[x,j]}),S[43]=x,S[44]=j,S[45]=y):y=S[45],S[46]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)(o.DecorBar,{position:"bottom"}),S[46]=N):N=S[46],S[47]!==y?(C=(0,t.jsxs)("article",{className:"shadow-card relative flex h-full flex-col justify-between rounded-3xl bg-white",children:[y,N]}),S[47]=y,S[48]=C):C=S[48],C}function d(e,l){return(0,t.jsx)(i.default,{},l)}var u=e.i(14530),m=e.i(76376),p=e.i(30987),f=e.i(60182),h=e.i(9382),x=e.i(75430);e.s(["SectionTestimonials",0,function(e){let a,i,o,d,v,g,b=(0,l.c)(26),{header:w,testimonials:j,entryId:y,scrollId:N}=e,{emblaRef:C,scrollPrev:S,scrollNext:P,prevBtnDisabled:k,nextBtnDisabled:R,emblaApi:A}=(0,f.useCarousel)(),{selectedIndex:E,scrollSnaps:T,selectSlide:_}=(0,h.useCarouselButton)(A);if(b[0]!==y||b[1]!==w?(a=w&&(0,t.jsx)(n.SectionHeader,{...w,rootEntryId:y,componentChain:(0,s.appendPreviewComponentChain)(void 0,"header",w.id)}),b[0]=y,b[1]=w,b[2]=a):a=b[2],b[3]!==y||b[4]!==j){let e;b[6]!==y?(e=e=>(0,t.jsx)("li",{className:(0,x.cn)("pointer-events-none flex-[0_0_80%] pr-1 pl-5 select-none sm:flex-[0_0_49%] lg:flex-[0_0_33%] lg:pl-12"),children:(0,t.jsx)(c,{...e,entryId:y})}
41,e.id),b[6]=y,b[7]=e):e=b[7],i=j.map(e),b[3]=y,b[4]=j,b[5]=i}else i=b[5];return b[8]!==i?(o=(0,t.jsx)("ul",{className:"-ml-4 flex lg:-ml-11",children:i}),b[8]=i,b[9]=o):o=b[9],b[10]!==R||b[11]!==k||b[12]!==P||b[13]!==S||b[14]!==T||b[15]!==_||b[16]!==E?(d=T.length>1&&(0,t.jsxs)("div",{className:"mt-6 flex items-center gap-3 pr-5 sm:pr-0",children:[(0,t.jsxs)("div",{className:"flex flex-1 gap-3",children:[(0,t.jsx)(u.CarouselNavButton,{direction:"previous",onClick:S,disabled:k,"aria-label":"Previous testimonial"}),(0,t.jsx)(u.CarouselNavButton,{direction:"next",onClick:P,disabled:R,"aria-label":"Next testimonial"})]}),T.length>7&&(0,t.jsxs)("div",{className:"self-center text-sm text-gray-600 md:hidden",children:[E+1," / ",T.length]}),(0,t.jsx)("div",{className:(0,x.cn)("gap-2 self-center",T.length<=7?"flex":"hidden md:flex"),children:T.map((e,l)=>(0,t.jsx)(p.SlideButton,{isActive:l===E,"aria-label":`Select testimonial ${l+1}`,onClick:()=>_(l)},l))}),(0,t.jsx)("div",{className:"sm:flex-1"})]}),b[10]=R,b[11]=k,b[12]=P,b[13]=S,b[14]=T,b[15]=_,b[16]=E,b[17]=d):d=b[17],b[18]!==C||b[19]!==o||b[20]!==d?(v=(0,t.jsxs)("div",{className:"relative w-[calc(100%+20px)] overflow-hidden sm:w-full",ref:C,children:[o,d]}),b[18]=C,b[19]=o,b[20]=d,b[21]=v):v=b[21],b[22]!==N||b[23]!==a||b[24]!==v?(g=(0,t.jsxs)(m.SectionWrapper,{id:N,background:"gray",className:"flex flex-col gap-8 lg:gap-16",children:[a,v]}),b[22]=N,b[23]=a,b[24]=v,b[25]=g):g=b[25],g}],65723)}]);
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.