1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,212229,790678,79803,837745,431851,893339,880629,730740,931840,468354,998956,15013,303313,639911,977,585032,499511,644249,688786,686952,184658,910242,t=>{"use strict";let e,i;var n,r=t.i(832869),s=t.i(787903);function a(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function o(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function l(t,e,i,n){if("function"==typeof e){let[r,s]=o(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]=o(n);e=e(void 0!==i?i:t.custom,r,s)}return e}function u(t,e,i){let n=t.getProps();return l(n,e,void 0!==i?i:n.custom,t)}function h(t,e){return t?.[e]??t?.default??t}let d=t=>t;t.s(["noop",0,d],790678);let c={},p=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function m(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,a=p.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 u(e){a.has(e)&&(h.schedule(e),t()),l++,e(o)}let h={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(u),e,l=0,i.clear(),r=!1,s&&(s=!1,h.process(t))}};return h}(s,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:h,update:d,preRender:m,render:f,postRender:v}=a,g=()=>{let s=c.useManualTiming?r.timestamp:performance.now();i=!1,c.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),u.process(r),h.process(r),d.process(r),m.process(r),f.process(r),v.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(g))};return{schedule:p.reduce((e,s)=>{let o=a[s];return e[s]=(e,s=!1,a=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(g)),o.schedule(e,s,a)),e},{}),cancel:t=>{for(let e=0;e<p.length;e++)a[p[e]].cancel(t)},state:r,steps:a}}let{schedule:f,cancel:v,state:g}=m("u">typeof requestAnimationFrame?requestAnimationFrame:d,!0);t.s(["cancelFrame",0,v,"frame",0,f,"frameData",0,g],79803);let y=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],b=new Set(y),w=new Set(["width","height","top","left","right","bottom",...y]);var T=t.i(94293);class M{constructor(){this.subscriptions=[]}add(t){var e;return e=this.subscriptions,-1===e.indexOf(t)&&e.push(t),()=>{var e;let i;return e=this.subscriptions,void((i=e.indexOf(t))>-1&&e.splice(i,1))}}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 S(t,e){return e?1e3/e*t:0}function A(){e=void 0}t.s(["velocityPerSecond",0,S],837745);let x={now:()=>(void 0===e&&x.set(g.isProcessing||c.useManualTiming?g.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(A)}},C={current:void 0};class V{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=x.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=x.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 M);let i=this.events[t].add(e);return"change"===t?()=>{i(),f.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 C.current&&C.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=x.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return S(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 P(t,e){return new V(t,e)}t.s(["collectMotionValues",0,C,"motionValue",0,P],431851);let k=t=>Array.isArray(t),E=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",0,E],893339);let F=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),O="data-"+F("framerAppearId");function I(t){t.duration=0,t.type="keyframes"}let R=(t,e)=>i=>e(t(i)),L=(...t)=>t.reduce(R),N=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",0,N],880629);let D={mainThread:0,waapi:0},j=()=>{},B=()=>{};t.s(["invariant",0,B,"warning",0,j],730740);let $=t=>e=>"string"==typeof e&&e.startsWith(t),W=$("--"),K=$("var(--"),U=t=>!!K(t)&&_.test(t.split("/*")[0].trim()),_=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,H={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},Y={...H,transform:t=>N(0,1,t)},X={...H,default:1},z=t=>Math.round(1e5*t)/1e5,q=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Z=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,G=(t,e)=>i=>!!("string"==typeof i&&Z.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),J=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,a,o]=n.match(q);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},Q={...H,transform:t=>Math.round(N(0,255,t))},tt={test:G("rgb","red"),parse:J("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+Q.transform(t)+", "+Q.transform(e)+", "+Q.transform(i)+", "+z(Y.transform(n))+")"},te={test:G("#"),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),alph
1a:r?parseInt(r,16)/255:1}},transform:tt.transform},ti=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tn=ti("deg"),tr=ti("%"),ts=ti("px"),ta=ti("vh"),to=ti("vw"),tl={...tr,parse:t=>tr.parse(t)/100,transform:t=>tr.transform(100*t)},tu={test:G("hsl","hue"),parse:J("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+tr.transform(z(e))+", "+tr.transform(z(i))+", "+z(Y.transform(n))+")"},th={test:t=>tt.test(t)||te.test(t)||tu.test(t),parse:t=>tt.test(t)?tt.parse(t):tu.test(t)?tu.parse(t):te.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tt.transform(t):tu.transform(t),getAnimatableNone:t=>{let e=th.parse(t);return e.alpha=0,th.transform(e)}},td=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tc="number",tp="color",tm=/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 tf(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,a=e.replace(tm,t=>(th.test(t)?(n.color.push(s),r.push(tp),i.push(th.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(tc),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:a,indexes:n,types:r}}function tv(t){return tf(t).values}function tg(t){let{split:e,types:i}=tf(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===tc?r+=z(t[s]):e===tp?r+=th.transform(t[s]):r+=t[s]}return r}}let ty=t=>"number"==typeof t?0:th.test(t)?th.getAnimatableNone(t):t,tb={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(q)?.length||0)+(t.match(td)?.length||0)>0},parse:tv,createTransformer:tg,getAnimatableNone:function(t){let e=tv(t);return tg(t)(e.map(ty))}};function tw(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 tT(t,e){return i=>i>0?e:t}let tM=(t,e,i)=>t+(e-t)*i,tS=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},tA=[te,tt,tu];function tx(t){let e=tA.find(e=>e.test(t));if(j(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===tu&&(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=tw(o,n,t+1/3),s=tw(o,n,t),a=tw(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 tC=(t,e)=>{let i=tx(t),n=tx(e);if(!i||!n)return tT(t,e);let r={...i};return t=>(r.red=tS(i.red,n.red,t),r.green=tS(i.green,n.green,t),r.blue=tS(i.blue,n.blue,t),r.alpha=tM(i.alpha,n.alpha,t),tt.transform(r))},tV=new Set(["none","hidden"]);function tP(t,e){return i=>tM(t,e,i)}function tk(t){return"number"==typeof t?tP:"string"==typeof t?U(t)?tT:th.test(t)?tC:tO:Array.isArray(t)?tE:"object"==typeof t?th.test(t)?tC:tF:tT}function tE(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>tk(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function tF(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=tk(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let tO=(t,e)=>{let i=tb.createTransformer(e),n=tf(t),r=tf(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 j(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),tT(t,e);if(tV.has(t)&&!r.values.length||tV.has(e)&&!n.values.length)return tV.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return L(tE(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 tI(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?tM(t,e,i):tk(t)(t,e)}let tR=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>f.update(e,t),stop:()=>v(e),now:()=>g.isProcessing?g.timestamp:x.now()}}
1,tL=(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 tN(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 tD(t,e,i){let n=Math.max(e-5,0);return S(i-t(n),e-n)}let tj=.01,tB=2,t$=.005,tW=.5;function tK(t,e){return t*Math.sqrt(1-e*e)}let tU=["duration","bounce"],t_=["stiffness","damping","mass"];function tH(t,e){return e.some(e=>void 0!==t[e])}function tY(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:u,damping:h,mass:d,duration:c,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!tH(t,t_)&&tH(t,tU))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*N(.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;j(t<=1e4,"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=N(.05,1,a),t=N(.01,10,t/1e3),a<1?(r=e=>{let n=e*a,r=n*t;return .001-(n-i)/tK(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=tK(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));let 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*=1e3,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)}),f=p||0,v=h/(2*Math.sqrt(u*d)),g=o-a,y=Math.sqrt(u/d)/1e3,b=5>Math.abs(g);if(r||(r=b?tj:tB),s||(s=b?t$:tW),v<1){let t=tK(y,v);i=e=>o-Math.exp(-v*y*e)*((f+v*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===v)i=t=>o-Math.exp(-y*t)*(g+(f+y*g)*t);else{let t=y*Math.sqrt(v*v-1);i=e=>{let i=Math.exp(-v*y*e),n=Math.min(t*e,300);return o-i*((f+v*y*g)*Math.sinh(n)+t*g*Math.cosh(n))/t}}let w={calculatedDuration:m&&c||null,next:t=>{let e=i(t);if(m)l.done=t>=c;else{let n=0===t?f:0;v<1&&(n=0===t?1e3*f:tD(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(tN(w),2e4),e=tL(e=>w.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return w}function tX({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,v=p+f,g=void 0===a?v:a(v);g!==v&&(f=g-p);let y=t=>-f*Math.exp(-t/n),b=t=>g+y(t),w=t=>{let e=y(t),i=b(t);m.done=Math.abs(e)<=u,m.value=m.done?g:i},T=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,c=tY({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:tD(b,t,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,w(t),T(t)),void 0!==d&&t>=d)?c.next(t-d):(e||w(t),m)}}}tY.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(tN(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:r/1e3}}(t,100,tY);return t.ease=e.ease,t.duration=1e3*e.duration,t.type="keyframes",t};let tz=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tq(t,e,i,n){return t===e&&i===n?d:r=>0===r||1===r?r:tz(function(t,e,i,n,r){let s,a,o=0;do(s=tz(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 tZ=tq(.42,0,1,1),tG=tq(0,0,.58,1),tJ=tq(.42,0,.58,1),tQ=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,t0=t=>e=>1-t(1-e),t1=tq(.33,1.53,.69,.99),t3=t0(t1),t2=tQ(t3),t5=t=>(t*=2)<1?.5*t3(t):.5*(2-Math.pow(2,-10*(t-1))),t4=t=>1-Math.sin(Math.acos(t)),t9=t0(t4),t8=tQ(t4),t6=t=>Array.isArray(t)&&"number"==typeof t[0],t7={linear:d,easeIn:tZ,easeInOut:tJ,easeOut:tG,circIn:t4,circInOut:t8,circOut:t9,backIn:t3,backInOut:t2,backOut:t1,anticipate:t5},et=t=>
1{if(t6(t)){B(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return tq(e,i,n,r)}return"string"==typeof t?(B(void 0!==t7[t],`Invalid easing type '${t}'`,"invalid-easing-type"),t7[t]):t},ee=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function ei(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(B(s===e.length,"Both input and output ranges must be the same length","range-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||c.mix||tI,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=L(Array.isArray(e)?e[i]||d:e,s)),n.push(s)}return n}(e,n,r),l=o.length,u=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=ee(t[n],t[n+1],i);return o[n](r)};return i?e=>u(N(t[0],t[s-1],e)):u}function en(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=ee(0,e,n);t.push(tM(i,1,r))}}(e,t.length-1),e}function er({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(et):et(n),a={done:!1,value:e[0]},o=ei((r=i&&i.length===e.length?i:en(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||tJ).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=o(e),a.done=e>=t,a)}}t.s(["progress",0,ee],931840),t.s(["interpolate",0,ei],468354),t.s(["defaultOffset",0,en],998956);let es=t=>null!==t;function ea(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(es),a=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return a&&void 0!==n?n:s[a]}let eo={decay:tX,inertia:tX,tween:er,keyframes:er,spring:tY};function el(t){"string"==typeof t.type&&(t.type=eo[t.type])}class eu{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 eh=t=>t/100;class ed extends eu{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!==x.now()&&this.tick(x.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},D.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;el(t);let{type:e=er,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,o=e||er;o!==er&&"number"!=typeof a[0]&&(this.mixKeyframes=L(eh,tI(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=tN(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,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:u,repeat:h,repeatType:d,repeatDelay:c,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-l*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let y=this.currentTime,b=i;if(h){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,h+1))%2&&("reverse"===d?(i=1-i,c&&(i-=c/a)):"mirror"===d&&(b=s)),y=N(0,1,i)*a}let w=g?{done:!1,value:u[0]}:b.next(y);r&&(w.value=r(w.value));let{done:T}=w;g||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&&p!==tX&&(w.value=ea(u,this.options,f,this.speed)),m&&m(w.value),M&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t*=1e3,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(x.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=tR,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(x.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,D.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)}}t.s(["JSAnimation",0,ed],15013);let ec=t=>180*t/Math.PI,ep=t=>ef(ec(Math.atan2(t[1],t[0]))),em={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ep,rotateZ:ep,skewX:t=>ec(Math.atan(t[1])),skewY:t=>ec(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},ef=t=>((t%=360)<0&&(t+=360),t),ev=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),eg=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ey={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ev,scaleY:eg,scale:t=>(ev(t)+eg(t))/2,rotateX:t=>ef(ec(Math.atan2(t[6],t[5]))),rotateY:t=>ef(ec(Math.atan2(-t[2],t[0]))),rotateZ:ep,rotate:ep,skewX:t=>ec(Math.atan(t[4])),skewY:t=>ec(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function eb(t){return+!!t.includes("scale")}function ew(t,e){let i,n;if(!t||"none"===t)return eb(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=ey,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=em,n=e}if(!n)return eb(e);let s=i[e],a=n[1].split(",").map(eT);return"function"==typeof s?s(a):a[s]}function eT(t){return parseFloat(t.trim())}let eM=t=>t===H||t===ts,eS=new Set(["x","y","z"]),eA=y.filter(t=>!eS.has(t)),ex={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})=>ew(e,"x"),y:(t,{transform:e})=>ew(e,"y")};ex.translateX=ex.x,ex.translateY=ex.y;let eC=new Set,eV=!1,eP=!1,ek=!1;function eE(){if(eP){let t=Array.from(eC).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],eA.forEach(i=>
1{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)})}eP=!1,eV=!1,eC.forEach(t=>t.complete(ek)),eC.clear()}function eF(){eC.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eP=!0)})}class eO{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?(eC.add(this),eV||(eV=!0,f.read(eF),f.resolveKeyframes(eE))):(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),eC.delete(this)}cancel(){"scheduled"===this.state&&(eC.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function eI(t){let e;return()=>(void 0===e&&(e=t()),e)}let eR=eI(()=>void 0!==window.ScrollTimeline);t.s(["supportsScrollTimeline",0,eR],303313);let eL={},eN=(i=eI(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>eL.linearEasing??i()),eD=([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:eD([0,.65,.55,1]),circOut:eD([.55,0,1,.45]),backIn:eD([.31,.01,.66,-.59]),backOut:eD([.33,1.53,.69,.99])};function eB(t){return"function"==typeof t&&"applyToOptions"in t}class e$ extends eu{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,B("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return eB(t)&&eN()?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}={},u){let h={[e]:i};l&&(h.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?eN()?tL(e,i):"ease-out":t6(e)?eD(e):Array.isArray(e)?e.map(e=>t(e,i)||ej.easeOut):ej[e]}(o,r);Array.isArray(d)&&(h.easing=d);let c={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};u&&(c.pseudoElement=u);let p=t.animate(h,c);return p}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=ea(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=1e3*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&&eR())?(this.animation.timeline=t,d):e(this)}}let eW={anticipate:t5,backInOut:t2,circInOut:t8};class eK extends e${constructor(t){!function(t){"string"==typeof t.ease&&t.ease in eW&&(t.ease=eW[t.ease])}(t),el(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 ed({...s,autoplay:!1}),o=1e3*(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let eU=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tb.test(t)||"0"===t)&&!t.startsWith("url(")),e_=new Set(["opacity","clipPath","filter","transform"]),eH=eI(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eY extends eu{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:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=x.now();const d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:o,motionValue:l,element:u,...h},c=u?.KeyframeResolver||eO;this.keyframeResolver=new c(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:a,delay:o,isHandoff:l,onUpdate:u}=i;
1this.resolvedAt=x.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=eU(r,e),o=eU(s,e);return j(a===o,`You are trying to animate ${e} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`,"value-not-animatable"),!!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||eB(i))&&n)}(t,r,s,a)&&((c.instantAnimations||!o)&&u?.(ea(t,i,e)),t[0]=t[t.length-1],I(i),i.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=!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 eH()&&i&&e_.has(i)&&("transform"!==i||!l)&&!o&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}(h)?new eK({...h,element:h.motionValue.owner.current}):new ed(h);p.finished.then(()=>this.notifyFinished()).catch(d),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}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(),ek=!0,eF(),eE(),ek=!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 eX=t=>null!==t,ez={type:"spring",stiffness:500,damping:25,restSpeed:10},eq={type:"keyframes",duration:.8},eZ={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eG=(t,e,i,n={},r,s)=>a=>{let o=h(n,t)||{},l=o.delay||n.delay||0,{elapsed:u=0}=n;u-=1e3*l;let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-u,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(o)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?eq:b.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:ez:eZ)(t,d)),d.duration&&(d.duration=1e3*d.duration),d.repeatDelay&&(d.repeatDelay=1e3*d.repeatDelay),void 0!==d.from&&(d.keyframes[0]=d.from);let p=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(I(d),0===d.delay&&(p=!0)),(c.instantAnimations||c.skipAnimations)&&(p=!0,I(d),d.delay=0),d.allowFlatten=!o.type&&!o.ease,p&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"}){let n=t.filter(eX),r=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[r]}(d.keyframes,o);if(void 0!==t)return void f.update(()=>{d.onUpdate(t),d.onComplete()})}return o.isSync?new ed(d):new eY(d)};function eJ(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:a,...o}=e;n&&(s=n);let l=[],d=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||d&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(d,e))continue;let a={delay:i,...h(s||{},e)},u=n.get();if(void 0!==u&&!n.isAnimating&&!Array.isArray(r)&&r===u&&!a.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let i=t.props[O];if(i){let t=window.MotionHandoffAnimation(i,e,f);null!==t&&(a.startTime=t,p=!0)}}!function(t,e){let i=t.getValue("willChange");if(E(i)&&i.add)return i.add(e);if(!i&&c.WillChange){let i=new c.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}(t,e),n.start(eG(e,n,r,t.shouldReduceMotion&&w.has(e)?{type:!1}:a,t,p));let m=n.animation;m&&l.push(m)}return a&&Promise.all(l).then(()=>{f.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=u(t,e)||{};for(let e in r={...r,...i}){var s;let i=k(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,P(i))}}(t,a)})}),l}function eQ(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*n;return"function"==typeof i?i(s,a):1===r?s*n:o-s*n}function e0(t,e,i={}){let n=u(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(eJ(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=r;return function(t,e,i=0,n=0,r=0,s=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(e0(l,e,{...a,delay:i+("function"==typeof n?0:n)+eQ(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,n,s,a,o,i)}:()=>Promise.resolve(),{when:o}=r;if(!o)return Promise.all([s(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[s,a]:[a,s];return t().then(()=>e())}}function e1(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}function e3(t){return"string"==typeof t||Array.isArray(t)}let e2=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],e5=["initial",...e2],e4=e5.length,e9=[...e2].reverse(),e8=e2.length;function e6(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function e7(){return{animate:e6(!0),whileInView:e6(),whileHover:e6(),whileTap:e6(),whileDrag:e6(),whileFocus:e6(),exit:e6()}}class it{constructor(t){this.isMounted=!1,this.node=t}update(){}}let ie=0;function ii(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}function ir(t,e){let i=ii(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function is(t){return"touch"!==t.pointerType}function ia(t){return{point:{x:t.pageX,y:t.pageY}}}function io(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&f.postRender(()=>r(e,ia(e)))}function il(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function iu(t){return"object"==typeof t&&null!==t}function ih(t){return iu(t)&&"offsetHeight"in t}t.s(["resolveElements",0,ii],639911),t.s(["isObject",0,iu],977),t.s(["isHTMLElement",0,ih],585032);let id=(t,e)=>!!e&&(t===e||id(t,e.parentElement)),ic=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ip=new WeakSet;function im(t){return e=>{"Enter"===e.key&&t(e)}}function iv(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function ig(t){return"mouse"===t.pointerType?"number"!=typeof t.button||!!(t.button<=0):!1!==t.isPrimary}function iy(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&f.postRender(()=>r(e,ia(e)))}let ib=new WeakMap,iw=new WeakMap,iT=t=>{let e=ib.get(t.target);e&&e(t)},iM=t=>{t.forEach(iT)},iS={some:0,all:1},iA=t=>e=>e.test(t),ix=[H,ts,tr,tn,to,ta,{test:t=>"auto"===t,parse:t=>t}],iC=t=>ix.find(iA(t)),iV=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,iP=new Set(["brightness","contrast","saturate","opacity"]);function ik(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(q)||[];if(!n)return t;let r=i.replace(n,""),s=+!!iP.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let iE=/\b([a-z-]*)\(.*?\)/gu,iF={...tb,getAnimatableNone:t=>{let e=t.match(iE);return e?e.map(ik).join(" "):t}},iO={...H,transform:Math.round},iI={borderWidth:ts,borderTopWidth:ts,borderRightWidth:ts,borderBottomWidth:ts,borderLeftWidth:ts,borderRadius:ts,radius:ts,borderTopLeftRadius:ts,borderTopRightRadius:ts,borderBottomRightRadius:ts,borderBottomLeftRadius:ts,width:ts,maxWidth:ts,height:ts,maxHeight:ts,top:ts,right:ts,bottom:ts,left:ts,padding:ts,paddingTop:ts,paddingRight:ts,paddingBottom:ts,paddingLeft:ts,margin:ts,marginTop:ts,marginRight:ts,marginBottom:ts,marginLeft:ts,backgroundPositionX:ts,backgroundPositionY:ts,rotate:tn,rotateX:tn,rotateY:tn,rotateZ:tn,scale:X,scaleX:X,scaleY:X,scaleZ:X,skew:tn,skewX:tn,skewY:tn,distance:ts,translateX:ts,translateY:ts,translateZ:ts,x:ts,y:ts,z:ts,perspective:ts,transformPerspective:ts,opacity:Y,originX:tl,originY:tl,originZ:ts,zIndex:iO,fillOpacity:Y,strokeOpacity:Y,numOctaves:iO},iR={...iI,color:th,backgroundColor:th,outlineColor:th,fill:th,stroke:th,borderColor:th,borderTopColor:th,borderRightColor:th,borderBottomColor:th,borderLeftColor:th,filter:iF,WebkitFilter:iF},iL=t=>iR[t];function iN(t,e){let i=iL(t);return i!==iF&&(i=tb),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let iD=new Set(["auto","none","0"]);class ij extends eO{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&&U(n=n.trim())){let r=function t(e,i,n=1){B(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=iV.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 U(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(),!w.has(i)||2!==t.length)return;let[n,r]=t,s=iC(n),a=iC(r);if(s!==a)if(eM(s)&&eM(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else ex[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&&!iD.has(e)&&tf(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=iN(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=ex[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]=ex[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=[...ix,th,tb],{schedule:i$}=m(queueMicrotask,!1),iW={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"]},iK={};for(let t in iW)iK[t]={isEnabled:e=>iW[t].some(t=>!!e[t])};let iU=()=>({min:0,max:0}),i_=()=>({x:iU(),y:iU()}),iH="u">typeof window,iY={current:null},iX={current:!1},iz=new WeakMap;function iq(t){return a(t.animate)||e5.some(e=>e3(t[e]))}function iZ(t){return!!(iq(t)||t.variants)}let iG=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class iJ{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=eO,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=x.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,f.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=iq(e),this.isVariantNode=iZ(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(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,iz.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)),iX.current||function(){if(iX.current=!0,iH)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>iY.current=t.matches;t.addEventListener("change",e),e()}else iY.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iY.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),v(this.notifyUpdate),v(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=b.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&f.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 iK){let e=iK[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):i_()}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<iG.length;e++){let i=iG[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(E(r))t.addValue(n,r);else if(E(s))t.addValue(n,P(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,P(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=P(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(iA(n))&&tb.test(e)&&(i=iN(t,e))}this.setBaseTarget(t,E(i)?i.get():i)}return E(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=l(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||E(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 M),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){i$.render(this.render)}}class iQ extends iJ{constructor(){super(...arguments),this.KeyframeResolver=ij}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;E(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let i0=(t,e)=>e&&"number"==typeof t?e.transform(t):t,i1={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},i3=y.length;function i2(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(b.has(t)){a=!0;continue}if(W(t)){r[t]=i;continue}{let e=i0(i,iI[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<i3;s++){let a=y[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=i0(o,iI[a]);if(!l){r=!1;let e=i1[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 i5(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])}let i4={};function i9(t,{layout:e,layoutId:i}){return b.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!i4[t]||"opacity"===t)}function i8(t,e,i){let{style:n}=t,r={};for(let s in n)(E(n[s])||e.style&&E(e.style[s])||i9(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(r[s]=n[s]);return r}class i6 extends iQ{constructor(){super(...arguments),this.type="html",this.renderInstance=i5}readValueFromInstance(t,e){if(b.has(e))return this.projection?.isProjecting?eb(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return ew(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(W(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){i2(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return i8(t,e,i)}}let i7={offset:"stroke-dashoffset",array:"stroke-dasharray"},nt={offset:"strokeDashoffset",array:"strokeDasharray"};function ne(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:a=0,...o},l,u,h){if(i2(t,o,u),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=h?.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,i=1,n=0,r=!0){t.pathLength=1;let s=r?i7:nt;t[s.offset]=ts.transform(-n);let a=ts.transform(e),o=ts.transform(i);t[s.array]=`${a} ${o}`}(d,r,s,a,!1)}let ni=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"]),nn=t=>"string"==typeof t&&"svg"===t.toLowerCase();function nr(t,e,i){let n=i8(t,e,i);for(let i in t)(E(t[i])||E(e[i]))&&(n[-1!==y.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class ns extends iQ{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=i_}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(b.has(e)){let t=iL(e);return t&&t.default||0}return e=ni.has(e)?e:F(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return nr(t,e,i)}build(t,e,i){ne(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in i5(t,e,void 0,n),e.attrs)t.setAttribute(ni.has(i)?i:F(i),e.attrs[i])}mount(t){this.isSVGTag=nn(t.tagName),super.mount(t)}}let na=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function no(t){if("string"!=typeof t||t.includes("-"));else if(na.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let nl={renderer:(t,e)=>no(t)?new ns(e):new i6(e,{allowProjection:t!==s.Fragment}),animation:{Feature:class extends it{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>
1(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>e0(t,e,i)));else if("string"==typeof e)n=e0(t,e,i);else{let r="function"==typeof e?u(t,e,i.custom):e;n=Promise.all(eJ(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=e7(),n=!0,r=e=>(i,n)=>{let r=u(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function s(s){let{props:o}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<e4;t++){let n=e5[t],r=e.props[n];(e3(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},h=[],d=new Set,c={},p=1/0;for(let e=0;e<e8;e++){var m,f;let v=e9[e],g=i[v],y=void 0!==o[v]?o[v]:l[v],b=e3(y),w=v===s?g.isActive:null;!1===w&&(p=e);let T=y===l[v]&&y!==o[v]&&b;if(T&&n&&t.manuallyAnimateOnMount&&(T=!1),g.protectedKeys={...c},!g.isActive&&null===w||!y&&!g.prevProp||a(y)||"boolean"==typeof y)continue;let M=(m=g.prevProp,"string"==typeof(f=y)?f!==m:!!Array.isArray(f)&&!e1(f,m)),S=M||v===s&&g.isActive&&!T&&b||e>p&&b,A=!1,x=Array.isArray(y)?y:[y],C=x.reduce(r(v),{});!1===w&&(C={});let{prevResolvedValues:V={}}=g,P={...V,...C},E=e=>{S=!0,d.has(e)&&(A=!0,d.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in P){let e=C[t],i=V[t];if(!c.hasOwnProperty(t))(k(e)&&k(i)?e1(e,i):e===i)?void 0!==e&&d.has(t)?E(t):g.protectedKeys[t]=!0:null!=e?E(t):d.add(t)}g.prevProp=y,g.prevResolvedValues=C,g.isActive&&(c={...c,...C}),n&&t.blockInitialAnimation&&(S=!1);let F=T&&M,O=!F||A;S&&O&&h.push(...x.map(e=>{let i={type:v};if("string"==typeof e&&n&&!F&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=u(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=eQ(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(d.size){let e={};if("boolean"!=typeof o.initial){let i=u(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}d.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),h.push({animation:e})}let v=!!h.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(v=!1),n=!1,v?e(h):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=s(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=e7()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();a(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends it{constructor(){super(...arguments),this.id=ie++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends it{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:a}=i,o={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:iS[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;iw.has(i)||iw.set(i,{});let n=iw.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(iM,{root:t,...e})),n[r]}(o),ib.set(t,l),e.observe(t),()=>{ib.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends it{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=ir(t,i),a=t=>{let n=t.currentTarget;if(!ig(t))return;ip.add(n);let s=e(n,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),ip.has(n)&&ip.delete(n),ig(t)&&"function"==typeof s&&s(t,{success:e})},o=t=>{a(t,n===window||n===document||i.useGlobalTarget||id(n,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),ih(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=im(()=>{if(ip.has(i))return;iv(i,"down");let t=im(()=>{iv(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>iv(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),ic.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(iy(this.node,e,"Start"),(t,{success:e})=>iy(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends it{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=L(il(this.node.current,"focus",()=>this.onFocus()),il(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends it{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=ir(t,i),a=t=>{if(!is(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{is(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",a,r)}),s}(t,(t,e)=>(io(this.node,e,"Start"),t=>io(this.node,t,"End"))))}unmount(){}}}},nu=(0,s.createContext)({strict:!1});function nh(t){for(let e in t)iK[e]={...iK[e],...t[e]}}function nd({children:t,features:e,strict:i=!1}){let[,n]=(0,s.useState)(!nc(e)),a=(0,s.useRef)(void 0);if(!nc(e)){let{renderer:t,...i}=e;a.current=t,nh(i)}return(0,s.useEffect)(()=>{nc(e)&&e().then(({renderer:t,...e})=>{nh(e),a.current=t,n(!0)})},[]),(0,r.jsx)(nu.Provider,{value:{renderer:a.current,strict:i},children:t})}function nc(t){return"function"==typeof t}let np=(0,s.createContext)({});t.s(["LayoutGroupContext",0,np],499511);let nm=(0,s.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,nm],644249);let nf=(0,s.createContext)({});function nv(t){return Array.isArray(t)?t.join(" "):t}let ng=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ny(t,e,i){for(let n in e)E(e[n])||i9(n,i)||(t[n]=e[n])}let nb=()=>({...ng(),attrs:{}}),nw=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nT(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||nw.has(t)}let nM=t=>!nT(t);try{n=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof n&&(nM=t=>t.startsWith("on")?!nT(t):n(t))}catch{}let nS=(0,s.createContext)(null);function nA(t){let e=(0,s.useRef)(null);return null===e.current&&(e.current=t()),e.current}t.s(["PresenceContext",0,nS],688786),t.s(["useConstant",0,nA],686952);let nx=t=>(e,i)=>{let n=(0,s.useContext)(nf),r=(0,s.useContext)(nS),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e}
1,i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s){var o;r[t]=E(o=s[t])?o.get():o}let{initial:u,animate:h}=t,d=iq(t),c=iZ(t);e&&c&&!d&&!1!==t.inherit&&(void 0===u&&(u=e.initial),void 0===h&&(h=e.animate));let p=!!i&&!1===i.initial,m=(p=p||!1===u)?h:u;if(m&&"boolean"!=typeof m&&!a(m)){let e=Array.isArray(m)?m:[m];for(let i=0;i<e.length;i++){let n=l(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?o():nA(o)},nC=nx({scrapeMotionValuesFromProps:i8,createRenderState:ng}),nV=nx({scrapeMotionValuesFromProps:nr,createRenderState:nb}),nP=Symbol.for("motionComponentSymbol");function nk(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let nE=(0,s.createContext)({}),nF=iH?s.useLayoutEffect:s.useEffect;function nO(t,{forwardMotionProps:e=!1}={},i,n){i&&nh(i);let a=no(t)?nV:nC;function o(i,o){var l;let u,h={...(0,s.useContext)(nm),...i,layoutId:function({layoutId:t}){let e=(0,s.useContext)(np).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:d}=h,c=function(t){let{initial:e,animate:i}=function(t,e){if(iq(t)){let{initial:e,animate:i}=t;return{initial:!1===e||e3(e)?e:void 0,animate:e3(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,s.useContext)(nf));return(0,s.useMemo)(()=>({initial:e,animate:i}),[nv(e),nv(i)])}(i),p=a(i,d);if(!d&&iH){(0,s.useContext)(nu).strict;let e=function(t){let{drag:e,layout:i}=iK;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(h);u=e.MeasureLayout,c.visualElement=function(t,e,i,n,r){let{visualElement:a}=(0,s.useContext)(nf),o=(0,s.useContext)(nu),l=(0,s.useContext)(nS),u=(0,s.useContext)(nm).reducedMotion,h=(0,s.useRef)(null);n=n||o.renderer,!h.current&&n&&(h.current=n(t,{visualState:e,parent:a,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let d=h.current,c=(0,s.useContext)(nE);d&&!d.projection&&r&&("html"===d.type||"svg"===d.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!a||o&&nk(o),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(h.current,i,r,c);let p=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{d&&p.current&&d.update(i,l)});let m=i[O],f=(0,s.useRef)(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return nF(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),f.current&&d.animationState&&d.animationState.animateChanges())}),(0,s.useEffect)(()=>{d&&(!f.current&&d.animationState&&d.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),f.current=!1),d.enteringChildren=void 0)}),d}(t,p,h,n,e.ProjectionNode)}return(0,r.jsxs)(nf.Provider,{value:c,children:[u&&c.visualElement?(0,r.jsx)(u,{visualElement:c.visualElement,...h}):null,function(t,e,i,{latestValues:n},r,a=!1){let o=(no(t)?function(t,e,i,n){let r=(0,s.useMemo)(()=>{let i=nb();return ne(i,e,nn(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ny(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,n,r={},a=(i=t.style||{},ny(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,s.useMemo)(()=>{let i=ng();return i2(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=a,r}
1)(e,n,r,t),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(nM(r)||!0===i&&nT(r)||!e&&!nT(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,a),u=t!==s.Fragment?{...l,...o,ref:i}:{},{children:h}=e,d=(0,s.useMemo)(()=>E(h)?h.get():h,[h]);return(0,s.createElement)(t,{...u,children:d})}(t,i,(l=c.visualElement,(0,s.useCallback)(t=>{t&&p.onMount&&p.onMount(t),l&&(t?l.mount(t):l.unmount()),o&&("function"==typeof o?o(t):nk(o)&&(o.current=t))},[l])),p,d,e)]})}o.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,s.forwardRef)(o);return l[nP]=t,l}t.s(["useIsomorphicLayoutEffect",0,nF],184658);let nI=function(){if("u"<typeof Proxy)return nO;let t=new Map,e=(t,e)=>nO(t,e,void 0,void 0);return new Proxy((t,i)=>e(t,i),{get:(i,n)=>"create"===n?e:(t.has(n)||t.set(n,nO(n,void 0,void 0,void 0)),t.get(n))})}(),nR=(0,s.createContext)({isLazyMotionEnabled:!1});t.s(["LazyMotionProvider",0,({children:t,features:e=nl,fallback:i=null})=>(0,r.jsx)(nR.Provider,{value:{isLazyMotionEnabled:!0},children:(0,r.jsx)(s.Suspense,{fallback:i,children:(0,r.jsx)(nd,{features:e,strict:!0,children:t})})}),"m",0,nI],212229);let nL=T.default.env.NEXT_PUBLIC_MARKETO_MUNCHKIN_ID||"240-OUV-496",nN=T.default.env.NEXT_PUBLIC_MARKETO_FORMS_HOST||"https://go.cdmsmith.com";t.s(["MARKETO_FORMS_HOST",0,nN,"MARKETO_MUNCHKIN_ID",0,nL,"hasMarketoConfig",0,!!nL],910242)}]);
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.