(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72846,42824,e=>{"use strict";function t(e){return"object"==typeof e&&null!==e}function i(e){return t(e)&&"offsetHeight"in e}e.s(["isObject",()=>t],42824),e.s(["isHTMLElement",()=>i],72846)},85983,e=>{"use strict";function t(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}e.s(["isAnimationControls",()=>t])},32525,6840,e=>{"use strict";function t(e){return"string"==typeof e||Array.isArray(e)}e.s(["isVariantLabel",()=>t],32525);let i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...i];e.s(["variantPriorityOrder",()=>i,"variantProps",()=>s],6840)},87576,e=>{"use strict";var t=e.i(85983),i=e.i(32525),s=e.i(6840);function n(e){return(0,t.isAnimationControls)(e.animate)||s.variantProps.some(t=>(0,i.isVariantLabel)(e[t]))}function r(e){return!!(n(e)||e.variants)}e.s(["isControllingVariants",()=>n,"isVariantNode",()=>r])},83411,e=>{"use strict";let t=e=>!!(e&&e.getVelocity);e.s(["isMotionValue",()=>t])},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);e.s(["transformPropOrder",()=>t,"transformProps",()=>i])},19928,e=>{"use strict";let t=e=>t=>"string"==typeof t&&t.startsWith(e),i=t("--"),s=t("var(--"),n=e=>!!s(e)&&r.test(e.split("/*")[0].trim()),r=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function a(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}e.s(["containsCSSVariable",()=>a,"isCSSVariableName",()=>i,"isCSSVariableToken",()=>n])},65091,e=>{"use strict";let t=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=t("deg"),s=t("%"),n=t("px"),r=t("vh"),a=t("vw"),o={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)};e.s(["degrees",()=>i,"percent",()=>s,"progressPercentage",()=>o,"px",()=>n,"vh",()=>r,"vw",()=>a])},91018,e=>{"use strict";var t=e.i(65091);function i(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let s={correct:(e,s)=>{if(!s.target)return e;if("string"==typeof e)if(!t.px.test(e))return e;else e=parseFloat(e);let n=i(e,s.target.x),r=i(e,s.target.y);return`${n}% ${r}%`}};e.s(["correctBorderRadius",()=>s])},76959,e=>{"use strict";let t=(e,t,i)=>i>t?t:it])},63011,76307,60720,30677,98106,66820,e=>{"use strict";var t=e.i(76959);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},s={...i,transform:e=>(0,t.clamp)(0,1,e)},n={...i,default:1};e.s(["alpha",()=>s,"number",()=>i,"scale",()=>n],76307);let r=e=>Math.round(1e5*e)/1e5;e.s(["sanitize",()=>r],60720);let a=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;e.s(["floatRegex",()=>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)=>s=>{if("string"!=typeof s)return s;let[n,r,o,l]=s.match(a);return{[e]:parseFloat(n),[t]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}};e.s(["isColorString",()=>l,"splitColor",()=>u],98106);let 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:n=1})=>"rgba("+h.transform(e)+", "+h.transform(t)+", "+h.transform(i)+", "+r(s.transform(n))+")"};e.s(["rgba",()=>c],66820);let d={test:l("#"),parse:function(e){let t="",i="",s="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),s=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),s=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,s+=s,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}},transform:c.transform};e.s(["hex",()=>d],63011)},69577,95767,79444,e=>{"use strict";var t=e.i(63011),i=e.i(76307),s=e.i(65091),n=e.i(60720),r=e.i(98106);let a={test:(0,r.isColorString)("hsl","hue"),parse:(0,r.splitColor)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:a=1})=>"hsla("+Math.round(e)+", "+s.percent.transform((0,n.sanitize)(t))+", "+s.percent.transform((0,n.sanitize)(r))+", "+(0,n.sanitize)(i.alpha.transform(a))+")"};e.s(["hsla",()=>a],95767);var o=e.i(66820);let l={test:e=>o.rgba.test(e)||t.hex.test(e)||a.test(e),parse:e=>o.rgba.test(e)?o.rgba.parse(e):a.test(e)?a.parse(e):t.hex.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?o.rgba.transform(e):a.transform(e),getAnimatableNone:e=>{let t=l.parse(e);return t.alpha=0,l.transform(t)}};e.s(["color",()=>l],79444);let u=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var h=e.i(30677);let c="number",d="color",p=/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 m(e){let t=e.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,a=t.replace(p,e=>(l.test(e)?(s.color.push(r),n.push(d),i.push(l.parse(e))):e.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(e)):(s.number.push(r),n.push(c),i.push(parseFloat(e))),++r,"${}")).split("${}");return{values:i,split:a,indexes:s,types:n}}function f(e){return m(e).values}function v(e){let{split:t,types:i}=m(e),s=t.length;return e=>{let r="";for(let a=0;a"number"==typeof e?0:l.test(e)?l.getAnimatableNone(e):e,y={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(h.floatRegex)?.length||0)+(e.match(u)?.length||0)>0},parse:f,createTransformer:v,getAnimatableNone:function(e){let t=f(e);return v(e)(t.map(g))}};e.s(["analyseComplexValue",()=>m,"complex",()=>y],69577)},706,e=>{"use strict";let t=(e,t,i)=>e+(t-e)*i;e.s(["mixNumber",()=>t])},30789,24463,e=>{"use strict";var t=e.i(57788);e.i(19928);var i=e.i(91018),s=e.i(69577),n=e.i(706);let r={borderRadius:{...i.correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:i.correctBorderRadius,borderTopRightRadius:i.correctBorderRadius,borderBottomLeftRadius:i.correctBorderRadius,borderBottomRightRadius:i.correctBorderRadius,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let r=s.complex.parse(e);if(r.length>5)return e;let a=s.complex.createTransformer(e),o=+("number"!=typeof r[0]),l=i.x.scale*t.x,u=i.y.scale*t.y;r[0+o]/=l,r[1+o]/=u;let h=(0,n.mixNumber)(l,u,.5);return"number"==typeof r[2+o]&&(r[2+o]/=h),"number"==typeof r[3+o]&&(r[3+o]/=h),a(r)}}};function a(e,{layout:i,layoutId:s}){return t.transformProps.has(e)||e.startsWith("origin")||(i||void 0!==s)&&(!!r[e]||"opacity"===e)}e.s(["scaleCorrectors",()=>r],24463),e.s(["isForcedMotionValue",()=>a],30789)},46124,e=>{"use strict";let t=(e,t)=>t&&"number"==typeof e?t.transform(e):e;e.s(["getValueAsType",()=>t])},34929,e=>{"use strict";var t=e.i(76307);let i={...t.number,transform:Math.round};var s=e.i(65091);let n={rotate:s.degrees,rotateX:s.degrees,rotateY:s.degrees,rotateZ:s.degrees,scale:t.scale,scaleX:t.scale,scaleY:t.scale,scaleZ:t.scale,skew:s.degrees,skewX:s.degrees,skewY:s.degrees,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:t.alpha,originX:s.progressPercentage,originY:s.progressPercentage,originZ:s.px},r={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,inset:s.px,insetBlock:s.px,insetBlockStart:s.px,insetBlockEnd:s.px,insetInline:s.px,insetInlineStart:s.px,insetInlineEnd:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,paddingBlock:s.px,paddingBlockStart:s.px,paddingBlockEnd:s.px,paddingInline:s.px,paddingInlineStart:s.px,paddingInlineEnd:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,marginBlock:s.px,marginBlockStart:s.px,marginBlockEnd:s.px,marginInline:s.px,marginInlineStart:s.px,marginInlineEnd:s.px,fontSize:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...n,zIndex:i,fillOpacity:t.alpha,strokeOpacity:t.alpha,numOctaves:i};e.s(["numberValueTypes",()=>r],34929)},81261,44947,e=>{"use strict";var t=e.i(46124),i=e.i(34929),s=e.i(57788),n=e.i(19928);let r={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=s.transformPropOrder.length;function o(e,o,l){let{style:u,vars:h,transformOrigin:c}=e,d=!1,p=!1;for(let e in o){let r=o[e];if(s.transformProps.has(e)){d=!0;continue}if((0,n.isCSSVariableName)(e)){h[e]=r;continue}{let s=(0,t.getValueAsType)(r,i.numberValueTypes[e]);e.startsWith("origin")?(p=!0,c[e]=s):u[e]=s}}if(!o.transform&&(d||l?u.transform=function(e,n,o){let l="",u=!0;for(let h=0;ho],44947);let l={offset:"stroke-dashoffset",array:"stroke-dasharray"},u={offset:"strokeDashoffset",array:"strokeDasharray"},h=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function c(e,{attrX:t,attrY:i,attrScale:s,pathLength:n,pathSpacing:r=1,pathOffset:a=0,...c},d,p,m){if(o(e,c,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:v}=e;for(let e of(f.transform&&(v.transform=f.transform,delete f.transform),(v.transform||f.transformOrigin)&&(v.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),v.transform&&(v.transformBox=m?.transformBox??"fill-box",delete f.transformBox),h))void 0!==f[e]&&(v[e]=f[e],delete f[e]);void 0!==t&&(f.x=t),void 0!==i&&(f.y=i),void 0!==s&&(f.scale=s),void 0!==n&&function(e,t,i=1,s=0,n=!0){e.pathLength=1;let r=n?l:u;e[r.offset]=`${-s}`,e[r.array]=`${t} ${i}`}(f,n,r,a,!1)}e.s(["buildSVGAttrs",()=>c],81261)},99951,e=>{"use strict";let t=e=>"string"==typeof e&&"svg"===e.toLowerCase();e.s(["isSVGTag",()=>t])},44966,e=>{"use strict";let t=["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 i(e){if("string"!=typeof e||e.includes("-"));else if(t.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}e.s(["isSVGComponent",()=>i],44966)},84049,e=>{"use strict";var t=e.i(83411),i=e.i(30789);function s(e,s,n){let r=e.style,a=s?.style,o={};if(!r)return o;for(let s in r)((0,t.isMotionValue)(r[s])||a&&(0,t.isMotionValue)(a[s])||(0,i.isForcedMotionValue)(s,e)||n?.getValue(s)?.liveStyle!==void 0)&&(o[s]=r[s]);return o}e.s(["scrapeMotionValuesFromProps",()=>s])},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}function i(e,i,s,n){if("function"==typeof i){let[r,a]=t(n);i=i(void 0!==s?s:e.custom,r,a)}if("string"==typeof i&&(i=e.variants&&e.variants[i]),"function"==typeof i){let[r,a]=t(n);i=i(void 0!==s?s:e.custom,r,a)}return i}e.s(["resolveVariantFromProps",()=>i])},67926,e=>{"use strict";var t=e.i(83411),i=e.i(57788),s=e.i(84049);function n(e,n,r){let a=(0,s.scrapeMotionValuesFromProps)(e,n,r);for(let s in e)((0,t.isMotionValue)(e[s])||(0,t.isMotionValue)(n[s]))&&(a[-1!==i.transformPropOrder.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=e[s]);return a}e.s(["scrapeMotionValuesFromProps",()=>n])},63074,e=>{"use strict";let t=e=>1e3*e,i=e=>e/1e3;e.s(["millisecondsToSeconds",()=>i,"secondsToMilliseconds",()=>t])},72590,e=>{"use strict";let t=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);e.s(["isNumericalString",()=>t])},47507,e=>{"use strict";let t=e=>/^0[^.\s]+$/u.test(e);e.s(["isZeroValueString",()=>t])},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",()=>t,"removeItem",()=>i],33887);class s{constructor(){this.subscriptions=[]}add(e){return t(this.subscriptions,e),()=>i(this.subscriptions,e)}notify(e,t,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](e,t,i);else for(let n=0;ns],70596)},11485,81296,44493,e=>{"use strict";function t(e){for(let t=1;tt],11485);let i=e=>180*e/Math.PI,s=e=>r(i(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:s,rotateZ:s,skewX:e=>i(Math.atan(e[1])),skewY:e=>i(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},r=e=>((e%=360)<0&&(e+=360),e),a=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),o=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),l={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:o,scale:e=>(a(e)+o(e))/2,rotateX:e=>r(i(Math.atan2(e[6],e[5]))),rotateY:e=>r(i(Math.atan2(-e[2],e[0]))),rotateZ:s,rotate:s,skewX:e=>i(Math.atan(e[4])),skewY:e=>i(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function u(e){return+!!e.includes("scale")}function h(e,t){let i,s;if(!e||"none"===e)return u(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=l,s=r;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=n,s=t}if(!s)return u(t);let a=i[t],o=s[1].split(",").map(d);return"function"==typeof a?a(o):o[a]}let c=(e,t)=>{let{transform:i="none"}=getComputedStyle(e);return h(i,t)};function d(e){return parseFloat(e.trim())}e.s(["defaultTransformValue",()=>u,"parseValueFromTransform",()=>h,"readTransformValue",()=>c],81296);var p=e.i(57788),m=e.i(76307),f=e.i(65091);let v=e=>e===m.number||e===f.px,g=new Set(["x","y","z"]),y=p.transformPropOrder.filter(e=>!g.has(e));function b(e){let t=[];return y.forEach(i=>{let s=e.getValue(i);void 0!==s&&(t.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),t}let T={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>h(t,"x"),y:(e,{transform:t})=>h(t,"y")};T.translateX=T.x,T.translateY=T.y,e.s(["isNumOrPxType",()=>v,"positionalValues",()=>T,"removeNonTranslationalTransform",()=>b],44493)},60830,e=>{"use strict";let t=e=>e;e.s(["noop",()=>t])},46791,e=>{"use strict";let t={};e.s(["MotionGlobalConfig",()=>t])},87022,80248,51571,e=>{"use strict";var t=e.i(60830),i=e.i(46791);let s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],n={value:null,addProjectionMetrics:null};function r(e,t){let r=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=s.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,s=new Set,r=!1,a=!1,o=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(t){o.has(t)&&(c.schedule(t),e()),u++,t(l)}let c={schedule:(e,t=!1,n=!1)=>{let a=n&&r?i:s;return t&&o.add(e),a.has(e)||a.add(e),e},cancel:e=>{s.delete(e),o.delete(e)},process:e=>{if(l=e,r){a=!0;return}r=!0,[i,s]=[s,i],i.forEach(h),t&&n.value&&n.value.frameloop[t].push(u),u=0,i.clear(),r=!1,a&&(a=!1,c.process(e))}};return c}(l,t?i:void 0),e),{}),{setup:h,read:c,resolveKeyframes:d,preUpdate:p,update:m,preRender:f,render:v,postRender:g}=u,y=()=>{let s=i.MotionGlobalConfig.useManualTiming?o.timestamp:performance.now();r=!1,i.MotionGlobalConfig.useManualTiming||(o.delta=a?1e3/60:Math.max(Math.min(s-o.timestamp,40),1)),o.timestamp=s,o.isProcessing=!0,h.process(o),c.process(o),d.process(o),p.process(o),m.process(o),f.process(o),v.process(o),g.process(o),o.isProcessing=!1,r&&t&&(a=!1,e(y))};return{schedule:s.reduce((t,i)=>{let s=u[i];return t[i]=(t,i=!1,n=!1)=>(!r&&(r=!0,a=!0,o.isProcessing||e(y)),s.schedule(t,i,n)),t},{}),cancel:e=>{for(let t=0;tn],80248),e.s(["createRenderBatcher",()=>r],51571);let{schedule:a,cancel:o,state:l,steps:u}=r("u">typeof requestAnimationFrame?requestAnimationFrame:t.noop,!0);e.s(["cancelFrame",()=>o,"frame",()=>a,"frameData",()=>l,"frameSteps",()=>u],87022)},21012,e=>{"use strict";var t=e.i(11485),i=e.i(44493),s=e.i(87022);let n=new Set,r=!1,a=!1,o=!1;function l(){if(a){let e=Array.from(n).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),s=new Map;t.forEach(e=>{let t=(0,i.removeNonTranslationalTransform)(e);t.length&&(s.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=s.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,n.forEach(e=>e.complete(o)),n.clear()}function u(){n.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(a=!0)})}function h(){o=!0,u(),l(),o=!1}class c{constructor(e,t,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(n.add(this),r||(r=!0,s.frame.read(u),s.frame.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:i,element:s,motionValue:n}=this;if(null===e[0]){let t=n?.get(),r=e[e.length-1];if(void 0!==t)e[0]=t;else if(s&&i){let t=s.readValue(i,r);null!=t&&(e[0]=t)}void 0===e[0]&&(e[0]=r),n&&void 0===t&&n.set(e[0])}(0,t.fillWildcards)(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),n.delete(this)}cancel(){"scheduled"===this.state&&(n.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}e.s(["KeyframeResolver",()=>c,"flushKeyframeResolvers",()=>h])},65566,e=>{"use strict";var t=e.i(47167);let i=()=>{},s=()=>{};t.default,e.s(["invariant",()=>s,"warning",()=>i],65566)},94581,60900,86902,30551,e=>{"use strict";function t(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}function i(e){let t;return()=>(void 0===t&&(t=e()),t)}e.s(["setStyle",()=>t],94581),e.s(["memo",()=>i],60900);let s={};function n(e,t){let n=i(e);return()=>s[t]??n()}e.s(["memoSupports",()=>n],86902);let r=n(()=>void 0!==window.ScrollTimeline,"scrollTimeline");e.s(["supportsScrollTimeline",()=>r],30551)},14229,e=>{"use strict";let t=e=>null!==e;function i(e,{repeat:s,repeatType:n="loop"},r,a=1){let o=e.filter(t),l=a<0||s&&"loop"!==n&&s%2==1?0:o.length-1;return l&&void 0!==r?r:o[l]}e.s(["getFinalKeyframe",()=>i])},79294,e=>{"use strict";class t{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}e.s(["WithPromise",()=>t])},4169,e=>{"use strict";let t={layout:0,mainThread:0,waapi:0};e.s(["activeAnimations",()=>t])},60855,e=>{"use strict";let t=e=>Array.isArray(e)&&"number"==typeof e[0];e.s(["isBezierDefinition",()=>t])},53396,e=>{"use strict";let 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",()=>t])},56512,e=>{"use strict";let t=(e,t,i=10)=>{let s="",n=Math.max(Math.round(t/i),2);for(let t=0;tt])},68e3,97307,e=>{"use strict";var t=e.i(65566),i=e.i(63074),s=e.i(60830),n=e.i(94581),r=e.i(30551),a=e.i(14229),o=e.i(79294),l=e.i(4169),u=e.i(80248),h=e.i(60855),c=e.i(53396),d=e.i(56512);let p=([e,t,i,s])=>`cubic-bezier(${e}, ${t}, ${i}, ${s})`,m={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:p([0,.65,.55,1]),circOut:p([.55,0,1,.45]),backIn:p([.31,.01,.66,-.59]),backOut:p([.33,1.53,.69,.99])};function f(e){return"function"==typeof e&&"applyToOptions"in e}e.s(["isGenerator",()=>f],97307);class v extends o.WithPromise{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:i,name:s,keyframes:r,pseudoElement:o,allowFlatten:v=!1,finalKeyframe:g,onComplete:y}=e;this.isPseudoElement=!!o,this.allowFlatten=v,this.options=e,(0,t.invariant)("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const b=function({type:e,...t}){return f(e)&&(0,c.supportsLinearEasing)()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:s=0,duration:n=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:f}={},v){let g={[t]:i};f&&(g.offset=f);let y=function e(t,i){if(t)return"function"==typeof t?(0,c.supportsLinearEasing)()?(0,d.generateLinearEasing)(t,i):"ease-out":(0,h.isBezierDefinition)(t)?p(t):Array.isArray(t)?t.map(t=>e(t,i)||m.easeOut):m[t]}(o,n);Array.isArray(y)&&(g.easing=y),u.statsBuffer.value&&l.activeAnimations.waapi++;let b={delay:s,duration:n,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};v&&(b.pseudoElement=v);let T=e.animate(g,b);return u.statsBuffer.value&&T.finished.finally(()=>{l.activeAnimations.waapi--}),T}(i,s,r,b,o),!1===b.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){let e=(0,a.getFinalKeyframe)(r,this.options,g,this.speed);this.updateMotionValue?this.updateMotionValue(e):(0,n.setStyle)(i,s,e),this.animation.cancel()}y?.(),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){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,i.secondsToMilliseconds)(e)}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,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&(0,r.supportsScrollTimeline)())?(this.animation.timeline=e,s.noop):t(this)}}e.s(["NativeAnimation",()=>v],68e3)},62118,60140,e=>{"use strict";let t=new Set(["opacity","clipPath","filter","transform"]);e.s(["acceleratedValues",()=>t],62118);let{schedule:i}=(0,e.i(51571).createRenderBatcher)(queueMicrotask,!1);e.s(["microtask",()=>i],60140)},96173,e=>{"use strict";let t;var i=e.i(46791),s=e.i(87022);function n(){t=void 0}let r={now:()=>(void 0===t&&r.set(s.frameData.isProcessing||i.MotionGlobalConfig.useManualTiming?s.frameData.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(n)}};e.s(["time",()=>r])},30162,e=>{"use strict";let t=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:t(),y:t()}),s=()=>({min:0,max:0}),n=()=>({x:s(),y:s()});e.s(["createBox",()=>n,"createDelta",()=>i])},25791,e=>{"use strict";function t(e,t){return t?1e3/t*e:0}e.s(["velocityPerSecond",()=>t])},86427,e=>{"use strict";let t;var i=e.i(70596),s=e.i(25791),n=e.i(96173),r=e.i(87022);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,t){this.events[e]||(this.events[e]=new i.SubscriptionManager);let s=this.events[e].add(t);return"change"===e?()=>{s(),r.frame.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return t&&t.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=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,s.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()}}function o(e,t){return new a(e,t)}e.s(["motionValue",()=>o])},8792,19991,e=>{"use strict";var t=e.i(69577),i=e.i(30677);let s=new Set(["brightness","contrast","saturate","opacity"]);function n(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(i.floatRegex)||[];if(!r)return e;let a=n.replace(r,""),o=+!!s.has(t);return r!==n&&(o*=100),t+"("+o+a+")"}let r=/\b([a-z-]*)\(.*?\)/gu,a={...t.complex,getAnimatableNone:e=>{let t=e.match(r);return t?t.map(n).join(" "):e}};e.s(["filter",()=>a],8792);let o={...t.complex,getAnimatableNone:e=>{let i=t.complex.parse(e);return t.complex.createTransformer(e)(i.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}};e.s(["mask",()=>o],19991)},3973,e=>{"use strict";var t=e.i(79444),i=e.i(8792),s=e.i(19991);let n={...e.i(34929).numberValueTypes,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:i.filter,WebkitFilter:i.filter,mask:s.mask,WebkitMask:s.mask},r=e=>n[e];e.s(["getDefaultValueType",()=>r])},75554,e=>{"use strict";var t=e.i(69577),i=e.i(8792),s=e.i(19991),n=e.i(3973);let r=new Set([i.filter,s.mask]);function a(e,i){let s=(0,n.getDefaultValueType)(e);return r.has(s)||(s=t.complex),s.getAnimatableNone?s.getAnimatableNone(i):void 0}e.s(["getAnimatableNone",()=>a])},77942,84061,e=>{"use strict";var t=e.i(76307),i=e.i(65091);let s=e=>t=>t.test(e);e.s(["testValueType",()=>s],84061);let n=[t.number,i.px,i.percent,i.degrees,i.vw,i.vh,{test:e=>"auto"===e,parse:e=>e}],r=e=>n.find(s(e));e.s(["dimensionValueTypes",()=>n,"findDimensionValueType",()=>r],77942)},66538,72094,e=>{"use strict";var t=e.i(79444),i=e.i(69577),s=e.i(77942),n=e.i(84061);let r=[...s.dimensionValueTypes,t.color,i.complex],a=e=>r.find((0,n.testValueType)(e));e.s(["findValueType",()=>a],66538);let o=new WeakMap;e.s(["visualElementStore",()=>o],72094)},17218,e=>{"use strict";e.i(47167);var t=e.i(63074),i=e.i(72590),s=e.i(47507),n=e.i(70596),r=e.i(21012),a=e.i(68e3),o=e.i(62118),l=e.i(60140),u=e.i(96173),h=e.i(30162),c=e.i(86427),d=e.i(69577),p=e.i(75554),m=e.i(66538),f=e.i(83411),v=e.i(72094),g=e.i(87576),y=e.i(57788);let b={current:null},T={current:!1},x="u">typeof window;var V=e.i(86579),S=e.i(87022);let w=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],A={};function M(e){A=e}function C(){return A}class k{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:s,skipAnimations:n,blockInitialAnimation:a,visualState:o},l={}){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=r.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=u.time.now();this.renderScheduledAtthis.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(T.current||function(){if(T.current=!0,x)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>b.current=e.matches;e.addEventListener("change",t),t()}else b.current=!1}(),this.shouldReduceMotion=b.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,S.cancelFrame)(this.notifyUpdate),(0,S.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,i){let s;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),i.accelerate&&o.acceleratedValues.has(e)&&this.current instanceof HTMLElement){let{factory:s,keyframes:n,times:r,ease:o,duration:l}=i.accelerate,u=new a.NativeAnimation({element:this.current,name:e,keyframes:n,times:r,ease:o,duration:(0,t.secondsToMilliseconds)(l)}),h=s(u);this.valueSubscriptions.set(e,()=>{h(),u.cancel()});return}let n=y.transformProps.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=i.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&S.frame.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,e,i)),this.valueSubscriptions.set(e,()=>{r(),s&&s(),i.owner&&i.stop()})}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 A){let t=A[e];if(!t)continue;let{isEnabled:i,Feature:s}=t;if(!this.features[e]&&s&&i(this.props)&&(this.features[e]=new s(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,h.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;tt.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,c.motionValue)(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){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,i.isNumericalString)(n)||(0,s.isZeroValueString)(n))?n=parseFloat(n):!(0,m.findValueType)(n)&&d.complex.test(t)&&(n=(0,p.getAnimatableNone)(e,t)),this.setBaseTarget(e,(0,f.isMotionValue)(n)?n.get():n)),(0,f.isMotionValue)(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=(0,V.resolveVariantFromProps)(this.props,i,this.presenceContext?.custom);s&&(t=s[e])}if(i&&void 0!==t)return t;let s=this.getBaseTargetFromProps(this.props,e);return void 0===s||(0,f.isMotionValue)(s)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:s}on(e,t){return this.events[e]||(this.events[e]=new n.SubscriptionManager),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){l.microtask.render(this.render)}}e.s(["VisualElement",()=>k,"getFeatureDefinitions",()=>C,"setFeatureDefinitions",()=>M],17218)},35043,93787,e=>{"use strict";function t(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}e.s(["camelToDash",()=>t],93787);let i="data-"+t("framerAppearId");e.s(["optimizedAppearDataAttribute",()=>i],35043)},53034,e=>{"use strict";function t(e,t){if(e?.inherit&&t){let{inherit:i,...s}=e;return{...t,...s}}return e}e.s(["resolveTransition",()=>t])},42098,e=>{"use strict";class t{constructor(e){this.isMounted=!1,this.node=e}update(){}}e.s(["Feature",()=>t])},53689,27677,77777,35636,e=>{"use strict";function t({top:e,left:t,right:i,bottom:s}){return{x:{min:t,max:i},y:{min:e,max:s}}}function i({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function s(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}e.s(["convertBoundingBoxToBox",()=>t,"convertBoxToBoundingBox",()=>i,"transformBoxPoints",()=>s],27677);var n=e.i(706);function r(e){return void 0===e||1===e}function a({scale:e,scaleX:t,scaleY:i}){return!r(e)||!r(t)||!r(i)}function o(e){return a(e)||l(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function l(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function u(e,t,i){return i+t*(e-i)}function h(e,t,i,s,n){return void 0!==n&&(e=s+n*(e-s)),s+i*(e-s)+t}function c(e,t=0,i=1,s,n){e.min=h(e.min,t,i,s,n),e.max=h(e.max,t,i,s,n)}function d(e,{x:t,y:i}){c(e.x,t.translate,t.scale,t.originPoint),c(e.y,i.translate,i.scale,i.originPoint)}function p(e,t,i,s=!1){let n,r,a=i.length;if(a){t.x=t.y=1;for(let l=0;l.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function m(e,t){e.min=e.min+t,e.max=e.max+t}function f(e,t,i,s,r=.5){let a=(0,n.mixNumber)(e.min,e.max,r);c(e,t,i,a,s)}function v(e,t){f(e.x,t.x,t.scaleX,t.scale,t.originX),f(e.y,t.y,t.scaleY,t.scale,t.originY)}function g(e,i){return t(s(e.getBoundingClientRect(),i))}function y(e,t,i){let s=g(e,i),{scroll:n}=t;return n&&(m(s.x,n.offset.x),m(s.y,n.offset.y)),s}e.s(["has2DTranslate",()=>l,"hasScale",()=>a,"hasTransform",()=>o],77777),e.s(["applyBoxDelta",()=>d,"applyTreeDeltas",()=>p,"scalePoint",()=>u,"transformBox",()=>v,"translateAxis",()=>m],35636),e.s(["measurePageBox",()=>y,"measureViewportBox",()=>g],53689)},80538,e=>{"use strict";var t=e.i(46791),i=e.i(83411);function s(e,s){let n=e.getValue("willChange");if((0,i.isMotionValue)(n)&&n.add)return n.add(s);if(!n&&t.MotionGlobalConfig.WillChange){let i=new t.MotionGlobalConfig.WillChange("auto");e.addValue("willChange",i),i.add(s)}}e.s(["addValueToWillChange",()=>s],80538)},38638,e=>{"use strict";let t=(e,t)=>i=>t(e(i)),i=(...e)=>e.reduce(t);e.s(["pipe",()=>i])},48393,8618,e=>{"use strict";function t(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}function i({hue:e,saturation:i,lightness:s,alpha:n}){e/=360,s/=100;let r=0,a=0,o=0;if(i/=100){let n=s<.5?s*(1+i):s+i-s*i,l=2*s-n;r=t(l,n,e+1/3),a=t(l,n,e),o=t(l,n,e-1/3)}else r=a=o=s;return{red:Math.round(255*r),green:Math.round(255*a),blue:Math.round(255*o),alpha:n}}function s(e,t){return i=>i>0?t:e}e.s(["hslaToRgba",()=>i],48393),e.s(["mixImmediate",()=>s],8618)},3163,69308,e=>{"use strict";var t=e.i(38638),i=e.i(65566),s=e.i(19928),n=e.i(79444),r=e.i(69577),a=e.i(63011),o=e.i(95767),l=e.i(48393),u=e.i(66820),h=e.i(8618),c=e.i(706);let d=(e,t,i)=>{let s=e*e,n=i*(t*t-s)+s;return n<0?0:Math.sqrt(n)},p=[a.hex,u.rgba,o.hsla];function m(e){let t=p.find(t=>t.test(e));if((0,i.warning)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let s=t.parse(e);return t===o.hsla&&(s=(0,l.hslaToRgba)(s)),s}let f=(e,t)=>{let i=m(e),s=m(t);if(!i||!s)return(0,h.mixImmediate)(e,t);let n={...i};return e=>(n.red=d(i.red,s.red,e),n.green=d(i.green,s.green,e),n.blue=d(i.blue,s.blue,e),n.alpha=(0,c.mixNumber)(i.alpha,s.alpha,e),u.rgba.transform(n))},v=new Set(["none","hidden"]);function g(e,t){return i=>(0,c.mixNumber)(e,t,i)}function y(e){return"number"==typeof e?g:"string"==typeof e?(0,s.isCSSVariableToken)(e)?h.mixImmediate:n.color.test(e)?f:x:Array.isArray(e)?b:"object"==typeof e?n.color.test(e)?f:T:h.mixImmediate}function b(e,t){let i=[...e],s=i.length,n=e.map((e,i)=>y(e)(e,t[i]));return e=>{for(let t=0;t{for(let t in s)i[t]=s[t](e);return i}}let x=(e,s)=>{let n=r.complex.createTransformer(s),a=(0,r.analyseComplexValue)(e),o=(0,r.analyseComplexValue)(s);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 '${s}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),(0,h.mixImmediate)(e,s);if(v.has(e)&&!o.values.length||v.has(s)&&!a.values.length)return v.has(e)?t=>t<=0?e:s:t=>t>=1?s:e;return(0,t.pipe)(b(function(e,t){let i=[],s={color:0,var:0,number:0};for(let n=0;nV],3163);var S=e.i(96173),w=e.i(87022);let A=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>w.frame.update(t,e),stop:()=>(0,w.cancelFrame)(t),now:()=>w.frameData.isProcessing?w.frameData.timestamp:S.time.now()}};e.s(["frameloopDriver",()=>A],69308)},29462,66857,73431,40254,37025,93544,41980,78047,91559,e=>{"use strict";var t=e.i(63074),i=e.i(76959),s=e.i(56512);function n(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}e.s(["calcGeneratorDuration",()=>n,"maxGeneratorDuration",()=>2e4],66857);var r=e.i(25791);function a(e,t,i){let s=Math.max(t-5,0);return(0,r.velocityPerSecond)(i-e(s),t-s)}let o=.01,l=2,u=.005,h=.5;var c=e.i(65566);function d(e,t){return e*Math.sqrt(1-t*t)}let p=["duration","bounce"],m=["stiffness","damping","mass"];function f(e,t){return t.some(t=>void 0!==e[t])}function v(e=.3,r=.3){let g,y="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:r}:e,{restSpeed:b,restDelta:T}=y,x=y.keyframes[0],V=y.keyframes[y.keyframes.length-1],S={done:!1,value:x},{stiffness:w,damping:A,mass:M,duration:C,velocity:k,isResolvedFromDuration:P}=function(e){let s={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!f(e,m)&&f(e,p))if(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 n=function({duration:e=800,bounce:s=.3,velocity:n=0,mass:r=1}){let a,o;(0,c.warning)(e<=(0,t.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-s;l=(0,i.clamp)(.05,1,l),e=(0,i.clamp)(.01,10,(0,t.millisecondsToSeconds)(e)),l<1?(a=t=>{let i=t*l,s=i*e;return .001-(i-n)/d(t,l)*Math.exp(-s)},o=t=>{let i=t*l*e,s=Math.pow(l,2)*Math.pow(t,2)*e,r=Math.exp(-i),o=d(Math.pow(t,2),l);return(i*n+n-s)*r*(-a(t)+.001>0?-1:1)/o}):(a=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),o=t=>e*e*(n-t)*Math.exp(-t*e));let u=function(e,t,i){let s=i;for(let i=1;i<12;i++)s-=e(s)/t(s);return s}(a,o,5/e);if(e=(0,t.secondsToMilliseconds)(e),isNaN(u))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(u,2)*r;return{stiffness:t,damping:2*l*Math.sqrt(r*t),duration:e}}}(e);(s={...s,...n,mass:1}).isResolvedFromDuration=!0}return s}({...y,velocity:-(0,t.millisecondsToSeconds)(y.velocity||0)}),E=k||0,F=A/(2*Math.sqrt(w*M)),O=V-x,I=(0,t.millisecondsToSeconds)(Math.sqrt(w/M)),R=5>Math.abs(O);if(b||(b=R?o:l),T||(T=R?u:h),F<1){let e=d(I,F);g=t=>V-Math.exp(-F*I*t)*((E+F*I*O)/e*Math.sin(e*t)+O*Math.cos(e*t))}else if(1===F)g=e=>V-Math.exp(-I*e)*(O+(E+I*O)*e);else{let e=I*Math.sqrt(F*F-1);g=t=>{let i=Math.exp(-F*I*t),s=Math.min(e*t,300);return V-i*((E+F*I*O)*Math.sinh(s)+e*O*Math.cosh(s))/e}}let B={calculatedDuration:P&&C||null,next:e=>{let i=g(e);if(P)S.done=e>=C;else{let s=0===e?E:0;F<1&&(s=0===e?(0,t.secondsToMilliseconds)(E):a(g,e,i));let n=Math.abs(V-i)<=T;S.done=Math.abs(s)<=b&&n}return S.value=S.done?V:i,S},toString:()=>{let e=Math.min(n(B),2e4),t=(0,s.generateLinearEasing)(t=>B.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return B}function g({keyframes:e,velocity:t=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:r=500,modifyTarget:o,min:l,max:u,restDelta:h=.5,restSpeed:c}){let d,p,m=e[0],f={done:!1,value:m},g=i*t,y=m+g,b=void 0===o?y:o(y);b!==y&&(g=b-m);let T=e=>-g*Math.exp(-e/s),x=e=>b+T(e),V=e=>{let t=T(e),i=x(e);f.done=Math.abs(t)<=h,f.value=f.done?b:i},S=e=>{let t;if(t=f.value,void 0!==l&&tu){var i;d=e,p=v({keyframes:[f.value,(i=f.value,void 0===l?u:void 0===u||Math.abs(l-i){let t=!1;return(p||void 0!==d||(t=!0,V(e),S(e)),void 0!==d&&e>=d)?p.next(e-d):(t||V(e),f)}}}v.applyToOptions=e=>{let i=function(e,i=100,s){let r=s({...e,keyframes:[0,i]}),a=Math.min(n(r),2e4);return{type:"keyframes",ease:e=>r.next(a*e).value/i,duration:(0,t.millisecondsToSeconds)(a)}}(e,100,v);return e.ease=i.ease,e.duration=(0,t.secondsToMilliseconds)(i.duration),e.type="keyframes",e},e.s(["spring",()=>v],73431),e.s(["inertia",()=>g],29462);var y=e.i(60830);let b=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function T(e,t,i,s){return e===t&&i===s?y.noop:n=>0===n||1===n?n:b(function(e,t,i,s,n){let r,a,o=0;do(r=b(a=t+(i-t)/2,s,n)-e)>0?i=a:t=a;while(Math.abs(r)>1e-7&&++o<12)return a}(n,0,1,e,i),t,s)}e.s(["cubicBezier",()=>T],40254);let x=T(.42,0,1,1),V=T(0,0,.58,1),S=T(.42,0,.58,1);e.s(["easeIn",()=>x,"easeInOut",()=>S,"easeOut",()=>V],37025);let w=e=>Array.isArray(e)&&"number"!=typeof e[0];e.s(["isEasingArray",()=>w],93544);let A=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,M=e=>t=>1-e(1-t),C=T(.33,1.53,.69,.99),k=M(C),P=A(k);e.s(["backIn",()=>k,"backInOut",()=>P,"backOut",()=>C],41980);let E=e=>(e*=2)<1?.5*k(e):.5*(2-Math.pow(2,-10*(e-1)));e.s(["anticipate",()=>E],78047);let F=e=>1-Math.sin(Math.acos(e)),O=M(F),I=A(F);e.s(["circIn",()=>F,"circInOut",()=>I,"circOut",()=>O],91559)},68514,83920,e=>{"use strict";var t=e.i(37025),i=e.i(93544),s=e.i(65566),n=e.i(60830),r=e.i(78047),a=e.i(41980),o=e.i(91559),l=e.i(40254),u=e.i(60855);let h={linear:n.noop,easeIn:t.easeIn,easeInOut:t.easeInOut,easeOut:t.easeOut,circIn:o.circIn,circInOut:o.circInOut,circOut:o.circOut,backIn:a.backIn,backInOut:a.backInOut,backOut:a.backOut,anticipate:r.anticipate},c=e=>{if((0,u.isBezierDefinition)(e)){(0,s.invariant)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,n,r]=e;return(0,l.cubicBezier)(t,i,n,r)}return"string"==typeof e?((0,s.invariant)(void 0!==h[e],`Invalid easing type '${e}'`,"invalid-easing-type"),h[e]):e};var d=e.i(76959),p=e.i(46791),m=e.i(38638);let f=(e,t,i)=>{let s=t-e;return 0===s?1:(i-e)/s};e.s(["progress",()=>f],83920);var v=e.i(3163),g=e.i(706);function y({duration:e=300,keyframes:r,times:a,ease:o="easeInOut"}){var l;let u,h=(0,i.isEasingArray)(o)?o.map(c):c(o),y={done:!1,value:r[0]},b=function(e,t,{clamp:i=!0,ease:r,mixer:a}={}){let o=e.length;if((0,s.invariant)(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let l=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let u=function(e,t,i){let s=[],r=i||p.MotionGlobalConfig.mix||v.mix,a=e.length-1;for(let i=0;i{if(l&&i1)for(;sc((0,d.clamp)(e[0],e[o-1],t)):c}((l=a&&a.length===r.length?a:(!function(e,t){let i=e[e.length-1];for(let s=1;s<=t;s++){let n=f(0,t,s);e.push((0,g.mixNumber)(i,1,n))}}(u=[0],r.length-1),u),l.map(t=>t*e)),r,{ease:Array.isArray(h)?h:r.map(()=>h||t.easeInOut).splice(0,r.length-1)});return{calculatedDuration:e,next:t=>(y.value=b(t),y.done=t>=e,y)}}e.s(["keyframes",()=>y],68514)},44573,e=>{"use strict";var t=e.i(29462),i=e.i(68514),s=e.i(73431);let n={decay:t.inertia,inertia:t.inertia,tween:i.keyframes,keyframes:i.keyframes,spring:s.spring};function r(e){"string"==typeof e.type&&(e.type=n[e.type])}e.s(["replaceTransitionType",()=>r])},83352,e=>{"use strict";var t=e.i(38638),i=e.i(76959),s=e.i(63074),n=e.i(96173),r=e.i(4169),a=e.i(3163),o=e.i(69308),l=e.i(29462),u=e.i(68514),h=e.i(66857),c=e.i(14229),d=e.i(44573),p=e.i(79294);let m=e=>e/100;class f extends p.WithPromise{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==n.time.now()&&this.tick(n.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},r.activeAnimations.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;(0,d.replaceTransitionType)(e);let{type:i=u.keyframes,repeat:s=0,repeatDelay:n=0,repeatType:r,velocity:o=0}=e,{keyframes:l}=e,c=i||u.keyframes;c!==u.keyframes&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,t.pipe)(m,(0,a.mix)(l[0],l[1])),l=[0,100]);let p=c({...e,keyframes:l});"mirror"===r&&(this.mirroredGenerator=c({...e,keyframes:[...l].reverse(),velocity:-o})),null===p.calculatedDuration&&(p.calculatedDuration=(0,h.calcGeneratorDuration)(p));let{calculatedDuration:f}=p;this.calculatedDuration=f,this.resolvedDuration=f+n,this.totalDuration=this.resolvedDuration*(s+1)-n,this.generator=p}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{generator:s,totalDuration:n,mixKeyframes:r,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:u}=this;if(null===this.startTime)return s.next(0);let{delay:h=0,keyframes:d,repeat:p,repeatType:m,repeatDelay:f,type:v,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let b=this.currentTime-h*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?b<0:b>n;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,V=s;if(p){let e=Math.min(this.currentTime,n)/o,t=Math.floor(e),s=e%1;!s&&e>=1&&(s=1),1===s&&t--,(t=Math.min(t,p+1))%2&&("reverse"===m?(s=1-s,f&&(s-=f/o)):"mirror"===m&&(V=a)),x=(0,i.clamp)(0,1,s)*o}let S=T?{done:!1,value:d[0]}:V.next(x);r&&(S.value=r(S.value));let{done:w}=S;T||null===u||(w=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return A&&v!==l.inertia&&(S.value=(0,c.getFinalKeyframe)(d,this.options,y,this.speed)),g&&g(S.value),A&&this.finish(),S}then(e,t){return this.finished.then(e,t)}get duration(){return(0,s.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,s.millisecondsToSeconds)(e)}get time(){return(0,s.millisecondsToSeconds)(this.currentTime)}set time(e){e=(0,s.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?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(n.time.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,s.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=o.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(n.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,r.activeAnimations.mainThread--}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",()=>f])},42062,43116,e=>{"use strict";var t=e.i(46791),i=e.i(60830),s=e.i(96173),n=e.i(83352),r=e.i(14229),a=e.i(21012),o=e.i(76959),l=e.i(68e3),u=e.i(44573),h=e.i(78047),c=e.i(41980),d=e.i(91559);let p={anticipate:h.anticipate,backInOut:c.backInOut,circInOut:d.circInOut};class m extends l.NativeAnimation{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in p&&(e.ease=p[e.ease])}(e),(0,u.replaceTransitionType)(e),super(e),void 0!==e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:r,element:a,...l}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let u=new n.JSAnimation({...l,autoplay:!1}),h=Math.max(10,s.time.now()-this.startTime),c=(0,o.clamp)(0,10,h-10);t.setWithVelocity(u.sample(Math.max(0,h-c)).value,u.sample(h).value,c),u.stop()}}var f=e.i(65566),v=e.i(97307),g=e.i(69577);let y=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(g.complex.test(e)||"0"===e)&&!e.startsWith("url("));function b(e){e.duration=0,e.type="keyframes"}e.s(["makeAnimationInstant",()=>b],43116);var T=e.i(79294),x=e.i(60900);let V=new Set(["opacity","clipPath","filter","transform"]),S=(0,x.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class w extends T.WithPromise{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o="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=s.time.now();const p={autoplay:e,delay:t,type:i,repeat:n,repeatDelay:r,repeatType:o,name:u,motionValue:h,element:c,...d},m=c?.KeyframeResolver||a.KeyframeResolver;this.keyframeResolver=new m(l,(e,t,i)=>this.onKeyframesResolved(e,t,p,!i),u,h,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,a,o,l){this.keyframeResolver=void 0;let{name:u,type:h,velocity:c,delay:d,isHandoff:p,onUpdate:g}=o;this.resolvedAt=s.time.now(),!function(e,t,i,s){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let r=e[e.length-1],a=y(n,t),o=y(r,t);return(0,f.warning)(a===o,`You are trying to animate ${t} from "${n}" to "${r}". "${a?r:n}" 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;i40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:a,...o,keyframes:e},x=!p&&function(e){let{motionValue:t,name:i,repeatDelay:s,repeatType:n,damping:r,type:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=t.owner.getProps();return S()&&i&&V.has(i)&&("transform"!==i||!l)&&!o&&!s&&"mirror"!==n&&0!==r&&"inertia"!==a}(T),w=T.motionValue?.owner?.current,A=x?new m({...T,element:w}):new n.JSAnimation(T);A.finished.then(()=>{this.notifyFinished()}).catch(i.noop),this.pendingTimeline&&(this.stopTimeline=A.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=A}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",()=>w],42062)},87333,e=>{"use strict";var t=e.i(53034);function i(e,i){let s=e?.[i]??e?.default??e;return s!==e?(0,t.resolveTransition)(s,e):s}e.s(["getValueTransition",()=>i])},39011,e=>{"use strict";var t=e.i(63074),i=e.i(46791),s=e.i(42062),n=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},c=e=>null!==e;var d=e.i(87022);let p=(e,p,m,f={},v,g)=>y=>{let b=(0,r.getValueTransition)(f,e)||{},T=b.delay||f.delay||0,{elapsed:x=0}=f;x-=(0,t.secondsToMilliseconds)(T);let V={keyframes:Array.isArray(m)?m:[null,m],ease:"easeOut",velocity:p.getVelocity(),...b,delay:-x,onUpdate:e=>{p.set(e),b.onUpdate&&b.onUpdate(e)},onComplete:()=>{y(),b.onComplete&&b.onComplete()},name:e,motionValue:p,element:g?void 0:v};!function({when:e,delay:t,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(b)&&Object.assign(V,((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,V)),V.duration&&(V.duration=(0,t.secondsToMilliseconds)(V.duration)),V.repeatDelay&&(V.repeatDelay=(0,t.secondsToMilliseconds)(V.repeatDelay)),void 0!==V.from&&(V.keyframes[0]=V.from);let S=!1;if(!1!==V.type&&(0!==V.duration||V.repeatDelay)||((0,a.makeAnimationInstant)(V),0===V.delay&&(S=!0)),(i.MotionGlobalConfig.instantAnimations||i.MotionGlobalConfig.skipAnimations||v?.shouldSkipAnimations)&&(S=!0,(0,a.makeAnimationInstant)(V),V.delay=0),V.allowFlatten=!b.type&&!b.ease,S&&!g&&void 0!==p.get()){let e=function(e,{repeat:t,repeatType:i="loop"},s){let n=e.filter(c),r=t&&"loop"!==i&&t%2==1?0:n.length-1;return n[r]}(V.keyframes,b);if(void 0!==e)return void d.frame.update(()=>{V.onUpdate(e),V.onComplete()})}return b.isSync?new n.JSAnimation(V):new s.AsyncMotionValueAnimation(V)};e.s(["animateMotionValue",()=>p],39011)},19880,e=>{"use strict";let t=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function i(e){return t.has(e.tagName)||!0===e.isContentEditable}let s=new Set(["INPUT","SELECT","TEXTAREA"]);function n(e){return s.has(e.tagName)||!0===e.isContentEditable}e.s(["isElementKeyboardAccessible",()=>i,"isElementTextInput",()=>n])},82774,e=>{"use strict";function t(e,i,s,n={passive:!0}){return e.addEventListener(i,s,n),()=>e.removeEventListener(i,s)}e.s(["addDomEvent",()=>t])},39676,49652,e=>{"use strict";let t={x:!1,y:!1};function i(){return t.x||t.y}function s(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let s=document;t&&(s=t.current);let n=i?.[e]??s.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(e=>null!=e)}e.s(["isDragActive",()=>i,"isDragging",()=>t],39676),e.s(["resolveElements",()=>s],49652)},65536,41327,e=>{"use strict";let t=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function i(e){return{point:{x:e.pageX,y:e.pageY}}}e.s(["isPrimaryPointer",()=>t],41327);let s=e=>s=>t(s)&&e(s,i(s));e.s(["addPointerInfo",()=>s,"extractEventInfo",()=>i],65536)},16896,e=>{"use strict";var t=e.i(35043);function i(e){return e.props[t.optimizedAppearDataAttribute]}e.s(["getOptimisedAppearId",()=>i])},18812,e=>{"use strict";var t=e.i(86579);function i(e,i,s){let n=e.getProps();return(0,t.resolveVariantFromProps)(n,i,void 0!==s?s:n.custom,e)}e.s(["resolveVariant",()=>i])},64440,e=>{"use strict";let t=new Set(["width","height","top","left","right","bottom",...e.i(57788).transformPropOrder]);e.s(["positionalKeys",()=>t])},47834,73615,e=>{"use strict";var t=e.i(86427),i=e.i(18812);let s=e=>Array.isArray(e);function n(e,n){let{transitionEnd:r={},transition:a={},...o}=(0,i.resolveVariant)(e,n)||{};for(let i in o={...o,...r}){var l;let n=s(l=o[i])?l[l.length-1]||0:l;e.hasValue(i)?e.getValue(i).set(n):e.addValue(i,(0,t.motionValue)(n))}}e.s(["isKeyframesTarget",()=>s],73615),e.s(["setTarget",()=>n],47834)},76859,35384,e=>{"use strict";var t=e.i(18812),i=e.i(87333),s=e.i(53034),n=e.i(64440),r=e.i(47834),a=e.i(80538),o=e.i(16896),l=e.i(39011),u=e.i(87022);function h(e,t,{delay:c=0,transitionOverride:d,type:p}={}){let{transition:m,transitionEnd:f,...v}=t,g=e.getDefaultTransition();m=m?(0,s.resolveTransition)(m,g):g;let y=m?.reduceMotion;d&&(m=d);let b=[],T=p&&e.animationState&&e.animationState.getState()[p];for(let t in v){let s=e.getValue(t,e.latestValues[t]??null),r=v[t];if(void 0===r||T&&function({protectedKeys:e,needsAnimating:t},i){let s=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,s}(T,t))continue;let h={delay:c,...(0,i.getValueTransition)(m||{},t)},d=s.get();if(void 0!==d&&!s.isAnimating&&!Array.isArray(r)&&r===d&&!h.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let i=(0,o.getOptimisedAppearId)(e);if(i){let e=window.MotionHandoffAnimation(i,t,u.frame);null!==e&&(h.startTime=e,p=!0)}}(0,a.addValueToWillChange)(e,t);let f=y??e.shouldReduceMotion;s.start((0,l.animateMotionValue)(t,s,r,f&&n.positionalKeys.has(t)?{type:!1}:h,e,p));let g=s.animation;g&&b.push(g)}if(f){let t=()=>u.frame.update(()=>{f&&(0,r.setTarget)(e,f)});b.length?Promise.all(b).then(t):t()}return b}function c(e,t,i,s=0,n=1){let r=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,o=(a-1)*s;return"function"==typeof i?i(r,a):1===n?r*s:o-r*s}function d(e,i,s={}){let n=(0,t.resolveVariant)(e,i,"exit"===s.type?e.presenceContext?.custom:void 0),{transition:r=e.getDefaultTransition()||{}}=n||{};s.transitionOverride&&(r=s.transitionOverride);let a=n?()=>Promise.all(h(e,n,s)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(t=0)=>{let{delayChildren:n=0,staggerChildren:a,staggerDirection:o}=r;return function(e,t,i=0,s=0,n=0,r=1,a){let o=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),o.push(d(l,t,{...a,delay:i+("function"==typeof s?0:s)+c(e.variantChildren,l,s,n,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}(e,i,t,n,a,o,s)}:()=>Promise.resolve(),{when:l}=r;if(!l)return Promise.all([a(),o(s.delay)]);{let[e,t]="beforeChildren"===l?[a,o]:[o,a];return e().then(()=>t())}}function p(e,i,s={}){let n;if(e.notify("AnimationStart",i),Array.isArray(i))n=Promise.all(i.map(t=>d(e,t,s)));else if("string"==typeof i)n=d(e,i,s);else{let r="function"==typeof i?(0,t.resolveVariant)(e,i,s.custom):i;n=Promise.all(h(e,r,s))}return n.then(()=>{e.notify("AnimationComplete",i)})}e.s(["calcChildStagger",()=>c],35384),e.s(["animateVisualElement",()=>p],76859)},94562,e=>{"use strict";var t=e.i(32525),i=e.i(6840);let s=i.variantProps.length;e.s(["getVariantContext",()=>function e(n){if(!n)return;if(!n.isControllingVariants){let t=n.parent&&e(n.parent)||{};return void 0!==n.props.initial&&(t.initial=n.props.initial),t}let r={};for(let e=0;e{"use strict";var t=e.i(42098),i=e.i(76859),s=e.i(35384),n=e.i(94562),r=e.i(85983),a=e.i(73615),o=e.i(32525),l=e.i(18812);function u(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let s=0;sPromise.all(t.map(({animation:t,options:s})=>(0,i.animateVisualElement)(e,t,s))),h=m(),p=!0,f=t=>(i,s)=>{let n=(0,l.resolveVariant)(e,s,"exit"===t?e.presenceContext?.custom:void 0);if(n){let{transition:e,transitionEnd:t,...s}=n;i={...i,...s,...t}}return i};function v(i){let{props:m}=e,v=(0,n.getVariantContext)(e.parent)||{},g=[],y=new Set,b={},T=1/0;for(let t=0;tT&&w,P=!1,E=Array.isArray(S)?S:[S],F=E.reduce(f(n),{});!1===A&&(F={});let{prevResolvedValues:O={}}=d,I={...O,...F},R=t=>{k=!0,y.has(t)&&(P=!0,y.delete(t)),d.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in I){let t=F[e],i=O[e];if(!b.hasOwnProperty(e))((0,a.isKeyframesTarget)(t)&&(0,a.isKeyframesTarget)(i)?u(t,i):t===i)?void 0!==t&&y.has(e)?R(e):d.protectedKeys[e]=!0:null!=t?R(e):y.add(e)}d.prevProp=S,d.prevResolvedValues=F,d.isActive&&(b={...b,...F}),p&&e.blockInitialAnimation&&(k=!1);let B=M&&C,D=!B||P;k&&D&&g.push(...E.map(t=>{let i={type:n};if("string"==typeof t&&p&&!B&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,r=(0,l.resolveVariant)(n,t);if(n.enteringChildren&&r){let{delayChildren:t}=r.transition||{};i.delay=(0,s.calcChildStagger)(n.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(y.size){let t={};if("boolean"!=typeof m.initial){let i=(0,l.resolveVariant)(e,Array.isArray(m.initial)?m.initial[0]:m.initial);i&&i.transition&&(t.transition=i.transition)}y.forEach(i=>{let s=e.getBaseTarget(i),n=e.getValue(i);n&&(n.liveStyle=!0),t[i]=s??null}),g.push({animation:t})}let S=!!g.length;return p&&(!1===m.initial||m.initial===m.animate)&&!e.manuallyAnimateOnMount&&(S=!1),p=!1,S?t(g):Promise.resolve()}return{animateChanges:v,setActive:function(t,i){if(h[t].isActive===i)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,i)),h[t].isActive=i;let s=v(t);for(let e in h)h[e].protectedKeys={};return s},setAnimateFunction:function(i){t=i(e)},getState:()=>h,reset:()=>{h=m()}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,r.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 g=0;class y extends v.Feature{constructor(){super(...arguments),this.id=g++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let s=this.node.animationState.setActive("exit",!e);t&&!e&&s.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let b={animation:{Feature:f},exit:{Feature:y}};e.s(["animations",()=>b],23070)},8648,73089,e=>{"use strict";var t=e.i(39676),i=e.i(49652);function s(e,t){let s=(0,i.resolveElements)(e),n=new AbortController;return[s,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function n(e,i,r={}){let[a,o,l]=s(e,r);return a.forEach(e=>{let s,n=!1,r=!1,a=t=>{s&&(s(t),s=void 0),e.removeEventListener("pointerleave",u)},l=e=>{n=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),r&&(r=!1,a(e))},u=e=>{if("touch"!==e.pointerType){if(n){r=!0;return}a(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,t.isDragActive)())return;r=!1;let a=i(e,n);"function"==typeof a&&(s=a,e.addEventListener("pointerleave",u,o))},o),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",l,o)},o)}),l}e.s(["setupGesture",()=>s],73089),e.s(["hover",()=>n],8648)},57512,e=>{"use strict";var t=e.i(42098),i=e.i(8648),s=e.i(87022),n=e.i(65536);function r(e,t,i){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===i);let a=r["onHover"+i];a&&s.frame.postRender(()=>a(t,(0,n.extractEventInfo)(t)))}class a extends t.Feature{mount(){let{current:e}=this.node;e&&(this.unmount=(0,i.hover)(e,(e,t)=>(r(this.node,t,"Start"),e=>r(this.node,e,"End"))))}unmount(){}}e.s(["HoverGesture",()=>a])},99642,e=>{"use strict";var t=e.i(42098),i=e.i(82774),s=e.i(38638);class n extends t.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,s.pipe)((0,i.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,i.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}e.s(["FocusGesture",()=>n])},60863,e=>{"use strict";let t=(e,i)=>!!i&&(e===i||t(e,i.parentElement));e.s(["isNodeOrChild",()=>t])},8149,e=>{"use strict";var t=e.i(57512),i=e.i(99642),s=e.i(42098),n=e.i(72846),r=e.i(39676),a=e.i(60863),o=e.i(41327),l=e.i(73089),u=e.i(19880);let h=new WeakSet;function c(e){return t=>{"Enter"===t.key&&e(t)}}function d(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function p(e){return(0,o.isPrimaryPointer)(e)&&!(0,r.isDragActive)()}let m=new WeakSet;var f=e.i(87022),v=e.i(65536);function g(e,t,i){let{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&&f.frame.postRender(()=>n(t,(0,v.extractEventInfo)(t)))}class y extends s.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[s,r,o]=(0,l.setupGesture)(e,i),f=e=>{let s=e.currentTarget;if(!p(e)||m.has(e))return;h.add(s),i.stopPropagation&&m.add(e);let n=t(s,e),o=(e,t)=>{window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",u),h.has(s)&&h.delete(s),p(e)&&"function"==typeof n&&n(e,{success:t})},l=e=>{o(e,s===window||s===document||i.useGlobalTarget||(0,a.isNodeOrChild)(s,e.target))},u=e=>{o(e,!1)};window.addEventListener("pointerup",l,r),window.addEventListener("pointercancel",u,r)};return s.forEach(e=>{(i.useGlobalTarget?window:e).addEventListener("pointerdown",f,r),(0,n.isHTMLElement)(e)&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let s=c(()=>{if(h.has(i))return;d(i,"down");let e=c(()=>{d(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>d(i,"cancel"),t)});i.addEventListener("keydown",s,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),t)})(e,r)),(0,u.isElementKeyboardAccessible)(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(g(this.node,t,"Start"),(e,{success:t})=>g(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}var b=s;let T=new WeakMap,x=new WeakMap,V=e=>{let t=T.get(e.target);t&&t(e)},S=e=>{e.forEach(V)},w={some:0,all:1};class A extends b.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:s,margin:n,amount:r="some",once:a}=i,o={root:s?s.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:w[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:s}=this.node.getProps(),n=t?i:s;n&&n(e)};return e=this.node.current,t=function({root:e,...t}){let i=e||document;x.has(i)||x.set(i,{});let s=x.get(i),n=JSON.stringify(t);return s[n]||(s[n]=new IntersectionObserver(S,{root:e,...t})),s[n]}(o),T.set(e,l),t.observe(e),()=>{T.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}let M={inView:{Feature:A},tap:{Feature:y},focus:{Feature:i.FocusGesture},hover:{Feature:t.HoverGesture}};e.s(["gestureAnimations",()=>M],8149)},84015,e=>{"use strict";var t=e.i(65566),i=e.i(72590),s=e.i(19928);let n=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;e.s(["getVariableValue",()=>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=n.exec(e);if(!t)return[,];let[,i,s,r]=t;return[`--${i??s}`,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,s.isCSSVariableToken)(u)?e(u,a,o+1):u}])},86871,e=>{"use strict";var t=e.i(47507);function i(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||(0,t.isZeroValueString)(e)}e.s(["isNone",()=>i])},46436,e=>{"use strict";var t=e.i(64440),i=e.i(77942),s=e.i(84015),n=e.i(19928),r=e.i(21012),a=e.i(86871),o=e.i(69577),l=e.i(75554);let u=new Set(["auto","none","0"]);var h=e.i(44493);class c extends r.KeyframeResolver{constructor(e,t,i,s,n){super(e,t,i,s,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:r,name:a}=this;if(!r||!r.current)return;super.readKeyframes();for(let t=0;t{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}e.s(["DOMKeyframesResolver",()=>c],46436)},94978,e=>{"use strict";var t=e.i(83411),i=e.i(46436),s=e.i(17218);class n extends s.VisualElement{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}`)}))}}e.s(["DOMVisualElement",()=>n])},38698,e=>{"use strict";let t=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",()=>t])},88826,49095,e=>{"use strict";var t=e.i(93787);function i(e,{style:t,vars:i},s,n){let r,a=e.style;for(r in t)a[r]=t[r];for(r in n?.applyProjectionStyles(a,s),i)a.setProperty(r,i[r])}e.s(["renderHTML",()=>i],49095);var s=e.i(38698);function n(e,n,r,a){for(let r in i(e,n,void 0,a),n.attrs)e.setAttribute(s.camelCaseAttributes.has(r)?r:(0,t.camelToDash)(r),n.attrs[r])}e.s(["renderSVG",()=>n],88826)},75737,e=>{"use strict";var t=e.i(57788),i=e.i(3973),s=e.i(30162),n=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(67926);class c extends n.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.createBox}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,s){if(t.transformProps.has(s)){let e=(0,i.getDefaultValueType)(s);return e&&e.default||0}return s=o.camelCaseAttributes.has(s)?s:(0,r.camelToDash)(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,t,i){return(0,h.scrapeMotionValuesFromProps)(e,t,i)}build(e,t,i){(0,a.buildSVGAttrs)(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,s){(0,u.renderSVG)(e,t,i,s)}mount(e){this.isSVGTag=(0,l.isSVGTag)(e.tagName),super.mount(e)}}e.s(["SVGVisualElement",()=>c])},86783,e=>{"use strict";var t=e.i(19928),i=e.i(57788),s=e.i(81296),n=e.i(53689),r=e.i(94978),a=e.i(44947),o=e.i(49095),l=e.i(84049);class u extends r.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=o.renderHTML}readValueFromInstance(e,n){if(i.transformProps.has(n))return this.projection?.isProjecting?(0,s.defaultTransformValue)(n):(0,s.readTransformValue)(e,n);{let i=window.getComputedStyle(e),s=((0,t.isCSSVariableName)(n)?i.getPropertyValue(n):i[n])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,n.measureViewportBox)(e,t)}build(e,t,i){(0,a.buildHTMLStyles)(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return(0,l.scrapeMotionValuesFromProps)(e,t,i)}}e.s(["HTMLVisualElement",()=>u])},62607,e=>{"use strict";var t=e.i(23070),i=e.i(8149),s=e.i(75737),n=e.i(86783),r=e.i(71645),a=e.i(44966);let o={renderer:(e,t)=>t.isSVG??(0,a.isSVGComponent)(e)?new s.SVGVisualElement(t):new n.HTMLVisualElement(t,{allowProjection:e!==r.Fragment}),...t.animations,...i.gestureAnimations};e.s(["domAnimation",()=>o],62607)}]);