PageSourceSearch

https://www.solarys.ai/_next/static/immutable/chunks/09cw4ak26aj3_.js

js solarys.ai collected 2026-10-05 15:08:10 UTC 251,415 bytes, 102 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98512,e=>{"use strict";let t,r,n,i,o,s,a;var l,u,c,d,h,p,f,m,g,y,v,b=e.i(43476),x=e.i(71645),w=Object.defineProperty,k=(e,t)=>w(e,"name",{value:t,configurable:!0}),S=!!("u">typeof window&&window.document&&window.document.createElement);function E(e,t,{checkForDefaultPrevented:r=!0}={}){return k(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function P(e){if(!S)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function C(e){return"IFRAME"===e.tagName}k(E,"composeEventHandlers"),k(function(e){if(!S)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),k(P,"getOwnerDocument"),k(function e(t,r=!1){let{activeElement:n}=P(t);if(!n?.nodeName)return null;if(C(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=P(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),k(C,"isFrame");var T=Object.defineProperty,j=(e,t)=>T(e,"name",{value:t,configurable:!0});function A(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function R(...e){return t=>{let r=!1,n=e.map(e=>{let n=A(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():A(e[t],null)}}}}function M(...e){return x.useCallback(R(...e),e)}j(A,"setRef"),j(R,"composeRefs"),j(M,"useComposedRefs");var O=Object.defineProperty,L=(e,t)=>O(e,"name",{value:t,configurable:!0});function D(e,t=[]){let r=[];function n(t,n){let i=x.createContext(n);i.displayName=t+"Context";let o=r.length;r=[...r,n];let s=L(t=>{let{scope:r,children:n,...s}=t,a=r?.[e]?.[o]||i,l=x.useMemo(()=>s,Object.values(s));return(0,b.jsx)(a.Provider,{value:l,children:n})},"Provider");function a(r,s,l={}){let{optional:u=!1}=l,c=s?.[e]?.[o]||i,d=x.useContext(c);if(d)return d;if(void 0!==n)return n;if(!u)throw Error(`\`${r}\` must be used within \`${t}\``)}return s.displayName=t+"Provider",L(a,"useContext"),[s,a]}L(n,"createContext");let i=L(()=>{let t=r.map(e=>x.createContext(e));return L(function(r){let n=r?.[e]||t;return x.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])},"useScope")},"createScope");return i.scopeName=e,[n,N(i,...t)]}function N(...e){let t=e[0];if(1===e.length)return t;let r=L(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return L(function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}L(function(e,t){let r=x.createContext(t);r.displayName=e+"Context";let n=L(e=>{let{children:t,...n}=e,i=x.useMemo(()=>n,Object.values(n));return(0,b.jsx)(r.Provider,{value:i,children:t})},"Provider");function i(n,o={}){let{optional:s=!1}=o,a=x.useContext(r);if(a)return a;if(void 0!==t)return t;if(!s)throw Error(`\`${n}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",L(i,"useContext"),[n,i]},"createContext"),L(D,"createContextScope"),L(N,"composeContextScopes");var V=globalThis?.document?x.useLayoutEffect:()=>{},I=Object.defineProperty,_=x[" useId ".trim().toString()]||(()=>void 0),F=0;function z(e){let[t,r]=x.useState(_());return V(()=>{e||r(e=>e??String(F++))},[e]),e||(t?`radix-${t}`:"")}I(z,"name",{value:"useId",configurable:!0});var B=Object.defineProperty,$=x[" useEffectEvent ".trim().toString()],U=x[" useInsertionEffect ".trim().toString()];function W(e){if("function"==typeof $)return $(e);let t=x.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof U?U(()=>{t.current=e}):V(()=>{t.current=e}),x.useMemo(()=>(...e)=>t.current?.(...e),[])}B(W,"name",{value:"useEffectEvent",configurable:!0});var H=Object.defineProperty,X=(e,t)=>H(e,"name",{value:t,configurable:!0}),q=x[" useInsertionEffect ".trim().toString()]||V;function G({prop:e,defaultProp:t,onChange:r=X(()=>{},"onChange"),caller:n}){let[i,o,s]=Y({defaultProp:t,onChange:r}),a=void 0!==e,l=a?e:i;return[l,x.useCallback(t=>{if(a){let r=K(t)?t(e):t;r!==e&&s.current?.(r)}else o(t)},[a,e,o,s])]}function Y({defaultProp:e,onChange:t}){let[r,n]=x.useState(e),i=x.useRef(r),o=x.useRef(t);return q(()=>{o.current=t},[t]),x.useEffect(()=>{i.current!==r&&(o.current?.(r),i.current=r)},[r,i]),[r,n,o]}function K(e){return"function"==typeof e}X(G,"useControllableState"),X(Y,"useUncontrolledState"),X(K,"isFunction");var Z=Symbol("RADIX:SYNC_STATE");X(function(e,t,r,n){let{prop:i,defaultProp:o,onChange:s,caller:a}=t,l=void 0!==i,u=W(s),c=[{...r,state:o}];n&&c.push(n);let[d,h]=x.useReducer((t,r)=>{if(r.type===Z)return{...t,state:r.state};let n=e(t,r);return l&&!Object.is(n.state,t.state)&&u(n.state),n},...c),p=d.state,f=x.useRef(p);x.useEffect(()=>{f.current!==p&&(f.current=p,l||u(p))},[p,f,l]);let m=x.useMemo(()=>void 0!==i?{...d,state:i}:d,[d,i]);return x.useEffect(()=>{l&&!Object.is(i,d.state)&&h({type:Z,state:i})},[i,d.state,l]),[m,h]},"useControllableStateReducer");var J=e.i(74080),Q=Object.defineProperty,ee=(e,t)=>
1Q(e,"name",{value:t,configurable:!0});function et(e){let t=x.forwardRef((t,r)=>{let{children:n,...i}=t,o=null,s=!1,a=[];el(n)&&"function"==typeof eh&&(n=eh(n._payload)),x.Children.forEach(n,e=>{if(es(e)){s=!0;let t="child"in e.props?e.props.child:e.props.children;el(t)&&"function"==typeof eh&&(t=eh(t._payload)),o=en(e,t),a.push(o?.props?.children)}else a.push(e)}),o?o=x.cloneElement(o,void 0,a):!s&&1===x.Children.count(n)&&x.isValidElement(n)&&(o=n);let l=o?eo(o):void 0,u=M(r,l);if(!o){if(n||0===n)throw Error(s?ed(e):ec(e));return n}let c=ei(i,o.props??{});return o.type!==x.Fragment&&(c.ref=r?u:l),x.cloneElement(o,c)});return t.displayName=`${e}.Slot`,t}ee(et,"createSlot");var er=Symbol.for("radix.slottable");ee(function(e){let t=ee(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=er,t},"createSlottable");var en=ee((e,t)=>{if("child"in e.props){let t=e.props.child;return x.isValidElement(t)?x.cloneElement(t,void 0,e.props.children(t.props.children)):null}return x.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function ei(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}function eo(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function es(e){return x.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===er}ee(ei,"mergeProps"),ee(eo,"getElementRef"),ee(es,"isSlottable");var ea=Symbol.for("react.lazy");function el(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===ea&&"_payload"in e&&eu(e._payload)}function eu(e){return"object"==typeof e&&null!==e&&"then"in e}ee(el,"isLazyComponent"),ee(eu,"isPromiseLike");var ec=ee(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),ed=ee(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),eh=x[" use ".trim().toString()],ep=Object.defineProperty,ef=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=et(`Primitive.${t}`),n=x.forwardRef((e,n)=>{let{asChild:i,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,b.jsx)(i?r:t,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function em(e,t){e&&J.flushSync(()=>e.dispatchEvent(t))}function eg(e){let t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...e)=>t.current?.(...e),[])}ep(em,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),(0,Object.defineProperty)(eg,"name",{value:"useCallbackRef",configurable:!0});var ey=Object.defineProperty,ev=(e,t)=>ey(e,"name",{value:t,configurable:!0}),eb="dismissableLayer.update",ex=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),ew=x.forwardRef(ev(function(e,t){let{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:n=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:a,onDismiss:l,...u}=e,c=x.useContext(ex),[d,h]=x.useState(null),p=d?.ownerDocument??globalThis?.document,[,f]=x.useState({}),m=M(t,h),g=Array.from(c.layers),[v]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),w=v?g.indexOf(v):-1,k=d?g.indexOf(d):-1,S=c.layersWithOutsidePointerEventsDisabled.size>0,P=k>=w,C=x.useRef(!1),T=eE(e=>{o?.(e),a?.(e),e.defaultPrevented||l?.()},{ownerDocument:p,deferPointerDownOutside:n,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:c.dismissableSurfaces,shouldHandlePointerDownOutside:x.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...c.branches].some(t=>t.contains(e));return P&&!t},[c.branches,P])}),j=eP(e=>{if(n&&C.current)return;let t=e.target;![...c.branches].some(e=>e.contains(t))&&(s?.(e),a?.(e),e.defaultPrevented||l?.())},p),A=!!d&&k===g.length-1,R=eg(e=>{"Escape"===e.key&&(i?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))});return x.useEffect(()=>{if(A)return p.addEventListener("keydown",R,{capture:!0}),()=>p.removeEventListener("keydown",R,{capture:!0})},[p,A,R]),x.useEffect(()=>{if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(y=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),eC(),()=>
1{r&&(c.layersWithOutsidePointerEventsDisabled.delete(d),0===c.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=y))}},[d,p,r,c]),x.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),eC())},[d,c]),x.useEffect(()=>{let e=ev(()=>f({}),"handleUpdate");return document.addEventListener(eb,e),()=>document.removeEventListener(eb,e)},[]),(0,b.jsx)(ef.div,{...u,ref:m,style:{pointerEvents:S?P?"auto":"none":void 0,...e.style},onFocusCapture:E(e.onFocusCapture,j.onFocusCapture),onBlurCapture:E(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:E(e.onPointerDownCapture,T.onPointerDownCapture)})},"DismissableLayer"));function ek(){let e=x.useContext(ex),[t,r]=x.useState(null);return x.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}ev(ek,"useDismissableLayerSurface");var eS=ev(()=>!0,"IS_TRUE");function eE(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:n=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:o,shouldHandlePointerDownOutside:s=eS}=t,a=eg(e),l=x.useRef(!1),u=x.useRef(!1),c=x.useRef(new Map),d=x.useRef(()=>{});return x.useEffect(()=>{function e(){u.current=!1,i.current=!1,c.current.clear()}function t(){return Array.from(c.current.values()).some(Boolean)}function h(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...o].some(e=>e.contains(t))||c.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{u.current&&d.current()},0)}function p(e){u.current&&c.current.set(e.type,!1)}ev(e,"resetOutsideInteraction"),ev(t,"isOutsideInteractionIntercepted"),ev(h,"handleInteractionCapture"),ev(p,"handleInteractionBubble");let f=ev(o=>{if(o.target&&!l.current){let h=function(){r.removeEventListener("click",d.current);let n=t();e(),n||eT("dismissableLayer.pointerDownOutside",a,p,{discrete:!0})};if(ev(h,"handleAndDispatchPointerDownOutsideEvent"),!s(o.target)){r.removeEventListener("click",d.current),e(),l.current=!1;return}let p={originalEvent:o};u.current=!0,i.current=n&&0===o.button,c.current.clear(),n&&0===o.button?(r.removeEventListener("click",d.current),d.current=h,r.addEventListener("click",d.current,{once:!0})):h()}else r.removeEventListener("click",d.current),e();l.current=!1},"handlePointerDown"),m=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of m)r.addEventListener(e,h,!0),r.addEventListener(e,p);let g=window.setTimeout(()=>{r.addEventListener("pointerdown",f)},0);return()=>{for(let e of(window.clearTimeout(g),r.removeEventListener("pointerdown",f),r.removeEventListener("click",d.current),m))r.removeEventListener(e,h,!0),r.removeEventListener(e,p)}},[r,a,n,i,o,s]),{onPointerDownCapture:ev(()=>l.current=!0,"onPointerDownCapture")}}function eP(e,t=globalThis?.document){let r=eg(e),n=x.useRef(!1);return x.useEffect(()=>{let e=ev(e=>{e.target&&!n.current&&eT("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:ev(()=>n.current=!0,"onFocusCapture"),onBlurCapture:ev(()=>n.current=!1,"onBlurCapture")}}function eC(){let e=new CustomEvent(eb);document.dispatchEvent(e)}function eT(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?em(i,o):i.dispatchEvent(o)}ev(eE,"usePointerDownOutside"),ev(eP,"useFocusOutside"),ev(eC,"dispatchUpdate"),ev(eT,"handleAndDispatchCustomEvent");var ej=Object.defineProperty,eA=(e,t)=>ej(e,"name",{value:t,configurable:!0}),eR="focusScope.autoFocusOnMount",eM="focusScope.autoFocusOnUnmount",eO={bubbles:!1,cancelable:!0},eL=x.forwardRef(eA(function(e,t){let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=x.useState(null),u=eg(i),c=eg(o),d=x.useRef(null),h=M(t,l),p=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(n){let e=function(e){if(p.paused||!a)return;let t=e.target;a.contains(t)?d.current=t:ez(d.current,{select:!0})},t=function(e){if(p.paused||!a)return;let t=e.relatedTarget;null!==t&&(a.contains(t)||ez(d.current,{select:!0}))},r=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&ez(a)};eA(e,"handleFocusIn"),eA(t,"handleFocusOut"),eA(r,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(r);return a&&n.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[n,a,p.paused]),x.useEffect(()=>{if(a){eB.add(p);let e=document.activeElement;if(!a.contains(e)){let t=new CustomEvent(eR,eO);a.addEventListener(eR,u),a.dispatchEvent(t),t.defaultPrevented||(eD(eW(eV(a)),{select:!0}),document.activeElement===e&&ez(a))}return()=>{a.removeEventListener(eR,u),setTimeout(()=>{let t=new CustomEvent(eM,eO);a.addEventListener(eM,c),a.dispatchEvent(t),t.defaultPrevented||ez(e??document.body,{select:!0}),a.removeEventListener(eM,c),eB.remove(p)}
1,0)}}},[a,u,c,p]);let f=x.useCallback(e=>{if(!r&&!n||p.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[n,o]=eN(t);n&&o?e.shiftKey||i!==o?e.shiftKey&&i===n&&(e.preventDefault(),r&&ez(o,{select:!0})):(e.preventDefault(),r&&ez(n,{select:!0})):i===t&&e.preventDefault()}},[r,n,p.paused]);return(0,b.jsx)(ef.div,{tabIndex:-1,...s,ref:h,onKeyDown:f})},"FocusScope"));function eD(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(ez(n,{select:t}),document.activeElement!==r)return}function eN(e){let t=eV(e);return[eI(t,e),eI(t.reverse(),e)]}function eV(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:eA(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}function eI(e,t){let r="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let n of e)if(!(r?!n.checkVisibility({checkVisibilityCSS:!0}):e_(n,{upTo:t})))return n}function e_(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function eF(e){return e instanceof HTMLInputElement&&"select"in e}function ez(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&eF(e)&&t&&e.select()}}eA(eD,"focusFirst"),eA(eN,"getTabbableEdges"),eA(eV,"getTabbableCandidates"),eA(eI,"findVisible"),eA(e_,"isHidden"),eA(eF,"isSelectableInput"),eA(ez,"focus");var eB=e$();function e$(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),(e=eU(e,t)).unshift(t)},remove(t){e=eU(e,t),e[0]?.resume()}}}function eU(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}function eW(e){return e.filter(e=>"A"!==e.tagName)}eA(e$,"createFocusScopesStack"),eA(eU,"arrayRemove"),eA(eW,"removeLinks");var eH=Object.defineProperty,eX=x.forwardRef(eH(function(e,t){let{container:r,...n}=e,[i,o]=x.useState(!1);V(()=>o(!0),[]);let s=r||i&&globalThis?.document?.body;return s?J.createPortal((0,b.jsx)(ef.div,{...n,ref:t}),s):null},"name",{value:"Portal",configurable:!0})),eq=Object.defineProperty,eG=(e,t)=>eq(e,"name",{value:t,configurable:!0});function eY(e,t){return x.useReducer((e,r)=>t[e][r]??e,e)}eG(eY,"useStateMachine");var eK=eG(e=>{let{present:t,children:r}=e,n=eZ(t),i="function"==typeof r?r({present:n.isPresent}):x.Children.only(r),o=eQ(n.ref,e1(i));return"function"==typeof r||n.isPresent?x.cloneElement(i,{ref:o}):null},"Presence");function eZ(e){let[t,r]=x.useState(),n=x.useRef(null),i=x.useRef(e),o=x.useRef("none"),s=x.useRef(void 0),[a,l]=eY(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{"mounted"===a?(o.current=s.current??e0(n.current),s.current=void 0):o.current="none"},[a]),V(()=>{let t=n.current,r=i.current;if(r!==e){let n=o.current,a=e0(t);e?(s.current=a,l("MOUNT")):"none"===a||t?.display==="none"?l("UNMOUNT"):r&&n!==a?l("ANIMATION_OUT"):l("UNMOUNT"),i.current=e}},[e,l]),V(()=>{if(t){let e,r=t.ownerDocument.defaultView??window,s=eG(o=>{let s=e0(n.current).includes(CSS.escape(o.animationName));if(o.target===t&&s&&(l("ANIMATION_END"),!i.current)){let n=t.style.animationFillMode;t.style.animationFillMode="forwards",e=r.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=n)})}},"handleAnimationEnd"),a=eG(e=>{e.target===t&&(o.current=e0(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",s),t.addEventListener("animationend",s),()=>{r.clearTimeout(e),t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",s),t.removeEventListener("animationend",s)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(e=>{if(e){let t=getComputedStyle(e);n.current=t,s.current=e0(t)}else n.current=null;r(e)},[])}}function eJ(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function eQ(...e){let t=x.useRef(e);return t.current=e,x.useCallback(e=>{let r=t.current,n=!1,i=r.map(t=>{let r=eJ(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<i.length;e++){let t=i[e];"function"==typeof t?t():eJ(r[e],null)}}},[])}function e0(e){return e?.animationName||"none"}function e1(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}eG(eZ,"usePresence"),eG(eJ,"setRef"),eG(eQ,"useStableComposedRefs"),eG(e0,"getAnimationName"),eG(e1,"getElementRef");var e2=Object.defineProperty,e6=(e,t)=>e2(e,"name",{value:t,configurable:!0}),e3=0,e5=null;function e4(){x.useEffect(()=>{e5||(e5={start:e9(),end:e9()});let{start:e,end:t}=e5;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),e3++,()=>{1===e3&&(e5?.start.remove(),e5?.end.remove(),e5=null),e3=Math.max(0,e3-1)}},[])}function e9(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
1style.position="fixed",e.style.pointerEvents="none",e}e6(function(e){return e4(),e.children},"FocusGuards"),e6(e4,"useFocusGuards"),e6(e9,"createFocusGuard");var e8=function(){return(e8=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function e7(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var te=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),tt="width-before-scroll-bar";function tr(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tn="u">typeof window?x.useLayoutEffect:x.useEffect,ti=new WeakMap,to=(void 0===l&&(l={}),(void 0===u&&(u=function(e){return e}),c=[],d=!1,h={read:function(){if(d)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return c.length?c[c.length-1]:null},useMedium:function(e){var t=u(e,d);return c.push(t),function(){c=c.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(d=!0;c.length;){var t=c;c=[],t.forEach(e)}c={push:function(t){return e(t)},filter:function(){return c}}},assignMedium:function(e){d=!0;var t=[];if(c.length){var r=c;c=[],r.forEach(e),t=c}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),c={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),c}}}}).options=e8({async:!0,ssr:!1},l),h),ts=function(){},ta=x.forwardRef(function(e,t){var r,n,i,o,s=x.useRef(null),a=x.useState({onScrollCapture:ts,onWheelCapture:ts,onTouchMoveCapture:ts}),l=a[0],u=a[1],c=e.forwardProps,d=e.children,h=e.className,p=e.removeScrollBar,f=e.enabled,m=e.shards,g=e.sideCar,y=e.noRelative,v=e.noIsolation,b=e.inert,w=e.allowPinchZoom,k=e.as,S=e.gapMode,E=e7(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=(r=[s,t],n=function(e){return r.forEach(function(t){return tr(t,e)})},(i=(0,x.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,o=i.facade,tn(function(){var e=ti.get(o);if(e){var t=new Set(e),n=new Set(r),i=o.current;t.forEach(function(e){n.has(e)||tr(e,null)}),n.forEach(function(e){t.has(e)||tr(e,i)})}ti.set(o,r)},[r]),o),C=e8(e8({},E),l);return x.createElement(x.Fragment,null,f&&x.createElement(g,{sideCar:to,removeScrollBar:p,shards:m,noRelative:y,noIsolation:v,inert:b,setCallbacks:u,allowPinchZoom:!!w,lockRef:s,gapMode:S}),c?x.cloneElement(x.Children.only(d),e8(e8({},C),{ref:P})):x.createElement(void 0===k?"div":k,e8({},C,{className:h,ref:P}),d))});ta.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ta.classNames={fullWidth:tt,zeroRight:te};var tl=function(e){var t=e.sideCar,r=e7(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return x.createElement(n,e8({},r))};tl.isSideCarExport=!0;var tu=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=v||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,i;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tc=function(){var e=tu();return function(t,r){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},td=function(){var e=tc();return function(t){return e(t.styles,t.dynamic),null}},th={left:0,top:0,right:0,gap:0},tp=function(e){return parseInt(e||"",10)||0},tf=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[tp(r),tp(n),tp(i)]},tm=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return th;var t=tf(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},tg=td(),ty="data-scroll-locked",tv=function(e,t,r,n){var i=e.left,o=e.top,s=e.right,a=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(a,"px ").concat(n,";\n  }\n  body[").concat(ty,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(a,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(a,"px ").concat(n,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(te," {\n    right: ").concat(a,"px ").concat(n,";\n  }\n  \n  .").concat(tt," {\n    margin-right: ").concat(a,"px ").concat(n,";\n  }\n  \n  .").concat(te," .").concat(te," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(tt," .").concat(tt," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(ty,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n  }\n")},tb=function(){var e=parseInt(document.body.getAttribute(ty)||"0",10);return isFinite(e)?e:0},tx=function(){x.useEffect(function(){return document.body.setAttribute(ty,(tb()+1).toString()),function(){var e=tb()-1;e<=0?document.body.removeAttribute(ty):document.body.setAttribute(ty,e.toString())}},[])},tw=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;tx();var o=x.useMemo(function(){return tm(i)},[i]);return x.createElement(tg,{styles:tv(o,!t,i,r?"":"!important")})},tk=!1;if("u">typeof window)try{var tS=Object.defineProperty({},"passive",{get:function(){return tk=!0,!0}});window.addEventListener("test",tS,tS),window.removeEventListener("test",tS,tS)}catch(e){tk=!1}var tE=!!tk&&{passive:!1},tP=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},tC=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),tT(e,n)){var i=tj(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},tT=function(e,t){return"v"===e?tP(t,"overflowY"):tP(t,"overflowX")},tj=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},tA=function(e,t,r,n,i){var o,s=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),a=s*n,l=r.target,u=t.contains(l),c=!1,d=a>0,h=0,p=0;do{if(!l)break;var f=tj(e,l),m=f[0],g=f[1]-f[2]-s*m;(m||g)&&tT(e,l)&&(h+=g,p+=m);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!u&&l!==document.body||u&&(t.contains(l)||t===l))return d&&(i&&1>Math.abs(h)||!i&&a>h)?c=!0:!d&&(i&&1>Math.abs(p)||!i&&-a>p)&&(c=!0),c},tR=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tM=function(e){return[e.deltaX,e.deltaY]},tO=function(e){return e&&"current"in e?e.current:e},tL=0,tD=[];let tN=(p=function(e){var t=x.useRef([]),r=x.useRef([0,0]),n=x.useRef(),i=x.useState(tL++)[0],o=x.use
1State(td)[0],s=x.useRef(e);x.useEffect(function(){s.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(tO),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=x.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,o=tR(e),a=r.current,l="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=window.getSelection(),p=h&&h.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var f=tC(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=tC(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var m=n.current||i;return tA(m,t,e,"h"===m?l:u,!0)},[]),l=x.useCallback(function(e){if(tD.length&&tD[tD.length-1]===o){var r="deltaY"in e?tM(e):tR(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(s.current.shards||[]).map(tO).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?a(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=x.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=x.useCallback(function(e){r.current=tR(e),n.current=void 0},[]),d=x.useCallback(function(t){u(t.type,tM(t),t.target,a(t,e.lockRef.current))},[]),h=x.useCallback(function(t){u(t.type,tR(t),t.target,a(t,e.lockRef.current))},[]);x.useEffect(function(){return tD.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,tE),document.addEventListener("touchmove",l,tE),document.addEventListener("touchstart",c,tE),function(){tD=tD.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,tE),document.removeEventListener("touchmove",l,tE),document.removeEventListener("touchstart",c,tE)}},[]);var p=e.removeScrollBar,f=e.inert;return x.createElement(x.Fragment,null,f?x.createElement(o,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?x.createElement(tw,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},to.useMedium(p),tl);var tV=x.forwardRef(function(e,t){return x.createElement(ta,e8({},e,{ref:t,sideCar:tN}))});tV.classNames=ta.classNames;var tI=new WeakMap,t_=new WeakMap,tF={},tz=0,tB=function(e){return e&&(e.host||tB(e.parentNode))},t$=function(e,t,r,n){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=tB(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tF[r]||(tF[r]=new WeakMap);var o=tF[r],s=[],a=new Set,l=new Set(i),u=function(e){!e||a.has(e)||(a.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(a.has(e))c(e);else try{var t=e.getAttribute(n),i=null!==t&&"false"!==t,l=(tI.get(e)||0)+1,u=(o.get(e)||0)+1;tI.set(e,l),o.set(e,u),s.push(e),1===l&&i&&t_.set(e,!0),1===u&&e.setAttribute(r,"true"),i||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};
1return c(t),a.clear(),tz++,function(){s.forEach(function(e){var t=tI.get(e)-1,i=o.get(e)-1;tI.set(e,t),o.set(e,i),t||(t_.has(e)||e.removeAttribute(n),t_.delete(e)),i||e.removeAttribute(r)}),--tz||(tI=new WeakMap,tI=new WeakMap,t_=new WeakMap,tF={})}},tU=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),t$(n,i,r,"aria-hidden")):function(){return null}},tW=Object.defineProperty,tH=(e,t)=>tW(e,"name",{value:t,configurable:!0}),tX="Dialog",[tq,tG]=D(tX),[tY,tK]=tq(tX),tZ=tH(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:s=!0}=e,a=x.useRef(null),l=x.useRef(null),[u,c]=G({prop:n,defaultProp:i??!1,onChange:o,caller:tX}),[d,h]=x.useState(0),[p,f]=x.useState(0);return(0,b.jsx)(tY,{scope:t,triggerRef:a,contentRef:l,contentId:z(),titleId:z(),descriptionId:z(),titlePresent:d>0,descriptionPresent:p>0,setTitleCount:h,setDescriptionCount:f,open:u,onOpenChange:c,onOpenToggle:x.useCallback(()=>c(e=>!e),[c]),modal:s,children:r})},"Dialog"),tJ=x.forwardRef(tH(function(e,t){let{__scopeDialog:r,...n}=e,i=tK("DialogTrigger",r),o=M(t,i.triggerRef);return(0,b.jsx)(ef.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":ro(i.open),...n,ref:o,onClick:E(e.onClick,i.onOpenToggle)})},"DialogTrigger")),tQ="DialogPortal",[t0,t1]=tq(tQ,{forceMount:void 0}),t2=tH(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:i}=e,o=tK(tQ,t);return(0,b.jsx)(t0,{scope:t,forceMount:r,children:x.Children.map(n,e=>(0,b.jsx)(eK,{present:r||o.open,children:(0,b.jsx)(eX,{asChild:!0,container:i,children:e})}))})},"DialogPortal"),t6="DialogOverlay",t3=x.forwardRef(tH(function(e,t){let r=t1(t6,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=tK(t6,e.__scopeDialog);return o.modal?(0,b.jsx)(eK,{present:n||o.open,children:(0,b.jsx)(t4,{...i,ref:t})}):null},"DialogOverlay")),t5=et("DialogOverlay.RemoveScroll"),t4=x.forwardRef(tH(function(e,t){let{__scopeDialog:r,...n}=e,i=tK(t6,r),o=M(t,ek());return(0,b.jsx)(tV,{as:t5,allowPinchZoom:!0,shards:[i.contentRef],children:(0,b.jsx)(ef.div,{"data-state":ro(i.open),...n,ref:o,style:{pointerEvents:"auto",...n.style}})})},"DialogOverlayImpl")),t9="DialogContent",t8=x.forwardRef(tH(function(e,t){let r=t1(t9,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=tK(t9,e.__scopeDialog);return(0,b.jsx)(eK,{present:n||o.open,children:o.modal?(0,b.jsx)(t7,{...i,ref:t}):(0,b.jsx)(re,{...i,ref:t})})},"DialogContent")),t7=x.forwardRef(tH(function(e,t){let r=tK(t9,e.__scopeDialog),n=x.useRef(null),i=M(t,r.contentRef,n);return x.useEffect(()=>{let e=n.current;if(e)return tU(e)},[]),(0,b.jsx)(rt,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:E(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:E(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:E(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),re=x.forwardRef(tH(function(e,t){let r=tK(t9,e.__scopeDialog),n=x.useRef(!1),i=x.useRef(!1);return(0,b.jsx)(rt,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})},"DialogContentNonModal")),rt=x.forwardRef(tH(function(e,t){let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,...s}=e,a=tK(t9,r);return e4(),(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(eL,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,b.jsx)(ew,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionPresent?a.descriptionId:void 0,"aria-labelledby":a.titlePresent?a.titleId:void 0,"data-state":ro(a.open),...s,ref:t,deferPointerDownOutside:!0,onDismiss:()=>a.onOpenChange(!1)})})})},"DialogContentImpl")),rr=x.forwardRef(tH(function(e,t){let{__scopeDialog:r,...n}=e,i=tK("DialogTitle",r),{setTitleCount:o}=i;return V(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,b.jsx)(ef.h2,{id:i.titleId,...n,ref:t})},"DialogTitle")),rn=x.forwardRef(tH(function(e,t){let{__scopeDialog:r,...n}=e,i=tK("DialogDescription",r),{setDescriptionCount:o}=i;return V(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,b.jsx)(ef.p,{id:i.descriptionId,...n,ref:t})},"DialogDescription")),ri=x.forwardRef(tH(function(e,t){let{__scopeDialog:r,...n}=e,i=tK("DialogClose",r);return(0,b.jsx)(ef.button,{type:"button",...n,ref:t,onClick:E(e.onClick,()=>i.onOpenChange(!1))})},"DialogClose"));function ro(e){return e?"open":"closed"}function rs(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}tH(ro,"getState");
1let ra=e=>"boolean"==typeof e?`${e}`:0===e?"0":e;var rl=e.i(37727);let ru=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),rc=[],rd=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let r=rd(e,t+1,i);if(r)return r}let o=r.validators;if(null===o)return;let s=0===t?e.join("-"):e.slice(t).join("-"),a=o.length;for(let e=0;e<a;e++){let t=o[e];if(t.validator(s))return t.classGroupId}},rh=(e,t)=>{let r=ru();for(let n in e)rp(e[n],r,n,t);return r},rp=(e,t,r,n)=>{let i=e.length;for(let o=0;o<i;o++)rf(e[o],t,r,n)},rf=(e,t,r,n)=>{"string"==typeof e?rm(e,t,r):"function"==typeof e?rg(e,t,r,n):ry(e,t,r,n)},rm=(e,t,r)=>{(""===e?t:rv(t,e)).classGroupId=r},rg=(e,t,r,n)=>{rb(e)?rp(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},ry=(e,t,r,n)=>{let i=Object.entries(e),o=i.length;for(let e=0;e<o;e++){let[o,s]=i[e];rp(s,rv(t,o),r,n)}},rv=(e,t)=>{let r=e,n=t.split("-"),i=n.length;for(let e=0;e<i;e++){let t=n[e],i=r.nextPart.get(t);i||(i=ru(),r.nextPart.set(t,i)),r=i}return r},rb=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,rx=[],rw=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),rk=/\s+/,rS=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=rS(e[n]))&&(r&&(r+=" "),r+=t);return r},rE=[],rP=e=>{let t=t=>t[e]||rE;return t.isThemeGetter=!0,t.themeKey=e,t},rC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,rT=/^\((?:(\w[\w-]*):)?(.+)\)$/i,rj=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,rA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,rO=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rL=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rD=e=>rj.test(e),rN=e=>!!e&&!Number.isNaN(Number(e)),rV=e=>!!e&&Number.isInteger(Number(e)),rI=e=>e.endsWith("%")&&rN(e.slice(0,-1)),r_=e=>rA.test(e),rF=()=>!0,rz=e=>rR.test(e)&&!rM.test(e),rB=()=>!1,r$=e=>rO.test(e),rU=e=>rL.test(e),rW=e=>!rq(e)&&!r1(e),rH=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),rX=e=>r7(e,nn,rB),rq=e=>rC.test(e),rG=e=>r7(e,ni,rz),rY=e=>r7(e,no,rN),rK=e=>r7(e,na,rF),rZ=e=>r7(e,ns,rB),rJ=e=>r7(e,nt,rB),rQ=e=>r7(e,nr,rU),r0=e=>r7(e,nl,r$),r1=e=>rT.test(e),r2=e=>ne(e,ni),r6=e=>ne(e,ns),r3=e=>ne(e,nt),r5=e=>ne(e,nn),r4=e=>ne(e,nr),r9=e=>ne(e,nl,!0),r8=e=>ne(e,na,!0),r7=(e,t,r)=>{let n=rC.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},ne=(e,t,r=!1)=>{let n=rT.exec(e);return!!n&&(n[1]?t(n[1]):r)},nt=e=>"position"===e||"percentage"===e,nr=e=>"image"===e||"url"===e,nn=e=>"length"===e||"size"===e||"bg-size"===e,ni=e=>"length"===e,no=e=>"number"===e,ns=e=>"family-name"===e,na=e=>"number"===e||"weight"===e,nl=e=>"shadow"===e,nu=(f=()=>{let e=rP("color"),t=rP("font"),r=rP("text"),n=rP("font-weight"),i=rP("tracking"),o=rP("leading"),s=rP("breakpoint"),a=rP("container"),l=rP("spacing"),u=rP("radius"),c=rP("shadow"),d=rP("inset-shadow"),h=rP("text-shadow"),p=rP("drop-shadow"),f=rP("blur"),m=rP("perspective"),g=rP("aspect"),y=rP("ease"),v=rP("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...x(),r1,rq],k=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],E=()=>[r1,rq,l],P=()=>[rD,"full","auto",...E()],C=()=>[rV,"none","subgrid",r1,rq],T=()=>["auto",{span:["full",rV,r1,rq]},rV,r1,rq],j=()=>[rV,"auto",r1,rq],A=()=>["auto","min","max","fr",r1,rq],R=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],M=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...E()],L=()=>[rD,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],D=()=>[a,rD,"screen","full","dvw","lvw","svw","min","max","fit",...E()],N=()=>[rD,"screen","full","lh","dvh","lvh","svh","min","max","fit",...E()],V=()=>[e,r1,rq],I=()=>[...x(),r3,rJ,{position:[r1,rq]}],_=()=>["no-repeat",{repeat:["","x","y","space","round"]}],F=()=>["auto","cover","contain",r5,rX,{size:[r1,rq]}],z=()=>[rI,r2,rG],B=()=>["","none","full",u,r1,rq],$=()=>["",rN,r2,rG],U=()=>["solid","dashed","dotted","double"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],H=()=>[rN,rI,r3,rJ],X=()=>["","none",f,r1,rq],q=()=>["none",rN,r1,rq],G=()=>["none",rN,r1,rq],Y=()=>[rN,r1,rq],K=()=>[rD,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[r_],breakpoint:[r_],color:[rF],c
vendor: 14,101 bytes, line 1
1ontainer:[r_],"drop-shadow":[r_],ease:["in","out","in-out"],font:[rW],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[r_],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[r_],shadow:[r_],spacing:["px",rN],text:[r_],"text-shadow":[r_],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rD,rq,r1,g]}],container:["container"],"container-type":[{"@container":["","normal","size",r1,rq]}],"container-named":[rH],columns:[{columns:[rN,"auto",rq,r1,a]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[rV,"auto",r1,rq]}],basis:[{basis:[rD,"full","auto",a,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[rN,rD,"auto","initial","none",rq]}],grow:[{grow:["",rN,r1,rq]}],shrink:[{shrink:["",rN,r1,rq]}],order:[{order:[rV,"first","last","none",r1,rq]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:T()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:T()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[...R(),"normal"]}],"justify-items":[{"justify-items":[...M(),"normal"]}],"justify-self":[{"justify-self":["auto",...M()]}],"align-content":[{content:["normal",...R()]}],"align-items":[{items:[...M(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...M(),{baseline:["","last"]}]}],"place-content":[{"place-content":R()}],"place-items":[{"place-items":[...M(),"baseline"]}],"place-self":[{"place-self":["auto",...M()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pbs:[{pbs:E()}],pbe:[{pbe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mbs:[{mbs:O()}],mbe:[{mbe:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],"inline-size":[{inline:["auto",...D()]}],"min-inline-size":[{"min-inline":["auto",...D()]}],"max-inline-size":[{"max-inline":["none",...D()]}],"block-size":[{block:["auto",...N()]}],"min-block-size":[{"min-block":["auto",...N()]}],"max-block-size":[{"max-block":["none",...N()]}],w:[{w:[a,"screen",...L()]}],"min-w":[{"min-w":[a,"screen","none",...L()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh","none",...L()]}],"font-size":[{text:["base",r,r2,rG]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,r8,rK]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",rI,rq]}],"font-family":[{font:[r6,rZ,t]}],"font-features":[{"font-features":[rq]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,r1,rq]}],"line-clamp":[{"line-clamp":[rN,"none",r1,rY]}],leading:[{leading:["none",o,...E()]}],"list-image":[{"list-image":["none",r1,rq]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",r1,rq]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:[rN,"from-font","auto",r1,rG]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[rN,"auto",r1,rq]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"tab-size":[{tab:[rV,r1,rq]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",r1,rq]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",r1,rq]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:I()}],"bg-repeat":[{bg:_()}],"bg-size":[{bg:F()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},rV,r1,rq],radial:["",r1,rq],conic:["",rV,r1,rq]},r4,rQ]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:z()}],"gradient-via-pos":[{via:z()}],"gradient-to-pos":[{to:z()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:$()}],"border-w-x":[{"border-x":$()}],"border-w-y":[{"border-y":$()}],"border-w-s":[{"border-s":$()}],"border-w-e":[{"border-e":$()}],"border-w-bs":[{"border-bs":$()}],"border-w-be":[{"border-be":$()}],"border-w-t":[{"border-t":$()}],"border-w-r":[{"border-r":$()}],"border-w-b":[{"border-b":$()}],"border-w-l":[{"border-l":$()}],"divide-x":[{"divide-x":$()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...U(),"hidden","none"]}],"divide-style":[{divide:[...U(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-bs":[{"border-bs":V()}],"border-color-be":[{"border-be":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[...U(),"none","hidden"]}],"outline-offset":[{"outline-offset":[rN,r1,rq]}],"outline-w":[{outline:["",rN,r2,rG]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","inner","none",c,r9,r0]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",d,r9,r0]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[rN,rG]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",h,r9,r0]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[rN,r1,rq]}],"mix-blend":[{"mix-blend":[...W(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":W()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[rN]}],"mask-image-linear-from-pos":[{"mask-linear-from":H()}],"mask-image-linear-to-pos":[{"mask-linear-to":H()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":H()}],"mask-image-t-to-pos":[{"mask-t-to":H()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":H()}],"mask-image-r-to-pos":[{"mask-r-to":H()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":H()}],"mask-image-b-to-pos":[{"mask-b-to":H()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":H()}],"mask-image-l-to-pos":[{"mask-l-to":H()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":H()}],"mask-image-x-to-pos":[{"mask-x-to":H()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":H()}],"mask-image-y-to-pos":[{"mask-y-to":H()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[r1,rq]}],"mask-image-radial-from-pos":[{"mask-radial-from":H()}],"mask-image-radial-to-pos":[{"mask-radial-to":H()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[rN]}],"mask-image-conic-from-pos":[{"mask-conic-from":H()}],"mask-image-conic-to-pos":[{"mask-conic-to":H()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:I()}],"mask-repeat":[{mask:_()}],"mask-size":[{mask:F()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",r1,rq]}],filter:[{filter:["","none",r1,rq]}],blur:[{blur:X()}],brightness:[{brightness:[rN,r1,rq]}],contrast:[{contrast:[rN,r1,rq]}],"drop-shadow":[{"drop-shadow":["","none",p,r9,r0]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",rN,r1,rq]}],"hue-rotate":[{"hue-rotate":[rN,r1,rq]}],invert:[{invert:["",rN,r1,rq]}],saturate:[{saturate:[rN,r1,rq]}],sepia:[{sepia:["",rN,r1,rq]}],"backdrop-filter":[{"backdrop-filter":["","none",r1,rq]}],"backdrop-blur":[{"backdrop-blur":X()}],"backdrop-brightness":[{"backdrop-brightness":[rN,r1,rq]}],"backdrop-contrast":[{"backdrop-contrast":[rN,r1,rq]}],"backdrop-grayscale":[{"backdrop-grayscale":["",rN,r1,rq]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[rN,r1,rq]}],"backdrop-invert":[{"backdrop-invert":["",rN,r1,rq]}],"backdrop-opacity":[{"backdrop-opacity":[rN,r1,rq]}],"backdrop-saturate":[{"backdrop-saturate":[rN,r1,rq]}],"backdrop-sepia":[{"backdrop-sepia":["",rN,r1,rq]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",r1,rq]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[rN,"initial",r1,rq]}],ease:[{ease:["linear","initial",y,r1,rq]}],delay:[{delay:[rN,r1,rq]}],animate:[{animate:["none",v,r1,rq]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,r1,rq]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],scale:[{scale:G()}],"scale-x":[{"scale-x":G()}],"scale-y":[{"scale-y":G()}],"scale-z":[{"scale-z":G()}],"scale-3d":["scale-3d"],skew:[{skew:Y()}],"skew-x":[{"skew-x":Y()}],"skew-y":[{"skew-y":Y()}],transform:[{transform:[r1,rq,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:K()}],"translate-x":[{"translate-x":K()}],"translate-y":[{"translate-y":K()}],"translate-z":[{"translate-z":K()}],"translate-none":["translate-none"],zoom:[{zoom:[rV,r1,rq]}],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}
vendor: 5,343 bytes, line 1
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",r1,rq]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":V()}],"scrollbar-track-color":[{"scrollbar-track":V()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mbs":[{"scroll-mbs":E()}],"scroll-mbe":[{"scroll-mbe":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pbs":[{"scroll-pbs":E()}],"scroll-pbe":[{"scroll-pbe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",r1,rq]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[rN,r2,rG,rY]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["start","end","right","left"],"inset-y":["inset-bs","inset-be","top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["ps","pe","pr","pl"],py:["pbs","pbe","pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["ms","me","mr","ml"],my:["mbs","mbe","mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-s","border-w-e","border-w-r","border-w-l"],"border-w-y":["border-w-bs","border-w-be","border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-s","border-color-e","border-color-r","border-color-l"],"border-color-y":["border-color-bs","border-color-be","border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ms","scroll-me","scroll-mr","scroll-ml"],"scroll-my":["scroll-mbs","scroll-mbe","scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-ps","scroll-pe","scroll-pr","scroll-pl"],"scroll-py":["scroll-pbs","scroll-pbe","scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},o=e=>{let i=r(e);
1if(i)return i;let o=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:o,postfixLookupClassGroupIds:s}=t,a=[],l=e.trim().split(rk),u="";for(let e=l.length-1;e>=0;e-=1){let t,c=l[e],{isExternal:d,modifiers:h,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:m}=r(c);if(d){u=c+(u.length>0?" "+u:u);continue}let g=!!m;if(g){let e=(t=n(f.substring(0,m)))&&s[t]?n(f):void 0;e&&e!==t&&(t=e,g=!1)}else t=n(f);if(!t){if(!g||!(t=n(f))){u=c+(u.length>0?" "+u:u);continue}g=!1}let y=0===h.length?"":1===h.length?h[0]:o(h).join(":"),v=p?y+"!":y,b=v+t;if(a.indexOf(b)>-1)continue;a.push(b);let x=i(t,g);for(let e=0;e<x.length;++e){let t=x[e];a.push(v+t)}u=c+(u.length>0?" "+u:u)}return u})(e,t);return n(e,o),o},i=e=>{var s;let a;return r=(t={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),i=(i,o)=>{r[i]=o,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(i(e,t),t):void 0},set(e,t){e in r?r[e]=t:i(e,t)}}})((s=[].reduce((e,t)=>t(e),f())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,i=0,o=0,s=e.length;for(let a=0;a<s;a++){let s=e[a];if(0===n&&0===i){if(":"===s){r.push(e.slice(o,a)),o=a+1;continue}if("/"===s){t=a;continue}}"["===s?n++:"]"===s?n--:"("===s?i++:")"===s&&i--}let a=0===r.length?e:e.slice(o),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),rw(r,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):rw(rx,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(s),sortModifiers:(a=new Map,s.orderSensitiveModifiers.forEach((e,t)=>{a.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let i=e[n],o="["===i[0],s=a.has(i);o||s?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(i)):r.push(i)}return r.length>0&&(r.sort(),t.push(...r)),t}),postfixLookupClassGroupIds:(e=>{let t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let e=0;e<r.length;e++)t[r[e]]=!0;return t})(s),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return rh(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,i;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(i=t.slice(0,n))?"arbitrary.."+i:void 0)}let n=e.split("-"),i=+(""===n[0]&&n.length>1);return rd(n,i,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],i=r[e];if(t){if(i){let e=Array(i.length+t.length);for(let t=0;t<i.length;t++)e[t]=i[t];for(let r=0;r<t.length;r++)e[i.length+r]=t[r];return e}return t}return i||rc}return r[e]||rc}}})(s)}).cache.get,n=t.cache.set,i=o,o(e)},(...e)=>i(((...e)=>{let t,r,n=0,i="";for(;n<e.length;)(t=e[n++])&&(r=rS(t))&&(i&&(i+=" "),i+=r);return i})(...e)));function nc(...e){return nu(rs(e))}let nd=x.forwardRef(({className:e,...t},r)=>(0,b.jsx)(t3,{className:nc("fixed inset-0 z-[200] bg-black/60 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));nd.displayName=t3.displayName;let nh=(s="fixed z-[201] gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",a={variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm lg:max-w-none"}},defaultVariants:{side:"right"}},e=>{var t;if((null==a?void 0:a.variants)==null)return rs(s,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:r,defaultVariants:n}=a,i=Object.keys(r).map(t=>{let i=null==e?void 0:e[t],o=null==n?void 0:n[t];if(null===i)return null;let s=ra(i)||ra(o);return r[t][s]}),o=e&&Object.entries(e).reduce((e,t)=>
1{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return rs(s,i,null==a||null==(t=a.compoundVariants)?void 0:t.reduce((e,t)=>{let{class:r,className:i,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...n,...o}[t]):({...n,...o})[t]===r})?[...e,r,i]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)}),np=x.forwardRef(({side:e="right",className:t,children:r,...n},i)=>(0,b.jsxs)(t2,{children:[(0,b.jsx)(nd,{}),(0,b.jsxs)(t8,{ref:i,className:nc(nh({side:e}),t),onPointerDownOutside:e=>{let t=e.target;t?.closest('[src*="recaptcha"], .grecaptcha-badge, iframe[src*="recaptcha"]')&&e.preventDefault()},onInteractOutside:e=>{let t=e.target;t?.closest('[src*="recaptcha"], .grecaptcha-badge, iframe[src*="recaptcha"]')&&e.preventDefault()},...n,children:[r,(0,b.jsxs)(ri,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,b.jsx)(rl.X,{className:"h-4 w-4"}),(0,b.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));np.displayName=t8.displayName;let nf=({className:e,...t})=>(0,b.jsx)("div",{className:nc("flex flex-col space-y-2 text-center sm:text-left",e),...t});nf.displayName="SheetHeader";let nm=x.forwardRef(({className:e,...t},r)=>(0,b.jsx)(rr,{ref:r,className:nc("text-lg font-semibold text-foreground",e),...t}));nm.displayName=rr.displayName,x.forwardRef(({className:e,...t},r)=>(0,b.jsx)(rn,{ref:r,className:nc("text-sm text-muted-foreground",e),...t})).displayName=rn.displayName;var ng=e.i(45009),ny=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function nv(){return(nv=Object.assign.bind()).apply(this,arguments)}function nb(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nx(e,t){return(nx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var nw=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(nb(t)),t.handleErrored=t.handleErrored.bind(nb(t)),t.handleChange=t.handleChange.bind(nb(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(nb(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,nx(t,e);var r=t.prototype;return r.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},r.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},r.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},r.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},r.executeAsync=function(){var e=this;return new Promise(function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()})},r.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},r.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},r.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},r.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},r.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},r.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},r.componentDidMount=function(){this.explicitRender()},r.componentDidUpdate=function(){this.explicitRender()},r.handleRecaptchaRef=function(e){this.captcha=e},r.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,ny));return x.createElement("div",nv({},t,{ref:this.handleRecaptchaRef}))},t}(x.Component);nw.displayName="ReCAPTCHA",nw.propTypes={sitekey:ng.default.string.isRequired,onChange:ng.default.func,grecaptcha:ng.default.object,theme:ng.default.oneOf(["dark","light"]),type:ng.default.oneOf(["image","audio"]),tabindex:ng.default.number,onExpired:ng.default.func,onErrored:ng.default.func,size:ng.default.oneOf(["compact","normal","invisible"]),stoken:ng.default.string,hl:ng.default.string,badge:ng.default.oneOf(["bottomright","bottomleft","inline"]),isolated:ng.default.bool}
1,nw.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var nk=e.i(98437);function nS(){return(nS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var nE={},nP=0,nC="onloadcallback";function nT(){return"u">typeof window&&window.recaptchaOptions||{}}let nj=(m=function(){var e=nT(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+nC+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+nC+"&render=explicit"},g=g={callbackName:nC,globalName:"grecaptcha",attributes:nT().nonce?{nonce:nT().nonce}:{}},function(e){var t=e.displayName||e.name||"Component",r=function(t){function r(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.__proto__=t;var n=r.prototype;return n.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+nP++),this.__scriptLoaderID},n.setupScriptURL=function(){return this.__scriptURL="function"==typeof m?m():m,this.__scriptURL},n.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},n.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=nE[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[g.callbackName]},n.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=g,i=n.globalName,o=n.callbackName,s=n.scriptId;if(i&&void 0!==window[i]&&(nE[t]={loaded:!0,observers:{}}),nE[t]){var a=nE[t];return a&&(a.loaded||a.errored)?void this.asyncScriptLoaderHandleLoad(a):void(a.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var l={};l[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},nE[t]={loaded:!1,observers:l};var u=document.createElement("script");for(var c in u.src=t,u.async=!0,g.attributes)u.setAttribute(c,g.attributes[c]);s&&(u.id=s);var d=function(e){if(nE[t]){var r=nE[t].observers;for(var n in r)e(r[n])&&delete r[n]}};o&&"u">typeof window&&(window[o]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=nE[t];e&&(e.loaded=!0,d(function(t){return!o&&(t(e),!0)}))},u.onerror=function(){var e=nE[t];e&&(e.errored=!0,d(function(t){return t(e),!0}))},document.body.appendChild(u)},n.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===g.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=nE[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===g.removeOnUnmount&&delete nE[e])},n.render=function(){var t=g.globalName,r=this.props,n=(r.asyncScriptOnLoad,r.forwardedRef),i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"u">typeof window&&(i[t]=void 0!==window[t]?window[t]:void 0),i.ref=n,(0,x.createElement)(e,i)},r}(x.Component),n=(0,x.forwardRef)(function(e,t){return(0,x.createElement)(r,nS({},e,{forwardedRef:t}))});return n.displayName="AsyncScriptLoader("+t+")",n.propTypes={asyncScriptOnLoad:ng.default.func},(0,nk.default)(n,e)})(nw);var nA=e.i(46932),nR=e.i(75254);let nM=(0,nR.default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),nO=(0,nR.default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]),nL=`
2  /* Main reCAPTCHA container - ensure it can receive clicks */
3  .g-recaptcha {
4    position: relative !important;
5    z-index: 9999 !important;
6    pointer-events: all !important;
7    isolation: isolate !important;
8  }
9  
10  /* All reCAPTCHA iframes need to be above modal and clickable */
11  iframe[src*="recaptcha"] {
12    z-index: 9999 !important;
13    pointer-events: all !important;
14    position: relative !important;
15  }
16  
17  iframe[src*="google.com/recaptcha"] {
18    z-index: 9999 !important;
19    pointer-events: all !important;
20    position: relative !important;
21  }
22  
23  /* reCAPTCHA challenge popup */
24  div[style*="z-index: 2000000000"] {
25    z-index: 999999 !important;
26    pointer-events: all !important;
27  }
28  
29  /* All possible reCAPTCHA containers */
30  .rc-anchor,
31  .rc-anchor-light,
32  .rc-anchor-dark,
33  .rc-anchor-normal,
34  .rc-anchor-compact {
35    z-index: 9999 !important;
36    pointer-events: all !important;
37    position: relative !important;
38  }
39  
40  /* reCAPTCHA challenge dialog */
41  .rc-imageselect,
42  .rc-challenge-help,
43  .rc-challenge {
44    z-index: 999999 !important;
45    pointer-events: all !important;
46  }
47  
48  /* Bframe (challenge popup frame) */
49  iframe[name*="c-"] {
50    z-index: 999999 !important;
51    pointer-events: all !important;
52  }
53  
54  /* Any div with extremely high z-index (Google's challenge popup) */
55  div[style*="z-index"][style*="2000000000"],
56  div[style*="z-index"][style*="2147483647"] {
57    z-index: 999999 !important;
58    pointer-events: all !important;
59  }
60  
61  /* reCAPTCHA wrapper in contact sheet */
62  .contact-sheet .g-recaptcha {
63    position: relative !important;
64    z-index: 9999 !important;
65    pointer-events: all !important;
66    isolation: isolate !important;
67  }
68  
69  /* Ensure all nested elements maintain high z-index and pointer events */
70  .contact-sheet .g-recaptcha *,
71  .contact-sheet .g-recaptcha iframe,
72  .contact-sheet .g-recaptcha div {
73    pointer-events: all !important;
74    z-index: inherit !important;
75  }
76  
77  /* reCAPTCHA checkbox specifically */
78  .rc-anchor-checkbox {
79    pointer-events: all !important;
80    z-index: 9999 !important;
81  }
82  
83  /* Ensure the sheet content doesn't interfere */
84  .contact-sheet {
85    isolation: isolate;
86  }
87  
88  /* Create a new stacking context for reCAPTCHA */
89  .contact-sheet .g-recaptcha {
90    transform: translateZ(0) !important;
91  }
92`,nD=["United States","Canada","United Kingdom","Australia","Germany","France","Japan","South Korea","Singapore","Netherlands","Sweden","Norway","Denmark","Switzerland","Other"];e.s(["ContactForm",0,function({children:e,onSubmit:t}
92){let[r,n]=(0,x.useState)({firstName:"",lastName:"",email:"",phone:"",jobTitle:"",company:"",country:"",projectDescription:""}),[i,o]=(0,x.useState)(!1),[s,a]=(0,x.useState)("idle"),[l,u]=(0,x.useState)(""),[c,d]=(0,x.useState)(!1),h=(0,x.useRef)(null);(0,x.useEffect)(()=>{c&&setTimeout(()=>{let e=document.querySelector("[data-radix-dialog-content]");e&&(e.scrollTop=0)},100)},[c]);let p=(e,t)=>{n(r=>({...r,[e]:t}))},f=async e=>{e.preventDefault(),o(!0),a("idle"),u("");try{let e=h.current?.getValue();if(!e)throw Error("Please complete the reCAPTCHA verification");let i={...r,recaptchaToken:e};if(t)t(r),a("success"),u("Thank you for your inquiry! We will get back to you soon.");else{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)}),t=await e.json();t.success?(a("success"),u(t.message),n({firstName:"",lastName:"",email:"",phone:"",jobTitle:"",company:"",country:"",projectDescription:""}),h.current?.reset()):(a("error"),u(t.error||"Failed to send your inquiry"))}}catch(e){a("error"),u(e instanceof Error?e.message:"An unexpected error occurred"),e instanceof Error&&"Please complete the reCAPTCHA verification"===e.message||h.current?.reset()}finally{o(!1)}},m="w-full px-0 py-3 bg-transparent border-0 border-b border-gray-300 rounded-none text-gray-900 placeholder-gray-500 focus:outline-none focus:border-gray-900 focus:ring-0 transition-all",g="block text-sm font-medium text-gray-700 mb-2";return(0,b.jsxs)(tZ,{open:c,onOpenChange:d,children:[(0,b.jsx)(tJ,{asChild:!0,children:e}),(0,b.jsxs)(np,{side:"right",className:"contact-sheet w-full sm:max-w-2xl lg:max-w-4xl overflow-y-auto bg-gray-50 border-l border-gray-200 px-4 sm:px-8 md:px-12 lg:px-16 flex flex-col justify-start pt-8 sm:pt-12",children:[(0,b.jsx)("style",{dangerouslySetInnerHTML:{__html:nL}}),(0,b.jsx)("div",{className:"flex justify-end mb-4",children:(0,b.jsxs)(ri,{className:"rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[(0,b.jsx)(rl.X,{className:"h-5 w-5 text-gray-900"}),(0,b.jsx)("span",{className:"sr-only",children:"Close"})]})}),(0,b.jsx)(nf,{className:"mb-4 sm:mb-8 pb-4 sm:pb-6 border-b border-gray-200",children:(0,b.jsx)(nm,{className:"text-xl sm:text-2xl font-semibold text-gray-900 text-left",children:"Tell us your organization's challenge and we'll deliver a Solarys integration to solve it."})}),(0,b.jsxs)("form",{onSubmit:f,className:"space-y-4 sm:space-y-6",children:[(0,b.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4 sm:gap-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:g,children:["First Name ",(0,b.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,b.jsx)("input",{type:"text",required:!0,autoFocus:!1,value:r.firstName,onChange:e=>p("firstName",e.target.value),className:m,placeholder:"Enter your first name"})]}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:g,children:["Last Name ",(0,b.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,b.jsx)("input",{type:"text",required:!0,value:r.lastName,onChange:e=>p("lastName",e.target.value),className:m,placeholder:"Enter your last name"})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:g,children:["Business Email Address ",(0,b.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,b.jsx)("input",{type:"email",required:!0,value:r.email,onChange:e=>p("email",e.target.value),className:m,placeholder:"Enter your business email"})]}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:g,children:["Phone Number ",(0,b.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,b.jsx)("input",{type:"tel",required:!0,value:r.phone,onChange:e=>p("phone",e.target.value),className:m,placeholder:"Enter your phone number"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:g,children:"Job Title"}),(0,b.jsx)("input",{type:"text",value:r.jobTitle,onChange:e=>p("jobTitle",e.target.value),className:m,placeholder:"Enter your job title"})]}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:g,children:["Company / Institution ",(0,b.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,b.jsx)("input",{type:"text",required:!0,value:r.company,onChange:e=>p("company",e.target.value),className:m,placeholder:"Enter your company or institution"})]}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:g,children:["Country ",(0,b.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,b.jsxs)("select",{required:!0,value:r.country,onChange:e=>p("country",e.target.value),className:nc(m,"cursor-pointer appearance-none"),children:[(0,b.jsx)("option",{value:"",children:"Select..."}),nD.map(e=>(0,b.jsx)("option",{value:e,children:e},e))]})]}),(0,b.jsxs)("div",{className:"lg:col-span-2",children:[(0,b.jsx)("label",{className:g,children:"Tell us more about your project needs."}),(0,b.jsx)("textarea",{rows:3,value:r.projectDescription,onChange:e=>p("projectDescription",e.target.value),className:nc(m,"resize-none border-b"),placeholder:"Describe your project requirements, challenges, or goals..."})]}),(0,b.jsx)("div",{className:"flex justify-start",children:(0,b.jsx)("div",{className:"relative z-[9999] pointer-events-auto",style:{isolation:"isolate",transform:"translateZ(0)"},children:(0,b.jsx)(nj,{ref:h,size:"normal",sitekey:"6LfjTH8rAAAAACuKqiIVUCxuUZ00eCaqAMaN0WCQ",theme:"light",onCh
92ange:e=>{e||(a("idle"),u(""))},onExpired:()=>{a("error"),u("reCAPTCHA has expired. Please complete it again.")},onError:()=>{a("error"),u("reCAPTCHA error. Please try again.")}})})}),"idle"!==s&&(0,b.jsxs)(nA.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:`flex items-center gap-2 p-4 rounded-lg ${"success"===s?"bg-green-50 border border-green-200 text-green-700":"bg-red-50 border border-red-200 text-red-700"}`,children:["success"===s?(0,b.jsx)(nM,{className:"w-5 h-5"}):(0,b.jsx)(nO,{className:"w-5 h-5"}),(0,b.jsx)("span",{className:"text-sm",children:l})]}),(0,b.jsx)("div",{className:"lg:col-span-2 flex flex-col gap-3 sm:gap-4 pt-4 border-t border-gray-200",children:(0,b.jsx)("div",{className:"flex justify-end",children:(0,b.jsx)("button",{type:"submit",disabled:i,className:"bg-[#0a0a0a] uppercase hover:bg-gray-900 disabled:bg-gray-400 text-white font-semibold py-3 sm:py-4 px-6 sm:px-8 focus:outline-none focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 shadow-lg hover:shadow-xl transform hover:scale-[1.02] transition-all min-w-[160px] sm:min-w-[200px] w-full sm:w-auto",children:i?"Submitting...":"Submit"})})})]}),(0,b.jsxs)("p",{className:"mt-auto pb-6 pt-4 text-xs text-gray-600 text-center",children:["Please see our"," ",(0,b.jsx)("a",{href:"/privacy-policy",target:"_blank",rel:"noopener noreferrer",className:"text-gray-900 hover:underline font-medium",children:"Privacy Policy"})," ","regarding how we will handle this information."]})]})]})}],98512)},66546,88653,e=>{"use strict";var t=e.i(43476),r=e.i(57688),n=e.i(71645),i=e.i(46932),o=e.i(31178),s=e.i(47414),a=e.i(74008),l=e.i(21476),u=e.i(72846),c=n,d=e.i(37806);function h(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class p extends c.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,u.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,u.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,u.isHTMLElement)(e)&&e.offsetHeight||0,i=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(i.height),o.width=parseFloat(i.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=r-o.width-o.left,o.bottom=n-o.height-o.top,o.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:r,anchorX:i,anchorY:o,root:s,pop:a}){let l=(0,c.useId)(),u=(0,c.useRef)(null),m=(0,c.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,c.useContext)(d.MotionConfigContext),y=function(...e){return n.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=h(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():h(e[t],null)}}}}(...e),e)}(u,!1!==a?e.props?.ref??e?.ref:void 0);return(0,c.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:c,right:d,bottom:h,direction:p}=m.current;if(r||!1===a||!u.current||!e||!t)return;let f="rtl"===p,y="left"===i?f?`right: ${d}`:`left: ${c}`:f?`left: ${c}`:`right: ${d}`,v="bottom"===o?`bottom: ${h}`:`top: ${n}`;u.current.dataset.motionPopId=l;let b=document.createElement("style");g&&(b.nonce=g);let x=s??document.head;return x.appendChild(b),b.sheet&&b.sheet.insertRule(`
93          [data-motion-pop-id="${l}"] {
94            position: absolute !important;
95            width: ${e}px !important;
96            height: ${t}px !important;
97            ${y}px !important;
98            ${v}px !important;
99          }
100        `),()=>{u.current?.removeAttribute("data-motion-pop-id"),x.contains(b)&&x.removeChild(b)}},[r]),(0,t.jsx)(p,{isPresent:r,childRef:u,sizeRef:m,pop:a,children:!1===a?e:c.cloneElement(e,{ref:y})})}let m=({children:e,initial:r,isPresent:i,onExitComplete:o,custom:u,presenceAffectsLayout:c,mode:d,anchorX:h,anchorY:p,root:m})=>{let y=(0,s.useConstant)(g),v=(0,n.useId)(),b=(0,n.useRef)(i),x=(0,n.useRef)(o);(0,a.useIsomorphicLayoutEffect)(()=>{b.current=i,x.current=o});let w=!0,k=(0,n.useMemo)(()=>(w=!1,{id:v,initial:r,isPresent:i,custom:u,onExitComplete:e=>
100{for(let t of(y.set(e,!0),y.values()))if(!t)return;o&&o()},register:e=>(y.set(e,!1),()=>{y.delete(e),b.current||y.size||x.current?.()})}),[i,y,o]);return c&&w&&(k={...k}),(0,n.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[i]),n.useEffect(()=>{i||y.size||!o||o()},[i]),e=(0,t.jsx)(f,{pop:"popLayout"===d,isPresent:i,anchorX:h,anchorY:p,root:m,children:e}),(0,t.jsx)(l.PresenceContext.Provider,{value:k,children:e})};function g(){return new Map}var y=e.i(64978);let v=e=>e.key||"";function b(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}let x=({children:e,custom:r,initial:i=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:h="left",anchorY:p="top",root:f})=>{let[g,x]=(0,y.usePresence)(d),w=(0,n.useMemo)(()=>b(e),[e]),k=d&&!g?[]:w.map(v),S=(0,n.useRef)(!0),E=(0,n.useRef)(w),P=(0,s.useConstant)(()=>new Map),C=(0,n.useRef)(new Set),[T,j]=(0,n.useState)(w),[A,R]=(0,n.useState)(w);(0,a.useIsomorphicLayoutEffect)(()=>{S.current=!1,E.current=w;for(let e=0;e<A.length;e++){let t=v(A[e]);k.includes(t)?(P.delete(t),C.current.delete(t)):!0!==P.get(t)&&P.set(t,!1)}},[A,k.length,k.join("-")]);let M=[];if(w!==T){let e=[...w];for(let t=0;t<A.length;t++){let r=A[t],n=v(r);k.includes(n)||(e.splice(t,0,r),M.push(r))}return"wait"===c&&M.length&&(e=M),R(b(e)),j(w),null}let{forceRender:O}=(0,n.useContext)(o.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:A.map(e=>{let n=v(e),o=(!d||!!g)&&(w===A||k.includes(n));return(0,t.jsx)(m,{isPresent:o,initial:(!S.current||!!i)&&void 0,custom:r,presenceAffectsLayout:u,mode:c,root:f,onExitComplete:o?void 0:()=>{if(C.current.has(n)||!P.has(n))return;C.current.add(n),P.set(n,!0);let e=!0;P.forEach(t=>{t||(e=!1)}),e&&(O?.(),R(E.current),d&&x?.(),l&&l())},anchorX:h,anchorY:p,children:e},n)})})};e.s(["AnimatePresence",0,x],88653);var w=e.i(22016),k=e.i(18566),S=e.i(98512);e.s(["default",0,function(){let e=(0,k.usePathname)(),[o,s]=(0,n.useState)(()=>["/integrations","/process","/readiness","/government","/privacy-policy"].some(t=>
100e.startsWith(t))),[a,l]=(0,n.useState)(!1),[u,c]=(0,n.useState)(!1),d=(0,n.useRef)(null),h=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=e=>{let t=e.target,r=document.querySelector("[data-hamburger-button]");if(u){let e=r&&r.contains(t),n=h.current&&h.current.contains(t);e||n||c(!1)}};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[u]),(0,n.useEffect)(()=>{let e=0,t=()=>{let e=window.innerWidth/2,t=document.elementsFromPoint(e,52).map(e=>e.closest("[data-theme]")).find(e=>!!e);t&&s("dark"===t.dataset.theme)},r=()=>{window.cancelAnimationFrame(e),e=window.requestAnimationFrame(t)};return r(),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),()=>{window.cancelAnimationFrame(e),window.removeEventListener("scroll",r),window.removeEventListener("resize",r)}},[e]),(0,n.useEffect)(()=>{let e=()=>{l(!1)};return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]);let p=()=>{l(!1)},f=()=>{c(!1)};return(0,t.jsxs)("header",{"data-dot-exclude":!0,className:"fixed w-full font-medium z-[100] transition-all duration-300 px-4 md:px-8 py-4",children:[(0,t.jsx)("div",{className:`max-w-7xl mx-auto border transition-colors duration-200 relative z-[110] ${o?"bg-white/90 text-black backdrop-blur-md border-gray-200 shadow-sm":"bg-black/90 backdrop-blur-md text-white border-white/10"}`,children:(0,t.jsx)("div",{className:"px-6 py-4",children:(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsx)("div",{className:"flex items-center gap-x-10",children:(0,t.jsxs)(w.default,{href:"/",className:"text-2xl font-bold relative flex items-center",children:[(0,t.jsxs)("div",{className:"relative mr-3 w-8 h-8",children:[(0,t.jsx)(r.default,{alt:"Solarys AI platform company logo",src:"/solaryslogoblack.svg",width:32,height:32,priority:!0,className:`absolute inset-0 transition-opacity duration-300 ${o?"opacity-100":"opacity-0"}`}),(0,t.jsx)(r.default,{alt:"Solarys AI platform company logo for dark backgrounds",src:"/solaryslogotrans.svg",width:32,height:32,priority:!0,className:`absolute inset-0 transition-opacity duration-300 ${o?"opacity-0":"opacity-100"}`})]}),(0,t.jsxs)("div",{className:"relative mt-1 h-[25px] w-24",children:[(0,t.jsx)(r.default,{alt:"Solarys enterprise AI platform wordmark",src:"/SolarysBlack.svg",width:96,height:25,priority:!0,className:`absolute inset-0 transition-opacity duration-200 ${o?"opacity-100":"opacity-0"}`}),(0,t.jsx)(r.default,{alt:"","aria-hidden":!0,src:"/Solarys.svg",width:96,height:25,priority:!0,className:`absolute inset-0 transition-opacity duration-200 ${o?"opacity-0":"opacity-100"}`})]})]})}),(0,t.jsxs)("nav",{className:"hidden md:flex items-center gap-4",children:[(0,t.jsx)("button",{"data-hamburger-button":!0,onClick:()=>c(!u),className:"p-2 hover:bg-white/10 transition-all duration-200",children:(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)(i.motion.path,{d:"M4 6L20 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",animate:u?{d:"M6 6L18 18"}:{d:"M4 6L20 6"},transition:{duration:.3}}),(0,t.jsx)(i.motion.path,{d:"M4 12L20 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",initial:{opacity:1},animate:u?{opacity:0}:{opacity:1},transition:{duration:.2}}),(0,t.jsx)(i.motion.path,{d:"M4 18L20 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",animate:u?{d:"M6 18L18 6"}:{d:"M4 18L20 18"},transition:{duration:.3}})]})}),(0,t.jsx)(S.ContactForm,{children:(0,t.jsx)("button",{className:`border-2 px-6 py-2 transition-all duration-200 ${o?"border-black text-black hover:bg-black hover:text-white":"border-white text-white hover:bg-white hover:text-black"}`,children:"Start Project"})})]}),(0,t.jsx)("button",{onClick:()=>l(!a),className:"md:hidden relative p-2 hover:bg-white/10 transition-all duration-200",children:(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)(i.motion.path,{d:"M4 6L20 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",animate:a?{d:"M6 6L18 18"}:{d:"M4 6L20 6"},transition:{duration:.3}}),(0,t.jsx)(i.motion.path,{d:"M4 12L20 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",initial:{opacity:1},animate:a?{opacity:0}
100:{opacity:1},transition:{duration:.2}}),(0,t.jsx)(i.motion.path,{d:"M4 18L20 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",animate:a?{d:"M6 18L18 6"}:{d:"M4 18L20 18"},transition:{duration:.3}})]})})]})})}),(0,t.jsx)(x,{children:u&&(0,t.jsx)(i.motion.div,{ref:h,initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeOut"},className:"fixed top-28 left-0 right-0 px-4 md:px-8 overflow-hidden",children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,t.jsx)("div",{className:`border backdrop-blur-md overflow-hidden ${o?"bg-white/90 text-black border-gray-200 shadow-lg":"bg-black/90 text-white border-white/10"}`,children:(0,t.jsx)("div",{className:"px-8 py-6",children:(0,t.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-x-8 gap-y-6",children:[{label:"Process",href:"/process",number:"01"},{label:"Products",href:"/#products",number:"02"},{label:"Case Studies",href:"/integrations",number:"03"},{label:"Government",href:"/government",number:"04"},{label:"Security",href:"/readiness",number:"05"},{label:"Newsroom",href:"/newsroom",number:"06"}].map((e,r)=>(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*r,duration:.3},children:(0,t.jsxs)(w.default,{href:e.href,onClick:f,className:"group flex flex-col items-center gap-2 hover:opacity-100 transition-all duration-200",children:[(0,t.jsx)("span",{className:`text-xs font-mono tracking-wider ${o?"text-gray-400":"text-gray-500"} ${o?"group-hover:text-black":"group-hover:text-white"} transition-colors`,children:e.number}),(0,t.jsx)("span",{className:`text-lg md:text-xl font-bold ${o?"group-hover:text-black":"group-hover:text-white"} transition-colors`,children:e.label}),(0,t.jsx)("div",{className:`h-0.5 w-0 ${o?"bg-black":"bg-white"} group-hover:w-full transition-all duration-300`})]})},e.label))})})})})})}),(0,t.jsx)("div",{ref:d,className:`fixed inset-y-0 right-0 bg-[#09060a] z-[90] w-full transition-transform duration-300 ${a?"translate-x-0":"translate-x-full"}`,children:(0,t.jsx)("div",{className:"container mx-auto px-6 pt-24",children:(0,t.jsxs)("nav",{className:"flex flex-col space-y-4 text-white",children:[(0,t.jsx)(w.default,{href:"/process",className:"hover:opacity-80 transition-all duration-200",onClick:p,children:"Process"}),(0,t.jsx)(w.default,{href:"/#products",className:"hover:opacity-80 transition-all duration-200",onClick:p,children:"Products"}),(0,t.jsx)(w.default,{href:"/integrations",className:"hover:opacity-80 transition-all duration-200",onClick:p,children:"Case Studies"}),(0,t.jsx)(w.default,{href:"/government",className:"hover:opacity-80 transition-all duration-200",onClick:p,children:"Government"}),(0,t.jsx)(w.default,{href:"/readiness",className:"hover:opacity-80 transition-all duration-200",onClick:p,children:"Security"}),(0,t.jsx)(w.default,{href:"/newsroom",className:"hover:opacity-80 transition-all duration-200",onClick:p,children:"Newsroom"}),(0,t.jsx)(S.ContactForm,{children:(0,t.jsx)("button",{className:"inline-block border-2 border-white text-white px-6 py-3 hover:bg-white hover:text-black transition-all duration-200 text-center font-medium w-full",onClick:p,children:"Start Project"})})]})})})]})}],66546)},34537,e=>{"use strict";var t,r,n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
100ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(t=function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},r=Object.create(null),function(e){return void 0===r[e]&&(r[e]=t(e)),r[e]});e.s(["default",0,i],34537)},46932,31178,37806,21476,47414,74008,64978,72846,e=>{"use strict";let t,r,n,i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set([...i,"pathRotation"]),s=(e,t,r)=>r>t?t:r<e?e:r,a={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},l={...a,transform:e=>s(0,1,e)},u={...a,default:1},c=e=>Math.round(1e5*e)/1e5,d=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,h=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(e,t)=>r=>!!("string"==typeof r&&h.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),f=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,o,s,a]=n.match(d);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},m={...a,transform:e=>Math.round(s(0,255,e))},g={test:p("rgb","red"),parse:f("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+m.transform(e)+", "+m.transform(t)+", "+m.transform(r)+", "+c(l.transform(n))+")"},y={test:p("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alph
100a:i?parseInt(i,16)/255:1}},transform:g.transform},v=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),b=v("deg"),x=v("%"),w=v("px"),k=v("vh"),S=v("vw"),E={...x,parse:e=>x.parse(e)/100,transform:e=>x.transform(100*e)},P={test:p("hsl","hue"),parse:f("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+x.transform(c(t))+", "+x.transform(c(r))+", "+c(l.transform(n))+")"},C={test:e=>g.test(e)||y.test(e)||P.test(e),parse:e=>g.test(e)?g.parse(e):P.test(e)?P.parse(e):y.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?g.transform(e):P.transform(e),getAnimatableNone:e=>{let t=C.parse(e);return t.alpha=0,C.transform(t)}},T=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,j="number",A="color",R=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function M(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],o=0,s=t.replace(R,e=>(C.test(e)?(n.color.push(o),i.push(A),r.push(C.parse(e))):e.startsWith("var(")?(n.var.push(o),i.push("var"),r.push(e)):(n.number.push(o),i.push(j),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:s,indexes:n,types:i}}function O({split:e,types:t}){let r=e.length;return n=>{let i="";for(let o=0;o<r;o++)if(i+=e[o],void 0!==n[o]){let e=t[o];e===j?i+=c(n[o]):e===A?i+=C.transform(n[o]):i+=n[o]}return i}}let L={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(d)?.length||0)+(e.match(T)?.length||0)>0},parse:function(e){return M(e).values},createTransformer:function(e){return O(M(e))},getAnimatableNone:function(e){let t=M(e);return O(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:C.test(e)?C.getAnimatableNone(e):e)(e,t.split[r])))}},D=new Set(["brightness","contrast","saturate","opacity"]);function N(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(d)||[];if(!n)return e;let i=r.replace(n,""),o=+!!D.has(t);return n!==r&&(o*=100),t+"("+o+i+")"}let V=/\b([a-z-]*)\(.*?\)/gu,I={...L,getAnimatableNone:e=>{let t=e.match(V);return t?t.map(N).join(" "):e}},_={...L,getAnimatableNone:e=>{let t=L.parse(e);return L.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},F={...a,transform:Math.round},z={borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,top:w,right:w,bottom:w,left:w,inset:w,insetBlock:w,insetBlockStart:w,insetBlockEnd:w,insetInline:w,insetInlineStart:w,insetInlineEnd:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,paddingBlock:w,paddingBlockStart:w,paddingBlockEnd:w,paddingInline:w,paddingInlineStart:w,paddingInlineEnd:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,marginBlock:w,marginBlockStart:w,marginBlockEnd:w,marginInline:w,marginInlineStart:w,marginInlineEnd:w,fontSize:w,backgroundPositionX:w,backgroundPositionY:w,rotate:b,pathRotation:b,rotateX:b,rotateY:b,rotateZ:b,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:b,skewX:b,skewY:b,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:l,originX:E,originY:E,originZ:w,zIndex:F,fillOpacity:l,strokeOpacity:l,numOctaves:F},B={...z,color:C,backgroundColor:C,outlineColor:C,fill:C,stroke:C,borderColor:C,borderTopColor:C,borderRightColor:C,borderBottomColor:C,borderLeftColor:C,filter:I,WebkitFilter:I,mask:_,WebkitMask:_},$=e=>B[e],U=()=>({translate:0,scale:1,origin:0,originPoint:0}),W=()=>({x:U(),y:U()}),H=()=>({min:0,max:0}),X=()=>({x:H(),y:H()}),q=e=>!!(e&&e.getVelocity),G=new Set(["width","height","top","left","right","bottom",...i]),Y=e=>t=>t.test(e),K=[a,w,x,b,S,k,{test:e=>"auto"===e,parse:e=>e}],Z=e=>K.find(Y(e));var J,Q=e.i(47167);let ee=()=>{},et=()=>{};Q.default;let er=e=>t=>"string"==typeof t&&t.startsWith(e),en=er("--"),ei=er("var(--"),eo=e=>!!ei(e)&&es.test(e.split("/*")[0].trim()),es=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ea(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let el=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eu=e=>180*e/Math.PI,ec=e=>eh(eu(Math.atan2(e[1],e[0]))),ed={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ec,rotateZ:ec,skewX:e=>
100eu(Math.atan(e[1])),skewY:e=>eu(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eh=e=>((e%=360)<0&&(e+=360),e),ep=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ef=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),em={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ep,scaleY:ef,scale:e=>(ep(e)+ef(e))/2,rotateX:e=>eh(eu(Math.atan2(e[6],e[5]))),rotateY:e=>eh(eu(Math.atan2(-e[2],e[0]))),rotateZ:ec,rotate:ec,skewX:e=>eu(Math.atan(e[4])),skewY:e=>eu(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eg(e){return+!!e.includes("scale")}function ey(e,t){let r,n;if(!e||"none"===e)return eg(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=em,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ed,n=t}if(!n)return eg(t);let o=r[t],s=n[1].split(",").map(ev);return"function"==typeof o?o(s):s[o]}function ev(e){return parseFloat(e.trim())}let eb=e=>e===a||e===w,ex=new Set(["x","y","z"]),ew=i.filter(e=>!ex.has(e)),ek={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ey(t,"x"),y:(e,{transform:t})=>ey(t,"y")};ek.translateX=ek.x,ek.translateY=ek.y;let eS=e=>e,eE={},eP=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eC(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,s=eP.reduce((e,t)=>(e[t]=function(e){let t=new Set,r=new Set,n=!1,i=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(t){o.has(t)&&(l.schedule(t),e()),t(s)}let l={schedule:(e,i=!1,s=!1)=>{let a=s&&n?t:r;return i&&o.add(e),a.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,n){i=!0;return}n=!0;let o=t;t=r,r=o,t.forEach(a),t.clear(),n=!1,i&&(i=!1,l.process(e))}};return l}(o),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:p,postRender:f}=s,m=()=>{let o=eE.useManualTiming,s=o?i.timestamp:performance.now();r=!1,o||(i.delta=n?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),h.process(i),p.process(i),f.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(m))};return{schedule:eP.reduce((t,o)=>{let a=s[o];return t[o]=(t,o=!1,s=!1)=>(!r&&(r=!0,n=!0,i.isProcessing||e(m)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<eP.length;t++)s[eP[t]].cancel(e)},state:i,steps:s}}let{schedule:eT,cancel:ej,state:eA,steps:eR}=eC("u">typeof requestAnimationFrame?requestAnimationFrame:eS,!0),eM=new Set,eO=!1,eL=!1,eD=!1;function eN(){if(eL){let e=Array.from(eM).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>
100{let t,n=(t=[],ew.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t);n.length&&(r.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eL=!1,eO=!1,eM.forEach(e=>e.complete(eD)),eM.clear()}function eV(){eM.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eL=!0)})}class eI{constructor(e,t,r,n,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(eM.add(this),eO||(eO=!0,eT.read(eV),eT.resolveKeyframes(eN))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let i=n?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===i&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eM.delete(this)}cancel(){"scheduled"===this.state&&(eM.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let e_=new Set([I,_]);function eF(e,t){let r=$(e);return e_.has(r)||(r=L),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let ez=new Set(["auto","none","0"]);class eB extends eI{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&eo(n=n.trim())){let i=function e(t,r,n=1){et(`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,o]=function(e){let t=el.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}(t);if(!i)return;let s=window.getComputedStyle(r).getPropertyValue(i);if(s){let e=s.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return eo(o)?e(o,r,n+1):o}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!G.has(r)||2!==e.length)return;let[n,i]=e,o=Z(n),s=Z(i);if(ea(n)!==ea(i)&&ek[r]){this.needsMeasurement=!0;return}if(o!==s)if(eb(o)&&eb(s))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else ek[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&r.push(t);r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!ez.has(t)&&M(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=eF(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ek[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,o=r[i];r[i]=ek[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
100h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let e$=e=>1e3*e;function eU(e,t){-1===e.indexOf(t)&&e.push(t)}function eW(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class eH{constructor(){this.subscriptions=[]}add(e){return eU(this.subscriptions,e),()=>eW(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eX(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}function eq(e){let t;return()=>(void 0===t&&(t=e()),t)}let eG={};function eY(e,t){let r=eq(e);return()=>eG[t]??r()}let eK=eY(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eZ=e=>null!==e;function eJ(e,{repeat:t,repeatType:r="loop"},n,i=1){let o=e.filter(eZ),s=i<0||t&&"loop"!==r&&t%2==1?0:o.length-1;return s&&void 0!==n?n:o[s]}class eQ{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e0=e=>Array.isArray(e)&&"number"==typeof e[0],e1=eY(()=>{try{document.createElement("div").animate({opacity:0}
100,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e2=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},e6=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,e3={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e6([0,.65,.55,1]),circOut:e6([.55,0,1,.45]),backIn:e6([.31,.01,.66,-.59]),backOut:e6([.33,1.53,.69,.99])};function e5(e){return"function"==typeof e&&"applyToOptions"in e}class e4 extends eQ{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:n,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,et(e.type);const l=function({type:e,...t}){return e5(e)&&e1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let d=function e(t,r){if(t)return"function"==typeof t?e1()?e2(t,r):"ease-out":e0(t)?e6(t):Array.isArray(t)?t.map(t=>e(t,r)||e3.easeOut):e3[t]}(a,i);Array.isArray(d)&&(c.easing=d);let h={delay:n,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(c,h)}(t,r,n,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=eJ(n,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(e),eX(t,r,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=e$(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eK())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),eS):n(this)}}let e9=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:e8}=eC(queueMicrotask,!1);function e7(){t=void 0}let te={now:()=>(void 0===t&&te.set(eA.isProcessing||eE.useManualTiming?eA.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(e7)}},tt=(e,t)=>t?1e3/t*e:0,tr;class tn{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=te.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=te.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new eH);let r=this.events[e].add(t);return"change"===e?()=>{r(),eT.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return tr&&tr.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=te.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return tt(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ti(e,t){return new tn(e,t)}let to=[...K,C,L],ts=new WeakMap;function ta(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tl(e){return"string"==typeof e||Array.isArray(e)}let tu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tc=["initial",...tu];function td(e){return ta(e.animate)||tc.some(t=>tl(e[t]))}function th(e){return!!(td(e)||e.variants)}let tp={current:null},tf={current:!1},tm="u">typeof window;function tg(e){let t=[{},{}];
100return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function ty(e,t,r,n){if("function"==typeof t){let[i,o]=tg(n);t=t(void 0!==r?r:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=tg(n);t=t(void 0!==r?r:e.custom,i,o)}return t}let tv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tb={};class tx{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=eI,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=te.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eT.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=td(t),this.isVariantNode=th(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&q(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,ts.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tf.current||function(){if(tf.current=!0,tm)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tp.current=e.matches;e.addEventListener("change",t),t()}else tp.current=!1}(),this.shouldReduceMotion=tp.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),ej(this.notifyUpdate),ej(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&e9.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:i,ease:o,duration:s}=t.accelerate,a=new e4({element:this.current,name:e,keyframes:n,times:i,ease:o,duration:e$(s)}),l=r(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let n=o.has(e);n&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eT.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r&&r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tb){let t=tb[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];
100t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tv.length;t++){let r=tv[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let i=t[n],o=r[n];if(q(i))e.addValue(n,i);else if(q(o))e.addValue(n,ti(i,{owner:e}));else if(o!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,ti(void 0!==t?t:i,{owner:e}))}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=ti(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let n,i;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(i=r,/^0[^.\s]+$/u.test(i))))r=parseFloat(r);else{let n;n=r,!to.find(Y(n))&&L.test(t)&&(r=eF(e,t))}this.setBaseTarget(e,q(r)?r.get():r)}return q(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=ty(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||q(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new eH),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){e8.render(this.render)}}class tw extends tx{constructor(){super(...arguments),this.KeyframeResolver=eB}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;q(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tk(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tS=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tP=i.length;function tC(e,t,r){let{style:n,vars:s,transformOrigin:a}=e,l=!1,u=!1;for(let e in t){let r=t[e];if(o.has(e)){l=!0;continue}if(en(e)){s[e]=r;continue}{let t=tS(r,z[e]);e.startsWith("origin")?(u=!0,a[e]=t):n[e]=t}}if(!t.transform&&(l||r?n.transform=function(e,t,r){let n="",o=!0;for(let s=0;s<tP;s++){let a=i[s],l=e[a];if(void 0===l)continue;let u=!0;
100if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let e=parseFloat(l);u=a.startsWith("scale")?1===e:0===e}if(!u||r){let e=tS(l,z[a]);if(!u){o=!1;let t=tE[a]||a;n+=`${t}(${e}) `}r&&(t[a]=e)}}let s=e.pathRotation;return s&&(o=!1,n+=`rotate(${tS(s,z.pathRotation)}) `),n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=a;n.transformOrigin=`${e} ${t} ${r}`}}let tT={offset:"stroke-dashoffset",array:"stroke-dasharray"},tj={offset:"strokeDashoffset",array:"strokeDasharray"},tA=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tR(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(tC(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;for(let e of(d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete d.transformBox),tA))void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==i&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?tT:tj;e[o.offset]=`${-n}`,e[o.array]=`${t} ${r}`}(d,i,o,s,!1)}let tM=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tO=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tL(e,{style:t,vars:r},n,i){let o,s=e.style;for(o in t)s[o]=t[o];for(o in i?.applyProjectionStyles(s,n),r)s.setProperty(o,r[o])}let tD=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function tN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tV={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!w.test(e))return e;else e=parseFloat(e);let r=tN(e,t.target.x),n=tN(e,t.target.y);return`${r}% ${n}%`}},tI=(e,t,r)=>e+(t-e)*r,t_={borderRadius:{...tV,applyTo:[...tD]},borderTopLeftRadius:tV,borderTopRightRadius:tV,borderBottomLeftRadius:tV,borderBottomRightRadius:tV,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=L.parse(e);if(n.length>5)return e;let i=L.createTransformer(e),o=+("number"!=typeof n[0]),s=r.x.scale*t.x,a=r.y.scale*t.y;n[0+o]/=s,n[1+o]/=a;let l=tI(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}};function tF(e,{layout:t,layoutId:r}){return o.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!t_[e]||"opacity"===e)}function tz(e,t,r){let n=e.style,i=t?.style,o={};if(!n)return o;for(let t in n)(q(n[t])||i&&q(i[t])||tF(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(o[t]=n[t]);return o}function tB(e,t,r){let n=tz(e,t,r);for(let r in e)(q(e[r])||q(t[r]))&&(n[-1!==i.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class t$ extends tw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(o.has(t)){let e=$(t);return e&&e.default||0}return t=tM.has(t)?t:tk(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return tB(e,t,r)}build(e,t,r){tR(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in tL(e,t,void 0,n),t.attrs)e.setAttribute(tM.has(r)?r:tk(r),t.attrs[r])}mount(e){this.isSVGTag=tO(e.tagName),super.mount(e)}}function tU({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function tW(e){return void 0===e||1===e}function tH({scale:e,scaleX:t,scaleY:r}){return!tW(e)||!tW(t)||!tW(r)}function tX(e){return tH(e)||tq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tq(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function tG(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function tY(e,t=0,r=1,n,i){e.min=tG(e.min,t,r,n,i),e.max=tG(e.max,t,r,n,i)}function tK(e,{x:t,y:r}){tY(e.x,t.translate,t.scale,t.originPoint),tY(e.y,r.translate,r.scale,r.originPoint)}function tZ(e,t){e.min+=t,e.max+=t}function tJ(e,t,r,n,i=.5){let o=tI(e.min,e.max,i);tY(e,t,r,o,n)}function tQ(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function t0(e,t,r){let n=r??e;tJ(e.x,tQ(t.x,n.x),t.scaleX,t.scale,t.originX),tJ(e.y,tQ(t.y,n.y),t.scaleY,t.scale,t.originY)}function t1(e,t){return tU(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}
100class t2 extends tw{constructor(){super(...arguments),this.type="html",this.renderInstance=tL}mount(e){et(e.style),super.mount(e)}readValueFromInstance(e,t){if(o.has(t))return this.projection?.isProjecting?eg(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return ey(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(en(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t1(e,t)}build(e,t,r){tC(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return tz(e,t,r)}}var t6=e.i(71645);let t3=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function t5(e){if("string"!=typeof e||e.includes("-"));else if(t3.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var t4=e.i(43476);let t9=(0,t6.createContext)({});e.s(["LayoutGroupContext",0,t9],31178);let t8=(0,t6.createContext)({strict:!1}),t7=(0,t6.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",0,t7],37806);let re=(0,t6.createContext)({});function rt(e){return Array.isArray(e)?e.join(" "):e}let rr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rn(e,t,r){for(let n in t)q(t[n])||tF(n,r)||(e[n]=t[n])}let ri=()=>({...rr(),attrs:{}}),ro=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function rs(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ro.has(e)}let ra=e=>!rs(e);try{J=e.r(34537).default,"function"==typeof J&&(ra=e=>e.startsWith("on")?!rs(e):J(e))}catch{}function rl(e){return q(e)?e.get():e}let ru=(0,t6.createContext)(null);function rc(e){let t=(0,t6.useRef)(null);return null===t.current&&(t.current=e()),t.current}e.s(["PresenceContext",0,ru],21476),e.s(["useConstant",0,rc],47414);let rd=e=>(t,r)=>{let n=(0,t6.useContext)(re),i=(0,t6.useContext)(ru),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,i){return{latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let e in o)i[e]=rl(o[e]);let{initial:s,animate:a}=e,l=td(e),u=th(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===s)?a:s;if(d&&"boolean"!=typeof d&&!ta(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=ty(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,n,i,e),renderState:t()}})(e,t,n,i);return r?o():rc(o)},rh=rd({scrapeMotionValuesFromProps:tz,createRenderState:rr}),rp=rd({scrapeMotionValuesFromProps:tB,createRenderState:ri}),rf={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},rm=!1;function rg(){return!function(){if(rm)return;let e={};for(let t in rf)e[t]={isEnabled:e=>rf[t].some(t=>!!e[t])};tb=e,rm=!0}(),tb}let ry=Symbol.for("motionComponentSymbol"),rv="data-"+tk("framerAppearId"),rb=(0,t6.createContext)({});function rx(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let rw="u">typeof window?t6.useLayoutEffect:t6.useEffect;function rk(e,{forwardMotionProps:t=!1,type:r}={},n,i){n&&function(e){let t=rg();for(let r in e)t[r]={...t[r],...e[r]};tb=t}(n);let o=r?"svg"===r:t5(e),s=o?rp:rh;function a(r,n){var a;let l,u,c,d={...(0,t6.useContext)(t7),...r,layoutId:function({layoutId:e}){let t=(0,t6.useContext)(t9).id;return t&&void 0!==e?t+"-"+e:e}(r)}
100,{isStatic:h}=d,p=function(e){let{initial:t,animate:r}=function(e,t){if(td(e)){let{initial:t,animate:r}=e;return{initial:!1===t||tl(t)?t:void 0,animate:tl(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,t6.useContext)(re));return(0,t6.useMemo)(()=>({initial:t,animate:r}),[rt(t),rt(r)])}(r),f=s(r,h);if(!h&&"u">typeof window){(0,t6.useContext)(t8).strict;let t=function(e){let{drag:t,layout:r}=rg();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);l=t.MeasureLayout,p.visualElement=function(e,t,r,n,i,o){let{visualElement:s}=(0,t6.useContext)(re),a=(0,t6.useContext)(t8),l=(0,t6.useContext)(ru),u=(0,t6.useContext)(t7),c=u.reducedMotion,d=u.skipAnimations,h=(0,t6.useRef)(null),p=(0,t6.useRef)(!1);n=n||a.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:s,props:r,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let f=h.current,m=(0,t6.useContext)(rb);f&&!f.projection&&i&&("html"===f.type||"svg"===f.type)&&function(e,t,r,n){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&rx(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(h.current,r,i,m);let g=(0,t6.useRef)(!1);(0,t6.useInsertionEffect)(()=>{f&&g.current&&f.update(r,l)});let y=r[rv],v=(0,t6.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return rw(()=>{p.current=!0,f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,t6.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),f.enteringChildren=void 0)}),f}(e,f,d,i,t.ProjectionNode,o)}return(0,t4.jsxs)(re.Provider,{value:p,children:[l&&p.visualElement?(0,t4.jsx)(l,{visualElement:p.visualElement,...d}):null,function(e,t,r,{latestValues:n},i,o=!1,s){let a=(s??t5(e)?function(e,t,r,n){let i=(0,t6.useMemo)(()=>{let r=ri();return tR(r,t,tO(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};rn(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r,n,i={},o=(r=e.style||{},rn(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,t6.useMemo)(()=>{let r=rr();return tC(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(t,n,i,e),l=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&!q(e[i])&&(ra(i)||!0===r&&rs(i)||!t&&!rs(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(t,"string"==typeof e,o),u=e!==t6.Fragment?{...l,...a,ref:r}:{},{children:c}=t,d=(0,t6.useMemo)(()=>q(c)?c.get():c,[c]);return(0,t6.createElement)(e,{...u,children:d})}(e,r,(a=p.visualElement,u=(0,t6.useRef)(n),(0,t6.useInsertionEffect)(()=>{u.current=n}),c=(0,t6.useRef)(null),(0,t6.useCallback)(e=>{e&&f.onMount?.(e),a&&(e?a.mount(e):a.unmount());let t=u.current;if("function"==typeof t)if(e){let r=t(e);"function"==typeof r&&(c.current=r)}else c.current?(c.current(),c.current=null):t(e);else t&&(t.current=e)},[a])),f,h,t,o)]})}a.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,t6.forwardRef)(a);return l[ry]=e,l}e.s(["useIsomorphicLayoutEffect",0,rw],74008);class rS{constructor(e){this.isMounted=!1,this.node=e}update(){}}function rE(e,t,r){let n=e.getProps();return ty(n,t,void 0!==r?r:n.custom,e)}function rP(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}function rC(e,t){let r=e?.[t]??e?.default??e;return r!==e?rP(r,e):r}let rT=e=>Array.isArray(e);function rj(e,t){let r=e.getValue("willChange");if(q(r)&&r.add)return r.add(t);if(!r&&eE.WillChange){let r=new eE.WillChange("auto");e.addValue("willChange",r),r.add(t)}}let rA=(...e)=>e.reduce((e,t)=>
100r=>t(e(r)));function rR(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function rM(e,t){return r=>r>0?t:e}let rO=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},rL=[y,g,P];function rD(e){let t=rL.find(t=>t.test(e));if(ee(`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===P&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,s=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,a=2*r-n;i=rR(a,n,e+1/3),o=rR(a,n,e),s=rR(a,n,e-1/3)}else i=o=s=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(r)),r}let rN=(e,t)=>{let r=rD(e),n=rD(t);if(!r||!n)return rM(e,t);let i={...r};return e=>(i.red=rO(r.red,n.red,e),i.green=rO(r.green,n.green,e),i.blue=rO(r.blue,n.blue,e),i.alpha=tI(r.alpha,n.alpha,e),g.transform(i))},rV=new Set(["none","hidden"]);function rI(e,t){return r=>tI(e,t,r)}function r_(e){return"number"==typeof e?rI:"string"==typeof e?eo(e)?rM:C.test(e)?rN:rB:Array.isArray(e)?rF:"object"==typeof e?C.test(e)?rN:rz:rM}function rF(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>r_(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function rz(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=r_(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let rB=(e,t)=>{let r=L.createTransformer(t),n=M(e),i=M(t);if(!(n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length))return ee(`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),rM(e,t);if(rV.has(e)&&!i.values.length||rV.has(t)&&!n.values.length)return rV.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return rA(rF(function(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let o=t.types[i],s=e.indexes[o][n[o]],a=e.values[s]??0;r[i]=a,n[o]++}return r}(n,i),i.values),r)};function r$(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?tI(e,t,r):r_(e)(e,t)}let rU=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eT.update(t,e),stop:()=>ej(t),now:()=>eA.isProcessing?eA.timestamp:te.now()}};function rW(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let rH=.01,rX=2,rq=.005,rG=.5;function rY(e,t){return e*Math.sqrt(1-t*t)}let rK=["duration","bounce"],rZ=["stiffness","damping","mass"];function rJ(e,t){return t.some(t=>void 0!==e[t])}function rQ(e=.3,t=.3){let r,n,i,o,a,l,u="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:c,restDelta:d}=u,h=u.keyframes[0],p=u.keyframes[u.keyframes.length-1],f={done:!1,value:h},{stiffness:m,damping:g,mass:y,duration:v,velocity:b,isResolvedFromDuration:x}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rJ(e,rZ)&&rJ(e,rK))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*s(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:i}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:n=1}){let i,o;ee(e$(10));let a=1-t;a=s(.05,1,a),e=s(.01,10,e/1e3),a<1?(i=t=>{let n=t*a,i=n*e;return .001-(n-r)/rY(t,a)*Math.exp(-i)},o=t=>{let n=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=rY(Math.pow(t,2),a);return(n*r+r-o)*s*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let l=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,o,5/e);if(e=e$(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(l,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...u,velocity:-((u.velocity||0)/1e3)}),w=b||0,k=g/(2*Math.sqrt(m*y)),S=p-h,E=Math.sqrt(m/y)/1e3,P=5>Math.abs(S);if(c||(c=P?rH:rX),d||(d=P?rq:rG),k<1)i=rY(E,k),o=(w+k*E*S)/i,r=e=>p-Math.exp(-k*E*e)*(o*Math.sin(i*e)+S*Math.cos(i*e)),a=k*E*o+S*i,l=k*E*S-o*i,n=e=>Math.exp(-k*E*e)*(a*Math.sin(i*e)+l*Math.cos(i*e));else if(1===k){r=e=>p-Math.exp(-E*e)*(S+(w+E*S)*e);let e=w+E*S;n=t=>Math.exp(-E*t)*(E*e*t-w)}else{let e=E*Math.sqrt(k*k-1);r=t=>{let r=Math.exp(-k*E*t),n=Math.min(e*t,300);return p-r*((w+k*E*S)*Math.sinh(n)+e*S*Math.cosh(n))/e};let t=(w+k*E*S)/e,i=k*E*t-S*e,o=k*E*S-t*e;n=t=>{let r=Math.exp(-k*E*t),n=Math.min(e*t,300);return r*(i*Math.sinh(n)+o*Math.cosh(n))}}let C={calculatedDuration:x&&v||null,velocity:e=>e$(n(e)),next:e=>{if(!x&&k<1){let t=Math.exp(-k*E*e),r=Math.sin(i*e),n=Math.cos(i*e),s=p-t*(o*r+S*n);return f.done=Math.abs(e$(t*(a*r+l*n)))<=c&&Math.abs(p-s)<=d,f.value=f.done?p:s,f}let t=r(e);return x?f.done=e>=v:f.done=Math.abs(e$(n(e)))<=c&&Math.abs(p-t)<=d,f.value=f.done?p:t,f},toString:()=>{let e=Math.min(rW(C),2e4),t=e2(t=>C.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return C}function r0(e,t,r){let n=Math.max(t-5,0);return tt(r-e(n),t-n)}function r1({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,h,p=e[0],f={done:!1,value:p},m=r*t,g=p+m,y=void 0===s?g:s(g);y!==g&&(m=y-p);let v=e=>-m*Math.exp(-e/n),b=e=>y+v(e),x=e=>{let t=v(e),r=b(e);f.done=Math.abs(t)<=u,f.value=f.done?y:r},w=e=>{let t;if(t=f.value,void 0!==a&&t<a||void 0!==l&&t>l){var r;d=e,h=rQ({keyframes:[f.value,(r=f.value,void 0===a?l:void 0===l||Math.abs(a-r)<Math.abs(l-r)?a:l)],velocity:r0(b,e,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;
100return(h||void 0!==d||(t=!0,x(e),w(e)),void 0!==d&&e>=d)?h.next(e-d):(t||x(e),f)}}}rQ.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),i=Math.min(rW(n),2e4);return{type:"keyframes",ease:e=>n.next(i*e).value/t,duration:i/1e3}}(e,100,rQ);return e.ease=t.ease,e.duration=e$(t.duration),e.type="keyframes",e};let r2=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function r6(e,t,r,n){return e===t&&r===n?eS:i=>0===i||1===i?i:r2(function(e,t,r,n,i){let o,s,a=0;do(o=r2(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s;while(Math.abs(o)>1e-7&&++a<12)return s}(i,0,1,e,r),t,n)}let r3=r6(.42,0,1,1),r5=r6(0,0,.58,1),r4=r6(.42,0,.58,1),r9=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,r8=e=>t=>1-e(1-t),r7=r6(.33,1.53,.69,.99),ne=r8(r7),nt=r9(ne),nr=e=>e>=1?1:(e*=2)<1?.5*ne(e):.5*(2-Math.pow(2,-10*(e-1))),nn=e=>1-Math.sin(Math.acos(e)),ni=r8(nn),no=r9(nn),ns={linear:eS,easeIn:r3,easeInOut:r4,easeOut:r5,circIn:nn,circInOut:no,circOut:ni,backIn:ne,backInOut:nt,backOut:r7,anticipate:nr},na=e=>{if(e0(e)){et(e.length);let[t,r,n,i]=e;return r6(t,r,n,i)}return"string"==typeof e?(et(ns[e],`Invalid easing type '${e}'`),ns[e]):e},nl=(e,t,r)=>{let n=t-e;return n?(r-e)/n:1};function nu({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let o,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(na):na(n),l={done:!1,value:t[0]},u=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if(et(t.length),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let l=function(e,t,r){let n=[],i=r||eE.mix||r$,o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);t&&(o=rA(Array.isArray(t)?t[r]||eS:t,o)),n.push(o)}return n}(t,n,i),u=l.length,c=r=>{if(a&&r<e[0])return t[0];let n=0;if(u>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let i=nl(e[n],e[n+1],r);return l[n](i)};return r?t=>c(s(e[0],e[o-1],t)):c}((i=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=nl(0,t,n);e.push(tI(r,1,i))}}(o=[0],t.length-1),o),i.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||r4).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(l.value=u(t),l.done=t>=e,l)}}let nc={decay:r1,inertia:r1,tween:nu,keyframes:nu,spring:rQ};function nd(e){"string"==typeof e.type&&(e.type=nc[e.type])}let nh=e=>e/100;class np extends eQ{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==te.now()&&this.tick(te.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;nd(e);let{type:t=nu,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:o=0}=e,{keyframes:s}=e,a=t||nu;a!==nu&&"number"!=typeof s[0]&&(this.mixKeyframes=rA(nh,r$(s[0],s[1])),s=[0,100]);let l=a({...e,keyframes:s});"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=rW(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:c=0,keyframes:d,repeat:h,repeatType:p,repeatDelay:f,type:m,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let x=this.currentTime,w=n;if(h){let e=Math.min(this.currentTime,i)/l,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,h+1))%2&&("reverse"===p?(r=1-r,f&&(r-=f/l)):"mirror"===p&&(w=a)),x=s(0,1,r)*l}b?(this.delayState.value=d[0],r=this.delayState):r=w.next(x),o&&!b&&(r.value=o(r.value));let{done:k}=r;b||null===u||(k=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return S&&m!==r1&&(r.value=eJ(d,this.options,y,this.speed)),g&&g(r.value),S&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=e$(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return r0(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(te.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=rU,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(te.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let nf={anticipate:nr,backInOut:nt,circInOut:no};
100class nm extends e4{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in nf&&(e.ease=nf[e.ease])}(e),nd(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new np({...o,autoplay:!1}),l=Math.max(10,te.now()-this.startTime),u=s(0,10,l-10),c=a.sample(l).value,{name:d}=this.options;i&&d&&eX(i,d,c),t.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}let ng=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(L.test(e)||"0"===e)&&!e.startsWith("url("));function ny(e){e.duration=0,e.type="keyframes"}let nv=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nb=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nx=eq(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nw extends eQ{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=te.now();const d={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:o,name:a,motionValue:l,element:u,...c},h=u?.KeyframeResolver||eI;this.keyframeResolver=new h(s,(e,t,r)=>this.onKeyframesResolved(e,t,d,!r),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){let i;this.keyframeResolver=void 0;let{name:o,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=te.now();let d=!0;!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=ng(i,t),a=ng(o,t);return ee(`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||e5(r))&&n)}(e,o,s,a)&&(d=!1,(eE.instantAnimations||!l)&&c?.(eJ(e,r,t)),e[0]=e[e.length-1],ny(r),r.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},p=d&&!u&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:o,type:s,keyframes:a}=e,l=t?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:c}=t.owner.getProps();return nx()&&r&&(e9.has(r)||nb.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&nv.test(e[t]))return!0;return!1}(a))&&("transform"!==r||!c)&&!u&&!n&&"mirror"!==i&&0!==o&&"inertia"!==s}(h),f=h.motionValue?.owner?.current;if(p)try{i=new nm({...h,element:f})}catch{i=new np(h)}else i=new np(h);i.finished.then(()=>{this.notifyFinished()}).catch(eS),this.pendingTimeline&&(this.stopTimeline=i.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=i}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eD=!0,eV(),eN(),eD=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nk={type:"spring",stiffness:500,damping:25,restSpeed:10},nS={type:"keyframes",duration:.8},nE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nP=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nC=(e,t,r,n={},i,s)=>a=>{let l=rC(n,e)||{},u=l.delay||n.delay||0,{elapsed:c=0}=n;c-=e$(u);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:s?void 0:i};!function(e){for(let t in e)if(!nP.has(t))return!0;return!1}(l)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?nS:o.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:nk:nE)(e,d)),d.duration&&(d.duration=e$(d.duration)),d.repeatDelay&&(d.repeatDelay=e$(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(ny(d),0===d.delay&&(h=!0)),(eE.instantAnimations||eE.skipAnimations||i?.shouldSkipAnimations||l.skipAnimations)&&(h=!0,ny(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,h&&!s&&void 0!==t.get()){let e=eJ(d.keyframes,l);if(void 0!==e)return void eT.update(()=>{d.onUpdate(e),d.onComplete()})}return l.isSync?new np(d):new nw(d)};function nT(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:s,...a}=t,l=e.getDefaultTransition();o=o?rP(o,l):l;let u=o?.reduceMotion,c=o?.skipAnimations;n&&(o=n);let d=[],h=i&&e.animationState&&e.animationState.getState()[i],p=o?.path;for(let t in p&&p.animateVisualElement(e,a,o,r,d),a){let n=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||h&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(h,t))continue;let s={delay:r,...rC(o||{},t)};c&&(s.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(i)&&i===l&&!s.velocity){eT.update(()=>n.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let r=e.props[rv];if(r){let e=window.MotionHandoffAnimation(r,t,eT);null!==e&&(s.startTime=e,p=!0)}}rj(e,t);let f=u??e.shouldReduceMotion;n.start(nC(t,n,i,f&&G.has(t)?{type:!1}:s,e,p));let m=n.animation;m&&d.push(m)}if(s){let t=()=>eT.update(()=>{s&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=rE(e,t)||{};for(let t in i={...i,...r}){var o;let r=rT(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ti(r))}}(e,s)});d.length?Promise.all(d).then(t):t()}return d}function nj(e,t,r,n=0,i=1){let o=Array.from(e).sort((e,t)=>
100e.sortNodePosition(t)).indexOf(t),s=e.size,a=(s-1)*n;return"function"==typeof r?r(o,s):1===i?o*n:a-o*n}function nA(e,t,r={}){let n=rE(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(nT(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,r=0,n=0,i=0,o=1,s){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(nA(l,t,{...s,delay:r+("function"==typeof n?0:n)+nj(e.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,n,o,s,a,r)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(r.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}let nR=tc.length;function nM(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let nO=[...tu].reverse(),nL=tu.length;function nD(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nN(){return{animate:nD(!0),whileInView:nD(),whileHover:nD(),whileTap:nD(),whileDrag:nD(),whileFocus:nD(),exit:nD()}}let nV=0;function nI(e){return[e("x"),e("y")]}function n_(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}let nF={x:!1,y:!1};function nz(e){return e.max-e.min}function nB(e,t,r,n=.5){e.origin=n,e.originPoint=tI(t.min,t.max,e.origin),e.scale=nz(r)/nz(t),e.translate=tI(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function n$(e,t,r,n){nB(e.x,t.x,r.x,n?n.originX:void 0),nB(e.y,t.y,r.y,n?n.originY:void 0)}function nU(e,t,r,n=0){e.min=(n?tI(r.min,r.max,n):r.min)+t.min,e.max=e.min+nz(t)}function nW(e,t,r,n=0){let i=n?tI(r.min,r.max,n):r.min;e.min=t.min-i,e.max=e.min+nz(t)}function nH(e,t,r,n){nW(e.x,t.x,r.x,n?.x),nW(e.y,t.y,r.y,n?.y)}let nX=e=>"object"==typeof e&&null!==e;function nq(e){return nX(e)&&"ownerSVGElement"in e}function nG(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let i=r?.[e]??n.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}let nY=new WeakMap,nK=(e,t,r)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:nq(n)&&"getBBox"in n?n.getBBox()[t]:n[r],nZ=nK("inline","width","offsetWidth"),nJ=nK("block","height","offsetHeight");function nQ({target:e,borderBoxSize:t}){nY.get(e)?.forEach(r=>{r(e,{get width(){return nZ(e,t)},get height(){return nJ(e,t)}})})}function n0(e){e.forEach(nQ)}let n1=new Set;function n2(e,t){let i;return"function"==typeof e?(n1.add(e),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};n1.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{n1.delete(e),n1.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!r&&"u">typeof ResizeObserver&&(r=new ResizeObserver(n0)),(i=nG(e)).forEac
100h(e=>{let n=nY.get(e);n||(n=new Set,nY.set(e,n)),n.add(t),r?.observe(e)}),()=>{i.forEach(e=>{let n=nY.get(e);n?.delete(t),n?.size||r?.unobserve(e)})})}let n6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),n3=new Set(["INPUT","SELECT","TEXTAREA"]),n5=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function n4(e){return{point:{x:e.pageX,y:e.pageY}}}function n9(e,t,r,n){return n_(e,t,e=>n5(e)&&r(e,n4(e)),n)}let n8=({current:e})=>e?e.ownerDocument.defaultView:null,n7=(e,t)=>Math.abs(e-t),ie=new Set(["auto","scroll"]);class it{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ir(this.lastRawMoveEventInfo,this.transformPagePoint));let r=io(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(n7(e.x,t.x)**2+n7(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!i)return;let{point:o}=r,{timestamp:s}=eA;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=ir(t,this.transformPagePoint),eT.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=io("pointercancel"===e.type?this.lastMoveEventInfo:ir(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),n&&n(e,o)},!n5(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=n||window;const a=ir(n4(e),this.transformPagePoint),{point:l}=a,{timestamp:u}=eA;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,io(a,this.history));const d={passive:!0,capture:!0};this.removeListeners=rA(n9(this.contextWindow,"pointermove",this.handlePointerMove,d),n9(this.contextWindow,"pointerup",this.handlePointerUp,d),n9(this.contextWindow,"pointercancel",this.handlePointerUp,d)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ie.has(e.overflowX)||ie.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:n.x-t.x,y:n.y-t.y};(0!==i.x||0!==i.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,n),eT.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ej(this.updatePoint)}}function ir(e,t){return t?{point:t(e.point)}:e}function ii(e,t){return{x:e.x-t.x,y:e.y-t.y}}function io({point:e},t){return{point:e,delta:ii(e,is(t)),offset:ii(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,r=null,n=is(e);for(;t>=0&&(r=e[t],!(n.timestamp-r.timestamp>e$(.1)));)t--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&n.timestamp-r.timestamp>2*e$(.1)&&(r=e[1]);let i=(n.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};let o={x:(n.x-r.x)/i,y:(n.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t)}}function is(e){return e[e.length-1]}function ia(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function il(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function iu(e,t,r){return{min:ic(e,t),max:ic(e,r)}}function ic(e,t){return"number"==typeof e?e:e[t]||0}let id=new WeakMap;class ih{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=X(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=e=>{t&&this.snapToCursor(n4(e).point),this.stopAnimation()},o=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
100y"===e)if(nF[e])return null;else return nF[e]=!0,()=>{nF[e]=!1};return nF.x||nF.y?null:(nF.x=nF.y=!0,()=>{nF.x=nF.y=!1})}(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nI(e=>{let t=this.getAxisMotionValue(e).get()||0;if(x.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=nz(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&eT.update(()=>i(e,t),!1,!0),rj(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:s}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&eT.update(()=>o(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new it(e,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:n8(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&eT.postRender(()=>s(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!im(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?tI(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?tI(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&rx(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:ia(e.x,r,i),y:ia(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:iu(e,"left","right"),y:iu(e,"top","bottom")}}(t),n!==this.constraints&&!rx(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&nI(e=>{var t,n;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],i={},void 0!==n.min&&(i.min=n.min-t.min),void 0!==n.max&&(i.max=n.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!rx(t))return!1;let n=t.current;et();let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());let o=function(e,t,r){let n=t1(e,r),{scroll:i}=t;return i&&(tZ(n.x,i.offset.x),tZ(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),s=(e=i.layout.layoutBox,{x:il(e.x,o.x),y:il(e.y,o.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=tU(e))}return s}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(nI(s=>{if(!im(s,t,this.currentDirection))return;let l=a&&a[s]||{};(!0===o||o===s)&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return rj(this.visualElement,e),r.start(nC(e,r,0,t,this.visualElement,!1))}stopAnimation(){nI(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){nI(t=>{let{drag:r}=this.getProps();if(!im(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t],s=i.get()||0;i.set(e[t]-tI(r,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!rx(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nI(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,i;let o,a,l,u=t.get();n[e]=(r={min:u,max:u},i=this.constraints[e],o=.5,a=nz(r),(l=nz(i))>a?o=nl(i.min,i.max-a,r.min):a>l&&(o=nl(r.min,r.max-l,i.min)),s(0,1,o))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),nI(t=>{if(!im(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];r.set(tI(i,o,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;id.set(this.visualElement,this);let t=this.visualElement.current,r=n9(t,"pointerdown",e=>{let{drag:r,dragListener:n=!0}
100=this.getProps(),i=e.target,o=i!==t&&(n3.has(i.tagName)||!0===i.isContentEditable);r&&n&&!o&&this.start(e)}),n=()=>{var r,n,i;let o,s,{dragConstraints:a}=this.getProps();rx(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(r=t,n=a.current,o=n2(r,ip(i=()=>this.scalePositionWithinConstraints())),s=n2(n,ip(i)),e=()=>{o(),s()}))},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),eT.read(n);let s=n_(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nI(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),r(),o(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function ip(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function im(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}let ig=e=>(t,r)=>{e&&eT.update(()=>e(t,r),!1,!0)},iy={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var iv=t6;function ib(e=!0){let t=(0,t6.useContext)(ru);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:n,register:i}=t,o=(0,t6.useId)();(0,t6.useEffect)(()=>{if(e)return i(o)},[e]);let s=(0,t6.useCallback)(()=>e&&n&&n(o),[o,n,e]);return!r&&n?[!1,s]:[!0]}e.s(["usePresence",0,ib],64978);let ix=!1;class iw extends iv.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),ix&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),iy.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),ix=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||eT.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:r}=e;r&&(r.options.layoutAnchor=t,r.root.didUpdate(),e8.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;ix=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function ik(e){let[t,r]=ib(),n=(0,iv.useContext)(t9);return(0,t4.jsx)(iw,{...e,layoutGroup:n,switchLayoutGroup:(0,iv.useContext)(rb),isPresent:t,safeToRemove:r})}let iS=tD.length,iE=e=>"string"==typeof e?parseFloat(e):e,iP=e=>"number"==typeof e||w.test(e);function iC(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let iT=iA(0,.5,ni),ij=iA(.5,.95,eS);function iA(e,t,r){return n=>n<e?0:n>t?1:r(nl(e,t,n))}function iR(e,t){e.min=t.min,e.max=t.max}function iM(e,t){iR(e.x,t.x),iR(e.y,t.y)}function iO(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function iL(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function iD(e,t,[r,n,i],o,s){!function(e,t=0,r=1,n=.5,i,o=e,s=e){if(x.test(t)&&(t=parseFloat(t),t=tI(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=tI(o.min,o.max,n);e===o&&(a-=t),e.min=iL(e.min,t,r,a,i),e.max=iL(e.max,t,r,a,i)}(e,t[r],t[n],t[i],t.scale,o,s)}let iN=["x","scaleX","originX"],iV=["y","scaleY","originY"];function iI(e,t,r,n){iD(e.x,t,iN,r?r.x:void 0,n?n.x:void 0),iD(e.y,t,iV,r?r.y:void 0,n?n.y:void 0)}function i_(e){return 0===e.translate&&1===e.scale}function iF(e){return i_(e.x)&&i_(e.y)}function iz(e,t){return e.min===t.min&&e.max===t.max}function iB(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function i$(e,t){return iB(e.x,t.x)&&iB(e.y,t.y)}function iU(e){return nz(e.x)/nz(e.y)}function iW(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class iH{constructor(){this.members=[]}add(e){eU(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||(eW(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(eW(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:i}=e.options;(void 0===n||n!==i)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isU
100pdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let iX=(e,t)=>e.depth-t.depth;class iq{constructor(){this.children=[],this.isDirty=!1}add(e){eU(this.children,e),this.isDirty=!0}remove(e){eW(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(iX),this.isDirty=!1,this.children.forEach(e)}}let iG=["","X","Y","Z"],iY=0;function iK(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function iZ({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=iY++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(i0),this.nodes.forEach(i7),this.nodes.forEach(oe),this.nodes.forEach(i1)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new iq)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eH),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=nq(t)&&!(nq(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:n,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,i=()=>this.root.updateBlockedByResize=!1;eT.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,o;n=e,this.root.updateBlockedByResize=!0,r&&r(),t=te.now(),o=({timestamp:e})=>{let r=e-t;r>=250&&(ej(o),i())},eT.setup(o,!0),r=()=>ej(o),iy.hasAnimatedSinceResize&&(iy.hasAnimatedSinceResize=!1,this.nodes.forEach(i8))}})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||os,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!i$(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...rC(o,"layout"),onPlay:s,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u,t.path)}else t||i8(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ej(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
100h(ot),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[rv];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",eT,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(i3),this.nodes.forEach(i6);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(i5);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(i4),this.nodes.forEach(i9),this.nodes.forEach(iJ),this.nodes.forEach(iQ)):this.nodes.forEach(i5),this.clearAllSnapshots();let e=te.now();eA.delta=s(0,1e3/60,e-eA.timestamp),eA.timestamp=e,eA.isProcessing=!0,eR.update.process(eA),eR.preRender.process(eA),eR.render.process(eA),eA.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,e8.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(i2),this.sharedNodes.forEach(or)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eT.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eT.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nz(this.snapshot.measuredBox.x)||nz(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=X()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!iF(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||tX(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),ou((t=n).x),ou(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return X();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(od))){let{scroll:e}=this.root;e&&(tZ(t.x,e.offset.x),tZ(t.y,e.offset.y))}return t}removeElementScroll(e){let t=X();if(iM(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;n!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&iM(t,e),tZ(t.x,i.offset.x),tZ(t.y,i.offset.y))}return t}applyTransform(e,t=!1,r){let n=r||X();iM(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(tZ(n.x,-r.scroll.offset.x),tZ(n.y,-r.scroll.offset.y)),tX(r.latestValues)&&t0(n,r.latestValues,r.layout?.layoutBox)}return tX(this.latestValues)&&t0(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=X();iM(t,e);for(let e=0;e<this.path.length;e++){let r,n=this.path[e];tX(n.latestValues)&&(n.instance&&(tH(n.latestValues)&&n.updateSnapshot(),iM(r=X(),n.measurePageBox())),iI(t,n.latestValues,n.snapshot?.layoutBox,r))}return tX(this.latestValues)&&iI(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eA.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
100isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(!this.layout||!(n||i))return;this.resolvedRelativeTargetAt=eA.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,l,u;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,nU(s.x,a.x,l.x,u?.x),nU(s.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):iM(this.target,this.layout.layoutBox),tK(this.target,this.targetDelta)):iM(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tH(this.parent.latestValues)||tq(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),nH(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),iM(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===eA.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||i))return;iM(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){let i,o,s=r.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(i=r[a]).projectionDelta;let{visualElement:s}=i.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(tZ(e.x,-i.scroll.offset.x),tZ(e.y,-i.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,tK(e,o)),n&&tX(i.latestValues)&&t0(e,i.latestValues,i.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=X());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iO(this.prevProjectionDelta.x,this.projectionDelta.x),iO(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),n$(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&iW(this.projectionDelta.x,this.prevProjectionDelta.x)&&iW(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=W(),this.projectionDelta=W(),this.projectionDeltaWithTransform=W()}setAnimationOrigin(e,t=!1,r){let n,i=this.snapshot,o=i?i.latestValues:{},s={...this.latestValues},a=W();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=X(),u=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),d=!c||c.members.length<=1,h=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(oo));this.animationProgress=0;let p=r?.interpolateProjection(e);this.mixTargetDelta=t=>{let r=t/1e3,i=p?.(r);if(i?(a.x.translate=i.x,a.x.scale=tI(e.x.scale,1,r),a.x.origin=e.x.origin,a.x.originPoint=e.x.originPoint,a.y.translate=i.y,a.y.scale=tI(e.y.scale,1,r),a.y.origin=e.y.origin,a.y.originPoint=e.y.originPoint):(on(a.x,e.x,r),on(a.y,e.y,r)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,f,m,g,y,v;nH(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,g=this.relativeTargetOrigin,y=l,v=r,oi(m.x,g.x,y.x,v),oi(m.y,g.y,y.y,v),n&&(c=this.relativeTarget,f=n,iz(c.x,f.x)&&iz(c.y,f.y))&&(this.isProjectionDirty=!1),n||(n=X()),iM(n,this.relativeTarget)}u&&(this.animationValues=s,function(e,t,r,n,i,o){i?(e.opacity=tI(0,r.opacity??1,iT(n)),e.opacityExit=tI(t.opacity??1,0,ij(n))):o&&(e.opacity=tI(t.opacity??1,r.opacity??1,n));for(let i=0;i<iS;i++){let o=tD[i],s=iC(t,o),a=iC(r,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||iP(s)===iP(a)?(e[o]=Math.max(tI(iE(s),iE(a),n),0),(x.test(a)||x.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||r.rotate)&&(e.rotate=tI(t.rotate||0,r.rotate||0,n))}(s,o,this.latestValues,r,h,d)),i&&void 0!==i.rotate&&(this.animationValues||(this.animationValues=s),this.animationValues.pathRotation=i.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ej(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eT.update(()=>{var t,r,n;let i;iy.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ti(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,r=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}},(i=q(t)?t:ti(t)).start(nC("",i,r,n)),i.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&oc(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||X();let t=nz(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=nz(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}iM(t,r),t0(t,i),n$(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
100)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new iH),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&iK("z",e,n,this.animationValues);for(let t=0;t<iG.length;t++)iK(`rotate${iG[t]}`,e,n,this.animationValues),iK(`skew${iG[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=rl(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=rl(t?.pointerEvents)||""),this.hasProjected&&!tX(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=n.animationValues||n.latestValues;this.applyTransformsToTarget();
100let o=function(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=r?.z||0;if((i||o||s)&&(n=`translate3d(${i}px, ${o}px, ${s}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:o,rotateY:s,skewX:a,skewY:l}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotate(${i}deg) `),o&&(n+=`rotateX(${o}deg) `),s&&(n+=`rotateY(${s}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);r&&(o=r(i,o)),e.transform=o;let{x:s,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,t_){if(void 0===i[t])continue;let{correct:r,applyTo:s,isCSSVariable:a}=t_[t],l="none"===o?i[t]:r(i[t],n);if(s){let t=s.length;for(let r=0;r<t;r++)e[s[r]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?rl(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(i6),this.root.sharedNodes.clear()}}}function iJ(e){e.updateLayout()}function iQ(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if("size"===i)nI(e=>{let n=o?t.measuredBox[e]:t.layoutBox[e],i=nz(n);n.min=r[e].min,n.max=n.min+i});else if("x"===i||"y"===i){let e="x"===i?"y":"x";iR(o?t.measuredBox[e]:t.layoutBox[e],r[e])}else oc(i,t.layoutBox,r)&&nI(n=>{let i=o?t.measuredBox[n]:t.layoutBox[n],s=nz(r[n]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+s)});let s=W();n$(s,r,t.layoutBox);let a=W();o?n$(a,e.applyTransform(n,!0),t.measuredBox):n$(a,r,t.layoutBox);let l=!iF(s),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let s=e.options.layoutAnchor||void 0,a=X();nH(a,t.layoutBox,i.layoutBox,s);let l=X();nH(l,r,o.layoutBox,s),i$(a,l)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function i0(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function i1(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function i2(e){e.clearSnapshot()}function i6(e){e.clearMeasurements()}function i3(e){e.isLayoutDirty=!0,e.updateLayout()}function i5(e){e.isLayoutDirty=!1}function i4(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function i9(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function i8(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function i7(e){e.resolveTargetDelta()}function oe(e){e.calcProjection()}function ot(e){e.resetSkewAndRotation()}function or(e){e.removeLeadSnapshot()}function on(e,t,r){e.translate=tI(t.translate,0,r),e.scale=tI(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function oi(e,t,r,n){e.min=tI(t.min,r.min,n),e.max=tI(t.max,r.max,n)}function oo(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let os={duration:.45,ease:[.4,0,.1,1]},oa=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ol=oa("applewebkit/")&&!oa("chrome/")?Math.round:eS;function ou(e){e.min=ol(e.min),e.max=ol(e.max)}function oc(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(iU(t)-iU(r)))}function od(e){return e!==e.root&&e.scroll?.wasRoot}let oh=iZ({attachResizeListener:(e,t)=>n_(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),op={current:void 0},of=iZ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!op.current){let e=new oh({});e.mount(window),e.setOptions({layoutScroll:!0}),op.current=e}return op.current},resetTransform:(e,t)=>
100{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function om(e,t){let r=nG(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function og(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&eT.postRender(()=>i(t,n4(t)))}function oy(e){return nX(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}e.s(["isHTMLElement",0,oy],72846);let ov=(e,t)=>!!t&&(e===t||ov(e,t.parentElement)),ob=new WeakSet;function ox(e){return t=>{"Enter"===t.key&&e(t)}}function ow(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function ok(e){return n5(e)&&!(nF.x||nF.y)}let oS=new WeakSet;function oE(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&eT.postRender(()=>i(t,n4(t)))}let oP=new WeakMap,oC=new WeakMap,oT=e=>{let t=oP.get(e.target);t&&t(e)},oj=e=>{e.forEach(oT)},oA={some:0,all:1},oR=function(e,t){if("u"<typeof Proxy)return rk;let r=new Map,n=(r,n)=>rk(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,o)=>"create"===o?n:(r.has(o)||r.set(o,rk(o,void 0,e,t)),r.get(o))})}({animation:{Feature:class extends rS{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>nA(e,t,r)));else if("string"==typeof t)n=nA(e,t,r);else{let i="function"==typeof t?rE(e,t,r.custom):t;n=Promise.all(nT(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=nN(),n=!0,i=!1,o=t=>(r,n)=>{let i=rE(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function s(s){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<nR;e++){let n=tc[e],i=t.props[n];(tl(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},u=[],c=new Set,d={},h=1/0;for(let t=0;t<nL;t++){var p,f;let m=nO[t],g=r[m],y=void 0!==a[m]?a[m]:l[m],v=tl(y),b=m===s?g.isActive:null;!1===b&&(h=t);let x=y===l[m]&&y!==a[m]&&v;if(x&&(n||i)&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...d},!g.isActive&&null===b||!y&&!g.prevProp||ta(y)||"boolean"==typeof y)continue;if("exit"===m&&g.isActive&&!0!==b){g.prevResolvedValues&&(d={...d,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(f=y)?f!==p:!!Array.isArray(f)&&!nM(f,p)),k=w||m===s&&g.isActive&&!x&&v||t>h&&v,S=!1,E=Array.isArray(y)?y:[y],P=E.reduce(o(m),{});!1===b&&(P={});let{prevResolvedValues:C={}}=g,T={...C,...P},j=t=>{k=!0,c.has(t)&&(S=!0,c.delete(t)),g.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in T){let t=P[e],r=C[e];if(!d.hasOwnProperty(e))(rT(t)&&rT(r)?!nM(t,r)||w:t!==r)?null!=t?j(e):c.add(e):void 0!==t&&c.has(e)?j(e):g.protectedKeys[e]=!0}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(d={...d,...P}),(n||i)&&e.blockInitialAnimation&&(k=!1);let A=x&&w,R=!A||S;k&&R&&u.push(...E.map(t=>{let r={type:m};if("string"==typeof t&&(n||i)&&!A&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,i=rE(n,t);if(n.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=nj(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(c.size){let t={};if("boolean"!=typeof a.initial){let r=rE(e,Array.isArray(a.initial)?a.initial[0]:a.initial);r&&r.transition&&(t.transition=r.transition)}c.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),u.push({animation:t})}let m=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,i=!1,m?t(u):Promise.resolve()}return{animateChanges:s,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let i=s(t);for(let e in r)r[e].protectedKeys={};return i},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=nN(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();ta(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends rS{constructor(){super(...arguments),this.id=nV++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;if(e&&!1===r){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let r=rE(this.node,e,t);if(r){let{transition:e,transitionEnd:t,...n}=r;for(let e in n)this.node.getValue(e)?.jump(n[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>
100{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends rS{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:r={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:s}=r,a={root:n?n.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:oA[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,s&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let r=e||document;oC.has(r)||oC.set(r,{});let n=oC.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(oj,{root:e,...t})),n[i]}(a),oP.set(e,l),t.observe(e),()=>{oP.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends rS{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=function(e,t,r={}){let[n,i,o]=om(e,r),s=e=>{let n=e.currentTarget;if(!ok(e)||oS.has(e))return;ob.add(n),r.stopPropagation&&oS.add(e);let o=t(n,e),s={...i,capture:!0},a=(e,t)=>{window.removeEventListener("pointerup",l,s),window.removeEventListener("pointercancel",u,s),ob.has(n)&&ob.delete(n),ok(e)&&"function"==typeof o&&o(e,{success:t})},l=e=>{a(e,n===window||n===document||r.useGlobalTarget||ov(n,e.target))},u=e=>{a(e,!1)};window.addEventListener("pointerup",l,s),window.addEventListener("pointercancel",u,s)};return n.forEach(e=>{((r.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),oy(e))&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=ox(()=>{if(ob.has(r))return;ow(r,"down");let e=ox(()=>{ow(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>ow(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,i)),n6.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(oE(this.node,t,"Start"),(e,{success:t})=>oE(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}},focus:{Feature:class extends rS{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=rA(n_(this.node.current,"focus",()=>this.onFocus()),n_(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends rS{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,o]=om(e,r);return n.forEach(e=>{let r,n=!1,o=!1,s=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",l)},a=e=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,s(e))},l=e=>{if("touch"!==e.pointerType){if(n){o=!0;return}s(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nF.x||nF.y)return;o=!1;let s=t(e,n);"function"==typeof s&&(r=s,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",a,i)},i)}),o}(e,(e,t)=>(og(this.node,t,"Start"),e=>og(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends rS{constructor(){super(...arguments),this.removePointerDownListener=eS}onPointerDown(e){this.session=new it(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:n8(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:ig(e),onStart:ig(t),onMove:ig(r),onEnd:(e,t)=>{delete this.session,n&&eT.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=n9(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends rS{constructor(e){super(e),this.removeGroupControls=eS,this.removeListeners=eS,this.controls=new ih(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eS}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:of,MeasureLayout:ik},layout:{ProjectionNode:of,MeasureLayout:ik}},(e,t)=>t.isSVG??t5(e)?new t$(t):new t2(t,{allowProjection:e!==t6.Fragment}));e.s(["motion",0,oR],46932)},75254,e=>{"use strict";var t=e.i(71645);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},n=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:s,className:a="",children:l,iconNode:u,...c},d)=>(0,t.createElement)("svg",{ref:d,...i,width:r,height:r,stroke:e,strokeWidth:s?24*Number(o)/Number(r):o,className:n("lucide",a),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(l)?l:[l]]));e.s(["default",0,(e,i)=>{let s=(0,t.forwardRef)(({className:s,...a},l)=>(0,t.createElement)(o,{ref:l,iconNode:i,className:n(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...a}
100));return s.displayName=r(e),s}],75254)},37727,e=>{"use strict";let t=(0,e.i(75254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},22016,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(90809),s=e.r(43476),a=o._(e.r(71645)),l=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),h=e.r(5550),p=e.r(88540),f=e.r(91949),m=e.r(73668),g=e.r(9396);function y(t){var r;let n,i,o,[y,b]=(0,a.useOptimistic)(f.IDLE_LINK_STATUS),x=(0,a.useRef)(null),{href:w,as:k,children:S,prefetch:E=null,passHref:P,replace:C,shallow:T,scroll:j,onClick:A,onMouseEnter:R,onTouchStart:M,legacyBehavior:O=!1,onNavigate:L,transitionTypes:D,ref:N,unstable_dynamicOnHover:V,...I}=t;n=S,O&&("string"==typeof n||"number"==typeof n)&&(n=(0,s.jsx)("a",{children:n}));let _=a.default.useContext(u.AppRouterContext),F=!1!==E,z=!1===E?"none":!0===E?"full":"auto",B="none"!==z?"auto"===z?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,$="string"==typeof(r=k||w)?r:(0,l.formatUrl)(r);if(O){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=a.default.Children.only(n)}let U=O?i&&"object"==typeof i&&i.ref:N,W,H=a.default.useCallback(e=>(null!==_&&(x.current=(0,f.mountLinkInstance)(e,$,_,B,F,b,W)),()=>{x.current&&((0,f.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,f.unmountPrefetchableInstance)(e)}),[F,$,_,B,b,W]),X={ref:(0,c.useMergedRef)(H,U),onClick(t){O||"function"!=typeof A||A(t),O&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!_||t.defaultPrevented||function(t,r,n,i,o,s,l,u="none"){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:h}=e.r(99781);a.default.startTransition(()=>{h(r,i?"replace":"push",!1===o?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l,u)})}}(t,$,x,C,j,L,D,z)},onMouseEnter(e){O||"function"!=typeof R||R(e),O&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),_&&F&&(0,f.onNavigationIntent)(e.currentTarget,!0===V)},onTouchStart:function(e){O||"function"!=typeof M||M(e),O&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),_&&F&&(0,f.onNavigationIntent)(e.currentTarget,!0===V)}};return(0,d.isAbsoluteUrl)($)?X.href=$:O&&!P&&("a"!==i.type||"href"in i.props)||(X.href=(0,h.addBasePath)($)),o=O?a.default.cloneElement(i,X):(0,s.jsx)("a",{...I,...X,children:n}),(0,s.jsx)(v.Provider,{value:y,children:o})}let v=(0,a.createContext)(f.IDLE_LINK_STATUS),b=()=>(0,a.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},85437,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return w}});let n=e.r(55682),i=e.r(90809),o=e.r(43476),s=i._(e.r(71645)),a=n._(e.r(74080)),l=n._(e.r(25633)),u=e.r(8927),c=e.r(87690),d=e.r(18556),h=e.r(65856),p=n._(e.r(1948)),f=e.r(18581),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1};function g(e,t,r,n,i,o,s){let a=e?.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>
100{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function y(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v="u"<typeof window?s.useEffect:s.useLayoutEffect,b=(0,s.forwardRef)(({src:e,srcSet:t,sizes:r,height:n,width:i,decoding:a,className:l,style:u,fetchPriority:c,placeholder:d,loading:h,unoptimized:p,fill:m,onLoadRef:b,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:k,sizesInput:S,onLoad:E,onError:P,...C},T)=>{let j=(0,s.useRef)(!1),A=(0,s.useRef)(null);v(()=>{let{current:e}=j,{current:t}=A;e||null===t||(P&&(t.src=t.src),t.complete&&g(t,d,b,x,w,p,S),j.current=!0)},[e,d,b,x,P,p,S]);let R=(0,f.useMergedRef)(T,A);return(0,o.jsx)("img",{...C,...y(c),loading:h,width:i,height:n,decoding:a,"data-nimg":m?"fill":"1",className:l,style:u,sizes:r,srcSet:t,src:e,ref:R,onLoad:e=>{g(e.currentTarget,d,b,x,w,p,S)},onError:e=>{k(!0),"empty"!==d&&w(!0),P&&P(e)}})});function x({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&a.default.preload?(a.default.preload(t.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(h.RouterContext),n=(0,s.useContext)(d.ImageConfigContext),i=(0,s.useMemo)(()=>{let e=m||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:a,onLoadingComplete:l}=e,f=(0,s.useRef)(a);(0,s.useEffect)(()=>{f.current=a},[a]);let g=(0,s.useRef)(l);(0,s.useEffect)(()=>{g.current=l},[l]);let[y,v]=(0,s.useState)(!1),[w,k]=(0,s.useState)(!1),{props:S,meta:E}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:y,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(b,{...S,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:f,onLoadingCompleteRef:g,setBlurComplete:v,setShowAltText:k,sizesInput:e.sizes,ref:t}),E.preload?(0,o.jsx)(x,{isAppRouter:!r,imgAttributes:S}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=e.r(71645);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},70965,(e,t,r)=>{"use strict";function n(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(70965),i=e.r(43369);function o({config:e,src:t,width:r,quality:s}){let a=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,i.getAssetToken)())a=void 0;else{let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),n=r.get("dpl");if(n){a=n,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
101Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,
101configurable:!0});let l=(0,n.findClosestQuality)(s,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&a?`&dpl=${a}`:""}`}o.__next_img_default=!0;let s=o},25633,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},defaultHead:function(){return d}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(55682),s=e.r(90809),a=e.r(43476),l=s._(e.r(71645)),u=o._(e.r(98879)),c=e.r(42732);function d(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let p=["name","httpEquiv","charSet","itemProp"];function f(e){let t,r,n,i;return e.reduce(h,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,i={},e=>{let o=!0,s=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){s=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?o=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?o=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?o=!1:n.add(r);else{let t=e.props[r],n=i[r]||new Set;("name"!==r||!s)&&n.has(t)?o=!1:(n.add(t),i[r]=n)}}}return o})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function({children:e}){let t=(0,l.useContext)(c.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:f,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},88143,(e,t,r)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:s}){let a=r?40*r:e,l=i?40*i:t,u=a&&l?`viewBox='0 0 ${a} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},87690,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return o},imageConfigDefault:function(){return s}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=["default","imgix","cloudinary","akamai","custom"],s={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return u}});let n=e.r(43369),i=e.r(88143),o=e.r(87690),s=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:d=!1,loading:h,className:p,quality:f,width:m,height:g,fill:y=!1,style:v,overrideSrc:b,onLoad:x,onLoadingComplete:w,placeholder:k="empty",blurDataURL:S,fetchPriority:E,decoding:P="async",layout:C,objectFit:T,objectPosition:j,lazyBoundary:A,lazyRoot:R,...M},O){var L;let D,N,V,{imgConf:I,showAltText:_,blurComplete:F,defaultLoader:z}=O,B=I||o.imageConfigDefault;if("allSizes"in B)D=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>
101e-t),t=B.deviceSizes.sort((e,t)=>e-t),r=B.qualities?.sort((e,t)=>e-t);D={...B,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===z)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let $=M.loader||z;delete M.loader,delete M.srcSet;let U="__next_img_default"in $;if(U){if("custom"===D.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
102Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=$;$=t=>{let{config:r,...n}=t;return e(n)}}if(C){"fill"===C&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(v={...v,...e});let r={responsive:"100vw",fill:"100vw"}[C];r&&!t&&(t=r)}let W="",H=l(m),X=l(g);if((L=e)&&"object"==typeof L&&(a(L)||void 0!==L.src)){let t=a(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(N=t.blurWidth,V=t.blurHeight,S=S||t.blurDataURL,W=t.src,!y)if(H||X){if(H&&!X){let e=H/t.width;X=Math.round(t.height*e)}else if(!H&&X){let e=X/t.height;H=Math.round(t.width*e)}}else H=t.width,X=t.height}let q=!c&&!d&&("lazy"===h||void 0===h);(!(e="string"==typeof e?e:W)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,q=!1),D.unoptimized&&(r=!0),U&&!D.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let G=l(f),Y=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:T,objectPosition:j}:{},_?{}:{color:"transparent"},v),K=F||"empty"===k?null:"blur"===k?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:H,heightInt:X,blurWidth:N,blurHeight:V,blurDataURL:S||"",objectFit:Y.objectFit})}")`:`url("${k}")`,Z=s.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,J=K?{backgroundSize:Z,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},Q=function({config:e,src:t,unoptimized:r,width:i,quality:o,sizes:s,loader:a}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())e=void 0;else if(e){let r=t.indexOf("?");if(-1!==r){let n=new URLSearchParams(t.slice(r+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,r)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},r,n){if(n){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(n);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,s),c=l.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:l.map((r,n)=>`${a({config:e,src:t,quality:o,width:r})} ${"w"===u?r:n+1}${u}`).join(", "),src:a({config:e,src:t,quality:o,width:l[c]})}}({config:D,src:e,unoptimized:r,width:H,quality:G,sizes:t,loader:$}),ee=q?"lazy":h;return{props:{...M,loading:ee,fetchPriority:E,width:H,height:X,decoding:P,className:p,style:{...Y,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:b||Q.src},meta:{unoptimized:r,preload:d||c,placeholder:k,fill:y}}}},18556,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=e.r(55682)._(e.r(71645)),i=e.r(87690),o=n.default.createContext(i.imageConfigDefault)},65856,(e,t,r)=>{"use strict";
102e.i(47167),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(55682)._(e.r(71645)).default.createContext(null)},94909,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(55682),s=e.r(8927),a=e.r(85437),l=o._(e.r(1948));function u(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=a.Image},57688,(e,t,r)=>{t.exports=e.r(94909)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(18967),i=e.r(52817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return a}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,s(e));else t.set(r,s(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",a=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||s.test(n))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${i}${c}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}},98879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});let n=e.r(71645),i="u"<typeof window,o=i?()=>{}:n.useLayoutEffect,s=i?()=>{}:n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return i&&(t?.mountedInstances?.add(e.children),a()),o(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),o(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),s(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},18967,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return x},NormalizeError:function(){return v},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return s},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return h},loadGetInitialProps:function(){return f}
102,normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return k}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&a.test(e)};function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function h(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&h(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class v extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class x extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function k(e){return JSON.stringify({message:e.message,stack:e.stack})}},18566,(e,t,r)=>{t.exports=e.r(76562)},32189,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},65156,(e,t,r)=>{"use strict";var n=e.r(32189);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function e(e,t,r,i,o,s){if(s!==n){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
102;return r.PropTypes=r,r}},45009,(e,t,r)=>{e.i(47167),t.exports=e.r(65156)()},76261,(e,t,r)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case h:case s:case l:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case y:case g:case u:return e;default:return t}}case o:return t}}}function S(e){return k(e)===h}r.AsyncMode=d,r.ConcurrentMode=h,r.ContextConsumer=c,r.ContextProvider=u,r.Element=i,r.ForwardRef=p,r.Fragment=s,r.Lazy=y,r.Memo=g,r.Portal=o,r.Profiler=l,r.StrictMode=a,r.Suspense=f,r.isAsyncMode=function(e){return S(e)||k(e)===d},r.isConcurrentMode=S,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===u},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},r.isForwardRef=function(e){return k(e)===p},r.isFragment=function(e){return k(e)===s},r.isLazy=function(e){return k(e)===y},r.isMemo=function(e){return k(e)===g},r.isPortal=function(e){return k(e)===o},r.isProfiler=function(e){return k(e)===l},r.isStrictMode=function(e){return k(e)===a},r.isSuspense=function(e){return k(e)===f},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===h||e===l||e===a||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===u||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===x||e.$$typeof===w||e.$$typeof===v)},r.typeOf=k},2079,(e,t,r)=>{"use strict";e.i(47167),t.exports=e.r(76261)},98437,(e,t,r)=>{"use strict";var n=e.r(2079),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return n.isMemo(e)?s:a[e.$$typeof]||i}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=s;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;t.exports=function e(t,r,n){if("string"!=typeof r){if(f){var i=p(r);i&&i!==f&&e(t,i,n)}var s=c(r);d&&(s=s.concat(d(r)));for(var a=l(t),m=l(r),g=0;g<s.length;++g){var y=s[g];if(!o[y]&&!(n&&n[y])&&!(m&&m[y])&&!(a&&a[y])){var v=h(r,y);try{u(t,y,v)}catch(e){}}}}return t}}]);

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.