<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7889],{72979:function(t,e,i){i.d(e,{ErrorBoundary:function(){return o}});var s=i(2265);let n=(0,s.createContext)(null),r={didCatch:!1,error:null};class o extends s.Component{static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){let{error:t}=this.state;if(null!==t){for(var e,i,s=arguments.length,n=Array(s),o=0;o&lt;s;o++)n[o]=arguments[o];null===(e=(i=this.props).onReset)||void 0===e||e.call(i,{args:n,reason:"imperative-api"}),this.setState(r)}}componentDidCatch(t,e){var i,s;null===(i=(s=this.props).onError)||void 0===i||i.call(s,t,e)}componentDidUpdate(t,e){let{didCatch:i}=this.state,{resetKeys:s}=this.props;if(i&amp;&amp;null!==e.error&amp;&amp;function(){let t=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:[],e=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:[];return t.length!==e.length||t.some((t,i)=&gt;!Object.is(t,e[i]))}(t.resetKeys,s)){var n,o;null===(n=(o=this.props).onReset)||void 0===n||n.call(o,{next:s,prev:t.resetKeys,reason:"keys"}),this.setState(r)}}render(){let{children:t,fallbackRender:e,FallbackComponent:i,fallback:r}=this.props,{didCatch:o,error:a}=this.state,l=t;if(o){let t={error:a,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof e)l=e(t);else if(i)l=(0,s.createElement)(i,t);else if(void 0!==r)l=r;else throw a}return(0,s.createElement)(n.Provider,{value:{didCatch:o,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=r}}},15465:function(t,e,i){i.d(e,{p:function(){return s}});let s=(0,i(2265).createContext)({})},11031:function(t,e,i){i.d(e,{_:function(){return s}});let s=(0,i(2265).createContext)({transformPagePoint:t=&gt;t,isStatic:!1,reducedMotion:"never"})},35205:function(t,e,i){i.d(e,{O:function(){return s}});let s=(0,i(2265).createContext)(null)},99893:function(t,e,i){let s;i.d(e,{E:function(){return ru}});var n,r=i(57437),o=i(2265),a=i(11031);let l=(0,o.createContext)({});var h=i(35205),u=i(25070);let d=(0,o.createContext)({strict:!1}),c=t=&gt;t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),p="data-"+c("framerAppearId"),m={skipAnimations:!1,useManualTiming:!1},f=["read","resolveKeyframes","update","preRender","render","postRender"];function v(t,e){let i=!1,s=!0,n={delta:0,timestamp:0,isProcessing:!1},r=()=&gt;i=!0,o=f.reduce((t,e)=&gt;(t[e]=function(t){let e=new Set,i=new Set,s=!1,n=!1,r=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){r.has(e)&amp;&amp;(l.schedule(e),t()),e(o)}let l={schedule:(t,n=!1,o=!1)=&gt;{let a=o&amp;&amp;s?e:i;return n&amp;&amp;r.add(t),a.has(t)||a.add(t),t},cancel:t=&gt;{i.delete(t),r.delete(t)},process:t=&gt;{if(o=t,s){n=!0;return}s=!0,[e,i]=[i,e],i.clear(),e.forEach(a),s=!1,n&amp;&amp;(n=!1,l.process(t))}};return l}(r),t),{}),{read:a,resolveKeyframes:l,update:h,preRender:u,render:d,postRender:c}=o,p=()=&gt;{let r=m.useManualTiming?n.timestamp:performance.now();i=!1,n.delta=s?1e3/60:Math.max(Math.min(r-n.timestamp,40),1),n.timestamp=r,n.isProcessing=!0,a.process(n),l.process(n),h.process(n),u.process(n),d.process(n),c.process(n),n.isProcessing=!1,i&amp;&amp;e&amp;&amp;(s=!1,t(p))},v=()=&gt;{i=!0,s=!0,n.isProcessing||t(p)};return{schedule:f.reduce((t,e)=&gt;{let s=o[e];return t[e]=(t,e=!1,n=!1)=&gt;(i||v(),s.schedule(t,e,n)),t},{}),cancel:t=&gt;{for(let e=0;e&lt;f.length;e++)o[f[e]].cancel(t)},state:n,steps:o}}let{schedule:g,cancel:y}=v(queueMicrotask,!1);function x(t){return t&amp;&amp;"object"==typeof t&amp;&amp;Object.prototype.hasOwnProperty.call(t,"current")}let P=(0,o.createContext)({}),w=!1;function T(){window.HandoffComplete=!0}function b(t){return"string"==typeof t||Array.isArray(t)}function S(t){return null!==t&amp;&amp;"object"==typeof t&amp;&amp;"function"==typeof t.start}let A=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],V=["initial",...A];function E(t){return S(t.animate)||V.some(e=&gt;b(t[e]))}function C(t){return!!(E(t)||t.variants)}function M(t){return Array.isArray(t)?t.join(" "):t}let R={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"]},D={};for(let t in R)D[t]={isEnabled:e=&gt;R[t].some(t=&gt;!!e[t])};var k=i(59839),j=i(15465);let L=Symbol.for("motionComponentSymbol"),F=["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 B(t){if("string"!=typeof t||t.includes("-"));else if(F.indexOf(t)&gt;-1||/[A-Z]/u.test(t))return!0;return!1}let O={},U=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],I=new Set(U);function $(t,{layout:e,layoutId:i}){return I.has(t)||t.startsWith("origin")||(e||void 0!==i)&amp;&amp;(!!O[t]||"opacity"===t)}let W=t=&gt;!!(t&amp;&amp;t.getVelocity),N=(t,e)=&gt;e&amp;&amp;"number"==typeof t?e.transform(t):t,K=(t,e,i)=&gt;i&gt;e?e:i&lt;t?t:i,z={test:t=&gt;"number"==typeof t,parse:parseFloat,transform:t=&gt;t},H={...z,transform:t=&gt;K(0,1,t)},Y={...z,default:1},Z=t=&gt;Math.round(1e5*t)/1e5,X=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,G=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,q=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function _(t){return"string"==typeof t}let J=t=&gt;({test:e=&gt;_(e)&amp;&amp;e.endsWith(t)&amp;&amp;1===e.split(" ").length,parse:parseFloat,transform:e=&gt;`${e}${t}`}),Q=J("deg"),tt=J("%"),te=J("px"),ti=J("vh"),ts=J("vw"),tn={...tt,parse:t=&gt;tt.parse(t)/100,transform:t=&gt;tt.transform(100*t)},tr={...z,transform:Math.round},to={borderWidth:te,borderTopWidth:te,borderRightWidth:te,borderBottomWidth:te,borderLeftWidth:te,borderRadius:te,radius:te,borderTopLeftRadius:te,borderTopRightRadius:te,borderBottomRightRadius:te,borderBottomLeftRadius:te,width:te,maxWidth:te,height:te,maxHeight:te,size:te,top:te,right:te,bottom:te,left:te,padding:te,paddingTop:te,paddingRight:te,paddingBottom:te,paddingLeft:te,margin:te,marginTop:te,marginRight:te,marginBottom:te,marginLeft:te,rotate:Q,rotateX:Q,rotateY:Q,rotateZ:Q,scale:Y,scaleX:Y,scaleY:Y,scaleZ:Y,skew:Q,skewX:Q,skewY:Q,distance:te,translateX:te,translateY:te,translateZ:te,x:te,y:te,z:te,perspective:te,transformPerspective:te,opacity:H,originX:tn,originY:tn,originZ:te,zIndex:tr,backgroundPositionX:te,backgroundPositionY:te,fillOpacity:H,strokeOpacity:H,numOctaves:tr},ta={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tl=U.length,th=t=&gt;e=&gt;"string"==typeof e&amp;&amp;e.startsWith(t),tu=th("--"),td=th("var(--"),tc=t=&gt;!!td(t)&amp;&amp;tp.test(t.split("/*")[0].trim()),tp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tm(t,e,i){let{style:s,vars:n,transformOrigin:r}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(I.has(t)){o=!0;continue}if(tu(t)){n[t]=i;continue}{let e=N(i,to[t]);t.startsWith("origin")?(a=!0,r[t]=e):s[t]=e}}if(!e.transform&amp;&amp;(o||i?s.transform=function(t,e,i){let s="",n=!0;for(let r=0;r&lt;tl;r++){let o=U[r],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||i){let t=N(a,to[o]);if(!l){n=!1;let e=ta[o]||o;s+=`${e}(${t}) `}i&amp;&amp;(e[o]=t)}}return s=s.trim(),i?s=i(e,n?"":s):n&amp;&amp;(s="none"),s}(e,t.transform,i):s.transform&amp;&amp;(s.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=r;s.transformOrigin=`${t} ${e} ${i}`}}let tf=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{}});function tv(t,e,i){for(let s in e)W(e[s])||$(s,i)||(t[s]=e[s])}let tg=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 ty(t){return t.startsWith("while")||t.startsWith("drag")&amp;&amp;"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||tg.has(t)}let tx=t=&gt;!ty(t);try{(n=require("@emotion/is-prop-valid").default)&amp;&amp;(tx=t=&gt;t.startsWith("on")?!ty(t):n(t))}catch(t){}function tP(t,e,i){return"string"==typeof t?t:te.transform(e+i*t)}let tw={offset:"stroke-dashoffset",array:"stroke-dasharray"},tT={offset:"strokeDashoffset",array:"strokeDasharray"};function tb(t,{attrX:e,attrY:i,attrScale:s,originX:n,originY:r,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...h},u,d){if(tm(t,h,d),u){t.style.viewBox&amp;&amp;(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:p,dimensions:m}=t;c.transform&amp;&amp;(m&amp;&amp;(p.transform=c.transform),delete c.transform),m&amp;&amp;(void 0!==n||void 0!==r||p.transform)&amp;&amp;(p.transformOrigin=function(t,e,i){let s=tP(e,t.x,t.width),n=tP(i,t.y,t.height);return`${s} ${n}`}(m,void 0!==n?n:.5,void 0!==r?r:.5)),void 0!==e&amp;&amp;(c.x=e),void 0!==i&amp;&amp;(c.y=i),void 0!==s&amp;&amp;(c.scale=s),void 0!==o&amp;&amp;function(t,e,i=1,s=0,n=!0){t.pathLength=1;let r=n?tw:tT;t[r.offset]=te.transform(-s);let o=te.transform(e),a=te.transform(i);t[r.array]=`${o} ${a}`}(c,o,a,l,!1)}let tS=()=&gt;({...tf(),attrs:{}}),tA=t=&gt;"string"==typeof t&amp;&amp;"svg"===t.toLowerCase();function tV(t,{style:e,vars:i},s,n){for(let r in Object.assign(t.style,e,n&amp;&amp;n.getProjectionStyles(s)),i)t.style.setProperty(r,i[r])}let tE=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"]);function tC(t,e,i,s){for(let i in tV(t,e,void 0,s),e.attrs)t.setAttribute(tE.has(i)?i:c(i),e.attrs[i])}function tM(t,e,i){var s;let{style:n}=t,r={};for(let o in n)(W(n[o])||e.style&amp;&amp;W(e.style[o])||$(o,t)||(null===(s=null==i?void 0:i.getValue(o))||void 0===s?void 0:s.liveStyle)!==void 0)&amp;&amp;(r[o]=n[o]);return i&amp;&amp;n&amp;&amp;"string"==typeof n.willChange&amp;&amp;(i.applyWillChange=!1),r}function tR(t,e,i){let s=tM(t,e,i);for(let i in t)(W(t[i])||W(e[i]))&amp;&amp;(s[-1!==U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}function tD(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=&gt;{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function tk(t,e,i,s){if("function"==typeof e){let[n,r]=tD(s);e=e(void 0!==i?i:t.custom,n,r)}if("string"==typeof e&amp;&amp;(e=t.variants&amp;&amp;t.variants[e]),"function"==typeof e){let[n,r]=tD(s);e=e(void 0!==i?i:t.custom,n,r)}return e}var tj=i(30185);let tL=t=&gt;Array.isArray(t),tF=t=&gt;!!(t&amp;&amp;"object"==typeof t&amp;&amp;t.mix&amp;&amp;t.toValue),tB=t=&gt;tL(t)?t[t.length-1]||0:t;function tO(t){let e=W(t)?t.get():t;return tF(e)?e.toValue():e}let tU=new Set(["opacity","clipPath","filter","transform"]);function tI(t){return I.has(t)?"transform":tU.has(t)?c(t):void 0}function t$(t,e){-1===t.indexOf(e)&amp;&amp;t.push(e)}function tW(t,e){let i=t.indexOf(e);i&gt;-1&amp;&amp;t.splice(i,1)}let tN=t=&gt;(e,i)=&gt;{let s=(0,o.useContext)(l),n=(0,o.useContext)(h.O),r=()=&gt;(function({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:i,onMount:s},n,r,o,a){let l={latestValues:function(t,e,i,s,n){var r;let o={},a=[],l=s&amp;&amp;(null===(r=t.style)||void 0===r?void 0:r.willChange)===void 0,h=n(t,{});for(let t in h)o[t]=tO(h[t]);let{initial:u,animate:d}=t,c=E(t),p=C(t);e&amp;&amp;p&amp;&amp;!c&amp;&amp;!1!==t.inherit&amp;&amp;(void 0===u&amp;&amp;(u=e.initial),void 0===d&amp;&amp;(d=e.animate));let m=!!i&amp;&amp;!1===i.initial,f=(m=m||!1===u)?d:u;return f&amp;&amp;"boolean"!=typeof f&amp;&amp;!S(f)&amp;&amp;tK(t,f,(t,e)=&gt;{for(let e in t){let i=t[e];if(Array.isArray(i)){let t=m?i.length-1:0;i=i[t]}null!==i&amp;&amp;(o[e]=i)}for(let t in e)o[t]=e[t]}),l&amp;&amp;(d&amp;&amp;!1!==u&amp;&amp;!S(d)&amp;&amp;tK(t,d,t=&gt;{for(let e in t)!function(t,e){let i=tI(e);i&amp;&amp;t$(t,i)}(a,e)}),a.length&amp;&amp;(o.willChange=a.join(","))),o}(n,r,o,!a&amp;&amp;t,e),renderState:i()};return s&amp;&amp;(l.mount=t=&gt;s(n,t,l)),l})(t,e,s,n,i);return i?r():(0,tj.h)(r)};function tK(t,e,i){let s=Array.isArray(e)?e:[e];for(let e=0;e&lt;s.length;e++){let n=tk(t,s[e]);if(n){let{transitionEnd:t,transition:e,...s}=n;i(s,t)}}}var tz=i(32995);let{schedule:tH,cancel:tY,state:tZ,steps:tX}=v("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tz.Z,!0),tG={useVisualState:tN({scrapeMotionValuesFromProps:tR,createRenderState:tS,onMount:(t,e,{renderState:i,latestValues:s})=&gt;{tH.read(()=&gt;{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),tH.render(()=&gt;{tb(i,s,tA(e.tagName),t.transformTemplate),tC(e,i)})}})},tq={useVisualState:tN({applyWillChange:!0,scrapeMotionValuesFromProps:tM,createRenderState:tf})};function t_(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=&gt;t.removeEventListener(e,i)}let tJ=t=&gt;"mouse"===t.pointerType?"number"!=typeof t.button||t.button&lt;=0:!1!==t.isPrimary;function tQ(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}let t0=t=&gt;e=&gt;tJ(e)&amp;&amp;t(e,tQ(e));function t1(t,e,i,s){return t_(t,e,t0(i),s)}let t5=(t,e)=&gt;i=&gt;e(t(i)),t2=(...t)=&gt;t.reduce(t5);function t3(t){let e=null;return()=&gt;null===e&amp;&amp;(e=t,()=&gt;{e=null})}let t9=t3("dragHorizontal"),t6=t3("dragVertical");function t4(t){let e=!1;if("y"===t)e=t6();else if("x"===t)e=t9();else{let t=t9(),i=t6();t&amp;&amp;i?e=()=&gt;{t(),i()}:(t&amp;&amp;t(),i&amp;&amp;i())}return e}function t8(){let t=t4(!0);return!t||(t(),!1)}class t7{constructor(t){this.isMounted=!1,this.node=t}update(){}}function et(t,e){let i=e?"onHoverStart":"onHoverEnd";return t1(t.current,e?"pointerenter":"pointerleave",(s,n)=&gt;{if("touch"===s.pointerType||t8())return;let r=t.getProps();t.animationState&amp;&amp;r.whileHover&amp;&amp;t.animationState.setActive("whileHover",e);let o=r[i];o&amp;&amp;tH.postRender(()=&gt;o(s,n))},{passive:!t.getProps()[i]})}class ee extends t7{mount(){this.unmount=t2(et(this.node,!0),et(this.node,!1))}unmount(){}}class ei extends t7{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&amp;&amp;this.node.animationState&amp;&amp;(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&amp;&amp;this.node.animationState&amp;&amp;(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=t2(t_(this.node.current,"focus",()=&gt;this.onFocus()),t_(this.node.current,"blur",()=&gt;this.onBlur()))}unmount(){}}let es=(t,e)=&gt;!!e&amp;&amp;(t===e||es(t,e.parentElement));function en(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,tQ(i))}class er extends t7{constructor(){super(...arguments),this.removeStartListeners=tz.Z,this.removeEndListeners=tz.Z,this.removeAccessibleListeners=tz.Z,this.startPointerPress=(t,e)=&gt;{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),s=t1(window,"pointerup",(t,e)=&gt;{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:s,globalTapTarget:n}=this.node.getProps(),r=n||es(this.node.current,t.target)?i:s;r&amp;&amp;tH.update(()=&gt;r(t,e))},{passive:!(i.onTap||i.onPointerUp)}),n=t1(window,"pointercancel",(t,e)=&gt;this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=t2(s,n),this.startPress(t,e)},this.startAccessiblePress=()=&gt;{let t=t_(this.node.current,"keydown",t=&gt;{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=t_(this.node.current,"keyup",t=&gt;{"Enter"===t.key&amp;&amp;this.checkPressEnd()&amp;&amp;en("up",(t,e)=&gt;{let{onTap:i}=this.node.getProps();i&amp;&amp;tH.postRender(()=&gt;i(t,e))})}),en("down",(t,e)=&gt;{this.startPress(t,e)}))}),e=t_(this.node.current,"blur",()=&gt;{this.isPressing&amp;&amp;en("cancel",(t,e)=&gt;this.cancelPress(t,e))});this.removeAccessibleListeners=t2(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:s}=this.node.getProps();s&amp;&amp;this.node.animationState&amp;&amp;this.node.animationState.setActive("whileTap",!0),i&amp;&amp;tH.postRender(()=&gt;i(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&amp;&amp;this.node.animationState&amp;&amp;this.node.animationState.setActive("whileTap",!1),!t8()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&amp;&amp;tH.postRender(()=&gt;i(t,e))}mount(){let t=this.node.getProps(),e=t1(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=t_(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=t2(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let eo=new WeakMap,ea=new WeakMap,el=t=&gt;{let e=eo.get(t.target);e&amp;&amp;e(t)},eh=t=&gt;{t.forEach(el)},eu={some:0,all:1};class ed extends t7{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:s="some",once:n}=t,r={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof s?s:eu[s]};return function(t,e,i){let s=function({root:t,...e}){let i=t||document;ea.has(i)||ea.set(i,{});let s=ea.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(eh,{root:t,...e})),s[n]}(e);return eo.set(t,i),s.observe(t),()=&gt;{eo.delete(t),s.unobserve(t)}}(this.node.current,r,t=&gt;{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&amp;&amp;!e&amp;&amp;this.hasEnteredView))return;e&amp;&amp;(this.hasEnteredView=!0),this.node.animationState&amp;&amp;this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),r=e?i:s;r&amp;&amp;r(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=&gt;t[i]!==e[i]}(t,e))&amp;&amp;this.startObserver()}unmount(){}}function ec(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s&lt;i;s++)if(e[s]!==t[s])return!1;return!0}function ep(t,e,i){let s=t.getProps();return tk(s,e,void 0!==i?i:s.custom,t)}let em=t=&gt;1e3*t,ef=t=&gt;t/1e3,ev={type:"spring",stiffness:500,damping:25,restSpeed:10},eg=t=&gt;({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),ey={type:"keyframes",duration:.8},ex={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eP=(t,{keyframes:e})=&gt;e.length&gt;2?ey:I.has(t)?t.startsWith("scale")?eg(e[1]):ev:ex;function ew(t,e){return t[e]||t.default||t}let eT={current:!1},eb=t=&gt;null!==t;function eS(t,{repeat:e,repeatType:i="loop"},s){let n=t.filter(eb),r=e&amp;&amp;"loop"!==i&amp;&amp;e%2==1?0:n.length-1;return r&amp;&amp;void 0!==s?s:n[r]}function eA(){s=void 0}let eV={now:()=&gt;(void 0===s&amp;&amp;eV.set(tZ.isProcessing||m.useManualTiming?tZ.timestamp:performance.now()),s),set:t=&gt;{s=t,queueMicrotask(eA)}},eE=t=&gt;/^0[^.\s]+$/u.test(t);var eC=i(25119);let eM=t=&gt;/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),eR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eD=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ek=t=&gt;t===z||t===te,ej=(t,e)=&gt;parseFloat(t.split(", ")[e]),eL=(t,e)=&gt;(i,{transform:s})=&gt;{if("none"===s||!s)return 0;let n=s.match(/^matrix3d\((.+)\)$/u);if(n)return ej(n[1],e);{let e=s.match(/^matrix\((.+)\)$/u);return e?ej(e[1],t):0}},eF=new Set(["x","y","z"]),eB=U.filter(t=&gt;!eF.has(t)),eO={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=&gt;t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=&gt;t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=&gt;parseFloat(e),left:(t,{left:e})=&gt;parseFloat(e),bottom:({y:t},{top:e})=&gt;parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=&gt;parseFloat(e)+(t.max-t.min),x:eL(4,13),y:eL(5,14)};eO.translateX=eO.x,eO.translateY=eO.y;let eU=t=&gt;e=&gt;e.test(t),eI=[z,te,tt,Q,ts,ti,{test:t=&gt;"auto"===t,parse:t=&gt;t}],e$=t=&gt;eI.find(eU(t)),eW=new Set,eN=!1,eK=!1;function ez(){if(eK){let t=Array.from(eW).filter(t=&gt;t.needsMeasurement),e=new Set(t.map(t=&gt;t.element)),i=new Map;e.forEach(t=&gt;{let e=function(t){let e=[];return eB.forEach(i=&gt;{let s=t.getValue(i);void 0!==s&amp;&amp;(e.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),e}(t);e.length&amp;&amp;(i.set(t,e),t.render())}),t.forEach(t=&gt;t.measureInitialState()),e.forEach(t=&gt;{t.render();let e=i.get(t);e&amp;&amp;e.forEach(([e,i])=&gt;{var s;null===(s=t.getValue(e))||void 0===s||s.set(i)})}),t.forEach(t=&gt;t.measureEndState()),t.forEach(t=&gt;{void 0!==t.suspendedScrollY&amp;&amp;window.scrollTo(0,t.suspendedScrollY)})}eK=!1,eN=!1,eW.forEach(t=&gt;t.complete()),eW.clear()}function eH(){eW.forEach(t=&gt;{t.readKeyframes(),t.needsMeasurement&amp;&amp;(eK=!0)})}class eY{constructor(t,e,i,s,n,r=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.isScheduled=!0,this.isAsync?(eW.add(this),eN||(eN=!0,tH.read(eH),tH.resolveKeyframes(ez))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;for(let n=0;n&lt;t.length;n++)if(null===t[n]){if(0===n){let n=null==s?void 0:s.get(),r=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&amp;&amp;e){let s=i.readValue(e,r);null!=s&amp;&amp;(t[0]=s)}void 0===t[0]&amp;&amp;(t[0]=r),s&amp;&amp;void 0===n&amp;&amp;s.set(t[0])}else t[n]=t[n-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),eW.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,eW.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let eZ=(t,e)=&gt;i=&gt;!!(_(i)&amp;&amp;q.test(i)&amp;&amp;i.startsWith(t)||e&amp;&amp;null!=i&amp;&amp;Object.prototype.hasOwnProperty.call(i,e)),eX=(t,e,i)=&gt;s=&gt;{if(!_(s))return s;let[n,r,o,a]=s.match(X);return{[t]:parseFloat(n),[e]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},eG=t=&gt;K(0,255,t),eq={...z,transform:t=&gt;Math.round(eG(t))},e_={test:eZ("rgb","red"),parse:eX("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=&gt;"rgba("+eq.transform(t)+", "+eq.transform(e)+", "+eq.transform(i)+", "+Z(H.transform(s))+")"},eJ={test:eZ("#"),parse:function(t){let e="",i="",s="",n="";return t.length&gt;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:e_.transform},eQ={test:eZ("hsl","hue"),parse:eX("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=&gt;"hsla("+Math.round(t)+", "+tt.transform(Z(e))+", "+tt.transform(Z(i))+", "+Z(H.transform(s))+")"},e0={test:t=&gt;e_.test(t)||eJ.test(t)||eQ.test(t),parse:t=&gt;e_.test(t)?e_.parse(t):eQ.test(t)?eQ.parse(t):eJ.parse(t),transform:t=&gt;_(t)?t:t.hasOwnProperty("red")?e_.transform(t):eQ.transform(t)},e1="number",e5="color",e2=/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 e3(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,o=e.replace(e2,t=&gt;(e0.test(t)?(s.color.push(r),n.push(e5),i.push(e0.parse(t))):t.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(t)):(s.number.push(r),n.push(e1),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:s,types:n}}function e9(t){return e3(t).values}function e6(t){let{split:e,types:i}=e3(t),s=e.length;return t=&gt;{let n="";for(let r=0;r&lt;s;r++)if(n+=e[r],void 0!==t[r]){let e=i[r];e===e1?n+=Z(t[r]):e===e5?n+=e0.transform(t[r]):n+=t[r]}return n}}let e4=t=&gt;"number"==typeof t?0:t,e8={test:function(t){var e,i;return isNaN(t)&amp;&amp;_(t)&amp;&amp;((null===(e=t.match(X))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(G))||void 0===i?void 0:i.length)||0)&gt;0},parse:e9,createTransformer:e6,getAnimatableNone:function(t){let e=e9(t);return e6(t)(e.map(e4))}},e7=new Set(["brightness","contrast","saturate","opacity"]);function it(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(X)||[];if(!s)return t;let n=i.replace(s,""),r=e7.has(e)?1:0;return s!==i&amp;&amp;(r*=100),e+"("+r+n+")"}let ie=/\b([a-z-]*)\(.*?\)/gu,ii={...e8,getAnimatableNone:t=&gt;{let e=t.match(ie);return e?e.map(it).join(" "):t}},is={...to,color:e0,backgroundColor:e0,outlineColor:e0,fill:e0,stroke:e0,borderColor:e0,borderTopColor:e0,borderRightColor:e0,borderBottomColor:e0,borderLeftColor:e0,filter:ii,WebkitFilter:ii},ir=t=&gt;is[t];function io(t,e){let i=ir(t);return i!==ii&amp;&amp;(i=e8),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let ia=new Set(["auto","none","0"]);class il extends eY{constructor(t,e,i,s){super(t,e,i,s,null==s?void 0:s.owner,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e.current)return;super.readKeyframes();for(let i=0;i&lt;t.length;i++){let s=t[i];if("string"==typeof s&amp;&amp;tc(s=s.trim())){let n=function t(e,i,s=1){(0,eC.k)(s&lt;=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,r]=function(t){let e=eR.exec(t);if(!e)return[,];let[,i,s,n]=e;return[`--${null!=i?i:s}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return eM(t)?parseFloat(t):t}return tc(r)?t(r,i,s+1):r}(s,e.current);void 0!==n&amp;&amp;(t[i]=n),i===t.length-1&amp;&amp;(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!eD.has(i)||2!==t.length)return;let[s,n]=t,r=e$(s),o=e$(n);if(r!==o){if(ek(r)&amp;&amp;ek(o))for(let e=0;e&lt;t.length;e++){let i=t[e];"string"==typeof i&amp;&amp;(t[e]=parseFloat(i))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e&lt;t.length;e++){var s;("number"==typeof(s=t[e])?0===s:null===s||"none"===s||"0"===s||eE(s))&amp;&amp;i.push(e)}i.length&amp;&amp;function(t,e,i){let s,n=0;for(;n&lt;t.length&amp;&amp;!s;){let e=t[n];"string"==typeof e&amp;&amp;!ia.has(e)&amp;&amp;e3(e).values.length&amp;&amp;(s=t[n]),n++}if(s&amp;&amp;i)for(let n of e)t[n]=io(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t.current)return;"height"===i&amp;&amp;(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eO[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&amp;&amp;t.getValue(i,s).jump(s,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:s}=this;if(!e.current)return;let n=e.getValue(i);n&amp;&amp;n.jump(this.measuredOrigin,!1);let r=s.length-1,o=s[r];s[r]=eO[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&amp;&amp;void 0===this.finalKeyframe&amp;&amp;(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&amp;&amp;this.removedTransforms.forEach(([t,i])=&gt;{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}function ih(t){let e;return()=&gt;(void 0===e&amp;&amp;(e=t()),e)}let iu=(t,e)=&gt;"zIndex"!==e&amp;&amp;!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&amp;&amp;(e8.test(t)||"0"===t)&amp;&amp;!t.startsWith("url("));class id{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:r="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,...o},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(eH(),ez()),this._resolved}onKeyframesResolved(t,e){this.hasAttemptedResolve=!0;let{name:i,type:s,velocity:n,delay:r,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&amp;&amp;!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],o=iu(n,e),a=iu(r,e);return(0,eC.K)(o===a,`You are trying to animate ${e} from "${n}" to "${r}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${r} via the \`style\` property.`),!!o&amp;&amp;!!a&amp;&amp;(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i&lt;t.length;i++)if(t[i]!==e)return!0}(t)||"spring"===i&amp;&amp;s)}(t,i,s,n)){if(eT.current||!r){null==a||a(eS(t,this.options,e)),null==o||o(),this.resolveFinishedPromise();return}this.options.duration=0}let h=this.initPlayback(t,e);!1!==h&amp;&amp;(this._resolved={keyframes:t,finalKeyframe:e,...h},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=&gt;{this.resolveFinishedPromise=t})}}function ic(t,e,i){var s,n;let r=Math.max(e-5,0);return s=i-t(r),(n=e-r)?1e3/n*s:0}function ip(t,e){return t*Math.sqrt(1-e*e)}let im=["duration","bounce"],iv=["stiffness","damping","mass"];function ig(t,e){return e.some(e=&gt;void 0!==t[e])}function iy({keyframes:t,restDelta:e,restSpeed:i,...s}){let n;let r=t[0],o=t[t.length-1],a={done:!1,value:r},{stiffness:l,damping:h,mass:u,duration:d,velocity:c,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!ig(t,iv)&amp;&amp;ig(t,im)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:s=1}){let n,r;(0,eC.K)(t&lt;=em(10),"Spring duration must be 10 seconds or less");let o=1-e;o=K(.05,1,o),t=K(.01,10,ef(t)),o&lt;1?(n=e=&gt;{let s=e*o,n=s*t;return .001-(s-i)/ip(e,o)*Math.exp(-n)},r=e=&gt;{let s=e*o*t,r=Math.pow(o,2)*Math.pow(e,2)*t,a=ip(Math.pow(e,2),o);return(s*i+i-r)*Math.exp(-s)*(-n(e)+.001&gt;0?-1:1)/a}):(n=e=&gt;-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=&gt;t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let s=i;for(let i=1;i&lt;12;i++)s-=t(s)/e(s);return s}(n,r,5/t);if(t=em(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*s;return{stiffness:e,damping:2*o*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...s,velocity:-ef(s.velocity||0)}),m=c||0,f=h/(2*Math.sqrt(l*u)),v=o-r,g=ef(Math.sqrt(l/u)),y=5&gt;Math.abs(v);if(i||(i=y?.01:2),e||(e=y?.005:.5),f&lt;1){let t=ip(g,f);n=e=&gt;o-Math.exp(-f*g*e)*((m+f*g*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===f)n=t=&gt;o-Math.exp(-g*t)*(v+(m+g*v)*t);else{let t=g*Math.sqrt(f*f-1);n=e=&gt;{let i=Math.exp(-f*g*e),s=Math.min(t*e,300);return o-i*((m+f*g*v)*Math.sinh(s)+t*v*Math.cosh(s))/t}}return{calculatedDuration:p&amp;&amp;d||null,next:t=&gt;{let s=n(t);if(p)a.done=t&gt;=d;else{let r=m;0!==t&amp;&amp;(r=f&lt;1?ic(n,t,s):0);let l=Math.abs(r)&lt;=i,h=Math.abs(o-s)&lt;=e;a.done=l&amp;&amp;h}return a.value=a.done?o:s,a}}}function ix({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let d,c;let p=t[0],m={done:!1,value:p},f=t=&gt;void 0!==a&amp;&amp;t&lt;a||void 0!==l&amp;&amp;t&gt;l,v=t=&gt;void 0===a?l:void 0===l?a:Math.abs(a-t)&lt;Math.abs(l-t)?a:l,g=i*e,y=p+g,x=void 0===o?y:o(y);x!==y&amp;&amp;(g=x-p);let P=t=&gt;-g*Math.exp(-t/s),w=t=&gt;x+P(t),T=t=&gt;{let e=P(t),i=w(t);m.done=Math.abs(e)&lt;=h,m.value=m.done?x:i},b=t=&gt;{f(m.value)&amp;&amp;(d=t,c=iy({keyframes:[m.value,v(m.value)],velocity:ic(w,t,m.value),damping:n,stiffness:r,restDelta:h,restSpeed:u}))};return b(0),{calculatedDuration:null,next:t=&gt;{let e=!1;return(c||void 0!==d||(e=!0,T(t),b(t)),void 0!==d&amp;&amp;t&gt;=d)?c.next(t-d):(e||T(t),m)}}}let iP=(t,e,i)=&gt;(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function iw(t,e,i,s){if(t===e&amp;&amp;i===s)return tz.Z;let n=e=&gt;(function(t,e,i,s,n){let r,o;let a=0;do(r=iP(o=e+(i-e)/2,s,n)-t)&gt;0?i=o:e=o;while(Math.abs(r)&gt;1e-7&amp;&amp;++a&lt;12);return o})(e,0,1,t,i);return t=&gt;0===t||1===t?t:iP(n(t),e,s)}let iT=iw(.42,0,1,1),ib=iw(0,0,.58,1),iS=iw(.42,0,.58,1),iA=t=&gt;Array.isArray(t)&amp;&amp;"number"!=typeof t[0],iV=t=&gt;e=&gt;e&lt;=.5?t(2*e)/2:(2-t(2*(1-e)))/2,iE=t=&gt;e=&gt;1-t(1-e),iC=t=&gt;1-Math.sin(Math.acos(t)),iM=iE(iC),iR=iV(iC),iD=iw(.33,1.53,.69,.99),ik=iE(iD),ij=iV(ik),iL={linear:tz.Z,easeIn:iT,easeInOut:iS,easeOut:ib,circIn:iC,circInOut:iR,circOut:iM,backIn:ik,backInOut:ij,backOut:iD,anticipate:t=&gt;(t*=2)&lt;1?.5*ik(t):.5*(2-Math.pow(2,-10*(t-1)))},iF=t=&gt;{if(Array.isArray(t)){(0,eC.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,s,n]=t;return iw(e,i,s,n)}return"string"==typeof t?((0,eC.k)(void 0!==iL[t],`Invalid easing type '${t}'`),iL[t]):t},iB=(t,e,i)=&gt;{let s=e-t;return 0===s?1:(i-t)/s},iO=(t,e,i)=&gt;t+(e-t)*i;function iU(t,e,i){return(i&lt;0&amp;&amp;(i+=1),i&gt;1&amp;&amp;(i-=1),i&lt;1/6)?t+(e-t)*6*i:i&lt;.5?e:i&lt;2/3?t+(e-t)*(2/3-i)*6:t}function iI(t,e){return i=&gt;i&gt;0?e:t}let i$=(t,e,i)=&gt;{let s=t*t,n=i*(e*e-s)+s;return n&lt;0?0:Math.sqrt(n)},iW=[eJ,e_,eQ],iN=t=&gt;iW.find(e=&gt;e.test(t));function iK(t){let e=iN(t);if((0,eC.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===eQ&amp;&amp;(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let n=0,r=0,o=0;if(e/=100){let s=i&lt;.5?i*(1+e):i+e-i*e,a=2*i-s;n=iU(a,s,t+1/3),r=iU(a,s,t),o=iU(a,s,t-1/3)}else n=r=o=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*o),alpha:s}}(i)),i}let iz=(t,e)=&gt;{let i=iK(t),s=iK(e);if(!i||!s)return iI(t,e);let n={...i};return t=&gt;(n.red=i$(i.red,s.red,t),n.green=i$(i.green,s.green,t),n.blue=i$(i.blue,s.blue,t),n.alpha=iO(i.alpha,s.alpha,t),e_.transform(n))},iH=new Set(["none","hidden"]);function iY(t,e){return i=&gt;iO(t,e,i)}function iZ(t){return"number"==typeof t?iY:"string"==typeof t?tc(t)?iI:e0.test(t)?iz:iq:Array.isArray(t)?iX:"object"==typeof t?e0.test(t)?iz:iG:iI}function iX(t,e){let i=[...t],s=i.length,n=t.map((t,i)=&gt;iZ(t)(t,e[i]));return t=&gt;{for(let e=0;e&lt;s;e++)i[e]=n[e](t);return i}}function iG(t,e){let i={...t,...e},s={};for(let n in i)void 0!==t[n]&amp;&amp;void 0!==e[n]&amp;&amp;(s[n]=iZ(t[n])(t[n],e[n]));return t=&gt;{for(let e in s)i[e]=s[e](t);return i}}let iq=(t,e)=&gt;{let i=e8.createTransformer(e),s=e3(t),n=e3(e);return s.indexes.var.length===n.indexes.var.length&amp;&amp;s.indexes.color.length===n.indexes.color.length&amp;&amp;s.indexes.number.length&gt;=n.indexes.number.length?iH.has(t)&amp;&amp;!n.values.length||iH.has(e)&amp;&amp;!s.values.length?iH.has(t)?i=&gt;i&lt;=0?t:e:i=&gt;i&gt;=1?e:t:t2(iX(function(t,e){var i;let s=[],n={color:0,var:0,number:0};for(let r=0;r&lt;e.values.length;r++){let o=e.types[r],a=t.indexes[o][n[o]],l=null!==(i=t.values[a])&amp;&amp;void 0!==i?i:0;s[r]=l,n[o]++}return s}(s,n),n.values),i):((0,eC.K)(!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.`),iI(t,e))};function i_(t,e,i){return"number"==typeof t&amp;&amp;"number"==typeof e&amp;&amp;"number"==typeof i?iO(t,e,i):iZ(t)(t,e)}function iJ({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){let n=iA(s)?s.map(iF):iF(s),r={done:!1,value:e[0]},o=function(t,e,{clamp:i=!0,ease:s,mixer:n}={}){let r=t.length;if((0,eC.k)(r===e.length,"Both input and output ranges must be the same length"),1===r)return()=&gt;e[0];if(2===r&amp;&amp;t[0]===t[1])return()=&gt;e[1];t[0]&gt;t[r-1]&amp;&amp;(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let s=[],n=i||i_,r=t.length-1;for(let i=0;i&lt;r;i++){let r=n(t[i],t[i+1]);e&amp;&amp;(r=t2(Array.isArray(e)?e[i]||tz.Z:e,r)),s.push(r)}return s}(e,s,n),a=o.length,l=e=&gt;{let i=0;if(a&gt;1)for(;i&lt;t.length-2&amp;&amp;!(e&lt;t[i+1]);i++);let s=iB(t[i],t[i+1],e);return o[i](s)};return i?e=&gt;l(K(t[0],t[r-1],e)):l}((i&amp;&amp;i.length===e.length?i:function(t){let e=[0];return function(t,e){let i=t[t.length-1];for(let s=1;s&lt;=e;s++){let n=iB(0,e,s);t.push(iO(i,1,n))}}(e,t.length-1),e}(e)).map(e=&gt;e*t),e,{ease:Array.isArray(n)?n:e.map(()=&gt;n||iS).splice(0,e.length-1)});return{calculatedDuration:t,next:e=&gt;(r.value=o(e),r.done=e&gt;=t,r)}}let iQ=t=&gt;{let e=({timestamp:e})=&gt;t(e);return{start:()=&gt;tH.update(e,!0),stop:()=&gt;tY(e),now:()=&gt;tZ.isProcessing?tZ.timestamp:eV.now()}},i0={decay:ix,inertia:ix,tween:iJ,keyframes:iJ,spring:iy},i1=t=&gt;t/100;class i5 extends id{constructor({KeyframeResolver:t=eY,...e}){super(e),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=&gt;{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&amp;&amp;t()};let{name:i,motionValue:s,keyframes:n}=this.options,r=(t,e)=&gt;this.onKeyframesResolved(t,e);i&amp;&amp;s&amp;&amp;s.owner?this.resolver=s.owner.resolveKeyframes(n,r,i,s):this.resolver=new t(n,r,i,s),this.resolver.scheduleResolve()}initPlayback(t){let e,i;let{type:s="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=this.options,l=i0[s]||iJ;l!==iJ&amp;&amp;"number"!=typeof t[0]&amp;&amp;(e=t2(i1,i_(t[0],t[1])),t=[0,100]);let h=l({...this.options,keyframes:t});"mirror"===o&amp;&amp;(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===h.calculatedDuration&amp;&amp;(h.calculatedDuration=function(t){let e=0,i=t.next(e);for(;!i.done&amp;&amp;e&lt;2e4;)e+=50,i=t.next(e);return e&gt;=2e4?1/0:e}(h));let{calculatedDuration:u}=h,d=u+r;return{generator:h,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(n+1)-r}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&amp;&amp;t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:s,generator:n,mirroredGenerator:r,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:h,resolvedDuration:u}=i;if(null===this.startTime)return n.next(0);let{delay:d,repeat:c,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed&gt;0?this.startTime=Math.min(this.startTime,t):this.speed&lt;0&amp;&amp;(this.startTime=Math.min(t-h/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-d*(this.speed&gt;=0?1:-1),g=this.speed&gt;=0?v&lt;0:v&gt;h;this.currentTime=Math.max(v,0),"finished"===this.state&amp;&amp;null===this.holdTime&amp;&amp;(this.currentTime=h);let y=this.currentTime,x=n;if(c){let t=Math.min(this.currentTime,h)/u,e=Math.floor(t),i=t%1;!i&amp;&amp;t&gt;=1&amp;&amp;(i=1),1===i&amp;&amp;e--,(e=Math.min(e,c+1))%2&amp;&amp;("reverse"===p?(i=1-i,m&amp;&amp;(i-=m/u)):"mirror"===p&amp;&amp;(x=r)),y=K(0,1,i)*u}let P=g?{done:!1,value:a[0]}:x.next(y);o&amp;&amp;(P.value=o(P.value));let{done:w}=P;g||null===l||(w=this.speed&gt;=0?this.currentTime&gt;=h:this.currentTime&lt;=0);let T=null===this.holdTime&amp;&amp;("finished"===this.state||"running"===this.state&amp;&amp;w);return T&amp;&amp;void 0!==s&amp;&amp;(P.value=eS(a,this.options,s)),f&amp;&amp;f(P.value),T&amp;&amp;this.finish(),P}get duration(){let{resolved:t}=this;return t?ef(t.calculatedDuration):0}get time(){return ef(this.currentTime)}set time(t){t=em(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&amp;&amp;(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&amp;&amp;(this.time=ef(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=iQ,onPlay:e}=this.options;this.driver||(this.driver=t(t=&gt;this.tick(t))),e&amp;&amp;e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime&amp;&amp;"finished"!==this.state||(this.startTime=i),"finished"===this.state&amp;&amp;this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&amp;&amp;void 0!==t?t:0}complete(){"running"!==this.state&amp;&amp;this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&amp;&amp;t()}cancel(){null!==this.cancelTime&amp;&amp;this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&amp;&amp;(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let i2=t=&gt;Array.isArray(t)&amp;&amp;"number"==typeof t[0],i3=([t,e,i,s])=&gt;`cubic-bezier(${t}, ${e}, ${i}, ${s})`,i9={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:i3([0,.65,.55,1]),circOut:i3([.55,0,1,.45]),backIn:i3([.31,.01,.66,-.59]),backOut:i3([.33,1.53,.69,.99])};function i6(t){return i4(t)||i9.easeOut}function i4(t){if(t)return i2(t)?i3(t):Array.isArray(t)?t.map(i6):i9[t]}let i8=ih(()=&gt;Object.hasOwnProperty.call(Element.prototype,"animate"));class i7 extends id{constructor(t){super(t);let{name:e,motionValue:i,keyframes:s}=this.options;this.resolver=new il(s,(t,e)=&gt;this.onKeyframesResolved(t,e),e,i),this.resolver.scheduleResolve()}initPlayback(t,e){var i,s;let{duration:n=300,times:r,ease:o,type:a,motionValue:l,name:h}=this.options;if(!(null===(i=l.owner)||void 0===i?void 0:i.current))return!1;if("spring"===(s=this.options).type||!function t(e){return!!(!e||"string"==typeof e&amp;&amp;e in i9||i2(e)||Array.isArray(e)&amp;&amp;e.every(t))}(s.ease)){let{onComplete:e,onUpdate:i,motionValue:s,...l}=this.options,h=function(t,e){let i=new i5({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),s={done:!1,value:t[0]},n=[],r=0;for(;!s.done&amp;&amp;r&lt;2e4;)n.push((s=i.sample(r)).value),r+=10;return{times:void 0,keyframes:n,duration:r-10,ease:"linear"}}(t,l);1===(t=h.keyframes).length&amp;&amp;(t[1]=t[0]),n=h.duration,r=h.times,o=h.ease,a="keyframes"}let u=function(t,e,i,{delay:s=0,duration:n=300,repeat:r=0,repeatType:o="loop",ease:a,times:l}={}){let h={[e]:i};l&amp;&amp;(h.offset=l);let u=i4(a);return Array.isArray(u)&amp;&amp;(h.easing=u),t.animate(h,{delay:s,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,h,t,{...this.options,duration:n,times:r,ease:o});return u.startTime=eV.now(),this.pendingTimeline?(u.timeline=this.pendingTimeline,this.pendingTimeline=void 0):u.onfinish=()=&gt;{let{onComplete:i}=this.options;l.set(eS(t,this.options,e)),i&amp;&amp;i(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:n,times:r,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return ef(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return ef(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=em(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return tz.Z;let{animation:i}=e;i.timeline=t,i.onfinish=null}else this.pendingTimeline=t;return tz.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&amp;&amp;this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:s,type:n,ease:r,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,...l}=this.options,h=new i5({...l,keyframes:i,duration:s,type:n,ease:r,times:o,isGenerator:!0}),u=em(this.time);t.setWithVelocity(h.sample(u-10).value,h.sample(u).value,10)}let{onStop:a}=this.options;a&amp;&amp;a(),this.cancel()}complete(){let{resolved:t}=this;t&amp;&amp;t.animation.finish()}cancel(){let{resolved:t}=this;t&amp;&amp;t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:r,type:o}=t;return i8()&amp;&amp;i&amp;&amp;tU.has(i)&amp;&amp;e&amp;&amp;e.owner&amp;&amp;e.owner.current instanceof HTMLElement&amp;&amp;!e.owner.getProps().onUpdate&amp;&amp;!s&amp;&amp;"mirror"!==n&amp;&amp;0!==r&amp;&amp;"inertia"!==o}}let st=ih(()=&gt;void 0!==window.ScrollTimeline);class se{constructor(t){this.stop=()=&gt;this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i&lt;this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=&gt;{if(!st()||!e.attachTimeline)return e.pause(),function(t,e){let i;let s=()=&gt;{let{currentTime:s}=e,n=(null===s?0:s.value)/100;i!==n&amp;&amp;t(n),i=n};return tH.update(s,!0),()=&gt;tY(s)}(t=&gt;{e.time=e.duration*t},t);e.attachTimeline(t)});return()=&gt;{e.forEach((t,e)=&gt;{t&amp;&amp;t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let e=0;e&lt;this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=&gt;e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let si=(t,e,i,s={},n,r,o)=&gt;a=&gt;{let l=ew(s,t)||{},h=l.delay||s.delay||0,{elapsed:u=0}=s;u-=em(h);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-u,onUpdate:t=&gt;{e.set(t),l.onUpdate&amp;&amp;l.onUpdate(t)},onComplete:()=&gt;{a(),l.onComplete&amp;&amp;l.onComplete(),o&amp;&amp;o()},onStop:o,name:t,motionValue:e,element:r?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(l)&amp;&amp;(d={...d,...eP(t,d)}),d.duration&amp;&amp;(d.duration=em(d.duration)),d.repeatDelay&amp;&amp;(d.repeatDelay=em(d.repeatDelay)),void 0!==d.from&amp;&amp;(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&amp;&amp;(0!==d.duration||d.repeatDelay)||(d.duration=0,0!==d.delay||(c=!0)),(eT.current||m.skipAnimations)&amp;&amp;(c=!0,d.duration=0,d.delay=0),c&amp;&amp;!r&amp;&amp;void 0!==e.get()){let t=eS(d.keyframes,l);if(void 0!==t)return tH.update(()=&gt;{d.onUpdate(t),d.onComplete()}),new se([])}return!r&amp;&amp;i7.supports(d)?new i7(d):new i5(d)};class ss{constructor(){this.subscriptions=[]}add(t){return t$(this.subscriptions,t),()=&gt;tW(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&lt;s;n++){let s=this.subscriptions[n];s&amp;&amp;s(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let sn=t=&gt;!isNaN(parseFloat(t)),sr={current:void 0};class so{constructor(t,e={}){this.version="11.3.21",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=&gt;{let i=eV.now();this.updatedAt!==i&amp;&amp;this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&amp;&amp;this.events.change&amp;&amp;this.events.change.notify(this.current),e&amp;&amp;this.events.renderRequest&amp;&amp;this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=eV.now(),null===this.canTrackVelocity&amp;&amp;void 0!==t&amp;&amp;(this.canTrackVelocity=sn(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 ss);let i=this.events[t].add(e);return"change"===t?()=&gt;{i(),tH.read(()=&gt;{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,e=!0){e&amp;&amp;this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}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&amp;&amp;this.stop(),this.stopPassiveEffect&amp;&amp;this.stopPassiveEffect()}get(){return sr.current&amp;&amp;sr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=eV.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt&gt;30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=&gt;{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&amp;&amp;this.events.animationStart.notify()}).then(()=&gt;{this.events.animationComplete&amp;&amp;this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&amp;&amp;(this.animation.stop(),this.events.animationCancel&amp;&amp;this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&amp;&amp;this.stopPassiveEffect()}}function sa(t,e){return new so(t,e)}function sl(t){return t.getProps()[p]}class sh extends so{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){let e=tI(t);if(!e)return;let i=this.counts.get(e)||0;this.counts.set(e,i+1),0===i&amp;&amp;(this.output.push(e),this.update());let s=!1;return()=&gt;{if(s)return;s=!0;let t=this.counts.get(e)-1;this.counts.set(e,t),0===t&amp;&amp;(tW(this.output,e),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function su(t,e){var i,s;if(!t.applyWillChange)return;let n=t.getValue("willChange");if(n||(null===(i=t.props.style)||void 0===i?void 0:i.willChange)||(n=new sh("auto"),t.addValue("willChange",n)),W(s=n)&amp;&amp;s.add)return n.add(e)}function sd(t,e,{delay:i=0,transitionOverride:s,type:n}={}){var r;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;s&amp;&amp;(o=s);let h=[],u=n&amp;&amp;t.animationState&amp;&amp;t.animationState.getState()[n];for(let e in l){let s=t.getValue(e,null!==(r=t.latestValues[e])&amp;&amp;void 0!==r?r:null),n=l[e];if(void 0===n||u&amp;&amp;function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&amp;&amp;!0!==e[i];return e[i]=!1,s}(u,e))continue;let a={delay:i,elapsed:0,...ew(o||{},e)},d=!1;if(window.HandoffAppearAnimations){let i=sl(t);if(i){let t=window.HandoffAppearAnimations(i,e,s,tH);null!==t&amp;&amp;(a.elapsed=t,d=!0)}}s.start(si(e,s,n,t.shouldReduceMotion&amp;&amp;I.has(e)?{type:!1}:a,t,d,su(t,e)));let c=s.animation;c&amp;&amp;h.push(c)}return a&amp;&amp;Promise.all(h).then(()=&gt;{tH.update(()=&gt;{a&amp;&amp;function(t,e){let{transitionEnd:i={},transition:s={},...n}=ep(t,e)||{};for(let e in n={...n,...i}){let i=tB(n[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,sa(i))}}(t,a)})}),h}function sc(t,e,i={}){var s;let n=ep(t,e,"exit"===i.type?null===(s=t.presenceContext)||void 0===s?void 0:s.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&amp;&amp;(r=i.transitionOverride);let o=n?()=&gt;Promise.all(sd(t,n,i)):()=&gt;Promise.resolve(),a=t.variantChildren&amp;&amp;t.variantChildren.size?(s=0)=&gt;{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,s=0,n=1,r){let o=[],a=(t.variantChildren.size-1)*s,l=1===n?(t=0)=&gt;t*s:(t=0)=&gt;a-t*s;return Array.from(t.variantChildren).sort(sp).forEach((t,s)=&gt;{t.notify("AnimationStart",e),o.push(sc(t,e,{...r,delay:i+l(s)}).then(()=&gt;t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,n+s,o,a,i)}:()=&gt;Promise.resolve(),{when:l}=r;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=&gt;e())}}function sp(t,e){return t.sortNodePosition(e)}let sm=[...A].reverse(),sf=A.length;function sv(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sg(){return{animate:sv(!0),whileInView:sv(),whileHover:sv(),whileTap:sv(),whileDrag:sv(),whileFocus:sv(),exit:sv()}}class sy extends t7{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=&gt;Promise.all(e.map(({animation:e,options:i})=&gt;(function(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=&gt;sc(t,e,i)));else if("string"==typeof e)s=sc(t,e,i);else{let n="function"==typeof e?ep(t,e,i.custom):e;s=Promise.all(sd(t,n,i))}return s.then(()=&gt;{t.notify("AnimationComplete",e)})})(t,e,i))),i=sg(),s=!0,n=e=&gt;(i,s)=&gt;{var n;let r=ep(t,s,"exit"===e?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0);if(r){let{transition:t,transitionEnd:e,...s}=r;i={...i,...s,...e}}return i};function r(r){let o=t.getProps(),a=t.getVariantContext(!0)||{},l=[],h=new Set,u={},d=1/0;for(let e=0;e&lt;sf;e++){var c;let p=sm[e],m=i[p],f=void 0!==o[p]?o[p]:a[p],v=b(f),g=p===r?m.isActive:null;!1===g&amp;&amp;(d=e);let y=f===a[p]&amp;&amp;f!==o[p]&amp;&amp;v;if(y&amp;&amp;s&amp;&amp;t.manuallyAnimateOnMount&amp;&amp;(y=!1),m.protectedKeys={...u},!m.isActive&amp;&amp;null===g||!f&amp;&amp;!m.prevProp||S(f)||"boolean"==typeof f)continue;let x=(c=m.prevProp,("string"==typeof f?f!==c:!!Array.isArray(f)&amp;&amp;!ec(f,c))||p===r&amp;&amp;m.isActive&amp;&amp;!y&amp;&amp;v||e&gt;d&amp;&amp;v),P=!1,w=Array.isArray(f)?f:[f],T=w.reduce(n(p),{});!1===g&amp;&amp;(T={});let{prevResolvedValues:A={}}=m,V={...A,...T},E=e=&gt;{x=!0,h.has(e)&amp;&amp;(P=!0,h.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);i&amp;&amp;(i.liveStyle=!1)};for(let t in V){let e=T[t],i=A[t];if(!u.hasOwnProperty(t))(tL(e)&amp;&amp;tL(i)?ec(e,i):e===i)?void 0!==e&amp;&amp;h.has(t)?E(t):m.protectedKeys[t]=!0:null!=e?E(t):h.add(t)}m.prevProp=f,m.prevResolvedValues=T,m.isActive&amp;&amp;(u={...u,...T}),s&amp;&amp;t.blockInitialAnimation&amp;&amp;(x=!1),x&amp;&amp;(!y||P)&amp;&amp;l.push(...w.map(t=&gt;({animation:t,options:{type:p}})))}if(h.size){let e={};h.forEach(i=&gt;{let s=t.getBaseTarget(i),n=t.getValue(i);n&amp;&amp;(n.liveStyle=!0),e[i]=null!=s?s:null}),l.push({animation:e})}let p=!!l.length;return s&amp;&amp;(!1===o.initial||o.initial===o.animate)&amp;&amp;!t.manuallyAnimateOnMount&amp;&amp;(p=!1),s=!1,p?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,s){var n;if(i[e].isActive===s)return Promise.resolve();null===(n=t.variantChildren)||void 0===n||n.forEach(t=&gt;{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,s)}),i[e].isActive=s;let o=r(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=&gt;i,reset:()=&gt;{i=sg(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();S(t)&amp;&amp;(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&amp;&amp;this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let sx=0;class sP extends t7{constructor(){super(...arguments),this.id=sx++}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&amp;&amp;!t&amp;&amp;s.then(()=&gt;e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&amp;&amp;(this.unmount=t(this.id))}unmount(){}}let sw=(t,e)=&gt;Math.abs(t-e);class sT{constructor(t,e,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=&gt;{var t,e;if(!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;let i=sA(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(sw(t.x,e.x)**2+sw(t.y,e.y)**2)&gt;=3);if(!s&amp;&amp;!n)return;let{point:r}=i,{timestamp:o}=tZ;this.history.push({...r,timestamp:o});let{onStart:a,onMove:l}=this.handlers;s||(a&amp;&amp;a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&amp;&amp;l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=&gt;{this.lastMoveEvent=t,this.lastMoveEventInfo=sb(e,this.transformPagePoint),tH.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=&gt;{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&amp;&amp;n&amp;&amp;n(),!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;let r=sA("pointercancel"===t.type?this.lastMoveEventInfo:sb(e,this.transformPagePoint),this.history);this.startEvent&amp;&amp;i&amp;&amp;i(t,r),s&amp;&amp;s(t,r)},!tJ(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;let r=sb(tQ(t),this.transformPagePoint),{point:o}=r,{timestamp:a}=tZ;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&amp;&amp;l(t,sA(r,this.history)),this.removeListeners=t2(t1(this.contextWindow,"pointermove",this.handlePointerMove),t1(this.contextWindow,"pointerup",this.handlePointerUp),t1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&amp;&amp;this.removeListeners(),tY(this.updatePoint)}}function sb(t,e){return e?{point:e(t.point)}:t}function sS(t,e){return{x:t.x-e.x,y:t.y-e.y}}function sA({point:t},e){return{point:t,delta:sS(t,sV(e)),offset:sS(t,e[0]),velocity:function(t,e){if(t.length&lt;2)return{x:0,y:0};let i=t.length-1,s=null,n=sV(t);for(;i&gt;=0&amp;&amp;(s=t[i],!(n.timestamp-s.timestamp&gt;em(.1)));)i--;if(!s)return{x:0,y:0};let r=ef(n.timestamp-s.timestamp);if(0===r)return{x:0,y:0};let o={x:(n.x-s.x)/r,y:(n.y-s.y)/r};return o.x===1/0&amp;&amp;(o.x=0),o.y===1/0&amp;&amp;(o.y=0),o}(e,0)}}function sV(t){return t[t.length-1]}function sE(t){return t.max-t.min}function sC(t,e,i,s=.5){t.origin=s,t.originPoint=iO(e.min,e.max,t.origin),t.scale=sE(i)/sE(e),t.translate=iO(i.min,i.max,t.origin)-t.originPoint,(t.scale&gt;=.9999&amp;&amp;t.scale&lt;=1.0001||isNaN(t.scale))&amp;&amp;(t.scale=1),(t.translate&gt;=-.01&amp;&amp;t.translate&lt;=.01||isNaN(t.translate))&amp;&amp;(t.translate=0)}function sM(t,e,i,s){sC(t.x,e.x,i.x,s?s.originX:void 0),sC(t.y,e.y,i.y,s?s.originY:void 0)}function sR(t,e,i){t.min=i.min+e.min,t.max=t.min+sE(e)}function sD(t,e,i){t.min=e.min-i.min,t.max=t.min+sE(e)}function sk(t,e,i){sD(t.x,e.x,i.x),sD(t.y,e.y,i.y)}function sj(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 sL(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min&lt;t.max-t.min&amp;&amp;([i,s]=[s,i]),{min:i,max:s}}function sF(t,e,i){return{min:sB(t,e),max:sB(t,i)}}function sB(t,e){return"number"==typeof t?t:t[e]||0}let sO=()=&gt;({translate:0,scale:1,origin:0,originPoint:0}),sU=()=&gt;({x:sO(),y:sO()}),sI=()=&gt;({min:0,max:0}),s$=()=&gt;({x:sI(),y:sI()});function sW(t){return[t("x"),t("y")]}function sN({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function sK(t){return void 0===t||1===t}function sz({scale:t,scaleX:e,scaleY:i}){return!sK(t)||!sK(e)||!sK(i)}function sH(t){return sz(t)||sY(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function sY(t){var e,i;return(e=t.x)&amp;&amp;"0%"!==e||(i=t.y)&amp;&amp;"0%"!==i}function sZ(t,e,i,s,n){return void 0!==n&amp;&amp;(t=s+n*(t-s)),s+i*(t-s)+e}function sX(t,e=0,i=1,s,n){t.min=sZ(t.min,e,i,s,n),t.max=sZ(t.max,e,i,s,n)}function sG(t,{x:e,y:i}){sX(t.x,e.translate,e.scale,e.originPoint),sX(t.y,i.translate,i.scale,i.originPoint)}function sq(t,e){t.min=t.min+e,t.max=t.max+e}function s_(t,e,i,s,n=.5){let r=iO(t.min,t.max,n);sX(t,e,i,r,s)}function sJ(t,e){s_(t.x,e.x,e.scaleX,e.scale,e.originX),s_(t.y,e.y,e.scaleY,e.scale,e.originY)}function sQ(t,e){return sN(function(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}}(t.getBoundingClientRect(),e))}let s0=({current:t})=&gt;t?t.ownerDocument.defaultView:null,s1=new WeakMap;class s5{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=s$(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&amp;&amp;!1===i.isPresent)return;let{dragSnapToOrigin:s}=this.getProps();this.panSession=new sT(t,{onSessionStart:t=&gt;{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&amp;&amp;this.snapToCursor(tQ(t,"page").point)},onStart:(t,e)=&gt;{var i;let{drag:s,dragPropagation:n,onDragStart:r}=this.getProps();if(s&amp;&amp;!n&amp;&amp;(this.openGlobalLock&amp;&amp;this.openGlobalLock(),this.openGlobalLock=t4(s),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&amp;&amp;(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),sW(t=&gt;{let e=this.getAxisMotionValue(t).get()||0;if(tt.test(e)){let{projection:i}=this.visualElement;if(i&amp;&amp;i.layout){let s=i.layout.layoutBox[t];if(s){let t=sE(s);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&amp;&amp;tH.postRender(()=&gt;r(t,e)),null===(i=this.removeWillChange)||void 0===i||i.call(this),this.removeWillChange=su(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&amp;&amp;o.setActive("whileDrag",!0)},onMove:(t,e)=&gt;{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:r}=this.getProps();if(!i&amp;&amp;!this.openGlobalLock)return;let{offset:o}=e;if(s&amp;&amp;null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)&gt;e?i="y":Math.abs(t.x)&gt;e&amp;&amp;(i="x"),i}(o),null!==this.currentDirection&amp;&amp;n&amp;&amp;n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),r&amp;&amp;r(t,e)},onSessionEnd:(t,e)=&gt;this.stop(t,e),resumeAnimation:()=&gt;sW(t=&gt;{var e;return"paused"===this.getAnimationState(t)&amp;&amp;(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,contextWindow:s0(this.visualElement)})}stop(t,e){var i;null===(i=this.removeWillChange)||void 0===i||i.call(this);let s=this.isDragging;if(this.cancel(),!s)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&amp;&amp;tH.postRender(()=&gt;r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&amp;&amp;(t.isAnimationBlocked=!1),this.panSession&amp;&amp;this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&amp;&amp;this.openGlobalLock&amp;&amp;(this.openGlobalLock(),this.openGlobalLock=null),e&amp;&amp;e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!s2(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&amp;&amp;this.constraints[t]&amp;&amp;(r=function(t,{min:e,max:i},s){return void 0!==e&amp;&amp;t&lt;e?t=s?iO(e,t,s.min):Math.max(t,e):void 0!==i&amp;&amp;t&gt;i&amp;&amp;(t=s?iO(i,t,s.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),n.set(r)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),s=this.visualElement.projection&amp;&amp;!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,n=this.constraints;e&amp;&amp;x(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&amp;&amp;s?this.constraints=function(t,{top:e,left:i,bottom:s,right:n}){return{x:sj(t.x,i,n),y:sj(t.y,e,s)}}(s.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&amp;&amp;(t=.35),{x:sF(t,"left","right"),y:sF(t,"top","bottom")}}(i),n!==this.constraints&amp;&amp;s&amp;&amp;this.constraints&amp;&amp;!this.hasMutatedConstraints&amp;&amp;sW(t=&gt;{!1!==this.constraints&amp;&amp;this.getAxisMotionValue(t)&amp;&amp;(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&amp;&amp;(i.min=e.min-t.min),void 0!==e.max&amp;&amp;(i.max=e.max-t.min),i}(s.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!x(e))return!1;let s=e.current;(0,eC.k)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let r=function(t,e,i){let s=sQ(t,i),{scroll:n}=e;return n&amp;&amp;(sq(s.x,n.offset.x),sq(s.y,n.offset.y)),s}(s,n.root,this.visualElement.getTransformPagePoint()),o={x:sL((t=n.layout.layoutBox).x,r.x),y:sL(t.y,r.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&amp;&amp;(o=sN(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(sW(o=&gt;{if(!s2(o,e,this.currentDirection))return;let l=a&amp;&amp;a[o]||{};r&amp;&amp;(l={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start(si(t,i,0,e,this.visualElement,!1,su(this.visualElement,t)))}stopAnimation(){sW(t=&gt;this.getAxisMotionValue(t).stop())}pauseAnimation(){sW(t=&gt;{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.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){sW(e=&gt;{let{drag:i}=this.getProps();if(!s2(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&amp;&amp;s.layout){let{min:i,max:r}=s.layout.layoutBox[e];n.set(t[e]-iO(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!x(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};sW(t=&gt;{let e=this.getAxisMotionValue(t);if(e&amp;&amp;!1!==this.constraints){let i=e.get();s[t]=function(t,e){let i=.5,s=sE(t),n=sE(e);return n&gt;s?i=iB(e.min,e.max-s,t.min):s&gt;n&amp;&amp;(i=iB(t.min,t.max-n,e.min)),K(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&amp;&amp;i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),sW(e=&gt;{if(!s2(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:r}=this.constraints[e];i.set(iO(n,r,s[e]))})}addListeners(){if(!this.visualElement.current)return;s1.set(this.visualElement,this);let t=t1(this.visualElement.current,"pointerdown",t=&gt;{let{drag:e,dragListener:i=!0}=this.getProps();e&amp;&amp;i&amp;&amp;this.start(t)}),e=()=&gt;{let{dragConstraints:t}=this.getProps();x(t)&amp;&amp;t.current&amp;&amp;(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&amp;&amp;!i.layout&amp;&amp;(i.root&amp;&amp;i.root.updateScroll(),i.updateLayout()),tH.read(e);let n=t_(window,"resize",()=&gt;this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=&gt;{this.isDragging&amp;&amp;e&amp;&amp;(sW(e=&gt;{let i=this.getAxisMotionValue(e);i&amp;&amp;(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=&gt;{n(),t(),s(),r&amp;&amp;r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:r,dragMomentum:o}}}function s2(t,e,i){return(!0===e||e===t)&amp;&amp;(null===i||i===t)}class s3 extends t7{constructor(t){super(t),this.removeGroupControls=tz.Z,this.removeListeners=tz.Z,this.controls=new s5(t)}mount(){let{dragControls:t}=this.node.getProps();t&amp;&amp;(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tz.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let s9=t=&gt;(e,i)=&gt;{t&amp;&amp;tH.postRender(()=&gt;t(e,i))};class s6 extends t7{constructor(){super(...arguments),this.removePointerDownListener=tz.Z}onPointerDown(t){this.session=new sT(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:s0(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:s9(t),onStart:s9(e),onMove:i,onEnd:(t,e)=&gt;{delete this.session,s&amp;&amp;tH.postRender(()=&gt;s(t,e))}}}mount(){this.removePointerDownListener=t1(this.node.current,"pointerdown",t=&gt;this.onPointerDown(t))}update(){this.session&amp;&amp;this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&amp;&amp;this.session.end()}}let s4={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function s8(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let s7={correct:(t,e)=&gt;{if(!e.target)return t;if("string"==typeof t){if(!te.test(t))return t;t=parseFloat(t)}let i=s8(t,e.target.x),s=s8(t,e.target.y);return`${i}% ${s}%`}};class nt extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;Object.assign(O,ni),n&amp;&amp;(e.group&amp;&amp;e.group.add(n),i&amp;&amp;i.register&amp;&amp;s&amp;&amp;i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=&gt;{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=&gt;this.safeToRemove()})),s4.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:n}=this.props,r=i.projection;return r&amp;&amp;(r.isPresent=n,s||t.layoutDependency!==e||void 0===e?r.willUpdate():this.safeToRemove(),t.isPresent===n||(n?r.promote():r.relegate()||tH.postRender(()=&gt;{let t=r.getStack();t&amp;&amp;t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&amp;&amp;(t.root.didUpdate(),g.postRender(()=&gt;{!t.currentAnimation&amp;&amp;t.isLead()&amp;&amp;this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;s&amp;&amp;(s.scheduleCheckAfterUnmount(),e&amp;&amp;e.group&amp;&amp;e.group.remove(s),i&amp;&amp;i.deregister&amp;&amp;i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&amp;&amp;t()}render(){return null}}function ne(t){let[e,i]=function(){let t=(0,o.useContext)(h.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:s}=t,n=(0,o.useId)();(0,o.useEffect)(()=&gt;s(n),[]);let r=(0,o.useCallback)(()=&gt;i&amp;&amp;i(n),[n,i]);return!e&amp;&amp;i?[!1,r]:[!0]}(),s=(0,o.useContext)(j.p);return(0,r.jsx)(nt,{...t,layoutGroup:s,switchLayoutGroup:(0,o.useContext)(P),isPresent:e,safeToRemove:i})}let ni={borderRadius:{...s7,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:s7,borderTopRightRadius:s7,borderBottomLeftRadius:s7,borderBottomRightRadius:s7,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=&gt;{let s=e8.parse(t);if(s.length&gt;5)return t;let n=e8.createTransformer(t),r="number"!=typeof s[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;s[0+r]/=o,s[1+r]/=a;let l=iO(o,a,.5);return"number"==typeof s[2+r]&amp;&amp;(s[2+r]/=l),"number"==typeof s[3+r]&amp;&amp;(s[3+r]/=l),n(s)}}},ns=["TopLeft","TopRight","BottomLeft","BottomRight"],nn=ns.length,nr=t=&gt;"string"==typeof t?parseFloat(t):t,no=t=&gt;"number"==typeof t||te.test(t);function na(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nl=nu(0,.5,iM),nh=nu(.5,.95,tz.Z);function nu(t,e,i){return s=&gt;s&lt;t?0:s&gt;e?1:i(iB(t,e,s))}function nd(t,e){t.min=e.min,t.max=e.max}function nc(t,e){nd(t.x,e.x),nd(t.y,e.y)}function np(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nm(t,e,i,s,n){return t-=e,t=s+1/i*(t-s),void 0!==n&amp;&amp;(t=s+1/n*(t-s)),t}function nf(t,e,[i,s,n],r,o){!function(t,e=0,i=1,s=.5,n,r=t,o=t){if(tt.test(e)&amp;&amp;(e=parseFloat(e),e=iO(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=iO(r.min,r.max,s);t===r&amp;&amp;(a-=e),t.min=nm(t.min,e,i,a,n),t.max=nm(t.max,e,i,a,n)}(t,e[i],e[s],e[n],e.scale,r,o)}let nv=["x","scaleX","originX"],ng=["y","scaleY","originY"];function ny(t,e,i,s){nf(t.x,e,nv,i?i.x:void 0,s?s.x:void 0),nf(t.y,e,ng,i?i.y:void 0,s?s.y:void 0)}function nx(t){return 0===t.translate&amp;&amp;1===t.scale}function nP(t){return nx(t.x)&amp;&amp;nx(t.y)}function nw(t,e){return t.min===e.min&amp;&amp;t.max===e.max}function nT(t,e){return Math.round(t.min)===Math.round(e.min)&amp;&amp;Math.round(t.max)===Math.round(e.max)}function nb(t,e){return nT(t.x,e.x)&amp;&amp;nT(t.y,e.y)}function nS(t){return sE(t.x)/sE(t.y)}function nA(t,e){return t.translate===e.translate&amp;&amp;t.scale===e.scale&amp;&amp;t.originPoint===e.originPoint}class nV{constructor(){this.members=[]}add(t){t$(this.members,t),t.scheduleRender()}remove(t){if(tW(this.members,t),t===this.prevLead&amp;&amp;(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&amp;&amp;this.promote(t)}}relegate(t){let e;let i=this.members.findIndex(e=&gt;t===e);if(0===i)return!1;for(let t=i;t&gt;=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&amp;&amp;(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&amp;&amp;(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&amp;&amp;i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&amp;&amp;(t.resumeFrom.preserveOpacity=!0),i.snapshot&amp;&amp;(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&amp;&amp;t.root.isUpdating&amp;&amp;(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&amp;&amp;i.hide()}}exitAnimationComplete(){this.members.forEach(t=&gt;{let{options:e,resumingFrom:i}=t;e.onExitComplete&amp;&amp;e.onExitComplete(),i&amp;&amp;i.options.onExitComplete&amp;&amp;i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=&gt;{t.instance&amp;&amp;t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&amp;&amp;this.lead.snapshot&amp;&amp;(this.lead.snapshot=void 0)}}let nE=(t,e)=&gt;t.depth-e.depth;class nC{constructor(){this.children=[],this.isDirty=!1}add(t){t$(this.children,t),this.isDirty=!0}remove(t){tW(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&amp;&amp;this.children.sort(nE),this.isDirty=!1,this.children.forEach(t)}}let nM={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},nR="undefined"!=typeof window&amp;&amp;void 0!==window.MotionDebug,nD=["","X","Y","Z"],nk={visibility:"hidden"},nj=0;function nL(t,e,i,s){let{latestValues:n}=e;n[t]&amp;&amp;(i[t]=n[t],e.setStaticValue(t,0),s&amp;&amp;(s[t]=0))}function nF({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:n}){return class{constructor(t={},i=null==e?void 0:e()){this.id=nj++,this.animationId=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=()=&gt;this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=&gt;{this.isUpdating&amp;&amp;(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=&gt;{this.projectionUpdateScheduled=!1,nR&amp;&amp;(nM.totalNodes=nM.resolvedTargetDeltas=nM.recalculatedProjection=0),this.nodes.forEach(nU),this.nodes.forEach(nH),this.nodes.forEach(nY),this.nodes.forEach(nI),nR&amp;&amp;window.MotionDebug.record(nM)},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&lt;this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&amp;&amp;(this.nodes=new nC)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ss),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&amp;&amp;i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&amp;&amp;"svg"!==e.tagName,this.instance=e;let{layoutId:s,layout:n,visualElement:r}=this.options;if(r&amp;&amp;!r.current&amp;&amp;r.mount(e),this.root.nodes.add(this),this.parent&amp;&amp;this.parent.children.add(this),i&amp;&amp;(n||s)&amp;&amp;(this.isLayoutDirty=!0),t){let i;let s=()=&gt;this.root.updateBlockedByResize=!1;t(e,()=&gt;{this.root.updateBlockedByResize=!0,i&amp;&amp;i(),i=function(t,e){let i=eV.now(),s=({timestamp:e})=&gt;{let n=e-i;n&gt;=250&amp;&amp;(tY(s),t(n-250))};return tH.read(s,!0),()=&gt;tY(s)}(s,0),s4.hasAnimatedSinceResize&amp;&amp;(s4.hasAnimatedSinceResize=!1,this.nodes.forEach(nz))})}s&amp;&amp;this.root.registerSharedNode(s,this),!1!==this.options.animate&amp;&amp;r&amp;&amp;(s||n)&amp;&amp;this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:s})=&gt;{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||r.getDefaultTransition()||nJ,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!nb(this.targetLayout,s)||i,h=!e&amp;&amp;i;if(this.options.layoutRoot||this.resumeFrom&amp;&amp;this.resumeFrom.instance||h||e&amp;&amp;(l||!this.currentAnimation)){this.resumeFrom&amp;&amp;(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,h);let e={...ew(n,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&amp;&amp;(e.delay=0,e.type=!1),this.startAnimation(e)}else e||nz(this),this.isLead()&amp;&amp;this.options.onExitComplete&amp;&amp;this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&amp;&amp;this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&amp;&amp;t.remove(this),this.parent&amp;&amp;this.parent.children.delete(this),this.instance=void 0,tY(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&amp;&amp;this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&amp;&amp;(this.isUpdating=!0,this.nodes&amp;&amp;this.nodes.forEach(nZ),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&amp;&amp;t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&amp;&amp;this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&amp;&amp;function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:i}=e.options;return!!i&amp;&amp;(!!sl(i)||!!e.parent&amp;&amp;!e.parent.hasCheckedOptimisedAppear&amp;&amp;t(e.parent))}(this)&amp;&amp;window.HandoffCancelAllAnimations(),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t&lt;this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&amp;&amp;e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&amp;&amp;!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&amp;&amp;this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nW);return}this.isUpdating||this.nodes.forEach(nN),this.isUpdating=!1,this.nodes.forEach(nK),this.nodes.forEach(nB),this.nodes.forEach(nO),this.clearAllSnapshots();let t=eV.now();tZ.delta=K(0,1e3/60,t-tZ.timestamp),tZ.timestamp=t,tZ.isProcessing=!0,tX.update.process(tZ),tX.preRender.process(tZ),tX.render.process(tZ),tZ.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,g.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(n$),this.sharedNodes.forEach(nX)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tH.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tH.postRender(()=&gt;{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&amp;&amp;this.instance&amp;&amp;(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&amp;&amp;this.isLead())&amp;&amp;!this.isLayoutDirty))return;if(this.resumeFrom&amp;&amp;!this.resumeFrom.instance)for(let t=0;t&lt;this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=s$(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&amp;&amp;e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&amp;&amp;this.instance);if(this.scroll&amp;&amp;this.scroll.animationId===this.root.animationId&amp;&amp;this.scroll.phase===t&amp;&amp;(e=!1),e){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&amp;&amp;!nP(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,r=s!==this.prevTransformTemplateValue;t&amp;&amp;(e||sH(this.latestValues)||r)&amp;&amp;(n(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&amp;&amp;(s=this.removeTransform(s)),n1((e=s).x),n1(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return s$();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(n2))){let{scroll:t}=this.root;t&amp;&amp;(sq(i.x,t.offset.x),sq(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=s$();if(nc(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e&lt;this.path.length;e++){let s=this.path[e],{scroll:n,options:r}=s;s!==this.root&amp;&amp;n&amp;&amp;r.layoutScroll&amp;&amp;(n.wasRoot&amp;&amp;nc(i,t),sq(i.x,n.offset.x),sq(i.y,n.offset.y))}return i}applyTransform(t,e=!1){let i=s$();nc(i,t);for(let t=0;t&lt;this.path.length;t++){let s=this.path[t];!e&amp;&amp;s.options.layoutScroll&amp;&amp;s.scroll&amp;&amp;s!==s.root&amp;&amp;sJ(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),sH(s.latestValues)&amp;&amp;sJ(i,s.latestValues)}return sH(this.latestValues)&amp;&amp;sJ(i,this.latestValues),i}removeTransform(t){let e=s$();nc(e,t);for(let t=0;t&lt;this.path.length;t++){let i=this.path[t];if(!i.instance||!sH(i.latestValues))continue;sz(i.latestValues)&amp;&amp;i.updateSnapshot();let s=s$();nc(s,i.measurePageBox()),ny(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return sH(this.latestValues)&amp;&amp;ny(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&amp;&amp;this.relativeParent.resolvedRelativeTargetAt!==tZ.timestamp&amp;&amp;this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,s,n;let r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==r;if(!(t||o&amp;&amp;this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&amp;&amp;(a||l)){if(this.resolvedRelativeTargetAt=tZ.timestamp,!this.targetDelta&amp;&amp;!this.relativeTarget){let t=this.getClosestProjectingParent();t&amp;&amp;t.layout&amp;&amp;1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=s$(),this.relativeTargetOrigin=s$(),sk(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),nc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=s$(),this.targetWithTransforms=s$()),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,s=this.relativeTarget,n=this.relativeParent.target,sR(i.x,s.x,n.x),sR(i.y,s.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nc(this.target,this.layout.layoutBox),sG(this.target,this.targetDelta)):nc(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&amp;&amp;!!t.resumingFrom==!!this.resumingFrom&amp;&amp;!t.options.layoutScroll&amp;&amp;t.target&amp;&amp;1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=s$(),this.relativeTargetOrigin=s$(),sk(this.relativeTargetOrigin,this.target,t.target),nc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}nR&amp;&amp;nM.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||sz(this.parent.latestValues)||sY(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&amp;&amp;this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,s=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&amp;&amp;(s=!1),i&amp;&amp;(this.isSharedProjectionDirty||this.isTransformDirty)&amp;&amp;(s=!1),this.resolvedRelativeTargetAt===tZ.timestamp&amp;&amp;(s=!1),s)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&amp;&amp;this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;nc(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,s=!1){let n,r;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a&lt;o;a++){r=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&amp;&amp;(s&amp;&amp;n.options.layoutScroll&amp;&amp;n.scroll&amp;&amp;n!==n.root&amp;&amp;sJ(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),r&amp;&amp;(e.x*=r.x.scale,e.y*=r.y.scale,sG(t,r)),s&amp;&amp;sH(n.latestValues)&amp;&amp;sJ(t,n.latestValues))}e.x&lt;1.0000000000001&amp;&amp;e.x&gt;.999999999999&amp;&amp;(e.x=1),e.y&lt;1.0000000000001&amp;&amp;e.y&gt;.999999999999&amp;&amp;(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&amp;&amp;!e.target&amp;&amp;(1!==this.treeScale.x||1!==this.treeScale.y)&amp;&amp;(e.target=e.layout.layoutBox,e.targetWithTransforms=s$());let{target:l}=e;if(!l){this.prevProjectionDelta&amp;&amp;(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&amp;&amp;this.prevProjectionDelta?(np(this.prevProjectionDelta.x,this.projectionDelta.x),np(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),sM(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&amp;&amp;this.treeScale.y===a&amp;&amp;nA(this.projectionDelta.x,this.prevProjectionDelta.x)&amp;&amp;nA(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),nR&amp;&amp;nM.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&amp;&amp;t.scheduleRender()}this.resumingFrom&amp;&amp;!this.resumingFrom.instance&amp;&amp;(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=sU(),this.projectionDelta=sU(),this.projectionDeltaWithTransform=sU()}setAnimationOrigin(t,e=!1){let i;let s=this.snapshot,n=s?s.latestValues:{},r={...this.latestValues},o=sU();this.relativeParent&amp;&amp;this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=s$(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length&lt;=1,d=!!(l&amp;&amp;!u&amp;&amp;!0===this.options.crossfade&amp;&amp;!this.path.some(n_));this.animationProgress=0,this.mixTargetDelta=e=&gt;{let s=e/1e3;if(nG(o.x,t.x,s),nG(o.y,t.y,s),this.setTargetDelta(o),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.layout&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.layout){var h,c,p,m;sk(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,nq(p.x,m.x,a.x,s),nq(p.y,m.y,a.y,s),i&amp;&amp;(h=this.relativeTarget,c=i,nw(h.x,c.x)&amp;&amp;nw(h.y,c.y))&amp;&amp;(this.isProjectionDirty=!1),i||(i=s$()),nc(i,this.relativeTarget)}l&amp;&amp;(this.animationValues=r,function(t,e,i,s,n,r){n?(t.opacity=iO(0,void 0!==i.opacity?i.opacity:1,nl(s)),t.opacityExit=iO(void 0!==e.opacity?e.opacity:1,0,nh(s))):r&amp;&amp;(t.opacity=iO(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let n=0;n&lt;nn;n++){let r=`border${ns[n]}Radius`,o=na(e,r),a=na(i,r);(void 0!==o||void 0!==a)&amp;&amp;(o||(o=0),a||(a=0),0===o||0===a||no(o)===no(a)?(t[r]=Math.max(iO(nr(o),nr(a),s),0),(tt.test(a)||tt.test(o))&amp;&amp;(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&amp;&amp;(t.rotate=iO(e.rotate||0,i.rotate||0,s))}(r,n,this.latestValues,s,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&amp;&amp;this.currentAnimation.stop(),this.resumingFrom&amp;&amp;this.resumingFrom.currentAnimation&amp;&amp;this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&amp;&amp;(tY(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tH.update(()=&gt;{s4.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let s=W(0)?0:sa(0);return s.start(si("",s,1e3,i)),s.animation}(0,0,{...t,onUpdate:e=&gt;{this.mixTargetDelta(e),t.onUpdate&amp;&amp;t.onUpdate(e)},onComplete:()=&gt;{t.onComplete&amp;&amp;t.onComplete(),this.completeAnimation()}}),this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&amp;&amp;t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&amp;&amp;(this.mixTargetDelta&amp;&amp;this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:n}=t;if(e&amp;&amp;i&amp;&amp;s){if(this!==t&amp;&amp;this.layout&amp;&amp;s&amp;&amp;n5(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||s$();let e=sE(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=sE(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}nc(e,i),sJ(e,n),sM(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nV),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&amp;&amp;i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&amp;&amp;(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.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&amp;&amp;s.promote(this,i),t&amp;&amp;(this.projectionDelta=void 0,this.needsReset=!0),e&amp;&amp;this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&amp;&amp;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)&amp;&amp;(e=!0),!e)return;let s={};i.z&amp;&amp;nL("z",t,s,this.animationValues);for(let e=0;e&lt;nD.length;e++)nL(`rotate${nD[e]}`,t,s,this.animationValues),nL(`skew${nD[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&amp;&amp;(this.animationValues[e]=s[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return nk;let s={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=tO(null==t?void 0:t.pointerEvents)||"",s.transform=n?n(this.latestValues,""):"none",s;let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){let e={};return this.options.layoutId&amp;&amp;(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tO(null==t?void 0:t.pointerEvents)||""),this.hasProjected&amp;&amp;!sH(this.latestValues)&amp;&amp;(e.transform=n?n({},""):"none",this.hasProjected=!1),e}let o=r.animationValues||r.latestValues;this.applyTransformsToTarget(),s.transform=function(t,e,i){let s="",n=t.x.translate/e.x,r=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((n||r||o)&amp;&amp;(s=`translate3d(${n}px, ${r}px, ${o}px) `),(1!==e.x||1!==e.y)&amp;&amp;(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:r,skewX:o,skewY:a}=i;t&amp;&amp;(s=`perspective(${t}px) ${s}`),e&amp;&amp;(s+=`rotate(${e}deg) `),n&amp;&amp;(s+=`rotateX(${n}deg) `),r&amp;&amp;(s+=`rotateY(${r}deg) `),o&amp;&amp;(s+=`skewX(${o}deg) `),a&amp;&amp;(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&amp;&amp;(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),n&amp;&amp;(s.transform=n(o,s.transform));let{x:a,y:l}=this.projectionDelta;for(let t in s.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,r.animationValues?s.opacity=r===this?null!==(i=null!==(e=o.opacity)&amp;&amp;void 0!==e?e:this.latestValues.opacity)&amp;&amp;void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:s.opacity=r===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,O){if(void 0===o[t])continue;let{correct:e,applyTo:i}=O[t],n="none"===s.transform?o[t]:e(o[t],r);if(i){let t=i.length;for(let e=0;e&lt;t;e++)s[i[e]]=n}else s[t]=n}return this.options.layoutId&amp;&amp;(s.pointerEvents=r===this?tO(null==t?void 0:t.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=&gt;{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(nW),this.root.sharedNodes.clear()}}}function nB(t){t.updateLayout()}function nO(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&amp;&amp;t.layout&amp;&amp;i&amp;&amp;t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:s}=t.layout,{animationType:n}=t.options,r=i.source!==t.layout.source;"size"===n?sW(t=&gt;{let s=r?i.measuredBox[t]:i.layoutBox[t],n=sE(s);s.min=e[t].min,s.max=s.min+n}):n5(n,i.layoutBox,e)&amp;&amp;sW(s=&gt;{let n=r?i.measuredBox[s]:i.layoutBox[s],o=sE(e[s]);n.max=n.min+o,t.relativeTarget&amp;&amp;!t.currentAnimation&amp;&amp;(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=sU();sM(o,e,i.layoutBox);let a=sU();r?sM(a,t.applyTransform(s,!0),i.measuredBox):sM(a,e,i.layoutBox);let l=!nP(o),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&amp;&amp;!s.resumeFrom){let{snapshot:n,layout:r}=s;if(n&amp;&amp;r){let o=s$();sk(o,i.layoutBox,n.layoutBox);let a=s$();sk(a,e,r.layoutBox),nb(o,a)||(h=!0),s.options.layoutRoot&amp;&amp;(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&amp;&amp;e()}t.options.transition=void 0}function nU(t){nR&amp;&amp;nM.totalNodes++,t.parent&amp;&amp;(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nI(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function n$(t){t.clearSnapshot()}function nW(t){t.clearMeasurements()}function nN(t){t.isLayoutDirty=!1}function nK(t){let{visualElement:e}=t.options;e&amp;&amp;e.getProps().onBeforeLayoutMeasure&amp;&amp;e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nz(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nH(t){t.resolveTargetDelta()}function nY(t){t.calcProjection()}function nZ(t){t.resetSkewAndRotation()}function nX(t){t.removeLeadSnapshot()}function nG(t,e,i){t.translate=iO(e.translate,0,i),t.scale=iO(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nq(t,e,i,s){t.min=iO(e.min,i.min,s),t.max=iO(e.max,i.max,s)}function n_(t){return t.animationValues&amp;&amp;void 0!==t.animationValues.opacityExit}let nJ={duration:.45,ease:[.4,0,.1,1]},nQ=t=&gt;"undefined"!=typeof navigator&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().includes(t),n0=nQ("applewebkit/")&amp;&amp;!nQ("chrome/")?Math.round:tz.Z;function n1(t){t.min=n0(t.min),t.max=n0(t.max)}function n5(t,e,i){return"position"===t||"preserve-aspect"===t&amp;&amp;!(.2&gt;=Math.abs(nS(e)-nS(i)))}function n2(t){var e;return t!==t.root&amp;&amp;(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let n3=nF({attachResizeListener:(t,e)=&gt;t_(t,"resize",e),measureScroll:()=&gt;({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=&gt;!0}),n9={current:void 0},n6=nF({measureScroll:t=&gt;({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=&gt;{if(!n9.current){let t=new n3({});t.mount(window),t.setOptions({layoutScroll:!0}),n9.current=t}return n9.current},resetTransform:(t,e)=&gt;{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=&gt;"fixed"===window.getComputedStyle(t).position}),n4={current:null},n8={current:!1},n7=new WeakMap,rt=[...eI,e0,e8],re=t=&gt;rt.find(eU(t)),ri=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rs=V.length;class rn{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:n,visualState:r},o={}){this.applyWillChange=!1,this.resolveKeyframes=(t,e,i,s)=&gt;new this.KeyframeResolver(t,e,i,s,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eY,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=&gt;this.notify("Update",this.latestValues),this.render=()=&gt;{this.isRenderScheduled=!1,this.current&amp;&amp;(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=&gt;{this.isRenderScheduled||(this.isRenderScheduled=!0,tH.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=r;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=E(e),this.isVariantNode=C(e),this.isVariantNode&amp;&amp;(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&amp;&amp;t.current);let{willChange:h,...u}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in u){let e=u[t];void 0!==a[t]&amp;&amp;W(e)&amp;&amp;e.set(a[t],!1)}}mount(t){this.current=t,n7.set(t,this),this.projection&amp;&amp;!this.projection.instance&amp;&amp;this.projection.mount(t),this.parent&amp;&amp;this.isVariantNode&amp;&amp;!this.isControllingVariants&amp;&amp;(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=&gt;this.bindToMotionValue(e,t)),n8.current||function(){if(n8.current=!0,k.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=&gt;n4.current=t.matches;t.addListener(e),e()}else n4.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&amp;&amp;("always"===this.reducedMotionConfig||n4.current),this.parent&amp;&amp;this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in n7.delete(this.current),this.projection&amp;&amp;this.projection.unmount(),tY(this.notifyUpdate),tY(this.render),this.valueSubscriptions.forEach(t=&gt;t()),this.removeFromVariantTree&amp;&amp;this.removeFromVariantTree(),this.parent&amp;&amp;this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&amp;&amp;(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i=I.has(t),s=e.on("change",e=&gt;{this.latestValues[t]=e,this.props.onUpdate&amp;&amp;tH.preRender(this.notifyUpdate),i&amp;&amp;this.projection&amp;&amp;(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=&gt;{s(),n(),e.owner&amp;&amp;e.stop()})}sortNodePosition(t){return this.current&amp;&amp;this.sortInstanceNodePosition&amp;&amp;this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in D){let e=D[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&amp;&amp;s&amp;&amp;i(this.props)&amp;&amp;(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):s$()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&amp;&amp;this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e&lt;ri.length;e++){let i=ri[e];this.propEventSubscriptions[i]&amp;&amp;(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&amp;&amp;(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(let s in e){let n=e[s],r=i[s];if(W(n))t.addValue(s,n);else if(W(r))t.addValue(s,sa(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,sa(void 0!==e?e:n,{owner:t}))}}}for(let s in i)void 0===e[s]&amp;&amp;t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&amp;&amp;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}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&amp;&amp;this.parent.getVariantContext()||{};return void 0!==this.props.initial&amp;&amp;(t.initial=this.props.initial),t}let e={};for(let t=0;t&lt;rs;t++){let i=V[t],s=this.props[i];(b(s)||!1===s)&amp;&amp;(e[i]=s)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&amp;&amp;e.variantChildren.add(t),()=&gt;e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&amp;&amp;(i&amp;&amp;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&amp;&amp;(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&amp;&amp;this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&amp;&amp;void 0!==e&amp;&amp;(i=sa(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let s=void 0===this.latestValues[t]&amp;&amp;this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&amp;&amp;void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=s&amp;&amp;("string"==typeof s&amp;&amp;(eM(s)||eE(s))?s=parseFloat(s):!re(s)&amp;&amp;e8.test(e)&amp;&amp;(s=io(t,e)),this.setBaseTarget(t,W(s)?s.get():s)),W(s)?s.get():s}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:s}=this.props;if("string"==typeof s||"object"==typeof s){let n=tk(this.props,s,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);n&amp;&amp;(i=n[t])}if(s&amp;&amp;void 0!==i)return i;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||W(n)?void 0!==this.initialValues[t]&amp;&amp;void 0===i?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new ss),this.events[t].add(e)}notify(t,...e){this.events[t]&amp;&amp;this.events[t].notify(...e)}}class rr extends rn{constructor(){super(...arguments),this.KeyframeResolver=il}sortInstanceNodePosition(t,e){return 2&amp;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]}}class ro extends rr{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=tV}readValueFromInstance(t,e){if(I.has(e)){let t=ir(e);return t&amp;&amp;t.default||0}{let i=window.getComputedStyle(t),s=(tu(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return sQ(t,e)}build(t,e,i){tm(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return tM(t,e,i)}handleChildMotionValue(){this.childSubscription&amp;&amp;(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;W(t)&amp;&amp;(this.childSubscription=t.on("change",t=&gt;{this.current&amp;&amp;(this.current.textContent=`${t}`)}))}}class ra extends rr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s$}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(I.has(e)){let t=ir(e);return t&amp;&amp;t.default||0}return e=tE.has(e)?e:c(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return tR(t,e,i)}build(t,e,i){tb(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,s){tC(t,e,i,s)}mount(t){this.isSVGTag=tA(t.tagName),super.mount(t)}}let rl=(t,e)=&gt;B(t)?new ra(e):new ro(e,{allowProjection:t!==o.Fragment}),rh={animation:{Feature:sy},exit:{Feature:sP},inView:{Feature:ed},tap:{Feature:er},focus:{Feature:ei},hover:{Feature:ee},pan:{Feature:s6},drag:{Feature:s3,ProjectionNode:n6,MeasureLayout:ne},layout:{ProjectionNode:n6,MeasureLayout:ne}},ru=function(t){function e(e,i={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:s,Component:n}){t&amp;&amp;function(t){for(let e in t)D[e]={...D[e],...t[e]}}(t);let c=(0,o.forwardRef)(function(t,c){var m;let f;let v={...(0,o.useContext)(a._),...t,layoutId:function({layoutId:t}){let e=(0,o.useContext)(j.p).id;return e&amp;&amp;void 0!==t?e+"-"+t:t}(t)},{isStatic:y}=v,S=function(t){let{initial:e,animate:i}=function(t,e){if(E(t)){let{initial:e,animate:i}=t;return{initial:!1===e||b(e)?e:void 0,animate:b(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(l));return(0,o.useMemo)(()=&gt;({initial:e,animate:i}),[M(e),M(i)])}(t),A=s(t,y);if(!y&amp;&amp;k.j){(0,o.useContext)(d).strict;let t=function(t){let{drag:e,layout:i}=D;if(!e&amp;&amp;!i)return{};let s={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(v);f=t.MeasureLayout,S.visualElement=function(t,e,i,s,n){let{visualElement:r}=(0,o.useContext)(l),c=(0,o.useContext)(d),m=(0,o.useContext)(h.O),f=(0,o.useContext)(a._).reducedMotion,v=(0,o.useRef)();s=s||c.renderer,!v.current&amp;&amp;s&amp;&amp;(v.current=s(t,{visualState:e,parent:r,props:i,presenceContext:m,blockInitialAnimation:!!m&amp;&amp;!1===m.initial,reducedMotionConfig:f}));let y=v.current,b=(0,o.useContext)(P);y&amp;&amp;!y.projection&amp;&amp;n&amp;&amp;("html"===y.type||"svg"===y.type)&amp;&amp;function(t,e,i,s){let{layoutId:n,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h}=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:!!o||a&amp;&amp;x(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:h})}(v.current,i,n,b),(0,o.useInsertionEffect)(()=&gt;{y&amp;&amp;y.update(i,m)});let S=(0,o.useRef)(!!(i[p]&amp;&amp;!window.HandoffComplete));return(0,u.L)(()=&gt;{y&amp;&amp;(y.updateFeatures(),g.render(y.render),S.current&amp;&amp;y.animationState&amp;&amp;y.animationState.animateChanges())}),(0,o.useEffect)(()=&gt;{y&amp;&amp;(!S.current&amp;&amp;y.animationState&amp;&amp;y.animationState.animateChanges(),S.current&amp;&amp;(S.current=!1,w||(w=!0,queueMicrotask(T))))}),y}(n,A,v,e,t.ProjectionNode)}return(0,r.jsxs)(l.Provider,{value:S,children:[f&amp;&amp;S.visualElement?(0,r.jsx)(f,{visualElement:S.visualElement,...v}):null,i(n,t,(m=S.visualElement,(0,o.useCallback)(t=&gt;{t&amp;&amp;A.mount&amp;&amp;A.mount(t),m&amp;&amp;(t?m.mount(t):m.unmount()),c&amp;&amp;("function"==typeof c?c(t):x(c)&amp;&amp;(c.current=t))},[m])),A,y,S.visualElement)]})});return c[L]=n,c}(t(e,i))}if("undefined"==typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,s)=&gt;(i.has(s)||i.set(s,e(s)),i.get(s))})}((t,e)=&gt;(function(t,{forwardMotionProps:e=!1},i,s){return{...B(t)?tG:tq,preloadedFeatures:i,useRender:function(t=!1){return(e,i,s,{latestValues:n},r)=&gt;{let a=(B(e)?function(t,e,i,s){let n=(0,o.useMemo)(()=&gt;{let i=tS();return tb(i,e,tA(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};tv(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i={},s=function(t,e){let i=t.style||{},s={};return tv(s,i,t),Object.assign(s,function({transformTemplate:t},e){return(0,o.useMemo)(()=&gt;{let i=tf();return tm(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s}(t,e);return t.drag&amp;&amp;!1!==t.dragListener&amp;&amp;(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&amp;&amp;(t.onTap||t.onTapStart||t.whileTap)&amp;&amp;(i.tabIndex=0),i.style=s,i})(i,n,r,e),l=function(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&amp;&amp;(tx(n)||!0===i&amp;&amp;ty(n)||!e&amp;&amp;!ty(n)||t.draggable&amp;&amp;n.startsWith("onDrag"))&amp;&amp;(s[n]=t[n]);return s}(i,"string"==typeof e,t),h=e!==o.Fragment?{...l,...a,ref:s}:{},{children:u}=i,d=(0,o.useMemo)(()=&gt;W(u)?u.get():u,[u]);return(0,o.createElement)(e,{...h,children:d})}}(e),createVisualElement:s,Component:t}})(t,e,rh,rl))},25119:function(t,e,i){i.d(e,{K:function(){return n},k:function(){return r}});var s=i(32995);let n=s.Z,r=s.Z},59839:function(t,e,i){i.d(e,{j:function(){return s}});let s="undefined"!=typeof window},32995:function(t,e,i){i.d(e,{Z:function(){return s}});let s=t=&gt;t},30185:function(t,e,i){i.d(e,{h:function(){return n}});var s=i(2265);function n(t){let e=(0,s.useRef)(null);return null===e.current&amp;&amp;(e.current=t()),e.current}},25070:function(t,e,i){i.d(e,{L:function(){return n}});var s=i(2265);let n=i(59839).j?s.useLayoutEffect:s.useEffect}}]);</pre></body></html>