PageSourceSearch

https://cribl.io/_next/static/chunks/1xqfxsts3egf5.js

js cribl.io collected 2026-10-02 03:34:29 UTC 145,539 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="4e1acade-c452-632d-087e-852b30c74c88")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,706735,t=>{"use strict";let e=(0,t.i(792158).createContext)({});t.s(["LayoutGroupContext",0,e])},883523,t=>{"use strict";var e=t.i(792158);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},672250,t=>{"use strict";var e=t.i(792158);let i="u">typeof window?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i],672250)},551081,t=>{"use strict";let e=(0,t.i(792158).createContext)(null);t.s(["PresenceContext",0,e])},825465,t=>{"use strict";t.s(["isObject",0,t=>"object"==typeof t&&null!==t])},261427,t=>{"use strict";var e=t.i(825465);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}])},837540,t=>{"use strict";let e=(0,t.i(792158).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},644589,t=>{"use strict";var e=t.i(792158),i=t.i(551081);t.s(["usePresence",0,function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=(0,e.useContext)(i.PresenceContext);if(null===n)return[!0,null];let{isPresent:s,onExitComplete:r,register:o}=n,a=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,e.useCallback)(()=>t&&r&&r(a),[a,r,t]);return!s&&r?[!1,l]:[!0]}])},585737,59778,508983,328076,34771,813968,108027,970080,49997,686968,350764,270826,725542,995905,120194,719372,187067,907953,920986,633836,926935,810246,271929,761866,412126,247553,906470,210514,50252,430142,891662,337259,354012,720802,398361,964355,323482,508578,643646,661749,186645,155458,481103,544473,6778,533186,140109,341330,575342,97225,570110,639190,488257,805020,767052,174302,609846,882979,450603,t=>{"use strict";let e,i,n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set([...n,"pathRotation"]);t.s(["transformPropOrder",0,n,"transformProps",0,s],59778);var r,o=t.i(164309),a=t.i(784544);let l=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",0,l],508983);let u={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},h=(0,a._)((0,o._)({},u),{transform:t=>l(0,1,t)}),c=(0,a._)((0,o._)({},u),{default:1}),d=t=>Math.round(1e5*t)/1e5,m=RegExp("-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)","gu"),p=RegExp("^(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))$","iu"),f=(t,e)=>i=>!!("string"==typeof i&&p.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),v=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,r,o,a]=n.match(m);return{[t]:parseFloat(s),[e]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},g=(0,a._)((0,o._)({},u),{transform:t=>Math.round(l(0,255,t))}),y={test:f("rgb","red"),parse:v("red","green","blue"),transform:t=>{let{red:e,green:i,blue:n,alpha:s=1}=t;return"rgba("+g.transform(e)+", "+g.transform(i)+", "+g.transform(n)+", "+d(h.transform(s))+")"}};t.s(["rgba",0,y],328076);let x={test:f("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:y.transform};t.s(["hex",0,x],34771);let T=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>"".concat(e).concat(t)}),w=T("deg"),b=T("%"),S=T("px"),P=T("vh"),M=T("vw"),A=(0,a._)((0,o._)({},b),{parse:t=>b.parse(t)/100,transform:t=>b.transform(100*t)});t.s(["degrees",0,w,"percent",0,b,"progressPercentage",0,A,"px",0,S,"vh",0,P,"vw",0,M],813968);let V={test:f("hsl","hue"),parse:v("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:i,lightness:n,alpha:s=1}=t;return"hsla("+Math.round(e)+", "+b.transform(d(i))+", "+b.transform(d(n))+", "+d(h.transform(s))+")"}};t.s(["hsla",0,V],108027);let E={test:t=>y.test(t)||x.test(t)||V.test(t),parse:t=>y.test(t)?y.parse(t):V.test(t)?V.parse(t):x.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?y.transform(t):V.transform(t),getAnimatableNone:t=>{let e=E.parse(t);return e.alpha=0,E.transform(e)}};t.s(["color",0,E],970080);let C=RegExp("(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))","giu"),D="number",R="color",k=RegExp("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 L(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],r=0,o=e.replace(k,t=>(E.test(t)?(n.color.push(r),s.push(R),i.push(E.parse(t))):t.startsWith("var(")?(n.var.push(r),s.push("var"),i.push(t)):(n.number.push(r),s.push(D),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:n,types:s}}function B(t){let{split:e,types:i}=t,n=e.length;return t=>{let s="";for(let r=0;r<n;r++)if(s+=e[r],void 0!==t[r]){let e=i[r];e===D?s+=d(t[r]):e===R?s+=E.transform(t[r]):s+=t[r]}return s}}let F={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(m))?void 0:e.length)||0)+((null==(i=t.match(C))?void 0:i.length)||0)>0},parse:function(t){return L(t).values},createTransformer:function(t){return B(L(t))},getAnimatableNone:function(t){let e=L(t);return B(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?(null==e?void 0:e.trim().endsWith("/"))?t:0:"number"==typeof t?0:E.test(t)?E.getAnimatableNone(t):t)(t,e.split[i])))}};t.s(["analyseComplexValue",0,L,"complex",0,F],49997);let j=new Set(["brightness","contrast","saturate","opacity"]);function I(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(m)||[];if(!n)return t;let s=i.replace(n,""),r=+!!j.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let O=RegExp("\\b([a-z-]*)\\(.*?\\)","gu"),_=(0,a._)((0,o._)({},F),{getAnimatableNone:t=>{let e=t.match(O);return e?e.map(I).join(" "):t}}),N=(0,a._)((0,o._)({},F),{getAnimatableNone:t=>{let e=F.parse(t);return F.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?(0,a._)((0,o._)({},t),{alpha:1}):t))}}),U=(0,a._)((0,o._)({},u),{transform:Math.round}),W=(0,a._)((0,o._)({borderWidth:S,borderTopWidth:S,borderRightWidth:S,borderBottomWidth:S,borderLeftWidth:S,borderRadius:S,borderTopLeftRadius:S,borderTopRightRadius:S,borderBottomRightRadius:S,borderBottomLeftRadius:S,width:S,maxWidth:S,height:S,maxHeight:S,top:S,right:S,bottom:S,left:S,inset:S,insetBlock:S,insetBlockStart:S,insetBlockEnd:S,insetInline:S,insetInlineStart:S,insetInlineEnd:S,padding:S,paddingTop:S,paddingRight:S,paddingBottom:S,paddingLeft:S,paddingBlock:S,paddingBlockStart:S,paddingBlockEnd:S,paddingInline:S,paddingInlineStart:S,paddingInlineEnd:S,margin:S,marginTop:S,marginRight:S,marginBottom:S,marginLeft:S,marginBlock:S,marginBlockStart:S,marginBlockEnd:S,marginInline:S,marginInlineStart:S,marginInlineEnd:S,fontSize:S,backgroundPositionX:S,backgroundPositionY:S},{rotate:w,pathRotation:w,rotateX:w,rotateY:w,rotateZ:w,scale:c,scaleX:c,scaleY:c,scaleZ:c,skew:w,skewX:w,skewY:w,distance:S,translateX:S,translateY:S,translateZ:S,x:S,y:S,z:S,perspective:S,transformPerspective:S,opacity:h,originX:A,originY:A,originZ:S}),{zIndex:U,fillOpacity:h,strokeOpacity:h,numOctaves:U}),G=(0,a._)((0,o._)({},W),{color:E,backgroundColor:E,outlineColor:E,fill:E,stroke:E,borderColor:E,borderTopColor:E,borderRightColor:E,borderBottomColor:E,borderLeftColor:E,filter:_,WebkitFilter:_,mask:N,WebkitMask:N}),z=t=>G[t],H=()=>({translate:0,scale:1,origin:0,originPoint:0}),Y=()=>({min:0,max:0}),K=()=>({x:Y(),y:Y()});t.s(["createBox",0,K,"createDelta",0,()=>({x:H(),y:H()})],686968);let X=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",0,X],350764);let q=new Set(["width","height","top","left","right","bottom",...n]);t.s(["positionalKeys",0,q],270826);let Z=t=>e=>e.test(t),$=[u,S,b,w,M,P,{test:t=>"auto"===t,parse:t=>t}],J=t=>$.find(Z(t));var Q=t.i(848413);function tt(t,e){return e?"".concat(t,". For more information and steps for solving, visit https://motion.dev/troubleshooting/").concat(e):t}let te=()=>{},ti=()=>{};void 0!==Q.default&&(null==(r=Q.default.env)?void 0:r.NODE_ENV)!=="production"&&(te=(t,e,i)=>{!t&&"u">typeof console&&console.warn(tt(e,i))}
2,ti=(t,e,i)=>{if(!t)throw Error(tt(e,i))}),t.s(["invariant",0,ti,"warning",0,te],725542);let tn=t=>RegExp("^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)$","u").test(t),ts=t=>e=>"string"==typeof e&&e.startsWith(t),tr=ts("--"),to=ts("var(--"),ta=t=>!!to(t)&&tl.test(t.split("/*")[0].trim()),tl=RegExp("var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$","iu");function tu(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}t.s(["containsCSSVariable",0,tu,"isCSSVariableName",0,tr,"isCSSVariableToken",0,ta],995905);let th=RegExp("^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)","u"),tc=t=>180*t/Math.PI,td=t=>tp(tc(Math.atan2(t[1],t[0]))),tm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:td,rotateZ:td,skewX:t=>tc(Math.atan(t[1])),skewY:t=>tc(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tp=t=>((t%=360)<0&&(t+=360),t),tf=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tv=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tg={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tf,scaleY:tv,scale:t=>(tf(t)+tv(t))/2,rotateX:t=>tp(tc(Math.atan2(t[6],t[5]))),rotateY:t=>tp(tc(Math.atan2(-t[2],t[0]))),rotateZ:td,rotate:td,skewX:t=>tc(Math.atan(t[4])),skewY:t=>tc(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ty(t){return+!!t.includes("scale")}function tx(t,e){let i,n;if(!t||"none"===t)return ty(e);let s=t.match(RegExp("^matrix3d\\(([-\\d.e\\s,]+)\\)$","u"));if(s)i=tg,n=s;else{let e=t.match(RegExp("^matrix\\(([-\\d.e\\s,]+)\\)$","u"));i=tm,n=e}if(!n)return ty(e);let r=i[e],o=n[1].split(",").map(tT);return"function"==typeof r?r(o):o[r]}function tT(t){return parseFloat(t.trim())}let tw=t=>t===u||t===S,tb=new Set(["x","y","z"]),tS=n.filter(t=>!tb.has(t)),tP={width:(t,e)=>{let{x:i}=t,{paddingLeft:n="0",paddingRight:s="0",boxSizing:r}=e,o=i.max-i.min;return"border-box"===r?o:o-parseFloat(n)-parseFloat(s)},height:(t,e)=>{let{y:i}=t,{paddingTop:n="0",paddingBottom:s="0",boxSizing:r}=e,o=i.max-i.min;return"border-box"===r?o:o-parseFloat(n)-parseFloat(s)},top:(t,e)=>{let{top:i}=e;return parseFloat(i)},left:(t,e)=>{let{left:i}=e;return parseFloat(i)},bottom:(t,e)=>{let{y:i}=t,{top:n}=e;return parseFloat(n)+(i.max-i.min)},right:(t,e)=>{let{x:i}=t,{left:n}=e;return parseFloat(n)+(i.max-i.min)},x:(t,e)=>{let{transform:i}=e;return tx(i,"x")},y:(t,e)=>{let{transform:i}=e;return tx(i,"y")}};tP.translateX=tP.x,tP.translateY=tP.y;let tM=t=>t;t.s(["noop",0,tM],120194);let tA={};t.s(["MotionGlobalConfig",0,tA],719372);let tV=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],tE={value:null,addProjectionMetrics:null};function tC(t,e){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,o=tV.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,s=!1,r=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=r&&s?i:n;return e&&o.add(t),a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(a=t,s){r=!0;return}s=!0;let o=i;i=n,n=o,i.forEach(u),e&&tE.value&&tE.value.frameloop[e].push(l),l=0,i.clear(),s=!1,r&&(r=!1,h.process(t))}};return h}(r,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:m,postRender:p}=o,f=()=>{let r=tA.useManualTiming,o=r?s.timestamp:performance.now();i=!1,r||(s.delta=n?1e3/60:Math.max(Math.min(o-s.timestamp,40),1)),s.timestamp=o,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),h.process(s),c.process(s),d.process(s),m.process(s),p.process(s),s.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:tV.reduce((e,r)=>{let a=o[r];return e[r]=function(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!i&&(i=!0,n=!0,s.isProcessing||t(f)),a.schedule(e,r,o)},e},{}),cancel:t=>{for(let e=0;e<tV.length;e++)o[tV[e]].cancel(t)},state:s,steps:o}}t.s(["statsBuffer",0,tE],187067);
2let{schedule:tD,cancel:tR,state:tk,steps:tL}=tC("u">typeof requestAnimationFrame?requestAnimationFrame:tM,!0);t.s(["cancelFrame",0,tR,"frame",0,tD,"frameData",0,tk,"frameSteps",0,tL],907953);let tB=new Set,tF=!1,tj=!1,tI=!1;function tO(){if(tj){let t=Array.from(tB).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],tS.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(e=>{var i;let[n,s]=e;null==(i=t.getValue(n))||i.set(s)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tj=!1,tF=!1,tB.forEach(t=>t.complete(tI)),tB.clear()}function t_(){tB.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tj=!0)})}class tN{scheduleResolve(){this.state="scheduled",this.isAsync?(tB.add(this),tF||(tF=!0,tD.read(t_),tD.resolveKeyframes(tO))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let s=null==n?void 0:n.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=i.readValue(e,r);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.set(t[0])}for(let e=1;e<t.length;e++)null!=t[e]||(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tB.delete(this)}cancel(){"scheduled"===this.state&&(tB.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}}t.s(["KeyframeResolver",0,tN,"flushKeyframeResolvers",0,function(){tI=!0,t_(),tO(),tI=!1}],920986);let tU=t=>RegExp("^0[^.\\s]+$","u").test(t),tW=new Set([_,N]);function tG(t,e){let i=z(t);return tW.has(i)||(i=F),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tz=new Set(["auto","none","0"]);class tH extends tN{readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&ta(n=n.trim())){let s=function t(e,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;ti(n<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'),"max-css-var-depth");let[s,r]=function(t){let e=th.exec(t);if(!e)return[,];let[,i,n,s]=e;return["--".concat(null!=i?i:n),s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return tn(t)?parseFloat(t):t}return ta(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!q.has(i)||2!==t.length)return;let[n,s]=t,r=J(n),o=J(s);if(tu(n)!==tu(s)&&tP[i]){this.needsMeasurement=!0;return}if(r!==o)if(tw(r)&&tw(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tP[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||tU(n)))&&i.push(e)}i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!tz.has(e)&&L(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=tG(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tP[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let s=e.getValue(i);s&&s.jump(this.measuredOrigin,!1);let r=n.length-1,o=n[r];n[r]=tP[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
2h(t=>{let[i,n]=t;e.getValue(i).set(n)}),this.resolveNoneKeyframes()}constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}}var tY=t.i(766417);let tK=t=>1e3*t,tX=t=>t/1e3;function tq(t,e){-1===t.indexOf(e)&&t.push(e)}function tZ(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["millisecondsToSeconds",0,tX,"secondsToMilliseconds",0,tK],633836),t.s(["addUniqueItem",0,tq,"removeItem",0,tZ],926935);class t${add(t){return tq(this.subscriptions,t),()=>tZ(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}constructor(){this.subscriptions=[]}}function tJ(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function tQ(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["SubscriptionManager",0,t$],810246),t.s(["setStyle",0,tJ],271929),t.s(["memo",0,tQ],761866);let t0={};function t1(t,e){let i=tQ(t);return()=>{var t;return null!=(t=t0[e])?t:i()}}let t3=t1(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),t5=t=>null!==t;function t2(t,e,i){let{repeat:n,repeatType:s="loop"}=e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=t.filter(t5),a=r<0||n&&"loop"!==s&&n%2==1?0:o.length-1;return a&&void 0!==i?i:o[a]}t.s(["getFinalKeyframe",0,t2],412126);class t4{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)}constructor(){this.updateFinished()}}t.s(["WithPromise",0,t4],247553);let t8={layout:0,mainThread:0,waapi:0};t.s(["activeAnimations",0,t8],906470);let t9=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",0,t9],210514);let t6=t1(()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t7=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return"linear(".concat(n.substring(0,n.length-2),")")};t.s(["generateLinearEasing",0,t7],50252);let et=t=>{let[e,i,n,s]=t;return"cubic-bezier(".concat(e,", ").concat(i,", ").concat(n,", ").concat(s,")")},ee={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:et([0,.65,.55,1]),circOut:et([.55,0,1,.45]),backIn:et([.31,.01,.66,-.59]),backOut:et([.33,1.53,.69,.99])};function ei(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",0,ei],430142);class en extends t4{play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,e;null==(t=(e=this.animation).finish)||t.call(e)}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(){var t,e,i;let n=null==(t=this.options)?void 0:t.element;!this.isPseudoElement&&(null==n?void 0:n.isConnected)&&(null==(e=(i=this.animation).commitStyles)||e.call(i))}get duration(){var t,e;return tX(Number((null==(e=this.animation.effect)||null==(t=e.getComputedTiming)?void 0:t.call(e).duration)||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tX(t)}get time(){return tX(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tK(t),e&&this.animation.pause()}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(){var t;return null!=(t=this.manualStartTime)?t:Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline(t){let{timeline:e,rangeStart:i,rangeEnd:n,observe:s}=t;if(this.allowFlatten){var r;null==(r=this.animation.effect)||r.updateTiming({easing:"linear"})}return(this.animation.onfinish=null,e&&t3())?(this.animation.timeline=e,i&&(this.animation.rangeStart=i),n&&(this.animation.rangeEnd=n),tM):s(this)}constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:s,allowFlatten:r=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!s,this.allowFlatten=r,this.options=t,ti("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function(t){let{type:e}=t,i=(0,tY._)(t,["type"]);return ei(e)&&t6()?e.applyToOptions(i):(null!=i.duration||(i.duration=300),null!=i.ease||(i.ease="easeOut"),i)}(t);this.animation=function(t,e,i){let{delay:n=0,duration:s=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?t6()?t7(e,i):"ease-out":t9(e)?et(e):Array.isArray(e)?e.map(e=>t(e,i)||ee.easeOut):ee[e]}(a,s);Array.isArray(c)&&(h.easing=c),tE.value&&t8.waapi++;let d={delay:n,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let m=t.animate(h,d);return tE.value&&m.finished.finally(()=>{t8.waapi--}),m}(e,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=t2(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tJ(e,i,t),this.animation.cancel()}null==a||a(),this.notifyFinished()}}}t.s(["NativeAnimation",0,en],891662);let es=new Set(["opacity","clipPath","filter","transform"]);t.s(["acceleratedValues",0,es],337259);let{schedule:er}=tC(queueMicrotask,!1);function eo(){i=void 0}t.s(["microtask",0,er],354012);let ea={now:()=>(void 0===i&&ea.set(tk.isProcessing||tA.useManualTiming?tk.timestamp:performance.now()),i),set
2:t=>{i=t,queueMicrotask(eo)}};t.s(["time",0,ea],720802);let el=(t,e)=>e?1e3/e*t:0;t.s(["velocityPerSecond",0,el],398361);class eu{setCurrent(t){this.current=t,this.updatedAt=ea.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new t$);let i=this.events[t].add(e);return"change"===t?()=>{i(),tD.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;null==(t=this.events.change)||t.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 e&&e.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=ea.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return el(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(){var t,e;null==(t=this.dependents)||t.clear(),null==(e=this.events.destroy)||e.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=ea.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev){var i;if(null==(i=this.events.change)||i.notify(this.current),this.dependents)for(let t of this.dependents)t.dirty()}},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}}function eh(t,e){return new eu(t,e)}t.s(["motionValue",0,eh],964355);let ec=[...$,E,F],ed=new WeakMap;function em(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ep(t){return"string"==typeof t||Array.isArray(t)}t.s(["visualElementStore",0,ed],323482),t.s(["isAnimationControls",0,em],508578),t.s(["isVariantLabel",0,ep],643646);let ef=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ev=["initial",...ef];function eg(t){return em(t.animate)||ev.some(e=>ep(t[e]))}function ey(t){return!!(eg(t)||t.variants)}t.s(["variantPriorityOrder",0,ef,"variantProps",0,ev],661749),t.s(["isControllingVariants",0,eg,"isVariantNode",0,ey],186645);let ex={current:null},eT={current:!1},ew="u">typeof window;function eb(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function eS(t,e,i,n){if("function"==typeof e){let[s,r]=eb(n);e=e(void 0!==i?i:t.custom,s,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,r]=eb(n);e=e(void 0!==i?i:t.custom,s,r)}return e}t.s(["resolveVariantFromProps",0,eS],155458);let eP=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eM={};class eA{scrapeMotionValuesFromProps(t,e,i){return{}}mount(t){var e,i,n;if(this.hasBeenMounted)for(let t in this.initialValues)null==(n=this.values.get(t))||n.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,ed.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.forEac
2h((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(eT.current||function(){if(eT.current=!0,ew)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ex.current=t.matches;t.addEventListener("change",e),e()}else ex.current=!1}(),this.shouldReduceMotion=ex.current),this.shouldSkipAnimations=null!=(e=this.skipAnimationsConfig)&&e,null==(i=this.parent)||i.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;for(let e in this.projection&&this.projection.unmount(),tR(this.notifyUpdate),tR(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null==(t=this.parent)||t.removeChild(this),this.events)this.events[e].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),null!=this.enteringChildren||(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&es.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:s,ease:r,duration:o}=e.accelerate,a=new en({element:this.current,name:t,keyframes:n,times:s,ease:r,duration:tK(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let n=s.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tD.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i()})}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 eM){let e=eM[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];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):K()}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<eP.length;e++){let i=eP[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if(X(s))t.addValue(n,s);else if(X(r))t.addValue(n,eh(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,eh(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=eh(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=n){if("string"==typeof n&&(tn(n)||tU(n)))n=parseFloat(n);else{let i;i=n,!ec.find(Z(i))&&F.test(e)&&(n=tG(t,e))}this.setBaseTarget(t,X(n)?n.get():n)}return X(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){var n;let s=eS(this.props,i,null==(n=this.presenceContext)?void 0:n.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||X(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 t$),this.events[t].add(e)}notify(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];this.events[t]&&this.events[t].notify(...i)}scheduleRenderMicrotask(){er.render(this.render)}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:s,blockInitialAnimation:r,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tN,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=ea.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tD.render(this.render,!1,!0))};const{latestValues:u,renderState:h}=a;this.latestValues=u,this.baseTarget=(0,o._)({},u),this.initialValues=e.initial?(0,o._)({},u):{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!r,this.isControllingVariants=eg(e),this.isVariantNode=ey(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const c=this.scrapeMotionValuesFromProps(e,{},this),{willChange:d}=c,m=(0,tY._)(c,["willChange"]);for(const t in m){const e=m[t];void 0!==u[t]&&X(e)&&e.set(u[t])}}}t.s(["VisualElement",0,eA,"getFeatureDefinitions",0,function(){return eM},"setFeatureDefinitions",0,function(t){eM=t}],481103);class eV extends eA{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,e){let{vars:i,style:n}=e;delete i[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;X(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent="".concat(t))}))}constructor(){super(...arguments),this.KeyframeResolver=tH}}function eE(t){return t.replace(/([A-Z])/g,t=>"-".concat(t.toLowerCase()))}t.s(["camelToDash",0,eE],544473);
2let eC=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eD={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eR=n.length;function ek(t,e,i){let{style:r,vars:o,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(s.has(t)){l=!0;continue}if(tr(t)){o[t]=i;continue}{let e=eC(i,W[t]);t.startsWith("origin")?(u=!0,a[t]=e):r[t]=e}}if(!e.transform&&(l||i?r.transform=function(t,e,i){let s="",r=!0;for(let o=0;o<eR;o++){let a=n[o],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=eC(l,W[a]);if(!u){r=!1;let e=eD[a]||a;s+="".concat(e,"(").concat(t,") ")}i&&(e[a]=t)}}let o=t.pathRotation;return o&&(r=!1,s+="rotate(".concat(eC(o,W.pathRotation),") ")),s=s.trim(),i?s=i(e,r?"":s):r&&(s="none"),s}(e,t.transform,i):r.transform&&(r.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin="".concat(t," ").concat(e," ").concat(i)}}t.s(["buildHTMLStyles",0,ek],6778);let eL={offset:"stroke-dashoffset",array:"stroke-dasharray"},eB={offset:"strokeDashoffset",array:"strokeDasharray"},eF=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ej(t,e,i,n,s){var r,o;let[a,...l]=[e,i,n,s],{attrX:u,attrY:h,attrScale:c,pathLength:d,pathSpacing:m=1,pathOffset:p=0}=a,f=(0,tY._)(a,["attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset"]),[v,...g]=l,[y,...x]=g,[T]=x;if(ek(t,f,y),v){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:w,style:b}=t;for(let t of(w.transform&&(b.transform=w.transform,delete w.transform),(b.transform||w.transformOrigin)&&(b.transformOrigin=null!=(r=w.transformOrigin)?r:"50% 50%",delete w.transformOrigin),b.transform&&(b.transformBox=null!=(o=null==T?void 0:T.transformBox)?o:"fill-box",delete w.transformBox),eF))void 0!==w[t]&&(b[t]=w[t],delete w[t]);void 0!==u&&(w.x=u),void 0!==h&&(w.y=h),void 0!==c&&(w.scale=c),void 0!==d&&function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=!(arguments.length>4)||void 0===arguments[4]||arguments[4];t.pathLength=1;let r=s?eL:eB;t[r.offset]="".concat(-n),t[r.array]="".concat(e," ").concat(i)}(w,d,m,p,!1)}t.s(["buildSVGAttrs",0,ej],533186);let eI=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"]),eO=t=>"string"==typeof t&&"svg"===t.toLowerCase();function e_(t,e,i,n){let s,{style:r,vars:o}=e,a=t.style;for(s in r)a[s]=r[s];for(s in null==n||n.applyProjectionStyles(a,i),o)a.setProperty(s,o[s])}function eN(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}t.s(["isSVGTag",0,eO],140109);let eU={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!S.test(t))return t;else t=parseFloat(t);let i=eN(t,e.target.x),n=eN(t,e.target.y);return"".concat(i,"% ").concat(n,"%")}},eW=(t,e,i)=>t+(e-t)*i;t.s(["mixNumber",0,eW],341330);let eG={borderRadius:(0,a._)((0,o._)({},eU),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:eU,borderTopRightRadius:eU,borderBottomLeftRadius:eU,borderBottomRightRadius:eU,boxShadow:{correct:(t,e)=>{let{treeScale:i,projectionDelta:n}=e,s=F.parse(t);if(s.length>5)return t;let r=F.createTransformer(t),o=+("number"!=typeof s[0]),a=n.x.scale*i.x,l=n.y.scale*i.y;s[0+o]/=a,s[1+o]/=l;let u=eW(a,l,.5);return"number"==typeof s[2+o]&&(s[2+o]/=u),"number"==typeof s[3+o]&&(s[3+o]/=u),r(s)}}};function ez(t,e){let{layout:i,layoutId:n}=e;return s.has(t)||t.startsWith("origin")||(i||void 0!==n)&&(!!eG[t]||"opacity"===t)}function eH(t,e,i){let n=t.style,s=null==e?void 0:e.style,r={};if(!n)return r;for(let e in n){var o;(X(n[e])||s&&X(s[e])||ez(e,t)||(null==i||null==(o=i.getValue(e))?void 0:o.liveStyle)!==void 0)&&(r[e]=n[e])}return r}
2function eY(t,e,i){let s=eH(t,e,i);for(let i in t)(X(t[i])||X(e[i]))&&(s[-1!==n.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}t.s(["scaleCorrectors",0,eG],575342),t.s(["isForcedMotionValue",0,ez],97225),t.s(["scrapeMotionValuesFromProps",0,eH],570110),t.s(["scrapeMotionValuesFromProps",0,eY],639190);class eK extends eV{getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.has(e)){let t=z(e);return t&&t.default||0}return e=eI.has(e)?e:eE(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eY(t,e,i)}build(t,e,i){ej(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in e_(t,e,void 0,n),e.attrs)t.setAttribute(eI.has(i)?i:eE(i),e.attrs[i])}mount(t){this.isSVGTag=eO(t.tagName),super.mount(t)}constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=K}}function eX(t){let{top:e,left:i,right:n,bottom:s}=t;return{x:{min:i,max:n},y:{min:e,max:s}}}function eq(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}function eZ(t){return void 0===t||1===t}function e$(t){let{scale:e,scaleX:i,scaleY:n}=t;return!eZ(e)||!eZ(i)||!eZ(n)}function eJ(t){return e$(t)||eQ(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eQ(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}t.s(["SVGVisualElement",0,eK],488257);function e0(t,e,i){return i+e*(t-i)}function e1(t,e,i,n,s){return void 0!==s&&(t=e0(t,s,n)),e0(t,i,n)+e}function e3(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;t.min=e1(t.min,e,i,n,s),t.max=e1(t.max,e,i,n,s)}function e5(t,e){let{x:i,y:n}=e;e3(t.x,i.translate,i.scale,i.originPoint),e3(t.y,n.translate,n.scale,n.originPoint)}function e2(t,e){t.min+=e,t.max+=e}function e4(t,e,i,n){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,r=eW(t.min,t.max,s);e3(t,e,i,r,n)}function e8(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function e9(t,e,i){let n=null!=i?i:t;e4(t.x,e8(e.x,n.x),e.scaleX,e.scale,e.originX),e4(t.y,e8(e.y,n.y),e.scaleY,e.scale,e.originY)}function e6(t,e){return eX(eq(t.getBoundingClientRect(),e))}t.s(["convertBoundingBoxToBox",0,eX,"convertBoxToBoundingBox",0,function(t){let{x:e,y:i}=t;return{top:i.min,right:e.max,bottom:i.max,left:e.min}},"transformBoxPoints",0,eq],805020),t.s(["has2DTranslate",0,eQ,"hasScale",0,e$,"hasTransform",0,eJ],767052),t.s(["applyBoxDelta",0,e5,"applyTreeDeltas",0,function(t,e,i){let n,s,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=i.length;if(o){e.x=e.y=1;for(let l=0;l<o;l++){s=(n=i[l]).projectionDelta;let{visualElement:o}=n.options;if((!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(e2(t.x,-n.scroll.offset.x),e2(t.y,-n.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,e5(t,s)),r&&eJ(n.latestValues))){var a;e9(t,n.latestValues,null==(a=n.layout)?void 0:a.layoutBox)}}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,e0,"transformBox",0,e9,"translateAxis",0,e2],174302),t.s(["measurePageBox",0,function(t,e,i){let n=e6(t,i),{scroll:s}=e;return s&&(e2(n.x,s.offset.x),e2(n.y,s.offset.y)),n},"measureViewportBox",0,e6],609846);class e7 extends eV{readValueFromInstance(t,e){var i;if(s.has(e))return(null==(i=this.projection)?void 0:i.isProjecting)?ty(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tx(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(tr(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,e){let{transformPagePoint:i}=e;return e6(t,i)}build(t,e,i){ek(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eH(t,e,i)}constructor(){super(...arguments),this.type="html",this.renderInstance=e_}}t.s(["HTMLVisualElement",0,e7],882979);var it=t.i(792158);let ie=["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 ii(t){if("string"!=typeof t||t.includes("-"));else if(ie.indexOf(t)>-1||RegExp("[A-Z]","u").test(t))return!0;return!1}t.s(["isSVGComponent",0,ii],450603),t.s(["createDomVisualElement",0,(t,e)=>{var i;return(null!=(i=e.isSVG)?i:ii(t))?new eK(e):new e7(e,{allowProjection:t!==it.Fragment})}],585737)},669462,t=>{"use strict";let e=(0,t.i(792158).createContext)({strict:!1});t.s(["LazyContext",0,e])},688640,8343,857959,338730,512322,972889,474032,t=>{"use strict";var e,i=t.i(792158);let n=(0,i.createContext)({});
2t.s(["MotionContext",0,n],688640);var s=t.i(186645),r=t.i(643646);function o(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:e,animate:a}=function(t,e){if((0,s.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)(n));return(0,i.useMemo)(()=>({initial:e,animate:a}),[o(e),o(a)])}],8343);var a=t.i(164309),l=t.i(784544),u=t.i(350764),h=t.i(97225),c=t.i(6778);let d=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function m(t,e,i){for(let n in e)(0,u.isMotionValue)(e[n])||(0,h.isForcedMotionValue)(n,i)||(t[n]=e[n])}t.s(["createHtmlRenderState",0,d],857959);var p=t.i(533186),f=t.i(140109);let v=()=>(0,l._)((0,a._)({},d()),{attrs:{}});t.s(["createSvgRenderState",0,v],338730);let g=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function y(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||g.has(t)}let x=t=>!y(t);try{e=t.r(570606).default,"function"==typeof e&&(x=t=>t.startsWith("on")?!y(t):e(t))}catch(t){}var T=t.i(450603);t.s(["useRender",0,function(t,e,n,s,r){let{latestValues:o}=s,h=arguments.length>5&&void 0!==arguments[5]&&arguments[5],g=arguments.length>6?arguments[6]:void 0,w=((null!=g?g:(0,T.isSVGComponent)(t))?function(t,e,n,s){let r=(0,i.useMemo)(()=>{let i=v();return(0,p.buildSVGAttrs)(i,e,(0,f.isSVGTag)(s),t.transformTemplate,t.style),(0,l._)((0,a._)({},i.attrs),{style:(0,a._)({},i.style)})},[e]);if(t.style){let e={};m(e,t.style,t),r.style=(0,a._)({},e,r.style)}return r}:function(t,e){let n,s,r={},o=(n=t.style||{},m(s={},n,t),Object.assign(s,function(t,e){let{transformTemplate:n}=t;return(0,i.useMemo)(()=>{let t=d();return(0,c.buildHTMLStyles)(t,e,n),Object.assign({},t.vars,t.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=o,r})(e,o,r,t),b=function(t,e,i){let n={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&!(0,u.isMotionValue)(t[s])&&(x(s)||!0===i&&y(s)||!e&&!y(s)||t.draggable&&s.startsWith("onDrag"))&&(n[s]=t[s]);return n}(e,"string"==typeof t,h),S=t!==i.Fragment?(0,l._)((0,a._)({},b,w),{ref:n}):{},{children:P}=e,M=(0,i.useMemo)(()=>(0,u.isMotionValue)(P)?P.get():P,[P]);return(0,i.createElement)(t,(0,l._)((0,a._)({},S),{children:M}))}],512322);var w=t.i(570110);t.s(["scrapeHTMLMotionValuesFromProps",()=>w.scrapeMotionValuesFromProps],972889),t.s(["resolveMotionValue",0,function(t){return(0,u.isMotionValue)(t)?t.get():t}],474032)},307979,701040,648797,743238,765042,649180,554653,30028,891228,t=>{"use strict";var e=t.i(972889),i=t.i(766417),n=t.i(474032),s=t.i(186645),r=t.i(508578),o=t.i(155458),a=t.i(792158),l=t.i(688640),u=t.i(551081),h=t.i(883523);let c=t=>(e,c)=>{let d=(0,a.useContext)(l.MotionContext),m=(0,a.useContext)(u.PresenceContext),p=()=>(function(t,e,a,l){let{scrapeMotionValuesFromProps:u,createRenderState:h}=t;return{latestValues:function(t,e,a,l){let u={},h=l(t,{});for(let t in h)u[t]=(0,n.resolveMotionValue)(h[t]);let{initial:c,animate:d}=t,m=(0,s.isControllingVariants)(t),p=(0,s.isVariantNode)(t);e&&p&&!m&&!1!==t.inherit&&(void 0===c&&(c=e.initial),void 0===d&&(d=e.animate));let f=!!a&&!1===a.initial,v=(f=f||!1===c)?d:c;if(v&&"boolean"!=typeof v&&!(0,r.isAnimationControls)(v)){let e=Array.isArray(v)?v:[v];for(let n=0;n<e.length;n++){let s=(0,o.resolveVariantFromProps)(t,e[n]);if(s){let{transitionEnd:t,transition:e}=s,n=(0,i._)(s,["transitionEnd","transition"]);for(let t in n){let e=n[t];if(Array.isArray(e)){let t=f?e.length-1:0;e=e[t]}null!==e&&(u[t]=e)}for(let e in t)u[e]=t[e]}}}return u}(e,a,l,u),renderState:h()}})(t,e,d,m);
2return c?p():(0,h.useConstant)(p)};var d=t.i(857959);let m=c({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:d.createHtmlRenderState});t.s(["useHTMLVisualState",0,m],307979);var p=t.i(639190),p=p,f=t.i(338730);let v=c({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:f.createSvgRenderState});t.s(["useSVGVisualState",0,v],701040);var g=t.i(481103);let y={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"]},x=!1;function T(){return!function(){if(x)return;let t={};for(let e in y)t[e]={isEnabled:t=>y[e].some(e=>!!t[e])};(0,g.setFeatureDefinitions)(t),x=!0}(),(0,g.getFeatureDefinitions)()}t.s(["getInitializedFeatureDefinitions",0,T],648797);var w=t.i(164309);t.s(["loadFeatures",0,function(t){let e=T();for(let i in t)e[i]=(0,w._)({},e[i],t[i]);(0,g.setFeatureDefinitions)(e)}],743238);let b=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,b],765042),t.s(["useMotionRef",0,function(t,e,i){let n=(0,a.useRef)(i);(0,a.useInsertionEffect)(()=>{n.current=i});let s=(0,a.useRef)(null);return(0,a.useCallback)(i=>{if(i){var r;null==(r=t.onMount)||r.call(t,i)}e&&(i?e.mount(i):e.unmount());let o=n.current;if("function"==typeof o)if(i){let t=o(i);"function"==typeof t&&(s.current=t)}else s.current?(s.current(),s.current=null):o(i);else o&&(o.current=i)},[e])}],649180);let S="data-"+(0,t.i(544473).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,S],554653);let P=(0,a.createContext)({});t.s(["SwitchLayoutGroupContext",0,P],30028),t.s(["isRefObject",0,function(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}],891228)},148923,838976,233278,923301,274794,815645,219084,753584,577182,991388,509,470934,998809,931224,490350,900332,988645,587935,508821,610927,166532,710401,t=>{"use strict";t.i(848413);var e=t.i(164309),i=t.i(784544),n=t.i(803104),s=t.i(792158),r=t.i(706735),o=t.i(669462),a=t.i(837540),l=t.i(688640),u=t.i(8343),h=t.i(512322),c=t.i(450603),d=t.i(307979),m=t.i(701040),p=t.i(648797),f=t.i(743238),v=t.i(765042),g=t.i(649180),y=t.i(554653),x=t.i(551081),T=t.i(30028),w=t.i(891228),b=t.i(672250);function S(t){var S,P;let{forwardMotionProps:M=!1,type:A}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},V=arguments.length>2?arguments[2]:void 0,E=arguments.length>3?arguments[3]:void 0;V&&(0,f.loadFeatures)(V);let C=A?"svg"===A:(0,c.isSVGComponent)(t),D=C?m.useSVGVisualState:d.useHTMLVisualState;function R(c,d){let m,f=(0,i._)((0,e._)({},(0,s.useContext)(a.MotionConfigContext),c),{layoutId:function(t){let{layoutId:e}=t,i=(0,s.useContext)(r.LayoutGroupContext).id;return i&&void 0!==e?i+"-"+e:e}(c)}),{isStatic:v}=f,S=(0,u.useCreateMotionContext)(c),P=D(c,v);if(!v&&"u">typeof window){(0,s.useContext)(o.LazyContext).strict;let i=function(t){let{drag:i,layout:n}=(0,p.getInitializedFeatureDefinitions)();if(!i&&!n)return{};let s=(0,e._)({},i,n);return{MeasureLayout:(null==i?void 0:i.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(f);m=i.MeasureLayout,S.visualElement=function(t,e,i,n,r,u){var h,c,d,m;let{visualElement:p}=(0,s.useContext)(l.MotionContext),f=(0,s.useContext)(o.LazyContext),v=(0,s.useContext)(x.PresenceContext),g=(0,s.useContext)(a.MotionConfigContext),S=g.reducedMotion,P=g.skipAnimations,M=(0,s.useRef)(null),A=(0,s.useRef)(!1);n=n||f.renderer,!M.current&&n&&(M.current=n(t,{visualState:e,parent:p,props:i,presenceContext:v,blockInitialAnimation:!!v&&!1===v.initial,reducedMotionConfig:S,skipAnimations:P,isSVG:u}),A.current&&M.current&&(M.current.manuallyAnimateOnMount=!0));let V=M.current,E=(0,s.useContext)(T.SwitchLayoutGroupContext);V&&!V.projection&&r&&("html"===V.type||"svg"===V.type)&&function(t,e,
2i,n){let{layoutId:s,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=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:s,layout:r,alwaysMeasureLayout:!!o||a&&(0,w.isRefObject)(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(M.current,i,r,E);let C=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{V&&C.current&&V.update(i,v)});let D=i[y.optimizedAppearDataAttribute],R=(0,s.useRef)(!!D&&"u">typeof window&&!(null==(h=(c=window).MotionHandoffIsComplete)?void 0:h.call(c,D))&&(null==(d=(m=window).MotionHasOptimisedAnimation)?void 0:d.call(m,D)));return(0,b.useIsomorphicLayoutEffect)(()=>{A.current=!0,V&&(C.current=!0,window.MotionIsMounted=!0,V.updateFeatures(),V.scheduleRenderMicrotask(),R.current&&V.animationState&&V.animationState.animateChanges())}),(0,s.useEffect)(()=>{V&&(!R.current&&V.animationState&&V.animationState.animateChanges(),R.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,D)}),R.current=!1),V.enteringChildren=void 0)}),V}(t,P,f,E,i.ProjectionNode,C)}return(0,n.jsxs)(l.MotionContext.Provider,{value:S,children:[m&&S.visualElement?(0,n.jsx)(m,(0,e._)({visualElement:S.visualElement},f)):null,(0,h.useRender)(t,c,(0,g.useMotionRef)(P,S.visualElement,d),P,v,M,C)]})}R.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(S=null!=(P=t.displayName)?P:t.name)?S:"",")"));let k=(0,s.forwardRef)(R);return k[v.motionComponentSymbol]=t,k}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return S;let i=new Map,n=(i,n)=>S(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,S(r,void 0,t,e)),i.get(r))})}],148923);class P{update(){}constructor(t){this.isMounted=!1,this.node=t}}t.s(["Feature",0,P],838976);var M=t.i(766417),A=t.i(155458);function V(t,e,i){let n=t.getProps();return(0,A.resolveVariantFromProps)(n,e,void 0!==i?i:n.custom,t)}function E(t,i){if((null==t?void 0:t.inherit)&&i){let{inherit:n}=t,s=(0,M._)(t,["inherit"]);return(0,e._)({},i,s)}return t}function C(t,e){var i,n;let s=null!=(i=null!=(n=null==t?void 0:t[e])?n:null==t?void 0:t.default)?i:t;return s!==t?E(s,t):s}t.s(["getValueTransition",0,C],233278);var D=t.i(270826),R=t.i(964355);let k=t=>Array.isArray(t);var L=t.i(719372),B=t.i(350764);function F(t,e){let i=t.getValue("willChange");if((0,B.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&L.MotionGlobalConfig.WillChange){let i=new L.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function j(t){return t.props[y.optimizedAppearDataAttribute]}t.s(["addValueToWillChange",0,F],923301),t.s(["getOptimisedAppearId",0,j],274794);var I=t.i(633836),O=t.i(120194),_=t.i(720802);let N=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.reduce((t,e)=>i=>e(t(i)))};t.s(["pipe",0,N],815645);var U=t.i(508983),W=t.i(906470),G=t.i(725542),z=t.i(995905),H=t.i(970080),Y=t.i(49997),K=t.i(34771),X=t.i(108027);function q(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 Z=t.i(328076);function $(t,e){return i=>i>0?e:t}var J=t.i(341330);let Q=(t,e,i)=>{let n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},tt=[K.hex,Z.rgba,X.hsla];function te(t){let e=tt.find(e=>e.test(t));if((0,G.warning)(!!e,"'".concat(t,"' is not an animatable color. Use the equivalent color code instead."),"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===X.hsla&&(i=function(t){let{hue:e,saturation:i,lightness:n,alpha:s}=t;e/=360,n/=100;let r=0,o=0,a=0;if(i/=100){let t=n<.5?n*(1+i):n+i-n*i,s=2*n-t;r=q(s,t,e+1/3),o=q(s,t,e),a=q(s,t,e-1/3)}else r=o=a=n;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*a),alpha:s}}(i)),i}let ti=(t,i)=>{let n=te(t),s=te(i);if(!n||!s)return $(t,i);let r=(0,e._)({},n);return t=>(r.red=Q(n.red,s.red,t),r.green=Q(n.green,s.green,t),r.blue=Q(n.blue,s.blue,t),r.alpha=(0,J.mixNumber)(n.alpha,s.alpha,t),Z.rgba.transform(r))},tn=new Set(["none","hidden"]);function ts(t,e){return i=>(0,J.mixNumber)(t,e,i)}function tr(t){return"number"==typeof t?ts:"string"==typeof t?(0,z.isCSSVariableToken)(t)?$:H.color.test(t)?ti:tl:Array.isArray(t)?to:"object"==typeof t?H.color.test(t)?ti:ta:$}function to(t,e){let i=[...t],n=i.length,s=t.map((t,i)=>tr(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function ta(t,i){let n=(0,e._)({},t,i),s={};for(let e in n)void 0!==t[e]&&void 0!==i[e]&&(s[e]=tr(t[e])(t[e],i[e]));return t=>{for(let e in s)n[e]=s[e](t);return n}}let tl=(t,e)=>{let i=Y.complex.createTransformer(e),n=(0,Y.analyseComplexValue)(t),s=(0,Y.analyseComplexValue)(e);if(!(n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length))return(0,G.warning)(!0,"Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all c
2olors 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"),$(t,e);if(tn.has(t)&&!s.values.length||tn.has(e)&&!n.values.length)return tn.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return N(to(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){var s;let o=e.types[r],a=t.indexes[o][n[o]],l=null!=(s=t.values[a])?s:0;i[r]=l,n[o]++}return i}(n,s),s.values),i)};function tu(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,J.mixNumber)(t,e,i):tr(t)(t,e)}var th=t.i(907953);let tc=t=>{let e=e=>{let{timestamp:i}=e;return t(i)};return{start:function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return th.frame.update(e,t)},stop:()=>(0,th.cancelFrame)(e),now:()=>th.frameData.isProcessing?th.frameData.timestamp:_.time.now()}};var td=t.i(50252);function tm(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function tp(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,s=arguments.length>2?arguments[2]:void 0,r=s((0,i._)((0,e._)({},t),{keyframes:[0,n]})),o=Math.min(tm(r),2e4);return{type:"keyframes",ease:t=>r.next(o*t).value/n,duration:(0,I.millisecondsToSeconds)(o)}}t.s(["createGeneratorEasing",0,tp],219084);let tf=.01,tv=2,tg=.005,ty=.5;function tx(t,e){return t*Math.sqrt(1-e*e)}let tT=["duration","bounce"],tw=["stiffness","damping","mass"];function tb(t,e){return e.some(e=>void 0!==t[e])}function tS(){let t,n,s,r,o,a,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.3,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3,h="object"!=typeof l?{visualDuration:l,keyframes:[0,1],bounce:u}:l,{restSpeed:c,restDelta:d}=h,m=h.keyframes[0],p=h.keyframes[h.keyframes.length-1],f={done:!1,value:m},{stiffness:v,damping:g,mass:y,duration:x,velocity:T,isResolvedFromDuration:w}=function(t){let n=(0,e._)({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!tb(t,tw)&&tb(t,tT))if(n.velocity=0,t.visualDuration){let s=2*Math.PI/(1.2*t.visualDuration),r=s*s,o=2*(0,U.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(r);n=(0,i._)((0,e._)({},n),{mass:1,stiffness:r,damping:o})}else{let s=function(t){let e,i,{duration:n=800,bounce:s=.3,velocity:r=0,mass:o=1}=t;(0,G.warning)(n<=(0,I.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-s;a=(0,U.clamp)(.05,1,a),n=(0,U.clamp)(.01,10,(0,I.millisecondsToSeconds)(n)),a<1?(e=t=>{let e=t*a,i=e*n;return .001-(e-r)/tx(t,a)*Math.exp(-i)},i=t=>{let i=t*a*n,s=Math.pow(a,2)*Math.pow(t,2)*n,o=Math.exp(-i),l=tx(Math.pow(t,2),a);return(i*r+r-s)*o*(-e(t)+.001>0?-1:1)/l}):(e=t=>-.001+Math.exp(-t*n)*((t-r)*n+1),i=t=>n*n*(r-t)*Math.exp(-t*n));let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(e,i,5/n);if(n=(0,I.secondsToMilliseconds)(n),isNaN(l))return{stiffness:100,damping:10,duration:n};{let t=Math.pow(l,2)*o;return{stiffness:t,damping:2*a*Math.sqrt(o*t),duration:n}}}((0,i._)((0,e._)({},t),{velocity:0}));(n=(0,i._)((0,e._)({},n,s),{mass:1})).isResolvedFromDuration=!0}return n}((0,i._)((0,e._)({},h),{velocity:-(0,I.millisecondsToSeconds)(h.velocity||0)})),b=T||0,S=g/(2*Math.sqrt(v*y)),P=p-m,M=(0,I.millisecondsToSeconds)(Math.sqrt(v/y)),A=5>Math.abs(P);if(c||(c=A?tf:tv),d||(d=A?tg:ty),S<1)s=tx(M,S),r=(b+S*M*P)/s,t=t=>p-Math.exp(-S*M*t)*(r*Math.sin(s*t)+P*Math.cos(s*t)),o=S*M*r+P*s,a=S*M*P-r*s,n=t=>Math.exp(-S*M*t)*(o*Math.sin(s*t)+a*Math.cos(s*t));else if(1===S){t=t=>p-Math.exp(-M*t)*(P+(b+M*P)*t);let e=b+M*P;n=t=>Math.exp(-M*t)*(M*e*t-b)}else{let e=M*Math.sqrt(S*S-1);t=t=>{let i=Math.exp(-S*M*t),n=Math.min(e*t,300);return p-i*((b+S*M*P)*Math.sinh(n)+e*P*Math.cosh(n))/e};let i=(b+S*M*P)/e,s=S*M*i-P*e,r=S*M*P-i*e;n=t=>{let i=Math.exp(-S*M*t),n=Math.min(e*t,300);return i*(s*Math.sinh(n)+r*Math.cosh(n))}}let V={calculatedDuration:w&&x||null,velocity:t=>(0,I.secondsToMilliseconds)(n(t)),next:e=>{if(!w&&S<1){let t=Math.exp(-S*M*e),i=Math.sin(s*e),n=Math.cos(s*e),l=p-t*(r*i+P*n);return f.done=Math.abs((0,I.secondsToMilliseconds)(t*(o*i+a*n)))<=c&&Math.abs(p-l)<=d,f.value=f.done?p:l,f}let i=t(e);return w?f.done=e>=x:f.done=Math.abs((0,I.secondsToMilliseconds)(n(e)))<=c&&Math.abs(p-i)<=d,f.value=f.done?p:i,f},toString:()=>{let t=Math.min(tm(V),2e4),e=(0,td.generateLinearEasing)(e=>V.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return V}tS.applyToOptions=t=>{let e=tp(t,100,tS);return t.ease=e.ease,t.duration=(0,I.secondsToMilliseconds)(e.duration),t.type="keyframes",t},t.s(["spring",0,tS],753584);var tP=t.i(398361);function tM(t,e,i){let n=Math.max(e-5,0);return(0,tP.velocityPerSecond)(i-t(n),e-n)}function tA(t){let e,i,{keyframes:n,velocity:s=0,power:r=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:u,min:h,max:c,restDelta:d=.5,restSpeed:m}=t,p=n[0],f={done:!1,value:p},v=r*s,g=p+v,y=void 0===u?g:u(g);y!==g&&(v=y-p);let x=t=>-v*Math.exp(-t/o),T=t=>y+x(t),w=t=>{let e=x(t),i=T(t);f.done=Math.abs(e)<=d,f.value=f.done?y:i},b=t=>{let n;if(n=f.value,void 0!==h&&n<h||void 0!==c&&n>c){var s;e=t,i=tS({keyframes:[f.value,(s=f.value,void 0===h?c:void 0===c||Math.abs(h-s)<Math.abs(c-s)?h:c)],velocity:tM(T,t,f.value),damping:a,stiffness:l,restDelta:d,restSpeed:m})}};return b(0),{calculatedDuration:null,next:t=>{let n=!1;return(i||void 0!==e||(n=!0,w(t),b(t)),void 0!==e&&t>=e)?i.next(t-e):(n||w(t),f)}}}let tV=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tE(t,e,i,n){return t===e&&i===n?O.noop:s=>
20===s||1===s?s:tV(function(t,e,i,n,s){let r,o,a=0;do(r=tV(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(r)>1e-7&&++a<12)return o}(s,0,1,t,i),e,n)}let tC=tE(.42,0,1,1),tD=tE(0,0,.58,1),tR=tE(.42,0,.58,1),tk=t=>Array.isArray(t)&&"number"!=typeof t[0];t.s(["isEasingArray",0,tk],577182);let tL=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tB=t=>e=>1-t(1-e);t.s(["reverseEasing",0,tB],991388);let tF=tE(.33,1.53,.69,.99),tj=tB(tF),tI=tL(tj),tO=t=>t>=1?1:(t*=2)<1?.5*tj(t):.5*(2-Math.pow(2,-10*(t-1))),t_=t=>1-Math.sin(Math.acos(t)),tN=tB(t_),tU=tL(t_);t.s(["circIn",0,t_,"circInOut",0,tU,"circOut",0,tN],509);var tW=t.i(210514);let tG={linear:O.noop,easeIn:tC,easeInOut:tR,easeOut:tD,circIn:t_,circInOut:tU,circOut:tN,backIn:tj,backInOut:tI,backOut:tF,anticipate:tO},tz=t=>{if((0,tW.isBezierDefinition)(t)){(0,G.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return tE(e,i,n,s)}return"string"==typeof t?((0,G.invariant)(void 0!==tG[t],"Invalid easing type '".concat(t,"'"),"invalid-easing-type"),tG[t]):t},tH=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1};function tY(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let s=tH(0,e,n);t.push((0,J.mixNumber)(i,1,s))}}function tK(t){let e=[0];return tY(e,t.length-1),e}function tX(t){var e;let{duration:i=300,keyframes:n,times:s,ease:r="easeInOut"}=t,o=tk(r)?r.map(tz):tz(r),a={done:!1,value:n[0]},l=function(t,e){let{clamp:i=!0,ease:n,mixer:s}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.length;if((0,G.invariant)(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],s=i||L.MotionGlobalConfig.mix||tu,r=t.length-1;for(let i=0;i<r;i++){let r=s(t[i],t[i+1]);e&&(r=N(Array.isArray(e)?e[i]||O.noop:e,r)),n.push(r)}return n}(e,n,s),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let s=tH(t[n],t[n+1],i);return a[n](s)};return i?e=>u((0,U.clamp)(t[0],t[r-1],e)):u}((e=s&&s.length===n.length?s:tK(n),e.map(t=>t*i)),n,{ease:Array.isArray(o)?o:n.map(()=>o||tR).splice(0,n.length-1)});return{calculatedDuration:i,next:t=>(a.value=l(t),a.done=t>=i,a)}}t.s(["progress",0,tH],470934),t.s(["fillOffset",0,tY],998809),t.s(["defaultOffset",0,tK],931224);var tq=t.i(412126);let tZ={decay:tA,inertia:tA,tween:tX,keyframes:tX,spring:tS};function t$(t){"string"==typeof t.type&&(t.type=tZ[t.type])}var tJ=t.i(247553);let tQ=t=>t/100;class t0 extends tJ.WithPromise{initAnimation(){let{options:t}=this;t$(t);let{type:n=tX,repeat:s=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=t,{keyframes:l}=t,u=n||tX;u!==tX&&"number"!=typeof l[0]&&(this.mixKeyframes=N(tQ,tu(l[0],l[1])),l=[0,100]);let h=u((0,i._)((0,e._)({},t),{keyframes:l}));"mirror"===o&&(this.mirroredGenerator=u((0,i._)((0,e._)({},t),{keyframes:[...l].reverse(),velocity:-a}))),null===h.calculatedDuration&&(h.calculatedDuration=tm(h));let{calculatedDuration:c}=h;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(s+1)-r,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){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{generator:n,totalDuration:s,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:m,type:p,onUpdate:f,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),i?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let x=this.currentTime,T=n;if(c){let t=Math.min(this.currentTime,s)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,m&&(i-=m/a)):"mirror"===d&&(T=o)),x=(0,U.clamp)(0,1,i)*a}y?(this.delayState.value=h[0],e=this.delayState):e=T.next(x),r&&!y&&(e.value=r(e.value));let{done:w}=e;y||null===l||(w=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return b&&p!==tA&&(e.value=(0,tq.getFinalKeyframe)(h,this.options,v,this.speed)),f&&f(e.value),b&&this.finish(),e}then(t,e){return this.finished.then(t,e)}get duration(){return(0,I.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,I.millisecondsToSeconds)(t)}get time(){return(0,I.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,I.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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;
2if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return tM(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(_.time.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,I.millisecondsToSeconds)(this.currentTime))}play(){var t,e;if(this.isStopped)return;let{driver:i=tc,startTime:n}=this.options;this.driver||(this.driver=i(t=>this.tick(t))),null==(t=(e=this.options).onPlay)||t.call(e);let s=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=s):null!==this.holdTime?this.startTime=s-this.holdTime:this.startTime||(this.startTime=null!=n?n:s),"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(_.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,e;this.notifyFinished(),this.teardown(),this.state="finished",null==(t=(e=this.options).onComplete)||t.call(e)}cancel(){var t,e;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null==(t=(e=this.options).onCancel)||t.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,W.activeAnimations.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var e;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null==(e=this.driver)||e.stop(),t.observe(this)}constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var t,e;let{motionValue:i}=this.options;i&&i.updatedAt!==_.time.now()&&this.tick(_.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),null==(t=(e=this.options).onStop)||t.call(e))},W.activeAnimations.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}}var t1=t.i(920986),t3=t.i(271929),t5=t.i(891662);let t2={anticipate:tO,backInOut:tI,circInOut:tU};class t4 extends t5.NativeAnimation{updateMotionValue(t){let n=this.options,{motionValue:s,onUpdate:r,onComplete:o,element:a}=n,l=(0,M._)(n,["motionValue","onUpdate","onComplete","element"]);if(!s)return;if(void 0!==t)return void s.set(t);let u=new t0((0,i._)((0,e._)({},l),{autoplay:!1})),h=Math.max(10,_.time.now()-this.startTime),c=(0,U.clamp)(0,10,h-10),d=u.sample(h).value,{name:m}=this.options;a&&m&&(0,t3.setStyle)(a,m,d),s.setWithVelocity(u.sample(Math.max(0,h-c)).value,d,c),u.stop()}constructor(t){!function(t){"string"==typeof t.ease&&t.ease in t2&&(t.ease=t2[t.ease])}(t),t$(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}}var t8=t.i(430142);let t9=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(Y.complex.test(t)||"0"===t)&&!t.startsWith("url("));function t6(t){t.duration=0,t.type="keyframes"}var t7=tJ,et=t.i(761866),ee=t.i(337259);let ei=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,en=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),es=(0,et.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class er extends t7.WithPromise{onKeyframesResolved(t,n,s,r){var o,a;let l;this.keyframeResolver=void 0;let{name:u,type:h,velocity:c,delay:d,isHandoff:m,onUpdate:p}=s;this.resolvedAt=_.time.now();let f=!0;!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=t9(s,e),a=t9(r,e);return(0,G.warning)(o===a,"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(r,'". "').concat(o?r:s,'" is not an animatable value.'),"value-not-animatable"),!!o&&!!a&&(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,t8.isGenerator)(i))&&n)}
2(t,u,h,c)&&(f=!1,(L.MotionGlobalConfig.instantAnimations||!d)&&(null==p||p((0,tq.getFinalKeyframe)(t,s,n))),t[0]=t[t.length-1],t6(s),s.repeat=0);let v=r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,g=(0,i._)((0,e._)({startTime:v,finalKeyframe:n},s),{keyframes:t}),y=f&&!m&&function(t){var e;let{motionValue:i,name:n,repeatDelay:s,repeatType:r,damping:o,type:a,keyframes:l}=t;if(!((null==i||null==(e=i.owner)?void 0:e.current)instanceof HTMLElement))return!1;let{onUpdate:u,transformTemplate:h}=i.owner.getProps();return es()&&n&&(ee.acceleratedValues.has(n)||en.has(n)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&ei.test(t[e]))return!0;return!1}(l))&&("transform"!==n||!h)&&!u&&!s&&"mirror"!==r&&0!==o&&"inertia"!==a}(g),x=null==(a=g.motionValue)||null==(o=a.owner)?void 0:o.current;if(y)try{l=new t4((0,i._)((0,e._)({},g),{element:x}))}catch(t){l=new t0(g)}else l=new t0(g);l.finished.then(()=>{this.notifyFinished()}).catch(O.noop),this.pendingTimeline&&(this.stopTimeline=l.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=l}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){if(!this._animation){var t;null==(t=this.keyframeResolver)||t.resume(),(0,t1.flushKeyframeResolvers)()}return 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(){var t;this._animation&&this.animation.cancel(),null==(t=this.keyframeResolver)||t.cancel()}constructor(t){var i;let{autoplay:n=!0,delay:s=0,type:r="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:l="loop",keyframes:u,n
2ame:h,motionValue:c,element:d}=t,m=(0,M._)(t,["autoplay","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element"]);super(),this.stop=()=>{var t,e;this._animation&&(this._animation.stop(),null==(e=this.stopTimeline)||e.call(this)),null==(t=this.keyframeResolver)||t.cancel()},this.createdAt=_.time.now();const p=(0,e._)({autoplay:n,delay:s,type:r,repeat:o,repeatDelay:a,repeatType:l,name:h,motionValue:c,element:d},m),f=(null==d?void 0:d.KeyframeResolver)||t1.KeyframeResolver;this.keyframeResolver=new f(u,(t,e,i)=>this.onKeyframesResolved(t,e,p,!i),h,c,d),null==(i=this.keyframeResolver)||i.scheduleResolve()}}var eo=t.i(59778);let ea={type:"spring",stiffness:500,damping:25,restSpeed:10},el={type:"keyframes",duration:.8},eu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eh=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),ec=function(t,n,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;return l=>{let u=C(r,t)||{},h=u.delay||r.delay||0,{elapsed:c=0}=r;c-=(0,I.secondsToMilliseconds)(h);let d=(0,i._)((0,e._)({keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:n.getVelocity()},u),{delay:-c,onUpdate:t=>{n.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:t,motionValue:n,element:a?void 0:o});!function(t){for(let e in t)if(!eh.has(e))return!0;return!1}(u)&&Object.assign(d,((t,e)=>{let{keyframes:i}=e;return i.length>2?el:eo.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===i[1]?2*Math.sqrt(550):30,restSpeed:10}:ea:eu})(t,d)),d.duration&&(d.duration=(0,I.secondsToMilliseconds)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,I.secondsToMilliseconds)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let m=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(t6(d),0===d.delay&&(m=!0)),(L.MotionGlobalConfig.instantAnimations||L.MotionGlobalConfig.skipAnimations||(null==o?void 0:o.shouldSkipAnimations)||u.skipAnimations)&&(m=!0,t6(d),d.delay=0),d.allowFlatten=!u.type&&!u.ease,m&&!a&&void 0!==n.get()){let t=(0,tq.getFinalKeyframe)(d.keyframes,u);if(void 0!==t)return void th.frame.update(()=>{d.onUpdate(t),d.onComplete()})}return u.isSync?new t0(d):new er(d)}};function ed(t,i){let{delay:n=0,transitionOverride:s,type:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:o,transitionEnd:a}=i,l=(0,M._)(i,["transition","transitionEnd"]),u=t.getDefaultTransition(),h=null==(o=o?E(o,u):u)?void 0:o.reduceMotion,c=null==o?void 0:o.skipAnimations;s&&(o=s);let d=[],m=r&&t.animationState&&t.animationState.getState()[r],p=null==o?void 0:o.path;for(let i in p&&p.animateVisualElement(t,l,o,n,d),l){var f;let s=t.getValue(i,null!=(f=t.latestValues[i])?f:null),r=l[i];if(void 0===r||m&&function(t,e){let{protectedKeys:i,needsAnimating:n}=t,s=i.hasOwnProperty(e)&&!0!==n[e];return n[e]=!1,s}(m,i))continue;let a=(0,e._)({delay:n},C(o||{},i));c&&(a.skipAnimations=!0);let u=s.get();if(void 0!==u&&!s.isAnimating()&&!Array.isArray(r)&&r===u&&!a.velocity){th.frame.update(()=>s.set(r));continue}let p=!1;if(window.MotionHandoffAnimation){let e=j(t);if(e){let t=window.MotionHandoffAnimation(e,i,th.frame);null!==t&&(a.startTime=t,p=!0)}}F(t,i);let v=null!=h?h:t.shouldReduceMotion;s.start(ec(i,s,r,v&&D.positionalKeys.has(i)?{type:!1}:a,t,p));let g=s.animation;g&&d.push(g)}if(a){let i=()=>th.frame.update(()=>{a&&function(t,i){let n=V(t,i)||{},{transitionEnd:s={},transition:r={}}=n,o=(0,M._)(n,["transitionEnd","transition"]);for(let i in o=(0,e._)({},o,s)){var a;let e=k(a=o[i])?a[a.length-1]||0:a;t.hasValue(i)?t.getValue(i).set(e):t.addValue(i,(0,R.motionValue)(e))}}(t,a)});d.length?Promise.all(d).then(i):i()}return d}function em(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(r,o):1===s?r*n:a-r*n}function ep(t,n){var s;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=V(t,n,"exit"===r.type?null==(s=t.presenceContext)?void 0:s.custom:void 0),{transition:a=t.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(a=r.transitionOverride);let l=o?()=>Promise.all(ed(t,o,r)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?function(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:o=0,staggerChildren:l,staggerDirection:u}=a;return function(t,n){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=arguments.length>6?arguments[6]:void 0,u=[];for(let h of t.variantChildren)h.notify("AnimationStart",n),u.push(ep(h,n,(0,i._)((0,e._)({},l),{delay:s+("function"==typeof r?0:r)+em(t.variantChildren,h,r,o,a)})).then(()=>h.notify("AnimationComplete",n)));return Promise.all(u)}(t,n,s,o,l,u,r)}:()=>Promise.resolve(),{when:h}=a;if(!h)return Promise.all([l(),u(r.delay)]);{let[t,e]="beforeChildren"===h?[l,u]:[u,l];return t().then(()=>e())}}t.s(["animateMotionValue",0,ec],490350),t.s(["animateTarget",0,ed],900332);var ef=t.i(643646),ev=t.i(661749);let eg=ev.variantProps.length;var ey=t.i(508578);function ex(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let eT=[...ev.variantPriorityOrder].reverse(),ew=ev.variantPriorityOrder.length;function eb(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eS(){return{animate:eb(!0),whileInView:eb(),whileHover:eb(),whileTap:eb(),whileDrag:eb(),whileFocus:eb(),exit:eb()}}let eP=0;t.s(["animations",0,{animation:{Feature:class extends P{updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,ey.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(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}constructor(t){super(t),t.animationState||(t.animationState=function(t){let i=e=>Promise.all(e.map(e=>{let{animation:i,options:n}=e;return function(t,e){let i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>ep(t,e,n)));else if("string"==typeof e)i=ep(t,e,n);else{let s="function"==typeof e?V(t,e,n.custom):e;i=Promise.all(ed(t,s,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}(t,i,n)})),n=eS(),s=!0,r=!1,o=i=>(n,s)=>{var r;let o=V(t,s,"exit"===i?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(o){let{transition:t,transitionEnd:i}=o,s=(0,M._)(o,["transition","transitionEnd"]);n=(0,e._)({},n,s,i)}return n};function a(a){let{props:l}=t,u=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<eg;t++){let n=ev.variantProps[t],s=e.props[n];((0,ef.isVariantLabel)(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},h=[],c=new Set,d={},m=1/0;for(let i=0;i<ew;i++){var p,f;let v=eT[i],g=n[v],y=void 0!==l[v]?l[v]:u[v],x=(0,ef.isVariantLabel)(y),T=v===a?g.isActive:null;!1===T&&(m=i);let w=y===u[v]&&y!==l[v]&&x;if(w&&(s||r)&&t.manuallyAnimateOnMount&&(w=!1),g.protectedKeys=(0,e._)({},d),!g.isActive&&null===T||!y&&!g.prevProp||(0,ey.isAnimationControls)(y)||"boolean"==typeof y)continue;if("exit"===v&&g.isActive&&!0!==T){g.prevResolvedValues&&(d=(0,e._)({},d,g.prevResolvedValues));continue}let b=(p=g.prevProp,"string"==typeof(f=y)?f!==p:!!Array.isArray(f)&&!ex(f,p)),S=b||v===a&&g.isActive&&!w&&x||i>m&&x,P=!1,M=Array.isArray(y)?y:[y],A=M.reduce(o(v),{});!1===T&&(A={});let{prevResolvedValues:E={}}=g,C=(0,e._)({},E,A),D=e=>{S=!0,c.has(e)&&(P=!0,c.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);
2i&&(i.liveStyle=!1)};for(let t in C){let e=A[t],i=E[t];if(!d.hasOwnProperty(t))(k(e)&&k(i)?!ex(e,i)||b:e!==i)?null!=e?D(t):c.add(t):void 0!==e&&c.has(t)?D(t):g.protectedKeys[t]=!0}g.prevProp=y,g.prevResolvedValues=A,g.isActive&&(d=(0,e._)({},d,A)),(s||r)&&t.blockInitialAnimation&&(S=!1);let R=w&&b,L=!R||P;S&&L&&h.push(...M.map(e=>{let i={type:v};if("string"==typeof e&&(s||r)&&!R&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=V(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=em(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(c.size){let e={};if("boolean"!=typeof l.initial){let i=V(t,Array.isArray(l.initial)?l.initial[0]:l.initial);i&&i.transition&&(e.transition=i.transition)}c.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=null!=n?n:null}),h.push({animation:e})}let v=!!h.length;return s&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(v=!1),s=!1,r=!1,v?i(h):Promise.resolve()}return{animateChanges:a,setActive:function(e,i){var s;if(n[e].isActive===i)return Promise.resolve();null==(s=t.variantChildren)||s.forEach(t=>{var n;return null==(n=t.animationState)?void 0:n.setActive(e,i)}),n[e].isActive=i;let r=a(e);for(let t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(e){i=e(t)},getState:()=>n,reset:()=>{n=eS(),r=!0}}}(t))}}},exit:{Feature:class extends P{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;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=V(this.node,t,e);if(i){let{transition:t,transitionEnd:e}=i,s=(0,M._)(i,["transition","transitionEnd"]);for(let t in s){var n;null==(n=this.node.getValue(t))||n.jump(s[t])}}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
2e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}constructor(){super(...arguments),this.id=eP++,this.isExitComplete=!1}}}}],988645),t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}],587935),t.s(["addDomEvent",0,function(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}],508821);let eM={x:!1,y:!1};t.s(["isDragActive",0,function(){return eM.x||eM.y},"isDragging",0,eM],610927),t.s(["setDragLock",0,function(t){if("x"===t||"y"===t)if(eM[t])return null;else return eM[t]=!0,()=>{eM[t]=!1};return eM.x||eM.y?null:(eM.x=eM.y=!0,()=>{eM.x=eM.y=!1})}],166532);function eA(t){return t.max-t.min}function eV(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=n,t.originPoint=(0,J.mixNumber)(e.min,e.max,t.origin),t.scale=eA(i)/eA(e),t.translate=(0,J.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 eE(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;t.min=(n?(0,J.mixNumber)(i.min,i.max,n):i.min)+e.min,t.max=t.min+eA(e)}function eC(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=n?(0,J.mixNumber)(i.min,i.max,n):i.min;t.min=e.min-s,t.max=t.min+eA(e)}t.s(["calcBoxDelta",0,function(t,e,i,n){eV(t.x,e.x,i.x,n?n.originX:void 0),eV(t.y,e.y,i.y,n?n.originY:void 0)},"calcLength",0,eA,"calcRelativeBox",0,function(t,e,i,n){eE(t.x,e.x,i.x,null==n?void 0:n.x),eE(t.y,e.y,i.y,null==n?void 0:n.y)},"calcRelativePosition",0,function(t,e,i,n){eC(t.x,e.x,i.x,null==n?void 0:n.x),eC(t.y,e.y,i.y,null==n?void 0:n.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],710401)},678833,170899,488133,996584,658904,673560,695583,584047,t=>{"use strict";let e,i;var n=t.i(838976),s=t.i(120194),r=t.i(164309),o=t.i(784544),a=t.i(686968),l=t.i(907953),u=t.i(587935),h=t.i(609846),c=t.i(805020),d=t.i(923301),m=t.i(490350),p=t.i(341330),f=t.i(508821),v=t.i(166532),g=t.i(813968),y=t.i(710401),x=t.i(825465);function T(t){return(0,x.isObject)(t)&&"ownerSVGElement"in t}function w(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){var n;let s=document;e&&(s=e.current);let r=null!=(n=null==i?void 0:i[t])?n:s.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}t.s(["isSVGElement",0,T],170899),t.s(["resolveElements",0,w],488133);let b=new WeakMap,S=(t,e,i)=>(n,s)=>s&&s[0]?s[0][t+"Size"]:T(n)&&"getBBox"in n?n.getBBox()[e]:n[i],P=S("inline","width","offsetWidth"),M=S("block","height","offsetHeight");function A(t){var e;let{target:i,borderBoxSize:n}=t;null==(e=b.get(i))||e.forEach(t=>{t(i,{get width(){return P(i,n)},get height(){return M(i,n)}})})}function V(t){t.forEach(A)}let E=new Set;function C(t,n){let s;return"function"==typeof t?(E.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};E.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{E.delete(t),E.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(V)),(s=w(t)).forEach(t=>{let i=b.get(t);i||(i=new Set,b.set(t,i)),i.add(n),null==e||e.observe(t)}),()=>{s.forEach(t=>{let i=b.get(t);null==i||i.delete(n),(null==i?void 0:i.size)||null==e||e.unobserve(t)})})}let D=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),R=new Set(["INPUT","SELECT","TEXTAREA"]);function k(t){return R.has(t.tagName)||!0===t.isContentEditable}t.s(["isElementKeyboardAccessible",0,function(t){return D.has(t.tagName)||!0===t.isContentEditable},"isElementTextInput",0,k],996584);var L=t.i(725542);let B=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function F(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,B],658904);let j=t=>e=>B(e)&&t(e,F(e));function I(t,e,i,n){return(0,f.addDomEvent)(t,e,j(i),n)}t.s(["addPointerInfo",0,j,"extractEventInfo",0,F],673560);let O=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null};var _=t.i(891228),N=t.i(815645),U=t.i(633836);let W=(t,e)=>Math.abs(t-e),G=new Set(["auto","scroll"]);class z{startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(G.has(t.overflowX)||G.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:n.x-e.x,y:n.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,n),l.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,l.cancelFrame)(this.updatePoint)}constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:a=3,element:u}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=H(this.lastRawMoveEventInfo,this.transformPagePoint));let i=K(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(W(t.x,e.x)**2+W(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!s)return;let{point:a}=i,{timestamp:u}=l.frameData;this.history.push((0,o._)((0,r._)({},a),{timestamp:u}));let{onStart:h,onMove:c}=this.handlers;n||(h&&h(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),c&&c(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=H(e,this.transformPagePoint),l.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=K("pointercancel"===t.type?this.lastMoveEventInfo:H(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!B(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=a,this.contextWindow=n||window;const h=H(F(t),this.transformPagePoint),{point:c}=h,{timestamp:d}=l.frameData;this.history=[(0,o._)((0,r._)({},c),{timestamp:d})];const{onSessionStart:m}=e;m&&m(t,K(h,this.history)),this.removeListeners=(0,N.pipe)(I(this.contextWindow,"pointermove",this.handlePointerMove),I(this.contextWindow,"pointerup",this.handlePointerUp),I(this.contextWindow,"pointercancel",this.handlePointerUp)),u&&this.startScrollTracking(u)}}function H(t,e){return e?{point:e(t.point)}:t}function Y(t,e){return{x:t.x-e.x,y:t.y-e.y}}function K(t,e){let{point:i}=t;return{point:i,delta:Y(i,X(e)),offset:Y(i,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=X(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,U.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>
22*(0,U.secondsToMilliseconds)(.1)&&(i=t[1]);let s=(0,U.millisecondsToSeconds)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let r={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function X(t){return t[t.length-1]}var q=t.i(470934),Z=t.i(508983);function $(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 J(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function Q(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 te=new WeakMap;class ti{start(t){let{snapToCursor:e=!1,distanceThreshold:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{e&&this.snapToCursor(F(t).point),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,v.setDragLock)(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),(0,u.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(g.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=(0,y.calcLength)(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&l.frame.update(()=>s(t,e),!1,!0),(0,d.addValueToWillChange)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),r&&l.frame.update(()=>r(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new z(t,{onSessionStart:s,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:i,contextWindow:O(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:o}=this.getProps();o&&l.frame.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!ts(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,e,i){let{min:n,max:s}=e;return void 0!==n&&t<n?t=i?(0,p.mixNumber)(n,t,i.min):Math.max(t,n):void 0!==s&&t>s&&(t=i?(0,p.mixNumber)(s,t,i.max):Math.min(t,s)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,s=this.constraints;e&&(0,_.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,e){let{top:i,left:n,bottom:s,right:r}=e;return{x:$(t.x,n,r),y:$(t.y,i,s)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:Q(t,"left","right"),y:Q(t,"top","bottom")}}(i),s!==this.constraints&&!(0,_.isRefObject)(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&(0,u.eachAxis)(t=>{var e,i;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=n.layoutBox[t],i=this.constraints[t],s={},void 0!==i.min&&(s.min=i.min-e.min),void 0!==i.max&&(s.max=i.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,_.isRefObject)(e))return!1;let n=e.current;(0,L.invariant)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());let r=(0,h.measurePageBox)(n,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:J(t.x,r.x),y:J(t.y,r.y)});if(i){let t=i((0,c.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,c.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{};return Promise.all((0,u.eachAxis)(a=>{if(!ts(a,e,this.currentDirection))return;let u=l&&l[a]||{};(!0===o||o===a)&&(u={min:0,max:0});let h=(0,r._)({type:"inertia",velocity:i?t[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},s,u);return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,d.addValueToWillChange)(this.visualElement,t),i.start((0,m.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,u.eachAxis)(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var e;let i="_drag".concat(t.toUpperCase());return this.visualElement.getProps()[i]||this.visualElement.getValue(t,null!=(e=this.visualElement.latestValues[t])?e:0)}snapToCursor(t){(0,u.eachAxis)(e=>{let{drag:i}=this.getProps();if(!ts(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e],o=s.get()||0;s.set(t[e]-(0,p.mixNumber)(i,r,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,_.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,u.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let r,o,a,l=e.get();n[t]=(i={min:l,max:l},s=this.constraints[t],r=.5,o=(0,y.calcLength)(i),(a=(0,y.calcLength)(s))>o?r=(0,q.progress)(s.min,s.max-o,i.min):o>a&&(r=(0,q.progress)(i.min,i.max-a,s.min)),(0,Z.clamp)(0,1,r))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,u.eachAxis)(e=>{if(!ts(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set((0,p.mixNumber)(s,r,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;te.set(this.visualElement,this);let e=this.visualElement.current,i=I(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}
2=this.getProps(),s=t.target,r=s!==e&&k(s);i&&n&&!r&&this.start(t)}),n=()=>{var i,n,s;let r,o,{dragConstraints:a}=this.getProps();(0,_.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,r=C(i,tn(s=()=>this.scalePositionWithinConstraints())),o=C(n,tn(s)),t=()=>{r(),o()}))},{projection:s}=this.visualElement,r=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),l.frame.read(n);let o=(0,f.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&((0,u.eachAxis)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),i(),r(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:a=.35,dragMomentum:l=!0}=t;return(0,o._)((0,r._)({},t),{drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:a,dragMomentum:l})}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,a.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}}function tn(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function ts(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tr extends n.Feature{mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.noop}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}constructor(t){super(t),this.removeGroupControls=s.noop,this.removeListeners=s.noop,this.controls=new ti(t)}}t.s(["DragGesture",0,tr],678833);var to=n;let ta=t=>(e,i)=>{t&&l.frame.update(()=>t(e,i),!1,!0)};class tl extends to.Feature{onPointerDown(t){this.session=new z(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:O(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:ta(t),onStart:ta(e),onMove:ta(i),onEnd:(t,e)=>{delete this.session,n&&l.frame.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=I(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}constructor(){super(...arguments),this.removePointerDownListener=s.noop}}t.s(["PanGesture",0,tl],695583),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],584047)},791303,806682,659367,359569,515990,167454,309435,890126,t=>{"use strict";var e=t.i(678833),i=t.i(695583),n=t.i(164309),s=t.i(784544),r=t.i(803104),o=t.i(584047),a=t.i(907953),l=t.i(354012),u=t.i(792158),h=t.i(644589),c=t.i(706735),d=t.i(30028);let m=!1;class p extends u.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:a}=t;a&&(e.group&&e.group.add(a),i&&i.register&&r&&i.register(a),m&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions((0,s._)((0,n._)({},a.options),{layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()}))),o.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:o}=this.props,{projection:l}=i;return l&&(l.isPresent=o,t.layoutDependency!==e&&l.setOptions((0,s._)((0,n._)({},l.options),{layoutDependency:e})),m=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==o?l.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?l.promote():l.relegate()||a.frame.postRender(()=>{let t=l.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),l.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;m=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function f(t){let[e,i]=(0,h.usePresence)(),o=(0,u.useContext)(c.LayoutGroupContext);return(0,r.jsx)(p,(0,s._)((0,n._)({},t),{layoutGroup:o,switchLayoutGroup:(0,u.useContext)(d.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i}))}t.s(["MeasureLayout",0,f],806682);var v=t.i(810246),g=t.i(508983),y=t.i(120194),x=t.i(490350),T=t.i(964355),w=t.i(350764);function b(t,e,i){let n=(0,w.isMotionValue)(t)?t:(0,T.motionValue)(t);return n.start((0,x.animateMotionValue)("",n,e,i)),n.animation}t.s(["animateSingleValue",0,b],659367);
2var S=t.i(274794),P=t.i(233278),M=t.i(720802),A=t.i(575342),V=t.i(906470),E=t.i(187067);t.i(633836);var C=t.i(170899);function D(t){return(0,C.isSVGElement)(t)&&"svg"===t.tagName}t.s(["isSVGSVGElement",0,D],359569);var R=t.i(341330),k=t.i(474032),L=t.i(813968),B=t.i(470934),F=t.i(509);let j=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],I=j.length,O=t=>"string"==typeof t?parseFloat(t):t,_=t=>"number"==typeof t||L.px.test(t);function N(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let U=G(0,.5,F.circOut),W=G(.5,.95,y.noop);function G(t,e,i){return n=>n<t?0:n>e?1:i((0,B.progress)(t,e,n))}function z(t,e){t.min=e.min,t.max=e.max}function H(t,e){z(t.x,e.x),z(t.y,e.y)}function Y(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var K=t.i(174302),X=t.i(710401);function q(t,e,i,n,s){return t-=e,t=(0,K.scalePoint)(t,1/i,n),void 0!==s&&(t=(0,K.scalePoint)(t,1/s,n)),t}function Z(t,e,i,n,s){let[r,o,a]=i;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,s=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(L.percent.test(e)&&(e=parseFloat(e),e=(0,R.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,R.mixNumber)(r.min,r.max,n);t===r&&(a-=e),t.min=q(t.min,e,i,a,s),t.max=q(t.max,e,i,a,s)}(t,e[r],e[o],e[a],e.scale,n,s)}let $=["x","scaleX","originX"],J=["y","scaleY","originY"];function Q(t,e,i,n){Z(t.x,e,$,i?i.x:void 0,n?n.x:void 0),Z(t.y,e,J,i?i.y:void 0,n?n.y:void 0)}var tt=t.i(686968);function te(t){return 0===t.translate&&1===t.scale}function ti(t){return te(t.x)&&te(t.y)}function tn(t,e){return t.min===e.min&&t.max===e.max}function ts(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function tr(t,e){return ts(t.x,e.x)&&ts(t.y,e.y)}function to(t){return(0,X.calcLength)(t.x)/(0,X.calcLength)(t.y)}function ta(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var tl=t.i(926935);class tu{add(t){(0,tl.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,tl.removeItem)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,tl.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){for(let i=this.members.indexOf(t)-1;i>=0;i--){var e;let t=this.members[i];if(!1!==t.isPresent&&(null==(e=t.instance)?void 0:e.isConnected)!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:s}=i.options,{layoutDependency:r}=t.options;if(void 0===s||s!==r){var n;t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),(null==(n=t.root)?void 0:n.isUpdating)&&(t.isLayoutDirty=!0)}!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var e,i,n,s,r;null==(e=(i=t.options).onExitComplete)||e.call(i),null==(s=t.resumingFrom)||null==(n=(r=s.options).onExitComplete)||n.call(r)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(null==(t=this.lead)?void 0:t.snapshot)&&(this.lead.snapshot=void 0)}constructor(){this.members=[]}}var th=t.i(587935);let tc=(t,e)=>t.depth-e.depth;class td{add(t){(0,tl.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,tl.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tc),this.isDirty=!1,this.children.forEach(t)}constructor(){this.children=[],this.isDirty=!1}}var tm=t.i(767052);let tp={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tf=["","X","Y","Z"],tv=0;function tg(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function ty(t){let{attachResizeListener:e,defaultParent:i,measureScroll:r,checkIsScrollRoot:u,resetTransform:h}=t;return class{addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new v.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];let s=this.eventHandlers.get(t);s&&s.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;this.isSVG=(0,C.isSVGElement)(t)&&!D(t),this.instance=t;let{layoutId:i,layout:r,visualElement:l}=this.options;if(l&&!l.current&&l.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),e){let i,n=0,s=()=>this.root.updateBlockedByResize=!1;a.frame.read(()=>{n=window.innerWidth}),e(t,()=>{let t=window.innerWidth;if(t!==n){let e,r;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=M.time.now(),r=t=>{let{timestamp:i}=t,n=i-e;n>=250&&((0,a.cancelFrame)(r),s(n-250))},a.frame.setup(r,!0),i=()=>(0,a.cancelFrame)(r),o.globalProjectionState.hasAnimatedSinceResize&&(o.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEac
2h(tC))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&l&&(i||r)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeLayoutChanged:r,layout:o}=t;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||l.getDefaultTransition()||tI,{onLayoutAnimationStart:u,onLayoutAnimationComplete:h}=l.getProps(),c=!this.targetLayout||!tr(this.targetLayout,o),d=!i&&r;if(this.options.layoutRoot||this.resumeFrom||d||i&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t=(0,s._)((0,n._)({},(0,P.getValueTransition)(a,"layout")),{onPlay:u,onComplete:h});(l.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,d,t.path)}else i||tC(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}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,a.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(tk),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[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 n=(0,S.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",a.frame,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(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,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(tM),this.nodes.forEach(tP);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tA);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tV),this.nodes.forEach(tE),this.nodes.forEach(tx),this.nodes.forEach(tT)):this.nodes.forEach(tA),this.clearAllSnapshots();let t=M.time.now();a.frameData.delta=(0,g.clamp)(0,1e3/60,t-a.frameData.timestamp),a.frameData.timestamp=t,a.frameData.isProcessing=!0,a.frameSteps.update.process(a.frameData),a.frameSteps.preRender.process(a.frameData),a.frameSteps.render.process(a.frameData),a.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,l.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tS),this.sharedNodes.forEach(tL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,a.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){a.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,X.calcLength)(this.snapshot.measuredBox.x)||(0,X.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||(this.layoutCorrected=(0,tt.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(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",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=u(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!h)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!ti(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tm.hasTransform)(this.latestValues)||s)&&(h(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),tN((t=n).x),tN(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,tt.createBox)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tW))){let{scroll:t}=this.root;t&&((0,K.translateAxis)(i.x,t.offset.x),(0,K.translateAxis)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,tt.createBox)();if(H(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&H(i,t),(0,K.translateAxis)(i.x,s.offset.x),(0,K.translateAxis)(i.y,s.offset.y))}return i}applyTransform(t){var e,i;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2?arguments[2]:void 0,r=s||(0,tt.createBox)();H(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,K.translateAxis)(r.x,-i.scroll.offset.x),(0,K.translateAxis)(r.y,-i.scroll.offset.y)),(0,tm.hasTransform)(i.latestValues)&&(0,K.transformBox)(r,i.latestValues,null==(e=i.layout)?void 0:e.layoutBox)}return(0,tm.hasTransform)(this.latestValues)&&(0,K.transformBox)(r,this.latestValues,null==(i=this.layout)?void 0:i.layoutBox),r}removeTransform(t){let e=(0,tt.createBox)();H(e,t);for(let t=0;t<this.path.length;t++){var i;let n,s=this.path[t];(0,tm.hasTransform)(s.latestValues)&&(s.instance&&((0,tm.hasScale)(s.latestValues)&&s.updateSnapshot(),H(n=(0,tt.createBox)(),s.measurePageBox())),Q(e,s.latestValues,null==(i=s.snapshot)?void 0:i.layoutBox,n))}return(0,tm.hasTransform)(this.latestValues)&&Q(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options=(0,s._)((0,n._)({},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!==a.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var t;let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==i;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:r}=this.options;if(!this.layout||!(s||r))return;this.resolvedRelativeTargetAt=a.frameData.timestamp;let o=this.getClosestProjectingParent();o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,tt.createBox)(),this.targetWithTransforms=(0,tt.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,X.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):H(this.target,this.layout.layoutBox),(0,K.applyBoxDelta)(this.target,this.targetDelta)):H(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),E.statsBuffer.value&&tp.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,tm.hasScale)(this.parent.latestValues)||(0,tm.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,tt.createBox)(),this.relativeTargetOrigin=(0,tt.createBox)(),(0,X.calcRelativePosition)(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),H(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===a.frameData.timestamp&&(n=!1),n)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;H(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,l=this.treeScale.y;(0,K.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,tt.createBox)());let{target:u}=e;if(!u){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(Y(this.prevProjectionDelta.x,this.projectionDelta.x),Y(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,X.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===o&&this.treeScale.y===l&&ta(this.projectionDelta.x,this.prevProjectionDelta.x)&&ta(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),E.statsBuffer.value&&tp.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,tt.createDelta)(),this.projectionDelta=(0,tt.createDelta)(),this.projectionDeltaWithTransform=(0,tt.createDelta)()}setAnimationOrigin(t){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2?arguments[2]:void 0,r=this.snapshot,o=r?r.latestValues:{},a=(0,n._)({},this.latestValues),l=(0,tt.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let u=(0,tt.createBox)(),h=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),d=!c||c.members.length<=1,m=!!(h&&!d&&!0===this.options.crossfade&&!this.path.some(tj));this.animationProgress=0;let p=null==s?void 0:s.interpolateProjection(t);this.mixTargetDelta=i=>{let n=i/1e3,s=null==p?void 0:p(n);if(s?(l.x.translate=s.x,l.x.scale=(0,R.mixNumber)(t.x.scale,1,n),l.x.origin=t.x.origin,l.x.originPoint=t.x.originPoint,l.y.translate=s.y,l.y.scale=(0,R.mixNumber)(t.y.scale,1,n),l.y.origin=t.y.origin,l.y.originPoint=t.y.originPoint):(tB(l.x,t.x,n),tB(l.y,t.y,n)),this.setTargetDelta(l),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var r,c,f,v,g,y;
2(0,X.calcRelativePosition)(u,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,v=this.relativeTargetOrigin,g=u,y=n,tF(f.x,v.x,g.x,y),tF(f.y,v.y,g.y,y),e&&(r=this.relativeTarget,c=e,tn(r.x,c.x)&&tn(r.y,c.y))&&(this.isProjectionDirty=!1),e||(e=(0,tt.createBox)()),H(e,this.relativeTarget)}h&&(this.animationValues=a,function(t,e,i,n,s,r){var o,a,l,u;s?(t.opacity=(0,R.mixNumber)(0,null!=(o=i.opacity)?o:1,U(n)),t.opacityExit=(0,R.mixNumber)(null!=(a=e.opacity)?a:1,0,W(n))):r&&(t.opacity=(0,R.mixNumber)(null!=(l=e.opacity)?l:1,null!=(u=i.opacity)?u:1,n));for(let s=0;s<I;s++){let r=j[s],o=N(e,r),a=N(i,r);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||_(o)===_(a)?(t[r]=Math.max((0,R.mixNumber)(O(o),O(a),n),0),(L.percent.test(a)||L.percent.test(o))&&(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,R.mixNumber)(e.rotate||0,i.rotate||0,n))}(a,o,this.latestValues,n,m,d)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=a),this.animationValues.pathRotation=s.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){var e,i,r;this.notifyListeners("animationStart"),null==(e=this.currentAnimation)||e.stop(),null==(r=this.resumingFrom)||null==(i=r.currentAnimation)||i.stop(),this.pendingAnimation&&((0,a.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=a.frame.update(()=>{o.globalProjectionState.hasAnimatedSinceResize=!0,V.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,T.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=b(this.motionValue,[0,1e3],(0,s._)((0,n._)({},t),{velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{V.activeAnimations.layout--},onComplete:()=>{V.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:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&tU(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,tt.createBox)();let e=(0,X.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=(0,X.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}H(e,i),(0,K.transformBox)(e,s),(0,X.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tu),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(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getStack();n&&n.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 n={};i.z&&tg("z",t,n,this.animationValues);for(let e=0;e<tf.length;e++)tg("rotate".concat(tf[e]),t,n,this.animationValues),tg("skew".concat(tf[e]),t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[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,k.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,k.resolveMotionValue)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,tm.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();
2let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((s||r||o)&&(n="translate3d(".concat(s,"px, ").concat(r,"px, ").concat(o,"px) ")),(1!==e.x||1!==e.y)&&(n+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),i){let{transformPerspective:t,rotate:e,pathRotation:s,rotateX:r,rotateY:o,skewX:a,skewY:l}=i;t&&(n="perspective(".concat(t,"px) ").concat(n)),e&&(n+="rotate(".concat(e,"deg) ")),s&&(n+="rotate(".concat(s,"deg) ")),r&&(n+="rotateX(".concat(r,"deg) ")),o&&(n+="rotateY(".concat(o,"deg) ")),a&&(n+="skewX(".concat(a,"deg) ")),l&&(n+="skewY(".concat(l,"deg) "))}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+="scale(".concat(a,", ").concat(l,")")),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:o,y:a}=this.projectionDelta;if(t.transformOrigin="".concat(100*o.origin,"% ").concat(100*a.origin,"% 0"),n.animationValues){var l,u;t.opacity=n===this?null!=(l=null!=(u=s.opacity)?u:this.latestValues.opacity)?l:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit}else t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;
2for(let e in A.scaleCorrectors){if(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=A.scaleCorrectors[e],l="none"===r?s[e]:i(s[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,k.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(tP),this.root.sharedNodes.clear()}constructor(t={},e=null==i?void 0:i()){this.id=tv++,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,E.statsBuffer.value&&(tp.nodes=tp.calculatedTargetDeltas=tp.calculatedProjections=0),this.nodes.forEach(tw),this.nodes.forEach(tD),this.nodes.forEach(tR),this.nodes.forEach(tb),E.statsBuffer.addProjectionMetrics&&E.statsBuffer.addProjectionMetrics(tp)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new td)}}}function tx(t){t.updateLayout()}function tT(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:s}=t.options,r=i.source!==t.layout.source;if("size"===s)(0,th.eachAxis)(t=>{let n=r?i.measuredBox[t]:i.layoutBox[t],s=(0,X.calcLength)(n);n.min=e[t].min,n.max=n.min+s});else if("x"===s||"y"===s){let t="x"===s?"y":"x";z(r?i.measuredBox[t]:i.layoutBox[t],e[t])}else tU(s,i.layoutBox,e)&&(0,th.eachAxis)(n=>{let s=r?i.measuredBox[n]:i.layoutBox[n],o=(0,X.calcLength)(e[n]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,tt.createDelta)();(0,X.calcBoxDelta)(o,e,i.layoutBox);let a=(0,tt.createDelta)();r?(0,X.calcBoxDelta)(a,t.applyTransform(n,!0),i.measuredBox):(0,X.calcBoxDelta)(a,e,i.layoutBox);let l=!ti(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let o=t.options.layoutAnchor||void 0,a=(0,tt.createBox)();(0,X.calcRelativePosition)(a,i.layoutBox,s.layoutBox,o);let l=(0,tt.createBox)();(0,X.calcRelativePosition)(l,e,r.layoutBox,o),tr(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tw(t){E.statsBuffer.value&&tp.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 tb(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tS(t){t.clearSnapshot()}function tP(t){t.clearMeasurements()}function tM(t){t.isLayoutDirty=!0,t.updateLayout()}function tA(t){t.isLayoutDirty=!1}function tV(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function tE(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tC(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tD(t){t.resolveTargetDelta()}function tR(t){t.calcProjection()}
2function tk(t){t.resetSkewAndRotation()}function tL(t){t.removeLeadSnapshot()}function tB(t,e,i){t.translate=(0,R.mixNumber)(e.translate,0,i),t.scale=(0,R.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tF(t,e,i,n){t.min=(0,R.mixNumber)(e.min,i.min,n),t.max=(0,R.mixNumber)(e.max,i.max,n)}function tj(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tI={duration:.45,ease:[.4,0,.1,1]},tO=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),t_=tO("applewebkit/")&&!tO("chrome/")?Math.round:y.noop;function tN(t){t.min=t_(t.min),t.max=t_(t.max)}function tU(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,X.isNear)(to(e),to(i),.2)}function tW(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tG=t.i(508821);let tz=ty({attachResizeListener:(t,e)=>(0,tG.addDomEvent)(t,"resize",e),measureScroll:()=>{var t,e;return{x:document.documentElement.scrollLeft||(null==(t=document.body)?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||(null==(e=document.body)?void 0:e.scrollTop)||0}},checkIsScrollRoot:()=>!0}),tH={current:void 0},tY=ty({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tH.current){let t=new tz({});t.mount(window),t.setOptions({layoutScroll:!0}),tH.current=t}return tH.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,tY],515990);let tK={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tY,MeasureLayout:f}};t.s(["drag",0,tK],791303);var tX=t.i(838976),tq=t.i(610927),tZ=t.i(488133);function t$(t,e){let i=(0,tZ.resolveElements)(t),r=new AbortController;return[i,(0,s._)((0,n._)({passive:!0},e),{signal:r.signal}),()=>r.abort()]}t.s(["setupGesture",0,t$],167454);var tJ=t.i(673560);function tQ(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&a.frame.postRender(()=>s(e,(0,tJ.extractEventInfo)(e)))}class t0 extends tX.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[n,s,r]=t$(t,i);return n.forEach(t=>{let i,n=!1,r=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),r&&(r=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){r=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,tq.isDragActive)())return;r=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),r}(t,(t,e)=>(tQ(this.node,e,"Start"),t=>tQ(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",0,t0],309435);var t1=tX,t3=t.i(815645);class t5 extends t1.Feature{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,t3.pipe)((0,tG.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tG.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}constructor(){super(...arguments),this.isActive=!1}}t.s(["FocusGesture",0,t5],890126)},484778,t=>{"use strict";var e=t.i(585737),i=t.i(148923),n=t.i(164309),s=t.i(988645),r=t.i(791303),o=t.i(309435),a=t.i(890126),l=t.i(838976),u=t.i(261427),h=t.i(610927);let c=(t,e)=>!!e&&(t===e||c(t,e.parentElement));var d=t.i(658904),m=t.i(167454),p=t.i(996584);let f=new WeakSet;function v(t){return e=>{"Enter"===e.key&&t(e)}}function g(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function y(t){return(0,d.isPrimaryPointer)(t)&&!(0,h.isDragActive)()}let x=new WeakSet;var T=t.i(907953),w=t.i(673560);function b(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&T.frame.postRender(()=>s(e,(0,w.extractEventInfo)(e)))}class S extends l.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[n,s,r]=(0,m.setupGesture)(t,i),o=t=>{let n=t.currentTarget;if(!y(t)||x.has(t))return;f.add(n),i.stopPropagation&&x.add(t);let r=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),f.has(n)&&f.delete(n),y(t)&&"function"==typeof r&&r(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||c(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};
2return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),(0,u.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=v(()=>{if(f.has(i))return;g(i,"down");let t=v(()=>{g(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>g(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),(0,p.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(b(this.node,e,"Start"),(t,e)=>{let{success:i}=e;return b(this.node,t,i?"End":"Cancel")}),{useGlobalTarget:e,stopPropagation:(null==i?void 0:i.tap)===!1})}unmount(){}}var P=l,M=t.i(766417);let A=new WeakMap,V=new WeakMap,E=t=>{let e=A.get(t.target);e&&e(t)},C=t=>{t.forEach(E)},D={some:0,all:1};class R extends P.Feature{startObserver(){var t,e;let i;null==(t=this.stopObserver)||t.call(this);let{viewport:s={}}=this.node.getProps(),{root:r,margin:o,amount:a="some",once:l}=s,u={root:r?r.current:void 0,rootMargin:o,threshold:"number"==typeof a?a:D[a]},h=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,l&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};this.stopObserver=(e=this.node.current,i=function(t){let{root:e}=t,i=(0,M._)(t,["root"]),s=e||document;V.has(s)||V.set(s,{});let r=V.get(s),o=JSON.stringify(i);return r[o]||(r[o]=new IntersectionObserver(C,(0,n._)({root:e},i))),r[o]}(u),A.set(e,h),i.observe(e),()=>{A.delete(e),i.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function(t){let{viewport:e={}}=t,{viewport:i={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>e[t]!==i[t]}(t,e))&&this.startObserver()}unmount(){var t;null==(t=this.stopObserver)||t.call(this),this.hasEnteredView=!1,this.isInView=!1}constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}}let k={inView:{Feature:R},tap:{Feature:S},focus:{Feature:a.FocusGesture},hover:{Feature:o.HoverGesture}};var L=t.i(515990),B=t.i(806682);let F={layout:{ProjectionNode:L.HTMLProjectionNode,MeasureLayout:B.MeasureLayout}},j=(0,n._)({},s.animations,k,r.drag,F),I=(0,i.createMotionProxy)(j,e.createDomVisualElement);t.s(["motion",0,I],484778)}]);
3
4//# debugId=4e1acade-c452-632d-087e-852b30c74c88

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.