PageSourceSearch

https://3billion.io/_next/static/chunks/6bded800696732ad.js

js 3billion.io collected 2026-09-24 20:24:42 UTC 140,271 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b20fbaf7-44e9-543d-8fed-5edeeb36dafa")}catch(e){}}();
3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,154505,157788,476959,766820,463011,265091,22660,279444,569577,130162,83411,864440,965566,19928,260830,846791,880248,287022,921012,763074,133887,570596,260900,930551,414229,779294,504169,960855,756512,997307,368e3,560140,496173,325791,486427,885983,732525,706840,587576,386579,617218,793787,544947,181261,399951,100706,924463,130789,984049,767926,27677,177777,135636,153689,944966,t=>{"use strict";let e;t.s(["createDomVisualElement",()=>ia],154505),t.s(["transformPropOrder",()=>i,"transformProps",()=>n],157788);let i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(i);t.s(["color",()=>S],279444),t.s(["hex",()=>f],463011),t.s(["rgba",()=>p],766820),t.s(["clamp",()=>s],476959);let s=(t,e,i)=>i>e?e:i<t?t:i,r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...r,transform:t=>s(0,1,t)},a={...r,default:1},l=t=>Math.round(1e5*t)/1e5,u=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,h=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,c=(t,e)=>i=>!!("string"==typeof i&&h.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),d=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,r,o,a]=n.match(u);return{[t]:parseFloat(s),[e]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},m={...r,transform:t=>Math.round(s(0,255,t))},p={test:c("rgb","red"),parse:d("red","green","blue"),transform:t=>{let{red:e,green:i,blue:n,alpha:s=1}=t;return"rgba("+m.transform(e)+", "+m.transform(i)+", "+m.transform(n)+", "+l(o.transform(s))+")"}},f={test:c("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:p.transform};t.s(["hsla",()=>P],22660),t.s(["degrees",()=>g,"percent",()=>y,"progressPercentage",()=>b,"px",()=>x,"vh",()=>T,"vw",()=>w],265091);let v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>"".concat(e).concat(t)}),g=v("deg"),y=v("%"),x=v("px"),T=v("vh"),w=v("vw"),b={...y,parse:t=>y.parse(t)/100,transform:t=>y.transform(100*t)},P={test:c("hsl","hue"),parse:d("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:i,lightness:n,alpha:s=1}=t;return"hsla("+Math.round(e)+", "+y.transform(l(i))+", "+y.transform(l(n))+", "+l(o.transform(s))+")"}},S={test:t=>p.test(t)||f.test(t)||P.test(t),parse:t=>p.test(t)?p.parse(t):P.test(t)?P.parse(t):f.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?p.transform(t):P.transform(t),getAnimatableNone:t=>{let e=S.parse(t);return e.alpha=0,S.transform(e)}};t.s(["analyseComplexValue",()=>C,"complex",()=>L],569577);let A=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,M="number",V="color",E=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function C(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],r=0,o=e.replace(E,t=>(S.test(t)?(n.color.push(r),s.push(V),i.push(S.parse(t))):t.startsWith("var(")?(n.var.push(r),s.push("var"),i.push(t)):(n.number.push(r),s.push(M),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:n,types:s}}function D(t){return C(t).values}function k(t){let{split:e,types:i}=C(t),n=e.length;return t=>{let s="";for(let r=0;r<n;r++)if(s+=e[r],void 0!==t[r]){let e=i[r];e===M?s+=l(t[r]):e===V?s+=S.transform(t[r]):s+=t[r]}return s}}let R=t=>"number"==typeof t?0:S.test(t)?S.getAnimatableNone(t):t,L={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(u))?void 0:e.length)||0)+((null==(i=t.match(A))?void 0:i.length)||0)>0},parse:D,createTransformer:k,getAnimatableNone:function(t){let e=D(t);return k(t)(e.map(R))}},B=new Set(["brightness","contrast","saturate","opacity"]);function F(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(u)||[];if(!n)return t;let s=i.replace(n,""),r=+!!B.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let j=/\b([a-z-]*)\(.*?\)/gu,I={...L,getAnimatableNone:t=>{let e=t.match(j);return e?e.map(F).join(" "):t}},O={...L,getAnimatableNone:t=>{let e=L.parse(t);return L.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},N={...r,transform:Math.round},U={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,inset:x,insetBlock:x,insetBlockStart:x,insetBlockEnd:x,insetInline:x,insetInlineStart:x,insetInlineEnd:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,paddingBlock:x,paddingBlockStart:x,paddingBlockEnd:x,paddingInline:x,paddingInlineStart:x,paddingInlineEnd:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,marginBlock:x,marginBlockStart:x,marginBlockEnd:x,marginInline:x,marginInlineStart:x,marginInlineEnd:x,fontSize:x,backgroundPositionX:x,backgroundPositionY:x,rotate:g,rotateX:g,rotateY:g,rotateZ:g,scale:a,scaleX:a,scaleY:a,scaleZ:a,skew:g,skewX:g,skewY:g,distance:x,translateX:x,translateY:x,translateZ:x,x:x,y:x,z:x,perspective:x,transformPerspective:x,opacity:o,originX:b,originY:b,originZ:x,zIndex:N,fillOpacity:o,strokeOpacity:o,numOctaves:N},W={...U,color:S,backgroundColor:S,outlineColor:S,fill:S,stroke:S,borderColor:S,borderTopColor:S,borderRightColor:S,borderBottomColor:S,borderLeftColor:S,filter:I,WebkitFilter:I,mask:O,WebkitMask:O},G=t=>W[t];t.s(["createBox",()=>K,"createDelta",()=>H],130162);let z=()=>({translate:0,scale:1,origin:0,originPoint:0}),H=()=>({x:z(),y:z()}),Y=()=>({min:0,max:0}),K=()=>({x:Y(),y:Y()});t.s(["isMotionValue",()=>X],83411);let X=t=>!!(t&&t.getVelocity);t.s(["positionalKeys",()=>q],864440);let q=new Set(["width","height","top","left","right","bottom",...i]),_=t=>e=>e.test(t),Z=[r,x,y,g,w,T,{test:t=>"auto"===t,parse:t=>t}],$=t=>Z.find(_(t));t.s(["invariant",()=>ti,"warning",()=>te],965566);var J,Q=t.i(247167);function tt(t,e){return e?"".concat(t,". For more information and steps for solving, visit https://motion.dev/troubleshooting/").concat(e):t}let te=()=>{},ti=()=>{};void 0!==Q.default&&(null==(J=Q.default.env)?void 0:J.NODE_ENV)!=="production"&&(te=(t,e,i)=>{t||"undefined"==typeof console||console.warn(tt(e,i))}
3,ti=(t,e,i)=>{if(!t)throw Error(tt(e,i))});let tn=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["containsCSSVariable",()=>tu,"isCSSVariableName",()=>tr,"isCSSVariableToken",()=>ta],19928);let ts=t=>e=>"string"==typeof e&&e.startsWith(t),tr=ts("--"),to=ts("var(--"),ta=t=>!!to(t)&&tl.test(t.split("/*")[0].trim()),tl=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tu(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let th=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;t.s(["KeyframeResolver",()=>tW,"flushKeyframeResolvers",()=>tU],921012);let tc=t=>180*t/Math.PI,td=t=>tp(tc(Math.atan2(t[1],t[0]))),tm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:td,rotateZ:td,skewX:t=>tc(Math.atan(t[1])),skewY:t=>tc(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tp=t=>((t%=360)<0&&(t+=360),t),tf=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tv=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tg={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tf,scaleY:tv,scale:t=>(tf(t)+tv(t))/2,rotateX:t=>tp(tc(Math.atan2(t[6],t[5]))),rotateY:t=>tp(tc(Math.atan2(-t[2],t[0]))),rotateZ:td,rotate:td,skewX:t=>tc(Math.atan(t[4])),skewY:t=>tc(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ty(t){return+!!t.includes("scale")}function tx(t,e){let i,n;if(!t||"none"===t)return ty(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=tg,n=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tm,n=e}if(!n)return ty(e);let r=i[e],o=n[1].split(",").map(tT);return"function"==typeof r?r(o):o[r]}function tT(t){return parseFloat(t.trim())}let tw=t=>t===r||t===x,tb=new Set(["x","y","z"]),tP=i.filter(t=>!tb.has(t)),tS={width:(t,e)=>{let{x:i}=t,{paddingLeft:n="0",paddingRight:s="0"}=e;return i.max-i.min-parseFloat(n)-parseFloat(s)},height:(t,e)=>{let{y:i}=t,{paddingTop:n="0",paddingBottom:s="0"}=e;return i.max-i.min-parseFloat(n)-parseFloat(s)},top:(t,e)=>{let{top:i}=e;return parseFloat(i)},left:(t,e)=>{let{left:i}=e;return parseFloat(i)},bottom:(t,e)=>{let{y:i}=t,{top:n}=e;return parseFloat(n)+(i.max-i.min)},right:(t,e)=>{let{x:i}=t,{left:n}=e;return parseFloat(n)+(i.max-i.min)},x:(t,e)=>{let{transform:i}=e;return tx(i,"x")},y:(t,e)=>{let{transform:i}=e;return tx(i,"y")}};tS.translateX=tS.x,tS.translateY=tS.y,t.s(["cancelFrame",()=>tk,"frame",()=>tD,"frameData",()=>tR,"frameSteps",()=>tL],287022),t.s(["noop",()=>tA],260830);let tA=t=>t;t.s(["MotionGlobalConfig",()=>tM],846791);let tM={},tV=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];t.s(["statsBuffer",()=>tE],880248);let tE={value:null,addProjectionMetrics:null};function tC(t,e){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,o=tV.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,s=!1,r=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=r&&s?i:n;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(a=t,s){r=!0;return}s=!0,[i,n]=[n,i],i.forEach(u),e&&tE.value&&tE.value.frameloop[e].push(l),l=0,i.clear(),s=!1,r&&(r=!1,h.process(t))}};return h}(r,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:m,postRender:p}=o,f=()=>{let r=tM.useManualTiming?s.timestamp:performance.now();i=!1,tM.useManualTiming||(s.delta=n?1e3/60:Math.max(Math.min(r-s.timestamp,40),1)),s.timestamp=r,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),h.process(s),c.process(s),d.process(s),m.process(s),p.process(s),s.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:tV.reduce((e,r)=>{let a=o[r];return e[r]=function(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!i&&(i=!0,n=!0,s.isProcessing||t(f)),a.schedule(e,r,o)},e},{}),cancel:t=>{for(let e=0;e<tV.length;e++)o[tV[e]].cancel(t)},state:s,steps:o}}
3let{schedule:tD,cancel:tk,state:tR,steps:tL}=tC("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tA,!0),tB=new Set,tF=!1,tj=!1,tI=!1;function tO(){if(tj){let t=Array.from(tB).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return tP.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(e=>{var i;let[n,s]=e;null==(i=t.getValue(n))||i.set(s)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tj=!1,tF=!1,tB.forEach(t=>t.complete(tI)),tB.clear()}function tN(){tB.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tj=!0)})}function tU(){tI=!0,tN(),tO(),tI=!1}class tW{scheduleResolve(){this.state="scheduled",this.isAsync?(tB.add(this),tF||(tF=!0,tD.read(tN),tD.resolveKeyframes(tO))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let s=null==n?void 0:n.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=i.readValue(e,r);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.set(t[0])}for(let e=1;e<t.length;e++)null!=t[e]||(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tB.delete(this)}cancel(){"scheduled"===this.state&&(tB.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}}let tG=t=>/^0[^.\s]+$/u.test(t),tz=new Set([I,O]);function tH(t,e){let i=G(t);return tz.has(i)||(i=L),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tY=new Set(["auto","none","0"]);class tK extends tW{readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&ta(n=n.trim())){let s=function t(e,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;ti(n<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'),"max-css-var-depth");let[s,r]=function(t){let e=th.exec(t);if(!e)return[,];let[,i,n,s]=e;return["--".concat(null!=i?i:n),s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return tn(t)?parseFloat(t):t}return ta(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!q.has(i)||2!==t.length)return;let[n,s]=t,r=$(n),o=$(s);if(tu(n)!==tu(s)&&tS[i]){this.needsMeasurement=!0;return}if(r!==o)if(tw(r)&&tw(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tS[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||tG(n)))&&i.push(e)}i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!tY.has(e)&&C(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=tH(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tS[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let s=e.getValue(i);s&&s.jump(this.measuredOrigin,!1);let r=n.length-1,o=n[r];n[r]=tS[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
3h(t=>{let[i,n]=t;e.getValue(i).set(n)}),this.resolveNoneKeyframes()}constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}}t.s(["VisualElement",()=>eV,"getFeatureDefinitions",()=>eM,"setFeatureDefinitions",()=>eA],617218),t.s(["millisecondsToSeconds",()=>tq,"secondsToMilliseconds",()=>tX],763074);let tX=t=>1e3*t,tq=t=>t/1e3;function t_(t,e){-1===t.indexOf(e)&&t.push(e)}function tZ(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["SubscriptionManager",()=>t$],570596),t.s(["addUniqueItem",()=>t_,"removeItem",()=>tZ],133887);class t${add(t){return t_(this.subscriptions,t),()=>tZ(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}constructor(){this.subscriptions=[]}}function tJ(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["NativeAnimation",()=>ei],368e3),t.s(["supportsScrollTimeline",()=>t1],930551),t.s(["memo",()=>tJ],260900);let tQ={};function t0(t,e){let i=tJ(t);return()=>{var t;return null!=(t=tQ[e])?t:i()}}let t1=t0(()=>void 0!==window.ScrollTimeline,"scrollTimeline");t.s(["getFinalKeyframe",()=>t5],414229);let t2=t=>null!==t;function t5(t,e,i){let{repeat:n,repeatType:s="loop"}=e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=t.filter(t2),a=r<0||n&&"loop"!==s&&n%2==1?0:o.length-1;return a&&void 0!==i?i:o[a]}t.s(["WithPromise",()=>t6],779294);class t6{get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}constructor(){this.updateFinished()}}t.s(["activeAnimations",()=>t7],504169);let t7={layout:0,mainThread:0,waapi:0};t.s(["isBezierDefinition",()=>t3],960855);let t3=t=>Array.isArray(t)&&"number"==typeof t[0],t9=t0(()=>{try{document.createElement("div").animate({opacity:0}
3,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");t.s(["generateLinearEasing",()=>t4],756512);let t4=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return"linear(".concat(n.substring(0,n.length-2),")")},t8=t=>{let[e,i,n,s]=t;return"cubic-bezier(".concat(e,", ").concat(i,", ").concat(n,", ").concat(s,")")},et={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t8([0,.65,.55,1]),circOut:t8([.55,0,1,.45]),backIn:t8([.31,.01,.66,-.59]),backOut:t8([.33,1.53,.69,.99])};function ee(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",()=>ee],997307);class ei extends t6{play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,e;null==(t=(e=this.animation).finish)||t.call(e)}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,e,i;let n=null==(t=this.options)?void 0:t.element;!this.isPseudoElement&&(null==n?void 0:n.isConnected)&&(null==(e=(i=this.animation).commitStyles)||e.call(i))}get duration(){var t,e;return tq(Number((null==(e=this.animation.effect)||null==(t=e.getComputedTiming)?void 0:t.call(e).duration)||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tq(t)}get time(){return tq(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tX(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){var t;return null!=(t=this.manualStartTime)?t:Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline(t){let{timeline:e,observe:i}=t;if(this.allowFlatten){var n;null==(n=this.animation.effect)||n.updateTiming({easing:"linear"})}return(this.animation.onfinish=null,e&&t1())?(this.animation.timeline=e,tA):i(this)}constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:s,allowFlatten:r=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!s,this.allowFlatten=r,this.options=t,ti("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function(t){let{type:e,...i}=t;return ee(e)&&t9()?e.applyToOptions(i):(null!=i.duration||(i.duration=300),null!=i.ease||(i.ease="easeOut"),i)}(t);this.animation=function(t,e,i){let{delay:n=0,duration:s=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?t9()?t4(e,i):"ease-out":t3(e)?t8(e):Array.isArray(e)?e.map(e=>t(e,i)||et.easeOut):et[e]}(a,s);Array.isArray(c)&&(h.easing=c),tE.value&&t7.waapi++;let d={delay:n,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let m=t.animate(h,d);return tE.value&&m.finished.finally(()=>{t7.waapi--}),m}(e,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=t5(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}null==a||a(),this.notifyFinished()}}}let en=new Set(["opacity","clipPath","filter","transform"]);t.s(["microtask",()=>es],560140);let{schedule:es}=tC(queueMicrotask,!1);function er(){e=void 0}t.s(["time",()=>eo],496173);let eo={now:()=>(void 0===e&&eo.set(tR.isProcessing||tM.useManualTiming?tR.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(er)}};function ea(t,e){return e?1e3/e*t:0}t.s(["collectMotionValues",()=>el,"motionValue",()=>eh],486427),t.s(["velocityPerSecond",()=>ea],325791);let el={current:void 0};class eu{setCurrent(t){this.current=t,this.updatedAt=eo.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new t$);let i=this.events[t].add(e);return"change"===t?()=>{i(),tD.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;null==(t=this.events.change)||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return el.current&&el.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=eo.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ea(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,e;null==(t=this.dependents)||t.clear(),null==(e=this.events.destroy)||e.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=eo.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev){var i;if(null==(i=this.events.change)||i.notify(this.current),this.dependents)for(let t of this.dependents)t.dirty()}},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}}function eh(t,e){return new eu(t,e)}let ec=[...Z,S,L],ed=new WeakMap;function em(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ep(t){return"string"==typeof t||Array.isArray(t)}t.s(["isControllingVariants",()=>eg,"isVariantNode",()=>ey],587576),t.s(["isAnimationControls",()=>em],885983),t.s(["isVariantLabel",()=>ep],732525),t.s(["variantPriorityOrder",()=>ef,"variantProps",()=>ev],706840);let ef=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ev=["initial",...ef];function eg(t){return em(t.animate)||ev.some(e=>ep(t[e]))}function ey(t){return!!(eg(t)||t.variants)}var ex=t.i(138544);function eT(t){let e=[{},{}];
3return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ew(t,e,i,n){if("function"==typeof e){let[s,r]=eT(n);e=e(void 0!==i?i:t.custom,s,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,r]=eT(n);e=e(void 0!==i?i:t.custom,s,r)}return e}t.s(["resolveVariantFromProps",()=>ew],386579);var eb=t.i(571164);let eP=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eS={};function eA(t){eS=t}function eM(){return eS}class eV{scrapeMotionValuesFromProps(t,e,i){return{}}mount(t){var e,i,n;if(this.hasBeenMounted)for(let t in this.initialValues)null==(i=this.values.get(t))||i.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,ed.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(eb.hasReducedMotionListener.current||(0,ex.initPrefersReducedMotion)(),this.shouldReduceMotion=eb.prefersReducedMotion.current),this.shouldSkipAnimations=null!=(n=this.skipAnimationsConfig)&&n,null==(e=this.parent)||e.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;for(let e in this.projection&&this.projection.unmount(),tk(this.notifyUpdate),tk(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null==(t=this.parent)||t.removeChild(this),this.events)this.events[e].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),null!=this.enteringChildren||(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&en.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:s,ease:r,duration:o}=e.accelerate,a=new ei({element:this.current,name:t,keyframes:n,times:s,ease:r,duration:tX(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let s=n.has(t);s&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tD.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in eS){let e=eS[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):K()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<eP.length;e++){let i=eP[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if(X(s))t.addValue(n,s);else if(X(r))t.addValue(n,eh(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,eh(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
3addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=eh(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=n){if("string"==typeof n&&(tn(n)||tG(n)))n=parseFloat(n);else{let i;i=n,!ec.find(_(i))&&L.test(e)&&(n=tH(t,e))}this.setBaseTarget(t,X(n)?n.get():n)}return X(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){var n;let s=ew(this.props,i,null==(n=this.presenceContext)?void 0:n.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||X(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new t$),this.events[t].add(e)}notify(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];this.events[t]&&this.events[t].notify(...i)}scheduleRenderMicrotask(){es.render(this.render)}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:s,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tW,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=eo.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tD.render(this.render,!1,!0))};let{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=s,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=eg(e),this.isVariantNode=ey(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==l[t]&&X(e)&&e.set(l[t])}}}class eE extends eV{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,e){let{vars:i,style:n}=e;delete i[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;X(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent="".concat(t))}))}constructor(){super(...arguments),this.KeyframeResolver=tK}}function eC(t){return t.replace(/([A-Z])/g,t=>"-".concat(t.toLowerCase()))}t.s(["camelToDash",()=>eC],793787),t.s(["buildSVGAttrs",()=>eI],181261),t.s(["buildHTMLStyles",()=>eL],544947);let eD=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ek={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eR=i.length;function eL(t,e,s){let{style:r,vars:o,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(n.has(t)){l=!0;continue}if(tr(t)){o[t]=i;continue}{let e=eD(i,U[t]);t.startsWith("origin")?(u=!0,a[t]=e):r[t]=e}}if(!e.transform&&(l||s?r.transform=function(t,e,n){let s="",r=!0;for(let o=0;o<eR;o++){let a=i[o],l=t[a];if(void 0===l)continue;let u=!0;
3if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||n){let t=eD(l,U[a]);if(!u){r=!1;let e=ek[a]||a;s+="".concat(e,"(").concat(t,") ")}n&&(e[a]=t)}}return s=s.trim(),n?s=n(e,r?"":s):r&&(s="none"),s}(e,t.transform,s):r.transform&&(r.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin="".concat(t," ").concat(e," ").concat(i)}}let eB={offset:"stroke-dashoffset",array:"stroke-dasharray"},eF={offset:"strokeDashoffset",array:"strokeDasharray"},ej=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eI(t,e,i,n,s){var r,o;let{attrX:a,attrY:l,attrScale:u,pathLength:h,pathSpacing:c=1,pathOffset:d=0,...m}=e;if(eL(t,m,n),i){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:p,style:f}=t;for(let t of(p.transform&&(f.transform=p.transform,delete p.transform),(f.transform||p.transformOrigin)&&(f.transformOrigin=null!=(r=p.transformOrigin)?r:"50% 50%",delete p.transformOrigin),f.transform&&(f.transformBox=null!=(o=null==s?void 0:s.transformBox)?o:"fill-box",delete p.transformBox),ej))void 0!==p[t]&&(f[t]=p[t],delete p[t]);void 0!==a&&(p.x=a),void 0!==l&&(p.y=l),void 0!==u&&(p.scale=u),void 0!==h&&function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=!(arguments.length>4)||void 0===arguments[4]||arguments[4];t.pathLength=1;let r=s?eB:eF;t[r.offset]="".concat(-n),t[r.array]="".concat(e," ").concat(i)}(p,h,c,d,!1)}let eO=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"]);t.s(["isSVGTag",()=>eN],399951);let eN=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eU(t,e,i,n){let s,{style:r,vars:o}=e,a=t.style;for(s in r)a[s]=r[s];for(s in null==n||n.applyProjectionStyles(a,i),o)a.setProperty(s,o[s])}function eW(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}t.s(["scrapeMotionValuesFromProps",()=>eX],767926),t.s(["scrapeMotionValuesFromProps",()=>eK],984049),t.s(["isForcedMotionValue",()=>eY],130789),t.s(["scaleCorrectors",()=>eH],924463);let eG={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!x.test(t))return t;else t=parseFloat(t);let i=eW(t,e.target.x),n=eW(t,e.target.y);return"".concat(i,"% ").concat(n,"%")}};t.s(["mixNumber",()=>ez],100706);let ez=(t,e,i)=>t+(e-t)*i,eH={borderRadius:{...eG,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eG,borderTopRightRadius:eG,borderBottomLeftRadius:eG,borderBottomRightRadius:eG,boxShadow:{correct:(t,e)=>{let{treeScale:i,projectionDelta:n}=e,s=L.parse(t);if(s.length>5)return t;let r=L.createTransformer(t),o=+("number"!=typeof s[0]),a=n.x.scale*i.x,l=n.y.scale*i.y;s[0+o]/=a,s[1+o]/=l;let u=ez(a,l,.5);return"number"==typeof s[2+o]&&(s[2+o]/=u),"number"==typeof s[3+o]&&(s[3+o]/=u),r(s)}}};function eY(t,e){let{layout:i,layoutId:s}=e;return n.has(t)||t.startsWith("origin")||(i||void 0!==s)&&(!!eH[t]||"opacity"===t)}function eK(t,e,i){let n=t.style,s=null==e?void 0:e.style,r={};if(!n)return r;for(let e in n){var o;(X(n[e])||s&&X(s[e])||eY(e,t)||(null==i||null==(o=i.getValue(e))?void 0:o.liveStyle)!==void 0)&&(r[e]=n[e])}return r}function eX(t,e,n){let s=eK(t,e,n);for(let n in t)(X(t[n])||X(e[n]))&&(s[-1!==i.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return s}class eq extends eE{getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.has(e)){let t=G(e);return t&&t.default||0}return e=eO.has(e)?e:eC(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eX(t,e,i)}build(t,e,i){eI(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eU(t,e,void 0,n),e.attrs)t.setAttribute(eO.has(i)?i:eC(i),e.attrs[i])}mount(t){this.isSVGTag=eN(t.tagName),super.mount(t)}constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=K}}function e_(t){let{top:e,left:i,right:n,bottom:s}=t;return{x:{min:i,max:n},y:{min:e,max:s}}}function eZ(t){let{x:e,y:i}=t;return{top:i.min,right:e.max,bottom:i.max,left:e.min}}function e$(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}function eJ(t){return void 0===t||1===t}function eQ(t){let{scale:e,scaleX:i,scaleY:n}=t;return!eJ(e)||!eJ(i)||!eJ(n)}function e0(t){return eQ(t)||e1(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function e1(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function e2(t,e,i){return i+e*(t-i)}function e5(t,e,i,n,s){return void 0!==s&&(t=n+s*(t-n)),n+i*(t-n)+e}function e6(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;t.min=e5(t.min,e,i,n,s),t.max=e5(t.max,e,i,n,s)}function e7(t,e){let{x:i,y:n}=e;e6(t.x,i.translate,i.scale,i.originPoint),e6(t.y,n.translate,n.scale,n.originPoint)}function e3(t,e,i){let n,s,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&e8(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,e7(t,s)),r&&e0(n.latestValues)&&e8(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function e9(t,e){t.min=t.min+e,t.max=t.max+e}function e4(t,e,i,n){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,r=ez(t.min,t.max,s);e6(t,e,i,r,n)}function e8(t,e){e4(t.x,e.x,e.scaleX,e.scale,e.originX),e4(t.y,e.y,e.scaleY,e.scale,e.originY)}function it(t,e){return e_(e$(t.getBoundingClientRect(),e))}function ie(t,e,i){let n=it(t,i),{scroll:s}=e;return s&&(e9(n.x,s.offset.x),e9(n.y,s.offset.y)),n}t.s(["measurePageBox",()=>ie,"measureViewportBox",()=>it],153689),t.s(["convertBoundingBoxToBox",()=>e_,"convertBoxToBoundingBox",()=>eZ,"transformBoxPoints",()=>e$],27677),t.s(["applyBoxDelta",()=>e7,"applyTreeDeltas",()=>e3,"scalePoint",()=>e2,"transformBox",()=>e8,"translateAxis",()=>e9],135636),t.s(["has2DTranslate",()=>e1,"hasScale",()=>eQ,"hasTransform",()=>e0],177777);class ii extends eE{readValueFromInstance(t,e){var i;if(n.has(e))return(null==(i=this.projection)?void 0:i.isProjecting)?ty(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tx(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(tr(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,e){let{transformPagePoint:i}=e;return it(t,i)}build(t,e,i){eL(t,e,i.transformTemplate)}
3scrapeMotionValuesFromProps(t,e,i){return eK(t,e,i)}constructor(){super(...arguments),this.type="html",this.renderInstance=eU}}var is=t.i(271645);t.s(["isSVGComponent",()=>io],944966);let ir=["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 io(t){if("string"!=typeof t||t.includes("-"));else if(ir.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let ia=(t,e)=>{var i;return(null!=(i=e.isSVG)?i:io(t))?new eq(e):new ii(e,{allowProjection:t!==is.Fragment})}},231178,t=>{"use strict";t.s(["LayoutGroupContext",()=>e]);let e=(0,t.i(271645).createContext)({})},737806,798125,t=>{"use strict";t.s(["MotionConfigContext",()=>e],737806);let e=(0,t.i(271645).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["filterProps",()=>o,"loadExternalIsValidProp",()=>r],798125);let i=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function n(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||i.has(t)}let s=t=>!n(t);function r(t){"function"==typeof t&&(s=e=>e.startsWith("on")?!n(e):t(e))}try{r((()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default)}catch(t){}function o(t,e,i){let r={};for(let o in t)("values"!==o||"object"!=typeof t.values)&&(s(o)||!0===i&&n(o)||!e&&!n(o)||t.draggable&&o.startsWith("onDrag"))&&(r[o]=t[o]);return r}},648070,688291,582474,886549,911587,308576,830665,733871,t=>{"use strict";t.s(["LazyContext",()=>i],648070);var e=t.i(271645);let i=(0,e.createContext)({strict:!1});t.s(["MotionContext",()=>n],688291);let n=(0,e.createContext)({});t.s(["useCreateMotionContext",()=>o],582474);var s=t.i(587576),r=t.i(732525);function o(t){let{initial:i,animate:o}=function(t,e){if((0,s.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,r.isVariantLabel)(e)?e:void 0,animate:(0,r.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(n));return(0,e.useMemo)(()=>({initial:i,animate:o}),[a(i),a(o)])}function a(t){return Array.isArray(t)?t.join(" "):t}t.s(["useRender",()=>y],308576);var l=t.i(83411),u=t.i(130789),h=t.i(544947);t.s(["createHtmlRenderState",()=>c],886549);let c=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function d(t,e,i){for(let n in e)(0,l.isMotionValue)(e[n])||(0,u.isForcedMotionValue)(n,i)||(t[n]=e[n])}var m=t.i(181261),p=t.i(399951);t.s(["createSvgRenderState",()=>f],911587);let f=()=>({...c(),attrs:{}});var v=t.i(798125),g=t.i(944966);function y(t,i,n,s,r){let{latestValues:o}=s,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6?arguments[6]:void 0,y=((null!=u?u:(0,g.isSVGComponent)(t))?function(t,i,n,s){let r=(0,e.useMemo)(()=>{let e=f();return(0,m.buildSVGAttrs)(e,i,(0,p.isSVGTag)(s),t.transformTemplate,t.style),{...e.attrs,style:{...e.style}}},[i]);if(t.style){let e={};d(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,i){let n={},s=function(t,i){let n=t.style||{},s={};return d(s,n,t),Object.assign(s,function(t,i){let{transformTemplate:n}=t;return(0,e.useMemo)(()=>{let t=c();return(0,h.buildHTMLStyles)(t,i,n),Object.assign({},t.vars,t.style)},[i])}(t,i)),s}(t,i);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n})(i,o,r,t),x=(0,v.filterProps)(i,"string"==typeof t,a),T=t!==e.Fragment?{...x,...y,ref:n}:{},{children:w}=i,b=(0,e.useMemo)(()=>(0,l.isMotionValue)(w)?w.get():w,[w]);return(0,e.createElement)(t,{...T,children:b})}t.s(["scrapeHTMLMotionValuesFromProps",()=>x.scrapeMotionValuesFromProps],830665);var x=t.i(984049);function T(t){return(0,l.isMotionValue)(t)?t.get():t}t.s(["resolveMotionValue",()=>T],733871)},821476,t=>{"use strict";t.s(["PresenceContext",()=>e]);let e=(0,t.i(271645).createContext)(null)},947414,t=>{"use strict";t.s(["useConstant",()=>i]);var e=t.i(271645);function i(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}},711805,501664,t=>{"use strict";t.s(["useHTMLVisualState",()=>d],711805);var e=t.i(830665),i=t.i(733871),n=t.i(587576),s=t.i(885983),r=t.i(386579),o=t.i(271645),a=t.i(688291),l=t.i(821476),u=t.i(947414);let h=t=>(e,h)=>{let c=(0,o.useContext)(a.MotionContext),d=(0,o.useContext)(l.PresenceContext),m=()=>(function(t,e,o,a){let{scrapeMotionValuesFromProps:l,createRenderState:u}=t;return{latestValues:function(t,e,o,a){let l={},u=a(t,{});for(let t in u)l[t]=(0,i.resolveMotionValue)(u[t]);let{initial:h,animate:c}=t,d=(0,n.isControllingVariants)(t),m=(0,n.isVariantNode)(t);e&&m&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let p=!!o&&!1===o.initial,f=(p=p||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,s.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let n=(0,r.resolveVariantFromProps)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(e,o,a,l),renderState:u()}})(t,e,c,d);return h?m():(0,u.useConstant)(m)};var c=t.i(886549);let d=h({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:c.createHtmlRenderState});t.s(["useSVGVisualState",()=>f],501664);var m=t.i(767926),m=m,p=t.i(911587);let f=h({scrapeMotionValuesFromProps:m.scrapeMotionValuesFromProps,createRenderState:p.createSvgRenderState})},292936,t=>{"use strict";t.s(["isBrowser",()=>e]);let e="undefined"!=typeof window},476948,513565,321967,683640,535043,104035,325522,t=>{"use strict";t.s(["getInitializedFeatureDefinitions",()=>s],476948);var e=t.i(617218);let i={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},n=!1;function s(){return!function(){if(n)return;let t={};for(let e in i)t[e]={isEnabled:t=>i[e].some(e=>!!t[e])};(0,e.setFeatureDefinitions)(t),n=!0}(),(0,e.getFeatureDefinitions)()}function r(t){let i=s();for(let e in t)i[e]={...i[e],...t[e]};(0,e.setFeatureDefinitions)(i)}t.s(["loadFeatures",()=>r],513565),t.s(["motionComponentSymbol",()=>o],321967);let o=Symbol.for("motionComponentSymbol");t.s(["useMotionRef",()=>l],683640);var a=t.i(271645);function l(t,e,i){let n=(0,a.useRef)(i);(0,a.useInsertionEffect)(()=>{n.current=i});let s=(0,a.useRef)(null);return(0,a.useCallback)(i=>{if(i){var r;null==(r=t.onMount)||r.call(t,i)}e&&(i?e.mount(i):e.unmount());let o=n.current;
3if("function"==typeof o)if(i){let t=o(i);"function"==typeof t&&(s.current=t)}else s.current?(s.current(),s.current=null):o(i);else o&&(o.current=i)},[e])}t.s(["optimizedAppearDataAttribute",()=>u],535043);let u="data-"+(0,t.i(793787).camelToDash)("framerAppearId");t.s(["SwitchLayoutGroupContext",()=>h],104035);let h=(0,a.createContext)({});function c(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["isRefObject",()=>c],325522)},674008,t=>{"use strict";t.s(["useIsomorphicLayoutEffect",()=>i]);var e=t.i(271645);let i=t.i(292936).isBrowser?e.useLayoutEffect:e.useEffect},753034,t=>{"use strict";function e(t,e){if((null==t?void 0:t.inherit)&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}t.s(["resolveTransition",()=>e])},907051,142098,987333,980538,716896,738638,791559,783920,344230,515923,939011,223070,655559,919880,282774,439676,137541,652101,t=>{"use strict";t.s(["createMotionProxy",()=>P],907051),t.i(247167);var e=t.i(843476),i=t.i(271645),n=t.i(231178),s=t.i(648070),r=t.i(737806),o=t.i(688291),a=t.i(582474),l=t.i(308576),u=t.i(944966),h=t.i(711805),c=t.i(501664),d=t.i(292936),m=t.i(476948),p=t.i(513565),f=t.i(321967),v=t.i(683640),g=t.i(535043),y=t.i(821476),x=t.i(104035),T=t.i(325522),w=t.i(674008);function b(t){var b,P;let{forwardMotionProps:S=!1,type:A}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},M=arguments.length>2?arguments[2]:void 0,V=arguments.length>3?arguments[3]:void 0;M&&(0,p.loadFeatures)(M);let E=A?"svg"===A:(0,u.isSVGComponent)(t),C=E?c.useSVGVisualState:h.useHTMLVisualState;function D(u,h){let c,p={...(0,i.useContext)(r.MotionConfigContext),...u,layoutId:function(t){let{layoutId:e}=t,s=(0,i.useContext)(n.LayoutGroupContext).id;return s&&void 0!==e?s+"-"+e:e}(u)},{isStatic:f}=p,b=(0,a.useCreateMotionContext)(u),P=C(u,f);if(!f&&d.isBrowser){(0,i.useContext)(s.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=(0,m.getInitializedFeatureDefinitions)();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(p);c=e.MeasureLayout,b.visualElement=function(t,e,n,a,l,u){var h,c,d,m;let{visualElement:p}=(0,i.useContext)(o.MotionContext),f=(0,i.useContext)(s.LazyContext),v=(0,i.useContext)(y.PresenceContext),b=(0,i.useContext)(r.MotionConfigContext),P=b.reducedMotion,S=b.skipAnimations,A=(0,i.useRef)(null),M=(0,i.useRef)(!1);a=a||f.renderer,!A.current&&a&&(A.current=a(t,{visualState:e,parent:p,props:n,presenceContext:v,blockInitialAnimation:!!v&&!1===v.initial,reducedMotionConfig:P,skipAnimations:S,isSVG:u}),M.current&&A.current&&(A.current.manuallyAnimateOnMount=!0));let V=A.current,E=(0,i.useContext)(x.SwitchLayoutGroupContext);V&&!V.projection&&l&&("html"===V.type||"svg"===V.type)&&function(t,e,i,n){let{layoutId:s,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:r,alwaysMeasureLayout:!!o||a&&(0,T.isRefObject)(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(A.current,n,l,E);let C=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{V&&C.current&&V.update(n,v)});let D=n[g.optimizedAppearDataAttribute],k=(0,i.useRef)(!!D&&!(null==(h=(c=window).MotionHandoffIsComplete)?void 0:h.call(c,D))&&(null==(d=(m=window).MotionHasOptimisedAnimation)?void 0:d.call(m,D)));return(0,w.useIsomorphicLayoutEffect)(()=>{M.current=!0,V&&(C.current=!0,window.MotionIsMounted=!0,V.updateFeatures(),V.scheduleRenderMicrotask(),k.current&&V.animationState&&V.animationState.animateChanges())}),(0,i.useEffect)(()=>{V&&(!k.current&&V.animationState&&V.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,D)}),k.current=!1),V.enteringChildren=void 0)}),V}(t,P,p,V,e.ProjectionNode,E)}return(0,e.jsxs)(o.MotionContext.Provider,{value:b,children:[c&&b.visualElement?(0,e.jsx)(c,{visualElement:b.visualElement,...p}):null,(0,l.useRender)(t,u,(0,v.useMotionRef)(P,b.visualElement,h),P,f,S,E)]})}D.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(P=null!=(b=t.displayName)?b:t.name)?P:"",")"));let k=(0,i.forwardRef)(D);return k[f.motionComponentSymbol]=t,k}function P(t,e){if("undefined"==typeof Proxy)return b;let i=new Map,n=(i,n)=>b(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,b(r,void 0,t,e)),i.get(r))})}t.s(["animations",()=>eg],223070),t.s(["Feature",()=>S],142098);
3class S{update(){}constructor(t){this.isMounted=!1,this.node=t}}var A=t.i(386579);function M(t,e,i){let n=t.getProps();return(0,A.resolveVariantFromProps)(n,e,void 0!==i?i:n.custom,t)}t.s(["getValueTransition",()=>E],987333);var V=t.i(753034);function E(t,e){var i,n;let s=null!=(n=null!=(i=null==t?void 0:t[e])?i:null==t?void 0:t.default)?n:t;return s!==t?(0,V.resolveTransition)(s,t):s}var C=t.i(864440),D=t.i(486427);let k=t=>Array.isArray(t);t.s(["addValueToWillChange",()=>B],980538);var R=t.i(846791),L=t.i(83411);function B(t,e){let i=t.getValue("willChange");if((0,L.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&R.MotionGlobalConfig.WillChange){let i=new R.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function F(t){return t.props[g.optimizedAppearDataAttribute]}t.s(["getOptimisedAppearId",()=>F],716896),t.s(["animateMotionValue",()=>en],939011);var j=t.i(763074),I=t.i(260830),O=t.i(496173);t.s(["pipe",()=>U],738638);let N=(t,e)=>i=>e(t(i)),U=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.reduce(N)};var W=t.i(476959),G=t.i(504169),z=t.i(965566),H=t.i(19928),Y=t.i(279444),K=t.i(569577),X=t.i(463011),q=t.i(22660);function _(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var Z=t.i(766820);function $(t,e){return i=>i>0?e:t}var J=t.i(100706);let Q=(t,e,i)=>{let n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},tt=[X.hex,Z.rgba,q.hsla];function te(t){let e=tt.find(e=>e.test(t));if((0,z.warning)(!!e,"'".concat(t,"' is not an animatable color. Use the equivalent color code instead."),"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===q.hsla&&(i=function(t){let{hue:e,saturation:i,lightness:n,alpha:s}=t;e/=360,n/=100;let r=0,o=0,a=0;if(i/=100){let t=n<.5?n*(1+i):n+i-n*i,s=2*n-t;r=_(s,t,e+1/3),o=_(s,t,e),a=_(s,t,e-1/3)}else r=o=a=n;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*a),alpha:s}}(i)),i}let ti=(t,e)=>{let i=te(t),n=te(e);if(!i||!n)return $(t,e);let s={...i};return t=>(s.red=Q(i.red,n.red,t),s.green=Q(i.green,n.green,t),s.blue=Q(i.blue,n.blue,t),s.alpha=(0,J.mixNumber)(i.alpha,n.alpha,t),Z.rgba.transform(s))},tn=new Set(["none","hidden"]);function ts(t,e){return i=>(0,J.mixNumber)(t,e,i)}function tr(t){return"number"==typeof t?ts:"string"==typeof t?(0,H.isCSSVariableToken)(t)?$:Y.color.test(t)?ti:tl:Array.isArray(t)?to:"object"==typeof t?Y.color.test(t)?ti:ta:$}function to(t,e){let i=[...t],n=i.length,s=t.map((t,i)=>tr(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function ta(t,e){let i={...t,...e},n={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(n[s]=tr(t[s])(t[s],e[s]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let tl=(t,e)=>{let i=K.complex.createTransformer(e),n=(0,K.analyseComplexValue)(t),s=(0,K.analyseComplexValue)(e);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?tn.has(t)&&!s.values.length||tn.has(e)&&!n.values.length?function(t,e){return tn.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):U(to(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){var s;let o=e.types[r],a=t.indexes[o][n[o]],l=null!=(s=t.values[a])?s:0;i[r]=l,n[o]++}return i}(n,s),s.values),i):((0,z.warning)(!0,"Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition."),"complex-values-different"),$(t,e))};function tu(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,J.mixNumber)(t,e,i):tr(t)(t,e)}var th=t.i(287022);let tc=t=>{let e=e=>{let{timestamp:i}=e;return t(i)};return{start:function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return th.frame.update(e,t)},stop:()=>(0,th.cancelFrame)(e),now:()=>th.frameData.isProcessing?th.frameData.timestamp:O.time.now()}};var td=t.i(756512);function tm(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}var tp=t.i(325791);function tf(t,e,i){let n=Math.max(e-5,0);return(0,tp.velocityPerSecond)(i-t(n),e-n)}let tv={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function tg(t,e){return t*Math.sqrt(1-e*e)}let ty=["duration","bounce"],tx=["stiffness","damping","mass"];function tT(t,e){return e.some(e=>void 0!==t[e])}function tw(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tv.visualDuration,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tv.bounce,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:i}:e,{restSpeed:s,restDelta:r}=n,o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,velocity:m,isResolvedFromDuration:p}=function(t){let e={velocity:tv.velocity,stiffness:tv.stiffness,damping:tv.damping,mass:tv.mass,isResolvedFromDuration:!1,...t};if(!tT(t,tx)&&tT(t,ty))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*(0,W.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:tv.mass,stiffness:n,damping:s}}else{let i=function(t){let e,i,{duration:n=tv.duration,bounce:s=tv.bounce,velocity:r=tv.velocity,mass:o=tv.mass}=t;(0,z.warning)(n<=(0,j.secondsToMilliseconds)(tv.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-s;a=(0,W.clamp)(tv.minDamping,tv.maxDamping,a),n=(0,W.clamp)(tv.minDuration,tv.maxDuration,(0,j.millisecondsToSeconds)(n)),a<1?(e=t=>{let e=t*a,i=e*n;return .001-(e-r)/tg(t,a)*Math.exp(-i)},i=t=>{let i=t*a*n,s=Math.pow(a,2)*Math.pow(t,2)*n,o=Math.exp(-i),l=tg(Math.pow(t,2),a);return(i*r+r-s)*o*(-e(t)+.001>0?-1:1)/l}):(e=t=>-.001+Math.exp(-t*n)*((t-r)*n+1),i=t=>n*n*(r-t)*Math.exp(-t*n));
3let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(e,i,5/n);if(n=(0,j.secondsToMilliseconds)(n),isNaN(l))return{stiffness:tv.stiffness,damping:tv.damping,duration:n};{let t=Math.pow(l,2)*o;return{stiffness:t,damping:2*a*Math.sqrt(o*t),duration:n}}}(t);(e={...e,...i,mass:tv.mass}).isResolvedFromDuration=!0}return e}({...n,velocity:-(0,j.millisecondsToSeconds)(n.velocity||0)}),f=m||0,v=h/(2*Math.sqrt(u*c)),g=a-o,y=(0,j.millisecondsToSeconds)(Math.sqrt(u/c)),x=5>Math.abs(g);if(s||(s=x?tv.restSpeed.granular:tv.restSpeed.default),r||(r=x?tv.restDelta.granular:tv.restDelta.default),v<1){let e=tg(y,v);t=t=>a-Math.exp(-v*y*t)*((f+v*y*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===v)t=t=>a-Math.exp(-y*t)*(g+(f+y*g)*t);else{let e=y*Math.sqrt(v*v-1);t=t=>{let i=Math.exp(-v*y*t),n=Math.min(e*t,300);return a-i*((f+v*y*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}let T={calculatedDuration:p&&d||null,next:e=>{let i=t(e);if(p)l.done=e>=d;else{let n=0===e?f:0;v<1&&(n=0===e?(0,j.secondsToMilliseconds)(f):tf(t,e,i));let o=Math.abs(a-i)<=r;l.done=Math.abs(n)<=s&&o}return l.value=l.done?a:i,l},toString:()=>{let t=Math.min(tm(T),2e4),e=(0,td.generateLinearEasing)(e=>T.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return T}function tb(t){let e,i,{keyframes:n,velocity:s=0,power:r=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:u,min:h,max:c,restDelta:d=.5,restSpeed:m}=t,p=n[0],f={done:!1,value:p},v=r*s,g=p+v,y=void 0===u?g:u(g);y!==g&&(v=y-p);let x=t=>-v*Math.exp(-t/o),T=t=>y+x(t),w=t=>{let e=x(t),i=T(t);f.done=Math.abs(e)<=d,f.value=f.done?y:i},b=t=>{let n;if(n=f.value,void 0!==h&&n<h||void 0!==c&&n>c){var s;e=t,i=tw({keyframes:[f.value,(s=f.value,void 0===h?c:void 0===c||Math.abs(h-s)<Math.abs(c-s)?h:c)],velocity:tf(T,t,f.value),damping:a,stiffness:l,restDelta:d,restSpeed:m})}};return b(0),{calculatedDuration:null,next:t=>{let n=!1;return(i||void 0!==e||(n=!0,w(t),b(t)),void 0!==e&&t>=e)?i.next(t-e):(n||w(t),f)}}}tw.applyToOptions=t=>{let e=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,i=arguments.length>2?arguments[2]:void 0,n=i({...t,keyframes:[0,e]}),s=Math.min(tm(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,j.millisecondsToSeconds)(s)}}(t,100,tw);return t.ease=e.ease,t.duration=(0,j.secondsToMilliseconds)(e.duration),t.type="keyframes",t};let tP=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tS(t,e,i,n){return t===e&&i===n?I.noop:s=>0===s||1===s?s:tP(function(t,e,i,n,s){let r,o,a=0;do(r=tP(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(r)>1e-7&&++a<12)return o}(s,0,1,t,i),e,n)}let tA=tS(.42,0,1,1),tM=tS(0,0,.58,1),tV=tS(.42,0,.58,1),tE=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tC=t=>e=>1-t(1-e),tD=tS(.33,1.53,.69,.99),tk=tC(tD),tR=tE(tk),tL=t=>(t*=2)<1?.5*tk(t):.5*(2-Math.pow(2,-10*(t-1)));t.s(["circIn",()=>tB,"circInOut",()=>tj,"circOut",()=>tF],791559);let tB=t=>1-Math.sin(Math.acos(t)),tF=tC(tB),tj=tE(tB);var tI=t.i(960855);let tO={linear:I.noop,easeIn:tA,easeInOut:tV,easeOut:tM,circIn:tB,circInOut:tj,circOut:tF,backIn:tk,backInOut:tR,backOut:tD,anticipate:tL},tN=t=>{if((0,tI.isBezierDefinition)(t)){(0,z.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return tS(e,i,n,s)}return"string"==typeof t?((0,z.invariant)(void 0!==tO[t],"Invalid easing type '".concat(t,"'"),"invalid-easing-type"),tO[t]):t};t.s(["interpolate",()=>tW],344230),t.s(["progress",()=>tU],783920);let tU=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function tW(t,e){let{clamp:i=!0,ease:n,mixer:s}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.length;if((0,z.invariant)(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],s=i||R.MotionGlobalConfig.mix||tu,r=t.length-1;for(let i=0;i<r;i++){let r=s(t[i],t[i+1]);e&&(r=U(Array.isArray(e)?e[i]||I.noop:e,r)),n.push(r)}return n}(e,n,s),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let s=tU(t[n],t[n+1],i);return a[n](s)};return i?e=>u((0,W.clamp)(t[0],t[r-1],e)):u}function tG(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let s=tU(0,e,n);t.push((0,J.mixNumber)(i,1,s))}}(e,t.length-1),e}function tz(t){var e;let{duration:i=300,keyframes:n,times:s,ease:r="easeInOut"}=t,o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(tN):tN(r),a={done:!1,value:n[0]},l=tW((e=s&&s.length===n.length?s:tG(n),e.map(t=>t*i)),n,{ease:Array.isArray(o)?o:n.map(()=>o||tV).splice(0,n.length-1)});return{calculatedDuration:i,next:t=>(a.value=l(t),a.done=t>=i,a)}}t.s(["defaultOffset",()=>tG],515923);var tH=t.i(414229);let tY={decay:tb,inertia:tb,tween:tz,keyframes:tz,spring:tw};function tK(t){"string"==typeof t.type&&(t.type=tY[t.type])}var tX=t.i(779294);let tq=t=>t/100;class t_ extends tX.WithPromise{initAnimation(){let{options:t}=this;tK(t);let{type:e=tz,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:o}=t,a=e||tz;a!==tz&&"number"!=typeof o[0]&&(this.mixKeyframes=U(tq,tu(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=tm(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{generator:i,totalDuration:n,mixKeyframes:s,mirroredGenerator:r,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:h,repeatType:c,repeatDelay:d,type:m,onUpdate:p,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-l*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let y=this.currentTime,x=i;if(h){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,h+1))%2&&("reverse"===c?(i=1-i,d&&(i-=d/
3o)):"mirror"===c&&(x=r)),y=(0,W.clamp)(0,1,i)*o}let T=g?{done:!1,value:u[0]}:x.next(y);s&&(T.value=s(T.value));let{done:w}=T;g||null===a||(w=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return b&&m!==tb&&(T.value=(0,tH.getFinalKeyframe)(u,this.options,f,this.speed)),p&&p(T.value),b&&this.finish(),T}then(t,e){return this.finished.then(t,e)}get duration(){return(0,j.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,j.millisecondsToSeconds)(t)}get time(){return(0,j.millisecondsToSeconds)(this.currentTime)}set time(t){var e;t=(0,j.secondsToMilliseconds)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),null==(e=this.driver)||e.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(O.time.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,j.millisecondsToSeconds)(this.currentTime))}play(){var t,e;if(this.isStopped)return;let{driver:i=tc,startTime:n}=this.options;this.driver||(this.driver=i(t=>this.tick(t))),null==(t=(e=this.options).onPlay)||t.call(e);let s=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=s):null!==this.holdTime?this.startTime=s-this.holdTime:this.startTime||(this.startTime=null!=n?n:s),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(O.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,e;this.notifyFinished(),this.teardown(),this.state="finished",null==(t=(e=this.options).onComplete)||t.call(e)}cancel(){var t,e;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null==(t=(e=this.options).onCancel)||t.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,G.activeAnimations.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var e;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null==(e=this.driver)||e.stop(),t.observe(this)}constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var t,e;let{motionValue:i}=this.options;i&&i.updatedAt!==O.time.now()&&this.tick(O.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),null==(t=(e=this.options).onStop)||t.call(e))},G.activeAnimations.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}}var tZ=t.i(921012),t$=t.i(368e3);let tJ={anticipate:tL,backInOut:tR,circInOut:tj};class tQ extends t$.NativeAnimation{updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new t_({...r,autoplay:!1}),a=Math.max(10,O.time.now()-this.startTime),l=(0,W.clamp)(0,10,a-10);e.setWithVelocity(o.sample(Math.max(0,a-l)).value,o.sample(a).value,l),o.stop()}constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tJ&&(t.ease=tJ[t.ease])}(t),tK(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}}var t0=t.i(997307);let t1=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(K.complex.test(t)||"0"===t)&&!t.startsWith("url("));function t2(t){t.duration=0,t.type="keyframes"}var t5=tX,t6=t.i(260900);let t7=new Set(["opacity","clipPath","filter","transform"]),t3=(0,t6.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class t9 extends t5.WithPromise{onKeyframesResolved(t,e,i,n){var s,r;this.keyframeResolver=void 0;let{name:o,type:a,velocity:l,delay:u,isHandoff:h,onUpdate:c}=i;
3this.resolvedAt=O.time.now(),!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=t1(s,e),a=t1(r,e);return(0,z.warning)(o===a,"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(r,'". "').concat(o?r:s,'" is not an animatable value.'),"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,t0.isGenerator)(i))&&n)}(t,o,a,l)&&((R.MotionGlobalConfig.instantAnimations||!u)&&(null==c||c((0,tH.getFinalKeyframe)(t,i,e))),t[0]=t[t.length-1],t2(i),i.repeat=0);let d={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},m=!h&&function(t){var e;let{motionValue:i,name:n,repeatDelay:s,repeatType:r,damping:o,type:a}=t;if(!((null==i||null==(e=i.owner)?void 0:e.current)instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=i.owner.getProps();return t3()&&n&&t7.has(n)&&("transform"!==n||!u)&&!l&&!s&&"mirror"!==r&&0!==o&&"inertia"!==a}(d),p=null==(r=d.motionValue)||null==(s=r.owner)?void 0:s.current,f=m?new tQ({...d,element:p}):new t_(d);f.finished.then(()=>{this.notifyFinished()}).catch(I.noop),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){if(!this._animation){var t;null==(t=this.keyframeResolver)||t.resume(),(0,tZ.flushKeyframeResolvers)()}return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),null==(t=this.keyframeResolver)||t.cancel()}constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){var c;super(),this.stop=()=>{var t,e;this._animation&&(this._animation.stop(),null==(e=this.stopTimeline)||e.call(this)),null==(t=this.keyframeResolver)||t.cancel()},this.createdAt=O.time.now();let d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,name:a,motionValue:l,element:u,...h},m=(null==u?void 0:u.KeyframeResolver)||tZ.KeyframeResolver;this.keyframeResolver=new m(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,u),null==(c=this.keyframeResolver)||c.scheduleResolve()}}var t4=t.i(157788);let t8={type:"spring",stiffness:500,damping:25,restSpeed:10},et={type:"keyframes",duration:.8},ee={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ei=t=>null!==t,en=function(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0;return o=>{let a=E(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,j.secondsToMilliseconds)(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:s};!function(t){let{when:e,delay:i,delayChildren:n,staggerChildren:s,staggerDirection:r,repeat:o,repeatType:a,repeatDelay:l,from:u,elapsed:h,...c}=t;return!!Object.keys(c).length}(a)&&Object.assign(h,((t,e)=>{let{keyframes:i}=e;return i.length>2?et:t4.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===i[1]?2*Math.sqrt(550):30,restSpeed:10}:t8:ee})(t,h)),h.duration&&(h.duration=(0,j.secondsToMilliseconds)(h.duration)),h.repeatDelay&&(h.repeatDelay=(0,j.secondsToMilliseconds)(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(t2(h),0===h.delay&&(c=!0)),(R.MotionGlobalConfig.instantAnimations||R.MotionGlobalConfig.skipAnimations||(null==s?void 0:s.shouldSkipAnimations))&&(c=!0,t2(h),h.delay=0),h.allowFlatten=!a.type&&!a.ease,c&&!r&&void 0!==e.get()){let t=function(t,e,
3i){let{repeat:n,repeatType:s="loop"}=e,r=t.filter(ei),o=n&&"loop"!==s&&n%2==1?0:r.length-1;return r[o]}(h.keyframes,a);if(void 0!==t)return void th.frame.update(()=>{h.onUpdate(t),h.onComplete()})}return a.isSync?new t_(h):new t9(h)}};function es(t,e){let{delay:i=0,transitionOverride:n,type:s}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:r,transitionEnd:o,...a}=e,l=t.getDefaultTransition(),u=null==(r=r?(0,V.resolveTransition)(r,l):l)?void 0:r.reduceMotion;n&&(r=n);let h=[],c=s&&t.animationState&&t.animationState.getState()[s];for(let e in a){var d;let n=t.getValue(e,null!=(d=t.latestValues[e])?d:null),s=a[e];if(void 0===s||c&&function(t,e){let{protectedKeys:i,needsAnimating:n}=t,s=i.hasOwnProperty(e)&&!0!==n[e];return n[e]=!1,s}(c,e))continue;let o={delay:i,...E(r||{},e)},l=n.get();if(void 0!==l&&!n.isAnimating&&!Array.isArray(s)&&s===l&&!o.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){let i=F(t);if(i){let t=window.MotionHandoffAnimation(i,e,th.frame);null!==t&&(o.startTime=t,m=!0)}}B(t,e);let p=null!=u?u:t.shouldReduceMotion;n.start(en(e,n,s,p&&C.positionalKeys.has(e)?{type:!1}:o,t,m));let f=n.animation;f&&h.push(f)}if(o){let e=()=>th.frame.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...s}=M(t,e)||{};for(let e in s={...s,...i}){var r;let i=k(r=s[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,D.motionValue)(i))}}(t,o)});h.length?Promise.all(h).then(e):e()}return h}function er(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(r,o):1===s?r*n:a-r*n}function eo(t,e){var i;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=M(t,e,"exit"===n.type?null==(i=t.presenceContext)?void 0:i.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(r=n.transitionOverride);let o=s?()=>Promise.all(es(t,s,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=arguments.length>6?arguments[6]:void 0,a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(eo(l,e,{...o,delay:i+("function"==typeof n?0:n)+er(t.variantChildren,l,n,s,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,i,s,o,a,n)}:()=>Promise.resolve(),{when:l}=r;if(!l)return Promise.all([o(),a(n.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}var ea=t.i(732525),el=t.i(706840);let eu=el.variantProps.length;var eh=t.i(885983);function ec(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let ed=[...el.variantPriorityOrder].reverse(),em=el.variantPriorityOrder.length;function ep(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ef(){return{animate:ep(!0),whileInView:ep(),whileHover:ep(),whileTap:ep(),whileDrag:ep(),whileFocus:ep(),exit:ep()}}let ev=0,eg={animation:{Feature:class extends S{updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,eh.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(e=>{let{animation:i,options:n}=e;return function(t,e){let i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>eo(t,e,n)));else if("string"==typeof e)i=eo(t,e,n);else{let s="function"==typeof e?M(t,e,n.custom):e;i=Promise.all(es(t,s,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}(t,i,n)})),i=ef(),n=!0,s=e=>(i,n)=>{var s;let r=M(t,n,"exit"===e?null==(s=t.presenceContext)?void 0:s.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function r(r){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<eu;t++){let n=el.variantProps[t],s=e.props[n];((0,ea.isVariantLabel)(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<em;e++){var d,m;let p=ed[e],f=i[p],v=void 0!==o[p]?o[p]:a[p],g=(0,ea.isVariantLabel)(v),y=p===r?f.isActive:null;!1===y&&(c=e);let x=v===a[p]&&v!==o[p]&&g;if(x&&n&&t.manuallyAnimateOnMount&&(x=!1),f.protectedKeys={...h},!f.isActive&&null===y||!v&&!f.prevProp||(0,eh.isAnimationControls)(v)||"boolean"==typeof v)continue;if("exit"===p&&f.isActive&&!0!==y){f.prevResolvedValues&&(h={...h,...f.prevResolvedValues});continue}let T=(d=f.prevProp,"string"==typeof(m=v)?m!==d:!!Array.isArray(m)&&!ec(m,d)),w=T||p===r&&f.isActive&&!x&&g||e>c&&g,b=!1,P=Array.isArray(v)?v:[v],S=P.reduce(s(p),{});!1===y&&(S={});let{prevResolvedValues:A={}}=f,V={...A,...S},E=e=>{w=!0,u.has(e)&&(b=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);
3i&&(i.liveStyle=!1)};for(let t in V){let e=S[t],i=A[t];if(!h.hasOwnProperty(t))(k(e)&&k(i)?ec(e,i):e===i)?void 0!==e&&u.has(t)?E(t):f.protectedKeys[t]=!0:null!=e?E(t):u.add(t)}f.prevProp=v,f.prevResolvedValues=S,f.isActive&&(h={...h,...S}),n&&t.blockInitialAnimation&&(w=!1);let C=x&&T,D=!C||b;w&&D&&l.push(...P.map(e=>{let i={type:p};if("string"==typeof e&&n&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=M(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=er(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=M(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=null!=n?n:null}),l.push({animation:e})}let p=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),n=!1,p?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,n){var s;if(i[e].isActive===n)return Promise.resolve();null==(s=t.variantChildren)||s.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,n)}),i[e].isActive=n;
3let o=r(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ef()}}}(t))}}},exit:{Feature:class extends S{update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}constructor(){super(...arguments),this.id=ev++}}}};function ey(t){return[t("x"),t("y")]}t.s(["eachAxis",()=>ey],655559),t.s(["isElementKeyboardAccessible",()=>eT,"isElementTextInput",()=>eb],919880);let ex=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function eT(t){return ex.has(t.tagName)||!0===t.isContentEditable}let ew=new Set(["INPUT","SELECT","TEXTAREA"]);function eb(t){return ew.has(t.tagName)||!0===t.isContentEditable}function eP(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}t.s(["addDomEvent",()=>eP],282774),t.s(["setDragLock",()=>eM],137541),t.s(["isDragActive",()=>eA,"isDragging",()=>eS],439676);let eS={x:!1,y:!1};function eA(){return eS.x||eS.y}function eM(t){if("x"===t||"y"===t)if(eS[t])return null;else return eS[t]=!0,()=>{eS[t]=!1};return eS.x||eS.y?null:(eS.x=eS.y=!0,()=>{eS.x=eS.y=!1})}t.s(["calcBoxDelta",()=>eD,"calcLength",()=>eV,"calcRelativeBox",()=>eR,"calcRelativePosition",()=>eB,"isNear",()=>eE],652101);function eV(t){return t.max-t.min}function eE(t,e,i){return Math.abs(t-e)<=i}function eC(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=n,t.originPoint=(0,J.mixNumber)(e.min,e.max,t.origin),t.scale=eV(i)/eV(e),t.translate=(0,J.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function eD(t,e,i,n){eC(t.x,e.x,i.x,n?n.originX:void 0),eC(t.y,e.y,i.y,n?n.originY:void 0)}function ek(t,e,i){t.min=i.min+e.min,t.max=t.min+eV(e)}function eR(t,e,i){ek(t.x,e.x,i.x),ek(t.y,e.y,i.y)}function eL(t,e,i){t.min=e.min-i.min,t.max=t.min+eV(e)}function eB(t,e,i){eL(t.x,e.x,i.x),eL(t.y,e.y,i.y)}},642824,t=>{"use strict";function e(t){return"object"==typeof t&&null!==t}t.s(["isObject",()=>e])},889026,t=>{"use strict";t.s(["isSVGElement",()=>i]);var e=t.i(642824);function i(t){return(0,e.isObject)(t)&&"ownerSVGElement"in t}},749652,t=>{"use strict";function e(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){var n;let s=document;e&&(s=e.current);let r=null!=(n=null==i?void 0:i[t])?n:s.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}t.s(["resolveElements",()=>e])},733986,661327,341327,665536,485651,107230,t=>{"use strict";let e,i;t.s(["DragGesture",()=>tt],733986);var n=t.i(142098),s=t.i(260830),r=t.i(130162),o=t.i(287022),a=t.i(655559),l=t.i(153689),u=t.i(27677),h=t.i(980538),c=t.i(939011),d=t.i(100706),m=t.i(919880),p=t.i(282774),f=t.i(137541),v=t.i(265091),g=t.i(652101);t.s(["resize",()=>V],661327);var y=t.i(889026),x=t.i(749652);let T=new WeakMap,w=(t,e,i)=>(n,s)=>s&&s[0]?s[0][t+"Size"]:(0,y.isSVGElement)(n)&&"getBBox"in n?n.getBBox()[e]:n[i],b=w("inline","width","offsetWidth"),P=w("block","height","offsetHeight");function S(t){var e;let{target:i,borderBoxSize:n}=t;null==(e=T.get(i))||e.forEach(t=>{t(i,{get width(){return b(i,n)},get height(){return P(i,n)}})})}function A(t){t.forEach(S)}let M=new Set;function V(t,n){return"function"==typeof t?(M.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};M.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{M.delete(t),M.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):function(t,i){e||"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(A));let n=(0,x.resolveElements)(t);
3return n.forEach(t=>{let n=T.get(t);n||(n=new Set,T.set(t,n)),n.add(i),null==e||e.observe(t)}),()=>{n.forEach(t=>{let n=T.get(t);null==n||n.delete(i),(null==n?void 0:n.size)||null==e||e.unobserve(t)})}}(t,n)}var E=t.i(965566);t.s(["addPointerInfo",()=>k,"extractEventInfo",()=>D],665536),t.s(["isPrimaryPointer",()=>C],341327);let C=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function D(t){return{point:{x:t.pageX,y:t.pageY}}}let k=t=>e=>C(e)&&t(e,D(e));function R(t,e,i,n){return(0,p.addDomEvent)(t,e,k(i),n)}let L=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null};var B=t.i(325522),F=t.i(738638),j=t.i(763074);let I=(t,e)=>Math.abs(t-e),O=new Set(["auto","scroll"]);class N{startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(O.has(t.overflowX)||O.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:n.x-e.x,y:n.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,n),o.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:r=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=G(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(I(t.x,e.x)**2+I(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:s}=o.frameData;this.history.push({...n,timestamp:s});let{onStart:r,onMove:a}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=U(e,this.transformPagePoint),o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=G("pointercancel"===t.type?this.lastMoveEventInfo:U(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!C(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;let l=U(D(t),this.transformPagePoint),{point:u}=l,{timestamp:h}=o.frameData;this.history=[{...u,timestamp:h}];let{onSessionStart:c}=e;c&&c(t,G(l,this.history)),this.removeListeners=(0,F.pipe)(R(this.contextWindow,"pointermove",this.handlePointerMove),R(this.contextWindow,"pointerup",this.handlePointerUp),R(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}}function U(t,e){return e?{point:e(t.point)}:t}function W(t,e){return{x:t.x-e.x,y:t.y-e.y}}function G(t,e){let{point:i}=t;return{point:i,delta:W(i,z(e)),offset:W(i,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,s=z(t);for(;i>=0&&(n=t[i],!(s.timestamp-n.timestamp>(0,j.secondsToMilliseconds)(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&s.timestamp-n.timestamp>2*(0,j.secondsToMilliseconds)(e)&&(n=t[1]);let r=(0,j.millisecondsToSeconds)(s.timestamp-n.timestamp);if(0===r)return{x:0,y:0};let o={x:(s.x-n.x)/r,y:(s.y-n.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function z(t){return t[t.length-1]}var H=t.i(783920),Y=t.i(476959);function K(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 X(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function q(t,e,i){return{min:_(t,e),max:_(t,i)}}function _(t,e){return"number"==typeof t?t:t[e]||0}let Z=new WeakMap;class ${start(t){let{snapToCursor:e=!1,distanceThreshold:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{e&&this.snapToCursor(D(t).point),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,f.setDragLock)(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(v.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
3n&&(e=(0,g.calcLength)(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&o.frame.update(()=>s(t,e),!1,!0),(0,h.addValueToWillChange)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},l=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&o.frame.update(()=>r(t,e),!1,!0)},u=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new N(t,{onSessionStart:s,onStart:r,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:L(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!Q(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,e,i){let{min:n,max:s}=e;return void 0!==n&&t<n?t=i?(0,d.mixNumber)(n,t,i.min):Math.max(t,n):void 0!==s&&t>s&&(t=i?(0,d.mixNumber)(s,t,i.max):Math.min(t,s)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,s=this.constraints;e&&(0,B.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,e){let{top:i,left:n,bottom:s,right:r}=e;return{x:K(t.x,n,r),y:K(t.y,i,s)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:q(t,"left","right"),y:q(t,"top","bottom")}}(i),s!==this.constraints&&!(0,B.isRefObject)(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(t=>{!1!==this.constraints&&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}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,B.isRefObject)(e))return!1;let n=e.current;(0,E.invariant)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let r=(0,l.measurePageBox)(n,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:X(t.x,r.x),y:X(t.y,r.y)});if(i){let t=i((0,u.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,u.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!Q(o,e,this.currentDirection))return;let a=l&&l[o]||{};r&&(a={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...a};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,h.addValueToWillChange)(this.visualElement,t),i.start((0,c.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e="_drag".concat(t.toUpperCase()),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){(0,a.eachAxis)(e=>{let{drag:i}=this.getProps();if(!Q(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e],o=s.get()||0;s.set(t[e]-(0,d.mixNumber)(i,r,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,B.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=(0,g.calcLength)(t),s=(0,g.calcLength)(e);return s>n?i=(0,H.progress)(e.min,e.max-n,t.min):n>s&&(i=(0,H.progress)(t.min,t.max-s,e.min)),(0,Y.clamp)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.eachAxis)(e=>{if(!Q(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set((0,d.mixNumber)(s,r,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;Z.set(this.visualElement,this);let e=this.visualElement.current,i=R(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}
3=this.getProps(),s=t.target,r=s!==e&&(0,m.isElementTextInput)(s);i&&n&&!r&&this.start(t)}),n=()=>{let{dragConstraints:i}=this.getProps();(0,B.isRefObject)(i)&&i.current&&(this.constraints=this.resolveRefConstraints(),t||(t=function(t,e,i){let n=V(t,J(i)),s=V(e,J(i));return()=>{n(),s()}}(e,i.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,r=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),o.frame.read(n);let l=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=s.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&((0,a.eachAxis)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{l(),i(),r(),u&&u(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:o}}constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,r.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}}function J(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function Q(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tt extends n.Feature{mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.noop}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}constructor(t){super(t),this.removeGroupControls=s.noop,this.removeListeners=s.noop,this.controls=new $(t)}}t.s(["PanGesture",()=>tn],485651);var te=n;let ti=t=>(e,i)=>{t&&o.frame.update(()=>t(e,i),!1,!0)};class tn extends te.Feature{onPointerDown(t){this.session=new N(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:L(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:ti(t),onStart:ti(e),onMove:ti(i),onEnd:(t,e)=>{delete this.session,n&&o.frame.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=R(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}constructor(){super(...arguments),this.removePointerDownListener=s.noop}}t.s(["globalProjectionState",()=>ts],107230);let ts={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},464978,t=>{"use strict";t.s(["usePresence",()=>n]);var e=t.i(271645),i=t.i(821476);function n(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=(0,e.useContext)(i.PresenceContext);if(null===n)return[!0,null];let{isPresent:s,onExitComplete:r,register:o}=n,a=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,e.useCallback)(()=>t&&r&&r(a),[a,r,t]);return!s&&r?[!1,l]:[!0]}},646816,877397,717871,973089,957512,99642,t=>{"use strict";t.s(["drag",()=>tW],646816);var e=t.i(733986),i=t.i(485651);t.s(["MeasureLayout",()=>m],877397);var n=t.i(843476),s=t.i(107230),r=t.i(287022),o=t.i(560140),a=t.i(271645),l=t.i(464978),u=t.i(231178),h=t.i(104035);let c=!1;class d extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),c&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),s.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,{projection:o}=i;return o&&(o.isPresent=s,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),c=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||r.frame.postRender(()=>
3{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),o.microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;c=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function m(t){let[e,i]=(0,l.usePresence)(),s=(0,a.useContext)(u.LayoutGroupContext);return(0,n.jsx)(d,{...t,layoutGroup:s,switchLayoutGroup:(0,a.useContext)(h.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}t.s(["HTMLProjectionNode",()=>tU],717871);var p=t.i(570596),f=t.i(476959),v=t.i(260830),g=t.i(939011),y=t.i(486427),x=t.i(83411),T=t.i(716896),w=t.i(987333),b=t.i(496173),P=t.i(924463),S=t.i(504169),A=t.i(880248);t.i(763074);var M=t.i(889026),V=t.i(100706),E=t.i(733871),C=t.i(265091),D=t.i(783920),k=t.i(791559);let R=["TopLeft","TopRight","BottomLeft","BottomRight"],L=R.length,B=t=>"string"==typeof t?parseFloat(t):t,F=t=>"number"==typeof t||C.px.test(t);function j(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let I=N(0,.5,k.circOut),O=N(.5,.95,v.noop);function N(t,e,i){return n=>n<t?0:n>e?1:i((0,D.progress)(t,e,n))}function U(t,e){t.min=e.min,t.max=e.max}function W(t,e){U(t.x,e.x),U(t.y,e.y)}function G(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var z=t.i(135636),H=t.i(652101);function Y(t,e,i,n,s){return t-=e,t=(0,z.scalePoint)(t,1/i,n),void 0!==s&&(t=(0,z.scalePoint)(t,1/s,n)),t}function K(t,e,i,n,s){let[r,o,a]=i;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,s=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(C.percent.test(e)&&(e=parseFloat(e),e=(0,V.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,V.mixNumber)(r.min,r.max,n);t===r&&(a-=e),t.min=Y(t.min,e,i,a,s),t.max=Y(t.max,e,i,a,s)}(t,e[r],e[o],e[a],e.scale,n,s)}let X=["x","scaleX","originX"],q=["y","scaleY","originY"];function _(t,e,i,n){K(t.x,e,X,i?i.x:void 0,n?n.x:void 0),K(t.y,e,q,i?i.y:void 0,n?n.y:void 0)}var Z=t.i(130162);function $(t){return 0===t.translate&&1===t.scale}function J(t){return $(t.x)&&$(t.y)}function Q(t,e){return t.min===e.min&&t.max===e.max}function tt(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function te(t,e){return tt(t.x,e.x)&&tt(t.y,e.y)}function ti(t){return(0,H.calcLength)(t.x)/(0,H.calcLength)(t.y)}function tn(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var ts=t.i(133887);class tr{add(t){(0,ts.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1===n.isConnected&&!1!==i.isPresent&&!i.snapshot&&(0,ts.removeItem)(this.members,i)}t.scheduleRender()}remove(t){if((0,ts.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t],n=i.instance;if(!1!==i.isPresent&&(!n||!1!==n.isConnected)){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();let n=i.options.layoutDependency,s=t.options.layoutDependency;if(void 0===n||void 0===s||n!==s){let n=i.instance;!(n&&!1===n.isConnected&&!i.snapshot)&&(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()}}
3exitAnimationComplete(){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)}constructor(){this.members=[]}}var to=t.i(655559);let ta=(t,e)=>t.depth-e.depth;class tl{add(t){(0,ts.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,ts.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ta),this.isDirty=!1,this.children.forEach(t)}constructor(){this.children=[],this.isDirty=!1}}var tu=t.i(177777);let th={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tc=["","X","Y","Z"],td=0;function tm(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function tp(t){let{attachResizeListener:e,defaultParent:i,measureScroll:n,checkIsScrollRoot:a,resetTransform:l}=t;return class{addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new p.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];let s=this.eventHandlers.get(t);s&&s.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;this.isSVG=(0,M.isSVGElement)(t)&&(!(0,M.isSVGElement)(t)||"svg"!==t.tagName),this.instance=t;let{layoutId:i,layout:n,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),e){let i,n=0,o=()=>this.root.updateBlockedByResize=!1;r.frame.read(()=>{n=window.innerWidth}),e(t,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=b.time.now(),n=e=>{let{timestamp:s}=e,o=s-i;o>=250&&((0,r.cancelFrame)(n),t(o-250))};return r.frame.setup(n,!0),()=>(0,r.cancelFrame)(n)}(o,250),s.globalProjectionState.hasAnimatedSinceResize&&(s.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tP)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||n)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeLayoutChanged:n,layout:s}=t;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||o.getDefaultTransition()||tk,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=o.getProps(),u=!this.targetLayout||!te(this.targetLayout,s),h=!i&&n;if(this.options.layoutRoot||this.resumeFrom||h||i&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,w.getValueTransition)(r,"layout"),onPlay:a,onComplete:l};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,h)}else i||tP(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,r.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(tM),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,T.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",r.frame,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}
3(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tT);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tw);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tb),this.nodes.forEach(tf),this.nodes.forEach(tv)):this.nodes.forEach(tw),this.clearAllSnapshots();let t=b.time.now();r.frameData.delta=(0,f.clamp)(0,1e3/60,t-r.frameData.timestamp),r.frameData.timestamp=t,r.frameData.isProcessing=!0,r.frameSteps.update.process(r.frameData),r.frameSteps.preRender.process(r.frameData),r.frameSteps.render.process(r.frameData),r.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,o.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tx),this.sharedNodes.forEach(tV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,r.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){r.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,H.calcLength)(this.snapshot.measuredBox.x)||(0,H.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=(0,Z.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=a(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!l)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!J(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tu.hasTransform)(this.latestValues)||s)&&(l(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),tB((t=n).x),tB(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,Z.createBox)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tj))){let{scroll:t}=this.root;t&&((0,z.translateAxis)(i.x,t.offset.x),(0,z.translateAxis)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,Z.createBox)();if(W(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&W(i,t),(0,z.translateAxis)(i.x,s.offset.x),(0,z.translateAxis)(i.y,s.offset.y))}return i}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=(0,Z.createBox)();W(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,z.transformBox)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,tu.hasTransform)(n.latestValues)&&(0,z.transformBox)(i,n.latestValues)}return(0,tu.hasTransform)(this.latestValues)&&(0,z.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,Z.createBox)();W(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,tu.hasTransform)(i.latestValues))continue;(0,tu.hasScale)(i.latestValues)&&i.updateSnapshot();let n=(0,Z.createBox)();W(n,i.measurePageBox()),_(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,tu.hasTransform)(this.latestValues)&&_(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!==r.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var t;let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==i;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:o}=this.options;if(!this.layout||!(s||o))return;this.resolvedRelativeTargetAt=r.frameData.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,Z.createBox)(),this.targetWithTransforms=(0,Z.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,H.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):W(this.target,this.layout.layoutBox),(0,z.applyBoxDelta)(this.target,this.targetDelta)):W(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&1!==this.animationProgress?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),A.statsBuffer.value&&th.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,tu.hasScale)(this.parent.latestValues)||(0,tu.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Z.createBox)(),this.relativeTargetOrigin=(0,Z.createBox)(),(0,H.calcRelativePosition)(this.relativeTargetOrigin,e,i),W(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===r.frameData.timestamp&&(n=!1),n)return;let{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||o))return;W(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,l=this.treeScale.y;(0,z.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,Z.createBox)());let{target:u}=e;if(!u){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(G(this.prevProjectionDelta.x,this.projectionDelta.x),G(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,H.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===a&&this.treeScale.y===l&&tn(this.projectionDelta.x,this.prevProjectionDelta.x)&&tn(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),A.statsBuffer.value&&th.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,Z.createDelta)(),this.projectionDelta=(0,Z.createDelta)(),this.projectionDeltaWithTransform=(0,Z.createDelta)()}setAnimationOrigin(t){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.snapshot,s=n?n.latestValues:{},r={...this.latestValues},o=(0,Z.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let a=(0,Z.createBox)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
3!0===this.options.crossfade&&!this.path.some(tD));this.animationProgress=0,this.mixTargetDelta=i=>{let n=i/1e3;if(tE(o.x,t.x,n),tE(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,m,p,f,v;(0,H.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,v=n,tC(m.x,p.x,f.x,v),tC(m.y,p.y,f.y,v),e&&(u=this.relativeTarget,d=e,Q(u.x,d.x)&&Q(u.y,d.y))&&(this.isProjectionDirty=!1),e||(e=(0,Z.createBox)()),W(e,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,n,s,r){var o,a,l,u;s?(t.opacity=(0,V.mixNumber)(0,null!=(o=i.opacity)?o:1,I(n)),t.opacityExit=(0,V.mixNumber)(null!=(a=e.opacity)?a:1,0,O(n))):r&&(t.opacity=(0,V.mixNumber)(null!=(l=e.opacity)?l:1,null!=(u=i.opacity)?u:1,n));for(let s=0;s<L;s++){let r="border".concat(R[s],"Radius"),o=j(e,r),a=j(i,r);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||F(o)===F(a)?(t[r]=Math.max((0,V.mixNumber)(B(o),B(a),n),0),(C.percent.test(a)||C.percent.test(o))&&(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,V.mixNumber)(e.rotate||0,i.rotate||0,n))}(r,s,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){var e,i,n;this.notifyListeners("animationStart"),null==(e=this.currentAnimation)||e.stop(),null==(n=this.resumingFrom)||null==(i=n.currentAnimation)||i.stop(),this.pendingAnimation&&((0,r.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=r.frame.update(()=>{s.globalProjectionState.hasAnimatedSinceResize=!0,S.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,y.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,i){let n=(0,x.isMotionValue)(t)?t:(0,y.motionValue)(t);return n.start((0,g.animateMotionValue)("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{S.activeAnimations.layout--},onComplete:()=>{S.activeAnimations.layout--,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:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&tF(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,Z.createBox)();let e=(0,H.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=(0,H.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}W(e,i),(0,z.transformBox)(e,s),(0,H.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tr),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}
3resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&tm("z",t,n,this.animationValues);for(let e=0;e<tc.length;e++)tm("rotate".concat(tc[e]),t,n,this.animationValues),tm("skew".concat(tc[e]),t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,E.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,E.resolveMotionValue)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,tu.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((s||r||o)&&(n="translate3d(".concat(s,"px, ").concat(r,"px, ").concat(o,"px) ")),(1!==e.x||1!==e.y)&&(n+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:r,skewX:o,skewY:a}=i;t&&(n="perspective(".concat(t,"px) ").concat(n)),e&&(n+="rotate(".concat(e,"deg) ")),s&&(n+="rotateX(".concat(s,"deg) ")),r&&(n+="rotateY(".concat(r,"deg) ")),o&&(n+="skewX(".concat(o,"deg) ")),a&&(n+="skewY(".concat(a,"deg) "))}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+="scale(".concat(a,", ").concat(l,")")),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:o,y:a}=this.projectionDelta;if(t.transformOrigin="".concat(100*o.origin,"% ").concat(100*a.origin,"% 0"),n.animationValues){var l,u;t.opacity=n===this?null!=(u=null!=(l=s.opacity)?l:this.latestValues.opacity)?u:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit}else t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;
3for(let e in P.scaleCorrectors){if(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=P.scaleCorrectors[e],l="none"===r?s[e]:i(s[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,E.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(tT),this.root.sharedNodes.clear()}constructor(t={},e=null==i?void 0:i()){this.id=td++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,A.statsBuffer.value&&(th.nodes=th.calculatedTargetDeltas=th.calculatedProjections=0),this.nodes.forEach(tg),this.nodes.forEach(tS),this.nodes.forEach(tA),this.nodes.forEach(ty),A.statsBuffer.addProjectionMetrics&&A.statsBuffer.addProjectionMetrics(th)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new tl)}}}function tf(t){t.updateLayout()}function tv(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:s}=t.options,r=i.source!==t.layout.source;"size"===s?(0,to.eachAxis)(t=>{let n=r?i.measuredBox[t]:i.layoutBox[t],s=(0,H.calcLength)(n);n.min=e[t].min,n.max=n.min+s}):tF(s,i.layoutBox,e)&&(0,to.eachAxis)(n=>{let s=r?i.measuredBox[n]:i.layoutBox[n],o=(0,H.calcLength)(e[n]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,Z.createDelta)();(0,H.calcBoxDelta)(o,e,i.layoutBox);let a=(0,Z.createDelta)();r?(0,H.calcBoxDelta)(a,t.applyTransform(n,!0),i.measuredBox):(0,H.calcBoxDelta)(a,e,i.layoutBox);let l=!J(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let o=(0,Z.createBox)();(0,H.calcRelativePosition)(o,i.layoutBox,s.layoutBox);let a=(0,Z.createBox)();(0,H.calcRelativePosition)(a,e,r.layoutBox),te(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tg(t){A.statsBuffer.value&&th.nodes++,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 ty(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tx(t){t.clearSnapshot()}function tT(t){t.clearMeasurements()}function tw(t){t.isLayoutDirty=!1}function tb(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tP(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tS(t){t.resolveTargetDelta()}function tA(t){t.calcProjection()}
3function tM(t){t.resetSkewAndRotation()}function tV(t){t.removeLeadSnapshot()}function tE(t,e,i){t.translate=(0,V.mixNumber)(e.translate,0,i),t.scale=(0,V.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tC(t,e,i,n){t.min=(0,V.mixNumber)(e.min,i.min,n),t.max=(0,V.mixNumber)(e.max,i.max,n)}function tD(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tk={duration:.45,ease:[.4,0,.1,1]},tR=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tL=tR("applewebkit/")&&!tR("chrome/")?Math.round:v.noop;function tB(t){t.min=tL(t.min),t.max=tL(t.max)}function tF(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,H.isNear)(ti(e),ti(i),.2)}function tj(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tI=t.i(282774);let tO=tp({attachResizeListener:(t,e)=>(0,tI.addDomEvent)(t,"resize",e),measureScroll:()=>{var t,e;return{x:document.documentElement.scrollLeft||(null==(t=document.body)?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||(null==(e=document.body)?void 0:e.scrollTop)||0}},checkIsScrollRoot:()=>!0}),tN={current:void 0},tU=tp({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tN.current){let t=new tO({});t.mount(window),t.setOptions({layoutScroll:!0}),tN.current=t}return tN.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),tW={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tU,MeasureLayout:m}};t.s(["HoverGesture",()=>tq],957512);var tG=t.i(142098),tz=t.i(439676);t.s(["setupGesture",()=>tY],973089);var tH=t.i(749652);function tY(t,e){let i=(0,tH.resolveElements)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}var tK=t.i(665536);function tX(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&r.frame.postRender(()=>s(e,(0,tK.extractEventInfo)(e)))}class tq extends tG.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[n,s,r]=tY(t,i);return n.forEach(t=>{let i,n=!1,r=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),r&&(r=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){r=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,tz.isDragActive)())return;r=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),r}(t,(t,e)=>(tX(this.node,e,"Start"),t=>tX(this.node,t,"End"))))}unmount(){}}t.s(["FocusGesture",()=>t$],99642);var t_=tG,tZ=t.i(738638);class t$ extends t_.Feature{onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,tZ.pipe)((0,tI.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tI.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}constructor(){super(...arguments),this.isActive=!1}}},772846,t=>{"use strict";t.s(["isHTMLElement",()=>i]);var e=t.i(642824);function i(t){return(0,e.isObject)(t)&&"offsetHeight"in t}},846932,t=>{"use strict";t.s(["motion",()=>F],846932);var e=t.i(154505),i=t.i(907051),n=t.i(223070),s=t.i(646816),r=t.i(957512),o=t.i(99642),a=t.i(142098),l=t.i(772846),u=t.i(439676);let h=(t,e)=>!!e&&(t===e||h(t,e.parentElement));var c=t.i(341327),d=t.i(973089),m=t.i(919880);let p=new WeakSet;function f(t){return e=>{"Enter"===e.key&&t(e)}}function v(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function g(t){return(0,c.isPrimaryPointer)(t)&&!(0,u.isDragActive)()}let y=new WeakSet;var x=t.i(287022),T=t.i(665536);function w(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&x.frame.postRender(()=>s(e,(0,T.extractEventInfo)(e)))}class b extends a.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[n,s,r]=(0,d.setupGesture)(t,i),o=t=>{let n=t.currentTarget;if(!g(t)||y.has(t))return;p.add(n),i.stopPropagation&&y.add(t);let r=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),p.has(n)&&p.delete(n),g(t)&&"function"==typeof r&&r(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||h(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};
3return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),(0,l.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=f(()=>{if(p.has(i))return;v(i,"down");let t=f(()=>{v(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>v(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),(0,m.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(w(this.node,e,"Start"),(t,e)=>{let{success:i}=e;return w(this.node,t,i?"End":"Cancel")}),{useGlobalTarget:e,stopPropagation:(null==i?void 0:i.tap)===!1})}unmount(){}}var P=a;let S=new WeakMap,A=new WeakMap,M=t=>{let e=S.get(t.target);e&&e(t)},V=t=>{t.forEach(M)},E={some:0,all:1};class C extends P.Feature{startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:s}=t,r={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:E[n]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,s&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};var a=this.node.current;let l=function(t){let{root:e,...i}=t,n=e||document;A.has(n)||A.set(n,{});let s=A.get(n),r=JSON.stringify(i);return s[r]||(s[r]=new IntersectionObserver(V,{root:e,...i})),s[r]}(r);return S.set(a,o),l.observe(a),()=>{S.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function(t){let{viewport:e={}}=t,{viewport:i={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>e[t]!==i[t]}(t,e))&&this.startObserver()}unmount(){}constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}}let D={inView:{Feature:C},tap:{Feature:b},focus:{Feature:o.FocusGesture},hover:{Feature:r.HoverGesture}};var k=t.i(717871),R=t.i(877397);let L={layout:{ProjectionNode:k.HTMLProjectionNode,MeasureLayout:R.MeasureLayout}},B={...n.animations,...D,...s.drag,...L},F=(0,i.createMotionProxy)(B,e.createDomVisualElement)}]);
4
5//# debugId=b20fbaf7-44e9-543d-8fed-5edeeb36dafa
6//# sourceMappingURL=b41c43c86219f8c1.js.map

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.