1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,231178,e=>{"use strict";let t=(0,e.i(271645).createContext)({});e.s(["LayoutGroupContext",0,t])},947414,e=>{"use strict";var t=e.i(271645);e.s(["useConstant",0,function(e){let i=(0,t.useRef)(null);return null===i.current&&(i.current=e()),i.current}])},674008,e=>{"use strict";var t=e.i(271645);let i="u">typeof window?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,i],674008)},821476,e=>{"use strict";let t=(0,e.i(271645).createContext)(null);e.s(["PresenceContext",0,t])},642824,e=>{"use strict";e.s(["isObject",0,e=>"object"==typeof e&&null!==e])},772846,e=>{"use strict";var t=e.i(642824);e.s(["isHTMLElement",0,function(e){return(0,t.isObject)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}])},737806,e=>{"use strict";let t=(0,e.i(271645).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",0,t])},142098,e=>{"use strict";e.s(["Feature",0,class{constructor(e){this.isMounted=!1,this.node=e}update(){}}])},618812,386579,e=>{"use strict";function t(e){let t=[{},{}];return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function i(e,i,n,r){if("function"==typeof i){let[s,a]=t(r);i=i(void 0!==n?n:e.custom,s,a)}if("string"==typeof i&&(i=e.variants&&e.variants[i]),"function"==typeof i){let[s,a]=t(r);i=i(void 0!==n?n:e.custom,s,a)}return i}e.s(["resolveVariantFromProps",0,i],386579),e.s(["resolveVariant",0,function(e,t,n){let r=e.getProps();return i(r,t,void 0!==n?n:r.custom,e)}],618812)},987333,753034,e=>{"use strict";function t(e,t){if(e?.inherit&&t){let{inherit:i,...n}=e;return{...t,...n}}return e}e.s(["resolveTransition",0,t],753034),e.s(["getValueTransition",0,function(e,i){let n=e?.[i]??e?.default??e;return n!==e?t(n,e):n}],987333)},157788,e=>{"use strict";let t=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set([...t,"pathRotation"]);e.s(["transformPropOrder",0,t,"transformProps",0,i])},864440,e=>{"use strict";let t=new Set(["width","height","top","left","right","bottom",...e.i(157788).transformPropOrder]);e.s(["positionalKeys",0,t])},570596,133887,e=>{"use strict";function t(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}e.s(["addUniqueItem",0,t,"removeItem",0,i],133887),e.s(["SubscriptionManager",0,class{constructor(){this.subscriptions=[]}add(e){return t(this.subscriptions,e),()=>i(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}],570596)},325791,e=>{"use strict";e.s(["velocityPerSecond",0,(e,t)=>t?1e3/t*e:0])},846791,e=>{"use strict";e.s(["MotionGlobalConfig",0,{}])},260830,e=>{"use strict";e.s(["noop",0,e=>e])},287022,651571,e=>{"use strict";var t=e.i(260830),i=e.i(846791);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function r(e,t){let r=!1,s=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,l=n.reduce((e,t)=>(e[t]=function(e){let t=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(t){s.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:(e,r=!1,a=!1)=>{let o=a&&n?t:i;return r&&s.add(e),o.add(e),e},cancel:e=>{i.delete(e),s.delete(e)},process:e=>{if(a=e,n){r=!0;return}n=!0;let s=t;t=i,i=s,t.forEach(o),t.clear(),n=!1,r&&(r=!1,l.process(e))}};return l}(o),e),{}),{setup:u,read:h,resolveKeyframes:c,preUpdate:d,update:p,preRender:m,render:f,postRender:v}=l,g=()=>{let n=i.MotionGlobalConfig.useManualTiming,o=n?a.timestamp:performance.now();r=!1,n||(a.delta=s?1e3/60:Math.max(Math.min(o-a.timestamp,40),1)),a.timestamp=o,a.isProcessing=!0,u.process(a),h.process(a),c.process(a),d.process(a),p.process(a),m.process(a),f.process(a),v.process(a),a.isProcessing=!1,r&&t&&(s=!1,e(g))};return{schedule:n.reduce((t,i)=>{let n=l[i];return t[i]=(t,i=!1,o=!1)=>(!r&&(r=!0,s=!0,a.isProcessing||e(g)),n.schedule(t,i,o)),t},{}),cancel:e=>{for(let t=0;t<n.length;t++)l[n[t]].cancel(e)},state:a,steps:l}}e.s(["createRenderBatcher",0,r],651571);
1let{schedule:s,cancel:a,state:o,steps:l}=r("u">typeof requestAnimationFrame?requestAnimationFrame:t.noop,!0);e.s(["cancelFrame",0,a,"frame",0,s,"frameData",0,o,"frameSteps",0,l],287022)},496173,e=>{"use strict";let t;var i=e.i(846791),n=e.i(287022);function r(){t=void 0}let s={now:()=>(void 0===t&&s.set(n.frameData.isProcessing||i.MotionGlobalConfig.useManualTiming?n.frameData.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(r)}};e.s(["time",0,s])},486427,e=>{"use strict";let t;var i=e.i(570596),n=e.i(325791),r=e.i(496173),s=e.i(287022);class a{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=r.time.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=r.time.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new i.SubscriptionManager);let n=this.events[e].add(t);return"change"===e?()=>{n(),s.frame.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return t&&t.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=r.time.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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()}}e.s(["motionValue",0,function(e,t){return new a(e,t)}])},347834,373615,e=>{"use strict";var t=e.i(486427),i=e.i(618812);let n=e=>Array.isArray(e);e.s(["isKeyframesTarget",0,n],373615),e.s(["setTarget",0,function(e,r){let{transitionEnd:s={},transition:a={},...o}=(0,i.resolveVariant)(e,r)||{};for(let i in o={...o,...s}){var l;let r=n(l=o[i])?l[l.length-1]||0:l;e.hasValue(i)?e.getValue(i).set(r):e.addValue(i,(0,t.motionValue)(r))}}],347834)},980538,83411,e=>{"use strict";var t=e.i(846791);let i=e=>!!(e&&e.getVelocity);e.s(["isMotionValue",0,i],83411),e.s(["addValueToWillChange",0,function(e,n){let r=e.getValue("willChange");if(i(r)&&r.add)return r.add(n);if(!r&&t.MotionGlobalConfig.WillChange){let i=new t.MotionGlobalConfig.WillChange("auto");e.addValue("willChange",i),i.add(n)}}],980538)},716896,793787,535043,e=>{"use strict";function t(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}e.s(["camelToDash",0,t],793787);let i="data-"+t("framerAppearId");e.s(["optimizedAppearDataAttribute",0,i],535043),e.s(["getOptimisedAppearId",0,function(e){return e.props[i]}],716896)},763074,e=>{"use strict";e.s(["millisecondsToSeconds",0,e=>e/1e3,"secondsToMilliseconds",0,e=>1e3*e])},738638,476959,965566,19928,76307,530677,766820,463011,265091,22660,279444,569577,648393,308618,e=>{"use strict";e.s(["pipe",0,(...e)=>e.reduce((e,t)=>
1i=>t(e(i)))],738638);let t=(e,t,i)=>i>t?t:i<e?e:i;e.s(["clamp",0,t],476959),e.i(247167).default,e.s(["invariant",0,()=>{},"warning",0,()=>{}],965566);let i=e=>t=>"string"==typeof t&&t.startsWith(e),n=i("--"),r=i("var(--"),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;e.s(["containsCSSVariable",0,function(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")},"isCSSVariableName",0,n,"isCSSVariableToken",0,e=>!!r(e)&&s.test(e.split("/*")[0].trim())],19928);let a={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...a,transform:e=>t(0,1,e)},l={...a,default:1};e.s(["alpha",0,o,"number",0,a,"scale",0,l],76307);let u=e=>Math.round(1e5*e)/1e5,h=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;e.s(["floatRegex",0,h],530677);let c=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,d=(e,t)=>i=>!!("string"==typeof i&&c.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),p=(e,t,i)=>n=>{if("string"!=typeof n)return n;let[r,s,a,o]=n.match(h);return{[e]:parseFloat(r),[t]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},m={...a,transform:e=>Math.round(t(0,255,e))},f={test:d("rgb","red"),parse:p("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+m.transform(e)+", "+m.transform(t)+", "+m.transform(i)+", "+u(o.transform(n))+")"};e.s(["rgba",0,f],766820);let v={test:d("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:f.transform};e.s(["hex",0,v],463011);let g=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),y=g("deg"),b=g("%"),x=g("px"),T=g("vh"),V=g("vw"),S={...b,parse:e=>b.parse(e)/100,transform:e=>b.transform(100*e)};e.s(["degrees",0,y,"percent",0,b,"progressPercentage",0,S,"px",0,x,"vh",0,T,"vw",0,V],265091);let w={test:d("hsl","hue"),parse:p("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+b.transform(u(t))+", "+b.transform(u(i))+", "+u(o.transform(n))+")"};e.s(["hsla",0,w],22660);let M={test:e=>f.test(e)||v.test(e)||w.test(e),parse:e=>f.test(e)?f.parse(e):w.test(e)?w.parse(e):v.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?f.transform(e):w.transform(e),getAnimatableNone:e=>{let t=M.parse(e);return t.alpha=0,M.transform(t)}};e.s(["color",0,M],279444);let C=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,A="number",P="color",k=/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 E(e){let t=e.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,a=t.replace(k,e=>(M.test(e)?(n.color.push(s),r.push(P),i.push(M.parse(e))):e.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(e)):(n.number.push(s),r.push(A),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:a,indexes:n,types:r}}function F({split:e,types:t}){let i=e.length;return n=>{let r="";for(let s=0;s<i;s++)if(r+=e[s],void 0!==n[s]){let e=t[s];e===A?r+=u(n[s]):e===P?r+=M.transform(n[s]):r+=n[s]}return r}}function R(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}e.s(["analyseComplexValue",0,E,"complex",0,{test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(h)?.length||0)+(e.match(C)?.length||0)>0},parse:function(e){return E(e).values},createTransformer:function(e){return F(E(e))},getAnimatableNone:function(e){let t=E(e);return F(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:M.test(e)?M.getAnimatableNone(e):e)(e,t.split[i])))}}],569577),e.s(["hslaToRgba",0,function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,s=0,a=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,o=2*i-n;r=R(o,n,e+1/3),s=R(o,n,e),a=R(o,n,e-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}}],648393),e.s(["mixImmediate",0,function(e,t){return i=>i>0?t:e}],308618)},100706,e=>{"use strict";e.s(["mixNumber",0,(e,t,i)=>e+(t-e)*i])}
1,203163,769308,756512,655529,528409,e=>{"use strict";var t=e.i(738638),i=e.i(965566),n=e.i(19928),r=e.i(279444),s=e.i(569577),a=e.i(463011),o=e.i(22660),l=e.i(648393),u=e.i(766820),h=e.i(308618),c=e.i(100706);let d=(e,t,i)=>{let n=e*e,r=i*(t*t-n)+n;return r<0?0:Math.sqrt(r)},p=[a.hex,u.rgba,o.hsla];function m(e){let t=p.find(t=>t.test(e));if((0,i.warning)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===o.hsla&&(n=(0,l.hslaToRgba)(n)),n}let f=(e,t)=>{let i=m(e),n=m(t);if(!i||!n)return(0,h.mixImmediate)(e,t);let r={...i};return e=>(r.red=d(i.red,n.red,e),r.green=d(i.green,n.green,e),r.blue=d(i.blue,n.blue,e),r.alpha=(0,c.mixNumber)(i.alpha,n.alpha,e),u.rgba.transform(r))},v=new Set(["none","hidden"]);function g(e,t){return i=>(0,c.mixNumber)(e,t,i)}function y(e){return"number"==typeof e?g:"string"==typeof e?(0,n.isCSSVariableToken)(e)?h.mixImmediate:r.color.test(e)?f:T:Array.isArray(e)?b:"object"==typeof e?r.color.test(e)?f:x:h.mixImmediate}function b(e,t){let i=[...e],n=i.length,r=e.map((e,i)=>y(e)(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=r[t](e);return i}}function x(e,t){let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=y(e[r])(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}}let T=(e,n)=>{let r=s.complex.createTransformer(n),a=(0,s.analyseComplexValue)(e),o=(0,s.analyseComplexValue)(n);if(!(a.indexes.var.length===o.indexes.var.length&&a.indexes.color.length===o.indexes.color.length&&a.indexes.number.length>=o.indexes.number.length))return(0,i.warning)(!0,`Complex values '${e}' and '${n}' 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"),(0,h.mixImmediate)(e,n);if(v.has(e)&&!o.values.length||v.has(n)&&!a.values.length)return v.has(e)?t=>t<=0?e:n:t=>t>=1?n:e;return(0,t.pipe)(b(function(e,t){let i=[],n={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){let s=t.types[r],a=e.indexes[s][n[s]],o=e.values[a]??0;i[r]=o,n[s]++}return i}(a,o),o.values),r)};e.s(["mix",0,function(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?(0,c.mixNumber)(e,t,i):y(e)(e,t)}],203163);var V=e.i(496173),S=e.i(287022);e.s(["frameloopDriver",0,e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>S.frame.update(t,e),stop:()=>(0,S.cancelFrame)(t),now:()=>S.frameData.isProcessing?S.frameData.timestamp:V.time.now()}}],769308);var w=e.i(763074),M=e.i(476959);let C=(e,t,i=10)=>{let n="",r=Math.max(Math.round(t/i),2);for(let t=0;t<r;t++)n+=Math.round(1e4*e(t/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function A(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}e.s(["generateLinearEasing",0,C],756512),e.s(["calcGeneratorDuration",0,A,"maxGeneratorDuration",0,2e4],655529);let P=.01,k=2,E=.005,F=.5;function R(e,t){return e*Math.sqrt(1-t*t)}let O=["duration","bounce"],I=["stiffness","damping","mass"];function D(e,t){return t.some(t=>void 0!==e[t])}function L(e=.3,t=.3){let n,r,s,a,o,l,u="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:h,restDelta:c}=u,d=u.keyframes[0],p=u.keyframes[u.keyframes.length-1],m={done:!1,value:d},{stiffness:f,damping:v,mass:g,duration:y,velocity:b,isResolvedFromDuration:x}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!D(e,I)&&D(e,O))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),n=i*i,r=2*(0,M.clamp)(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:r}}else{let n=function({duration:e=800,bounce:t=.3,velocity:n=0,mass:r=1}){let s,a;(0,i.warning)(e<=(0,w.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=(0,M.clamp)(.05,1,o),e=(0,M.clamp)(.01,10,(0,w.millisecondsToSeconds)(e)),o<1?(s=t=>{let i=t*o,r=i*e;return .001-(i-n)/R(t,o)*Math.exp(-r)},a=t=>{let i=t*o*e,r=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-i),l=R(Math.pow(t,2),o);return(i*n+n-r)*a*(-s(t)+.001>0?-1:1)/l}):(s=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>e*e*(n-t)*Math.exp(-t*e));let l=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(s,a,5/e);if(e=(0,w.secondsToMilliseconds)(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(l,2)*r;return{stiffness:t,damping:2*o*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...u,velocity:-(0,w.millisecondsToSeconds)(u.velocity||0)}),T=b||0,V=v/(2*Math.sqrt(f*g)),S=p-d,B=(0,w.millisecondsToSeconds)(Math.sqrt(f/g)),N=5>Math.abs(S);if(h||(h=N?P:k),c||(c=N?E:F),V<1)s=R(B,V),a=(T+V*B*S)/s,n=e=>p-Math.exp(-V*B*e)*(a*Math.sin(s*e)+S*Math.cos(s*e)),o=V*B*a+S*s,l=V*B*S-a*s,r=e=>Math.exp(-V*B*e)*(o*Math.sin(s*e)+l*Math.cos(s*e));else if(1===V){n=e=>p-Math.exp(-B*e)*(S+(T+B*S)*e);let e=T+B*S;r=t=>Math.exp(-B*t)*(B*e*t-T)}else{let e=B*Math.sqrt(V*V-1);n=t=>{let i=Math.exp(-V*B*t),n=Math.min(e*t,300);
1return p-i*((T+V*B*S)*Math.sinh(n)+e*S*Math.cosh(n))/e};let t=(T+V*B*S)/e,i=V*B*t-S*e,s=V*B*S-t*e;r=t=>{let n=Math.exp(-V*B*t),r=Math.min(e*t,300);return n*(i*Math.sinh(r)+s*Math.cosh(r))}}let j={calculatedDuration:x&&y||null,velocity:e=>(0,w.secondsToMilliseconds)(r(e)),next:e=>{if(!x&&V<1){let t=Math.exp(-V*B*e),i=Math.sin(s*e),n=Math.cos(s*e),r=p-t*(a*i+S*n);return m.done=Math.abs((0,w.secondsToMilliseconds)(t*(o*i+l*n)))<=h&&Math.abs(p-r)<=c,m.value=m.done?p:r,m}let t=n(e);return x?m.done=e>=y:m.done=Math.abs((0,w.secondsToMilliseconds)(r(e)))<=h&&Math.abs(p-t)<=c,m.value=m.done?p:t,m},toString:()=>{let e=Math.min(A(j),2e4),t=C(t=>j.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return j}L.applyToOptions=e=>{let t=function(e,t=100,i){let n=i({...e,keyframes:[0,t]}),r=Math.min(A(n),2e4);return{type:"keyframes",ease:e=>n.next(r*e).value/t,duration:(0,w.millisecondsToSeconds)(r)}}(e,100,L);return e.ease=t.ease,e.duration=(0,w.secondsToMilliseconds)(t.duration),e.type="keyframes",e},e.s(["spring",0,L],528409)},83352,641980,878047,791559,960855,783920,414229,44573,779294,411485,381296,e=>{"use strict";e.i(247167);var t=e.i(738638),i=e.i(476959),n=e.i(763074),r=e.i(496173),s=e.i(203163),a=e.i(769308),o=e.i(528409),l=e.i(325791);function u(e,t,i){let n=Math.max(t-5,0);return(0,l.velocityPerSecond)(i-e(n),t-n)}function h({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:l,max:c,restDelta:d=.5,restSpeed:p}){let m,f,v=e[0],g={done:!1,value:v},y=i*t,b=v+y,x=void 0===a?b:a(b);x!==b&&(y=x-v);let T=e=>-y*Math.exp(-e/n),V=e=>x+T(e),S=e=>{let t=T(e),i=V(e);g.done=Math.abs(t)<=d,g.value=g.done?x:i},w=e=>{let t;if(t=g.value,void 0!==l&&t<l||void 0!==c&&t>c){var i;m=e,f=(0,o.spring)({keyframes:[g.value,(i=g.value,void 0===l?c:void 0===c||Math.abs(l-i)<Math.abs(c-i)?l:c)],velocity:u(V,e,g.value),damping:r,stiffness:s,restDelta:d,restSpeed:p})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==m||(t=!0,S(e),w(e)),void 0!==m&&e>=m)?f.next(e-m):(t||S(e),g)}}}var c=e.i(260830);let d=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function p(e,t,i,n){return e===t&&i===n?c.noop:r=>0===r||1===r?r:d(function(e,t,i,n,r){let s,a,o=0;do(s=d(a=t+(i-t)/2,n,r)-e)>0?i=a:t=a;while(Math.abs(s)>1e-7&&++o<12)return a}(r,0,1,e,i),t,n)}let m=p(.42,0,1,1),f=p(0,0,.58,1),v=p(.42,0,.58,1);var g=e.i(965566);let y=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,b=e=>t=>1-e(1-t),x=p(.33,1.53,.69,.99),T=b(x),V=y(T);e.s(["backIn",0,T,"backInOut",0,V,"backOut",0,x],641980);let S=e=>e>=1?1:(e*=2)<1?.5*T(e):.5*(2-Math.pow(2,-10*(e-1)));e.s(["anticipate",0,S],878047);let w=e=>1-Math.sin(Math.acos(e)),M=b(w),C=y(w);e.s(["circIn",0,w,"circInOut",0,C,"circOut",0,M],791559);let A=e=>Array.isArray(e)&&"number"==typeof e[0];e.s(["isBezierDefinition",0,A],960855);let P={linear:c.noop,easeIn:m,easeInOut:v,easeOut:f,circIn:w,circInOut:C,circOut:M,backIn:T,backInOut:V,backOut:x,anticipate:S},k=e=>{if(A(e)){(0,g.invariant)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,n,r]=e;return p(t,i,n,r)}return"string"==typeof e?((0,g.invariant)(void 0!==P[e],`Invalid easing type '${e}'`,"invalid-easing-type"),P[e]):e};var E=e.i(846791);let F=(e,t,i)=>{let n=t-e;return n?(i-e)/n:1};e.s(["progress",0,F],783920);var R=e.i(100706);function O({duration:e=300,keyframes:n,times:r,ease:a="easeInOut"}){var o;let l,u=Array.isArray(a)&&"number"!=typeof a[0]?a.map(k):k(a),h={done:!1,value:n[0]},d=function(e,n,{clamp:r=!0,ease:a,mixer:o}={}){let l=e.length;if((0,g.invariant)(l===n.length,"Both input and output ranges must be the same length","range-length"),1===l)return()=>n[0];if(2===l&&n[0]===n[1])return()=>n[1];let u=e[0]===e[1];e[0]>e[l-1]&&(e=[...e].reverse(),n=[...n].reverse());let h=function(e,i,n){let r=[],a=n||E.MotionGlobalConfig.mix||s.mix,o=e.length-1;for(let n=0;n<o;n++){let s=a(e[n],e[n+1]);if(i){let e=Array.isArray(i)?i[n]||c.noop:i;s=(0,t.pipe)(e,s)}r.push(s)}return r}(n,a,o),d=h.length,p=t=>{if(u&&t<e[0])return n[0];let i=0;if(d>1)for(;i<e.length-2&&!(t<e[i+1]);i++);let r=F(e[i],e[i+1],t);return h[i](r)};return r?t=>p((0,i.clamp)(e[0],e[l-1],t)):p}((o=r&&r.length===n.length?r:(!function(e,t){let i=e[e.length-1];for(let n=1;n<=t;n++){let r=F(0,t,n);e.push((0,R.mixNumber)(i,1,r))}}(l=[0],n.length-1),l),o.map(t=>t*e)),n,{ease:Array.isArray(u)?u:n.map(()=>u||v).splice(0,n.length-1)});return{calculatedDuration:e,next:t=>(h.value=d(t),h.done=t>=e,h)}}var I=e.i(655529);let D=e=>null!==e;function L(e,{repeat:t,repeatType:i="loop"},n,r=1){let s=e.filter(D),a=r<0||t&&"loop"!==i&&t%2==1?0:s.length-1;return a&&void 0!==n?n:s[a]}e.s(["getFinalKeyframe",0,L],414229);let B={decay:h,inertia:h,tween:O,keyframes:O,spring:o.spring};function N(e){"string"==typeof e.type&&(e.type=B[e.type])}e.s(["replaceTransitionType",0,N],44573);class j{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}e.s(["WithPromise",0,j],779294);let G=e=>e/100;e.s(["JSAnimation",0,class extends j{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==r.time.now()&&this.tick(r.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;N(e);let{type:i=O,repeat:n=0,repeatDelay:r=0,repeatType:a,velocity:o=0}=e,{keyframes:l}=e,u=i||O;u!==O&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,t.pipe)(G,(0,s.mix)(l[0],l[1])),l=[0,100]);let h=u({...e,keyframes:l});"mirror"===a&&(this.mirroredGenerator=u({...e,keyframes:[...l].reverse(),velocity:-o})),null===h.calculatedDuration&&(h.calculatedDuration=(0,I.calcGeneratorDuration)(h));let{calculatedDuration:c}=h;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=h}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let n,{generator:r,totalDuration:s,mixKeyframes:a,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return r.next(0);let{delay:c=0,keyframes:d,repeat:p,repeatType:m,repeatDelay:f,type:v,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-s/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let b=this.currentTime-c*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?b<0:b>s;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let T=this.currentTime,V=r;if(p){let e=Math.min(this.currentTime,s)/l,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,p+1))%2&&("reverse"===m?(n=1-n,f&&(n-=f/l)):"mirror"===m&&(V=o)),T=(0,i.clamp)(0,1,n)*l}x?(this.delayState.value=d[0],n=this.delayState):n=V.next(T),a&&!x&&(n.value=a(n.value));let{done:S}=n;x||null===u||(S=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return w&&v!==h&&(n.value=L(d,this.options,y,this.speed)),g&&g(n.value),w&&this.finish(),n}then(e,t){return this.finished.then(e,t)}get duration(){return(0,n.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,n.millisecondsToSeconds)(e)}get time(){return(0,n.millisecondsToSeconds)(this.currentTime)}set time(e){e=(0,n.secondsToMilliseconds)(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return u(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(r.time.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=(0,n.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=a.frameloopDriver,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),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=t??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(r.time.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}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}
1],83352),e.s(["fillWildcards",0,function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}],411485);let W=e=>180*e/Math.PI,K=e=>H(W(Math.atan2(e[1],e[0]))),$={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:K,rotateZ:K,skewX:e=>W(Math.atan(e[1])),skewY:e=>W(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},H=e=>((e%=360)<0&&(e+=360),e),Y=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),z=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),U={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Y,scaleY:z,scale:e=>(Y(e)+z(e))/2,rotateX:e=>H(W(Math.atan2(e[6],e[5]))),rotateY:e=>H(W(Math.atan2(-e[2],e[0]))),rotateZ:K,rotate:K,skewX:e=>W(Math.atan(e[4])),skewY:e=>W(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function X(e){return+!!e.includes("scale")}function q(e,t){let i,n;if(!e||"none"===e)return X(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=U,n=r;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=$,n=t}if(!n)return X(t);let s=i[t],a=n[1].split(",").map(Z);return"function"==typeof s?s(a):a[s]}function Z(e){return parseFloat(e.trim())}e.s(["defaultTransformValue",0,X,"parseValueFromTransform",0,q,"readTransformValue",0,(e,t)=>{let{transform:i="none"}=getComputedStyle(e);return q(i,t)}],381296)},42062,44493,921012,368e3,343116,962118,e=>{"use strict";var t=e.i(846791),i=e.i(260830),n=e.i(496173),r=e.i(83352),s=e.i(414229),a=e.i(411485),o=e.i(381296),l=e.i(157788),u=e.i(76307),h=e.i(265091);let c=new Set(["x","y","z"]),d=l.transformPropOrder.filter(e=>!c.has(e));function p(e){let t=[];return d.forEach(i=>{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),t}let m={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:n})=>{let r=e.max-e.min;return"border-box"===n?r:r-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:n})=>{let r=e.max-e.min;return"border-box"===n?r:r-parseFloat(t)-parseFloat(i)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>(0,o.parseValueFromTransform)(t,"x"),y:(e,{transform:t})=>(0,o.parseValueFromTransform)(t,"y")};m.translateX=m.x,m.translateY=m.y,e.s(["isNumOrPxType",0,e=>e===u.number||e===h.px,"positionalValues",0,m,"removeNonTranslationalTransform",0,p],44493);var f=e.i(287022);let v=new Set,g=!1,y=!1,b=!1;function x(){if(y){let e=Array.from(v).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t=p(e);t.length&&(i.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}y=!1,g=!1,v.forEach(e=>e.complete(b)),v.clear()}function T(){v.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(y=!0)})}function V(){b=!0,T(),x(),b=!1}class S{constructor(e,t,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(v.add(this),g||(g=!0,f.frame.read(T),f.frame.resolveKeyframes(x))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:n}=this;if(null===e[0]){let r=n?.get(),s=e[e.length-1];if(void 0!==r)e[0]=r;else if(i&&t){let n=i.readValue(t,s);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=s),n&&void 0===r&&n.set(e[0])}(0,a.fillWildcards)(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),v.delete(this)}cancel(){"scheduled"===this.state&&(v.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}e.s(["KeyframeResolver",0,S,"flushKeyframeResolvers",0,V],921012);var w=e.i(476959);function M(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}var C=e.i(965566),A=e.i(763074);function P(e){let t;return()=>(void 0===t&&(t=e()),t)}let k={};function E(e,t){let i=P(e);return()=>k[t]??i()}let F=E(()=>void 0!==window.ScrollTimeline,"scrollTimeline");var R=e.i(779294),O=e.i(960855);let I=E(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var D=e.i(756512);let L=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,B={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:L([0,.65,.55,1]),circOut:L([.55,0,1,.45]),backIn:L([.31,.01,.66,-.59]),backOut:L([.33,1.53,.69,.99])};function N(e){return"function"==typeof e&&"applyToOptions"in e}class j extends R.WithPromise{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:n,pseudoElement:r,allowFlatten:a=!1,finalKeyframe:o,onComplete:l}=e;this.isPseudoElement=!!r,this.allowFlatten=a,this.options=e,(0,C.invariant)("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const u=function({type:e,...t}){return N(e)&&I()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let h={[t]:i};l&&(h.offset=l);let c=function e(t,i){if(t)return"function"==typeof t?I()?(0,D.generateLinearEasing)(t,i):"ease-out":(0,O.isBezierDefinition)(t)?L(t):Array.isArray(t)?t.map(t=>e(t,i)||B.easeOut):B[t]}(o,r);Array.isArray(c)&&(h.easing=c);let d={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};return u&&(d.pseudoElement=u),e.animate(h,d)}(t,i,n,u,r),!1===u.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let e=(0,s.getFinalKeyframe)(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),M(t,i,e),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return(0,A.millisecondsToSeconds)(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,A.millisecondsToSeconds)(e)}get time(){return(0,A.millisecondsToSeconds)(Number(this.animation.currentTime)||0)}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,A.secondsToMilliseconds)(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&F())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),i.noop):r(this)}}e.s(["NativeAnimation",0,j],368e3);var G=e.i(44573),W=e.i(791559),K=e.i(641980);let $={anticipate:e.i(878047).anticipate,backInOut:K.backInOut,circInOut:W.circInOut};class H extends j{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in $&&(e.ease=$[e.ease])}(e),(0,G.replaceTransitionType)(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:s,element:a,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let l=new r.JSAnimation({...o,autoplay:!1}),u=Math.max(10,n.time.now()-this.startTime),h=(0,w.clamp)(0,10,u-10),c=l.sample(u).value,{name:d}=this.options;
1a&&d&&M(a,d,c),t.setWithVelocity(l.sample(Math.max(0,u-h)).value,c,h),l.stop()}}var Y=e.i(569577);let z=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(Y.complex.test(e)||"0"===e)&&!e.startsWith("url("));function U(e){e.duration=0,e.type="keyframes"}e.s(["makeAnimationInstant",0,U],343116);var X=R;let q=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);e.s(["acceleratedValues",0,q],962118);let Z=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,_=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),J=P(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class Q extends X.WithPromise{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:a="loop",keyframes:o,name:l,motionValue:u,element:h,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=n.time.now();const d={autoplay:e,delay:t,type:i,repeat:r,repeatDelay:s,repeatType:a,name:l,motionValue:u,element:h,...c},p=h?.KeyframeResolver||S;this.keyframeResolver=new p(o,(e,t,i)=>this.onKeyframesResolved(e,t,d,!i),l,u,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,a,o,l){let u;this.keyframeResolver=void 0;let{name:h,type:c,velocity:d,delay:p,isHandoff:m,onUpdate:f}=o;this.resolvedAt=n.time.now();let v=!0;!function(e,t,i,n){let r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],a=z(r,t),o=z(s,t);return(0,C.warning)(a===o,`You are trying to animate ${t} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||N(i))&&n)}(e,h,c,d)&&(v=!1,(t.MotionGlobalConfig.instantAnimations||!p)&&f?.((0,s.getFinalKeyframe)(e,o,a)),e[0]=e[e.length-1],U(o),o.repeat=0);let g={startTime:l?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:a,...o,keyframes:e},y=v&&!m&&function(e){let{motionValue:t,name:i,repeatDelay:n,repeatType:r,damping:s,type:a,keyframes:o}=e,l=t?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:h}=t.owner.getProps();return J()&&i&&(q.has(i)||_.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&Z.test(e[t]))return!0;return!1}(o))&&("transform"!==i||!h)&&!u&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}(g),b=g.motionValue?.owner?.current;if(y)try{u=new H({...g,element:b})}catch{u=new r.JSAnimation(g)}else u=new r.JSAnimation(g);u.finished.then(()=>{this.notifyFinished()}).catch(i.noop),this.pendingTimeline&&(this.stopTimeline=u.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=u}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),V()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}e.s(["AsyncMotionValueAnimation",0,Q],42062)},939011,e=>{"use strict";var t=e.i(763074),i=e.i(846791),n=e.i(42062),r=e.i(83352),s=e.i(987333),a=e.i(343116),o=e.i(157788);let l={type:"spring",stiffness:500,damping:25,restSpeed:10},u={type:"keyframes",duration:.8},h={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var c=e.i(414229);let d=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);var p=e.i(287022);e.s(["animateMotionValue",0,(e,m,f,v={},g,y)=>b=>{let x=(0,s.getValueTransition)(v,e)||{},T=x.delay||v.delay||0,{elapsed:V=0}=v;V-=(0,t.secondsToMilliseconds)(T);let S={keyframes:Array.isArray(f)?f:[null,f],ease:"easeOut",velocity:m.getVelocity(),...x,delay:-V,onUpdate:e=>{m.set(e),x.onUpdate&&x.onUpdate(e)},onComplete:()=>{b(),x.onComplete&&x.onComplete()},name:e,motionValue:m,element:y?void 0:g};!function(e){for(let t in e)if(!d.has(t))return!0;return!1}(x)&&Object.assign(S,((e,{keyframes:t})=>t.length>2?u:o.transformProps.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:l:h)(e,S)),S.duration&&(S.duration=(0,t.secondsToMilliseconds)(S.duration)),S.repeatDelay&&(S.repeatDelay=(0,t.secondsToMilliseconds)(S.repeatDelay)),void 0!==S.from&&(S.keyframes[0]=S.from);let w=!1;if(!1!==S.type&&(0!==S.duration||S.repeatDelay)||((0,a.makeAnimationInstant)(S),0===S.delay&&(w=!0)),(i.MotionGlobalConfig.instantAnimations||i.MotionGlobalConfig.skipAnimations||g?.shouldSkipAnimations||x.skipAnimations)&&(w=!0,(0,a.makeAnimationInstant)(S),S.delay=0),S.allowFlatten=!x.type&&!x.ease,w&&!y&&void 0!==m.get()){let e=(0,c.getFinalKeyframe)(S.keyframes,x);if(void 0!==e)return void p.frame.update(()=>{S.onUpdate(e),S.onComplete()})}return x.isSync?new r.JSAnimation(S):new n.AsyncMotionValueAnimation(S)}],939011)},223070,732525,706840,885983,e=>{"use strict";var t=e.i(142098),i=e.i(618812),n=e.i(987333),r=e.i(753034),s=e.i(864440),a=e.i(347834),o=e.i(980538),l=e.i(716896),u=e.i(939
1011),h=e.i(287022);function c(e,t,{delay:i=0,transitionOverride:d,type:p}={}){let{transition:m,transitionEnd:f,...v}=t,g=e.getDefaultTransition();m=m?(0,r.resolveTransition)(m,g):g;let y=m?.reduceMotion,b=m?.skipAnimations;d&&(m=d);let x=[],T=p&&e.animationState&&e.animationState.getState()[p],V=m?.path;for(let t in V&&V.animateVisualElement(e,v,m,i,x),v){let r=e.getValue(t,e.latestValues[t]??null),a=v[t];if(void 0===a||T&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(T,t))continue;let c={delay:i,...(0,n.getValueTransition)(m||{},t)};b&&(c.skipAnimations=!0);let d=r.get();if(void 0!==d&&!r.isAnimating()&&!Array.isArray(a)&&a===d&&!c.velocity){h.frame.update(()=>r.set(a));continue}let p=!1;if(window.MotionHandoffAnimation){let i=(0,l.getOptimisedAppearId)(e);if(i){let e=window.MotionHandoffAnimation(i,t,h.frame);null!==e&&(c.startTime=e,p=!0)}}(0,o.addValueToWillChange)(e,t);let f=y??e.shouldReduceMotion;r.start((0,u.animateMotionValue)(t,r,a,f&&s.positionalKeys.has(t)?{type:!1}:c,e,p));let g=r.animation;g&&x.push(g)}if(f){let t=()=>h.frame.update(()=>{f&&(0,a.setTarget)(e,f)});x.length?Promise.all(x).then(t):t()}return x}function d(e,t,i,n=0,r=1){let s=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,o=(a-1)*n;return"function"==typeof i?i(s,a):1===r?s*n:o-s*n}function p(e,t,n={}){let r=(0,i.resolveVariant)(e,t,"exit"===n.type?e.presenceContext?.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);let a=r?()=>Promise.all(c(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=s;return function(e,t,i=0,n=0,r=0,s=1,a){let o=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),o.push(p(l,t,{...a,delay:i+("function"==typeof n?0:n)+d(e.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}(e,t,i,r,a,o,n)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([a(),o(n.delay)]);{let[e,t]="beforeChildren"===l?[a,o]:[o,a];return e().then(()=>t())}}function m(e){return"string"==typeof e||Array.isArray(e)}e.s(["isVariantLabel",0,m],732525);let f=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],v=["initial",...f];e.s(["variantPriorityOrder",0,f,"variantProps",0,v],706840);let g=v.length;function y(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}e.s(["isAnimationControls",0,y],885983);var b=e.i(373615);function x(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}let T=[...f].reverse(),V=f.length;function S(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function w(){return{animate:S(!0),whileInView:S(),whileHover:S(),whileTap:S(),whileDrag:S(),whileFocus:S(),exit:S()}}class M extends t.Feature{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>p(e,t,n)));else if("string"==typeof t)r=p(e,t,n);else{let s="function"==typeof t?(0,i.resolveVariant)(e,t,n.custom):t;r=Promise.all(c(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=w(),r=!0,s=!1,a=t=>(n,r)=>{let s=(0,i.resolveVariant)(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(s){let{transition:e,transitionEnd:t,...i}=s;n={...n,...i,...t}}return n};function o(o){let{props:l}=e,u=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<g;e++){let n=v[e],r=t.props[n];(m(r)||!1===r)&&(i[n]=r)}return i}(e.parent)||{},h=[],c=new Set,p={},f=1/0;for(let t=0;t<V;t++){var S,w;let v=T[t],g=n[v],V=void 0!==l[v]?l[v]:u[v],M=m(V),C=v===o?g.isActive:null;!1===C&&(f=t);let A=V===u[v]&&V!==l[v]&&M;if(A&&(r||s)&&e.manuallyAnimateOnMount&&(A=!1),g.protectedKeys={...p},!g.isActive&&null===C||!V&&!g.prevProp||y(V)||"boolean"==typeof V)continue;if("exit"===v&&g.isActive&&!0!==C){g.prevResolvedValues&&(p={...p,...g.prevResolvedValues});continue}let P=(S=g.prevProp,"string"==typeof(w=V)?w!==S:!!Array.isArray(w)&&!x(w,S)),k=P||v===o&&g.isActive&&!A&&M||t>f&&M,E=!1,F=Array.isArray(V)?V:[V],R=F.reduce(a(v),{});
1!1===C&&(R={});let{prevResolvedValues:O={}}=g,I={...O,...R},D=t=>{k=!0,c.has(t)&&(E=!0,c.delete(t)),g.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in I){let t=R[e],i=O[e];if(!p.hasOwnProperty(e))((0,b.isKeyframesTarget)(t)&&(0,b.isKeyframesTarget)(i)?!x(t,i)||P:t!==i)?null!=t?D(e):c.add(e):void 0!==t&&c.has(e)?D(e):g.protectedKeys[e]=!0}g.prevProp=V,g.prevResolvedValues=R,g.isActive&&(p={...p,...R}),(r||s)&&e.blockInitialAnimation&&(k=!1);let L=A&&P,B=!L||E;k&&B&&h.push(...F.map(t=>{let n={type:v};if("string"==typeof t&&(r||s)&&!L&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,s=(0,i.resolveVariant)(r,t);if(r.enteringChildren&&s){let{delayChildren:t}=s.transition||{};n.delay=d(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(c.size){let t={};if("boolean"!=typeof l.initial){let n=(0,i.resolveVariant)(e,Array.isArray(l.initial)?l.initial[0]:l.initial);n&&n.transition&&(t.transition=n.transition)}c.forEach(i=>{let n=e.getBaseTarget(i),r=e.getValue(i);r&&(r.liveStyle=!0),t[i]=n??null}),h.push({animation:t})}let M=!!h.length;return r&&(!1===l.initial||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(M=!1),r=!1,s=!1,M?t(h):Promise.resolve()}return{animateChanges:o,setActive:function(t,i){if(n[t].isActive===i)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,i)),n[t].isActive=i;let r=o(t);for(let e in n)n[e].protectedKeys={};return r},setAnimateFunction:function(i){t=i(e)},getState:()=>n,reset:()=>{n=w(),s=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();y(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var C=t;let A=0;class P extends C.Feature{constructor(){super(...arguments),this.id=A++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&!1===n){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let n=(0,i.resolveVariant)(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...i}=n;for(let e in i)this.node.getValue(e)?.jump(i[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}e.s(["animations",0,{animation:{Feature:M},exit:{Feature:P}}],223070)},439676,e=>{"use strict";let t={x:!1,y:!1};e.s(["isDragActive",0,function(){return t.x||t.y},"isDragging",0,t])},749652,e=>{"use strict";e.s(["resolveElements",0,function(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let r=i?.[e]??n.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(e=>null!=e)}])},608648,973089,e=>{"use strict";var t=e.i(439676),i=e.i(749652);function n(e,t){let n=(0,i.resolveElements)(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}e.s(["setupGesture",0,n],973089),e.s(["hover",0,function(e,i,r={}){let[s,a,o]=n(e,r);return s.forEach(e=>{let n,r=!1,s=!1,o=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",u)},l=e=>{r=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),s&&(s=!1,o(e))},u=e=>{if("touch"!==e.pointerType){if(r){s=!0;return}o(e)}};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||(0,t.isDragActive)())return;s=!1;let o=i(e,r);"function"==typeof o&&(n=o,e.addEventListener("pointerleave",u,a))},a),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",l,a)},a)}),o}],608648)},665536,341327,e=>{"use strict";let t=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function i(e){return{point:{x:e.pageX,y:e.pageY}}}e.s(["isPrimaryPointer",0,t],341327),e.s(["addPointerInfo",0,e=>n=>t(n)&&e(n,i(n)),"extractEventInfo",0,i],665536)},957512,e=>{"use strict";var t=e.i(142098),i=e.i(608648),n=e.i(287022),r=e.i(665536);function s(e,t,i){let{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover","Start"===i);let a=s["onHover"+i];a&&n.frame.postRender(()=>a(t,(0,r.extractEventInfo)(t)))}class a extends t.Feature{mount(){let{current:e}=this.node;e&&(this.unmount=(0,i.hover)(e,(e,t)=>(s(this.node,t,"Start"),e=>s(this.node,e,"End"))))}unmount(){}}
1e.s(["HoverGesture",0,a])},282774,e=>{"use strict";e.s(["addDomEvent",0,function(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}])},99642,e=>{"use strict";var t=e.i(142098),i=e.i(282774),n=e.i(738638);class r extends t.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,n.pipe)((0,i.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,i.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}e.s(["FocusGesture",0,r])},260863,e=>{"use strict";let t=(e,i)=>!!i&&(e===i||t(e,i.parentElement));e.s(["isNodeOrChild",0,t])},919880,e=>{"use strict";let t=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),i=new Set(["INPUT","SELECT","TEXTAREA"]);e.s(["isElementKeyboardAccessible",0,function(e){return t.has(e.tagName)||!0===e.isContentEditable},"isElementTextInput",0,function(e){return i.has(e.tagName)||!0===e.isContentEditable}])},708149,208792,719991,434929,203973,e=>{"use strict";var t=e.i(957512),i=e.i(99642),n=e.i(142098),r=e.i(772846),s=e.i(439676),a=e.i(260863),o=e.i(341327),l=e.i(973089),u=e.i(919880);let h=new WeakSet;function c(e){return t=>{"Enter"===t.key&&e(t)}}function d(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function p(e){return(0,o.isPrimaryPointer)(e)&&!(0,s.isDragActive)()}let m=new WeakSet;var f=e.i(287022),v=e.i(665536);function g(e,t,i){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&f.frame.postRender(()=>r(t,(0,v.extractEventInfo)(t)))}class y extends n.Feature{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[n,s,o]=(0,l.setupGesture)(e,i),f=e=>{let n=e.currentTarget;if(!p(e)||m.has(e))return;h.add(n),i.stopPropagation&&m.add(e);let r=t(n,e),o={...s,capture:!0},l=(e,t)=>
1{window.removeEventListener("pointerup",u,o),window.removeEventListener("pointercancel",c,o),h.has(n)&&h.delete(n),p(e)&&"function"==typeof r&&r(e,{success:t})},u=e=>{l(e,n===window||n===document||i.useGlobalTarget||(0,a.isNodeOrChild)(n,e.target))},c=e=>{l(e,!1)};window.addEventListener("pointerup",u,o),window.addEventListener("pointercancel",c,o)};return n.forEach(e=>{(i.useGlobalTarget?window:e).addEventListener("pointerdown",f,s),(0,r.isHTMLElement)(e)&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let n=c(()=>{if(h.has(i))return;d(i,"down");let e=c(()=>{d(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>d(i,"cancel"),t)});i.addEventListener("keydown",n,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),t)})(e,s)),(0,u.isElementKeyboardAccessible)(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(g(this.node,t,"Start"),(e,{success:t})=>g(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}var b=n;let x=new WeakMap,T=new WeakMap,V=e=>{let t=x.get(e.target);t&&t(e)},S=e=>{e.forEach(V)},w={some:0,all:1};class M extends b.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();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:w[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=t?i:n;r&&r(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;T.has(i)||T.set(i,{});
1let n=T.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(S,{root:e,...t})),n[r]}(o),x.set(e,l),t.observe(e),()=>{x.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let C={inView:{Feature:M},tap:{Feature:y},focus:{Feature:i.FocusGesture},hover:{Feature:t.HoverGesture}};e.s(["gestureAnimations",0,C],708149);var A=e.i(279444),P=e.i(569577),k=e.i(530677);let E=new Set(["brightness","contrast","saturate","opacity"]);function F(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(k.floatRegex)||[];if(!n)return e;let r=i.replace(n,""),s=+!!E.has(t);return n!==i&&(s*=100),t+"("+s+r+")"}let R=/\b([a-z-]*)\(.*?\)/gu,O={...P.complex,getAnimatableNone:e=>{let t=e.match(R);return t?t.map(F).join(" "):e}};e.s(["filter",0,O],208792);let I={...P.complex,getAnimatableNone:e=>{let t=P.complex.parse(e);return P.complex.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}};e.s(["mask",0,I],719991);var D=e.i(76307);let L={...D.number,transform:Math.round};var B=e.i(265091);let N={rotate:B.degrees,pathRotation:B.degrees,rotateX:B.degrees,rotateY:B.degrees,rotateZ:B.degrees,scale:D.scale,scaleX:D.scale,scaleY:D.scale,scaleZ:D.scale,skew:B.degrees,skewX:B.degrees,skewY:B.degrees,distance:B.px,translateX:B.px,translateY:B.px,translateZ:B.px,x:B.px,y:B.px,z:B.px,perspective:B.px,transformPerspective:B.px,opacity:D.alpha,originX:B.progressPercentage,originY:B.progressPercentage,originZ:B.px},j={borderWidth:B.px,borderTopWidth:B.px,borderRightWidth:B.px,borderBottomWidth:B.px,borderLeftWidth:B.px,borderRadius:B.px,borderTopLeftRadius:B.px,borderTopRightRadius:B.px,borderBottomRightRadius:B.px,borderBottomLeftRadius:B.px,width:B.px,maxWidth:B.px,height:B.px,maxHeight:B.px,top:B.px,right:B.px,bottom:B.px,left:B.px,inset:B.px,insetBlock:B.px,insetBlockStart:B.px,insetBlockEnd:B.px,insetInline:B.px,insetInlineStart:B.px,insetInlineEnd:B.px,padding:B.px,paddingTop:B.px,paddingRight:B.px,paddingBottom:B.px,paddingLeft:B.px,paddingBlock:B.px,paddingBlockStart:B.px,paddingBlockEnd:B.px,paddingInline:B.px,paddingInlineStart:B.px,paddingInlineEnd:B.px,margin:B.px,marginTop:B.px,marginRight:B.px,marginBottom:B.px,marginLeft:B.px,marginBlock:B.px,marginBlockStart:B.px,marginBlockEnd:B.px,marginInline:B.px,marginInlineStart:B.px,marginInlineEnd:B.px,fontSize:B.px,backgroundPositionX:B.px,backgroundPositionY:B.px,...N,zIndex:L,fillOpacity:D.alpha,strokeOpacity:D.alpha,numOctaves:L};e.s(["numberValueTypes",0,j],434929);let G={...j,color:A.color,backgroundColor:A.color,outlineColor:A.color,fill:A.color,stroke:A.color,borderColor:A.color,borderTopColor:A.color,borderRightColor:A.color,borderBottomColor:A.color,borderLeftColor:A.color,filter:O,WebkitFilter:O,mask:I,WebkitMask:I};e.s(["getDefaultValueType",0,e=>G[e]],203973)},130162,e=>{"use strict";let t=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({min:0,max:0});e.s(["createBox",0,()=>({x:i(),y:i()}),"createDelta",0,()=>({x:t(),y:t()})])},646436,284061,277942,172590,547507,775554,e=>{"use strict";var t=e.i(864440),i=e.i(76307),n=e.i(265091);let r=e=>t=>t.test(e);e.s(["testValueType",0,r],284061);let s=[i.number,n.px,n.percent,n.degrees,n.vw,n.vh,{test:e=>"auto"===e,parse:e=>e}],a=e=>s.find(r(e));e.s(["dimensionValueTypes",0,s,"findDimensionValueType",0,a],277942);var o=e.i(965566);let l=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);e.s(["isNumericalString",0,l],172590);var u=e.i(19928);let h=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var c=e.i(921012);let d=e=>/^0[^.\s]+$/u.test(e);e.s(["isZeroValueString",0,d],547507);var p=e.i(569577),m=e.i(208792),f=e.i(719991),v=e.i(203973);let g=new Set([m.filter,f.mask]);function y(e,t){let i=(0,v.getDefaultValueType)(e);return g.has(i)||(i=p.complex),i.getAnimatableNone?i.getAnimatableNone(t):void 0}e.s(["getAnimatableNone",0,y],775554);
1let b=new Set(["auto","none","0"]);var x=e.i(44493);class T extends c.KeyframeResolver{constructor(e,t,i,n,r){super(e,t,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:i,name:n}=this;if(!i||!i.current)return;super.readKeyframes();for(let t=0;t<e.length;t++){let n=e[t];if("string"==typeof n&&(n=n.trim(),(0,u.isCSSVariableToken)(n))){let r=function e(t,i,n=1){(0,o.invariant)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(e){let t=h.exec(e);if(!t)return[,];let[,i,n,r]=t;return[`--${i??n}`,r]}(t);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let e=a.trim();return l(e)?parseFloat(e):e}return(0,u.isCSSVariableToken)(s)?e(s,i,n+1):s}(n,i.current);void 0!==r&&(e[t]=r),t===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!t.positionalKeys.has(n)||2!==e.length)return;let[r,s]=e,c=a(r),d=a(s);if((0,u.containsCSSVariable)(r)!==(0,u.containsCSSVariable)(s)&&x.positionalValues[n]){this.needsMeasurement=!0;return}if(c!==d)if((0,x.isNumOrPxType)(c)&&(0,x.isNumOrPxType)(d))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else x.positionalValues[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++){var n;(null===e[t]||("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||d(n)))&&i.push(t)}i.length&&function(e,t,i){let n,r=0;for(;r<e.length&&!n;){let t=e[r];"string"==typeof t&&!b.has(t)&&(0,p.analyseComplexValue)(t).values.length&&(n=e[r]),r++}if(n&&i)for(let r of t)e[r]=y(i,n)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=x.positionalValues[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(i,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=x.positionalValues[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}e.s(["DOMKeyframesResolver",0,T],646436)},560140,e=>{"use strict";let{schedule:t}=(0,e.i(651571).createRenderBatcher)(queueMicrotask,!1);e.s(["microtask",0,t])},194978,587576,571164,138544,617218,544947,181261,638698,399951,449095,188826,e=>{"use strict";var t=e.i(83411),i=e.i(646436);e.i(247167);var n=e.i(763074),r=e.i(172590),s=e.i(547507),a=e.i(570596),o=e.i(921012),l=e.i(368e3),u=e.i(962118),h=e.i(560140),c=e.i(496173),d=e.i(130162),p=e.i(486427),m=e.i(569577),f=e.i(775554),v=e.i(279444),g=e.i(277942),y=e.i(284061);let b=[...g.dimensionValueTypes,v.color,m.complex],x=new WeakMap;var T=e.i(885983),V=e.i(732525),S=e.i(706840);function w(e){return(0,T.isAnimationControls)(e.animate)||S.variantProps.some(t=>(0,V.isVariantLabel)(e[t]))}function M(e){return!!(w(e)||e.variants)}e.s(["isControllingVariants",0,w,"isVariantNode",0,M],587576);var C=e.i(157788);let A={current:null},P={current:!1};e.s(["hasReducedMotionListener",0,P,"prefersReducedMotion",0,A],571164);let k="u">typeof window;function E(){if(P.current=!0,k)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>A.current=e.matches;e.addEventListener("change",t),t()}else A.current=!1}e.s(["initPrefersReducedMotion",0,E],138544);var F=e.i(386579),R=e.i(287022);let O=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],I={};class D{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:i,presenceContext:n,reducedMotionConfig:r,skipAnimations:s,blockInitialAnimation:a,visualState:l},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=o.KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=c.time.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,R.frame.render(this.render,!1,!0))};const{latestValues:h,renderState:d}=l;this.latestValues=h,this.baseTarget={...h},this.initialValues=i.initial?{...h}:{},this.renderState=d,this.parent=e,this.props=i,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=s,this.options=u,this.blockInitialAnimation=!!a,this.isControllingVariants=w(i),this.isVariantNode=M(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:p,...m}=this.scrapeMotionValuesFromProps(i,{},this);for(const e in m){const i=m[e];void 0!==h[e]&&(0,t.isMotionValue)(i)&&i.set(h[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,x.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(P.current||E(),this.shouldReduceMotion=A.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),(0,R.cancelFrame)(this.notifyUpdate),(0,R.cancelFrame)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&u.acceleratedValues.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:s,ease:a,duration:o}=t.accelerate,u=new l.NativeAnimation({element:this.current,name:e,keyframes:r,times:s,ease:a,duration:(0,n.secondsToMilliseconds)(o)}),h=i(u);this.valueSubscriptions.set(e,()=>{h(),u.cancel()});return}let r=C.transformProps.has(e);r&&this.onBindTransform&&this.onBindTransform();let s=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&R.frame.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{s(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in I){let t=I[e];if(!t)continue;let{isEnabled:i,Feature:n}=t;if(!this.features[e]&&n&&i(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];
1t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,d.createBox)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,i){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let t=0;t<O.length;t++){let i=O[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=e["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(e,i,n){for(let r in i){let s=i[r],a=n[r];if((0,t.isMotionValue)(s))e.addValue(r,s);else if((0,t.isMotionValue)(a))e.addValue(r,(0,p.motionValue)(s,{owner:e}));else if(a!==s)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(s):t.hasAnimated||t.set(s)}else{let t=e.getStaticValue(r);e.addValue(r,(0,p.motionValue)(void 0!==t?t:s,{owner:e}))}}for(let t in n)void 0===i[t]&&e.removeValue(t);return i}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=(0,p.motionValue)(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,i){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){if("string"==typeof n&&((0,r.isNumericalString)(n)||(0,s.isZeroValueString)(n)))n=parseFloat(n);else{let t;t=n,!b.find((0,y.testValueType)(t))&&m.complex.test(i)&&(n=(0,f.getAnimatableNone)(e,i))}this.setBaseTarget(e,(0,t.isMotionValue)(n)?n.get():n)}return(0,t.isMotionValue)(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let i,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let t=(0,F.resolveVariantFromProps)(this.props,n,this.presenceContext?.custom);t&&(i=t[e])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,t.isMotionValue)(r)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new a.SubscriptionManager),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){h.microtask.render(this.render)}}e.s(["VisualElement",0,D,"getFeatureDefinitions",0,function(){return I},"setFeatureDefinitions",0,function(e){I=e}],617218),e.s(["DOMVisualElement",0,class extends D{constructor(){super(...arguments),this.KeyframeResolver=i.DOMKeyframesResolver}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,t.isMotionValue)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}],194978);let L=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var B=e.i(434929),N=e.i(19928);let j={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},G=C.transformPropOrder.length;function W(e,t,i){let{style:n,vars:r,transformOrigin:s}=e,a=!1,o=!1;for(let e in t){let i=t[e];if(C.transformProps.has(e)){a=!0;continue}if((0,N.isCSSVariableName)(e)){r[e]=i;continue}{let t=L(i,B.numberValueTypes[e]);e.startsWith("origin")?(o=!0,s[e]=t):n[e]=t}}if(!t.transform&&(a||i?n.transform=function(e,t,i){let n="",r=!0;for(let s=0;s<G;s++){let a=C.transformPropOrder[s],o=e[a];if(void 0===o)continue;let l=!0;if("number"==typeof o)l=o===+!!a.startsWith("scale");else{let e=parseFloat(o);l=a.startsWith("scale")?1===e:0===e}if(!l||i){let e=L(o,B.numberValueTypes[a]);if(!l){r=!1;let t=j[a]||a;n+=`${t}(${e}) `}i&&(t[a]=e)}}let s=e.pathRotation;return s&&(r=!1,n+=`rotate(${L(s,B.numberValueTypes.pathRotation)}) `),n=n.trim(),i?n=i(t,r?"":n):r&&(n="none"),n}(t,e.transform,i):n.transform&&(n.transform="none")),o){let{originX:e="50%",originY:t="50%",originZ:i=0}=s;n.transformOrigin=`${e} ${t} ${i}`}}e.s(["buildHTMLStyles",0,W],544947);let K={offset:"stroke-dashoffset",array:"stroke-dasharray"},$={offset:"strokeDashoffset",array:"strokeDasharray"},H=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];e.s(["buildSVGAttrs",0,function(e,{attrX:t,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:a=0,...o}
1,l,u,h){if(W(e,o,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:d}=e;for(let e of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),H))void 0!==c[e]&&(d[e]=c[e],delete c[e]);void 0!==t&&(c.x=t),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==r&&function(e,t,i=1,n=0,r=!0){e.pathLength=1;let s=r?K:$;e[s.offset]=`${-n}`,e[s.array]=`${t} ${i}`}(c,r,s,a,!1)}],181261);let Y=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"]);e.s(["camelCaseAttributes",0,Y],638698),e.s(["isSVGTag",0,e=>"string"==typeof e&&"svg"===e.toLowerCase()],399951);var z=e.i(793787);function U(e,{style:t,vars:i},n,r){let s,a=e.style;for(s in t)a[s]=t[s];for(s in r?.applyProjectionStyles(a,n),i)a.setProperty(s,i[s])}e.s(["renderHTML",0,U],449095),e.s(["renderSVG",0,function(e,t,i,n){for(let i in U(e,t,void 0,n),t.attrs)e.setAttribute(Y.has(i)?i:(0,z.camelToDash)(i),t.attrs[i])}],188826)},924463,895051,e=>{"use strict";e.i(19928);let t=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];e.s(["cornerRadiusProps",0,t],895051);var i=e.i(265091);function n(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let r={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!i.px.test(e))return e;else e=parseFloat(e);let r=n(e,t.target.x),s=n(e,t.target.y);return`${r}% ${s}%`}};var s=e.i(569577),a=e.i(100706);let o={borderRadius:{...r,applyTo:[...t]},borderTopLeftRadius:r,borderTopRightRadius:r,borderBottomLeftRadius:r,borderBottomRightRadius:r,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=s.complex.parse(e);if(n.length>5)return e;let r=s.complex.createTransformer(e),o=+("number"!=typeof n[0]),l=i.x.scale*t.x,u=i.y.scale*t.y;n[0+o]/=l,n[1+o]/=u;let h=(0,a.mixNumber)(l,u,.5);return"number"==typeof n[2+o]&&(n[2+o]/=h),"number"==typeof n[3+o]&&(n[3+o]/=h),r(n)}}};e.s(["scaleCorrectors",0,o],924463)},275737,130789,984049,767926,e=>{"use strict";var t=e.i(157788),i=e.i(203973),n=e.i(130162),r=e.i(194978),s=e.i(793787),a=e.i(181261),o=e.i(638698),l=e.i(399951),u=e.i(188826),h=e.i(83411),c=e.i(924463);function d(e,{layout:i,layoutId:n}){return t.transformProps.has(e)||e.startsWith("origin")||(i||void 0!==n)&&(!!c.scaleCorrectors[e]||"opacity"===e)}function p(e,t,i){let n=e.style,r=t?.style,s={};if(!n)return s;for(let t in n)((0,h.isMotionValue)(n[t])||r&&(0,h.isMotionValue)(r[t])||d(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(s[t]=n[t]);return s}function m(e,i,n){let r=p(e,i,n);for(let n in e)((0,h.isMotionValue)(e[n])||(0,h.isMotionValue)(i[n]))&&(r[-1!==t.transformPropOrder.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}e.s(["isForcedMotionValue",0,d],130789),e.s(["scrapeMotionValuesFromProps",0,p],984049),e.s(["scrapeMotionValuesFromProps",0,m],767926);class f extends r.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=n.createBox}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,n){if(t.transformProps.has(n)){let e=(0,i.getDefaultValueType)(n);return e&&e.default||0}return n=o.camelCaseAttributes.has(n)?n:(0,s.camelToDash)(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,t,i){return m(e,t,i)}build(e,t,i){(0,a.buildSVGAttrs)(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,n){(0,u.renderSVG)(e,t,i,n)}mount(e){this.isSVGTag=(0,l.isSVGTag)(e.tagName),super.mount(e)}}e.s(["SVGVisualElement",0,f],275737)},27677,e=>{"use strict";e.s(["convertBoundingBoxToBox",0,function({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}},"convertBoxToBoundingBox",0,function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}},"transformBoxPoints",0,function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}])},153689,177777,135636,e=>{"use strict";var t=e.i(27677),i=e.i(100706);function n(e){return void 0===e||1===e}function r({scale:e,scaleX:t,scaleY:i}){return!n(e)||!n(t)||!n(i)}function s(e){return r(e)||a(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function a(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function o(e,t,i){return i+t*(e-i)}function l(e,t,i,n,r){return void 0!==r&&(e=o(e,r,n)),o(e,i,n)+t}function u(e,t=0,i=1,n,r){e.min=l(e.min,t,i,n,r),e.max=l(e.max,t,i,n,r)}function h(e,{x:t,y:i}){u(e.x,t.translate,t.scale,t.originPoint),u(e.y,i.translate,i.scale,i.originPoint)}function c(e,t){e.min+=t,e.max+=t}function d(e,t,n,r,s=.5){let a=(0,i.mixNumber)(e.min,e.max,s);u(e,t,n,a,r)}function p(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function m(e,t,i){let n=i??e;d(e.x,p(t.x,n.x),t.scaleX,t.scale,t.originX),d(e.y,p(t.y,n.y),t.scaleY,t.scale,t.originY)}function f(e,i){return(0,t.convertBoundingBoxToBox)((0,t.transformBoxPoints)(e.getBoundingClientRect(),i))}e.s(["has2DTranslate",0,a,"hasScale",0,r,"hasTransform",0,s],177777),e.s(["applyBoxDelta",0,h,"applyTreeDeltas",0,function(e,t,i,n=!1){let r,a,o=i.length;if(o){t.x=t.y=1;for(let l=0;l<o;l++){a=(r=i[l]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(c(e.x,-r.scroll.offset.x),c(e.y,-r.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,h(e,a)),n&&s(r.latestValues)&&m(e,r.latestValues,r.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}},"scalePoint",0,o,"transformBox",0,m,"translateAxis",0,c],135636),e.s(["measurePageBox",0,function(e,t,i){let n=f(e,i),{scroll:r}=t;return r&&(c(n.x,r.offset.x),c(n.y,r.offset.y)),n}
1,"measureViewportBox",0,f],153689)},962607,944966,648070,476948,513565,444113,e=>{"use strict";var t=e.i(223070),i=e.i(708149),n=e.i(275737),r=e.i(965566),s=e.i(19928),a=e.i(157788),o=e.i(381296),l=e.i(153689),u=e.i(194978),h=e.i(544947),c=e.i(449095),d=e.i(984049);class p extends u.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=c.renderHTML}mount(e){(0,r.invariant)(!!e.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(e)}readValueFromInstance(e,t){if(a.transformProps.has(t))return this.projection?.isProjecting?(0,o.defaultTransformValue)(t):(0,o.readTransformValue)(e,t);{let i=window.getComputedStyle(e),n=((0,s.isCSSVariableName)(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,l.measureViewportBox)(e,t)}build(e,t,i){(0,h.buildHTMLStyles)(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return(0,d.scrapeMotionValuesFromProps)(e,t,i)}}var m=e.i(271645);let f=["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 v(e){if("string"!=typeof e||e.includes("-"));else if(f.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}e.s(["isSVGComponent",0,v],944966);let g={renderer:(e,t)=>t.isSVG??v(e)?new n.SVGVisualElement(t):new p(t,{allowProjection:e!==m.Fragment}),...t.animations,...i.gestureAnimations};e.s(["domAnimation",0,g],962607);var y=e.i(843476);let b=(0,m.createContext)({strict:!1});e.s(["LazyContext",0,b],648070);var x=e.i(617218);let T={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"]},V=!1;function S(){return!function(){if(V)return;let e={};for(let t in T)e[t]={isEnabled:e=>T[t].some(t=>!!e[t])};(0,x.setFeatureDefinitions)(e),V=!0}(),(0,x.getFeatureDefinitions)()}function w(e){let t=S();for(let i in e)t[i]={...t[i],...e[i]};(0,x.setFeatureDefinitions)(t)}function M(e){return"function"==typeof e}e.s(["getInitializedFeatureDefinitions",0,S],476948),e.s(["loadFeatures",0,w],513565),e.s(["LazyMotion",0,function({children:e,features:t,strict:i=!1}){let[,n]=(0,m.useState)(!M(t)),r=(0,m.useRef)(void 0);if(!M(t)){let{renderer:e,...i}=t;r.current=e,w(i)}return(0,m.useEffect)(()=>{M(t)&&t().then(({renderer:e,...t})=>{w(t),r.current=e,n(!0)})},[]),(0,y.jsx)(b.Provider,{value:{renderer:r.current,strict:i},children:e})}],444113)},688291,582474,886549,911587,308576,830665,e=>{"use strict";var t,i=e.i(271645);let n=(0,i.createContext)({});e.s(["MotionContext",0,n],688291);var r=e.i(587576),s=e.i(732525);function a(e){return Array.isArray(e)?e.join(" "):e}e.s(["useCreateMotionContext",0,function(e){let{initial:t,animate:o}=function(e,t){if((0,r.isControllingVariants)(e)){let{initial:t,animate:i}=e;return{initial:!1===t||(0,s.isVariantLabel)(t)?t:void 0,animate:(0,s.isVariantLabel)(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(n));return(0,i.useMemo)(()=>({initial:t,animate:o}),[a(t),a(o)])}],582474);var o=e.i(83411),l=e.i(130789),u=e.i(544947);let h=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function c(e,t,i){for(let n in t)(0,o.isMotionValue)(t[n])||(0,l.isForcedMotionValue)(n,i)||(e[n]=t[n])}e.s(["createHtmlRenderState",0,h],886549);var d=e.i(181261),p=e.i(399951);let m=()=>({...h(),attrs:{}});e.s(["createSvgRenderState",0,m],911587);let f=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function v(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||f.has(e)}let g=e=>!v(e);try{t=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof t&&(g=e=>e.startsWith("on")?!v(e):t(e))}catch{}var y=e.i(944966);e.s(["useRender",0,function(e,t,n,{latestValues:r},s,a=!1,l){let f=(l??(0,y.isSVGComponent)(e)?function(e,t,n,r){let s=(0,i.useMemo)(()=>{let i=m();return(0,d.buildSVGAttrs)(i,t,(0,p.isSVGTag)(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};c(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,t){let n,r,s={},a=(n=e.style||{},c(r={},n,e),Object.assign(r,function({transformTemplate:e},t){return(0,i.useMemo)(()=>{let i=h();return(0,u.buildHTMLStyles)(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}
1`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=a,s})(t,r,s,e),b=function(e,t,i){let n={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&!(0,o.isMotionValue)(e[r])&&(g(r)||!0===i&&v(r)||!t&&!v(r)||e.draggable&&r.startsWith("onDrag"))&&(n[r]=e[r]);return n}(t,"string"==typeof e,a),x=e!==i.Fragment?{...b,...f,ref:n}:{},{children:T}=t,V=(0,i.useMemo)(()=>(0,o.isMotionValue)(T)?T.get():T,[T]);return(0,i.createElement)(e,{...x,children:V})}],308576);var b=e.i(984049);e.s(["scrapeHTMLMotionValuesFromProps",()=>b.scrapeMotionValuesFromProps],830665)},733871,e=>{"use strict";var t=e.i(83411);e.s(["resolveMotionValue",0,function(e){return(0,t.isMotionValue)(e)?e.get():e}])},711805,501664,321967,683640,e=>{"use strict";var t=e.i(830665),i=e.i(733871),n=e.i(587576),r=e.i(885983),s=e.i(386579),a=e.i(271645),o=e.i(688291),l=e.i(821476),u=e.i(947414);let h=e=>(t,h)=>{let c=(0,a.useContext)(o.MotionContext),d=(0,a.useContext)(l.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},a,o,l){return{latestValues:function(e,t,a,o){let l={},u=o(e,{});for(let e in u)l[e]=(0,i.resolveMotionValue)(u[e]);let{initial:h,animate:c}=e,d=(0,n.isControllingVariants)(e),p=(0,n.isVariantNode)(e);t&&p&&!d&&!1!==e.inherit&&(void 0===h&&(h=t.initial),void 0===c&&(c=t.animate));let m=!!a&&!1===a.initial,f=(m=m||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,r.isAnimationControls)(f)){let t=Array.isArray(f)?f:[f];for(let i=0;i<t.length;i++){let n=(0,s.resolveVariantFromProps)(e,t[i]);if(n){let{transitionEnd:e,transition:t,...i}=n;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=m?t.length-1:0;t=t[e]}null!==t&&(l[e]=t)}for(let t in e)l[t]=e[t]}}}return l}(a,o,l,e),renderState:t()}})(e,t,c,d);return h?p():(0,u.useConstant)(p)};var c=e.i(886549);let d=h({scrapeMotionValuesFromProps:t.scrapeHTMLMotionValuesFromProps,createRenderState:c.createHtmlRenderState});e.s(["useHTMLVisualState",0,d],711805);var p=e.i(767926),p=p,m=e.i(911587);let f=h({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});e.s(["useSVGVisualState",0,f],501664);let v=Symbol.for("motionComponentSymbol");e.s(["motionComponentSymbol",0,v],321967),e.s(["useMotionRef",0,function(e,t,i){let n=(0,a.useRef)(i);(0,a.useInsertionEffect)(()=>{n.current=i});let r=(0,a.useRef)(null);return(0,a.useCallback)(i=>{i&&e.onMount?.(i),t&&(i?t.mount(i):t.unmount());let s=n.current;if("function"==typeof s)if(i){let e=s(i);"function"==typeof e&&(r.current=e)}else r.current?(r.current(),r.current=null):s(i);else s&&(s.current=i)},[t])}],683640)},104035,e=>{"use strict";let t=(0,e.i(271645).createContext)({});e.s(["SwitchLayoutGroupContext",0,t])},895347,e=>{"use strict";e.s(["isRefObject",0,function(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}])},806928,e=>{"use strict";e.i(247167);var t=e.i(843476),i=e.i(271645),n=e.i(231178),r=e.i(648070),s=e.i(737806),a=e.i(688291),o=e.i(582474),l=e.i(308576),u=e.i(944966),h=e.i(711805),c=e.i(501664),d=e.i(476948),p=(e.i(513565),e.i(321967)),m=e.i(683640),f=e.i(535043),v=e.i(821476),g=e.i(104035),y=e.i(895347),b=e.i(674008);function x(e,x){return function(e,{forwardMotionProps:x=!1,type:T}={}){let V=T?"svg"===T:(0,u.isSVGComponent)(e),S=V?c.useSVGVisualState:h.useHTMLVisualState;function w(u,h){let c,p={...(0,i.useContext)(s.MotionConfigContext),...u,layoutId:function({layoutId:e}){let t=(0,i.useContext)(n.LayoutGroupContext).id;return t&&void 0!==e?t+"-"+e:e}(u)},{isStatic:T}=p,w=(0,o.useCreateMotionContext)(u),M=S(u,T);if(!T&&"u">typeof window){(0,i.useContext)(r.LazyContext).strict;let t=function(e){let{drag:t,layout:i}=(0,d.getInitializedFeatureDefinitions)();if(!t&&!i)return{};let n={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(p);c=t.MeasureLayout,w.visualElement=function(e,t,n,o,l,u){let{visualElement:h}=(0,i.useContext)(a.MotionContext),c=(0,i.useContext)(r.LazyContext),d=(0,i.useContext)(v.PresenceContext),p=(0,i.useContext)(s.MotionConfigContext),m=p.reducedMotion,x=p.skipAnimations,T=(0,i.useRef)(null),V=(0,i.useRef)(!1);o=o||c.renderer,!T.current&&o&&(T.current=o(e,{visualState:t,parent:h,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m,skipAnimations:x,isSVG:u}),V.current&&T.current&&(T.current.manuallyAnimateOnMount=!0));let S=T.current,w=(0,i.useContext)(g.SwitchLayoutGroupContext);S&&!S.projection&&l&&("html"===S.type||"svg"===S.type)&&function(e,t,i,n){let{layoutId:r,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!a||o&&(0,y.isRefObject)(o),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(T.current,n,l,w);let M=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{S&&M.current&&S.update(n,d)});let C=n[f.optimizedAppearDataAttribute],A=(0,i.useRef)(!!C&&"u">typeof window&&!window.MotionHandoffIsComplete?.(C)&&window.MotionHasOptimisedAnimation?.(C));return(0,b.useIsomorphicLayoutEffect)(()=>{V.current=!0,S&&(M.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),A.current&&S.animationState&&S.animationState.animateChanges())}),(0,i.useEffect)(()=>{S&&(!A.current&&S.animationState&&S.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(C)}),A.current=!1),S.enteringChildren=void 0)}),S}(e,M,p,void 0,t.ProjectionNode,V)}return(0,t.jsxs)(a.MotionContext.Provider,{value:w,children:[c&&w.visualElement?(0,t.jsx)(c,{visualElement:w.visualElement,...p}):null,(0,l.useRender)(e,u,(0,m.useMotionRef)(M,w.visualElement,h),M,T,x,V)]})}w.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let M=(0,i.forwardRef)(w);return M[p.motionComponentSymbol]=e,M}(e,x)}let T=x("div"),V=x("span"),S=x("path");e.s(["MotionDiv",0,T,"MotionPath",0,S,"MotionSpan",0,V],806928)}
1]);
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.