1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,57788,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])},76959,e=>{"use strict";e.s(["clamp",0,(e,t,i)=>i>t?t:i<e?e:i])},79444,76307,30677,66820,63011,65091,22660,69577,e=>{"use strict";var t=e.i(76959);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},n={...i,transform:e=>(0,t.clamp)(0,1,e)},s={...i,default:1};e.s(["alpha",0,n,"number",0,i,"scale",0,s],76307);let r=e=>Math.round(1e5*e)/1e5,a=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;e.s(["floatRegex",0,a],30677);let o=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,l=(e,t)=>i=>!!("string"==typeof i&&o.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),u=(e,t,i)=>n=>{if("string"!=typeof n)return n;let[s,r,o,l]=n.match(a);return{[e]:parseFloat(s),[t]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}},h={...i,transform:e=>Math.round((0,t.clamp)(0,255,e))},c={test:l("rgb","red"),parse:u("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:s=1})=>"rgba("+h.transform(e)+", "+h.transform(t)+", "+h.transform(i)+", "+r(n.transform(s))+")"};e.s(["rgba",0,c],66820);let d={test:l("#"),parse:function(e){let t="",i="",n="",s="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),s=e.substring(4,5),t+=t,i+=i,n+=n,s+=s),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:c.transform};e.s(["hex",0,d],63011);let m=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),p=m("deg"),f=m("%"),g=m("px"),v=m("vh"),y=m("vw"),x={...f,parse:e=>f.parse(e)/100,transform:e=>f.transform(100*e)};e.s(["degrees",0,p,"percent",0,f,"progressPercentage",0,x,"px",0,g,"vh",0,v,"vw",0,y],65091);let b={test:l("hsl","hue"),parse:u("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:s=1})=>"hsla("+Math.round(e)+", "+f.transform(r(t))+", "+f.transform(r(i))+", "+r(n.transform(s))+")"};e.s(["hsla",0,b],22660);let w={test:e=>c.test(e)||d.test(e)||b.test(e),parse:e=>c.test(e)?c.parse(e):b.test(e)?b.parse(e):d.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?c.transform(e):b.transform(e),getAnimatableNone:e=>{let t=w.parse(e);return t.alpha=0,w.transform(t)}};e.s(["color",0,w],79444);let T=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,S="number",P="color",V=/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:[]},s=[],r=0,a=t.replace(V,e=>(w.test(e)?(n.color.push(r),s.push(P),i.push(w.parse(e))):e.startsWith("var(")?(n.var.push(r),s.push("var"),i.push(e)):(n.number.push(r),s.push(S),i.push(parseFloat(e))),++r,"${}")).split("${}");return{values:i,split:a,indexes:n,types:s}}function M({split:e,types:t}){let i=e.length;return n=>{let s="";for(let a=0;a<i;a++)if(s+=e[a],void 0!==n[a]){let e=t[a];e===S?s+=r(n[a]):e===P?s+=w.transform(n[a]):s+=n[a]}return s}}e.s(["analyseComplexValue",0,E,"complex",0,{test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(a)?.length||0)+(e.match(T)?.length||0)>0},parse:function(e){return E(e).values},createTransformer:function(e){return M(E(e))},getAnimatableNone:function(e){let t=E(e);return M(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:w.test(e)?w.getAnimatableNone(e):e)(e,t.split[i])))}}],69577)},3973,8792,19991,34929,30162,e=>{"use strict";var t=e.i(79444),i=e.i(69577),n=e.i(30677);let s=new Set(["brightness","contrast","saturate","opacity"]);function r(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=i.match(n.floatRegex)||[];
1if(!r)return e;let a=i.replace(r,""),o=+!!s.has(t);return r!==i&&(o*=100),t+"("+o+a+")"}let a=/\b([a-z-]*)\(.*?\)/gu,o={...i.complex,getAnimatableNone:e=>{let t=e.match(a);return t?t.map(r).join(" "):e}};e.s(["filter",0,o],8792);let l={...i.complex,getAnimatableNone:e=>{let t=i.complex.parse(e);return i.complex.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}};e.s(["mask",0,l],19991);var u=e.i(76307);let h={...u.number,transform:Math.round};var c=e.i(65091);let d={rotate:c.degrees,pathRotation:c.degrees,rotateX:c.degrees,rotateY:c.degrees,rotateZ:c.degrees,scale:u.scale,scaleX:u.scale,scaleY:u.scale,scaleZ:u.scale,skew:c.degrees,skewX:c.degrees,skewY:c.degrees,distance:c.px,translateX:c.px,translateY:c.px,translateZ:c.px,x:c.px,y:c.px,z:c.px,perspective:c.px,transformPerspective:c.px,opacity:u.alpha,originX:c.progressPercentage,originY:c.progressPercentage,originZ:c.px},m={borderWidth:c.px,borderTopWidth:c.px,borderRightWidth:c.px,borderBottomWidth:c.px,borderLeftWidth:c.px,borderRadius:c.px,borderTopLeftRadius:c.px,borderTopRightRadius:c.px,borderBottomRightRadius:c.px,borderBottomLeftRadius:c.px,width:c.px,maxWidth:c.px,height:c.px,maxHeight:c.px,top:c.px,right:c.px,bottom:c.px,left:c.px,inset:c.px,insetBlock:c.px,insetBlockStart:c.px,insetBlockEnd:c.px,insetInline:c.px,insetInlineStart:c.px,insetInlineEnd:c.px,padding:c.px,paddingTop:c.px,paddingRight:c.px,paddingBottom:c.px,paddingLeft:c.px,paddingBlock:c.px,paddingBlockStart:c.px,paddingBlockEnd:c.px,paddingInline:c.px,paddingInlineStart:c.px,paddingInlineEnd:c.px,margin:c.px,marginTop:c.px,marginRight:c.px,marginBottom:c.px,marginLeft:c.px,marginBlock:c.px,marginBlockStart:c.px,marginBlockEnd:c.px,marginInline:c.px,marginInlineStart:c.px,marginInlineEnd:c.px,fontSize:c.px,backgroundPositionX:c.px,backgroundPositionY:c.px,...d,zIndex:h,fillOpacity:u.alpha,strokeOpacity:u.alpha,numOctaves:h};e.s(["numberValueTypes",0,m],34929);let p={...m,color:t.color,backgroundColor:t.color,outlineColor:t.color,fill:t.color,stroke:t.color,borderColor:t.color,borderTopColor:t.color,borderRightColor:t.color,borderBottomColor:t.color,borderLeftColor:t.color,filter:o,WebkitFilter:o,mask:l,WebkitMask:l};e.s(["getDefaultValueType",0,e=>p[e]],3973);let f=()=>({translate:0,scale:1,origin:0,originPoint:0}),g=()=>({min:0,max:0});e.s(["createBox",0,()=>({x:g(),y:g()}),"createDelta",0,()=>({x:f(),y:f()})],30162)},83411,e=>{"use strict";e.s(["isMotionValue",0,e=>!!(e&&e.getVelocity)])},64440,e=>{"use strict";let t=new Set(["width","height","top","left","right","bottom",...e.i(57788).transformPropOrder]);e.s(["positionalKeys",0,t])},77942,84061,e=>{"use strict";var t=e.i(76307),i=e.i(65091);let n=e=>t=>t.test(e);e.s(["testValueType",0,n],84061);let s=[t.number,i.px,i.percent,i.degrees,i.vw,i.vh,{test:e=>"auto"===e,parse:e=>e}];e.s(["dimensionValueTypes",0,s,"findDimensionValueType",0,e=>s.find(n(e))],77942)},65566,e=>{"use strict";e.i(47167).default,e.s(["invariant",0,()=>{},"warning",0,()=>{}],65566)},72590,e=>{"use strict";e.s(["isNumericalString",0,e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)])},19928,e=>{"use strict";let t=e=>t=>"string"==typeof t&&t.startsWith(e),i=t("--"),n=t("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,i,"isCSSVariableToken",0,e=>!!n(e)&&s.test(e.split("/*")[0].trim())])},84015,e=>{"use strict";var t=e.i(65566),i=e.i(72590),n=e.i(19928);let s=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;e.s(["getVariableValue",0,function e(r,a,o=1){(0,t.invariant)(o<=4,`Max CSS variable fallback depth detected in property "${r}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[l,u]=function(e){let t=s.exec(e);if(!t)return[,];let[,i,n,r]=t;return[`--${i??n}`,r]}(r);if(!l)return;let h=window.getComputedStyle(a).getPropertyValue(l);if(h){let e=h.trim();return(0,i.isNumericalString)(e)?parseFloat(e):e}return(0,n.isCSSVariableToken)(u)?e(u,a,o+1):u}])},11485,81296,e=>{"use strict";
1e.s(["fillWildcards",0,function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}],11485);let t=e=>180*e/Math.PI,i=e=>s(t(Math.atan2(e[1],e[0]))),n={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:i,rotateZ:i,skewX:e=>t(Math.atan(e[1])),skewY:e=>t(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},s=e=>((e%=360)<0&&(e+=360),e),r=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),a=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),o={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:r,scaleY:a,scale:e=>(r(e)+a(e))/2,rotateX:e=>s(t(Math.atan2(e[6],e[5]))),rotateY:e=>s(t(Math.atan2(-e[2],e[0]))),rotateZ:i,rotate:i,skewX:e=>t(Math.atan(e[4])),skewY:e=>t(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function l(e){return+!!e.includes("scale")}function u(e,t){let i,s;if(!e||"none"===e)return l(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=o,s=r;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=n,s=t}if(!s)return l(t);let a=i[t],u=s[1].split(",").map(h);return"function"==typeof a?a(u):u[a]}function h(e){return parseFloat(e.trim())}e.s(["defaultTransformValue",0,l,"parseValueFromTransform",0,u,"readTransformValue",0,(e,t)=>{let{transform:i="none"}=getComputedStyle(e);return u(i,t)}],81296)},44493,e=>{"use strict";var t=e.i(81296),i=e.i(57788),n=e.i(76307),s=e.i(65091);let r=new Set(["x","y","z"]),a=i.transformPropOrder.filter(e=>!r.has(e)),o={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:n})=>{let s=e.max-e.min;return"border-box"===n?s:s-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:n})=>{let s=e.max-e.min;return"border-box"===n?s:s-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:i})=>(0,t.parseValueFromTransform)(i,"x"),y:(e,{transform:i})=>(0,t.parseValueFromTransform)(i,"y")};o.translateX=o.x,o.translateY=o.y,e.s(["isNumOrPxType",0,e=>e===n.number||e===s.px,"positionalValues",0,o,"removeNonTranslationalTransform",0,function(e){let t=[];return a.forEach(i=>{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),t}])},60830,e=>{"use strict";e.s(["noop",0,e=>e])},46791,e=>{"use strict";e.s(["MotionGlobalConfig",0,{}])},87022,51571,e=>{"use strict";var t=e.i(60830),i=e.i(46791);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s(e,t){let s=!1,r=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,l=n.reduce((e,t)=>(e[t]=function(e){let t=new Set,i=new Set,n=!1,s=!1,r=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(t){r.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:(e,s=!1,a=!1)=>{let o=a&&n?t:i;return s&&r.add(e),o.add(e),e},cancel:e=>{i.delete(e),r.delete(e)},process:e=>{if(a=e,n){s=!0;return}n=!0;let r=t;t=i,i=r,t.forEach(o),t.clear(),n=!1,s&&(s=!1,l.process(e))}};return l}(o),e),{}),{setup:u,read:h,resolveKeyframes:c,preUpdate:d,update:m,preRender:p,render:f,postRender:g}=l,v=()=>{let n=i.MotionGlobalConfig.useManualTiming,o=n?a.timestamp:performance.now();s=!1,n||(a.delta=r?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),m.process(a),p.process(a),f.process(a),g.process(a),a.isProcessing=!1,s&&t&&(r=!1,e(v))};return{schedule:n.reduce((t,i)=>{let n=l[i];return t[i]=(t,i=!1,o=!1)=>(!s&&(s=!0,r=!0,a.isProcessing||e(v)),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,s],51571);let{schedule:r,cancel:a,state:o,steps:l}=s("u">typeof requestAnimationFrame?requestAnimationFrame:t.noop,!0);e.s(["cancelFrame",0,a,"frame",0,r,"frameData",0,o,"frameSteps",0,l],87022)},21012,e=>{"use strict";var t=e.i(11485),i=e.i(44493),n=e.i(87022);let s=new Set,r=!1,a=!1,o=!1;function l(){if(a){let e=Array.from(s).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=(0,i.removeNonTranslationalTransform)(e);t.length&&(n.set(e,t),e.render())}
1),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.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)})}a=!1,r=!1,s.forEach(e=>e.complete(o)),s.clear()}function u(){s.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(a=!0)})}e.s(["KeyframeResolver",0,class{constructor(e,t,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),r||(r=!0,n.frame.read(u),n.frame.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:i,element:n,motionValue:s}=this;if(null===e[0]){let t=s?.get(),r=e[e.length-1];if(void 0!==t)e[0]=t;else if(n&&i){let t=n.readValue(i,r);null!=t&&(e[0]=t)}void 0===e[0]&&(e[0]=r),s&&void 0===t&&s.set(e[0])}(0,t.fillWildcards)(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}},"flushKeyframeResolvers",0,function(){o=!0,u(),l(),o=!1}])},46436,47507,75554,e=>{"use strict";var t=e.i(64440),i=e.i(77942),n=e.i(84015),s=e.i(19928),r=e.i(21012);let a=e=>/^0[^.\s]+$/u.test(e);e.s(["isZeroValueString",0,a],47507);var o=e.i(69577),l=e.i(8792),u=e.i(19991),h=e.i(3973);let c=new Set([l.filter,u.mask]);function d(e,t){let i=(0,h.getDefaultValueType)(e);return c.has(i)||(i=o.complex),i.getAnimatableNone?i.getAnimatableNone(t):void 0}e.s(["getAnimatableNone",0,d],75554);let m=new Set(["auto","none","0"]);var p=e.i(44493);class f extends r.KeyframeResolver{constructor(e,t,i,n,s){super(e,t,i,n,s,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:r,name:a}=this;if(!r||!r.current)return;super.readKeyframes();for(let t=0;t<e.length;t++){let i=e[t];if("string"==typeof i&&(i=i.trim(),(0,s.isCSSVariableToken)(i))){let s=(0,n.getVariableValue)(i,r.current);void 0!==s&&(e[t]=s),t===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!t.positionalKeys.has(a)||2!==e.length)return;let[o,l]=e,u=(0,i.findDimensionValueType)(o),h=(0,i.findDimensionValueType)(l);if((0,s.containsCSSVariable)(o)!==(0,s.containsCSSVariable)(l)&&p.positionalValues[a]){this.needsMeasurement=!0;return}if(u!==h)if((0,p.isNumOrPxType)(u)&&(0,p.isNumOrPxType)(h))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else p.positionalValues[a]&&(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||a(n)))&&i.push(t)}i.length&&function(e,t,i){let n,s=0;for(;s<e.length&&!n;){let t=e[s];"string"==typeof t&&!m.has(t)&&(0,o.analyseComplexValue)(t).values.length&&(n=e[s]),s++}if(n&&i)for(let s of t)e[s]=d(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=p.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 s=i.length-1,r=i[s];i[s]=p.positionalValues[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}e.s(["DOMKeyframesResolver",0,f],46436)},63074,e=>{"use strict";e.s(["millisecondsToSeconds",0,e=>e/1e3,"secondsToMilliseconds",0,e=>1e3*e])},70596,33887,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],33887),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 s=0;s<n;s++){let n=this.subscriptions[s];n&&n(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}],70596)},94581,60900,86902,30551,e=>{"use strict";function t(e){let t;return()=>(void 0===t&&(t=e()),t)}e.s(["setStyle",0,function(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}],94581),e.s(["memo",0,t],60900);let i={};function n(e,n){let s=t(e);return()=>i[n]??s()}e.s(["memoSupports",0,n],86902);let s=n(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),r=n(()=>void 0!==window.ViewTimeline,"viewTimeline");e.s(["supportsScrollTimeline",0,s,"supportsViewTimeline",0,r],30551)},14229,e=>{"use strict";let t=e=>null!==e;e.s(["getFinalKeyframe",0,function(e,{repeat:i,repeatType:n="loop"},s,r=1){let a=e.filter(t),o=r<0||i&&"loop"!==n&&i%2==1?0:a.length-1;return o&&void 0!==s?s:a[o]}])},79294,e=>{"use strict";e.s(["WithPromise",0,class{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)}}])},60855,e=>{"use strict";e.s(["isBezierDefinition",0,e=>Array.isArray(e)&&"number"==typeof e[0]])},53396,e=>{"use strict";
1let t=(0,e.i(86902).memoSupports)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");e.s(["supportsLinearEasing",0,t])},56512,e=>{"use strict";e.s(["generateLinearEasing",0,(e,t,i=10)=>{let n="",s=Math.max(Math.round(t/i),2);for(let t=0;t<s;t++)n+=Math.round(1e4*e(t/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}])},35474,e=>{"use strict";var t=e.i(60855),i=e.i(53396),n=e.i(56512);let s=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,r={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:s([0,.65,.55,1]),circOut:s([.55,0,1,.45]),backIn:s([.31,.01,.66,-.59]),backOut:s([.33,1.53,.69,.99])};e.s(["startWaapiAnimation",0,function(e,a,o,{delay:l=0,duration:u=300,repeat:h=0,repeatType:c="loop",ease:d="easeOut",times:m}={},p){let f={[a]:o};m&&(f.offset=m);let g=function e(a,o){if(a)return"function"==typeof a?(0,i.supportsLinearEasing)()?(0,n.generateLinearEasing)(a,o):"ease-out":(0,t.isBezierDefinition)(a)?s(a):Array.isArray(a)?a.map(t=>e(t,o)||r.easeOut):r[a]}(d,u);Array.isArray(g)&&(f.easing=g);let v={delay:l,duration:u,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:h+1,direction:"reverse"===c?"alternate":"normal"};return p&&(v.pseudoElement=p),e.animate(f,v)}],35474)},97307,e=>{"use strict";e.s(["isGenerator",0,function(e){return"function"==typeof e&&"applyToOptions"in e}])},68e3,e=>{"use strict";var t=e.i(65566),i=e.i(63074),n=e.i(60830),s=e.i(94581),r=e.i(30551),a=e.i(14229),o=e.i(79294),l=e.i(35474),u=e.i(53396),h=e.i(97307);class c extends o.WithPromise{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:i,name:n,keyframes:r,pseudoElement:o,allowFlatten:c=!1,finalKeyframe:d,onComplete:m}=e;this.isPseudoElement=!!o,this.allowFlatten=c,this.options=e,(0,t.invariant)("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const p=function({type:e,...t}){return(0,h.isGenerator)(e)&&(0,u.supportsLinearEasing)()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=(0,l.startWaapiAnimation)(i,n,r,p,o),!1===p.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){let e=(0,a.getFinalKeyframe)(r,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(e),(0,s.setStyle)(i,n,e),this.animation.cancel()}m?.(),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,i.millisecondsToSeconds)(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,i.millisecondsToSeconds)(e)}get time(){return(0,i.millisecondsToSeconds)(Number(this.animation.currentTime)||0)}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,i.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:i,observe:s}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&(0,r.supportsScrollTimeline)())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),i&&(this.animation.rangeEnd=i),n.noop):s(this)}}e.s(["NativeAnimation",0,c],68e3)},62118,e=>{"use strict";let t=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);e.s(["acceleratedValues",0,t])},60140,e=>{"use strict";let{schedule:t,cancel:i}=(0,e.i(51571).createRenderBatcher)(queueMicrotask,!1);e.s(["cancelMicrotask",0,i,"microtask",0,t])},96173,e=>{"use strict";let t;var i=e.i(46791),n=e.i(87022);function s(){t=void 0}let r={now:()=>(void 0===t&&r.set(n.frameData.isProcessing||i.MotionGlobalConfig.useManualTiming?n.frameData.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(s)}};e.s(["time",0,r])},25791,e=>{"use strict";e.s(["velocityPerSecond",0,(e,t)=>t?1e3/t*e:0])},86427,e=>{"use strict";var t=e.i(70596),i=e.i(25791),n=e.i(96173),s=e.i(87022);let r={current:void 0};class a{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=n.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=n.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,i){this.events[e]||(this.events[e]=new t.SubscriptionManager);let n=this.events[e].add(i);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 r.current&&r.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=n.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,i.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(["collectMotionValues",0,r,"motionValue",0,function(e,t){return new a(e,t)}])},66538,e=>{"use strict";var t=e.i(79444),i=e.i(69577),n=e.i(77942),s=e.i(84061);
1let r=[...n.dimensionValueTypes,t.color,i.complex];e.s(["findValueType",0,e=>r.find((0,s.testValueType)(e))])},72094,e=>{"use strict";let t=new WeakMap;e.s(["visualElementStore",0,t])},87576,85983,32525,6840,58163,e=>{"use strict";function t(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function i(e){return"string"==typeof e||Array.isArray(e)}e.s(["isAnimationControls",0,t],85983),e.s(["isVariantLabel",0,i],32525);let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...n];function r(e){return t(e.animate)||s.some(t=>i(e[t]))}e.s(["variantPriorityOrder",0,n,"variantProps",0,s],6840),e.s(["isControllingVariants",0,r,"isVariantNode",0,function(e){return!!(r(e)||e.variants)}],87576);var a=e.i(86427),o=e.i(83411);e.s(["updateMotionValuesFromProps",0,function(e,t,i){for(let n in t){let s=t[n],r=i[n];if((0,o.isMotionValue)(s))e.addValue(n,s);else if((0,o.isMotionValue)(r))e.addValue(n,(0,a.motionValue)(s,{owner:e}));else if(r!==s)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(s):t.hasAnimated||t.set(s)}else{let t=e.getStaticValue(n);e.addValue(n,(0,a.motionValue)(void 0!==t?t:s,{owner:e}))}}for(let n in i)void 0===t[n]&&e.removeValue(n);return t}],58163)},86579,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}e.s(["resolveVariantFromProps",0,function(e,i,n,s){if("function"==typeof i){let[r,a]=t(s);i=i(void 0!==n?n:e.custom,r,a)}if("string"==typeof i&&(i=e.variants&&e.variants[i]),"function"==typeof i){let[r,a]=t(s);i=i(void 0!==n?n:e.custom,r,a)}return i}])},94978,17218,e=>{"use strict";var t=e.i(83411),i=e.i(46436);e.i(47167);var n=e.i(63074),s=e.i(72590),r=e.i(47507),a=e.i(70596),o=e.i(21012),l=e.i(68e3),u=e.i(62118),h=e.i(60140),c=e.i(96173),d=e.i(30162),m=e.i(86427),p=e.i(69577),f=e.i(75554),g=e.i(66538),v=e.i(72094),y=e.i(87576),x=e.i(57788),b=e.i(58163),w=e.i(38544),T=e.i(86579),S=e.i(71164),P=e.i(87022);let V=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],E={};class M{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:i,presenceContext:n,reducedMotionConfig:s,skipAnimations:r,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,P.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=s,this.skipAnimationsConfig=r,this.options=u,this.blockInitialAnimation=!!a,this.isControllingVariants=(0,y.isControllingVariants)(i),this.isVariantNode=(0,y.isVariantNode)(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:m,...p}=this.scrapeMotionValuesFromProps(i,{},this);for(const e in p){const i=p[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,v.visualElementStore.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.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(S.hasReducedMotionListener.current||(0,w.initPrefersReducedMotion)(),this.shouldReduceMotion=S.prefersReducedMotion.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,P.cancelFrame)(this.notifyUpdate),(0,P.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:s,times:r,ease:a,duration:o}=t.accelerate,u=new l.NativeAnimation({element:this.current,name:e,keyframes:s,times:r,ease:a,duration:(0,n.secondsToMilliseconds)(o)}),h=i(u);this.valueSubscriptions.set(e,()=>{h(),u.cancel()});return}let s=x.transformProps.has(e);s&&this.onBindTransform&&this.onBindTransform();let r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&P.frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),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 E){let t=E[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];t.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,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<V.length;t++){let i=V[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=(0,b.updateMotionValuesFromProps)(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,m.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];return null!=n&&("string"==typeof n&&((0,s.isNumericalString)(n)||(0,r.isZeroValueString)(n))?n=p
1arseFloat(n):!(0,g.findValueType)(n)&&p.complex.test(i)&&(n=(0,f.getAnimatableNone)(e,i)),this.setBaseTarget(e,(0,t.isMotionValue)(n)?n.get():n)),(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,T.resolveVariantFromProps)(this.props,n,this.presenceContext?.custom);t&&(i=t[e])}if(n&&void 0!==i)return i;let s=this.getBaseTargetFromProps(this.props,e);return void 0===s||(0,t.isMotionValue)(s)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:s}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,M,"getFeatureDefinitions",0,function(){return E},"setFeatureDefinitions",0,function(e){E=e}],17218),e.s(["DOMVisualElement",0,class extends M{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}`)}))}}],94978)},93787,e=>{"use strict";e.s(["camelToDash",0,function(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}])},81261,44947,38698,99951,49095,88826,95051,91018,e=>{"use strict";let t=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var i=e.i(34929),n=e.i(57788),s=e.i(19928);let r={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=n.transformPropOrder.length;function o(e,o,l){let{style:u,vars:h,transformOrigin:c}=e,d=!1,m=!1;for(let e in o){let r=o[e];if(n.transformProps.has(e)){d=!0;continue}if((0,s.isCSSVariableName)(e)){h[e]=r;continue}{let n=t(r,i.numberValueTypes[e]);e.startsWith("origin")?(m=!0,c[e]=n):u[e]=n}}if(!o.transform&&(d||l?u.transform=function(e,s,o){let l="",u=!0;for(let h=0;h<a;h++){let a=n.transformPropOrder[h],c=e[a];if(void 0===c)continue;let d=!0;if("number"==typeof c)d=c===+!!a.startsWith("scale");else{let e=parseFloat(c);d=a.startsWith("scale")?1===e:0===e}if(!d||o){let e=t(c,i.numberValueTypes[a]);if(!d){u=!1;let t=r[a]||a;l+=`${t}(${e}) `}o&&(s[a]=e)}}let h=e.pathRotation;return h&&(u=!1,l+=`rotate(${t(h,i.numberValueTypes.pathRotation)}) `),l=l.trim(),o?l=o(s,u?"":l):u&&(l="none"),l}(o,e.transform,l):u.transform&&(u.transform="none")),m){let{originX:e="50%",originY:t="50%",originZ:i=0}=c;u.transformOrigin=`${e} ${t} ${i}`}}e.s(["buildHTMLStyles",0,o],44947);let l={offset:"stroke-dashoffset",array:"stroke-dasharray"},u={offset:"strokeDashoffset",array:"strokeDasharray"},h=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];e.s(["buildSVGAttrs",0,function(e,{attrX:t,attrY:i,attrScale:n,pathLength:s,pathSpacing:r=1,pathOffset:a=0,...c},d,m,p){if(o(e,c,m),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:g}=e;for(let e of h)void 0!==f[e]&&(g[e]=f[e],delete f[e]);(g.transform||f.transformOrigin)&&(g.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),g.transform&&(g.transformBox=p?.transformBox??"fill-box",delete f.transformBox),void 0!==t&&(f.x=t),void 0!==i&&(f.y=i),void 0!==n&&(f.scale=n),void 0!==s&&function(e,t,i=1,n=0,s=!0){e.pathLength=1;let r=s?l:u;e[r.offset]=`${-n}`,e[r.array]=`${t} ${i}`}(f,s,r,a,!1)},"cssStyleProperties",0,h],81261);let c=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,c],38698),e.s(["isSVGTag",0,e=>"string"==typeof e&&"svg"===e.toLowerCase()],99951);var d=e.i(93787);function m(e,{style:t,vars:i},n,s){let r,a=e.style;for(r in t)a[r]=t[r];for(r in s?.applyProjectionStyles(a,n),i)a.setProperty(r,i[r])}e.s(["renderHTML",0,m],49095),e.s(["renderSVG",0,function(e,t,i,n){for(let i in m(e,t,void 0,n),t.attrs)e.setAttribute(c.has(i)?i:(0,d.camelToDash)(i),t.attrs[i])}],88826),e.s(["cornerRadiusProps",0,["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]],95051);var p=e.i(65091);function f(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let g={correct:(e,t)=>
1{if(!t.target)return e;if("string"==typeof e)if(!p.px.test(e))return e;else e=parseFloat(e);let i=f(e,t.target.x),n=f(e,t.target.y);return`${i}% ${n}%`}};e.s(["correctBorderRadius",0,g],91018)},706,e=>{"use strict";e.s(["mixNumber",0,(e,t,i)=>e+(t-e)*i])},54505,24463,75737,27677,77777,35636,53689,86783,44966,31178,48070,37806,88291,82474,8576,33871,21476,47414,11805,1664,76948,13565,21967,83640,e=>{"use strict";var t=e.i(57788),i=e.i(3973),n=e.i(30162),s=e.i(94978),r=e.i(93787),a=e.i(81261),o=e.i(38698),l=e.i(99951),u=e.i(88826),h=e.i(83411),c=e.i(19928),d=e.i(95051),m=e.i(91018),p=e.i(69577),f=e.i(706);let g={borderRadius:{...m.correctBorderRadius,applyTo:[...d.cornerRadiusProps]},borderTopLeftRadius:m.correctBorderRadius,borderTopRightRadius:m.correctBorderRadius,borderBottomLeftRadius:m.correctBorderRadius,borderBottomRightRadius:m.correctBorderRadius,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=p.complex.parse(e);if(n.length>5)return e;let s=p.complex.createTransformer(e),r=+("number"!=typeof n[0]),a=i.x.scale*t.x,o=i.y.scale*t.y;n[0+r]/=a,n[1+r]/=o;let l=(0,f.mixNumber)(a,o,.5);return"number"==typeof n[2+r]&&(n[2+r]/=l),"number"==typeof n[3+r]&&(n[3+r]/=l),s(n)}}};function v(e,{layout:i,layoutId:n}){return t.transformProps.has(e)||e.startsWith("origin")||(i||void 0!==n)&&(!!g[e]||"opacity"===e)}function y(e,t,i){let n=e.style,s=t?.style,r={};if(!n)return r;for(let t in n)((0,h.isMotionValue)(n[t])||s&&(0,h.isMotionValue)(s[t])||v(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(r[t]=n[t]);return r}function x(e,i,n){let s=y(e,i,n);for(let n in e)((0,h.isMotionValue)(e[n])||(0,h.isMotionValue)(i[n]))&&(s[-1!==t.transformPropOrder.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return s}e.s(["scaleCorrectors",0,g],24463);class b extends s.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}if(a.cssStyleProperties.includes(n)){let t=getComputedStyle(e)[n];if("string"==typeof t&&t)return t.trim()}return n=o.camelCaseAttributes.has(n)?n:(0,r.camelToDash)(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,t,i){return x(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,b],75737);var w=e.i(65566),T=e.i(81296);function S({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function P(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}}function V(e){return void 0===e||1===e}function E({scale:e,scaleX:t,scaleY:i}){return!V(e)||!V(t)||!V(i)}function M(e){return E(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}e.s(["convertBoundingBoxToBox",0,S,"convertBoxToBoundingBox",0,function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}},"transformBoxPoints",0,P],27677);function C(e,t,i){return i+t*(e-i)}function D(e,t,i,n,s){return void 0!==s&&(e=C(e,s,n)),C(e,i,n)+t}function k(e,t=0,i=1,n,s){e.min=D(e.min,t,i,n,s),e.max=D(e.max,t,i,n,s)}function R(e,{x:t,y:i}){k(e.x,t.translate,t.scale,t.originPoint),k(e.y,i.translate,i.scale,i.originPoint)}function j(e,t){e.min+=t,e.max+=t}function L(e,t,i,n,s=.5){let r=(0,f.mixNumber)(e.min,e.max,s);k(e,t,i,r,n)}function B(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function O(e,t,i){let n=i??e;L(e.x,B(t.x,n.x),t.scaleX,t.scale,t.originX),L(e.y,B(t.y,n.y),t.scaleY,t.scale,t.originY)}function I(e,t){return S(P(e.getBoundingClientRect(),t))}e.s(["has2DTranslate",0,A,"hasScale",0,E,"hasTransform",0,M],77777),e.s(["applyBoxDelta",0,R,"applyTreeDeltas",0,function(e,t,i,n=!1){let s,r,a=i.length;if(a){t.x=t.y=1;for(let o=0;o<a;o++){r=(s=i[o]).projectionDelta;let{visualElement:a}=s.options;
1(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(j(e.x,-s.scroll.offset.x),j(e.y,-s.scroll.offset.y)),r&&(t.x*=r.x.scale,t.y*=r.y.scale,R(e,r)),n&&M(s.latestValues)&&O(e,s.latestValues,s.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}},"scalePoint",0,C,"transformBox",0,O,"translateAxis",0,j],35636),e.s(["measurePageBox",0,function(e,t,i){let n=I(e,i),{scroll:s}=t;return s&&(j(n.x,s.offset.x),j(n.y,s.offset.y)),n},"measureViewportBox",0,I],53689);var F=s,N=e.i(44947),_=e.i(49095);class W extends F.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=_.renderHTML}mount(e){(0,w.invariant)(!!e.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(e)}readValueFromInstance(e,i){if(t.transformProps.has(i))return this.projection?.isProjecting?(0,T.defaultTransformValue)(i):(0,T.readTransformValue)(e,i);{let t=window.getComputedStyle(e),n=((0,c.isCSSVariableName)(i)?t.getPropertyValue(i):t[i])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return I(e,t)}build(e,t,i){(0,N.buildHTMLStyles)(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return y(e,t,i)}}e.s(["HTMLVisualElement",0,W],86783);var z=e.i(71645);let U=["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 $(e){if("string"!=typeof e||e.includes("-"));else if(U.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}e.s(["isSVGComponent",0,$],44966),e.s(["createDomVisualElement",0,(e,t)=>t.isSVG??$(e)?new b(t):new W(t,{allowProjection:e!==z.Fragment})],54505);let G=(0,z.createContext)({});e.s(["LayoutGroupContext",0,G],31178);let H=(0,z.createContext)({strict:!1});e.s(["LazyContext",0,H],48070);let K=(0,z.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",0,K],37806);let X=(0,z.createContext)({});e.s(["MotionContext",0,X],88291);var Y=e.i(87576),q=e.i(32525);function Z(e){return Array.isArray(e)?e.join(" "):e}e.s(["useCreateMotionContext",0,function(e){let{initial:t,animate:i}=function(e,t){if((0,Y.isControllingVariants)(e)){let{initial:t,animate:i}=e;return{initial:!1===t||(0,q.isVariantLabel)(t)?t:void 0,animate:(0,q.isVariantLabel)(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,z.useContext)(X));return(0,z.useMemo)(()=>({initial:t,animate:i}),[Z(t),Z(i)])}],82474);let J=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Q(e,t,i){for(let n in t)(0,h.isMotionValue)(t[n])||v(n,i)||(e[n]=t[n])}let ee=()=>({...J(),attrs:{}}),et=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 ei(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||et.has(e)}function en(e){return(0,h.isMotionValue)(e)?e.get():e}e.s(["useRender",0,function(e,t,i,{latestValues:n},s,r=!1,o,u){let c=(o??$(e)?function(e,t,i,n){let s=(0,z.useMemo)(()=>{let i=ee();return(0,a.buildSVGAttrs)(i,t,(0,l.isSVGTag)(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};Q(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,t){let i,n,s={},r=(i=e.style||{},Q(n={},i,e),Object.assign(n,function({transformTemplate:e},t){return(0,z.useMemo)(()=>{let i=J();return(0,N.buildHTMLStyles)(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.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=r,s})(t,n,s,e),d=function(e,t,i,n){let s={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&!(0,h.isMotionValue)(e[r])&&((r.startsWith("on")?!ei(r):n?.(r)??!ei(r))||!0===i&&ei(r)||!t&&!ei(r)||e.draggable&&r.startsWith("onDrag"))&&(s[r]=e[r]);return s}(t,"string"==typeof e,r,u),m=e!==z.Fragment?{...d,...c,ref:i}:{},{children:p}=t,f=(0,z.useMemo)(()=>(0,h.isMotionValue)(p)?p.get():p,[p]);return(0,z.createElement)(e,{...m,children:f})}],8576),e.s(["resolveMotionValue",0,en],33871);var es=e.i(85983),er=e.i(86579);let ea=(0,z.createContext)(null);function eo(e){let t=(0,z.useRef)(null);return null===t.current&&(t.current=e()),t.current}e.s(["PresenceContext",0,ea],21476),e.s(["useConstant",0,eo],47414);let el=e=>(t,i)=>{let n=(0,z.useContext)(X),s=(0,z.useContext)(ea),r=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,n,s){return{latestValues:function(e,t,i,n){let s={},r=n(e,{});for(let e in r)s[e]=en(r[e]);let{initial:a,animate:o}=e,l=(0,Y.isControllingVariants)(e),u=(0,Y.isVariantNode)(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===o&&(o=t.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===a)?o:a;if(c&&"boolean"!=typeof c&&!(0,es.isAnimationControls)(c)){let t=Array.isArray(c)?c:[c];for(let i=0;i<t.length;i++){let n=(0,er.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=h?t.length-1:0;t=t[e]}null!==t&&(s[e]=t)}for(let t in e)s[t]=e[t]}}}return s}(i,n,s,e),renderState:t()}})(e,t,n,s);return i?r():eo(r)},eu=el({scrapeMotionValuesFromProps:y,createRenderState:J});e.s(["useHTMLVisualState",0,eu],11805);let eh=el({scrapeMotionValuesFromProps:x,createRenderState:ee});e.s(["useSVGVisualState",0,eh],1664);var ec=e.i(17218);let ed={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"]},em=!1;function ep(){return!function(){if(em)return;let e={};for(let t in ed)e[t]={isEnabled:e=>ed[t].some(t=>!!e[t])};(0,ec.setFeatureDefinitions)(e),em=!0}(),(0,ec.getFeatureDefinitions)()}e.s(["getInitializedFeatureDefinitions",0,ep],76948),e.s(["loadFeatures",0,function(e){let t=ep();for(let i in e)t[i]={...t[i],...e[i]};(0,ec.setFeatureDefinitions)(t)}],13565);let ef=Symbol.for("motionComponentSymbol");e.s(["motionComponentSymbol",0,ef],21967),e.s(["useMotionRef",0,function(e,t,i){let n=(0,z.useRef)(i);(0,z.useInsertionEffect)(()=>{n.current=i});let s=(0,z.useRef)(null);return(0,z.useCallback)(i=>{i&&e.onMount?.(i),t&&(i?t.mount(i):t.unmount());let r=n.current;if("function"==typeof r)if(i){let e=r(i);"function"==typeof e&&(s.current=e)}else s.current?(s.current(),s.current=null):r(i);else r&&(r.current=i)},[t])}],83640)},35043,e=>{"use strict";let t="data-"+(0,e.i(93787).camelToDash)("framerAppearId");e.s(["optimizedAppearDataAttribute",0,t])},7051,4035,25522,74008,42098,e=>{"use strict";e.i(47167);var t=e.i(43476),i=e.i(71645),n=e.i(31178),s=e.i(48070),r=e.i(37806),a=e.i(88291),o=e.i(82474),l=e.i(8576),u=e.i(44966),h=e.i(11805),c=e.i(1664),d=e.i(76948),m=e.i(13565),p=e.i(21967),f=e.i(83640),g=e.i(35043),v=e.i(21476);let y=(0,i.createContext)({});function x(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}e.s(["SwitchLayoutGroupContext",0,y],4035),e.s(["isRefObject",0,x],25522);let b="u">typeof window?i.useLayoutEffect:i.useEffect;function w(e,{forwardMotionProps:T=!1,type:S}={},P,V){P&&(0,m.loadFeatures)(P);let E=S?"svg"===S:(0,u.isSVGComponent)(e),M=E?c.useSVGVisualState:h.useHTMLVisualState;function A(u,h){let c,m={...(0,i.useContext)(r.MotionConfigContext),...u,layoutId:function({layoutId:e}){let t=(0,i.useContext)(n.LayoutGroupContext).id;return t&&void 0!==e?t+"-"+e:e}(u)},{isStatic:p,isValidProp:w}=m,S=(0,o.useCreateMotionContext)(u),P=M(u,p);if(!p&&"u">typeof window){(0,i.useContext)(s.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}}
1(m);c=t.MeasureLayout,S.visualElement=function(e,t,n,o,l,u){let{visualElement:h}=(0,i.useContext)(a.MotionContext),c=(0,i.useContext)(s.LazyContext),d=(0,i.useContext)(v.PresenceContext),m=(0,i.useContext)(r.MotionConfigContext),p=m.reducedMotion,f=m.skipAnimations,w=(0,i.useRef)(null),T=(0,i.useRef)(!1);o=o||c.renderer,!w.current&&o&&(w.current=o(e,{visualState:t,parent:h,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p,skipAnimations:f,isSVG:u}),T.current&&w.current&&(w.current.manuallyAnimateOnMount=!0));let S=w.current,P=(0,i.useContext)(y);S&&!S.projection&&l&&("html"===S.type||"svg"===S.type)&&function(e,t,i,n){let{layoutId:s,layout:r,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:s,layout:r,alwaysMeasureLayout:!!a||o&&x(o),visualElement:e,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(w.current,n,l,P);let V=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{S&&V.current&&S.update(n,d)});let E=n[g.optimizedAppearDataAttribute],M=(0,i.useRef)(!!E&&"u">typeof window&&!window.MotionHandoffIsComplete?.(E)&&window.MotionHasOptimisedAnimation?.(E));return b(()=>{T.current=!0,S&&(V.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),M.current&&S.animationState&&S.animationState.animateChanges())}),(0,i.useEffect)(()=>{S&&(!M.current&&S.animationState&&S.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(E)}),M.current=!1),S.enteringChildren=void 0)}),S}(e,P,m,V,t.ProjectionNode,E)}return(0,t.jsxs)(a.MotionContext.Provider,{value:S,children:[c&&S.visualElement?(0,t.jsx)(c,{visualElement:S.visualElement,...m}):null,(0,l.useRender)(e,u,(0,f.useMotionRef)(P,S.visualElement,h),P,p,T,E,w)]})}A.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let C=(0,i.forwardRef)(A);return C[p.motionComponentSymbol]=e,C}e.s(["useIsomorphicLayoutEffect",0,b],74008),e.s(["createMotionProxy",0,function(e,t){if("u"<typeof Proxy)return w;let i=new Map,n=(i,n)=>w(i,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,w(r,void 0,e,t)),i.get(r))})}],7051),e.s(["Feature",0,class{constructor(e){this.isMounted=!1,this.node=e}update(){}}],42098)},18812,e=>{"use strict";var t=e.i(86579);e.s(["resolveVariant",0,function(e,i,n){let s=e.getProps();return(0,t.resolveVariantFromProps)(s,i,void 0!==n?n:s.custom,e)}])},87333,53034,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],53034),e.s(["getValueTransition",0,function(e,i){let n=e?.[i]??e?.default??e;return n!==e?t(n,e):n}],87333)},47834,73615,80538,e=>{"use strict";var t=e.i(86427),i=e.i(18812);let n=e=>Array.isArray(e);e.s(["isKeyframesTarget",0,n],73615),e.s(["setTarget",0,function(e,s){let{transitionEnd:r={},transition:a={},...o}=(0,i.resolveVariant)(e,s)||{};for(let i in o={...o,...r}){var l;let s=n(l=o[i])?l[l.length-1]||0:l;e.hasValue(i)?e.getValue(i).set(s):e.addValue(i,(0,t.motionValue)(s))}}],47834);var s=e.i(46791),r=e.i(83411);e.s(["addValueToWillChange",0,function(e,t){let i=e.getValue("willChange");if((0,r.isMotionValue)(i)&&i.add)return i.add(t);if(!i&&s.MotionGlobalConfig.WillChange){let i=new s.MotionGlobalConfig.WillChange("auto");e.addValue("willChange",i),i.add(t)}}],80538)},16896,e=>{"use strict";var t=e.i(35043);e.s(["getOptimisedAppearId",0,function(e){return e.props[t.optimizedAppearDataAttribute]}])},38638,e=>{"use strict";e.s(["pipe",0,(...e)=>e.reduce((e,t)=>i=>t(e(i)))])},3163,69308,e=>{"use strict";var t=e.i(38638),i=e.i(65566),n=e.i(19928),s=e.i(79444),r=e.i(69577),a=e.i(63011),o=e.i(22660);function l(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}var u=e.i(66820);function h(e,t){return i=>i>0?t:e}var c=e.i(706);let d=(e,t,i)=>{let n=e*e,s=i*(t*t-n)+n;return s<0?0:Math.sqrt(s)},m=[a.hex,u.rgba,o.hsla];function p(e){let t=m.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=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let s=0,r=0,a=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,o=2*i-n;s=l(o,n,e+1/3),r=l(o,n,e),a=l(o,n,e-1/3)}else s=r=a=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*a),alpha:n}}(n)),n}let f=(e,t)=>{let i=p(e),n=p(t);if(!i||!n)return h(e,t);let s={...i};return e=>(s.red=d(i.red,n.red,e),s.green=d(i.green,n.green,e),s.blue=d(i.blue,n.blue,e),s.alpha=(0,c.mixNumber)(i.alpha,n.alpha,e),u.rgba.transform(s))},g=new Set(["none","hidden"]);function v(e,t){return i=>(0,c.mixNumber)(e,t,i)}function y(e){return"number"==typeof e?v:"string"==typeof e?(0,n.isCSSVariableToken)(e)?h:s.color.test(e)?f:w:Array.isArray(e)?x:"object"==typeof e?s.color.test(e)?f:b:h}function x(e,t){let i=[...e],n=i.length,s=e.map((e,i)=>y(e)(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=s[t](e);return i}}function b(e,t){let i={...e,...t},n={};for(let s in i)void 0!==e[s]&&void 0!==t[s]&&(n[s]=y(e[s])(e[s],t[s]));return e=>{for(let t in n)i[t]=n[t](e);return i}}let w=(e,n)=>{let s=r.complex.createTransformer(n),a=(0,r.analyseComplexValue)(e),o=(0,r.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}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),h(e,n);if(g.has(e)&&!o.values.length||g.has(n)&&!a.values.length)return g.has(e)?t=>t<=0?e:n:t=>t>=1?n:e;return(0,t.pipe)(x(function(e,t){let i=[],n={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let r=t.types[s],a=e.indexes[r][n[r]],o=e.values[a]??0;i[s]=o,n[r]++}return i}(a,o),o.values),s)};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)}],3163);var T=e.i(96173),S=e.i(87022);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:T.time.now()}}],69308)},28409,66857,21748,e=>{"use strict";var t=e.i(63074),i=e.i(76959),n=e.i(65566),s=e.i(56512);function r(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}function a(e,i=100,n){let s=n({...e,keyframes:[0,i]}),o=Math.min(r(s),2e4);return{type:"keyframes",ease:e=>s.next(o*e).value/i,duration:(0,t.millisecondsToSeconds)(o)}}e.s(["calcGeneratorDuration",0,r,"maxGeneratorDuration",0,2e4],66857),e.s(["createGeneratorEasing",0,a],21748);let o=.01,l=2,u=.005,h=.5;function c(e,t){return e*Math.sqrt(1-t*t)}let d=["duration","bounce"],m=["stiffness","damping","mass"];function p(e,t){return t.some(t=>void 0!==e[t])}function f(e=.3,a=.3){let g,v,y,x,b,w,T="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:a}:e,{restSpeed:S,restDelta:P}=T,V=T.keyframes[0],E=T.keyframes[T.keyframes.length-1],M={done:!1,value:V},{stiffness:A,damping:C,mass:D,duration:k,velocity:R,isResolvedFromDuration:j}=function(e){let s={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!p(e,m)&&p(e,d))if(s.velocity=0,e.visualDuration){let t=2*Math.PI/(1.2*e.visualDuration),n=t*t,r=2*(0,i.clamp)(.05,1,1-(e.bounce||0))*Math.sqrt(n);s={...s,mass:1,stiffness:n,damping:r}}else{let r=function({duration:e=800,bounce:s=.3,velocity:r=0,mass:a=1}){let o,l;(0,n.warning)(e<=(0,t.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let u=1-s;u=(0,i.clamp)(.05,1,u),e=(0,i.clamp)(.01,10,(0,t.millisecondsToSeconds)(e)),u<1?(o=t=>{let i=t*u,n=i*e;return .001-(i-r)/c(t,u)*Math.exp(-n)},l=t=>{let i=t*u*e,n=Math.pow(u,2)*Math.pow(t,2)*e,s=Math.exp(-i),a=c(Math.pow(t,2),u);return(i*r+r-n)*s*(-o(t)+.001>0?-1:1)/a}):(o=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),l=t=>e*e*(r-t)*Math.exp(-t*e));let h=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(o,l,5/e);if(e=(0,t.secondsToMilliseconds)(e),isNaN(h))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(h,2)*a;return{stiffness:t,damping:2*u*Math.sqrt(a*t),duration:e}}}({...e,velocity:0});(s={...s,...r,mass:1}).isResolvedFromDuration=!0}return s}({...T,velocity:-(0,t.millisecondsToSeconds)(T.velocity||0)}),L=R||0,B=C/(2*Math.sqrt(A*D)),O=E-V,I=(0,t.millisecondsToSeconds)(Math.sqrt(A/D)),F=5>Math.abs(O);if(S||(S=F?o:l),P||(P=F?u:h),B<1)y=c(I,B),x=(L+B*I*O)/y,g=e=>E-Math.exp(-B*I*e)*(x*Math.sin(y*e)+O*Math.cos(y*e)),b=B*I*x+O*y,w=B*I*O-x*y,v=e=>Math.exp(-B*I*e)*(b*Math.sin(y*e)+w*Math.cos(y*e));else if(1===B){g=e=>E-Math.exp(-I*e)*(O+(L+I*O)*e);let e=L+I*O;v=t=>Math.exp(-I*t)*(I*e*t-L)}else{let e=I*Math.sqrt(B*B-1);g=t=>{let i=Math.exp(-B*I*t),n=Math.min(e*t,300);return E-i*((L+B*I*O)*Math.sinh(n)+e*O*Math.cosh(n))/e};let t=(L+B*I*O)/e,i=B*I*t-O*e,n=B*I*O-t*e;v=t=>{let s=Math.exp(-B*I*t),r=Math.min(e*t,300);return s*(i*Math.sinh(r)+n*Math.cosh(r))}}let N={calculatedDuration:j&&k||null,velocity:e=>(0,t.secondsToMilliseconds)(v(e)),next:e=>{if(!j&&B<1){let i=Math.exp(-B*I*e),n=Math.sin(y*e),s=Math.cos(y*e),r=E-i*(x*n+O*s);return M.done=Math.abs((0,t.secondsToMilliseconds)(i*(b*n+w*s)))<=S&&Math.abs(E-r)<=P,M.value=M.done?E:r,M}let i=g(e);return j?M.done=e>=k:M.done=Math.abs((0,t.secondsToMilliseconds)(v(e)))<=S&&Math.abs(E-i)<=P,M.value=M.done?E:i,M},toString:()=>{let e=Math.min(r(N),2e4),t=(0,s.generateLinearEasing)(t=>N.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return N}f.applyToOptions=e=>{let i=a(e,100,f);return e.ease=i.ease,e.duration=(0,t.secondsToMilliseconds)(i.duration),e.type="keyframes",e},e.s(["spring",0,f],28409)},29462,12008,40254,37025,e=>{"use strict";var t=e.i(28409),i=e.i(25791);function n(e,t,n){let s=Math.max(t-5,0);return(0,i.velocityPerSecond)(n-e(s),t-s)}e.s(["getGeneratorVelocity",0,n],12008),e.s(["inertia",0,function({keyframes:e,velocity:i=0,power:s=.8,timeConstant:r=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:l,min:u,max:h,restDelta:c=.5,restSpeed:d}){let m,p,f=e[0],g={done:!1,value:f},v=s*i,y=f+v,x=void 0===l?y:l(y);x!==y&&(v=x-f);let b=e=>-v*Math.exp(-e/r),w=e=>x+b(e),T=e=>{let t=b(e),i=w(e);g.done=Math.abs(t)<=c,g.value=g.done?x:i},S=e=>{let i;if(i=g.value,void 0!==u&&i<u||void 0!==h&&i>h){var s;m=e,p=(0,t.spring)({keyframes:[g.value,(s=g.value,void 0===u?h:void 0===h||Math.abs(u-s)<Math.abs(h-s)?u:h)],velocity:n(w,e,g.value),damping:a,stiffness:o,restDelta:c,restSpeed:d})}};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(p||void 0!==m||(t=!0,T(e),S(e)),void 0!==m&&e>
1=m)?p.next(e-m):(t||T(e),g)}}}],29462);var s=e.i(60830);let r=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function a(e,t,i,n){return e===t&&i===n?s.noop:s=>0===s||1===s?s:r(function(e,t,i,n,s){let a,o,l=0;do(a=r(o=t+(i-t)/2,n,s)-e)>0?i=o:t=o;while(Math.abs(a)>1e-7&&++l<12)return o}(s,0,1,e,i),t,n)}e.s(["cubicBezier",0,a],40254);let o=a(.42,0,1,1),l=a(0,0,.58,1),u=a(.42,0,.58,1);e.s(["easeIn",0,o,"easeInOut",0,u,"easeOut",0,l],37025)},93544,e=>{"use strict";e.s(["isEasingArray",0,e=>Array.isArray(e)&&"number"!=typeof e[0]])},70165,e=>{"use strict";e.s(["mirrorEasing",0,e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2])},30151,e=>{"use strict";e.s(["reverseEasing",0,e=>t=>1-e(1-t)])},78047,41980,91559,e=>{"use strict";var t=e.i(40254),i=e.i(70165),n=e.i(30151);let s=(0,t.cubicBezier)(.33,1.53,.69,.99),r=(0,n.reverseEasing)(s),a=(0,i.mirrorEasing)(r);e.s(["backIn",0,r,"backInOut",0,a,"backOut",0,s],41980),e.s(["anticipate",0,e=>e>=1?1:(e*=2)<1?.5*r(e):.5*(2-Math.pow(2,-10*(e-1)))],78047);let o=e=>1-Math.sin(Math.acos(e)),l=(0,n.reverseEasing)(o),u=(0,i.mirrorEasing)(o);e.s(["circIn",0,o,"circInOut",0,u,"circOut",0,l],91559)},32943,e=>{"use strict";var t=e.i(65566),i=e.i(60830),n=e.i(78047),s=e.i(41980),r=e.i(91559),a=e.i(40254),o=e.i(37025),l=e.i(60855);let u={linear:i.noop,easeIn:o.easeIn,easeInOut:o.easeInOut,easeOut:o.easeOut,circIn:r.circIn,circInOut:r.circInOut,circOut:r.circOut,backIn:s.backIn,backInOut:s.backInOut,backOut:s.backOut,anticipate:n.anticipate};e.s(["easingDefinitionToFunction",0,e=>{if((0,l.isBezierDefinition)(e)){(0,t.invariant)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[i,n,s,r]=e;return(0,a.cubicBezier)(i,n,s,r)}return"string"==typeof e?((0,t.invariant)(void 0!==u[e],`Invalid easing type '${e}'`,"invalid-easing-type"),u[e]):e}])},83920,e=>{"use strict";e.s(["progress",0,(e,t,i)=>{let n=t-e;return n?(i-e)/n:1}])},44230,e=>{"use strict";var t=e.i(65566),i=e.i(76959),n=e.i(46791),s=e.i(60830),r=e.i(38638),a=e.i(83920),o=e.i(3163);e.s(["interpolate",0,function(e,l,{clamp:u=!0,ease:h,mixer:c}={}){let d=e.length;if((0,t.invariant)(d===l.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>l[0];if(2===d&&l[0]===l[1])return()=>l[1];let m=e[0]===e[1];e[0]>e[d-1]&&(e=[...e].reverse(),l=[...l].reverse());let p=function(e,t,i){let a=[],l=i||n.MotionGlobalConfig.mix||o.mix,u=e.length-1;for(let i=0;i<u;i++){let n=l(e[i],e[i+1]);if(t){let e=Array.isArray(t)?t[i]||s.noop:t;n=(0,r.pipe)(e,n)}a.push(n)}return a}(l,h,c),f=p.length,g=t=>{if(m&&t<e[0])return l[0];let i=0;if(f>1)for(;i<e.length-2&&!(t<e[i+1]);i++);let n=(0,a.progress)(e[i],e[i+1],t);return p[i](n)};return u?t=>g((0,i.clamp)(e[0],e[d-1],t)):g}])},15923,15932,e=>{"use strict";var t=e.i(83920),i=e.i(706);function n(e,n){let s=e[e.length-1];for(let r=1;r<=n;r++){let a=(0,t.progress)(0,n,r);e.push((0,i.mixNumber)(s,1,a))}}e.s(["fillOffset",0,n],15932),e.s(["defaultOffset",0,function(e){let t=[0];return n(t,e.length-1),t}],15923)},68514,e=>{"use strict";var t=e.i(37025),i=e.i(93544),n=e.i(32943),s=e.i(44230),r=e.i(15923);e.s(["keyframes",0,function({duration:e=300,keyframes:a,times:o,ease:l="easeInOut"}){var u;let h=(0,i.isEasingArray)(l)?l.map(n.easingDefinitionToFunction):(0,n.easingDefinitionToFunction)(l),c={done:!1,value:a[0]},d=(u=o&&o.length===a.length?o:(0,r.defaultOffset)(a),u.map(t=>t*e)),m=(0,s.interpolate)(d,a,{ease:Array.isArray(h)?h:a.map(()=>h||t.easeInOut).splice(0,a.length-1)});return{calculatedDuration:e,next:t=>(c.value=m(t),c.done=t>=e,c)}}],68514)},44573,e=>{"use strict";var t=e.i(29462),i=e.i(68514),n=e.i(28409);let s={decay:t.inertia,inertia:t.inertia,tween:i.keyframes,keyframes:i.keyframes,spring:n.spring};e.s(["replaceTransitionType",0,function(e){"string"==typeof e.type&&(e.type=s[e.type])}])},83352,e=>{"use strict";var t=e.i(38638),i=e.i(76959),n=e.i(63074),s=e.i(96173),r=e.i(3163),a=e.i(69308),o=e.i(29462),l=e.i(68514),u=e.i(66857),h=e.i(12008),c=e.i(14229),d=e.i(44573),m=e.i(79294);let p=e=>e/100;class f extends m.WithPromise{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!==s.time.now()&&this.tick(s.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;(0,d.replaceTransitionType)(e);let{type:i=l.keyframes,repeat:n=0,repeatDelay:s=0,repeatType:a,velocity:o=0}=e,{keyframes:h}=e,c=i||l.keyframes;c!==l.keyframes&&"number"!=typeof h[0]&&(this.mixKeyframes=(0,t.pipe)(p,(0,r.mix)(h[0],h[1])),h=[0,100]);let m=c({...e,keyframes:h});"mirror"===a&&(this.mirroredGenerator=c({...e,keyframes:[...h].reverse(),velocity:-o})),null===m.calculatedDuration&&(m.calculatedDuration=(0,u.calcGeneratorDuration)(m));let{calculatedDuration:f}=m;this.calculatedDuration=f,this.resolvedDuration=f+s,this.totalDuration=this.resolvedDuration*(n+1)-s,this.generator=m}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:s,totalDuration:r,mixKeyframes:a,mirroredGenerator:l,resolvedDuration:u,calculatedDuration:h}=this;if(null===this.startTime)return s.next(0);let{delay:d=0,keyframes:m,repeat:p,repeatType:f,repeatDelay:g,type:v,onUpdate:y,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let b=this.currentTime-d*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?b<0:b>r;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let T=this.currentTime,S=s;
1if(p){let e=Math.min(this.currentTime,r)/u,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,p+1))%2&&("reverse"===f?(n=1-n,g&&(n-=g/u)):"mirror"===f&&(S=l)),T=(0,i.clamp)(0,1,n)*u}w?(this.delayState.value=m[0],n=this.delayState):n=S.next(T),a&&!w&&(n.value=a(n.value));let{done:P}=n;w||null===h||(P=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let V=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return V&&v!==o.inertia&&(n.value=(0,c.getFinalKeyframe)(m,this.options,x,this.speed)),y&&y(n.value),V&&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(0,h.getGeneratorVelocity)(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(s.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(s.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)}}e.s(["JSAnimation",0,f])},92464,55489,43116,e=>{"use strict";var t=e.i(76959),i=e.i(96173),n=e.i(94581),s=e.i(83352),r=e.i(68e3),a=e.i(44573),o=e.i(91559),l=e.i(41980);let u={anticipate:e.i(78047).anticipate,backInOut:l.backInOut,circInOut:o.circInOut};class h extends r.NativeAnimation{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in u&&(e.ease=u[e.ease])}(e),(0,a.replaceTransitionType)(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:r,onUpdate:a,onComplete:o,element:l,...u}=this.options;if(!r)return;if(void 0!==e)return void r.set(e);let h=new s.JSAnimation({...u,autoplay:!1}),c=Math.max(10,i.time.now()-this.startTime),d=(0,t.clamp)(0,10,c-10),m=h.sample(c).value,{name:p}=this.options;l&&p&&(0,n.setStyle)(l,p,m),r.setWithVelocity(h.sample(Math.max(0,c-d)).value,m,d),h.stop()}}e.s(["NativeAnimationExtended",0,h],92464);var c=e.i(65566),d=e.i(97307),m=e.i(69577);let p=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(m.complex.test(e)||"0"===e)&&!e.startsWith("url("));e.s(["canAnimate",0,function(e,t,i,n){let s=e[0];if(null===s)return!1;if("display"===t||"visibility"===t)return!0;let r=e[e.length-1],a=p(s,t),o=p(r,t);return(0,c.warning)(a===o,`You are trying to animate ${t} from "${s}" to "${r}". "${a?r:s}" 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||(0,d.isGenerator)(i))&&n)}],55489),e.s(["makeAnimationInstant",0,function(e){e.duration=0,e.type="keyframes"}],43116)},42062,e=>{"use strict";var t=e.i(46791),i=e.i(60830),n=e.i(96173),s=e.i(83352),r=e.i(14229),a=e.i(21012),o=e.i(92464),l=e.i(55489),u=e.i(43116),h=e.i(79294),c=e.i(60900),d=e.i(62118);let m=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,p=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),f=(0,c.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class g extends h.WithPromise{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:
1o="loop",keyframes:l,name:u,motionValue:h,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=n.time.now();const m={autoplay:e,delay:t,type:i,repeat:s,repeatDelay:r,repeatType:o,name:u,motionValue:h,element:c,...d},p=c?.KeyframeResolver||a.KeyframeResolver;this.keyframeResolver=new p(l,(e,t,i)=>this.onKeyframesResolved(e,t,m,!i),u,h,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,a,h,c){let g;this.keyframeResolver=void 0;let{name:v,type:y,velocity:x,delay:b,isHandoff:w,onUpdate:T}=h;this.resolvedAt=n.time.now();let S=!0;(0,l.canAnimate)(e,v,y,x)||(S=!1,(t.MotionGlobalConfig.instantAnimations||!b)&&T?.((0,r.getFinalKeyframe)(e,h,a)),e[0]=e[e.length-1],(0,u.makeAnimationInstant)(h),h.repeat=0);let P={startTime:c?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:a,...h,keyframes:e},V=S&&!w&&function(e){let{motionValue:t,name:i,repeatDelay:n,repeatType:s,damping:r,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 f()&&i&&(d.acceleratedValues.has(i)||p.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&m.test(e[t]))return!0;return!1}(o))&&("transform"!==i||!h)&&!u&&!n&&"mirror"!==s&&0!==r&&"inertia"!==a}(P),E=P.motionValue?.owner?.current;if(V)try{g=new o.NativeAnimationExtended({...P,element:E})}catch{g=new s.JSAnimation(P)}else g=new s.JSAnimation(P);g.finished.then(()=>{this.notifyFinished()}).catch(i.noop),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}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(),(0,a.flushKeyframeResolvers)()),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,g],42062)},39011,e=>{"use strict";var t=e.i(63074),i=e.i(46791),n=e.i(42062),s=e.i(83352),r=e.i(87333),a=e.i(43116),o=e.i(57788);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(14229);let d=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);var m=e.i(87022);e.s(["animateMotionValue",0,(e,p,f,g={},v,y)=>x=>{let b=(0,r.getValueTransition)(g,e)||{},w=b.delay||g.delay||0,{elapsed:T=0}=g;T-=(0,t.secondsToMilliseconds)(w);let S={keyframes:Array.isArray(f)?f:[null,f],ease:"easeOut",velocity:p.getVelocity(),...b,delay:-T,onUpdate:e=>{p.set(e),b.onUpdate&&b.onUpdate(e)},onComplete:()=>{x(),b.onComplete&&b.onComplete()},name:e,motionValue:p,element:y?void 0:v};!function(e){for(let t in e)if(!d.has(t))return!0;return!1}(b)&&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 P=!1;if(!1!==S.type&&(0!==S.duration||S.repeatDelay)||((0,a.makeAnimationInstant)(S),0===S.delay&&(P=!0)),(i.MotionGlobalConfig.instantAnimations||i.MotionGlobalConfig.skipAnimations||v?.shouldSkipAnimations||b.skipAnimations)&&(P=!0,(0,a.makeAnimationInstant)(S),S.delay=0),S.allowFlatten=!b.type&&!b.ease,P&&!y&&void 0!==p.get()){let e=(0,c.getFinalKeyframe)(S.keyframes,b);if(void 0!==e)return void m.frame.update(()=>{S.onUpdate(e),S.onComplete()})}return b.isSync?new s.JSAnimation(S):new n.AsyncMotionValueAnimation(S)}],39011)},72323,e=>{"use strict";var t=e.i(87333),i=e.i(53034),n=e.i(64440),s=e.i(47834),r=e.i(80538),a=e.i(16896),o=e.i(39011),l=e.i(87022);let u="u">typeof window;e.s(["animateTarget",0,function(e,h,{delay:c=0,transitionOverride:d,type:m}={}){let{transition:p,transitionEnd:f,...g}=h,v=e.getDefaultTransition();p=p?(0,i.resolveTransition)(p,v):v;let y=p?.reduceMotion,x=p?.skipAnimations;d&&(p=d);let b=[],w=m&&e.animationState&&e.animationState.getState()[m],T=p?.path;for(let i in T&&T.animateVisualElement(e,g,p,c,b),g){let s=e.getValue(i,e.latestValues[i]??null),h=g[i];if(void 0===h||w&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(w,i))continue;let d={delay:c,...(0,t.getValueTransition)(p||{},i)};x&&(d.skipAnimations=!0);let m=s.get();if(void 0!==m&&!s.isAnimating()&&!Array.isArray(h)&&h===m&&!d.velocity){l.frame.update(()=>s.set(h));continue}let f=!1;if(u&&window.MotionHandoffAnimation){let t=(0,a.getOptimisedAppearId)(e);if(t){let e=window.MotionHandoffAnimation(t,i,l.frame);null!==e&&(d.startTime=e,f=!0)}}(0,r.addValueToWillChange)(e,i);let v=y??e.shouldReduceMotion;s.start((0,o.animateMotionValue)(i,s,h,v&&n.positionalKeys.has(i)?{type:!1}:d,e,f));let T=s.animation;T&&b.push(T)}if(f){let t=()=>l.frame.update(()=>{f&&(0,s.setTarget)(e,f)});b.length?Promise.all(b).then(t):t()}return b}])},23070,55559,82774,39676,37541,52101,e=>{"use strict";var t=e.i(42098),i=e.i(18812),n=e.i(72323);function s(e,t,i,n=0,r=1){let a=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),o=e.size,l=(o-1)*n;return"function"==typeof i?i(a,o):1===r?a*n:l-a*n}function r(e,t,a={}){let o=(0,i.resolveVariant)(e,t,"exit"===a.type?e.presenceContext?.custom:void 0),{transition:l=e.getDefaultTransition()||{}}=o||{};a.transitionOverride&&(l=a.transitionOverride);let u=o?()=>Promise.all((0,n.animateTarget)(e,o,a)):()=>Promise.resolve(),h=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:u}=l;return function(e,t,i=0,n=0,a=0,o=1,l){let u=[];for(let h of e.variantChildren)h.notify("AnimationStart",t),u.push(r(h,t,{...l,delay:i+("function"==typeof n?0:n)+s(e.variantChildren,h,n,a,o)}).then(()=>h.notify("AnimationComplete",t)));return Promise.all(u)}(e,t,i,n,o,u,a)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([u(),h(a.delay)]);{let[e,t]="beforeChildren"===c?[u,h]:[h,u];return e().then(()=>t())}}var a=e.i(32525),o=e.i(6840);let l=o.variantProps.length;var u=e.i(85983),h=e.i(73615);function c(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 d=[...o.variantPriorityOrder].reverse(),m=o.variantPriorityOrder.length;function p(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f(){return{animate:p(!0),whileInView:p(),whileHover:p(),whileTap:p(),whileDrag:p(),whileFocus:p(),exit:p()}}class g extends t.Feature{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:s})=>(function(e,t,s={}){let a;if(e.notify("AnimationStart",t),Array.isArray(t))a=Promise.all(t.map(t=>r(e,t,s)));else if("string"==typeof t)a=r(e,t,s);else{let r="function"==typeof t?(0,i.resolveVariant)(e,t,s.custom):t;a=Promise.all((0,n.animateTarget)(e,r,s))}return a.then(()=>{e.notify("AnimationComplete",t)})})(e,t,s))),p=f(),g=!0,v=!1,y=t=>(n,s)=>{let r=(0,i.resolveVariant)(e,s,"exit"===t?e.presenceContext?.custom:void 0);if(r){let{transition:e,transitionEnd:t,...i}=r;n={...n,...i,...t}}return n};function x(n){let{props:r}=e,f=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<l;e++){let n=o.variantProps[e],s=t.props[n];((0,a.isVariantLabel)(s)||!1===s)&&(i[n]=s)}return i}(e.parent)||{},x=[],b=new Set,w={},T=1/0;for(let t=0;t<m;t++){var S,P;let o=d[t],l=p[o],m=void 0!==r[o]?r[o]:f[o],V=(0,a.isVariantLabel)(m),E=o===n?l.isActive:null;!1===E&&(T=t);let M=m===f[o]&&m!==r[o]&&V;if(M&&(g||v)&&e.manuallyAnimateOnMount&&(M=!1),l.protectedKeys={...w},!l.isActive&&null===E||!m&&!l.prevProp||(0,u.isAnimationControls)(m)||"boolean"==typeof m)continue;if("exit"===o&&l.isActive&&!0!==E){l.prevResolvedValues&&(w={...w,...l.prevResolvedValues});continue}let A=(S=l.prevProp,"string"==typeof(P=m)?P!==S:!!Array.isArray(P)&&!c(P,S)),C=A||o===n&&l.isActive&&!M&&V||t>T&&V,D=!1,k=Array.isArray(m)?m:[m],R=k.reduce(y(o),{});!1===E&&(R={});let{prevResolvedValues:j={}}=l,L={...j,...R},B=t=>{C=!0,b.has(t)&&(D=!0,b.delete(t)),l.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in L){let t=R[e],i=j[e];if(!w.hasOwnProperty(e))((0,h.isKeyframesTarget)(t)&&(0,h.isKeyframesTarget)(i)?!c(t,i)||A:t!==i)?null!=t?B(e):b.add(e):void 0!==t&&b.has(e)?B(e):l.protectedKeys[e]=!0}l.prevProp=m,l.prevResolvedValues=R,l.isActive&&(w={...w,...R}),(g||v)&&e.blockInitialAnimation&&(C=!1);let O=M&&A,I=!O||D;C&&I&&x.push(...k.map(t=>{let n={type:o};if("string"==typeof t&&(g||v)&&!O&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,a=(0,i.resolveVariant)(r,t);if(r.enteringChildren&&a){let{delayChildren:t}=a.transition||{};n.delay=s(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(b.size){let t={};if("boolean"!=typeof r.initial){let n=(0,i.resolveVariant)(e,Array.isArray(r.initial)?r.initial[0]:r.initial);n&&n.transition&&(t.transition=n.transition)}b.forEach(i=>{let n=e.getBaseTarget(i),s=e.getValue(i);s&&(s.liveStyle=!0),t[i]=n??null}),x.push({animation:t})}let V=!!x.length;return g&&(!1===r.initial||r.initial===r.animate)&&!e.manuallyAnimateOnMount&&(V=!1),g=!1,v=!1,V?t(x):Promise.resolve()}return{animateChanges:x,setActive:function(t,i){if(p[t].isActive===i)return Promise.resolve();
1e.variantChildren?.forEach(e=>e.animationState?.setActive(t,i)),p[t].isActive=i;let n=x(t);for(let e in p)p[e].protectedKeys={};return n},setAnimateFunction:function(i){t=i(e)},getState:()=>p,reset:()=>{p=f(),v=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,u.isAnimationControls)(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 v=t;let y=0;class x extends v.Feature{constructor(){super(...arguments),this.id=y++,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 s=this.node.animationState.setActive("exit",!e);t&&!e&&s.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:g},exit:{Feature:x}}],23070),e.s(["eachAxis",0,function(e){return[e("x"),e("y")]}],55559),e.s(["addDomEvent",0,function(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}],82774);let b={x:!1,y:!1};e.s(["isDragActive",0,function(){return b.x||b.y},"isDragging",0,b],39676),e.s(["setDragLock",0,function(e){if("x"===e||"y"===e)if(b[e])return null;else return b[e]=!0,()=>{b[e]=!1};return b.x||b.y?null:(b.x=b.y=!0,()=>{b.x=b.y=!1})}],37541);var w=e.i(706);function T(e){return e.max-e.min}function S(e,t,i,n=.5){e.origin=n,e.originPoint=(0,w.mixNumber)(t.min,t.max,e.origin),e.scale=T(i)/T(t),e.translate=(0,w.mixNumber)(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function P(e,t,i,n=0){e.min=(n?(0,w.mixNumber)(i.min,i.max,n):i.min)+t.min,e.max=e.min+T(t)}function V(e,t,i,n=0){let s=n?(0,w.mixNumber)(i.min,i.max,n):i.min;e.min=t.min-s,e.max=e.min+T(t)}e.s(["calcBoxDelta",0,function(e,t,i,n){S(e.x,t.x,i.x,n?n.originX:void 0),S(e.y,t.y,i.y,n?n.originY:void 0)},"calcLength",0,T,"calcRelativeBox",0,function(e,t,i,n){P(e.x,t.x,i.x,n?.x),P(e.y,t.y,i.y,n?.y)},"calcRelativePosition",0,function(e,t,i,n){V(e.x,t.x,i.x,n?.x),V(e.y,t.y,i.y,n?.y)},"isNear",0,function(e,t,i){return Math.abs(e-t)<=i}],52101)},89026,42824,e=>{"use strict";let t=e=>"object"==typeof e&&null!==e;e.s(["isObject",0,t],42824),e.s(["isSVGElement",0,function(e){return t(e)&&"ownerSVGElement"in e}],89026)},49652,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 s=i?.[e]??n.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(e=>null!=e)}])},33986,61327,19880,41327,65536,85651,7230,77397,e=>{"use strict";let t,i;var n=e.i(42098),s=e.i(60830),r=e.i(30162),a=e.i(87022),o=e.i(55559),l=e.i(53689),u=e.i(27677),h=e.i(80538),c=e.i(39011),d=e.i(706),m=e.i(82774),p=e.i(37541),f=e.i(65091),g=e.i(52101),v=e.i(89026),y=e.i(49652);let x=new WeakMap,b=(e,t,i)=>(n,s)=>s&&s[0]?s[0][e+"Size"]:(0,v.isSVGElement)(n)&&"getBBox"in n?n.getBBox()[t]:n[i],w=b("inline","width","offsetWidth"),T=b("block","height","offsetHeight");function S({target:e,borderBoxSize:t}){x.get(e)?.forEach(i=>{i(e,{get width(){return w(e,t)},get height(){return T(e,t)}})})}function P(e){e.forEach(S)}let V=new Set;function E(e,n){let s;return"function"==typeof e?(V.add(e),i||(i=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};
1V.forEach(t=>t(e))},window.addEventListener("resize",i)),()=>{V.delete(e),V.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!t&&"u">typeof ResizeObserver&&(t=new ResizeObserver(P)),(s=(0,y.resolveElements)(e)).forEach(e=>{let i=x.get(e);i||(i=new Set,x.set(e,i)),i.add(n),t?.observe(e)}),()=>{s.forEach(e=>{let i=x.get(e);i?.delete(n),i?.size||t?.unobserve(e)})})}e.s(["resize",0,E],61327);let M=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),A=new Set(["INPUT","SELECT","TEXTAREA"]);function C(e){return A.has(e.tagName)||!0===e.isContentEditable}e.s(["isElementKeyboardAccessible",0,function(e){return M.has(e.tagName)||!0===e.isContentEditable},"isElementTextInput",0,C],19880);var D=e.i(65566);let k=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function R(e){return{point:{x:e.pageX,y:e.pageY}}}e.s(["isPrimaryPointer",0,k],41327);let j=e=>t=>k(t)&&e(t,R(t));function L(e,t,i,n){return(0,m.addDomEvent)(e,t,j(i),n)}e.s(["addPointerInfo",0,j,"extractEventInfo",0,R],65536);let B=({current:e})=>e?e.ownerDocument.defaultView:null;var O=e.i(25522),I=e.i(38638),F=e.i(63074);let N=(e,t)=>Math.abs(e-t),_=new Set(["auto","scroll"]);class W{constructor(e,t,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:r=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=z(this.lastRawMoveEventInfo,this.transformPagePoint));let i=$(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(e=i.offset,t={x:0,y:0},Math.sqrt(N(e.x,t.x)**2+N(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!s)return;let{point:r}=i,{timestamp:o}=a.frameData;this.history.push({...r,timestamp:o});let{onStart:l,onMove:u}=this.handlers;n||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=z(t,this.transformPagePoint),a.frame.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=$("pointercancel"===e.type?this.lastMoveEventInfo:z(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,r),n&&n(e,r)},!k(e))return;this.dragSnapToOrigin=s,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;const l=z(R(e),this.transformPagePoint),{point:u}=l,{timestamp:h}=a.frameData;this.history=[{...u,timestamp:h}];const{onSessionStart:c}=t;c&&c(e,$(l,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,I.pipe)(L(this.contextWindow,"pointermove",this.handlePointerMove,d),L(this.contextWindow,"pointerup",this.handlePointerUp,d),L(this.contextWindow,"pointercancel",this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(_.has(e.overflowX)||_.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},s={x:n.x-t.x,y:n.y-t.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(e,n),a.frame.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,a.cancelFrame)(this.updatePoint)}}function z(e,t){return t?{point:t(e.point)}:e}function U(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $({point:e},t){return{point:e,delta:U(e,G(t)),offset:U(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,n=G(e);for(;t>=0&&(i=e[t],!(n.timestamp-i.timestamp>(0,F.secondsToMilliseconds)(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&n.timestamp-i.timestamp>
12*(0,F.secondsToMilliseconds)(.1)&&(i=e[1]);let s=(0,F.millisecondsToSeconds)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let r={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(t)}}function G(e){return e[e.length-1]}var H=e.i(83920),K=e.i(76959);function X(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function Y(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function q(e,t,i){return{min:Z(e,t),max:Z(e,i)}}function Z(e,t){return"number"==typeof e?e:e[t]||0}let J=new WeakMap;class Q{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,r.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=e=>{t&&this.snapToCursor(R(e).point),this.stopAnimation()},r=(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,p.setDragLock)(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,o.eachAxis)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(f.percent.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];n&&(t=(0,g.calcLength)(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),s&&a.frame.update(()=>s(e,t),!1,!0),(0,h.addValueToWillChange)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},l=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(o),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),r&&a.frame.update(()=>r(e,t),!1,!0)},u=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new W(e,{onSessionStart:s,onStart:r,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:B(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,n=t||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:o}=this.getProps();o&&a.frame.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:n}=this.getProps();if(!i||!et(e,n,this.currentDirection))return;let s=this.getAxisMotionValue(e),r=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:i},n){return void 0!==t&&e<t?e=n?(0,d.mixNumber)(t,e,n.min):Math.max(e,t):void 0!==i&&e>i&&(e=n?(0,d.mixNumber)(i,e,n.max):Math.min(e,i)),e}(r,this.constraints[e],this.elastic[e])),s.set(r)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&(0,O.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:n,right:s}){return{x:X(e.x,i,s),y:X(e.y,t,n)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:q(e,"left","right"),y:q(e,"top","bottom")}}(t),n!==this.constraints&&!(0,O.isRefObject)(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,o.eachAxis)(e=>{var t,n;let s;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],n=this.constraints[e],s={},void 0!==n.min&&(s.min=n.min-t.min),void 0!==n.max&&(s.max=n.max-t.min),s))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!(0,O.isRefObject)(t))return!1;let n=t.current;(0,D.invariant)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());let r=(0,l.measurePageBox)(n,s.root,this.visualElement.getTransformPagePoint()),a=(e=s.layout.layoutBox,{x:Y(e.x,r.x),y:Y(e.y,r.y)});if(i){let e=i((0,u.convertBoxToBoundingBox)(a));this.hasMutatedConstraints=!!e,e&&(a=(0,u.convertBoundingBoxToBox)(e))}return a}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{};return Promise.all((0,o.eachAxis)(a=>{if(!et(a,t,this.currentDirection))return;let o=l&&l[a]||{};(!0===r||r===a)&&(o={min:0,max:0});let u={type:"inertia",velocity:i?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...o};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return(0,h.addValueToWillChange)(this.visualElement,e),i.start((0,c.animateMotionValue)(e,i,0,t,this.visualElement,!1))}stopAnimation(){(0,o.eachAxis)(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){(0,o.eachAxis)(t=>{let{drag:i}=this.getProps();
1if(!et(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[t],a=s.get()||0;s.set(e[t]-(0,d.mixNumber)(i,r,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!(0,O.isRefObject)(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,o.eachAxis)(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,s;let r,a,o,l=t.get();n[e]=(i={min:l,max:l},s=this.constraints[e],r=.5,a=(0,g.calcLength)(i),(o=(0,g.calcLength)(s))>a?r=(0,H.progress)(s.min,s.max-a,i.min):a>o&&(r=(0,H.progress)(i.min,i.max-o,s.min)),(0,K.clamp)(0,1,r))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,o.eachAxis)(t=>{if(!et(t,e,null))return;let i=this.getAxisMotionValue(t),{min:s,max:r}=this.constraints[t];i.set((0,d.mixNumber)(s,r,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;J.set(this.visualElement,this);let t=this.visualElement.current,i=L(t,"pointerdown",e=>{let{drag:i,dragListener:n=!0}=this.getProps(),s=e.target,r=s!==t&&C(s);i&&n&&!r&&this.start(e)}),n=()=>{var i,n,s;let r,a,{dragConstraints:o}=this.getProps();(0,O.isRefObject)(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,n=o.current,r=E(i,ee(s=()=>this.scalePositionWithinConstraints())),a=E(n,ee(s)),e=()=>{r(),a()}))},{projection:s}=this.visualElement,r=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),a.frame.read(n);let l=(0,m.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=s.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,o.eachAxis)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{l(),i(),r(),u&&u(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:a}}}function ee(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function et(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class ei extends n.Feature{constructor(e){super(e),this.removeGroupControls=s.noop,this.removeListeners=s.noop,this.controls=new Q(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.noop}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}e.s(["DragGesture",0,ei],33986);var en=n;let es=e=>(t,i)=>{e&&a.frame.update(()=>e(t,i),!1,!0)};class er extends en.Feature{constructor(){super(...arguments),this.removePointerDownListener=s.noop}onPointerDown(e){this.session=new W(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:B(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:es(e),onStart:es(t),onMove:es(i),onEnd:(e,t)=>{delete this.session,n&&a.frame.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=L(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}e.s(["PanGesture",0,er],85651);var ea=e.i(43476);let eo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};e.s(["globalProjectionState",0,eo],7230);var el=e.i(60140),eu=e.i(71645),eh=e.i(21476),ec=e.i(31178),ed=e.i(4035);let em=!1;class ep extends eu.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=e;s&&(t.group&&t.group.add(s),i&&i.register&&n&&i.register(s),em&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),eo.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:n,isPresent:s}=this.props,{projection:r}=i;return r&&(r.isPresent=s,e.layoutDependency!==t&&r.setOptions({...r.options,layoutDependency:t}),em=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==s?r.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?r.promote():r.relegate()||a.frame.postRender(()=>{let e=r.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=t,i.root.didUpdate(),el.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;em=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}e.s(["MeasureLayout",0,function(e){let[t,i]=function(e=!0){let t=(0,eu.useContext)(eh.PresenceContext);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:n,register:s}=t,r=(0,eu.useId)();(0,eu.useEffect)(()=>
1{if(e)return s(r)},[e]);let a=(0,eu.useCallback)(()=>e&&n&&n(r),[r,n,e]);return!i&&n?[!1,a]:[!0]}(),n=(0,eu.useContext)(ec.LayoutGroupContext);return(0,ea.jsx)(ep,{...e,layoutGroup:n,switchLayoutGroup:(0,eu.useContext)(ed.SwitchLayoutGroupContext),isPresent:t,safeToRemove:i})}],77397)},68705,e=>{"use strict";var t=e.i(39011),i=e.i(86427),n=e.i(83411);e.s(["animateSingleValue",0,function(e,s,r){let a=(0,n.isMotionValue)(e)?e:(0,i.motionValue)(e);return a.start((0,t.animateMotionValue)("",a,s,r)),a.animation}])},80248,67807,e=>{"use strict";e.s(["statsBuffer",0,{value:null,addProjectionMetrics:null}],80248);var t=e.i(96173);e.i(63074);var i=e.i(87022);e.s(["delay",0,function(e,n){let s=t.time.now(),r=({timestamp:t})=>{let a=t-s;a>=n&&((0,i.cancelFrame)(r),e(a-n))};return i.frame.setup(r,!0),()=>(0,i.cancelFrame)(r)}],67807)},36331,e=>{"use strict";var t=e.i(89026);e.s(["isSVGSVGElement",0,function(e){return(0,t.isSVGElement)(e)&&"svg"===e.tagName}])},32181,72846,38303,e=>{"use strict";var t=e.i(54505),i=e.i(7051),n=e.i(23070),s=e.i(33986),r=e.i(85651),a=e.i(77397),o=e.i(70596),l=e.i(76959),u=e.i(60830),h=e.i(68705),c=e.i(16896),d=e.i(87333),m=e.i(60140),p=e.i(96173),f=e.i(24463),g=e.i(80248),v=e.i(67807),y=e.i(89026),x=e.i(36331),b=e.i(706),w=e.i(86427),T=e.i(33871),S=e.i(65091),P=e.i(83920),V=e.i(91559),E=e.i(95051);let M=E.cornerRadiusProps.length,A=e=>"string"==typeof e?parseFloat(e):e,C=e=>"number"==typeof e||S.px.test(e);function D(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let k=j(0,.5,V.circOut),R=j(.5,.95,u.noop);function j(e,t,i){return n=>n<e?0:n>t?1:i((0,P.progress)(e,t,n))}function L(e,t){e.min=t.min,e.max=t.max}function B(e,t){L(e.x,t.x),L(e.y,t.y)}function O(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var I=e.i(35636),F=e.i(52101);function N(e,t,i,n,s){return e-=t,e=(0,I.scalePoint)(e,1/i,n),void 0!==s&&(e=(0,I.scalePoint)(e,1/s,n)),e}function _(e,t,[i,n,s],r,a){!function(e,t=0,i=1,n=.5,s,r=e,a=e){if(S.percent.test(t)&&(t=parseFloat(t),t=(0,b.mixNumber)(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let o=(0,b.mixNumber)(r.min,r.max,n);e===r&&(o-=t),e.min=N(e.min,t,i,o,s),e.max=N(e.max,t,i,o,s)}(e,t[i],t[n],t[s],t.scale,r,a)}let W=["x","scaleX","originX"],z=["y","scaleY","originY"];function U(e,t,i,n){_(e.x,t,W,i?i.x:void 0,n?n.x:void 0),_(e.y,t,z,i?i.y:void 0,n?n.y:void 0)}var $=e.i(30162);function G(e){return 0===e.translate&&1===e.scale}function H(e){return G(e.x)&&G(e.y)}function K(e,t){return e.min===t.min&&e.max===t.max}function X(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Y(e,t){return X(e.x,t.x)&&X(e.y,t.y)}function q(e){return(0,F.calcLength)(e.x)/(0,F.calcLength)(e.y)}function Z(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var J=e.i(33887);class Q{constructor(){this.members=[]}add(e){(0,J.addUniqueItem)(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,J.removeItem)(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if((0,J.removeItem)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:s}=e.options;(void 0===n||n!==s)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var ee=e.i(55559);let et=(e,t)=>e.depth-t.depth;class ei{constructor(){this.children=[],this.isDirty=!1}add(e){(0,J.addUniqueItem)(this.children,e),this.isDirty=!0}remove(e){(0,J.removeItem)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(et),this.isDirty=!1,this.children.forEac
1h(e)}}var en=e.i(77777),es=e.i(7230),er=e.i(87022);let ea={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eo=["","X","Y","Z"],el=0;function eu(e,t,i,n){let{latestValues:s}=t;s[e]&&(i[e]=s[e],t.setStaticValue(e,0),n&&(n[e]=0))}function eh({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(e={},i=t?.()){this.id=el++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,g.statsBuffer.value&&(ea.nodes=ea.calculatedTargetDeltas=ea.calculatedProjections=0),this.nodes.forEach(em),this.nodes.forEach(eT),this.nodes.forEach(eS),this.nodes.forEach(ep),g.statsBuffer.addProjectionMetrics&&g.statsBuffer.addProjectionMetrics(ea)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ei)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new o.SubscriptionManager),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=(0,y.isSVGElement)(t)&&!(0,x.isSVGSVGElement)(t),this.instance=t;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),e){let i,n=0,s=()=>this.root.updateBlockedByResize=!1;er.frame.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==n&&(n=e,this.root.updateBlockedByResize=!0,i&&i(),i=(0,v.delay)(s,250),es.globalProjectionState.hasAnimatedSinceResize&&(es.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(ew)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||eC,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=s.getProps(),l=!this.targetLayout||!Y(this.targetLayout,n),u=!t&&i;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,d.getValueTransition)(r,"layout"),onPlay:a,onComplete:o};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u,t.path)}else t||ew(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,er.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(eP),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let n=(0,c.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",er.frame,!(e||i))}let{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&e(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(ev),this.nodes.forEach(eg);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ey);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ex),this.nodes.forEach(eb),this.nodes.forEach(ec),this.nodes.forEach(ed)):this.nodes.forEach(ey),this.clearAllSnapshots();let e=p.time.now();er.frameData.delta=(0,l.clamp)(0,1e3/60,e-er.frameData.timestamp),er.frameData.timestamp=e,er.frameData.isProcessing=!0,er.frameSteps.update.process(er.frameData),er.frameSteps.preRender.process(er.frameData),er.frameSteps.render.process(er.frameData),er.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,m.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ef),this.sharedNodes.forEach(eV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,er.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){er.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,F.calcLength)(this.snapshot.measuredBox.x)||(0,F.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,$.createBox)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!s)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!H(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||(0,en.hasTransform)(this.latestValues)||r)&&(s(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),eR((t=n).x),eR(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return(0,$.createBox)();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eL))){let{scroll:e}=this.root;e&&((0,I.translateAxis)(t.x,e.offset.x),(0,I.translateAxis)(t.y,e.offset.y))}return t}removeElementScroll(e){let t=(0,$.createBox)();if(B(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&B(t,e),(0,I.translateAxis)(t.x,s.offset.x),(0,I.translateAxis)(t.y,s.offset.y))}return t}applyTransform(e,t=!1,i){let n=i||(0,$.createBox)();B(n,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,I.translateAxis)(n.x,-i.scroll.offset.x),(0,I.translateAxis)(n.y,-i.scroll.offset.y)),(0,en.hasTransform)(i.latestValues)&&(0,I.transformBox)(n,i.latestValues,i.layout?.layoutBox)}return(0,en.hasTransform)(this.latestValues)&&(0,I.transformBox)(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=(0,$.createBox)();B(t,e);for(let e=0;e<this.path.length;e++){let i,n=this.path[e];(0,en.hasTransform)(n.latestValues)&&(n.instance&&((0,en.hasScale)(n.latestValues)&&n.updateSnapshot(),B(i=(0,$.createBox)(),n.measurePageBox())),U(t,n.latestValues,n.snapshot?.layoutBox,i))}return(0,en.hasTransform)(this.latestValues)&&U(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==er.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:s}=this.options;if(!this.layout||!(n||s))return;this.resolvedRelativeTargetAt=er.frameData.timestamp;let r=this.getClosestProjectingParent();r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,$.createBox)(),this.targetWithTransforms=(0,$.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,F.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):B(this.target,this.layout.layoutBox),(0,I.applyBoxDelta)(this.target,this.targetDelta)):B(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&r&&!!r.resumingFrom==!!this.resumingFrom&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0),g.statsBuffer.value&&ea.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,en.hasScale)(this.parent.latestValues)||(0,en.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,$.createBox)(),this.relativeTargetOrigin=(0,$.createBox)(),(0,F.calcRelativePosition)(this.relativeTargetOrigin,t,i,this.options.layoutAnchor||void 0),B(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===er.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;B(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,a=this.treeScale.y;(0,I.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,$.createBox)());let{target:o}=e;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(O(this.prevProjectionDelta.x,this.projectionDelta.x),O(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,F.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&Z(this.projectionDelta.x,this.prevProjectionDelta.x)&&Z(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o)),g.statsBuffer.value&&ea.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,$.createDelta)(),this.projectionDelta=(0,$.createDelta)(),this.projectionDeltaWithTransform=(0,$.createDelta)()}setAnimationOrigin(e,t=!1,i){let n,s=this.snapshot,r=s?s.latestValues:{},a={...this.latestValues},o=(0,$.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=(0,$.createBox)(),u=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(eA));this.animationProgress=0;let m=i?.interpolateProjection(e);this.mixTargetDelta=t=>{let i=t/1e3,s=m?.(i);if(s?(o.x.translate=s.x,o.x.scale=(0,b.mixNumber)(e.x.scale,1,i),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=s.y,o.y.scale=(0,b.mixNumber)(e.y.scale,1,i),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(eE(o.x,e.x,i),eE(o.y,e.y,i)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,p,f,g,v,y;(0,F.calcRelativePosition)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,v=l,y=i,eM(f.x,g.x,v.x,y),eM(f.y,g.y,v.y,y),n&&(h=this.relativeTarget,p=n,K(h.x,p.x)&&K(h.y,p.y))&&(this.isProjectionDirty=!1),n||(n=(0,$.createBox)()),B(n,this.relativeTarget)}u&&(this.animationValues=a,function(e,t,i,n,s,r){s?(e.opacity=(0,b.mixNumber)(0,i.opacity??1,k(n)),e.opacityExit=(0,b.mixNumber)(t.o
1pacity??1,0,R(n))):r&&(e.opacity=(0,b.mixNumber)(t.opacity??1,i.opacity??1,n));for(let s=0;s<M;s++){let r=E.cornerRadiusProps[s],a=D(t,r),o=D(i,r);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||C(a)===C(o)?(e[r]=Math.max((0,b.mixNumber)(A(a),A(o),n),0),(S.percent.test(o)||S.percent.test(a))&&(e[r]+="%")):e[r]=o)}(t.rotate||i.rotate)&&(e.rotate=(0,b.mixNumber)(t.rotate||0,i.rotate||0,n))}(a,r,this.latestValues,i,d,c)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=a),this.animationValues.pathRotation=s.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,er.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=er.frame.update(()=>{es.globalProjectionState.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,w.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,h.animateSingleValue)(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:n,latestValues:s}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&ej(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,$.createBox)();let t=(0,F.calcLength)(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=(0,F.calcLength)(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}B(t,i),(0,I.transformBox)(t,s),(0,F.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,t,s)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Q),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let n={};i.z&&eu("z",e,n,this.animationValues);for(let t=0;t<eo.length;t++)eu(`rotate${eo[t]}`,e,n,this.animationValues),eu(`skew${eo[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=(0,T.resolveMotionValue)(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,T.resolveMotionValue)(t?.pointerEvents)||""),this.hasProjected&&!(0,en.hasTransform)(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let r=function(e,t,i){let n="",s=e.x.translate/t.x,r=e.y.translate/t.y,a=i?.z||0;if((s||r||a)&&(n=`translate3d(${s}px, ${r}px, ${a}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,pathRotation:s,rotateX:r,rotateY:a,skewX:o,skewY:l}=i;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),s&&(n+=`rotate(${s}deg) `),r&&(n+=`rotateX(${r}deg) `),a&&(n+=`rotateY(${a}deg) `),o&&(n+=`skewX(${o}deg) `),l&&(n+=`skewY(${l}deg) `)}let o=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),e.transform=r;let{x:a,y:o}=this.projectionDelta;for(let t in e.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,n.animationValues?e.opacity=n===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:e.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,f.scaleCorrectors){if
1(void 0===s[t])continue;let{correct:i,applyTo:a,isCSSVariable:o}=f.scaleCorrectors[t],l="none"===r?s[t]:i(s[t],n);if(a){let t=a.length;for(let i=0;i<t;i++)e[a[i]]=l}else o?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?(0,T.resolveMotionValue)(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(eg),this.root.sharedNodes.clear()}}}function ec(e){e.updateLayout()}function ed(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=e.layout,{animationType:s}=e.options,r=t.source!==e.layout.source;if("size"===s)(0,ee.eachAxis)(e=>{let n=r?t.measuredBox[e]:t.layoutBox[e],s=(0,F.calcLength)(n);n.min=i[e].min,n.max=n.min+s});else if("x"===s||"y"===s){let e="x"===s?"y":"x";L(r?t.measuredBox[e]:t.layoutBox[e],i[e])}else ej(s,t.layoutBox,i)&&(0,ee.eachAxis)(n=>{let s=r?t.measuredBox[n]:t.layoutBox[n],a=(0,F.calcLength)(i[n]);s.max=s.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});let a=(0,$.createDelta)();(0,F.calcBoxDelta)(a,i,t.layoutBox);let o=(0,$.createDelta)();r?(0,F.calcBoxDelta)(o,e.applyTransform(n,!0),t.measuredBox):(0,F.calcBoxDelta)(o,i,t.layoutBox);let l=!H(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let a=e.options.layoutAnchor||void 0,o=(0,$.createBox)();(0,F.calcRelativePosition)(o,t.layoutBox,s.layoutBox,a);let l=(0,$.createBox)();(0,F.calcRelativePosition)(l,i,r.layoutBox,a),Y(o,l)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=o,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function em(e){g.statsBuffer.value&&ea.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ep(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ef(e){e.clearSnapshot()}function eg(e){e.clearMeasurements()}function ev(e){e.isLayoutDirty=!0,e.updateLayout()}function ey(e){e.isLayoutDirty=!1}function ex(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function eb(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ew(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function eT(e){e.resolveTargetDelta()}function eS(e){e.calcProjection()}function eP(e){e.resetSkewAndRotation()}function eV(e){e.removeLeadSnapshot()}function eE(e,t,i){e.translate=(0,b.mixNumber)(t.translate,0,i),e.scale=(0,b.mixNumber)(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function eM(e,t,i,n){e.min=(0,b.mixNumber)(t.min,i.min,n),e.max=(0,b.mixNumber)(t.max,i.max,n)}function eA(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let eC={duration:.45,ease:[.4,0,.1,1]},eD=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ek=eD("applewebkit/")&&!eD("chrome/")?Math.round:u.noop;function eR(e){e.min=ek(e.min),e.max=ek(e.max)}function ej(e,t,i){return"position"===e||"preserve-aspect"===e&&!(0,F.isNear)(q(t),q(i),.2)}function eL(e){return e!==e.root&&e.scroll?.wasRoot}var eB=e.i(82774);let eO=eh({attachResizeListener:(e,t)=>(0,eB.addDomEvent)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),eI={current:void 0},eF=eh({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eI.current){let e=new eO({});e.mount(window),e.setOptions({layoutScroll:!0}),eI.current=e}return eI.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),eN={pan:{Feature:r.PanGesture},drag:{Feature:s.DragGesture,ProjectionNode:eF,MeasureLayout:a.MeasureLayout}};var e_=e.i(42098),eW=e.i(39676),ez=e.i(49652);function eU(e,t){let i=(0,ez.resolveElements)(e),n=new AbortController;return[i,{passive:!0,...t,signal:n.signal},()=>n.abort()]}var e$=e.i(65536);function eG(e,t,i){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&er.frame.postRender(()=>s(t,(0,e$.extractEventInfo)(t)))}class eH extends e_.Feature{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[n,s,r]=eU(e,i);return n.forEach(e=>{let i,n=!1,r=!1,a=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},o=e=>{n=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),r&&(r=!1,a(e))},l=e=>{if("touch"!==e.pointerType){if(n){r=!0;return}a(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,eW.isDragActive)())return;r=!1;let a=t(e,n);"function"==typeof a&&(i=a,e.addEventListener("pointerleave",l,s))},s),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",o,s),window.addEventListener("pointercancel",o,s)},s)}),r}(e,(e,t)=>(eG(this.node,t,"Start"),e=>eG(this.node,e,"End"))))}unmount(){}}var eK=e_,eX=e.i(38638);class eY extends eK.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,eX.pipe)((0,eB.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,eB.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var eq=e_,eZ=e.i(42824);function eJ(e){return(0,eZ.isObject)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}e.s(["isHTMLElement",0,eJ],72846);let eQ=(e,t)=>!!t&&(e===t||eQ(e,t.parentElement));var e0=e.i(41327),e1=e.i(19880);let e5=new WeakSet;function e3(e){return t=>{"Enter"===t.key&&e(t)}}function e6(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function e2(e){return(0,e0.isPrimaryPointer)(e)&&!(0,eW.isDragActive)()}let e7=new WeakSet;function e8(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 s=n["onTap"+("End"===i?"":i)];s&&er.frame.postRender(()=>s(t,(0,e$.extractEventInfo)(t)))}class e4 extends eq.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,r]=eU(e,i),a=e=>{let n=e.currentTarget;if(!e2(e)||e7.has(e))return;e5.add(n),i.stopPropagation&&e7.add(e);let r=t(n,e),a={...s,capture:!0},o=(e,t)=>{window.removeEventListener("pointerup",l,a),window.removeEventListener("pointercancel",u,a),e5.has(n)&&e5.delete(n),e2(e)&&"function"==typeof r&&r(e,{success:t})},l=e=>{o(e,n===window||n===document||i.useGlobalTarget||eQ(n,e.target))},u=e=>{o(e,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",u,a)};return n.forEach(e=>{(i.useGlobalTarget?window:e).addEventListener("pointerdown",a,s),eJ(e)&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let n=e3(()=>{if(e5.has(i))return;e6(i,"down");let e=e3(()=>{e6(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>e6(i,"cancel"),t)});i.addEventListener("keydown",n,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),t)})(e,s)),(0,e1.isElementKeyboardAccessible)(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),r}(e,(e,t)=>(e8(this.node,t,"Start"),(e,{success:t})=>e8(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}var e9=e_;let te=new WeakMap,tt=new WeakMap,ti=e=>{let t=te.get(e.target);t&&t(e)},tn=e=>{e.forEach(ti)},ts={some:0,all:1};class tr extends e9.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:s,amount:r="some",once:a}=i,o={root:n?n.current:void 0,rootMargin:s,threshold:"number"==typeof r?r:ts[r]},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(),s=t?i:n;s&&s(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;tt.has(i)||tt.set(i,{});let n=tt.get(i),s=JSON.stringify(t);return n[s]||(n[s]=new IntersectionObserver(tn,{root:e,...t})),n[s]}(o),te.set(e,l),t.observe(e),()=>{te.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 ta={layout:{ProjectionNode:eF,MeasureLayout:a.MeasureLayout}},to={...n.animations,inView:{Feature:tr},tap:{Feature:e4},focus:{Feature:eY},hover:{Feature:eH},...eN,...ta},tl=(0,i.createMotionProxy)(to,t.createDomVisualElement);e.s(["motion",0,tl],32181),e.s(["defer",0,function(e){return window.setTimeout(e,0)}],38303)},13695,e=>{"use strict";var t=e.i(43476),i=e.i(32181),n=e.i(71645),s=e.i(38303);
1function r(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),i=()=>t(e.matches);return i(),e.addEventListener("change",i),()=>e.removeEventListener("change",i)},[]),e}let a="data-stagger-live",o={type:"spring",stiffness:120,damping:20},l={div:i.motion.div,section:i.motion.section,article:i.motion.article,header:i.motion.header,h1:i.motion.h1,h2:i.motion.h2,p:i.motion.p,ul:i.motion.ul,li:i.motion.li};e.s(["SPRING",0,o,"Stagger",0,function({children:e,className:i,as:s,inView:o=!1,stagger:u=.1,id:h,tabIndex:c}){let d=r();(0,n.useEffect)(()=>{let e=document.documentElement;e.hasAttribute(a)||requestAnimationFrame(()=>e.setAttribute(a,""))},[]);let m=l[s??"div"];if(d){let n=s??"div";return(0,t.jsx)(n,{className:i,id:h,tabIndex:c,children:e})}return(0,t.jsx)(m,{className:i,id:h,tabIndex:c,"data-stagger":!0,variants:{hidden:{},visible:{transition:{staggerChildren:u}}},initial:"hidden",...o?{whileInView:"visible",viewport:{once:!0,amount:.2}}:{animate:"visible"},children:e})},"StaggerItem",0,function({children:e,className:i,as:a,offsetY:u=40}){let h=r(),c=(0,n.useRef)(null),d=l[a??"div"];if(h){let n=a??"div";return(0,t.jsx)(n,{className:i,children:e})}return(0,t.jsx)(d,{ref:e=>{c.current=e},className:i,"data-stagger-item":!0,variants:{hidden:{opacity:.02,y:u,filter:"blur(4px)"},visible:{opacity:1,y:0,filter:"blur(0px)",transition:o}},onAnimationComplete:()=>{(0,s.defer)(()=>{c.current&&(c.current.style.filter="")})},children:e})}])},20322,e=>{"use strict";var t=e.i(43476),i=e.i(32181),n=e.i(72328),s=e.i(60140),r=e.i(30551),a=e.i(86427),o=e.i(65566),l=e.i(71645),u=e.i(60830),h=e.i(87022);function c(e,t){let i,n=()=>{let{currentTime:n}=t,s=(null===n?0:n.value)/100;i!==s&&e(s),i=s};return h.frame.preUpdate(n,!0),()=>(0,h.cancelFrame)(n)}function d(e){return!("u"<typeof window)&&(e?(0,r.supportsViewTimeline)():(0,r.supportsScrollTimeline)())}var m=e.i(61327),p=e.i(83920),f=e.i(25791);let g=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),v={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function y(e,t,i,n){let s=i[t],{length:r,position:a}=v[t],o=s.current,l=i.time;s.current=Math.abs(e[`scroll${a}`]),s.scrollLength=e[`scroll${r}`]-e[`client${r}`],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=(0,p.progress)(0,s.scrollLength,s.current);let u=n-l;s.velocity=u>50?0:(0,f.velocityPerSecond)(s.current-o,u)}e.i(47167);var x=e.i(44230),b=e.i(15923),w=e.i(76959),T=e.i(72846);let S={start:0,center:.5,end:1};function P(e,t,i=0){let n=0;if(e in S&&(e=S[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?n=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?n=t/100*document.documentElement.clientWidth:e.endsWith("vh")?n=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(n=t*e),i+n}let V=[0,0],E=[[0,0],[1,1]],M={x:0,y:0},A=new WeakMap,C=new WeakMap,D=new WeakMap,k=new WeakMap,R=new WeakMap,j=e=>e===document.scrollingElement?window:e;function L(e,{container:t=document.scrollingElement,trackContentSize:i=!1,...n}={}){if(!t)return u.noop;let s=D.get(t);s||(s=new Set,D.set(t,s));let r=function(e,t,i,n={}){return{measure:t=>{!function(e,t=e,i){if(i.x.targetOffset=0,i.y.targetOffset=0,t!==e){let n=t;for(;n&&n!==e;)i.x.targetOffset+=n.offsetLeft,i.y.targetOffset+=n.offsetTop,n=n.offsetParent}i.x.targetLength=t===e?t.scrollWidth:t.clientWidth,i.y.targetLength=t===e?t.scrollHeight:t.clientHeight,i.x.containerLength=e.clientWidth,i.y.containerLength=e.clientHeight}(e,n.target,i),y(e,"x",i,t),y(e,"y",i,t),i.time=t,(n.offset||n.target)&&function(e,t,i){let{offset:n=E}=i,{target:s=e,axis:r="y"}=i,a="y"===r?"height":"width",o=s!==e?function(e,t){let i={x:0,y:0},n=e;for(;n&&n!==t;)if((0,T.isHTMLElement)(n))i.x+=n.offsetLeft,i.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let e=n.getBoundingClientRect(),t=(n=n.parentElement).getBoundingClientRect();i.x+=e.left-t.left,i.y+=e.top-t.top}else if(n instanceof SVGGraphicsElement){let{x:e,y:t}=n.getBBox();i.x+=e,i.y+=t;let s=null,r=n.parentNode;for(;!s;)"svg"===r.tagName&&(s=r),r=n.parentNode;n=s}else break;return i}(s,e):M,l=s===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in s&&"svg"!==s.tagName?s.getBBox():{width:s.clientWidth,height:s.clientHeight}
1,u={width:e.clientWidth,height:e.clientHeight};t[r].offset.length=0;let h=!t[r].interpolate,c=n.length;for(let e=0;e<c;e++){let i=function(e,t,i,n){let s=Array.isArray(e)?e:V,r=0;return"number"==typeof e?s=[e,e]:"string"==typeof e&&(s=(e=e.trim()).includes(" ")?e.split(" "):[e,S[e]?e:"0"]),(r=P(s[0],i,n))-P(s[1],t)}(n[e],u[a],l[a],o[r]);h||i===t[r].interpolatorOffsets[e]||(h=!0),t[r].offset[e]=i}h&&(t[r].interpolate=(0,x.interpolate)(t[r].offset,(0,b.defaultOffset)(n),{clamp:!1}),t[r].interpolatorOffsets=[...t[r].offset]),t[r].progress=(0,w.clamp)(0,1,t[r].interpolate(t[r].current))}(e,i,n)},notify:()=>t(i)}}(t,e,{time:0,x:g(),y:g()},n);if(s.add(r),!A.has(t)){let e=()=>{for(let e of s)e.measure(h.frameData.timestamp);h.frame.preUpdate(i)},i=()=>{for(let e of s)e.notify()},n=()=>h.frame.read(e);A.set(t,n);let r=j(t);window.addEventListener("resize",n),t!==document.documentElement&&C.set(t,(0,m.resize)(t,n)),r.addEventListener("scroll",n),n()}if(i&&!R.has(t)){let e=A.get(t),i={width:t.scrollWidth,height:t.scrollHeight};k.set(t,i);let n=h.frame.read(()=>{let n=t.scrollWidth,s=t.scrollHeight;(i.width!==n||i.height!==s)&&(e(),i.width=n,i.height=s)},!0);R.set(t,n)}let a=A.get(t);return h.frame.read(a,!1,!0),()=>{(0,h.cancelFrame)(a);let e=D.get(t);if(!e||(e.delete(r),e.size))return;let i=A.get(t);A.delete(t),i&&(j(t).removeEventListener("scroll",i),C.get(t)?.(),window.removeEventListener("resize",i));let n=R.get(t);n&&((0,h.cancelFrame)(n),R.delete(t)),k.delete(t)}}let B=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[E,"contain"]],O={start:0,end:1};function I(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,i]of B)if(function(e,t){let i=function(e){if(2!==e.length)return;let t=[];for(let i of e)if(Array.isArray(i))t.push(i);else{if("string"!=typeof i)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let i=O[t[0]],n=O[t[1]];if(void 0!==i&&void 0!==n)return[i,n]}(i);if(!e)return;t.push(e)}return t}(e);if(!i)return!1;for(let e=0;e<2;e++){let n=i[e],s=t[e];if(n[0]!==s[0]||n[1]!==s[1])return!1}return!0}(e,t))return{rangeStart:`${i} 0%`,rangeEnd:`${i} 100%`}}let F=new Map;function N(e){let t={value:0},i=L(i=>{t.value=100*i[e.axis].progress},e);return{currentTime:t,cancel:i}}function _({source:e,container:t,...i}){let{axis:n}=i;e&&(t=e);let s=F.get(t);s||(s=new Map,F.set(t,s));let r=i.target??"self",a=s.get(r);a||(a={},s.set(r,a));let o=n+(i.offset??[]).join(",");return a[o]||(i.target&&d(i.target)?I(i.offset)?a[o]=new ViewTimeline({subject:i.target,axis:n}):a[o]=N({container:t,...i}):d()?a[o]=new ScrollTimeline({source:t,axis:n}):a[o]=N({container:t,...i})),a[o]}function W(e,{axis:t="y",container:i=document.scrollingElement,...n}={}){let s,r,a;if(!i)return u.noop;let o={axis:t,container:i,...n};return"function"==typeof e?function(e,t){return 2===e.length||t&&(t.target||t.offset)?L(i=>{e(i[t.axis].progress,i)},t):c(e,_(t))}(e,o):(s=_(o),r=o.target?I(o.offset):void 0,a=o.target?d(o.target)&&!!r:d(),e.attachTimeline({timeline:a?s:void 0,...r&&a&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:e=>(e.pause(),c(t=>{e.time=e.iterationDuration*t},s))}))}var z=e.i(47414),U=e.i(74008);let $=()=>({scrollX:(0,a.motionValue)(0),scrollY:(0,a.motionValue)(0),scrollXProgress:(0,a.motionValue)(0),scrollYProgress:(0,a.motionValue)(0)}),G=e=>!!e&&!e.current;function H(e,t,i,n){return{factory:r=>{let a,o=()=>{G(i)||G(n)?s.microtask.read(o):a=W(r,{...t,axis:e,container:i?.current||void 0,target:n?.current||void 0})};return s.microtask.read(o),()=>{(0,s.cancelMicrotask)(o),a?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}var K=e.i(37806);function X(e,t){let i=function(e){let t=(0,z.useConstant)(()=>(0,a.motionValue)(e)),{isStatic:i}=(0,l.useContext)(K.MotionConfigContext);if(i){let[,i]=(0,l.useState)(e);(0,l.useEffect)(()=>t.on("change",i),[])}return t}(t()),n=()=>i.set(t());return n(),(0,U.useIsomorphicLayoutEffect)(()=>{let t=()=>h.frame.preRender(n,!1,!0),i=e.map(e=>e.on("change",t));return()=>{i.forEach(e=>e()),(0,h.cancelFrame)(n)}}),i}function Y(e,t,i,n){if("function"==typeof e){let t;return a.collectMotionValues.current=[],e(),t=X(a.collectMotionValues.current,e),a.collectMotionValues.current=void 0,t}if(void 0!==i&&!Array.isArray(i)&&"function"!=typeof t){var s=e,r=t,o=i,l=n;let a=(0,z.useConstant)(()=>Object.keys(o)),u=(0,z.useConstant)(()=>({}));for(let e of a)u[e]=Y(s,r,o[e],l);return u}let u="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),i=t?0:-1,n=e[0+i],s=e[1+i],r=e[2+i],a=e[3+i],o=(0,x.interpolate)(s,r,a);return t?o(n):o}(t,i,n),h=Array.isArray(e)?q(e,u):q([e],([e])=>u(e)),c=Array.isArray(e)?void 0:e.accelerate;return c&&!c.isTransformed&&"function"!=typeof t&&Array.isArray(i)&&n?.clamp!==!1&&(h.accelerate={...c,times:t,keyframes:i,isTransformed:!0,...n?.ease?{ease:n.ease}:{}}),h}function q(e,t){let i=(0,z.useConstant)(()=>[]);return X(e,()=>{i.length=0;let n=e.length;for(let t=0;t<n;t++)i[t]=e[t].get();return t(i)})}var Z=e.i(38303);e.s(["default",0,function({children:e,footer:a,className:u=""}){let h=(0,l.useRef)(null),c=(0,l.useRef)(null),[d,m]=(0,l.useState)(.6),[p,f]=(0,l.useState)(!1),g=(0,n.useReducedMotion)();(0,l.useLayoutEffect)(()=>
1{let e=c.current;if(!e)return;let t=()=>{let t=window.innerHeight||1;m(Math.min(1,Math.max(.05,e.offsetHeight/t)))};t();let i=new ResizeObserver(t);return i.observe(e),window.addEventListener("resize",t),()=>{i.disconnect(),window.removeEventListener("resize",t)}},[]),(0,l.useEffect)(()=>{if(g)return;let e=(0,Z.defer)(()=>f(!0));return()=>window.clearTimeout(e)},[g]);let{scrollYProgress:v}=function({container:e,target:t,...i}={}){var n;let a=(0,z.useConstant)($);n=i.offset,!("u"<typeof window)&&(t?(0,r.supportsViewTimeline)()&&!!I(n):(0,r.supportsScrollTimeline)())&&(a.scrollXProgress.accelerate=H("x",i,e,t),a.scrollYProgress.accelerate=H("y",i,e,t));let u=(0,l.useRef)(null),h=(0,l.useRef)(!1),c=(0,l.useCallback)(()=>(u.current=W((e,{x:t,y:i})=>{a.scrollX.set(t.current),a.scrollXProgress.set(t.progress),a.scrollY.set(i.current),a.scrollYProgress.set(i.progress)},{...i,container:e?.current||void 0,target:t?.current||void 0}),()=>{u.current?.()}),[e,t,JSON.stringify(i.offset)]);return(0,U.useIsomorphicLayoutEffect)(()=>{if(h.current=!1,!(G(e)||G(t)))return c();h.current=!0},[c]),(0,l.useEffect)(()=>{let i;if(!h.current)return;let n=()=>{let n=G(e),s=G(t);(0,o.invariant)(!n,"Container ref is defined but not hydrated","use-scroll-ref"),(0,o.invariant)(!s,"Target ref is defined but not hydrated","use-scroll-ref"),n||s||(i=c())};return s.microtask.read(n),()=>{(0,s.cancelMicrotask)(n),i?.()}},[c]),a}({target:h,offset:["end end","end start"]}),y=.6*d,x=Y(v,[0,y],[24,0]),b=Y(v,e=>e>1e-4&&e<y?"transform":"auto");return(0,t.jsxs)("div",{className:`footer-reveal ${u}`.trim(),children:[(0,t.jsx)("div",{ref:h,className:"footer-reveal__cover",children:e}),(0,t.jsx)("div",{ref:c,className:"footer-reveal__plate",children:(0,t.jsx)(i.motion.div,{className:"footer-reveal__lift",style:p?{y:x,willChange:b}:void 0,children:a})})]})}],20322)},88143,(e,t,i)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:i,blurHeight:s,blurDataURL:r,objectFit:a}){let o=i?40*i:e,l=s?40*s:t,u=o&&l?`viewBox='0 0 ${o} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${r}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},87690,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return r},imageConfigDefault:function(){return a}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}}),e.r(33525);let n=e.r(43369),s=e.r(88143),r=e.r(87690),a=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:i=!1,priority:h=!1,preload:c=!1,loading:d,className:m,quality:p,width:f,height:g,fill:v=!1,style:y,overrideSrc:x,onLoad:b,onLoadingComplete:w,placeholder:T="empty",blurDataURL:S,fetchPriority:P,decoding:V="async",layout:E,objectFit:M,objectPosition:A,lazyBoundary:C,lazyRoot:D,...k},R){var j;let L,B,O,{imgConf:I,showAltText:F,blurComplete:N,defaultLoader:_}=R,W=I||r.imageConfigDefault;if("allSizes"in W)L=W;else{let e=[...W.deviceSizes,...W.imageSizes].sort((e,t)=>
1e-t),t=W.deviceSizes.sort((e,t)=>e-t),i=W.qualities?.sort((e,t)=>e-t);L={...W,allSizes:e,deviceSizes:t,qualities:i}}if(void 0===_)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=k.loader||_;delete k.loader,delete k.srcSet;let U="__next_img_default"in z;if(U){if("custom"===L.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=z;z=t=>{let{config:i,...n}=t;return e(n)}}if(E){"fill"===E&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(y={...y,...e});let i={responsive:"100vw",fill:"100vw"}[E];i&&!t&&(t=i)}let $="",G=l(f),H=l(g);if((j=e)&&"object"==typeof j&&(o(j)||void 0!==j.src)){let t=o(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(B=t.blurWidth,O=t.blurHeight,S=S||t.blurDataURL,$=t.src,!v)if(G||H){if(G&&!H){let e=G/t.width;H=Math.round(t.height*e)}else if(!G&&H){let e=H/t.height;G=Math.round(t.width*e)}}else G=t.width,H=t.height}let K=!h&&!c&&("lazy"===d||void 0===d);(!(e="string"==typeof e?e:$)||e.startsWith("data:")||e.startsWith("blob:"))&&(i=!0,K=!1),L.unoptimized&&(i=!0),U&&!L.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(i=!0);let X=l(p),Y=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:A}:{},F?{}:{color:"transparent"},y),q=N||"empty"===T?null:"blur"===T?`url("data:image/svg+xml;charset=utf-8,${(0,s.getImageBlurSvg)({widthInt:G,heightInt:H,blurWidth:B,blurHeight:O,blurDataURL:S||"",objectFit:Y.objectFit})}")`:`url("${T}")`,Z=a.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,J=q?{backgroundSize:Z,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},Q=function({config:e,src:t,unoptimized:i,width:s,quality:r,sizes:a,loader:o}){if(i){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(e){let i=t.indexOf("?");if(-1!==i){let n=new URLSearchParams(t.slice(i+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,i)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},i,n){if(n){let i=/(^|\s)(1?\d?\d)vw/g,s=[];for(let e;e=i.exec(n);)s.push(parseInt(e[2]));if(s.length){let i=.01*Math.min(...s);return{widths:t.filter(t=>t>=e[0]*i),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof i?{widths:e,kind:"w"}:{widths:[...new Set([i,2*i].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,s,a),h=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((i,n)=>`${o({config:e,src:t,quality:r,width:i})} ${"w"===u?i:n+1}${u}`).join(", "),src:o({config:e,src:t,quality:r,width:l[h]})}}({config:L,src:e,unoptimized:i,width:G,quality:X,sizes:t,loader:z}),ee=K?"lazy":d;return{props:{...k,loading:ee,fetchPriority:P,width:G,height:H,decoding:V,className:m,style:{...Y,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:x||Q.src},meta:{unoptimized:i,preload:c||h,placeholder:T,fill:v}}}},98879,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let n=e.r(71645),s="u"<typeof window,r=s?()=>{}:n.useLayoutEffect,a=s?()=>{}:n.useEffect;function o(e){let{headManager:t,reduceComponentsToState:i}=e;function o(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(
2Boolean));t.updateHead(i(e))}}return s&&(t?.mountedInstances?.add(e.children),o()),r(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),r(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return f},defaultHead:function(){return c}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=e.r(55682),a=e.r(90809),o=e.r(43476),l=a._(e.r(71645)),u=r._(e.r(98879)),h=e.r(42732);function c(){return[(0,o.jsx)("meta",{charSet:"utf-8"},"charset"),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let m=["name","httpEquiv","charSet","itemProp"];function p(e){let t,i,n,s;return e.reduce(d,[]).reverse().concat(c().reverse()).filter((t=new Set,i=new Set,n=new Set,s={},e=>{let r=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let i=e.key.slice(e.key.indexOf("$")+1);t.has(i)?r=!1:t.add(i)}switch(e.type){case"title":case"base":i.has(e.type)?r=!1:i.add(e.type);break;case"meta":for(let t=0,i=m.length;t<i;t++){let i=m[t];if(e.props.hasOwnProperty(i))if("charSet"===i)n.has(i)?r=!1:n.add(i);else{let t=e.props[i],n=s[i]||new Set;("name"!==i||!a)&&n.has(t)?r=!1:(n.add(t),s[i]=n)}}}return r})).reverse().map((e,t)=>{let i=e.key||t;return l.default.cloneElement(e,{key:i})})}let f=function({children:e}){let t=(0,l.useContext)(h.HeadManagerContext);return(0,o.jsx)(u.default,{reduceComponentsToState:p,headManager:t,children:e})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},18556,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return r}});let n=e.r(55682)._(e.r(71645)),s=e.r(87690),r=n.default.createContext(s.imageConfigDefault)},65856,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,i)=>{"use strict";function n(e,t){let i=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e,t.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let n=e.r(70965),s=e.r(43369);function r({config:e,src:t,width:i,quality:a}){let o=(0,s.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let i=new URLSearchParams(t.slice(e+1)),n=i.get("dpl");if(n){o=n,i.delete("dpl");let s=i.toString();t=t.slice(0,e)+(s?"?"+s:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,n.findClosestQuality)(a,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${i}&q=${l}${t.startsWith("/")&&o?`&dpl=${o}`:""}`}r.__next_img_default=!0;let a=r},85437,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return b}});let n=e.r(55682),s=e.r(90809),r=e.r(43476),a=s._(e.r(71645)),o=n._(e.r(74080)),l=n._(e.r(25633)),u=e.r(8927),h=e.r(87690),c=e.r(18556);e.r(33525);let d=e.r(65856),m=n._(e.r(1948)),p=e.r(18581),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qual
3ities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,i,n,s,r,a){let o=e?.src;e&&e["data-loaded-src"]!==o&&(e["data-loaded-src"]=o,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&s(!0),i?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,s=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>s,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{s=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function v(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let y=(0,a.forwardRef)(({src:e,srcSet:t,sizes:i,height:n,width:s,decoding:o,className:l,style:u,fetchPriority:h,placeholder:c,loading:d,unoptimized:m,fill:f,onLoadRef:y,onLoadingCompleteRef:x,setBlurComplete:b,setShowAltText:w,sizesInput:T,onLoad:S,onError:P,...V},E)=>{let M=(0,a.useCallback)(e=>{e&&(P&&(e.src=e.src),e.complete&&g(e,c,y,x,b,m,T))},[e,c,y,x,b,P,m,T]),A=(0,p.useMergedRef)(E,M);return(0,r.jsx)("img",{...V,...v(h),loading:d,width:s,height:n,decoding:o,"data-nimg":f?"fill":"1",className:l,style:u,sizes:i,srcSet:t,src:e,ref:A,onLoad:e=>{g(e.currentTarget,c,y,x,b,m,T)},onError:e=>{w(!0),"empty"!==c&&b(!0),P&&P(e)}})});function x({isAppRouter:e,imgAttributes:t}){let i={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...v(t.fetchPriority)};return e&&o.default.preload?(o.default.preload(t.src,i),null):(0,r.jsx)(l.default,{children:(0,r.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...i},"__nimg-"+t.src+t.srcSet+t.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let i=(0,a.useContext)(d.RouterContext),n=(0,a.useContext)(c.ImageConfigContext),s=(0,a.useMemo)(()=>{let e=f||n||h.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),i=e.deviceSizes.sort((e,t)=>e-t),s=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:i,qualities:s,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:o,onLoadingComplete:l}=e,p=(0,a.useRef)(o);(0,a.useEffect)(()=>{p.current=o},[o]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[v,b]=(0,a.useState)(!1),[w,T]=(0,a.useState)(!1),{props:S,meta:P}=(0,u.getImgProps)(e,{defaultLoader:m.default,imgConf:s,blurComplete:v,showAltText:w});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{...S,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:T,sizesInput:e.sizes,ref:t}),P.preload?(0,r.jsx)(x,{isAppRouter:!i,imgAttributes:S}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},94909,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return h},getImageProps:function(){return u}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=e.r(55682),a=e.r(8927),o=e.r(85437),l=r._(e.r(1948));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let h=o.Image},57688,(e,t,i)=>{t.exports=e.r(94909)},68612,e=>{"use strict";var t=e.i(43476);e.s(["default",0,function(){return(0,t.jsx)("span",{className:"sr-only",children:" (opens in a new tab)"})}])},3020,e=>{"use strict";var t=e.i(43476),i=e.i(57688),n=e.i(18566),s=e.i(71645),r=e.i(41629);let a=new Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:"UTC"});function o(){let[e,i]=(0,s.useState)(null);return(0,s.useEffect)(()=>{let e=()=>{let e=new Date;i({label:a.format(e),iso:e.toISOString()})};e();let t=0,n=window.setTimeout(()=>{e(),t=window.setInterval(e,6e4)},6e4-Date.now()%6e4);return()=>{window.clearTimeout(n),window.clearInterval(t)}},[]),(0,t.jsx)("time",{className:`site-nav__clock${e?" is-live":""}`,dateTime:e?.iso,children:e?`${e.label} UTC`:""})}var l=e.i(13695),u=e.i(68612);let h=[{label:"Wallets",href:"/wallets"},{label:"Protocol",href:"/#why-cashu"},{label:"Implementations",href:"/#implementations"},{label:"Spec",href:"https://docs.cashu.space/",external:!0}];function c({label:e}){return(0,t.jsxs)(t.Fragment,{children:[e,(0,t.jsx)("span",{className:"site-nav__plate","aria-hidden":!0,
3children:e})]})}e.s(["default",0,function(){let[e,a]=(0,s.useState)(!1),d=(0,s.useRef)(null),m=(0,n.usePathname)(),p=e=>!e.external&&!e.href.includes("#")&&m===e.href;(0,s.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&a(!1)};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[e]);let[f,g]=(0,s.useState)(m);return f!==m&&(g(m),a(!1)),(0,s.useEffect)(()=>{let e=d.current;if(!e||"u"<typeof ResizeObserver)return;let t=()=>{let t=Math.ceil(e.getBoundingClientRect().height);t>0&&document.documentElement.style.setProperty("--nav-h",`${t}px`)};t();let i=new ResizeObserver(t);return i.observe(e),document.fonts?.ready.then(t).catch(()=>{}),()=>i.disconnect()},[]),(0,t.jsxs)("header",{className:"site-header-shell",children:[(0,t.jsx)(l.Stagger,{children:(0,t.jsx)(l.StaggerItem,{offsetY:0,children:(0,t.jsxs)("nav",{ref:d,"aria-label":"Primary",className:"site-nav",children:[(0,t.jsxs)("div",{className:"site-nav__lead",children:[(0,t.jsxs)(r.default,{href:"/",prefetch:!1,className:"site-nav__brand focus-ring",children:[(0,t.jsx)(i.default,{src:"/cashu-no-bg.png",alt:"",width:32,height:32,priority:!0,className:"site-nav__logo"}),(0,t.jsx)("span",{className:"site-nav__wordmark",children:"Cashu"})]}),(0,t.jsx)(o,{})]}),(0,t.jsxs)("div",{className:"site-nav__tail",children:[(0,t.jsx)("ul",{className:"site-nav__list",children:h.map(e=>(0,t.jsx)("li",{children:e.external?(0,t.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"site-nav__link focus-ring--on-ink",children:[(0,t.jsx)(c,{label:e.label}),(0,t.jsx)(u.default,{})]}):(0,t.jsx)(r.default,{href:e.href,className:`site-nav__link focus-ring--on-ink${p(e)?" is-current":""}`,"aria-current":p(e)?"page":void 0,children:(0,t.jsx)(c,{label:e.label})})},e.href))}),(0,t.jsxs)("div",{className:"site-nav__actions",children:[(0,t.jsx)("a",{href:"https://github.com/cashubtc",target:"_blank",rel:"noopener noreferrer",className:"site-nav__cta focus-ring--on-ink","aria-label":"View on GitHub (opens in a new tab)",children:(0,t.jsx)("svg",{className:"site-nav__cta-icon",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2c-3.2.7-3.87-1.36-3.87-1.36-.52-1.33-1.28-1.69-1.28-1.69-1.04-.72.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.02 1.76 2.69 1.25 3.35.96.1-.75.4-1.25.72-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.18-3.1-.12-.29-.51-1.47.11-3.06 0 0 .97-.31 3.18 1.18a11 11 0 0 1 5.79 0c2.2-1.49 3.17-1.18 3.17-1.18.63 1.59.24 2.77.12 3.06.74.81 1.18 1.84 1.18 3.1 0 4.43-2.7 5.39-5.26 5.68.41.35.78 1.05.78 2.12v3.14c0 .31.21.68.79.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z"})})}),(0,t.jsx)("button",{type:"button",className:"site-nav__toggle focus-ring--on-ink","aria-expanded":e,"aria-controls":"site-nav-panel","aria-label":e?"Close menu":"Open menu",onClick:()=>a(e=>!e),children:(0,t.jsxs)("span",{className:`site-nav__toggle-icon${e?" is-open":""}`,"aria-hidden":!0,children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})})]})]})]})})}),(0,t.jsx)("div",{id:"site-nav-panel",className:`site-nav-panel${e?" is-open":""}`,"aria-hidden":!e,children:(0,t.jsxs)("div",{className:"site-nav-panel__inner",children:[(0,t.jsx)("ul",{className:"site-nav-panel__list",children:h.map(i=>(0,t.jsx)("li",{children:i.external?(0,t.jsxs)("a",{href:i.href,target:"_blank",rel:"noopener noreferrer",className:"site-nav-panel__link focus-ring--on-ink",onClick:()=>a(!1),tabIndex:e?0:-1,children:[i.label,(0,t.jsx)(u.default,{})]}):(0,t.jsx)(r.default,{href:i.href,className:`site-nav-panel__link focus-ring--on-ink${p(i)?" is-current":""}`,"aria-current":p(i)?"page":void 0,onClick:()=>a(!1),tabIndex:e?0:-1,children:i.label})},i.href))}),(0,t.jsxs)("a",{href:"https://github.com/cashubtc",target:"_blank",rel:"noopener noreferrer",className:"site-nav-panel__cta focus-ring--on-ink",tabIndex:e?0:-1,onClick:()=>a(!1),children:["View on GitHub",(0,t.jsx)(u.default,{})]})]})})]})}],3020)}]);
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.