1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6497],{53:(t,e,i)=>{i.d(e,{Q:()=>s});let s={value:null,addProjectionMetrics:null}},1779:(t,e,i)=>{i.d(e,{w:()=>s});function s(t){return"string"==typeof t||Array.isArray(t)}},1847:(t,e,i)=>{i.d(e,{O:()=>o,e:()=>a});var s=i(4434),n=i(1779),r=i(59386);function a(t){return(0,s.N)(t.animate)||r._.some(e=>(0,n.w)(t[e]))}function o(t){return!!(a(t)||t.variants)}},2781:(t,e,i)=>{i.d(e,{v:()=>n});var s=i(24209);class n{constructor(){this.subscriptions=[]}add(t){return(0,s.Kq)(this.subscriptions,t),()=>(0,s.Ai)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let n=0;n<s;n++){let s=this.subscriptions[n];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},4178:(t,e,i)=>{i.d(e,{W:()=>s});let s={}},4271:(t,e,i)=>{i.d(e,{K:()=>s});function s(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);let n=i?.[t]??s.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}},4434:(t,e,i)=>{i.d(e,{N:()=>s});function s(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},4827:(t,e,i)=>{i.d(e,{q:()=>s});let s={layout:0,mainThread:0,waapi:0}},5392:(t,e,i)=>{i.d(e,{u:()=>n});var s=i(91876);function n(t){return(0,s.S)(t)?t.get():t}},6044:(t,e,i)=>{i.d(e,{G:()=>W});var s,n=i(2900),r=i(16536),a=i(87187);let o=(0,r.createContext)({strict:!1});var l=i(48878);let h=(0,r.createContext)({});var u=i(1847),d=i(1779);function c(t){return Array.isArray(t)?t.join(" "):t}var p=i(91876),m=i(25641),f=i(66811);let v=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function g(t,e,i){for(let s in e)(0,p.S)(e[s])||(0,m.z)(s,i)||(t[s]=e[s])}var y=i(55846);let x=()=>({...v(),attrs:{}});var w=i(33857);let T=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","ignoreStrict","viewport"]);function P(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||T.has(t)}let b=t=>!P(t);
1try{s=require("@emotion/is-prop-valid").default,"function"==typeof s&&(b=t=>t.startsWith("on")?!P(t):s(t))}catch{}var S=i(99227),A=i(4434),V=i(64463),M=i(22757),k=i(35383),E=i(5392);let C=t=>(e,i)=>{let s=(0,r.useContext)(h),n=(0,r.useContext)(V.t),a=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,s,n){return{latestValues:function(t,e,i,s){let n={},r=s(t,{});for(let t in r)n[t]=(0,E.u)(r[t]);let{initial:a,animate:o}=t,l=(0,u.e)(t),h=(0,u.O)(t);e&&h&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let d=!!i&&!1===i.initial,c=(d=d||!1===a)?o:a;if(c&&"boolean"!=typeof c&&!(0,A.N)(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let s=(0,M.a)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(i,s,n,t),renderState:e()}})(t,e,s,n);return i?a():(0,k.M)(a)},D=C({scrapeMotionValuesFromProps:i(31316).x,createRenderState:v}),R=C({scrapeMotionValuesFromProps:i(26069).x,createRenderState:x});var j=i(99170),L=i(39588);let F=Symbol.for("motionComponentSymbol");var B=i(31833),O=i(9838),I=i(99863),U=i(26088);function W(t,{forwardMotionProps:e=!1}={},i,s){i&&function(t){for(let e in t)L.B[e]={...L.B[e],...t[e]}}(i);let m=(0,S.Q)(t)?R:D;function T(i,T){var A;let M,k={...(0,r.useContext)(l.Q),...i,layoutId:function({layoutId:t}){let e=(0,r.useContext)(a.L).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:E}=k,C=function(t){let{initial:e,animate:i}=function(t,e){if((0,u.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,d.w)(e)?e:void 0,animate:(0,d.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(h));return(0,r.useMemo)(()=>({initial:e,animate:i}),[c(e),c(i)])}(i),D=m(i,E);if(!E&&j.B){(0,r.useContext)(o).strict;let e=function(t){let{drag:e,layout:i}=L.B;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(k);M=e.MeasureLayout,C.visualElement=function(t,e,i,s,n){let{visualElement:a}=(0,r.useContext)(h),u=(0,r.useContext)(o),d=(0,r.useContext)(V.t),c=(0,r.useContext)(l.Q).reducedMotion,p=(0,r.useRef)(null);s=s||u.renderer,!p.current&&s&&(p.current=s(t,{visualState:e,parent:a,props:i,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:c}));let m=p.current,f=(0,r.useContext)(I.N);m&&!m.projection&&n&&("html"===m.type||"svg"===m.type)&&function(t,e,i,s){let{layoutId:n,layout:r,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=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:n,layout:r,alwaysMeasureLayout:!!a||o&&(0,B.X)(o),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,crossfade:u,layoutScroll:l,layoutRoot:h})}(p.current,i,n,f);let v=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{m&&v.current&&m.update(i,d)});let g=i[O.n],y=(0,r.useRef)(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return(0,U.E)(()=>{m&&(v.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),y.current&&m.animationState&&m.animationState.animateChanges())}),(0,r.useEffect)(()=>{m&&(!y.current&&m.animationState&&m.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),y.current=!1),m.enteringChildren=void 0)}),m}(t,D,k,s,e.ProjectionNode)}return(0,n.jsxs)(h.Provider,{value:C,children:[M&&C.visualElement?(0,n.jsx)(M,{visualElement:C.visualElement,...k}):null,function(t,e,i,{latestValues:s},n,a=!1){let o=((0,S.Q)(t)?function(t,e,i,s){let n=(0,r.useMemo)(()=>{let i=x();return(0,y.B)(i,e,(0,w.n)(s),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};g(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,s,n={},a=(i=t.style||{},g(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,r.useMemo)(()=>{let i=v();return(0,f.O)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=a,n}
1)(e,s,n,t),l=function(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(b(n)||!0===i&&P(n)||!e&&!P(n)||t.draggable&&n.startsWith("onDrag"))&&(s[n]=t[n]);return s}(e,"string"==typeof t,a),h=t!==r.Fragment?{...l,...o,ref:i}:{},{children:u}=e,d=(0,r.useMemo)(()=>(0,p.S)(u)?u.get():u,[u]);return(0,r.createElement)(t,{...h,children:d})}(t,i,(A=C.visualElement,(0,r.useCallback)(t=>{t&&D.onMount&&D.onMount(t),A&&(t?A.mount(t):A.unmount()),T&&("function"==typeof T?T(t):(0,B.X)(T)&&(T.current=t))},[A])),D,E,e)]})}T.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let A=(0,r.forwardRef)(T);return A[F]=t,A}},9838:(t,e,i)=>{i.d(e,{n:()=>s});let s="data-"+(0,i(54352).I)("framerAppearId")},15280:(t,e,i)=>{i.d(e,{ge:()=>a,xU:()=>n});let s=()=>({translate:0,scale:1,origin:0,originPoint:0}),n=()=>({x:s(),y:s()}),r=()=>({min:0,max:0}),a=()=>({x:r(),y:r()})},16978:(t,e,i)=>{i.d(e,{$:()=>r,q:()=>a});var s=i(47869);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,r=(t,e)=>i=>!!("string"==typeof i&&n.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),a=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,a,o,l]=n.match(s.S);return{[t]:parseFloat(r),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},18080:(t,e,i)=>{function s(t){return void 0===t||1===t}function n({scale:t,scaleX:e,scaleY:i}){return!s(t)||!s(e)||!s(i)}function r(t){return n(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>r,vF:()=>a,vk:()=>n})},19214:(t,e,i)=>{i.d(e,{G:()=>s});function s(t){return"object"==typeof t&&null!==t}},21029:(t,e,i)=>{i.d(e,{OU:()=>h,Ql:()=>u,Ww:()=>c,hq:()=>r,o4:()=>l});var s=i(53311),n=i(18080);function r(t,e,i){return i+e*(t-i)}function a(t,e,i,s,n){return void 0!==n&&(t=s+n*(t-s)),s+i*(t-s)+e}function o(t,e=0,i=1,s,n){t.min=a(t.min,e,i,s,n),t.max=a(t.max,e,i,s,n)}function l(t,{x:e,y:i}){o(t.x,e.translate,e.scale,e.originPoint),o(t.y,i.translate,i.scale,i.originPoint)}function h(t,e,i,s=!1){let r,a,o=i.length;if(o){e.x=e.y=1;for(let h=0;h<o;h++){a=(r=i[h]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&c(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,l(t,a)),s&&(0,n.HD)(r.latestValues)&&c(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function u(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,i,n,r=.5){let a=(0,s.k)(t.min,t.max,r);o(t,e,i,a,n)}function c(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},22757:(t,e,i)=>{function s(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function n(t,e,i,n){if("function"==typeof e){let[r,a]=s(n);e=e(void 0!==i?i:t.custom,r,a)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,a]=s(n);e=e(void 0!==i?i:t.custom,r,a)}return e}i.d(e,{a:()=>n})},22801:(t,e,i)=>{i.d(e,{B:()=>l});var s=i(68343),n=i(84096),r=i(38968),a=i(16978);let o={...n.ai,transform:t=>Math.round((0,s.q)(0,255,t))},l={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+o.transform(t)+", "+o.transform(e)+", "+o.transform(i)+", "+(0,r.a)(n.X4.transform(s))+")"}},24209:(t,e,i)=>{function s(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>n,Kq:()=>s})}
1,25641:(t,e,i)=>{i.d(e,{z:()=>r});var s=i(64065),n=i(99675);function r(t,{layout:e,layoutId:i}){return s.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!n.H[t]||"opacity"===t)}},26069:(t,e,i)=>{i.d(e,{x:()=>a});var s=i(91876),n=i(64065),r=i(31316);function a(t,e,i){let a=(0,r.x)(t,e,i);for(let i in t)((0,s.S)(t[i])||(0,s.S)(e[i]))&&(a[-1!==n.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return a}},26088:(t,e,i)=>{i.d(e,{E:()=>n});var s=i(16536);let n=i(99170).B?s.useLayoutEffect:s.useEffect},29125:(t,e,i)=>{i.d(e,{V:()=>o});var s=i(84096),n=i(33193),r=i(38968),a=i(16978);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=1})=>"hsla("+Math.round(t)+", "+n.KN.transform((0,r.a)(e))+", "+n.KN.transform((0,r.a)(i))+", "+(0,r.a)(s.X4.transform(a))+")"}},29353:(t,e,i)=>{i.d(e,{po:()=>r,tn:()=>o,yT:()=>a});var s=i(45860),n=i(90327);let r=t=>1-Math.sin(Math.acos(t)),a=(0,n.G)(r),o=(0,s.V)(r)},29468:(t,e,i)=>{i.d(e,{s:()=>n});var s=i(19214);function n(t){return(0,s.G)(t)&&"offsetHeight"in t}},31316:(t,e,i)=>{i.d(e,{x:()=>r});var s=i(91876),n=i(25641);function r(t,e,i){let{style:r}=t,a={};for(let o in r)((0,s.S)(r[o])||e.style&&(0,s.S)(e.style[o])||(0,n.z)(o,t)||i?.getValue(o)?.liveStyle!==void 0)&&(a[o]=r[o]);return a}},31833:(t,e,i)=>{i.d(e,{X:()=>s});function s(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}},33125:(t,e,i)=>{i.d(e,{OQ:()=>h,bt:()=>o});var s=i(2781),n=i(45874),r=i(85058),a=i(41268);let o={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=r.k.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=r.k.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 s.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),a.Gt.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 o.current&&o.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=r.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.f)(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 h(t,e){return new l(t,e)}},33193:(t,e,i)=>{i.d(e,{KN:()=>r,gQ:()=>h,px:()=>a,uj:()=>n,vh:()=>o,vw:()=>l});let s=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=s("deg"),r=s("%"),a=s("px"),o=s("vh"),l=s("vw"),h={...r,parse:t=>r.parse(t)/100,transform:t=>r.transform(100*t)}}
1,33857:(t,e,i)=>{i.d(e,{n:()=>s});let s=t=>"string"==typeof t&&"svg"===t.toLowerCase()},33934:(t,e,i)=>{i.d(e,{i:()=>y});var s=i(98798);let n=(0,s.A)(.42,0,1,1),r=(0,s.A)(0,0,.58,1),a=(0,s.A)(.42,0,.58,1);var o=i(46417),l=i(79644),h=i(44072),u=i(66373),d=i(29353),c=i(87132);let p={linear:l.l,easeIn:n,easeInOut:a,easeOut:r,circIn:d.po,circInOut:d.tn,circOut:d.yT,backIn:u.dg,backInOut:u.ZZ,backOut:u.Sz,anticipate:h.b},m=t=>{if((0,c.D)(t)){(0,o.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return(0,s.A)(e,i,n,r)}return"string"==typeof t?((0,o.V)(void 0!==p[t],`Invalid easing type '${t}'`,"invalid-easing-type"),p[t]):t};var f=i(77592),v=i(99665),g=i(53311);function y({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var n;let r,o=Array.isArray(s)&&"number"!=typeof s[0]?s.map(m):m(s),l={done:!1,value:e[0]},h=(n=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let n=(0,v.q)(0,e,s);t.push((0,g.k)(i,1,n))}}(r=[0],e.length-1),r),n.map(e=>e*t)),u=(0,f.G)(h,e,{ease:Array.isArray(o)?o:e.map(()=>o||a).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=u(e),l.done=e>=t,l)}}},35383:(t,e,i)=>{i.d(e,{M:()=>n});var s=i(16536);function n(t){let e=(0,s.useRef)(null);return null===e.current&&(e.current=t()),e.current}},35595:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var s=i(70883),n=i(41268);let r=new Set,a=!1,o=!1,l=!1;function h(){if(o){let t=Array.from(r).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,s.W9)(t);e.length&&(i.set(t,e),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)})}o=!1,a=!1,r.forEach(t=>t.complete(l)),r.clear()}function u(){r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}function d(){l=!0,u(),h(),l=!1}class c{constructor(t,e,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(r.add(this),a||(a=!0,n.Gt.read(u),n.Gt.resolveKeyframes(h))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;if(null===t[0]){let n=s?.get(),r=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let s=i.readValue(e,r);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=r),s&&void 0===n&&s.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),r.delete(this)}cancel(){"scheduled"===this.state&&(r.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},38968:(t,e,i)=>{i.d(e,{a:()=>s});let s=t=>Math.round(1e5*t)/1e5},39588:(t,e,i)=>{i.d(e,{B:()=>n});let s={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"]},n={};for(let t in s)n[t]={isEnabled:e=>s[t].some(t=>!!e[t])}},41268:(t,e,i)=>{i.d(e,{Gt:()=>n,PP:()=>o,WG:()=>r,uv:()=>a});var s=i(79644);let{schedule:n,cancel:r,state:a,steps:o}=(0,i(68840).I)("u">typeof requestAnimationFrame?requestAnimationFrame:s.l,!0)},41590:(t,e,i)=>{i.d(e,{j:()=>S});var s=i(91456),n=i(46417),r=i(44997),a=i(74695),o=i(81387),l=i(67436),h=i(29125);function u(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 d=i(22801);function c(t,e){return i=>i>0?e:t}var p=i(53311);let m=(t,e,i)=>{let s=t*t,n=i*(e*e-s)+s;return n<0?0:Math.sqrt(n)},f=[l.u,d.B,h.V];function v(t){let e=f.find(e=>e.test(t));if((0,n.$)(!!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===h.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let n=0,r=0,a=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,o=2*i-s;n=u(o,s,t+1/3),r=u(o,s,t),a=u(o,s,t-1/3)}else n=r=a=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*a),alpha:s}}(i)),i}let g=(t,e)=>{let i=v(t),s=v(e);if(!i||!s)return c(t,e);let n={...i};return t=>(n.red=m(i.red,s.red,t),n.green=m(i.green,s.green,t),n.blue=m(i.blue,s.blue,t),n.alpha=(0,p.k)(i.alpha,s.alpha,t),d.B.transform(n))},y=new Set(["none","hidden"]);function x(t,e){return i=>(0,p.k)(t,e,i)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,r.p)(t)?c:a.y.test(t)?g:b:Array.isArray(t)?T:"object"==typeof t?a.y.test(t)?g:P:c}function T(t,e){let i=[...t],s=i.length,n=t.map((t,i)=>w(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=n[e](t);return i}}function P(t,e){let i={...t,...e},s={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(s[n]=w(t[n])(t[n],e[n]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let b=(t,e)=>
1{let i=o.f.createTransformer(e),r=(0,o.V)(t),a=(0,o.V)(e);if(!(r.indexes.var.length===a.indexes.var.length&&r.indexes.color.length===a.indexes.color.length&&r.indexes.number.length>=a.indexes.number.length))return(0,n.$)(!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"),c(t,e);if(y.has(t)&&!a.values.length||y.has(e)&&!r.values.length)return y.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,s.F)(T(function(t,e){let i=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let r=e.types[n],a=t.indexes[r][s[r]],o=t.values[a]??0;i[n]=o,s[r]++}return i}(r,a),a.values),i)};function S(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):w(t)(t,e)}},44072:(t,e,i)=>{i.d(e,{b:()=>n});var s=i(66373);let n=t=>(t*=2)<1?.5*(0,s.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},44672:(t,e,i)=>{i.d(e,{W:()=>o});var s=i(84096);let n={...s.ai,transform:Math.round};var r=i(33193);let a={rotate:r.uj,rotateX:r.uj,rotateY:r.uj,rotateZ:r.uj,scale:s.hs,scaleX:s.hs,scaleY:s.hs,scaleZ:s.hs,skew:r.uj,skewX:r.uj,skewY:r.uj,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:s.X4,originX:r.gQ,originY:r.gQ,originZ:r.px},o={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,backgroundPositionX:r.px,backgroundPositionY:r.px,...a,zIndex:n,fillOpacity:s.X4,strokeOpacity:s.X4,numOctaves:n}},44997:(t,e,i)=>{i.d(e,{j:()=>n,p:()=>a});let s=t=>e=>"string"==typeof e&&e.startsWith(t),n=s("--"),r=s("var(--"),a=t=>!!r(t)&&o.test(t.split("/*")[0].trim()),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},45860:(t,e,i)=>{i.d(e,{V:()=>s});let s=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},45874:(t,e,i)=>{i.d(e,{f:()=>s});function s(t,e){return e?1e3/e*t:0}},46417:(t,e,i)=>{i.d(e,{$:()=>s,V:()=>n});let s=()=>{},n=()=>{}},46590:(t,e,i)=>{i.d(e,{Y:()=>n});var s=i(45874);function n(t,e,i){let n=Math.max(e-5,0);return(0,s.f)(i-t(n),e-n)}},47869:(t,e,i)=>{i.d(e,{S:()=>s});let s=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},48878:(t,e,i)=>{i.d(e,{Q:()=>s});let s=(0,i(16536).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},49261:(t,e,i)=>{let s;i.d(e,{F:()=>iV});var n=i(4434),r=i(22757);function a(t,e,i){let s=t.getProps();return(0,r.a)(s,e,void 0!==i?i:s.custom,t)}function o(t,e){return t?.[e]??t?.default??t}var l=i(41268),h=i(58240),u=i(33125);let d=t=>Array.isArray(t);var c=i(4178),p=i(91876);function m(t,e){let i=t.getValue("willChange");if((0,p.S)(i)&&i.add)return i.add(e);if(!i&&c.W.WillChange){let i=new c.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}var f=i(9838);function v(t){return t.props[f.n]}function g(t){t.duration=0,t.type}var y=i(76480),x=i(79644),w=i(85058),T=i(92233),P=i(35595),b=i(95154),S=i(46417);function A(t){let e;return()=>(void 0===e&&(e=t()),e)}let V=A(()=>void 0!==window.ScrollTimeline);var M=i(93505),k=i(4827),E=i(53),C=i(87132);let D={},R=(s=A(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>D.linearEasing??s());var j=i(93376);let L=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,F={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:L([0,.65,.55,1]),circOut:L([.55,0,1,.45]),backIn:L([.31,.01,.66,-.59]),backOut:L([.33,1.53,.69,.99])};function B(t){return"function"==typeof t&&"applyToOptions"in t}class O extends M.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:s,pseudoElement:n,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!n,this.allowFlatten=r,this.options=t,(0,S.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return B(t)&&R()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:s=0,duration:n=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?R()?(0,j.K)(e,i):"ease-out":(0,C.D)(e)?L(e):Array.isArray(e)?e.map(e=>t(e,i)||F.easeOut):F[e]}(o,n);Array.isArray(d)&&(u.easing=d),E.Q.value&&k.q.waapi++;let c={delay:s,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};h&&(c.pseudoElement=h);let p=t.animate(u,c);return E.Q.value&&p.finished.finally(()=>{k.q.waapi--}),p}(e,i,s,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=(0,T.X)(s,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(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(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,b.X)(Number(t))}get time(){return(0,b.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,b.f)(t)}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 Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&V())?(this.animation.timeline=t,x.l):e(this)}}var I=i(98927),U=i(44072),W=i(66373),N=i(29353);let $={anticipate:U.b,backInOut:W.ZZ,circInOut:N.tn};class X extends O{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in $&&(t.ease=$[t.ease])}(t),(0,I.E)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:n,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new y.s({...r,autoplay:!1}),o=(0,b.f)(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}var q=i(81387);let G=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(q.f.test(t)||"0"===t)&&!t.startsWith("url(")),H=new Set(["opacity","clipPath","filter","transform"]),Y=A(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class K extends M.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=w.k.now();const d={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,name:o,motionValue:l,element:h,...u},c=h?.KeyframeResolver||P.h;this.keyframeResolver=new c(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){this.keyframeResolver=void 0;let{name:n,type:r,velocity:a,delay:o,isHandoff:l,onUpdate:h}=i;
1this.resolvedAt=w.k.now(),!function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=G(n,e),o=G(r,e);return(0,S.$)(a===o,`You are trying to animate ${e} from "${n}" to "${r}". "${a?r:n}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(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||B(i))&&s)}(t,n,r,a)&&((c.W.instantAnimations||!o)&&h?.((0,T.X)(t,i,e)),t[0]=t[t.length-1],g(i),i.repeat=0);let u={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!l&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:r,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return Y()&&i&&H.has(i)&&("transform"!==i||!l)&&!o&&!s&&"mirror"!==n&&0!==r&&"inertia"!==a}(u)?new X({...u,element:u.motionValue.owner.current}):new y.s(u);d.finished.then(()=>this.notifyFinished()).catch(x.l),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}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,P.q)()),this._animation}get duration(){return this.animation.duration}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()}}let z=t=>null!==t;var Q=i(64065);let _={type:"spring",stiffness:500,damping:25,restSpeed:10},Z={type:"keyframes",duration:.8},J={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tt=(t,e,i,s={},n,r)=>a=>{let h=o(s,t)||{},u=h.delay||s.delay||0,{elapsed:d=0}=s;d-=(0,b.f)(u);let p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...h,delay:-d,onUpdate:t=>{e.set(t),h.onUpdate&&h.onUpdate(t)},onComplete:()=>{a(),h.onComplete&&h.onComplete()},name:t,motionValue:e,element:r?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(h)&&Object.assign(p,((t,{keyframes:e})=>e.length>2?Z:Q.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:_:J)(t,p)),p.duration&&(p.duration=(0,b.f)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,b.f)(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let m=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(g(p),0===p.delay&&(m=!0)),(c.W.instantAnimations||c.W.skipAnimations)&&(m=!0,g(p),p.delay=0),p.allowFlatten=!h.type&&!h.ease,m&&!r&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"}){let s=t.filter(z),n=e&&"loop"!==i&&e%2==1?0:s.length-1;return s[n]}(p.keyframes,h);if(void 0!==t)return void l.Gt.update(()=>{p.onUpdate(t),p.onComplete()})}return h.isSync?new y.s(p):new K(p)};function te(t,e,{delay:i=0,transitionOverride:s,type:n}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:c,...p}=e;s&&(r=s);let f=[],g=n&&t.animationState&&t.animationState.getState()[n];for(let e in p){let s=t.getValue(e,t.latestValues[e]??null),n=p[e];if(void 0===n||g&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(g,e))continue;let a={delay:i,...o(r||{},e)},u=s.get();if(void 0!==u&&!s.isAnimating&&!Array.isArray(n)&&n===u&&!a.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=v(t);if(i){let t=window.MotionHandoffAnimation(i,e,l.Gt);
1null!==t&&(a.startTime=t,d=!0)}}m(t,e),s.start(tt(e,s,n,t.shouldReduceMotion&&h.$.has(e)?{type:!1}:a,t,d));let c=s.animation;c&&f.push(c)}return c&&Promise.all(f).then(()=>{l.Gt.update(()=>{c&&function(t,e){let{transitionEnd:i={},transition:s={},...n}=a(t,e)||{};for(let e in n={...n,...i}){var r;let i=d(r=n[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,u.OQ)(i))}}(t,c)})}),f}function ti(t,e,i,s=0,n=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*s;return"function"==typeof i?i(r,a):1===n?r*s:o-r*s}function ts(t,e,i={}){let s=a(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(n=i.transitionOverride);let r=s?()=>Promise.all(te(t,s,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=n;return function(t,e,i=0,s=0,n=0,r=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(ts(l,e,{...a,delay:i+("function"==typeof s?0:s)+ti(t.variantChildren,l,s,n,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,s,r,a,o,i)}:()=>Promise.resolve(),{when:l}=n;if(!l)return Promise.all([r(),o(i.delay)]);{let[t,e]="beforeChildren"===l?[r,o]:[o,r];return t().then(()=>e())}}function tn(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}var tr=i(1779),ta=i(59386);let to=ta._.length,tl=[...ta.U].reverse(),th=ta.U.length;function tu(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function td(){return{animate:tu(!0),whileInView:tu(),whileHover:tu(),whileTap:tu(),whileDrag:tu(),whileFocus:tu(),exit:tu()}}class tc{constructor(t){this.isMounted=!1,this.node=t}update(){}}class tp extends tc{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 s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>ts(t,e,i)));else if("string"==typeof e)s=ts(t,e,i);else{let n="function"==typeof e?a(t,e,i.custom):e;s=Promise.all(te(t,n,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=td(),s=!0,r=e=>(i,s)=>{let n=a(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function o(o){let{props:l}=t,h=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<to;t++){let s=ta._[t],n=e.props[s];((0,tr.w)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},u=[],c=new Set,p={},m=1/0;for(let e=0;e<th;e++){var f,v;let g=tl[e],y=i[g],x=void 0!==l[g]?l[g]:h[g],w=(0,tr.w)(x),T=g===o?y.isActive:null;!1===T&&(m=e);let P=x===h[g]&&x!==l[g]&&w;if(P&&s&&t.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...p},!y.isActive&&null===T||!x&&!y.prevProp||(0,n.N)(x)||"boolean"==typeof x)continue;let b=(f=y.prevProp,"string"==typeof(v=x)?v!==f:!!Array.isArray(v)&&!tn(v,f)),S=b||g===o&&y.isActive&&!P&&w||e>m&&w,A=!1,V=Array.isArray(x)?x:[x],M=V.reduce(r(g),{});!1===T&&(M={});let{prevResolvedValues:k={}}=y,E={...k,...M},C=e=>{S=!0,c.has(e)&&(A=!0,c.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=M[t],i=k[t];if(!p.hasOwnProperty(t))(d(e)&&d(i)?tn(e,i):e===i)?void 0!==e&&c.has(t)?C(t):y.protectedKeys[t]=!0:null!=e?C(t):c.add(t)}y.prevProp=x,y.prevResolvedValues=M,y.isActive&&(p={...p,...M}),s&&t.blockInitialAnimation&&(S=!1);let D=P&&b,R=!D||A;S&&R&&u.push(...V.map(e=>{let i={type:g};if("string"==typeof e&&s&&!D&&t.manuallyAnimateOnMount&&t.parent){let{parent:s}=t,n=a(s,e);if(s.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=ti(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(c.size){let e={};if("boolean"!=typeof l.initial){let i=a(t,Array.isArray(l.initial)?l.initial[0]:l.initial);i&&i.transition&&(e.transition=i.transition)}c.forEach(i=>
1{let s=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=s??null}),u.push({animation:e})}let g=!!u.length;return s&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(g=!1),s=!1,g?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,s){if(i[e].isActive===s)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,s)),i[e].isActive=s;let n=o(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=td(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,n.N)(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?.()}}let tm=0;class tf extends tc{constructor(){super(...arguments),this.id=tm++}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;let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let tv={x:!1,y:!1};var tg=i(33193),ty=i(53311);function tx(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}let tw=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tT(t){return{point:{x:t.pageX,y:t.pageY}}}function tP(t,e,i,s){return tx(t,e,t=>tw(t)&&i(t,tT(t)),s)}var tb=i(69306);function tS(t){return t.max-t.min}function tA(t,e,i,s=.5){t.origin=s,t.originPoint=(0,ty.k)(e.min,e.max,t.origin),t.scale=tS(i)/tS(e),t.translate=(0,ty.k)(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 tV(t,e,i,s){tA(t.x,e.x,i.x,s?s.originX:void 0),tA(t.y,e.y,i.y,s?s.originY:void 0)}function tM(t,e,i){t.min=i.min+e.min,t.max=t.min+tS(e)}function tk(t,e,i){t.min=e.min-i.min,t.max=t.min+tS(e)}function tE(t,e,i){tk(t.x,e.x,i.x),tk(t.y,e.y,i.y)}var tC=i(15280);function tD(t){return[t("x"),t("y")]}var tR=i(82427);let tj=({current:t})=>t?t.ownerDocument.defaultView:null;var tL=i(31833),tF=i(91456);let tB=(t,e)=>Math.abs(t-e);class tO{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:n=!1,distanceThreshold:r=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=tW(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(tB(t.x,e.x)**2+tB(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!n)return;let{point:r}=i,{timestamp:a}=l.uv;this.history.push({...r,timestamp:a});let{onStart:o,onMove:h}=this.handlers;s||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tI(e,this.transformPagePoint),l.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=tW("pointercancel"===t.type?this.lastMoveEventInfo:tI(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),s&&s(t,r)},!tw(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=s||window;const a=tI(tT(t),this.transformPagePoint),{point:o}=a,{timestamp:h}=l.uv;this.history=[{...o,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,tW(a,this.history)),this.removeListeners=(0,tF.F)(tP(this.contextWindow,"pointermove",this.handlePointerMove),tP(this.contextWindow,"pointerup",this.handlePointerUp),tP(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,l.WG)(this.updatePoint)}}function tI(t,e){return e?{point:e(t.point)}:t}function tU(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tW({point:t},e){return{point:t,delta:tU(t,tN(e)),offset:tU(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=tN(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>(0,b.f)(.1)));)e--;if(!i)return{x:0,y:0};let n=(0,b.X)(s.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let r={x:(s.x-i.x)/n,y:(s.y-i.y)/n};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function tN(t){return t[t.length-1]}var t$=i(99665),tX=i(68343);function tq(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 tG(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function tH(t,e,i){return{min:tY(t,e),max:tY(t,i)}}function tY(t,e){return"number"==typeof t?t:t[e]||0}let tK=new WeakMap;class tz{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,tC.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tT(t).point)},r=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(tv[t])return null;else return tv[t]=!0,()=>{tv[t]=!1};return tv.x||tv.y?null:(tv.x=tv.y=!0,()=>{tv.x=tv.y=!1})}(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),tD(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tg.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=tS(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&l.Gt.postRender(()=>n(t,e)),m(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(s&&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&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&r(t,e)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>tD(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new tO(t,{onSessionStart:n,onStart:r,onMove:a,onSessionEnd:o,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:tj(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!s||!i)return;let{velocity:r}=s;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&l.Gt.postRender(()=>a(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!tQ(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,ty.k)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,ty.k)(i,t,s.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),n.set(r)}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,s=this.constraints;t&&(0,tL.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:n}){return{x:tq(t.x,i,n),y:tq(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tH(t,"left","right"),y:tH(t,"top","bottom")}}(e),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&tD(t=>{var e,s;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],n={},void 0!==s.min&&(n.min=s.min-e.min),void 0!==s.max&&(n.max=s.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();
1if(!e||!(0,tL.X)(e))return!1;let s=e.current;(0,S.V)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let r=(0,tR.L)(s,n.root,this.visualElement.getTransformPagePoint()),a=(t=n.layout.layoutBox,{x:tG(t.x,r.x),y:tG(t.y,r.y)});if(i){let t=i((0,tb.pA)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,tb.FY)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(tD(a=>{if(!tQ(a,e,this.currentDirection))return;let l=o&&o[a]||{};r&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[a]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return m(this.visualElement,t),i.start(tt(t,i,0,e,this.visualElement,!1))}stopAnimation(){tD(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tD(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tD(e=>{let{drag:i}=this.getProps();if(!tQ(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:r}=s.layout.layoutBox[e];n.set(t[e]-(0,ty.k)(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,tL.X)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};tD(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let r,a,o,l=e.get();s[t]=(i={min:l,max:l},n=this.constraints[t],r=.5,a=tS(i),(o=tS(n))>a?r=(0,t$.q)(n.min,n.max-a,i.min):a>o&&(r=(0,t$.q)(i.min,i.max-o,n.min)),(0,tX.q)(0,1,r))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tD(e=>{if(!tQ(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:r}=this.constraints[e];i.set((0,ty.k)(n,r,s[e]))})}addListeners(){if(!this.visualElement.current)return;tK.set(this.visualElement,this);let t=tP(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,tL.X)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),l.Gt.read(e);let n=tx(window,"resize",()=>this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tD(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),s(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:r=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:r,dragMomentum:a}}}function tQ(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class t_ extends tc{constructor(t){super(t),this.removeGroupControls=x.l,this.removeListeners=x.l,this.controls=new tz(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||x.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let tZ=t=>(e,i)=>{t&&l.Gt.postRender(()=>t(e,i))};class tJ extends tc{constructor(){super(...arguments),this.removePointerDownListener=x.l}onPointerDown(t){this.session=new tO(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tj(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:tZ(t),onStart:tZ(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&l.Gt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=tP(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var t0=i(2900),t1=i(99016),t3=i(16536),t9=i(67e3),t5=i(87187),t6=i(99863);let t4={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function t2(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let t8={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!tg.px.test(t))return t;else t=parseFloat(t);let i=t2(t,e.target.x),s=t2(t,e.target.y);return`${i}% ${s}%`}};var t7=i(99675);let et=!1;class ee extends t3.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;(0,t7.$)(es),n&&(e.group&&e.group.add(n),i&&i.register&&s&&i.register(n),et&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),t4.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:n}=this.props,{projection:r}=i;return r&&(r.isPresent=n,et=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==n?r.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?r.promote():r.relegate()||l.Gt.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),t1.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;et=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ei(t){let[e,i]=(0,t9.xQ)(),s=(0,t3.useContext)(t5.L);return(0,t0.jsx)(ee,{...t,layoutGroup:s,switchLayoutGroup:(0,t3.useContext)(t6.N),isPresent:e,safeToRemove:i})}let es={borderRadius:{...t8,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:t8,borderTopRightRadius:t8,borderBottomLeftRadius:t8,borderBottomRightRadius:t8,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=q.f.parse(t);if(s.length>5)return t;let n=q.f.createTransformer(t),r=+("number"!=typeof s[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;s[0+r]/=a,s[1+r]/=o;let l=(0,ty.k)(a,o,.5);return"number"==typeof s[2+r]&&(s[2+r]/=l),"number"==typeof s[3+r]&&(s[3+r]/=l),n(s)}}};var en=i(19214);function er(t){return(0,en.G)(t)&&"ownerSVGElement"in t}var ea=i(2781),eo=i(24209);let el=(t,e)=>t.depth-e.depth;class eh{constructor(){this.children=[],this.isDirty=!1}add(t){(0,eo.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,eo.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(el),this.isDirty=!1,this.children.forEac
1h(t)}}var eu=i(5392);let ed=["TopLeft","TopRight","BottomLeft","BottomRight"],ec=ed.length,ep=t=>"string"==typeof t?parseFloat(t):t,em=t=>"number"==typeof t||tg.px.test(t);function ef(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ev=ey(0,.5,N.yT),eg=ey(.5,.95,x.l);function ey(t,e,i){return s=>s<t?0:s>e?1:i((0,t$.q)(t,e,s))}function ex(t,e){t.min=e.min,t.max=e.max}function ew(t,e){ex(t.x,e.x),ex(t.y,e.y)}function eT(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var eP=i(21029);function eb(t,e,i,s,n){return t-=e,t=(0,eP.hq)(t,1/i,s),void 0!==n&&(t=(0,eP.hq)(t,1/n,s)),t}function eS(t,e,[i,s,n],r,a){!function(t,e=0,i=1,s=.5,n,r=t,a=t){if(tg.KN.test(e)&&(e=parseFloat(e),e=(0,ty.k)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,ty.k)(r.min,r.max,s);t===r&&(o-=e),t.min=eb(t.min,e,i,o,n),t.max=eb(t.max,e,i,o,n)}(t,e[i],e[s],e[n],e.scale,r,a)}let eA=["x","scaleX","originX"],eV=["y","scaleY","originY"];function eM(t,e,i,s){eS(t.x,e,eA,i?i.x:void 0,s?s.x:void 0),eS(t.y,e,eV,i?i.y:void 0,s?s.y:void 0)}function ek(t){return 0===t.translate&&1===t.scale}function eE(t){return ek(t.x)&&ek(t.y)}function eC(t,e){return t.min===e.min&&t.max===e.max}function eD(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function eR(t,e){return eD(t.x,e.x)&&eD(t.y,e.y)}function ej(t){return tS(t.x)/tS(t.y)}function eL(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eF{constructor(){this.members=[]}add(t){(0,eo.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,eo.Ai)(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)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var eB=i(18080);let eO={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eI=["","X","Y","Z"],eU=0;function eW(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function eN({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=eU++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,E.Q.value&&(eO.nodes=eO.calculatedTargetDeltas=eO.calculatedProjections=0),this.nodes.forEach(eq),this.nodes.forEach(e_),this.nodes.forEach(eZ),this.nodes.forEach(eG),E.Q.addProjectionMetrics&&E.Q.addProjectionMetrics(eO)},this.resolvedRelativeTargetAt=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 eh)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ea.v),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=er(e)&&!(er(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:s,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,n=()=>this.root.updateBlockedByResize=!1;l.Gt.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==s){let e,r;s=t,this.root.updateBlockedByResize=!0,i&&i(),e=w.k.now(),r=({timestamp:t})=>{let i=t-e;i>=250&&((0,l.WG)(r),n(i-250))},l.Gt.setup(r,!0),i=()=>(0,l.WG)(r),t4.hasAnimatedSinceResize&&(t4.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(eQ))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||n.getDefaultTransition()||e5,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=n.getProps(),h=!this.targetLayout||!eR(this.targetLayout,s),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...o(r,"layout"),onPlay:a,onComplete:l};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||eQ(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}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,l.WG)(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.forEach(eJ),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 s=v(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",l.Gt,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(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,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eY);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(eK);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ez),this.nodes.forEach(e$),this.nodes.forEach(eX)):this.nodes.forEach(eK),this.clearAllSnapshots();let t=w.k.now();l.uv.delta=(0,tX.q)(0,1e3/60,t-l.uv.timestamp),l.uv.timestamp=t,l.uv.isProcessing=!0,l.PP.update.process(l.uv),l.PP.preRender.process(l.uv),l.PP.render.process(l.uv),l.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,t1.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eH),this.sharedNodes.forEach(e0)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,l.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){l.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tS(this.snapshot.measuredBox.x)||tS(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.layoutCorrected=(0,tC.ge)(),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=s(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(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eE(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,r=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,eB.HD)(this.latestValues)||r)&&(n(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),e2((e=s).x),e2(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,tC.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(e7))){let{scroll:t}=this.root;t&&((0,eP.Ql)(e.x,t.offset.x),(0,eP.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,tC.ge)();if(ew(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:n,options:r}=s;s!==this.root&&n&&r.layoutScroll&&(n.wasRoot&&ew(e,t),(0,eP.Ql)(e.x,n.offset.x),(0,eP.Ql)(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=(0,tC.ge)();ew(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(0,eP.Ww)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,eB.HD)(s.latestValues)&&(0,eP.Ww)(i,s.latestValues)}return(0,eB.HD)(this.latestValues)&&(0,eP.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,tC.ge)();ew(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,eB.HD)(i.latestValues))continue;(0,eB.vk)(i.latestValues)&&i.updateSnapshot();let s=(0,tC.ge)();ew(s,i.measurePageBox()),eM(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,eB.HD)(this.latestValues)&&eM(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!==l.uv.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:s,layoutId:n}=this.options;if(this.layout&&(s||n)){if(this.resolvedRelativeTargetAt=l.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tC.ge)(),this.relativeTargetOrigin=(0,tC.ge)(),tE(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ew(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,tC.ge)(),this.targetWithTransforms=(0,tC.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var r,a,o;this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,o=this.relativeParent.target,tM(r.x,a.x,o.x),tM(r.y,a.y,o.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ew(this.target,this.layout.layoutBox),(0,eP.o4)(this.target,this.targetDelta)):ew(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tC.ge)(),this.relativeTargetOrigin=(0,tC.ge)(),tE(this.relativeTargetOrigin,this.target,t.target),ew(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}E.Q.value&&eO.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,eB.vk)(this.parent.latestValues)||(0,eB.vF)(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)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===l.uv.timestamp&&(i=!1),i)return;let{layout:s,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||n))return;ew(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,a=this.treeScale.y;(0,eP.OU)(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,tC.ge)());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eT(this.prevProjectionDelta.x,this.projectionDelta.x),eT(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tV(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&eL(this.projectionDelta.x,this.prevProjectionDelta.x)&&eL(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o)),E.Q.value&&eO.calculatedProjections++}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,tC.xU)(),this.projectionDelta=(0,tC.xU)(),this.projectionDeltaWithTransform=(0,tC.xU)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,n=s?s.latestValues:{},r={...this.latestValues},a=(0,tC.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=(0,tC.ge)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(e9));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(e1(a.x,t.x,s),e1(a.y,t.y,s),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,v;tE(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,v=s,e3(p.x,m.x,f.x,v),e3(p.y,m.y,f.y,v),i&&(h=this.relativeTarget,c=i,eC(h.x,c.x)&&eC(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=(0,tC.ge)()),ew(i,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,s,n,r){n?(t.opacity=(0,ty.k)(0,i.opacity??1,ev(s)),t.opacityExit=(0,ty.k)(e.opacity??1,0,eg(s))):r&&(t.opacity=(0,ty.k)(e.opacity??1,i.opacity??1,s));for(let n=0;n<ec;n++){let r=`border${ed[n]}Radius`,a=ef(e,r),o=ef(i,r);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||em(a)===em(o)?(t[r]=Math.max((0,ty.k)(ep(a),ep(o),s),0),(tg.KN.test(o)||tg.KN.test(a))&&(t[r]+="%")):t[r]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,ty.k)(e.rotate||0,i.rotate||0,s))}(r,n,this.latestValues,s,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,l.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=l.Gt.update(()=>{var e,i,s;let n;t4.hasAnimatedSinceResize=!0,k.q.layout++,this.motionValue||(this.motionValue=(0,u.OQ)(0)),this.currentAnimation=(e=this.motionValue,i=[0,1e3],s={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{k.q.layout--},onComplete:()=>{k.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(n=(0,p.S)(e)?e:(0,u.OQ)(e)).start(tt("",n,i,s)),n.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:s,latestValues:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&e8(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,tC.ge)();let e=tS(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=tS(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}ew(e,i),(0,eP.Ww)(e,n),tV(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eF),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;
1return 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 s=this.getStack();s&&s.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 s={};i.z&&eW("z",t,s,this.animationValues);for(let e=0;e<eI.length;e++)eW(`rotate${eI[e]}`,t,s,this.animationValues),eW(`skew${eI[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[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,eu.u)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,eu.u)(e?.pointerEvents)||""),this.hasProjected&&!(0,eB.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=s.animationValues||s.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let s="",n=t.x.translate/e.x,r=t.y.translate/e.y,a=i?.z||0;if((n||r||a)&&(s=`translate3d(${n}px, ${r}px, ${a}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:r,skewX:a,skewY:o}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),n&&(s+=`rotateX(${n}deg) `),r&&(s+=`rotateY(${r}deg) `),a&&(s+=`skewX(${a}deg) `),o&&(s+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(s+=`scale(${o}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(r=i(n,r)),t.transform=r;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,s.animationValues?t.opacity=s===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=s===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,t7.H){if(void 0===n[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=t7.H[e],l="none"===r?n[e]:i(n[e],s);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?(0,eu.u)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eY),this.root.sharedNodes.clear()}}}function e$(t){t.updateLayout()}function eX(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:n}=t.options,r=e.source!==t.layout.source;"size"===n?tD(t=>{let s=r?e.measuredBox[t]:e.layoutBox[t],n=tS(s);s.min=i[t].min,s.max=s.min+n}):e8(n,e.layoutBox,i)&&tD(s=>{let n=r?e.measuredBox[s]:e.layoutBox[s],a=tS(i[s]);n.max=n.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+a)});let a=(0,tC.xU)();tV(a,i,e.layoutBox);let o=(0,tC.xU)();r?tV(o,t.applyTransform(s,!0),e.measuredBox):tV(o,i,e.layoutBox);let l=!eE(a),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:r}=s;if(n&&r){let a=(0,tC.ge)();tE(a,e.layoutBox,n.layoutBox);let o=(0,tC.ge)();tE(o,i,r.layoutBox),eR(a,o)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eq(t){E.Q.value&&eO.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eG(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eH(t){t.clearSnapshot()}function eY(t){t.clearMeasurements()}function eK(t){t.isLayoutDirty=!1}function ez(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eQ(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function e_(t){t.resolveTargetDelta()}function eZ(t){t.calcProjection()}function eJ(t){t.resetSkewAndRotation()}function e0(t){t.removeLeadSnapshot()}function e1(t,e,i){t.translate=(0,ty.k)(e.translate,0,i),t.scale=(0,ty.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function e3(t,e,i,s){t.min=(0,ty.k)(e.min,i.min,s),t.max=(0,ty.k)(e.max,i.max,s)}function e9(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let e5={duration:.45,ease:[.4,0,.1,1]},e6=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),e4=e6("applewebkit/")&&!e6("chrome/")?Math.round:x.l;function e2(t){t.min=e4(t.min),t.max=e4(t.max)}function e8(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ej(e)-ej(i)))}function e7(t){return t!==t.root&&t.scroll?.wasRoot}let it=eN({attachResizeListener:(t,e)=>tx(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ie={current:void 0},ii=eN({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ie.current){let t=new it({});t.mount(window),t.setOptions({layoutScroll:!0}),ie.current=t}return ie.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var is=i(4271);function ir(t,e){let i=(0,is.K)(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function ia(t){return!("touch"===t.pointerType||tv.x||tv.y)}function io(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=s["onHover"+i];n&&l.Gt.postRender(()=>n(e,tT(e)))}class il extends tc{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,r]=ir(t,i),a=t=>{if(!ia(t))return;let{target:i}=t,s=e(i,t);if("function"!=typeof s||!i)return;let r=t=>{ia(t)&&(s(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,n)};return s.forEach(t=>{t.addEventListener("pointerenter",a,n)}),r}(t,(t,e)=>(io(this.node,e,"Start"),t=>io(this.node,t,"End"))))}unmount(){}}class ih extends tc{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,tF.F)(tx(this.node.current,"focus",()=>this.onFocus()),tx(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var iu=i(29468);let id=(t,e)=>!!e&&(t===e||id(t,e.parentElement)),ic=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ip=new WeakSet;function im(t){return e=>{"Enter"===e.key&&t(e)}}function iv(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function ig(t){return tw(t)&&!(tv.x||tv.y)}function iy(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&&l.Gt.postRender(()=>n(e,tT(e)))}class ix extends tc{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,r]=ir(t,i),a=t=>{let s=t.currentTarget;if(!ig(t))return;ip.add(s);let r=e(s,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),ip.has(s)&&ip.delete(s),ig(t)&&"function"==typeof r&&r(t,{success:e})},o=t=>{a(t,s===window||s===document||i.useGlobalTarget||id(s,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",l,n)};
1return s.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,n),(0,iu.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=im(()=>{if(ip.has(i))return;iv(i,"down");let t=im(()=>{iv(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>iv(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,n)),ic.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(iy(this.node,e,"Start"),(t,{success:e})=>iy(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iw=new WeakMap,iT=new WeakMap,iP=t=>{let e=iw.get(t.target);e&&e(t)},ib=t=>{t.forEach(iP)},iS={some:0,all:1};class iA extends tc{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:s,margin:n,amount:r="some",once:a}=i,o={root:s?s.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:iS[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;iT.has(i)||iT.set(i,{});let s=iT.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(ib,{root:t,...e})),s[n]}(o),iw.set(t,l),e.observe(t),()=>{iw.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(){}}let iV={animation:{Feature:tp},exit:{Feature:tf},inView:{Feature:iA},tap:{Feature:ix},focus:{Feature:ih},hover:{Feature:il},pan:{Feature:tJ},drag:{Feature:t_,ProjectionNode:ii,MeasureLayout:ei},layout:{ProjectionNode:ii,MeasureLayout:ei}}},52019:(t,e,i)=>{i.d(e,{B:()=>r});var s=i(85646),n=i(46590);function r({keyframes:t,velocity:e=0,power:i=.8,timeConstant:a=325,bounceDamping:o=10,bounceStiffness:l=500,modifyTarget:h,min:u,max:d,restDelta:c=.5,restSpeed:p}){let m,f,v=t[0],g={done:!1,value:v},y=i*e,x=v+y,w=void 0===h?x:h(x);w!==x&&(y=w-v);let T=t=>-y*Math.exp(-t/a),P=t=>w+T(t),b=t=>{let e=T(t),i=P(t);g.done=Math.abs(e)<=c,g.value=g.done?w:i},S=t=>{let e;if(e=g.value,void 0!==u&&e<u||void 0!==d&&e>d){var i;m=t,f=(0,s.o)({keyframes:[g.value,(i=g.value,void 0===u?d:void 0===d||Math.abs(u-i)<Math.abs(d-i)?u:d)],velocity:(0,n.Y)(P,t,g.value),damping:o,stiffness:l,restDelta:c,restSpeed:p})}};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(f||void 0!==m||(e=!0,b(t),S(t)),void 0!==m&&t>=m)?f.next(t-m):(e||b(t),g)}}}},53311:(t,e,i)=>{i.d(e,{k:()=>s});let s=(t,e,i)=>t+(e-t)*i},54352:(t,e,i)=>{i.d(e,{I:()=>s});let s=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},55846:(t,e,i)=>{i.d(e,{B:()=>o});var s=i(66811),n=i(33193);let r={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function o(t,{attrX:e,attrY:i,attrScale:l,pathLength:h,pathSpacing:u=1,pathOffset:d=0,...c},p,m,f){if((0,s.O)(t,c,m),p){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:v,style:g}=t;v.transform&&(g.transform=v.transform,delete v.transform),(g.transform||v.transformOrigin)&&(g.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),g.transform&&(g.transformBox=f?.transformBox??"fill-box",delete v.transformBox),void 0!==e&&(v.x=e),void 0!==i&&(v.y=i),void 0!==l&&(v.scale=l),void 0!==h&&function(t,e,i=1,s=0,o=!0){t.pathLength=1;let l=o?r:a;t[l.offset]=n.px.transform(-s);let h=n.px.transform(e),u=n.px.transform(i);t[l.array]=`${h} ${u}`}(v,h,u,d,!1)}},58240:(t,e,i)=>{i.d(e,{$:()=>s});let s=new Set(["width","height","top","left","right","bottom",...i(64065).U])}
1,59386:(t,e,i)=>{i.d(e,{U:()=>s,_:()=>n});let s=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],n=["initial",...s]},62745:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>u});let s=t=>180*t/Math.PI,n=t=>a(s(Math.atan2(t[1],t[0]))),r={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:n,rotateZ:n,skewX:t=>s(Math.atan(t[1])),skewY:t=>s(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},a=t=>((t%=360)<0&&(t+=360),t),o=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),h={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:o,scaleY:l,scale:t=>(o(t)+l(t))/2,rotateX:t=>a(s(Math.atan2(t[6],t[5]))),rotateY:t=>a(s(Math.atan2(-t[2],t[0]))),rotateZ:n,rotate:n,skewX:t=>s(Math.atan(t[4])),skewY:t=>s(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function u(t){return+!!t.includes("scale")}function d(t,e){let i,s;if(!t||"none"===t)return u(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=h,s=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=r,s=e}if(!s)return u(e);let a=i[e],o=s[1].split(",").map(p);return"function"==typeof a?a(o):o[a]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},64065:(t,e,i)=>{i.d(e,{U:()=>s,f:()=>n});let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(s)},64463:(t,e,i)=>{i.d(e,{t:()=>s});let s=(0,i(16536).createContext)(null)},66373:(t,e,i)=>{i.d(e,{Sz:()=>a,ZZ:()=>l,dg:()=>o});var s=i(98798),n=i(45860),r=i(90327);let a=(0,s.A)(.33,1.53,.69,.99),o=(0,r.G)(a),l=(0,n.V)(o)},66811:(t,e,i)=>{i.d(e,{O:()=>h});var s=i(64065),n=i(44997);let r=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var a=i(44672);let o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=s.U.length;function h(t,e,i){let{style:h,vars:u,transformOrigin:d}=t,c=!1,p=!1;for(let t in e){let i=e[t];if(s.f.has(t)){c=!0;continue}if((0,n.j)(t)){u[t]=i;continue}{let e=r(i,a.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):h[t]=e}}if(!e.transform&&(c||i?h.transform=function(t,e,i){let n="",h=!0;for(let u=0;u<l;u++){let l=s.U[u],d=t[l];if(void 0===d)continue;let c=!0;if(!(c="number"==typeof d?d===+!!l.startsWith("scale"):0===parseFloat(d))||i){let t=r(d,a.W[l]);if(!c){h=!1;let e=o[l]||l;n+=`${e}(${t}) `}i&&(e[l]=t)}}return n=n.trim(),i?n=i(e,h?"":n):h&&(n="none"),n}(e,t.transform,i):h.transform&&(h.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=d;h.transformOrigin=`${t} ${e} ${i}`}}},67e3:(t,e,i)=>{i.d(e,{xQ:()=>r});var s=i(16536),n=i(64463);function r(t=!0){let e=(0,s.useContext)(n.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:a,register:o}=e,l=(0,s.useId)();(0,s.useEffect)(()=>{if(t)return o(l)},[t]);let h=(0,s.useCallback)(()=>t&&a&&a(l),[l,a,t]);return!i&&a?[!1,h]:[!0]}},67436:(t,e,i)=>{i.d(e,{u:()=>n});var s=i(22801);let n={test:(0,i(16978).$)("#"),parse:function(t){let e="",i="",s="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,s+=s,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}},transform:s.B.transform}},68343:(t,e,i)=>{i.d(e,{q:()=>s});let s=(t,e,i)=>i>e?e:i<t?t:i},68840:(t,e,i)=>{i.d(e,{I:()=>a});var s=i(4178);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var r=i(53);function a(t,e){let i=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,h=n.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,n=!1,a=!1,o=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},h=0;function u(e){o.has(e)&&(d.schedule(e),t()),h++,e(l)}let d={schedule:(t,e=!1,r=!1)=>{let a=r&&n?i:s;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{s.delete(t),o.delete(t)},process:t=>{if(l=t,n){a=!0;return}n=!0,[i,s]=[s,i],i.forEach(u),e&&r.Q.value&&r.Q.value.frameloop[e].push(h),h=0,i.clear(),n=!1,a&&(a=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:u,read:d,resolveKeyframes:c,preUpdate:p,update:m,preRender:f,render:v,postRender:g}=h,y=()=>{let n=s.W.useManualTiming?o.timestamp:performance.now();i=!1,s.W.useManualTiming||(o.delta=a?1e3/60:Math.max(Math.min(n-o.timestamp,40),1)),o.timestamp=n,o.isProcessing=!0,u.process(o),d.process(o),c.process(o),p.process(o),m.process(o),f.process(o),v.process(o),g.process(o),o.isProcessing=!1,i&&e&&(a=!1,t(y))};return{schedule:n.reduce((e,s)=>{let n=h[s];return e[s]=(e,s=!1,r=!1)=>(!i&&(i=!0,a=!0,o.isProcessing||t(y)),n.schedule(e,s,r)),e},{}),cancel:t=>{for(let e=0;e<n.length;e++)h[n[e]].cancel(t)},state:o,steps:h}}},69306:(t,e,i)=>{function s({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function n({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function r(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}i.d(e,{FY:()=>s,bS:()=>r,pA:()=>n})},70883:(t,e,i)=>{i.d(e,{E4:()=>
1o,Hr:()=>d,W9:()=>u});var s=i(62745),n=i(64065),r=i(84096),a=i(33193);let o=t=>t===r.ai||t===a.px,l=new Set(["x","y","z"]),h=n.U.filter(t=>!l.has(t));function u(t){let e=[];return h.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-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})=>(0,s.ry)(e,"x"),y:(t,{transform:e})=>(0,s.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},74695:(t,e,i)=>{i.d(e,{y:()=>a});var s=i(67436),n=i(29125),r=i(22801);let a={test:t=>r.B.test(t)||s.u.test(t)||n.V.test(t),parse:t=>r.B.test(t)?r.B.parse(t):n.V.test(t)?n.V.parse(t):s.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?r.B.transform(t):n.V.transform(t),getAnimatableNone:t=>{let e=a.parse(t);return e.alpha=0,a.transform(e)}}},76480:(t,e,i)=>{i.d(e,{s:()=>y});var s=i(91456),n=i(68343),r=i(95154),a=i(85058),o=i(4827),l=i(41590),h=i(41268);let u=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>h.Gt.update(e,t),stop:()=>(0,h.WG)(e),now:()=>h.uv.isProcessing?h.uv.timestamp:a.k.now()}};var d=i(52019),c=i(33934),p=i(92159),m=i(92233),f=i(98927),v=i(93505);let g=t=>t/100;class y extends v.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},o.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,f.E)(t);let{type:e=c.i,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:a=0}=t,{keyframes:o}=t,h=e||c.i;h!==c.i&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,s.F)(g,(0,l.j)(o[0],o[1])),o=[0,100]);let u=h({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=h({...t,keyframes:[...o].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=(0,p.t)(u));let{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}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{generator:i,totalDuration:s,mixKeyframes:r,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:h=0,keyframes:u,repeat:c,repeatType:p,repeatDelay:f,type:v,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let x=this.currentTime-h*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?x<0:x>s;this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let T=this.currentTime,P=i;if(c){let t=Math.min(this.currentTime,s)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/o)):"mirror"===p&&(P=a)),T=(0,n.q)(0,1,i)*o}let b=w?{done:!1,value:u[0]}:P.next(T);r&&(b.value=r(b.value));let{done:S}=b;w||null===l||(S=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return A&&v!==d.B&&(b.value=(0,m.X)(u,this.options,y,this.speed)),g&&g(b.value),A&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return(0,r.X)(this.calculatedDuration)}get time(){return(0,r.X)(this.currentTime)}set time(t){t=(0,r.f)(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?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(a.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,r.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=u,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(a.k.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,o.q.mainThread--}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)}}},77592:(t,e,i)=>{i.d(e,{G:()=>u});var s=i(4178),n=i(79644),r=i(91456),a=i(46417),o=i(99665),l=i(68343),h=i(41590);function u(t,e,{clamp:i=!0,ease:d,mixer:c}={}){let p=t.length;if((0,a.V)(p===e.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let m=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());
1let f=function(t,e,i){let a=[],o=i||s.W.mix||h.j,l=t.length-1;for(let i=0;i<l;i++){let s=o(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.l:e;s=(0,r.F)(t,s)}a.push(s)}return a}(e,d,c),v=f.length,g=i=>{if(m&&i<t[0])return e[0];let s=0;if(v>1)for(;s<t.length-2&&!(i<t[s+1]);s++);let n=(0,o.q)(t[s],t[s+1],i);return f[s](n)};return i?e=>g((0,l.q)(t[0],t[p-1],e)):g}},79644:(t,e,i)=>{i.d(e,{l:()=>s});let s=t=>t},81387:(t,e,i)=>{i.d(e,{V:()=>u,f:()=>m});var s=i(74695);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var r=i(47869),a=i(38968);let o="number",l="color",h=/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 u(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],a=0,u=e.replace(h,t=>(s.y.test(t)?(n.color.push(a),r.push(l),i.push(s.y.parse(t))):t.startsWith("var(")?(n.var.push(a),r.push("var"),i.push(t)):(n.number.push(a),r.push(o),i.push(parseFloat(t))),++a,"${}")).split("${}");return{values:i,split:u,indexes:n,types:r}}function d(t){return u(t).values}function c(t){let{split:e,types:i}=u(t),n=e.length;return t=>{let r="";for(let h=0;h<n;h++)if(r+=e[h],void 0!==t[h]){let e=i[h];e===o?r+=(0,a.a)(t[h]):e===l?r+=s.y.transform(t[h]):r+=t[h]}return r}}let p=t=>"number"==typeof t?0:s.y.test(t)?s.y.getAnimatableNone(t):t,m={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(r.S)?.length||0)+(t.match(n)?.length||0)>0},parse:d,createTransformer:c,getAnimatableNone:function(t){let e=d(t);return c(t)(e.map(p))}}},82427:(t,e,i)=>{i.d(e,{L:()=>a,m:()=>r});var s=i(69306),n=i(21029);function r(t,e){return(0,s.FY)((0,s.bS)(t.getBoundingClientRect(),e))}function a(t,e,i){let s=r(t,i),{scroll:a}=e;return a&&((0,n.Ql)(s.x,a.offset.x),(0,n.Ql)(s.y,a.offset.y)),s}},84096:(t,e,i)=>{i.d(e,{X4:()=>r,ai:()=>n,hs:()=>a});var s=i(68343);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},r={...n,transform:t=>(0,s.q)(0,1,t)},a={...n,default:1}},85058:(t,e,i)=>{let s;i.d(e,{k:()=>o});var n=i(4178),r=i(41268);function a(){s=void 0}let o={now:()=>(void 0===s&&o.set(r.uv.isProcessing||n.W.useManualTiming?r.uv.timestamp:performance.now()),s),set:t=>{s=t,queueMicrotask(a)}}},85646:(t,e,i)=>{i.d(e,{o:()=>g});var s=i(68343),n=i(95154),r=i(93376),a=i(92159),o=i(46590);let l=.01,h=2,u=.005,d=.5;var c=i(46417);function p(t,e){return t*Math.sqrt(1-e*e)}let m=["duration","bounce"],f=["stiffness","damping","mass"];function v(t,e){return e.some(e=>void 0!==t[e])}function g(t=.3,e=.3){let i,y="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:x,restDelta:w}=y,T=y.keyframes[0],P=y.keyframes[y.keyframes.length-1],b={done:!1,value:T},{stiffness:S,damping:A,mass:V,duration:M,velocity:k,isResolvedFromDuration:E}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!v(t,f)&&v(t,m))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,s.q)(.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:r=1}){let a,o;(0,c.$)(t<=(0,n.f)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-e;l=(0,s.q)(.05,1,l),t=(0,s.q)(.01,10,(0,n.X)(t)),l<1?(a=e=>{let s=e*l,n=s*t;return .001-(s-i)/p(e,l)*Math.exp(-n)},o=e=>{let s=e*l*t,n=Math.pow(l,2)*Math.pow(e,2)*t,r=Math.exp(-s),o=p(Math.pow(e,2),l);return(s*i+i-n)*r*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=e=>t*t*(i-e)*Math.exp(-e*t));let h=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(a,o,5/t);if(t=(0,n.f)(t),isNaN(h))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(h,2)*r;return{stiffness:e,damping:2*l*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...y,velocity:-(0,n.X)(y.velocity||0)}),C=k||0,D=A/(2*Math.sqrt(S*V)),R=P-T,j=(0,n.X)(Math.sqrt(S/V)),L=5>Math.abs(R);if(x||(x=L?l:h),w||(w=L?u:d),D<1){let t=p(j,D);i=e=>P-Math.exp(-D*j*e)*((C+D*j*R)/t*Math.sin(t*e)+R*Math.cos(t*e))}else if(1===D)i=t=>
1P-Math.exp(-j*t)*(R+(C+j*R)*t);else{let t=j*Math.sqrt(D*D-1);i=e=>{let i=Math.exp(-D*j*e),s=Math.min(t*e,300);return P-i*((C+D*j*R)*Math.sinh(s)+t*R*Math.cosh(s))/t}}let F={calculatedDuration:E&&M||null,next:t=>{let e=i(t);if(E)b.done=t>=M;else{let s=0===t?C:0;D<1&&(s=0===t?(0,n.f)(C):(0,o.Y)(i,t,e));let r=Math.abs(P-e)<=w;b.done=Math.abs(s)<=x&&r}return b.value=b.done?P:e,b},toString:()=>{let t=Math.min((0,a.t)(F),a.Y),e=(0,r.K)(e=>F.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return F}g.applyToOptions=t=>{let e=function(t,e=100,i){let s=i({...t,keyframes:[0,e]}),r=Math.min((0,a.t)(s),a.Y);return{type:"keyframes",ease:t=>s.next(r*t).value/e,duration:(0,n.X)(r)}}(t,100,g);return t.ease=e.ease,t.duration=(0,n.f)(e.duration),t.type="keyframes",t}},87132:(t,e,i)=>{i.d(e,{D:()=>s});let s=t=>Array.isArray(t)&&"number"==typeof t[0]},87187:(t,e,i)=>{i.d(e,{L:()=>s});let s=(0,i(16536).createContext)({})},90327:(t,e,i)=>{i.d(e,{G:()=>s});let s=t=>e=>1-t(1-e)},91456:(t,e,i)=>{i.d(e,{F:()=>n});let s=(t,e)=>i=>e(t(i)),n=(...t)=>t.reduce(s)},91876:(t,e,i)=>{i.d(e,{S:()=>s});let s=t=>!!(t&&t.getVelocity)},92159:(t,e,i)=>{i.d(e,{Y:()=>s,t:()=>n});let s=2e4;function n(t){let e=0,i=t.next(e);for(;!i.done&&e<s;)e+=50,i=t.next(e);return e>=s?1/0:e}},92233:(t,e,i)=>{i.d(e,{X:()=>n});let s=t=>null!==t;function n(t,{repeat:e,repeatType:i="loop"},r,a=1){let o=t.filter(s),l=a<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return l&&void 0!==r?r:o[l]}},92262:(t,e,i)=>{i.d(e,{J:()=>tr});var s=i(16536),n=i(64065),r=i(62745),a=i(44997),o=i(82427),l=i(58240),h=i(84096),u=i(33193);let d=t=>e=>e.test(t),c=[h.ai,u.px,u.KN,u.uj,u.vw,u.vh,{test:t=>"auto"===t,parse:t=>t}],p=t=>c.find(d(t));var m=i(46417);let f=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var v=i(35595),g=i(81387),y=i(47869);let x=new Set(["brightness","contrast","saturate","opacity"]);function w(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(y.S)||[];if(!s)return t;let n=i.replace(s,""),r=+!!x.has(e);return s!==i&&(r*=100),e+"("+r+n+")"}let T=/\b([a-z-]*)\(.*?\)/gu,P={...g.f,getAnimatableNone:t=>{let e=t.match(T);return e?e.map(w).join(" "):t}};var b=i(74695);let S={...i(44672).W,color:b.y,backgroundColor:b.y,outlineColor:b.y,fill:b.y,stroke:b.y,borderColor:b.y,borderTopColor:b.y,borderRightColor:b.y,borderBottomColor:b.y,borderLeftColor:b.y,filter:P,WebkitFilter:P},A=t=>S[t];function V(t,e){let i=A(t);return i!==P&&(i=g.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let M=new Set(["auto","none","0"]);var k=i(70883);class E extends v.h{constructor(t,e,i,s,n){super(t,e,i,s,n,!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 s=t[i];if("string"==typeof s&&(s=s.trim(),(0,a.p)(s))){let n=function t(e,i,s=1){(0,m.V)(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,r]=function(t){let e=f.exec(t);if(!e)return[,];let[,i,s,n]=e;return[`--${i??s}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return(0,a.p)(r)?t(r,i,s+1):r}(s,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!l.$.has(i)||2!==t.length)return;let[s,n]=t,r=p(s),o=p(n);if(r!==o)if((0,k.E4)(r)&&(0,k.E4)(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else k.Hr[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 s,n=0;for(;n<t.length&&!s;){let e=t[n];"string"==typeof e&&!M.has(e)&&(0,g.V)(e).values.length&&(s=t[n]),n++}if(s&&i)for(let n of e)t[n]=V(i,s)}(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=k.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let n=i.length-1,r=i[n];i[n]=k.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var C=i(91876),D=i(85058),R=i(41268),j=i(33125);let L=[...c,b.y,g.f];var F=i(99016),B=i(2781),O=i(39588),I=i(15280),U=i(99170);let W={current:null},N={current:!1},$=new WeakMap;var X=i(1847),q=i(22757);let G=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class H{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:n,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=v.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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=D.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,R.Gt.render(this.render,!1,!0))};const{latestValues:o,renderState:l}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=!!n,this.isControllingVariants=(0,X.e)(e),this.isVariantNode=(0,X.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...u}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in u){const e=u[t];void 0!==o[t]&&(0,C.S)(e)&&e.set(o[t])}}mount(t){this.current=t,$.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)),N.current||function(){if(N.current=!0,U.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>W.current=t.matches;t.addEventListener("change",e),e()}else W.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||W.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,R.WG)(this.notifyUpdate),(0,R.WG)(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;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=n.f.has(t);s&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&R.Gt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}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 O.B){let e=O.B[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];e.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):(0,I.ge)()}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<G.length;e++){let i=G[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}
1this.prevMotionValues=function(t,e,i){for(let s in e){let n=e[s],r=i[s];if((0,C.S)(n))t.addValue(s,n);else if((0,C.S)(r))t.addValue(s,(0,j.OQ)(n,{owner:t}));else if(r!==n)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(s);t.addValue(s,(0,j.OQ)(void 0!==e?e:n,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);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=(0,j.OQ)(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 s,n;if("string"==typeof i&&(s=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(s)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let s;s=i,!L.find(d(s))&&g.f.test(e)&&(i=V(t,e))}this.setBaseTarget(t,(0,C.S)(i)?i.get():i)}return(0,C.S)(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 s=(0,q.a)(this.props,i,this.presenceContext?.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,C.S)(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new B.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){F.k.render(this.render)}}class Y extends H{constructor(){super(...arguments),this.KeyframeResolver=E}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[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;(0,C.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var K=i(66811);function z(t,{style:e,vars:i},s,n){let r,a=t.style;for(r in e)a[r]=e[r];for(r in n?.applyProjectionStyles(a,s),i)a.setProperty(r,i[r])}var Q=i(31316);class _ extends Y{constructor(){super(...arguments),this.type="html",this.renderInstance=z}readValueFromInstance(t,e){if(n.f.has(e))return this.projection?.isProjecting?(0,r.zs)(e):(0,r.Ib)(t,e);{let i=window.getComputedStyle(t),s=((0,a.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,o.m)(t,e)}build(t,e,i){(0,K.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,Q.x)(t,e,i)}}var Z=i(54352),J=i(55846);let tt=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"]);var te=i(33857),ti=i(26069);class ts extends Y{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=I.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.f.has(e)){let t=A(e);return t&&t.default||0}return e=tt.has(e)?e:(0,Z.I)(e),t.getAttribute(e)}
1scrapeMotionValuesFromProps(t,e,i){return(0,ti.x)(t,e,i)}build(t,e,i){(0,J.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in z(t,e,void 0,s),e.attrs)t.setAttribute(tt.has(i)?i:(0,Z.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,te.n)(t.tagName),super.mount(t)}}var tn=i(99227);let tr=(t,e)=>(0,tn.Q)(t)?new ts(e):new _(e,{allowProjection:t!==s.Fragment})},93376:(t,e,i)=>{i.d(e,{K:()=>s});let s=(t,e,i=10)=>{let s="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)s+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`}},93505:(t,e,i)=>{i.d(e,{q:()=>s});class s{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)}}},95154:(t,e,i)=>{i.d(e,{X:()=>n,f:()=>s});let s=t=>1e3*t,n=t=>t/1e3},98798:(t,e,i)=>{i.d(e,{A:()=>r});var s=i(79644);let n=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function r(t,e,i,r){return t===e&&i===r?s.l:s=>0===s||1===s?s:n(function(t,e,i,s,r){let a,o,l=0;do(a=n(o=e+(i-e)/2,s,r)-t)>0?i=o:e=o;while(Math.abs(a)>1e-7&&++l<12);return o}(s,0,1,t,i),e,r)}},98927:(t,e,i)=>{i.d(e,{E:()=>o});var s=i(52019),n=i(33934),r=i(85646);let a={decay:s.B,inertia:s.B,tween:n.i,keyframes:n.i,spring:r.o};function o(t){"string"==typeof t.type&&(t.type=a[t.type])}},99016:(t,e,i)=>{i.d(e,{k:()=>s});let{schedule:s}=(0,i(68840).I)(queueMicrotask,!1)},99170:(t,e,i)=>{i.d(e,{B:()=>s});let s="u">typeof window},99227:(t,e,i)=>{i.d(e,{Q:()=>n});let s=["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 n(t){if("string"!=typeof t||t.includes("-"));else if(s.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},99665:(t,e,i)=>{i.d(e,{q:()=>s});let s=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s}},99675:(t,e,i)=>{i.d(e,{$:()=>r,H:()=>n});var s=i(44997);let n={};function r(t){for(let e in t)n[e]=t[e],(0,s.j)(e)&&(n[e].isCSSVariable=!0)}},99863:(t,e,i)=>{i.d(e,{N:()=>s});let s=(0,i(16536).createContext)({})}}]);
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.