1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55670,t=>{"use strict";var e=t.i(87420),i=t.i(95323);t.s(["default",0,function({locale:t,variant:n="header"}){let r=(0,i.usePathname)();return"mobile"===n?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(i.Link,{href:r,locale:"fr",className:"fr"===t?"text-sm font-semibold text-ink":"text-sm text-ink-faint",children:"FR"}),(0,e.jsx)("span",{className:"text-ink-faint",children:"/"}),(0,e.jsx)(i.Link,{href:r,locale:"en",className:"en"===t?"text-sm font-semibold text-ink":"text-sm text-ink-faint",children:"EN"})]}):"footer"===n?(0,e.jsxs)("div",{className:"flex items-center border border-white/25 text-[11px] font-semibold tracking-wide",children:[(0,e.jsx)(i.Link,{href:r,locale:"fr",className:"fr"===t?"bg-white/15 px-2.5 py-1.5 text-white":"px-2.5 py-1.5 text-white/60",children:"FR"}),(0,e.jsx)(i.Link,{href:r,locale:"en",className:"en"===t?"bg-white/15 px-2.5 py-1.5 text-white":"px-2.5 py-1.5 text-white/60",children:"EN"})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(i.Link,{href:r,locale:"fr",className:"fr"===t?"text-xs tracking-wider text-ink":"text-xs tracking-wider text-ink-faint hover:text-ink",children:"FR"}),(0,e.jsx)(i.Link,{href:r,locale:"en",className:"en"===t?"text-xs tracking-wider text-ink":"text-xs tracking-wider text-ink-faint hover:text-ink",children:"EN"})]})}])},73516,t=>{"use strict";var e=t.i(87420),i=t.i(61893),n=t.i(95323),r=t.i(55670);t.s(["default",0,function({navLinks:t,locale:s,cta:o,ctaHref:a}){let[l,u]=(0,i.useState)(!1);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("button",{"aria-label":l?"Fermer le menu":"Ouvrir le menu","aria-expanded":l,onClick:()=>u(t=>!t),className:"flex h-10 w-10 items-center justify-center rounded border border-line lg:hidden",children:(0,e.jsx)("svg",{width:"18",height:"14",viewBox:"0 0 18 14",children:l?(0,e.jsx)("path",{d:"M1 1L17 13M17 1L1 13",stroke:"var(--ink)",strokeWidth:"2",strokeLinecap:"round"}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("rect",{width:"18",height:"2",fill:"var(--ink)"}),(0,e.jsx)("rect",{y:"6",width:"18",height:"2",fill:"var(--ink)"}),(0,e.jsx)("rect",{y:"12",width:"18",height:"2",fill:"var(--ink)"})]})})}),l&&(0,e.jsxs)("div",{className:"absolute inset-x-0 top-full border-t border-line bg-paper px-5 pb-6 pt-2 shadow-[0_20px_40px_-24px_rgba(20,35,43,0.25)] lg:hidden",children:[(0,e.jsx)("nav",{className:"flex flex-col gap-1",children:t.map(t=>(0,e.jsx)(n.Link,{href:t.href,onClick:()=>u(!1),className:"border-b border-line-soft py-3 text-[15px] text-ink",children:t.label},t.label))}),(0,e.jsx)(n.Link,{href:a,onClick:()=>u(!1),className:"motion-reduce:transition-none mt-4 block rounded-[3px] bg-brand px-6 py-3 text-center text-sm font-semibold text-white transition-all hover:bg-brand-dark active:scale-[0.97]",children:o}),(0,e.jsx)("div",{className:"mt-4 flex items-center gap-3",onClick:()=>u(!1),children:(0,e.jsx)(r.default,{locale:s,variant:"mobile"})})]})]})}])},55138,t=>{"use strict";var e=t.i(87420),i=t.i(61893),n=t.i(95323),r=t.i(44631),s=t.i(42546),o=t.i(40727),a=t.i(39828),l=t.i(99481),u=i,h=t.i(82917);function c(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class d extends u.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,l.isHTMLElement)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=(0,l.isHTMLElement)(t)&&t.offsetWidth||0,n=(0,l.isHTMLElement)(t)&&t.offsetHeight||0,r=getComputedStyle(e),s=this.props.sizeRef.current;s.height=parseFloat(r.height),s.width=parseFloat(r.width),s.top=e.offsetTop,s.left=e.offsetLeft,s.right=i-s.width-s.left,s.bottom=n-s.height-s.top,s.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:t,isPresent:n,anchorX:r,anchorY:s,root:o,pop:a}){let l=(0,u.useId)(),m=(0,u.useRef)(null),f=(0,u.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,u.useContext)(h.MotionConfigContext),y=function(...t){return i.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=c(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():c(t[e],null)}}}}(...t),t)}(m,!1!==a?t.props?.ref??t?.ref:void 0);return(0,u.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:u,right:h,bottom:c,direction:d}=f.current;if(n||!1===a||!m.current||!t||!e)return;let p="rtl"===d,y="left"===r?p?`right: ${h}`:`left: ${u}`:p?`left: ${u}`:`right: ${h}`,v="bottom"===s?`bottom: ${c}`:`top: ${i}`;m.current.dataset.motionPopId=l;let x=document.createElement("style");g&&(x.nonce=g);let b=o??document.head;return b.appendChild(x),x.sheet&&x.sheet.insertRule(` 2 [data-motion-pop-id="${l}"] { 3 position: absolute !important; 4 width: ${t}px !important; 5 height: ${e}px !important; 6 ${y}px !important; 7 ${v}px !important; 8 } 9 `),()=>{m.current?.removeAttribute("data-motion-pop-id"),b.contains(x)&&b.removeChild(x)}},[n]),(0,e.jsx)(d,{isPresent:n,childRef:m,sizeRef:f,pop:a,children:!1===a?t
9:u.cloneElement(t,{ref:y})})}let m=({children:t,initial:n,isPresent:r,onExitComplete:l,custom:u,presenceAffectsLayout:h,mode:c,anchorX:d,anchorY:m,root:g})=>{let y=(0,s.useConstant)(f),v=(0,i.useId)(),x=(0,i.useRef)(r),b=(0,i.useRef)(l);(0,o.useIsomorphicLayoutEffect)(()=>{x.current=r,b.current=l});let w=!0,P=(0,i.useMemo)(()=>(w=!1,{id:v,initial:n,isPresent:r,custom:u,onExitComplete:t=>{for(let e of(y.set(t,!0),y.values()))if(!e)return;l&&l()},register:t=>(y.set(t,!1),()=>{y.delete(t),x.current||y.size||b.current?.()})}),[r,y,l]);return h&&w&&(P={...P}),(0,i.useMemo)(()=>{y.forEach((t,e)=>y.set(e,!1))},[r]),i.useEffect(()=>{r||y.size||!l||l()},[r]),t=(0,e.jsx)(p,{pop:"popLayout"===c,isPresent:r,anchorX:d,anchorY:m,root:g,children:t}),(0,e.jsx)(a.PresenceContext.Provider,{value:P,children:t})};function f(){return new Map}var g=t.i(45584);let y=t=>t.key||"";function v(t){let e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}let x=({children:t,custom:n,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:c=!1,anchorX:d="left",anchorY:p="top",root:f})=>{let[x,b]=(0,g.usePresence)(c),w=(0,i.useMemo)(()=>v(t),[t]),P=c&&!x?[]:w.map(y),S=(0,i.useRef)(!0),T=(0,i.useRef)(w),E=(0,s.useConstant)(()=>new Map),C=(0,i.useRef)(new Set),[M,A]=(0,i.useState)(w),[k,V]=(0,i.useState)(w);(0,o.useIsomorphicLayoutEffect)(()=>{!c||x||k.length||b?.()},[x,c,k.length,b]),(0,o.useIsomorphicLayoutEffect)(()=>{S.current=!1,T.current=w;for(let t=0;t<k.length;t++){let e=y(k[t]);P.includes(e)?(E.delete(e),C.current.delete(e)):!0!==E.get(e)&&E.set(e,!1)}},[k,P.length,P.join("-")]);let R=[];if(w!==M){let t=[...w],e=0;for(let i of k){let n=P.indexOf(y(i));-1===n?(t.splice(e++,0,i),R.push(i)):e=n+R.length+1}return"wait"===h&&R.length&&(t=R),V(v(t)),A(w),null}let{forceRender:L}=(0,i.useContext)(r.LayoutGroupContext);return(0,e.jsx)(e.Fragment,{children:k.map(t=>{let i=y(t),r=(!c||!!x)&&(w===k||P.includes(i));return(0,e.jsx)(m,{isPresent:r,initial:(!S.current||!!a)&&void 0,custom:n,presenceAffectsLayout:u,mode:h,root:f,onExitComplete:r?void 0:()=>{if(C.current.has(i)||!E.has(i))return;C.current.add(i),E.set(i,!0);let t=!0;E.forEach(e=>{e||(t=!1)}),t&&(L?.(),V(T.current),c&&b?.(),l&&l())},anchorX:d,anchorY:p,children:t},i)})})};var b=t.i(53793),w=t.i(13840);t.s(["default",0,function({label:t,href:r,items:s,allLabel:o}){let[a,l]=(0,i.useState)(!1),u=(0,i.useRef)(null),h=(0,w.useReducedMotion)();function c(){u.current&&clearTimeout(u.current),l(!0)}function d(){u.current=setTimeout(()=>l(!1),140)}return(0,e.jsxs)("div",{className:"relative",onMouseEnter:c,onMouseLeave:d,onKeyDown:t=>{"Escape"===t.key&&l(!1)},children:[(0,e.jsxs)(n.Link,{href:r,onFocus:c,onBlur:d,"aria-expanded":a,className:"motion-reduce:after:transition-none relative flex items-center gap-1.5 py-1 text-ink transition-colors after:absolute after:inset-x-0 after:-bottom-0.5 after:h-px after:origin-left after:scale-x-0 after:bg-gold after:transition-transform after:duration-300 hover:text-brand hover:after:scale-x-100",children:[t,(0,e.jsx)("svg",{width:"9",height:"6",viewBox:"0 0 9 6","aria-hidden":!0,className:`motion-reduce:transition-none transition-transform duration-200 ${a?"-rotate-180":""}`,children:(0,e.jsx)("path",{d:"M1 1L4.5 5L8 1",stroke:"currentColor",strokeWidth:"1.4",fill:"none",strokeLinecap:"round"})})]}),(0,e.jsx)(x,{children:a&&(0,e.jsxs)(b.motion.div,{initial:h?void 0:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:h?void 0:{opacity:0,y:-8},transition:{type:"spring",visualDuration:.22,bounce:.15},className:"absolute left-1/2 top-full z-50 mt-3 w-[280px] -translate-x-1/2 rounded-[3px] border border-line bg-surface p-2 shadow-[0_30px_60px_-30px_rgba(11,15,20,0.35)]",children:[s.map(t=>(0,e.jsx)(n.Link,{href:t.href,className:"block rounded-[3px] px-3 py-2.5 text-sm text-ink transition-colors hover:bg-paper-alt hover:text-brand",children:t.label},t.href)),(0,e.jsxs)(n.Link,{href:r,className:"mt-1 block rounded-[3px] border-t border-line-soft px-3 pb-1 pt-2.5 text-sm font-semibold text-brand transition-colors hover:bg-paper-alt",children:[o," â"]})]})})]})}],55138)},63155,t=>{"use strict";var e=t.i(87420);t.s(["default",0,function(){return(0,e.jsxs)("button",{type:"button",onClick:function(){let t=!document.documentElement.classList.contains("dark");document.documentElement.classList.toggle("dark",t);try{localStorage.setItem("theme",t?"dark":"light")}catch{}},"aria-label":"Changer de thème",className:"flex h-9 w-9 flex-none items-center justify-center rounded border border-line text-ink transition-colors hover:border-gold",children:[(0,e.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,
9className:"dark:hidden",children:(0,e.jsx)("path",{d:"M20 14.5A8.5 8.5 0 1 1 9.5 4a7 7 0 0 0 10.5 10.5Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinejoin:"round"})}),(0,e.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,className:"hidden dark:block",children:[(0,e.jsx)("circle",{cx:"12",cy:"12",r:"4.5",stroke:"currentColor",strokeWidth:"1.6"}),(0,e.jsx)("path",{d:"M12 2.5V5M12 19V21.5M21.5 12H19M5 12H2.5M18.36 5.64L16.6 7.4M7.4 16.6L5.64 18.36M18.36 18.36L16.6 16.6M7.4 7.4L5.64 5.64",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})]})}])},95323,t=>{"use strict";var e=t.i(61398),i=t.i(61893),n=t.i(61387),r=i["use".trim()],s=t.i(42589),o=t.i(27857),a=t.i(90167),l=t.i(87420),u=t.i(12957);let{Link:h,redirect:c,usePathname:d,useRouter:p,getPathname:m}=function(t){let{Link:h,config:c,getPathname:d,...p}=function(t,n){var u,h,c;let d={...u=n||{},localePrefix:"object"==typeof(c=u.localePrefix)?c:{mode:c||"always"},localeCookie:!!((h=u.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof h&&h},localeDetection:u.localeDetection??!0,alternateLinks:u.alternateLinks??!0},p=d.pathnames,m=(0,i.forwardRef)(function({href:e,locale:i,...n},a){let u,h;"object"==typeof e?(u=e.pathname,h=e.params):u=e;let c=(0,s.isLocalizableHref)(e),m=t(),g=(0,s.isPromise)(m)?r(m):m,y=c?f({locale:i||g,href:null==p?u:{pathname:u,params:h},forcePrefix:null!=i||void 0}):u;return(0,l.jsx)(o.default,{ref:a,href:"object"==typeof e?{...e,pathname:y}:y,locale:i,localeCookie:d.localeCookie,...n})});function f(t){let e,{forcePrefix:i,href:n,locale:r}=t;return null==p?"object"==typeof n?(e=n.pathname,n.query&&(e+=(0,a.serializeSearchParams)(n.query))):e=n:e=(0,a.compileLocalizedPathname)({locale:r,...(0,a.normalizeNameOrNameWithParams)(n),pathnames:d.pathnames}),(0,a.applyPathnamePrefix)(e,r,d,i)}function g(t){return function(e,...i){return t(f(e),...i)}}return{config:d,Link:m,redirect:g(e.redirect),permanentRedirect:g(e.permanentRedirect),getPathname:f}}(n.useLocale,t);return{...p,Link:h,usePathname:function(){let t,r,o=(t=(0,e.usePathname)(),r=(0,n.useLocale)(),(0,i.useMemo)(()=>{if(!t)return t;let e=t,i=(0,s.getLocalePrefix)(r,c.localePrefix);if((0,s.hasPathnamePrefixed)(i,t))e=(0,s.unprefixPathname)(t,i);else if("never"!==c.localePrefix.mode&&c.localePrefix.prefixes){let i=(0,s.getLocaleAsPrefix)(r);(0,s.hasPathnamePrefixed)(i,t)&&(e=(0,s.unprefixPathname)(t,i))}return e},[c.localePrefix,r,t])),l=(0,n.useLocale)();return(0,i.useMemo)(()=>o&&c.pathnames?(0,a.getRoute)(l,o,c.pathnames):o,[l,o])},useRouter:function(){let t=(0,e.useRouter)(),r=(0,n.useLocale)(),s=(0,e.usePathname)();return(0,i.useMemo)(()=>{function e(t){return function(e,i){let{locale:n,...o}=i||{},a=[d({href:e,locale:n||r,forcePrefix:null!=n||void 0})];Object.keys(o).length>0&&a.push(o),(0,u.default)(c.localeCookie,s,r,n),t(...a)}}return{...t,push:e(t.push),replace:e(t.replace),prefetch:e(t.prefetch)}},[r,s,t])},getPathname:d}}({locales:["fr","en"],defaultLocale:"fr"});t.s(["Link",0,h,"usePathname",0,d],95323)},45584,t=>{"use strict";var e=t.i(61893),i=t.i(39828);t.s(["usePresence",0,function(t=!0){let n=(0,e.useContext)(i.PresenceContext);if(null===n)return[!0,null];let{isPresent:r,onExitComplete:s,register:o}=n,a=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,e.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!r&&s?[!1,l]:[!0]}])},44631,t=>{"use strict";let e=(0,t.i(61893).createContext)({});t.s(["LayoutGroupContext",0,e])},64298,t=>{"use strict";let e=(0,t.i(61893).createContext)({strict:!1});t.s(["LazyContext",0,e])},82917,t=>{"use strict";let e=(0,t.i(61893).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},75981,29378,50546,14402,16820,12246,51311,t=>{"use strict";var e=t.i(61893);let i=(0,e.createContext)({});t.s(["MotionContext",0,i],75981);var n=t.i(97711),r=t.i(81312);function s(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:o,animate:a}=function(t,e){if((0,n.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,r.isVariantLabel)(e)?e:void 0,animate:(0,r.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(i));return(0,e.useMemo)(()=>({initial:o,animate:a}),[s(o),s(a)])}],29378);var o=t.i(34868),a=t.i(26580),l=t.i(40219);let u=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
9function h(t,e,i){for(let n in e)(0,o.isMotionValue)(e[n])||(0,a.isForcedMotionValue)(n,i)||(t[n]=e[n])}t.s(["createHtmlRenderState",0,u],50546);var c=t.i(44638),d=t.i(83376);let p=()=>({...u(),attrs:{}});t.s(["createSvgRenderState",0,p],14402);let m=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 f(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||m.has(t)}var g=t.i(26980);t.s(["useRender",0,function(t,i,n,{latestValues:r},s,a=!1,m,y){let v=(m??(0,g.isSVGComponent)(t)?function(t,i,n,r){let s=(0,e.useMemo)(()=>{let e=p();return(0,c.buildSVGAttrs)(e,i,(0,d.isSVGTag)(r),t.transformTemplate,t.style),{...e.attrs,style:{...e.style}}},[i]);if(t.style){let e={};h(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,i){let n,r,s={},o=(n=t.style||{},h(r={},n,t),Object.assign(r,function({transformTemplate:t},i){return(0,e.useMemo)(()=>{let e=u();return(0,l.buildHTMLStyles)(e,i,t),Object.assign({},e.vars,e.style)},[i])}(t,i)),r);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=o,s})(i,r,s,t),x=function(t,e,i,n){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&!(0,o.isMotionValue)(t[s])&&((s.startsWith("on")?!f(s):n?.(s)??!f(s))||!0===i&&f(s)||!e&&!f(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(i,"string"==typeof t,a,y),b=t!==e.Fragment?{...x,...v,ref:n}:{},{children:w}=i,P=(0,e.useMemo)(()=>(0,o.isMotionValue)(w)?w.get():w,[w]);return(0,e.createElement)(t,{...b,children:P})}],16820);var y=t.i(39365);t.s(["scrapeHTMLMotionValuesFromProps",()=>y.scrapeMotionValuesFromProps],12246),t.s(["resolveMotionValue",0,function(t){return(0,o.isMotionValue)(t)?t.get():t}],51311)},39828,t=>{"use strict";let e=(0,t.i(61893).createContext)(null);t.s(["PresenceContext",0,e])},1586,37955,39561,31054,77198,12145,87150,58957,61308,t=>{"use strict";let e,i;var n=t.i(98205),r=t.i(95756),s=t.i(90796),o=t.i(63597),a=t.i(94624),l=t.i(41992),u=t.i(43035),h=t.i(52405),c=t.i(97914),d=t.i(22643),p=t.i(93563),m=t.i(95136),f=t.i(35061),g=t.i(84982),y=t.i(19367);function v(t){return(0,y.isObject)(t)&&"ownerSVGElement"in t}function x(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}t.s(["isSVGElement",0,v],37955),t.s(["resolveElements",0,x],39561);let b=new WeakMap,w=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:v(n)&&"getBBox"in n?n.getBBox()[e]:n[i],P=w("inline","width","offsetWidth"),S=w("block","height","offsetHeight");function T({target:t,borderBoxSize:e}){b.get(t)?.forEach(i=>{i(t,{get width(){return P(t,e)},get height(){return S(t,e)}})})}function E(t){t.forEach(T)}let C=new Set;function M(t,n){let r;return"function"==typeof t?(C.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};C.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{C.delete(t),C.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(E)),(r=x(t)).forEach(t=>{let i=b.get(t);i||(i=new Set,b.set(t,i)),i.add(n),e?.observe(t)}),()=>{r.forEach(t=>{let i=b.get(t);i?.delete(n),i?.size||e?.unobserve(t)})})}t.s(["resize",0,M],31054);let A=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),k=new Set(["INPUT","SELECT","TEXTAREA"]);function V(t){return k.has(t.tagName)||!0===t.isContentEditable}t.s(["isElementKeyboardAccessible",0,function(t){return A.has(t.tagName)||!0===t.isContentEditable},"isElementTextInput",0,V],77198);var R=t.i(73030);let L=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function j(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,L],12145);let D=t=>e=>L(e)&&t(e,j(e));function O(t,e,i,n){return(0,p.addDomEvent)(t,e,D(i),n)}t.s(["addPointerInfo",0,D,"extractEventInfo",0,j],87150);let B=({current:t})=>t?t.ownerDocument.defaultView:null;var F=t.i(37006),I=t.i(46293),N=t.i(75222);let _=(t,e)=>Math.abs(t-e),$=new Set(["auto","scroll"]);class U{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:a}={}){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=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=z(this.lastRawMoveEventInfo,this.transformPagePoint));let i=G(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(_(t.x,e.x)**2+_(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:a}=o.frameData;this.history.push({...s,timestamp:a});let{onStart:l,onMove:u}=this.handlers;n||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=z(e,this.transformPagePoint),o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=G("pointercancel"===t.type?this.lastMoveEventInfo:z(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!L(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const l=z(j(t),this.transformPagePoint),{point:u}=l,{timestamp:h}=o.frameData;this.history=[{...u,timestamp:h}];const{onSessionStart:c}=e;c&&c(t,G(l,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,I.pipe)(O(this.contextWindow,"pointermove",this.handlePointerMove,d),O(this.contextWindow,"pointerup",this.handlePointerUp,d),O(this.contextWindow,"pointercancel",this.handlePointerUp,d)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);($.has(t.overflowX)||$.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.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(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),o.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}}function z(t,e){return e?{point:e(t.point)}:t}function W(t,e){return{x:t.x-e.x,y:t.y-e.y}}function G({point:t},e){return{point:t,delta:W(t,H(e)),offset:W(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=H(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,N.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>
92*(0,N.secondsToMilliseconds)(.1)&&(i=t[1]);let r=(0,N.millisecondsToSeconds)(n.timestamp-i.timestamp);if(0===r)return{x:0,y:0};let s={x:(n.x-i.x)/r,y:(n.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function H(t){return t[t.length-1]}var X=t.i(45723),K=t.i(10801);function Y(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function q(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function Z(t,e,i){return{min:J(t,e),max:J(t,i)}}function J(t,e){return"number"==typeof t?t:t[e]||0}let Q=new WeakMap;class tt{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,s.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e&&this.snapToCursor(j(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,m.setDragLock)(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(f.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=(0,g.calcLength)(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&o.frame.update(()=>r(t,e),!1,!0),(0,h.addValueToWillChange)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},l=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),s&&o.frame.update(()=>s(t,e),!1,!0)},u=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new U(t,{onSessionStart:r,onStart:s,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:B(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!ti(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,d.mixNumber)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,d.mixNumber)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&(0,F.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:Y(t.x,i,r),y:Y(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:Z(t,"left","right"),y:Z(t,"top","bottom")}}(e),n!==this.constraints&&!(0,F.isRefObject)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(t=>{var e,n;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,F.isRefObject)(e))return!1;let n=e.current;(0,R.invariant)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let s=(0,l.measurePageBox)(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:q(t.x,s.x),y:q(t.y,s.y)});if(i){let t=i((0,u.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,u.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!ti(o,e,this.currentDirection))return;let a=l&&l[o]||{};(!0===s||s===o)&&(a={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...a};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,h.addValueToWillChange)(this.visualElement,t),i.start((0,c.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){(0,a.eachAxis)(e=>{let{drag:i}=this.getProps();if(!ti(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-(0,d.mixNumber)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,F.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let s,o,a,l=e.get();n[t]=(i={min:l,max:l},r=this.constraints[t],s=.5,o=(0,g.calcLength)(i),(a=(0,g.calcLength)(r))>o?s=(0,X.progress)(r.min,r.max-o,i.min):o>a&&(s=(0,X.progress)(i.min,i.max-a,r.min)),(0,K.clamp)(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.eachAxis)(e=>{if(!ti(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,d.mixNumber)(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;Q.set(this.visualElement,this);let e=this.visualElement.current,i=O(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}
9=this.getProps(),r=t.target,s=r!==e&&V(r);i&&n&&!s&&this.start(t)}),n=()=>{var i,n,r;let s,o,{dragConstraints:a}=this.getProps();(0,F.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,s=M(i,te(r=()=>this.scalePositionWithinConstraints())),o=M(n,te(r)),t=()=>{s(),o()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),o.frame.read(n);let l=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,a.eachAxis)(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{l(),i(),s(),u&&u(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function te(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function ti(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tn extends n.Feature{constructor(t){super(t),this.removeGroupControls=r.noop,this.removeListeners=r.noop,this.controls=new tt(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||r.noop}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}t.s(["DragGesture",0,tn],1586);var tr=n;let ts=t=>(e,i)=>{t&&o.frame.update(()=>t(e,i),!1,!0)};class to extends tr.Feature{constructor(){super(...arguments),this.removePointerDownListener=r.noop}onPointerDown(t){this.session=new U(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:B(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:ts(t),onStart:ts(e),onMove:ts(i),onEnd:(t,e)=>{delete this.session,n&&o.frame.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=O(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",0,to],58957),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],61308)},63951,58770,22223,71174,21680,77915,t=>{"use strict";var e=t.i(1586),i=t.i(58957),n=t.i(87420),r=t.i(61308),s=t.i(63597),o=t.i(58871),a=t.i(61893),l=t.i(45584),u=t.i(44631),h=t.i(36032);let c=!1;class d extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&n&&i.register(s),c&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),r.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:o}=i;return o&&(o.isPresent=r,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),c=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?o.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?o.promote():o.relegate()||s.frame.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),o.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;c=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function p(t){let[e,i]=(0,l.usePresence)(),r=(0,a.useContext)(u.LayoutGroupContext);return(0,n.jsx)(d,{...t,layoutGroup:r,switchLayoutGroup:(0,a.useContext)(h.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}t.s(["MeasureLayout",0,p],58770);var m=t.i(67281),f=t.i(10801),g=t.i(95756),y=t.i(97914),v=t.i(58836),x=t.i(34868),b=t.i(32564),w=t.i(7320),P=t.i(752),S=t.i(32188);t.i(75222);var T=t.i(37955),E=t.i(22643),C=t.i(51311),M=t.i(35061),A=t.i(45723),k=t.i(1158),V=t.i(54049);let R=V.cornerRadiusProps.length,L=t=>"string"==typeof t?parseFloat(t):t,j=t=>"number"==typeof t||M.px.test(t);function D(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let O=F(0,.5,k.circOut),B=F(.5,.95,g.noop);function F(t,e,i){return n=>n<t?0:n>e?1:i((0,A.progress)(t,e,n))}function I(t,e){t.min=e.min,t.max=e.max}function N(t,e){I(t.x,e.x),I(t.y,e.y)}function _(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var $=t.i(19551),U=t.i(84982);function z(t,e,i,n,r){return t-=e,t=(0,$.scalePoint)(t,1/i,n),void 0!==r&&(t=(0,$.scalePoint)(t,1/r,n)),t}function W(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(M.percent.test(e)&&(e=parseFloat(e),e=(0,E.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,E.mixNumber)(s.min,s.max,n);t===s&&(a-=e),t.min=z(t.min,e,i,a,r),t.max=z(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let G=["x","scaleX","originX"],H=["y","scaleY","originY"];function X(t,e,i,n){W(t.x,e,G,i?i.x:void 0,n?n.x:void 0),W(t.y,e,H,i?i.y:void 0,n?n.y:void 0)}var K=t.i(90796);function Y(t){return 0===t.translate&&1===t.scale}function q(t){return Y(t.x)&&Y(t.y)}function Z(t,e){return t.min===e.min&&t.max===e.max}function J(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Q(t,e){return J(t.x,e.x)&&J(t.y,e.y)}function tt(t){return(0,U.calcLength)(t.x)/(0,U.calcLength)(t.y)}function te(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var ti=t.i(61086);class tn{constructor(){this.members=[]}add(t){(0,ti.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,ti.removeItem)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,ti.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
9}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:r}=t.options;(void 0===n||n!==r)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var tr=t.i(94624);let ts=(t,e)=>t.depth-e.depth;class to{constructor(){this.children=[],this.isDirty=!1}add(t){(0,ti.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,ti.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ts),this.isDirty=!1,this.children.forEach(t)}}var ta=t.i(28033);let tl=["","X","Y","Z"],tu=0;function th(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function tc({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:a}){return class{constructor(t={},i=e?.()){this.id=tu++,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(tm),this.nodes.forEach(tS),this.nodes.forEach(tT),this.nodes.forEach(tf)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new to)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new m.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,T.isSVGElement)(e)&&(!(0,T.isSVGElement)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,o=()=>this.root.updateBlockedByResize=!1;s.frame.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,a;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=P.time.now(),a=({timestamp:t})=>{let i=t-e;i>=250&&((0,s.cancelFrame)(a),o())},s.frame.setup(a,!0),i=()=>(0,s.cancelFrame)(a),r.globalProjectionState.hasAnimatedSinceResize&&(r.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tP))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||o.getDefaultTransition()||tV,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!Q(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,w.getValueTransition)(r,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||tP(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,s.cancelFrame)(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
9h(tE),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,b.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",s.frame,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(tv),this.nodes.forEach(ty);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tx);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tb),this.nodes.forEach(tw),this.nodes.forEach(td),this.nodes.forEach(tp)):this.nodes.forEach(tx),this.clearAllSnapshots();let t=P.time.now();s.frameData.delta=(0,f.clamp)(0,1e3/60,t-s.frameData.timestamp),s.frameData.timestamp=t,s.frameData.isProcessing=!0,s.frameSteps.update.process(s.frameData),s.frameSteps.preRender.process(s.frameData),s.frameSteps.render.process(s.frameData),s.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,o.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tg),this.sharedNodes.forEach(tC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,s.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){s.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,U.calcLength)(this.snapshot.measuredBox.x)||(0,U.calcLength)(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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,K.createBox)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!a)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!q(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,ta.hasTransform)(this.latestValues)||r)&&(a(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),tj((e=n).x),tj(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,K.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tO))){let{scroll:t}=this.root;t&&((0,$.translateAxis)(e.x,t.offset.x),(0,$.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,K.createBox)();if(N(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&N(e,t),(0,$.translateAxis)(e.x,r.offset.x),(0,$.translateAxis)(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||(0,K.createBox)();N(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,$.translateAxis)(n.x,-i.scroll.offset.x),(0,$.translateAxis)(n.y,-i.scroll.offset.y)),(0,ta.hasTransform)(i.latestValues)&&(0,$.transformBox)(n,i.latestValues,i.layout?.layoutBox)}return(0,ta.hasTransform)(this.latestValues)&&(0,$.transformBox)(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=(0,K.createBox)();N(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];(0,ta.hasTransform)(n.latestValues)&&(n.instance&&((0,ta.hasScale)(n.latestValues)&&n.updateSnapshot(),N(i=(0,K.createBox)(),n.measurePageBox())),X(e,n.latestValues,n.snapshot?.layoutBox,i))}return(0,ta.hasTransform)(this.latestValues)&&X(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.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!==s.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=s.frameData.timestamp;let o=this.getClosestProjectingParent();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)&&(this.target||(this.target=(0,K.createBox)(),this.targetWithTransforms=(0,K.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,U.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):N(this.target,this.layout.layoutBox),(0,$.applyBoxDelta)(this.target,this.targetDelta)):N(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||(0,ta.hasScale)(this.parent.latestValues)||(0,ta.has2DTranslate)(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(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,K.createBox)(),this.relativeTargetOrigin=(0,K.createBox)(),(0,U.calcRelativePosition)(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),N(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
9if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===s.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=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||r))return;N(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,$.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,K.createBox)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(_(this.prevProjectionDelta.x,this.projectionDelta.x),_(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,U.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&te(this.projectionDelta.x,this.prevProjectionDelta.x)&&te(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,K.createDelta)(),this.projectionDelta=(0,K.createDelta)(),this.projectionDeltaWithTransform=(0,K.createDelta)()}setAnimationOrigin(t,e=!1,i){let n,r=this.snapshot,s=r?r.latestValues:{},o={...this.latestValues},a=(0,K.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=(0,K.createBox)(),u=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(tk));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,r=p?.(i);if(r?(a.x.translate=r.x,a.x.scale=(0,E.mixNumber)(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=r.y,a.y.scale=(0,E.mixNumber)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(tM(a.x,t.x,i),tM(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,g,y,v;(0,U.calcRelativePosition)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,y=l,v=i,tA(f.x,g.x,y.x,v),tA(f.y,g.y,y.y,v),n&&(h=this.relativeTarget,m=n,Z(h.x,m.x)&&Z(h.y,m.y))&&(this.isProjectionDirty=!1),n||(n=(0,K.createBox)()),N(n,this.relativeTarget)}u&&(this.animationValues=o,function(t,e,i,n,r,s){r?(t.opacity=(0,E.mixNumber)(0,i.opacity??1,O(n)),t.opacityExit=(0,E.mixNumber)(e.opacity??1,0,B(n))):s&&(t.opacity=(0,E.mixNumber)(e.opacity??1,i.opacity??1,n));for(let r=0;r<R;r++){let s=V.cornerRadiusProps[r],o=D(e,s),a=D(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||j(o)===j(a)?(t[s]=Math.max((0,E.mixNumber)(L(o),L(a),n),0),(M.percent.test(a)||M.percent.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,E.mixNumber)(e.rotate||0,i.rotate||0,n))}(o,s,this.latestValues,i,d,c)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,s.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s.frame.update(()=>{var e,i,n;let s;r.globalProjectionState.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,v.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}},(s=(0,x.isMotionValue)(e)?e:(0,v.motionValue)(e)).start((0,y.animateMotionValue)("",s,i,n)),s.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 t=this.getStack();t&&t.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 t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&tD(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,K.createBox)();let e=(0,U.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=(0,U.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}N(e,i),(0,$.transformBox)(e,r),(0,U.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tn),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
9return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&th("z",t,n,this.animationValues);for(let e=0;e<tl.length;e++)th(`rotate${tl[e]}`,t,n,this.animationValues),th(`skew${tl[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,C.resolveMotionValue)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,C.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,ta.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:r,rotateX:s,rotateY:o,skewX:a,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotate(${r}deg) `),s&&(n+=`rotateX(${s}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,S.scaleCorrectors){if
9(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=S.scaleCorrectors[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,C.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(ty),this.root.sharedNodes.clear()}}}function td(t){t.updateLayout()}function tp(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;if("size"===r)(0,tr.eachAxis)(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=(0,U.calcLength)(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";I(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else tD(r,e.layoutBox,i)&&(0,tr.eachAxis)(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=(0,U.calcLength)(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,K.createDelta)();(0,U.calcBoxDelta)(o,i,e.layoutBox);let a=(0,K.createDelta)();s?(0,U.calcBoxDelta)(a,t.applyTransform(n,!0),e.measuredBox):(0,U.calcBoxDelta)(a,i,e.layoutBox);let l=!q(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=t.options.layoutAnchor||void 0,a=(0,K.createBox)();(0,U.calcRelativePosition)(a,e.layoutBox,r.layoutBox,o);let l=(0,K.createBox)();(0,U.calcRelativePosition)(l,i,s.layoutBox,o),Q(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tm(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tf(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tg(t){t.clearSnapshot()}function ty(t){t.clearMeasurements()}function tv(t){t.isLayoutDirty=!0,t.updateLayout()}function tx(t){t.isLayoutDirty=!1}function tb(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function tw(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tP(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tS(t){t.resolveTargetDelta()}function tT(t){t.calcProjection()}function tE(t){t.resetSkewAndRotation()}function tC(t){t.removeLeadSnapshot()}function tM(t,e,i){t.translate=(0,E.mixNumber)(e.translate,0,i),t.scale=(0,E.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tA(t,e,i,n){t.min=(0,E.mixNumber)(e.min,i.min,n),t.max=(0,E.mixNumber)(e.max,i.max,n)}function tk(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tV={duration:.45,ease:[.4,0,.1,1]},tR=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tL=tR("applewebkit/")&&!tR("chrome/")?Math.round:g.noop;function tj(t){t.min=tL(t.min),t.max=tL(t.max)}function tD(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,U.isNear)(tt(e),tt(i),.2)}function tO(t){return t!==t.root&&t.scroll?.wasRoot}var tB=t.i(93563);let tF=tc({attachResizeListener:(t,e)=>(0,tB.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),tI={current:void 0},tN=tc({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tI.current){let t=new tF({});t.mount(window),t.setOptions({layoutScroll:!0}),tI.current=t}return tI.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,tN],22223);let t_={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tN,MeasureLayout:p}};t.s(["drag",0,t_],63951);
9var t$=t.i(98205),tU=t.i(36245),tz=t.i(39561);function tW(t,e){let i=(0,tz.resolveElements)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}t.s(["setupGesture",0,tW],71174);var tG=t.i(87150);function tH(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&s.frame.postRender(()=>r(e,(0,tG.extractEventInfo)(e)))}class tX extends t$.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=tW(t,i);return n.forEach(t=>{let i,n=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){s=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,tU.isDragActive)())return;s=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}(t,(t,e)=>(tH(this.node,e,"Start"),t=>tH(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",0,tX],21680);var tK=t$,tY=t.i(46293);class tq extends tK.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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=(0,tY.pipe)((0,tB.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tB.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["FocusGesture",0,tq],77915)},66969,98205,7320,52405,32564,46293,1158,45723,70279,21802,34385,97914,35848,94624,93563,36245,95136,84982,t=>{"use strict";var e=t.i(87420),i=t.i(61893),n=t.i(44631),r=t.i(64298),s=t.i(82917),o=t.i(75981),a=t.i(29378),l=t.i(16820),u=t.i(26980),h=t.i(49159),c=t.i(85163),d=t.i(40577),p=t.i(2999),m=t.i(20558),f=t.i(40534),g=t.i(28892),y=t.i(39828),v=t.i(36032),x=t.i(37006),b=t.i(40727);function w(t,{forwardMotionProps:P=!1,type:S}={},T,E){T&&(0,p.loadFeatures)(T);let C=S?"svg"===S:(0,u.isSVGComponent)(t),M=C?c.useSVGVisualState:h.useHTMLVisualState;function A(u,h){let c,p={...(0,i.useContext)(s.MotionConfigContext),...u,layoutId:function({layoutId:t}){let e=(0,i.useContext)(n.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(u)},{isStatic:m,isValidProp:w}=p,S=(0,a.useCreateMotionContext)(u),T=M(u,m);if(!m&&"u">typeof window){(0,i.useContext)(r.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=(0,d.getInitializedFeatureDefinitions)();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(p);c=e.MeasureLayout,S.visualElement=function(t,e,n,a,l,u){let{visualElement:h}=(0,i.useContext)(o.MotionContext),c=(0,i.useContext)(r.LazyContext),d=(0,i.useContext)(y.PresenceContext),p=(0,i.useContext)(s.MotionConfigContext),m=p.reducedMotion,f=p.skipAnimations,w=(0,i.useRef)(null),P=(0,i.useRef)(!1);a=a||c.renderer,!w.current&&a&&(w.current=a(t,{visualState:e,parent:h,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:u}),P.current&&w.current&&(w.current.manuallyAnimateOnMount=!0));let S=w.current,T=(0,i.useContext)(v.SwitchLayoutGroupContext);S&&!S.projection&&l&&("html"===S.type||"svg"===S.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&(0,x.isRefObject)(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(w.current,n,l,T);let E=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{S&&E.current&&S.update(n,d)});let C=n[g.optimizedAppearDataAttribute],M=(0,i.useRef)(!!C&&"u">typeof window&&!window.MotionHandoffIsComplete?.(C)&&window.MotionHasOptimisedAnimation?.(C));return(0,b.useIsomorphicLayoutEffect)(()=>{P.current=!0,S&&(E.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),M.current&&S.animationState&&S.animationState.animateChanges())}),(0,i.useEffect)(()=>{S&&(!M.current&&S.animationState&&S.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(C)}),M.current=!1),S.enteringChildren=void 0)}),S}(t,T,p,E,e.ProjectionNode,C)}return(0,e.jsxs)(o.MotionContext.Provider,{value:S,children:[c&&S.visualElement?(0,e.jsx)(c,{visualElement:S.visualElement,...p}):null,(0,l.useRender)(t,u,(0,f.useMotionRef)(T,S.visualElement,h),T,m,P,C,w)]})}A.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let k=(0,i.forwardRef)(A);return k[m.motionComponentSymbol]=t,k}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return w;let i=new Map,n=(i,n)=>w(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,w(s,void 0,t,e)),i.get(s))})}],66969);class P{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",0,P],98205);var S=t.i(60562);function T(t,e,i){let n=t.getProps();return(0,S.resolveVariantFromProps)(n,e,void 0!==i?i:n.custom,t)}function E(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function C(t,e){let i=t?.[e]??t?.default??t;return i!==t?E(i,t):i}t.s(["getValueTransition",0,C],7320);var M=t.i(9907),A=t.i(58836);let k=t=>Array.isArray(t);var V=t.i(92806),R=t.i(34868);function L(t,e){let i=t.getValue("willChange");if((0,R.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&V.MotionGlobalConfig.WillChange){let i=new V.MotionGlobalConfig.WillChange("auto");
9t.addValue("willChange",i),i.add(e)}}function j(t){return t.props[g.optimizedAppearDataAttribute]}t.s(["addValueToWillChange",0,L],52405),t.s(["getOptimisedAppearId",0,j],32564);var D=t.i(75222),O=t.i(95756),B=t.i(752);let F=(...t)=>t.reduce((t,e)=>i=>e(t(i)));t.s(["pipe",0,F],46293);var I=t.i(10801),N=t.i(73030),_=t.i(43119),$=t.i(30907),U=t.i(96547),z=t.i(49762),W=t.i(82615);function G(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var H=t.i(83866);function X(t,e){return i=>i>0?e:t}var K=t.i(22643);let Y=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},q=[z.hex,H.rgba,W.hsla];function Z(t){let e=q.find(e=>e.test(t));if((0,N.warning)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===W.hsla&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=G(a,n,t+1/3),s=G(a,n,t),o=G(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let J=(t,e)=>{let i=Z(t),n=Z(e);if(!i||!n)return X(t,e);let r={...i};return t=>(r.red=Y(i.red,n.red,t),r.green=Y(i.green,n.green,t),r.blue=Y(i.blue,n.blue,t),r.alpha=(0,K.mixNumber)(i.alpha,n.alpha,t),H.rgba.transform(r))},Q=new Set(["none","hidden"]);function tt(t,e){return i=>(0,K.mixNumber)(t,e,i)}function te(t){return"number"==typeof t?tt:"string"==typeof t?(0,_.isCSSVariableToken)(t)?X:$.color.test(t)?J:tr:Array.isArray(t)?ti:"object"==typeof t?$.color.test(t)?J:tn:X}function ti(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>te(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function tn(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=te(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let tr=(t,e)=>{let i=U.complex.createTransformer(e),n=(0,U.analyseComplexValue)(t),r=(0,U.analyseComplexValue)(e);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return(0,N.warning)(!0,`Complex values '${t}' and '${e}' 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.`,"complex-values-different"),X(t,e);if(Q.has(t)&&!r.values.length||Q.has(e)&&!n.values.length)return Q.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return F(ti(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(n,r),r.values),i)};function ts(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,K.mixNumber)(t,e,i):te(t)(t,e)}var to=t.i(63597);let ta=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>to.frame.update(e,t),stop:()=>(0,to.cancelFrame)(e),now:()=>to.frameData.isProcessing?to.frameData.timestamp:B.time.now()}};var tl=t.i(98147);function tu(t,e=50,i=2e4,n){let r=0,s=t.next(r);for(n?.push(s.value);!s.done&&r<i;)r+=e,s=t.next(r),n?.push(s.value);return r>=i?1/0:r}let th=.01,tc=2,td=.005,tp=.5;function tm(t,e){return t*Math.sqrt(1-e*e)}let tf=["duration","bounce"],tg=["stiffness","damping","mass"];function ty(t,e){return e.some(e=>void 0!==t[e])}function tv(t=.3,e=.3){let i,n,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:s,restDelta:o}=r,a=r.keyframes[0],l=r.keyframes[r.keyframes.length-1],u={done:!1,value:a},{stiffness:h,damping:c,mass:d,duration:p,velocity:m,isResolvedFromDuration:f}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!ty(t,tg)&&ty(t,tf))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,I.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let r,s;(0,N.warning)(t<=(0,D.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=(0,I.clamp)(.05,1,o),t=(0,I.clamp)(.01,10,(0,D.millisecondsToSeconds)(t)),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/tm(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=o*o*e*e*t,a=Math.exp(-n),l=tm(e*e,o);return(n*i+i-s)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
9let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=(0,D.secondsToMilliseconds)(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=a*a*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-(0,D.millisecondsToSeconds)(r.velocity||0)}),g=m||0,y=c/(2*Math.sqrt(h*d)),v=l-a,x=(0,D.millisecondsToSeconds)(Math.sqrt(h/d)),b=y*x,w=5>Math.abs(v);if(s||(s=w?th:tc),o||(o=w?td:tp),y<1){let t=tm(x,y),e=(g+b*v)/t,r=b*e+v*t,s=b*v-e*t,o=-1,a=0,u=0,h=i=>{if(i!==o){o=i;let n=Math.exp(-b*i),h=Math.sin(t*i),c=Math.cos(t*i);a=l-n*(e*h+v*c),u=n*(r*h+s*c)}};i=t=>(h(t),a),n=t=>(h(t),u)}else if(1===y){i=t=>l-Math.exp(-x*t)*(v+(g+x*v)*t);let t=g+x*v;n=e=>Math.exp(-x*e)*(x*t*e-g)}else{let t=x*Math.sqrt(y*y-1);i=e=>{let i=Math.exp(-b*e),n=Math.min(t*e,300);return l-i*((g+b*v)*Math.sinh(n)+t*v*Math.cosh(n))/t};let e=(g+b*v)/t,r=b*e-v*t,s=b*v-e*t;n=e=>{let i=Math.exp(-b*e),n=Math.min(t*e,300);return i*(r*Math.sinh(n)+s*Math.cosh(n))}}let P={calculatedDuration:f&&p||null,velocity:t=>(0,D.secondsToMilliseconds)(n(t)),next:t=>{let e=i(t);return f?u.done=t>=p:u.done=Math.abs((0,D.secondsToMilliseconds)(n(t)))<=s&&Math.abs(l-e)<=o,u.value=u.done?l:e,u},toString:()=>{let t=Math.min(tu(P),2e4),e=(0,tl.generateLinearEasing)(e=>P.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return P}function tx({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,y=void 0===o?g:o(g);y!==g&&(f=y-p);let v=t=>-f*Math.exp(-t/n),x=t=>{let e=v(t);m.done=Math.abs(e)<=u,m.value=m.done?y:y+e},b=t=>{let e;if((e=m.value)<a||e>l){var i;c=t,d=tv({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:-v(t)/n*1e3,damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,x(t),b(t)),void 0!==c&&t>=c)?d.next(t-c):(e||x(t),m)}}}tv.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(tu(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:(0,D.millisecondsToSeconds)(r)}}(t,100,tv);return t.ease=e.ease,t.duration=(0,D.secondsToMilliseconds)(e.duration),t.type="keyframes",t};let tb=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tw(t,e,i,n){return t===e&&i===n?O.noop:r=>0===r||1===r?r:tb(function(t,e,i,n,r){let s,o,a=0;do(s=tb(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12)return o}(r,0,1,t,i),e,n)}let tP=tw(.42,0,1,1),tS=tw(0,0,.58,1),tT=tw(.42,0,.58,1),tE=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tC=t=>e=>1-t(1-e),tM=tw(.33,1.53,.69,.99),tA=tC(tM),tk=tE(tA),tV=t=>t>=1?1:(t*=2)<1?.5*tA(t):.5*(2-Math.pow(2,-10*(t-1))),tR=t=>1-Math.sin(Math.acos(t)),tL=tC(tR),tj=tE(tR);t.s(["circIn",0,tR,"circInOut",0,tj,"circOut",0,tL],1158);var tD=t.i(22451);let tO={linear:O.noop,easeIn:tP,easeInOut:tT,easeOut:tS,circIn:tR,circInOut:tj,circOut:tL,backIn:tA,backInOut:tk,backOut:tM,anticipate:tV},tB=t=>{if((0,tD.isBezierDefinition)(t)){(0,N.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return tw(e,i,n,r)}return"string"==typeof t?((0,N.invariant)(void 0!==tO[t],`Invalid easing type '${t}'`,"invalid-easing-type"),tO[t]):t},tF=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1};function tI(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if((0,N.invariant)(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],r=i||V.MotionGlobalConfig.mix||ts,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=F(Array.isArray(e)?e[i]||O.noop:e,s)),n.push(s)}return n}(e,n,r),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=tF(t[n],t[n+1],i);return a[n](r)};return i?e=>u((0,I.clamp)(t[0],t[s-1],e)):u}function tN(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=tF(0,e,n);t.push((0,K.mixNumber)(i,1,r))}}(e,t.length-1),e}function t_({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(tB):tB(n),o={done:!1,value:e[0]}
9,a=tI((r=i&&i.length===e.length?i:tN(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||tT).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}t.s(["progress",0,tF],45723),t.s(["interpolate",0,tI],70279),t.s(["defaultOffset",0,tN],21802);var t$=t.i(85338),tU=t.i(73881);let tz={decay:tx,inertia:tx,tween:t_,keyframes:t_,spring:tv};function tW(t){"string"==typeof t.type&&(t.type=tz[t.type])}var tG=t.i(91736);let tH=t=>t/100;class tX extends tG.WithPromise{constructor(t){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:t}=this.options;t&&t.updatedAt!==B.time.now()&&this.tick(B.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tW(t);let{type:e=t_,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:o}=t,a=e||t_;a!==t_&&"number"!=typeof o[0]&&(this.mixKeyframes=F(tH,ts(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=tu(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:r,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>r;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,b=n;if(c){let t=Math.min(this.currentTime,r)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/a)):"mirror"===d&&(b=o)),x=(0,I.clamp)(0,1,i)*a}v?(this.delayState.value=h[0],i=this.delayState):i=b.next(x),s&&!v&&(i.value=s(i.value));let{done:w}=i;v||null===l||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return P&&m!==tx&&(i.value=(0,tU.getFinalKeyframe)(h,this.options,g,this.speed)),f&&f(i.value),P&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,D.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,D.millisecondsToSeconds)(t)}get time(){return(0,D.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,D.secondsToMilliseconds)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){var t;let e,i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);let n=this.generator.next(i).value;return t=t=>this.generator.next(t).value,e=Math.max(i-5,0),(0,t$.velocityPerSecond)(n-t(e),i-e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(B.time.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,D.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=ta,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"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(B.time.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(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}t.s(["JSAnimation",0,tX],34385);var tK=t.i(53494),tY=t.i(93094),tq=t.i(57713);let tZ={anticipate:tV,backInOut:tk,circInOut:tj};class tJ extends tq.NativeAnimation{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tZ&&(t.ease=tZ[t.ease])}(t),tW(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new tX({...s,autoplay:!1}),a=Math.max(10,B.time.now()-this.startTime),l=(0,I.clamp)(0,10,a-10),u=o.sample(a).value,{name:h}=this.options;r&&h&&(0,tY.setStyle)(r,h,u),e.setWithVelocity(o.sample(Math.max(0,a-l)).value,u,l),o.stop()}}
9var tQ=t.i(71587);let t0=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(U.complex.test(t)||"0"===t)&&!t.startsWith("url("));function t1(t){t.duration=0,t.type="keyframes"}var t3=tG,t5=t.i(64228),t2=t.i(81545);let t8=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,t9=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),t6=(0,t5.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class t4 extends t3.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=B.time.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||tK.KeyframeResolver;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let r;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=B.time.now();let c=!0;!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=t0(r,e),a=t0(s,e);return(0,N.warning)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tQ.isGenerator)(i))&&n)}(t,s,o,a)&&(c=!1,(V.MotionGlobalConfig.instantAnimations||!l)&&h?.((0,tU.getFinalKeyframe)(t,i,e)),t[0]=t[t.length-1],t1(i),i.repeat=0);let d={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=c&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:h}=e.owner.getProps();return t6()&&i&&(t2.acceleratedValues.has(i)||t9.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&t8.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!h)&&!u&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(d),m=d.motionValue?.owner?.current;if(p)try{r=new tJ({...d,element:m})}catch{r=new tX(d)}else r=new tX(d);r.finished.then(()=>{this.notifyFinished()}).catch(O.noop),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,tK.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var t7=t.i(41972);let et={type:"spring",stiffness:500,damping:25,restSpeed:10},ee={type:"keyframes",duration:.8},ei={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},en=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),er=(t,e,i,n={},r,s)=>o=>{let a=C(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,D.secondsToMilliseconds)(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function(t){for(let e in t)if(!en.has(e))return!0;return!1}(a)&&Object.assign(h,((t,{keyframes:e})=>e.length>2?ee:t7.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:et:ei)(t,h)),h.duration&&(h.duration=(0,D.secondsToMilliseconds)(h.duration)),h.repeatDelay&&(h.repeatDelay=(0,D.secondsToMilliseconds)(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(t1(h),0===h.delay&&(c=!0)),(V.MotionGlobalConfig.instantAnimations||V.MotionGlobalConfig.skipAnimations||r?.shouldSkipAnimations||a.skipAnimations)&&(c=!0,t1(h),h.delay=0),h.allowFlatten=!a.type&&!a.ease,c&&!s&&void 0!==e.get()){let t=(0,tU.getFinalKeyframe)(h.keyframes,a);if(void 0!==t)return void to.frame.update(()=>{h.onUpdate(t),h.onComplete()})}return a.isSync?new tX(h):new t4(h)};t.s(["animateMotionValue",0,er],97914);let es="u">typeof window;function eo(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?E(s,l):l;let u=s?.reduceMotion,h=s?.skipAnimations;n&&(s=n);let c=[],d=r&&t.animationState&&t.animationState.getState()[r],p=s?.path;for(let e in p&&p.animateVisualElement(t,a,s,i,c),a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||d&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(d,e))continue;let o={delay:i,...C(s||{},e)};h&&(o.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(r)&&r===l&&!o.velocity){to.frame.update(()=>n.set(r));continue}let p=!1;if(es&&window.MotionHandoffAnimation){let i=j(t);if(i){let t=window.MotionHandoffAnimation(i,e,to.frame);null!==t&&(o.startTime=t,p=!0)}}L(t,e);let m=u??t.shouldReduceMotion;n.start(er(e,n,r,m&&M.positionalKeys.has(e)?{type:!1}:o,t,p));let f=n.animation;f&&c.push(f)}if(o){let e=()=>to.frame.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=T(t,e)||{};for(let e in r={...r,...i}){var s;let i=k(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,A.motionValue)(i))}}(t,o)});c.length?Promise.all(c).then(e):e()}return c}
9function ea(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function el(t,e,i={}){let n=T(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(eo(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(el(l,e,{...o,delay:i+("function"==typeof n?0:n)+ea(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}var eu=t.i(81312),eh=t.i(99842);let ec=eh.variantProps.length;var ed=t.i(30095);function ep(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let em=[...eh.variantPriorityOrder].reverse(),ef=eh.variantPriorityOrder.length;function eg(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ey(){return{animate:eg(!0),whileInView:eg(),whileHover:eg(),whileTap:eg(),whileDrag:eg(),whileFocus:eg(),exit:eg()}}let ev=0;t.s(["animations",0,{animation:{Feature:class extends P{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>el(t,e,i)));else if("string"==typeof e)n=el(t,e,i);else{let r="function"==typeof e?T(t,e,i.custom):e;n=Promise.all(eo(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ey(),n=!0,r=!1,s=e=>(i,n)=>{let r=T(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function o(o){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<ec;t++){let n=eh.variantProps[t],r=e.props[n];((0,eu.isVariantLabel)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},u=[],h=new Set,c={},d=1/0;for(let e=0;e<ef;e++){var p,m;let f=em[e],g=i[f],y=void 0!==a[f]?a[f]:l[f],v=(0,eu.isVariantLabel)(y),x=f===o?g.isActive:null;!1===x&&(d=e);let b=y===l[f]&&y!==a[f]&&v;if(b&&(n||r)&&t.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...c},!g.isActive&&null===x||!y&&!g.prevProp||(0,ed.isAnimationControls)(y)||"boolean"==typeof y)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(m=y)?m!==p:!!Array.isArray(m)&&!ep(m,p)),P=w||f===o&&g.isActive&&!b&&v||e>d&&v,S=!1,E=Array.isArray(y)?y:[y],C=E.reduce(s(f),{});!1===x&&(C={});let{prevResolvedValues:M={}}=g,A={...M,...C},V=e=>{P=!0,h.has(e)&&(S=!0,h.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in A){let e=C[t],i=M[t];if(!c.hasOwnProperty(t))(k(e)&&k(i)?!ep(e,i)||w:e!==i)?null!=e?V(t):h.add(t):void 0!==e&&h.has(t)?V(t):g.protectedKeys[t]=!0}g.prevProp=y,g.prevResolvedValues=C,g.isActive&&(c={...c,...C}),(n||r)&&t.blockInitialAnimation&&(P=!1);let R=b&&w,L=!R||S;P&&L&&u.push(...E.map(e=>{let i={type:f};if("string"==typeof e&&(n||r)&&!R&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=T(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=ea(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=T(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,r=!1,f?e(u):Promise.resolve()}
9return{animateChanges:o,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=o(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ey(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,ed.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends P{constructor(){super(...arguments),this.id=ev++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=T(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}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",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
9e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}}],35848),t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}],94624),t.s(["addDomEvent",0,function(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}],93563);let ex={x:!1,y:!1};t.s(["isDragActive",0,function(){return ex.x||ex.y},"isDragging",0,ex],36245),t.s(["setDragLock",0,function(t){if("x"===t||"y"===t)if(ex[t])return null;else return ex[t]=!0,()=>{ex[t]=!1};return ex.x||ex.y?null:(ex.x=ex.y=!0,()=>{ex.x=ex.y=!1})}],95136);function eb(t){return t.max-t.min}function ew(t,e,i,n=.5){t.origin=n,t.originPoint=(0,K.mixNumber)(e.min,e.max,t.origin),t.scale=eb(i)/eb(e),t.translate=(0,K.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function eP(t,e,i,n=0){t.min=(n?(0,K.mixNumber)(i.min,i.max,n):i.min)+e.min,t.max=t.min+eb(e)}function eS(t,e,i,n=0){let r=n?(0,K.mixNumber)(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+eb(e)}t.s(["calcBoxDelta",0,function(t,e,i,n){ew(t.x,e.x,i.x,n?n.originX:void 0),ew(t.y,e.y,i.y,n?n.originY:void 0)},"calcLength",0,eb,"calcRelativeBox",0,function(t,e,i,n){eP(t.x,e.x,i.x,n?.x),eP(t.y,e.y,i.y,n?.y)},"calcRelativePosition",0,function(t,e,i,n){eS(t.x,e.x,i.x,n?.x),eS(t.y,e.y,i.y,n?.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],84982)},94878,41972,10801,83866,49762,35061,82615,30907,96547,90796,34868,9907,73030,43119,95756,92806,63597,53494,75222,61086,67281,93094,64228,78421,73881,91736,22451,98147,71587,57713,81545,58871,752,85338,58836,30095,81312,99842,97711,27413,1032,60562,76832,64660,40219,44638,83376,54049,22643,32188,26580,39365,93500,43035,28033,19551,41992,26980,t=>{"use strict";let e,i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set([...i,"pathRotation"]);t.s(["transformPropOrder",0,i,"transformProps",0,n],41972);let r=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",0,r],10801);let s={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...s,transform:t=>r(0,1,t)},a={...s,default:1},l=t=>Math.round(1e5*t)/1e5,u=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,h=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,c=(t,e)=>i=>!!("string"==typeof i&&h.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),d=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,o,a]=n.match(u);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},p={...s,transform:t=>Math.round(r(0,255,t))},m={test:c("rgb","red"),parse:d("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+p.transform(t)+", "+p.transform(e)+", "+p.transform(i)+", "+l(o.transform(n))+")"};t.s(["rgba",0,m],83866);let f={test:c("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:m.transform};t.s(["hex",0,f],49762);let g=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),y=g("deg"),v=g("%"),x=g("px"),b=g("vh"),w=g("vw"),P={...v,parse:t=>v.parse(t)/100,transform:t=>v.transform(100*t)};t.s(["degrees",0,y,"percent",0,v,"progressPercentage",0,P,"px",0,x,"vh",0,b,"vw",0,w],35061);let S={test:c("hsl","hue"),parse:d("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+v.transform(l(e))+", "+v.transform(l(i))+", "+l(o.transform(n))+")"};t.s(["hsla",0,S],82615);let T={test:t=>m.test(t)||f.test(t)||S.test(t),parse:t=>m.test(t)?m.parse(t):S.test(t)?S.parse(t):f.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?m.transform(t):S.transform(t),getAnimatableNone:t=>{let e=T.parse(t);return e.alpha=0,T.transform(e)}};t.s(["color",0,T],30907);let E=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,C="number",M="color",A=/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 k(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]}
9,r=[],s=0,o=e.replace(A,t=>(T.test(t)?(n.color.push(s),r.push(M),i.push(T.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(C),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function V({split:t,types:e}){let i=t.length;return n=>{let r="";for(let s=0;s<i;s++)if(r+=t[s],void 0!==n[s]){let t=e[s];t===C?r+=l(n[s]):t===M?r+=T.transform(n[s]):r+=n[s]}return r}}let R={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(u)?.length||0)+(t.match(E)?.length||0)>0},parse:function(t){return k(t).values},createTransformer:function(t){return V(k(t))},getAnimatableNone:function(t){let e=k(t);return V(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:T.test(t)?T.getAnimatableNone(t):t)(t,e.split[i])))}};t.s(["analyseComplexValue",0,k,"complex",0,R],96547);let L=new Set(["brightness","contrast","saturate","opacity"]);function j(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(u)||[];if(!n)return t;let r=i.replace(n,""),s=+!!L.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let D=/\b([a-z-]*)\(.*?\)/gu,O={...R,getAnimatableNone:t=>{let e=t.match(D);return e?e.map(j).join(" "):t}},B={...R,getAnimatableNone:t=>{let e=R.parse(t);return R.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},F={...s,transform:Math.round},I={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,inset:x,insetBlock:x,insetBlockStart:x,insetBlockEnd:x,insetInline:x,insetInlineStart:x,insetInlineEnd:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,paddingBlock:x,paddingBlockStart:x,paddingBlockEnd:x,paddingInline:x,paddingInlineStart:x,paddingInlineEnd:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,marginBlock:x,marginBlockStart:x,marginBlockEnd:x,marginInline:x,marginInlineStart:x,marginInlineEnd:x,fontSize:x,backgroundPositionX:x,backgroundPositionY:x,rotate:y,pathRotation:y,rotateX:y,rotateY:y,rotateZ:y,scale:a,scaleX:a,scaleY:a,scaleZ:a,skew:y,skewX:y,skewY:y,distance:x,translateX:x,translateY:x,translateZ:x,x:x,y:x,z:x,perspective:x,transformPerspective:x,opacity:o,originX:P,originY:P,originZ:x,zIndex:F,fillOpacity:o,strokeOpacity:o,numOctaves:F},N={...I,color:T,backgroundColor:T,outlineColor:T,fill:T,stroke:T,borderColor:T,borderTopColor:T,borderRightColor:T,borderBottomColor:T,borderLeftColor:T,filter:O,WebkitFilter:O,mask:B,WebkitMask:B},_=t=>N[t],$=()=>({translate:0,scale:1,origin:0,originPoint:0}),U=()=>({min:0,max:0}),z=()=>({x:U(),y:U()});t.s(["createBox",0,z,"createDelta",0,()=>({x:$(),y:$()})],90796);let W=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",0,W],34868);let G=new Set(["width","height","top","left","right","bottom",...i]);t.s(["positionalKeys",0,G],9907);let H=t=>e=>e.test(t),X=[s,x,v,y,w,b,{test:t=>"auto"===t,parse:t=>t}],K=t=>X.find(H(t));var Y=t.i(59378);let q=()=>{};Y.default,t.s(["invariant",0,q,"warning",0,()=>{}],73030);let Z=t=>e=>"string"==typeof e&&e.startsWith(t),J=Z("--"),Q=Z("var(--"),tt=t=>!!Q(t)&&te.test(t.split("/*")[0].trim()),te=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ti(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}t.s(["containsCSSVariable",0,ti,"isCSSVariableName",0,J,"isCSSVariableToken",0,tt],43119);let tn=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tr=t=>180*t/Math.PI,ts=t=>ta(tr(Math.atan2(t[1],t[0]))),to={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ts,rotateZ:ts,skewX:t=>tr(Math.atan(t[1])),skewY:t=>tr(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},ta=t=>((t%=360)<0&&(t+=360),t),tl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tu=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),th={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tl,scaleY:tu,scale:t=>(tl(t)+tu(t))/2,rotateX:t=>ta(tr(Math.atan2(t[6],t[5]))),rotateY:t=>ta(tr(Math.atan2(-t[2],t[0]))),rotateZ:ts,rotate:ts,skewX:t=>tr(Math.atan(t[4])),skewY:t=>tr(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tc(t){return+!!t.includes("scale")}function td(t,e){let i,n;if(!t||"none"===t)return tc(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=th,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=to,n=e}if(!n)return tc(e);let s=i[e],o=n[1].split(",").map(tp);return"function"==typeof s?s(o):o[s]}function tp(t){return parseFloat(t.trim())}let tm=t=>t===s||t===x,tf=new Set(["x","y","z"]),tg=i.filter(t=>!tf.has(t)),ty={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>td(e,"x"),y:(t,{transform:e})=>td(e,"y")};ty.translateX=ty.x,ty.translateY=ty.y;let tv=t=>t;t.s(["noop",0,tv],95756);let tx={};t.s(["MotionGlobalConfig",0,tx],92806);let tb=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tw(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=tb.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0;let s=e;e=i,i=s,e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(s),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:m}=o,f=()=>{let s=tx.useManualTiming,o=s?r.timestamp:performance.now();i=!1,s||(r.delta=n?1e3/60:Math.max(Math.min(o-r.timestamp,40),1)),r.timestamp=o,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),h.process(r),c.process(r),d.process(r),p.process(r),m.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:tb.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(f)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<tb.length;e++)o[tb[e]].cancel(t)},state:r,steps:o}}let{schedule:tP,cancel:tS,state:tT,steps:tE}=tw("u">typeof requestAnimationFrame?requestAnimationFrame:tv,!0);t.s(["cancelFrame",0,tS,"frame",0,tP,"frameData",0,tT,"frameSteps",0,tE],63597);let tC=new Set,tM=!1,tA=!1,tk=!1;function tV(){if(tA){let t=Array.from(tC).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],tg.forEach(i=>
9{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tA=!1,tM=!1,tC.forEach(t=>t.complete(tk)),tC.clear()}function tR(){tC.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tA=!0)})}class tL{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tC.add(this),tM||(tM=!0,tP.read(tR),tP.resolveKeyframes(tV))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tC.delete(this)}cancel(){"scheduled"===this.state&&(tC.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}t.s(["KeyframeResolver",0,tL,"flushKeyframeResolvers",0,function(){tk=!0,tR(),tV(),tk=!1}],53494);let tj=new Set([O,B]);function tD(t,e){let i=_(t);return tj.has(i)||(i=R),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tO=new Set(["auto","none","0"]);class tB extends tL{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&tt(n=n.trim())){let r=function t(e,i,n=1){q(`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,s]=function(t){let e=tn.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tt(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!G.has(i)||2!==t.length)return;let[n,r]=t,s=K(n),o=K(r);if(ti(n)!==ti(r)&&ty[i]){this.needsMeasurement=!0;return}if(s!==o)if(tm(s)&&tm(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else ty[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!tO.has(e)&&k(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tD(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ty[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=ty[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
9h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tF=t=>1e3*t,tI=t=>t/1e3;function tN(t,e){-1===t.indexOf(e)&&t.push(e)}function t_(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["millisecondsToSeconds",0,tI,"secondsToMilliseconds",0,tF],75222),t.s(["addUniqueItem",0,tN,"removeItem",0,t_],61086);class t${constructor(){this.subscriptions=[]}add(t){return tN(this.subscriptions,t),()=>t_(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tU(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function tz(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["SubscriptionManager",0,t$],67281),t.s(["setStyle",0,tU],93094),t.s(["memo",0,tz],64228);let tW={};function tG(t,e){let i=tz(t);return()=>tW[e]??i()}let tH=tG(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tX=tG(()=>void 0!==window.ViewTimeline,"viewTimeline");t.s(["supportsScrollTimeline",0,tH,"supportsViewTimeline",0,tX],78421);let tK=t=>null!==t;function tY(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(tK),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}t.s(["getFinalKeyframe",0,tY],73881);class tq{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}t.s(["WithPromise",0,tq],91736);let tZ=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",0,tZ],22451);let tJ=tG(()=>{try{document.createElement("div").animate({opacity:0}
9,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),tQ=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};t.s(["generateLinearEasing",0,tQ],98147);let t0=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,t1={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t0([0,.65,.55,1]),circOut:t0([.55,0,1,.45]),backIn:t0([.31,.01,.66,-.59]),backOut:t0([.33,1.53,.69,.99])};function t3(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",0,t3],71587);class t5 extends tq{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,q(t.type);const l=function({type:t,...e}){return t3(t)&&tJ()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?tJ()?tQ(e,i):"ease-out":tZ(e)?t0(e):Array.isArray(e)?e.map(e=>t(e,i)||t1.easeOut):t1[e]}(a,r);Array.isArray(c)&&(h.easing=c);let d={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(h,d)}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=tY(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tU(e,i,t),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(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return tI(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tI(t)}get time(){return tI(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tF(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tH())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tv):n(this)}}t.s(["NativeAnimation",0,t5],57713);let t2=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);t.s(["acceleratedValues",0,t2],81545);let{schedule:t8,cancel:t9}=tw(queueMicrotask,!1);function t6(){e=void 0}t.s(["cancelMicrotask",0,t9,"microtask",0,t8],58871);let t4={now:()=>(void 0===e&&t4.set(tT.isProcessing||tx.useManualTiming?tT.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(t6)}};t.s(["time",0,t4],752);let t7=(t,e)=>e?1e3/e*t:0;t.s(["velocityPerSecond",0,t7],85338);let et={current:void 0};class ee{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=t4.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=t4.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new t$);let i=this.events[t].add(e);return"change"===t?()=>{i(),tP.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return et.current&&et.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=t4.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t7(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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 ei(t,e){return new ee(t,e)}t.s(["collectMotionValues",0,et,"motionValue",0,ei],58836);let en=[...X,T,R],er=new WeakMap;function es(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function eo(t){return"string"==typeof t||Array.isArray(t)}t.s(["isAnimationControls",0,es],30095),t.s(["isVariantLabel",0,eo],81312);let ea=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],el=["initial",...ea];function eu(t){return es(t.animate)||el.some(e=>eo(t[e]))}function eh(t){return!!(eu(t)||t.variants)}t.s(["variantPriorityOrder",0,ea,"variantProps",0,el],99842),t.s(["isControllingVariants",0,eu,"isVariantNode",0,eh],97711);let ec={current:null},ed={current:!1};t.s(["hasReducedMotionListener",0,ed,"prefersReducedMotion",0,ec],27413);let ep="u">typeof window;function em(){if(ed.current=!0,ep)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ec.current=t.matches;t.addEventListener("change",e),e()}else ec.current=!1}function ef(t){let e=[{},{}];
9return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function eg(t,e,i,n){if("function"==typeof e){let[r,s]=ef(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=ef(n);e=e(void 0!==i?i:t.custom,r,s)}return e}t.s(["initPrefersReducedMotion",0,em],1032),t.s(["resolveVariantFromProps",0,eg],60562);let ey=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ev={};class ex{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:o},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=tL,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 t=t4.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tP.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=eu(e),this.isVariantNode=eh(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in c){const e=c[t];void 0!==l[t]&&W(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,er.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(ed.current||em(),this.shouldReduceMotion=ec.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tS(this.notifyUpdate),tS(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&t2.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:s,duration:o}=e.accelerate,a=new t5({element:this.current,name:t,keyframes:n,times:r,ease:s,duration:tF(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let r=n.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tP.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in ev){let e=ev[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
9e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):z()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ey.length;e++){let i=ey[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if(W(r))t.addValue(n,r);else if(W(s))t.addValue(n,ei(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,ei(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=ei(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!en.find(H(n))&&R.test(e)&&(i=tD(t,e))}this.setBaseTarget(t,W(i)?i.get():i)}return W(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=eg(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||W(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new t$),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t8.render(this.render)}}t.s(["VisualElement",0,ex,"getFeatureDefinitions",0,function(){return ev},"setFeatureDefinitions",0,function(t){ev=t}],76832);class eb extends ex{constructor(){super(...arguments),this.KeyframeResolver=tB}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;W(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function ew(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}t.s(["camelToDash",0,ew],64660);let eP=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eT=i.length;function eE(t,e,r){let{style:s,vars:o,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(n.has(t)){l=!0;continue}if(J(t)){o[t]=i;continue}{let e=eP(i,I[t]);t.startsWith("origin")?(u=!0,a[t]=e):s[t]=e}}if(!e.transform&&(l||r?s.transform=function(t,e,n){let r="",s=!0;for(let o=0;o<eT;o++){let a=i[o],l=t[a];if(void 0===l)continue;let u=!0;
9if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||n){let t=eP(l,I[a]);if(!u){s=!1;let e=eS[a]||a;r+=`${e}(${t}) `}n&&(e[a]=t)}}let o=t.pathRotation;return o&&(s=!1,r+=`rotate(${eP(o,I.pathRotation)}) `),r=r.trim(),n?r=n(e,s?"":r):s&&(r="none"),r}(e,t.transform,r):s.transform&&(s.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;s.transformOrigin=`${t} ${e} ${i}`}}t.s(["buildHTMLStyles",0,eE],40219);let eC={offset:"stroke-dashoffset",array:"stroke-dasharray"},eM={offset:"strokeDashoffset",array:"strokeDasharray"},eA=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ek(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(eE(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of eA)void 0!==c[t]&&(d[t]=c[t],delete c[t]);(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?eC:eM;t[s.offset]=`${-n}`,t[s.array]=`${e} ${i}`}(c,r,s,o,!1)}t.s(["buildSVGAttrs",0,ek,"cssStyleProperties",0,eA],44638);let eV=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"]),eR=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eL(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}t.s(["isSVGTag",0,eR],83376);let ej=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function eD(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}t.s(["cornerRadiusProps",0,ej],54049);let eO={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!x.test(t))return t;else t=parseFloat(t);let i=eD(t,e.target.x),n=eD(t,e.target.y);return`${i}% ${n}%`}},eB=(t,e,i)=>t+(e-t)*i;t.s(["mixNumber",0,eB],22643);let eF={borderRadius:{...eO,applyTo:[...ej]},borderTopLeftRadius:eO,borderTopRightRadius:eO,borderBottomLeftRadius:eO,borderBottomRightRadius:eO,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=R.parse(t);if(n.length>5)return t;let r=R.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=eB(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function eI(t,{layout:e,layoutId:i}){return n.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eF[t]||"opacity"===t)}function eN(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)(W(n[e])||r&&W(r[e])||eI(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function e_(t,e,n){let r=eN(t,e,n);for(let n in t)(W(t[n])||W(e[n]))&&(r[-1!==i.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return r}t.s(["scaleCorrectors",0,eF],32188),t.s(["isForcedMotionValue",0,eI],26580),t.s(["scrapeMotionValuesFromProps",0,eN],39365),t.s(["scrapeMotionValuesFromProps",0,e_],93500);class e$ extends eb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=z}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.has(e)){let t=_(e);return t&&t.default||0}if(eA.includes(e)){let i=getComputedStyle(t)[e];if("string"==typeof i&&i)return i.trim()}return e=eV.has(e)?e:ew(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return e_(t,e,i)}build(t,e,i){ek(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eL(t,e,void 0,n),e.attrs)t.setAttribute(eV.has(i)?i:ew(i),e.attrs[i])}mount(t){this.isSVGTag=eR(t.tagName),super.mount(t)}}function eU({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function ez(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}function eW(t){return void 0===t||1===t}function eG({scale:t,scaleX:e,scaleY:i}){return!eW(t)||!eW(e)||!eW(i)}function eH(t){return eG(t)||eX(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eX(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eK(t,e,i){return i+e*(t-i)}function eY(t,e,i,n,r){return void 0!==r&&(t=eK(t,r,n)),eK(t,i,n)+e}function eq(t,e=0,i=1,n,r){t.min=eY(t.min,e,i,n,r),t.max=eY(t.max,e,i,n,r)}function eZ(t,{x:e,y:i}){eq(t.x,e.translate,e.scale,e.originPoint),eq(t.y,i.translate,i.scale,i.originPoint)}function eJ(t,e){t.min+=e,t.max+=e}function eQ(t,e,i,n,r=.5){let s=eB(t.min,t.max,r);eq(t,e,i,s,n)}function e0(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function e1(t,e,i){let n=i??t;eQ(t.x,e0(e.x,n.x),e.scaleX,e.scale,e.originX),eQ(t.y,e0(e.y,n.y),e.scaleY,e.scale,e.originY)}function e3(t,e){return eU(ez(t.getBoundingClientRect(),e))}t.s(["convertBoundingBoxToBox",0,eU,"convertBoxToBoundingBox",0,function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}},"transformBoxPoints",0,ez],43035),t.s(["has2DTranslate",0,eX,"hasScale",0,eG,"hasTransform",0,eH],28033),t.s(["applyBoxDelta",0,eZ,"applyTreeDeltas",0,function(t,e,
9i,n=!1){let r,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(eJ(t.x,-r.scroll.offset.x),eJ(t.y,-r.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,eZ(t,s)),n&&eH(r.latestValues)&&e1(t,r.latestValues,r.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,eK,"transformBox",0,e1,"translateAxis",0,eJ],19551),t.s(["measurePageBox",0,function(t,e,i){let n=e3(t,i),{scroll:r}=e;return r&&(eJ(n.x,r.offset.x),eJ(n.y,r.offset.y)),n},"measureViewportBox",0,e3],41992);class e5 extends eb{constructor(){super(...arguments),this.type="html",this.renderInstance=eL}mount(t){q(t.style),super.mount(t)}readValueFromInstance(t,e){if(n.has(e))return this.projection?.isProjecting?tc(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return td(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(J(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e3(t,e)}build(t,e,i){eE(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eN(t,e,i)}}var e2=t.i(61893);let e8=["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 e9(t){if("string"!=typeof t||t.includes("-"));else if(e8.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",0,e9],26980),t.s(["createDomVisualElement",0,(t,e)=>e.isSVG??e9(t)?new e$(e):new e5(e,{allowProjection:t!==e2.Fragment})],94878)},49159,85163,40577,2999,20558,40534,28892,36032,37006,t=>{"use strict";var e=t.i(12246),i=t.i(51311),n=t.i(97711),r=t.i(30095),s=t.i(60562),o=t.i(61893),a=t.i(75981),l=t.i(39828),u=t.i(42546);let h=t=>(e,h)=>{let c=(0,o.useContext)(a.MotionContext),d=(0,o.useContext)(l.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},o,a,l){return{latestValues:function(t,e,o,a){let l={},u=a(t,{});for(let t in u)l[t]=(0,i.resolveMotionValue)(u[t]);let{initial:h,animate:c}=t,d=(0,n.isControllingVariants)(t),p=(0,n.isVariantNode)(t);e&&p&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let m=!!o&&!1===o.initial,f=(m=m||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,r.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let n=(0,s.resolveVariantFromProps)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=m?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(o,a,l,t),renderState:e()}})(t,e,c,d);return h?p():(0,u.useConstant)(p)};var c=t.i(50546);let d=h({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:c.createHtmlRenderState});t.s(["useHTMLVisualState",0,d],49159);var p=t.i(93500),p=p,m=t.i(14402);let f=h({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});t.s(["useSVGVisualState",0,f],85163);var g=t.i(76832);let y={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"]},v=!1;function x(){return!function(){if(v)return;let t={};for(let e in y)t[e]={isEnabled:t=>y[e].some(e=>!!t[e])};(0,g.setFeatureDefinitions)(t),v=!0}(),(0,g.getFeatureDefinitions)()}t.s(["getInitializedFeatureDefinitions",0,x],40577),t.s(["loadFeatures",0,function(t){let e=x();for(let i in t)e[i]={...e[i],...t[i]};(0,g.setFeatureDefinitions)(e)}],2999);let b=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,b],20558),t.s(["useMotionRef",0,function(t,e,
9i){let n=(0,o.useRef)(i);(0,o.useInsertionEffect)(()=>{n.current=i});let r=(0,o.useRef)(null);return(0,o.useCallback)(i=>{i&&t.onMount?.(i),e&&(i?e.mount(i):e.unmount());let s=n.current;if("function"==typeof s)if(i){let t=s(i);"function"==typeof t&&(r.current=t)}else r.current?(r.current(),r.current=null):s(i);else s&&(s.current=i)},[e])}],40534);let w="data-"+(0,t.i(64660).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,w],28892);let P=(0,o.createContext)({});t.s(["SwitchLayoutGroupContext",0,P],36032),t.s(["isRefObject",0,function(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}],37006)},42546,t=>{"use strict";var e=t.i(61893);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},40727,t=>{"use strict";var e=t.i(61893);let i="u">typeof window?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i],40727)},99481,t=>{"use strict";var e=t.i(19367);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}])},19367,t=>{"use strict";t.s(["isObject",0,t=>"object"==typeof t&&null!==t])},53793,13840,t=>{"use strict";var e=t.i(94878),i=t.i(66969),n=t.i(35848),r=t.i(63951),s=t.i(21680),o=t.i(77915),a=t.i(98205),l=t.i(99481),u=t.i(36245);let h=(t,e)=>!!e&&(t===e||h(t,e.parentElement));var c=t.i(12145),d=t.i(71174),p=t.i(77198);let m=new WeakSet;function f(t){return e=>{"Enter"===e.key&&t(e)}}function g(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function y(t){return(0,c.isPrimaryPointer)(t)&&!(0,u.isDragActive)()}let v=new WeakSet;var x=t.i(63597),b=t.i(87150);function w(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&x.frame.postRender(()=>r(e,(0,b.extractEventInfo)(e)))}class P extends a.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,r,s]=(0,d.setupGesture)(t,i),o=t=>{let n=t.currentTarget;if(!y(t)||v.has(t))return;m.add(n),i.stopPropagation&&v.add(t);let s=e(n,t),o={...r,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),m.has(n)&&m.delete(n),y(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{a(t,n===window||n===document||i.useGlobalTarget||h(n,t.target))},u=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",u,o)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),(0,l.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=f(()=>{if(m.has(i))return;g(i,"down");let t=f(()=>{g(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>g(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),(0,p.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(w(this.node,e,"Start"),(t,{success:e})=>w(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}var S=a;let T=new WeakMap,E=new WeakMap,C=t=>{let e=T.get(t.target);e&&e(t)},M=t=>{t.forEach(C)},A={some:0,all:1};class k extends S.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:A[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;E.has(i)||E.set(i,{});
9let n=E.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(M,{root:t,...e})),n[r]}(a),T.set(t,l),e.observe(t),()=>{T.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let V={inView:{Feature:k},tap:{Feature:P},focus:{Feature:o.FocusGesture},hover:{Feature:s.HoverGesture}};var R=t.i(22223),L=t.i(58770);let j={layout:{ProjectionNode:R.HTMLProjectionNode,MeasureLayout:L.MeasureLayout}},D={...n.animations,...V,...r.drag,...j},O=(0,i.createMotionProxy)(D,e.createDomVisualElement);t.s(["motion",0,O],53793);var B=t.i(27413),F=t.i(1032),I=t.i(61893);t.s(["useReducedMotion",0,function(){B.hasReducedMotionListener.current||(0,F.initPrefersReducedMotion)();let[t]=(0,I.useState)(B.prefersReducedMotion.current);return t}],13840)},42589,90167,12957,27857,t=>{"use strict";var e=t.i(59378);function i(t){let e;return("object"==typeof t?null==t.host&&null==t.hostname:!/^[a-z]+:/i.test(t))&&(null==(e="object"==typeof t?t.pathname:t)||!!e.startsWith("/"))}function n(t,e){let i=t;return/^\/(\?.*)?$/.test(e)&&(e=e.slice(1)),i+=e}function r(t,e,i){return"string"==typeof t?t:t[e]||i}function s(t){let i=function(){try{return"true"===e.default.env._next_intl_trailing_slash}catch{return!1}}(),[n,...r]=t.split("#"),s=r.join("#"),o=n;if("/"!==o){let t=o.endsWith("/");i&&!t?o+="/":!i&&t&&(o=o.slice(0,-1))}return s&&(o+="#"+s),o}function o(t,e){let i,n=s(t),r=s(e);return(i=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${i}$`)).test(r)}function a(t,e){return"never"!==e.mode&&e.prefixes?.[t]||l(t)}function l(t){return"/"+t}function u(t){return t.includes("[[...")}function h(t){return t.includes("[...")}function c(t){return t.includes("[")}function d(t,e){let i=t.split("/"),n=e.split("/"),r=Math.max(i.length,n.length);for(let t=0;t<r;t++){let e=i[t],r=n[t];if(!e&&r)return -1;if(e&&!r)return 1;if(e||r){if(!c(e)&&c(r))return -1;if(c(e)&&!c(r))return 1;if(!h(e)&&h(r))return -1;if(h(e)&&!h(r))return 1;if(!u(e)&&u(r))return -1;if(u(e)&&!u(r))return 1}}return 0}function p(t){return t.sort(d)}t.s(["getLocaleAsPrefix",0,l,"getLocalePrefix",0,a,"getLocalizedTemplate",0,r,"getSortedPathnames",0,p,"hasPathnamePrefixed",0,function(t,e){return e===t||e.startsWith(`${t}/`)},"isLocalizableHref",0,i,"isPromise",0,function(t){return"function"==typeof t.then},"matchesPathname",0,o,"normalizeTrailingSlash",0,s,"prefixPathname",0,n,"unprefixPathname",0,function(t,e){return t.replace(RegExp(`^${e}`),"")||"/"}],42589);var m=t.i(69197),f=t.i(61398),g=t.i(61893),y=t.i(61387);function v(t){let e=new URLSearchParams;for(let[i,n]of Object.entries(t))Array.isArray(n)?n.forEach(t=>{e.append(i,String(t))}):e.set(i,String(n));return"?"+e.toString()}function x(t,e=window.location.pathname){return"/"===t?e:e.replace(t,"")}function b(t,e,i,n){if(!t||n===i||null==n||!e)return;let r=x(e),{name:s,...o}=t;o.path||(o.path=""!==r?r:"/");let a=`${s}=${n};`;for(let[t,e]of Object.entries(o))a+=`${"maxAge"===t?"max-age":t}`,"boolean"!=typeof e&&(a+="="+e),a+=";";document.cookie=a}t.s(["applyPathnamePrefix",0,function(t,e,r,s){let o,{mode:l}=r.localePrefix;if(void 0!==s)o=s;else if(i(t)){let t=r.domains?.find(t=>t.locales.includes(e)),i=t?.localePrefix||l;"always"===i?o=!0:"as-needed"===i&&(o=t?e!==t.defaultLocale:e!==r.defaultLocale)}return o?n(a(e,r.localePrefix),t):t},"compileLocalizedPathname",0,function({pathname:t,locale:e,params:i,pathnames:n,query:o}){function a(t){let a,l=n[t];return l?(a=r(l,e,t),i&&Object.entries(i).forEach(([t,e])=>{let i,n;Array.isArray(e)?(i=`(\\[)?\\[...${t}\\](\\])?`,n=e.map(t=>String(t)).join("/")):(i=`\\[${t}\\]`,n=String(e)),a=a.replace(RegExp(i,"g"),n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=t,a=s(a),o&&(a+=v(o)),a}if("string"==typeof t)return a(t);{let{pathname:e,...i}=t;return{...i,pathname:a(e)}}}
9,"getBasePath",0,x,"getRoute",0,function(t,e,i){let n=p(Object.keys(i)),s=decodeURI(e);for(let e of n){let n=i[e];if("string"==typeof n){if(o(n,s))return e}else if(o(r(n,t,e),s))return e}return e},"normalizeNameOrNameWithParams",0,function(t){return"string"==typeof t?{pathname:t}:t},"serializeSearchParams",0,v],90167),t.s(["default",0,b],12957);var w=t.i(87420);let P=m.default;function S({curLocale:t,linkRef:e,locale:i,localeCookie:n,onClick:r,prefetch:s,...o}){let a=(0,f.usePathname)();return(0,w.jsx)(P,{ref:e,hrefLang:i,onClick:function(e){b(n,a,t,i),r&&r(e)},prefetch:!1,...o})}var T=(0,g.forwardRef)(function({locale:t,localeCookie:e,...i},n){let r=(0,y.useLocale)();return null!=t&&t!==r?(0,w.jsx)(S,{curLocale:r,linkRef:n,locale:t,localeCookie:e,...i}):(0,w.jsx)(P,{ref:n,...i})});t.s(["default",0,T],27857)},69197,(t,e,i)=>{"use strict";t.i(59378),Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return x}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=t.r(58834),o=t.r(87420),a=s._(t.r(61893)),l=t.r(82495),u=t.r(1278),h=t.r(98511),c=t.r(60137),d=t.r(62003),p=t.r(30024),m=t.r(13990),f=t.r(90385),g=t.r(56531);function y(e){var i;let n,r,s,[y,x]=(0,a.useOptimistic)(m.IDLE_LINK_STATUS),b=(0,a.useRef)(null),{href:w,as:P,children:S,prefetch:T=null,passHref:E,replace:C,shallow:M,scroll:A,onClick:k,onMouseEnter:V,onTouchStart:R,legacyBehavior:L=!1,onNavigate:j,transitionTypes:D,ref:O,unstable_dynamicOnHover:B,...F}=e;n=S,L&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let I=a.default.useContext(u.AppRouterContext),N=!1!==T,_=!1===T?"none":!0===T?"full":"auto",$="none"!==_?"auto"===_?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,U="string"==typeof(i=P||w)?i:(0,l.formatUrl)(i);if(L){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});r=a.default.Children.only(n)}let z=L?r&&"object"==typeof r&&r.ref:O,W,G=a.default.useCallback(t=>(null!==I&&(b.current=(0,m.mountLinkInstance)(t,U,I,$,N,x,W)),()=>{b.current&&((0,m.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,m.unmountPrefetchableInstance)(t)}),[N,U,I,$,x,W]),H={ref:(0,h.useMergedRef)(G,z),onClick(e){L||"function"!=typeof k||k(e),L&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),!I||e.defaultPrevented||function(e,i,n,r,s,o,l,u="none"){if("u">typeof window){let h,{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&((h=e.currentTarget.getAttribute("target"))&&"_self"!==h||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(i)){r&&(e.preventDefault(),location.replace(i));return}if(e.preventDefault(),o){let t=!1;if(o({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:d}=t.r(89824);a.default.startTransition(()=>{d(i,r?"replace":"push",!1===s?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l,u)})}}(e,U,b,C,A,j,D,_)},onMouseEnter(t){L||"function"!=typeof V||V(t),L&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(t),I&&N&&(0,m.onNavigationIntent)(t.currentTarget,!0===B)},onTouchStart:function(t){L||"function"!=typeof R||R(t),L&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(t),I&&N&&(0,m.onNavigationIntent)(t.currentTarget,!0===B)}};return(0,c.isAbsoluteUrl)(U)?H.href=U:L&&!E&&("a"!==r.type||"href"in r.props)||(H.href=(0,d.addBasePath)(U)),s=L?a.default.cloneElement(r,H):(0,o.jsx)("a",{...F,...H,children:n}),(0,o.jsx)(v.Provider,{value:y,children:s})}let v=(0,a.createContext)(m.IDLE_LINK_STATUS),x=()=>(0,a.useContext)(v);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
9dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},91982,(t,e,i)=>{"use strict";t.i(59378),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return w}});let n=t.r(17270),r=t.r(58834),s=t.r(87420),o=r._(t.r(61893)),a=n._(t.r(89673)),l=n._(t.r(57031)),u=t.r(90691),h=t.r(51623),c=t.r(43256),d=t.r(89706),p=n._(t.r(3918)),m=t.r(98511),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(t,e,i,n,r,s,o){let a=t?.src;t&&t["data-loaded-src"]!==a&&(t["data-loaded-src"]=a,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&r(!0),i?.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,r=!1;i.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{r=!0,e.stopPropagation()}})}n?.current&&n.current(t)}}))}function y(t){return o.use?{fetchPriority:t}:{fetchpriority:t}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v="u"<typeof window?o.useEffect:o.useLayoutEffect,x=(0,o.forwardRef)(({src:t,srcSet:e,sizes:i,height:n,width:r,decoding:a,className:l,style:u,fetchPriority:h,placeholder:c,loading:d,unoptimized:p,fill:f,onLoadRef:x,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:P,sizesInput:S,onLoad:T,onError:E,...C},M)=>{let A=(0,o.useRef)(!1),k=(0,o.useRef)(null);v(()=>{let{current:t}=A,{current:e}=k;t||null===e||(E&&(e.src=e.src),e.complete&&g(e,c,x,b,w,p,S),A.current=!0)},[t,c,x,b,E,p,S]);let V=(0,m.useMergedRef)(M,k);return(0,s.jsx)("img",{...C,...y(h),loading:d,width:r,height:n,decoding:a,"data-nimg":f?"fill":"1",className:l,style:u,sizes:i,srcSet:e,src:t,ref:V,onLoad:t=>{g(t.currentTarget,c,x,b,w,p,S)},onError:t=>{P(!0),"empty"!==c&&w(!0),E&&E(t)}})});function b({isAppRouter:t,imgAttributes:e}){let i={as:"image",imageSrcSet:e.srcSet,imageSizes:e.sizes,crossOrigin:e.crossOrigin,referrerPolicy:e.referrerPolicy,...y(e.fetchPriority)};return t&&a.default.preload?(a.default.preload(e.src,i),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:e.srcSet?void 0:e.src,...i},"__nimg-"+e.src+e.srcSet+e.sizes)})}let w=(0,o.forwardRef)((t,e)=>{let i=(0,o.useContext)(d.RouterContext),n=(0,o.useContext)(c.ImageConfigContext),r=(0,o.useMemo)(()=>{let t=f||n||h.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),i=t.deviceSizes.sort((t,e)=>t-e),r=t.qualities?.sort((t,e)=>t-e);return{...t,allSizes:e,deviceSizes:i,qualities:r,localPatterns:"u"<typeof window?n?.localPatterns:t.localPatterns}},[n]),{onLoad:a,onLoadingComplete:l}=t,m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[y,v]=(0,o.useState)(!1),[w,P]=(0,o.useState)(!1),{props:S,meta:T}=(0,u.getImgProps)(t,{defaultLoader:p.default,imgConf:r,blurComplete:y,showAltText:w});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x,{...S,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:v,setShowAltText:P,sizesInput:t.sizes,ref:e}),T.preload?(0,s.jsx)(b,{isAppRouter:!i,imgAttributes:S}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},98511,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=t.r(61893);function r(t,e){let i=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let t=i.current;t&&(i.current=null,t());let e=r.current;e&&(r.current=null,e())}else t&&(i.current=s(t,n)),e&&(r.current=s(e,n))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
9dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},81583,(t,e,i)=>{"use strict";function n(t,e){let i=t||75;return e?.qualities?.length?e.qualities.reduce((t,e)=>Math.abs(e-i)<Math.abs(t-i)?e:t,e.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return n}})},90691,(t,e,i)=>{"use strict";t.i(59378),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}});let n=t.r(68778),r=t.r(36835),s=t.r(51623),o=["-moz-initial","fill","none","scale-down",void 0];function a(t){return void 0!==t.default}function l(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function u({src:t,sizes:e,unoptimized:i=!1,priority:h=!1,preload:c=!1,loading:d,className:p,quality:m,width:f,height:g,fill:y=!1,style:v,overrideSrc:x,onLoad:b,onLoadingComplete:w,placeholder:P="empty",blurDataURL:S,fetchPriority:T,decoding:E="async",layout:C,objectFit:M,objectPosition:A,lazyBoundary:k,lazyRoot:V,...R},L){var j;let D,O,B,{imgConf:F,showAltText:I,blurComplete:N,defaultLoader:_}=L,$=F||s.imageConfigDefault;if("allSizes"in $)D=$;else{let t=[...$.deviceSizes,...$.imageSizes].sort((t,e)=>t-e),e=$.deviceSizes.sort((t,e)=>t-e),i=$.qualities?.sort((t,e)=>t-e);D={...$,allSizes:t,deviceSizes:e,qualities:i}}if(void 0===_)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 U=R.loader||_;delete R.loader,delete R.srcSet;let z="__next_img_default"in U;if(z){if("custom"===D.loader)throw Object.defineProperty(Error(`Image with src "${t}" is missing "loader" prop. 10Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let t=U;U=e=>{let{config:i,...n}=e;return t(n)}}if(C){"fill"===C&&(y=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];t&&(v={...v,...t});let i={responsive:"100vw",fill:"100vw"}[C];i&&!e&&(e=i)}let W="",G=l(f),H=l(g);if((j=t)&&"object"==typeof j&&(a(j)||void 0!==j.src)){let e=a(t)?t.default:t;if(!e.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(e)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.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(e)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(O=e.blurWidth,B=e.blurHeight,S=S||e.blurDataURL,W=e.src,!y)if(G||H){if(G&&!H){let t=G/e.width;H=Math.round(e.height*t)}else if(!G&&H){let t=H/e.height;G=Math.round(e.width*t)}}else G=e.width,H=e.height}let X=!h&&!c&&("lazy"===d||void 0===d);(!(t="string"==typeof t?t:W)||t.startsWith("data:")||t.startsWith("blob:"))&&(i=!0,X=!1),D.unoptimized&&(i=!0),z&&!D.dangerouslyAllowSVG&&t.split("?",1)[0].endsWith(".svg")&&(i=!0);let K=l(m),Y=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:A}:{},I?{}:{color:"transparent"},v),q=N||"empty"===P?null:"blur"===P?`url("data:image/svg+xml;charset=utf-8,${(0,r.getImageBlurSvg)({widthInt:G,heightInt:H,blurWidth:O,blurHeight:B,blurDataURL:S||"",objectFit:Y.objectFit})}")`:`url("${P}")`,Z=o.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,J=q?{backgroundSize:Z,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},Q=function({config:t,src:e,unoptimized:i,width:r,quality:s,sizes:o,loader:a}){if(i){if(e.startsWith("/")&&!e.startsWith("//")){let t=(0,n.getDeploymentId)();if(e.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())t=void 0;else if(t){let i=e.indexOf("?");if(-1!==i){let n=new URLSearchParams(e.slice(i+1));n.get("dpl")||(n.append("dpl",t),e=e.slice(0,i)+"?"+n.toString())}else e+=`?dpl=${t}`}}return{src:e,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:t,allSizes:e},i,n){if(n){let i=/(^|\s)(1?\d?\d)vw/g,r=[];for(let t;t=i.exec(n);)r.push(parseInt(t[2]));if(r.length){let i=.01*Math.min(...r);return{widths:e.filter(e=>e>=t[0]*i),kind:"w"}}return{widths:e,kind:"w"}}return"number"!=typeof i?{widths:t,kind:"w"}:{widths:[...new Set([i,2*i].map(t=>e.find(e=>e>=t)||e[e.length-1]))],kind:"x"}}(t,r,o),h=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((i,n)=>`${a({config:t,src:e,quality:s,width:i})} ${"w"===u?i:n+1}${u}`).join(", "),src:a({config:t,src:e,quality:s,width:l[h]})}}({config:D,src:t,unoptimized:i,width:G,quality:K,sizes:e,loader:U}),tt=X?"lazy":d;return{props:{...R,loading:tt,fetchPriority:T,width:G,height:H,decoding:E,className:p,style:{...Y,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:x||Q.src},meta:{unoptimized:i,preload:c||h,placeholder:P,fill:y}}}},57031,(t,e,i)=>{"use strict";t.i(59378),Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return f},defaultHead:function(){return c}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=t.r(17270),o=t.r(58834),a=t.r(87420),l=o._(t.r(61893)),u=s._(t.r(37322)),h=t.r(88740);function c(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function d(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===l.default.Fragment?t.concat(l.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}let p=["name","httpEquiv","charSet","itemProp"];function m(t){let e,i,n,r;return t.reduce(d,[]).reverse().concat(c().reverse()).filter((e=new Set,i=new Set,n=new Set,r={},t=>{let s=!0,o=!1;if(t.key&&"number"!=typeof t.key&&t.key.indexOf("$")>0){o=!0;let i=t.key.slice(t.key.indexOf("$")+1);e.has(i)?s=!1:e.add(i)}switch(t.type){case"title":case"base":i.has(t.type)?s=!1:i.add(t.type);break;case"meta":for(let e=0,i=p.length;e<i;e++){let i=p[e];if(t.props.hasOwnProperty(i))if("charSet"===i)n.has(i)?s=!1:n.add(i);else{let e=t.props[i],n=r[i]||new Set;("name"!==i||!o)&&n.has(e)?s=!1:(n.add(e),r[i]=n)}}}return s})).reverse().map((t,e)=>{let i=t.key||e;return l.default.cloneElement(t,{key:i})})}let f=function({children:t}){let e=(0,l.useContext)(h.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:m,headManager:e,children:t})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
10dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},36835,(t,e,i)=>{"use strict";function n({widthInt:t,heightInt:e,blurWidth:i,blurHeight:r,blurDataURL:s,objectFit:o}){let a=i?40*i:t,l=r?40*r:e,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"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${s}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},43256,(t,e,i)=>{"use strict";t.i(59378),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let n=t.r(17270)._(t.r(61893)),r=t.r(51623),s=n.default.createContext(r.imageConfigDefault)},89706,(t,e,i)=>{"use strict";t.i(59378),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return n}});let n=t.r(17270)._(t.r(61893)).default.createContext(null)},51623,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return o}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=["default","imgix","cloudinary","akamai","custom"],o={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}},3918,(t,e,i)=>{"use strict";t.i(59378),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let n=t.r(81583),r=t.r(68778);function s({config:t,src:e,width:i,quality:o}){let a=(0,r.getDeploymentId)();if(e.startsWith("/")&&!e.startsWith("//"))if(e.includes("/_next/static/immutable")&&!(0,r.getAssetToken)())a=void 0;else{let t=e.indexOf("?");if(-1!==t){let i=new URLSearchParams(e.slice(t+1)),n=i.get("dpl");if(n){a=n,i.delete("dpl");let r=i.toString();e=e.slice(0,t)+(r?"?"+r:"")}}}if(e.startsWith("/")&&e.includes("?")&&t.localPatterns?.length===1&&"**"===t.localPatterns[0].pathname&&""===t.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${e}" is using a query string which is not configured in images.localPatterns. 11Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,n.findClosestQuality)(o,t);return`${t.path}?url=${encodeURIComponent(e)}&w=${i}&q=${l}${e.startsWith("/")&&a?`&dpl=${a}`:""}`}s.__next_img_default=!0;let o=s},90385,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=t.r(60137),r=t.r(59794);function s(t){if(!(0,n.isAbsoluteUrl)(t))return!0;try{let e=(0,n.getLocationOrigin)(),i=new URL(t,e);return i.origin===e&&(0,r.hasBasePath)(i.pathname)}catch(t){return!1}}},35030,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return a}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});function s(t){let e={};for(let[i,n]of t.entries()){let t=e[i];void 0===t?e[i]=n:Array.isArray(t)?t.push(n):e[i]=[t,n]}return e}function o(t){return"string"==typeof t?t:("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function a(t){let e=new URLSearchParams;for(let[i,n]of Object.entries(t))if(Array.isArray(n))for(let t of n)e.append(i,o(t));else e.set(i,o(n));return e}function l(t,...e){for(let i of e){for(let e of i.keys())t.delete(e);for(let[e,n]of i.entries())t.append(e,n)}return t}},82495,(t,e,i)=>{"use strict";t.i(59378),Object.defineProperty(i,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=t.r(58834)._(t.r(35030)),o=/https?|ftp|gopher|file/;function a(t){let{auth:e,hostname:i}=t,n=t.protocol||"",r=t.pathname||"",a=t.hash||"",l=t.query||"",u=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?u=e+t.host:i&&(u=e+(~i.indexOf(":")?`[${i}]`:i),t.port&&(u+=":"+t.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let h=t.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),t.slashes||(!n||o.test(n))&&!1!==u?(u="//"+(u||""),r&&"/"!==r[0]&&(r="/"+r)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),h&&"?"!==h[0]&&(h="?"+h),r=r.replace(/[?#]/g,encodeURIComponent),h=h.replace("#","%23"),`${n}${u}${r}${h}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(t){return a(t)}},37322,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let n=t.r(61893),r="u"<typeof window,s=r?()=>{}:n.useLayoutEffect,o=r?()=>{}:n.useEffect;function a(t){let{headManager:e,reduceComponentsToState:i}=t;function a(){if(e&&e.mountedInstances){let t=n.Children.toArray(Array.from(e.mountedInstances).filter(
11Boolean));e.updateHead(i(t))}}return r&&(e?.mountedInstances?.add(t.children),a()),s(()=>(e?.mountedInstances?.add(t.children),()=>{e?.mountedInstances?.delete(t.children)})),s(()=>(e&&(e._pendingUpdate=a),()=>{e&&(e._pendingUpdate=a)})),o(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},60137,(t,e,i)=>{"use strict";t.i(59378),Object.defineProperty(i,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return x},SP:function(){return f},ST:function(){return g},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return u},getURL:function(){return h},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return P}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(t){let e,i=!1;return(...n)=>(i||(i=!0,e=t(...n)),e)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=t=>{let e=t.charCodeAt(0);return!!(e>=65&&e<=90||e>=97&&e<=122)&&a.test(t)};function u(){let{protocol:t,hostname:e,port:i}=window.location;return`${t}//${e}${i?":"+i:""}`}function h(){let{href:t}=window.location,e=u();return t.substring(e.length)}function c(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function d(t){return t.finished||t.headersSent}function p(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?`?${e.slice(1).join("?")}`:"")}async function m(t,e){let i=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await m(e.Component,e.ctx)}:{};let n=await t.getInitialProps(e);if(i&&d(i))return n;if(!n)throw Object.defineProperty(Error(`"${c(t)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let f="u">typeof performance,g=f&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class y extends Error{}class v extends Error{}class x extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${t}`}}class b extends Error{constructor(t,e){super(),this.message=`Failed to load static file for page: ${t} ${e}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(t){return JSON.stringify({message:t.message,stack:t.stack})}}]);
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.