PageSourceSearch

https://medtalk.co/_next/static/chunks/0h54942n7.3is.js

js medtalk.co collected 2026-10-07 23:04:17 UTC 132,708 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31178,t=>{"use strict";let e=(0,t.i(71645).createContext)({});t.s(["LayoutGroupContext",0,e])},47414,t=>{"use strict";var e=t.i(71645);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},92936,t=>{"use strict";let e="u">typeof window;t.s(["isBrowser",0,e])},74008,t=>{"use strict";var e=t.i(71645);let i=t.i(92936).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i])},21476,t=>{"use strict";let e=(0,t.i(71645).createContext)(null);t.s(["PresenceContext",0,e])},42824,t=>{"use strict";t.s(["isObject",0,function(t){return"object"==typeof t&&null!==t}])},21186,t=>{"use strict";var e=t.i(42824);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t}])},37806,t=>{"use strict";let e=(0,t.i(71645).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},64978,t=>{"use strict";var e=t.i(71645),i=t.i(21476);t.s(["usePresence",0,function(t=!0){let s=(0,e.useContext)(i.PresenceContext);if(null===s)return[!0,null];let{isPresent:n,onExitComplete:r,register:a}=s,o=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return a(o)},[t]);let l=(0,e.useCallback)(()=>t&&r&&r(o),[o,r,t]);return!n&&r?[!1,l]:[!0]}])},57788,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(e);t.s(["transformPropOrder",0,e,"transformProps",0,i])},81296,t=>{"use strict";let e=t=>180*t/Math.PI,i=t=>n(e(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:i,rotateZ:i,skewX:t=>e(Math.atan(t[1])),skewY:t=>e(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},n=t=>((t%=360)<0&&(t+=360),t),r=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),a=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),o={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:r,scaleY:a,scale:t=>(r(t)+a(t))/2,rotateX:t=>n(e(Math.atan2(t[6],t[5]))),rotateY:t=>n(e(Math.atan2(-t[2],t[0]))),rotateZ:i,rotate:i,skewX:t=>e(Math.atan(t[4])),skewY:t=>e(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function l(t){return+!!t.includes("scale")}function u(t,e){let i,n;if(!t||"none"===t)return l(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=o,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return l(e);let a=i[e],u=n[1].split(",").map(h);return"function"==typeof a?a(u):u[a]}function h(t){return parseFloat(t.trim())}t.s(["defaultTransformValue",0,l,"parseValueFromTransform",0,u,"readTransformValue",0,(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return u(i,e)}])},19928,t=>{"use strict";let e=t=>e=>"string"==typeof e&&e.startsWith(t),i=e("--"),s=e("var(--"),n=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["isCSSVariableName",0,i,"isCSSVariableToken",0,t=>!!s(t)&&n.test(t.split("/*")[0].trim())])},49587,t=>{"use strict";t.s(["convertBoundingBoxToBox",0,function({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}},"convertBoxToBoundingBox",0,function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}},"transformBoxPoints",0,function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}])},706,t=>{"use strict";t.s(["mixNumber",0,(t,e,i)=>t+(e-t)*i])},45504,72696,89234,t=>{"use strict";var e=t.i(49587),i=t.i(706);function s(t){return void 0===t||1===t}function n({scale:t,scaleX:e,scaleY:i}){return!s(t)||!s(e)||!s(i)}function r(t){return n(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function o(t,e,i){return i+e*(t-i)}function l(t,e,i,s,n){return void 0!==n&&(t=o(t,n,s)),o(t,i,s)+e}function u(t,e=0,i=1,s,n){t.min=l(t.min,e,i,s,n),t.max=l(t.max,e,i,s,n)}function h(t,{x:e,y:i}){u(t.x,e.translate,e.scale,e.originPoint),u(t.y,i.translate,i.scale,i.originPoint)}function c(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,s,n,r=.5){let a=(0,i.mixNumber)(t.min,t.max,r);u(t,e,s,a,n)}function m(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}function p(t,i){return(0,e.convertBoundingBoxToBox)((0,e.transformBoxPoints)(t.getBoundingClientRect(),i))}t.s(["has2DTranslate",0,a,"hasScale",0,n,"hasTransform",0,r],72696),t.s(["applyBoxDelta",0,h,"applyTreeDeltas",0,function(t,e,
1i,s=!1){let n,a,o=i.length;if(o){e.x=e.y=1;for(let l=0;l<o;l++){a=(n=i[l]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(s&&n.options.layoutScroll&&n.scroll&&n!==n.root&&m(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,h(t,a)),s&&r(n.latestValues)&&m(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,o,"transformBox",0,m,"translateAxis",0,c],89234),t.s(["measurePageBox",0,function(t,e,i){let s=p(t,i),{scroll:n}=e;return n&&(c(s.x,n.offset.x),c(s.y,n.offset.y)),s},"measureViewportBox",0,p],45504)},64440,t=>{"use strict";let e=new Set(["width","height","top","left","right","bottom",...t.i(57788).transformPropOrder]);t.s(["positionalKeys",0,e])},56323,t=>{"use strict";t.s(["auto",0,{test:t=>"auto"===t,parse:t=>t}])},76959,t=>{"use strict";t.s(["clamp",0,(t,e,i)=>i>e?e:i<t?t:i])},96781,t=>{"use strict";var e=t.i(76959);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...i,transform:t=>(0,e.clamp)(0,1,t)},n={...i,default:1};t.s(["alpha",0,s,"number",0,i,"scale",0,n])},65091,t=>{"use strict";let e=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),i=e("deg"),s=e("%"),n=e("px"),r=e("vh"),a=e("vw"),o={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)};t.s(["degrees",0,i,"percent",0,s,"progressPercentage",0,o,"px",0,n,"vh",0,r,"vw",0,a])},77942,84061,t=>{"use strict";var e=t.i(56323),i=t.i(96781),s=t.i(65091);let n=t=>e=>e.test(t);t.s(["testValueType",0,n],84061);let r=[i.number,s.px,s.percent,s.degrees,s.vw,s.vh,e.auto];t.s(["dimensionValueTypes",0,r,"findDimensionValueType",0,t=>r.find(n(t))],77942)},65566,t=>{"use strict";t.s(["invariant",0,()=>{},"warning",0,()=>{}])},84015,72590,t=>{"use strict";var e=t.i(65566);let i=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["isNumericalString",0,i],72590);var s=t.i(19928);let n=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;t.s(["getVariableValue",0,function t(r,a,o=1){(0,e.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(t){let e=n.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${i??s}`,r]}(r);if(!l)return;let h=window.getComputedStyle(a).getPropertyValue(l);if(h){let t=h.trim();return i(t)?parseFloat(t):t}return(0,s.isCSSVariableToken)(u)?t(u,a,o+1):u}],84015)},11485,t=>{"use strict";t.s(["fillWildcards",0,function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}])},44493,t=>{"use strict";var e=t.i(81296),i=t.i(57788),s=t.i(96781),n=t.i(65091);let r=new Set(["x","y","z"]),a=i.transformPropOrder.filter(t=>!r.has(t)),o={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:i})=>(0,e.parseValueFromTransform)(i,"x"),y:(t,{transform:i})=>(0,e.parseValueFromTransform)(i,"y")};o.translateX=o.x,o.translateY=o.y,t.s(["isNumOrPxType",0,t=>t===s.number||t===n.px,"positionalValues",0,o,"removeNonTranslationalTransform",0,function(t){let e=[];return a.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e}])},87022,60830,46791,80248,51571,t=>{"use strict";let e=t=>t;t.s(["noop",0,e],60830);let i={};t.s(["MotionGlobalConfig",0,i],46791);let s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],n={value:null,addProjectionMetrics:null};function r(t,e){let r=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=s.reduce((t,i)=>(t[i]=function(t,e){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(e){o.has(e)&&(c.schedule(e),t()),u++,e(l)}let c={schedule:(t,e=!1,n=!1)=>{let a=n&&r?i:s;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{s.delete(t),o.delete(t)},process:t=>{if(l=t,r){a=!0;return}
1r=!0,[i,s]=[s,i],i.forEach(h),e&&n.value&&n.value.frameloop[e].push(u),u=0,i.clear(),r=!1,a&&(a=!1,c.process(t))}};return c}(l,e?i:void 0),t),{}),{setup:h,read:c,resolveKeyframes:d,preUpdate:m,update:p,preRender:f,render:g,postRender:v}=u,y=()=>{let s=i.useManualTiming?o.timestamp:performance.now();r=!1,i.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),m.process(o),p.process(o),f.process(o),g.process(o),v.process(o),o.isProcessing=!1,r&&e&&(a=!1,t(y))};return{schedule:s.reduce((e,i)=>{let s=u[i];return e[i]=(e,i=!1,n=!1)=>(!r&&(r=!0,a=!0,o.isProcessing||t(y)),s.schedule(e,i,n)),e},{}),cancel:t=>{for(let e=0;e<s.length;e++)u[s[e]].cancel(t)},state:o,steps:u}}t.s(["statsBuffer",0,n],80248),t.s(["createRenderBatcher",0,r],51571);let{schedule:a,cancel:o,state:l,steps:u}=r("u">typeof requestAnimationFrame?requestAnimationFrame:e,!0);t.s(["cancelFrame",0,o,"frame",0,a,"frameData",0,l,"frameSteps",0,u],87022)},21012,t=>{"use strict";var e=t.i(11485),i=t.i(44493),s=t.i(87022);let n=new Set,r=!1,a=!1,o=!1;function l(){if(a){let t=Array.from(n).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),s=new Map;e.forEach(t=>{let e=(0,i.removeNonTranslationalTransform)(t);e.length&&(s.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=s.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,r=!1,n.forEach(t=>t.complete(o)),n.clear()}function u(){n.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}t.s(["KeyframeResolver",0,class{constructor(t,e,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,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:t,name:i,element:s,motionValue:n}=this;if(null===t[0]){let e=n?.get(),r=t[t.length-1];if(void 0!==e)t[0]=e;else if(s&&i){let e=s.readValue(i,r);null!=e&&(t[0]=e)}void 0===t[0]&&(t[0]=r),n&&void 0===e&&n.set(t[0])}(0,e.fillWildcards)(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),n.delete(this)}cancel(){"scheduled"===this.state&&(n.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}},"flushKeyframeResolvers",0,function(){o=!0,u(),l(),o=!1}])},86871,47507,t=>{"use strict";let e=t=>/^0[^.\s]+$/u.test(t);t.s(["isZeroValueString",0,e],47507),t.s(["isNone",0,function(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||e(t)}],86871)},63011,60720,30677,98106,66820,t=>{"use strict";var e=t.i(76959),i=t.i(96781);let s=t=>Math.round(1e5*t)/1e5;t.s(["sanitize",0,s],60720);let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;t.s(["floatRegex",0,n],30677);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,a=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[r,a,o,l]=s.match(n);return{[t]:parseFloat(r),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}};t.s(["isColorString",0,a,"splitColor",0,o],98106);let l={...i.number,transform:t=>Math.round((0,e.clamp)(0,255,t))},u={test:a("rgb","red"),parse:o("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(n)+", "+s(i.alpha.transform(r))+")"};t.s(["rgba",0,u],66820);let h={test:a("#"),parse:function(t){let e="",i="",s="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,s+=s,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alph
1a:n?parseInt(n,16)/255:1}},transform:u.transform};t.s(["hex",0,h],63011)},69577,22660,79444,t=>{"use strict";var e=t.i(63011),i=t.i(96781),s=t.i(65091),n=t.i(60720),r=t.i(98106);let a={test:(0,r.isColorString)("hsl","hue"),parse:(0,r.splitColor)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:a=1})=>"hsla("+Math.round(t)+", "+s.percent.transform((0,n.sanitize)(e))+", "+s.percent.transform((0,n.sanitize)(r))+", "+(0,n.sanitize)(i.alpha.transform(a))+")"};t.s(["hsla",0,a],22660);var o=t.i(66820);let l={test:t=>o.rgba.test(t)||e.hex.test(t)||a.test(t),parse:t=>o.rgba.test(t)?o.rgba.parse(t):a.test(t)?a.parse(t):e.hex.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?o.rgba.transform(t):a.transform(t),getAnimatableNone:t=>{let e=l.parse(t);return e.alpha=0,l.transform(e)}};t.s(["color",0,l],79444);let u=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var h=t.i(30677);let c="number",d="color",m=/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 p(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,a=e.replace(m,t=>(l.test(t)?(s.color.push(r),n.push(d),i.push(l.parse(t))):t.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(t)):(s.number.push(r),n.push(c),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:a,indexes:s,types:n}}function f(t){return p(t).values}function g(t){let{split:e,types:i}=p(t),s=e.length;return t=>{let r="";for(let a=0;a<s;a++)if(r+=e[a],void 0!==t[a]){let e=i[a];e===c?r+=(0,n.sanitize)(t[a]):e===d?r+=l.transform(t[a]):r+=t[a]}return r}}let v=t=>"number"==typeof t?0:l.test(t)?l.getAnimatableNone(t):t;t.s(["analyseComplexValue",0,p,"complex",0,{test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(h.floatRegex)?.length||0)+(t.match(u)?.length||0)>0},parse:f,createTransformer:g,getAnimatableNone:function(t){let e=f(t);return g(t)(e.map(v))}}],69577)},46436,34929,3973,75554,t=>{"use strict";var e=t.i(64440),i=t.i(77942),s=t.i(84015),n=t.i(19928),r=t.i(21012),a=t.i(86871),o=t.i(69577),l=t.i(30677);let u=new Set(["brightness","contrast","saturate","opacity"]);function h(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(l.floatRegex)||[];if(!s)return t;let n=i.replace(s,""),r=+!!u.has(e);return s!==i&&(r*=100),e+"("+r+n+")"}let c=/\b([a-z-]*)\(.*?\)/gu,d={...o.complex,getAnimatableNone:t=>{let e=t.match(c);return e?e.map(h).join(" "):t}};var m=t.i(79444),p=t.i(96781);let f={...p.number,transform:Math.round};var g=t.i(65091);let v={rotate:g.degrees,rotateX:g.degrees,rotateY:g.degrees,rotateZ:g.degrees,scale:p.scale,scaleX:p.scale,scaleY:p.scale,scaleZ:p.scale,skew:g.degrees,skewX:g.degrees,skewY:g.degrees,distance:g.px,translateX:g.px,translateY:g.px,translateZ:g.px,x:g.px,y:g.px,z:g.px,perspective:g.px,transformPerspective:g.px,opacity:p.alpha,originX:g.progressPercentage,originY:g.progressPercentage,originZ:g.px},y={borderWidth:g.px,borderTopWidth:g.px,borderRightWidth:g.px,borderBottomWidth:g.px,borderLeftWidth:g.px,borderRadius:g.px,radius:g.px,borderTopLeftRadius:g.px,borderTopRightRadius:g.px,borderBottomRightRadius:g.px,borderBottomLeftRadius:g.px,width:g.px,maxWidth:g.px,height:g.px,maxHeight:g.px,top:g.px,right:g.px,bottom:g.px,left:g.px,padding:g.px,paddingTop:g.px,paddingRight:g.px,paddingBottom:g.px,paddingLeft:g.px,margin:g.px,marginTop:g.px,marginRight:g.px,marginBottom:g.px,marginLeft:g.px,backgroundPositionX:g.px,backgroundPositionY:g.px,...v,zIndex:f,fillOpacity:p.alpha,strokeOpacity:p.alpha,numOctaves:f};t.s(["numberValueTypes",0,y],34929);let x={...y,color:m.color,backgroundColor:m.color,outlineColor:m.color,fill:m.color,stroke:m.color,borderColor:m.color,borderTopColor:m.color,borderRightColor:m.color,borderBottomColor:m.color,borderLeftColor:m.color,filter:d,WebkitFilter:d},T=t=>x[t];function b(t,e){let i=T(t);return i!==d&&(i=o.complex),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getDefaultValueType",0,T],3973),t.s(["getAnimatableNone",0,b],75554);
1let P=new Set(["auto","none","0"]);var V=t.i(44493);class S extends r.KeyframeResolver{constructor(t,e,i,s,n){super(t,e,i,s,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:a}=this;if(!r||!r.current)return;super.readKeyframes();for(let e=0;e<t.length;e++){let i=t[e];if("string"==typeof i&&(i=i.trim(),(0,n.isCSSVariableToken)(i))){let n=(0,s.getVariableValue)(i,r.current);void 0!==n&&(t[e]=n),e===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!e.positionalKeys.has(a)||2!==t.length)return;let[o,l]=t,u=(0,i.findDimensionValueType)(o),h=(0,i.findDimensionValueType)(l);if(u!==h)if((0,V.isNumOrPxType)(u)&&(0,V.isNumOrPxType)(h))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else V.positionalValues[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||(0,a.isNone)(t[e]))&&i.push(e);i.length&&function(t,e,i){let s,n=0;for(;n<t.length&&!s;){let e=t[n];"string"==typeof e&&!P.has(e)&&(0,o.analyseComplexValue)(e).values.length&&(s=t[n]),n++}if(s&&i)for(let n of e)t[n]=b(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=V.positionalValues[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let n=i.length-1,r=i[n];i[n]=V.positionalValues[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",0,S],46436)},83411,t=>{"use strict";t.s(["isMotionValue",0,t=>!!(t&&t.getVelocity)])},96173,t=>{"use strict";let e;var i=t.i(46791),s=t.i(87022);function n(){e=void 0}let r={now:()=>(void 0===e&&r.set(s.frameData.isProcessing||i.MotionGlobalConfig.useManualTiming?s.frameData.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(n)}};t.s(["time",0,r])},33887,t=>{"use strict";t.s(["addUniqueItem",0,function(t,e){-1===t.indexOf(e)&&t.push(e)},"removeItem",0,function(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}])},70596,t=>{"use strict";var e=t.i(33887);t.s(["SubscriptionManager",0,class{constructor(){this.subscriptions=[]}add(t){return(0,e.addUniqueItem)(this.subscriptions,t),()=>(0,e.removeItem)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let n=0;n<s;n++){let s=this.subscriptions[n];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}])},25791,t=>{"use strict";t.s(["velocityPerSecond",0,function(t,e){return e?1e3/e*t:0}])},86427,t=>{"use strict";var e=t.i(70596),i=t.i(25791),s=t.i(96173),n=t.i(87022);let r={current:void 0};class a{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.time.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.time.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new e.SubscriptionManager);let s=this.events[t].add(i);return"change"===t?()=>{s(),n.frame.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return r.current&&r.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.time.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}t.s(["collectMotionValues",0,r,"motionValue",0,function(t,e){return new a(t,e)}])},66538,60140,76948,81699,t=>{"use strict";var e=t.i(79444),i=t.i(69577),s=t.i(77942),n=t.i(84061);let r=[...s.dimensionValueTypes,e.color,i.complex];t.s(["findValueType",0,t=>r.find((0,n.testValueType)(t))],66538);let{schedule:a}=(0,t.i(51571).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",0,a],60140);let o={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"]},l={};for(let t in o)l[t]={isEnabled:e=>o[t].some(t=>!!e[t])};t.s(["featureDefinitions",0,l],76948);let u=()=>({translate:0,scale:1,origin:0,originPoint:0}),h=()=>({min:0,max:0});t.s(["createBox",0,()=>({x:h(),y:h()}),"createDelta",0,()=>({x:u(),y:u()})],81699)},22875,96097,t=>{"use strict";var e=t.i(92936);let i={current:null},s={current:!1};t.s(["hasReducedMotionListener",0,s,"prefersReducedMotion",0,i],96097),t.s(["initPrefersReducedMotion",0,function(){if(s.current=!0,e.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>i.current=t.matches;t.addEventListener("change",e),e()}else i.current=!1}],22875)},92968,t=>{"use strict";let e=new WeakMap;t.s(["visualElementStore",0,e])},98922,44974,42531,89607,94464,t=>{"use strict";function e(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function i(t){return"string"==typeof t||Array.isArray(t)}t.s(["isAnimationControls",0,e],44974),t.s(["isVariantLabel",0,i],42531);let s=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],n=["initial",...s];function r(t){return e(t.animate)||n.some(e=>i(t[e]))}t.s(["variantPriorityOrder",0,s,"variantProps",0,n],89607),t.s(["isControllingVariants",0,r,"isVariantNode",0,function(t){return!!(r(t)||t.variants)}],98922);var a=t.i(83411),o=t.i(86427);
1t.s(["updateMotionValuesFromProps",0,function(t,e,i){for(let s in e){let n=e[s],r=i[s];if((0,a.isMotionValue)(n))t.addValue(s,n);else if((0,a.isMotionValue)(r))t.addValue(s,(0,o.motionValue)(n,{owner:t}));else if(r!==n)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(s);t.addValue(s,(0,o.motionValue)(void 0!==e?e:n,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}],94464)},43190,t=>{"use strict";function e(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}t.s(["resolveVariantFromProps",0,function(t,i,s,n){if("function"==typeof i){let[r,a]=e(n);i=i(void 0!==s?s:t.custom,r,a)}if("string"==typeof i&&(i=t.variants&&t.variants[i]),"function"==typeof i){let[r,a]=e(n);i=i(void 0!==s?s:t.custom,r,a)}return i}])},57044,57036,540,58768,3267,52383,19026,32313,t=>{"use strict";var e=t.i(57788),i=t.i(81296),s=t.i(19928),n=t.i(45504),r=t.i(46436),a=t.i(83411);t.i(47167);var o=t.i(21012),l=t.i(96173),u=t.i(87022),h=t.i(86427),c=t.i(66538),d=t.i(69577),m=t.i(75554),p=t.i(60140),f=t.i(72590),g=t.i(4750
17),v=t.i(70596),y=t.i(76948),x=t.i(81699),T=t.i(22875),b=t.i(96097),P=t.i(92968),V=t.i(98922),S=t.i(94464),w=t.i(43190);let M=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class A{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:n,visualState:r},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=o.KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=l.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,u.frame.render(this.render,!1,!0))};const{latestValues:c,renderState:d}=r;this.latestValues=c,this.baseTarget={...c},this.initialValues=e.initial?{...c}:{},this.renderState=d,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=h,this.blockInitialAnimation=!!n,this.isControllingVariants=(0,V.isControllingVariants)(e),this.isVariantNode=(0,V.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:m,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in p){const e=p[t];void 0!==c[t]&&(0,a.isMotionValue)(e)&&e.set(c[t])}}mount(t){this.current=t,P.visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),b.hasReducedMotionListener.current||(0,T.initPrefersReducedMotion)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||b.prefersReducedMotion.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,u.cancelFrame)(this.notifyUpdate),(0,u.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,i){let s;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=e.transformProps.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=i.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&u.frame.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{r(),s&&s(),i.owner&&i.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in y.featureDefinitions){let e=y.featureDefinitions[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,x.createBox)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<M.length;e++){let i=M[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=(0,S.updateMotionValuesFromProps)(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
1addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,h.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&((0,f.isNumericalString)(i)||(0,g.isZeroValueString)(i))?i=parseFloat(i):!(0,c.findValueType)(i)&&d.complex.test(e)&&(i=(0,m.getAnimatableNone)(t,e)),this.setBaseTarget(t,(0,a.isMotionValue)(i)?i.get():i)),(0,a.isMotionValue)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=(0,w.resolveVariantFromProps)(this.props,i,this.presenceContext?.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,a.isMotionValue)(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new v.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){p.microtask.render(this.render)}}t.s(["VisualElement",0,A],57036);class D extends A{constructor(){super(...arguments),this.KeyframeResolver=r.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,a.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}t.s(["DOMVisualElement",0,D],540);let C=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var E=t.i(34929);let R={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},k=e.transformPropOrder.length;function B(t,i,n){let{style:r,vars:a,transformOrigin:o}=t,l=!1,u=!1;for(let t in i){let n=i[t];if(e.transformProps.has(t)){l=!0;continue}if((0,s.isCSSVariableName)(t)){a[t]=n;continue}{let e=C(n,E.numberValueTypes[t]);t.startsWith("origin")?(u=!0,o[t]=e):r[t]=e}}if(!i.transform&&(l||n?r.transform=function(t,i,s){let n="",r=!0;for(let a=0;a<k;a++){let o=e.transformPropOrder[a],l=t[o];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!o.startsWith("scale"):0===parseFloat(l))||s){let t=C(l,E.numberValueTypes[o]);if(!u){r=!1;let e=R[o]||o;n+=`${e}(${t}) `}s&&(i[o]=t)}}return n=n.trim(),s?n=s(i,r?"":n):r&&(n="none"),n}(i,t.transform,n):r.transform&&(r.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=o;r.transformOrigin=`${t} ${e} ${i}`}}function L(t,{style:e,vars:i},s,n){let r,a=t.style;for(r in e)a[r]=e[r];for(r in n?.applyProjectionStyles(a,s),i)a.setProperty(r,i[r])}t.s(["buildHTMLStyles",0,B],58768),t.s(["renderHTML",0,L],3267);var F=t.i(65091);function j(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let O={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!F.px.test(t))return t;else t=parseFloat(t);let i=j(t,e.target.x),s=j(t,e.target.y);return`${i}% ${s}%`}};var I=t.i(706);let N={borderRadius:{...O,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomLeftRadius:O,borderBottomRightRadius:O,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=d.complex.parse(t);if(s.length>5)return t;let n=d.complex.createTransformer(t),r=+("number"!=typeof s[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;s[0+r]/=a,s[1+r]/=o;let l=(0,I.mixNumber)(a,o,.5);return"number"==typeof s[2+r]&&(s[2+r]/=l),"number"==typeof s[3+r]&&(s[3+r]/=l),n(s)}}};function U(t,{layout:i,layoutId:s}){return e.transformProps.has(t)||t.startsWith("origin")||(i||void 0!==s)&&(!!N[t]||"opacity"===t)}function G(t,e,i){let{style:s}=t,n={};for(let r in s)((0,a.isMotionValue)(s[r])||e.style&&(0,a.isMotionValue)(e.style[r])||U(r,t)||i?.getValue(r)?.liveStyle!==void 0)&&(n[r]=s[r]);return n}t.s(["scaleCorrectors",0,N],52383),t.s(["isForcedMotionValue",0,U],1902
16),t.s(["scrapeMotionValuesFromProps",0,G],32313),t.s(["HTMLVisualElement",0,class extends D{constructor(){super(...arguments),this.type="html",this.renderInstance=L}readValueFromInstance(t,n){if(e.transformProps.has(n))return this.projection?.isProjecting?(0,i.defaultTransformValue)(n):(0,i.readTransformValue)(t,n);{let e=window.getComputedStyle(t),i=((0,s.isCSSVariableName)(n)?e.getPropertyValue(n):e[n])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,n.measureViewportBox)(t,e)}build(t,e,i){B(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return G(t,e,i)}}],57044)},64600,t=>{"use strict";t.s(["camelToDash",0,t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()])},78310,33203,50514,25954,t=>{"use strict";var e=t.i(57788),i=t.i(3973),s=t.i(81699),n=t.i(540),r=t.i(64600),a=t.i(58768),o=t.i(65091);let l={offset:"stroke-dashoffset",array:"stroke-dasharray"},u={offset:"strokeDashoffset",array:"strokeDasharray"};function h(t,{attrX:e,attrY:i,attrScale:s,pathLength:n,pathSpacing:r=1,pathOffset:c=0,...d},m,p,f){if((0,a.buildHTMLStyles)(t,d,p),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:g,style:v}=t;g.transform&&(v.transform=g.transform,delete g.transform),(v.transform||g.transformOrigin)&&(v.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),v.transform&&(v.transformBox=f?.transformBox??"fill-box",delete g.transformBox),void 0!==e&&(g.x=e),void 0!==i&&(g.y=i),void 0!==s&&(g.scale=s),void 0!==n&&function(t,e,i=1,s=0,n=!0){t.pathLength=1;let r=n?l:u;t[r.offset]=o.px.transform(-s);let a=o.px.transform(e),h=o.px.transform(i);t[r.array]=`${a} ${h}`}(g,n,r,c,!1)}t.s(["buildSVGAttrs",0,h],33203);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"]),d=t=>"string"==typeof t&&"svg"===t.toLowerCase();t.s(["isSVGTag",0,d],50514);var m=t.i(3267),p=t.i(83411),f=t.i(32313);function g(t,i,s){let n=(0,f.scrapeMotionValuesFromProps)(t,i,s);for(let s in t)((0,p.isMotionValue)(t[s])||(0,p.isMotionValue)(i[s]))&&(n[-1!==e.transformPropOrder.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=t[s]);return n}t.s(["scrapeMotionValuesFromProps",0,g],25954);class v extends n.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,s){if(e.transformProps.has(s)){let t=(0,i.getDefaultValueType)(s);return t&&t.default||0}return s=c.has(s)?s:(0,r.camelToDash)(s),t.getAttribute(s)}scrapeMotionValuesFromProps(t,e,i){return g(t,e,i)}build(t,e,i){h(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in(0,m.renderHTML)(t,e,void 0,s),e.attrs)t.setAttribute(c.has(i)?i:(0,r.camelToDash)(i),e.attrs[i])}mount(t){this.isSVGTag=d(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",0,v],78310)},54505,44966,t=>{"use strict";var e=t.i(71645),i=t.i(57044),s=t.i(78310);let n=["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 r(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",0,r],44966),t.s(["createDomVisualElement",0,(t,n)=>r(t)?new s.SVGVisualElement(n):new i.HTMLVisualElement(n,{allowProjection:t!==e.Fragment})],54505)},48070,t=>{"use strict";let e=(0,t.i(71645).createContext)({strict:!1});t.s(["LazyContext",0,e])},88291,82474,86549,11587,8576,t=>{"use strict";var e,i=t.i(71645);let s=(0,i.createContext)({});t.s(["MotionContext",0,s],88291);var n=t.i(98922),r=t.i(42531);function a(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:e,animate:o}=function(t,e){if((0,n.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,r.isVariantLabel)(e)?e:void 0,animate:(0,r.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(s));return(0,i.useMemo)(()=>({initial:e,animate:o}),[a(e),a(o)])}],82474);var o=t.i(83411),l=t.i(19026),u=t.i(58768);let h=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
1function c(t,e,i){for(let s in e)(0,o.isMotionValue)(e[s])||(0,l.isForcedMotionValue)(s,i)||(t[s]=e[s])}t.s(["createHtmlRenderState",0,h],86549);var d=t.i(33203);let m=()=>({...h(),attrs:{}});t.s(["createSvgRenderState",0,m],11587);var p=t.i(50514);let f=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function g(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||f.has(t)}let v=t=>!g(t);try{e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof e&&(v=t=>t.startsWith("on")?!g(t):e(t))}catch{}var y=t.i(44966);t.s(["useRender",0,function(t,e,s,{latestValues:n},r,a=!1){let l=((0,y.isSVGComponent)(t)?function(t,e,s,n){let r=(0,i.useMemo)(()=>{let i=m();return(0,d.buildSVGAttrs)(i,e,(0,p.isSVGTag)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};c(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let s,n,r={},a=(s=t.style||{},c(n={},s,t),Object.assign(n,function({transformTemplate:t},e){return(0,i.useMemo)(()=>{let i=h();return(0,u.buildHTMLStyles)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=a,r})(e,n,r,t),f=function(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(v(n)||!0===i&&g(n)||!e&&!g(n)||t.draggable&&n.startsWith("onDrag"))&&(s[n]=t[n]);return s}(e,"string"==typeof t,a),x=t!==i.Fragment?{...f,...l,ref:s}:{},{children:T}=e,b=(0,i.useMemo)(()=>(0,o.isMotionValue)(T)?T.get():T,[T]);return(0,i.createElement)(t,{...x,children:b})}],8576)},76384,t=>{"use strict";let e="data-"+(0,t.i(64600).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,e])},11805,28987,1664,13565,21967,25522,83640,4035,t=>{"use strict";var e=t.i(71645),i=t.i(44974),s=t.i(88291),n=t.i(21476),r=t.i(98922),a=t.i(43190),o=t.i(47414),l=t.i(83411);function u(t){return(0,l.isMotionValue)(t)?t.get():t}t.s(["resolveMotionValue",0,u],28987);let h=t=>(l,h)=>{let c=(0,e.useContext)(s.MotionContext),d=(0,e.useContext)(n.PresenceContext),m=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},s,n,o){return{latestValues:function(t,e,s,n){let o={},l=n(t,{});for(let t in l)o[t]=u(l[t]);let{initial:h,animate:c}=t,d=(0,r.isControllingVariants)(t),m=(0,r.isVariantNode)(t);e&&m&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let p=!!s&&!1===s.initial,f=(p=p||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,i.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let s=(0,a.resolveVariantFromProps)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(o[t]=e)}for(let e in t)o[e]=t[e]}}}return o}(s,n,o,t),renderState:e()}})(t,l,c,d);return h?m():(0,o.useConstant)(m)};var c=t.i(86549);let d=h({scrapeMotionValuesFromProps:t.i(32313).scrapeMotionValuesFromProps,createRenderState:c.createHtmlRenderState});t.s(["useHTMLVisualState",0,d],11805);var m=t.i(11587);let p=h({scrapeMotionValuesFromProps:t.i(25954).scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});t.s(["useSVGVisualState",0,p],1664);var f=t.i(76948);t.s(["loadFeatures",0,function(t){for(let e in t)f.featureDefinitions[e]={...f.featureDefinitions[e],...t[e]}}],13565);let g=Symbol.for("motionComponentSymbol");function v(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["motionComponentSymbol",0,g],21967),t.s(["isRefObject",0,v],25522),t.s(["useMotionRef",0,function(t,i,s){return(0,e.useCallback)(e=>
1{e&&t.onMount&&t.onMount(e),i&&(e?i.mount(e):i.unmount()),s&&("function"==typeof s?s(e):v(s)&&(s.current=e))},[i])}],83640);let y=(0,e.createContext)({});t.s(["SwitchLayoutGroupContext",0,y],4035)},70452,t=>{"use strict";var e=t.i(43190);t.s(["resolveVariant",0,function(t,i,s){let n=t.getProps();return(0,e.resolveVariantFromProps)(n,i,void 0!==s?s:n.custom,t)}])},87333,t=>{"use strict";t.s(["getValueTransition",0,function(t,e){return t?.[e]??t?.default??t}])},73320,t=>{"use strict";t.s(["isKeyframesTarget",0,t=>Array.isArray(t)])},97989,93521,t=>{"use strict";var e=t.i(86427),i=t.i(73320),s=t.i(70452);t.s(["setTarget",0,function(t,n){let{transitionEnd:r={},transition:a={},...o}=(0,s.resolveVariant)(t,n)||{};for(let s in o={...o,...r}){var l;let n=(l=o[s],(0,i.isKeyframesTarget)(l)?l[l.length-1]||0:l);t.hasValue(s)?t.getValue(s).set(n):t.addValue(s,(0,e.motionValue)(n))}}],97989);var n=t.i(46791),r=t.i(83411);t.s(["addValueToWillChange",0,function(t,e){let i=t.getValue("willChange");if((0,r.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&n.MotionGlobalConfig.WillChange){let i=new n.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}],93521)},67369,43116,38638,t=>{"use strict";var e=t.i(76384);t.s(["getOptimisedAppearId",0,function(t){return t.props[e.optimizedAppearDataAttribute]}],67369),t.s(["makeAnimationInstant",0,function(t){t.duration=0,t.type="keyframes"}],43116);let i=(t,e)=>i=>e(t(i));t.s(["pipe",0,(...t)=>t.reduce(i)],38638)},63074,t=>{"use strict";t.s(["millisecondsToSeconds",0,t=>t/1e3,"secondsToMilliseconds",0,t=>1e3*t])},4169,t=>{"use strict";t.s(["activeAnimations",0,{layout:0,mainThread:0,waapi:0}])},3163,69308,t=>{"use strict";var e=t.i(38638),i=t.i(65566),s=t.i(19928),n=t.i(79444),r=t.i(69577),a=t.i(63011),o=t.i(22660);function l(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var u=t.i(66820);function h(t,e){return i=>i>0?e:t}var c=t.i(706);let d=(t,e,i)=>{let s=t*t,n=i*(e*e-s)+s;return n<0?0:Math.sqrt(n)},m=[a.hex,u.rgba,o.hsla];function p(t){let e=m.find(e=>e.test(t));if((0,i.warning)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let s=e.parse(t);return e===o.hsla&&(s=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let n=0,r=0,a=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,o=2*i-s;n=l(o,s,t+1/3),r=l(o,s,t),a=l(o,s,t-1/3)}else n=r=a=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*a),alpha:s}}(s)),s}let f=(t,e)=>{let i=p(t),s=p(e);if(!i||!s)return h(t,e);let n={...i};return t=>(n.red=d(i.red,s.red,t),n.green=d(i.green,s.green,t),n.blue=d(i.blue,s.blue,t),n.alpha=(0,c.mixNumber)(i.alpha,s.alpha,t),u.rgba.transform(n))},g=new Set(["none","hidden"]);function v(t,e){return i=>(0,c.mixNumber)(t,e,i)}function y(t){return"number"==typeof t?v:"string"==typeof t?(0,s.isCSSVariableToken)(t)?h:n.color.test(t)?f:b:Array.isArray(t)?x:"object"==typeof t?n.color.test(t)?f:T:h}function x(t,e){let i=[...t],s=i.length,n=t.map((t,i)=>y(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=n[e](t);return i}}function T(t,e){let i={...t,...e},s={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(s[n]=y(t[n])(t[n],e[n]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let b=(t,s)=>{let n=r.complex.createTransformer(s),a=(0,r.analyseComplexValue)(t),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 '${t}' 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"),h(t,s);if(g.has(t)&&!o.values.length||g.has(s)&&!a.values.length)return g.has(t)?e=>e<=0?t:s:e=>e>=1?s:t;return(0,e.pipe)(x(function(t,e){let i=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let r=e.types[n],a=t.indexes[r][s[r]],o=t.values[a]??0;i[n]=o,s[r]++}return i}(a,o),o.values),n)};
1t.s(["mix",0,function(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,c.mixNumber)(t,e,i):y(t)(t,e)}],3163);var P=t.i(96173),V=t.i(87022);t.s(["frameloopDriver",0,t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>V.frame.update(e,t),stop:()=>(0,V.cancelFrame)(e),now:()=>V.frameData.isProcessing?V.frameData.timestamp:P.time.now()}}],69308)},56512,66857,21748,t=>{"use strict";function e(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}t.s(["generateLinearEasing",0,(t,e,i=10)=>{let s="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)s+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`}],56512),t.s(["calcGeneratorDuration",0,e,"maxGeneratorDuration",0,2e4],66857);var i=t.i(63074);t.s(["createGeneratorEasing",0,function(t,s=100,n){let r=n({...t,keyframes:[0,s]}),a=Math.min(e(r),2e4);return{type:"keyframes",ease:t=>r.next(a*t).value/s,duration:(0,i.millisecondsToSeconds)(a)}}],21748)},12008,53925,t=>{"use strict";var e=t.i(25791);t.s(["calcGeneratorVelocity",0,function(t,i,s){let n=Math.max(i-5,0);return(0,e.velocityPerSecond)(s-t(n),i-n)}],12008),t.s(["springDefaults",0,{stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1}],53925)},73431,t=>{"use strict";var e=t.i(63074),i=t.i(76959),s=t.i(56512),n=t.i(66857),r=t.i(21748),a=t.i(12008),o=t.i(53925),l=t.i(65566);function u(t,e){return t*Math.sqrt(1-e*e)}let h=["duration","bounce"],c=["stiffness","damping","mass"];function d(t,e){return e.some(e=>void 0!==t[e])}function m(t=o.springDefaults.visualDuration,r=o.springDefaults.bounce){let p,f="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:r}:t,{restSpeed:g,restDelta:v}=f,y=f.keyframes[0],x=f.keyframes[f.keyframes.length-1],T={done:!1,value:y},{stiffness:b,damping:P,mass:V,duration:S,velocity:w,isResolvedFromDuration:M}=function(t){let s={velocity:o.springDefaults.velocity,stiffness:o.springDefaults.stiffness,damping:o.springDefaults.damping,mass:o.springDefaults.mass,isResolvedFromDuration:!1,...t};if(!d(t,c)&&d(t,h))if(t.visualDuration){let e=2*Math.PI/(1.2*t.visualDuration),n=e*e,r=2*(0,i.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(n);s={...s,mass:o.springDefaults.mass,stiffness:n,damping:r}}else{let n=function({duration:t=o.springDefaults.duration,bounce:s=o.springDefaults.bounce,velocity:n=o.springDefaults.velocity,mass:r=o.springDefaults.mass}){let a,h;(0,l.warning)(t<=(0,e.secondsToMilliseconds)(o.springDefaults.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let c=1-s;c=(0,i.clamp)(o.springDefaults.minDamping,o.springDefaults.maxDamping,c),t=(0,i.clamp)(o.springDefaults.minDuration,o.springDefaults.maxDuration,(0,e.millisecondsToSeconds)(t)),c<1?(a=e=>{let i=e*c,s=i*t;return .001-(i-n)/u(e,c)*Math.exp(-s)},h=e=>{let i=e*c*t,s=Math.pow(c,2)*Math.pow(e,2)*t,r=Math.exp(-i),o=u(Math.pow(e,2),c);return(i*n+n-s)*r*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),h=e=>t*t*(n-e)*Math.exp(-e*t));let d=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(a,h,5/t);if(t=(0,e.secondsToMilliseconds)(t),isNaN(d))return{stiffness:o.springDefaults.stiffness,damping:o.springDefaults.damping,duration:t};{let e=Math.pow(d,2)*r;return{stiffness:e,damping:2*c*Math.sqrt(r*e),duration:t}}}(t);(s={...s,...n,mass:o.springDefaults.mass}).isResolvedFromDuration=!0}return s}({...f,velocity:-(0,e.millisecondsToSeconds)(f.velocity||0)}),A=w||0,D=P/(2*Math.sqrt(b*V)),C=x-y,E=(0,e.millisecondsToSeconds)(Math.sqrt(b/V)),R=5>Math.abs(C);if(g||(g=R?o.springDefaults.restSpeed.granular:o.springDefaults.restSpeed.default),v||(v=R?o.springDefaults.restDelta.granular:o.springDefaults.restDelta.default),D<1){let t=u(E,D);p=e=>x-Math.exp(-D*E*e)*((A+D*E*C)/t*Math.sin(t*e)+C*Math.cos(t*e))}else if(1===D)p=t=>x-Math.exp(-E*t)*(C+(A+E*C)*t);else{let t=E*Math.sqrt(D*D-1);p=e=>{let i=Math.exp(-D*E*e),s=Math.min(t*e,300);return x-i*((A+D*E*C)*Math.sinh(s)+t*C*Math.cosh(s))/t}}let k={calculatedDuration:M&&S||null,next:t=>{let i=p(t);
1if(M)T.done=t>=S;else{let s=0===t?A:0;D<1&&(s=0===t?(0,e.secondsToMilliseconds)(A):(0,a.calcGeneratorVelocity)(p,t,i));let n=Math.abs(x-i)<=v;T.done=Math.abs(s)<=g&&n}return T.value=T.done?x:i,T},toString:()=>{let t=Math.min((0,n.calcGeneratorDuration)(k),n.maxGeneratorDuration),e=(0,s.generateLinearEasing)(e=>k.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return k}m.applyToOptions=t=>{let i=(0,r.createGeneratorEasing)(t,100,m);return t.ease=i.ease,t.duration=(0,e.secondsToMilliseconds)(i.duration),t.type="keyframes",t},t.s(["spring",0,m],73431)},29462,40254,37025,t=>{"use strict";var e=t.i(73431),i=t.i(12008);t.s(["inertia",0,function({keyframes:t,velocity:s=0,power:n=.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=t[0],g={done:!1,value:f},v=n*s,y=f+v,x=void 0===l?y:l(y);x!==y&&(v=x-f);let T=t=>-v*Math.exp(-t/r),b=t=>x+T(t),P=t=>{let e=T(t),i=b(t);g.done=Math.abs(e)<=c,g.value=g.done?x:i},V=t=>{let s;if(s=g.value,void 0!==u&&s<u||void 0!==h&&s>h){var n;m=t,p=(0,e.spring)({keyframes:[g.value,(n=g.value,void 0===u?h:void 0===h||Math.abs(u-n)<Math.abs(h-n)?u:h)],velocity:(0,i.calcGeneratorVelocity)(b,t,g.value),damping:a,stiffness:o,restDelta:c,restSpeed:d})}};return V(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==m||(e=!0,P(t),V(t)),void 0!==m&&t>=m)?p.next(t-m):(e||P(t),g)}}}],29462);var s=t.i(60830);let n=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function r(t,e,i,r){return t===e&&i===r?s.noop:s=>0===s||1===s?s:n(function(t,e,i,s,r){let a,o,l=0;do(a=n(o=e+(i-e)/2,s,r)-t)>0?i=o:e=o;while(Math.abs(a)>1e-7&&++l<12)return o}(s,0,1,t,i),e,r)}t.s(["cubicBezier",0,r],40254);let a=r(.42,0,1,1),o=r(0,0,.58,1),l=r(.42,0,.58,1);t.s(["easeIn",0,a,"easeInOut",0,l,"easeOut",0,o],37025)},93544,t=>{"use strict";t.s(["isEasingArray",0,t=>Array.isArray(t)&&"number"!=typeof t[0]])},32943,41980,78047,91559,60855,t=>{"use strict";var e=t.i(65566),i=t.i(60830),s=t.i(40254);let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,r=t=>e=>1-t(1-e),a=(0,s.cubicBezier)(.33,1.53,.69,.99),o=r(a),l=n(o);t.s(["backIn",0,o,"backInOut",0,l,"backOut",0,a],41980);let u=t=>(t*=2)<1?.5*o(t):.5*(2-Math.pow(2,-10*(t-1)));t.s(["anticipate",0,u],78047);let h=t=>1-Math.sin(Math.acos(t)),c=r(h),d=n(h);t.s(["circIn",0,h,"circInOut",0,d,"circOut",0,c],91559);var m=t.i(37025);let p=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",0,p],60855);let f={linear:i.noop,easeIn:m.easeIn,easeInOut:m.easeInOut,easeOut:m.easeOut,circIn:h,circInOut:d,circOut:c,backIn:o,backInOut:l,backOut:a,anticipate:u};t.s(["easingDefinitionToFunction",0,t=>{if(p(t)){(0,e.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[i,n,r,a]=t;return(0,s.cubicBezier)(i,n,r,a)}return"string"==typeof t?((0,e.invariant)(void 0!==f[t],`Invalid easing type '${t}'`,"invalid-easing-type"),f[t]):t}],32943)},83920,t=>{"use strict";t.s(["progress",0,(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s}])},44230,t=>{"use strict";var e=t.i(65566),i=t.i(76959),s=t.i(46791),n=t.i(60830),r=t.i(38638),a=t.i(83920),o=t.i(3163);t.s(["interpolate",0,function(t,l,{clamp:u=!0,ease:h,mixer:c}={}){let d=t.length;if((0,e.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=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),l=[...l].reverse());let p=function(t,e,i){let a=[],l=i||s.MotionGlobalConfig.mix||o.mix,u=t.length-1;for(let i=0;i<u;i++){let s=l(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.noop:e;s=(0,r.pipe)(t,s)}a.push(s)}return a}(l,h,c),f=p.length,g=e=>{if(m&&e<t[0])return l[0];let i=0;if(f>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let s=(0,a.progress)(t[i],t[i+1],e);return p[i](s)};return u?e=>g((0,i.clamp)(t[0],t[d-1],e)):g}])},15923,52654,t=>{"use strict";var e=t.i(83920),i=t.i(706);function s(t,s){let n=t[t.length-1];for(let r=1;r<=s;r++){let a=(0,e.progress)(0,s,r);t.push((0,i.mixNumber)(n,1,a))}}t.s(["fillOffset",0,s],52654),t.s(["defaultOffset",0,function(t){let e=[0];return s(e,t.length-1),e}],15923)},83352,14229,44573,79294,t=>{"use strict";t.i(47167);var e=t.i(38638),i=t.i(76959),s=t.i(63074),n=t.i(96173),r=t.i(4169),a=t.i(3163),o=t.i(69308),l=t.i(29462),u=t.i(37025),h=t.i(93544),c=t.i(32943),d=t.i(44230),m=t.i(15923);function p({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var n;let r=(0,h.isEasingArray)(s)?s.map(c.easingDefinitionToFunction):(0,c.easingDefinitionToFunction)(s),a={done:!1,value:e[0]}
1,o=(n=i&&i.length===e.length?i:(0,m.defaultOffset)(e),n.map(e=>e*t)),l=(0,d.interpolate)(o,e,{ease:Array.isArray(r)?r:e.map(()=>r||u.easeInOut).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}var f=t.i(66857);let g=t=>null!==t;function v(t,{repeat:e,repeatType:i="loop"},s,n=1){let r=t.filter(g),a=n<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return a&&void 0!==s?s:r[a]}t.s(["getFinalKeyframe",0,v],14229);var y=t.i(73431);let x={decay:l.inertia,inertia:l.inertia,tween:p,keyframes:p,spring:y.spring};function T(t){"string"==typeof t.type&&(t.type=x[t.type])}t.s(["replaceTransitionType",0,T],44573);class b{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}t.s(["WithPromise",0,b],79294);let P=t=>t/100;t.s(["JSAnimation",0,class extends b{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==n.time.now()&&this.tick(n.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},r.activeAnimations.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;T(t);let{type:i=p,repeat:s=0,repeatDelay:n=0,repeatType:r,velocity:o=0}=t,{keyframes:l}=t,u=i||p;u!==p&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,e.pipe)(P,(0,a.mix)(l[0],l[1])),l=[0,100]);let h=u({...t,keyframes:l});"mirror"===r&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-o})),null===h.calculatedDuration&&(h.calculatedDuration=(0,f.calcGeneratorDuration)(h));let{calculatedDuration:c}=h;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(s+1)-n,this.generator=h}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator: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:c,repeat:d,repeatType:m,repeatDelay:p,type:f,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let x=this.currentTime-h*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?x<0:x>n;this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,P=s;if(d){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),s=t%1;!s&&t>=1&&(s=1),1===s&&e--,(e=Math.min(e,d+1))%2&&("reverse"===m?(s=1-s,p&&(s-=p/o)):"mirror"===m&&(P=a)),b=(0,i.clamp)(0,1,s)*o}let V=T?{done:!1,value:c[0]}:P.next(b);r&&(V.value=r(V.value));let{done:S}=V;T||null===u||(S=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return w&&f!==l.inertia&&(V.value=v(c,this.options,y,this.speed)),g&&g(V.value),w&&this.finish(),V}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.millisecondsToSeconds)(t)}get time(){return(0,s.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,s.secondsToMilliseconds)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(n.time.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,s.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=o.frameloopDriver,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(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(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}],83352)},94581,60900,30551,53396,35474,t=>{"use strict";let e;function i(t){let e;return()=>(void 0===e&&(e=t()),e)}
1t.s(["setStyle",0,function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}],94581),t.s(["memo",0,i],60900);let s=i(()=>void 0!==window.ScrollTimeline);t.s(["supportsScrollTimeline",0,s],30551);var n=t.i(4169),r=t.i(80248),a=t.i(60855);let o={},l=(e=i(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>o.linearEasing??e());t.s(["supportsLinearEasing",0,l],53396);var u=t.i(56512);let h=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,c={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:h([0,.65,.55,1]),circOut:h([.55,0,1,.45]),backIn:h([.31,.01,.66,-.59]),backOut:h([.33,1.53,.69,.99])};t.s(["startWaapiAnimation",0,function(t,e,i,{delay:s=0,duration:o=300,repeat:d=0,repeatType:m="loop",ease:p="easeOut",times:f}={},g){let v={[e]:i};f&&(v.offset=f);let y=function t(e,i){if(e)return"function"==typeof e?l()?(0,u.generateLinearEasing)(e,i):"ease-out":(0,a.isBezierDefinition)(e)?h(e):Array.isArray(e)?e.map(e=>t(e,i)||c.easeOut):c[e]}(p,o);Array.isArray(y)&&(v.easing=y),r.statsBuffer.value&&n.activeAnimations.waapi++;let x={delay:s,duration:o,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:d+1,direction:"reverse"===m?"alternate":"normal"};g&&(x.pseudoElement=g);let T=t.animate(v,x);return r.statsBuffer.value&&T.finished.finally(()=>{n.activeAnimations.waapi--}),T}],35474)},97307,t=>{"use strict";t.s(["isGenerator",0,function(t){return"function"==typeof t&&"applyToOptions"in t}])},6327,82363,t=>{"use strict";var e=t.i(87333),i=t.i(87022),s=t.i(64440),n=t.i(97989),r=t.i(93521),a=t.i(67369),o=t.i(43116),l=t.i(83352),u=t.i(46791),h=t.i(60830),c=t.i(96173),d=t.i(14229),m=t.i(21012),p=t.i(63074),f=t.i(65566),g=t.i(94581),v=t.i(30551),y=t.i(79294),x=t.i(35474),T=t.i(53396),b=t.i(97307);class P extends y.WithPromise{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:s,pseudoElement:n,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!n,this.allowFlatten=r,this.options=t,(0,f.invariant)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return(0,b.isGenerator)(t)&&(0,T.supportsLinearEasing)()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=(0,x.startWaapiAnimation)(e,i,s,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=(0,d.getFinalKeyframe)(s,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):(0,g.setStyle)(e,i,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,p.millisecondsToSeconds)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,p.millisecondsToSeconds)(t)}get time(){return(0,p.millisecondsToSeconds)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,p.secondsToMilliseconds)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,v.supportsScrollTimeline)())?(this.animation.timeline=t,h.noop):e(this)}}var V=t.i(44573),S=t.i(78047),w=t.i(41980),M=t.i(91559);let A={anticipate:S.anticipate,backInOut:w.backInOut,circInOut:M.circInOut};class D extends P{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in A&&(t.ease=A[t.ease])}(t),(0,V.replaceTransitionType)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:n,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new l.JSAnimation({...r,autoplay:!1}),o=(0,p.secondsToMilliseconds)(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}
1var C=t.i(69577);let E=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(C.complex.test(t)||"0"===t)&&!t.startsWith("url("));var R=y,k=t.i(60900);let B=new Set(["opacity","clipPath","filter","transform"]),L=(0,k.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class F extends R.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=c.time.now();const d={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,name:o,motionValue:l,element:u,...h},p=u?.KeyframeResolver||m.KeyframeResolver;this.keyframeResolver=new p(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){this.keyframeResolver=void 0;let{name:n,type:r,velocity:a,delay:m,isHandoff:p,onUpdate:g}=i;this.resolvedAt=c.time.now(),!function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=E(n,e),o=E(r,e);return(0,f.warning)(a===o,`You are trying to animate ${e} from "${n}" to "${r}". "${a?r:n}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,b.isGenerator)(i))&&s)}(t,n,r,a)&&((u.MotionGlobalConfig.instantAnimations||!m)&&g?.((0,d.getFinalKeyframe)(t,i,e)),t[0]=t[t.length-1],(0,o.makeAnimationInstant)(i),i.repeat=0);let v={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},y=!p&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:r,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return L()&&i&&B.has(i)&&("transform"!==i||!l)&&!o&&!s&&"mirror"!==n&&0!==r&&"inertia"!==a}(v)?new D({...v,element:v.motionValue.owner.current}):new l.JSAnimation(v);y.finished.then(()=>this.notifyFinished()).catch(h.noop),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,m.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let j=t=>null!==t;var O=t.i(57788);let I={type:"spring",stiffness:500,damping:25,restSpeed:10},N={type:"keyframes",duration:.8},U={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},G=(t,s,n,r={},a,h)=>c=>{let d=(0,e.getValueTransition)(r,t)||{},m=d.delay||r.delay||0,{elapsed:f=0}=r;f-=(0,p.secondsToMilliseconds)(m);let g={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:s.getVelocity(),...d,delay:-f,onUpdate:t=>{s.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:t,motionValue:s,element:h?void 0:a};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(d)&&Object.assign(g,((t,{keyframes:e})=>e.length>2?N:O.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:I:U)(t,g)),g.duration&&(g.duration=(0,p.secondsToMilliseconds)(g.duration)),g.repeatDelay&&(g.repeatDelay=(0,p.secondsToMilliseconds)(g.repeatDelay)),void 0!==g.from&&(g.keyframes[0]=g.from);let v=!1;if(!1!==g.type&&(0!==g.duration||g.repeatDelay)||((0,o.makeAnimationInstant)(g),0===g.delay&&(v=!0)),(u.MotionGlobalConfig.instantAnimations||u.MotionGlobalConfig.skipAnimations)&&(v=!0,(0,o.makeAnimationInstant)(g),g.delay=0),g.allowFlatten=!d.type&&!d.ease,v&&!h&&void 0!==s.get()){let t=function(t,{repeat:e,repeatType:i="loop"}){let s=t.filter(j),n=e&&"loop"!==i&&e%2==1?0:s.length-1;return s[n]}(g.keyframes,d);if(void 0!==t)return void i.frame.update(()=>{g.onUpdate(t),g.onComplete()})}return d.isSync?new l.JSAnimation(g):new F(g)};t.s(["animateMotionValue",0,G],82363),t.s(["animateTarget",0,function(t,o,{delay:l=0,transitionOverride:u,type:h}={}){let{transition:c=t.getDefaultTransition(),transitionEnd:d,...m}=o;u&&(c=u);let p=[],f=h&&t.animationState&&t.animationState.getState()[h];for(let n in m){let o=t.getValue(n,t.latestValues[n]??null),u=m[
1n];if(void 0===u||f&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(f,n))continue;let h={delay:l,...(0,e.getValueTransition)(c||{},n)},d=o.get();if(void 0!==d&&!o.isAnimating&&!Array.isArray(u)&&u===d&&!h.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){let e=(0,a.getOptimisedAppearId)(t);if(e){let t=window.MotionHandoffAnimation(e,n,i.frame);null!==t&&(h.startTime=t,g=!0)}}(0,r.addValueToWillChange)(t,n),o.start(G(n,o,u,t.shouldReduceMotion&&s.positionalKeys.has(n)?{type:!1}:h,t,g));let v=o.animation;v&&p.push(v)}return d&&Promise.all(p).then(()=>{i.frame.update(()=>{d&&(0,n.setTarget)(t,d)})}),p}],6327)},7051,11129,23070,39676,26368,41327,65536,61054,76673,33986,85651,t=>{"use strict";t.i(47167);var e=t.i(43476),i=t.i(71645),s=t.i(31178),n=t.i(48070),r=t.i(37806),a=t.i(88291),o=t.i(82474),l=t.i(8576),u=t.i(44966),h=t.i(11805),c=t.i(1664),d=t.i(92936),m=t.i(76948),p=t.i(13565),f=t.i(21967),g=t.i(83640),v=t.i(76384),y=t.i(21476),x=t.i(4035),T=t.i(25522),b=t.i(74008);function P(t,{forwardMotionProps:V=!1}={},S,w){S&&(0,p.loadFeatures)(S);let M=(0,u.isSVGComponent)(t)?c.useSVGVisualState:h.useHTMLVisualState;function A(u,h){let c,p={...(0,i.useContext)(r.MotionConfigContext),...u,layoutId:function({layoutId:t}){let e=(0,i.useContext)(s.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(u)},{isStatic:f}=p,P=(0,o.useCreateMotionContext)(u),S=M(u,f);if(!f&&d.isBrowser){(0,i.useContext)(n.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=m.featureDefinitions;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(p);c=e.MeasureLayout,P.visualElement=function(t,e,s,o,l){let{visualElement:u}=(0,i.useContext)(a.MotionContext),h=(0,i.useContext)(n.LazyContext),c=(0,i.useContext)(y.PresenceContext),d=(0,i.useContext)(r.MotionConfigContext).reducedMotion,m=(0,i.useRef)(null);o=o||h.renderer,!m.current&&o&&(m.current=o(t,{visualState:e,parent:u,props:s,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:d}));let p=m.current,f=(0,i.useContext)(x.SwitchLayoutGroupContext);p&&!p.projection&&l&&("html"===p.type||"svg"===p.type)&&function(t,e,i,s){let{layoutId:n,layout:r,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:r,alwaysMeasureLayout:!!a||o&&(0,T.isRefObject)(o),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,crossfade:h,layoutScroll:l,layoutRoot:u})}(m.current,s,l,f);let g=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{p&&g.current&&p.update(s,c)});let P=s[v.optimizedAppearDataAttribute],V=(0,i.useRef)(!!P&&!window.MotionHandoffIsComplete?.(P)&&window.MotionHasOptimisedAnimation?.(P));return(0,b.useIsomorphicLayoutEffect)(()=>{p&&(g.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),V.current&&p.animationState&&p.animationState.animateChanges())}),(0,i.useEffect)(()=>{p&&(!V.current&&p.animationState&&p.animationState.animateChanges(),V.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(P)}),V.current=!1),p.enteringChildren=void 0)}),p}(t,S,p,w,e.ProjectionNode)}return(0,e.jsxs)(a.MotionContext.Provider,{value:P,children:[c&&P.visualElement?(0,e.jsx)(c,{visualElement:P.visualElement,...p}):null,(0,l.useRender)(t,u,(0,g.useMotionRef)(S,P.visualElement,h),S,f,V)]})}A.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let D=(0,i.forwardRef)(A);return D[f.motionComponentSymbol]=t,D}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return P;let i=new Map,s=(i,s)=>P(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(n,r)=>"create"===r?s:(i.has(r)||i.set(r,P(r,void 0,t,e)),i.get(r))})}],7051);var V=t.i(44974),S=t.i(70452),w=t.i(6327);function M(t,e,i,s=0,n=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*s;return"function"==typeof i?i(r,a):1===n?r*s:o-r*s}function A(t,e,i={}){let s=(0,S.resolveVariant)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(n=i.transitionOverride);let r=s?()=>Promise.all((0,w.animateTarget)(t,s,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=n;
1return function(t,e,i=0,s=0,n=0,r=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(A(l,e,{...a,delay:i+("function"==typeof s?0:s)+M(t.variantChildren,l,s,n,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,s,r,a,o,i)}:()=>Promise.resolve(),{when:o}=n;if(!o)return Promise.all([r(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[r,a]:[a,r];return t().then(()=>e())}}var D=t.i(73320);function C(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}var E=t.i(42531),R=t.i(89607);let k=R.variantProps.length,B=[...R.variantPriorityOrder].reverse(),L=R.variantPriorityOrder.length;function F(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function j(){return{animate:F(!0),whileInView:F(),whileHover:F(),whileTap:F(),whileDrag:F(),whileFocus:F(),exit:F()}}class O{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",0,O],11129);let I=0;t.s(["animations",0,{animation:{Feature:class extends O{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>A(t,e,i)));else if("string"==typeof e)s=A(t,e,i);else{let n="function"==typeof e?(0,S.resolveVariant)(t,e,i.custom):e;s=Promise.all((0,w.animateTarget)(t,n,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=j(),s=!0,n=e=>(i,s)=>{let n=(0,S.resolveVariant)(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function r(r){let{props:a}=t,o=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<k;t++){let s=R.variantProps[t],n=e.props[s];((0,E.isVariantLabel)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<L;e++){var d,m;let p=B[e],f=i[p],g=void 0!==a[p]?a[p]:o[p],v=(0,E.isVariantLabel)(g),y=p===r?f.isActive:null;!1===y&&(c=e);let x=g===o[p]&&g!==a[p]&&v;if(x&&s&&t.manuallyAnimateOnMount&&(x=!1),f.protectedKeys={...h},!f.isActive&&null===y||!g&&!f.prevProp||(0,V.isAnimationControls)(g)||"boolean"==typeof g)continue;let T=(d=f.prevProp,"string"==typeof(m=g)?m!==d:!!Array.isArray(m)&&!C(m,d)),b=T||p===r&&f.isActive&&!x&&v||e>c&&v,P=!1,w=Array.isArray(g)?g:[g],A=w.reduce(n(p),{});!1===y&&(A={});let{prevResolvedValues:R={}}=f,k={...R,...A},L=e=>{b=!0,u.has(e)&&(P=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in k){let e=A[t],i=R[t];if(!h.hasOwnProperty(t))((0,D.isKeyframesTarget)(e)&&(0,D.isKeyframesTarget)(i)?C(e,i):e===i)?void 0!==e&&u.has(t)?L(t):f.protectedKeys[t]=!0:null!=e?L(t):u.add(t)}f.prevProp=g,f.prevResolvedValues=A,f.isActive&&(h={...h,...A}),s&&t.blockInitialAnimation&&(b=!1);let F=x&&T,j=!F||P;b&&j&&l.push(...w.map(e=>{let i={type:p};if("string"==typeof e&&s&&!F&&t.manuallyAnimateOnMount&&t.parent){let{parent:s}=t,n=(0,S.resolveVariant)(s,e);if(s.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=M(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof a.initial){let i=(0,S.resolveVariant)(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let s=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=s??null}),l.push({animation:e})}let p=!!l.length;return s&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(p=!1),s=!1,p?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,s){if(i[e].isActive===s)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,s)),i[e].isActive=s;let n=r(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=j()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,V.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends O{constructor(){super(...arguments),this.id=I++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}}],23070);var N=t.i(60830),U=t.i(87022),G=t.i(706);let W={x:!1,y:!1};t.s(["isDragActive",0,function(){return W.x||W.y},"isDragging",0,W],39676);var $=t.i(65091),z=t.i(65566),H=t.i(82363);function K(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}t.s(["addDomEvent",0,K],26368);let Y=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function X(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,Y],41327);let q=t=>e=>Y(e)&&t(e,X(e));function Z(t,e,i,s){return K(t,e,q(i),s)}t.s(["addPointerInfo",0,q,"extractEventInfo",0,X],65536);var _=t.i(49587);function J(t){return t.max-t.min}function Q(t,e,i,s=.5){t.origin=s,t.originPoint=(0,G.mixNumber)(e.min,e.max,t.origin),t.scale=J(i)/J(e),t.translate=(0,G.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function tt(t,e,i){t.min=i.min+e.min,t.max=t.min+J(e)}function te(t,e,i){t.min=e.min-i.min,t.max=t.min+J(e)}t.s(["calcBoxDelta",0,function(t,e,i,s){Q(t.x,e.x,i.x,s?s.originX:void 0),Q(t.y,e.y,i.y,s?s.originY:void 0)},"calcLength",0,J,"calcRelativeBox",0,function(t,e,i){tt(t.x,e.x,i.x),tt(t.y,e.y,i.y)},"calcRelativePosition",0,function(t,e,i){te(t.x,e.x,i.x),te(t.y,e.y,i.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],61054);var ti=t.i(81699);function ts(t){return[t("x"),t("y")]}t.s(["eachAxis",0,ts],76673);var tn=t.i(45504);let tr=({current:t})=>t?t.ownerDocument.defaultView:null;var ta=t.i(93521),to=t.i(38638),tl=t.i(63074);let tu=(t,e)=>Math.abs(t-e);class th{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:n=!1,distanceThreshold:r=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=tm(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(tu(t.x,e.x)**2+tu(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!n)return;let{point:r}=i,{timestamp:a}=U.frameData;this.history.push({...r,timestamp:a});let{onStart:o,onMove:l}=this.handlers;s||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tc(e,this.transformPagePoint),U.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=tm("pointercancel"===t.type?this.lastMoveEventInfo:tc(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),s&&s(t,r)},!Y(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=s||window;const a=tc(X(t),this.transformPagePoint),{point:o}=a,{timestamp:l}=U.frameData;this.history=[{...o,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,tm(a,this.history)),this.removeListeners=(0,to.pipe)(Z(this.contextWindow,"pointermove",this.handlePointerMove),Z(this.contextWindow,"pointerup",this.handlePointerUp),Z(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,U.cancelFrame)(this.updatePoint)}}function tc(t,e){return e?{point:e(t.point)}:t}function td(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tm({point:t},e){return{point:t,delta:td(t,tp(e)),offset:td(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=tp(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>(0,tl.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};let n=(0,tl.millisecondsToSeconds)(s.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let r={x:(s.x-i.x)/n,y:(s.y-i.y)/n};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function tp(t){return t[t.length-1]}var tf=t.i(83920),tg=t.i(76959);function tv(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function ty(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function tx(t,e,i){return{min:tT(t,e),max:tT(t,i)}}function tT(t,e){return"number"==typeof t?t:t[e]||0}let tb=new WeakMap;class tP{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,ti.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(X(t).point)},r=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(W[t])return null;else return W[t]=!0,()=>{W[t]=!1};return W.x||W.y?null:(W.x=W.y=!0,()=>{W.x=W.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ts(t=>{let e=this.getAxisMotionValue(t).get()||0;if($.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=J(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&U.frame.postRender(()=>n(t,e)),(0,ta.addValueToWillChange)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&r(t,e)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>ts(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new th(t,{onSessionStart:n,onStart:r,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:tr(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!s||!i)return;let{velocity:r}=s;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&U.frame.postRender(()=>a(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();
1if(!i||!tV(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,G.mixNumber)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,G.mixNumber)(i,t,s.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),n.set(r)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&(0,T.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:n}){return{x:tv(t.x,i,n),y:tv(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tx(t,"left","right"),y:tx(t,"top","bottom")}}(e),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&ts(t=>{var e,s;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],n={},void 0!==s.min&&(n.min=s.min-e.min),void 0!==s.max&&(n.max=s.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,T.isRefObject)(e))return!1;let s=e.current;(0,z.invariant)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let r=(0,tn.measurePageBox)(s,n.root,this.visualElement.getTransformPagePoint()),a=(t=n.layout.layoutBox,{x:ty(t.x,r.x),y:ty(t.y,r.y)});if(i){let t=i((0,_.convertBoxToBoundingBox)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,_.convertBoundingBoxToBox)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(ts(a=>{if(!tV(a,e,this.currentDirection))return;let l=o&&o[a]||{};r&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[a]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,ta.addValueToWillChange)(this.visualElement,t),i.start((0,H.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){ts(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ts(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){ts(e=>{let{drag:i}=this.getProps();if(!tV(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:r}=s.layout.layoutBox[e];n.set(t[e]-(0,G.mixNumber)(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,T.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};ts(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let r,a,o,l=e.get();s[t]=(i={min:l,max:l},n=this.constraints[t],r=.5,a=J(i),(o=J(n))>a?r=(0,tf.progress)(n.min,n.max-a,i.min):a>o&&(r=(0,tf.progress)(i.min,i.max-o,n.min)),(0,tg.clamp)(0,1,r))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),ts(e=>{if(!tV(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:r}=this.constraints[e];i.set((0,G.mixNumber)(n,r,s[e]))})}addListeners(){if(!this.visualElement.current)return;tb.set(this.visualElement,this);let t=Z(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,T.isRefObject)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),U.frame.read(e);let n=K(window,"resize",()=>this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(ts(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),s(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:r=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:r,dragMomentum:a}}}function tV(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}t.s(["DragGesture",0,class extends O{constructor(t){super(t),this.removeGroupControls=N.noop,this.removeListeners=N.noop,this.controls=new tP(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||N.noop}unmount(){this.removeGroupControls(),this.removeListeners()}}],33986);let tS=t=>(e,i)=>{t&&U.frame.postRender(()=>t(e,i))};t.s(["PanGesture",0,class extends O{constructor(){super(...arguments),this.removePointerDownListener=N.noop}onPointerDown(t){this.session=new th(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tr(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:tS(t),onStart:tS(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&U.frame.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=Z(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}],85651)},89026,36331,t=>{"use strict";var e=t.i(42824);function i(t){return(0,e.isObject)(t)&&"ownerSVGElement"in t}t.s(["isSVGElement",0,i],89026),t.s(["isSVGSVGElement",0,function(t){return i(t)&&"svg"===t.tagName}],36331)},69122,t=>{"use strict";var e=t.i(83411),i=t.i(86427),s=t.i(82363);t.s(["animateSingleValue",0,function(t,n,r){let a=(0,e.isMotionValue)(t)?t:(0,i.motionValue)(t);return a.start((0,s.animateMotionValue)("",a,n,r)),a.animation}])},49652,t=>{"use strict";t.s(["resolveElements",0,function(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);let n=i?.[t]??s.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}])},46816,77397,49048,73089,57512,99642,t=>{"use strict";var e=t.i(33986),i=t.i(85651),s=t.i(43476),n=t.i(87022),r=t.i(60140),a=t.i(71645),o=t.i(64978),l=t.i(31178),u=t.i(4035);let h={hasAnimatedSinceResize:!0,hasEverUpdated:!1},c=!1;class d extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&s&&i.register(n),c&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),h.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:r}=this.props,{projection:a}=i;return a&&(a.isPresent=r,c=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==r?a.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?a.promote():a.relegate()||n.frame.postRender(()=>{let t=a.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),r.microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;c=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function m(t){let[e,i]=(0,o.usePresence)(),n=(0,a.useContext)(l.LayoutGroupContext);return(0,s.jsx)(d,{...t,layoutGroup:n,switchLayoutGroup:(0,a.useContext)(u.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}t.s(["MeasureLayout",0,m],77397);var p=t.i(80248),f=t.i(89026),g=t.i(36331),v=t.i(87333),y=t.i(96173),x=t.i(4169),T=t.i(86427),b=t.i(706),P=t.i(70596),V=t.i(76959),S=t.i(60830),w=t.i(69122),M=t.i(67369),A=t.i(33887);let D=(t,e)=>t.depth-e.depth;class C{constructor(){this.children=[],this.isDirty=!1}add(t){(0,A.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,A.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(D),this.isDirty=!1,this.children.forEac
1h(t)}}t.i(63074);var E=t.i(28987),R=t.i(65091),k=t.i(83920),B=t.i(91559);let L=["TopLeft","TopRight","BottomLeft","BottomRight"],F=L.length,j=t=>"string"==typeof t?parseFloat(t):t,O=t=>"number"==typeof t||R.px.test(t);function I(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let N=G(0,.5,B.circOut),U=G(.5,.95,S.noop);function G(t,e,i){return s=>s<t?0:s>e?1:i((0,k.progress)(t,e,s))}function W(t,e){t.min=e.min,t.max=e.max}function $(t,e){W(t.x,e.x),W(t.y,e.y)}function z(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var H=t.i(89234),K=t.i(61054);function Y(t,e,i,s,n){return t-=e,t=(0,H.scalePoint)(t,1/i,s),void 0!==n&&(t=(0,H.scalePoint)(t,1/n,s)),t}function X(t,e,[i,s,n],r,a){!function(t,e=0,i=1,s=.5,n,r=t,a=t){if(R.percent.test(e)&&(e=parseFloat(e),e=(0,b.mixNumber)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,b.mixNumber)(r.min,r.max,s);t===r&&(o-=e),t.min=Y(t.min,e,i,o,n),t.max=Y(t.max,e,i,o,n)}(t,e[i],e[s],e[n],e.scale,r,a)}let q=["x","scaleX","originX"],Z=["y","scaleY","originY"];function _(t,e,i,s){X(t.x,e,q,i?i.x:void 0,s?s.x:void 0),X(t.y,e,Z,i?i.y:void 0,s?s.y:void 0)}var J=t.i(81699);function Q(t){return 0===t.translate&&1===t.scale}function tt(t){return Q(t.x)&&Q(t.y)}function te(t,e){return t.min===e.min&&t.max===e.max}function ti(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ts(t,e){return ti(t.x,e.x)&&ti(t.y,e.y)}function tn(t){return(0,K.calcLength)(t.x)/(0,K.calcLength)(t.y)}function tr(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class ta{constructor(){this.members=[]}add(t){(0,A.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,A.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var to=t.i(52383),tl=t.i(76673),tu=t.i(72696);let th={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tc=["","X","Y","Z"],td=0;function tm(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function tp({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(t={},i=e?.()){this.id=td++,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,p.statsBuffer.value&&(th.nodes=th.calculatedTargetDeltas=th.calculatedProjections=0),this.nodes.forEach(tv),this.nodes.forEach(tS),this.nodes.forEach(tw),this.nodes.forEach(ty),p.statsBuffer.addProjectionMetrics&&p.statsBuffer.addProjectionMetrics(th)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,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 t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new C)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new P.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,f.isSVGElement)(e)&&!(0,g.isSVGSVGElement)(e),this.instance=e;let{layoutId:i,layout:s,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,r=()=>this.root.updateBlockedByResize=!1;n.frame.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==s){let e,a;
1s=t,this.root.updateBlockedByResize=!0,i&&i(),e=y.time.now(),a=({timestamp:t})=>{let i=t-e;i>=250&&((0,n.cancelFrame)(a),r(i-250))},n.frame.setup(a,!0),i=()=>(0,n.cancelFrame)(a),h.hasAnimatedSinceResize&&(h.hasAnimatedSinceResize=!1,this.nodes.forEach(tV))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||r.getDefaultTransition()||tR,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!ts(this.targetLayout,s),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,v.getValueTransition)(n,"layout"),onPlay:a,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||tV(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,n.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.forEach(tM),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,M.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",n.frame,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tT);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tb);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tP),this.nodes.forEach(tf),this.nodes.forEach(tg)):this.nodes.forEach(tb),this.clearAllSnapshots();let t=y.time.now();n.frameData.delta=(0,V.clamp)(0,1e3/60,t-n.frameData.timestamp),n.frameData.timestamp=t,n.frameData.isProcessing=!0,n.frameSteps.update.process(n.frameData),n.frameSteps.preRender.process(n.frameData),n.frameSteps.render.process(n.frameData),n.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,r.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tx),this.sharedNodes.forEach(tA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,n.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){n.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,K.calcLength)(this.snapshot.measuredBox.x)||(0,K.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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=(0,J.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!a)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!tt(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tu.hasTransform)(this.latestValues)||n)&&(a(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),tL((e=s).x),tL(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,J.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tj))){let{scroll:t}=this.root;t&&((0,H.translateAxis)(e.x,t.offset.x),(0,H.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,J.createBox)();if($(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:n,options:r}=s;s!==this.root&&n&&r.layoutScroll&&(n.wasRoot&&$(e,t),(0,H.translateAxis)(e.x,n.offset.x),(0,H.translateAxis)(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=(0,J.createBox)();$(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(0,H.transformBox)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,tu.hasTransform)(s.latestValues)&&(0,H.transformBox)(i,s.latestValues)}return(0,tu.hasTransform)(this.latestValues)&&(0,H.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,J.createBox)();$(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,tu.hasTransform)(i.latestValues))continue;(0,tu.hasScale)(i.latestValues)&&i.updateSnapshot();let s=(0,J.createBox)();$(s,i.measurePageBox()),_(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,tu.hasTransform)(this.latestValues)&&_(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.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!==n.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:r}=this.options;if(!this.layout||!(s||r))return;this.resolvedRelativeTargetAt=n.frameData.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,J.createBox)(),this.targetWithTransforms=(0,J.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,K.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):$(this.target,this.layout.layoutBox),(0,H.applyBoxDelta)(this.target,this.targetDelta)):$(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&1!==this.animationProgress?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),p.statsBuffer.value&&th.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,tu.hasScale)(this.parent.latestValues)||(0,tu.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(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,J.createBox)(),this.relativeTargetOrigin=(0,J.createBox)(),(0,K.calcRelativePosition)(this.relativeTargetOrigin,e,i),$(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===n.frameData.timestamp&&(i=!1),i)return;let{layout:s,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||r))return;$(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;(0,H.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,J.createBox)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(z(this.prevProjectionDelta.x,this.projectionDelta.x),z(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,K.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===o&&tr(this.projectionDelta.x,this.prevProjectionDelta.x)&&tr(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),p.statsBuffer.value&&th.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,J.createDelta)(),this.projectionDelta=(0,J.createDelta)(),this.projectionDeltaWithTransform=(0,J.createDelta)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,n=s?s.latestValues:{},r={...this.latestValues},a=(0,J.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=(0,J.createBox)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(tE));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(tD(a.x,t.x,s),tD(a.y,t.y,s),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,m,p,f,g;(0,K.calcRelativePosition)(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=o,g=s,tC(m.x,p.x,f.x,g),tC(m.y,p.y,f.y,g),i&&(u=this.relativeTarget,d=i,te(u.x,d.x)&&te(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,J.createBox)()),$(i,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,s,n,r){n?(t.opacity=(0,b.mixNumber)(0,i.opacity??1,N(s)),t.opacityExit=(0,b.mixNumber)(e.opacity??1,0,U(s))):r&&(t.opacity=(0,b.mixNumber)(e.opacity??1,i.opacity??1,s));for(let n=0;n<F;n++){let r=`border${L[n]}Radius`,a=I(e,r),o=I(i,r);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||O(a)===O(o)?(t[r]=Math.max((0,b.mixNumber)(j(a),j(o),s),0),(R.percent.test(o)||R.percent.test(a))&&(t[r]+="%")):t[r]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,b.mixNumber)(e.rotate||0,i.rotate||0,s))}(r,n,this.latestValues,s,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,n.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=n.frame.update(()=>{h.hasAnimatedSinceResize=!0,x.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,T.motionValue)(0)),this.currentAnimation=(0,w.animateSingleValue)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{x.activeAnimations.layout--},onComplete:()=>{x.activeAnimations.layout--,t.onComplete&&t.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 t=this.getStack();t&&t.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 t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tF(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,J.createBox)();let e=(0,K.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,K.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}$(e,i),(0,H.transformBox)(e,n),(0,K.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ta),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&tm("z",t,s,this.animationValues);for(let e=0;e<tc.length;e++)tm(`rotate${tc[e]}`,t,s,this.animationValues),tm(`skew${tc[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,E.resolveMotionValue)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,E.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,tu.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=s.animationValues||s.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let s="",n=t.x.translate/e.x,r=t.y.translate/e.y,a=i?.z||0;if((n||r||a)&&(s=`translate3d(${n}px, ${r}px, ${a}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:r,skewX:a,skewY:o}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),n&&(s+=`rotateX(${n}deg) `),r&&(s+=`rotateY(${r}deg) `),a&&(s+=`skewX(${a}deg) `),o&&(s+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(s+=`scale(${o}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(r=i(n,r)),t.transform=r;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,s.animationValues?t.opacity=s===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=s===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,to.scaleCorrectors){if
1(void 0===n[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=to.scaleCorrectors[e],l="none"===r?n[e]:i(n[e],s);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?(0,E.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tT),this.root.sharedNodes.clear()}}}function tf(t){t.updateLayout()}function tg(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:n}=t.options,r=e.source!==t.layout.source;"size"===n?(0,tl.eachAxis)(t=>{let s=r?e.measuredBox[t]:e.layoutBox[t],n=(0,K.calcLength)(s);s.min=i[t].min,s.max=s.min+n}):tF(n,e.layoutBox,i)&&(0,tl.eachAxis)(s=>{let n=r?e.measuredBox[s]:e.layoutBox[s],a=(0,K.calcLength)(i[s]);n.max=n.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+a)});let a=(0,J.createDelta)();(0,K.calcBoxDelta)(a,i,e.layoutBox);let o=(0,J.createDelta)();r?(0,K.calcBoxDelta)(o,t.applyTransform(s,!0),e.measuredBox):(0,K.calcBoxDelta)(o,i,e.layoutBox);let l=!tt(a),u=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:r}=s;if(n&&r){let a=(0,J.createBox)();(0,K.calcRelativePosition)(a,e.layoutBox,n.layoutBox);let o=(0,J.createBox)();(0,K.calcRelativePosition)(o,i,r.layoutBox),ts(a,o)||(u=!0),s.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tv(t){p.statsBuffer.value&&th.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ty(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tx(t){t.clearSnapshot()}function tT(t){t.clearMeasurements()}function tb(t){t.isLayoutDirty=!1}function tP(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tV(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tS(t){t.resolveTargetDelta()}function tw(t){t.calcProjection()}function tM(t){t.resetSkewAndRotation()}function tA(t){t.removeLeadSnapshot()}function tD(t,e,i){t.translate=(0,b.mixNumber)(e.translate,0,i),t.scale=(0,b.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tC(t,e,i,s){t.min=(0,b.mixNumber)(e.min,i.min,s),t.max=(0,b.mixNumber)(e.max,i.max,s)}function tE(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tR={duration:.45,ease:[.4,0,.1,1]},tk=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tB=tk("applewebkit/")&&!tk("chrome/")?Math.round:S.noop;function tL(t){t.min=tB(t.min),t.max=tB(t.max)}function tF(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,K.isNear)(tn(e),tn(i),.2)}function tj(t){return t!==t.root&&t.scroll?.wasRoot}var tO=t.i(26368);let tI=tp({attachResizeListener:(t,e)=>(0,tO.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tN={current:void 0},tU=tp({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tN.current){let t=new tI({});t.mount(window),t.setOptions({layoutScroll:!0}),tN.current=t}return tN.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,tU],49048);let tG={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tU,MeasureLayout:m}};t.s(["drag",0,tG],46816);var tW=t.i(39676),t$=t.i(49652);function tz(t,e){let i=(0,t$.resolveElements)(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function tH(t){return!("touch"===t.pointerType||(0,tW.isDragActive)())}t.s(["setupGesture",0,tz],73089);var tK=t.i(65536),tY=t.i(11129);function tX(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=s["onHover"+i];r&&n.frame.postRender(()=>r(e,(0,tK.extractEventInfo)(e)))}class tq extends tY.Feature{mount(){let{current:t}=this.node;
1t&&(this.unmount=function(t,e,i={}){let[s,n,r]=tz(t,i),a=t=>{if(!tH(t))return;let{target:i}=t,s=e(i,t);if("function"!=typeof s||!i)return;let r=t=>{tH(t)&&(s(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,n)};return s.forEach(t=>{t.addEventListener("pointerenter",a,n)}),r}(t,(t,e)=>(tX(this.node,e,"Start"),t=>tX(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",0,tq],57512);var tZ=t.i(38638),t_=tY;class tJ extends t_.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,tZ.pipe)((0,tO.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tO.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["FocusGesture",0,tJ],99642)},46932,t=>{"use strict";var e=t.i(54505),i=t.i(7051),s=t.i(23070),n=t.i(46816),r=t.i(57512),a=t.i(99642),o=t.i(21186),l=t.i(39676);let u=(t,e)=>!!e&&(t===e||u(t,e.parentElement));var h=t.i(41327),c=t.i(73089);let d=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),m=new WeakSet;function p(t){return e=>{"Enter"===e.key&&t(e)}}function f(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function g(t){return(0,h.isPrimaryPointer)(t)&&!(0,l.isDragActive)()}var v=t.i(87022),y=t.i(65536),x=t.i(11129);function T(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&&v.frame.postRender(()=>n(e,(0,y.extractEventInfo)(e)))}class b extends x.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,r]=(0,c.setupGesture)(t,i),a=t=>{let s=t.currentTarget;if(!g(t))return;m.add(s);let r=e(s,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),m.has(s)&&m.delete(s),g(t)&&"function"==typeof r&&r(t,{success:e})},o=t=>{a(t,s===window||s===document||i.useGlobalTarget||u(s,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",l,n)};return s.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,n),(0,o.isHTMLElement)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=p(()=>{if(m.has(i))return;f(i,"down");let t=p(()=>{f(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>f(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,n)),d.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(T(this.node,e,"Start"),(t,{success:e})=>T(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}var P=x;let V=new WeakMap,S=new WeakMap,w=t=>{let e=V.get(t.target);e&&e(t)},M=t=>{t.forEach(w)},A={some:0,all:1};class D extends P.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;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:A[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;S.has(i)||S.set(i,{});let s=S.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(M,{root:t,...e})),s[n]}(o),V.set(t,l),e.observe(t),()=>{V.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let C={inView:{Feature:D},tap:{Feature:b},focus:{Feature:a.FocusGesture},hover:{Feature:r.HoverGesture}};
1var E=t.i(49048),R=t.i(77397);let k={layout:{ProjectionNode:E.HTMLProjectionNode,MeasureLayout:R.MeasureLayout}},B={...s.animations,...C,...n.drag,...k},L=(0,i.createMotionProxy)(B,e.createDomVisualElement);t.s(["motion",0,L],46932)}]);

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.