<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([[9229],{64710:(t,e,i)=&gt;{i.d(e,{L:()=&gt;s});let s=(0,i(12115).createContext)({})},27249:(t,e,i)=&gt;{i.d(e,{Q:()=&gt;s});let s=(0,i(12115).createContext)({transformPagePoint:t=&gt;t,isStatic:!1,reducedMotion:"never"})},39656:(t,e,i)=&gt;{i.d(e,{t:()=&gt;s});let s=(0,i(12115).createContext)(null)},89229:(t,e,i)=&gt;{let s;function n(t){return null!==t&amp;&amp;"object"==typeof t&amp;&amp;"function"==typeof t.start}i.d(e,{P:()=&gt;rp});let r=t=&gt;Array.isArray(t);function o(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 a(t){return"string"==typeof t||Array.isArray(t)}function l(t,e,i,s){if("function"==typeof e||("string"==typeof e&amp;&amp;(e=t.variants&amp;&amp;t.variants[e]),"function"==typeof e)){let[n,r]=function(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=&gt;{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}(s);e=e(void 0!==i?i:t.custom,n,r)}return e}function u(t,e,i){let s=t.getProps();return l(s,e,void 0!==i?i:s.custom,t)}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...h];function c(t){let e;return()=&gt;(void 0===e&amp;&amp;(e=t()),e)}let p=c(()=&gt;void 0!==window.ScrollTimeline);class m{constructor(t){this.stop=()=&gt;this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=&gt;"finished"in t?t.finished:t))}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,e){let i=this.animations.map(i=&gt;p()&amp;&amp;i.attachTimeline?i.attachTimeline(t):e(i));return()=&gt;{i.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 startTime(){return this.getAll("startTime")}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]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class f extends m{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function v(t,e){return t?t[e]||t.default||t:void 0}function g(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}function y(t){return"function"==typeof t}function x(t,e){t.timeline=e,t.onfinish=null}let w=t=&gt;Array.isArray(t)&amp;&amp;"number"==typeof t[0],P={linearEasing:void 0},T=function(t,e){let i=c(t);return()=&gt;{var t;return null!==(t=P[e])&amp;&amp;void 0!==t?t:i()}}(()=&gt;{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),b=(t,e,i)=&gt;{let s=e-t;return 0===s?1:(i-t)/s},S=(t,e,i=10)=&gt;{let s="",n=Math.max(Math.round(e/i),2);for(let e=0;e&lt;n;e++)s+=t(b(0,n-1,e))+", ";return`linear(${s.substring(0,s.length-2)})`},A=([t,e,i,s])=&gt;`cubic-bezier(${t}, ${e}, ${i}, ${s})`,V={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:A([0,.65,.55,1]),circOut:A([.55,0,1,.45]),backIn:A([.31,.01,.66,-.59]),backOut:A([.33,1.53,.69,.99])},E={x:!1,y:!1};function M(t,e){let i=function(t,e,i){if(t instanceof Element)return[t];if("string"==typeof t){let e=document.querySelectorAll(t);return e?Array.from(e):[]}return Array.from(t)}(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=&gt;s.abort()]}function D(t){return e=&gt;{"touch"===e.pointerType||E.x||E.y||t(e)}}let C=t=&gt;"mouse"===t.pointerType?"number"!=typeof t.button||t.button&lt;=0:!1!==t.isPrimary,k=new WeakSet;function R(t){return e=&gt;{"Enter"===e.key&amp;&amp;t(e)}}function L(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let j=(t,e)=&gt;{let i=t.currentTarget;if(!i)return;let s=R(()=&gt;{if(k.has(i))return;L(i,"down");let t=R(()=&gt;{L(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=&gt;L(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=&gt;i.removeEventListener("keydown",s),e)},F=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),B=(t,e)=&gt;!!e&amp;&amp;(t===e||B(t,e.parentElement));function O(t){return C(t)&amp;&amp;!(E.x||E.y)}let I=t=&gt;1e3*t,U=t=&gt;t/1e3;var $,N,W=i(26054);let z=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Y=new Set(z),H=t=&gt;!!(t&amp;&amp;"object"==typeof t&amp;&amp;t.mix&amp;&amp;t.toValue),X=t=&gt;r(t)?t[t.length-1]||0:t,K={skipAnimations:!1,useManualTiming:!1},q=["read","resolveKeyframes","update","preRender","render","postRender"];function G(t,e){let i=!1,s=!0,n={delta:0,timestamp:0,isProcessing:!1},r=()=&gt;i=!0,o=q.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],e.forEach(a),e.clear(),s=!1,n&amp;&amp;(n=!1,l.process(t))}};return l}(r),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:h,render:d,postRender:c}=o,p=()=&gt;{let r=K.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),u.process(n),h.process(n),d.process(n),c.process(n),n.isProcessing=!1,i&amp;&amp;e&amp;&amp;(s=!1,t(p))},m=()=&gt;{i=!0,s=!0,n.isProcessing||t(p)};return{schedule:q.reduce((t,e)=&gt;{let s=o[e];return t[e]=(t,e=!1,n=!1)=&gt;(i||m(),s.schedule(t,e,n)),t},{}),cancel:t=&gt;{for(let e=0;e&lt;q.length;e++)o[q[e]].cancel(t)},state:n,steps:o}}let{schedule:_,cancel:Z,state:Q,steps:J}=G("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:W.l,!0);function tt(){s=void 0}let te={now:()=&gt;(void 0===s&amp;&amp;te.set(Q.isProcessing||K.useManualTiming?Q.timestamp:performance.now()),s),set:t=&gt;{s=t,queueMicrotask(tt)}};function ti(t,e){-1===t.indexOf(e)&amp;&amp;t.push(e)}function ts(t,e){let i=t.indexOf(e);i&gt;-1&amp;&amp;t.splice(i,1)}class tn{constructor(){this.subscriptions=[]}add(t){return ti(this.subscriptions,t),()=&gt;ts(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 tr=t=&gt;!isNaN(parseFloat(t)),to={current:void 0};class ta{constructor(t,e={}){this.version="11.16.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=&gt;{let i=te.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=te.now(),null===this.canTrackVelocity&amp;&amp;void 0!==t&amp;&amp;(this.canTrackVelocity=tr(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 tn);let i=this.events[t].add(e);return"change"===t?()=&gt;{i(),_.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 to.current&amp;&amp;to.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=te.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 tl(t,e){return new ta(t,e)}let tu=t=&gt;!!(t&amp;&amp;t.getVelocity);function th(t,e){let i=t.getValue("willChange");if(tu(i)&amp;&amp;i.add)return i.add(e)}let td=t=&gt;t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tc="data-"+td("framerAppearId"),tp={current:!1},tm=(t,e,i)=&gt;(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tf(t,e,i,s){if(t===e&amp;&amp;i===s)return W.l;let n=e=&gt;(function(t,e,i,s,n){let r,o;let a=0;do(r=tm(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:tm(n(t),e,s)}let tv=t=&gt;e=&gt;e&lt;=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tg=t=&gt;e=&gt;1-t(1-e),ty=tf(.33,1.53,.69,.99),tx=tg(ty),tw=tv(tx),tP=t=&gt;(t*=2)&lt;1?.5*tx(t):.5*(2-Math.pow(2,-10*(t-1))),tT=t=&gt;1-Math.sin(Math.acos(t)),tb=tg(tT),tS=tv(tT),tA=t=&gt;/^0[^.\s]+$/u.test(t);var tV=i(45107);let tE=t=&gt;/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),tM=t=&gt;e=&gt;"string"==typeof e&amp;&amp;e.startsWith(t),tD=tM("--"),tC=tM("var(--"),tk=t=&gt;!!tC(t)&amp;&amp;tR.test(t.split("/*")[0].trim()),tR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tL=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tj=(t,e,i)=&gt;i&gt;e?e:i&lt;t?t:i,tF={test:t=&gt;"number"==typeof t,parse:parseFloat,transform:t=&gt;t},tB={...tF,transform:t=&gt;tj(0,1,t)},tO={...tF,default:1},tI=t=&gt;({test:e=&gt;"string"==typeof e&amp;&amp;e.endsWith(t)&amp;&amp;1===e.split(" ").length,parse:parseFloat,transform:e=&gt;`${e}${t}`}),tU=tI("deg"),t$=tI("%"),tN=tI("px"),tW=tI("vh"),tz=tI("vw"),tY={...t$,parse:t=&gt;t$.parse(t)/100,transform:t=&gt;t$.transform(100*t)},tH=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),tX=t=&gt;t===tF||t===tN,tK=(t,e)=&gt;parseFloat(t.split(", ")[e]),tq=(t,e)=&gt;(i,{transform:s})=&gt;{if("none"===s||!s)return 0;let n=s.match(/^matrix3d\((.+)\)$/u);if(n)return tK(n[1],e);{let e=s.match(/^matrix\((.+)\)$/u);return e?tK(e[1],t):0}},tG=new Set(["x","y","z"]),t_=z.filter(t=&gt;!tG.has(t)),tZ={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:tq(4,13),y:tq(5,14)};tZ.translateX=tZ.x,tZ.translateY=tZ.y;let tQ=t=&gt;e=&gt;e.test(t),tJ=[tF,tN,t$,tU,tz,tW,{test:t=&gt;"auto"===t,parse:t=&gt;t}],t0=t=&gt;tJ.find(tQ(t)),t1=new Set,t5=!1,t2=!1;function t3(){if(t2){let t=Array.from(t1).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 t_.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)})}t2=!1,t5=!1,t1.forEach(t=&gt;t.complete()),t1.clear()}function t9(){t1.forEach(t=&gt;{t.readKeyframes(),t.needsMeasurement&amp;&amp;(t2=!0)})}class t4{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?(t1.add(this),t5||(t5=!0,_.read(t9),_.resolveKeyframes(t3))):(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),t1.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,t1.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let t6=t=&gt;Math.round(1e5*t)/1e5,t7=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,t8=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,et=(t,e)=&gt;i=&gt;!!("string"==typeof i&amp;&amp;t8.test(i)&amp;&amp;i.startsWith(t)||e&amp;&amp;null!=i&amp;&amp;Object.prototype.hasOwnProperty.call(i,e)),ee=(t,e,i)=&gt;s=&gt;{if("string"!=typeof s)return s;let[n,r,o,a]=s.match(t7);return{[t]:parseFloat(n),[e]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},ei=t=&gt;tj(0,255,t),es={...tF,transform:t=&gt;Math.round(ei(t))},en={test:et("rgb","red"),parse:ee("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=&gt;"rgba("+es.transform(t)+", "+es.transform(e)+", "+es.transform(i)+", "+t6(tB.transform(s))+")"},er={test:et("#"),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:en.transform},eo={test:et("hsl","hue"),parse:ee("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=&gt;"hsla("+Math.round(t)+", "+t$.transform(t6(e))+", "+t$.transform(t6(i))+", "+t6(tB.transform(s))+")"},ea={test:t=&gt;en.test(t)||er.test(t)||eo.test(t),parse:t=&gt;en.test(t)?en.parse(t):eo.test(t)?eo.parse(t):er.parse(t),transform:t=&gt;"string"==typeof t?t:t.hasOwnProperty("red")?en.transform(t):eo.transform(t)},el=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eu="number",eh="color",ed=/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 ec(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,o=e.replace(ed,t=&gt;(ea.test(t)?(s.color.push(r),n.push(eh),i.push(ea.parse(t))):t.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(t)):(s.number.push(r),n.push(eu),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:s,types:n}}function ep(t){return ec(t).values}function em(t){let{split:e,types:i}=ec(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===eu?n+=t6(t[r]):e===eh?n+=ea.transform(t[r]):n+=t[r]}return n}}let ef=t=&gt;"number"==typeof t?0:t,ev={test:function(t){var e,i;return isNaN(t)&amp;&amp;"string"==typeof t&amp;&amp;((null===(e=t.match(t7))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(el))||void 0===i?void 0:i.length)||0)&gt;0},parse:ep,createTransformer:em,getAnimatableNone:function(t){let e=ep(t);return em(t)(e.map(ef))}},eg=new Set(["brightness","contrast","saturate","opacity"]);function ey(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(t7)||[];if(!s)return t;let n=i.replace(s,""),r=eg.has(e)?1:0;return s!==i&amp;&amp;(r*=100),e+"("+r+n+")"}let ex=/\b([a-z-]*)\(.*?\)/gu,ew={...ev,getAnimatableNone:t=&gt;{let e=t.match(ex);return e?e.map(ey).join(" "):t}},eP={...tF,transform:Math.round},eT={borderWidth:tN,borderTopWidth:tN,borderRightWidth:tN,borderBottomWidth:tN,borderLeftWidth:tN,borderRadius:tN,radius:tN,borderTopLeftRadius:tN,borderTopRightRadius:tN,borderBottomRightRadius:tN,borderBottomLeftRadius:tN,width:tN,maxWidth:tN,height:tN,maxHeight:tN,top:tN,right:tN,bottom:tN,left:tN,padding:tN,paddingTop:tN,paddingRight:tN,paddingBottom:tN,paddingLeft:tN,margin:tN,marginTop:tN,marginRight:tN,marginBottom:tN,marginLeft:tN,backgroundPositionX:tN,backgroundPositionY:tN,rotate:tU,rotateX:tU,rotateY:tU,rotateZ:tU,scale:tO,scaleX:tO,scaleY:tO,scaleZ:tO,skew:tU,skewX:tU,skewY:tU,distance:tN,translateX:tN,translateY:tN,translateZ:tN,x:tN,y:tN,z:tN,perspective:tN,transformPerspective:tN,opacity:tB,originX:tY,originY:tY,originZ:tN,zIndex:eP,size:tN,fillOpacity:tB,strokeOpacity:tB,numOctaves:eP},eb={...eT,color:ea,backgroundColor:ea,outlineColor:ea,fill:ea,stroke:ea,borderColor:ea,borderTopColor:ea,borderRightColor:ea,borderBottomColor:ea,borderLeftColor:ea,filter:ew,WebkitFilter:ew},eS=t=&gt;eb[t];function eA(t,e){let i=eS(t);return i!==ew&amp;&amp;(i=ev),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let eV=new Set(["auto","none","0"]);class eE extends t4{constructor(t,e,i,s,n){super(t,e,i,s,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i&lt;t.length;i++){let s=t[i];if("string"==typeof s&amp;&amp;tk(s=s.trim())){let n=function t(e,i,s=1){(0,tV.V)(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=tL.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 tE(t)?parseFloat(t):t}return tk(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(),!tH.has(i)||2!==t.length)return;let[s,n]=t,r=t0(s),o=t0(n);if(r!==o){if(tX(r)&amp;&amp;tX(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||tA(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;!eV.has(e)&amp;&amp;ec(e).values.length&amp;&amp;(s=t[n]),n++}if(s&amp;&amp;i)for(let n of e)t[n]=eA(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&amp;&amp;(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tZ[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||!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]=tZ[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()}}let eM=(t,e)=&gt;"zIndex"!==e&amp;&amp;!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&amp;&amp;(ev.test(t)||"0"===t)&amp;&amp;!t.startsWith("url(")),eD=t=&gt;null!==t;function eC(t,{repeat:e,repeatType:i="loop"},s){let n=t.filter(eD),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]}class ek{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.createdAt=te.now(),this.options={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&amp;&amp;this.resolvedAt-this.createdAt&gt;40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(t9(),t3()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=te.now(),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=eM(n,e),a=eM(r,e);return(0,tV.$)(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||y(i))&amp;&amp;s)}(t,i,s,n)){if(tp.current||!r){null==a||a(eC(t,this.options,e)),null==o||o(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(t,e);!1!==u&amp;&amp;(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=&gt;{this.resolveFinishedPromise=t})}}let eR=(t,e,i)=&gt;t+(e-t)*i;function eL(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 ej(t,e){return i=&gt;i&gt;0?e:t}let eF=(t,e,i)=&gt;{let s=t*t,n=i*(e*e-s)+s;return n&lt;0?0:Math.sqrt(n)},eB=[er,en,eo],eO=t=&gt;eB.find(e=&gt;e.test(t));function eI(t){let e=eO(t);if((0,tV.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===eo&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=eL(a,s,t+1/3),r=eL(a,s,t),o=eL(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 eU=(t,e)=&gt;{let i=eI(t),s=eI(e);if(!i||!s)return ej(t,e);let n={...i};return t=&gt;(n.red=eF(i.red,s.red,t),n.green=eF(i.green,s.green,t),n.blue=eF(i.blue,s.blue,t),n.alpha=eR(i.alpha,s.alpha,t),en.transform(n))},e$=(t,e)=&gt;i=&gt;e(t(i)),eN=(...t)=&gt;t.reduce(e$),eW=new Set(["none","hidden"]);function ez(t,e){return i=&gt;eR(t,e,i)}function eY(t){return"number"==typeof t?ez:"string"==typeof t?tk(t)?ej:ea.test(t)?eU:eK:Array.isArray(t)?eH:"object"==typeof t?ea.test(t)?eU:eX:ej}function eH(t,e){let i=[...t],s=i.length,n=t.map((t,i)=&gt;eY(t)(t,e[i]));return t=&gt;{for(let e=0;e&lt;s;e++)i[e]=n[e](t);return i}}function eX(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]=eY(t[n])(t[n],e[n]));return t=&gt;{for(let e in s)i[e]=s[e](t);return i}}let eK=(t,e)=&gt;{let i=ev.createTransformer(e),s=ec(t),n=ec(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?eW.has(t)&amp;&amp;!n.values.length||eW.has(e)&amp;&amp;!s.values.length?function(t,e){return eW.has(t)?i=&gt;i&lt;=0?t:e:i=&gt;i&gt;=1?e:t}(t,e):eN(eH(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,tV.$)(!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.`),ej(t,e))};function eq(t,e,i){return"number"==typeof t&amp;&amp;"number"==typeof e&amp;&amp;"number"==typeof i?eR(t,e,i):eY(t)(t,e)}function eG(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}let e_={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function eZ(t,e){return t*Math.sqrt(1-e*e)}let eQ=["duration","bounce"],eJ=["stiffness","damping","mass"];function e0(t,e){return e.some(e=&gt;void 0!==t[e])}function e1(t=e_.visualDuration,e=e_.bounce){let i;let s="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:r}=s,o=s.keyframes[0],a=s.keyframes[s.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:d,duration:c,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:e_.velocity,stiffness:e_.stiffness,damping:e_.damping,mass:e_.mass,isResolvedFromDuration:!1,...t};if(!e0(t,eJ)&amp;&amp;e0(t,eQ)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,n=2*tj(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:e_.mass,stiffness:s,damping:n}}else{let i=function({duration:t=e_.duration,bounce:e=e_.bounce,velocity:i=e_.velocity,mass:s=e_.mass}){let n,r;(0,tV.$)(t&lt;=I(e_.maxDuration),"Spring duration must be 10 seconds or less");let o=1-e;o=tj(e_.minDamping,e_.maxDamping,o),t=tj(e_.minDuration,e_.maxDuration,U(t)),o&lt;1?(n=e=&gt;{let s=e*o,n=s*t;return .001-(s-i)/eZ(e,o)*Math.exp(-n)},r=e=&gt;{let s=e*o*t,r=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-s),l=eZ(Math.pow(e,2),o);return(s*i+i-r)*a*(-n(e)+.001&gt;0?-1:1)/l}):(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=I(t),isNaN(a))return{stiffness:e_.stiffness,damping:e_.damping,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:e_.mass}).isResolvedFromDuration=!0}}return e}({...s,velocity:-U(s.velocity||0)}),f=p||0,v=h/(2*Math.sqrt(u*d)),y=a-o,x=U(Math.sqrt(u/d)),w=5&gt;Math.abs(y);if(n||(n=w?e_.restSpeed.granular:e_.restSpeed.default),r||(r=w?e_.restDelta.granular:e_.restDelta.default),v&lt;1){let t=eZ(x,v);i=e=&gt;a-Math.exp(-v*x*e)*((f+v*x*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===v)i=t=&gt;a-Math.exp(-x*t)*(y+(f+x*y)*t);else{let t=x*Math.sqrt(v*v-1);i=e=&gt;{let i=Math.exp(-v*x*e),s=Math.min(t*e,300);return a-i*((f+v*x*y)*Math.sinh(s)+t*y*Math.cosh(s))/t}}let P={calculatedDuration:m&amp;&amp;c||null,next:t=&gt;{let e=i(t);if(m)l.done=t&gt;=c;else{let s=0;v&lt;1&amp;&amp;(s=0===t?I(f):eG(i,t,e));let o=Math.abs(s)&lt;=n,u=Math.abs(a-e)&lt;=r;l.done=o&amp;&amp;u}return l.value=l.done?a:e,l},toString:()=&gt;{let t=Math.min(g(P),2e4),e=S(e=&gt;P.next(t*e).value,t,30);return t+"ms "+e}};return P}function e5({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){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 w=t=&gt;-g*Math.exp(-t/s),P=t=&gt;x+w(t),T=t=&gt;{let e=w(t),i=P(t);m.done=Math.abs(e)&lt;=u,m.value=m.done?x:i},b=t=&gt;{f(m.value)&amp;&amp;(d=t,c=e1({keyframes:[m.value,v(m.value)],velocity:eG(P,t,m.value),damping:n,stiffness:r,restDelta:u,restSpeed:h}))};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 e2=tf(.42,0,1,1),e3=tf(0,0,.58,1),e9=tf(.42,0,.58,1),e4=t=&gt;Array.isArray(t)&amp;&amp;"number"!=typeof t[0],e6={linear:W.l,easeIn:e2,easeInOut:e9,easeOut:e3,circIn:tT,circInOut:tS,circOut:tb,backIn:tx,backInOut:tw,backOut:ty,anticipate:tP},e7=t=&gt;{if(w(t)){(0,tV.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,s,n]=t;return tf(e,i,s,n)}return"string"==typeof t?((0,tV.V)(void 0!==e6[t],`Invalid easing type '${t}'`),e6[t]):t};function e8({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){let n=e4(s)?s.map(e7):e7(s),r={done:!1,value:e[0]},o=function(t,e,{clamp:i=!0,ease:s,mixer:n}={}){let r=t.length;if((0,tV.V)(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||eq,r=t.length-1;for(let i=0;i&lt;r;i++){let r=n(t[i],t[i+1]);e&amp;&amp;(r=eN(Array.isArray(e)?e[i]||W.l: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=b(t[i],t[i+1],e);return o[i](s)};return i?e=&gt;l(tj(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=b(0,e,s);t.push(eR(i,1,n))}}(e,t.length-1),e}(e)).map(e=&gt;e*t),e,{ease:Array.isArray(n)?n:e.map(()=&gt;n||e9).splice(0,e.length-1)});return{calculatedDuration:t,next:e=&gt;(r.value=o(e),r.done=e&gt;=t,r)}}let it=t=&gt;{let e=({timestamp:e})=&gt;t(e);return{start:()=&gt;_.update(e,!0),stop:()=&gt;Z(e),now:()=&gt;Q.isProcessing?Q.timestamp:te.now()}},ie={decay:e5,inertia:e5,tween:e8,keyframes:e8,spring:e1},ii=t=&gt;t/100;class is extends ek{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,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:e,motionValue:i,element:s,keyframes:n}=this.options,r=(null==s?void 0:s.KeyframeResolver)||t4;this.resolver=new r(n,(t,e)=&gt;this.onKeyframesResolved(t,e),e,i,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&amp;&amp;Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i;let{type:s="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=this.options,l=y(s)?s:ie[s]||e8;l!==e8&amp;&amp;"number"!=typeof t[0]&amp;&amp;(e=eN(ii,eq(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&amp;&amp;(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&amp;&amp;(u.calculatedDuration=g(u));let{calculatedDuration:h}=u,d=h+r;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,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:u,resolvedDuration:h}=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-u/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;u;this.currentTime=Math.max(v,0),"finished"===this.state&amp;&amp;null===this.holdTime&amp;&amp;(this.currentTime=u);let y=this.currentTime,x=n;if(c){let t=Math.min(this.currentTime,u)/h,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/h)):"mirror"===p&amp;&amp;(x=r)),y=tj(0,1,i)*h}let w=g?{done:!1,value:a[0]}:x.next(y);o&amp;&amp;(w.value=o(w.value));let{done:P}=w;g||null===l||(P=this.speed&gt;=0?this.currentTime&gt;=u:this.currentTime&lt;=0);let T=null===this.holdTime&amp;&amp;("finished"===this.state||"running"===this.state&amp;&amp;P);return T&amp;&amp;void 0!==s&amp;&amp;(w.value=eC(a,this.options,s)),f&amp;&amp;f(w.value),T&amp;&amp;this.finish(),w}get duration(){let{resolved:t}=this;return t?U(t.calculatedDuration):0}get time(){return U(this.currentTime)}set time(t){t=I(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=U(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=it,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=&gt;this.tick(t))),e&amp;&amp;e();let s=this.driver.now();null!==this.holdTime?this.startTime=s-this.holdTime:this.startTime?"finished"===this.state&amp;&amp;(this.startTime=s):this.startTime=null!=i?i:this.calcStartTime(),"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 ir=new Set(["opacity","clipPath","filter","transform"]),io=c(()=&gt;Object.hasOwnProperty.call(Element.prototype,"animate")),ia={anticipate:tP,backInOut:tw,circInOut:tS};class il extends ek{constructor(t){super(t);let{name:e,motionValue:i,element:s,keyframes:n}=this.options;this.resolver=new eE(n,(t,e)=&gt;this.onKeyframesResolved(t,e),e,i,s),this.resolver.scheduleResolve()}initPlayback(t,e){var i,s;let{duration:n=300,times:r,ease:o,type:a,motionValue:l,name:u,startTime:h}=this.options;if(!(null===(i=l.owner)||void 0===i?void 0:i.current))return!1;if("string"==typeof o&amp;&amp;T()&amp;&amp;o in ia&amp;&amp;(o=ia[o]),y((s=this.options).type)||"spring"===s.type||!function t(e){return!!("function"==typeof e&amp;&amp;T()||!e||"string"==typeof e&amp;&amp;(e in V||T())||w(e)||Array.isArray(e)&amp;&amp;e.every(t))}(s.ease)){let{onComplete:e,onUpdate:i,motionValue:s,element:l,...u}=this.options,h=function(t,e){let i=new is({...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,u);1===(t=h.keyframes).length&amp;&amp;(t[1]=t[0]),n=h.duration,r=h.times,o=h.ease,a="keyframes"}let d=function(t,e,i,{delay:s=0,duration:n=300,repeat:r=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&amp;&amp;(u.offset=l);let h=function t(e,i){if(e)return"function"==typeof e&amp;&amp;T()?S(e,i):w(e)?A(e):Array.isArray(e)?e.map(e=&gt;t(e,i)||V.easeOut):V[e]}(a,n);return Array.isArray(h)&amp;&amp;(u.easing=h),t.animate(u,{delay:s,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:n,times:r,ease:o});return d.startTime=null!=h?h:this.calcStartTime(),this.pendingTimeline?(x(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=&gt;{let{onComplete:i}=this.options;l.set(eC(t,this.options,e)),i&amp;&amp;i(),this.cancel(),this.resolveFinishedPromise()},{animation:d,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 U(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return U(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=I(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}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return W.l;let{animation:i}=e;x(i,t)}else this.pendingTimeline=t;return W.l}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,element:l,...u}=this.options,h=new is({...u,keyframes:i,duration:s,type:n,ease:r,times:o,isGenerator:!0}),d=I(this.time);t.setWithVelocity(h.sample(d-10).value,h.sample(d).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 io()&amp;&amp;i&amp;&amp;ir.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 iu={type:"spring",stiffness:500,damping:25,restSpeed:10},ih=t=&gt;({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),id={type:"keyframes",duration:.8},ic={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ip=(t,{keyframes:e})=&gt;e.length&gt;2?id:Y.has(t)?t.startsWith("scale")?ih(e[1]):iu:ic,im=(t,e,i,s={},n,r)=&gt;o=&gt;{let a=v(s,t)||{},l=a.delay||s.delay||0,{elapsed:u=0}=s;u-=I(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=&gt;{e.set(t),a.onUpdate&amp;&amp;a.onUpdate(t)},onComplete:()=&gt;{o(),a.onComplete&amp;&amp;a.onComplete()},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:u,...h}){return!!Object.keys(h).length}(a)&amp;&amp;(h={...h,...ip(t,h)}),h.duration&amp;&amp;(h.duration=I(h.duration)),h.repeatDelay&amp;&amp;(h.repeatDelay=I(h.repeatDelay)),void 0!==h.from&amp;&amp;(h.keyframes[0]=h.from);let d=!1;if(!1!==h.type&amp;&amp;(0!==h.duration||h.repeatDelay)||(h.duration=0,0!==h.delay||(d=!0)),(tp.current||K.skipAnimations)&amp;&amp;(d=!0,h.duration=0,h.delay=0),d&amp;&amp;!r&amp;&amp;void 0!==e.get()){let t=eC(h.keyframes,a);if(void 0!==t)return _.update(()=&gt;{h.onUpdate(t),h.onComplete()}),new f([])}return!r&amp;&amp;il.supports(h)?new il(h):new is(h)};function iv(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=[],d=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||d&amp;&amp;function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&amp;&amp;!0!==e[i];return e[i]=!1,s}(d,e))continue;let a={delay:i,...v(o||{},e)},u=!1;if(window.MotionHandoffAnimation){let i=t.props[tc];if(i){let t=window.MotionHandoffAnimation(i,e,_);null!==t&amp;&amp;(a.startTime=t,u=!0)}}th(t,e),s.start(im(e,s,n,t.shouldReduceMotion&amp;&amp;Y.has(e)?{type:!1}:a,t,u));let c=s.animation;c&amp;&amp;h.push(c)}return a&amp;&amp;Promise.all(h).then(()=&gt;{_.update(()=&gt;{a&amp;&amp;function(t,e){let{transitionEnd:i={},transition:s={},...n}=u(t,e)||{};for(let e in n={...n,...i}){let i=X(n[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,tl(i))}}(t,a)})}),h}function ig(t,e,i={}){var s;let n=u(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(iv(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(iy).forEach((t,s)=&gt;{t.notify("AnimationStart",e),o.push(ig(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 iy(t,e){return t.sortNodePosition(e)}let ix=d.length,iw=[...h].reverse(),iP=h.length;function iT(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ib(){return{animate:iT(!0),whileInView:iT(),whileHover:iT(),whileTap:iT(),whileDrag:iT(),whileFocus:iT(),exit:iT()}}class iS{constructor(t){this.isMounted=!1,this.node=t}update(){}}class iA extends iS{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;ig(t,e,i)));else if("string"==typeof e)s=ig(t,e,i);else{let n="function"==typeof e?u(t,e,i.custom):e;s=Promise.all(iv(t,n,i))}return s.then(()=&gt;{t.notify("AnimationComplete",e)})})(t,e,i))),i=ib(),s=!0,l=e=&gt;(i,s)=&gt;{var n;let r=u(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 h(u){let{props:h}=t,c=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&amp;&amp;t(e.parent)||{};return void 0!==e.props.initial&amp;&amp;(i.initial=e.props.initial),i}let i={};for(let t=0;t&lt;ix;t++){let s=d[t],n=e.props[s];(a(n)||!1===n)&amp;&amp;(i[s]=n)}return i}(t.parent)||{},p=[],m=new Set,f={},v=1/0;for(let e=0;e&lt;iP;e++){var g;let d=iw[e],y=i[d],x=void 0!==h[d]?h[d]:c[d],w=a(x),P=d===u?y.isActive:null;!1===P&amp;&amp;(v=e);let T=x===c[d]&amp;&amp;x!==h[d]&amp;&amp;w;if(T&amp;&amp;s&amp;&amp;t.manuallyAnimateOnMount&amp;&amp;(T=!1),y.protectedKeys={...f},!y.isActive&amp;&amp;null===P||!x&amp;&amp;!y.prevProp||n(x)||"boolean"==typeof x)continue;let b=(g=y.prevProp,"string"==typeof x?x!==g:!!Array.isArray(x)&amp;&amp;!o(x,g)),S=b||d===u&amp;&amp;y.isActive&amp;&amp;!T&amp;&amp;w||e&gt;v&amp;&amp;w,A=!1,V=Array.isArray(x)?x:[x],E=V.reduce(l(d),{});!1===P&amp;&amp;(E={});let{prevResolvedValues:M={}}=y,D={...M,...E},C=e=&gt;{S=!0,m.has(e)&amp;&amp;(A=!0,m.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&amp;&amp;(i.liveStyle=!1)};for(let t in D){let e=E[t],i=M[t];if(!f.hasOwnProperty(t))(r(e)&amp;&amp;r(i)?o(e,i):e===i)?void 0!==e&amp;&amp;m.has(t)?C(t):y.protectedKeys[t]=!0:null!=e?C(t):m.add(t)}y.prevProp=x,y.prevResolvedValues=E,y.isActive&amp;&amp;(f={...f,...E}),s&amp;&amp;t.blockInitialAnimation&amp;&amp;(S=!1);let k=!(T&amp;&amp;b)||A;S&amp;&amp;k&amp;&amp;p.push(...V.map(t=&gt;({animation:t,options:{type:d}})))}if(m.size){let e={};m.forEach(i=&gt;{let s=t.getBaseTarget(i),n=t.getValue(i);n&amp;&amp;(n.liveStyle=!0),e[i]=null!=s?s:null}),p.push({animation:e})}let y=!!p.length;return s&amp;&amp;(!1===h.initial||h.initial===h.animate)&amp;&amp;!t.manuallyAnimateOnMount&amp;&amp;(y=!1),s=!1,y?e(p):Promise.resolve()}return{animateChanges:h,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 r=h(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=&gt;i,reset:()=&gt;{i=ib(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();n(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 iV=0;class iE extends iS{constructor(){super(...arguments),this.id=iV++}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(){}}function iM(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=&gt;t.removeEventListener(e,i)}function iD(t){return{point:{x:t.pageX,y:t.pageY}}}let iC=t=&gt;e=&gt;C(e)&amp;&amp;t(e,iD(e));function ik(t,e,i,s){return iM(t,e,iC(i),s)}let iR=(t,e)=&gt;Math.abs(t-e);class iL{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;{if(!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;let t=iB(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(iR(t.x,e.x)**2+iR(t.y,e.y)**2)}(t.offset,{x:0,y:0})&gt;=3;if(!e&amp;&amp;!i)return;let{point:s}=t,{timestamp:n}=Q;this.history.push({...s,timestamp:n});let{onStart:r,onMove:o}=this.handlers;e||(r&amp;&amp;r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&amp;&amp;o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=&gt;{this.lastMoveEvent=t,this.lastMoveEventInfo=ij(e,this.transformPagePoint),_.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=iB("pointercancel"===t.type?this.lastMoveEventInfo:ij(e,this.transformPagePoint),this.history);this.startEvent&amp;&amp;i&amp;&amp;i(t,r),s&amp;&amp;s(t,r)},!C(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;let r=ij(iD(t),this.transformPagePoint),{point:o}=r,{timestamp:a}=Q;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&amp;&amp;l(t,iB(r,this.history)),this.removeListeners=eN(ik(this.contextWindow,"pointermove",this.handlePointerMove),ik(this.contextWindow,"pointerup",this.handlePointerUp),ik(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&amp;&amp;this.removeListeners(),Z(this.updatePoint)}}function ij(t,e){return e?{point:e(t.point)}:t}function iF(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iB({point:t},e){return{point:t,delta:iF(t,iO(e)),offset:iF(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=iO(t);for(;i&gt;=0&amp;&amp;(s=t[i],!(n.timestamp-s.timestamp&gt;I(.1)));)i--;if(!s)return{x:0,y:0};let r=U(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 iO(t){return t[t.length-1]}function iI(t){return t&amp;&amp;"object"==typeof t&amp;&amp;Object.prototype.hasOwnProperty.call(t,"current")}function iU(t){return t.max-t.min}function i$(t,e,i,s=.5){t.origin=s,t.originPoint=eR(e.min,e.max,t.origin),t.scale=iU(i)/iU(e),t.translate=eR(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 iN(t,e,i,s){i$(t.x,e.x,i.x,s?s.originX:void 0),i$(t.y,e.y,i.y,s?s.originY:void 0)}function iW(t,e,i){t.min=i.min+e.min,t.max=t.min+iU(e)}function iz(t,e,i){t.min=e.min-i.min,t.max=t.min+iU(e)}function iY(t,e,i){iz(t.x,e.x,i.x),iz(t.y,e.y,i.y)}function iH(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 iX(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 iK(t,e,i){return{min:iq(t,e),max:iq(t,i)}}function iq(t,e){return"number"==typeof t?t:t[e]||0}let iG=()=&gt;({translate:0,scale:1,origin:0,originPoint:0}),i_=()=&gt;({x:iG(),y:iG()}),iZ=()=&gt;({min:0,max:0}),iQ=()=&gt;({x:iZ(),y:iZ()});function iJ(t){return[t("x"),t("y")]}function i0({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function i1(t){return void 0===t||1===t}function i5({scale:t,scaleX:e,scaleY:i}){return!i1(t)||!i1(e)||!i1(i)}function i2(t){return i5(t)||i3(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function i3(t){var e,i;return(e=t.x)&amp;&amp;"0%"!==e||(i=t.y)&amp;&amp;"0%"!==i}function i9(t,e,i,s,n){return void 0!==n&amp;&amp;(t=s+n*(t-s)),s+i*(t-s)+e}function i4(t,e=0,i=1,s,n){t.min=i9(t.min,e,i,s,n),t.max=i9(t.max,e,i,s,n)}function i6(t,{x:e,y:i}){i4(t.x,e.translate,e.scale,e.originPoint),i4(t.y,i.translate,i.scale,i.originPoint)}function i7(t,e){t.min=t.min+e,t.max=t.max+e}function i8(t,e,i,s,n=.5){let r=eR(t.min,t.max,n);i4(t,e,i,r,s)}function st(t,e){i8(t.x,e.x,e.scaleX,e.scale,e.originX),i8(t.y,e.y,e.scaleY,e.scale,e.originY)}function se(t,e){return i0(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 si=({current:t})=&gt;t?t.ownerDocument.defaultView:null,ss=new WeakMap;class sn{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iQ(),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 iL(t,{onSessionStart:t=&gt;{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&amp;&amp;this.snapToCursor(iD(t).point)},onStart:(t,e)=&gt;{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&amp;&amp;!s&amp;&amp;(this.openDragLock&amp;&amp;this.openDragLock(),this.openDragLock="x"===i||"y"===i?E[i]?null:(E[i]=!0,()=&gt;{E[i]=!1}):E.x||E.y?null:(E.x=E.y=!0,()=&gt;{E.x=E.y=!1}),!this.openDragLock))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),iJ(t=&gt;{let e=this.getAxisMotionValue(t).get()||0;if(t$.test(e)){let{projection:i}=this.visualElement;if(i&amp;&amp;i.layout){let s=i.layout.layoutBox[t];s&amp;&amp;(e=iU(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&amp;&amp;_.postRender(()=&gt;n(t,e)),th(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&amp;&amp;r.setActive("whileDrag",!0)},onMove:(t,e)=&gt;{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:r}=this.getProps();if(!i&amp;&amp;!this.openDragLock)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;iJ(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:si(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:s}=e;this.startAnimation(s);let{onDragEnd:n}=this.getProps();n&amp;&amp;_.postRender(()=&gt;n(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.openDragLock&amp;&amp;(this.openDragLock(),this.openDragLock=null),e&amp;&amp;e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!sr(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?eR(e,t,s.min):Math.max(t,e):void 0!==i&amp;&amp;t&gt;i&amp;&amp;(t=s?eR(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;iI(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:iH(t.x,i,n),y:iH(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:iK(t,"left","right"),y:iK(t,"top","bottom")}}(i),n!==this.constraints&amp;&amp;s&amp;&amp;this.constraints&amp;&amp;!this.hasMutatedConstraints&amp;&amp;iJ(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||!iI(e))return!1;let s=e.current;(0,tV.V)(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=se(t,i),{scroll:n}=e;return n&amp;&amp;(i7(s.x,n.offset.x),i7(s.y,n.offset.y)),s}(s,n.root,this.visualElement.getTransformPagePoint()),o={x:iX((t=n.layout.layoutBox).x,r.x),y:iX(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=i0(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(iJ(o=&gt;{if(!sr(o,e,this.currentDirection))return;let l=a&amp;&amp;a[o]||{};r&amp;&amp;(l={min:0,max:0});let u={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,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return th(this.visualElement,t),i.start(im(t,i,0,e,this.visualElement,!1))}stopAnimation(){iJ(t=&gt;this.getAxisMotionValue(t).stop())}pauseAnimation(){iJ(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){iJ(e=&gt;{let{drag:i}=this.getProps();if(!sr(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]-eR(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iI(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};iJ(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=iU(t),n=iU(e);return n&gt;s?i=b(e.min,e.max-s,t.min):s&gt;n&amp;&amp;(i=b(t.min,t.max-n,e.min)),tj(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(),iJ(e=&gt;{if(!sr(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:r}=this.constraints[e];i.set(eR(n,r,s[e]))})}addListeners(){if(!this.visualElement.current)return;ss.set(this.visualElement,this);let t=ik(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();iI(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()),_.read(e);let n=iM(window,"resize",()=&gt;this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=&gt;{this.isDragging&amp;&amp;e&amp;&amp;(iJ(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 sr(t,e,i){return(!0===e||e===t)&amp;&amp;(null===i||i===t)}class so extends iS{constructor(t){super(t),this.removeGroupControls=W.l,this.removeListeners=W.l,this.controls=new sn(t)}mount(){let{dragControls:t}=this.node.getProps();t&amp;&amp;(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||W.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let sa=t=&gt;(e,i)=&gt;{t&amp;&amp;_.postRender(()=&gt;t(e,i))};class sl extends iS{constructor(){super(...arguments),this.removePointerDownListener=W.l}onPointerDown(t){this.session=new iL(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:si(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:sa(t),onStart:sa(e),onMove:i,onEnd:(t,e)=&gt;{delete this.session,s&amp;&amp;_.postRender(()=&gt;s(t,e))}}}mount(){this.removePointerDownListener=ik(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()}}var su=i(95155),sh=i(12115),sd=i(39656),sc=i(64710);let sp=(0,sh.createContext)({}),sm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function sf(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let sv={correct:(t,e)=&gt;{if(!e.target)return t;if("string"==typeof t){if(!tN.test(t))return t;t=parseFloat(t)}let i=sf(t,e.target.x),s=sf(t,e.target.y);return`${i}% ${s}%`}},sg={},{schedule:sy,cancel:sx}=G(queueMicrotask,!1);class sw extends sh.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;Object.assign(sg,sT),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()})),sm.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()||_.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(),sy.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 sP(t){let[e,i]=function(){let t=(0,sh.useContext)(sd.t);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:s}=t,n=(0,sh.useId)();(0,sh.useEffect)(()=&gt;s(n),[]);let r=(0,sh.useCallback)(()=&gt;i&amp;&amp;i(n),[n,i]);return!e&amp;&amp;i?[!1,r]:[!0]}(),s=(0,sh.useContext)(sc.L);return(0,su.jsx)(sw,{...t,layoutGroup:s,switchLayoutGroup:(0,sh.useContext)(sp),isPresent:e,safeToRemove:i})}let sT={borderRadius:{...sv,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:sv,borderTopRightRadius:sv,borderBottomLeftRadius:sv,borderBottomRightRadius:sv,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=&gt;{let s=ev.parse(t);if(s.length&gt;5)return t;let n=ev.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=eR(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)}}},sb=(t,e)=&gt;t.depth-e.depth;class sS{constructor(){this.children=[],this.isDirty=!1}add(t){ti(this.children,t),this.isDirty=!0}remove(t){ts(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&amp;&amp;this.children.sort(sb),this.isDirty=!1,this.children.forEach(t)}}function sA(t){let e=tu(t)?t.get():t;return H(e)?e.toValue():e}let sV=["TopLeft","TopRight","BottomLeft","BottomRight"],sE=sV.length,sM=t=&gt;"string"==typeof t?parseFloat(t):t,sD=t=&gt;"number"==typeof t||tN.test(t);function sC(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let sk=sL(0,.5,tb),sR=sL(.5,.95,W.l);function sL(t,e,i){return s=&gt;s&lt;t?0:s&gt;e?1:i(b(t,e,s))}function sj(t,e){t.min=e.min,t.max=e.max}function sF(t,e){sj(t.x,e.x),sj(t.y,e.y)}function sB(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function sO(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 sI(t,e,[i,s,n],r,o){!function(t,e=0,i=1,s=.5,n,r=t,o=t){if(t$.test(e)&amp;&amp;(e=parseFloat(e),e=eR(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eR(r.min,r.max,s);t===r&amp;&amp;(a-=e),t.min=sO(t.min,e,i,a,n),t.max=sO(t.max,e,i,a,n)}(t,e[i],e[s],e[n],e.scale,r,o)}let sU=["x","scaleX","originX"],s$=["y","scaleY","originY"];function sN(t,e,i,s){sI(t.x,e,sU,i?i.x:void 0,s?s.x:void 0),sI(t.y,e,s$,i?i.y:void 0,s?s.y:void 0)}function sW(t){return 0===t.translate&amp;&amp;1===t.scale}function sz(t){return sW(t.x)&amp;&amp;sW(t.y)}function sY(t,e){return t.min===e.min&amp;&amp;t.max===e.max}function sH(t,e){return Math.round(t.min)===Math.round(e.min)&amp;&amp;Math.round(t.max)===Math.round(e.max)}function sX(t,e){return sH(t.x,e.x)&amp;&amp;sH(t.y,e.y)}function sK(t){return iU(t.x)/iU(t.y)}function sq(t,e){return t.translate===e.translate&amp;&amp;t.scale===e.scale&amp;&amp;t.originPoint===e.originPoint}class sG{constructor(){this.members=[]}add(t){ti(this.members,t),t.scheduleRender()}remove(t){if(ts(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 s_={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},sZ="undefined"!=typeof window&amp;&amp;void 0!==window.MotionDebug,sQ=["","X","Y","Z"],sJ={visibility:"hidden"},s0=0;function s1(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 s5({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:n}){return class{constructor(t={},i=null==e?void 0:e()){this.id=s0++,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,sZ&amp;&amp;(s_.totalNodes=s_.resolvedTargetDeltas=s_.recalculatedProjection=0),this.nodes.forEach(s9),this.nodes.forEach(ni),this.nodes.forEach(ns),this.nodes.forEach(s4),sZ&amp;&amp;window.MotionDebug.record(s_)},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 sS)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tn),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=te.now(),s=({timestamp:e})=&gt;{let n=e-i;n&gt;=250&amp;&amp;(Z(s),t(n-250))};return _.read(s,!0),()=&gt;Z(s)}(s,250),sm.hasAnimatedSinceResize&amp;&amp;(sm.hasAnimatedSinceResize=!1,this.nodes.forEach(ne))})}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()||nu,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!sX(this.targetLayout,s)||i,u=!e&amp;&amp;i;if(this.options.layoutRoot||this.resumeFrom&amp;&amp;this.resumeFrom.instance||u||e&amp;&amp;(l||!this.currentAnimation)){this.resumeFrom&amp;&amp;(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...v(n,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&amp;&amp;(e.delay=0,e.type=!1),this.startAnimation(e)}else e||ne(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,Z(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(nn),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.MotionCancelOptimisedAnimation&amp;&amp;!this.hasCheckedOptimisedAppear&amp;&amp;function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=i.props[tc];if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",_,!(t||i))}let{parent:n}=e;n&amp;&amp;!n.hasCheckedOptimisedAppear&amp;&amp;t(n)}(this),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(s7);return}this.isUpdating||this.nodes.forEach(s8),this.isUpdating=!1,this.nodes.forEach(nt),this.nodes.forEach(s2),this.nodes.forEach(s3),this.clearAllSnapshots();let t=te.now();Q.delta=tj(0,1e3/60,t-Q.timestamp),Q.timestamp=t,Q.isProcessing=!0,J.update.process(Q),J.preRender.process(Q),J.render.process(Q),Q.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,sy.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(s6),this.sharedNodes.forEach(nr)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,_.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){_.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=iQ(),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;!sz(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,r=s!==this.prevTransformTemplateValue;t&amp;&amp;(e||i2(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)),nc((e=s).x),nc(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 iQ();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(nm))){let{scroll:t}=this.root;t&amp;&amp;(i7(i.x,t.offset.x),i7(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=iQ();if(sF(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;sF(i,t),i7(i.x,n.offset.x),i7(i.y,n.offset.y))}return i}applyTransform(t,e=!1){let i=iQ();sF(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;st(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),i2(s.latestValues)&amp;&amp;st(i,s.latestValues)}return i2(this.latestValues)&amp;&amp;st(i,this.latestValues),i}removeTransform(t){let e=iQ();sF(e,t);for(let t=0;t&lt;this.path.length;t++){let i=this.path[t];if(!i.instance||!i2(i.latestValues))continue;i5(i.latestValues)&amp;&amp;i.updateSnapshot();let s=iQ();sF(s,i.measurePageBox()),sN(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return i2(this.latestValues)&amp;&amp;sN(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!==Q.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=Q.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=iQ(),this.relativeTargetOrigin=iQ(),iY(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),sF(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=iQ(),this.targetWithTransforms=iQ()),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,iW(i.x,s.x,n.x),iW(i.y,s.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):sF(this.target,this.layout.layoutBox),i6(this.target,this.targetDelta)):sF(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=iQ(),this.relativeTargetOrigin=iQ(),iY(this.relativeTargetOrigin,this.target,t.target),sF(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}sZ&amp;&amp;s_.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||i5(this.parent.latestValues)||i3(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===Q.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;sF(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;st(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),r&amp;&amp;(e.x*=r.x.scale,e.y*=r.y.scale,i6(t,r)),s&amp;&amp;i2(n.latestValues)&amp;&amp;st(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=iQ());let{target:l}=e;if(!l){this.prevProjectionDelta&amp;&amp;(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&amp;&amp;this.prevProjectionDelta?(sB(this.prevProjectionDelta.x,this.projectionDelta.x),sB(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iN(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&amp;&amp;this.treeScale.y===a&amp;&amp;sq(this.projectionDelta.x,this.prevProjectionDelta.x)&amp;&amp;sq(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),sZ&amp;&amp;s_.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=i_(),this.projectionDelta=i_(),this.projectionDeltaWithTransform=i_()}setAnimationOrigin(t,e=!1){let i;let s=this.snapshot,n=s?s.latestValues:{},r={...this.latestValues},o=i_();this.relativeParent&amp;&amp;this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=iQ(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length&lt;=1,d=!!(l&amp;&amp;!h&amp;&amp;!0===this.options.crossfade&amp;&amp;!this.path.some(nl));this.animationProgress=0,this.mixTargetDelta=e=&gt;{let s=e/1e3;if(no(o.x,t.x,s),no(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 u,c,p,m;iY(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,na(p.x,m.x,a.x,s),na(p.y,m.y,a.y,s),i&amp;&amp;(u=this.relativeTarget,c=i,sY(u.x,c.x)&amp;&amp;sY(u.y,c.y))&amp;&amp;(this.isProjectionDirty=!1),i||(i=iQ()),sF(i,this.relativeTarget)}l&amp;&amp;(this.animationValues=r,function(t,e,i,s,n,r){n?(t.opacity=eR(0,void 0!==i.opacity?i.opacity:1,sk(s)),t.opacityExit=eR(void 0!==e.opacity?e.opacity:1,0,sR(s))):r&amp;&amp;(t.opacity=eR(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let n=0;n&lt;sE;n++){let r=`border${sV[n]}Radius`,o=sC(e,r),a=sC(i,r);(void 0!==o||void 0!==a)&amp;&amp;(o||(o=0),a||(a=0),0===o||0===a||sD(o)===sD(a)?(t[r]=Math.max(eR(sM(o),sM(a),s),0),(t$.test(a)||t$.test(o))&amp;&amp;(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&amp;&amp;(t.rotate=eR(e.rotate||0,i.rotate||0,s))}(r,n,this.latestValues,s,d,h)),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;(Z(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=_.update(()=&gt;{sm.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let s=tu(0)?0:tl(0);return s.start(im("",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;np(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||iQ();let e=iU(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=iU(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}sF(e,i),st(e,n),iN(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new sG),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;s1("z",t,s,this.animationValues);for(let e=0;e&lt;sQ.length;e++)s1(`rotate${sQ[e]}`,t,s,this.animationValues),s1(`skew${sQ[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 sJ;let s={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=sA(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=sA(null==t?void 0:t.pointerEvents)||""),this.hasProjected&amp;&amp;!i2(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,sg){if(void 0===o[t])continue;let{correct:e,applyTo:i}=sg[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?sA(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(s7),this.root.sharedNodes.clear()}}}function s2(t){t.updateLayout()}function s3(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?iJ(t=&gt;{let s=r?i.measuredBox[t]:i.layoutBox[t],n=iU(s);s.min=e[t].min,s.max=s.min+n}):np(n,i.layoutBox,e)&amp;&amp;iJ(s=&gt;{let n=r?i.measuredBox[s]:i.layoutBox[s],o=iU(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=i_();iN(o,e,i.layoutBox);let a=i_();r?iN(a,t.applyTransform(s,!0),i.measuredBox):iN(a,e,i.layoutBox);let l=!sz(o),u=!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=iQ();iY(o,i.layoutBox,n.layoutBox);let a=iQ();iY(a,e,r.layoutBox),sX(o,a)||(u=!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:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&amp;&amp;e()}t.options.transition=void 0}function s9(t){sZ&amp;&amp;s_.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 s4(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function s6(t){t.clearSnapshot()}function s7(t){t.clearMeasurements()}function s8(t){t.isLayoutDirty=!1}function nt(t){let{visualElement:e}=t.options;e&amp;&amp;e.getProps().onBeforeLayoutMeasure&amp;&amp;e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ne(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ni(t){t.resolveTargetDelta()}function ns(t){t.calcProjection()}function nn(t){t.resetSkewAndRotation()}function nr(t){t.removeLeadSnapshot()}function no(t,e,i){t.translate=eR(e.translate,0,i),t.scale=eR(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function na(t,e,i,s){t.min=eR(e.min,i.min,s),t.max=eR(e.max,i.max,s)}function nl(t){return t.animationValues&amp;&amp;void 0!==t.animationValues.opacityExit}let nu={duration:.45,ease:[.4,0,.1,1]},nh=t=&gt;"undefined"!=typeof navigator&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().includes(t),nd=nh("applewebkit/")&amp;&amp;!nh("chrome/")?Math.round:W.l;function nc(t){t.min=nd(t.min),t.max=nd(t.max)}function np(t,e,i){return"position"===t||"preserve-aspect"===t&amp;&amp;!(.2&gt;=Math.abs(sK(e)-sK(i)))}function nm(t){var e;return t!==t.root&amp;&amp;(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let nf=s5({attachResizeListener:(t,e)=&gt;iM(t,"resize",e),measureScroll:()=&gt;({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=&gt;!0}),nv={current:void 0},ng=s5({measureScroll:t=&gt;({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=&gt;{if(!nv.current){let t=new nf({});t.mount(window),t.setOptions({layoutScroll:!0}),nv.current=t}return nv.current},resetTransform:(t,e)=&gt;{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=&gt;"fixed"===window.getComputedStyle(t).position});function ny(t,e,i){let{props:s}=t;t.animationState&amp;&amp;s.whileHover&amp;&amp;t.animationState.setActive("whileHover","Start"===i);let n=s["onHover"+i];n&amp;&amp;_.postRender(()=&gt;n(e,iD(e)))}class nx extends iS{mount(){let{current:t}=this.node;t&amp;&amp;(this.unmount=function(t,e,i={}){let[s,n,r]=M(t,i),o=D(t=&gt;{let{target:i}=t,s=e(t);if(!s||!i)return;let r=D(t=&gt;{s(t),i.removeEventListener("pointerleave",r)});i.addEventListener("pointerleave",r,n)});return s.forEach(t=&gt;{t.addEventListener("pointerenter",o,n)}),r}(t,t=&gt;(ny(this.node,t,"Start"),t=&gt;ny(this.node,t,"End"))))}unmount(){}}class nw extends iS{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=eN(iM(this.node.current,"focus",()=&gt;this.onFocus()),iM(this.node.current,"blur",()=&gt;this.onBlur()))}unmount(){}}function nP(t,e,i){let{props:s}=t;t.animationState&amp;&amp;s.whileTap&amp;&amp;t.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&amp;&amp;_.postRender(()=&gt;n(e,iD(e)))}class nT extends iS{mount(){let{current:t}=this.node;t&amp;&amp;(this.unmount=function(t,e,i={}){let[s,n,r]=M(t,i),o=t=&gt;{let s=t.currentTarget;if(!O(t)||k.has(s))return;k.add(s);let r=e(t),o=(t,e)=&gt;{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),O(t)&amp;&amp;k.has(s)&amp;&amp;(k.delete(s),r&amp;&amp;r(t,{success:e}))},a=t=&gt;{o(t,i.useGlobalTarget||B(s,t.target))},l=t=&gt;{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return s.forEach(t=&gt;{F.has(t.tagName)||-1!==t.tabIndex||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),t.addEventListener("focus",t=&gt;j(t,n),n)}),r}(t,t=&gt;(nP(this.node,t,"Start"),(t,{success:e})=&gt;nP(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let nb=new WeakMap,nS=new WeakMap,nA=t=&gt;{let e=nb.get(t.target);e&amp;&amp;e(t)},nV=t=&gt;{t.forEach(nA)},nE={some:0,all:1};class nM extends iS{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:nE[s]};return function(t,e,i){let s=function({root:t,...e}){let i=t||document;nS.has(i)||nS.set(i,{});let s=nS.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(nV,{root:t,...e})),s[n]}(e);return nb.set(t,i),s.observe(t),()=&gt;{nb.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(){}}var nD=i(27249);let nC=(0,sh.createContext)({});var nk=i(35403);let nR=(0,sh.createContext)({strict:!1});function nL(t){return n(t.animate)||d.some(e=&gt;a(t[e]))}function nj(t){return!!(nL(t)||t.variants)}function nF(t){return Array.isArray(t)?t.join(" "):t}let nB={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"]},nO={};for(let t in nB)nO[t]={isEnabled:e=&gt;nB[t].some(t=&gt;!!e[t])};var nI=i(15687);let nU=Symbol.for("motionComponentSymbol"),n$=["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 nN(t){if("string"!=typeof t||t.includes("-"));else if(n$.indexOf(t)&gt;-1||/[A-Z]/u.test(t))return!0;return!1}function nW(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 nz=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 nY(t,e,i,s){for(let i in nW(t,e,void 0,s),e.attrs)t.setAttribute(nz.has(i)?i:td(i),e.attrs[i])}function nH(t,{layout:e,layoutId:i}){return Y.has(t)||t.startsWith("origin")||(e||void 0!==i)&amp;&amp;(!!sg[t]||"opacity"===t)}function nX(t,e,i){var s;let{style:n}=t,r={};for(let o in n)(tu(n[o])||e.style&amp;&amp;tu(e.style[o])||nH(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 r}function nK(t,e,i){let s=nX(t,e,i);for(let i in t)(tu(t[i])||tu(e[i]))&amp;&amp;(s[-1!==z.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}var nq=i(99234);let nG=t=&gt;(e,i)=&gt;{let s=(0,sh.useContext)(nC),r=(0,sh.useContext)(sd.t),o=()=&gt;(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i},s,r,o){let a={latestValues:function(t,e,i,s){let r={},o=s(t,{});for(let t in o)r[t]=sA(o[t]);let{initial:a,animate:u}=t,h=nL(t),d=nj(t);e&amp;&amp;d&amp;&amp;!h&amp;&amp;!1!==t.inherit&amp;&amp;(void 0===a&amp;&amp;(a=e.initial),void 0===u&amp;&amp;(u=e.animate));let c=!!i&amp;&amp;!1===i.initial,p=(c=c||!1===a)?u:a;if(p&amp;&amp;"boolean"!=typeof p&amp;&amp;!n(p)){let e=Array.isArray(p)?p:[p];for(let i=0;i&lt;e.length;i++){let s=l(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&amp;&amp;(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(s,r,o,t),renderState:e()};return i&amp;&amp;(a.mount=t=&gt;i(s,t,a)),a})(t,e,s,r);return i?o():(0,nq.M)(o)},n_=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{}}),nZ=()=&gt;({...n_(),attrs:{}}),nQ=(t,e)=&gt;e&amp;&amp;"number"==typeof t?e.transform(t):t,nJ={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},n0=z.length;function n1(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(Y.has(t)){o=!0;continue}if(tD(t)){n[t]=i;continue}{let e=nQ(i,eT[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;n0;r++){let o=z[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=nQ(a,eT[o]);if(!l){n=!1;let e=nJ[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}`}}function n5(t,e,i){return"string"==typeof t?t:tN.transform(e+i*t)}let n2={offset:"stroke-dashoffset",array:"stroke-dasharray"},n3={offset:"strokeDashoffset",array:"strokeDasharray"};function n9(t,{attrX:e,attrY:i,attrScale:s,originX:n,originY:r,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,d){if(n1(t,u,d),h){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=n5(e,t.x,t.width),n=n5(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?n2:n3;t[r.offset]=tN.transform(-s);let o=tN.transform(e),a=tN.transform(i);t[r.array]=`${o} ${a}`}(c,o,a,l,!1)}let n4=t=&gt;"string"==typeof t&amp;&amp;"svg"===t.toLowerCase(),n6={useVisualState:nG({scrapeMotionValuesFromProps:nK,createRenderState:nZ,onMount:(t,e,{renderState:i,latestValues:s})=&gt;{_.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}}}),_.render(()=&gt;{n9(i,s,n4(e.tagName),t.transformTemplate),nY(e,i)})}})},n7={useVisualState:nG({scrapeMotionValuesFromProps:nX,createRenderState:n_})};function n8(t,e,i){for(let s in e)tu(e[s])||nH(s,i)||(t[s]=e[s])}let rt=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 re(t){return t.startsWith("while")||t.startsWith("drag")&amp;&amp;"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||rt.has(t)}let ri=t=&gt;!re(t);try{!function(t){t&amp;&amp;(ri=e=&gt;e.startsWith("on")?!re(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}let rs={current:null},rn={current:!1},rr=new WeakMap,ro=[...tJ,ea,ev],ra=t=&gt;ro.find(tQ(t)),rl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ru{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:n,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=t4,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=&gt;this.notify("Update",this.latestValues),this.render=()=&gt;{this.current&amp;&amp;(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=&gt;{let t=te.now();this.renderScheduledAt&lt;t&amp;&amp;(this.renderScheduledAt=t,_.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=nL(e),this.isVariantNode=nj(e),this.isVariantNode&amp;&amp;(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&amp;&amp;t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==a[t]&amp;&amp;tu(e)&amp;&amp;e.set(a[t],!1)}}mount(t){this.current=t,rr.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)),rn.current||function(){if(rn.current=!0,nI.B){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=&gt;rs.current=t.matches;t.addListener(e),e()}else rs.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&amp;&amp;("always"===this.reducedMotionConfig||rs.current),this.parent&amp;&amp;this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in rr.delete(this.current),this.projection&amp;&amp;this.projection.unmount(),Z(this.notifyUpdate),Z(this.render),this.valueSubscriptions.forEach(t=&gt;t()),this.valueSubscriptions.clear(),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;this.valueSubscriptions.has(t)&amp;&amp;this.valueSubscriptions.get(t)();let s=Y.has(t),n=e.on("change",e=&gt;{this.latestValues[t]=e,this.props.onUpdate&amp;&amp;_.preRender(this.notifyUpdate),s&amp;&amp;this.projection&amp;&amp;(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&amp;&amp;(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=&gt;{n(),r(),i&amp;&amp;i(),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 nO){let e=nO[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):iQ()}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;rl.length;e++){let i=rl[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(tu(n))t.addValue(s,n);else if(tu(r))t.addValue(s,tl(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,tl(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}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=tl(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;(tE(s)||tA(s))?s=parseFloat(s):!ra(s)&amp;&amp;ev.test(e)&amp;&amp;(s=eA(t,e)),this.setBaseTarget(t,tu(s)?s.get():s)),tu(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=l(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||tu(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 tn),this.events[t].add(e)}notify(t,...e){this.events[t]&amp;&amp;this.events[t].notify(...e)}}class rh extends ru{constructor(){super(...arguments),this.KeyframeResolver=eE}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]}handleChildMotionValue(){this.childSubscription&amp;&amp;(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;tu(t)&amp;&amp;(this.childSubscription=t.on("change",t=&gt;{this.current&amp;&amp;(this.current.textContent=`${t}`)}))}}class rd extends rh{constructor(){super(...arguments),this.type="html",this.renderInstance=nW}readValueFromInstance(t,e){if(Y.has(e)){let t=eS(e);return t&amp;&amp;t.default||0}{let i=window.getComputedStyle(t),s=(tD(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return se(t,e)}build(t,e,i){n1(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return nX(t,e,i)}}class rc extends rh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iQ}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(Y.has(e)){let t=eS(e);return t&amp;&amp;t.default||0}return e=nz.has(e)?e:td(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return nK(t,e,i)}build(t,e,i){n9(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,s){nY(t,e,i,s)}mount(t){this.isSVGTag=n4(t.tagName),super.mount(t)}}let rp=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=&gt;t(...e),{get:(i,s)=&gt;"create"===s?t:(e.has(s)||e.set(s,t(s)),e.get(s))})}(($={animation:{Feature:iA},exit:{Feature:iE},inView:{Feature:nM},tap:{Feature:nT},focus:{Feature:nw},hover:{Feature:nx},pan:{Feature:sl},drag:{Feature:so,ProjectionNode:ng,MeasureLayout:sP},layout:{ProjectionNode:ng,MeasureLayout:sP}},N=(t,e)=&gt;nN(t)?new rc(e):new rd(e,{allowProjection:t!==sh.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){let{preloadedFeatures:e,createVisualElement:i,useRender:s,useVisualState:n,Component:r}=t;e&amp;&amp;function(t){for(let e in t)nO[e]={...nO[e],...t[e]}}(e);let o=(0,sh.forwardRef)(function(t,e){var o;let l;let u={...(0,sh.useContext)(nD.Q),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,sh.useContext)(sc.L).id;return i&amp;&amp;void 0!==e?i+"-"+e:e}(t)},{isStatic:h}=u,d=function(t){let{initial:e,animate:i}=function(t,e){if(nL(t)){let{initial:e,animate:i}=t;return{initial:!1===e||a(e)?e:void 0,animate:a(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,sh.useContext)(nC));return(0,sh.useMemo)(()=&gt;({initial:e,animate:i}),[nF(e),nF(i)])}(t),c=n(t,h);if(!h&amp;&amp;nI.B){(0,sh.useContext)(nR).strict;let t=function(t){let{drag:e,layout:i}=nO;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}}(u);l=t.MeasureLayout,d.visualElement=function(t,e,i,s,n){var r,o;let{visualElement:a}=(0,sh.useContext)(nC),l=(0,sh.useContext)(nR),u=(0,sh.useContext)(sd.t),h=(0,sh.useContext)(nD.Q).reducedMotion,d=(0,sh.useRef)(null);s=s||l.renderer,!d.current&amp;&amp;s&amp;&amp;(d.current=s(t,{visualState:e,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&amp;&amp;!1===u.initial,reducedMotionConfig:h}));let c=d.current,p=(0,sh.useContext)(sp);c&amp;&amp;!c.projection&amp;&amp;n&amp;&amp;("html"===c.type||"svg"===c.type)&amp;&amp;function(t,e,i,s){let{layoutId:n,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:r,alwaysMeasureLayout:!!o||a&amp;&amp;iI(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:u})}(d.current,i,n,p);let m=(0,sh.useRef)(!1);(0,sh.useInsertionEffect)(()=&gt;{c&amp;&amp;m.current&amp;&amp;c.update(i,u)});let f=i[tc],v=(0,sh.useRef)(!!f&amp;&amp;!(null===(r=window.MotionHandoffIsComplete)||void 0===r?void 0:r.call(window,f))&amp;&amp;(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,f)));return(0,nk.E)(()=&gt;{c&amp;&amp;(m.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),sy.render(c.render),v.current&amp;&amp;c.animationState&amp;&amp;c.animationState.animateChanges())}),(0,sh.useEffect)(()=&gt;{c&amp;&amp;(!v.current&amp;&amp;c.animationState&amp;&amp;c.animationState.animateChanges(),v.current&amp;&amp;(queueMicrotask(()=&gt;{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,f)}),v.current=!1))}),c}(r,c,u,i,t.ProjectionNode)}return(0,su.jsxs)(nC.Provider,{value:d,children:[l&amp;&amp;d.visualElement?(0,su.jsx)(l,{visualElement:d.visualElement,...u}):null,s(r,t,(o=d.visualElement,(0,sh.useCallback)(t=&gt;{t&amp;&amp;c.mount&amp;&amp;c.mount(t),o&amp;&amp;(t?o.mount(t):o.unmount()),e&amp;&amp;("function"==typeof e?e(t):iI(e)&amp;&amp;(e.current=t))},[o])),c,h,d.visualElement)]})});return o[nU]=r,o}({...nN(t)?n6:n7,preloadedFeatures:$,useRender:function(t=!1){return(e,i,s,{latestValues:n},r)=&gt;{let o=(nN(e)?function(t,e,i,s){let n=(0,sh.useMemo)(()=&gt;{let i=nZ();return n9(i,e,n4(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};n8(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 n8(s,i,t),Object.assign(s,function({transformTemplate:t},e){return(0,sh.useMemo)(()=&gt;{let i=n_();return n1(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),a=function(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&amp;&amp;(ri(n)||!0===i&amp;&amp;re(n)||!e&amp;&amp;!re(n)||t.draggable&amp;&amp;n.startsWith("onDrag"))&amp;&amp;(s[n]=t[n]);return s}(i,"string"==typeof e,t),l=e!==sh.Fragment?{...a,...o,ref:s}:{},{children:u}=i,h=(0,sh.useMemo)(()=&gt;tu(u)?u.get():u,[u]);return(0,sh.createElement)(e,{...l,children:h})}}(e),createVisualElement:N,Component:t})}))},15687:(t,e,i)=&gt;{i.d(e,{B:()=&gt;s});let s="undefined"!=typeof window},99234:(t,e,i)=&gt;{i.d(e,{M:()=&gt;n});var s=i(12115);function n(t){let e=(0,s.useRef)(null);return null===e.current&amp;&amp;(e.current=t()),e.current}},35403:(t,e,i)=&gt;{i.d(e,{E:()=&gt;n});var s=i(12115);let n=i(15687).B?s.useLayoutEffect:s.useEffect},45107:(t,e,i)=&gt;{i.d(e,{$:()=&gt;n,V:()=&gt;r});var s=i(26054);let n=s.l,r=s.l},26054:(t,e,i)=&gt;{i.d(e,{l:()=&gt;s});let s=t=&gt;t}}]);</pre></body></html>