1!function(){"use strict";let t,e;function i(){if("u"<typeof window)return!1;let t=window.location.search,e=t.includes("wcmmode=disabled"),i=document.body.classList.contains("aem-AuthorLayer-Edit"),n=t.includes("wcmmode=edit");return!e&&(i||n)}let n={sm:"20px",md:"20px",lg:"24px",xl:"24px","2xl":"28px"},r={primary:{bg:"animated-btn-bg--primary animated-btn-bg--primary-hover",text:"animated-btn-text--primary"},secondary:{bg:"animated-btn-bg--secondary animated-btn-bg--secondary-hover",text:"animated-btn-text--secondary"},"secondary-black":{bg:"animated-btn-bg--secondary-black animated-btn-bg--secondary-black-hover",text:"animated-btn-text--secondary-black"},"secondary-ghost":{bg:"animated-btn-bg--secondary-ghost animated-btn-bg--secondary-ghost-hover",text:"animated-btn-text--secondary-ghost"},"secondary-black-ghost":{bg:"animated-btn-bg--secondary-black-ghost animated-btn-bg--secondary-black-ghost-hover",text:"animated-btn-text--secondary-black-ghost"},tertiary:{bg:"animated-btn-bg--tertiary animated-btn-bg--tertiary-hover",text:"animated-btn-text--tertiary"},outline:{bg:"animated-btn-bg--outline animated-btn-bg--outline-hover",text:"animated-btn-text--outline"},brand:{bg:"animated-btn-bg--brand animated-btn-bg--brand-hover",text:"animated-btn-text--brand"},dbtgpt:{bg:"animated-btn-bg--dbtgpt animated-btn-bg--dbtgpt-hover",text:"animated-btn-text--dbtgpt"},light:{bg:"animated-btn-bg--light animated-btn-bg--light-hover",text:"animated-btn-text--light"},destructive:{bg:"animated-btn-bg--destructive animated-btn-bg--destructive-hover",text:"animated-btn-text--destructive"},"primary-destructive":{bg:"animated-btn-bg--primary-destructive animated-btn-bg--primary-destructive-hover",text:"animated-btn-text--primary-destructive"},"secondary-destructive":{bg:"animated-btn-bg--secondary-destructive animated-btn-bg--secondary-destructive-hover",text:"animated-btn-text--secondary-destructive"},"link-secondary":{bg:"animated-btn-bg--link-secondary animated-btn-bg--link-secondary-hover",text:"animated-btn-text--link-secondary"}},s={bg:"animated-btn-bg--primary animated-btn-bg--primary-hover",text:"animated-btn-text--primary"};function a(t){let e=t.dataset.animatedBtn??"primary",i=t.dataset.animatedBtnSize??"xl",a=Number.parseInt(t.dataset.animatedBtnStagger??"10",10),o="true"===t.dataset.animatedBtnAnimateIcon,l=r[e]??s,h=n[i]??"24px",u=t.querySelector("[data-btn-icon]"),d=u?.outerHTML??"";u?.remove();let c=t.textContent?.trim()??"";c&&!t.getAttribute("aria-label")&&t.setAttribute("aria-label",c),t.classList.add("animated-btn","animated-btn-focus","group",`animated-btn--${i}`);let p=c.split("").map((t,e)=>`<span class="animated-btn-char" style="height:${h};line-height:${h}"><span class="animated-btn-char-inner" style="transition-delay:${e*a}ms">${" "===t?"\xa0":t}</span></span>`).join(""),m=d?`<span class="${o?"animated-btn-icon animated-btn-icon-arrow":"animated-btn-icon"}">${d}</span>`:"";t.innerHTML=`<span class="animated-btn-bg ${l.bg}" aria-hidden="true"></span><span class="animated-btn-content ${l.text}"><span class="animated-btn-text" style="height:${h};line-height:${h}">${p}</span>`+m+"</span>"}class o{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(){return l(this.animations,"duration")}get iterationDuration(){return l(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 l(t,e){let i=0;for(let n=0;n<t.length;n++){let r=t[n][e];null!==r&&r>i&&(i=r)}return i}class h extends o{then(t,e){return this.finished.finally(t).then(()=>{})}}function u(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}let d=(t,e,i)=>i>e?e:i<t?t:i,c=t=>1e3*t,p=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function m(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}function f(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(m(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:r/1e3}}function g(t,e,i){var n,r;let s=Math.max(e-5,0);return n=i-t(s),(r=e-s)?1e3/r*n:0}let y=.01,v=2,b=.005,w=.5,x=()=>{},T=()=>{};function M(t,e){return t*Math.sqrt(1-e*e)}let S=["duration","bounce"],A=["stiffness","damping","mass"];function k(t,e){return e.some(e=>void 0!==t[e])}function V(t=.3,e=.3){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:s}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:h,damping:u,mass:f,duration:T,velocity:C,isResolvedFromDuration:F}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!k(t,A)&&k(t,S))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*d(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let r,s;x(c(10));let a=1-e;a=d(.05,1,a),t=d(.01,10,t/1e3),a<1?(r=e=>{let n=e*a,r=n*t;return .001-(n-i)/M(e,a)*Math.exp(-r)},s=e=>{let n=e*a*t,s=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-n),l=M(Math.pow(e,2),a);return(n*i+i-s)*o*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
1let o=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=c(t),isNaN(o))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(o,2)*n;return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-((n.velocity||0)/1e3)}),E=C||0,P=u/(2*Math.sqrt(h*f)),I=o-a,O=Math.sqrt(h/f)/1e3,R=5>Math.abs(I);if(r||(r=R?y:v),s||(s=R?b:w),P<1){let t=M(O,P);i=e=>o-Math.exp(-P*O*e)*((E+P*O*I)/t*Math.sin(t*e)+I*Math.cos(t*e))}else if(1===P)i=t=>o-Math.exp(-O*t)*(I+(E+O*I)*t);else{let t=O*Math.sqrt(P*P-1);i=e=>{let i=Math.exp(-P*O*e),n=Math.min(t*e,300);return o-i*((E+P*O*I)*Math.sinh(n)+t*I*Math.cosh(n))/t}}let B={calculatedDuration:F&&T||null,next:t=>{let e=i(t);if(F)l.done=t>=T;else{let n=0===t?E:0;P<1&&(n=0===t?c(E):g(i,t,e));let a=Math.abs(o-e)<=s;l.done=Math.abs(n)<=r&&a}return l.value=l.done?o:e,l},toString:()=>{let t=Math.min(m(B),2e4),e=p(e=>B.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return B}V.applyToOptions=t=>{let e=f(t,100,V);return t.ease=e.ease,t.duration=c(e.duration),t.type="keyframes",t};let C=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n},F=(t,e,i)=>t+(e-t)*i;function E(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=C(0,e,n);t.push(F(i,1,r))}}function P(t){let e=[0];return E(e,t.length-1),e}function I(t){return"function"==typeof t&&"applyToOptions"in t}let O=t=>!!(t&&t.getVelocity),R=t=>Array.isArray(t)&&"number"!=typeof t[0];function B(t,e){var i;let n;return R(t)?t[i=t.length,((e-0)%(n=i-0)+n)%n+0]:t}function $(t){return"object"==typeof t&&!Array.isArray(t)}function D(t,e,i,n){if("string"==typeof t&&$(e)){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document;i&&(e=i.current);let r=n?.[t]??e.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}return t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function N(t,e,i,n){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))):n.get(e)??t}function L(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function q(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function j(t,e){return e[t]||(e[t]=[]),e[t]}let W=t=>"number"==typeof t,Y=t=>t.every(W),K=new WeakMap;function X(t,e){return t?.[e]??t?.default??t}let H=t=>t,U={},z=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function _(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,a=z.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,s=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function h(e){a.has(e)&&(u.schedule(e),t()),l++,e(o)}let u={schedule:(t,e=!1,s=!1)=>{let o=s&&r?i:n;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(o=t,r){s=!0;return}r=!0,[i,n]=[n,i],i.forEach(h),e,l=0,i.clear(),r=!1,s&&(s=!1,u.process(t))}};return u}(s,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:h,preUpdate:u,update:d,preRender:c,render:p,postRender:m}=a,f=()=>{let s=U.useManualTiming?r.timestamp:performance.now();i=!1,U.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,o.process(r),l.process(r),h.process(r),u.process(r),d.process(r),c.process(r),p.process(r),m.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:z.reduce((e,s)=>{let o=a[s];return e[s]=(e,s=!1,a=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(f)),o.schedule(e,s,a)),e},{}),cancel:t=>{for(let e=0;e<z.length;e++)a[z[e]].cancel(t)},state:r,steps:a}}let{schedule:Z,cancel:G,state:J}=_("u">typeof requestAnimationFrame?requestAnimationFrame:H,!0),Q=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],tt=new Set(Q),te=new Set(["width","height","top","left","right","bottom",...Q]);class ti{constructor(){this.subscriptions=[]}add(t){var e;return e=this.subscriptions,-1===e.indexOf(t)&&e.push(t),()=>u(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tn(){t=void 0}let tr={now:()=>(void 0===t&&tr.set(J.isProcessing||U.useManualTiming?J.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(tn)}},ts;class ta{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=tr.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(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tr.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 ti);let i=this.events[t].add(e);return"change"===t?()=>{i(),Z.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,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 ts&&ts.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=tr.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 to(t,e){return new ta(t,e)}function tl(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function th(t,e,i,n){if("function"==typeof e){let[r,s]=tl(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=tl(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let tu=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),td="data-"+tu("framerAppearId");function tc(t){t.duration=0,t.type="keyframes"}let tp=(t,e)=>i=>e(t(i)),tm=(...t)=>t.reduce(tp),tf={mainThread:0,waapi:0},tg=t=>e=>"string"==typeof e&&e.startsWith(t),ty=tg("--"),tv=tg("var(--"),tb=t=>!!tv(t)&&tw.test(t.split("/*")[0].trim()),tw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tx={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tT={...tx,transform:t=>d(0,1,t)},tM={...tx,default:1},tS=t=>Math.round(1e5*t)/1e5,tA=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tV=(t,e)=>i=>!!("string"==typeof i&&tk.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tC=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,a,o]=n.match(tA);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},tF={...tx,transform:t=>Math.round(d(0,255,t))},tE={test:tV("rgb","red"),parse:tC("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+tF.transform(t)+", "+tF.transform(e)+", "+tF.transform(i)+", "+tS(tT.transform(n))+")"},tP={test:tV("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:tE.transform},tI=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tO=tI("deg"),tR=tI("%"),tB=tI("px"),t$=tI("vh"),tD=tI("vw"),tN={...tR,parse:t=>tR.parse(t)/100,transform:t=>tR.transform(100*t)},tL={test:tV("hsl","hue"),parse:tC("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+tR.transform(tS(e))+", "+tR.transform(tS(i))+", "+tS(tT.transform(n))+")"},tq={test:t=>tE.test(t)||tP.test(t)||tL.test(t),parse:t=>tE.test(t)?tE.parse(t):tL.test(t)?tL.parse(t):tP.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tE.transform(t):tL.transform(t),getAnimatableNone:t=>{let e=tq.parse(t);return e.alpha=0,tq.transform(e)}},tj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tW="number",tY="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 tX(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,a=e.replace(tK,t=>(tq.test(t)?(n.color.push(s),r.push(tY),i.push(tq.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(tW),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:a,indexes:n,types:r}}function tH(t){return tX(t).values}function tU(t){let{split:e,types:i}=tX(t),n=e.length;return t=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],void 0!==t[s]){let e=i[s];e===tW?r+=tS(t[s]):e===tY?r+=tq.transform(t[s]):r+=t[s]}return r}}let tz=t=>"number"==typeof t?0:tq.test(t)?tq.getAnimatableNone(t):t,t_={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(tA)?.length||0)+(t.match(tj)?.length||0)>0},parse:tH,createTransformer:tU,getAnimatableNone:function(t){let e=tH(t);return tU(t)(e.map(tz))}};function tZ(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 tG(t,e){return i=>i>0?e:t}let tJ=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},tQ=[tP,tE,tL];function t0(t){let e=tQ.find(e=>e.test(t));if(x(`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===tL&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;r=tZ(o,n,t+1/3),s=tZ(o,n,t),a=tZ(o,n,t-1/3)}else r=s=a=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:n}}(i)),i}let t1=(t,e)=>{let i=t0(t),n=t0(e);if(!i||!n)return tG(t,e);let r={...i};return t=>(r.red=tJ(i.red,n.red,t),r.green=tJ(i.green,n.green,t),r.blue=tJ(i.blue,n.blue,t),r.alpha=F(i.alpha,n.alpha,t),tE.transform(r))},t2=new Set(["none","hidden"]);function t3(t,e){return i=>F(t,e,i)}function t5(t){return"number"==typeof t?t3:"string"==typeof t?tb(t)?tG:tq.test(t)?t1:t8:Array.isArray(t)?t4:"object"==typeof t?tq.test(t)?t1:t6:tG}function t4(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>t5(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function t6(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=t5(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let t8=(t,e)=>{let i=t_.createTransformer(e),n=tX(t),r=tX(e);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return x(`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.`),tG(t,e);if(t2.has(t)&&!r.values.length||t2.has(e)&&!n.values.length)return t2.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return tm(t4(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],a=t.indexes[s][n[s]],o=t.values[a]??0;i[r]=o,n[s]++}return i}(n,r),r.values),i)};function t9(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?F(t,e,i):t5(t)(t,e)}let t7=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>Z.update(e,t),stop:()=>G(e),now:()=>J.isProcessing?J.timestamp:tr.now()}};function et({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,y=p+f,v=void 0===a?y:a(y);v!==y&&(f=v-p);let b=t=>-f*Math.exp(-t/n),w=t=>v+b(t),x=t=>{let e=b(t),i=w(t);m.done=Math.abs(e)<=h,m.value=m.done?v:i},T=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,c=V({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:g(w,t,m.value),damping:r,stiffness:s,restDelta:h,restSpeed:u})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,x(t),T(t)),void 0!==d&&t>=d)?c.next(t-d):(e||x(t),m)}}}let ee=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function ei(t,e,i,n){return t===e&&i===n?H:r=>0===r||1===r?r:ee(function(t,e,i,n,r){let s,a,o=0;do(s=ee(a=e+(i-e)/2,n,r)-t)>0?i=a:e=a;while(Math.abs(s)>1e-7&&++o<12);return a}(r,0,1,t,i),e,n)}let en=ei(.42,0,1,1),er=ei(0,0,.58,1),es=ei(.42,0,.58,1),ea=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,eo=t=>e=>1-t(1-e),el=ei(.33,1.53,.69,.99),eh=eo(el),eu=ea(eh),ed=t=>(t*=2)<1?.5*eh(t):.5*(2-Math.pow(2,-10*(t-1))),ec=t=>1-Math.sin(Math.acos(t)),ep=eo(ec),em=ea(ec),ef=t=>Array.isArray(t)&&"number"==typeof t[0],eg={linear:H,easeIn:en,easeInOut:es,easeOut:er,circIn:ec,circInOut:em,circOut:ep,backIn:eh,backInOut:eu,backOut:el,anticipate:ed},ey=t=>{if(ef(t)){T(t.length);let[e,i,n,r]=t;return ei(e,i,n,r)}return"string"==typeof t?(T(eg[t],`Invalid easing type '${t}'`),eg[t]):t};function ev({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=R(n)?n.map(ey):ey(n),a={done:!1,value:e[0]},o=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(T(e.length),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let n=[],r=i||U.mix||t9,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=tm(Array.isArray(e)?e[i]||H:e,s)),n.push(s)}return n}(e,n,r),l=o.length,h=i=>{if(a&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=C(t[n],t[n+1],i);return o[n](r)};return i?e=>h(d(t[0],t[s-1],e)):h}((r=i&&i.length===e.length?i:P(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||es).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=o(e),a.done=e>=t,a)}}let eb=t=>null!==t;function ew(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(eb),a=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return a&&void 0!==n?n:s[a]}let ex={decay:et,inertia:et,tween:ev,keyframes:ev,spring:V};function eT(t){"string"==typeof t.type&&(t.type=ex[t.type])}class eM{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 eS=t=>t/100;class eA extends eM{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!==tr.now()&&this.tick(tr.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},tf.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;eT(t);let{type:e=ev,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,o=e||ev;o!==ev&&"number"!=typeof a[0]&&(this.mixKeyframes=tm(eS,t9(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=m(l));let{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:o}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:h,repeat:u,repeatType:c,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let y=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,w=i;if(u){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,u+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/a)):"mirror"===c&&(w=s)),b=d(0,1,i)*a}let x=v?{done:!1,value:h[0]}:w.next(b);r&&(x.value=r(x.value));let{done:T}=x;v||null===o||(T=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let M=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return M&&m!==et&&(x.value=ew(h,this.options,g,this.speed)),f&&f(x.value),M&&this.finish(),x}
1then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=c(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(tr.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=t7,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(tr.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,tf.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 ek=t=>180*t/Math.PI,eV=t=>eF(ek(Math.atan2(t[1],t[0]))),eC={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:eV,rotateZ:eV,skewX:t=>ek(Math.atan(t[1])),skewY:t=>ek(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},eF=t=>((t%=360)<0&&(t+=360),t),eE=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),eP=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),eI={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eE,scaleY:eP,scale:t=>(eE(t)+eP(t))/2,rotateX:t=>eF(ek(Math.atan2(t[6],t[5]))),rotateY:t=>eF(ek(Math.atan2(-t[2],t[0]))),rotateZ:eV,rotate:eV,skewX:t=>ek(Math.atan(t[4])),skewY:t=>ek(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function eO(t){return+!!t.includes("scale")}function eR(t,e){let i,n;if(!t||"none"===t)return eO(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=eI,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=eC,n=e}if(!n)return eO(e);let s=i[e],a=n[1].split(",").map(eB);return"function"==typeof s?s(a):a[s]}function eB(t){return parseFloat(t.trim())}let e$=t=>t===tx||t===tB,eD=new Set(["x","y","z"]),eN=Q.filter(t=>!eD.has(t)),eL={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})=>eR(e,"x"),y:(t,{transform:e})=>eR(e,"y")};eL.translateX=eL.x,eL.translateY=eL.y;let eq=new Set,ej=!1,eW=!1,eY=!1;function eK(){if(eW){let t=Array.from(eq).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],eN.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),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)})}eW=!1,ej=!1,eq.forEach(t=>t.complete(eY)),eq.clear()}function eX(){eq.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eW=!0)})}class eH{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(eq.add(this),ej||(ej=!0,Z.read(eX),Z.resolveKeyframes(eK))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.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),eq.delete(this)}cancel(){"scheduled"===this.state&&(eq.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function eU(t){let e;return()=>(void 0===e&&(e=t()),e)}let ez=eU(()=>void 0!==window.ScrollTimeline),e_={},eZ=(e=eU(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>e_.linearEasing??e()),eG=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,eJ={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eG([0,.65,.55,1]),circOut:eG([.55,0,1,.45]),backIn:eG([.31,.01,.66,-.59]),backOut:eG([.33,1.53,.69,.99])};class eQ extends eM{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,T(t.type);const l=function({type:t,...e}){return I(t)&&eZ()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?eZ()?p(e,i):"ease-out":ef(e)?eG(e):Array.isArray(e)?e.map(e=>t(e,i)||eJ.easeOut):eJ[e]}(o,r);Array.isArray(d)&&(u.easing=d);let c={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};h&&(c.pseudoElement=h);let m=t.animate(u,c);return m}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=ew(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[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 iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=c(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&&ez())?(this.animation.timeline=t,H):e(this)}}let e0={anticipate:ed,backInOut:eu,circInOut:em};class e1 extends eQ{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in e0&&(t.ease=e0[t.ease])}(t),eT(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new eA({...s,autoplay:!1}),o=c(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let e2=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(t_.test(t)||"0"===t)&&!t.startsWith("url(")),e3=new Set(["opacity","clipPath","filter","transform"]),e5=eU(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class e4 extends eM{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:a,name:o,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tr.now();const d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:o,motionValue:l,element:h,...u},c=h?.KeyframeResolver||eH;this.keyframeResolver=new c(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:a,delay:o,isHandoff:l,onUpdate:h}=i;
1this.resolvedAt=tr.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],a=e2(r,e),o=e2(s,e);return x(`You are trying to animate ${e} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`),!!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||I(i))&&n)}(t,r,s,a)&&((U.instantAnimations||!o)&&h?.(ew(t,i,e)),t[0]=t[t.length-1],tc(i),i.repeat=0);let u={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!l&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return e5()&&i&&e3.has(i)&&("transform"!==i||!l)&&!o&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}(u)?new e1({...u,element:u.motionValue.owner.current}):new eA(u);d.finished.then(()=>this.notifyFinished()).catch(H),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(),eY=!0,eX(),eK(),eY=!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()}}let e6=t=>null!==t,e8={type:"spring",stiffness:500,damping:25,restSpeed:10},e9={type:"keyframes",duration:.8},e7={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},it=(t,e,i,n={},r,s)=>a=>{let o=X(n,t)||{},l=o.delay||n.delay||0,{elapsed:h=0}=n;h-=c(l);let u={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-h,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(o)&&Object.assign(u,((t,{keyframes:e})=>e.length>2?e9:tt.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:e8:e7)(t,u)),u.duration&&(u.duration=c(u.duration)),u.repeatDelay&&(u.repeatDelay=c(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(tc(u),0===u.delay&&(d=!0)),(U.instantAnimations||U.skipAnimations)&&(d=!0,tc(u),u.delay=0),u.allowFlatten=!o.type&&!o.ease,d&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"}){let n=t.filter(e6),r=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[r]}(u.keyframes,o);if(void 0!==t)return void Z.update(()=>{u.onUpdate(t),u.onComplete()})}return o.isSync?new eA(u):new e4(u)};function ie(t){return"object"==typeof t&&null!==t&&"ownerSVGElement"in t}let ii=t=>e=>e.test(t),ir=[tx,tB,tR,tO,tD,t$,{test:t=>"auto"===t,parse:t=>t}],is=t=>ir.find(ii(t)),ia=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,io=new Set(["brightness","contrast","saturate","opacity"]);function il(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(tA)||[];if(!n)return t;let r=i.replace(n,""),s=+!!io.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let ih=/\b([a-z-]*)\(.*?\)/gu,iu={...t_,getAnimatableNone:t=>{let e=t.match(ih);return e?e.map(il).join(" "):t}},id={...tx,transform:Math.round},ic={borderWidth:tB,borderTopWidth:tB,borderRightWidth:tB,borderBottomWidth:tB,borderLeftWidth:tB,borderRadius:tB,radius:tB,borderTopLeftRadius:tB,borderTopRightRadius:tB,borderBottomRightRadius:tB,borderBottomLeftRadius:tB,width:tB,maxWidth:tB,height:tB,maxHeight:tB,top:tB,right:tB,bottom:tB,left:tB,inset:tB,insetBlock:tB,insetBlockStart:tB,insetBlockEnd:tB,insetInline:tB,insetInlineStart:tB,insetInlineEnd:tB,padding:tB,paddingTop:tB,paddingRight:tB,paddingBottom:tB,paddingLeft:tB,paddingBlock:tB,paddingBlockStart:tB,paddingBlockEnd:tB,paddingInline:tB,paddingInlineStart:tB,paddingInlineEnd:tB,margin:tB,marginTop:tB,marginRight:tB,marginBottom:tB,marginLeft:tB,marginBlock:tB,marginBlockStart:tB,marginBlockEnd:tB,marginInline:tB,marginInlineStart:tB,marginInlineEnd:tB,backgroundPositionX:tB,backgroundPositionY:tB,rotate:tO,rotateX:tO,rotateY:tO,rotateZ:tO,scale:tM,scaleX:tM,scaleY:tM,scaleZ:tM,skew:tO,skewX:tO,skewY:tO,distance:tB,translateX:tB,translateY:tB,translateZ:tB,x:tB,y:tB,z:tB,perspective:tB,transformPerspective:tB,opacity:tT,originX:tN,originY:tN,originZ:tB,zIndex:id,fillOpacity:tT,strokeOpacity:tT,numOctaves:id},ip={...ic,color:tq,backgroundColor:tq,outlineColor:tq,fill:tq,stroke:tq,borderColor:tq,borderTopColor:tq,borderRightColor:tq,borderBottomColor:tq,borderLeftColor:tq,filter:iu,WebkitFilter:iu},im=t=>ip[t];function ig(t,e){let i=im(t);return i!==iu&&(i=t_),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let iy=new Set(["auto","none","0"]);class iv extends eH{constructor(t,e,i,n,r){super(t,e,i,n,r,!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 n=t[i];if("string"==typeof n&&tb(n=n.trim())){let r=function t(e,i,n=1){T(`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,s]=function(t){let e=ia.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let t=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tb(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!te.has(i)||2!==t.length)return;let[n,r]=t,s=is(n),a=is(r);if(s!==a)if(e$(s)&&e$(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else eL[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!iy.has(e)&&tX(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=ig(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eL[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=eL[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let ib=[...ir,tq,t_],{schedule:iw}=_(queueMicrotask,!1),ix={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"]},iT={};for(let t in ix)iT[t]={isEnabled:e=>ix[t].some(t=>!!e[t])};let iM=()=>({min:0,max:0}),iS=()=>({x:iM(),y:iM()}),iA="u">typeof window,ik={current:null},iV={current:!1},iC=["initial","animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"];function iF(t){var e;return null!==(e=t.animate)&&"object"==typeof e&&"function"==typeof e.start||iC.some(e=>{var i;return"string"==typeof(i=t[e])||Array.isArray(i)})}let iE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class iP{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eH,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=tr.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,Z.render(this.render,!1,!0))};const{latestValues:o,renderState:l}=s;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=n,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=iF(e),this.isVariantNode=function(t){return!!(iF(t)||t.variants)}(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...u}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in u){const e=u[t];void 0!==o[t]&&O(e)&&e.set(o[t])}}mount(t){this.current=t,K.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)),iV.current||function(){if(iV.current=!0,iA)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ik.current=t.matches;t.addEventListener("change",e),e()}else ik.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ik.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),G(this.notifyUpdate),G(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}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){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=tt.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&Z.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in iT){let e=iT[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
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):iS()}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<iE.length;e++){let i=iE[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if(O(r))t.addValue(n,r);else if(O(s))t.addValue(n,to(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,to(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}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=to(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){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!ib.find(ii(n))&&t_.test(e)&&(i=ig(t,e))}this.setBaseTarget(t,O(i)?i.get():i)}return O(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 n=th(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||O(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new ti),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){iw.render(this.render)}}class iI extends iP{constructor(){super(...arguments),this.KeyframeResolver=iv}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;O(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let iO=(t,e)=>e&&"number"==typeof t?e.transform(t):t,iR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iB=Q.length;function i$(t,e,i){let{style:n,vars:r,transformOrigin:s}=t,a=!1,o=!1;for(let t in e){let i=e[t];if(tt.has(t)){a=!0;continue}if(ty(t)){r[t]=i;continue}{let e=iO(i,ic[t]);t.startsWith("origin")?(o=!0,s[t]=e):n[t]=e}}
1if(!e.transform&&(a||i?n.transform=function(t,e,i){let n="",r=!0;for(let s=0;s<iB;s++){let a=Q[s],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=iO(o,ic[a]);if(!l){r=!1;let e=iR[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}return n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),o){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;n.transformOrigin=`${t} ${e} ${i}`}}function iD(t,{style:e,vars:i},n,r){let s,a=t.style;for(s in e)a[s]=e[s];for(s in r?.applyProjectionStyles(a,n),i)a.setProperty(s,i[s])}function iN(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let iL={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!tB.test(t))return t;else t=parseFloat(t);let i=iN(t,e.target.x),n=iN(t,e.target.y);return`${i}% ${n}%`}},iq={borderRadius:{...iL,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:iL,borderTopRightRadius:iL,borderBottomLeftRadius:iL,borderBottomRightRadius:iL,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=t_.parse(t);if(n.length>5)return t;let r=t_.createTransformer(t),s=+("number"!=typeof n[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;n[0+s]/=a,n[1+s]/=o;let l=F(a,o,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function ij(t,e,i){let{style:n}=t,r={};for(let s in n)(O(n[s])||e.style&&O(e.style[s])||function(t,{layout:e,layoutId:i}){return tt.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!iq[t]||"opacity"===t)}(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(r[s]=n[s]);return r}class iW extends iI{constructor(){super(...arguments),this.type="html",this.renderInstance=iD}readValueFromInstance(t,e){if(tt.has(e))return this.projection?.isProjecting?eO(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return eR(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(ty(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return function({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}build(t,e,i){i$(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return ij(t,e,i)}}class iY extends iP{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 iS()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}let iK={offset:"stroke-dashoffset",array:"stroke-dasharray"},iX={offset:"strokeDashoffset",array:"strokeDasharray"},iH=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 iU extends iI{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iS}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(tt.has(e)){let t=im(e);return t&&t.default||0}return e=iH.has(e)?e:tu(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){let n=ij(t,e,i);for(let i in t)(O(t[i])||O(e[i]))&&(n[-1!==Q.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}build(t,e,i){!function(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:a=0,...o},l,h,u){if(i$(t,o,h),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=u?.transformBox??"fill-box",delete d.transformBox),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==r&&function(t,e,
1i=1,n=0,r=!0){t.pathLength=1;let s=r?iK:iX;t[s.offset]=tB.transform(-n);let a=tB.transform(e),o=tB.transform(i);t[s.array]=`${a} ${o}`}(d,r,s,a,!1)}(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in iD(t,e,void 0,n),e.attrs)t.setAttribute(iH.has(i)?i:tu(i),e.attrs[i])}mount(t){let e;this.isSVGTag="string"==typeof(e=t.tagName)&&"svg"===e.toLowerCase(),super.mount(t)}}function iz(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=ie(t)&&!(ie(t)&&"svg"===t.tagName)?new iU(e):new iW(e);i.mount(t),K.set(t,i)}function i_(t){let e=new iY({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),K.set(t,e)}function iZ(t,e,i,n){var r,s;let a=[];if(O(t)||"number"==typeof t||"string"==typeof t&&!$(e)){let n;a.push((r=$(e)&&e.default||e,s=i&&i.default||i,(n=O(t)?t:to(t)).start(it("",n,r,s)),n.animation))}else{let r=D(t,e,n),s=r.length;T();for(let t=0;t<s;t++){let n=r[t];T();let o=n instanceof Element?iz:i_;K.has(n)||o(n);let l=K.get(n),h={...i};"delay"in h&&"function"==typeof h.delay&&(h.delay=h.delay(t,s)),a.push(...function(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:a,...o}=e;n&&(s=n);let l=[],h=r&&t.animationState&&t.animationState.getState()[r];for(let e in o){let n=t.getValue(e,t.latestValues[e]??null),r=o[e];if(void 0===r||h&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(h,e))continue;let a={delay:i,...X(s||{},e)},u=n.get();if(void 0!==u&&!n.isAnimating&&!Array.isArray(r)&&r===u&&!a.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[td];if(i){let t=window.MotionHandoffAnimation(i,e,Z);null!==t&&(a.startTime=t,d=!0)}}!function(t,e){let i=t.getValue("willChange");if(O(i)&&i.add)return i.add(e);if(!i&&U.WillChange){let i=new U.WillChange("auto");t.addValue("willChange",i),i.add(e)}}(t,e),n.start(it(e,n,r,t.shouldReduceMotion&&te.has(e)?{type:!1}:a,t,d));let c=n.animation;c&&l.push(c)}return a&&Promise.all(l).then(()=>{Z.update(()=>{a&&function(t,e){let i,{transitionEnd:n={},transition:r={},...s}=th(i=t.getProps(),e,i.custom,t)||{};for(let e in s={...s,...n}){var a;let i=Array.isArray(a=s[e])?a[a.length-1]||0:a;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,to(i))}}(t,a)})}),l}(l,{...e,transition:h},{}))}}return a}let iG=function(t,e,i){let n,r=[];if(Array.isArray(t)&&t.some(Array.isArray)){let i;i=[],(function(t,{defaultTransition:e={},...i}={},n,r){let s=e.duration||.3,a=new Map,o=new Map,l={},h=new Map,d=0,p=0,m=0;for(let i=0;i<t.length;i++){let a=t[i];if("string"==typeof a){h.set(a,p);continue}if(!Array.isArray(a)){h.set(a.name,N(p,a.at,d,h));continue}let[v,b,w={}]=a;void 0!==w.at&&(p=N(p,w.at,d,h));let x=0,M=(t,i,n,a=0,o=0)=>{var l;let h=Array.isArray(l=t)?l:[l],{delay:d=0,times:g=P(h),type:y="keyframes",repeat:v,repeatType:b,repeatDelay:w=0,...M}=i,{ease:S=e.ease||"easeOut",duration:A}=i,k="function"==typeof d?d(a,o):d,V=h.length,C=I(y)?y:r?.[y||"keyframes"];if(V<=2&&C){let t=100;2===V&&Y(h)&&(t=Math.abs(h[1]-h[0]));let e={...M};void 0!==A&&(e.duration=c(A));let i=f(e,t,C);S=i.ease,A=i.duration}A??(A=s);let O=p+k;1===g.length&&0===g[0]&&(g[1]=1);let R=g.length-h.length;if(R>0&&E(g,R),1===h.length&&h.unshift(null),v){T(),A*=v+1;let t=[...h],e=[...g],i=[...S=Array.isArray(S)?[...S]:[S]];for(let n=0;n<v;n++){h.push(...t);for(let r=0;r<t.length;r++)g.push(e[r]+(n+1)),S.push(0===r?"linear":B(i,r-1))}for(let t=0;t<g.length;t++)g[t]=g[t]/(v+1)}let $=O+A;!function(t,e,i,n,r,s){for(let e=0;e<t.length;e++){let i=t[e];i.at>r&&i.at<s&&(u(t,i),e--)}for(let a=0;a<e.length;a++)t.push({value:e[a],at:F(r,s,n[a]),easing:B(i,a)})}(n,h,S,g,O,$),x=Math.max(k+A,x),m=Math.max($,m)};if(O(v))M(b,w,j("default",q(v,o)));else{let t=D(v,b,n,l),e=t.length;for(let i=0;i<e;i++){let n=q(t[i],o);for(let t in b){var g,y;M(b[t],(g=w,y=t,g&&g[y]?{...g,...g[y]}:{...g}),j(t,n),i,e)}}}d=p,p+=x}return o.forEach((t,n)=>{for(let r in t){let s=t[r];s.sort(L);let o=[],l=[],h=[];for(let t=0;t<s.length;t++){let{at:e,value:i,easing:n}=s[t];o.push(i),l.push(C(0,m,e)),h.push(n||"easeOut")}0!==l[0]&&(l.unshift(0),o.unshift(o[0]),h.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),o.push(null)),a.has(n)||a.set(n,{keyframes:{},transition:{}});let u=a.get(n);u.keyframes[r]=o,u.transition[r]={...e,duration:m,ease:h,times:l,...i}}}),a})(t,e,void 0,{spring:V}
1).forEach(({keyframes:t,transition:e},n)=>{i.push(...iZ(n,t,e))}),r=i}else{let{onComplete:s,...a}=i||{};"function"==typeof s&&(n=s),r=iZ(t,e,a,void 0)}let s=new h(r);return n&&s.finished.then(n),s};function iJ(t,e,i){t.style.opacity="0",t.style.transform="translateY(40px)";let n=null,r=null,s=null;return requestAnimationFrame(()=>{setTimeout(()=>{(s=new IntersectionObserver(s=>{for(let a of s)a.isIntersecting?(null!==r&&(clearTimeout(r),r=null),n?.stop(),t.style.opacity="0",t.style.transform="translateY(40px)",n=iG(t,{opacity:[0,1],transform:["translateY(40px)","translateY(0px)"]},{duration:i,delay:e,ease:[.4,0,.2,1]}),r=setTimeout(()=>{r=null,t.style.opacity="1",t.style.transform="translateY(0px)"},(e+i)*1e3)):(null!==r&&(clearTimeout(r),r=null),n?.stop(),n=null,t.style.opacity="0",t.style.transform="translateY(40px)")},{threshold:0})).observe(t)},0)}),()=>{null!==r&&clearTimeout(r),s?.disconnect(),n?.stop()}}!function(t){let{selector:e,name:n,enhance:r,skipAuthorCheck:s}=t,a=new WeakMap;function o(t){let e=a.get(t);if(e)try{e(),a.delete(t)}catch(t){}}function l(t){if(!(!s&&i())&&t instanceof HTMLElement){"enhanced"in t.dataset&&o(t);try{let e,i=(e=t.dataset.reactProps)?JSON.parse(e):{};t.dataset.enhanced="true",delete t.dataset.cmpIs;let n=r(t,i);n&&a.set(t,n)}catch(t){}}}function h(){document.querySelectorAll(e).forEach(l)}function u(t){t.querySelectorAll&&(t.matches?.(e)&&l(t),t.querySelectorAll(e).forEach(l))}function d(t){t instanceof HTMLElement&&t.querySelectorAll&&(t.matches?.(e)&&o(t),t.querySelectorAll(e).forEach(t=>{t instanceof HTMLElement&&o(t)}))}function c(t){for(let e of t)e.addedNodes.forEach(u),e.removedNodes.forEach(d)}function p(){if(i())return;let t=window.MutationObserver||window.WebKitMutationObserver;t&&new t(c).observe(document.body,{subtree:!0,childList:!0})}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{h(),p()}):(h(),p())}({selector:'[data-cmp-is="herotextonly"]',name:"HeroTextOnly",enhance:function(t,e){let{title:i="",description:n=""}=e,r=function(t){if(!t)return"";if("u">typeof window){let e=new DOMParser().parseFromString(t,"text/html");return e.body.textContent?.trim()??""}return t.replaceAll(/<[^>]*>/g,"").trim()}(n),s=[];function o(t){var e,n;let s,a,o,l=t.currentTarget,h=l.textContent?.trim()??"";e="herowithText",n={componentName:"Hero with Text",componentText:i,componentHref:l.getAttribute("href")??"",componentDesc:r,clickText:h},a=(s="string"==typeof e)?e:"herowithText",o={eventName:"herowithText",componentInfo:s?n??{}:e},"u">typeof window&&(window.digitalData=window.digitalData??{}),"u">typeof window&&window.digitalData&&(window.digitalData.event=o),"u">typeof window&&"function"==typeof window._satellite?.track&&window._satellite.track(a,o)}let l=t.querySelector("[data-primary-cta]"),h=t.querySelector("[data-secondary-cta]");t.querySelectorAll("[data-animated-btn]").forEach(a),l?.addEventListener("click",o),h?.addEventListener("click",o);let u=t.querySelector("[data-bg-video]");u?.paused&&u.play().catch(()=>{}),t.style.visibility="";let d=t.querySelector('[data-animate="title"]'),c=t.querySelector('[data-animate="description"]'),p=t.querySelector('[data-animate="ctas"]');return d&&s.push(iJ(d,0,.7)),c&&s.push(iJ(c,.15,.6)),p&&s.push(iJ(p,.3,.6)),()=>{s.forEach(t=>t()),l?.removeEventListener("click",o),h?.removeEventListener("click",o)}}})}();
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.