PageSourceSearch

https://ecctis.com/wp-content/themes/ecctis/public/2187-a1538cfce2bafe2d4480.js

js ecctis.com collected 2026-09-25 20:13:45 UTC 55,938 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkecctis=self.webpackChunkecctis||[]).push([[2187],{82187:(t,e,i)=>{let s;function n(t){return"object"==typeof t&&!Array.isArray(t)}function r(t,e,i,s){if("string"==typeof t&&n(e)){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document;i&&(e=i.current);let n=s?.[t]??e.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}return t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function a(t,e,i,s){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?i:e.startsWith("<")?Math.max(0,i+parseFloat(e.slice(1))):s.get(e)??t}i.d(e,{i:()=>iL});let o=(t,e,i)=>t+(e-t)*i,l=t=>Array.isArray(t)&&"number"!=typeof t[0];function u(t,e){return l(t)?t[((t,e,i)=>{let s=e-t;return((i-t)%s+s)%s+t})(0,t.length,e)]:t}function h(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function d(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}let p=t=>!!(t&&t.getVelocity),c=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s};function m(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let n=c(0,e,s);t.push(o(i,1,n))}}function f(t){let e=[0];return m(e,t.length-1),e}function g(t){return"function"==typeof t&&"applyToOptions"in t}function y(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let v=t=>1e3*t;function b(t,e=100,i){let s=i({...t,keyframes:[0,e]}),n=Math.min(y(s),2e4);return{type:"keyframes",ease:t=>s.next(n*t).value/e,duration:n/1e3}}let w=()=>{},T=()=>{};function M(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function A(t,e){return e[t]||(e[t]=[]),e[t]}let V=t=>"number"==typeof t,S=t=>t.every(V),x=new WeakMap;function k(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function C(t,e,i,s){if("function"==typeof e){let[n,r]=k(s);e=e(void 0!==i?i:t.custom,n,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,r]=k(s);e=e(void 0!==i?i:t.custom,n,r)}return e}let F=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],P={value:null},O={},E=t=>t,{schedule:D,cancel:I,state:R}=function(t,e){let i=!1,s=!0,n={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,a=F.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,n=!1,r=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){a.has(e)&&(h.schedule(e),t()),l++,e(o)}let h={schedule:(t,e=!1,r=!1)=>{let o=r&&n?i:s;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{s.delete(t),a.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0,[i,s]=[s,i],i.forEach(u),e&&P.value&&P.value.frameloop[e].push(l),l=0,i.clear(),n=!1,r&&(r=!1,h.process(t))}};return h}(r,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:h,update:d,preRender:p,render:c,postRender:m}=a,f=()=>{let r=O.useManualTiming?n.timestamp:performance.now();i=!1,O.useManualTiming||(n.delta=s?1e3/60:Math.max(Math.min(r-n.timestamp,40),1)),n.timestamp=r,n.isProcessing=!0,o.process(n),l.process(n),u.process(n),h.process(n),d.process(n),p.process(n),c.process(n),m.process(n),n.isProcessing=!1,i&&e&&(s=!1,t(f))};return{schedule:F.reduce((e,r)=>{let o=a[r];return e[r]=(e,r=!1,a=!1)=>(!i&&(i=!0,s=!0,n.isProcessing||t(f)),o.schedule(e,r,a)),e},{}),cancel:t=>{for(let e=0;e<F.length;e++)a[F[e]].cancel(t)},state:n,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:E,!0);function N(){s=void 0}let $={now:()=>(void 0===s&&$.set(R.isProcessing||O.useManualTiming?R.timestamp:performance.now()),s),set:t=>{s=t,queueMicrotask(N)}};class B{constructor(){this.subscriptions=[]}add(t){var e;return e=this.subscriptions,-1===e.indexOf(t)&&e.push(t),()=>h(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let n=0;n<s;n++){let s=this.subscriptions[n];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let j={current:void 0};class W{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=$.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty();e&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=$.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new B);let i=this.events[t].add(e);return"change"===t?()=>{i(),D.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return j.current&&j.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=$.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Y(t,e){return new W(t,e)}let K=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),L="data-"+K("framerAppearId"),q=t=>null!==t,X=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],U=new Set(X),z={type:"spring",stiffness:500,damping:25,restSpeed:10},Z={type:"keyframes",duration:.8},_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};function H(t,e){return t?.[e]??t?.default??t}let G={mainThread:0,waapi:0},J=t=>e=>"string"==typeof e&&e.startsWith(t),Q=J("--"),tt=J("var(--"),te=t=>!!tt(t)&&ti.test(t.split("/*")[0].trim()),ti=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ts=(t,e,
1i)=>i>e?e:i<t?t:i,tn={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tr={...tn,transform:t=>ts(0,1,t)},ta={...tn,default:1},to=t=>Math.round(1e5*t)/1e5,tl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tu=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,th=(t,e)=>i=>!!("string"==typeof i&&tu.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),td=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[n,r,a,o]=s.match(tl);return{[t]:parseFloat(n),[e]:parseFloat(r),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},tp={...tn,transform:t=>Math.round(ts(0,255,t))},tc={test:th("rgb","red"),parse:td("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+tp.transform(t)+", "+tp.transform(e)+", "+tp.transform(i)+", "+to(tr.transform(s))+")"},tm={test:th("#"),parse:function(t){let e="",i="",s="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,s+=s,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}},transform:tc.transform},tf=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tg=tf("deg"),ty=tf("%"),tv=tf("px"),tb=tf("vh"),tw=tf("vw"),tT={...ty,parse:t=>ty.parse(t)/100,transform:t=>ty.transform(100*t)},tM={test:th("hsl","hue"),parse:td("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+ty.transform(to(e))+", "+ty.transform(to(i))+", "+to(tr.transform(s))+")"},tA={test:t=>tc.test(t)||tm.test(t)||tM.test(t),parse:t=>tc.test(t)?tc.parse(t):tM.test(t)?tM.parse(t):tm.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tc.transform(t):tM.transform(t),getAnimatableNone:t=>{let e=tA.parse(t);return e.alpha=0,tA.transform(e)}},tV=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tS="number",tx="color",tk=/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 tC(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,a=e.replace(tk,t=>(tA.test(t)?(s.color.push(r),n.push(tx),i.push(tA.parse(t))):t.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(t)):(s.number.push(r),n.push(tS),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:a,indexes:s,types:n}}function tF(t){return tC(t).values}function tP(t){let{split:e,types:i}=tC(t),s=e.length;return t=>{let n="";for(let r=0;r<s;r++)if(n+=e[r],void 0!==t[r]){let e=i[r];e===tS?n+=to(t[r]):e===tx?n+=tA.transform(t[r]):n+=t[r]}return n}}let tO=t=>"number"==typeof t?0:tA.test(t)?tA.getAnimatableNone(t):t,tE={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(tl)?.length||0)+(t.match(tV)?.length||0)>0},parse:tF,createTransformer:tP,getAnimatableNone:function(t){let e=tF(t);return tP(t)(e.map(tO))}};function tD(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function tI(t,e){return i=>i>0?e:t}let tR=(t,e,i)=>{let s=t*t,n=i*(e*e-s)+s;return n<0?0:Math.sqrt(n)},tN=[tm,tc,tM];function t$(t){let e=tN.find(e=>e.test(t));if(w(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===tM&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let n=0,r=0,a=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,o=2*i-s;n=tD(o,s,t+1/3),r=tD(o,s,t),a=tD(o,s,t-1/3)}else n=r=a=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*a),alpha:s}}(i)),i}let tB=(t,e)=>{let i=t$(t),s=t$(e);if(!i||!s)return tI(t,e);let n={...i};return t=>(n.red=tR(i.red,s.red,t),n.green=tR(i.green,s.green,t),n.blue=tR(i.blue,s.blue,t),n.alpha=o(i.alpha,s.alpha,t),tc.transform(n))},tj=new Set(["none","hidden"]),tW=(t,e)=>i=>e(t(i)),tY=(...t)=>t.reduce(tW);function tK(t,e){return i=>o(t,e,i)}function tL(t){return"number"==typeof t?tK:"string"==typeof t?te(t)?tI:tA.test(t)?tB:tU:Array.isArray(t)?tq:"object"==typeof t?tA.test(t)?tB:tX:tI}function tq(t,e){let i=[...t],s=i.length,n=t.map((t,i)=>tL(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=n[e](t);return i}}function tX(t,e){let i={...t,...e},s={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(s[n]=tL(t[n])(t[n],e[n]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let tU=(t,e)=>{let i=tE.createTransformer(e),s=tC(t),n=tC(e);return s.indexes.var.length===n.indexes.var.length&&s.indexes.color.length===n.indexes.color.length&&s.indexes.number.length>=n.indexes.number.length?tj.has(t)&&!n.values.length||tj.has(e)&&!s.values.length?function(t,e){return tj.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):tY(tq(function(t,e){let i=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let r=e.types[n],a=t.indexes[r][s[r]],o=t.values[a]??0;i[n]=o,s[r]++}return i}(s,n),n.values),i):(w(!0,`Complex values '${t}' and '${e}
1' 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.`),tI(t,e))};function tz(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?o(t,e,i):tL(t)(t,e)}let tZ=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>D.update(e,t),stop:()=>I(e),now:()=>R.isProcessing?R.timestamp:$.now()}},t_=(t,e,i=10)=>{let s="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)s+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`};function tH(t,e,i){var s,n;let r=Math.max(e-5,0);return s=i-t(r),(n=e-r)?1e3/n*s:0}let tG={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 tJ(t,e){return t*Math.sqrt(1-e*e)}let tQ=["duration","bounce"],t0=["stiffness","damping","mass"];function t1(t,e){return e.some(e=>void 0!==t[e])}function t2(t=tG.visualDuration,e=tG.bounce){let i,s="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:r}=s,a=s.keyframes[0],o=s.keyframes[s.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:h,mass:d,duration:p,velocity:c,isResolvedFromDuration:m}=function(t){let e={velocity:tG.velocity,stiffness:tG.stiffness,damping:tG.damping,mass:tG.mass,isResolvedFromDuration:!1,...t};if(!t1(t,t0)&&t1(t,tQ))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,n=2*ts(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:tG.mass,stiffness:s,damping:n}}else{let i=function({duration:t=tG.duration,bounce:e=tG.bounce,velocity:i=tG.velocity,mass:s=tG.mass}){let n,r;w(t<=v(tG.maxDuration),"Spring duration must be 10 seconds or less");let a=1-e;a=ts(tG.minDamping,tG.maxDamping,a),t=ts(tG.minDuration,tG.maxDuration,t/1e3),a<1?(n=e=>{let s=e*a,n=s*t;return .001-(s-i)/tJ(e,a)*Math.exp(-n)},r=e=>{let s=e*a*t,r=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-s),l=tJ(Math.pow(e,2),a);return(s*i+i-r)*o*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=>t*t*(i-e)*Math.exp(-e*t));let o=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(n,r,5/t);if(t=v(t),isNaN(o))return{stiffness:tG.stiffness,damping:tG.damping,duration:t};{let e=Math.pow(o,2)*s;return{stiffness:e,damping:2*a*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:tG.mass}).isResolvedFromDuration=!0}return e}({...s,velocity:-((s.velocity||0)/1e3)}),f=c||0,g=h/(2*Math.sqrt(u*d)),b=o-a,T=Math.sqrt(u/d)/1e3,M=5>Math.abs(b);if(n||(n=M?tG.restSpeed.granular:tG.restSpeed.default),r||(r=M?tG.restDelta.granular:tG.restDelta.default),g<1){let t=tJ(T,g);i=e=>o-Math.exp(-g*T*e)*((f+g*T*b)/t*Math.sin(t*e)+b*Math.cos(t*e))}else if(1===g)i=t=>o-Math.exp(-T*t)*(b+(f+T*b)*t);else{let t=T*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*T*e),s=Math.min(t*e,300);return o-i*((f+g*T*b)*Math.sinh(s)+t*b*Math.cosh(s))/t}}let A={calculatedDuration:m&&p||null,next:t=>{let e=i(t);if(m)l.done=t>=p;else{let s=0===t?f:0;g<1&&(s=0===t?v(f):tH(i,t,e));let a=Math.abs(o-e)<=r;l.done=Math.abs(s)<=n&&a}return l.value=l.done?o:e,l},toString:()=>{let t=Math.min(y(A),2e4),e=t_(e=>A.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return A}function t5({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,p,c=t[0],m={done:!1,value:c},f=i*e,g=c+f,y=void 0===a?g:a(g);y!==g&&(f=y-c);let v=t=>-f*Math.exp(-t/s),b=t=>y+v(t),w=t=>{let e=v(t),i=b(t);m.done=Math.abs(e)<=u,m.value=m.done?y:i},T=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,p=t2({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:tH(b,t,m.value),damping:n,stiffness:r,restDelta:u,restSpeed:h})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==d||(e=!0,w(t),T(t)),void 0!==d&&t>=d)?p.next(t-d):(e||w(t),m)}}}t2.applyToOptions=t=>{let e=b(t,100,t2);return t.ease=e.ease,t.duration=v(e.duration),t.type="keyframes",t};let t3=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function t4(t,e,i,s){return t===e&&i===s?E:n=>
10===n||1===n?n:t3(function(t,e,i,s,n){let r,a,o=0;do(r=t3(a=e+(i-e)/2,s,n)-t)>0?i=a:e=a;while(Math.abs(r)>1e-7&&++o<12)return a}(n,0,1,t,i),e,s)}let t6=t4(.42,0,1,1),t8=t4(0,0,.58,1),t9=t4(.42,0,.58,1),t7=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,et=t=>e=>1-t(1-e),ee=t4(.33,1.53,.69,.99),ei=et(ee),es=t7(ei),en=t=>(t*=2)<1?.5*ei(t):.5*(2-Math.pow(2,-10*(t-1))),er=t=>1-Math.sin(Math.acos(t)),ea=et(er),eo=t7(er),el=t=>Array.isArray(t)&&"number"==typeof t[0],eu={linear:E,easeIn:t6,easeInOut:t9,easeOut:t8,circIn:er,circInOut:eo,circOut:ea,backIn:ei,backInOut:es,backOut:ee,anticipate:en},eh=t=>{if(el(t)){T(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,s,n]=t;return t4(e,i,s,n)}return"string"==typeof t?(T(void 0!==eu[t],`Invalid easing type '${t}'`),eu[t]):t};function ed({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var n;let r=l(s)?s.map(eh):eh(s),a={done:!1,value:e[0]},o=function(t,e,{clamp:i=!0,ease:s,mixer:n}={}){let r=t.length;if(T(r===e.length,"Both input and output ranges must be the same length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let s=[],n=i||O.mix||tz,r=t.length-1;for(let i=0;i<r;i++){let r=n(t[i],t[i+1]);e&&(r=tY(Array.isArray(e)?e[i]||E:e,r)),s.push(r)}return s}(e,s,n),l=o.length,u=i=>{if(a&&i<t[0])return e[0];let s=0;if(l>1)for(;s<t.length-2&&!(i<t[s+1]);s++);let n=c(t[s],t[s+1],i);return o[s](n)};return i?e=>u(ts(t[0],t[r-1],e)):u}((n=i&&i.length===e.length?i:f(e),n.map(e=>e*t)),e,{ease:Array.isArray(r)?r:e.map(()=>r||t9).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=o(e),a.done=e>=t,a)}}let ep=t=>null!==t;function ec(t,{repeat:e,repeatType:i="loop"},s,n=1){let r=t.filter(ep),a=n<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return a&&void 0!==s?s:r[a]}let em={decay:t5,inertia:t5,tween:ed,keyframes:ed,spring:t2};function ef(t){"string"==typeof t.type&&(t.type=em[t.type])}class eg{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let ey=t=>t/100;class ev extends eg{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==$.now()&&this.tick($.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},G.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;ef(t);let{type:e=ed,repeat:i=0,repeatDelay:s=0,repeatType:n,velocity:r=0}=t,{keyframes:a}=t,o=e||ed;o!==ed&&"number"!=typeof a[0]&&(this.mixKeyframes=tY(ey,tz(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===n&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=y(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+s,this.totalDuration=this.resolvedDuration*(i+1)-s,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,e=!1){let{generator:i,totalDuration:s,mixKeyframes:n,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:o}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:h,repeatType:d,repeatDelay:p,type:c,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let v=this.currentTime,b=i;if(h){let t=Math.min(this.currentTime,s)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,h+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/a)):"mirror"===d&&(b=r)),v=ts(0,1,i)*a}let w=y?{done:!1,value:u[0]}:b.next(v);n&&(w.value=n(w.value));let{done:T}=w;y||null===o||(T=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let M=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return M&&c!==t5&&(w.value=ec(u,this.options,f,this.speed)),m&&m(w.value),M&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get time(){return this.currentTime/1e3}set time(t){t=v(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime($.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=tZ,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime($.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,G.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let eb=t=>180*t/Math.PI,ew=t=>eM(eb(Math.atan2(t[1],t[0]))),eT={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ew,rotateZ:ew,skewX:t=>eb(Math.atan(t[1])),skewY:t=>eb(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},eM=t=>((t%=360)<0&&(t+=360),t),eA=t=>
1Math.sqrt(t[0]*t[0]+t[1]*t[1]),eV=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),eS={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eA,scaleY:eV,scale:t=>(eA(t)+eV(t))/2,rotateX:t=>eM(eb(Math.atan2(t[6],t[5]))),rotateY:t=>eM(eb(Math.atan2(-t[2],t[0]))),rotateZ:ew,rotate:ew,skewX:t=>eb(Math.atan(t[4])),skewY:t=>eb(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ex(t){return+!!t.includes("scale")}function ek(t,e){let i,s;if(!t||"none"===t)return ex(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=eS,s=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=eT,s=e}if(!s)return ex(e);let r=i[e],a=s[1].split(",").map(eC);return"function"==typeof r?r(a):a[r]}function eC(t){return parseFloat(t.trim())}let eF=t=>t===tn||t===tv,eP=new Set(["x","y","z"]),eO=X.filter(t=>!eP.has(t)),eE={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>ek(e,"x"),y:(t,{transform:e})=>ek(e,"y")};eE.translateX=eE.x,eE.translateY=eE.y;let eD=new Set,eI=!1,eR=!1,eN=!1;function e$(){if(eR){let t=Array.from(eD).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 eO.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.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,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}eR=!1,eI=!1,eD.forEach(t=>t.complete(eN)),eD.clear()}function eB(){eD.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eR=!0)})}class ej{constructor(t,e,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(eD.add(this),eI||(eI=!0,D.read(eB),D.resolveKeyframes(e$))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;if(null===t[0]){let n=s?.get(),r=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let s=i.readValue(e,r);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=r),s&&void 0===n&&s.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),eD.delete(this)}cancel(){"scheduled"===this.state&&(eD.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function eW(t){let e;return()=>(void 0===e&&(e=t()),e)}let eY=eW(()=>void 0!==window.ScrollTimeline),eK={},eL=function(t,e){let i=eW(t);return()=>eK[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),eq=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,eX={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eq([0,.65,.55,1]),circOut:eq([.55,0,1,.45]),backIn:eq([.31,.01,.66,-.59]),backOut:eq([.33,1.53,.69,.99])};class eU extends eg{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:s,pseudoElement:n,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!n,this.allowFlatten=r,this.options=t,T("string"!=typeof t.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let l=function({type:t,...e}){return g(t)&&eL()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:s=0,duration:n=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?eL()?t_(e,i):"ease-out":el(e)?eq(e):Array.isArray(e)?e.map(e=>t(e,i)||eX.easeOut):eX[e]}(o,n);Array.isArray(d)&&(h.easing=d),P.value&&G.waapi++;let p={delay:s,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};u&&(p.pseudoElement=u);let c=t.animate(h,p);return P.value&&c.finished.finally(()=>{G.waapi--}),c}(e,i,s,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=ec(s,this.options,a,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()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=v(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&eY())?(this.animation.timeline=t,E):e(this)}}let ez={anticipate:en,backInOut:es,circInOut:eo};class eZ extends eU{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in ez&&(t.ease=ez[t.ease])}(t),ef(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:n,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new ev({...r,autoplay:!1}),o=v(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let e_=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tE.test(t)||"0"===t)&&!t.startsWith("url("));function eH(t){return"object"==typeof t&&null!==t}let eG=new Set(["opacity","clipPath","filter","transform"]),eJ=eW(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eQ extends eg{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=$.now();let d={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,name:o,motionValue:l,element:u,...h},p=u?.KeyframeResolver||ej;this.keyframeResolver=new p(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){this.keyframeResolver=void 0;let{name:n,type:r,velocity:a,delay:o,isHandoff:l,onUpdate:u}=i;
1this.resolvedAt=$.now(),!function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=e_(n,e),o=e_(r,e);return w(a===o,`You are trying to animate ${e} from "${n}" to "${r}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${r} via the \`style\` property.`),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||g(i))&&s)}(t,n,r,a)&&((O.instantAnimations||!o)&&u?.(ec(t,i,e)),t[0]=t[t.length-1],i.duration=0,i.repeat=0);let h={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!l&&function(t){var e;let{motionValue:i,name:s,repeatDelay:n,repeatType:r,damping:a,type:o}=t;if(!(eH(e=i?.owner?.current)&&"offsetHeight"in e))return!1;let{onUpdate:l,transformTemplate:u}=i.owner.getProps();return eJ()&&s&&eG.has(s)&&("transform"!==s||!u)&&!l&&!n&&"mirror"!==r&&0!==a&&"inertia"!==o}(h)?new eZ({...h,element:h.motionValue.owner.current}):new ev(h);d.finished.then(()=>this.notifyFinished()).catch(E),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eN=!0,eB(),e$(),eN=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let e0=(t,e,i,s={},n,r)=>a=>{let o=H(s,t)||{},l=o.delay||s.delay||0,{elapsed:u=0}=s;u-=v(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-u,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:r?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(o)&&Object.assign(h,((t,{keyframes:e})=>e.length>2?Z:U.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:z:_)(t,h)),h.duration&&(h.duration=v(h.duration)),h.repeatDelay&&(h.repeatDelay=v(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let d=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0===h.delay&&(d=!0)),(O.instantAnimations||O.skipAnimations)&&(d=!0,h.duration=0,h.delay=0),h.allowFlatten=!o.type&&!o.ease,d&&!r&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},s){let n=t.filter(q),r=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[r]}(h.keyframes,o);if(void 0!==t)return void D.update(()=>{h.onUpdate(t),h.onComplete()})}return o.isSync?new ev(h):new eQ(h)},e1=new Set(["width","height","top","left","right","bottom",...X]),e2={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"]},e5={};for(let t in e2)e5[t]={isEnabled:e=>e2[t].some(t=>!!e[t])};let e3=()=>({min:0,max:0}),e4=()=>({x:e3(),y:e3()}),e6="undefined"!=typeof window,e8={current:null},e9={current:!1},e7=["initial","animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"];function it(t){var e;return null!==(e=t.animate)&&"object"==typeof e&&"function"==typeof e.start||e7.some(e=>{var i;return"string"==typeof(i=t[e])||Array.isArray(i)})}let ie=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),ii=t=>/^0[^.\s]+$/u.test(t),is=t=>e=>e.test(t),ir=[tn,tv,ty,tg,tw,tb,{test:t=>"auto"===t,parse:t=>t}],ia=t=>ir.find(is(t)),io=[...ir,tA,tE],il=new Set(["brightness","contrast","saturate","opacity"]);function iu(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(tl)||[];if(!s)return t;let n=i.replace(s,""),r=+!!il.has(e);return s!==i&&(r*=100),e+"("+r+n+")"}let ih=/\b([a-z-]*)\(.*?\)/gu,id={...tE,getAnimatableNone:t=>{let e=t.match(ih);return e?e.map(iu).join(" "):t}},ip={...tn,transform:Math.round},ic={borderWidth:tv,borderTopWidth:tv,borderRightWidth:tv,borderBottomWidth:tv,borderLeftWidth:tv,borderRadius:tv,radius:tv,borderTopLeftRadius:tv,borderTopRightRadius:tv,borderBottomRightRadius:tv,borderBottomLeftRadius:tv,width:tv,maxWidth:tv,height:tv,maxHeight:tv,top:tv,right:tv,bottom:tv,left:tv,padding:tv,paddingTop:tv,paddingRight:tv,paddingBottom:tv,paddingLeft:tv,margin:tv,marginTop:tv,marginRight:tv,marginBottom:tv,marginLeft:tv,backgroundPositionX:tv,backgroundPositionY:tv,rotate:tg,rotateX:tg,rotateY:tg,rotateZ:tg,scale:ta,scaleX:ta,scaleY:ta,scaleZ:ta,skew:tg,skewX:tg,skewY:tg,distance:tv,translateX:tv,translateY:tv,translateZ:tv,x:tv,y:tv,z:tv,perspective:tv,transformPerspective:tv,opacity:tr,originX:tT,originY:tT,originZ:tv,zIndex:ip,fillOpacity:tr,strokeOpacity:tr,numOctaves:ip},im={...ic,color:tA,backgroundColor:tA,outlineColor:tA,fill:tA,stroke:tA,borderColor:tA,borderTopColor:tA,borderRightColor:tA,borderBottomColor:tA,borderLeftColor:tA,filter:id,WebkitFilter:id},ig=t=>im[t];function iy(t,e){let i=ig(t);return i!==id&&(i=tE),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let iv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];
1class ib{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:n,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ej,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=$.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,D.render(this.render,!1,!0))};let{latestValues:o,renderState:l}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=!!n,this.isControllingVariants=it(e),this.isVariantNode=function(t){return!!(it(t)||t.variants)}(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==o[t]&&p(e)&&e.set(o[t],!1)}}mount(t){this.current=t,x.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)),e9.current||function(){if(e9.current=!0,e6)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>e8.current=t.matches;t.addListener(e),e()}else e8.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||e8.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),I(this.notifyUpdate),I(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=U.has(t);s&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&D.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),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 e5){let e=e5[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):e4()}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<iv.length;e++){let i=iv[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}
1this.prevMotionValues=function(t,e,i){for(let s in e){let n=e[s],r=i[s];if(p(n))t.addValue(s,n);else if(p(r))t.addValue(s,Y(n,{owner:t}));else if(r!==n)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(s);t.addValue(s,Y(void 0!==e?e:n,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=Y(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){if("string"==typeof i&&(ie(i)||ii(i)))i=parseFloat(i);else{let s;s=i,!io.find(is(s))&&tE.test(e)&&(i=iy(t,e))}this.setBaseTarget(t,p(i)?i.get():i)}return p(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=C(this.props,i,this.presenceContext?.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||p(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new B),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}let iw=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,iT=new Set(["auto","none","0"]);class iM extends ej{constructor(t,e,i,s,n){super(t,e,i,s,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&te(s=s.trim())){let n=function t(e,i,s=1){T(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,r]=function(t){let e=iw.exec(t);if(!e)return[,];let[,i,s,n]=e;return[`--${i??s}`,n]}(e);if(!n)return;let a=window.getComputedStyle(i).getPropertyValue(n);if(a){let t=a.trim();return ie(t)?parseFloat(t):t}return te(r)?t(r,i,s+1):r}(s,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!e1.has(i)||2!==t.length)return;let[s,n]=t,r=ia(s),a=ia(n);if(r!==a)if(eF(r)&&eF(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else eE[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var s;(null===t[e]||("number"==typeof(s=t[e])?0===s:null===s||"none"===s||"0"===s||ii(s)))&&i.push(e)}i.length&&function(t,e,i){let s,n=0;for(;n<t.length&&!s;){let e=t[n];"string"==typeof e&&!iT.has(e)&&tC(e).values.length&&(s=t[n]),n++}if(s&&i)for(let n of e)t[n]=iy(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eE[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let n=i.length-1,r=i[n];i[n]=eE[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}class iA extends ib{constructor(){super(...arguments),this.KeyframeResolver=iM}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;p(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let iV=(t,e)=>e&&"number"==typeof t?e.transform(t):t,iS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ix=X.length;function ik(t,e,i){let{style:s,vars:n,transformOrigin:r}=t,a=!1,o=!1;for(let t in e){let i=e[t];if(U.has(t)){a=!0;continue}if(Q(t)){n[t]=i;continue}{let e=iV(i,ic[t]);t.startsWith("origin")?(o=!0,r[t]=e):s[t]=e}}if(!e.transform&&(a||i?s.transform=function(t,e,i){let s="",n=!0;for(let r=0;r<ix;r++){let a=X[r],o=t[a];if(void 0===o)continue;let l=!0;if(!(l="number"==typeof o?o===+!!a.startsWith("scale"):0===parseFloat(o))||i){let t=iV(o,ic[a]);if(!l){n=!1;let e=iS[a]||a;s+=`${e}(${t}) `}i&&(e[a]=t)}}return s=s.trim(),i?s=i(e,n?"":s):n&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),o){let{originX:t="50%",originY:e="50%",originZ:i=0}=r;s.transformOrigin=`${t} ${e} ${i}`}}function iC(t,{style:e,vars:i},s,n){for(let r in Object.assign(t.style,e,n&&n.getProjectionStyles(s)),i)t.style.setProperty(r,i[r])}let iF={};function iP(t,e,i){let{style:s}=t,n={};for(let r in s)(p(s[r])||e.style&&p(e.style[r])||function(t,{layout:e,layoutId:i}){return U.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!iF[t]||"opacity"===t)}(r,t)||i?.getValue(r)?.liveStyle!==void 0)&&(n[r]=s[r]);return n}class iO extends iA{constructor(){super(...arguments),this.type="html",this.renderInstance=iC}readValueFromInstance(t,e){if(U.has(e))return this.projection?.isProjecting?ex(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return ek(i,e)})(t,e);{let i=window.getComputedStyle(t),s=(Q(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return function({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(t.getBoundingClientRect(),e))}build(t,e,i){ik(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return iP(t,e,i)}}class iE extends ib{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let i=t[e];if("string"==typeof i||"number"==typeof i)return i}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return e4()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}let iD={offset:"stroke-dashoffset",array:"stroke-dasharray"},iI={offset:"strokeDashoffset",array:"strokeDasharray"},iR=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"]);class iN extends iA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=e4}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(U.has(e)){let t=ig(e);return t&&t.default||0}return e=iR.has(e)?e:K(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){let s=iP(t,e,i);for(let i in t)(p(t[i])||p(e[i]))&&(s[-1!==X.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}build(t,e,i){!function(t,{attrX:e,attrY:i,attrScale:s,pathLength:n,pathSpacing:r=1,pathOffset:a=0,...o},l,u,h){if(ik(t,o,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p}=t;d.transform&&(p.transform=d.transform,delete d.transform),(p.transform||d.transformOrigin)&&(p.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),p.transform&&(p.transformBox=h?.transformBox??"fill-box",delete d.transformBox),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==s&&(d.scale=s),void 0!==n&&function(t,e,
1i=1,s=0,n=!0){t.pathLength=1;let r=n?iD:iI;t[r.offset]=tv.transform(-s);let a=tv.transform(e),o=tv.transform(i);t[r.array]=`${a} ${o}`}(d,n,r,a,!1)}(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in iC(t,e,void 0,s),e.attrs)t.setAttribute(iR.has(i)?i:K(i),e.attrs[i])}mount(t){let e;this.isSVGTag="string"==typeof(e=t.tagName)&&"svg"===e.toLowerCase(),super.mount(t)}}function i$(t){return eH(t)&&"ownerSVGElement"in t}function iB(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=i$(t)&&!(i$(t)&&"svg"===t.tagName)?new iN(e):new iO(e);i.mount(t),x.set(t,i)}function ij(t){let e=new iE({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),x.set(t,e)}function iW(t,e,i,s){let a=[];if(p(t)||"number"==typeof t||"string"==typeof t&&!n(e))a.push(function(t,e,i){let s=p(t)?t:Y(t);return s.start(e0("",s,e,i)),s.animation}(t,n(e)&&e.default||e,i&&i.default||i));else{let n=r(t,e,s),o=n.length;T(!!o,"No valid elements provided.");for(let t=0;t<o;t++){let s=n[t],r=s instanceof Element?iB:ij;x.has(s)||r(s);let l=x.get(s),u={...i};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,o)),a.push(...function(t,e,{delay:i=0,transitionOverride:s,type:n}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:a,...o}=e;s&&(r=s);let l=[],u=n&&t.animationState&&t.animationState.getState()[n];for(let e in o){let s=t.getValue(e,t.latestValues[e]??null),n=o[e];if(void 0===n||u&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(u,e))continue;let a={delay:i,...H(r||{},e)},h=s.get();if(void 0!==h&&!s.isAnimating&&!Array.isArray(n)&&n===h&&!a.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[L];if(i){let t=window.MotionHandoffAnimation(i,e,D);null!==t&&(a.startTime=t,d=!0)}}!function(t,e){let i=t.getValue("willChange");if(p(i)&&i.add)return i.add(e);if(!i&&O.WillChange){let i=new O.WillChange("auto");t.addValue("willChange",i),i.add(e)}}(t,e),s.start(e0(e,s,n,t.shouldReduceMotion&&e1.has(e)?{type:!1}:a,t,d));let c=s.animation;c&&l.push(c)}return a&&Promise.all(l).then(()=>{D.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:s={},...n}=function(t,e,i){let s=t.getProps();return C(s,e,s.custom,t)}(t,e)||{};for(let e in n={...n,...i}){var r;let i=Array.isArray(r=n[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,Y(i))}}(t,a)})}),l}(l,{...e,transition:u},{}))}}return a}class iY{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=>e.attachTimeline(t));return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class iK extends iY{then(t,e){return this.finished.finally(t).then(()=>{})}}let iL=function(t){return function(e,i,s){let n=[],l=new iK(n=Array.isArray(e)&&e.some(Array.isArray)?function(t,e,i){let s=[];return(function(t,{defaultTransition:e={},...i}={},s,n){let l=e.duration||.3,y=new Map,w=new Map,V={},x=new Map,k=0,C=0,F=0;for(let i=0;i<t.length;i++){let d=t[i];if("string"==typeof d){x.set(d,C);continue}if(!Array.isArray(d)){x.set(d.name,a(C,d.at,k,x));continue}let[c,y,E={}]=d;void 0!==E.at&&(C=a(C,E.at,k,x));let D=0,I=(t,i,s,r=0,a=0)=>{var d;let p=Array.isArray(d=t)?d:[d],{delay:c=0,times:y=f(p),type:w="keyframes",repeat:M,repeatType:A,repeatDelay:V=0,...x}=i,{ease:k=e.ease||"easeOut",duration:P}=i,O="function"==typeof c?c(r,a):c,E=p.length,I=g(w)?w:n?.[w||"keyframes"];if(E<=2&&I){let t=100;2===E&&S(p)&&(t=Math.abs(p[1]-p[0]));let e={...x};void 0!==P&&(e.duration=v(P));let i=b(e,t,I);k=i.ease,P=i.duration}P??(P=l);let R=C+O;1===y.length&&0===y[0]&&(y[1]=1);let N=y.length-p.length;if(N>0&&m(y,N),1===p.length&&p.unshift(null),M){T(M<20,"Repeat count too high, must be less than 20");P*=M+1;let t=[...p],e=[...y],i=[...k=Array.isArray(k)?[...k]:[k]];for(let s=0;s<M;s++){p.push(...t);for(let n=0;n<t.length;n++)y.push(e[n]+(s+1)),k.push(0===n?"linear":u(i,n-1))}for(let t=0;t<y.length;t++)y[t]=y[t]/(M+1)}let $=R+P;
1!function(t,e,i,s,n,r){for(let e=0;e<t.length;e++){let i=t[e];i.at>n&&i.at<r&&(h(t,i),e--)}for(let a=0;a<e.length;a++)t.push({value:e[a],at:o(n,r,s[a]),easing:u(i,a)})}(s,p,k,y,R,$),D=Math.max(O+P,D),F=Math.max($,F)};if(p(c))I(y,E,A("default",M(c,w)));else{let t=r(c,y,s,V),e=t.length;for(let i=0;i<e;i++){let s=M(t[i],w);for(let t in y){var P,O;I(y[t],(P=E,O=t,P&&P[O]?{...P,...P[O]}:{...P}),A(t,s),i,e)}}}k=C,C+=D}return w.forEach((t,s)=>{for(let n in t){let r=t[n];r.sort(d);let a=[],o=[],l=[];for(let t=0;t<r.length;t++){let{at:e,value:i,easing:s}=r[t];a.push(i),o.push(c(0,F,e)),l.push(s||"easeOut")}0!==o[0]&&(o.unshift(0),a.unshift(a[0]),l.unshift("easeInOut")),1!==o[o.length-1]&&(o.push(1),a.push(null)),y.has(s)||y.set(s,{keyframes:{},transition:{}});let u=y.get(s);u.keyframes[n]=a,u.transition[n]={...e,duration:F,ease:l,times:o,...i}}}),y})(t,e,i,{spring:t2}).forEach(({keyframes:t,transition:e},i)=>{s.push(...iW(i,t,e))}),s}(e,i,void 0):iW(e,i,s,void 0));return t&&t.animations.push(l),l}}()}}]);

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.