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]="62e1d56d-34a8-831e-bfb1-bbc1a6149b25")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,114310,378780,524010,251175,299527,609985,318021,493196,t=>{"use strict";function e(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))})}function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}t.i(649125),t.s(["createDOMMotionComponentProxy",()=>e],114310),t.s(["isAnimationControls",()=>i],378780);let s=t=>Array.isArray(t);function r(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}function n(t){return"string"==typeof t||Array.isArray(t)}function o(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function a(t,e,i,s){if("function"==typeof e){let[r,n]=o(s);e=e(void 0!==i?i:t.custom,r,n)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,n]=o(s);e=e(void 0!==i?i:t.custom,r,n)}return e}function l(t,e,i){let s=t.getProps();return a(s,e,void 0!==i?i:s.custom,t)}t.s(["isKeyframesTarget",()=>s],524010),t.s(["shallowCompare",()=>r],251175),t.s(["isVariantLabel",()=>n],299527),t.s(["resolveVariantFromProps",()=>a],609985),t.s(["resolveVariant",()=>l],318021);let u=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],h=["initial",...u];t.s(["variantPriorityOrder",()=>u,"variantProps",()=>h],493196)},870557,415289,970742,918514,474757,443634,t=>{"use strict";t.i(649125);let e=t=>t;function i(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["noop",()=>e],415289),t.s(["invariant",()=>e,"warning",()=>e],970742),t.s(["memo",()=>i],918514);let s=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s};t.s(["progress",()=>s],474757);let r=t=>1e3*t,n=t=>t/1e3;t.s(["millisecondsToSeconds",()=>n,"secondsToMilliseconds",()=>r],443634),t.s([],870557)},653216,691775,846160,813915,630821,600738,621241,158088,431675,680125,793193,533609,760448,84655,366199,423124,487695,t=>{"use strict";let e;t.i(870557);var i,s=t.i(918514);let r=(0,s.memo)(()=>void 0!==window.ScrollTimeline);t.s(["supportsScrollTimeline",()=>r],691775);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")}}class o extends n{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function a(t,e){return t?t[e]||t.default||t:void 0}function l(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(["GroupPlaybackControls",()=>o],846160),t.s(["getValueTransition",()=>a],813915),t.s(["calcGeneratorDuration",()=>l,"maxGeneratorDuration",()=>2e4],630821);var u=t.i(443634);function h(t,e=100,i){let s=i({...t,keyframes:[0,e]}),r=Math.min(l(s),2e4);return{type:"keyframes",ease:t=>s.next(r*t).value/e,duration:(0,u.millisecondsToSeconds)(r)}}function c(t){return"function"==typeof t}function d(t,e){t.timeline=e,t.onfinish=null}t.s(["createGeneratorEasing",()=>h],600738),t.s(["isGenerator",()=>c],621241),t.i(415289),t.s(["attachTimeline",()=>d],158088);let p=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",()=>p],431675);let m,f=(i=()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},e=(0,s.memo)(i),()=>{var t;return null!=(t=m)?t:e()});t.s(["supportsLinearEasing",()=>f],680125);var v=t.i(474757);let g=(t,e,i=10)=>{let s="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)s+=t((0,v.progress)(0,r-1,e))+", ";return`linear(${s.substring(0,s.length-2)})`};function y(t){return!!("function"==typeof t&&f()||!t||"string"==typeof t&&(t in T||f())||p(t)||Array.isArray(t)&&t.every(y))}t.s(["generateLinearEasing",()=>g],793193);let x=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,T={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:x([0,.65,.55,1]),circOut:x([.55,0,1,.45]),backIn:x([.31,.01,.66,-.59]),backOut:x([.33,1.53,.69,.99])};t.s(["isWaapiSupportedEasing",()=>y,"mapEasingToNativeEasing",()=>function t(e,i){if(e)return"function"==typeof e&&f()?g(e,i):p(e)?x(e):Array.isArray(e)?e.map(e=>t(e,i)||T.easeOut):T[e]}],533609);let P={x:!1,y:!1};function b(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)}function w(t,e){let i=b(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function S(t){return e=>{"touch"===e.pointerType||P.x||P.y||t(e)}}function V(t,e,i={}){let[s,r,n]=w(t,i),o=S(t=>{let{target:i}=t,s=e(t);if("function"!=typeof s||!i)return;let n=S(t=>{s(t),i.removeEventListener("pointerleave",n)});i.addEventListener("pointerleave",n,r)});return s.forEach(t=>{t.addEventListener("pointerenter",o,r)}),n}t.s(["resolveElements",()=>b],760448),t.s(["hover",()=>V],84655);let A=(t,e)=>!!e&&(t===e||A(t,e.parentElement)),M=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;t.s(["isPrimaryPointer",()=>M],366199);let C=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),D=new WeakSet;function E(t){return e=>{"Enter"===e.key&&t(e)}}function R(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function k(t){return M(t)&&!(P.x||P.y)}function B(t,e,i={}){let[s,r,n]=w(t,i),o=t=>{let s=t.currentTarget;if(!k(t)||D.has(s))return;D.add(s);let n=e(t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),k(t)&&D.has(s)&&(D.delete(s),"function"==typeof n&&n(t,{success:e}))},a=t=>{o(t,i.useGlobalTarget||A(s,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return s.forEach(t=>{C.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=E(()=>{if(D.has(i))return;R(i,"down");let t=E(()=>{R(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>R(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,r),r)}),n}function L(t){if("x"===t||"y"===t)if(P[t])return null;else return P[t]=!0,()=>{P[t]=!1};return P.x||P.y?null:(P.x=P.y=!0,()=>{P.x=P.y=!1})}t.s(["press",()=>B],423124),t.s(["setDragLock",()=>L],487695),t.s([],653216)},441902,725075,858300,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",()=>e,"transformProps",()=>i],725075);let s=new Set(["width","height","top","left","right","bottom",...e]);t.s(["positionalKeys",()=>s],441902);var r=t.i(524010);let n=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),o=t=>(0,r.isKeyframesTarget)(t)?t[t.length-1]||0:t;t.s(["isCustomValue",()=>n,"resolveFinalValueInKeyframes",()=>o],858300)},603651,t=>{"use strict";let e={skipAnimations:!1,useManualTiming:!1};t.s(["MotionGlobalConfig",()=>e])},63586,319411,346971,128632,418783,406129,930789,t=>{"use strict";let e;t.i(649125);var i=t.i(603651);t.i(870557);var s=t.i(415289);let r=["read","resolveKeyframes","update","preRender","render","postRender"];function n(t,e){let s=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>s=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,s=!1,r=!1,n=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){n.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&s?e:i;return r&&n.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),n.delete(t)},process:t=>{if(o=t,s){r=!0;return}s=!0,[e,i]=[i,e],e.forEach(a),e.clear(),s=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{read:u,resolveKeyframes:h,update:c,preRender:d,render:p,postRender:m}=l,f=()=>{let r=i.MotionGlobalConfig.useManualTiming?o.timestamp:performance.now();s=!1,o.delta=n?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,u.process(o),h.process(o),c.process(o),d.process(o),p.process(o),m.process(o),o.isProcessing=!1,s&&e&&(n=!1,t(f))};return{schedule:r.reduce((e,i)=>{let r=l[i];return e[i]=(e,i=!1,a=!1)=>(!s&&(s=!0,n=!0,o.isProcessing||t(f)),r.schedule(e,i,a)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:o,steps:l}}t.s(["createRenderBatcher",()=>n],319411);let{schedule:o,cancel:a,state:l,steps:u}=n("u">typeof requestAnimationFrame?requestAnimationFrame:s.noop,!0);function h(){e=void 0}t.s(["cancelFrame",()=>
2a,"frame",()=>o,"frameData",()=>l,"frameSteps",()=>u],346971);let c={now:()=>(void 0===e&&c.set(l.isProcessing||i.MotionGlobalConfig.useManualTiming?l.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(h)}};function d(t,e){-1===t.indexOf(e)&&t.push(e)}function p(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["time",()=>c],128632),t.s(["addUniqueItem",()=>d,"removeItem",()=>p],418783);class m{constructor(){this.subscriptions=[]}add(t){return d(this.subscriptions,t),()=>p(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}}function f(t,e){return e?1e3/e*t:0}t.s(["SubscriptionManager",()=>m],406129),t.s(["velocityPerSecond",()=>f],930789);let v={current:void 0};class g{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=c.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=c.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 m);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,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 v.current&&v.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=c.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return f(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function y(t,e){return new g(t,e)}t.s(["collectMotionValues",()=>v,"motionValue",()=>y],63586)},176776,224167,436088,851092,286036,288951,66418,672457,608091,595021,259840,716133,11315,t=>{"use strict";var e=t.i(858300),i=t.i(63586),s=t.i(318021);function r(t,r){let{transitionEnd:n={},transition:o={},...a}=(0,s.resolveVariant)(t,r)||{};for(let s in a={...a,...n}){let r=(0,e.resolveFinalValueInKeyframes)(a[s]);t.hasValue(s)?t.getValue(s).set(r):t.addValue(s,(0,i.motionValue)(r))}}t.s(["setTarget",()=>r],176776);let n=t=>!!(t&&t.getVelocity);function o(t,e){let i=t.getValue("willChange");if(n(i)&&i.add)return i.add(e)}t.s(["isMotionValue",()=>n],224167),t.s(["addValueToWillChange",()=>o],436088);let a=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();t.s(["camelToDash",()=>a],851092);let l="data-"+a("framerAppearId");function u(t){return t.props[l]}t.s(["optimizedAppearDataAttribute",()=>l],286036),t.s(["getOptimisedAppearId",()=>u],288951);let h={current:!1};t.s(["instantAnimationState",()=>h],66418),t.i(870557);var c=t.i(415289);let d=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;
2function p(t,e,i,s){return t===e&&i===s?c.noop:r=>0===r||1===r?r:d(function(t,e,i,s,r){let n,o,a=0;do(n=d(o=e+(i-e)/2,s,r)-t)>0?i=o:e=o;while(Math.abs(n)>1e-7&&++a<12)return o}(r,0,1,t,i),e,s)}t.s(["cubicBezier",()=>p],672457);let m=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,f=t=>e=>1-t(1-e),v=p(.33,1.53,.69,.99),g=f(v),y=m(g);t.s(["backIn",()=>g,"backInOut",()=>y,"backOut",()=>v],608091);let x=t=>(t*=2)<1?.5*g(t):.5*(2-Math.pow(2,-10*(t-1)));t.s(["anticipate",()=>x],595021);let T=t=>1-Math.sin(Math.acos(t)),P=f(T),b=m(T);t.s(["circIn",()=>T,"circInOut",()=>b,"circOut",()=>P],259840);let w=t=>/^0[^.\s]+$/u.test(t);function S(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||w(t)}t.s(["isZeroValueString",()=>w],716133),t.s(["isNone",()=>S],11315)},977490,t=>{"use strict";let e=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",()=>e])},629382,436241,101469,945959,526614,636491,573146,t=>{"use strict";var e=t.i(977490);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...i,transform:t=>(0,e.clamp)(0,1,t)},r={...i,default:1};t.s(["alpha",()=>s,"number",()=>i,"scale",()=>r],436241);let n=t=>Math.round(1e5*t)/1e5;t.s(["sanitize",()=>n],101469);let o=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;t.s(["floatRegex",()=>o],945959);let a=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,l=(t,e)=>i=>!!("string"==typeof i&&a.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),u=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[r,n,a,l]=s.match(o);return{[t]:parseFloat(r),[e]:parseFloat(n),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}},h={...i,transform:t=>Math.round((0,e.clamp)(0,255,t))},c={test:l("rgb","red"),parse:u("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+h.transform(t)+", "+h.transform(e)+", "+h.transform(i)+", "+n(s.transform(r))+")"};t.s(["rgba",()=>c],526614);let d={test:l("#"),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:c.transform};t.s(["hex",()=>d],629382);let p=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),m=p("deg"),f=p("%"),v=p("px"),g=p("vh"),y=p("vw"),x={...f,parse:t=>f.parse(t)/100,transform:t=>f.transform(100*t)};t.s(["degrees",()=>m,"percent",()=>f,"progressPercentage",()=>x,"px",()=>v,"vh",()=>g,"vw",()=>y],636491);let T={test:l("hsl","hue"),parse:u("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+f.transform(n(e))+", "+f.transform(n(i))+", "+n(s.transform(r))+")"};t.s(["hsla",()=>T],573146)},620172,104719,t=>{"use strict";var e=t.i(629382),i=t.i(573146),s=t.i(526614);let r={test:t=>s.rgba.test(t)||e.hex.test(t)||i.hsla.test(t),parse:t=>s.rgba.test(t)?s.rgba.parse(t):i.hsla.test(t)?i.hsla.parse(t):e.hex.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.rgba.transform(t):i.hsla.transform(t)};t.s(["color",()=>r],104719);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=t.i(945959),a=t.i(101469);let l="number",u="color",h=/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:[]},n=[],o=0,a=e.replace(h,t=>(r.test(t)?(s.color.push(o),n.push(u),i.push(r.parse(t))):t.startsWith("var(")?(s.var.push(o),n.push("var"),i.push(t)):(s.number.push(o),n.push(l),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:a,indexes:s,types:n}}function d(t){return c(t).values}function p(t){let{split:e,types:i}=c(t),s=e.length;return t=>{let n="";for(let o=0;o<s;o++)if(n+=e[o],void 0!==t[o]){let e=i[o];e===l?n+=(0,a.sanitize)(t[o]):e===u?n+=r.transform(t[o]):n+=t[o]}return n}}let m=t=>
2"number"==typeof t?0:t,f={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(o.floatRegex))?void 0:e.length)||0)+((null==(i=t.match(n))?void 0:i.length)||0)>0},parse:d,createTransformer:p,getAnimatableNone:function(t){let e=d(t);return p(t)(e.map(m))}};t.s(["analyseComplexValue",()=>c,"complex",()=>f],620172)},159867,874240,463719,767328,26912,324867,969457,t=>{"use strict";var e=t.i(620172),i=t.i(945959);let s=new Set(["brightness","contrast","saturate","opacity"]);function r(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=r.match(i.floatRegex)||[];if(!n)return t;let o=r.replace(n,""),a=+!!s.has(e);return n!==r&&(a*=100),e+"("+a+o+")"}let n=/\b([a-z-]*)\(.*?\)/gu,o={...e.complex,getAnimatableNone:t=>{let e=t.match(n);return e?e.map(r).join(" "):t}};var a=t.i(104719),l=t.i(436241),u=t.i(636491);let h={borderWidth:u.px,borderTopWidth:u.px,borderRightWidth:u.px,borderBottomWidth:u.px,borderLeftWidth:u.px,borderRadius:u.px,radius:u.px,borderTopLeftRadius:u.px,borderTopRightRadius:u.px,borderBottomRightRadius:u.px,borderBottomLeftRadius:u.px,width:u.px,maxWidth:u.px,height:u.px,maxHeight:u.px,top:u.px,right:u.px,bottom:u.px,left:u.px,padding:u.px,paddingTop:u.px,paddingRight:u.px,paddingBottom:u.px,paddingLeft:u.px,margin:u.px,marginTop:u.px,marginRight:u.px,marginBottom:u.px,marginLeft:u.px,backgroundPositionX:u.px,backgroundPositionY:u.px},c={rotate:u.degrees,rotateX:u.degrees,rotateY:u.degrees,rotateZ:u.degrees,scale:l.scale,scaleX:l.scale,scaleY:l.scale,scaleZ:l.scale,skew:u.degrees,skewX:u.degrees,skewY:u.degrees,distance:u.px,translateX:u.px,translateY:u.px,translateZ:u.px,x:u.px,y:u.px,z:u.px,perspective:u.px,transformPerspective:u.px,opacity:l.alpha,originX:u.progressPercentage,originY:u.progressPercentage,originZ:u.px},d={...l.number,transform:Math.round},p={...h,...c,zIndex:d,size:u.px,fillOpacity:l.alpha,strokeOpacity:l.alpha,numOctaves:d};t.s(["numberValueTypes",()=>p],874240);let m={...p,color:a.color,backgroundColor:a.color,outlineColor:a.color,fill:a.color,stroke:a.color,borderColor:a.color,borderTopColor:a.color,borderRightColor:a.color,borderBottomColor:a.color,borderLeftColor:a.color,filter:o,WebkitFilter:o},f=t=>m[t];function v(t,i){let s=f(t);return s!==o&&(s=e.complex),s.getAnimatableNone?s.getAnimatableNone(i):void 0}t.s(["getDefaultValueType",()=>f],463719),t.s(["getAnimatableNone",()=>v],767328);let g=new Set(["auto","none","0"]);function y(t,i,s){let r,n=0;for(;n<t.length&&!r;){let i=t[n];"string"==typeof i&&!g.has(i)&&(0,e.analyseComplexValue)(i).values.length&&(r=t[n]),n++}if(r&&s)for(let e of i)t[e]=v(s,r)}t.s(["makeNoneKeyframesAnimatable",()=>y],159867);var x=t.i(725075);let T=t=>t===l.number||t===u.px,P=(t,e)=>parseFloat(t.split(", ")[e]),b=(t,e)=>(i,{transform:s})=>{if("none"===s||!s)return 0;let r=s.match(/^matrix3d\((.+)\)$/u);if(r)return P(r[1],e);{let e=s.match(/^matrix\((.+)\)$/u);return e?P(e[1],t):0}},w=new Set(["x","y","z"]),S=x.transformPropOrder.filter(t=>!w.has(t));function V(t){let e=[];return S.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e}let A={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:b(4,13),y:b(5,14)};A.translateX=A.x,A.translateY=A.y,t.s(["isNumOrPxType",()=>T,"positionalValues",()=>A,"removeNonTranslationalTransform",()=>V],26912);var M=t.i(346971);let C=new Set,D=!1,E=!1;function R(){if(E){let t=Array.from(C).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=V(t);e.length&&(i.set(t,e),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)})}
2E=!1,D=!1,C.forEach(t=>t.complete()),C.clear()}function k(){C.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(E=!0)})}function B(){k(),R()}class L{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?(C.add(this),D||(D=!0,M.frame.read(k),M.frame.resolveKeyframes(R))):(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),C.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,C.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}t.s(["KeyframeResolver",()=>L,"flushKeyframeResolvers",()=>B],324867);let F=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["isNumericalString",()=>F],969457)},556374,t=>{"use strict";let e=t=>e=>"string"==typeof e&&e.startsWith(t),i=e("--"),s=e("var(--"),r=t=>!!s(t)&&n.test(t.split("/*")[0].trim()),n=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["isCSSVariableName",()=>i,"isCSSVariableToken",()=>r])},113746,934764,659619,620517,27418,t=>{"use strict";var e=t.i(11315),i=t.i(441902),s=t.i(159867),r=t.i(324867);t.i(870557);var n=t.i(970742),o=t.i(969457),a=t.i(556374);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var u=t.i(26912),h=t.i(436241),c=t.i(636491);let d=t=>e=>e.test(t);t.s(["testValueType",()=>d],934764);let p=[h.number,c.px,c.percent,c.degrees,c.vw,c.vh,{test:t=>"auto"===t,parse:t=>t}],m=t=>p.find(d(t));t.s(["dimensionValueTypes",()=>p,"findDimensionValueType",()=>m],659619);class f extends r.KeyframeResolver{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&&(s=s.trim(),(0,a.isCSSVariableToken)(s))){let r=function t(e,i,s=1){(0,n.invariant)(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,u]=function(t){let e=l.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${null!=i?i:s}`,r]}(e);if(!r)return;let h=window.getComputedStyle(i).getPropertyValue(r);if(h){let t=h.trim();return(0,o.isNumericalString)(t)?parseFloat(t):t}return(0,a.isCSSVariableToken)(u)?t(u,i,s+1):u}(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,h]=t,c=m(r),d=m(h);if(c!==d)if((0,u.isNumOrPxType)(c)&&(0,u.isNumOrPxType)(d))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,r=[];for(let i=0;i<t.length;i++)(0,e.isNone)(t[i])&&r.push(i);r.length&&(0,s.makeNoneKeyframesAnimatable)(t,r,i)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=u.positionalValues[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){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,o=s[n];s[n]=u.positionalValues[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
2h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",()=>f],113746);var v=t.i(128632),g=t.i(66418);t.i(653216);var y=t.i(621241),x=t.i(620172);let T=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(x.complex.test(t)||"0"===t)&&!t.startsWith("url(")),P=t=>null!==t;function b(t,{repeat:e,repeatType:i="loop"},s){let r=t.filter(P),n=e&&"loop"!==i&&e%2==1?0:r.length-1;return n&&void 0!==s?s:r[n]}t.s(["getFinalKeyframe",()=>b],620517);class w{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:n="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=v.time.now(),this.options={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:r,repeatType:n,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,r.flushKeyframeResolvers)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=v.time.now(),this.hasAttemptedResolve=!0;let{name:i,type:s,velocity:r,delay:o,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!function(t,e,i,s){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],a=T(r,e),l=T(o,e);return(0,n.warning)(a===l,`You are trying to animate ${e} from "${r}" to "${o}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!l&&(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,y.isGenerator)(i))&&s)}(t,i,s,r))if(g.instantAnimationState.current||!o){l&&l(b(t,this.options,e)),a&&a(),this.resolveFinishedPromise();return}else this.options.duration=0;let h=this.initPlayback(t,e);!1!==h&&(this._resolved={keyframes:t,finalKeyframe:e,...h},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})}}t.s(["BaseAnimation",()=>w],27418)},412103,680300,t=>{"use strict";let e=(t,e,i)=>t+(e-t)*i;function i(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}function s({hue:t,saturation:e,lightness:s,alpha:r}){t/=360,s/=100;let n=0,o=0,a=0;if(e/=100){let r=s<.5?s*(1+e):s+e-s*e,l=2*s-r;n=i(l,r,t+1/3),o=i(l,r,t),a=i(l,r,t-1/3)}else n=o=a=s;return{red:Math.round(255*n),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}t.s(["mixNumber",()=>e],412103),t.s(["hslaToRgba",()=>s],680300)},602567,559027,580706,t=>{"use strict";var e=t.i(412103);t.i(870557);var i=t.i(970742),s=t.i(680300),r=t.i(629382),n=t.i(526614),o=t.i(573146);function a(t,e){return i=>i>0?e:t}t.s(["mixImmediate",()=>a],559027);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,o.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===o.hsla&&(r=(0,s.hslaToRgba)(r)),r}let c=(t,i)=>{let s=h(t),r=h(i);if(!s||!r)return a(t,i);let o={...s};return t=>(o.red=l(s.red,r.red,t),o.green=l(s.green,r.green,t),o.blue=l(s.blue,r.blue,t),o.alpha=(0,e.mixNumber)(s.alpha,r.alpha,t),n.rgba.transform(o))};t.s(["mixColor",()=>c],602567);let d=(t,e)=>i=>e(t(i)),p=(...t)=>t.reduce(d);t.s(["pipe",()=>p],580706)},148082,t=>{"use strict";var e=t.i(412103),i=t.i(602567),s=t.i(580706);t.i(870557);var r=t.i(970742),n=t.i(104719),o=t.i(620172),a=t.i(556374);let l=new Set(["none","hidden"]);var u=t.i(559027);function h(t,i){return s=>(0,e.mixNumber)(t,i,s)}function c(t){return"number"==typeof t?h:"string"==typeof t?(0,a.isCSSVariableToken)(t)?u.mixImmediate:n.color.test(t)?i.mixColor:m:Array.isArray(t)?d:"object"==typeof t?n.color.test(t)?i.mixColor:p:u.mixImmediate}function d(t,e){let i=[...t],s=i.length,r=t.map((t,i)=>c(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]=c(t[r])(t[r],e[r]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let m=(t,e)=>{let i=o.complex.createTransformer(e),n=(0,o.analyseComplexValue)(t),a=(0,o.analyseComplexValue)(e);if(!(n.indexes.var.length===a.indexes.var.length&&n.indexes.color.length===a.indexes.color.length&&n.indexes.number.length>
2=a.indexes.number.length))return(0,r.warning)(!0,`Complex values '${t}' and '${e}' 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.`),(0,u.mixImmediate)(t,e);if(l.has(t)&&!a.values.length||l.has(e)&&!n.values.length)return l.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,s.pipe)(d(function(t,e){var i;let s=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let o=e.types[n],a=t.indexes[o][r[o]],l=null!=(i=t.values[a])?i:0;s[n]=l,r[o]++}return s}(n,a),a.values),i)};function f(t,i,s){return"number"==typeof t&&"number"==typeof i&&"number"==typeof s?(0,e.mixNumber)(t,i,s):c(t)(t,i)}t.s(["mix",()=>f],148082)},524653,175714,212518,201604,929555,t=>{"use strict";t.i(653216);var e=t.i(630821),i=t.i(793193);t.i(870557);var s=t.i(443634),r=t.i(977490),n=t.i(930789);function o(t,e,i){let s=Math.max(e-5,0);return(0,n.velocityPerSecond)(i-t(s),e-s)}let a=.01,l=2,u=.005,h=.5;var c=t.i(970742);function d(t,e){return t*Math.sqrt(1-e*e)}let p=["duration","bounce"],m=["stiffness","damping","mass"];function f(t,e){return e.some(e=>void 0!==t[e])}function v(t=.3,n=.3){let g,y="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:n}:t,{restSpeed:x,restDelta:T}=y,P=y.keyframes[0],b=y.keyframes[y.keyframes.length-1],w={done:!1,value:P},{stiffness:S,damping:V,mass:A,duration:M,velocity:C,isResolvedFromDuration:D}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!f(t,m)&&f(t,p))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 o,a;(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?(o=e=>{let s=e*l,r=s*t;return .001-(s-i)/d(e,l)*Math.exp(-r)},a=e=>{let s=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,n=Math.exp(-s),a=d(Math.pow(e,2),l);return(s*i+i-r)*n*(-o(e)+.001>0?-1:1)/a}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=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}(o,a,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}({...y,velocity:-(0,s.millisecondsToSeconds)(y.velocity||0)}),E=C||0,R=V/(2*Math.sqrt(S*A)),k=b-P,B=(0,s.millisecondsToSeconds)(Math.sqrt(S/A)),L=5>Math.abs(k);if(x||(x=L?a:l),T||(T=L?u:h),R<1){let t=d(B,R);g=e=>b-Math.exp(-R*B*e)*((E+R*B*k)/t*Math.sin(t*e)+k*Math.cos(t*e))}else if(1===R)g=t=>b-Math.exp(-B*t)*(k+(E+B*k)*t);else{let t=B*Math.sqrt(R*R-1);g=e=>{let i=Math.exp(-R*B*e),s=Math.min(t*e,300);return b-i*((E+R*B*k)*Math.sinh(s)+t*k*Math.cosh(s))/t}}let F={calculatedDuration:D&&M||null,next:t=>{let e=g(t);if(D)w.done=t>=M;else{let i=0;R<1&&(i=0===t?(0,s.secondsToMilliseconds)(E):o(g,t,e));let r=Math.abs(b-e)<=T;w.done=Math.abs(i)<=x&&r}return w.value=w.done?b:e,w},toString:()=>{let t=Math.min((0,e.calcGeneratorDuration)(F),e.maxGeneratorDuration),s=(0,i.generateLinearEasing)(e=>F.next(t*e).value,t,30);return t+"ms "+s}};return F}function g({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:r=10,bounceStiffness:n=500,modifyTarget:a,min:l,max:u,restDelta:h=.5,restSpeed:c}){let d,p,m=t[0],f={done:!1,value:m},g=i*e,y=m+g,x=void 0===a?y:a(y);x!==y&&(g=x-m);let T=t=>-g*Math.exp(-t/s),P=t=>x+T(t),b=t=>{let e=T(t),i=P(t);f.done=Math.abs(e)<=h,f.value=f.done?x:i},w=t=>{let e;if(e=f.value,void 0!==l&&e<l||void 0!==u&&e>u){var i;d=t,p=v({keyframes:[f.value,(i=f.value,void 0===l?u:void 0===u||Math.abs(l-i)<Math.abs(u-i)?l:u)],velocity:o(P,t,f.value),damping:r,stiffness:n,restDelta:h,restSpeed:c})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==d||(e=!0,b(t),w(t)),void 0!==d&&t>=d)?p.next(t-d):(e||b(t),f)}}}
2t.s(["spring",()=>v],175714),t.s(["inertia",()=>g],524653);var y=t.i(672457);let x=(0,y.cubicBezier)(.42,0,1,1),T=(0,y.cubicBezier)(0,0,.58,1),P=(0,y.cubicBezier)(.42,0,.58,1);t.s(["easeIn",()=>x,"easeInOut",()=>P,"easeOut",()=>T],212518);let b=t=>Array.isArray(t)&&"number"!=typeof t[0];t.s(["isEasingArray",()=>b],201604);var w=t.i(431675),S=t.i(415289),V=t.i(595021),A=t.i(608091),M=t.i(259840);let C={linear:S.noop,easeIn:x,easeInOut:P,easeOut:T,circIn:M.circIn,circInOut:M.circInOut,circOut:M.circOut,backIn:A.backIn,backInOut:A.backInOut,backOut:A.backOut,anticipate:V.anticipate},D=t=>{if((0,w.isBezierDefinition)(t)){(0,c.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,s,r]=t;return(0,y.cubicBezier)(e,i,s,r)}return"string"==typeof t?((0,c.invariant)(void 0!==C[t],`Invalid easing type '${t}'`),C[t]):t};t.s(["easingDefinitionToFunction",()=>D],929555)},351011,539229,294053,t=>{"use strict";t.i(870557);var e=t.i(970742),i=t.i(415289),s=t.i(474757),r=t.i(977490),n=t.i(148082),o=t.i(580706);function a(t,l,{clamp:u=!0,ease:h,mixer:c}={}){let d=t.length;if((0,e.invariant)(d===l.length,"Both input and output ranges must be the same length"),1===d)return()=>l[0];if(2===d&&l[0]===l[1])return()=>l[1];let p=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),l=[...l].reverse());let m=function(t,e,s){let r=[],a=s||n.mix,l=t.length-1;for(let s=0;s<l;s++){let n=a(t[s],t[s+1]);if(e){let t=Array.isArray(e)?e[s]||i.noop:e;n=(0,o.pipe)(t,n)}r.push(n)}return r}(l,h,c),f=m.length,v=e=>{if(p&&e<t[0])return l[0];let i=0;if(f>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let r=(0,s.progress)(t[i],t[i+1],e);return m[i](r)};return u?e=>v((0,r.clamp)(t[0],t[d-1],e)):v}t.s(["interpolate",()=>a],351011);var l=t.i(412103);function u(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=(0,s.progress)(0,e,r);t.push((0,l.mixNumber)(i,1,n))}}function h(t){let e=[0];return u(e,t.length-1),e}t.s(["fillOffset",()=>u],539229),t.s(["defaultOffset",()=>h],294053)},968113,199119,38436,510208,649801,580140,774309,372794,338809,572570,690485,883513,571939,228909,569382,t=>{"use strict";var e=t.i(378780),i=t.i(524010),s=t.i(251175),r=t.i(299527),n=t.i(318021),o=t.i(493196);t.i(653216);var a=t.i(813915),l=t.i(441902),u=t.i(176776),h=t.i(436088),c=t.i(288951),d=t.i(846160);t.i(870557);var p=t.i(443634),m=t.i(346971),f=t.i(603651),v=t.i(66418),g=t.i(680125),y=t.i(158088),x=t.i(621241),T=t.i(533609),P=t.i(415289),b=t.i(595021),w=t.i(608091),S=t.i(259840),V=t.i(113746),A=t.i(27418);t.i(649125);var M=t.i(630821),C=t.i(324867),D=t.i(977490),E=t.i(148082),R=t.i(580706),k=t.i(524653),B=t.i(212518),L=t.i(201604),F=t.i(929555),j=t.i(351011),O=t.i(294053);function I({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var r;let n=(0,L.isEasingArray)(s)?s.map(F.easingDefinitionToFunction):(0,F.easingDefinitionToFunction)(s),o={done:!1,value:e[0]},a=(r=i&&i.length===e.length?i:(0,O.defaultOffset)(e),r.map(e=>e*t)),l=(0,j.interpolate)(a,e,{ease:Array.isArray(n)?n:e.map(()=>n||B.easeInOut).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}var N=t.i(175714),U=A,$=t.i(128632);let W=t=>{let e=({timestamp:e})=>t(e);return{start:()=>m.frame.update(e,!0),stop:()=>(0,m.cancelFrame)(e),now:()=>m.frameData.isProcessing?m.frameData.timestamp:$.time.now()}};var K=t.i(620517);let z={decay:k.inertia,inertia:k.inertia,tween:I,keyframes:I,spring:N.spring},G=t=>t/100;class H extends U.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)||C.KeyframeResolver,o=(t,e)=>this.onKeyframesResolved(t,e);this.resolver=new n(r,o,e,i,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}
2initPlayback(t){let e,i,{type:s="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:o,velocity:a=0}=this.options,l=(0,x.isGenerator)(s)?s:z[s]||I;l!==I&&"number"!=typeof t[0]&&(e=(0,R.pipe)(G,(0,E.mix)(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=(0,M.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:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:m,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"===p?(i=1-i,m&&(i-=m/h)):"mirror"===p&&(x=n)),y=(0,D.clamp)(0,1,i)*h}let T=g?{done:!1,value:a[0]}:x.next(y);o&&(T.value=o(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,K.getFinalKeyframe)(a,this.options,s)),f&&f(T.value),b&&this.finish(),T}get duration(){let{resolved:t}=this;return t?(0,p.millisecondsToSeconds)(t.calculatedDuration):0}get time(){return(0,p.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,p.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,p.millisecondsToSeconds)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=W,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 Y=new Set(["opacity","clipPath","filter","transform"]),X=(0,t.i(918514).memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),q={anticipate:b.anticipate,backInOut:w.backInOut,circInOut:S.circInOut};class _ extends A.BaseAnimation{constructor(t){super(t);const{name:e,motionValue:i,element:s,keyframes:r}=this.options;this.resolver=new V.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:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof n&&(0,g.supportsLinearEasing)()&&n in q&&(n=q[n]),i=this.options,
2(0,x.isGenerator)(i.type)||"spring"===i.type||!(0,T.isWaapiSupportedEasing)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new H({...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,o="keyframes"}let h=function(t,e,i,{delay:s=0,duration:r=300,repeat:n=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=(0,T.mapEasingToNativeEasing)(a,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"===o?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:s,times:r,ease:n});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?((0,y.attachTimeline)(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set((0,K.getFinalKeyframe)(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:s,times:r,type:o,ease:n,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,p.millisecondsToSeconds)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,p.millisecondsToSeconds)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,p.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 P.noop;let{animation:i}=e;(0,y.attachTimeline)(i,t)}else this.pendingTimeline=t;return P.noop}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"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:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new H({...u,keyframes:i,duration:s,type:r,ease:n,times:o,isGenerator:!0}),c=(0,p.secondsToMilliseconds)(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),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:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return X()&&i&&Y.has(i)&&!a&&!l&&!s&&"mirror"!==r&&0!==n&&"inertia"!==o}}var Z=t.i(725075);let J={type:"spring",stiffness:500,damping:25,restSpeed:10},Q={type:"keyframes",duration:.8},tt={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},te=(t,e,i,s={},r,n)=>o=>{let l=(0,a.getValueTransition)(s,t)||{},u=l.delay||s.delay||0,{elapsed:h=0}=s;h-=(0,p.secondsToMilliseconds)(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:n?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:r,repeat:n,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(l)&&(c={...c,...((t,{keyframes:e})=>e.length>2?Q:Z.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:J:tt)(t,c)}),c.duration&&(c.duration=(0,p.secondsToMilliseconds)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,p.secondsToMilliseconds)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let g=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0===c.delay&&(g=!0)),(v.instantAnimationState.current||f.MotionGlobalConfig.skipAnimations)&&(g=!0,c.duration=0,
2c.delay=0),g&&!n&&void 0!==e.get()){let t=(0,K.getFinalKeyframe)(c.keyframes,l);if(void 0!==t)return m.frame.update(()=>{c.onUpdate(t),c.onComplete()}),new d.GroupPlaybackControls([])}return!n&&_.supports(c)?new _(c):new H(c)};function ti(t,e,{delay:i=0,transitionOverride:s,type:r}={}){var n;let{transition:o=t.getDefaultTransition(),transitionEnd:d,...p}=e;s&&(o=s);let f=[],v=r&&t.animationState&&t.animationState.getState()[r];for(let e in p){let s=t.getValue(e,null!=(n=t.latestValues[e])?n:null),r=p[e];if(void 0===r||v&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(v,e))continue;let u={delay:i,...(0,a.getValueTransition)(o||{},e)},d=!1;if(window.MotionHandoffAnimation){let i=(0,c.getOptimisedAppearId)(t);if(i){let t=window.MotionHandoffAnimation(i,e,m.frame);null!==t&&(u.startTime=t,d=!0)}}(0,h.addValueToWillChange)(t,e),s.start(te(e,s,r,t.shouldReduceMotion&&l.positionalKeys.has(e)?{type:!1}:u,t,d));let g=s.animation;g&&f.push(g)}return d&&Promise.all(f).then(()=>{m.frame.update(()=>{d&&(0,u.setTarget)(t,d)})}),f}function ts(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:o=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(o=i.transitionOverride);let a=r?()=>Promise.all(ti(t,r,i)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:n,staggerDirection:a}=o;return function(t,e,i=0,s=0,r=1,n){let o=[],a=(t.variantChildren.size-1)*s,l=1===r?(t=0)=>t*s:(t=0)=>a-t*s;return Array.from(t.variantChildren).sort(tr).forEach((t,s)=>{t.notify("AnimationStart",e),o.push(ts(t,e,{...n,delay:i+l(s)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+s,n,a,i)}:()=>Promise.resolve(),{when:u}=o;if(!u)return Promise.all([a(),l(i.delay)]);{let[t,e]="beforeChildren"===u?[a,l]:[l,a];return t().then(()=>e())}}function tr(t,e){return t.sortNodePosition(e)}t.s(["animateMotionValue",()=>te],199119),t.s(["animateTarget",()=>ti],38436);let tn=o.variantProps.length,to=[...o.variantPriorityOrder].reverse(),ta=o.variantPriorityOrder.length;function tl(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tu(){return{animate:tl(!0),whileInView:tl(),whileHover:tl(),whileTap:tl(),whileDrag:tl(),whileFocus:tl(),exit:tl()}}class th{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",()=>th],510208);let tc=0,td={animation:{Feature:class extends th{constructor(t){super(t),t.animationState||(t.animationState=function(t){let a=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=>ts(t,e,i)));else if("string"==typeof e)s=ts(t,e,i);else{let r="function"==typeof e?(0,n.resolveVariant)(t,e,i.custom):e;s=Promise.all(ti(t,r,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),l=tu(),u=!0,h=e=>(i,s)=>{var r;let o=(0,n.resolveVariant)(t,s,"exit"===e?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(o){let{transition:t,transitionEnd:e,...s}=o;i={...i,...s,...e}}return i};function c(n){let{props:c}=t,d=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<tn;t++){let s=o.variantProps[t],n=e.props[s];((0,r.isVariantLabel)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},p=[],m=new Set,f={},v=1/0;for(let o=0;o<ta;o++){var g,y;let a=to[o],x=l[a],T=void 0!==c[a]?c[a]:d[a],P=(0,r.isVariantLabel)(T),b=a===n?x.isActive:null;!1===b&&(v=o);let w=T===d[a]&&T!==c[a]&&P;if(w&&u&&t.manuallyAnimateOnMount&&(w=!1),x.protectedKeys={...f},!x.isActive&&null===b||!T&&!x.prevProp||(0,e.isAnimationControls)(T)||"boolean"==typeof T)continue;let S=(g=x.prevProp,"string"==typeof(y=T)?y!==g:!!Array.isArray(y)&&!(0,s.shallowCompare)(y,g)),V=S||a===n&&x.isActive&&!w&&P||o>v&&P,A=!1,M=Array.isArray(T)?T:[T],C=M.reduce(h(a),{});!1===b&&(C={});let{prevResolvedValues:D={}}=x,E={...D,...C},R=e=>{V=!0,m.has(e)&&(A=!0,m.delete(e)),x.needsAnimating[e]=!0;let i=t.getValue(e);
2i&&(i.liveStyle=!1)};for(let t in E){let e=C[t],r=D[t];if(!f.hasOwnProperty(t))((0,i.isKeyframesTarget)(e)&&(0,i.isKeyframesTarget)(r)?(0,s.shallowCompare)(e,r):e===r)?void 0!==e&&m.has(t)?R(t):x.protectedKeys[t]=!0:null!=e?R(t):m.add(t)}x.prevProp=T,x.prevResolvedValues=C,x.isActive&&(f={...f,...C}),u&&t.blockInitialAnimation&&(V=!1);let k=!(w&&S)||A;V&&k&&p.push(...M.map(t=>({animation:t,options:{type:a}})))}if(m.size){let e={};m.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 x=!!p.length;return u&&(!1===c.initial||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(x=!1),u=!1,x?a(p):Promise.resolve()}return{animateChanges:c,setActive:function(e,i){var s;if(l[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)}),l[e].isActive=i;let r=c(e);for(let t in l)l[t].protectedKeys={};return r},setAnimateFunction:function(e){a=e(t)},getState:()=>l,reset:()=>{l=tu(),u=!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 th{constructor(){super(...arguments),this.id=tc++}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(){}}}};t.s(["animations",()=>td],968113);var tp=t.i(970742),tm=t.i(487695),tf=t.i(366199);function tv(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}function tg(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["addDomEvent",()=>tv],649801);let ty=t=>e=>(0,tf.isPrimaryPointer)(e)&&t(e,tg(e));function tx(t,e,i,s){return tv(t,e,ty(i),s)}t.s(["addPointerInfo",()=>ty,"extractEventInfo",()=>tg],580140);let tT=(t,e)=>Math.abs(t-e);class tP{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=tS(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(tT(t.x,e.x)**2+tT(t.y,e.y)**2)>=3);if(!s&&!r)return;let{point:n}=i,{timestamp:o}=m.frameData;this.history.push({...n,timestamp:o});let{onStart:a,onMove:l}=this.handlers;s||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tb(e,this.transformPagePoint),m.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=tS("pointercancel"===t.type?this.lastMoveEventInfo:tb(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!(0,tf.isPrimaryPointer)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;const n=tb(tg(t),this.transformPagePoint),{point:o}=n,{timestamp:a}=m.frameData;this.history=[{...o,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,tS(n,this.history)),this.removeListeners=(0,R.pipe)(tx(this.contextWindow,"pointermove",this.handlePointerMove),tx(this.contextWindow,"pointerup",this.handlePointerUp),tx(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,m.cancelFrame)(this.updatePoint)}}function tb(t,e){return e?{point:e(t.point)}:t}function tw(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tS({point:t},e){return{point:t,delta:tw(t,tV(e)),offset:tw(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,r=tV(t);for(;i>=0&&(s=t[i],!(r.timestamp-s.timestamp>(0,p.secondsToMilliseconds)(.1)));)i--;if(!s)return{x:0,y:0};let n=(0,p.millisecondsToSeconds)(r.timestamp-s.timestamp);if(0===n)return{x:0,y:0};let o={x:(r.x-s.x)/n,y:(r.y-s.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function tV(t){return t[t.length-1]}function tA(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["isRefObject",()=>tA],774309);var tM=t.i(474757),tC=t.i(412103);function tD(t){return t.max-t.min}function tE(t,e,i){return Math.abs(t-e)<=i}function tR(t,e,i,s=.5){t.origin=s,t.originPoint=(0,tC.mixNumber)(e.min,e.max,t.origin),t.scale=tD(i)/tD(e),t.translate=(0,tC.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 tk(t,e,i,s){tR(t.x,e.x,i.x,s?s.originX:void 0),tR(t.y,e.y,i.y,s?s.originY:void 0)}function tB(t,e,i){t.min=i.min+e.min,t.max=t.min+tD(e)}function tL(t,e,i){tB(t.x,e.x,i.x),tB(t.y,e.y,i.y)}function tF(t,e,i){t.min=e.min-i.min,t.max=t.min+tD(e)}function tj(t,e,i){tF(t.x,e.x,i.x),tF(t.y,e.y,i.y)}function tO(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 tI(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 tN(t,e,i){return{min:tU(t,e),max:tU(t,i)}}function tU(t,e){return"number"==typeof t?t:t[e]||0}t.s(["calcBoxDelta",()=>tk,"calcLength",()=>tD,"calcRelativeBox",()=>tL,"calcRelativePosition",()=>tj,"isNear",()=>tE],372794);let t$=()=>({translate:0,scale:1,origin:0,originPoint:0}),tW=()=>({x:t$(),y:t$()}),tK=()=>({min:0,max:0}),tz=()=>({x:tK(),y:tK()});function tG(t){return[t("x"),t("y")]}function tH({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function tY(t){return void 0===t||1===t}function tX({scale:t,scaleX:e,scaleY:i}){return!tY(t)||!tY(e)||!tY(i)}function tq(t){return tX(t)||t_(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function t_(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}t.s(["createBox",()=>tz,"createDelta",()=>tW],338809),t.s(["eachAxis",()=>tG],572570);
2function tZ(t,e,i){return i+e*(t-i)}function tJ(t,e,i,s,r){return void 0!==r&&(t=s+r*(t-s)),s+i*(t-s)+e}function tQ(t,e=0,i=1,s,r){t.min=tJ(t.min,e,i,s,r),t.max=tJ(t.max,e,i,s,r)}function t0(t,{x:e,y:i}){tQ(t.x,e.translate,e.scale,e.originPoint),tQ(t.y,i.translate,i.scale,i.originPoint)}function t1(t,e,i,s=!1){let r,n,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){n=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&t2(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),n&&(e.x*=n.x.scale,e.y*=n.y.scale,t0(t,n)),s&&tq(r.latestValues)&&t2(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function t5(t,e){t.min=t.min+e,t.max=t.max+e}function t9(t,e,i,s,r=.5){let n=(0,tC.mixNumber)(t.min,t.max,r);tQ(t,e,i,n,s)}function t2(t,e){t9(t.x,e.x,e.scaleX,e.scale,e.originX),t9(t.y,e.y,e.scaleY,e.scale,e.originY)}function t6(t,e){return tH(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(t.getBoundingClientRect(),e))}function t3(t,e,i){let s=t6(t,i),{scroll:r}=e;return r&&(t5(s.x,r.offset.x),t5(s.y,r.offset.y)),s}t.s(["has2DTranslate",()=>t_,"hasScale",()=>tX,"hasTransform",()=>tq],690485),t.s(["applyBoxDelta",()=>
2t0,"applyTreeDeltas",()=>t1,"scalePoint",()=>tZ,"transformBox",()=>t2,"translateAxis",()=>t5],883513),t.s(["measurePageBox",()=>t3,"measureViewportBox",()=>t6],571939);var t4=t.i(636491);let t7=({current:t})=>t?t.ownerDocument.defaultView:null,t8=new WeakMap;class et{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=tz(),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(tg(t).point)},r=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:r}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,tm.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),tG(t=>{let e=this.getAxisMotionValue(t).get()||0;if(t4.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=tD(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&m.frame.postRender(()=>r(t,e)),(0,h.addValueToWillChange)(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},n=(t,e)=>{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:r,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=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}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),n&&n(t,e)},o=(t,e)=>this.stop(t,e),a=()=>tG(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new tP(t,{onSessionStart:s,onStart:r,onMove:n,onSessionEnd:o,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:t7(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&&m.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||!ee(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,tC.mixNumber)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,tC.mixNumber)(i,t,s.max):Math.min(t,i)),t}(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&&tA(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=function(t,{top:e,left:i,bottom:s,right:r}){return{x:tO(t.x,i,r),y:tO(t.y,e,s)}}(s.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tN(t,"left","right"),y:tN(t,"top","bottom")}}(i),r!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&tG(t=>{var e,i;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=s.layoutBox[t],i=this.constraints[t],r={},void 0!==i.min&&(r.min=i.min-e.min),void 0!==i.max&&(r.max=i.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!tA(e))return!1;let s=e.current;(0,tp.invariant)(null!==s,"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=t3(s,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:tI(t.x,n.x),y:tI(t.y,n.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=tH(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tG(o=>{if(!ee(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,h.addValueToWillChange)(this.visualElement,t),i.start(te(t,i,0,e,this.visualElement,!1))}stopAnimation(){tG(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tG(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){tG(e=>{let{drag:i}=this.getProps();if(!ee(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,tC.mixNumber)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!tA(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};tG(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let n,o,a,l=e.get();s[t]=(i={min:l,max:l},r=this.constraints[t],n=.5,o=tD(i),(a=tD(r))>o?n=(0,tM.progress)(r.min,r.max-o,i.min):o>a&&(n=(0,tM.progress)(i.min,i.max-a,r.min)),(0,D.clamp)(0,1,n))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tG(e=>{if(!ee(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:n}=this.constraints[e];i.set((0,tC.mixNumber)(r,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;t8.set(this.visualElement,this);let t=tx(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();tA(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),m.frame.read(e);let r=tv(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tG(e=>{let i=this.getAxisMotionValue(e);
2i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),s(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:n,dragMomentum:o}}}function ee(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ei extends th{constructor(t){super(t),this.removeGroupControls=P.noop,this.removeListeners=P.noop,this.controls=new et(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||P.noop}unmount(){this.removeGroupControls(),this.removeListeners()}}t.s(["DragGesture",()=>ei],228909);let es=t=>(e,i)=>{t&&m.frame.postRender(()=>t(e,i))};class er extends th{constructor(){super(...arguments),this.removePointerDownListener=P.noop}onPointerDown(t){this.session=new tP(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:t7(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:es(t),onStart:es(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&m.frame.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=tx(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",()=>er],569382)},994908,t=>{"use strict";let e=(0,t.i(595186).createContext)(null);t.s(["PresenceContext",()=>e])},63265,t=>{"use strict";var e=t.i(595186),i=t.i(994908);function s(t=!0){let r=(0,e.useContext)(i.PresenceContext);if(null===r)return[!0,null];let{isPresent:n,onExitComplete:o,register:a}=r,l=(0,e.useId)();(0,e.useEffect)(()=>{t&&a(l)},[t]);let u=(0,e.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!n&&o?[!1,u]:[!0]}t.s(["usePresence",()=>s])},522691,t=>{"use strict";let e=(0,t.i(595186).createContext)({});t.s(["LayoutGroupContext",()=>e])},845298,930667,993270,229726,585650,909380,422834,553787,993763,670728,t=>{"use strict";var e=t.i(228909),i=t.i(569382),s=t.i(159293),r=t.i(595186),n=t.i(63265),o=t.i(522691);let a=(0,r.createContext)({});t.s(["SwitchLayoutGroupContext",()=>a],930667);let l={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var u=t.i(636491);function h(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let c={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!u.px.test(t))return t;else t=parseFloat(t);let i=h(t,e.target.x),s=h(t,e.target.y);return`${i}% ${s}%`}};
2var d=t.i(412103),p=t.i(620172);let m={};function f(t){Object.assign(m,t)}t.s(["addScaleCorrector",()=>f,"scaleCorrectors",()=>m],993270);let{schedule:v,cancel:g}=(0,t.i(319411).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",()=>v],229726);var y=t.i(346971);class x extends r.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=t;f(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()})),l.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()||y.frame.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),v.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}}function T(t){let[e,i]=(0,n.usePresence)(),l=(0,r.useContext)(o.LayoutGroupContext);return(0,s.jsx)(x,{...t,layoutGroup:l,switchLayoutGroup:(0,r.useContext)(a),isPresent:e,safeToRemove:i})}let P={borderRadius:{...c,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomLeftRadius:c,borderBottomRightRadius:c,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=p.complex.parse(t);if(s.length>5)return t;let r=p.complex.createTransformer(t),n=+("number"!=typeof s[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;s[0+n]/=o,s[1+n]/=a;let l=(0,d.mixNumber)(o,a,.5);return"number"==typeof s[2+n]&&(s[2+n]/=l),"number"==typeof s[3+n]&&(s[3+n]/=l),r(s)}}};t.i(653216);var b=t.i(813915);t.i(870557);var w=t.i(415289),S=t.i(63586),V=t.i(224167),A=t.i(199119);function M(t,e,i){let s=(0,V.isMotionValue)(t)?t:(0,S.motionValue)(t);return s.start((0,A.animateMotionValue)("",s,e,i)),s.animation}t.s(["animateSingleValue",()=>M],585650);var C=t.i(288951),D=t.i(128632);function E(t){return t instanceof SVGElement&&"svg"!==t.tagName}t.s(["isSVGElement",()=>E],909380);var R=t.i(418783);let k=(t,e)=>t.depth-e.depth;class B{constructor(){this.children=[],this.isDirty=!1}add(t){(0,R.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,R.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(k),this.isDirty=!1,this.children.forEach(t)}}var L=t.i(977490);t.i(443634);var F=t.i(406129),j=t.i(858300);function O(t){let e=(0,V.isMotionValue)(t)?t.get():t;return(0,j.isCustomValue)(e)?e.toValue():e}t.s(["resolveMotionValue",()=>O],422834);var I=t.i(474757),N=t.i(259840);let U=["TopLeft","TopRight","BottomLeft","BottomRight"],$=U.length,W=t=>"string"==typeof t?parseFloat(t):t,K=t=>"number"==typeof t||u.px.test(t);function z(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let G=Y(0,.5,N.circOut),H=Y(.5,.95,w.noop);function Y(t,e,i){return s=>s<t?0:s>e?1:i((0,I.progress)(t,e,s))}function X(t,e){t.min=e.min,t.max=e.max}function q(t,e){X(t.x,e.x),X(t.y,e.y)}function _(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var Z=t.i(883513),J=t.i(372794);function Q(t,e,i,s,r){return t-=e,t=(0,Z.scalePoint)(t,1/i,s),void 0!==r&&(t=(0,Z.scalePoint)(t,1/r,s)),t}function tt(t,e,[i,s,r],n,o){!function(t,e=0,i=1,s=.5,r,n=t,o=t){if(u.percent.test(e)&&(e=parseFloat(e),e=(0,d.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,d.mixNumber)(n.min,n.max,s);t===n&&(a-=e),t.min=Q(t.min,e,i,a,r),t.max=Q(t.max,e,i,a,r)}(t,e[i],e[s],e[r],e.scale,n,o)}let te=["x","scaleX","originX"],ti=["y","scaleY","originY"];function ts(t,e,i,s){tt(t.x,e,te,i?i.x:void 0,s?s.x:void 0),tt(t.y,e,ti,i?i.y:void 0,s?s.y:void 0)}var tr=t.i(338809);function tn(t){return 0===t.translate&&1===t.scale}function to(t){return tn(t.x)&&tn(t.y)}function ta(t,e){return t.min===e.min&&t.max===e.max}function tl(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function tu(t,e){return tl(t.x,e.x)&&tl(t.y,e.y)}function th(t){return(0,J.calcLength)(t.x)/(0,J.calcLength)(t.y)}function tc(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class td{constructor(){this.members=[]}add(t){(0,R.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,R.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)}
2}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 tp=t.i(572570),tm=t.i(690485);let tf={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},tv="u">typeof window&&void 0!==window.MotionDebug,tg=["","X","Y","Z"],ty={visibility:"hidden"},tx=0;function tT(t,e,i,s){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function tP({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=tx++,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,tv&&(tf.totalNodes=tf.resolvedTargetDeltas=tf.recalculatedProjection=0),this.nodes.forEach(tS),this.nodes.forEach(tR),this.nodes.forEach(tk),this.nodes.forEach(tV),tv&&window.MotionDebug.record(tf)},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 B)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new F.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=E(e),this.instance=e;let{layoutId:s,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||s)&&(this.isLayoutDirty=!0),t){let i,s=()=>this.root.updateBlockedByResize=!1;t(e,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=D.time.now(),e=({timestamp:i})=>{let r=i-t;r>=250&&((0,y.cancelFrame)(e),s(r-250))},y.frame.read(e,!0),i=()=>(0,y.cancelFrame)(e),l.hasAnimatedSinceResize&&(l.hasAnimatedSinceResize=!1,this.nodes.forEach(tE))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&n&&(s||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||n.getDefaultTransition()||tI,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!tu(this.targetLayout,s)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,b.getValueTransition)(r,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||tE(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,y.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
2h(tB),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,C.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",y.frame,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tM);return}this.isUpdating||this.nodes.forEach(tC),this.isUpdating=!1,this.nodes.forEach(tD),this.nodes.forEach(tb),this.nodes.forEach(tw),this.clearAllSnapshots();let t=D.time.now();y.frameData.delta=(0,L.clamp)(0,1e3/60,t-y.frameData.timestamp),y.frameData.timestamp=t,y.frameData.isProcessing=!0,y.frameSteps.update.process(y.frameData),y.frameSteps.preRender.process(y.frameData),y.frameSteps.render.process(y.frameData),y.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,v.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tA),this.sharedNodes.forEach(tL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,y.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){y.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,tr.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(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!to(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&(e||(0,tm.hasTransform)(this.latestValues)||n)&&(r(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)),t$((e=s).x),t$(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,tr.createBox)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tK))){let{scroll:t}=this.root;t&&((0,Z.translateAxis)(i.x,t.offset.x),(0,Z.translateAxis)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,tr.createBox)();if(q(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&&q(i,t),(0,Z.translateAxis)(i.x,r.offset.x),(0,Z.translateAxis)(i.y,r.offset.y))}return i}applyTransform(t,e=!1){let i=(0,tr.createBox)();q(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,Z.transformBox)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,tm.hasTransform)(s.latestValues)&&(0,Z.transformBox)(i,s.latestValues)}return(0,tm.hasTransform)(this.latestValues)&&(0,Z.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,tr.createBox)();q(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,tm.hasTransform)(i.latestValues))continue;(0,tm.hasScale)(i.latestValues)&&i.updateSnapshot();let s=(0,tr.createBox)();q(s,i.measurePageBox()),ts(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,tm.hasTransform)(this.latestValues)&&ts(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!==y.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=y.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tr.createBox)(),this.relativeTargetOrigin=(0,tr.createBox)(),(0,J.calcRelativePosition)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),q(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,tr.createBox)(),this.targetWithTransforms=(0,tr.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):q(this.target,this.layout.layoutBox),(0,Z.applyBoxDelta)(this.target,this.targetDelta)):q(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,tr.createBox)(),this.relativeTargetOrigin=(0,tr.createBox)(),(0,J.calcRelativePosition)(this.relativeTargetOrigin,this.target,t.target),q(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tv&&tf.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,tm.hasScale)(this.parent.latestValues)||(0,tm.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}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===y.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;q(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,Z.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,tr.createBox)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(_(this.prevProjectionDelta.x,this.projectionDelta.x),_(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,J.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&tc(this.projectionDelta.x,this.prevProjectionDelta.x)&&tc(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),tv&&tf.recalculatedProjection++}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,tr.createDelta)(),this.projectionDelta=(0,tr.createDelta)(),this.projectionDeltaWithTransform=(0,tr.createDelta)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},o=(0,tr.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,tr.createBox)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,p=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(tO));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(tF(o.x,t.x,s),tF(o.y,t.y,s),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,v,g,y;(0,J.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,v=this.relativeTargetOrigin,g=a,y=s,tj(f.x,v.x,g.x,y),tj(f.y,v.y,g.y,y),i&&(h=this.relativeTarget,m=i,ta(h.x,m.x)&&ta(h.y,m.y))&&(this.isProjectionDirty=!1),i||(i=(0,tr.createBox)()),q(i,this.relativeTarget)}
2l&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=(0,d.mixNumber)(0,void 0!==i.opacity?i.opacity:1,G(s)),t.opacityExit=(0,d.mixNumber)(void 0!==e.opacity?e.opacity:1,0,H(s))):n&&(t.opacity=(0,d.mixNumber)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let r=0;r<$;r++){let n=`border${U[r]}Radius`,o=z(e,n),a=z(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||K(o)===K(a)?(t[n]=Math.max((0,d.mixNumber)(W(o),W(a),s),0),(u.percent.test(a)||u.percent.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,d.mixNumber)(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,p,c)),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,y.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=y.frame.update(()=>{l.hasAnimatedSinceResize=!0,this.currentAnimation=M(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&&tW(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,tr.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}q(e,i),(0,Z.transformBox)(e,r),(0,J.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new td),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)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&tT("z",t,s,this.animationValues);for(let e=0;e<tg.length;e++)tT(`rotate${tg[e]}`,t,s,this.animationValues),tT(`skew${tg[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 ty;let s={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=O(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=O(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,tm.hasTransform)(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=n.animationValues||n.latestValues;
2this.applyTransformsToTarget(),s.transform=function(t,e,i){let s="",r=t.x.translate/e.x,n=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||n||o)&&(s=`translate3d(${r}px, ${n}px, ${o}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:o,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),r&&(s+=`rotateX(${r}deg) `),n&&(s+=`rotateY(${n}deg) `),o&&(s+=`skewX(${o}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),r&&(s.transform=r(o,s.transform));let{x:a,y:l}=this.projectionDelta;for(let t in s.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,n.animationValues?s.opacity=n===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:s.opacity=n===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,m){if(void 0===o[t])continue;let{correct:e,applyTo:i}=m[t],r="none"===s.transform?o[t]:e(o[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?O(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 tb(t){t.updateLayout()}function tw(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,tp.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}):tW(r,i.layoutBox,e)&&(0,tp.eachAxis)(s=>{let r=n?i.measuredBox[s]:i.layoutBox[s],o=(0,J.calcLength)(e[s]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=(0,tr.createDelta)();(0,J.calcBoxDelta)(o,e,i.layoutBox);let a=(0,tr.createDelta)();n?(0,J.calcBoxDelta)(a,t.applyTransform(s,!0),i.measuredBox):(0,J.calcBoxDelta)(a,e,i.layoutBox);let l=!to(o),u=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:n}=s;if(r&&n){let o=(0,tr.createBox)();(0,J.calcRelativePosition)(o,i.layoutBox,r.layoutBox);let a=(0,tr.createBox)();(0,J.calcRelativePosition)(a,e,n.layoutBox),tu(o,a)||(u=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tS(t){tv&&tf.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 tV(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tA(t){t.clearSnapshot()}function tM(t){t.clearMeasurements()}function tC(t){t.isLayoutDirty=!1}function tD(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tE(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tR(t){t.resolveTargetDelta()}function tk(t){t.calcProjection()}function tB(t){t.resetSkewAndRotation()}function tL(t){t.removeLeadSnapshot()}function tF(t,e,i){t.translate=(0,d.mixNumber)(e.translate,0,i),t.scale=(0,d.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tj(t,e,i,s){t.min=(0,d.mixNumber)(e.min,i.min,s),t.max=(0,d.mixNumber)(e.max,i.max,s)}function tO(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tI={duration:.45,ease:[.4,0,.1,1]},tN=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tU=tN("applewebkit/")&&!tN("chrome/")?Math.round:w.no
2op;function t$(t){t.min=tU(t.min),t.max=tU(t.max)}function tW(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,J.isNear)(th(e),th(i),.2)}function tK(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tz=t.i(649801);let tG=tP({attachResizeListener:(t,e)=>(0,tz.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tH={current:void 0},tY=tP({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tH.current){let t=new tG({});t.mount(window),t.setOptions({layoutScroll:!0}),tH.current=t}return tH.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),tX={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tY,MeasureLayout:T}};t.s(["drag",()=>tX],845298);var tq=t.i(510208),t_=t.i(84655),tZ=t.i(580140);function tJ(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=s["onHover"+i];r&&y.frame.postRender(()=>r(e,(0,tZ.extractEventInfo)(e)))}class tQ extends tq.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=(0,t_.hover)(t,t=>(tJ(this.node,t,"Start"),t=>tJ(this.node,t,"End"))))}unmount(){}}var t0=tq,t1=t.i(580706);class t5 extends t0.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,t1.pipe)((0,tz.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tz.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var t9=tq,t2=t.i(423124);function t6(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&&y.frame.postRender(()=>r(e,(0,tZ.extractEventInfo)(e)))}class t3 extends t9.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=(0,t2.press)(t,t=>(t6(this.node,t,"Start"),(t,{success:e})=>t6(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}var t4=tq;let t7=new WeakMap,t8=new WeakMap,et=t=>{let e=t7.get(t.target);e&&e(t)},ee=t=>{t.forEach(et)},ei={some:0,all:1};class es extends t4.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:o}=i,a={root:s?s.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:ei[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!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;t8.has(i)||t8.set(i,{});let s=t8.get(i),r=JSON.stringify(e);return s[r]||(s[r]=new IntersectionObserver(ee,{root:t,...e})),s[r]}(a),t7.set(t,l),e.observe(t),()=>{t7.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let er={inView:{Feature:es},tap:{Feature:t3},focus:{Feature:t5},hover:{Feature:tQ}};t.s(["gestureAnimations",()=>er],553787);let en={layout:{ProjectionNode:tY,MeasureLayout:T}};t.s(["layout",()=>en],993763);let eo=(0,r.createContext)({strict:!1});t.s(["LazyContext",()=>eo],670728)},431343,t=>{"use strict";let e=(0,t.i(595186).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",()=>e])},721971,658493,79466,t=>{"use strict";var e=t.i(595186);let i=(0,e.createContext)({});t.s(["MotionContext",()=>i],721971);var s=t.i(299527),r=t.i(378780),n=t.i(493196);function o(t){return(0,r.isAnimationControls)(t.animate)||n.variantProps.some(e=>(0,s.isVariantLabel)(t[e]))}function a(t){return!!(o(t)||t.variants)}function l(t){let{initial:r,animate:n}=function(t,e){if(o(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));return(0,e.useMemo)(()=>({initial:r,animate:n}),[u(r),u(n)])}function u(t){return Array.isArray(t)?t.join(" "):t}t.s(["isControllingVariants",()=>o,"isVariantNode",()=>a],658493),t.s(["useCreateMotionContext",()=>l],79466)},92914,t=>{"use strict";let e="u">typeof window;t.s(["isBrowser",()=>e])},615733,326936,696755,245193,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])};function s(t){for(let e in t)i[e]={...i[e],...t[e]}}t.s(["featureDefinitions",()=>i],615733),t.s(["loadFeatures",()=>s],326936);let r=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",()=>r],696755);var n=t.i(595186),o=t.i(774309);function a(t,e,i){return(0,n.useCallback)(s=>
2{s&&t.onMount&&t.onMount(s),e&&(s?e.mount(s):e.unmount()),i&&("function"==typeof i?i(s):(0,o.isRefObject)(i)&&(i.current=s))},[e])}t.s(["useMotionRef",()=>a],245193)},675055,t=>{"use strict";var e=t.i(595186);let i=t.i(92914).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",()=>i])},608336,345247,t=>{"use strict";t.i(649125);var e=t.i(159293);t.i(870557);var i=t.i(595186),s=t.i(522691),r=t.i(670728),n=t.i(431343),o=t.i(721971),a=t.i(79466),l=t.i(92914),u=t.i(615733),h=t.i(326936),c=t.i(696755),d=t.i(245193),p=t.i(994908),m=t.i(675055),f=t.i(286036),v=t.i(229726),g=t.i(774309),y=t.i(930667);function x({preloadedFeatures:t,createVisualElement:x,useRender:T,useVisualState:P,Component:b}){var w,S;function V(t,h){let c,w={...(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:S}=w,V=(0,a.useCreateMotionContext)(t),A=P(t,S);if(!S&&l.isBrowser){(0,i.useContext)(r.LazyContext).str
2ict;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}}(w);c=t.MeasureLayout,V.visualElement=function(t,e,s,a,l){var u,h;let{visualElement:c}=(0,i.useContext)(o.MotionContext),d=(0,i.useContext)(r.LazyContext),x=(0,i.useContext)(p.PresenceContext),T=(0,i.useContext)(n.MotionConfigContext).reducedMotion,P=(0,i.useRef)(null);a=a||d.renderer,!P.current&&a&&(P.current=a(t,{visualState:e,parent:c,props:s,presenceContext:x,blockInitialAnimation:!!x&&!1===x.initial,reducedMotionConfig:T}));let b=P.current,w=(0,i.useContext)(y.SwitchLayoutGroupContext);b&&!b.projection&&l&&("html"===b.type||"svg"===b.type)&&function(t,e,i,s){let{layoutId:r,layout:n,drag:o,dragConstraints:a,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:!!o||a&&(0,g.isRefObject)(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:u})}(P.current,s,l,w);let S=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{b&&S.current&&b.update(s,x)});let V=s[f.optimizedAppearDataAttribute],A=(0,i.useRef)(!!V&&!(null==(u=window.MotionHandoffIsComplete)?void 0:u.call(window,V))&&(null==(h=window.MotionHasOptimisedAnimation)?void 0:h.call(window,V)));return(0,m.useIsomorphicLayoutEffect)(()=>{b&&(S.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),v.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,V)}),A.current=!1))}),b}(b,A,w,x,t.ProjectionNode)}return(0,e.jsxs)(o.MotionContext.Provider,{value:V,children:[c&&V.visualElement?(0,e.jsx)(c,{visualElement:V.visualElement,...w}):null,T(b,t,(0,d.useMotionRef)(A,V.visualElement,h),A,S,V.visualElement)]})}t&&(0,h.loadFeatures)(t),V.displayName=`motion.${"string"==typeof b?b:`create(${null!=(S=null!=(w=b.displayName)?w:b.name)?S:""})`}`;let A=(0,i.forwardRef)(V);return A[c.motionComponentSymbol]=b,A}t.s(["createRendererMotionComponent",()=>x],608336);let T=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function P(t){if("string"!=typeof t||t.includes("-"));else if(T.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",()=>P],345247)},849576,t=>{"use strict";var e=t.i(595186);function i(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}t.s(["useConstant",()=>i])},594986,633136,470891,370674,155203,518271,215984,t=>{"use strict";var e,i,s,r=t.i(114310),n=t.i(968113),o=t.i(845298),a=t.i(553787),l=t.i(993763),u=t.i(608336),h=t.i(345247),c=t.i(346971),d=t.i(595186),p=t.i(378780),m=t.i(721971),f=t.i(994908),v=t.i(658493),g=t.i(609985),y=t.i(849576),x=t.i(422834);let T=t=>(e,i)=>{let s=(0,d.useContext)(m.MotionContext),r=(0,d.useContext)(f.PresenceContext),n=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},s,r,n){let o={latestValues:function(t,e,i,s){let r={},n=s(t,{});for(let t in n)r[t]=(0,x.resolveMotionValue)(n[t]);let{initial:o,animate:a}=t,l=(0,v.isControllingVariants)(t),u=(0,v.isVariantNode)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!(0,p.isAnimationControls)(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let s=(0,g.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&&(o.onMount=t=>i({props:s,current:t,...o}
2),o.onUpdate=t=>i(t)),o})(t,e,s,r);return i?n():(0,y.useConstant)(n)};var P=t.i(725075),b=t.i(556374);let w=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var S=t.i(874240);let V={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},A=P.transformPropOrder.length;function M(t,e,i){let{style:s,vars:r,transformOrigin:n}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(P.transformProps.has(t)){o=!0;continue}if((0,b.isCSSVariableName)(t)){r[t]=i;continue}{let e=w(i,S.numberValueTypes[t]);t.startsWith("origin")?(a=!0,n[t]=e):s[t]=e}}if(!e.transform&&(o||i?s.transform=function(t,e,i){let s="",r=!0;for(let n=0;n<A;n++){let o=P.transformPropOrder[n],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!o.startsWith("scale"):0===parseFloat(a))||i){let t=w(a,S.numberValueTypes[o]);if(!l){r=!1;let e=V[o]||o;s+=`${e}(${t}) `}i&&(e[o]=t)}}return s=s.trim(),i?s=i(e,r?"":s):r&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=n;s.transformOrigin=`${t} ${e} ${i}`}}var C=t.i(636491);let D={offset:"stroke-dashoffset",array:"stroke-dasharray"},E={offset:"strokeDashoffset",array:"strokeDasharray"};function R(t,e,i){return"string"==typeof t?t:C.px.transform(e+i*t)}function k(t,{attrX:e,attrY:i,attrScale:s,originX:r,originY:n,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c){let d,p;if(M(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:f,dimensions:v}=t;m.transform&&(v&&(f.transform=m.transform),delete m.transform),v&&(void 0!==r||void 0!==n||f.transform)&&(d=R(void 0!==r?r:.5,v.x,v.width),p=R(void 0!==n?n:.5,v.y,v.height),f.transformOrigin=`${d} ${p}`),void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==s&&(m.scale=s),void 0!==o&&function(t,e,i=1,s=0,r=!0){t.pathLength=1;let n=r?D:E;t[n.offset]=C.px.transform(-s);let o=C.px.transform(e),a=C.px.transform(i);t[n.array]=`${o} ${a}`}(m,o,a,l,!1)}let B=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),L=()=>({...B(),attrs:{}}),F=t=>"string"==typeof t&&"svg"===t.toLowerCase();var j=t.i(851092);function O(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])}let I=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"]);function N(t,e,i,s){for(let i in O(t,e,void 0,s),e.attrs)t.setAttribute(I.has(i)?i:(0,j.camelToDash)(i),e.attrs[i])}var U=t.i(224167),$=t.i(993270);function W(t,{layout:e,layoutId:i}){return P.transformProps.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!$.scaleCorrectors[t]||"opacity"===t)}function K(t,e,i){var s;let{style:r}=t,n={};for(let o in r)((0,U.isMotionValue)(r[o])||e.style&&(0,U.isMotionValue)(e.style[o])||W(o,t)||(null==(s=null==i?void 0:i.getValue(o))?void 0:s.liveStyle)!==void 0)&&(n[o]=r[o]);return n}function z(t,e,i){let s=K(t,e,i);for(let i in t)((0,U.isMotionValue)(t[i])||(0,U.isMotionValue)(e[i]))&&(s[-1!==P.transformPropOrder.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}let G=["x","y","width","height","cx","cy","r"],H={useVisualState:T({scrapeMotionValuesFromProps:z,createRenderState:L,onUpdate:({props:t,prevProps:e,current:i,renderState:s,latestValues:r})=>{if(!i)return;let n=!!t.drag;if(!n){for(let t in r)if(P.transformProps.has(t)){n=!0;break}}if(!n)return;let o=!e;if(e)for(let i=0;i<G.length;i++){let s=G[i];t[s]!==e[s]&&(o=!0)}o&&c.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}}c.frame.render(()=>{k(s,r,F(i.tagName),t.transformTemplate),N(i,s)})})}})},Y={useVisualState:T({scrapeMotionValuesFromProps:K,createRenderState:B})};function X(t,e,i){for(let s in e)(0,U.isMotionValue)(e[s])||W(s,i)||(t[s]=e[s])}
2let q=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 _(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||q.has(t)}let Z=t=>!_(t);try{(e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default)&&(Z=t=>t.startsWith("on")?!_(t):e(t))}catch(t){}var J=t.i(571939);t.i(649125);var Q=t.i(128632),tt=t.i(615733),te=t.i(338809),ti=t.i(969457),ts=t.i(716133),tr=t.i(92914);let tn={current:null},to={current:!1};function ta(){if(to.current=!0,tr.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tn.current=t.matches;t.addListener(e),e()}else tn.current=!1}t.s(["hasReducedMotionListener",()=>to,"prefersReducedMotion",()=>tn],633136),t.s(["initPrefersReducedMotion",()=>ta],470891);var tl=t.i(406129),tu=t.i(63586),th=t.i(620172),tc=t.i(767328),td=t.i(104719),tp=t.i(659619),tm=t.i(934764);let tf=[...tp.dimensionValueTypes,td.color,th.complex],tv=new WeakMap;t.s(["visualElementStore",()=>tv],370674);var tg=t.i(324867);let ty=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tx{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:r,visualState:n},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tg.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=Q.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,c.frame.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:u}=n;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,v.isControllingVariants)(e),this.isVariantNode=(0,v.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==a[t]&&(0,U.isMotionValue)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,tv.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)),to.current||ta(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tn.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in tv.delete(this.current),this.projection&&this.projection.unmount(),(0,c.cancelFrame)(this.notifyUpdate),(0,c.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&&c.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 tt.featureDefinitions){let e=tt.featureDefinitions[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];
2e.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,te.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<ty.length;e++){let i=ty[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(let s in e){let r=e[s],n=i[s];if((0,U.isMotionValue)(r))t.addValue(s,r);else if((0,U.isMotionValue)(n))t.addValue(s,(0,tu.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,tu.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,tu.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];if(null!=s){if("string"==typeof s&&((0,ti.isNumericalString)(s)||(0,ts.isZeroValueString)(s)))s=parseFloat(s);else{let i;i=s,!tf.find((0,tm.testValueType)(i))&&th.complex.test(e)&&(s=(0,tc.getAnimatableNone)(t,e))}this.setBaseTarget(t,(0,U.isMotionValue)(s)?s.get():s)}return(0,U.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,g.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,U.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 tl.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}t.s(["VisualElement",()=>tx],155203);var tT=t.i(113746);class tP extends tx{constructor(){super(...arguments),this.KeyframeResolver=tT.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,U.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var tb=t.i(463719);class tw extends tP{constructor(){super(...arguments),this.type="html",this.renderInstance=O}readValueFromInstance(t,e){if(P.transformProps.has(e)){let t=(0,tb.getDefaultValueType)(e);return t&&t.default||0}{let i=window.getComputedStyle(t),s=((0,b.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,J.measureViewportBox)(t,e)}build(t,e,i){M(t,e,i.transformTemplate)}
2scrapeMotionValuesFromProps(t,e,i){return K(t,e,i)}}t.s(["HTMLVisualElement",()=>tw],518271);class tS extends tP{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=te.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(P.transformProps.has(e)){let t=(0,tb.getDefaultValueType)(e);return t&&t.default||0}return e=I.has(e)?e:(0,j.camelToDash)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return z(t,e,i)}build(t,e,i){k(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,s){N(t,e,i,s)}mount(t){this.isSVGTag=F(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",()=>tS],215984);let tV=(i={...n.animations,...a.gestureAnimations,...o.drag,...l.layout},s=(t,e)=>(0,h.isSVGComponent)(t)?new tS(e):new tw(e,{allowProjection:t!==d.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){let r={...(0,h.isSVGComponent)(t)?H:Y,preloadedFeatures:i,useRender:function(t=!1){return(e,i,s,{latestValues:r},n)=>{let o=((0,h.isSVGComponent)(e)?function(t,e,i,s){let r=(0,d.useMemo)(()=>{let i=L();return k(i,e,F(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};X(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,s,r={},n=(i=t.style||{},X(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,d.useMemo)(()=>{let i=B();return M(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,r,n,e),a=function(t,e,i){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(Z(r)||!0===i&&_(r)||!e&&!_(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(i,"string"==typeof e,t),l=e!==d.Fragment?{...a,...o,ref:s}:{},{children:u}=i,c=(0,d.useMemo)(()=>(0,U.isMotionValue)(u)?u.get():u,[u]);return(0,d.createElement)(e,{...l,children:c})}}(e),createVisualElement:s,Component:t};return(0,u.createRendererMotionComponent)(r)}),tA=(0,r.createDOMMotionComponentProxy)(tV);t.s(["motion",()=>tA],594986)}]); 3 4//# debugId=62e1d56d-34a8-831e-bfb1-bbc1a6149b25 5//# sourceMappingURL=f56962f92205feff.js.map
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.