PageSourceSearch

https://islayritmo.com/_next/static/chunks/220-2a599b44c48af086.js

js islayritmo.com collected 2026-10-08 09:58:31 UTC 127,139 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[220],{6808:function(t,e,i){var r,n;void 0!==(r="function"==typeof(n=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var r in i)e[r]=i[r]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function i(r){function n(){}function s(e,i,s){if("undefined"!=typeof document){"number"==typeof(s=t({path:"/"},n.defaults,s)).expires&&(s.expires=new Date(new Date*1+864e5*s.expires)),s.expires=s.expires?s.expires.toUTCString():"";try{var o=JSON.stringify(i);/^[\{\[]/.test(o)&&(i=o)}catch(t){}i=r.write?r.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,!0!==s[l]&&(a+="="+s[l].split(";")[0]));return document.cookie=e+"="+i+a}}function o(t,i){if("undefined"!=typeof document){for(var n={},s=document.cookie?document.cookie.split("; "):[],o=0;o<s.length;o++){var a=s[o].split("="),l=a.slice(1).join("=");i||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var u=e(a[0]);if(l=(r.read||r)(l,u)||e(l),i)try{l=JSON.parse(l)}catch(t){}if(n[u]=l,t===u)break}catch(t){}}return t?n[t]:n}}return n.set=s,n.get=function(t){return o(t,!1)},n.getJSON=function(t){return o(t,!0)},n.remove=function(e,i){s(e,"",t(i,{expires:-1}))},n.defaults={},n.withConverter=i,n}(function(){})})?n.call(e,i,e,t):n)&&(t.exports=r),t.exports=n()},143:function(t,e,i){"use strict";var r,n,s=i(6808),o=i.n(s),a=i(7294),l=function(t){var e=t.condition,i=t.wrapper,r=t.children;return e?i(r):r};function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}
1function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var c={TOP:"top",BOTTOM:"bottom",NONE:"none"};(r=n||(n={})).STRICT="strict",r.LAX="lax",r.NONE="none";var d={HIDDEN:"hidden",SHOW:"show",BY_COOKIE_VALUE:"byCookieValue"},p="CookieConsent",m=["children"],f={disableStyles:!1,hideOnAccept:!0,hideOnDecline:!0,location:c.BOTTOM,visible:d.BY_COOKIE_VALUE,onAccept:function(t){},onDecline:function(){},cookieName:p,cookieValue:"true",declineCookieValue:"false",setDeclineCookie:!0,buttonText:"I understand",declineButtonText:"I decline",debug:!1,expires:365,containerClasses:"CookieConsent",contentClasses:"",buttonClasses:"",buttonWrapperClasses:"",declineButtonClasses:"",buttonId:"rcc-confirm-button",declineButtonId:"rcc-decline-button",extraCookieOptions:{},disableButtonStyles:!1,enableDeclineButton:!1,flipButtons:!1,sameSite:n.LAX,ButtonComponent:function(t){var e=t.children,i=function(t,e){if(null==t)return{};var i,r,n={},s=Object.keys(t);for(r=0;r<s.length;r++)i=s[r],e.indexOf(i)>=0||(n[i]=t[i]);return n}(t,m);return a.createElement("button",Object.assign({},i),e)},overlay:!1,overlayClasses:"",onOverlayClick:function(){},acceptOnOverlayClick:!1,ariaAcceptLabel:"Accept cookies",ariaDeclineLabel:"Decline cookies",acceptOnScroll:!1,acceptOnScrollPercentage:25,customContentAttributes:{},customContainerAttributes:{},customButtonProps:{},customDeclineButtonProps:{},customButtonWrapperAttributes:{},style:{},buttonStyle:{},declineButtonStyle:{},contentStyle:{},overlayStyle:{}},g={visible:!1,style:{alignItems:"baseline",background:"#353535",color:"white",display:"flex",flexWrap:"wrap",justifyContent:"space-between",left:"0",position:"fixed",width:"100%",zIndex:"999"},buttonStyle:{background:"#ffd42d",border:"0",borderRadius:"0px",boxShadow:"none",color:"black",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},declineButtonStyle:{background:"#c12a2a",border:"0",borderRadius:"0px",boxShadow:"none",color:"#e5e5e5",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},contentStyle:{flex:"1 0 300px",margin:"15px"},overlayStyle:{position:"fixed",left:0,top:0,width:"100%",height:"100%",zIndex:"999",backgroundColor:"rgba(0,0,0,0.3)"}},y=function(t){void 0===t&&(t=p);var e=o().get(t);return void 0===e?o().get(v(t)):e},v=function(t){return t+"-legacy"},b=function(t){function e(){var e;return e=t.apply(this,arguments)||this,e.state=g,e.handleScroll=function(){var t=e.props.acceptOnScrollPercentage,i=document.documentElement,r=document.body,n="scrollTop",s="scrollHeight";(i[n]||r[n])/((i[s]||r[s])-i.clientHeight)*100>t&&e.accept(!0)},e.removeScrollListener=function(){e.props.acceptOnScroll&&window.removeEventListener("scroll",e.handleScroll)},e}(i=e).prototype=Object.create(t.prototype),i.prototype.constructor=i,h(i,t);var i,r=e.prototype;return r.componentDidMount=function(){var t=this.props.debug;(void 0===this.getCookieValue()||t)&&(this.setState({visible:!0}),this.props.acceptOnScroll&&window.addEventListener("scroll",this.handleScroll,{passive:!0}))},r.componentWillUnmount=function(){this.removeScrollListener()},r.accept=function(t){void 0===t&&(t=!1);var e,i=this.props,r=i.cookieName,n=i.cookieValue,s=i.hideOnAccept,o=i.onAccept;this.setCookie(r,n),o(null!=(e=t)&&e),s&&(this.setState({visible:!1}),this.removeScrollListener())},r.overlayClick=function(){var t=this.props,e=t.acceptOnOverlayClick,i=t.onOverlayClick;e&&this.accept(),i()},r.decline=function(){var t=this.props,e=t.cookieName,i=t.declineCookieValue,r=t.hideOnDecline,n=t.onDecline;t.setDeclineCookie&&this.setCookie(e,i),n(),r&&this.setState({visible:!1})},r.setCookie=function(t,e){var i=this.props,r=i.extraCookieOptions,s=i.expires,a=i.sameSite,l=this.props.cookieSecurity;void 0===l&&(l=!window.location||"https:"===window.location.protocol);var h=u({expires:s},r,{sameSite:a,secure:l});a===n.NONE&&o().set(v(t),e,h),o().set(t,e,h)},r.getCookieValue=function(){return y(this.props.cookieName)},r.render=function(){var t=this;switch(this.props.visible){case d.HIDDEN:return null;case d.BY_COOKIE_VALUE:if(!this.state.visible)return null}var e=this.props,i=e.location,r=e.style,n=e.buttonStyle,s=e.declineButtonStyle,o=e.contentStyle,h=e.disableStyles,p=e.buttonText,m=e.declineButtonText,f=e.containerClasses,g=e.contentClasses,y=e.buttonClasse
1s,v=e.buttonWrapperClasses,b=e.declineButtonClasses,x=e.buttonId,w=e.declineButtonId,P=e.disableButtonStyles,S=e.enableDeclineButton,A=e.flipButtons,C=e.ButtonComponent,k=e.overlay,T=e.overlayClasses,V=e.overlayStyle,E=e.ariaAcceptLabel,M=e.ariaDeclineLabel,D=e.customContainerAttributes,O=e.customContentAttributes,R=e.customButtonProps,j=e.customDeclineButtonProps,L=e.customButtonWrapperAttributes,B={},F={},I={},U={},N={};switch(h?(B=Object.assign({},r),F=Object.assign({},n),I=Object.assign({},s),U=Object.assign({},o),N=Object.assign({},V)):(B=Object.assign({},u({},this.state.style,r)),U=Object.assign({},u({},this.state.contentStyle,o)),N=Object.assign({},u({},this.state.overlayStyle,V)),P?(F=Object.assign({},n),I=Object.assign({},s)):(F=Object.assign({},u({},this.state.buttonStyle,n)),I=Object.assign({},u({},this.state.declineButtonStyle,s)))),i){case c.TOP:B.top="0";break;case c.BOTTOM:B.bottom="0"}var $=[];return S&&$.push(a.createElement(C,Object.assign({key:"declineButton",style:I,className:b,id:w,"aria-label":M,onClick:function(){t.decline()}},j),m)),$.push(a.createElement(C,Object.assign({key:"acceptButton",style:F,className:y,id:x,"aria-label":E,onClick:function(){t.accept()}},R),p)),A&&$.reverse(),a.createElement(l,{condition:k,wrapper:function(e){return a.createElement("div",{style:N,className:T,onClick:function(){t.overlayClick()}},e)}},a.createElement("div",Object.assign({className:""+f,style:B},D),a.createElement("div",Object.assign({style:U,className:g},O),this.props.children),a.createElement("div",Object.assign({className:""+v},L),$.map(function(t){return t}))))},e}(a.Component);b.defaultProps=f,e.ZP=b},7421:function(t,e,i){"use strict";var r,n=x(),s=t=>g(t,n),o=x();s.write=t=>g(t,o);var a=x();s.onStart=t=>g(t,a);var l=x();s.onFrame=t=>g(t,l);var u=x();s.onFinish=t=>g(t,u);var h=[];s.setTimeout=(t,e)=>{let i=s.now()+e,r=()=>{let t=h.findIndex(t=>t.cancel==r);~t&&h.splice(t,1),m-=~t?1:0},n={time:i,handler:t,cancel:r};return h.splice(c(i),0,n),m+=1,y(),n};var c=t=>~(~h.findIndex(e=>e.time>t)||~h.length);s.cancel=t=>{a.delete(t),l.delete(t),u.delete(t),n.delete(t),o.delete(t)},s.sync=t=>{f=!0,s.batchedUpdates(t),f=!1},s.throttle=t=>{let e;function i(){try{t(...e)}finally{e=null}}function r(...t){e=t,s.onStart(i)}return r.handler=t,r.cancel=()=>{a.delete(i),e=null},r};var d="u">typeof window?window.requestAnimationFrame:()=>{};s.use=t=>d=t,s.now="u">typeof performance?()=>performance.now():Date.now,s.batchedUpdates=t=>t(),s.catch=console.error,s.frameLoop="always",s.advance=()=>{"demand"!==s.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):b()};var p=-1,m=0,f=!1;function g(t,e){f?(e.delete(t),t(0)):(e.add(t),y())}function y(){p<0&&(p=0,"demand"!==s.frameLoop&&d(v))}function v(){~p&&(d(v),s.batchedUpdates(b))}function b(){let t=p;p=s.now();let e=c(p);if(e&&(w(h.splice(0,e),t=>t.handler()),m-=e),!m){p=-1;return}a.flush(),n.flush(t?Math.min(64,p-t):16.667),l.flush(),o.flush(),u.flush()}function x(){let t=new Set,e=t;return{add(i){m+=e!=t||t.has(i)?0:1,t.add(i)},delete:i=>(m-=e==t&&t.has(i)?1:0,t.delete(i)),flush(i){e.size&&(t=new Set,m-=e.size,w(e,e=>e(i)&&t.add(e)),m+=t.size,e=t)}}}function w(t,e){t.forEach(t=>{try{e(t)}catch(t){s.catch(t)}})}var P=i(7294),S=Object.defineProperty,A={};((t,e)=>{for(var i in e)S(t,i,{get:e[i],enumerable:!0})})(A,{assign:()=>B,colors:()=>R,createStringInterpolator:()=>E,skipAnimation:()=>j,to:()=>M,willAdvance:()=>L});var C=(t,e,i)=>Object.defineProperty(t,e,{value:i,writable:!0,configurable:!0}),k={arr:Array.isArray,obj:t=>!!t&&"Object"===t.constructor.name,fun:t=>"function"==typeof t,str:t=>"string"==typeof t,num:t=>"number"==typeof t,und:t=>void 0===t},T=(t,e)=>t.forEach(e);function V(t,e,i){if(k.arr(t)){for(let r=0;r<t.length;r++)e.call(i,t[r],`${r}`);return}for(let r in t)t.hasOwnProperty(r)&&e.call(i,t[r],r)}var E,M,D=t=>k.und(t)?[]:k.arr(t)?t:[t],O=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),R=null,j=!1,L=function(){},B=t=>{t.to&&(M=t.to),t.now&&(s.now=t.now),void 0!==t.colors&&(R=t.colors),null!=t.skipAnimation&&(j=t.skipAnimation),t.createStringInterpolator&&(E=t.createStringInterpolator),t.requestAnimationFrame&&s.use(t.requestAnimationFrame),t.batchedUpdates&&(s.batchedUpdates=t.batchedUpdates),t.willAdvance&&(L=t.willAdvance),t.frameLoop&&(s.frameLoop=t.frameLoop)},F=new Set,I=[],U=[],N=0,$={get idle(){return!F.size&&!I.length},start(t){N>t.priority?(F.add(t),s.onStart(_)):(W(t),s(H))},advance:H,sort(t){if(N)s.onFrame(()=>$.sort(t));else{let e=I.indexOf(t);~e&&(I.splice(e,1),z(t))}},clear(){I=[],F.clear()}};function _(){F.forEach(W),F.clear(),s(H)}function W(t){I.includes(t)||z(t)}function z(t){var e;let i;I.splice((i=(e=I).findIndex(e=>e.priority>t.priority))<0?e.length:i,0,t)}function H(t){let e=U;for(let i=0;i<I.length;i++){let r=I[i];N=r.priority,r.idle||(L(r),r.advance(t),r.idle||e.push(r))}return N=0,(U=I).length=0,(I=e).length>0}var q="[-+]?\\d*\\.?\\d+",G=q+"%";function X(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var Z=RegExp("rgb"+X(q,q,q)),J=RegExp("rgba"+X(q,q,q,q)),Q=RegExp("hsl"+X(q,G,G)),tt=RegExp("hsla"
1+X(q,G,G,q)),te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ti=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,tr=/^#([0-9a-fA-F]{6})$/,ts=/^#([0-9a-fA-F]{8})$/;function to(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function ta(t,e,i){let r=i<.5?i*(1+e):i+e-i*e,n=2*i-r;return Math.round(255*to(n,r,t+1/3))<<24|Math.round(255*to(n,r,t))<<16|Math.round(255*to(n,r,t-1/3))<<8}function tl(t){let e=parseInt(t,10);return e<0?0:e>255?255:e}function tu(t){return(parseFloat(t)%360+360)%360/360}function th(t){let e=parseFloat(t);return e<0?0:e>1?255:Math.round(255*e)}function tc(t){let e=parseFloat(t);return e<0?0:e>100?1:e/100}function td(t){let e;let i="number"==typeof t?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=tr.exec(t))?parseInt(e[1]+"ff",16)>>>0:R&&void 0!==R[t]?R[t]:(e=Z.exec(t))?(tl(e[1])<<24|tl(e[2])<<16|tl(e[3])<<8|255)>>>0:(e=J.exec(t))?(tl(e[1])<<24|tl(e[2])<<16|tl(e[3])<<8|th(e[4]))>>>0:(e=te.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=ts.exec(t))?parseInt(e[1],16)>>>0:(e=ti.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=Q.exec(t))?(255|ta(tu(e[1]),tc(e[2]),tc(e[3])))>>>0:(e=tt.exec(t))?(ta(tu(e[1]),tc(e[2]),tc(e[3]))|th(e[4]))>>>0:null;return null===i?t:`rgba(${(4278190080&(i=i||0))>>>24}, ${(16711680&i)>>>16}, ${(65280&i)>>>8}, ${(255&i)/255})`}var tp=(t,e,i)=>{if(k.fun(t))return t;if(k.arr(t))return tp({range:t,output:e,extrapolate:i});if(k.str(t.output[0]))return E(t);let r=t.output,n=t.range||[0,1],s=t.extrapolateLeft||t.extrapolate||"extend",o=t.extrapolateRight||t.extrapolate||"extend",a=t.easing||(t=>t);return e=>{let i=function(t,e){for(var i=1;i<e.length-1&&!(e[i]>=t);++i);return i-1}(e,n);return function(t,e,i,r,n,s,o,a,l){let u=l?l(t):t;if(u<e){if("identity"===o)return u;"clamp"===o&&(u=e)}if(u>i){if("identity"===a)return u;"clamp"===a&&(u=i)}return r===n?r:e===i?t<=e?r:n:(e===-1/0?u=-u:i===1/0?u-=e:u=(u-e)/(i-e),u=s(u),r===-1/0?u=-u:n===1/0?u+=r:u=u*(n-r)+r,u)}(e,n[i],n[i+1],r[i],r[i+1],a,s,o,t.map)}},tm=Symbol.for("FluidValue.get"),tf=Symbol.for("FluidValue.observers"),tg=t=>!!(t&&t[tm]),ty=t=>t&&t[tm]?t[tm]():t;function tv(t,e){let i=t[tf];i&&i.forEach(t=>{t.eventObserved?t.eventObserved(e):t(e)})}var tb=class{[tm];[tf];constructor(t){if(!t&&!(t=this.get))throw Error("Unknown getter");tx(this,t)}},tx=(t,e)=>tA(t,tm,e);function tw(t,e){if(t[tm]){let i=t[tf];i||tA(t,tf,i=new Set),i.has(e)||(i.add(e),t.observerAdded&&t.observerAdded(i.size,e))}return e}function tP(t,e){let i=t[tf];if(i&&i.has(e)){let r=i.size-1;r?i.delete(e):t[tf]=null,t.observerRemoved&&t.observerRemoved(r,e)}}var tS,tA=(t,e,i)=>Object.defineProperty(t,e,{value:i,writable:!0,configurable:!0}),tC=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,tk=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,tT=RegExp(`(${tC.source})(%|[a-z]+)`,"i"),tV=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,tE=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,tM=t=>{let[e,i]=tD(t);if(!e||O())return t;let r=window.getComputedStyle(document.documentElement).getPropertyValue(e);return r?r.trim():i&&i.startsWith("--")?window.getComputedStyle(document.documentElement).getPropertyValue(i)||t:i&&tE.test(i)?tM(i):i||t},tD=t=>{let e=tE.exec(t);if(!e)return[,];let[,i,r]=e;return[i,r]},tO=(t,e,i,r,n)=>`rgba(${Math.round(e)}, ${Math.round(i)}, ${Math.round(r)}, ${n})`,tR=t=>{tS||(tS=R?RegExp(`(${Object.keys(R).join("|")})(?!\\w)`,"g"):/^\b$/);let e=t.output.map(t=>ty(t).replace(tE,tM).replace(tk,td).replace(tS,td)),i=e.map(t=>t.match(tC).map(Number)),r=i[0].map((t,e)=>i.map(t=>{if(!(e in t))throw Error('The arity of each "output" value must be equal');return t[e]})).map(e=>tp({...t,output:e}));return t=>{let i=!tT.test(e[0])&&e.find(t=>tT.test(t))?.replace(tC,""),n=0;return e[0].replace(tC,()=>`${r[n++](t)}${i||""}`).replace(tV,tO)}},tj="react-spring: ",tL=t=>{let e=!1;if("function"!=typeof t)throw TypeError(`${tj}once requires a function parameter`);return(...i)=>{e||(t(...i),e=!0)}},tB=tL(console.warn);function tF(t){return k.str(t)&&("#"==t[0]||/\d/.test(t)||!O()&&tE.test(t)||t in(R||{}))}tL(console.warn),new WeakMap,new WeakMap,new WeakMap,new WeakMap;var tI=O()?P.useEffect:P.useLayoutEffect,tU=()=>{let t=(0,P.useRef)(!1);return tI(()=>(t.current=!0,()=>{t.current=!1}),[]),t},tN=t=>(0,P.useEffect)(t,t$),t$=[],t_=Symbol.for("Animated:node"),tW=t=>!!t&&t[t_]===t,tz=t=>t&&t[t_],tH=(t,e)=>C(t,t_,e),tq=t=>t&&t[t_]&&t[t_].getPayload(),tY=class{payload;constructor(){tH(this,this)}getPayload(){return this.payload||[]}},tG=class extends tY{constructor(t){super(),this._value=t,k.num(this._value)&&(this.lastPosition=this._value)}done=!0;elapsedTime;lastPosition;lastVelocity;v0;durationProgress=0;static create(t){return new tG(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,e){return k.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}reset(){let{done:t}=this;this.done=!1,k.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}
1,tX=class extends tG{_string=null;_toString;constructor(t){super(0),this._toString=tp({output:[t,t]})}static create(t){return new tX(t)}getValue(){return this._string??(this._string=this._toString(this._value))}setValue(t){if(k.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!super.setValue(t))return!1;this._string=null}return!0}reset(t){t&&(this._toString=tp({output:[this.getValue(),t]})),this._value=0,super.reset()}},tK={dependencies:null},tZ=class extends tY{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){let e={};return V(this.source,(i,r)=>{tW(i)?e[r]=i.getValue(t):tg(i)?e[r]=ty(i):t||(e[r]=i)}),e}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&T(this.payload,t=>t.reset())}_makePayload(t){if(t){let e=new Set;return V(t,this._addToPayload,e),Array.from(e)}}_addToPayload(t){tK.dependencies&&tg(t)&&tK.dependencies.add(t);let e=tq(t);e&&T(e,t=>this.add(t))}},tJ=class extends tZ{constructor(t){super(t)}static create(t){return new tJ(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){let e=this.getPayload();return t.length==e.length?e.map((e,i)=>e.setValue(t[i])).some(Boolean):(super.setValue(t.map(tQ)),!0)}};function tQ(t){return(tF(t)?tX:tG).create(t)}var t0=(t,e)=>{let i=!k.fun(t)||t.prototype&&t.prototype.isReactComponent;return(0,P.forwardRef)((r,n)=>{var o;let a,l,u;let h=(0,P.useRef)(null),c=i&&(0,P.useCallback)(t=>{var e;h.current=((e=n)&&(k.fun(e)?e(t):e.current=t),t)},[n]),[d,p]=(o=r,u=new Set,tK.dependencies=u,o.style&&(o={...o,style:e.createAnimatedStyle(o.style)}),o=new tZ(o),tK.dependencies=null,[o,u]),m=(a=(0,P.useState)()[1],l=tU(),()=>{l.current&&a(Math.random())}),f=()=>{let t=h.current;(!i||t)&&(!!t&&e.applyAnimatedValues(t,d.getValue(!0)))===!1&&m()},g=new t1(f,p),y=(0,P.useRef)();tI(()=>(y.current=g,T(p,t=>tw(t,g)),()=>{y.current&&(T(y.current.deps,t=>tP(t,y.current)),s.cancel(y.current.update))})),(0,P.useEffect)(f,[]),tN(()=>()=>{let t=y.current;T(t.deps,e=>tP(e,t))});let v=e.getComponentProps(d.getValue());return P.createElement(t,{...v,ref:c})})},t1=class{constructor(t,e){this.update=t,this.deps=e}eventObserved(t){"change"==t.type&&s.write(this.update)}},t5=Symbol.for("AnimatedComponent"),t2=t=>k.str(t)?t:t&&k.str(t.displayName)?t.displayName:k.fun(t)&&t.name||null;function t3(t,...e){return K.fun(t)?t(...e):t}var t9=(t,e)=>!0===t||!!(e&&t&&(K.fun(t)?t(e):$t(t).includes(e))),t4=(t,e)=>K.obj(t)?e&&t[e]:t,t7=(t,e)=>!0===t.default?t[e]:t.default?t.default[e]:void 0,t6=t=>t,t8=(t,e=t6)=>{let i=et;t.default&&!0!==t.default&&(i=Object.keys(t=t.default));let r={};for(let n of i){let i=e(t[n],n);K.und(i)||(r[n]=i)}return r},et=null,ee={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function ei(t){let e=function(t){let e={},i=0;if(dt(t,(t,r)=>{ee[r]||(e[r]=t,i++)}),i)return e}(t);if(e){let i={to:e};return dt(t,(t,r)=>r in e||(i[r]=t)),i}return{...t}}function er(t){return t=Zt(t),K.arr(t)?t.map(er):en(t)?tn.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function es(t){return K.fun(t)||K.arr(t)&&K.obj(t[0])}var eo={tension:170,friction:26,mass:1,damping:1,easing:t=>t,clamp:!1},ea=class{tension;friction;frequency;damping;mass;velocity=0;restVelocity;precision;progress;duration;easing;clamp;bounce;decay;round;constructor(){Object.assign(this,eo)}};function el(t,e){if(re.und(e.decay)){let i=!re.und(e.tension)||!re.und(e.friction);!i&&re.und(e.frequency)&&re.und(e.damping)&&re.und(e.mass)||(t.duration=void 0,t.decay=void 0),i&&(t.frequency=void 0)}else t.duration=void 0}var eu=class{changed=!1;values=null;toValues=null;fromValues=null;to;from;config=new ea;immediate=!1},eh=(t,e)=>1==e.length?e[0]:e.some(t=>t.cancelled)?ep(t.get()):e.every(t=>t.noop)?ec(t.get()):ed(t.get(),e.every(t=>t.finished)),ec=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),ed=(t,e,i=!1)=>({value:t,finished:e,cancelled:i}),ep=t=>({value:t,cancelled:!0,finished:!1});function em(t,e){fn(t.timeouts,t=>t.cancel()),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}
1var ef=class extends Error{result;constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},eg=class extends Error{result;constructor(){super("SkipAnimationSignal")}},ey=t=>t instanceof eb,ev=1,eb=class extends tb{id=ev++;_priority=0;get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){let t=tz(this);return t&&t.getValue()}to(...t){return A.to(this,t)}interpolate(...t){return tB(`${tj}The "interpolate" function is deprecated in v9 (use "to" instead)`),A.to(this,t)}toJSON(){return this.get()}observerAdded(t){1==t&&this._attach()}observerRemoved(t){0==t&&this._detach()}_attach(){}_detach(){}_onChange(t,e=!1){tv(this,{type:"change",parent:this,value:t,idle:e})}_onPriorityChange(t){this.idle||$.sort(this),tv(this,{type:"priority",parent:this,priority:t})}},ex=Symbol.for("SpringPhase"),ew=t=>(1&t[ex])>0,eP=t=>(2&t[ex])>0,eS=t=>(4&t[ex])>0,eA=(t,e)=>e?t[ex]|=3:t[ex]&=-3,eC=(t,e)=>e?t[ex]|=4:t[ex]&=-5;function ek(t,e){let i=er(e),r=er(t.get());return Y(r,i)}function eT(t,e){Pn(t,(t,i)=>null!=t&&e.add(i))}var eV=null;function eE(t,e,i){t.animation[i]=e[i]!==t7(e,i)?t4(e[i],t.key):void 0}function eM(t,e,...i){t.animation[e]?.(...i),t.defaultProps[e]?.(...i)}var eD=({children:t,...e})=>{let i=(0,P.useContext)(eO),r=e.pause||!!i.pause,n=e.immediate||!!i.immediate;e=function(t,e){let[i]=(0,P.useState)(()=>({inputs:e,result:t()})),r=(0,P.useRef)(),n=r.current,s=n;return s?e&&s.inputs&&function(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}(e,s.inputs)||(s={inputs:e,result:t()}):s=i,(0,P.useEffect)(()=>{r.current=s,n==i&&(i.inputs=i.result=void 0)},[s]),s.result}(()=>({pause:r,immediate:n}),[r,n]);let{Provider:s}=eO;return P.createElement(s,{value:e},t)},eO=(Object.assign(r=eD,P.createContext({})),r.Provider._context=r,r.Consumer._context=r,r);eD.Provider=eO.Provider,eD.Consumer=eO.Consumer;var eR=class extends eb{constructor(t,e){let i;super(),this.source=t,this.calc=tp(...e);let r=this._get();tH(this,((i=tz(r))?i.constructor:k.arr(r)?tJ:tF(r)?tX:tG).create(r))}key;idle=!0;calc;_active=new Set;advance(t){let e=this._get();(function(t,e){if(k.arr(t)){if(!k.arr(e)||t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}return t===e})(e,this.get())||(tz(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&eL(this._active)&&eB(this)}_get(){let t=k.arr(this.source)?this.source.map(ty):D(ty(this.source));return this.calc(...t)}_start(){this.idle&&!eL(this._active)&&(this.idle=!1,T(tq(this),t=>{t.done=!1}),A.skipAnimation?(s.batchedUpdates(()=>this.advance()),eB(this)):$.start(this))}_attach(){let t=1;T(D(this.source),e=>{tg(e)&&tw(e,this),ey(e)&&(e.idle||this._active.add(e),t=Math.max(t,e.priority+1))}),this.priority=t,this._start()}_detach(){T(D(this.source),t=>{tg(t)&&tP(t,this)}),this._active.clear(),eB(this)}eventObserved(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=D(this.source).reduce((t,e)=>Math.max(t,(ey(e)?e.priority:0)+1),0))}};function ej(t){return!1!==t.idle}function eL(t){return!t.size||Array.from(t).every(ej)}function eB(t){t.idle||(t.idle=!0,T(tq(t),t=>{t.done=!0}),tv(t,{type:"idle",parent:t}))}A.assign({createStringInterpolator:tR,to:(t,e)=>new eR(t,e)}),$.advance;var eF=i(3935),eI=/^--/,eU={},eN={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},e$=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),e_=["Webkit","Ms","Moz","O"];
1eN=Object.keys(eN).reduce((t,e)=>(e_.forEach(i=>t[e$(i,e)]=t[e]),t),eN);var eW=/^(matrix|translate|scale|rotate|skew)/,ez=/^(translate)/,eH=/^(rotate|skew)/,eq=(t,e)=>k.num(t)&&0!==t?t+e:t,eY=(t,e)=>k.arr(t)?t.every(t=>eY(t,e)):k.num(t)?t===e:parseFloat(t)===e,eG=class extends tZ{constructor({x:t,y:e,z:i,...r}){let n=[],s=[];(t||e||i)&&(n.push([t||0,e||0,i||0]),s.push(t=>[`translate3d(${t.map(t=>eq(t,"px")).join(",")})`,eY(t,0)])),V(r,(t,e)=>{if("transform"===e)n.push([t||""]),s.push(t=>[t,""===t]);else if(eW.test(e)){if(delete r[e],k.und(t))return;let i=ez.test(e)?"px":eH.test(e)?"deg":"";n.push(D(t)),s.push("rotate3d"===e?([t,e,r,n])=>[`rotate3d(${t},${e},${r},${eq(n,i)})`,eY(n,0)]:t=>[`${e}(${t.map(t=>eq(t,i)).join(",")})`,eY(t,e.startsWith("scale")?1:0)])}}),n.length&&(r.transform=new eX(n,s)),super(r)}},eX=class extends tb{constructor(t,e){super(),this.inputs=t,this.transforms=e}_value=null;get(){return this._value||(this._value=this._get())}_get(){let t="",e=!0;return T(this.inputs,(i,r)=>{let n=ty(i[0]),[s,o]=this.transforms[r](k.arr(n)?n:i.map(ty));t+=" "+s,e=e&&o}),e?"none":t}observerAdded(t){1==t&&T(this.inputs,t=>T(t,t=>tg(t)&&tw(t,this)))}observerRemoved(t){0==t&&T(this.inputs,t=>T(t,t=>tg(t)&&tP(t,this)))}eventObserved(t){"change"==t.type&&(this._value=null),tv(this,t)}};A.assign({batchedUpdates:eF.unstable_batchedUpdates,createStringInterpolator:tR,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}}),((t,{applyAnimatedValues:e=()=>!1,createAnimatedStyle:i=t=>new tZ(t),getComponentProps:r=t=>t}={})=>{let n={applyAnimatedValues:e,createAnimatedStyle:i,getComponentProps:r},s=t=>{let e=t2(t)||"Anonymous";return(t=k.str(t)?s[t]||(s[t]=t0(t,n)):t[t5]||(t[t5]=t0(t,n))).displayName=`Animated(${e})`,t};return V(t,(e,i)=>{k.arr(t)&&(i=t2(e)),s[i]=s(e)}),{animated:s}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(t,e){if(!t.nodeType||!t.setAttribute)return!1;let i="filter"===t.nodeName||t.parentNode&&"filter"===t.parentNode.nodeName,{style:r,children:n,scrollTop:s,scrollLeft:o,viewBox:a,...l}=e,u=Object.values(l),h=Object.keys(l).map(e=>
1i||t.hasAttribute(e)?e:eU[e]||(eU[e]=e.replace(/([A-Z])/g,t=>"-"+t.toLowerCase())));for(let e in void 0!==n&&(t.textContent=n),r)if(r.hasOwnProperty(e)){var c,d;let i=(c=e,null==(d=r[e])||"boolean"==typeof d||""===d?"":"number"!=typeof d||0===d||eI.test(c)||eN.hasOwnProperty(c)&&eN[c]?(""+d).trim():d+"px");eI.test(e)?t.style.setProperty(e,i):t.style[e]=i}h.forEach((e,i)=>{t.setAttribute(e,u[i])}),void 0!==s&&(t.scrollTop=s),void 0!==o&&(t.scrollLeft=o),void 0!==a&&t.setAttribute("viewBox",a)},createAnimatedStyle:t=>new eG(t),getComponentProps:({scrollTop:t,scrollLeft:e,...i})=>i}).animated},9090:function(t,e,i){"use strict";i.d(e,{E:function(){return nq}});var r,n=i(7294);let s=(0,n.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),o=(0,n.createContext)({}),a=(0,n.createContext)(null),l="undefined"!=typeof document,u=l?n.useLayoutEffect:n.useEffect,h=(0,n.createContext)({strict:!1});function c(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function d(t){return"string"==typeof t||Array.isArray(t)}function p(t){return"object"==typeof t&&"function"==typeof t.start}let m=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],f=["initial",...m];function g(t){return p(t.animate)||f.some(e=>d(t[e]))}function y(t){return!!(g(t)||t.variants)}function v(t){return Array.isArray(t)?t.join(" "):t}let b={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"]},x={};for(let t in b)x[t]={isEnabled:e=>b[t].some(t=>!!e[t])};let w=(0,n.createContext)({}),P=(0,n.createContext)({}),S=Symbol.for("motionComponentSymbol"),A=["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 C(t){if("string"!=typeof t||t.includes("-"));else if(A.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let k={},T=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],V=new Set(T);function E(t,{layout:e,layoutId:i}){return V.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!k[t]||"opacity"===t)}let M=t=>!!(t&&t.getVelocity),D={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},O=T.length,R=t=>e=>"string"==typeof e&&e.startsWith(t),j=R("--"),L=R("var(--"),B=(t,e)=>e&&"number"==typeof t?e.transform(t):t,F=(t,e,i)=>Math.min(Math.max(i,t),e),I={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},U={...I,transform:t=>F(0,1,t)},N={...I,default:1},$=t=>Math.round(1e5*t)/1e5,_=/(-)?([\d]*\.?[\d])+/g,W=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,z=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function H(t){return"string"==typeof t}let q=t=>({test:e=>H(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),G=q("deg"),X=q("%"),Z=q("px"),J=q("vh"),Q=q("vw"),tt={...X,parse:t=>X.parse(t)/100,transform:t=>X.transform(100*t)},te={...I,transform:Math.round},ti={borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,size:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,rotate:G,rotateX:G,rotateY:G,rotateZ:G,scale:N,scaleX:N,scaleY:N,scaleZ:N,skew:G,skewX:G,skewY:G,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:U,originX:tt,originY:tt,originZ:Z,zIndex:te,fillOpacity:U,strokeOpacity:U,numOctaves:te};function tr(t,e,i,r){let{style:n,vars:s,transform:o,transformOrigin:a}=t,l=!1,u=!1,h=!0;for(let t in e){let i=e[t];if(j(t)){s[t]=i;continue}let r=ti[t],c=B(i,r);if(V.has(t)){if(l=!0,o[t]=c,!h)continue;i!==(r.default||0)&&(h=!1)}else t.startsWith("origin")?(u=!0,a[t]=c):n[t]=c}if(!e.transform&&(l||r?n.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:i=!0}
1,r,n){let s="";for(let e=0;e<O;e++){let i=T[e];if(void 0!==t[i]){let e=D[i]||i;s+=`${e}(${t[i]}) `}}return e&&!t.z&&(s+="translateZ(0)"),s=s.trim(),n?s=n(t,r?"":s):i&&r&&(s="none"),s}(t.transform,i,h,r):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;n.transformOrigin=`${t} ${e} ${i}`}}let ts=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function to(t,e,i){for(let r in e)M(e[r])||E(r,i)||(t[r]=e[r])}function ta(t,e,i){let r={},s=function(t,e,i){let r=t.style||{},s={};return to(s,r,t),Object.assign(s,function({transformTemplate:t},e,i){return(0,n.useMemo)(()=>{let r=ts();return tr(r,e,{enableHardwareAcceleration:!i},t),Object.assign({},r.vars,r.style)},[e])}(t,e,i)),t.transformValues?t.transformValues(s):s}(t,e,i);return t.drag&&!1!==t.dragListener&&(r.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&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=s,r}let tl=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function tu(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||tl.has(t)}let th=t=>!tu(t);try{(r=require("@emotion/is-prop-valid").default)&&(th=t=>t.startsWith("on")?!tu(t):r(t))}catch(t){}function tc(t,e,i){return"string"==typeof t?t:Z.transform(e+i*t)}let td={offset:"stroke-dashoffset",array:"stroke-dasharray"},tp={offset:"strokeDashoffset",array:"strokeDasharray"};function tm(t,{attrX:e,attrY:i,attrScale:r,originX:n,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c,d){if(tr(t,u,h,d),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:p,style:m,dimensions:f}=t;p.transform&&(f&&(m.transform=p.transform),delete p.transform),f&&(void 0!==n||void 0!==s||m.transform)&&(m.transformOrigin=function(t,e,i){let r=tc(e,t.x,t.width),n=tc(i,t.y,t.height);return`${r} ${n}`}(f,void 0!==n?n:.5,void 0!==s?s:.5)),void 0!==e&&(p.x=e),void 0!==i&&(p.y=i),void 0!==r&&(p.scale=r),void 0!==o&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?td:tp;t[s.offset]=Z.transform(-r);let o=Z.transform(e),a=Z.transform(i);t[s.array]=`${o} ${a}`}(p,o,a,l,!1)}let tf=()=>({...ts(),attrs:{}}),tg=t=>"string"==typeof t&&"svg"===t.toLowerCase();function ty(t,e,i,r){let s=(0,n.useMemo)(()=>{let i=tf();return tm(i,e,{enableHardwareAcceleration:!1},tg(r),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};to(e,t.style,t),s.style={...e,...s.style}}return s}let tv=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function tb(t,{style:e,vars:i},r,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(r)),i)t.style.setProperty(s,i[s])}let tx=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 tw(t,e,i,r){for(let i in tb(t,e,void 0,r),e.attrs)t.setAttribute(tx.has(i)?i:tv(i),e.attrs[i])}function tP(t,e){let{style:i}=t,r={};for(let n in i)(M(i[n])||e.style&&M(e.style[n])||E(n,t))&&(r[n]=i[n]);return r}function tS(t,e){let i=tP(t,e);for(let r in t)if(M(t[r])||M(e[r])){let e=-1!==T.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[e]=t[r]}return i}function tA(t,e,i,r={},n={}){return"function"==typeof e&&(e=e(void 0!==i?i:t.custom,r,n)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==i?i:t.custom,r,n)),e}let tC=t=>Array.isArray(t),tk=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),tT=t=>tC(t)?t[t.length-1]||0:t;function tV(t){let e=M(t)?t.get():t;return tk(e)?e.toValue():e}let tE=t=>(e,i)=>{let r=(0,n.useContext)(o),s=(0,n.useContext)(a),l=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i}
1,r,n,s){let o={latestValues:function(t,e,i,r){let n={},s=r(t,{});for(let t in s)n[t]=tV(s[t]);let{initial:o,animate:a}=t,l=g(t),u=y(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial;h=h||!1===o;let c=h?a:o;if(c&&"boolean"!=typeof c&&!p(c)){let e=Array.isArray(c)?c:[c];e.forEach(e=>{let i=tA(t,e);if(!i)return;let{transitionEnd:r,transition:s,...o}=i;for(let t in o){let e=o[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let t in r)n[t]=r[t]})}return n}(r,n,s,t),renderState:e()};return i&&(o.mount=t=>i(r,t,o)),o})(t,e,r,s);return i?l():function(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}(l)},tM={useVisualState:tE({scrapeMotionValuesFromProps:tS,createRenderState:tf,onMount:(t,e,{renderState:i,latestValues:r})=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}tm(i,r,{enableHardwareAcceleration:!1},tg(e.tagName),t.transformTemplate),tw(e,i)}})},tD={useVisualState:tE({scrapeMotionValuesFromProps:tP,createRenderState:ts})};function tO(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let tR=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tj(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let tL=t=>e=>tR(e)&&t(e,tj(e));function tB(t,e,i,r){return tO(t,e,tL(i),r)}let tF=(t,e)=>i=>e(t(i)),tI=(...t)=>t.reduce(tF);function tU(t){let e=null;return()=>{let i=()=>{e=null};return null===e&&(e=t,i)}}let tN=tU("dragHorizontal"),t$=tU("dragVertical");function t_(t){let e=!1;if("y"===t)e=t$();else if("x"===t)e=tN();else{let t=tN(),i=t$();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function tW(){let t=t_(!0);return!t||(t(),!1)}class tz{constructor(t){this.isMounted=!1,this.node=t}update(){}}let tH={delta:0,timestamp:0,isProcessing:!1},tq=!0,tY=!1,tG=["read","update","preRender","render","postRender"],tX=tG.reduce((t,e)=>(t[e]=function(t){let e=[],i=[],r=0,n=!1,s=!1,o=new WeakSet,a={schedule:(t,s=!1,a=!1)=>{let l=a&&n,u=l?e:i;return s&&o.add(t),-1===u.indexOf(t)&&(u.push(t),l&&n&&(r=e.length)),t},cancel:t=>{let e=i.indexOf(t);-1!==e&&i.splice(e,1),o.delete(t)},process:l=>{if(n){s=!0;return}if(n=!0,[e,i]=[i,e],i.length=0,r=e.length)for(let i=0;i<r;i++){let r=e[i];r(l),o.has(r)&&(a.schedule(r),t())}n=!1,s&&(s=!1,a.process(l))}};return a}(()=>tY=!0),t),{}),tK=t=>tX[t].process(tH),tZ=t=>{tY=!1,tH.delta=tq?1e3/60:Math.max(Math.min(t-tH.timestamp,40),1),tH.timestamp=t,tH.isProcessing=!0,tG.forEach(tK),tH.isProcessing=!1,tY&&(tq=!1,requestAnimationFrame(tZ))},tJ=()=>{tY=!0,tq=!0,tH.isProcessing||requestAnimationFrame(tZ)},tQ=tG.reduce((t,e)=>{let i=tX[e];return t[e]=(t,e=!1,r=!1)=>(tY||tJ(),i.schedule(t,e,r)),t},{});function t0(t){tG.forEach(e=>tX[e].cancel(t))}function t1(t,e){let i="onHover"+(e?"Start":"End"),r=(r,n)=>{if("touch"===r.type||tW())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e),s[i]&&tQ.update(()=>s[i](r,n))};return tB(t.current,"pointer"+(e?"enter":"leave"),r,{passive:!t.getProps()[i]})}let t5=(t,e)=>!!e&&(t===e||t5(t,e.parentElement)),t2=t=>t;function t3(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,tj(i))}let t9=new WeakMap,t4=new WeakMap,t7=t=>{let e=t9.get(t.target);e&&e(t)},t6=t=>{t.forEach(t7)},t8={some:0,all:1};function et(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}function ee(t,e,i){let r=t.getProps();return tA(r,e,void 0!==i?i:r.custom,function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.getVelocity()),e}(t))}let ei="data-"+tv("framerAppearId"),er=t=>1e3*t,es=t=>t/1e3,eo={current:!1},ea=t=>Array.isArray(t)&&"number"==typeof t[0],el=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,eu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:el([0,.65,.55,1]),circOut:el([.55,0,1,.45]),backIn:el([.31,.01,.66,-.59]),backOut:el([.33,1.53,.69,.99])},eh={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},ec={},ed={};for(let t in eh)ed[t]=()=>(void 0===ec[t]&&(ec[t]=eh[t]()),ec[t]);let ep=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function em(t,e,i,r){if(t===e&&i===r)return t2;let n=e=>
1(function(t,e,i,r,n){let s,o;let a=0;do(s=ep(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:ep(n(t),e,r)}let ef=em(.42,0,1,1),eg=em(0,0,.58,1),ey=em(.42,0,.58,1),ev=t=>Array.isArray(t)&&"number"!=typeof t[0],eb=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ex=t=>e=>1-t(1-e),ew=t=>1-Math.sin(Math.acos(t)),eP=ex(ew),eS=eb(eP),eA=em(.33,1.53,.69,.99),eC=ex(eA),ek=eb(eC),eT=t=>(t*=2)<1?.5*eC(t):.5*(2-Math.pow(2,-10*(t-1))),eV={linear:t2,easeIn:ef,easeInOut:ey,easeOut:eg,circIn:ew,circInOut:eS,circOut:eP,backIn:eC,backInOut:ek,backOut:eA,anticipate:eT},eE=t=>{if(Array.isArray(t)){t2(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,n]=t;return em(e,i,r,n)}return"string"==typeof t?(t2(void 0!==eV[t],`Invalid easing type '${t}'`),eV[t]):t},eM=(t,e)=>i=>!!(H(i)&&z.test(i)&&i.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(i,e)),eD=(t,e,i)=>r=>{if(!H(r))return r;let[n,s,o,a]=r.match(_);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},eO=t=>F(0,255,t),eR={...I,transform:t=>Math.round(eO(t))},ej={test:eM("rgb","red"),parse:eD("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+eR.transform(t)+", "+eR.transform(e)+", "+eR.transform(i)+", "+$(U.transform(r))+")"},eL={test:eM("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:ej.transform},eB={test:eM("hsl","hue"),parse:eD("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+X.transform($(e))+", "+X.transform($(i))+", "+$(U.transform(r))+")"},eF={test:t=>ej.test(t)||eL.test(t)||eB.test(t),parse:t=>ej.test(t)?ej.parse(t):eB.test(t)?eB.parse(t):eL.parse(t),transform:t=>H(t)?t:t.hasOwnProperty("red")?ej.transform(t):eB.transform(t)},eI=(t,e,i)=>-i*t+i*e+t;function eU(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}let eN=(t,e,i)=>{let r=t*t;return Math.sqrt(Math.max(0,i*(e*e-r)+r))},e$=[eL,ej,eB],e_=t=>e$.find(e=>e.test(t));function eW(t){let e=e_(t);t2(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=e.parse(t);return e===eB&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=eU(a,r,t+1/3),s=eU(a,r,t),o=eU(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let ez=(t,e)=>{let i=eW(t),r=eW(e),n={...i};return t=>(n.red=eN(i.red,r.red,t),n.green=eN(i.green,r.green,t),n.blue=eN(i.blue,r.blue,t),n.alpha=eI(i.alpha,r.alpha,t),ej.transform(n))}
1,eH={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:t2},eq={regex:W,countKey:"Colors",token:"${c}",parse:eF.parse},eY={regex:_,countKey:"Numbers",token:"${n}",parse:I.parse};function eG(t,{regex:e,countKey:i,token:r,parse:n}){let s=t.tokenised.match(e);s&&(t["num"+i]=s.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...s.map(n)))}function eX(t){let e=t.toString(),i={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&eG(i,eH),eG(i,eq),eG(i,eY),i}function eK(t){return eX(t).values}function eZ(t){let{values:e,numColors:i,numVars:r,tokenised:n}=eX(t),s=e.length;return t=>{let e=n;for(let n=0;n<s;n++)e=n<r?e.replace(eH.token,t[n]):n<r+i?e.replace(eq.token,eF.transform(t[n])):e.replace(eY.token,$(t[n]));return e}}let eJ=t=>"number"==typeof t?0:t,eQ={test:function(t){var e,i;return isNaN(t)&&H(t)&&((null===(e=t.match(_))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(W))||void 0===i?void 0:i.length)||0)>0},parse:eK,createTransformer:eZ,getAnimatableNone:function(t){let e=eK(t),i=eZ(t);return i(e.map(eJ))}},e0=(t,e)=>i=>`${i>0?e:t}`;function e1(t,e){return"number"==typeof t?i=>eI(t,e,i):eF.test(t)?ez(t,e):t.startsWith("var(")?e0(t,e):e3(t,e)}let e5=(t,e)=>{let i=[...t],r=i.length,n=t.map((t,i)=>e1(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}},e2=(t,e)=>{let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=e1(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}},e3=(t,e)=>{let i=eQ.createTransformer(e),r=eX(t),n=eX(e),s=r.numVars===n.numVars&&r.numColors===n.numColors&&r.numNumbers>=n.numNumbers;return s?tI(e5(r.values,n.values),i):(t2(!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.`),e0(t,e))},e9=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r},e4=(t,e)=>i=>eI(t,e,i);function e7(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(t2(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let r=[],n=i||function(t){if("number"==typeof t);else if("string"==typeof t)return eF.test(t)?ez:e3;else if(Array.isArray(t))return e5;else if("object"==typeof t)return e2;return e4}(t[0]),s=t.length-1;for(let i=0;i<s;i++){let s=n(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||t2:e;s=tI(t,s)}r.push(s)}return r}(e,r,n),a=o.length,l=e=>{let i=0;if(a>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let r=e9(t[i],t[i+1],e);return o[i](r)};return i?e=>l(F(t[0],t[s-1],e)):l}function e6({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){let n=ev(r)?r.map(eE):eE(r),s={done:!1,value:e[0]},o=(i&&i.length===e.length?i:function(t){let e=[0];return function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=e9(0,e,r);t.push(eI(i,1,n))}}(e,t.length-1),e}(e)).map(e=>e*t),a=e7(o,e,{ease:Array.isArray(n)?n:e.map(()=>n||ey).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}function e8(t,e,i){var r,n;let s=Math.max(e-5,0);return r=i-t(s),(n=e-s)?r*(1e3/n):0}function it(t,e){return t*Math.sqrt(1-e*e)}let ie=["duration","bounce"],ii=["stiffness","damping","mass"];function ir(t,e){return e.some(e=>void 0!==t[e])}function is({keyframes:t,restDelta:e,restSpeed:i,...r}){let n;let s=t[0],o=t[t.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:h,velocity:c,duration:d,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!ir(t,ii)&&ir(t,ie)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:r=1}){let n,s;t2(t<=er(10),"Spring duration must be 10 seconds or less");let o=1-e;o=F(.05,1,o),t=F(.01,10,es(t)),o<1?(n=e=>{let r=e*o,n=r*t,s=it(e,o);return .001-(r-i)/s*Math.exp(-n)},s=e=>{let r=e*o,s=r*t,a=Math.pow(o,2)*Math.pow(e,2)*t,l=it(Math.pow(e,2),o),u=-n(e)+.001>0?-1:1;return u*((s*i+i-a)*Math.exp(-s))/l}):(n=e=>
1{let r=Math.exp(-e*t),n=(e-i)*t+1;return -.001+r*n},s=e=>{let r=Math.exp(-e*t),n=(i-e)*(t*t);return r*n});let a=5/t,l=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,a);if(t=er(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,velocity:0,mass:1}).isResolvedFromDuration=!0}return e}(r),m=c?-es(c):0,f=u/(2*Math.sqrt(l*h)),g=o-s,y=es(Math.sqrt(l/h)),v=5>Math.abs(g);if(i||(i=v?.01:2),e||(e=v?.005:.5),f<1){let t=it(y,f);n=e=>o-Math.exp(-f*y*e)*((m+f*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===f)n=t=>o-Math.exp(-y*t)*(g+(m+y*g)*t);else{let t=y*Math.sqrt(f*f-1);n=e=>{let i=Math.min(t*e,300);return o-Math.exp(-f*y*e)*((m+f*y*g)*Math.sinh(i)+t*g*Math.cosh(i))/t}}return{calculatedDuration:p&&d||null,next:t=>{let r=n(t);if(p)a.done=t>=d;else{let s=m;0!==t&&(s=f<1?e8(n,t,r):0);let l=Math.abs(s)<=i,u=Math.abs(o-r)<=e;a.done=l&&u}return a.value=a.done?o:r,a}}}function io({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let p=t[0],m={done:!1,value:p},f=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,y=i*e,v=p+y,b=void 0===o?v:o(v);b!==v&&(y=b-p);let x=t=>-y*Math.exp(-t/r),w=t=>b+x(t),P=t=>{let e=x(t),i=w(t);m.done=Math.abs(e)<=u,m.value=m.done?b:i},S=t=>{f(m.value)&&(c=t,d=is({keyframes:[m.value,g(m.value)],velocity:e8(w,t,m.value),damping:n,stiffness:s,restDelta:u,restSpeed:h}))};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,P(t),S(t)),void 0!==c&&t>c)?d.next(t-c):(e||P(t),m)}}}let ia=t=>{let e=({timestamp:e})=>t(e);return{start:()=>tQ.update(e,!0),stop:()=>t0(e),now:()=>tH.isProcessing?tH.timestamp:performance.now()}};function il(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let iu={decay:io,inertia:io,tween:e6,keyframes:e6,spring:is};function ih({autoplay:t=!0,delay:e=0,driver:i=ia,keyframes:r,type:n="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:h,onUpdate:c,...d}){let p,m,f,g,y,v=1,b=!1,x=()=>{p&&p(),m=new Promise(t=>{p=t})};x();let w=iu[n]||e6;w!==e6&&"number"!=typeof r[0]&&(g=e7([0,100],r,{clamp:!1}),r=[0,100]);let P=w({...d,keyframes:r});"mirror"===a&&(y=w({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let S="idle",A=null,C=null,k=null;null===P.calculatedDuration&&s&&(P.calculatedDuration=il(P));let{calculatedDuration:T}=P,V=1/0,E=1/0;null!==T&&(E=(V=T+o)*(s+1)-o);let M=0,D=t=>{if(null===C)return;v>0&&(C=Math.min(C,t)),M=null!==A?A:(t-C)*v;let i=M-e,n=i<0;M=Math.max(i,0),"finished"===S&&null===A&&(M=E);let l=M,u=P;if(s){let t=M/V,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,e=Math.min(e,s+1);let r=!!(e%2);r&&("reverse"===a?(i=1-i,o&&(i-=o/V)):"mirror"===a&&(u=y));let n=F(0,1,i);M>E&&(n="reverse"===a&&r?1:0),l=n*V}let h=n?{done:!1,value:r[0]}:u.next(l);g&&(h.value=g(h.value));let{done:d}=h;n||null===T||(d=M>=E);let p=null===A&&("finished"===S||"running"===S&&d||v<0&&M<=0);return c&&c(h.value),p&&j(),h},O=()=>{f&&f.stop(),f=void 0},R=()=>{S="idle",O(),x(),C=k=null},j=()=>{S="finished",h&&h(),O(),x()},L=()=>
1{if(b)return;f||(f=i(D));let t=f.now();l&&l(),null!==A?C=t-A:C&&"finished"!==S||(C=t),k=C,A=null,S="running",f.start()};t&&L();let B={then:(t,e)=>m.then(t,e),get time(){return es(M)},set time(newTime){M=newTime=er(newTime),null===A&&f&&0!==v?C=f.now()-newTime/v:A=newTime},get duration(){let t=null===P.calculatedDuration?il(P):P.calculatedDuration;return es(t)},get speed(){return v},set speed(newSpeed){if(newSpeed===v||!f)return;v=newSpeed,B.time=es(M)},get state(){return S},play:L,pause:()=>{S="paused",A=M},stop:()=>{b=!0,"idle"!==S&&(S="idle",u&&u(),R())},cancel:()=>{null!==k&&D(k),R()},complete:()=>{S="finished"},sample:t=>(C=0,D(t))};return B}let ic=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),id=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&eu[e]||ea(e)||Array.isArray(e)&&e.every(t))}(e.ease),ip={type:"spring",stiffness:500,damping:25,restSpeed:10},im=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),ig={type:"keyframes",duration:.8},iy={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},iv=(t,{keyframes:e})=>e.length>2?ig:V.has(t)?t.startsWith("scale")?im(e[1]):ip:iy,ib=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eQ.test(e)||"0"===e)&&!e.startsWith("url(")),ix=new Set(["brightness","contrast","saturate","opacity"]);function iw(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(_)||[];if(!r)return t;let n=i.replace(r,""),s=ix.has(e)?1:0;return r!==i&&(s*=100),e+"("+s+n+")"}let iP=/([a-z-]*)\(.*?\)/g,iS={...eQ,getAnimatableNone:t=>{let e=t.match(iP);return e?e.map(iw).join(" "):t}},iA={...ti,color:eF,backgroundColor:eF,outlineColor:eF,fill:eF,stroke:eF,borderColor:eF,borderTopColor:eF,borderRightColor:eF,borderBottomColor:eF,borderLeftColor:eF,filter:iS,WebkitFilter:iS},iC=t=>iA[t];function ik(t,e){let i=iC(t);return i!==iS&&(i=eQ),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let iT=t=>/^0[^.\s]+$/.test(t);function iV(t,e){return t[e]||t.default||t}let iE=(t,e,i,r={})=>n=>{let s=iV(r,t)||{},o=s.delay||r.delay||0,{elapsed:a=0}=r;a-=er(o);let l=function(t,e,i,r){let n,s;let o=ib(e,i);n=Array.isArray(i)?[...i]:[null,i];let a=void 0!==r.from?r.from:t.get(),l=[];for(let t=0;t<n.length;t++){var u;null===n[t]&&(n[t]=0===t?a:n[t-1]),("number"==typeof(u=n[t])?0===u:null!==u?"none"===u||"0"===u||iT(u):void 0)&&l.push(t),"string"==typeof n[t]&&"none"!==n[t]&&"0"!==n[t]&&(s=n[t])}if(o&&l.length&&s)for(let t=0;t<l.length;t++){let i=l[t];n[i]=ik(e,s)}return n}(e,t,i,s),u=l[0],h=l[l.length-1],c=ib(t,u),d=ib(t,h);t2(c===d,`You are trying to animate ${t} from "${u}" to "${h}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${h} via the \`style\` property.`);let p={keyframes:l,velocity:e.getVelocity(),ease:"easeOut",...s,delay:-a,onUpdate:t=>{e.set(t),s.onUpdate&&s.onUpdate(t)},onComplete:()=>{n(),s.onComplete&&s.onComplete()}};if(!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(s)&&(p={...p,...iv(t,p)}),p.duration&&(p.duration=er(p.duration)),p.repeatDelay&&(p.repeatDelay=er(p.repeatDelay)),!c||!d||eo.current||!1===s.type)return function({keyframes:t,delay:e,onUpdate:i,onComplete:r}){let n=()=>(i&&i(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:t2,pause:t2,stop:t2,then:t=>(t(),Promise.resolve()),cancel:t2,complete:t2});return e?ih({keyframes:[0,1],duration:0,delay:e,onComplete:n}):n()}(p);if(e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let i=function(t,e,{onUpdate:i,onComplete:r,...n}){let s,o;let a=ed.waapi()&&ic.has(e)&&!n.repeatDelay&&"mirror"!==n.repeatType&&0!==n.damping&&"inertia"!==n.type;if(!a)return!1;let l=!1,u=()=>{o=new Promise(t=>{s=t})};u();let{keyframes:h,duration:c=300,ease:d,times:p}=n;if(id(e,n)){let t=ih({...n,repeat:0,delay:0}),e={done:!1,value:h[0]},i=[],r=0;for(;!e.done&&r<2e4;)i.push((e=t.sample(r)).value),r+=10;p=void 0,h=i,c=r-10,d="linear"}
1let m=function(t,e,i,{delay:r=0,duration:n,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=function t(e){if(e)return ea(e)?el(e):Array.isArray(e)?e.map(t):eu[e]}(a);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:r,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(t.owner.current,e,h,{...n,duration:c,ease:d,times:p}),f=()=>m.cancel(),g=()=>{tQ.update(f),s(),u()};return m.onfinish=()=>{t.set(function(t,{repeat:e,repeatType:i="loop"}){let r=e&&"loop"!==i&&e%2==1?0:t.length-1;return t[r]}(h,n)),r&&r(),g()},{then:(t,e)=>o.then(t,e),get time(){return es(m.currentTime||0)},set time(newTime){m.currentTime=er(newTime)},get speed(){return m.playbackRate},set speed(newSpeed){m.playbackRate=newSpeed},get duration(){return es(c)},play:()=>{l||(m.play(),t0(f))},pause:()=>m.pause(),stop:()=>{if(l=!0,"idle"===m.playState)return;let{currentTime:e}=m;if(e){let i=ih({...n,autoplay:!1});t.setWithVelocity(i.sample(e-10).value,i.sample(e).value,10)}g()},complete:()=>m.finish(),cancel:g}}(e,t,p);if(i)return i}return ih(p)};function iM(t){return!!(M(t)&&t.add)}let iD=t=>/^\-?\d*\.?\d+$/.test(t);function iO(t,e){-1===t.indexOf(e)&&t.push(e)}function iR(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class ij{constructor(){this.subscriptions=[]}add(t){return iO(this.subscriptions,t),()=>iR(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let iL=t=>!isNaN(parseFloat(t));class iB{constructor(t,e={}){this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:i,timestamp:r}=tH;this.lastUpdated!==r&&(this.timeDelta=i,this.lastUpdated=r,tQ.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>tQ.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=iL(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new ij);let i=this.events[t].add(e);return"change"===t?()=>{i(),tQ.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){var t,e;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(e=this.timeDelta)?t*(1e3/e):0):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function iF(t,e){return new iB(t,e)}let iI=t=>e=>e.test(t),iU=[I,Z,X,G,Q,J,{test:t=>"auto"===t,parse:t=>t}],iN=t=>iU.find(iI(t)),i$=[...iU,eF,eQ],i_=t=>i$.find(iI(t));function iW(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=t.makeTargetAnimatable(e),l=t.getValue("willChange");r&&(s=r);let u=[],h=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e),n=a[e];if(!r||void 0===n||h&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(h,e))continue;let o={delay:i,elapsed:0,...s};if(window.HandoffAppearAnimations&&!r.hasAnimated){let i=t.getProps()[ei];i&&(o.elapsed=window.HandoffAppearAnimations(i,e,r,tQ))}r.start(iE(e,r,n,t.shouldReduceMotion&&V.has(e)?{type:!1}:o));let c=r.animation;iM(l)&&(l.add(e),c.then(()=>l.remove(e))),u.push(c)}return o&&Promise.all(u).then(()=>{o&&function(t,e){let i=ee(t,e),{transitionEnd:r={},transition:n={},...s}=i?t.makeTargetAnimatable(i,!1):{};for(let e in s={...s,...r}){var o;let i=tT(s[e]);o=e,t.hasValue(o)?t.getValue(o).set(i):t.addValue(o,iF(i))}}(t,o)}),u}function iz(t,e,i={}){let r=ee(t,e,i.custom),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(iW(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;
1return function(t,e,i=0,r=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*r,l=1===n?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(iH).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(iz(t,e,{...s,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+r,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function iH(t,e){return t.sortNodePosition(e)}let iq=[...m].reverse(),iY=m.length;function iG(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let iX=0,iK=(t,e)=>Math.abs(t-e);class iZ{constructor(t,e,{transformPagePoint:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=i0(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){let i=iK(t.x,e.x),r=iK(t.y,e.y);return Math.sqrt(i**2+r**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:r}=t,{timestamp:n}=tH;this.history.push({...r,timestamp:n});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=iJ(e,this.transformPagePoint),tQ.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:i,onSessionEnd:r}=this.handlers,n=i0("pointercancel"===t.type?this.lastMoveEventInfo:iJ(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!tR(t))return;this.handlers=e,this.transformPagePoint=i;let r=tj(t),n=iJ(r,this.transformPagePoint),{point:s}=n,{timestamp:o}=tH;this.history=[{...s,timestamp:o}];let{onSessionStart:a}=e;a&&a(t,i0(n,this.history)),this.removeListeners=tI(tB(window,"pointermove",this.handlePointerMove),tB(window,"pointerup",this.handlePointerUp),tB(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),t0(this.updatePoint)}}function iJ(t,e){return e?{point:e(t.point)}:t}function iQ(t,e){return{x:t.x-e.x,y:t.y-e.y}}function i0({point:t},e){return{point:t,delta:iQ(t,i1(e)),offset:iQ(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=i1(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>er(.1)));)i--;if(!r)return{x:0,y:0};let s=es(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function i1(t){return t[t.length-1]}function i5(t){return t.max-t.min}function i2(t,e=0,i=.01){return Math.abs(t-e)<=i}function i3(t,e,i,r=.5){t.origin=r,t.originPoint=eI(e.min,e.max,t.origin),t.scale=i5(i)/i5(e),(i2(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=eI(i.min,i.max,t.origin)-t.originPoint,(i2(t.translate)||isNaN(t.translate))&&(t.translate=0)}function i9(t,e,i,r){i3(t.x,e.x,i.x,r?r.originX:void 0),i3(t.y,e.y,i.y,r?r.originY:void 0)}function i4(t,e,i){t.min=i.min+e.min,t.max=t.min+i5(e)}function i7(t,e,i){t.min=e.min-i.min,t.max=t.min+i5(e)}function i6(t,e,i){i7(t.x,e.x,i.x),i7(t.y,e.y,i.y)}function i8(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 rt(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function ri(t,e,i){return{min:rr(t,e),max:rr(t,i)}}function rr(t,e){return"number"==typeof t?t:t[e]||0}let rn=()=>({translate:0,scale:1,origin:0,originPoint:0}),rs=()=>({x:rn(),y:rn()}),ro=()=>({min:0,max:0}),ra=()=>({x:ro(),y:ro()});function rl(t){return[t("x"),t("y")]}function ru({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function rh(t){return void 0===t||1===t}function rc({scale:t,scaleX:e,scaleY:i}){return!rh(t)||!rh(e)||!rh(i)}function rd(t){return rc(t)||rp(t)||t.z||t.rotate||t.rotateX||t.rotateY}function rp(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function rm(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function rf(t,e=0,i=1,r,n){t.min=rm(t.min,e,i,r,n),t.max=rm(t.max,e,i,r,n)}function rg(t,{x:e,y:i}){rf(t.x,e.translate,e.scale,e.originPoint),rf(t.y,i.translate,i.scale,i.originPoint)}function ry(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function rv(t,e){t.min=t.min+e,t.max=t.max+e}function rb(t,e,[i,r,n]){let s=void 0!==e[n]?e[n]:.5,o=eI(t.min,t.max,s);rf(t,e[i],e[r],o,e.scale)}
1let rx=["x","scaleX","originX"],rw=["y","scaleY","originY"];function rP(t,e){rb(t.x,e,rx),rb(t.y,e,rw)}function rS(t,e){return ru(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let rA=new WeakMap;class rC{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ra(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let r=t=>{this.stopAnimation(),e&&this.snapToCursor(tj(t,"page").point)},n=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=t_(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rl(t=>{let e=this.getAxisMotionValue(t).get()||0;if(X.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];if(r){let t=i5(r);e=t*(parseFloat(e)/100)}}}this.originPoint[t]=e}),n&&tQ.update(()=>n(t,e),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},s=(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},o=(t,e)=>this.stop(t,e);this.panSession=new iZ(t,{onSessionStart:r,onStart:n,onMove:s,onSessionEnd:o},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:n}=this.getProps();n&&tQ.update(()=>n(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!rk(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?eI(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?eI(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:i}=this.visualElement.projection||{},r=this.constraints;t&&c(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:i8(t.x,i,n),y:i8(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:ri(t,"left","right"),y:ri(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&rl(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!c(e))return!1;let r=e.current;t2(null!==r,"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 s=function(t,e,i){let r=rS(t,i),{scroll:n}=e;return n&&(rv(r.x,n.offset.x),rv(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o={x:rt((t=n.layout.layoutBox).x,s.x),y:rt(t.y,s.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&&(o=ru(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{},l=rl(o=>{if(!rk(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)});return Promise.all(l).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start(iE(t,i,0,e))}stopAnimation(){rl(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),i=this.visualElement.getProps(),r=i[e];return r||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){rl(e=>{let{drag:i}=this.getProps();if(!rk(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-eI(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!c(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rl(t=>{let e=this.getAxisMotionValue(t);if(e){let i=e.get();r[t]=function(t,e){let i=.5,r=i5(t),n=i5(e);return n>r?i=e9(e.min,e.max-r,t.min):r>n&&(i=e9(t.min,t.max-n,e.min)),F(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&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),rl(e=>{if(!rk(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(eI(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;rA.set(this.visualElement,this);let t=this.visualElement.current,e=tB(t,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();c(t)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),i();let s=tO(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rl(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),e(),n(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function rk(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let rT=t=>(e,i)=>{t&&tQ.update(()=>t(e,i))},rV={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rE(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let rM={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!Z.test(t))return t;t=parseFloat(t)}let i=rE(t,e.target.x),r=rE(t,e.target.y);return`${i}% ${r}%`}};class rD extends n.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;Object.assign(k,rR),n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),rV.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,s=i.projection;return s&&(s.isPresent=n,r||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===n||(n?s.promote():s.relegate()||tQ.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rO(t){let[e,i]=function(){let t=(0,n.useContext)(a);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:r}=t,s=(0,n.useId)();(0,n.useEffect)(()=>r(s),[]);let o=()=>i&&i(s);return!e&&i?[!1,o]:[!0]}(),r=(0,n.useContext)(w);return n.createElement(rD,{...t,layoutGroup:r,switchLayoutGroup:(0,n.useContext)(P),isPresent:e,safeToRemove:i})}let rR={borderRadius:{...rM,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rM,borderTopRightRadius:rM,borderBottomLeftRadius:rM,borderBottomRightRadius:rM,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=eQ.parse(t);if(r.length>5)return t;let n=eQ.createTransformer(t),s="number"!=typeof r[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=eI(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}},rj=["TopLeft","TopRight","BottomLeft","BottomRight"],rL=rj.length,rB=t=>"string"==typeof t?parseFloat(t):t,rF=t=>"number"==typeof t||Z.test(t);function rI(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rU=r$(0,.5,eP),rN=r$(.5,.95,t2);function r$(t,e,i){return r=>r<t?0:r>e?1:i(e9(t,e,r))}function r_(t,e){t.min=e.min,t.max=e.max}function rW(t,e){r_(t.x,e.x),r_(t.y,e.y)}function rz(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function rH(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(X.test(e)){e=parseFloat(e);let t=eI(o.min,o.max,e/100);e=t-o.min}if("number"!=typeof e)return;let a=eI(s.min,s.max,r);t===s&&(a-=e),t.min=rz(t.min,e,i,a,n),t.max=rz(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let rq=["x","scaleX","originX"],rY=["y","scaleY","originY"];function rG(t,e,i,r){rH(t.x,e,rq,i?i.x:void 0,r?r.x:void 0),rH(t.y,e,rY,i?i.y:void 0,r?r.y:void 0)}function rX(t){return 0===t.translate&&1===t.scale}function rK(t){return rX(t.x)&&rX(t.y)}function rZ(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function rJ(t){return i5(t.x)/i5(t.y)}class rQ{constructor(){this.members=[]}add(t){iO(this.members,t),t.scheduleRender()}remove(t){if(iR(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function r0(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y;if((n||s)&&(r=`translate3d(${n}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{rotate:t,rotateX:e,rotateY:n}=i;t&&(r+=`rotate(${t}deg) `),e&&(r+=`rotateX(${e}deg) `),n&&(r+=`rotateY(${n}deg) `)}let o=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==o||1!==a)&&(r+=`scale(${o}, ${a})`),r||"none"}let r1=(t,e)=>t.depth-e.depth;class r5{constructor(){this.children=[],this.isDirty=!1}add(t){iO(this.children,t),this.isDirty=!0}remove(t){iR(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(r1),this.isDirty=!1,this.children.forEach(t)}}let r2=["","X","Y","Z"],r3=0,r9={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function r4({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=null==e?void 0:e()){this.id=r3++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{r9.totalNodes=r9.resolvedTargetDeltas=r9.recalculatedProjection=0,this.nodes.forEach(r8),this.nodes.forEach(no),this.nodes.forEach(na),this.nodes.forEach(nt),window.MotionDebug&&window.MotionDebug.record(r9)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new r5)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ij),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(n||r)&&(this.isLayoutDirty=!0),t){let i;let r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=performance.now(),r=({timestamp:n})=>{let s=n-i;s>=e&&(t0(r),t(s-e))};return tQ.read(r,!0),()=>t0(r)}(r,250),rV.hasAnimatedSinceResize&&(rV.hasAnimatedSinceResize=!1,this.nodes.forEach(ns))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||np,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!rZ(this.targetLayout,r)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...iV(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||ns(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,t0(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(nl),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;let t=this.isUpdateBlocked();if(t){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ni);return}this.isUpdating||this.nodes.forEach(nr),this.isUpdating=!1,this.nodes.forEach(nn),this.nodes.forEach(r7),this.nodes.forEach(r6),this.clearAllSnapshots();let e=performance.now();tH.delta=F(0,1e3/60,e-tH.timestamp),tH.timestamp=e,tH.isProcessing=!0,tX.update.process(tH),tX.preRender.process(tH),tX.render.process(tH),tH.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(ne),this.sharedNodes.forEach(nu)}scheduleUpdateProjection(){tQ.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){tQ.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++){let e=this.path[t];e.updateScroll()}let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ra(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:r(this.instance),offset:i(this.instance)})}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!rK(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&(e||rd(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),nm((e=r).x),nm(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return ra();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(rv(e.x,i.offset.x),rv(e.y,i.offset.y)),e}removeElementScroll(t){let e=ra();rW(e,t);for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;if(r!==this.root&&n&&s.layoutScroll){if(n.isRoot){rW(e,t);let{scroll:i}=this.root;i&&(rv(e.x,-i.offset.x),rv(e.y,-i.offset.y))}rv(e.x,n.offset.x),rv(e.y,n.offset.y)}}return e}applyTransform(t,e=!1){let i=ra();rW(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&rP(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),rd(r.latestValues)&&rP(i,r.latestValues)}return rd(this.latestValues)&&rP(i,this.latestValues),i}removeTransform(t){let e=ra();rW(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!rd(i.latestValues))continue;rc(i.latestValues)&&i.updateSnapshot();let r=ra(),n=i.measurePageBox();rW(r,n),rG(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return rd(this.latestValues)&&rG(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tH.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,r,n;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
1haredProjectionDirty);let o=!!this.resumingFrom||this!==s,a=!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(a)return;let{layout:l,layoutId:u}=this.options;if(this.layout&&(l||u)){if(this.resolvedRelativeTargetAt=tH.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ra(),this.relativeTargetOrigin=ra(),i6(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rW(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=ra(),this.targetWithTransforms=ra()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,r=this.relativeTarget,n=this.relativeParent.target,i4(i.x,r.x,n.x),i4(i.y,r.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rW(this.target,this.layout.layoutBox),rg(this.target,this.targetDelta)):rW(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ra(),this.relativeTargetOrigin=ra(),i6(this.relativeTargetOrigin,this.target,t.target),rW(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}r9.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||rc(this.parent.latestValues)||rp(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(r=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===tH.timestamp&&(r=!1),r)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;rW(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,r=!1){let n,s;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let o=n.instance;(!o||!o.style||"contents"!==o.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&rP(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,rg(t,s)),r&&rd(n.latestValues)&&rP(t,n.latestValues))}e.x=ry(e.x),e.y=ry(e.y)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox);let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=rs(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=rs(),this.projectionDeltaWithTransform=rs());let u=this.projectionTransform;i9(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=r0(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),r9.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let i;let r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=rs();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=ra(),l=r?r.source:void 0,u=this.layout?this.layout.source:void 0,h=l!==u,c=this.getStack(),d=!c||c.members.length<=1,p=!!(h&&!d&&!0===this.options.crossfade&&!this.path.some(nd));this.animationProgress=0,this.mixTargetDelta=e=>{var r,l;let u=e/1e3;nh(o.x,t.x,u),nh(o.y,t.y,u),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(i6(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),r=this.relativeTarget,l=this.relativeTargetOrigin,nc(r.x,l.x,a.x,u),nc(r.y,l.y,a.y,u),i&&rZ(this.relativeTarget,i)&&(this.isProjectionDirty=!1),i||(i=ra()),rW(i,this.relativeTarget)),h&&(this.animationValues=s,function(t,e,
1i,r,n,s){n?(t.opacity=eI(0,void 0!==i.opacity?i.opacity:1,rU(r)),t.opacityExit=eI(void 0!==e.opacity?e.opacity:1,0,rN(r))):s&&(t.opacity=eI(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,r));for(let n=0;n<rL;n++){let s=`border${rj[n]}Radius`,o=rI(e,s),a=rI(i,s);if(void 0===o&&void 0===a)continue;o||(o=0),a||(a=0);let l=0===o||0===a||rF(o)===rF(a);l?(t[s]=Math.max(eI(rB(o),rB(a),r),0),(X.test(a)||X.test(o))&&(t[s]+="%")):t[s]=a}(e.rotate||i.rotate)&&(t.rotate=eI(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,u,p,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=u},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(t0(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tQ.update(()=>{rV.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let r=M(t)?t:iF(t);return r.start(iE("",r,1e3,i)),r.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&nf(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||ra();let e=i5(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=i5(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}rW(e,i),rP(e,n),i9(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rQ);let i=this.sharedNodes.get(t);i.add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(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 r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(e=!0),!e)return;let r={};for(let e=0;e<r2.length;e++){let n="rotate"+r2[e];i[n]&&(r[n]=i[n],t.setStaticValue(n,0))}for(let e in t.render(),r)t.setStaticValue(e,r[e]);t.scheduleRender()}getProjectionStyles(t={}){var e,i;let r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";let n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tV(t.pointerEvents)||"",r.transform=n?n(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tV(t.pointerEvents)||""),this.hasProjected&&!rd(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=r0(this.projectionDeltaWithTransform,this.treeScale,o),n&&(r.transform=n(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(i=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,k){if(void 0===o[t])continue;let{correct:e,applyTo:i}=k[t],n="none"===r.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)r[i[e]]=n}else r[t]=n}return this.options.layoutId&&(r.pointerEvents=s===this?tV(t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
1resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(ni),this.root.sharedNodes.clear()}}}function r7(t){t.updateLayout()}function r6(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:n}=t.options,s=i.source!==t.layout.source;"size"===n?rl(t=>{let r=s?i.measuredBox[t]:i.layoutBox[t],n=i5(r);r.min=e[t].min,r.max=r.min+n}):nf(n,i.layoutBox,e)&&rl(r=>{let n=s?i.measuredBox[r]:i.layoutBox[r],o=i5(e[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=rs();i9(o,e,i.layoutBox);let a=rs();s?i9(a,t.applyTransform(r,!0),i.measuredBox):i9(a,e,i.layoutBox);let l=!rK(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=ra();i6(o,i.layoutBox,n.layoutBox);let a=ra();i6(a,e,s.layoutBox),rZ(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}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&&e()}t.options.transition=void 0}function r8(t){r9.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nt(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ne(t){t.clearSnapshot()}function ni(t){t.clearMeasurements()}function nr(t){t.isLayoutDirty=!1}function nn(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ns(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function no(t){t.resolveTargetDelta()}function na(t){t.calcProjection()}function nl(t){t.resetRotation()}function nu(t){t.removeLeadSnapshot()}function nh(t,e,i){t.translate=eI(e.translate,0,i),t.scale=eI(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nc(t,e,i,r){t.min=eI(e.min,i.min,r),t.max=eI(e.max,i.max,r)}function nd(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let np={duration:.45,ease:[.4,0,.1,1]};function nm(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function nf(t,e,i){return"position"===t||"preserve-aspect"===t&&!i2(rJ(e),rJ(i),.2)}let ng=r4({attachResizeListener:(t,e)=>tO(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ny={current:void 0},nv=r4({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ny.current){let t=new ng({});t.mount(window),t.setOptions({layoutScroll:!0}),ny.current=t}return ny.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),nb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function nx(t,e,i=1){t2(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,n]=function(t){let e=nb.exec(t);if(!e)return[,];let[,i,r]=e;return[i,r]}(t);if(!r)return;let s=window.getComputedStyle(e).getPropertyValue(r);return s?s.trim():L(n)?nx(n,e,i+1):n}let nw=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),nP=t=>nw.has(t),nS=t=>Object.keys(t).some(nP),nA=t=>t===I||t===Z,nC=(t,e)=>parseFloat(t.split(", ")[e]),nk=(t,e)=>(i,{transform:r})=>{if("none"===r||!r)return 0;let n=r.match(/^matrix3d\((.+)\)$/);if(n)return nC(n[1],e);{let e=r.match(/^matrix\((.+)\)$/);return e?nC(e[1],t):0}},nT=new Set(["x","y","z"]),nV=T.filter(t=>!nT.has(t)),nE={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:nk(4,13),y:nk(5,14)}
1,nM=(t,e,i)=>{let r=e.measureViewportBox(),n=e.current,s=getComputedStyle(n),{display:o}=s,a={};"none"===o&&e.setStaticValue("display",t.display||"block"),i.forEach(t=>{a[t]=nE[t](r,s)}),e.render();let l=e.measureViewportBox();return i.forEach(i=>{let r=e.getValue(i);r&&r.jump(a[i]),t[i]=nE[i](l,s)}),t},nD=(t,e,i={},r={})=>{e={...e},r={...r};let n=Object.keys(e).filter(nP),s=[],o=!1,a=[];if(n.forEach(n=>{let l;let u=t.getValue(n);if(!t.hasValue(n))return;let h=i[n],c=iN(h),d=e[n];if(tC(d)){let t=d.length,e=null===d[0]?1:0;c=iN(h=d[e]);for(let i=e;i<t&&null!==d[i];i++)l?t2(iN(d[i])===l,"All keyframes must be of the same type"):t2((l=iN(d[i]))===c||nA(c)&&nA(l),"Keyframes must be of the same dimension as the current value")}else l=iN(d);if(c!==l){if(nA(c)&&nA(l)){let t=u.get();"string"==typeof t&&u.set(parseFloat(t)),"string"==typeof d?e[n]=parseFloat(d):Array.isArray(d)&&l===Z&&(e[n]=d.map(parseFloat))}else(null==c?void 0:c.transform)&&(null==l?void 0:l.transform)&&(0===h||0===d)?0===h?u.set(l.transform(h)):e[n]=c.transform(d):(o||(s=function(t){let e=[];return nV.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(i.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),o=!0),a.push(n),r[n]=void 0!==r[n]?r[n]:e[n],u.jump(d))}}),!a.length)return{target:e,transitionEnd:r};{let i=a.indexOf("height")>=0?window.pageYOffset:null,n=nM(e,t,a);return s.length&&s.forEach(([e,i])=>{t.getValue(e).set(i)}),t.render(),l&&null!==i&&window.scrollTo({top:i}),{target:n,transitionEnd:r}}},nO=(t,e,i,r)=>{var n,s;let o=function(t,{...e},i){let r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:i};for(let n in i&&(i={...i}),t.values.forEach(t=>{let e=t.get();if(!L(e))return;let i=nx(e,r);i&&t.set(i)}),e){let t=e[n];if(!L(t))continue;let s=nx(t,r);s&&(e[n]=s,i||(i={}),void 0===i[n]&&(i[n]=t))}return{target:e,transitionEnd:i}}(t,e,r);return e=o.target,r=o.transitionEnd,n=e,s=r,nS(n)?nD(t,n,i,s):{target:n,transitionEnd:s}},nR={current:null},nj={current:!1},nL=new WeakMap,nB=Object.keys(x),nF=nB.length,nI=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],nU=f.length;class nN{constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,visualState:n},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>tQ.render(this.render,!1,!0);let{latestValues:o,renderState:a}=n;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.isControllingVariants=g(e),this.isVariantNode=y(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let t in u){let e=u[t];void 0!==o[t]&&M(e)&&(e.set(o[t],!1),iM(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,nL.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),nj.current||function(){if(nj.current=!0,l){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>nR.current=t.matches;t.addListener(e),e()}else nR.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nR.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in nL.delete(this.current),this.projection&&this.projection.unmount(),t0(this.notifyUpdate),t0(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let i=V.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tQ.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),n()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},i,r,n){let s,o;for(let t=0;t<nF;t++){let i=nB[t],{isEnabled:r,Feature:n,ProjectionNode:a,MeasureLayout:l}=x[i];a&&(s=a),r(e)&&(!this.features[i]&&n&&(this.features[i]=new n(this)),l&&(o=l))}if(!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:i,drag:r,dragConstraints:o,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:i,alwaysMeasureLayout:!!r||o&&c(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let t in this.features){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ra()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<nI.length;e++){let i=nI[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){let{willChange:r}=e;for(let n in e){let s=e[n],o=i[n];if(M(s))t.addValue(n,s),iM(r)&&r.add(n);else if(M(o))t.addValue(n,iF(s,{owner:t})),iM(r)&&r.remove(n);else if(o!==s){if(t.hasValue(n)){let e=t.getValue(n);e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,iF(void 0!==e?e:s,{owner:t}))}}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<nU;t++){let i=f[t],r=this.props[i];(d(r)||!1===r)&&(e[i]=r)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=iF(e,{owner:this}),this.addValue(t,i)),i}readValue(t){return void 0===this.latestValues[t]&&this.current?this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:i}=this.props,r="string"==typeof i||"object"==typeof i?null===(e=tA(this.props,i))||void 0===e?void 0:e[t]:void 0;if(i&&void 0!==r)return r;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||M(n)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new ij),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class n$ extends nN{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...i},{transformValues:r},n){let s=function(t,e,i){let r={};for(let n in t){let t=function(t,e){if(!e)return;let i=e[t]||e.default||e;return i.from}(n,e);if(void 0!==t)r[n]=t;else{let t=i.getValue(n);t&&(r[n]=t.get())}}return r}(i,t||{},this);if(r&&(e&&(e=r(e)),i&&(i=r(i)),s&&(s=r(s))),n){!function(t,e,i){var r,n;let s=Object.keys(e).filter(e=>!t.hasValue(e)),o=s.length;if(o)for(let a=0;a<o;a++){let o=s[a],l=e[o],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(n=null!==(r=i[o])&&void 0!==r?r:t.readValue(o))&&void 0!==n?n:e[o]),null!=u&&("string"==typeof u&&(iD(u)||iT(u))?u=parseFloat(u):!i_(u)&&eQ.test(l)&&(u=ik(o,l)),t.addValue(o,iF(u,{owner:t})),void 0===i[o]&&(i[o]=u),null!==u&&t.setBaseTarget(o,u))}}(this,i,s);let t=nO(this,i,s,e);e=t.transitionEnd,i=t.target}return{transition:t,transitionEnd:e,...i}}}class n_ extends n${readValueFromInstance(t,e){if(V.has(e)){let t=iC(e);return t&&t.default||0}{let i=window.getComputedStyle(t),r=(j(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return rS(t,e)}build(t,e,i,r){tr(t,e,i,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return tP(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;M(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,i,r){tb(t,e,i,r)}}class nW extends n${constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(V.has(e)){let t=iC(e);return t&&t.default||0}return e=tx.has(e)?e:tv(e),t.getAttribute(e)}measureInstanceViewportBox(){return ra()}scrapeMotionValuesFromProps(t,e){return tS(t,e)}build(t,e,i,r){tm(t,e,i,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,i,r){tw(t,e,i,r)}mount(t){this.isSVGTag=tg(t.tagName),super.mount(t)}}let nz=(t,e)=>C(t)?new nW(e,{enableHardwareAcceleration:!1}):new n_(e,{enableHardwareAcceleration:!0}),nH={animation:{Feature:class extends tz{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>
1(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e)){let n=e.map(e=>iz(t,e,i));r=Promise.all(n)}else if("string"==typeof e)r=iz(t,e,i);else{let n="function"==typeof e?ee(t,e,i.custom):e;r=Promise.all(iW(t,n,i))}return r.then(()=>t.notify("AnimationComplete",e))})(t,e,i))),i={animate:iG(!0),whileInView:iG(),whileHover:iG(),whileTap:iG(),whileDrag:iG(),whileFocus:iG(),exit:iG()},r=!0,n=(e,i)=>{let r=ee(t,i);if(r){let{transition:t,transitionEnd:i,...n}=r;e={...e,...n,...i}}return e};function s(s,o){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],h=new Set,c={},m=1/0;for(let e=0;e<iY;e++){var f;let g=iq[e],y=i[g],v=void 0!==a[g]?a[g]:l[g],b=d(v),x=g===o?y.isActive:null;!1===x&&(m=e);let w=v===l[g]&&v!==a[g]&&b;if(w&&r&&t.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...c},!y.isActive&&null===x||!v&&!y.prevProp||p(v)||"boolean"==typeof v)continue;let P=(f=y.prevProp,"string"==typeof v?v!==f:!!Array.isArray(v)&&!et(v,f)),S=P||g===o&&y.isActive&&!w&&b||e>m&&b,A=Array.isArray(v)?v:[v],C=A.reduce(n,{});!1===x&&(C={});let{prevResolvedValues:k={}}=y,T={...k,...C},V=t=>{S=!0,h.delete(t),y.needsAnimating[t]=!0};for(let t in T){let e=C[t],i=k[t];c.hasOwnProperty(t)||(e!==i?tC(e)&&tC(i)?!et(e,i)||P?V(t):y.protectedKeys[t]=!0:void 0!==e?V(t):h.add(t):void 0!==e&&h.has(t)?V(t):y.protectedKeys[t]=!0)}y.prevProp=v,y.prevResolvedValues=C,y.isActive&&(c={...c,...C}),r&&t.blockInitialAnimation&&(S=!1),S&&!w&&u.push(...A.map(t=>({animation:t,options:{type:g,...s}})))}if(h.size){let e={};h.forEach(i=>{let r=t.getBaseTarget(i);void 0!==r&&(e[i]=r)}),u.push({animation:e})}let g=!!u.length;return r&&!1===a.initial&&!t.manuallyAnimateOnMount&&(g=!1),r=!1,g?e(u):Promise.resolve()}return{animateChanges:s,setActive:function(e,r,n){var o;if(i[e].isActive===r)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,r)}),i[e].isActive=r;let a=s(n,e);for(let t in i)i[t].protectedKeys={};return a},setAnimateFunction:function(i){e=i(t)},getState:()=>i}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),p(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends tz{constructor(){super(...arguments),this.id=iX++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:i}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let n=this.node.animationState.setActive("exit",!t,{custom:null!=i?i:this.node.getProps().custom});e&&!t&&n.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends tz{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:r="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof r?r:t8[r]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};return function(t,e,i){let r=function({root:t,...e}){let i=t||document;t4.has(i)||t4.set(i,{});let r=t4.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(t6,{root:t,...e})),r[n]}(e);return t9.set(t,i),r.observe(t),()=>{t9.delete(t),r.unobserve(t)}}(this.node.current,s,o)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node,i=["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e));i&&this.startObserver()}unmount(){}}},tap:{Feature:class extends tz{constructor(){super(...arguments),this.removeStartListeners=t2,this.removeEndListeners=t2,this.removeAccessibleListeners=t2,this.startPointerPress=(t,e)=>{if(this.removeEndListeners(),this.isPressing)return;let i=this.node.getProps(),r=(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:r}=this.node.getProps();tQ.update(()=>{t5(this.node.current,t.target)?i&&i(t,e):r&&r(t,e)})},n=tB(window,"pointerup",r,{passive:!(i.onTap||i.onPointerUp)}),s=tB(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=tI(n,s),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=t=>{if("Enter"!==t.key||this.isPressing)return;let e=t=>{"Enter"===t.key&&this.checkPressEnd()&&t3("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&tQ.update(()=>i(t,e))})};this.removeEndListeners(),this.removeEndListeners=tO(this.node.current,"keyup",e),t3("down",(t,e)=>{this.startPress(t,e)})},e=tO(this.node.current,"keydown",t),i=()=>{this.isPressing&&t3("cancel",(t,e)=>this.cancelPress(t,e))},r=tO(this.node.current,"blur",i);this.removeAccessibleListeners=tI(e,r)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&tQ.update(()=>i(t,e))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let t=this.node.getProps();return t.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tW()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&tQ.update(()=>i(t,e))}mount(){let t=this.node.getProps(),e=tB(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=tO(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tI(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends tz{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tI(tO(this.node.current,"focus",()=>this.onFocus()),tO(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends tz{mount(){this.unmount=tI(t1(this.node,!0),t1(this.node,!1))}unmount(){}}},pan:{Feature:class extends tz{constructor(){super(...arguments),this.removePointerDownListener=t2}onPointerDown(t){this.session=new iZ(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:rT(t),onStart:rT(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&tQ.update(()=>r(t,e))}}}mount(){this.removePointerDownListener=tB(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends tz{constructor(t){super(t),this.removeGroupControls=t2,this.removeListeners=t2,this.controls=new rC(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||t2}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:nv,MeasureLayout:rO},layout:{ProjectionNode:nv,MeasureLayout:rO}},nq=function(t){function e(e,i={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:r,Component:p}){t&&function(t){for(let e in t)x[e]={...x[e],...t[e]}}(t);let m=(0,n.forwardRef)(function(m,f){var y,b;let x;let S={...(0,n.useContext)(s),...m,layoutId:function({layoutId:t}){let e=(0,n.useContext)(w).id;return e&&void 0!==t?e+"-"+t:t}(m)},{isStatic:A}=S,C=function(t){let{initial:e,animate:i}=function(t,e){if(g(t)){let{initial:e,animate:i}=t;return{initial:!1===e||d(e)?e:void 0,animate:d(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(o));return(0,n.useMemo)(()=>({initial:e,animate:i}),[v(e),v(i)])}(m),k=r(m,A);
1if(!A&&l){C.visualElement=function(t,e,i,r){let{visualElement:l}=(0,n.useContext)(o),c=(0,n.useContext)(h),d=(0,n.useContext)(a),p=(0,n.useContext)(s).reducedMotion,m=(0,n.useRef)();r=r||c.renderer,!m.current&&r&&(m.current=r(t,{visualState:e,parent:l,props:i,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p}));let f=m.current;(0,n.useInsertionEffect)(()=>{f&&f.update(i,d)}),u(()=>{f&&f.render()}),(0,n.useEffect)(()=>{f&&f.updateFeatures()});let g=window.HandoffAppearAnimations?u:n.useEffect;return g(()=>{f&&f.animationState&&f.animationState.animateChanges()}),f}(p,k,S,e);let i=(0,n.useContext)(P),r=(0,n.useContext)(h).strict;C.visualElement&&(x=C.visualElement.loadFeatures(S,r,t,i))}return n.createElement(o.Provider,{value:C},x&&C.visualElement?n.createElement(x,{visualElement:C.visualElement,...S}):null,i(p,m,(y=C.visualElement,b=f,(0,n.useCallback)(t=>{t&&k.mount&&k.mount(t),y&&(t?y.mount(t):y.unmount()),b&&("function"==typeof b?b(t):c(b)&&(b.current=t))},[y])),k,A,C.visualElement))});return m[S]=p,m}(t(e,i))}if("undefined"==typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,r)=>(i.has(r)||i.set(r,e(r)),i.get(r))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},i,r){let s=C(t)?tM:tD;return{...s,preloadedFeatures:i,useRender:function(t=!1){let e=(e,i,r,{latestValues:s},o)=>{let a=C(e)?ty:ta,l=a(i,s,o,e),u=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(th(n)||!0===i&&tu(n)||!e&&!tu(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(i,"string"==typeof e,t),h={...u,...l,ref:r},{children:c}=i,d=(0,n.useMemo)(()=>M(c)?c.get():c,[c]);return(0,n.createElement)(e,{...h,children:d})};return e}(e),createVisualElement:r,Component:t}})(t,e,nH,nz))},4305:function(t,e,i){"use strict";i.d(e,{n:function(){return s}});var r=i(7294);let n=(t,e,i)=>{let r=e-t;return((i-t)%r+r)%r+t};function s(...t){let e=(0,r.useRef)(0),[i,o]=(0,r.useState)(t[e.current]),a=(0,r.useCallback)(i=>{e.current="number"!=typeof i?n(0,t.length,e.current+1):i,o(t[e.current])},[t.length,...t]);return[i,a]}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.