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]="06348ed7-bb83-990a-5fac-9df5eec3313a")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,907051,t=>{"use strict";t.s(["createDOMMotionComponentProxy",0,function(t){if("u"<typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,s)=>"create"===s?t:(e.has(s)||e.set(s,t(s)),e.get(s))})}])},44974,t=>{"use strict";t.s(["isAnimationControls",0,function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}])},377894,t=>{"use strict";t.s(["isKeyframesTarget",0,t=>Array.isArray(t)])},116514,t=>{"use strict";t.s(["shallowCompare",0,function(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}])},342531,t=>{"use strict";t.s(["isVariantLabel",0,function(t){return"string"==typeof t||Array.isArray(t)}])},870452,243190,t=>{"use strict";function e(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function i(t,i,s,r){if("function"==typeof i){let[n,a]=e(r);i=i(void 0!==s?s:t.custom,n,a)}if("string"==typeof i&&(i=t.variants&&t.variants[i]),"function"==typeof i){let[n,a]=e(r);i=i(void 0!==s?s:t.custom,n,a)}return i}t.s(["resolveVariantFromProps",0,i],243190),t.s(["resolveVariant",0,function(t,e,s){let r=t.getProps();return i(r,e,void 0!==s?s:r.custom,t)}],870452)},789607,t=>{"use strict";let e=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...e];t.s(["variantPriorityOrder",0,e,"variantProps",0,i])},861200,260830,965566,105369,260900,930551,466576,148766,655529,721748,486681,931953,153396,783920,756512,465815,987333,997307,t=>{"use strict";let e;t.i(247167);let i=t=>t;function s(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["noop",0,i],260830),t.s(["invariant",0,i,"warning",0,i],965566),t.s([],105369),t.s(["memo",0,s],260900);let r=s(()=>void 0!==window.ScrollTimeline);t.s(["supportsScrollTimeline",0,r],930551);class n{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>r()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}t.s(["GroupPlaybackControls",0,class extends n{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}],466576);let a=t=>t/1e3;function o(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}t.s(["millisecondsToSeconds",0,a,"secondsToMilliseconds",0,t=>1e3*t],148766),t.s(["calcGeneratorDuration",0,o,"maxGeneratorDuration",0,2e4],655529),t.s(["createGeneratorEasing",0,function(t,e=100,i){let s=i({...t,keyframes:[0,e]}),r=Math.min(o(s),2e4);return{type:"keyframes",ease:t=>s.next(r*t).value/e,duration:a(r)}}],721748),t.s(["attachTimeline",0,function(t,e){t.timeline=e,t.onfinish=null}],486681);let l=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",0,l],931953);let u,h=(e=s(()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>{var t;return null!=(t=u)?t:e()});t.s(["supportsLinearEasing",0,h],153396);let c=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s};t.s(["progress",0,c],783920);let d=(t,e,i=10)=>{let s="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)s+=t(c(0,r-1,e))+", ";return`linear(${s.substring(0,s.length-2)})`};t.s(["generateLinearEasing",0,d],756512);let m=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,p={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:m([0,.65,.55,1]),circOut:m([.55,0,1,.45]),backIn:m([.31,.01,.66,-.59]),backOut:m([.33,1.53,.69,.99])};t.s(["isWaapiSupportedEasing",0,function t(e){return!!("function"==typeof e&&h()||!e||"string"==typeof e&&(e in p||h())||l(e)||Array.isArray(e)&&e.every(t))},"mapEasingToNativeEasing",0,function t(e,i){if(e)return"function"==typeof e&&h()?d(e,i):l(e)?m(e):Array.isArray(e)?e.map(e=>t(e,i)||p.easeOut):p[e]}],465815),t.s(["getValueTransition",0,function(t,e){return t?t[e]||t.default||t:void 0}],987333),t.s(["isGenerator",0,function(t){return"function"==typeof t}],997307),t.s([],861200)},2300,681384,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(e);t.s(["transformPropOrder",0,e,"transformProps",0,i],681384);let s=new Set(["width","height","top","left","right","bottom",...e]);t.s(["positionalKeys",0,s],2300)},87519,345046,4840,28327,167406,t=>{"use strict";let e;var i=t.i(377894);t.s(["isCustomValue",0,t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),"resolveFinalValueInKeyframes",0,t=>(0,i.isKeyframesTarget)(t)?t[t.length-1]||0:t],87519);let s={skipAnimations:!1,useManualTiming:!1};t.s(["MotionGlobalConfig",0,s],345046),t.i(105369);var r=t.i(260830);let n=["read","resolveKeyframes","update","preRender","render","postRender"];function a(t,e){let i=!1,r=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,l=n.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,s=!1,r=!1,n=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(e){n.has(e)&&(l.schedule(e),t()),e(a)}let l={schedule:(t,r=!1,a=!1)=>{let o=a&&s?e:i;return r&&n.add(t),o.has(t)||o.add(t),t},cancel:t=>{i.delete(t),n.delete(t)},process:t=>{if(a=t,s){r=!0;return}s=!0,[e,i]=[i,e],e.forEach(o),e.clear(),s=!1,r&&(r=!1,l.process(t))}};return l}(o),t),{}),{read:u,resolveKeyframes:h,update:c,preRender:d,render:m,postRender:p}=l,f=()=>{let n=s.useManualTiming?a.timestamp:performance.now();i=!1,a.delta=r?1e3/60:Math.max(Math.min(n-a.timestamp,40),1),a.timestamp=n,a.isProcessing=!0,u.process(a),h.process(a),c.process(a),d.process(a),m.process(a),p.process(a),a.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:n.reduce((e,s)=>{let n=l[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,r=!0,a.isProcessing||t(f)),n.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<n.length;e++)l[n[e]].cancel(t)},state:a,steps:l}}t.s(["createRenderBatcher",0,a],4840);let{schedule:o,cancel:l,state:u,steps:h}=a("u">typeof requestAnimationFrame?requestAnimationFrame:r.noop,!0);function c(){e=void 0}t.s(["cancelFrame",0,l,"frame",0,o,"frameData",0,u,"frameSteps",0,h],28327);let d={now:()=>(void 0===e&&d.set(u.isProcessing||s.useManualTiming?u.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(c)}};t.s(["time",0,d],167406)},803668,t=>{"use strict";t.s(["addUniqueItem",0,function(t,e){-1===t.indexOf(e)&&t.push(e)},"removeItem",0,function(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}])},274015,t=>{"use strict";var e=t.i(803668);t.s(["SubscriptionManager",0,class{constructor(){this.subscriptions=[]}add(t){return(0,e.addUniqueItem)(this.subscriptions,t),()=>(0,e.removeItem)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let r=0;r<s;r++){let s=this.subscriptions[r];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}])},368935,t=>{"use strict";t.s(["velocityPerSecond",0,function(t,e){return e?1e3/e*t:0}])},271329,t=>{"use strict";var e=t.i(167406),i=t.i(274015),s=t.i(368935),r=t.i(28327);let n={current:void 0};class a{constructor(t,i={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,i=!0)=>{let s=e.time.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=i.owner}setCurrent(t){this.current=t,this.updatedAt=e.time.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i.SubscriptionManager);let s=this.events[t].add(e);return"change"===t?()=>{s(),r.frame.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return n.current&&n.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=e.time.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}t.s(["collectMotionValues",0,n,"motionValue",0,function(t,e){return new a(t,e)}])},197989,t=>{"use strict";var e=t.i(87519),i=t.i(271329),s=t.i(870452);t.s(["setTarget",0,function(t,r){let{transitionEnd:n={},transition:a={},...o}=(0,s.resolveVariant)(t,r)||{};for(let s in o={...o,...n}){let r=(0,e.resolveFinalValueInKeyframes)(o[s]);t.hasValue(s)?t.getValue(s).set(r):t.addValue(s,(0,i.motionValue)(r))}}])},298549,t=>{"use strict";t.s(["isMotionValue",0,t=>!!(t&&t.getVelocity)])},593521,964600,979386,767369,121975,558639,424707,546905,268638,869175,252165,t=>{"use strict";var e=t.i(298549);t.s(["addValueToWillChange",0,function(t,i){let s=t.getValue("willChange");if((0,e.isMotionValue)(s)&&s.add)return s.add(i)}],593521);let i=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();t.s(["camelToDash",0,i],964600);let s="data-"+i("framerAppearId");t.s(["optimizedAppearDataAttribute",0,s],979386),t.s(["getOptimisedAppearId",0,function(t){return t.props[s]}],767369),t.s(["instantAnimationState",0,{current:!1}],121975),t.i(105369);var r=t.i(260830);let n=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function a(t,e,i,s){return t===e&&i===s?r.noop:r=>
20===r||1===r?r:n(function(t,e,i,s,r){let a,o,l=0;do(a=n(o=e+(i-e)/2,s,r)-t)>0?i=o:e=o;while(Math.abs(a)>1e-7&&++l<12)return o}(r,0,1,t,i),e,s)}t.s(["cubicBezier",0,a],558639);let o=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,l=t=>e=>1-t(1-e),u=a(.33,1.53,.69,.99),h=l(u),c=o(h);t.s(["backIn",0,h,"backInOut",0,c,"backOut",0,u],424707),t.s(["anticipate",0,t=>(t*=2)<1?.5*h(t):.5*(2-Math.pow(2,-10*(t-1)))],546905);let d=t=>1-Math.sin(Math.acos(t)),m=l(d),p=o(d);t.s(["circIn",0,d,"circInOut",0,p,"circOut",0,m],268638);let f=t=>/^0[^.\s]+$/u.test(t);t.s(["isZeroValueString",0,f],869175),t.s(["isNone",0,function(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||f(t)}],252165)},974780,t=>{"use strict";t.s(["clamp",0,(t,e,i)=>i>e?e:i<t?t:i])},935902,306996,781064,942308,824486,430801,102254,19548,726553,573464,648838,558213,970272,323016,70170,697756,417994,t=>{"use strict";var e=t.i(252165),i=t.i(2300),s=t.i(974780);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},n={...r,transform:t=>(0,s.clamp)(0,1,t)},a={...r,default:1},o=t=>Math.round(1e5*t)/1e5,l=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,u=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,h=(t,e)=>i=>!!("string"==typeof i&&u.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),c=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[r,n,a,o]=s.match(l);return{[t]:parseFloat(r),[e]:parseFloat(n),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},d={...r,transform:t=>Math.round((0,s.clamp)(0,255,t))},m={test:h("rgb","red"),parse:c("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+d.transform(t)+", "+d.transform(e)+", "+d.transform(i)+", "+o(n.transform(s))+")"};t.s(["rgba",0,m],306996);let p={test:h("#"),parse:function(t){let e="",i="",s="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,s+=s,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}},transform:m.transform};t.s(["hex",0,p],781064);let f=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),v=f("deg"),g=f("%"),y=f("px"),x=f("vh"),T=f("vw"),P={...g,parse:t=>g.parse(t)/100,transform:t=>g.transform(100*t)};t.s(["degrees",0,v,"percent",0,g,"progressPercentage",0,P,"px",0,y,"vh",0,x,"vw",0,T],942308);let b={test:h("hsl","hue"),parse:c("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+g.transform(o(e))+", "+g.transform(o(i))+", "+o(n.transform(s))+")"};t.s(["hsla",0,b],824486);let S={test:t=>m.test(t)||p.test(t)||b.test(t),parse:t=>m.test(t)?m.parse(t):b.test(t)?b.parse(t):p.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?m.transform(t):b.transform(t)};t.s(["color",0,S],430801);let V=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,w="number",A="color",M=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function C(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},r=[],n=0,a=e.replace(M,t=>(S.test(t)?(s.color.push(n),r.push(A),i.push(S.parse(t))):t.startsWith("var(")?(s.var.push(n),r.push("var"),i.push(t)):(s.number.push(n),r.push(w),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:a,indexes:s,types:r}}function D(t){return C(t).values}function E(t){let{split:e,types:i}=C(t),s=e.length;return t=>{let r="";for(let n=0;n<s;n++)if(r+=e[n],void 0!==t[n]){let e=i[n];e===w?r+=o(t[n]):e===A?r+=S.transform(t[n]):r+=t[n]}return r}}let R=t=>"number"==typeof t?0:t,B={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(l))?void 0:e.length)||0)+((null==(i=t.match(V))?void 0:i.length)||0)>0},parse:D,createTransformer:E,getAnimatableNone:function(t){let e=D(t);return E(t)(e.map(R))}};t.s(["analyseComplexValue",0,C,"complex",0,B],102254);let k=new Set(["brightness","contrast","saturate","opacity"]);function L(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(l)||[];if(!s)return t;let r=i.replace(s,""),n=+!!k.has(e);return s!==i&&(n*=100),e+"("+n+r+")"}let F=/\b([a-z-]*)\(.*?\)/gu,j={...B,getAnimatableNone:t=>{let e=t.match(F);return e?e.map(L).join(" "):t}},O={...r,transform:Math.round},I={borderWidth:y,borderTopWidth:y,borderRightWidth:y,borderBottomWidth:y,borderLeftWidth:y,borderRadius:y,radius:y,borderTopLeftRadius:y,borderTopRightRadius:y,borderBottomRightRadius:y,borderBottomLeftRadius:y,width:y,maxWidth:y,height:y,maxHeight:y,top:y,right:y,bottom:y,left:y,padding:y,paddingTop:y,paddingRight:y,paddingBottom:y,paddingLeft:y,margin:y,marginTop:y,marginRight:y,marginBottom:y,marginLeft:y,backgroundPositionX:y,backgroundPositionY:y,rotate:v,rotateX:v,rotateY:v,rotateZ:v,scale:a,scaleX:a,scaleY:a,scaleZ:a,skew:v,skewX:v,skewY:v,distance:y,translateX:y,translateY:y,translateZ:y,x:y,y:y,z:y,perspective:y,transformPerspective:y,opacity:n,originX:P,originY:P,originZ:y,zIndex:O,size:y,fillOpacity:n,strokeOpacity:n,numOctaves:O};t.s(["numberValueTypes",0,I],19548);let N={...I,color:S,backgroundColor:S,outlineColor:S,fill:S,stroke:S,borderColor:S,borderTopColor:S,borderRightColor:S,borderBottomColor:S,borderLeftColor:S,filter:j,WebkitFilter:j}
2,U=t=>N[t];function $(t,e){let i=U(t);return i!==j&&(i=B),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getDefaultValueType",0,U],726553),t.s(["getAnimatableNone",0,$],573464);let G=new Set(["auto","none","0"]);var W=t.i(681384);let K=t=>t===r||t===y,z=(t,e)=>parseFloat(t.split(", ")[e]),H=(t,e)=>(i,{transform:s})=>{if("none"===s||!s)return 0;let r=s.match(/^matrix3d\((.+)\)$/u);if(r)return z(r[1],e);{let e=s.match(/^matrix\((.+)\)$/u);return e?z(e[1],t):0}},Y=new Set(["x","y","z"]),X=W.transformPropOrder.filter(t=>!Y.has(t)),q={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:H(4,13),y:H(5,14)};q.translateX=q.x,q.translateY=q.y;var _=t.i(28327);let Z=new Set,J=!1,Q=!1;function tt(){if(Q){let t=Array.from(Z).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,s=(e=[],X.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e);s.length&&(i.set(t,s),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var s;null==(s=t.getValue(e))||s.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}Q=!1,J=!1,Z.forEach(t=>t.complete()),Z.clear()}function te(){Z.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Q=!0)})}function ti(){te(),tt()}class ts{constructor(t,e,i,s,r,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=r,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Z.add(this),J||(J=!0,_.frame.read(te),_.frame.resolveKeyframes(tt))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;for(let r=0;r<t.length;r++)if(null===t[r])if(0===r){let r=null==s?void 0:s.get(),n=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let s=i.readValue(e,n);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=n),s&&void 0===r&&s.set(t[0])}else t[r]=t[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Z.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Z.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}t.s(["KeyframeResolver",0,ts,"flushKeyframeResolvers",0,ti],648838),t.i(105369);var tr=t.i(965566);let tn=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["isNumericalString",0,tn],558213);let ta=t=>e=>"string"==typeof e&&e.startsWith(t),to=ta("--"),tl=ta("var(--"),tu=t=>!!tl(t)&&th.test(t.split("/*")[0].trim()),th=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["isCSSVariableName",0,to,"isCSSVariableToken",0,tu],970272);let tc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,td=t=>e=>e.test(t);t.s(["testValueType",0,td],323016);let tm=[r,y,g,v,T,x,{test:t=>"auto"===t,parse:t=>t}],tp=t=>tm.find(td(t));t.s(["dimensionValueTypes",0,tm,"findDimensionValueType",0,tp],70170),t.s(["DOMKeyframesResolver",0,class extends ts{constructor(t,e,i,s,r){super(t,e,i,s,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:s}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&tu(s=s.trim())){let r=function t(e,i,s=1){(0,tr.invariant)(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,n]=function(t){let e=tc.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${null!=i?i:s}`,r]}(e);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let t=a.trim();return tn(t)?parseFloat(t):t}return tu(n)?t(n,i,s+1):n}(s,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!i.positionalKeys.has(s)||2!==t.length)return;let[r,n]=t,a=tp(r),o=tp(n);if(a!==o)if(K(a)&&K(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:i}=this,s=[];for(let i=0;i<t.length;i++)(0,e.isNone)(t[i])&&s.push(i);
2s.length&&function(t,e,i){let s,r=0;for(;r<t.length&&!s;){let e=t[r];"string"==typeof e&&!G.has(e)&&C(e).values.length&&(s=t[r]),r++}if(s&&i)for(let r of e)t[r]=$(i,s)}(t,s,i)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=q[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:s}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let n=s.length-1,a=s[n];s[n]=q[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEach(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}],935902);var tf=t.i(167406),tv=t.i(121975);t.i(861200);var tg=t.i(997307);let ty=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(B.test(t)||"0"===t)&&!t.startsWith("url(")),tx=t=>null!==t;function tT(t,{repeat:e,repeatType:i="loop"},s){let r=t.filter(tx),n=e&&"loop"!==i&&e%2==1?0:r.length-1;return n&&void 0!==s?s:r[n]}t.s(["getFinalKeyframe",0,tT],697756),t.s(["BaseAnimation",0,class{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:n="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=tf.time.now(),this.options={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:r,repeatType:n,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||ti(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=tf.time.now(),this.hasAttemptedResolve=!0;let{name:i,type:s,velocity:r,delay:n,onComplete:a,onUpdate:o,isGenerator:l}=this.options;if(!l&&!function(t,e,i,s){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],a=ty(r,e),o=ty(n,e);return(0,tr.warning)(a===o,`You are trying to animate ${e} from "${r}" to "${n}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${n} via the \`style\` property.`),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tg.isGenerator)(i))&&s)}(t,i,s,r))if(tv.instantAnimationState.current||!n){o&&o(tT(t,this.options,e)),a&&a(),this.resolveFinishedPromise();return}else this.options.duration=0;let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}],417994)},870014,t=>{"use strict";t.s(["mixNumber",0,(t,e,i)=>t+(e-t)*i])},289728,500459,t=>{"use strict";var e=t.i(870014);t.i(105369);var i=t.i(965566);function s(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 r=t.i(781064),n=t.i(306996),a=t.i(824486);function o(t,e){return i=>i>0?e:t}let l=(t,e,i)=>{let s=t*t,r=i*(e*e-s)+s;return r<0?0:Math.sqrt(r)},u=[r.hex,n.rgba,a.hsla];function h(t){let e=u.find(e=>e.test(t));if((0,i.warning)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let r=e.parse(t);return e===a.hsla&&(r=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,a=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,l=2*i-r;n=s(l,r,t+1/3),a=s(l,r,t),o=s(l,r,t-1/3)}else n=a=o=i;return{red:Math.round(255*n),green:Math.round(255*a),blue:Math.round(255*o),alpha:r}}(r)),r}let c=(t,i)=>{let s=h(t),r=h(i);if(!s||!r)return o(t,i);let a={...s};return t=>(a.red=l(s.red,r.red,t),a.green=l(s.green,r.green,t),a.blue=l(s.blue,r.blue,t),a.alpha=(0,e.mixNumber)(s.alpha,r.alpha,t),n.rgba.transform(a))},d=(t,e)=>i=>e(t(i)),m=(...t)=>t.reduce(d);t.s(["pipe",0,m],500459);var p=t.i(430801),f=t.i(102254),v=t.i(970272);let g=new Set(["none","hidden"]);function y(t,i){return s=>(0,e.mixNumber)(t,i,s)}function x(t){return"number"==typeof t?y:"string"==typeof t?(0,v.isCSSVariableToken)(t)?o:p.color.test(t)?c:b:Array.isArray(t)?T:"object"==typeof t?p.color.test(t)?c:P:o}function T(t,e){let i=[...t],s=i.length,r=t.map((t,i)=>x(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=r[e](t);return i}}function P(t,e){let i={...t,...e},s={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(s[r]=x(t[r])(t[r],e[r]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let b=(t,e)=>{let s=f.complex.createTransformer(e),r=(0,f.analyseComplexValue)(t),n=(0,f.analyseComplexValue)(e);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return(0,i.warning)(!0,`Complex values '${t}' and '${e}
2' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),o(t,e);if(g.has(t)&&!n.values.length||g.has(e)&&!r.values.length)return g.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return m(T(function(t,e){var i;let s=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let a=e.types[n],o=t.indexes[a][r[a]],l=null!=(i=t.values[o])?i:0;s[n]=l,r[a]++}return s}(r,n),n.values),s)};t.s(["mix",0,function(t,i,s){return"number"==typeof t&&"number"==typeof i&&"number"==typeof s?(0,e.mixNumber)(t,i,s):x(t)(t,i)}],289728)},166481,64532,t=>{"use strict";t.i(861200);var e=t.i(655529),i=t.i(756512);t.i(105369);var s=t.i(148766),r=t.i(974780),n=t.i(368935);function a(t,e,i){let s=Math.max(e-5,0);return(0,n.velocityPerSecond)(i-t(s),e-s)}t.s(["calcGeneratorVelocity",0,a],64532);let o=.01,l=2,u=.005,h=.5;var c=t.i(965566);function d(t,e){return t*Math.sqrt(1-e*e)}let m=["duration","bounce"],p=["stiffness","damping","mass"];function f(t,e){return e.some(e=>void 0!==t[e])}t.s(["spring",0,function(t=.3,n=.3){let v,g="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:n}:t,{restSpeed:y,restDelta:x}=g,T=g.keyframes[0],P=g.keyframes[g.keyframes.length-1],b={done:!1,value:T},{stiffness:S,damping:V,mass:w,duration:A,velocity:M,isResolvedFromDuration:C}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!f(t,p)&&f(t,m))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,n=2*(0,r.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:1,stiffness:s,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let a,o;(0,c.warning)(t<=(0,s.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,r.clamp)(.05,1,l),t=(0,r.clamp)(.01,10,(0,s.millisecondsToSeconds)(t)),l<1?(a=e=>{let s=e*l,r=s*t;return .001-(s-i)/d(e,l)*Math.exp(-r)},o=e=>{let s=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,n=Math.exp(-s),o=d(Math.pow(e,2),l);return(s*i+i-r)*n*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(a,o,5/t);if(t=(0,s.secondsToMilliseconds)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*n;return{stiffness:e,damping:2*l*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...g,velocity:-(0,s.millisecondsToSeconds)(g.velocity||0)}),D=M||0,E=V/(2*Math.sqrt(S*w)),R=P-T,B=(0,s.millisecondsToSeconds)(Math.sqrt(S/w)),k=5>Math.abs(R);if(y||(y=k?o:l),x||(x=k?u:h),E<1){let t=d(B,E);v=e=>P-Math.exp(-E*B*e)*((D+E*B*R)/t*Math.sin(t*e)+R*Math.cos(t*e))}else if(1===E)v=t=>P-Math.exp(-B*t)*(R+(D+B*R)*t);else{let t=B*Math.sqrt(E*E-1);v=e=>{let i=Math.exp(-E*B*e),s=Math.min(t*e,300);return P-i*((D+E*B*R)*Math.sinh(s)+t*R*Math.cosh(s))/t}}let L={calculatedDuration:C&&A||null,next:t=>{let e=v(t);if(C)b.done=t>=A;else{let i=0;E<1&&(i=0===t?(0,s.secondsToMilliseconds)(D):a(v,t,e));let r=Math.abs(P-e)<=x;b.done=Math.abs(i)<=y&&r}return b.value=b.done?P:e,b},toString:()=>{let t=Math.min((0,e.calcGeneratorDuration)(L),e.maxGeneratorDuration),s=(0,i.generateLinearEasing)(e=>L.next(t*e).value,t,30);return t+"ms "+s}};return L}],166481)},962152,112903,t=>{"use strict";var e=t.i(166481),i=t.i(64532);t.s(["inertia",0,function({keyframes:t,velocity:s=0,power:r=.8,timeConstant:n=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:l,min:u,max:h,restDelta:c=.5,restSpeed:d}){let m,p,f=t[0],v={done:!1,value:f},g=r*s,y=f+g,x=void 0===l?y:l(y);x!==y&&(g=x-f);let T=t=>-g*Math.exp(-t/n),P=t=>x+T(t),b=t=>{let e=T(t),i=P(t);v.done=Math.abs(e)<=c,v.value=v.done?x:i},S=t=>{let s;if(s=v.value,void 0!==u&&s<u||void 0!==h&&s>h){var r;m=t,p=(0,e.spring)({keyframes:[v.value,(r=v.value,void 0===u?h:void 0===h||Math.abs(u-r)<Math.abs(h-r)?u:h)],velocity:(0,i.calcGeneratorVelocity)(P,t,v.value),damping:a,stiffness:o,restDelta:c,restSpeed:d})}};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==m||(e=!0,b(t),S(t)),void 0!==m&&t>=m)?p.next(t-m):(e||b(t),v)}}}],962152);var s=t.i(558639);let r=(0,s.cubicBezier)(.42,0,1,1),n=(0,s.cubicBezier)(0,0,.58,1),a=(0,s.cubicBezier)(.42,0,.58,1);t.s(["easeIn",0,r,"easeInOut",0,a,"easeOut",0,n],112903)},241790,t=>{"use strict";t.s(["isEasingArray",0,t=>Array.isArray(t)&&"number"!=typeof t[0]])},493383,625711,t=>{"use strict";t.i(861200);var e=t.i(931953);t.i(105369);var i=t.i(965566),s=t.i(260830),r=t.i(546905),n=t.i(424707),a=t.i(268638),o=t.i(558639),l=t.i(112903);let u={linear:s.noop,easeIn:l.easeIn,easeInOut:l.easeInOut,easeOut:l.easeOut,circIn:a.circIn,circInOut:a.circInOut,circOut:a.circOut,backIn:n.backIn,backInOut:n.backInOut,backOut:n.backOut,anticipate:r.anticipate};t.s(["easingDefinitionToFunction",0,t=>{if((0,e.isBezierDefinition)(t)){(0,i.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,s,r,n]=t;return(0,o.cubicBezier)(e,s,r,n)}return"string"==typeof t?((0,i.invariant)(void 0!==u[t],`Invalid easing type '${t}'`),u[t]):t}],493383);var h=t.i(783920),c=t.i(974780),d=t.i(289728),m=t.i(500459);t.s(["interpolate",0,function(t,e,{clamp:r=!0,ease:n,mixer:a}={}){let o=t.length;if((0,i.invariant)(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];let l=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());
2let u=function(t,e,i){let r=[],n=i||d.mix,a=t.length-1;for(let i=0;i<a;i++){let a=n(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||s.noop:e;a=(0,m.pipe)(t,a)}r.push(a)}return r}(e,n,a),p=u.length,f=i=>{if(l&&i<t[0])return e[0];let s=0;if(p>1)for(;s<t.length-2&&!(i<t[s+1]);s++);let r=(0,h.progress)(t[s],t[s+1],i);return u[s](r)};return r?e=>f((0,c.clamp)(t[0],t[o-1],e)):f}],625711)},630040,895119,t=>{"use strict";t.i(105369);var e=t.i(783920),i=t.i(870014);function s(t,s){let r=t[t.length-1];for(let n=1;n<=s;n++){let a=(0,e.progress)(0,s,n);t.push((0,i.mixNumber)(r,1,a))}}t.s(["fillOffset",0,s],895119),t.s(["defaultOffset",0,function(t){let e=[0];return s(e,t.length-1),e}],630040)},306327,982363,t=>{"use strict";t.i(861200);var e=t.i(987333),i=t.i(2300),s=t.i(197989),r=t.i(593521),n=t.i(767369),a=t.i(466576);t.i(105369);var o=t.i(148766),l=t.i(28327),u=t.i(345046),h=t.i(121975),c=t.i(153396),d=t.i(486681),m=t.i(997307),p=t.i(465815),f=t.i(260830),v=t.i(546905),g=t.i(424707),y=t.i(268638),x=t.i(935902),T=t.i(417994);t.i(247167);var P=t.i(655529),b=t.i(648838),S=t.i(974780),V=t.i(289728),w=t.i(500459),A=t.i(962152),M=t.i(112903),C=t.i(241790),D=t.i(493383),E=t.i(625711),R=t.i(630040);function B({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var r;let n=(0,C.isEasingArray)(s)?s.map(D.easingDefinitionToFunction):(0,D.easingDefinitionToFunction)(s),a={done:!1,value:e[0]},o=(r=i&&i.length===e.length?i:(0,R.defaultOffset)(e),r.map(e=>e*t)),l=(0,E.interpolate)(o,e,{ease:Array.isArray(n)?n:e.map(()=>n||M.easeInOut).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}var k=t.i(166481),L=T,F=t.i(167406);let j=t=>{let e=({timestamp:e})=>t(e);return{start:()=>l.frame.update(e,!0),stop:()=>(0,l.cancelFrame)(e),now:()=>l.frameData.isProcessing?l.frameData.timestamp:F.time.now()}};var O=t.i(697756);let I={decay:A.inertia,inertia:A.inertia,tween:B,keyframes:B,spring:k.spring},N=t=>t/100;class U extends L.BaseAnimation{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};const{name:e,motionValue:i,element:s,keyframes:r}=this.options,n=(null==s?void 0:s.KeyframeResolver)||b.KeyframeResolver,a=(t,e)=>this.onKeyframesResolved(t,e);this.resolver=new n(r,a,e,i,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:s="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:a,velocity:o=0}=this.options,l=(0,m.isGenerator)(s)?s:I[s]||B;l!==B&&"number"!=typeof t[0]&&(e=(0,w.pipe)(N,(0,V.mix)(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===a&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=(0,P.calcGeneratorDuration)(u));let{calculatedDuration:h}=u,c=h+n;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(r+1)-n}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:s,generator:r,mirroredGenerator:n,mapPercentToKeyframes:a,keyframes:o,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:m,repeatDelay:p,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-c*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=r;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===m?(i=1-i,p&&(i-=p/h)):"mirror"===m&&(x=n)),y=(0,S.clamp)(0,1,i)*h}let T=g?{done:!1,value:o[0]}:x.next(y);a&&(T.value=a(T.value));let{done:P}=T;g||null===l||(P=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return b&&void 0!==s&&(T.value=(0,O.getFinalKeyframe)(o,this.options,s)),f&&f(T.value),b&&this.finish(),T}get duration(){let{resolved:t}=this;return t?(0,o.millisecondsToSeconds)(t.calculatedDuration):0}
2get time(){return(0,o.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,o.secondsToMilliseconds)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,o.millisecondsToSeconds)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=j,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let s=this.driver.now();null!==this.holdTime?this.startTime=s-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=s):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let $=new Set(["opacity","clipPath","filter","transform"]),G=(0,t.i(260900).memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),W={anticipate:v.anticipate,backInOut:g.backInOut,circInOut:y.circInOut};class K extends T.BaseAnimation{constructor(t){super(t);const{name:e,motionValue:i,element:s,keyframes:r}=this.options;this.resolver=new x.DOMKeyframesResolver(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,s),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:s=300,times:r,ease:n,type:a,motionValue:o,name:l,startTime:u}=this.options;if(!o.owner||!o.owner.current)return!1;if("string"==typeof n&&(0,c.supportsLinearEasing)()&&n in W&&(n=W[n]),i=this.options,(0,m.isGenerator)(i.type)||"spring"===i.type||!(0,p.isWaapiSupportedEasing)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:o,element:l,...u}=this.options,h=function(t,e){let i=new U({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),s={done:!1,value:t[0]},r=[],n=0;for(;!s.done&&n<2e4;)r.push((s=i.sample(n)).value),n+=10;return{times:void 0,keyframes:r,duration:n-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),s=h.duration,r=h.times,n=h.ease,a="keyframes"}let h=function(t,e,i,{delay:s=0,duration:r=300,repeat:n=0,repeatType:a="loop",ease:o="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=(0,p.mapEasingToNativeEasing)(o,r);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:s,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:n+1,direction:"reverse"===a?"alternate":"normal"})}(o.owner.current,l,t,{...this.options,duration:s,times:r,ease:n});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?((0,d.attachTimeline)(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;o.set((0,O.getFinalKeyframe)(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:s,times:r,type:a,ease:n,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,o.millisecondsToSeconds)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,o.millisecondsToSeconds)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,o.secondsToMilliseconds)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return f.noop;let{animation:i}=e;(0,d.attachTimeline)(i,t)}else this.pendingTimeline=t;return f.noop}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;
2"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:s,type:r,ease:n,times:a}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:u,...h}=this.options,c=new U({...h,keyframes:i,duration:s,type:r,ease:n,times:a,isGenerator:!0}),d=(0,o.secondsToMilliseconds)(this.time);t.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:r,damping:n,type:a}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return G()&&i&&$.has(i)&&!o&&!l&&!s&&"mirror"!==r&&0!==n&&"inertia"!==a}}var z=t.i(681384);let H={type:"spring",stiffness:500,damping:25,restSpeed:10},Y={type:"keyframes",duration:.8},X={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},q=(t,i,s,r={}
2,n,c)=>d=>{let m=(0,e.getValueTransition)(r,t)||{},p=m.delay||r.delay||0,{elapsed:f=0}=r;f-=(0,o.secondsToMilliseconds)(p);let v={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...m,delay:-f,onUpdate:t=>{i.set(t),m.onUpdate&&m.onUpdate(t)},onComplete:()=>{d(),m.onComplete&&m.onComplete()},name:t,motionValue:i,element:c?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:r,repeat:n,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(m)&&(v={...v,...((t,{keyframes:e})=>e.length>2?Y:z.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:H:X)(t,v)}),v.duration&&(v.duration=(0,o.secondsToMilliseconds)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,o.secondsToMilliseconds)(v.repeatDelay)),void 0!==v.from&&(v.keyframes[0]=v.from);let g=!1;if(!1!==v.type&&(0!==v.duration||v.repeatDelay)||(v.duration=0,0===v.delay&&(g=!0)),(h.instantAnimationState.current||u.MotionGlobalConfig.skipAnimations)&&(g=!0,v.duration=0,v.delay=0),g&&!c&&void 0!==i.get()){let t=(0,O.getFinalKeyframe)(v.keyframes,m);if(void 0!==t)return l.frame.update(()=>{v.onUpdate(t),v.onComplete()}),new a.GroupPlaybackControls([])}return!c&&K.supports(v)?new K(v):new U(v)};t.s(["animateMotionValue",0,q],982363),t.s(["animateTarget",0,function(t,a,{delay:o=0,transitionOverride:u,type:h}={}){var c;let{transition:d=t.getDefaultTransition(),transitionEnd:m,...p}=a;u&&(d=u);let f=[],v=h&&t.animationState&&t.animationState.getState()[h];for(let s in p){let a=t.getValue(s,null!=(c=t.latestValues[s])?c:null),u=p[s];if(void 0===u||v&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(v,s))continue;let h={delay:o,...(0,e.getValueTransition)(d||{},s)},m=!1;if(window.MotionHandoffAnimation){let e=(0,n.getOptimisedAppearId)(t);if(e){let t=window.MotionHandoffAnimation(e,s,l.frame);null!==t&&(h.startTime=t,m=!0)}}(0,r.addValueToWillChange)(t,s),a.start(q(s,a,u,t.shouldReduceMotion&&i.positionalKeys.has(s)?{type:!1}:h,t,m));let g=a.animation;g&&f.push(g)}return m&&Promise.all(f).then(()=>{l.frame.update(()=>{m&&(0,s.setTarget)(t,m)})}),f}],306327)},223070,311129,439676,137541,341327,426368,665536,61175,293985,325522,461054,204785,t=>{"use strict";var e=t.i(44974),i=t.i(377894),s=t.i(116514),r=t.i(342531),n=t.i(870452),a=t.i(789607),o=t.i(306327);function l(t,e,i={}){var s;let r=(0,n.resolveVariant)(t,e,"exit"===i.type?null==(s=t.presenceContext)?void 0:s.custom:void 0),{transition:a=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(a=i.transitionOverride);let h=r?()=>Promise.all((0,o.animateTarget)(t,r,i)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:n,staggerDirection:o}=a;return function(t,e,i=0,s=0,r=1,n){let a=[],o=(t.variantChildren.size-1)*s,h=1===r?(t=0)=>t*s:(t=0)=>o-t*s;return Array.from(t.variantChildren).sort(u).forEach((t,s)=>{t.notify("AnimationStart",e),a.push(l(t,e,{...n,delay:i+h(s)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(a)}(t,e,r+s,n,o,i)}:()=>Promise.resolve(),{when:d}=a;if(!d)return Promise.all([h(),c(i.delay)]);{let[t,e]="beforeChildren"===d?[h,c]:[c,h];return t().then(()=>e())}}function u(t,e){return t.sortNodePosition(e)}let h=a.variantProps.length,c=[...a.variantPriorityOrder].reverse(),d=a.variantPriorityOrder.length;function m(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function p(){return{animate:m(!0),whileInView:m(),whileHover:m(),whileTap:m(),whileDrag:m(),whileFocus:m(),exit:m()}}class f{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",0,f],311129);let v=0;t.s(["animations",0,{animation:{Feature:class extends f{constructor(t){super(t),t.animationState||(t.animationState=function(t){let u=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>l(t,e,i)));else if("string"==typeof e)s=l(t,e,i);else{let r="function"==typeof e?(0,n.resolveVariant)(t,e,i.custom):e;s=Promise.all((0,o.animateTarget)(t,r,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),m=p(),f=!0,v=e=>(i,s)=>{var r;let a=(0,n.resolveVariant)(t,s,"exit"===e?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(a){let{transition:t,transitionEnd:e,...s}=a;i={...i,...s,...e}}return i};function g(n){let{props:o}=t,l=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<h;t++){let s=a.variantProps[t],n=e.props[s];((0,r.isVariantLabel)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},p=[],g=new Set,y={},x=1/0;for(let a=0;a<d;a++){var T,P;let u=c[a],h=m[u],d=void 0!==o[u]?o[u]:l[u],b=(0,r.isVariantLabel)(d),S=u===n?h.isActive:null;!1===S&&(x=a);let V=d===l[u]&&d!==o[u]&&b;if(V&&f&&t.manuallyAnimateOnMount&&(V=!1),h.protectedKeys={...y}
2,!h.isActive&&null===S||!d&&!h.prevProp||(0,e.isAnimationControls)(d)||"boolean"==typeof d)continue;let w=(T=h.prevProp,"string"==typeof(P=d)?P!==T:!!Array.isArray(P)&&!(0,s.shallowCompare)(P,T)),A=w||u===n&&h.isActive&&!V&&b||a>x&&b,M=!1,C=Array.isArray(d)?d:[d],D=C.reduce(v(u),{});!1===S&&(D={});let{prevResolvedValues:E={}}=h,R={...E,...D},B=e=>{A=!0,g.has(e)&&(M=!0,g.delete(e)),h.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in R){let e=D[t],r=E[t];if(!y.hasOwnProperty(t))((0,i.isKeyframesTarget)(e)&&(0,i.isKeyframesTarget)(r)?(0,s.shallowCompare)(e,r):e===r)?void 0!==e&&g.has(t)?B(t):h.protectedKeys[t]=!0:null!=e?B(t):g.add(t)}h.prevProp=d,h.prevResolvedValues=D,h.isActive&&(y={...y,...D}),f&&t.blockInitialAnimation&&(A=!1);let k=!(V&&w)||M;A&&k&&p.push(...C.map(t=>({animation:t,options:{type:u}})))}if(g.size){let e={};g.forEach(i=>{let s=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=s?s:null}),p.push({animation:e})}let b=!!p.length;return f&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(b=!1),f=!1,b?u(p):Promise.resolve()}return{animateChanges:g,setActive:function(e,i){var s;if(m[e].isActive===i)return Promise.resolve();null==(s=t.variantChildren)||s.forEach(t=>{var s;return null==(s=t.animationState)?void 0:s.setActive(e,i)}),m[e].isActive=i;let r=g(e);for(let t in m)m[t].protectedKeys={};return r},setAnimateFunction:function(e){u=e(t)},getState:()=>m,reset:()=>{m=p(),f=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,e.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)}}},exit:{Feature:class extends f{constructor(){super(...arguments),this.id=v++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}}],223070);let g={x:!1,y:!1};t.s(["isDragActive",0,function(){return g.x||g.y},"isDragging",0,g],439676),t.s(["setDragLock",0,function(t){if("x"===t||"y"===t)if(g[t])return null;else return g[t]=!0,()=>{g[t]=!1};return g.x||g.y?null:(g.x=g.y=!0,()=>{g.x=g.y=!1})}],137541),t.i(861200);let y=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;t.s(["isPrimaryPointer",0,y],341327),t.i(105369);var x=t.i(148766);function T(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}function P(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["addDomEvent",0,T],426368);let b=t=>e=>y(e)&&t(e,P(e));function S(t,e,i,s){return T(t,e,b(i),s)}t.s(["addPointerInfo",0,b,"extractEventInfo",0,P],665536),t.s(["addPointerEvent",0,S],61175);let V=(t,e)=>Math.abs(t-e);var w=t.i(500459),A=t.i(28327);function M(t,e){return e?{point:e(t.point)}:t}function C(t,e){return{x:t.x-e.x,y:t.y-e.y}}function D({point:t},e){return{point:t,delta:C(t,E(e)),offset:C(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=E(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>(0,x.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};let r=(0,x.millisecondsToSeconds)(s.timestamp-i.timestamp);if(0===r)return{x:0,y:0};let n={x:(s.x-i.x)/r,y:(s.y-i.y)/r};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(e)}}function E(t){return t[t.length-1]}t.s(["PanSession",0,class{constructor(t,e,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=D(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(V(t.x,e.x)**2+V(t.y,e.y)**2)>=3);if(!s&&!r)return;let{point:n}=i,{timestamp:a}=A.frameData;this.history.push({...n,timestamp:a});
2let{onStart:o,onMove:l}=this.handlers;s||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=M(e,this.transformPagePoint),A.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=D("pointercancel"===t.type?this.lastMoveEventInfo:M(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!y(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;const n=M(P(t),this.transformPagePoint),{point:a}=n,{timestamp:o}=A.frameData;this.history=[{...a,timestamp:o}];const{onSessionStart:l}=e;l&&l(t,D(n,this.history)),this.removeListeners=(0,w.pipe)(S(this.contextWindow,"pointermove",this.handlePointerMove),S(this.contextWindow,"pointerup",this.handlePointerUp),S(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,A.cancelFrame)(this.updatePoint)}}],293985),t.s(["isRefObject",0,function(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}],325522);var R=t.i(783920),B=t.i(870014);function k(t){return t.max-t.min}function L(t,e,i,s=.5){t.origin=s,t.originPoint=(0,B.mixNumber)(e.min,e.max,t.origin),t.scale=k(i)/k(e),t.translate=(0,B.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 F(t,e,i){t.min=i.min+e.min,t.max=t.min+k(e)}function j(t,e,i){t.min=e.min-i.min,t.max=t.min+k(e)}t.s(["calcBoxDelta",0,function(t,e,i,s){L(t.x,e.x,i.x,s?s.originX:void 0),L(t.y,e.y,i.y,s?s.originY:void 0)},"calcLength",0,k,"calcRelativeBox",0,function(t,e,i){F(t.x,e.x,i.x),F(t.y,e.y,i.y)},"calcRelativePosition",0,function(t,e,i){j(t.x,e.x,i.x),j(t.y,e.y,i.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],461054);var O=t.i(974780);function I(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 N(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function U(t,e,i){return{min:$(t,e),max:$(t,i)}}function $(t,e){return"number"==typeof t?t:t[e]||0}t.s(["applyConstraints",0,function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,B.mixNumber)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,B.mixNumber)(i,t,s.max):Math.min(t,i)),t},"calcOrigin",0,function(t,e){let i=.5,s=k(t),r=k(e);return r>s?i=(0,R.progress)(e.min,e.max-s,t.min):s>r&&(i=(0,R.progress)(t.min,t.max-r,e.min)),(0,O.clamp)(0,1,i)},"calcRelativeConstraints",0,function(t,{top:e,left:i,bottom:s,right:r}){return{x:I(t.x,i,r),y:I(t.y,e,s)}},"calcViewportConstraints",0,function(t,e){return{x:N(t.x,e.x),y:N(t.y,e.y)}},"defaultElastic",0,.35,"rebaseAxisConstraints",0,function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i},"resolveDragElastic",0,function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:U(t,"left","right"),y:U(t,"top","bottom")}}],204785)},181699,t=>{"use strict";let e=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({min:0,max:0});t.s(["createBox",0,()=>({x:i(),y:i()}),"createDelta",0,()=>({x:e(),y:e()})])},469519,t=>{"use strict";t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}])},245504,149587,672696,789234,t=>{"use strict";function e({top:t,left:i,right:s,bottom:r}){return{x:{min:i,max:s},y:{min:t,max:r}}}function i(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}t.s(["convertBoundingBoxToBox",0,e,"convertBoxToBoundingBox",0,function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}},"transformBoxPoints",0,i],149587);var s=t.i(870014);function r(t){return void 0===t||1===t}function n({scale:t,scaleX:e,scaleY:i}){return!r(t)||!r(e)||!r(i)}function a(t){return n(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function l(t,e,i){return i+e*(t-i)}function u(t,e,i,s,r){return void 0!==r&&(t=l(t,r,s)),l(t,i,s)+e}function h(t,e=0,i=1,s,r){t.min=u(t.min,e,i,s,r),t.max=u(t.max,e,i,s,r)}function c(t,{x:e,y:i}){h(t.x,e.translate,e.scale,e.originPoint),h(t.y,i.translate,i.scale,i.originPoint)}function d(t,e){t.min=t.min+e,t.max=t.max+e}function m(t,e,i,r,n=.5){let a=(0,s.mixNumber)(t.min,t.max,n);h(t,e,i,a,r)}function p(t,e){m(t.x,e.x,e.scaleX,e.scale,e.originX),m(t.y,e.y,e.scaleY,e.scale,e.originY)}function f(t,s){return e(i(t.getBoundingClientRect(),s))}t.s(["has2DTranslate",0,o,"hasScale",0,n,"hasTransform",0,a],672696),t.s(["applyBoxDelta",0,c,"applyTreeDeltas",0,function(t,e,
2i,s=!1){let r,n,o=i.length;if(o){e.x=e.y=1;for(let l=0;l<o;l++){n=(r=i[l]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&p(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),n&&(e.x*=n.x.scale,e.y*=n.y.scale,c(t,n)),s&&a(r.latestValues)&&p(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,l,"transformBox",0,p,"translateAxis",0,d],789234),t.s(["measurePageBox",0,function(t,e,i){let s=f(t,i),{scroll:r}=e;return r&&(d(s.x,r.offset.x),d(s.y,r.offset.y)),s},"measureViewportBox",0,f],245504)},733986,485651,821476,464978,231178,104035,30177,971771,249523,t=>{"use strict";var e=t.i(311129);t.i(105369);var i=t.i(260830),s=t.i(965566);t.i(861200);var r=t.i(137541),n=t.i(293985),a=t.i(325522),o=t.i(61175),l=t.i(204785),u=t.i(181699),h=t.i(469519),c=t.i(245504),d=t.i(665536),m=t.i(149587),p=t.i(426368),f=t.i(461054),v=t.i(870014),g=t.i(942308),y=t.i(982363);let x=({current:t})=>t?t.ownerDocument.defaultView:null;var T=t.i(593521),P=t.i(28327);let b=new WeakMap;class S{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,u.createBox)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let s=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,d.extractEventInfo)(t).point)},a=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,r.setDragLock)(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,h.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(g.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=(0,f.calcLength)(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&P.frame.postRender(()=>n(t,e)),(0,T.addValueToWillChange)(this.visualElement,"transform");let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},o=(t,e)=>{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:r,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),n&&n(t,e)},l=(t,e)=>this.stop(t,e),u=()=>(0,h.eachAxis)(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new n.PanSession(t,{onSessionStart:s,onStart:a,onMove:o,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:x(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:s}=e;this.startAnimation(s);let{onDragEnd:r}=this.getProps();r&&P.frame.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!V(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=(0,l.applyConstraints)(n,this.constraints[t],this.elastic[t])),r.set(n)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,r=this.constraints;e&&(0,a.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=(0,l.calcRelativeConstraints)(s.layoutBox,e):this.constraints=!1,this.elastic=(0,l.resolveDragElastic)(i),r!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&(0,h.eachAxis)(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(0,l.rebaseAxisConstraints)(s.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!(0,a.isRefObject)(t))return!1;let i=t.current;(0,s.invariant)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let n=(0,c.measurePageBox)(i,r.root,this.visualElement.getTransformPagePoint()),o=(0,l.calcViewportConstraints)(r.layout.layoutBox,n);if(e){let t=e((0,m.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,m.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:n,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all((0,h.eachAxis)(a=>{if(!V(a,e,this.currentDirection))return;let l=o&&o[a]||{};n&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[a]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,T.addValueToWillChange)(this.visualElement,t),i.start((0,y.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,h.eachAxis)(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){(0,h.eachAxis)(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){(0,h.eachAxis)(e=>{let{drag:i}=this.getProps();if(!V(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e];r.set(t[e]-(0,v.mixNumber)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,a.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};(0,h.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();s[t]=(0,l.calcOrigin)({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),(0,h.eachAxis)(e=>{if(!V(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:n}=this.constraints[e];i.set((0,v.mixNumber)(r,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;b.set(this.visualElement,this);let t=this.visualElement.current,e=(0,o.addPointerEvent)(t,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();(0,a.isRefObject)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,r=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),P.frame.read(i);let n=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,h.eachAxis)(e=>{let i=this.getAxisMotionValue(e);
2i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),e(),r(),l&&l()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:n=l.defaultElastic,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:n,dragMomentum:a}}}function V(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class w extends e.Feature{constructor(t){super(t),this.removeGroupControls=i.noop,this.removeListeners=i.noop,this.controls=new S(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||i.noop}unmount(){this.removeGroupControls(),this.removeListeners()}}t.s(["DragGesture",0,w],733986);var A=e;let M=t=>(e,i)=>{t&&P.frame.postRender(()=>t(e,i))};class C extends A.Feature{constructor(){super(...arguments),this.removePointerDownListener=i.noop}onPointerDown(t){this.session=new n.PanSession(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:x(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:M(t),onStart:M(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&P.frame.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=(0,o.addPointerEvent)(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",0,C],485651);var D=t.i(271645);let E=(0,D.createContext)(null);t.s(["PresenceContext",0,E],821476),t.s(["usePresence",0,function(t=!0){let e=(0,D.useContext)(E);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:r}=e,n=(0,D.useId)();(0,D.useEffect)(()=>{t&&r(n)},[t]);let a=(0,D.useCallback)(()=>t&&s&&s(n),[n,s,t]);return!i&&s?[!1,a]:[!0]}],464978);let R=(0,D.createContext)({});t.s(["LayoutGroupContext",0,R],231178);let B=(0,D.createContext)({});function k(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}t.s(["SwitchLayoutGroupContext",0,B],104035),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],30177);let L={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!g.px.test(t))return t;else t=parseFloat(t);let i=k(t,e.target.x),s=k(t,e.target.y);return`${i}% ${s}%`}};t.s(["correctBorderRadius",0,L],971771);var F=t.i(102254);t.s(["correctBoxShadow",0,{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=F.complex.parse(t);if(s.length>5)return t;let r=F.complex.createTransformer(t),n=+("number"!=typeof s[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;s[0+n]/=a,s[1+n]/=o;let l=(0,v.mixNumber)(a,o,.5);return"number"==typeof s[2+n]&&(s[2+n]/=l),"number"==typeof s[3+n]&&(s[3+n]/=l),r(s)}}],249523)},852383,t=>{"use strict";let e={};t.s(["addScaleCorrector",0,function(t){Object.assign(e,t)},"scaleCorrectors",0,e])},877397,530662,t=>{"use strict";var e=t.i(843476),i=t.i(271645),s=t.i(464978),r=t.i(231178),n=t.i(104035),a=t.i(30177),o=t.i(971771),l=t.i(249523),u=t.i(852383);let{schedule:h,cancel:c}=(0,t.i(4840).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",0,h],530662);var d=t.i(28327);class m extends i.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=t;(0,u.addScaleCorrector)(p),r&&(e.group&&e.group.add(r),i&&i.register&&s&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),a.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:r}=this.props,n=i.projection;return n&&(n.isPresent=r,s||t.layoutDependency!==e||void 0===e?n.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?n.promote():n.relegate()||d.frame.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),h.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}let p={borderRadius:{...o.correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:o.correctBorderRadius,borderTopRightRadius:o.correctBorderRadius,borderBottomLeftRadius:o.correctBorderRadius,borderBottomRightRadius:o.correctBorderRadius,boxSh
2adow:l.correctBoxShadow};t.s(["MeasureLayout",0,function(t){let[a,o]=(0,s.usePresence)(),l=(0,i.useContext)(r.LayoutGroupContext);return(0,e.jsx)(m,{...t,layoutGroup:l,switchLayoutGroup:(0,i.useContext)(n.SwitchLayoutGroupContext),isPresent:a,safeToRemove:o})}],877397)},969122,t=>{"use strict";var e=t.i(271329),i=t.i(298549),s=t.i(982363);t.s(["animateSingleValue",0,function(t,r,n){let a=(0,i.isMotionValue)(t)?t:(0,e.motionValue)(t);return a.start((0,s.animateMotionValue)("",a,r,n)),a.animation}])},92180,t=>{"use strict";t.s(["isSVGElement",0,function(t){return t instanceof SVGElement&&"svg"!==t.tagName}])},646816,528987,49048,t=>{"use strict";var e=t.i(733986),i=t.i(485651),s=t.i(877397);t.i(861200);var r=t.i(987333);t.i(105369);var n=t.i(260830),a=t.i(969122),o=t.i(767369),l=t.i(28327),u=t.i(530662),h=t.i(167406),c=t.i(92180),d=t.i(803668);let m=(t,e)=>t.depth-e.depth;class p{constructor(){this.children=[],this.isDirty=!1}add(t){(0,d.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,d.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(m),this.isDirty=!1,this.children.forEach(t)}}var f=t.i(974780);t.i(148766);var v=t.i(870014),g=t.i(274015),y=t.i(87519),x=t.i(298549);function T(t){let e=(0,x.isMotionValue)(t)?t.get():t;return(0,y.isCustomValue)(e)?e.toValue():e}t.s(["resolveMotionValue",0,T],528987);var P=t.i(783920),b=t.i(268638),S=t.i(942308);let V=["TopLeft","TopRight","BottomLeft","BottomRight"],w=V.length,A=t=>"string"==typeof t?parseFloat(t):t,M=t=>"number"==typeof t||S.px.test(t);function C(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let D=R(0,.5,b.circOut),E=R(.5,.95,n.noop);function R(t,e,i){return s=>s<t?0:s>e?1:i((0,P.progress)(t,e,s))}function B(t,e){t.min=e.min,t.max=e.max}function k(t,e){B(t.x,e.x),B(t.y,e.y)}function L(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var F=t.i(789234),j=t.i(461054);function O(t,e,i,s,r){return t-=e,t=(0,F.scalePoint)(t,1/i,s),void 0!==r&&(t=(0,F.scalePoint)(t,1/r,s)),t}function I(t,e,[i,s,r],n,a){!function(t,e=0,i=1,s=.5,r,n=t,a=t){if(S.percent.test(e)&&(e=parseFloat(e),e=(0,v.mixNumber)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,v.mixNumber)(n.min,n.max,s);t===n&&(o-=e),t.min=O(t.min,e,i,o,r),t.max=O(t.max,e,i,o,r)}(t,e[i],e[s],e[r],e.scale,n,a)}let N=["x","scaleX","originX"],U=["y","scaleY","originY"];function $(t,e,i,s){I(t.x,e,N,i?i.x:void 0,s?s.x:void 0),I(t.y,e,U,i?i.y:void 0,s?s.y:void 0)}var G=t.i(181699);function W(t){return 0===t.translate&&1===t.scale}function K(t){return W(t.x)&&W(t.y)}function z(t,e){return t.min===e.min&&t.max===e.max}function H(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Y(t,e){return H(t.x,e.x)&&H(t.y,e.y)}function X(t){return(0,j.calcLength)(t.x)/(0,j.calcLength)(t.y)}function q(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class _{constructor(){this.members=[]}add(t){(0,d.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,d.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var Z=t.i(852383),J=t.i(469519),Q=t.i(672696),tt=t.i(30177);let te={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ti="u">typeof window&&void 0!==window.MotionDebug,ts=["","X","Y","Z"],tr={visibility:"hidden"},tn=0;function ta(t,e,i,s){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function to({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:n}){return class{constructor(t={},i=null==e?void 0:e()){this.id=tn++,this.animationId=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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ti&&(te.totalNodes=te.resolvedTargetDeltas=te.recalculatedProjection=0),this.nodes.forEac
2h(th),this.nodes.forEach(tg),this.nodes.forEach(ty),this.nodes.forEach(tc),ti&&window.MotionDebug.record(te)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new p)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new g.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,c.isSVGElement)(e),this.instance=e;let{layoutId:s,layout:n,visualElement:a}=this.options;if(a&&!a.current&&a.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(n||s)&&(this.isLayoutDirty=!0),t){let i,s=()=>this.root.updateBlockedByResize=!1;t(e,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=h.time.now(),e=({timestamp:i})=>{let r=i-t;r>=250&&((0,l.cancelFrame)(e),s(r-250))},l.frame.read(e,!0),i=()=>(0,l.cancelFrame)(e),tt.globalProjectionState.hasAnimatedSinceResize&&(tt.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tv))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&a&&(s||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||a.getDefaultTransition()||tV,{onLayoutAnimationStart:o,onLayoutAnimationComplete:l}=a.getProps(),u=!this.targetLayout||!Y(this.targetLayout,s)||i,h=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||h||e&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,h);let e={...(0,r.getValueTransition)(n,"layout"),onPlay:o,onComplete:l};(a.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||tv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,l.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(tx),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,o.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",l.frame,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
2h(tm);return}this.isUpdating||this.nodes.forEach(tp),this.isUpdating=!1,this.nodes.forEach(tf),this.nodes.forEach(tl),this.nodes.forEach(tu),this.clearAllSnapshots();let t=h.time.now();l.frameData.delta=(0,f.clamp)(0,1e3/60,t-l.frameData.timestamp),l.frameData.timestamp=t,l.frameData.isProcessing=!0,l.frameSteps.update.process(l.frameData),l.frameSteps.preRender.process(l.frameData),l.frameSteps.render.process(l.frameData),l.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,u.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(td),this.sharedNodes.forEach(tT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,l.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){l.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}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.layoutCorrected=(0,G.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!K(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,r=s!==this.prevTransformTemplateValue;t&&(e||(0,Q.hasTransform)(this.latestValues)||r)&&(n(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),tM((e=s).x),tM(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,G.createBox)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tD))){let{scroll:t}=this.root;t&&((0,F.translateAxis)(i.x,t.offset.x),(0,F.translateAxis)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,G.createBox)();if(k(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let s=this.path[e],{scroll:r,options:n}=s;s!==this.root&&r&&n.layoutScroll&&(r.wasRoot&&k(i,t),(0,F.translateAxis)(i.x,r.offset.x),(0,F.translateAxis)(i.y,r.offset.y))}return i}applyTransform(t,e=!1){let i=(0,G.createBox)();k(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(0,F.transformBox)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,Q.hasTransform)(s.latestValues)&&(0,F.transformBox)(i,s.latestValues)}return(0,Q.hasTransform)(this.latestValues)&&(0,F.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,G.createBox)();k(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,Q.hasTransform)(i.latestValues))continue;(0,Q.hasScale)(i.latestValues)&&i.updateSnapshot();let s=(0,G.createBox)();k(s,i.measurePageBox()),$(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,Q.hasTransform)(this.latestValues)&&$(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==l.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;let i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==i;if(!(t||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=l.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,G.createBox)(),this.relativeTargetOrigin=(0,G.createBox)(),(0,j.calcRelativePosition)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),k(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,G.createBox)(),this.targetWithTransforms=(0,G.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,j.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):k(this.target,this.layout.layoutBox),(0,F.applyBoxDelta)(this.target,this.targetDelta)):k(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,G.createBox)(),this.relativeTargetOrigin=(0,G.createBox)(),(0,j.calcRelativePosition)(this.relativeTargetOrigin,this.target,t.target),k(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ti&&te.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,Q.hasScale)(this.parent.latestValues)||(0,Q.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)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,s=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(s=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(s=!1),this.resolvedRelativeTargetAt===l.frameData.timestamp&&(s=!1),s)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;k(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;(0,F.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,G.createBox)());let{target:u}=e;if(!u){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(L(this.prevProjectionDelta.x,this.projectionDelta.x),L(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,j.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===a&&this.treeScale.y===o&&q(this.projectionDelta.x,this.prevProjectionDelta.x)&&q(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),ti&&te.re
2calculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null==(e=this.options.visualElement)||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,G.createDelta)(),this.projectionDelta=(0,G.createDelta)(),this.projectionDeltaWithTransform=(0,G.createDelta)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},a=(0,G.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=(0,G.createBox)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(tS));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(tP(a.x,t.x,s),tP(a.y,t.y,s),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,m,p,f,g;(0,j.calcRelativePosition)(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=o,g=s,tb(m.x,p.x,f.x,g),tb(m.y,p.y,f.y,g),i&&(u=this.relativeTarget,d=i,z(u.x,d.x)&&z(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,G.createBox)()),k(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=(0,v.mixNumber)(0,void 0!==i.opacity?i.opacity:1,D(s)),t.opacityExit=(0,v.mixNumber)(void 0!==e.opacity?e.opacity:1,0,E(s))):n&&(t.opacity=(0,v.mixNumber)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let r=0;r<w;r++){let n=`border${V[r]}Radius`,a=C(e,n),o=C(i,n);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||M(a)===M(o)?(t[n]=Math.max((0,v.mixNumber)(A(a),A(o),s),0),(S.percent.test(o)||S.percent.test(a))&&(t[n]+="%")):t[n]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,v.mixNumber)(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,l.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=l.frame.update(()=>{tt.globalProjectionState.hasAnimatedSinceResize=!0,this.currentAnimation=(0,a.animateSingleValue)(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:r}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tC(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,G.createBox)();let e=(0,j.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,j.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}k(e,i),(0,F.transformBox)(e,r),(0,j.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new _),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({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}
2resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&ta("z",t,s,this.animationValues);for(let e=0;e<ts.length;e++)ta(`rotate${ts[e]}`,t,s,this.animationValues),ta(`skew${ts[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return tr;let s={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=T(null==t?void 0:t.pointerEvents)||"",s.transform=r?r(this.latestValues,""):"none",s;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=T(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,Q.hasTransform)(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let a=n.animationValues||n.latestValues;this.applyTransformsToTarget(),s.transform=function(t,e,i){let s="",r=t.x.translate/e.x,n=t.y.translate/e.y,a=(null==i?void 0:i.z)||0;if((r||n||a)&&(s=`translate3d(${r}px, ${n}px, ${a}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:n,skewX:a,skewY:o}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),r&&(s+=`rotateX(${r}deg) `),n&&(s+=`rotateY(${n}deg) `),a&&(s+=`skewX(${a}deg) `),o&&(s+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(s+=`scale(${o}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),r&&(s.transform=r(a,s.transform));let{x:o,y:l}=this.projectionDelta;for(let t in s.transformOrigin=`${100*o.origin}% ${100*l.origin}% 0`,n.animationValues?s.opacity=n===this?null!=(i=null!=(e=a.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:s.opacity=n===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,Z.scaleCorrectors){if
2(void 0===a[t])continue;let{correct:e,applyTo:i}=Z.scaleCorrectors[t],r="none"===s.transform?a[t]:e(a[t],n);if(i){let t=i.length;for(let e=0;e<t;e++)s[i[e]]=r}else s[t]=r}return this.options.layoutId&&(s.pointerEvents=n===this?T(null==t?void 0:t.pointerEvents)||"":"none"),s}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(tm),this.root.sharedNodes.clear()}}}function tl(t){t.updateLayout()}function tu(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:s}=t.layout,{animationType:r}=t.options,n=i.source!==t.layout.source;"size"===r?(0,J.eachAxis)(t=>{let s=n?i.measuredBox[t]:i.layoutBox[t],r=(0,j.calcLength)(s);s.min=e[t].min,s.max=s.min+r}):tC(r,i.layoutBox,e)&&(0,J.eachAxis)(s=>{let r=n?i.measuredBox[s]:i.layoutBox[s],a=(0,j.calcLength)(e[s]);r.max=r.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+a)});let a=(0,G.createDelta)();(0,j.calcBoxDelta)(a,e,i.layoutBox);let o=(0,G.createDelta)();n?(0,j.calcBoxDelta)(o,t.applyTransform(s,!0),i.measuredBox):(0,j.calcBoxDelta)(o,e,i.layoutBox);let l=!K(a),u=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:n}=s;if(r&&n){let a=(0,G.createBox)();(0,j.calcRelativePosition)(a,i.layoutBox,r.layoutBox);let o=(0,G.createBox)();(0,j.calcRelativePosition)(o,e,n.layoutBox),Y(a,o)||(u=!0),s.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function th(t){ti&&te.totalNodes++,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 tc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function td(t){t.clearSnapshot()}function tm(t){t.clearMeasurements()}function tp(t){t.isLayoutDirty=!1}function tf(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tv(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tg(t){t.resolveTargetDelta()}function ty(t){t.calcProjection()}function tx(t){t.resetSkewAndRotation()}function tT(t){t.removeLeadSnapshot()}function tP(t,e,i){t.translate=(0,v.mixNumber)(e.translate,0,i),t.scale=(0,v.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tb(t,e,i,s){t.min=(0,v.mixNumber)(e.min,i.min,s),t.max=(0,v.mixNumber)(e.max,i.max,s)}function tS(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tV={duration:.45,ease:[.4,0,.1,1]},tw=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tA=tw("applewebkit/")&&!tw("chrome/")?Math.round:n.noop;function tM(t){t.min=tA(t.min),t.max=tA(t.max)}function tC(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,j.isNear)(X(e),X(i),.2)}function tD(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tE=t.i(426368);let tR=to({attachResizeListener:(t,e)=>(0,tE.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tB={current:void 0},tk=to({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tB.current){let t=new tR({});t.mount(window),t.setOptions({layoutScroll:!0}),tB.current=t}return tB.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,tk],49048);let tL={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tk,MeasureLayout:s.MeasureLayout}};t.s(["drag",0,tL],646816)},749652,t=>{"use strict";
2t.s(["resolveElements",0,function(t,e,i){var s;if(t instanceof Element)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let n=null!=(s=null==i?void 0:i[t])?s:r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}])},708149,454292,648070,737806,688291,t=>{"use strict";var e=t.i(311129);t.i(861200);var i=t.i(439676),s=t.i(749652);function r(t,e){let i=(0,s.resolveElements)(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function n(t){return e=>{"touch"===e.pointerType||(0,i.isDragActive)()||t(e)}}var a=t.i(665536),o=t.i(28327);function l(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=s["onHover"+i];r&&o.frame.postRender(()=>r(e,(0,a.extractEventInfo)(e)))}class u extends e.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,a,o]=r(t,i),l=n(t=>{let{target:i}=t,s=e(t);if("function"!=typeof s||!i)return;let r=n(t=>{s(t),i.removeEventListener("pointerleave",r)});i.addEventListener("pointerleave",r,a)});return s.forEach(t=>{t.addEventListener("pointerenter",l,a)}),o}(t,t=>(l(this.node,t,"Start"),t=>l(this.node,t,"End"))))}unmount(){}}var h=t.i(426368),c=e,d=t.i(500459);class m extends c.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,d.pipe)((0,h.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,h.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var p=e;let f=(t,e)=>!!e&&(t===e||f(t,e.parentElement));var v=t.i(341327);let g=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),y=new WeakSet;function x(t){return e=>{"Enter"===e.key&&t(e)}}function T(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function P(t){return(0,v.isPrimaryPointer)(t)&&!(0,i.isDragActive)()}function b(t,e,i){let{props:s}=t;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=s["onTap"+("End"===i?"":i)];r&&o.frame.postRender(()=>r(e,(0,a.extractEventInfo)(e)))}class S extends p.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,a]=r(t,i),o=t=>{let s=t.currentTarget;if(!P(t)||y.has(s))return;y.add(s);let r=e(t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),P(t)&&y.has(s)&&(y.delete(s),"function"==typeof r&&r(t,{success:e}))},o=t=>{a(t,i.useGlobalTarget||f(s,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",l,n)};return s.forEach(t=>{g.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=x(()=>{if(y.has(i))return;T(i,"down");let t=x(()=>{T(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>T(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,n),n)}),a}(t,t=>(b(this.node,t,"Start"),(t,{success:e})=>b(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}var V=e;let w=new WeakMap,A=new WeakMap,M=t=>{let e=w.get(t.target);e&&e(t)},C=t=>{t.forEach(M)},D={some:0,all:1};class E extends V.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:n="some",once:a}=i,o={root:s?s.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:D[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),r=e?i:s;r&&r(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;A.has(i)||A.set(i,{});
2let s=A.get(i),r=JSON.stringify(e);return s[r]||(s[r]=new IntersectionObserver(C,{root:t,...e})),s[r]}(o),w.set(t,l),e.observe(t),()=>{w.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}t.s(["gestureAnimations",0,{inView:{Feature:E},tap:{Feature:S},focus:{Feature:m},hover:{Feature:u}}],708149);var R=t.i(49048),B=t.i(877397);let k={layout:{ProjectionNode:R.HTMLProjectionNode,MeasureLayout:B.MeasureLayout}};t.s(["layout",0,k],454292);var L=t.i(271645);let F=(0,L.createContext)({strict:!1});t.s(["LazyContext",0,F],648070);let j=(0,L.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,j],737806);let O=(0,L.createContext)({});t.s(["MotionContext",0,O],688291)},298922,t=>{"use strict";var e=t.i(44974),i=t.i(342531),s=t.i(789607);function r(t){return(0,e.isAnimationControls)(t.animate)||s.variantProps.some(e=>(0,i.isVariantLabel)(t[e]))}t.s(["isControllingVariants",0,r,"isVariantNode",0,function(t){return!!(r(t)||t.variants)}])},582474,t=>{"use strict";var e=t.i(271645),i=t.i(688291),s=t.i(342531),r=t.i(298922);function n(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:a,animate:o}=function(t,e){if((0,r.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,s.isVariantLabel)(e)?e:void 0,animate:(0,s.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(i.MotionContext));return(0,e.useMemo)(()=>({initial:a,animate:o}),[n(a),n(o)])}],582474)},292936,t=>{"use strict";let e="u">typeof window;t.s(["isBrowser",0,e])},476948,t=>{"use strict";let e={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"]},i={};for(let t in e)i[t]={isEnabled:i=>e[t].some(t=>!!i[t])};t.s(["featureDefinitions",0,i])},936091,674008,944966,947414,497044,t=>{"use strict";t.i(247167);var e=t.i(843476);t.i(105369);var i=t.i(271645),s=t.i(231178),r=t.i(648070),n=t.i(737806),a=t.i(688291),o=t.i(582474),l=t.i(292936),u=t.i(476948);let h=Symbol.for("motionComponentSymbol");var c=t.i(325522),d=t.i(821476);let m=l.isBrowser?i.useLayoutEffect:i.useEffect;t.s(["useIsomorphicLayoutEffect",0,m],674008);var p=t.i(979386),f=t.i(530662),v=t.i(104035);t.s(["createRendererMotionComponent",0,function({preloadedFeatures:t,createVisualElement:g,useRender:y,useVisualState:x,Component:T}){var P,b;function S(t,h){var P;let b,S={...(0,i.useContext)(n.MotionConfigContext),...t,layoutId:function({layoutId:t}){let e=(0,i.useContext)(s.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:V}=S,w=(0,o.useCreateMotionContext)(t),A=x(t,V);if(!V&&l.isBrowser){(0,i.useContext)(r.LazyContext).strict;let t=function(t){let{drag:e,layout:i}=u.featureDefinitions;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(S);b=t.MeasureLayout,w.visualElement=function(t,e,s,o,l){var u,h;let{visualElement:g}=(0,i.useContext)(a.MotionContext),y=(0,i.useContext)(r.LazyContext),x=(0,i.useContext)(d.PresenceContext),T=(0,i.useContext)(n.MotionConfigContext).reducedMotion,P=(0,i.useRef)(null);o=o||y.renderer,!P.current&&o&&(P.current=o(t,{visualState:e,parent:g,props:s,presenceContext:x,blockInitialAnimation:!!x&&!1===x.initial,reducedMotionConfig:T}));let b=P.current,S=(0,i.useContext)(v.SwitchLayoutGroupContext);b&&!b.projection&&l&&("html"===b.type||"svg"===b.type)&&function(t,e,i,s){let{layoutId:r,layout:n,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u}=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:r,layout:n,alwaysMeasureLayout:!!a||o&&(0,c.isRefObject)(o),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:u})}(P.current,s,l,S);let V=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{b&&V.current&&b.update(s,x)});let w=s[p.optimizedAppearDataAttribute],A=(0,i.useRef)(!!w&&!(null==(u=window.MotionHandoffIsComplete)?void 0:u.call(window,w))&&(null==(h=window.MotionHasOptimisedAnimation)?void 0:h.call(window,w)));return m(()=>{b&&(V.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),f.microtask.render(b.render),A.current&&b.animationState&&b.animationState.animateChanges())}),(0,i.useEffect)(()=>{b&&(!A.current&&b.animationState&&b.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{var t;null==(t=window.MotionHandoffMarkAsComplete)||t.call(window,w)}),A.current=!1))}),b}(T,A,S,g,t.ProjectionNode)}return(0,e.jsxs)(a.MotionContext.Provider,{value:w,children:[b&&w.visualElement?(0,e.jsx)(b,{visualElement:w.visualElement,...S}):null,y(T,t,(P=w.visualElement,(0,i.useCallback)(t=>{t&&A.onMount&&A.onMount(t),P&&(t?P.mount(t):P.unmount()),h&&("function"==typeof h?h(t):(0,c.isRefObject)(h)&&(h.current=t))},[P])),A,V,w.visualElement)]})}t&&function(t){for(let e in t)u.featureDefinitions[e]={...u.featureDefinitions[e],...t[e]}}(t),S.displayName=`motion.${"string"==typeof T?T:`create(${null!=(b=null!=(P=T.displayName)?P:T.name)?b:""})`}`;let V=(0,i.forwardRef)(S);return V[h]=T,V}],936091);let g=["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"];t.s(["isSVGComponent",0,function(t){if("string"!=typeof t||t.includes("-"));else if(g.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}],944966);var y=t.i(44974),x=t.i(298922),T=t.i(243190);function P(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}t.s(["useConstant",0,P],947414);var b=t.i(528987);t.s(["makeUseVisualState",0,t=>(e,s)=>{let r=(0,i.useContext)(a.MotionContext),n=(0,i.useContext)(d.PresenceContext),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i}
2,s,r,n){let a={latestValues:function(t,e,i,s){let r={},n=s(t,{});for(let t in n)r[t]=(0,b.resolveMotionValue)(n[t]);let{initial:a,animate:o}=t,l=(0,x.isControllingVariants)(t),u=(0,x.isVariantNode)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===a)?o:a;if(c&&"boolean"!=typeof c&&!(0,y.isAnimationControls)(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let s=(0,T.resolveVariantFromProps)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(s,r,n,t),renderState:e()};return i&&(a.onMount=t=>i({props:s,current:t,...a}),a.onUpdate=t=>i(t)),a})(t,e,r,n);return s?o():P(o)}],497044)},733203,358768,t=>{"use strict";var e=t.i(970272);let i=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var s=t.i(19548),r=t.i(681384);let n={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=r.transformPropOrder.length;function o(t,o,l){let{style:u,vars:h,transformOrigin:c}=t,d=!1,m=!1;for(let t in o){let n=o[t];if(r.transformProps.has(t)){d=!0;continue}if((0,e.isCSSVariableName)(t)){h[t]=n;continue}{let e=i(n,s.numberValueTypes[t]);t.startsWith("origin")?(m=!0,c[t]=e):u[t]=e}}if(!o.transform&&(d||l?u.transform=function(t,e,o){let l="",u=!0;for(let h=0;h<a;h++){let a=r.transformPropOrder[h],c=t[a];if(void 0===c)continue;let d=!0;if(!(d="number"==typeof c?c===+!!a.startsWith("scale"):0===parseFloat(c))||o){let t=i(c,s.numberValueTypes[a]);if(!d){u=!1;let e=n[a]||a;l+=`${e}(${t}) `}o&&(e[a]=t)}}return l=l.trim(),o?l=o(e,u?"":l):u&&(l="none"),l}(o,t.transform,l):u.transform&&(u.transform="none")),m){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;u.transformOrigin=`${t} ${e} ${i}`}}t.s(["buildHTMLStyles",0,o],358768);var l=t.i(942308);let u={offset:"stroke-dashoffset",array:"stroke-dasharray"},h={offset:"strokeDashoffset",array:"strokeDasharray"};function c(t,e,i){return"string"==typeof t?t:l.px.transform(e+i*t)}t.s(["buildSVGAttrs",0,function(t,{attrX:e,attrY:i,attrScale:s,originX:r,originY:n,pathLength:a,pathSpacing:d=1,pathOffset:m=0,...p},f,v){let g,y;if(o(t,p,v),f){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:x,style:T,dimensions:P}=t;x.transform&&(P&&(T.transform=x.transform),delete x.transform),P&&(void 0!==r||void 0!==n||T.transform)&&(g=c(void 0!==r?r:.5,P.x,P.width),y=c(void 0!==n?n:.5,P.y,P.height),T.transformOrigin=`${g} ${y}`),void 0!==e&&(x.x=e),void 0!==i&&(x.y=i),void 0!==s&&(x.scale=s),void 0!==a&&function(t,e,i=1,s=0,r=!0){t.pathLength=1;let n=r?u:h;t[n.offset]=l.px.transform(-s);let a=l.px.transform(e),o=l.px.transform(i);t[n.array]=`${a} ${o}`}(x,a,d,m,!1)}],733203)},911587,886549,t=>{"use strict";let e=()=>({style:{},transform:{},transformOrigin:{},vars:{}});t.s(["createHtmlRenderState",0,e],886549),t.s(["createSvgRenderState",0,()=>({...e(),attrs:{}})],911587)},450514,703267,t=>{"use strict";t.s(["isSVGTag",0,t=>"string"==typeof t&&"svg"===t.toLowerCase()],450514),t.s(["renderHTML",0,function(t,{style:e,vars:i},s,r){for(let n in Object.assign(t.style,e,r&&r.getProjectionStyles(s)),i)t.style.setProperty(n,i[n])}],703267)},689472,t=>{"use strict";let e=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"]);t.s(["camelCaseAttributes",0,e])},797823,t=>{"use strict";var e=t.i(964600),i=t.i(703267),s=t.i(689472);t.s(["renderSVG",0,function(t,r,n,a){for(let n in(0,i.renderHTML)(t,r,void 0,a),r.attrs)t.setAttribute(s.camelCaseAttributes.has(n)?n:(0,e.camelToDash)(n),r.attrs[n])}])},925954,319026,432313,t=>{"use strict";var e=t.i(298549),i=t.i(681384),s=t.i(852383);function r(t,{layout:e,layoutId:n}){return i.transformProps.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!s.scaleCorrectors[t]||"opacity"===t)}function n(t,i,s){var n;let{style:a}=t,o={};for(let l in a)((0,e.isMotionValue)(a[l])||i.style&&(0,e.isMotionValue)(i.style[l])||r(l,t)||(null==(n=null==s?void 0:s.getValue(l))?void 0:n.liveStyle)!==void 0)&&(o[l]=a[l]);return o}t.s(["isForcedMotionValue",0,r],319026),t.s(["scrapeMotionValuesFromProps",0,n],432313),t.s(["scrapeMotionValuesFromProps",0,function(t,s,r){let a=n(t,s,r);for(let r in t)((0,e.isMotionValue)(t[r])||(0,e.isMotionValue)(s[r]))&&(a[-1!==i.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return a}],925954)},750745,t=>{"use strict";var e,i=t.i(936091),s=t.i(944966),r=t.i(28327),n=t.i(497044),a=t.i(681384),o=t.i(
2733203),l=t.i(911587),u=t.i(450514),h=t.i(797823),c=t.i(925954);let d=["x","y","width","height","cx","cy","r"],m={useVisualState:(0,n.makeUseVisualState)({scrapeMotionValuesFromProps:c.scrapeMotionValuesFromProps,createRenderState:l.createSvgRenderState,onUpdate:({props:t,prevProps:e,current:i,renderState:s,latestValues:n})=>{if(!i)return;let l=!!t.drag;if(!l){for(let t in n)if(a.transformProps.has(t)){l=!0;break}}if(!l)return;let c=!e;if(e)for(let i=0;i<d.length;i++){let s=d[i];t[s]!==e[s]&&(c=!0)}c&&r.frame.read(()=>{try{s.dimensions="function"==typeof i.getBBox?i.getBBox():i.getBoundingClientRect()}catch(t){s.dimensions={x:0,y:0,width:0,height:0}}r.frame.render(()=>{(0,o.buildSVGAttrs)(s,n,(0,u.isSVGTag)(i.tagName),t.transformTemplate),(0,h.renderSVG)(i,s)})})}})};var p=t.i(432313),f=t.i(886549);let v={useVisualState:(0,n.makeUseVisualState)({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:f.createHtmlRenderState})};var g=t.i(271645),y=t.i(319026),x=t.i(298549),T=t.i(358768);function P(t,e,i){for(let s in e)(0,x.isMotionValue)(e[s])||(0,y.isForcedMotionValue)(s,i)||(t[s]=e[s])}let b=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function S(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||b.has(t)}let V=t=>!S(t);try{(e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default)&&(V=t=>t.startsWith("on")?!S(t):e(t))}catch(t){}t.s(["createMotionComponentFactory",0,function(t,e){return function(r,{forwardMotionProps:n}={forwardMotionProps:!1}){let a={...(0,s.isSVGComponent)(r)?m:v,preloadedFeatures:t,useRender:function(t=!1){return(e,i,r,{latestValues:n},a)=>{let h=((0,s.isSVGComponent)(e)?function(t,e,i,s){let r=(0,g.useMemo)(()=>{let i=(0,l.createSvgRenderState)();return(0,o.buildSVGAttrs)(i,e,(0,u.isSVGTag)(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};P(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,s,r={},n=(i=t.style||{},P(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,g.useMemo)(()=>{let i=(0,f.createHtmlRenderState)();return(0,T.buildHTMLStyles)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=n,r})(i,n,a,e),c=function(t,e,i){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(V(r)||!0===i&&S(r)||!e&&!S(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(i,"string"==typeof e,t),d=e!==g.Fragment?{...c,...h,ref:r}:{},{children:m}=i,p=(0,g.useMemo)(()=>(0,x.isMotionValue)(m)?m.get():m,[m]);return(0,g.createElement)(e,{...d,children:p})}}(n),createVisualElement:e,Component:r};return(0,i.createRendererMotionComponent)(a)}}],750745)},422875,796097,487320,t=>{"use strict";var e=t.i(292936);let i={current:null},s={current:!1};t.s(["hasReducedMotionListener",0,s,"prefersReducedMotion",0,i],796097),t.s(["initPrefersReducedMotion",0,function(){if(s.current=!0,e.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>i.current=t.matches;t.addListener(e),e()}else i.current=!1}],422875);var r=t.i(430801),n=t.i(102254),a=t.i(70170),o=t.i(323016);let l=[...a.dimensionValueTypes,r.color,n.complex];t.s(["findValueType",0,t=>l.find((0,o.testValueType)(t))],487320)},692968,t=>{"use strict";let e=new WeakMap;t.s(["visualElementStore",0,e])},200540,257036,t=>{"use strict";t.i(247167);var e=t.i(167406),i=t.i(476948),s=t.i(181699),r=t.i(558213),n=t.i(869175),a=t.i(422875),o=t.i(796097),l=t.i(274015),u=t.i(271329),h=t.i(102254),c=t.
2i(298549),d=t.i(573464),m=t.i(487320),p=t.i(681384),f=t.i(692968),v=t.i(298922),g=t.i(648838),y=t.i(243190),x=t.i(28327);let T=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class P{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:i,presenceContext:s,reducedMotionConfig:r,blockInitialAnimation:n,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=g.KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=e.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,x.frame.render(this.render,!1,!0))};const{latestValues:l,renderState:u,onUpdate:h}=a;this.onUpdate=h,this.latestValues=l,this.baseTarget={...l},this.initialValues=i.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=i,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=(0,v.isControllingVariants)(i),this.isVariantNode=(0,v.isVariantNode)(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...m}=this.scrapeMotionValuesFromProps(i,{},this);for(const t in m){const e=m[t];void 0!==l[t]&&(0,c.isMotionValue)(e)&&e.set(l[t],!1)}}mount(t){this.current=t,f.visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),o.hasReducedMotionListener.current||(0,a.initPrefersReducedMotion)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||o.prefersReducedMotion.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in f.visualElementStore.delete(this.current),this.projection&&this.projection.unmount(),(0,x.cancelFrame)(this.notifyUpdate),(0,x.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=p.transformProps.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&x.frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in i.featureDefinitions){let e=i.featureDefinitions[t];if(!e)continue;let{isEnabled:s,Feature:r}=e;if(!this.features[t]&&r&&s(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,s.createBox)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<T.length;e++){let i=T[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}
2this.prevMotionValues=function(t,e,i){for(let s in e){let r=e[s],n=i[s];if((0,c.isMotionValue)(r))t.addValue(s,r);else if((0,c.isMotionValue)(n))t.addValue(s,(0,u.motionValue)(r,{owner:t}));else if(n!==r)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(s);t.addValue(s,(0,u.motionValue)(void 0!==e?e:r,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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=(0,u.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let s=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];return null!=s&&("string"==typeof s&&((0,r.isNumericalString)(s)||(0,n.isZeroValueString)(s))?s=parseFloat(s):!(0,m.findValueType)(s)&&h.complex.test(e)&&(s=(0,d.getAnimatableNone)(t,e)),this.setBaseTarget(t,(0,c.isMotionValue)(s)?s.get():s)),(0,c.isMotionValue)(s)?s.get():s}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:s}=this.props;if("string"==typeof s||"object"==typeof s){let r=(0,y.resolveVariantFromProps)(this.props,s,null==(e=this.presenceContext)?void 0:e.custom);r&&(i=r[t])}if(s&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,c.isMotionValue)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new l.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}t.s(["VisualElement",0,P],257036);var b=t.i(935902);t.s(["DOMVisualElement",0,class extends P{constructor(){super(...arguments),this.KeyframeResolver=b.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,c.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}],200540)},457044,t=>{"use strict";var e=t.i(245504),i=t.i(200540),s=t.i(970272),r=t.i(726553),n=t.i(358768),a=t.i(681384),o=t.i(703267),l=t.i(432313);class u extends i.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=o.renderHTML}readValueFromInstance(t,e){if(a.transformProps.has(e)){let t=(0,r.getDefaultValueType)(e);return t&&t.default||0}{let i=window.getComputedStyle(t),r=((0,s.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:i}){return(0,e.measureViewportBox)(t,i)}build(t,e,i){(0,n.buildHTMLStyles)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,l.scrapeMotionValuesFromProps)(t,e,i)}}t.s(["HTMLVisualElement",0,u])},678310,t=>{"use strict";var e=t.i(181699),i=t.i(200540),s=t.i(964600),r=t.i(726553),n=t.i(681384),a=t.i(
2733203),o=t.i(689472),l=t.i(450514),u=t.i(797823),h=t.i(925954);class c extends i.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=e.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.transformProps.has(e)){let t=(0,r.getDefaultValueType)(e);return t&&t.default||0}return e=o.camelCaseAttributes.has(e)?e:(0,s.camelToDash)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,h.scrapeMotionValuesFromProps)(t,e,i)}build(t,e,i){(0,a.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,s){(0,u.renderSVG)(t,e,i,s)}mount(t){this.isSVGTag=(0,l.isSVGTag)(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",0,c])},846932,t=>{"use strict";var e=t.i(907051),i=t.i(223070),s=t.i(646816),r=t.i(708149),n=t.i(454292),a=t.i(750745),o=t.i(271645),l=t.i(457044),u=t.i(678310),h=t.i(944966);let c=(0,a.createMotionComponentFactory)({...i.animations,...r.gestureAnimations,...s.drag,...n.layout},(t,e)=>(0,h.isSVGComponent)(t)?new u.SVGVisualElement(e):new l.HTMLVisualElement(e,{allowProjection:t!==o.Fragment})),d=(0,e.createDOMMotionComponentProxy)(c);t.s(["motion",0,d],846932)}]); 3 4//# debugId=06348ed7-bb83-990a-5fac-9df5eec3313a
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.