PageSourceSearch

https://ciclotechnology.com/wp-content/themes/ciclo/blocks/ciclo-m…/build/view.js?ver=432f5e90cbfa63eb1978

js ciclotechnology.com collected 2026-10-09 23:00:11 UTC 57,548 bytes, 1 lines download raw bytes

1(()=>{"use strict";function t(t,e,n){if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);const i=n?.[t]??s.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}const e={some:0,all:1};class n{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 n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){const 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(){return s(this.animations,"duration")}get iterationDuration(){return s(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function s(t,e){let n=0;for(let s=0;s<t.length;s++){const i=t[s][e];null!==i&&i>n&&(n=i)}return n}class i extends n{then(t,e){return this.finished.finally(t).then(()=>{})}}function r(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const a=(t,e,n)=>n>e?e:n<t?t:n,o=t=>1e3*t,l=t=>t/1e3,u=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let e=0;e<i;e++)s+=Math.round(1e4*t(e/(i-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},h=2e4;function c(t){let e=0,n=t.next(e);for(;!n.done&&e<h;)e+=50,n=t.next(e);return e>=h?1/0:e}function d(t,e=100,n){const s=n({...t,keyframes:[0,e]}),i=Math.min(c(s),h);return{type:"keyframes",ease:t=>s.next(i*t).value/e,duration:l(i)}}function p(t,e){return e?t*(1e3/e):0}function m(t,e,n){const s=Math.max(e-5,0);return p(n-t(s),e-s)}const f=.01,y=2,g=.005,v=.5;let b=()=>{};const w=12;function T(t,e){return t*Math.sqrt(1-e*e)}const M=["duration","bounce"],V=["stiffness","damping","mass"];function S(t,e){return e.some(e=>void 0!==t[e])}function A(t=.3,e=.3){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],d=n.keyframes[n.keyframes.length-1],p={done:!1,value:r},{stiffness:b,damping:A,mass:x,duration:k,velocity:C,isResolvedFromDuration:F}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!S(t,V)&&S(t,M))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(1.2*n),i=s*s,r=2*a(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:1,stiffness:i,damping:r}}else{const n=function({duration:t=800,bounce:e=.3,velocity:n=0,mass:s=1}){let i,r;o(10);let u=1-e;u=a(.05,1,u),t=a(.01,10,l(t)),u<1?(i=e=>{const s=e*u,i=s*t;return.001-(s-n)/T(e,u)*Math.exp(-i)},r=e=>{const s=e*u*t,r=s*n+n,a=Math.pow(u,2)*Math.pow(e,2)*t,o=Math.exp(-s),l=T(Math.pow(e,2),u);return(.001-i(e)>0?-1:1)*((r-a)*o)/l}):(i=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,r=e=>Math.exp(-e*t)*(t*t*(n-e)));const h=function(t,e,n){let s=n;for(let n=1;n<w;n++)s-=t(s)/e(s);return s}(i,r,5/t);if(t=o(t),isNaN(h))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(h,2)*s;return{stiffness:e,damping:2*u*Math.sqrt(s*e),duration:t}}}(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}({...n,velocity:-l(n.velocity||0)}),P=C||0,E=A/(2*Math.sqrt(b*x)),D=d-r,O=l(Math.sqrt(b/x)),I=Math.abs(D)<5;let B;if(s||(s=I?f:y),i||(i=I?g:v),E<1){const t=T(O,E);B=e=>{const n=Math.exp(-E*O*e);return d-n*((P+E*O*D)/t*Math.sin(t*e)+D*Math.cos(t*e))}}else if(1===E)B=t=>d-Math.exp(-O*t)*(D+(P+O*D)*t);else{const t=O*Math.sqrt(E*E-1);B=e=>{const n=Math.exp(-E*O*e),s=Math.min(t*e,300);return d-n*((P+E*O*D)*Math.sinh(s)+t*D*Math.cosh(s))/t}}const R={calculatedDuration:F&&k||null,next:t=>{const e=B(t);if(F)p.done=t>=k;else{let n=0===t?P:0;E<1&&(n=0===t?o(P):m(B,t,e));const r=Math.abs(n)<=s,a=Math.abs(d-e)<=i;p.done=r&&a}return p.value=p.done?d:e,p},toString:()=>{const t=Math.min(c(R),h),e=u(e=>R.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return R}A.applyToOptions=t=>{const e=d(t,100,A);return t.ease=e.ease,t.duration=o(e.duration),t.type="keyframes",t};const x=(t,e,n)=>{const s=e-t;return 0===s?1:(n-t)/s},k=(t,e,n)=>t+(e-t)*n;function C(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=x(0,e,s);t.push(k(n,1,i))}}function F(t){const e=[0];return C(e,t.length-1),e}function P(t){return"function"==typeof t&&"applyToOptions"in t}const E=t=>Boolean(t&&t.getVelocity),D=t=>Array.isArray(t)&&"number"!=typeof t[0];function O(t,e){return D(t)?t[((t,e,n)=>{const s=e-0;return((n-0)%s+s)%s+0})(0,t.length,e)]:t}function I(t){return"object"==typeof t&&!Array.isArray(t)}function B(e,n,s,i){return"string"==typeof e&&I(n)?t(e,s,i):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function R(t,e,n){return t*(e+1)}function N(t,e,n,s){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?n:e.startsWith("<")?Math.max(0,n+parseFloat(e.slice(1))):s.get(e)??t}function K(t,e,n,s,i,a){!function(t,e,n){for(let s=0;s<t.length;s++){const i=t[s];i.at>e&&i.at<n&&(r(t,i),s--)}}(t,i,a);for(let r=0;r<e.length;r++)t.push({value:e[r],at:k(i,a,s[r]),easing:O(n,r)})}function j(t,e){for(let n=0;n<t.length;n++)t[n]=t[n]/(e+1)}function W(t,e){return t.at===e.at?null===t.value?1:null===e.value?-1:0:t.at-e.at}function Y(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function L(t,e){return e[t]||(e[t]=[]),e[t]}function $(t){return Array.isArray(t)?t:[t]}function U(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const X=t=>"number"==typeof t,q=t=>t.every(X),_=new WeakMap;function z(t,e){return t?.[e]??t?.default??t}const Z=t=>t,H={},G=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],J={value:null,addProjectionMetrics:null};function Q(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,a=G.reduce((t,n)=>(t[n]=function(t,e){let n=new Set,s=new Set,i=!1,r=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){a.has(e)&&(h.schedule(e),t()),l++,e(o)}const h={schedule:(t,e=!1,r=!1)=>{const o=r&&i?n:s;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{s.delete(t),a.delete(t)},process:t=>
vendor: 34,209 bytes, line 1
1{o=t,i?r=!0:(i=!0,[n,s]=[s,n],n.forEach(u),e&&J.value&&J.value.frameloop[e].push(l),l=0,n.clear(),i=!1,r&&(r=!1,h.process(t)))}};return h}(r,e?n:void 0),t),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:m}=a,f=()=>{const r=H.useManualTiming?i.timestamp:performance.now();n=!1,H.useManualTiming||(i.delta=s?1e3/60:Math.max(Math.min(r-i.timestamp,40),1)),i.timestamp=r,i.isProcessing=!0,o.process(i),l.process(i),u.process(i),h.process(i),c.process(i),d.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(f))};return{schedule:G.reduce((e,r)=>{const o=a[r];return e[r]=(e,r=!1,a=!1)=>(n||(n=!0,s=!0,i.isProcessing||t(f)),o.schedule(e,r,a)),e},{}),cancel:t=>{for(let e=0;e<G.length;e++)a[G[e]].cancel(t)},state:i,steps:a}}const{schedule:tt,cancel:et,state:nt,steps:st}=Q("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Z,!0),it=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],rt=(()=>new Set(it))(),at=new Set(["width","height","top","left","right","bottom",...it]);class ot{constructor(){this.subscriptions=[]}add(t){var e,n;return e=this.subscriptions,n=t,-1===e.indexOf(n)&&e.push(n),()=>r(this.subscriptions,t)}notify(t,e,n){const s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,n);else for(let i=0;i<s;i++){const s=this.subscriptions[i];s&&s(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let lt;function ut(){lt=void 0}const ht={now:()=>(void 0===lt&&ht.set(nt.isProcessing||H.useManualTiming?nt.timestamp:performance.now()),lt),set:t=>{lt=t,queueMicrotask(ut)}},ct={current:void 0};class dt{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{const e=ht.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=ht.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}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 ot);const n=this.events[t].add(e);return"change"===t?()=>{n(),tt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const 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,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}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 ct.current&&ct.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=ht.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return p(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(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function pt(t,e){return new dt(t,e)}function mt(t){const e=[{},{}];return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function ft(t,e,n,s){if("function"==typeof e){const[i,r]=mt(s);e=e(void 0!==n?n:t.custom,i,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[i,r]=mt(s);e=e(void 0!==n?n:t.custom,i,r)}return e}function yt(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,pt(n))}function gt(t){return(t=>Array.isArray(t))(t)?t[t.length-1]||0:t}function vt(t,e){const n=t.getValue("willChange");if(s=n,Boolean(E(s)&&s.add))return n.add(e);if(!n&&H.WillChange){const n=new H.WillChange("auto");t.addValue("willChange",n),n.add(e)}var s}const bt=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),wt="data-"+bt("framerAppearId");function Tt(t){return t.props[wt]}function Mt(t){t.duration=0,t.type="keyframes"}const Vt=(t,e)=>n=>e(t(n)),St=(...t)=>t.reduce(Vt),At={layout:0,mainThread:0,waapi:0},xt=t=>e=>"string"==typeof e&&e.startsWith(t),kt=xt("--"),Ct=xt("var(--"),Ft=t=>!!Ct(t)&&Pt.test(t.split("/*")[0].trim()),Pt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Et={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},Dt={...Et,transform:t=>a(0,1,t)},Ot={...Et,default:1},It=t=>Math.round(1e5*t)/1e5,Bt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Rt=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Nt=(t,e)=>n=>Boolean("string"==typeof n&&Rt.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),Kt=(t,e,n)=>s=>{if("string"!=typeof s)return s;const[i,r,a,o]=s.match(Bt);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},jt={...Et,transform:t=>Math.round((t=>a(0,255,t))(t))},Wt={test:Nt("rgb","red"),parse:Kt("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+jt.transform(t)+", "+jt.transform(e)+", "+jt.transform(n)+", "+It(Dt.transform(s))+")"},Yt={test:Nt("#"),parse:function(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}},transform:Wt.transform},Lt=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),$t=Lt("deg"),Ut=Lt("%"),Xt=Lt("px"),qt=Lt("vh"),_t=Lt("vw"),zt=(()=>({...Ut,parse:t=>Ut.parse(t)/100,transform:t=>Ut.transform(100*t)}))(),Zt={test:Nt("hsl","hue"),parse:Kt("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+Ut.transform(It(e))+", "+Ut.transform(It(n))+", "+It(Dt.transform(s))+")"},Ht={test:t=>Wt.test(t)||Yt.test(t)||Zt.test(t),parse:t=>Wt.test(t)?Wt.parse(t):Zt.test(t)?Zt.parse(t):Yt.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?Wt.transform(t):Zt.transform(t),getAnimatableNone:t=>{const e=Ht.parse(t);return e.alpha=0,Ht.transform(e)}},Gt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Jt="number",Qt="color",te=/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 ee(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const a=e.replace(te,t=>(Ht.test(t)?(s.color.push(r),i.push(Qt),n.push(Ht.parse(t))):t.startsWith("var(")?(s.var.push(r),i.push("var"),n.push(t)):(s.number.push(r),i.push(Jt),n.push(parseFloat(t))),++r,"${}")).split("${}");return{values:n,split:a,indexes:s,types:i}}function ne(t){return ee(t).values}function se(t){const{split:e,types:n}=ee(t),s=e.length;return t=>{let i="";for(let r=0;r<s;r++)if(i+=e[r],void 0!==t[r]){const e=n[r];i+=e===Jt?It(t[r]):e===Qt?Ht.transform(t[r]):t[r]}return i}}const ie=t=>"number"==typeof t?0:Ht.test(t)?Ht.getAnimatableNone(t):t,re={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(Bt)?.length||0)+(t.match(Gt)?.length||0)>0},parse:ne,createTransformer:se,getAnimatableNone:function(t){const e=ne(t);return se(t)(e.map(ie))}};function ae(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function oe(t,e){return n=>n>0?e:t}const le=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},ue=[Yt,Wt,Zt];function he(t){const e=(n=t,ue.find(t=>t.test(n)));var n;if(Boolean(e),!Boolean(e))return!1;let s=e.parse(t);return e===Zt&&(s=function({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,n/=100;let i=0,r=0,a=0;if(e/=100){const s=n<.5?n*(1+e):n+e-n*e,o=2*n-s;i=ae(o,s,t+1/3),r=ae(o,s,t),a=ae(o,s,t-1/3)}else i=r=a=n;return{red:Math.round(255*i),green:Math.round(255*r),blue:Math.round(255*a),alpha:s}}(s)),s}const ce=(t,e)=>{const n=he(t),s=he(e);if(!n||!s)return oe(t,e);const i={...n};return t=>(i.red=le(n.red,s.red,t),i.green=le(n.green,s.green,t),i.blue=le(n.blue,s.blue,t),i.alpha=k(n.alpha,s.alpha,t),Wt.transform(i))},de=new Set(["none","hidden"]);function pe(t,e){return n=>k(t,e,n)}function me(t){return"number"==typeof t?pe:"string"==typeof t?Ft(t)?oe:Ht.test(t)?ce:ge:Array.isArray(t)?fe:"object"==typeof t?Ht.test(t)?ce:ye:oe}function fe(t,e){const n=[...t],s=n.length,i=t.map((t,n)=>me(t)(t,e[n]));return t=>{for(let e=0;e<s;e++)n[e]=i[e](t);return n}}function ye(t,e){const n={...t,...e},s={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(s[i]=me(t[i])(t[i],e[i]));return t=>{for(const e in s)n[e]=s[e](t);return n}}const ge=(t,e)=>{const n=re.createTransformer(e),s=ee(t),i=ee(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?de.has(t)&&!i.values.length||de.has(e)&&!s.values.length?function(t,e){return de.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):St(fe(function(t,e){const n=[],s={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const r=e.types[i],a=t.indexes[r][s[r]],o=t.values[a]??0;n[i]=o,s[r]++}return n}(s,i),i.values),n):oe(t,e)};function ve(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?k(t,e,n):me(t)(t,e)}const be=t=>{const e=({timestamp:e})=>t(e);return{start:(t=!0)=>tt.update(e,t),stop:()=>et(e),now:()=>nt.isProcessing?nt.timestamp:ht.now()}};function we({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){const c=t[0],d={done:!1,value:c},p=t=>void 0===o?l:void 0===l||Math.abs(o-t)<Math.abs(l-t)?o:l;let f=n*e;const y=c+f,g=void 0===a?y:a(y);g!==y&&(f=g-c);const v=t=>-f*Math.exp(-t/s),b=t=>g+v(t),w=t=>{const e=v(t),n=b(t);d.done=Math.abs(e)<=u,d.value=d.done?g:n};let T,M;const V=t=>{var e;e=d.value,(void 0!==o&&e<o||void 0!==l&&e>l)&&(T=t,M=A({keyframes:[d.value,p(d.value)],velocity:m(b,t,d.value),damping:i,stiffness:r,restDelta:u,restSpeed:h}))};return V(0),{calculatedDuration:null,next:t=>{let e=!1;return M||void 0!==T||(e=!0,w(t),V(t)),void 0!==T&&t>=T?M.next(t-T):(!e&&w(t),d)}}}const Te=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function Me(t,e,n,s){if(t===e&&n===s)return Z;return i=>0===i||1===i?i:Te(function(t,e,n,s,i){let r,a,o=0;do{a=e+(n-e)/2,r=Te(a,s,i)-t,r>0?n=a:e=a}while(Math.abs(r)>1e-7&&++o<12);return a}(i,0,1,t,n),e,s)}const Ve=Me(.42,0,1,1),Se=Me(0,0,.58,1),Ae=Me(.42,0,.58,1),xe=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ke=t=>e=>1-t(1-e),Ce=Me(.33,1.53,.69,.99),Fe=ke(Ce),Pe=xe(Fe),Ee=t=>(t*=2)<1?.5*Fe(t):.5*(2-Math.pow(2,-10*(t-1))),De=t=>1-Math.sin(Math.acos(t)),Oe=ke(De),Ie=xe(De),Be=t=>Array.isArray(t)&&"number"==typeof t[0],Re={linear:Z,easeIn:Ve,easeInOut:Ae,easeOut:Se,circIn:De,circInOut:Ie,circOut:Oe,backIn:Fe,backInOut:Pe,backOut:Ce,anticipate:Ee},Ne=t=>{if(Be(t)){t.length;const[e,n,s,i]=t;return Me(e,n,s,i)}return"string"==typeof t?Re[t]:t};function Ke({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=D(s)?s.map(Ne):Ne(s),r={done:!1,value:e[0]},o=function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:F(e),t),l=function(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const r=t.length;if(e.length,1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];const o=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const l=function(t,e,n){const s=[],i=n||H.mix||ve,r=t.length-1;for(let n=0;n<r;n++){let r=i(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]||Z:e;r=St(t,r)}s.push(r)}return s}(e,s,i),u=l.length,h=n=>{if(o&&n<t[0])return e[0];let s=0;if(u>1)for(;s<t.length-2&&!(n<t[s+1]);s++);const i=x(t[s],t[s+1],n);return l[s](i)};return n?e=>h(a(t[0],t[r-1],e)):h}(o,e,{ease:Array.isArray(i)?i:(u=e,h=i,u.map(()=>h||Ae).splice(0,u.length-1))});var u,h;return{calculatedDuration:t,next:e=>(r.value=l(e),r.done=e>=t,r)}}const je=t=>null!==t;function We(t,{repeat:e,repeatType:n="loop"},s,i=1){const r=t.filter(je),a=i<0||e&&"loop"!==n&&e%2==1?0:r.length-1;return a&&void 0!==s?s:r[a]}const Ye={decay:we,inertia:we,tween:Ke,keyframes:Ke,spring:A};function Le(t){"string"==typeof t.type&&(t.type=Ye[t.type])}class $e{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)}}const Ue=t=>t/100;class Xe extends $e{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:t}=this.options;t&&t.updatedAt!==ht.now()&&this.tick(ht.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},At.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const{options:t}=this;Le(t);const{type:e=Ke,repeat:n=0,repeatDelay:s=0,repeatType:i,velocity:r=0}=t;let{keyframes:a}=t;const o=e||Ke;o!==Ke&&"number"!=typeof a[0]&&(this.mixKeyframes=St(Ue,ve(a[0],a[1])),a=[0,100]);const l=o({...t,keyframes:a});"mirror"===i&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=c(l));const{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+s,this.totalDuration=this.resolvedDuration*(n+1)-s,this.generator=l}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){const{generator:n,totalDuration:s,mixKeyframes:i,mirroredGenerator:r,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);const{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:y}=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);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let b=this.currentTime,w=n;if(c){const t=Math.min(this.currentTime,s)/o;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,c+1),Boolean(e%2)&&("reverse"===d?(n=1-n,p&&(n-=p/o)):"mirror"===d&&(w=r)),b=a(0,1,n)*o}const T=v?{done:!1,value:h[0]}:w.next(b);i&&(T.value=i(T.value));let{done:M}=T;v||null===l||(M=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const V=null===this.holdTime&&("finished"===this.state||"running"===this.state&&M);return V&&m!==we&&(T.value=We(h,this.options,y,this.speed)),f&&f(T.value),V&&this.finish(),T}then(t,e){return this.finished.then(t,e)}get duration(){return l(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+l(t)}get time(){return l(this.currentTime)}set time(t){t=o(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(ht.now());const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=l(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=be,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"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(ht.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,At.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)}}const qe=t=>180*t/Math.PI,_e=t=>{const e=qe(Math.atan2(t[1],t[0]));return Ze(e)},ze={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:_e,rotateZ:_e,skewX:t=>qe(Math.atan(t[1])),skewY:t=>qe(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Ze=t=>((t%=360)<0&&(t+=360),t),He=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Ge=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Je={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:He,scaleY:Ge,scale:t=>(He(t)+Ge(t))/2,rotateX:t=>Ze(qe(Math.atan2(t[6],t[5]))),rotateY:t=>Ze(qe(Math.atan2(-t[2],t[0]))),rotateZ:_e,rotate:_e,skewX:t=>qe(Math.atan(t[4])),skewY:t=>qe(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Qe(t){return t.includes("scale")?1:0}function tn(t,e){if(!t||"none"===t)return Qe(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=Je,i=n;else{const e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=ze,i=e}if(!i)return Qe(e);const r=s[e],a=i[1].split(",").map(en);return"function"==typeof r?r(a):a[r]}function en(t){return parseFloat(t.trim())}const nn=t=>t===Et||t===Xt,sn=new Set(["x","y","z"]),rn=it.filter(t=>!sn.has(t)),an={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),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})=>tn(e,"x"),y:(t,{transform:e})=>tn(e,"y")};an.translateX=an.x,an.translateY=an.y;const on=new Set;let ln=!1,un=!1,hn=!1;function cn(){if(un){const t=Array.from(on).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=function(t){const e=[];return rn.forEach(n=>{const s=t.getValue(n);void 0!==s&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}un=!1,ln=!1,on.forEach(t=>t.complete(hn)),on.clear()}function dn(){on.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(un=!0)})}class pn{constructor(t,e,n,s,i,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=s,this.element=i,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(on.add(this),ln||(ln=!0,tt.read(dn),tt.resolveKeyframes(cn))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:s}=this;if(null===t[0]){const i=s?.get(),r=t[t.length-1];if(void 0!==i)t[0]=i;else if(n&&e){const s=n.readValue(e,r);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=r),s&&void 0===i&&s.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),on.delete(this)}cancel(){"scheduled"===this.state&&(on.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function mn(t){let e;return()=>(void 0===e&&(e=t()),e)}const fn=mn(()=>void 0!==window.ScrollTimeline),yn={};function gn(t,e){const n=mn(t);return()=>yn[e]??n()}const vn=gn(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),bn=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,wn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:bn([0,.65,.55,1]),circOut:bn([.55,0,1,.45]),backIn:bn([.31,.01,.66,-.59]),backOut:bn([.33,1.53,.69,.99])};function Tn(t,e){return t?"function"==typeof t?vn()?u(t,e):"ease-out":Be(t)?bn(t):Array.isArray(t)?t.map(t=>Tn(t,e)||wn.easeOut):wn[t]:void 0}function Mn(t,e,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u=void 0){const h={[e]:n};l&&(h.offset=l);const c=Tn(o,i);Array.isArray(c)&&(h.easing=c),J.value&&At.waapi++;const d={delay:s,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};u&&(d.pseudoElement=u);const p=t.animate(h,d);return J.value&&p.finished.finally(()=>{At.waapi--}),p}class Vn extends $e{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:n,keyframes:s,pseudoElement:i,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=Boolean(i),this.allowFlatten=r,this.options=t,t.type;const l=function({type:t,...e}){return P(t)&&vn()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=Mn(e,n,s,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const t=We(s,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,n){(t=>t.startsWith("--"))(e)?t.style.setProperty(e,n):t.style[e]=n}(e,n,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;const{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(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return l(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+l(t)}get time(){return l(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=o(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&&fn()?(this.animation.timeline=t,Z):e(this)}}const Sn={anticipate:Ee,backInOut:Pe,circInOut:Ie};class An extends Vn{constructor(t){var e;"string"==typeof(e=t).ease&&e.ease in Sn&&(e.ease=Sn[e.ease]),Le(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:e,onUpdate:n,onComplete:s,element:i,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);const a=new Xe({...r,autoplay:!1}),l=o(this.finishedTime??this.time);e.setWithVelocity(a.sample(l-10).value,a.sample(l).value,10),a.stop()}}const xn=(t,e)=>!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!re.test(t)&&"0"!==t||t.startsWith("url("))),kn=new Set(["opacity","clipPath","filter","transform"]),Cn=mn(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class Fn extends $e{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:s=0,repeatDelay:i=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=ht.now();const c={autoplay:t,delay:e,type:n,repeat:s,repeatDelay:i,repeatType:r,name:o,motionValue:l,element:u,...h},d=u?.KeyframeResolver||pn;this.keyframeResolver=new d(a,(t,e,n)=>this.onKeyframesResolved(t,e,c,!n),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,s){this.keyframeResolver=void 0;const{name:i,type:r,velocity:a,delay:o,isHandoff:l,onUpdate:u}=n;this.resolvedAt=ht.now(),function(t,e,n,s){const i=t[0];if(null===i)return!1;if("display"===e||"visibility"===e)return!0;const r=t[t.length-1],a=xn(i,e),o=xn(r,e);return!(!a||!o)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||P(n))&&s)}(t,i,r,a)||(!H.instantAnimations&&o||u?.(We(t,n,e)),t[0]=t[t.length-1],Mt(n),n.repeat=0);const h={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},c=!l&&function(t){const{motionValue:e,name:n,repeatDelay:s,repeatType:i,damping:r,type:a}=t,o=e?.owner?.current;if(!(o instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return Cn()&&n&&kn.has(n)&&("transform"!==n||!u)&&!l&&!s&&"mirror"!==i&&0!==r&&"inertia"!==a}(h)?new An({...h,element:h.motionValue.owner.current}):new Xe(h);c.finished.then(()=>this.notifyFinished()).catch(Z),this.pendingTimeline&&(this.stopTimeline=c.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=c}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(),hn=!0,dn(),cn(),hn=!1),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(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Pn=t=>null!==t,En={type:"spring",stiffness:500,damping:25,restSpeed:10},Dn={type:"keyframes",duration:.8},On={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},In=(t,e,n,s={},i,r)=>a=>{const l=z(s,t)||{},u=l.delay||s.delay||0;let{elapsed:h=0}=s;h-=o(u);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:r?void 0:i};(function({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length})(l)||Object.assign(c,((t,{keyframes:e})=>e.length>2?Dn:rt.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:En:On)(t,c)),c.duration&&(c.duration=o(c.duration)),c.repeatDelay&&(c.repeatDelay=o(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(Mt(c),0===c.delay&&(d=!0)),(H.instantAnimations||H.skipAnimations)&&(d=!0,Mt(c),c.delay=0),c.allowFlatten=!l.type&&!l.ease,d&&!r&&void 0!==e.get()){const t=function(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(Pn),r=e&&"loop"!==n&&e%2==1?0:i.length-1;return r&&void 0!==s?s:i[r]}(c.keyframes,l);if(void 0!==t)return void tt.update(()=>{c.onUpdate(t),c.onComplete()})}return l.isSync?new Xe(c):new Fn(c)};function Bn({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,s}function Rn(t,e,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:a,...o}=e;s&&(r=s);const l=[],u=i&&t.animationState&&t.animationState.getState()[i];for(const e in o){const s=t.getValue(e,t.latestValues[e]??null),i=o[e];if(void 0===i||u&&Bn(u,e))continue;const a={delay:n,...z(r||{},e)},h=s.get();if(void 0!==h&&!s.isAnimating&&!Array.isArray(i)&&i===h&&!a.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){const n=Tt(t);if(n){const t=window.MotionHandoffAnimation(n,e,tt);null!==t&&(a.startTime=t,c=!0)}}vt(t,e),s.start(In(e,s,i,t.shouldReduceMotion&&at.has(e)?{type:!1}:a,t,c));const d=s.animation;d&&l.push(d)}return a&&Promise.all(l).then(()=>{tt.update(()=>{a&&function(t,e){const n=function(t,e){const n=t.getProps();return ft(n,e,n.custom,t)}(t,e);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const e in r)yt(t,e,gt(r[e]))}(t,a)})}),l}function Nn(t){return"object"==typeof(e=t)&&null!==e&&"ownerSVGElement"in t;var e}const Kn=t=>e=>e.test(t),jn=[Et,Xt,Ut,$t,_t,qt,{test:t=>"auto"===t,parse:t=>t}],Wn=t=>jn.find(Kn(t)),Yn=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Ln=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $n(t,e,n=1){const[s,i]=function(t){const e=Ln.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const t=r.trim();return Yn(t)?parseFloat(t):t}return Ft(i)?$n(i,e,n+1):i}const Un=t=>/^0[^.\s]+$/u.test(t);function Xn(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||Un(t)}const qn=new Set(["brightness","contrast","saturate","opacity"]);function zn(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[s]=n.match(Bt)||[];if(!s)return t;const i=n.replace(s,"");let r=qn.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const Zn=/\b([a-z-]*)\(.*?\)/gu,Hn={...re,getAnimatableNone:t=>{const e=t.match(Zn);return e?e.map(zn).join(" "):t}},Gn={...Et,transform:Math.round},Jn={borderWidth:Xt,borderTopWidth:Xt,borderRightWidth:Xt,borderBottomWidth:Xt,borderLeftWidth:Xt,borderRadius:Xt,radius:Xt,borderTopLeftRadius:Xt,borderTopRightRadius:Xt,borderBottomRightRadius:Xt,borderBottomLeftRadius:Xt,width:Xt,maxWidth:Xt,height:Xt,maxHeight:Xt,top:Xt,right:Xt,bottom:Xt,left:Xt,padding:Xt,paddingTop:Xt,paddingRight:Xt,paddingBottom:Xt,paddingLeft:Xt,margin:Xt,marginTop:Xt,marginRight:Xt,marginBottom:Xt,marginLeft:Xt,backgroundPositionX:Xt,backgroundPositionY:Xt,rotate:$t,rotateX:$t,rotateY:$t,rotateZ:$t,scale:Ot,scaleX:Ot,scaleY:Ot,scaleZ:Ot,skew:$t,skewX:$t,skewY:$t,distance:Xt,translateX:Xt,translateY:Xt,translateZ:Xt,x:Xt,y:Xt,z:Xt,perspective:Xt,transformPerspective:Xt,opacity:Dt,originX:zt,originY:zt,originZ:Xt,zIndex:Gn,fillOpacity:Dt,strokeOpacity:Dt,numOctaves:Gn},Qn={...Jn,color:Ht,backgroundColor:Ht,outlineColor:Ht,fill:Ht,stroke:Ht,borderColor:Ht,borderTopColor:Ht,borderRightColor:Ht,borderBottomColor:Ht,borderLeftColor:Ht,filter:Hn,WebkitFilter:Hn},ts=t=>Qn[t];function es(t,e){let n=ts(t);return n!==Hn&&(n=re),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const ns=new Set(["auto","none","0"]);class ss extends pn{constructor(t,e,n,s,i){super(t,e,n,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let s=t[n];if("string"==typeof s&&(s=s.trim(),Ft(s))){const i=$n(s,e.current);void 0!==i&&(t[n]=i),n===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!at.has(n)||2!==t.length)return;const[s,i]=t,r=Wn(s),a=Wn(i);if(r!==a)if(nn(r)&&nn(a))for(let e=0;e<t.length;e++){const n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else an[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++)(null===t[e]||Xn(t[e]))&&n.push(e);n.length&&function(t,e,n){let s,i=0;for(;i<t.length&&!s;){const e=t[i];"string"==typeof e&&!ns.has(e)&&ee(e).values.length&&(s=t[i]),i++}if(s&&n)for(const i of e)t[i]=es(n,s)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=an[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const s=e[e.length-1];void 0!==s&&t.getValue(n,s).jump(s,!1)}measureEndState(){const{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);const i=n.length-1,r=n[i];n[i]=an[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}const is=[...jn,Ht,re],{schedule:rs,cancel:as}=Q(queueMicrotask,!1),os={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"]},ls={};for(const t in os)ls[t]={isEnabled:e=>os[t].some(t=>!!e[t])};const us=()=>({x:{min:0,max:0},y:{min:0,max:0}}),hs="undefined"!=typeof window,cs={current:null},ds={current:!1},ps=["initial","animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"];function ms(t){return null!==(e=t.animate)&&"object"==typeof e&&"function"==typeof e.start||ps.some(e=>function(t){return"string"==typeof t||Array.isArray(t)}(t[e]));var e}const fs=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ys{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:s,blockInitialAnimation:i,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=pn,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=()=>{const t=ht.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tt.render(this.render,!1,!0))};const{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=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=ms(e),this.isVariantNode=function(t){return Boolean(ms(t)||t.variants)}(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==o[t]&&E(e)&&e.set(o[t])}}mount(t){this.current=t,_.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)),ds.current||function(){if(ds.current=!0,hs)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>cs.current=t.matches;t.addEventListener("change",e),e()}else cs.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||cs.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),et(this.notifyUpdate),et(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),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){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=rt.has(t);n&&this.onBindTransform&&this.onBindTransform();const s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),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 ls){const e=ls[t];if(!e)continue;const{isEnabled:n,Feature:s}=e;if(!this.features[t]&&s&&n(this.props)&&(this.features[t]=new s(this)),this.features[t]){const e=this.features[t];
vendor: 7,477 bytes, line 1
1e.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):{x:{min:0,max:0},y:{min:0,max:0}}}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<fs.length;e++){const n=fs[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const s=t["on"+n];s&&(this.propEventSubscriptions[n]=this.on(n,s))}this.prevMotionValues=function(t,e,n){for(const s in e){const i=e[s],r=n[s];if(E(i))t.addValue(s,i);else if(E(r))t.addValue(s,pt(i,{owner:t}));else if(r!==i)if(t.hasValue(s)){const e=t.getValue(s);!0===e.liveStyle?e.jump(i):e.hasAnimated||e.set(i)}else{const e=t.getStaticValue(s);t.addValue(s,pt(void 0!==e?e:i,{owner:t}))}}for(const s in n)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){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const 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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=pt(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var s;return null!=n&&("string"==typeof n&&(Yn(n)||Un(n))?n=parseFloat(n):(s=n,!is.find(Kn(s))&&re.test(e)&&(n=es(t,e))),this.setBaseTarget(t,E(n)?n.get():n)),E(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let n;if("string"==typeof e||"object"==typeof e){const s=ft(this.props,e,this.presenceContext?.custom);s&&(n=s[t])}if(e&&void 0!==n)return n;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||E(s)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new ot),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){rs.render(this.render)}}class gs extends ys{constructor(){super(...arguments),this.KeyframeResolver=ss}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:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;E(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}const vs=(t,e)=>e&&"number"==typeof t?e.transform(t):t,bs={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ws=it.length;function Ts(t,e,n){const{style:s,vars:i,transformOrigin:r}=t;let a=!1,o=!1;for(const t in e){const n=e[t];if(rt.has(t))a=!0;else if(kt(t))i[t]=n;else{const e=vs(n,Jn[t]);t.startsWith("origin")?(o=!0,r[t]=e):s[t]=e}}if(e.transform||(a||n?s.transform=function(t,e,n){let s="",i=!0;for(let r=0;r<ws;r++){const a=it[r],o=t[a];if(void 0===o)continue;let l=!0;if(l="number"==typeof o?o===(a.startsWith("scale")?1:0):0===parseFloat(o),!l||n){const t=vs(o,Jn[a]);l||(i=!1,s+=`${bs[a]||a}(${t}) `),n&&(e[a]=t)}}return s=s.trim(),n?s=n(e,i?"":s):i&&(s="none"),s}(e,t.transform,n):s.transform&&(s.transform="none")),o){const{originX:t="50%",originY:e="50%",originZ:n=0}=r;s.transformOrigin=`${t} ${e} ${n}`}}function Ms(t,{style:e,vars:n},s,i){const r=t.style;let a;for(a in e)r[a]=e[a];for(a in i?.applyProjectionStyles(r,s),n)r.setProperty(a,n[a])}const Vs={};function Ss(t,{layout:e,layoutId:n}){return rt.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!Vs[t]||"opacity"===t)}function As(t,e,n){const{style:s}=t,i={};for(const r in s)(E(s[r])||e.style&&E(e.style[r])||Ss(r,t)||void 0!==n?.getValue(r)?.liveStyle)&&(i[r]=s[r]);return i}class xs extends gs{constructor(){super(...arguments),this.type="html",this.renderInstance=Ms}readValueFromInstance(t,e){if(rt.has(e))return this.projection?.isProjecting?Qe(e):((t,e)=>{const{transform:n="none"}=getComputedStyle(t);return tn(n,e)})(t,e);{const s=(n=t,window.getComputedStyle(n)),i=(kt(e)?s.getPropertyValue(e):s[e])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return function(t,e){return function({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}(t.getBoundingClientRect(),e))}(t,e)}build(t,e,n){Ts(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return As(t,e,n)}}class ks extends ys{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(function(t,e){return t in e}(e,t)){const n=t[e];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}const Cs={offset:"stroke-dashoffset",array:"stroke-dasharray"},Fs={offset:"strokeDashoffset",array:"strokeDasharray"};const Ps=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 Es extends gs{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=us}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(rt.has(e)){const t=ts(e);return t&&t.default||0}return e=Ps.has(e)?e:bt(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return function(t,e,n){const s=As(t,e,n);for(const n in t)(E(t[n])||E(e[n]))&&(s[-1!==it.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return s}(t,e,n)}build(t,e,n){!function(t,{attrX:e,attrY:n,attrScale:s,pathLength:i,pathSpacing:r=1,pathOffset:a=0,...o},l,u,h){if(Ts(t,o,u),l)return void(t.style.viewBox&&(t.attrs.viewB
1ox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:c,style:d}=t;c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==n&&(c.y=n),void 0!==s&&(c.scale=s),void 0!==i&&function(t,e,n=1,s=0,i=!0){t.pathLength=1;const r=i?Cs:Fs;t[r.offset]=Xt.transform(-s);const a=Xt.transform(e),o=Xt.transform(n);t[r.array]=`${a} ${o}`}(c,i,r,a,!1)}(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,s){!function(t,e,n,s){Ms(t,e,void 0,s);for(const n in e.attrs)t.setAttribute(Ps.has(n)?n:bt(n),e.attrs[n])}(t,e,0,s)}mount(t){var e;this.isSVGTag="string"==typeof(e=t.tagName)&&"svg"===e.toLowerCase(),super.mount(t)}}function Ds(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=Nn(t)&&!function(t){return Nn(t)&&"svg"===t.tagName}(t)?new Es(e):new xs(e);n.mount(t),_.set(t,n)}function Os(t){const e=new ks({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),_.set(t,e)}function Is(t,e,n,s){const i=[];if(function(t,e){return E(t)||"number"==typeof t||"string"==typeof t&&!I(e)}(t,e))i.push(function(t,e,n){const s=E(t)?t:pt(t);return s.start(In("",s,e,n)),s.animation}(t,I(e)&&e.default||e,n&&n.default||n));else{const r=B(t,e,s),a=r.length;Boolean(a);for(let t=0;t<a;t++){const s=r[t];b();const o=s instanceof Element?Ds:Os;_.has(s)||o(s);const l=_.get(s),u={...n};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,a)),i.push(...Rn(l,{...e,transition:u},{}))}}return i}const Bs=function(t,e,n){let s,r=[];if(a=t,Array.isArray(a)&&a.some(Array.isArray))r=function(t,e,n){const s=[],i=function(t,{defaultTransition:e={},...n}={},s,i){const r=e.duration||.3,a=new Map,l=new Map,u={},h=new Map;let c=0,p=0,m=0;for(let n=0;n<t.length;n++){const a=t[n];if("string"==typeof a){h.set(a,p);continue}if(!Array.isArray(a)){h.set(a.name,N(p,a.at,c,h));continue}let[f,y,g={}]=a;void 0!==g.at&&(p=N(p,g.at,c,h));let v=0;const b=(t,n,s,a=0,l=0)=>{const u=$(t),{delay:h=0,times:c=F(u),type:f="keyframes",repeat:y,repeatType:g,repeatDelay:b=0,...w}=n;let{ease:T=e.ease||"easeOut",duration:M}=n;const V="function"==typeof h?h(a,l):h,S=u.length,A=P(f)?f:i?.[f||"keyframes"];if(S<=2&&A){let t=100;if(2===S&&q(u)){const e=u[1]-u[0];t=Math.abs(e)}const e={...w};void 0!==M&&(e.duration=o(M));const n=d(e,t,A);T=n.ease,M=n.duration}M??(M=r);const x=p+V;1===c.length&&0===c[0]&&(c[1]=1);const k=c.length-u.length;if(k>0&&C(c,k),1===u.length&&u.unshift(null),y){M=R(M,y);const t=[...u],e=[...c];T=Array.isArray(T)?[...T]:[T];const n=[...T];for(let s=0;s<y;s++){u.push(...t);for(let i=0;i<t.length;i++)c.push(e[i]+(s+1)),T.push(0===i?"linear":O(n,i-1))}j(c,y)}const E=x+M;K(s,u,T,c,x,E),v=Math.max(V+M,v),m=Math.max(E,m)};if(E(f))b(y,g,L("default",Y(f,l)));else{const t=B(f,y,s,u),e=t.length;for(let n=0;n<e;n++){const s=Y(t[n],l);for(const t in y)b(y[t],U(g,t),L(t,s),n,e)}}c=p,p+=v}return l.forEach((t,s)=>{for(const i in t){const r=t[i];r.sort(W);const o=[],l=[],u=[];for(let t=0;t<r.length;t++){const{at:e,value:n,easing:s}=r[t];o.push(n),l.push(x(0,m,e)),u.push(s||"easeOut")}0!==l[0]&&(l.unshift(0),o.unshift(o[0]),u.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),o.push(null)),a.has(s)||a.set(s,{keyframes:{},transition:{}});const h=a.get(s);h.keyframes[i]=o,h.transition[i]={...e,duration:m,ease:u,times:l,...n}}}),a}(t,e,n,{spring:A});return i.forEach(({keyframes:t,transition:e},n)=>{s.push(...Is(n,t,e))}),s}(t,e,Rs);else{const{onComplete:i,...a}=n||{};"function"==typeof i&&(s=i),r=Is(t,e,a,Rs)}var a;const l=new i(r);return s&&l.finished.then(s),l};var Rs;function Ns(){document.querySelectorAll(".ciclo-moa-video").forEach(n=>{const s=n.querySelector(".ciclo-moa-video__video-container"),i=n.querySelector(".ciclo-moa-video__video");let r=!1;!function(n,s,{root:i,margin:r,amount:a="some"}={}){const o=t(n),l=new WeakMap,u=new IntersectionObserver(t=>{t.forEach(t=>{const e=l.get(t.target);if(t.isIntersecting!==Boolean(e))if(t.isIntersecting){const e=s(t.target,t);"function"==typeof e?l.set(t.target,e):u.unobserve(t.target)}else"function"==typeof e&&(e(t),l.delete(t.target))})},{root:i,rootMargin:r,threshold:"number"==typeof a?a:e[a]});o.forEach(t=>u.observe(t))}(n,()=>(r=!0,i&&i.play().catch(()=>{}
1),s&&Bs(s,{opacity:1,transform:"translateY(0px)"},{duration:1,easing:[.25,.1,.25,1],delay:.3}),()=>{i&&i.pause(),r&&s&&Bs(s,{opacity:0,transform:"translateY(40px)"},{duration:.4,easing:[.25,.1,.25,1]})}),{amount:.1})})}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Ns):Ns()})();

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.