1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3385],{1406:(t,e,i)=>{i.d(e,{Sz:()=>o,ZZ:()=>l,dg:()=>a});var n=i(25505),r=i(75887),s=i(12266);let o=(0,n.A)(.33,1.53,.69,.99),a=(0,s.G)(o),l=(0,r.V)(a)},1774:(t,e,i)=>{i.d(e,{H:()=>r});var n=i(79569);function r(t,e){if("u"<typeof Proxy)return n.createMotionComponent;let i=new Map,r=(i,r)=>(0,n.createMotionComponent)(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(s,o)=>"create"===o?r:(i.has(o)||i.set(o,(0,n.createMotionComponent)(o,void 0,t,e)),i.get(o))})}},2988:(t,e,i)=>{i.d(e,{OU:()=>h,Ql:()=>u,Ww:()=>p,hq:()=>s,o4:()=>l});var n=i(56260),r=i(33411);function s(t,e,i){return i+e*(t-i)}function o(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function a(t,e=0,i=1,n,r){t.min=o(t.min,e,i,n,r),t.max=o(t.max,e,i,n,r)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function h(t,e,i,n=!1){let s,o,a=i.length;if(a){e.x=e.y=1;for(let h=0;h<a;h++){o=(s=i[h]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(u(t.x,-s.scroll.offset.x),u(t.y,-s.scroll.offset.y)),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),n&&(0,r.HD)(s.latestValues)&&p(t,s.latestValues,s.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function u(t,e){t.min+=e,t.max+=e}function c(t,e,i,r,s=.5){let o=(0,n.k)(t.min,t.max,s);a(t,e,i,o,r)}function d(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function p(t,e,i){let n=i??t;c(t.x,d(e.x,n.x),e.scaleX,e.scale,e.originX),c(t.y,d(e.y,n.y),e.scaleY,e.scale,e.originY)}},3486:(t,e,i)=>{i.d(e,{m:()=>y});var n=i(5556),r=i(38621),s=i(72025),o=i(94980),a=i(69166),l=i(47736),h=i(40660),u=i(14432),c=i(9331);let d=(0,i(7145).J)(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var p=i(78987);let m=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,f={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:m([0,.65,.55,1]),circOut:m([.55,0,1,.45]),backIn:m([.31,.01,.66,-.59]),backOut:m([.33,1.53,.69,.99])};var g=i(70954);class y extends h.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:s,allowFlatten:a=!1,finalKeyframe:h,onComplete:y}=t;this.isPseudoElement=!!s,this.allowFlatten=a,this.options=t,(0,n.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const v=function({type:t,...e}){return(0,g.W)(t)&&d()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let g=function t(e,i){if(e)return"function"==typeof e?d()?(0,p.K)(e,i):"ease-out":(0,c.D)(e)?m(e):Array.isArray(e)?e.map(e=>t(e,i)||f.easeOut):f[e]}(a,r);Array.isArray(g)&&(u.easing=g);let y={delay:n,duration:r,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return h&&(y.pseudoElement=h),t.animate(u,y)}(e,i,r,v,s),!1===v.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,l.X)(r,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,o.e)(e,i,t),this.animation.cancel()}y?.(),this.notifyFinished()},(0,u.U)(this,t,v)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,r.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,r.X)(t)}get time(){return(0,r.X)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,r.f)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,a.J)())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),s.l):n(this)}}},4287:(t,e,i)=>{i.d(e,{ge:()=>o,xU:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},5556:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r}),i(41463);let n=()=>{},r=()=>{}},6900:(t,e,i)=>{i.d(e,{KG:()=>l,OQ:()=>h,bt:()=>a});var n=i(73852),r=i(79537),s=i(37035),o=i(27933);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.k.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){var i;return"change"===t?this.onChangeSubscribe(e):((i=this.events)[t]||(i[t]=new n.v)).add(e)}onChangeSubscribe(t){let{events:e}=this;return e.change||this.changeSubscriber?(e.change||(e.change=new n.v,e.change.add(this.changeSubscriber),this.changeSubscriber=void 0),e.change.add(t)):this.changeSubscriber=t,()=>{this.changeSubscriber===t?this.changeSubscriber=void 0:e.change?.remove(t),this.stopIfUnobserved()}}stopIfUnobserved(){o.Gt.read(()=>{this.changeSubscriber||this.events.change?.getSize()||this.stop()})}clearListeners(){for(let t in this.changeSubscriber=void 0,this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:t,changeSubscriber:e}=this;e?e(t):this.events.change?.notify(t)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{let i;this.hasAnimated=!0;let n=!1;i=t(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===i&&this.clearAnimation(),e()}),n||(this.animation=i),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new l(t,e)}},7145:(t,e,i)=>{i.d(e,{J:()=>s});var n=i(96291);let r={};function s(t,e){let i=(0,n.p)(t);return()=>r[e]??i()}},9247:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(25952).U])}
1,9331:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},9714:(t,e,i)=>{i.d(e,{Dk:()=>to,kc:()=>td,Ym:()=>tc,c3:()=>tu});var n,r,s=i(12115);function o(t,e){let i=e&&e.cache?e.cache:c,n=e&&e.serializer?e.serializer:h;return(e&&e.strategy?e.strategy:function(t,e){var i,n;let r=1===t.length?a:l;return i=e.cache.create(),n=e.serializer,r.bind(this,t,i,n)})(t,{cache:i,serializer:n})}function a(t,e,i,n){let r=null==n||"number"==typeof n||"boolean"==typeof n?n:i(n),s=e.get(r);return void 0===s&&(s=t.call(this,n),e.set(r,s)),s}function l(t,e,i){let n=Array.prototype.slice.call(arguments,3),r=i(n),s=e.get(r);return void 0===s&&(s=t.apply(this,n),e.set(r,s)),s}let h=function(){return JSON.stringify(arguments)};var u=class{constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,e){this.cache[t]=e}};let c={create:function(){return new u}},d={variadic:function(t,e){var i,n;return i=e.cache.create(),n=e.serializer,l.bind(this,t,i,n)},monadic:function(t,e){var i,n;return i=e.cache.create(),n=e.serializer,a.bind(this,t,i,n)}};
1class p extends Error{constructor(t,e){let i=t;e&&(i+=": "+e),super(i),this.code=t,e&&(this.originalMessage=e)}}var m=((n=m||{}).MISSING_MESSAGE="MISSING_MESSAGE",n.MISSING_FORMAT="MISSING_FORMAT",n.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",n.INSUFFICIENT_PATH="INSUFFICIENT_PATH",n.INVALID_MESSAGE="INVALID_MESSAGE",n.INVALID_KEY="INVALID_KEY",n.FORMATTING_ERROR="FORMATTING_ERROR",n);function f(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function g(t,e){return o(t,{cache:{create:()=>({get:t=>e[t],set(t,i){e[t]=i}})},strategy:d.variadic})}function y(t,e){return g((...e)=>new t(...e),e)}function v(t){return{getDateTimeFormat:y(Intl.DateTimeFormat,t.dateTime),getNumberFormat:y(Intl.NumberFormat,t.number),getPluralRules:y(Intl.PluralRules,t.pluralRules),getRelativeTimeFormat:y(Intl.RelativeTimeFormat,t.relativeTime),getListFormat:y(Intl.ListFormat,t.list),getDisplayNames:y(Intl.DisplayNames,t.displayNames)}}let b=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,E=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,x=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,T=/^(@+)?(\+|#+)?[rs]?$/g,S=/(\*)(0+)|(#+)(0+)|(0+)/g,w=/^(0+)$/;function P(t){let e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(T,function(t,i,n){return"string"!=typeof n?(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length):"+"===n?e.minimumSignificantDigits=i.length:"#"===i[0]?e.maximumSignificantDigits=i.length:(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length+("string"==typeof n?n.length:0)),""}),e}function A(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function M(t){let e=A(t);return e||{}}let B=((r={})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",r);function C(t){return!!(t&&"object"==typeof t&&0===t.type)}function k(t){return!!(t&&"object"==typeof t&&1===t.type)}let H=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,L={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
1:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},R=RegExp(`^${H.source}*`),D=RegExp(`${H.source}*$`);function I(t,e){return{start:t,end:e}}let V=!!Object.fromEntries,N=!!String.prototype.trimStart,F=!!String.prototype.trimEnd,O=V?Object.fromEntries:function(t){let e={};for(let[i,n]of t)e[i]=n;return e},_=N?function(t){return t.trimStart()}:function(t){return t.replace(R,"")},U=F?function(t){return t.trimEnd()}:function(t){return t.replace(D,"")},G=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var j=class{constructor(t,e={}){this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let t=this.message.charCodeAt(0);if(35!==t&&39!==t&&60!==t&&123!==t&&125!==t){let t=function(t){if(0===t.length)return null;let e=1,i=1;for(let n=0;n<t.length;){let r=t.charCodeAt(n);switch(r){case 35:case 39:case 60:case 123:case 125:return null}if(10===r)e++,i=1,n++;else if(i++,r>=55296&&r<=56319&&n+1<t.length){let e=t.charCodeAt(n+1);n+=e>=56320&&e<=57343?2:1}else n++}return{offset:t.length,line:e,column:i}}(this.message);if(t){let e=this.clonePosition();return this.position=t,{val:[{type:0,value:this.message,location:I(e,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(t,e,i){let n=[];for(;!this.isEOF();){let r=this.char();if(123===r){let e=this.parseArgument(t,i);if(e.err)return e;n.push(e.val)}else if(125===r&&t>0)break;else if(35===r&&("plural"===e||"selectordinal"===e)){let t=this.clonePosition();this.bump(),n.push({type:7,location:I(t,this.clonePosition())})}else if(60!==r||this.ignoreTag||47!==this.peek())if(60===r&&!this.ignoreTag&&X(this.peek()||0)){let i=this.parseTag(t,e);if(i.err)return i;n.push(i.val)}else{let i=this.parseLiteral(t,e);if(i.err)return i;n.push(i.val)}else if(!i)return this.error(26,I(this.clonePosition(),this.clonePosition()));else break}return{val:n,err:null}}parseTag(t,e){let i=this.clonePosition();this.bump();let n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${n}/>`,location:I(i,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,I(i,this.clonePosition()));{let r=this.parseMessage(t+1,e,!0);if(r.err)return r;let s=r.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,I(i,this.clonePosition()));{if(this.isEOF()||!X(this.char()))return this.error(23,I(o,this.clonePosition()));let t=this.clonePosition();return n!==this.parseTagName()?this.error(26,I(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:n,children:s,location:I(i,this.clonePosition())},err:null}:this.error(23,I(o,this.clonePosition()))}}}parseTagName(){var t;let e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(e,this.offset())}parseLiteral(t,e){let i=this.clonePosition(),n="";for(;;){let i=this.tryParseQuote(e);if(i){n+=i;continue}let r=this.tryParseUnquoted(t,e);if(r){n+=r;
1continue}let s=this.tryParseLeftAngleBracket();if(s){n+=s;continue}break}return{val:{type:0,value:n,location:I(i,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var t;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(X(t=this.peek()||0)||47===t)?null:(this.bump(),"<")}tryParseQuote(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();let e=[this.char()];for(this.bump();!this.isEOF();){let t=this.char();if(39===t)if(39===this.peek())e.push(39),this.bump();else{this.bump();break}else e.push(t);this.bump()}return String.fromCodePoint(...e)}tryParseUnquoted(t,e){if(this.isEOF())return null;let i=this.char();return 60===i||123===i||35===i&&("plural"===e||"selectordinal"===e)||125===i&&t>0?null:(this.bump(),String.fromCodePoint(i))}parseArgument(t,e){let i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,I(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,I(i,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(3,I(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,I(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:n,location:I(i,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,I(i,this.clonePosition()));return this.parseArgumentOptions(t,e,n,i);default:return this.error(3,I(i,this.clonePosition()))}}parseIdentifierIfPossible(){var t;let e=this.clonePosition(),i=this.offset(),n=(t=this.message,G.lastIndex=i,G.exec(t)[1]??""),r=i+n.length;return this.bumpTo(r),{value:n,location:I(e,this.clonePosition())}}parseArgumentOptions(t,e,i,n){let r=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(4,I(r,o));case"number":case"date":case"time":{this.bumpSpace();let t=null;if(this.bumpIf(",")){this.bumpSpace();let e=this.clonePosition(),i=this.parseSimpleArgStyleIfPossible();if(i.err)return i;let n=U(i.val);if(0===n.length)return this.error(6,I(this.clonePosition(),this.clonePosition()));t={style:n,styleLocation:I(e,this.clonePosition())}}let e=this.tryParseArgumentClose(n);if(e.err)return e;let r=I(n,this.clonePosition());if(t&&t.style.startsWith("::")){let e=_(t.style.slice(2));if("number"===s){let n=this.parseNumberSkeletonFromString(e,t.styleLocation);if(n.err)return n;return{val:{type:2,value:i,location:r,style:n.val},err:null}}{let n;if(0===e.length)return this.error(10,r);let o=e;return this.locale&&(o=function(t,e){let i="";for(let n=0;n<t.length;n++){let r=t.charAt(n);if("j"===r){let s=0;for(;n+1<t.length&&t.charAt(n+1)===r;)s++,n++;let o=1+(1&s),a=s<2?1:3+(s>>1),l=function(t){let e,i=t.hourCycle;if(void 0===i&&(i=t.getHourCycles?.()[0]??t.hourCycles?.[0]),i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let n=t.language;return"root"!==n&&(e=t.maximize().region),(L[`${n}-${e}`]||L[e||""]||L[n||""]||L[`${n}-001`]||L["001"])[0].charAt(0)}(e);for(("H"==l||"k"==l)&&(a=0);a-- >0;)i+="a";for(;o-- >0;)i=l+i}else"J"===r?i+="H":i+=r}return i}(e,this.locale)),{val:{type:"date"===s?3:4,value:i,location:r,style:{type:1,pattern:o,location:t.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},o.replace(b,t=>{let e=t.length;switch(t[0]){case"G":n.era=4===e?"long":5===e?"narrow":"short";break;case"y":n.year=2===e?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4===e?"long":5===e?"narrow":"short";break;case"e":if(e<4)throw RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][e-3];break;case"c":if(e<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][e-3];break;case"a":n.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][e-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][e-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][e-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][e-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][e-1];break;case"s":n.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=e<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}}},err:null}}}return{val:{type:"number"===s?2:"date"===s?3:4,value:i,location:r,style:t?.style??null},err:null}}
1case"plural":case"selectordinal":case"select":{let r=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,I(r,{...r}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),a=0;if("select"!==s&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,I(this.clonePosition(),this.clonePosition()));this.bumpSpace();let t=this.tryParseDecimalInteger(13,14);if(t.err)return t;this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=t.val}let l=this.tryParsePluralOrSelectOptions(t,s,e,o);if(l.err)return l;let h=this.tryParseArgumentClose(n);if(h.err)return h;let u=I(n,this.clonePosition());if("select"===s)return{val:{type:5,value:i,options:O(l.val),location:u},err:null};return{val:{type:6,value:i,options:O(l.val),offset:a,pluralType:"plural"===s?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,I(r,o))}}tryParseArgumentClose(t){return this.isEOF()||125!==this.char()?this.error(1,I(t,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let t=0,e=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,I(t,this.clonePosition()));this.bump();break}case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}}parseNumberSkeletonFromString(t,e){let i=[];try{i=function(t){if(0===t.length)throw Error("Number skeleton cannot be empty");let e=t.split(E).filter(t=>t.length>0),i=[];for(let t of e){let e=t.split("/");if(0===e.length)throw Error("Invalid number skeleton");let[n,...r]=e;for(let t of r)if(0===t.length)throw Error("Invalid number skeleton");i.push({stem:n,options:r})}return i}(t)}catch{return this.error(7,e)}return{val:{type:0,tokens:i,location:e,parsedOptions:this.shouldParseSkeletons?function(t){let e={};for(let i of t){switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e={...e,notation:"scientific",...i.options.reduce((t,e)=>({...t,...M(e)}),{})};continue;case"engineering":e={...e,notation:"engineering",...i.options.reduce((t,e)=>({...t,...M(e)}),{})};continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw RangeError("integer-width stems only accept a single optional option");i.options[0].replace(S,function(t,i,n,r,s,o){if(i)e.minimumIntegerDigits=n.length;else if(r&&s)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(w.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(x.test(i.stem)){if(i.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(x,function(t,i,n,r,s,o){return"*"===n?e.minimumFractionDigits=i.length:r&&"#"===r[0]?e.maximumFractionDigits=r.length:s&&o?(e.minimumFractionDigits=s.length,e.maximumFractionDigits=s.length+o.length):(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length),""});let t=i.options[0];
1"w"===t?e={...e,trailingZeroDisplay:"stripIfInteger"}:t&&(e={...e,...P(t)});continue}if(T.test(i.stem)){e={...e,...P(i.stem)};continue}let t=A(i.stem);t&&(e={...e,...t});let n=function(t){let e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){let i=t.slice(0,2);if("+!"===i?(e.signDisplay="always",t=t.slice(2)):"+?"===i&&(e.signDisplay="exceptZero",t=t.slice(2)),!w.test(t))throw Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(i.stem);n&&(e={...e,...n})}return e}(i):{}},err:null}}tryParsePluralOrSelectOptions(t,e,i,n){let r=!1,s=[],o=new Set,{value:a,location:l}=n;for(;;){if(0===a.length){let t=this.clonePosition();if("select"!==e&&this.bumpIf("=")){let e=this.tryParseDecimalInteger(16,19);if(e.err)return e;l=I(t,this.clonePosition()),a=this.message.slice(t.offset,this.offset())}else break}if(o.has(a))return this.error("select"===e?21:20,l);"other"===a&&(r=!0),this.bumpSpace();let n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?17:18,I(this.clonePosition(),this.clonePosition()));let h=this.parseMessage(t+1,e,i);if(h.err)return h;let u=this.tryParseArgumentClose(n);if(u.err)return u;s.push([a,{value:h.val,location:I(n,this.clonePosition())}]),o.add(a),this.bumpSpace(),{value:a,location:l}=this.parseIdentifierIfPossible()}return 0===s.length?this.error("select"===e?15:16,I(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(22,I(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(t,e){let i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);let r=!1,s=0;for(;!this.isEOF();){let t=this.char();if(t>=48&&t<=57)r=!0,s=10*s+(t-48),this.bump();else break}let o=I(n,this.clonePosition());return r?Number.isSafeInteger(s*=i)?{val:s,err:null}:this.error(e,o):this.error(t,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");let e=this.message.codePointAt(t);if(void 0===e)throw Error(`Offset ${t} is at invalid UTF-16 code unit boundary`);return e}error(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}}bump(){if(this.isEOF())return;let t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}bumpIf(t){if(this.message.startsWith(t,this.offset())){for(let e=0;e<t.length;e++)this.bump();return!0}return!1}bumpUntil(t){let e=this.offset(),i=this.message.indexOf(t,e);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)}bumpTo(t){if(this.offset()>t)throw Error(`targetOffset ${t} must be greater than or equal to the current offset ${this.offset()}`);for(t=Math.min(t,this.message.length);;){let e=this.offset();if(e===t)break;if(e>t)throw Error(`targetOffset ${t} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var t;!this.isEOF()&&((t=this.char())>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t);)this.bump()}peek(){if(this.isEOF())return null;let t=this.char(),e=this.offset();return this.message.charCodeAt(e+(t>=65536?2:1))??null}};function X(t){return t>=97&&t<=122||t>=65&&t<=90}function W(t,e={}){let i=new j(t,e={shouldParseSkeletons:!0,requiresOtherClause:!0,...e}).parse();if(i.err){let t=SyntaxError(B[i.err.kind]);throw t.location=i.err.location,t.originalMessage=i.err.message,t}return e?.captureLocation||function t(e){e.forEach(e=>{if(delete e.location,5===e.type||6===e.type)for(let i in e.options)delete e.options[i].location,t(e.options[i].value);else 2===e.type&&C(e.style)||(3===e.type||4===e.type)&&k(e.style)?delete e.style.location:8===e.type&&t(e.children)})}(i.val),i.val}var K=class extends Error{constructor(t,e,i){super(t),this.code=e,this.originalMessage=i}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},$=class extends K{constructor(t,e,i,n){super(`Invalid values for "${t}": "${e}". Options are "${Object.keys(i).join('", "')}"`,"INVALID_VALUE",n)}},Y=class extends K{constructor(t,e,i){super(`Value for "${t}" must be of type ${e}`,"INVALID_VALUE",i)}}
1,z=class extends K{constructor(t,e){super(`The intl string context variable "${t}" was not provided to the string "${e}"`,"MISSING_VALUE",e)}};function q(t){return{create:()=>({get:e=>t[e],set(e,i){t[e]=i}})}}var Z=class t{constructor(e,i=t.defaultLocale,n,r){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=t=>{let e=this.formatToParts(t);if(1===e.length)return e[0].value;let i=e.reduce((t,e)=>(t.length&&0===e.type&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t),[]);return i.length<=1?i[0]||"":i},this.formatToParts=t=>(function t(e,i,n,r,s,o,a){if(1===e.length&&0===e[0].type)return[{type:0,value:e[0].value}];let l=[];for(let h of e){if(0===h.type){l.push({type:0,value:h.value});continue}if(7===h.type){"number"==typeof o&&l.push({type:0,value:n.getNumberFormat(i).format(o)});continue}let{value:e}=h;if(!(s&&e in s))throw new z(e,a);let u=s[e];if(1===h.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),l.push({type:+("string"!=typeof u),value:u});continue}if(3===h.type){let t="string"==typeof h.style?r.date[h.style]:k(h.style)?h.style.parsedOptions:void 0;l.push({type:0,value:n.getDateTimeFormat(i,t).format(u)});continue}if(4===h.type){let t="string"==typeof h.style?r.time[h.style]:k(h.style)?h.style.parsedOptions:r.time.medium;l.push({type:0,value:n.getDateTimeFormat(i,t).format(u)});continue}if(2===h.type){let t="string"==typeof h.style?r.number[h.style]:C(h.style)?h.style.parsedOptions:void 0;if(t&&t.scale){let e=t.scale||1;if("bigint"==typeof u){if(!Number.isInteger(e))throw TypeError(`Cannot apply fractional scale ${e} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(e)}else u*=e}l.push({type:0,value:n.getNumberFormat(i,t).format(u)});continue}if(8===h.type){let{children:e,value:u}=h,c=s[u];if("function"!=typeof c)throw new Y(u,"function",a);let d=c(t(e,i,n,r,s,o).map(t=>t.value));Array.isArray(d)||(d=[d]),l.push(...d.map(t=>({type:+("string"!=typeof t),value:t})))}if(5===h.type){let e=u,o=(Object.prototype.hasOwnProperty.call(h.options,e)?h.options[e]:void 0)||h.options.other;if(!o)throw new $(h.value,u,Object.keys(h.options),a);l.push(...t(o.value,i,n,r,s));continue}if(6===h.type){let e=`=${u}`,o=Object.prototype.hasOwnProperty.call(h.options,e)?h.options[e]:void 0;if(!o){if(!Intl.PluralRules)throw new K(`Intl.PluralRules is not available in this environment. 2Try polyfilling it using "@formatjs/intl-pluralrules" 3`,"MISSING_INTL_API",a);let t="bigint"==typeof u?Number(u):u,e=n.getPluralRules(i,{type:h.pluralType}).select(t-(h.offset||0));o=(Object.prototype.hasOwnProperty.call(h.options,e)?h.options[e]:void 0)||h.options.other}if(!o)throw new $(h.value,u,Object.keys(h.options),a);let c="bigint"==typeof u?Number(u):u;l.push(...t(o.value,i,n,r,s,c-(h.offset||0)));continue}}return l.length<2?l:l.reduce((t,e)=>{let i=t[t.length-1];return i&&0===i.type&&0===e.type?i.value+=e.value:t.push(e),t},[])})(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=i,this.resolvedLocale=t.resolveLocale(i),"string"==typeof e){if(this.message=e,!t.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...i}=r||{};this.ast=t.__parse(e,{...i,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(t,e){return e?Object.keys(t).reduce((i,n)=>{var r,s;return i[n]=(r=t[n],(s=e[n])?{...r,...s,...Object.keys(r).reduce((t,e)=>(t[e]={...r[e],...s[e]},t),{})}:r),i},{...t}):t}(t.formats,n),this.formatters=r&&r.formatters||function(t={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:o((...t)=>new Intl.NumberFormat(...t),{cache:q(t.number),strategy:d.variadic}),getDateTimeFormat:o((...t)=>new Intl.DateTimeFormat(...t),{cache:q(t.dateTime),strategy:d.variadic}),getPluralRules:o((...t)=>new Intl.PluralRules(...t),{cache:q(t.pluralRules),strategy:d.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale}static{this.resolveLocale=t=>{if(void 0===Intl.Locale)return;let e=Intl.NumberFormat.supportedLocalesOf(t);return new Intl.Locale(e.length>0?e[0]:"string"==typeof t?t:t[0])}}static{this.__parse=W}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function Q(...[t,e,i,n]){let r;
3if(Array.isArray(e))throw new p(m.INVALID_MESSAGE,void 0);if("object"==typeof e)throw new p(m.INSUFFICIENT_PATH,void 0);if("string"==typeof e){let t=i||/'[{}<#|']/.test(e)?void 0:e;if(t)return t}let{cache:o,formats:a,formatters:l,globalFormats:h,locale:u,timeZone:c}=n;l.getMessageFormat||(l.getMessageFormat=g((...t)=>new Z(t[0],t[1],t[2],{formatters:l,...t[3]}),o.message));try{let t,i,n,s;r=l.getMessageFormat(e,u,(t=Z.formats.date,i=Z.formats.time,n={...h?.dateTime,...a?.dateTime},s={date:{...t,...n},time:{...i,...n},number:{...h?.number,...a?.number}},c&&["date","time"].forEach(t=>{let e=s[t];for(let[t,i]of Object.entries(e))e[t]={timeZone:c,...i}}),s),{formatters:{...l,getDateTimeFormat:(t,e)=>l.getDateTimeFormat(t,{...e,timeZone:e?.timeZone??c})}})}catch(t){throw new p(m.INVALID_MESSAGE,void 0)}let d=r.format(i);return(0,s.isValidElement)(d)||Array.isArray(d)||"string"==typeof d?d:String(d)}function J(...t){return t.filter(Boolean).join(".")}function tt(t){return J(t.namespace,t.key)}function te(t){console.error(t)}function ti(t,e,i,n){let r=J(n,i);if(!e)throw Error(r);let s=e;return i.split(".").forEach(e=>{let i=s[e];if(null==e||null==i)throw Error(r+` (${t})`);s=i}),s}Q.raw=!0;let tn={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var tr=i(95155);let ts=(0,s.createContext)(void 0);function to({children:t,formats:e,getMessageFallback:i,locale:n,messages:r,now:o,onError:a,timeZone:l}){let h=(0,s.useContext)(ts),u=(0,s.useMemo)(()=>h?.cache||f(),[n,h?.cache]),c=(0,s.useMemo)(()=>h?.formatters||v(u),[u,h?.formatters]),d=(0,s.useMemo)(()=>({...function({formats:t,getMessageFallback:e,messages:i,onError:n,...r}){return{...r,formats:t||void 0,messages:i||void 0,onError:n||te,getMe
3ssageFallback:e||tt}}({locale:n,formats:void 0===e?h?.formats:e,getMessageFallback:i||h?.getMessageFallback,messages:void 0===r?h?.messages:r,now:o||h?.now,onError:a||h?.onError,timeZone:l||h?.timeZone}),formatters:c,cache:u}),[u,e,c,i,n,r,o,a,h,l]);return(0,tr.jsx)(ts.Provider,{value:d,children:t})}function ta(){let t=(0,s.useContext)(ts);if(!t)throw Error(void 0);return t}let tl=!1,th="u"<typeof window;function tu(t){return function(t,e){let{cache:i,formats:n,formatters:r,getMessageFallback:o,locale:a,onError:l,timeZone:h}=ta(),u=t["!"],c="!"===e?void 0:e.slice(2);return h||tl||!th||(tl=!0,l(new p(m.ENVIRONMENT_FALLBACK,void 0))),(0,s.useMemo)(()=>{var t;let e;return e=function(t,e,i){try{if(!e)throw Error(void 0);let n=i?ti(t,e,i):e;if(!n)throw Error(i);return n}catch(t){return new p(m.MISSING_MESSAGE,t.message)}}((t={cache:i,formatters:r,getMessageFallback:o,messages:u,namespace:c,onError:l,formats:n,locale:a,timeZone:h}).locale,t.messages,t.namespace),function({cache:t,formats:e,formatters:i,getMessageFallback:n=tt,locale:r,messagesOrError:o,namespace:a,onError:l,timeZone:h}){let u=o instanceof p;function c(t,e,i,r){let s=new p(e,i);return l(s),r??n({error:s,key:t,namespace:a})}function d(d,f,g,y){let v;if(u){if(!y)return l(o),n({error:o,key:d,namespace:a});v=y}else try{v=ti(r,o,d,a)}catch(t){if(!y)return c(d,m.MISSING_MESSAGE,t.message,y);v=y}try{let n,o=J(a,d);return Q(o,v,f?(n={},Object.keys(f).forEach(t=>{let e,i=0,r=f[t];e="function"==typeof r?e=>{let n=r(e);return(0,s.isValidElement)(n)?(0,s.cloneElement)(n,{key:t+i++}):n}:r,n[t]=e}),n):f,{cache:t,formatters:i,globalFormats:e,formats:g,locale:r,timeZone:h})}catch(i){let t,e;return i instanceof p?(t=i.code,e=i.originalMessage):(t=m.FORMATTING_ERROR,e=i.message),c(d,t,e,y)}}function f(t,e,i,n){let r=d(t,e,i,n);return"string"!=typeof r?c(t,m.INVALID_MESSAGE,void 0):r}return f.rich=d,f.markup=(t,e,i,n)=>d(t,e,i,n),f.raw=t=>{if(u)return l(o),n({error:o,key:t,namespace:a});try{return ti(r,o,t,a)}catch(e){return c(t,m.MISSING_MESSAGE,e.message)}},f.has=t=>{if(u)return!1;try{return ti(r,o,t,a),!0}catch{return!1}},f}({...t,messagesOrError:e})},[i,r,o,u,c,l,n,a,h])}({"!":ta().messages},t?`!.${t}`:"!")}function tc(){return ta().locale}function td(){let{formats:t,formatters:e,locale:i,now:n,onError:r,timeZone:o}=ta();return(0,s.useMemo)(()=>(function(t){let{_cache:e=f(),_formatters:i=v(e),formats:n,locale:r,onError:s=te,timeZone:o}=t;function a(t){return t?.timeZone||(o?t={...t,timeZone:o}:s(new p(m.ENVIRONMENT_FALLBACK,void 0))),t}function l(t,e,i,n,r){let o;try{o=function(t,e,i){let n;if("string"==typeof e){if(!(n=t?.[e])){let t=new p(m.MISSING_FORMAT,void 0);throw s(t),t}}else n=e;return i&&(n={...n,...i}),n}(i,t,e)}catch{return r()}try{return n(o)}catch(t){return s(new p(m.FORMATTING_ERROR,t.message)),r()}}function h(t,e,s){return l(e,s,n?.dateTime,e=>(e=a(e),i.getDateTimeFormat(r,e).format(t)),()=>String(t))}function u(){return t.now?t.now:(s(new p(m.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:h,number:function(t,e,s){return l(e,s,n?.number,e=>i.getNumberFormat(r,e).format(t),()=>String(t))},relativeTime:function(t,e){try{var n;let s,o,a,l={};e instanceof Date||"number"==typeof e?s=new Date(e):e&&(s=null!=e.now?new Date(e.now):u(),o=e.unit,l.style=e.style,l.numberingSystem=e.numberingSystem),s||(s=u());let h=(new Date(t).getTime()-s.getTime())/1e3;o||(o=(a=Math.abs(h))<60?"second":a<3600?"minute":a<86400?"hour":a<604800?"day":a<2628e3?"week":a<31536e3?"month":"year"),l.numeric="second"===o?"auto":"always";let c=(n=o,Math.round(h/tn[n]));return i.getRelativeTimeFormat(r,l).format(c,o)}catch(e){return s(new p(m.FORMATTING_ERROR,e.message)),String(t)}},list:function(t,e,s){let o=[],a=new Map,h=0;for(let e of t){let t;"object"==typeof e?(t=String(h),a.set(t,e)):t=String(e),o.push(t),h++}return l(e,s,n?.list,t=>{let e=i.getListFormat(r,t).formatToParts(o).map(t=>"literal"===t.type?t.value:a.get(t.value)||t.value);return a.size>0?e:e.join("")},()=>String(t))},dateTimeRange:function(t,e,s,o){return l(s,o,n?.dateTime,n=>(n=a(n),i.getDateTimeFormat(r,n).formatRange(t,e)),()=>[h(t),h(e)].join(" – "))},displayName:function(t,e,s){return l(e,s,n?.displayName,e=>i.getDisplayNames(r,e).of(t),()=>t)}}})({formats:t,locale:i,now:n,onError:r,timeZone:o,_formatters:e}),[t,e,n,i,r,o])}},10583:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(51469);function r(t){return(0,n.S)(t)?t.get():t}},10887:(t,e,i)=>{i.d(e,{Uu:()=>s});var n=i(25620);let r="u">typeof window;function s(){if(n.r.current=!0,r)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>n.O.current=t.matches;t.addEventListener("change",e),e()}else n.O.current=!1}},11035:(t,e,i)=>{i.d(e,{X:()=>n});
3class n{constructor(t){this.isMounted=!1,this.node=t}update(){}}},11048:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>h,px:()=>o,uj:()=>r,vh:()=>a,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),h={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},11136:(t,e,i)=>{i.d(e,{H:()=>s});var n=i(49637),r=i(11048);let s={rotate:r.uj,pathRotation:r.uj,rotateX:r.uj,rotateY:r.uj,rotateZ:r.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:r.uj,skewX:r.uj,skewY:r.uj,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:n.X4,originX:r.gQ,originY:r.gQ,originZ:r.px}},11493:(t,e,i)=>{i.d(e,{X:()=>n});function n(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}},11698:(t,e,i)=>{i.d(e,{Ib:()=>d,ry:()=>c,zs:()=>u});let n=t=>180*t/Math.PI,r=t=>o(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),h={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(n(Math.atan2(t[6],t[5]))),rotateY:t=>o(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function u(t){return+!!t.includes("scale")}function c(t,e){let i,n;if(!t||"none"===t)return u(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=h,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return u(e);let o=i[e],a=n[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let d=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return c(i,e)};function p(t){return parseFloat(t.trim())}},12266:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},12663:(t,e,i)=>{i.d(e,{L:()=>n});function n(t,e,i,r=0,s=1){let o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,l=(a-1)*r;return"function"==typeof i?i(o,a):1===s?o*r:l-o*r}},13031:(t,e,i)=>{i.d(e,{o:()=>y});var n=i(5556),r=i(38621),s=i(94712),o=i(78987),a=i(17964),l=i(26262);let h=.01,u=2,c=.005,d=.5;function p(t,e){return t*Math.sqrt(1-e*e)}let m=["duration","bounce"],f=["stiffness","damping","mass"];function g(t,e){return e.some(e=>void 0!==t[e])}function y(t=.3,e=.3){let i,l,v,b="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,E=b.keyframes[0],x=b.keyframes[b.keyframes.length-1],T={done:!1,value:E},{stiffness:S,damping:w,mass:P,duration:A,velocity:M,isResolvedFromDuration:B}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!g(t,f)&&g(t,m))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,s.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:o=1}){let a,l;(0,n.$)(t<=(0,r.f)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let h=1-e;h=(0,s.q)(.05,1,h),t=(0,s.q)(.01,10,(0,r.X)(t)),h<1?(a=e=>{let n=e*h,r=n*t;return .001-(n-i)/p(e,h)*Math.exp(-r)},l=e=>{let n=e*h*t,r=h*h*e*e*t,s=Math.exp(-n),o=p(e*e,h);return(n*i+i-r)*s*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),l=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(a,l,5/t);if(t=(0,r.f)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=u*u*o;return{stiffness:e,damping:2*h*Math.sqrt(o*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...b,velocity:-(0,r.X)(b.velocity||0)}),C=w/(2*Math.sqrt(S*P)),k=(0,r.X)(Math.sqrt(S/P)),H=C*k,L={target:x,delta:x-E,velocity:M||0,restSpeed:0,restDelta:0},R=()=>{let t=5>Math.abs(L.delta);L.restSpeed=b.restSpeed||(t?h:u),L.restDelta=b.restDelta||(t?c:d)};if(R(),C<1){let t=p(k,C),e={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};v=()=>{e.A=(L.velocity+H*L.delta)/t,e.sinC=H*e.A+L.delta*t,e.cosC=H*L.delta-e.A*t};let n=i=>{i!==e.t&&(e.t=i,e.env=Math.exp(-H*i),e.sin=Math.sin(t*i),e.cos=Math.cos(t*i))};i=t=>(n(t),L.target-e.env*(e.A*e.sin+L.delta*e.cos)),l=t=>(n(t),e.env*(e.sinC*e.sin+e.cosC*e.cos))}else if(1===C){i=t=>L.target-Math.exp(-k*t)*(L.delta+(L.velocity+k*L.delta)*t);let t={C:0};v=()=>{t.C=L.velocity+k*L.delta},l=e=>Math.exp(-k*e)*(k*t.C*e-L.velocity)}else{let t=k*Math.sqrt(C*C-1);i=e=>{let i=Math.exp(-H*e),n=Math.min(t*e,300);return L.target-i*((L.velocity+H*L.delta)*Math.sinh(n)+t*L.delta*Math.cosh(n))/t};let e={P:0,sinh:0,cosh:0};v=()=>{e.P=(L.velocity+H*L.delta)/t,e.sinh=H*e.P-L.delta*t,e.cosh=H*L.delta-e.P*t},l=i=>{let n=Math.exp(-H*i),r=Math.min(t*i,300);return n*(e.sinh*Math.sinh(r)+e.cosh*Math.cosh(r))}}v();let D=!g(b,f)&&g(b,m),I=B&&A||null,V={calculatedDuration:I,retarget:(t,e)=>
3{L.target=t[t.length-1],L.delta=L.target-t[0],L.velocity=D?0:-(0,r.X)(e),b.restSpeed&&b.restDelta||R(),V.calculatedDuration=I,T.done=!1,v()},velocity:t=>(0,r.f)(l(t)),next:t=>{let e=i(t);return B?T.done=t>=A:T.done=Math.abs((0,r.f)(l(t)))<=L.restSpeed&&Math.abs(L.target-e)<=L.restDelta,T.value=T.done?L.target:e,T},toString:()=>{let t=Math.min((0,a.t)(V),a.Y),e=(0,o.K)(e=>V.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return V}y.applyToOptions=t=>{let e=(0,l.X)(t,100,y);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},14432:(t,e,i)=>{i.d(e,{U:()=>o,m:()=>a});var n=i(27933),r=i(37035);function s(t,e){return{kind:t,animation:e,timestamp:r.k.now(),frameTimestamp:n.uv.timestamp,frameIsProcessing:n.uv.isProcessing}}function o(t,e,i){let n=globalThis.__MOTION_INSPECT__;if(n)try{n({...s("animation-start",t),options:i?{...e,...i}:e})}catch{}}function a(t,e){let i=globalThis.__MOTION_INSPECT__;if(i)try{i({...s("layout-animation-start",t),node:e})}catch{}}},15043:(t,e,i)=>{i.d(e,{I:()=>n});function n(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}},15131:(t,e,i)=>{i.d(e,{PresenceContext:()=>n});let n=(0,i(12115).createContext)(null)},16635:(t,e,i)=>{i.d(e,{i:()=>x});var n=i(25505);let r=(0,n.A)(.42,0,1,1),s=(0,n.A)(0,0,.58,1),o=(0,n.A)(.42,0,.58,1);var a=i(85843),l=i(5556),h=i(72025),u=i(25903),c=i(1406),d=i(89722),p=i(9331);let m={linear:h.l,easeIn:r,easeInOut:o,easeOut:s,circIn:d.po,circInOut:d.tn,circOut:d.yT,backIn:c.dg,backInOut:c.ZZ,backOut:c.Sz,anticipate:u.b},f=t=>{if((0,p.D)(t)){(0,l.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return(0,n.A)(e,i,r,s)}return"string"==typeof t?((0,l.V)(void 0!==m[t],`Invalid easing type '${t}'`,"invalid-easing-type"),m[t]):t};var g=i(28153),y=i(94712),v=i(21649),b=i(86075),E=i(59337);function x({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=(0,a.h)(n)?n.map(f):f(n),l={done:!1,value:e[0]};if(2===e.length&&!Array.isArray(s)&&(!i||2!==i.length||0===i[0]&&1===i[1])){let[i,n]=e,r=i===n?void 0:(g.W.mix||b.j)(i,n);return{calculatedDuration:t,next:e=>(l.value=r?r(s(t>0?(0,y.q)(0,1,e/t):1)):n,l.done=e>=t,l)}}let h=(r=i&&i.length===e.length?i:(0,E.Z)(e),r.map(e=>e*t)),u=(0,v.G)(h,e,{ease:Array.isArray(s)?s:e.map(()=>s||o).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=u(e),l.done=e>=t,l)}}},17042:(t,e,i)=>{i.d(e,{h:()=>y,q:()=>g});var n=i(74212),r=i(58974),s=i(83399),o=i(21023),a=i(68808),l=i(32766),h=i(27933);let u=new Set,c=!1,d=!1,p=!1;function m(){if(d){let t=[],e=new Set,i=new Set;u.forEach(n=>{n.needsMeasurement&&(t.push(n),e.add(n.element),l.dB.has(n.name)&&i.add(n.element))});let n=new Map;i.forEach(t=>{let e=(0,l.W9)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}d=!1,c=!1,u.forEach(t=>t.complete(p)),u.clear()}function f(){u.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(d=!0)})}function g(){p=!0,f(),m(),p=!1}class y{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(u.add(this),c||(c=!0,h.Gt.read(f),h.Gt.resolveKeyframes(m))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:l}=this;if(null===t[0]){let a=l?.get(),h=t[t.length-1];if(void 0!==a)t[0]=a;else if(i&&e){let a=function(t,e,i){if("string"==typeof t){if((0,n.i)(t)||(0,r.$)(t))return parseFloat(t);else if(!s.f.test(t)&&s.f.test(i))return(0,o.J)(e,i)}return t??void 0}(i.readValue(e,h),e,h);void 0!==a&&(t[0]=a)}void 0===t[0]&&(t[0]=h),l&&void 0===a&&l.set(t[0])}(0,a.D)(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),u.delete(this)}cancel(){"scheduled"===this.state&&(u.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},17086:(t,e,i)=>{i.d(e,{a:()=>o,c:()=>r});let n=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function r(t){return n.has(t.tagName)||!0===t.isContentEditable}let s=new Set(["INPUT","SELECT","TEXTAREA"]);function o(t){return s.has(t.tagName)||!0===t.isContentEditable}},17611:(t,e,i)=>{i.d(e,{f:()=>s});var n=i(18844),r=i(56260);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,o))}}},17964:(t,e,i)=>{i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t,e=50,i=n,s){let o=0,a=t.next(o);for(s?.push(a.value);!a.done&&o<i;)o+=e,a=t.next(o),s?.push(a.value);return o>=i?1/0:o}},18844:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1}},19274:(t,e,i)=>{i.d(e,{zK:()=>s});var n=i(25952),r=i(21872);function s(t,{layout:e,layoutId:i}){return n.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.H[t]||"opacity"===t)}},19635:(t,e,i)=>{i.d(e,{n:()=>H});var n=i(27933),r=i(11035),s=i(77011),o=i(58392);function a(t,e){let i=(0,o.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}var l=i(69328);
3function h(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&n.Gt.postRender(()=>s(e,(0,l.e)(e)))}class u extends r.X{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,o]=a(t,i);return n.forEach(t=>{let i,n=!1,o=!1,a=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",h)},l=t=>{n=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),o&&(o=!1,a(t))},h=t=>{if("touch"!==t.pointerType){if(n){o=!0;return}a(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,s.D)())return;o=!1;let a=e(t,n);"function"==typeof a&&(i=a,t.addEventListener("pointerleave",h,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",l,r),window.addEventListener("pointercancel",l,r)},r)}),o}(t,(t,e)=>(h(this.node,e,"Start"),t=>h(this.node,t,"End"))))}unmount(){}}var c=i(31043),d=i(34017);class p extends r.X{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,d.F)((0,c.k)(this.node.current,"focus",()=>this.onFocus()),(0,c.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var m=i(78757);let f=(t,e)=>!!e&&(t===e||f(t,e.parentElement));var g=i(77866),y=i(17086);let v=new WeakSet;function b(t){return e=>{"Enter"===e.key&&t(e)}}function E(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function x(t){return(0,g.M)(t)&&!(0,s.D)()}let T=new WeakSet;function S(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=r["onTap"+("End"===i?"":i)];s&&n.Gt.postRender(()=>s(e,(0,l.e)(e)))}class w extends r.X{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,r,s]=a(t,i),o=t=>{let n=t.currentTarget;if(!x(t)||T.has(t))return;v.add(n),i.stopPropagation&&T.add(t);let s=e(n,t),o={...r,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",h,o),v.has(n)&&v.delete(n),x(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{a(t,n===window||n===document||i.useGlobalTarget||f(n,t.target))},h=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",h,o)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),(0,m.s)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=b(()=>{if(v.has(i))return;E(i,"down");let t=b(()=>{E(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>E(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),(0,y.c)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(S(this.node,e,"Start"),(t,{success:e})=>S(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let P=new WeakMap,A=new WeakMap,M=t=>{let e=P.get(t.target);e&&e(t)},B=t=>{t.forEach(M)},C={some:0,all:1};class k extends r.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:C[s]},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:n}=this.node.getProps(),r=e?i:n;r&&r(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;A.has(i)||A.set(i,{});
3let n=A.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(B,{root:t,...e})),n[r]}(a),P.set(t,l),e.observe(t),()=>{P.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(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let H={inView:{Feature:k},tap:{Feature:w},focus:{Feature:p},hover:{Feature:u}}},20754:(t,e,i)=>{i.d(e,{E:()=>a});var n=i(41720),r=i(16635),s=i(13031);let o={decay:n.B,inertia:n.B,tween:r.i,keyframes:r.i,spring:s.o};function a(t){"string"==typeof t.type&&(t.type=o[t.type])}},21023:(t,e,i)=>{i.d(e,{J:()=>l});var n=i(83399),r=i(48545),s=i(92255),o=i(47888);let a=new Set([r.p,s.d]);function l(t,e){let i=(0,o.D)(t);return a.has(i)||(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},21620:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},21649:(t,e,i)=>{i.d(e,{G:()=>u});var n=i(28153),r=i(72025),s=i(34017),o=i(5556),a=i(18844),l=i(94712),h=i(86075);function u(t,e,{clamp:i=!0,ease:c,mixer:d}={}){let p=t.length;if((0,o.V)(p===e.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let m=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let o=[],a=i||n.W.mix||h.j,l=t.length-1;for(let i=0;i<l;i++){let n=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.l:e;n=(0,s.F)(t,n)}o.push(n)}return o}(e,c,d),g=f.length,y=i=>{if(m&&i<t[0])return e[0];let n=0;if(g>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,a.q)(t[n],t[n+1],i);return f[n](r)};return i?e=>y((0,l.q)(t[0],t[p-1],e)):y}},21872:(t,e,i)=>{i.d(e,{H:()=>h});var n=i(33177),r=i(11048);function s(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let o={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!r.px.test(t))return t;else t=parseFloat(t);let i=s(t,e.target.x),n=s(t,e.target.y);return`${i}% ${n}%`}};var a=i(83399),l=i(56260);let h={borderRadius:{...o,applyTo:[...n.S]},borderTopLeftRadius:o,borderTopRightRadius:o,borderBottomLeftRadius:o,borderBottomRightRadius:o,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=a.f.parse(t);if(n.length>5)return t;let r=a.f.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,h=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=h;let u=(0,l.k)(o,h,.5);return"number"==typeof n[2+s]&&(n[2+s]/=u),"number"==typeof n[3+s]&&(n[3+s]/=u),r(n)}}}},24866:(t,e,i)=>{i.d(e,{MotionConfigContext:()=>n});let n=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},25354:(t,e,i)=>{i.d(e,{PY1:()=>r});var n=i(40914);i(1774);let r=n.P},25505:(t,e,i)=>{i.d(e,{A:()=>s});var n=i(72025);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){return t===e&&i===s?n.l:n=>0===n||1===n?n:r(function(t,e,i,n,s){let o,a,l=0;do(o=r(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a}(n,0,1,t,i),e,s)}},25620:(t,e,i)=>{i.d(e,{O:()=>n,r:()=>r});let n={current:null},r={current:!1}},25903:(t,e,i)=>{i.d(e,{b:()=>r});var n=i(1406);let r=t=>t>=1?1:(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},25952:(t,e,i)=>{i.d(e,{U:()=>n,f:()=>r});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set([...n,"pathRotation"])},26087:(t,e,i)=>{i.d(e,{N:()=>n});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},26262:(t,e,i)=>{i.d(e,{X:()=>s});var n=i(38621),r=i(17964);function s(t,e=100,i){let o=i({...t,keyframes:[0,e]}),a=Math.min((0,r.t)(o),r.Y);return{type:"keyframes",ease:t=>o.next(a*t).value/e,duration:(0,n.X)(a)}}},27669:(t,e,i)=>{function n({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(e,{FY:()=>n,bS:()=>s,pA:()=>r})},27933:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>a,WG:()=>s,uv:()=>o});var n=i(72025);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(57835).I)("u">typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},27994:(t,e,i)=>{i.d(e,{B:()=>l});var n=i(94712),r=i(49637),s=i(71939),o=i(82163);let a={...r.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},28153:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},28819:(t,e,i)=>{i.d(e,{useConstant:()=>r});var n=i(12115);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},29543:(t,e,i)=>{i.d(e,{W:()=>a});var n=i(49637);let r={...n.ai,transform:Math.round};var s=i(11048),o=i(11136);let a={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,inset:s.px,insetBlock:s.px,insetBlockStart:s.px,insetBlockEnd:s.px,insetInline:s.px,insetInlineStart:s.px,insetInlineEnd:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,paddingBlock:s.px,paddingBlockStart:s.px,paddingBlockEnd:s.px,paddingInline:s.px,paddingInlineStart:s.px,paddingInlineEnd:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,marginBlock:s.px,marginBlockStart:s.px,marginBlockEnd:s.px,marginInline:s.px,marginInlineStart:s.px,marginInlineEnd:s.px,fontSize:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...o.H,zIndex:r,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:r}},30123:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}}
3,30281:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(27994);let r={test:(0,i(82163).$)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.B.transform}},31043:(t,e,i)=>{i.d(e,{k:()=>n});function n(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)}},32766:(t,e,i)=>{i.d(e,{E4:()=>a,Hr:()=>p,W9:()=>u,dB:()=>c});var n=i(11698),r=i(25952),s=i(49637),o=i(11048);let a=t=>t===s.ai||t===o.px,l=new Set(["x","y","z"]),h=r.U.filter(t=>!l.has(t));function u(t){let e=[];return h.forEach(i=>{let n=t.getValue(i);if(void 0!==n){let t=n.get(),r=+!!i.startsWith("scale");if(t===r)return;e.push([i,t]),n.set(r)}}),e}let c=new Set(["bottom","right"]);function d(t,e,i,n,r,s){let o=parseFloat(t);if(!isNaN(o))return o;let{min:a,max:l}=e()[i],h=l-a;return"border-box"===s?h:h-parseFloat(n)-parseFloat(r)}let p={width:({width:t,paddingLeft:e="0",paddingRight:i="0",boxSizing:n},r)=>d(t,r,"x",e,i,n),height:({height:t,paddingTop:e="0",paddingBottom:i="0",boxSizing:n},r)=>d(t,r,"y",e,i,n),top:({top:t})=>parseFloat(t),left:({left:t})=>parseFloat(t),bottom:({top:t},e)=>{let{y:i}=e();return parseFloat(t)+(i.max-i.min)},right:({left:t},e)=>{let{x:i}=e();return parseFloat(t)+(i.max-i.min)},x:({transform:t})=>(0,n.ry)(t,"x"),y:({transform:t})=>(0,n.ry)(t,"y")};p.translateX=p.x,p.translateY=p.y},33140:(t,e,i)=>{i.d(e,{K:()=>r});var n=i(76792);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},33177:(t,e,i)=>{i.d(e,{S:()=>n});let n=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]},33411:(t,e,i)=>{function n(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function s(t){return r(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>s,vF:()=>o,vk:()=>r})}
3,34017:(t,e,i)=>{i.d(e,{F:()=>n});let n=(...t)=>t.reduce((t,e)=>i=>e(t(i)))},34095:(t,e,i)=>{i.d(e,{X:()=>n});function n(t){return[t("x"),t("y")]}},36381:(t,e,i)=>{i.d(e,{f:()=>K});var n=i(38621),r=i(28153),s=i(37035),o=i(34017),a=i(94712),l=i(86075),h=i(27933);let u=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>h.Gt.update(e,t),stop:()=>(0,h.WG)(e),now:()=>h.uv.isProcessing?h.uv.timestamp:s.k.now()}};var c=i(41720),d=i(16635),p=i(17964),m=i(45343),f=i(47736),g=i(20754),y=i(14432),v=i(40660);let b=t=>t/100;class E extends v.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==s.k.now()&&this.tick(s.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause(),(0,y.U)(this,this.options)}initAnimation(){let{options:t}=this;(0,g.E)(t);let{type:e=d.i,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,h=e||d.i;h!==d.i&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,o.F)(b,(0,l.j)(a[0],a[1])),a=[0,100]);let u=h(a===t.keyframes?t:{...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=h({...t,keyframes:[...a].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=(0,p.t)(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:r,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:h}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:d,repeat:p,repeatType:m,repeatDelay:g,type:y,onUpdate:v,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let E=this.currentTime-u*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?E<0:E>r;this.currentTime=Math.max(E,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let T=this.currentTime,S=n;if(p){let t=Math.min(this.currentTime,r)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===m?(i=1-i,g&&(i-=g/l)):"mirror"===m&&(S=o)),T=(0,a.q)(0,1,i)*l}x?(this.delayState.value=d[0],i=this.delayState):i=S.next(T),s&&!x&&(i.value=s(i.value));let{done:w}=i;x||null===h||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return P&&y!==c.B&&(i.value=(0,f.X)(d,this.options,b,this.speed)),v&&v(i.value),P&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,n.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,n.X)(t)}get time(){return(0,n.X)(this.currentTime)}set time(t){t=(0,n.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){return(0,m.Y)(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(s.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,n.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=u,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(s.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var x=i(17042),T=i(94980),S=i(3486),w=i(25903),P=i(1406),A=i(89722);let M={anticipate:w.b,backInOut:P.ZZ,circInOut:A.tn};class B extends S.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in M&&(t.ease=M[t.ease])}(t),(0,g.E)(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let l=new E({...o,autoplay:!1}),h=Math.max(10,s.k.now()-this.startTime),u=(0,a.q)(0,10,h-10),c=l.sample(h).value,{name:d}=this.options;r&&d&&(0,T.e)(r,d,c),e.setWithVelocity(l.sample(Math.max(0,h-u)).value,c,u),l.stop()}}var C=i(5556),k=i(70954),H=i(83399);let L=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(H.f.test(t)||"0"===t)&&!t.startsWith("url("));function R(t){t.duration=0,t.type="keyframes"}var D=i(96291),I=i(58584);
3let V=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,N=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),F=(0,D.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class O extends v.q{constructor(t){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=s.k.now();const{keyframes:e,name:i,motionValue:n,element:r}=t;t.autoplay??(t.autoplay=!0),t.delay??(t.delay=0),t.type??(t.type="keyframes"),t.repeat??(t.repeat=0),t.repeatDelay??(t.repeatDelay=0),t.repeatType??(t.repeatType="loop");const o=r?.KeyframeResolver||x.h;this.keyframeResolver=new o(e,(e,i,n)=>this.onKeyframesResolved(e,i,t,!n),i,n,r),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let o;this.keyframeResolver=void 0;let{name:a,type:l,velocity:h,delay:u,isHandoff:c,onUpdate:d}=i;this.resolvedAt=s.k.now();let p=!0;!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=L(r,e),a=L(s,e);return o&&a?function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,k.W)(i))&&n:(o!==a&&(0,C.$)(!1,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!1)}(t,a,l,h)&&(p=!1,(r.W.instantAnimations||!u)&&d?.((0,f.X)(t,i,e)),t[0]=t[t.length-1],R(i),i.repeat=0);let m=n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,{onComplete:g}=i;if(i.startTime??(i.startTime=m),i.finalKeyframe=e,i.keyframes=t,i.onComplete=()=>{g?.(),this.notifyFinished()},p&&!c&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o,keyframes:a}=t;if(!i||!(I.M.has(i)||N.has(i)))return!1;let l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:h,transformTemplate:u}=e.owner.getProps();return F()&&(I.M.has(i)||N.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&V.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!u)&&!h&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(i)){i.element=i.motionValue?.owner?.current;try{o=new B(i)}catch{o=new E(i)}}else o=new E(i);this.pendingTimeline&&(this.stopTimeline=o.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=o}get finished(){return this._animation?this._animation.finished:super.finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,x.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var _=i(75319),U=i(25952);let G={type:"spring",stiffness:500,damping:25,restSpeed:10},j={type:"keyframes",duration:.8},X={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},W=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),K=(t,e,i,s={},o,a)=>l=>{let u=(0,_.r)(s,t)||{},c=u.delay||s.delay||0,{elapsed:d=0}=s;d-=(0,n.f)(c);let p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...u,delay:-d,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:t,motionValue:e,element:a?void 0:o};!function(t){for(let e in t)if(!W.has(e))return!0;return!1}(u)&&Object.assign(p,((t,{keyframes:e})=>e.length>2?j:U.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:G:X)(t,p)),p.duration&&(p.duration=(0,n.f)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,n.f)(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let m=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(R(p),0===p.delay&&(m=!0)),(r.W.instantAnimations||r.W.skipAnimations||o?.shouldSkipAnimations||u.skipAnimations)&&(m=!0,R(p),p.delay=0),p.allowFlatten=!u.type&&!u.ease,m&&!a&&void 0!==e.get()){let t=(0,f.X)(p.keyframes,u);if(void 0!==t)return void h.Gt.update(()=>{p.onUpdate(t),p.onComplete()})}return u.isSync?new E(p):new O(p)}}
3,36721:(t,e,i)=>{i.d(e,{MotionContext:()=>n});let n=(0,i(12115).createContext)({})},37035:(t,e,i)=>{let n;i.d(e,{k:()=>a});var r=i(28153),s=i(27933);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},38243:(t,e,i)=>{i.d(e,{W:()=>E});var n=i(11035),r=i(38294),s=i(12663),o=i(63290),a=i(51129);let l=a._.length;var h=i(26087),u=i(91909),c=i(33140);function d(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let p=[...a.U].reverse(),m=a.U.length;function f(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function g(){return{animate:f(!0),whileInView:f(),whileHover:f(),whileTap:f(),whileDrag:f(),whileFocus:f(),exit:f()}}class y extends n.X{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,r._)(t,e,i))),i=g(),n=!0,f=!1,y=e=>(i,n)=>{let r=(0,c.K)(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function v(r){let{props:g}=t,v=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<l;t++){let n=a._[t],r=e.props[n];((0,o.w)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},b=[],E=new Set,x={},T=1/0;for(let e=0;e<m;e++){var S,w;let a=p[e],l=i[a],m=void 0!==g[a]?g[a]:v[a],P=(0,o.w)(m),A=a===r?l.isActive:null;!1===A&&(T=e);let M=m===v[a]&&m!==g[a]&&P;if(M&&(n||f)&&t.manuallyAnimateOnMount&&(M=!1),l.protectedKeys={...x},!l.isActive&&null===A||!m&&!l.prevProp||(0,h.N)(m)||"boolean"==typeof m)continue;if("exit"===a&&l.isActive&&!0!==A){l.prevResolvedValues&&(x={...x,...l.prevResolvedValues});continue}let B=(S=l.prevProp,"string"==typeof(w=m)?w!==S:!!Array.isArray(w)&&!d(w,S)),C=B||a===r&&l.isActive&&!M&&P||e>T&&P,k=!1,H=Array.isArray(m)?m:[m],L=H.reduce(y(a),{});!1===A&&(L={});let{prevResolvedValues:R={}}=l,D={...R,...L},I=e=>{C=!0,E.has(e)&&(k=!0,E.delete(e)),l.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in D){let e=L[t],i=R[t];if(!x.hasOwnProperty(t))((0,u.p)(e)&&(0,u.p)(i)?!d(e,i)||B:e!==i)?null!=e?I(t):E.add(t):void 0!==e&&E.has(t)?I(t):l.protectedKeys[t]=!0}l.prevProp=m,l.prevResolvedValues=L,l.isActive&&(x={...x,...L}),(n||f)&&t.blockInitialAnimation&&(C=!1);let V=M&&B,N=!V||k;C&&N&&b.push(...H.map(e=>{let i={type:a};if("string"==typeof e&&(n||f)&&!V&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=(0,c.K)(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=(0,s.L)(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(E.size){let e={};if("boolean"!=typeof g.initial){let i=(0,c.K)(t,Array.isArray(g.initial)?g.initial[0]:g.initial);i&&i.transition&&(e.transition=i.transition)}E.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),b.push({animation:e})}let P=!!b.length;return n&&(!1===g.initial||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(P=!1),n=!1,f=!1,P?e(b):Promise.resolve()}return{animateChanges:v,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=v(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=g(),f=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,h.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let v=0;class b extends n.X{constructor(){super(...arguments),this.id=v++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=(0,c.K)(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>
3{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let E={animation:{Feature:y},exit:{Feature:b}}},38294:(t,e,i)=>{i.d(e,{_:()=>g});var n=i(33140),r=i(75319),s=i(30123),o=i(9247),a=i(67119),l=i(61638),h=i(61151),u=i(36381),c=i(27933);let d="u">typeof window;function p(t,e,{delay:i=0,transitionOverride:n,type:m}={}){let{transition:f,transitionEnd:g,...y}=e,v=t.getDefaultTransition();f=f?(0,s.K)(f,v):v;let b=f?.reduceMotion,E=f?.skipAnimations;n&&(f=n);let x=[],T=m&&t.animationState&&t.animationState.getState()[m],S=f?.path;for(let e in S&&S.animateVisualElement(t,y,f,i,x),y){let n=t.getValue(e,t.latestValues[e]??null),s=y[e];if(void 0===s||T&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(T,e))continue;let a={delay:i,...(0,r.r)(f||{},e)};E&&(a.skipAnimations=!0);let p=n.get();if(void 0!==p&&!n.isAnimating()&&!Array.isArray(s)&&s===p&&!a.velocity){c.Gt.update(()=>n.set(s));continue}let m=!1;if(d&&window.MotionHandoffAnimation){let i=(0,h.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,c.Gt);null!==t&&(a.startTime=t,m=!0)}}(0,l.g)(t,e);let g=b??t.shouldReduceMotion;n.start((0,u.f)(e,n,s,g&&o.$.has(e)?{type:!1}:a,t,m));let v=n.animation;v&&x.push(v)}if(g){let e=()=>c.Gt.update(()=>{g&&(0,a.U)(t,g)});x.length?Promise.all(x).then(e):e()}return x}var m=i(12663);function f(t,e,i={}){let r=(0,n.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let o=r?()=>Promise.all(p(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(f(l,e,{...o,delay:i+("function"==typeof n?0:n)+(0,m.L)(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,r,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function g(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>f(t,e,i)));else if("string"==typeof e)r=f(t,e,i);else{let s="function"==typeof e?(0,n.K)(t,e,i.custom):e;r=Promise.all(p(t,s,i))}return r.then(()=>{t.notify("AnimationComplete",e)})}},38621:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},38873:(t,e,i)=>{i.d(e,{c:()=>r,k:()=>n});let{schedule:n,cancel:r}=(0,i(57835).I)(queueMicrotask,!1)},39551:(t,e,i)=>{i.d(e,{LayoutGroupContext:()=>n});let n=(0,i(12115).createContext)({})},39896:(t,e,i)=>{i.d(e,{j4:()=>r,pG:()=>o,rm:()=>l});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},40660:(t,e,i)=>{i.d(e,{q:()=>n});class n{constructor(){this.isResolved=!1}get finished(){return this._finished||(this._finished=this.isResolved?Promise.resolve():new Promise(t=>{this._resolve=t})),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(t,e){return this.finished.then(t,e)}}},40914:(t,e,i)=>{i.d(e,{P:()=>u});var n=i(50456),r=i(1774),s=i(38243),o=i(86981),a=i(19635),l=i(86830);let h={...s.W,...a.n,...o.$,...l.Z},u=(0,r.H)(h,n.J)},41720:(t,e,i)=>{i.d(e,{B:()=>r});var n=i(13031);function r({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:l,min:h,max:u,restDelta:c=.5,restSpeed:d}){let p,m,f=t[0],g={done:!1,value:f},y=i*e,v=f+y,b=void 0===l?v:l(v);b!==v&&(y=b-f);let E=t=>-y*Math.exp(-t/s),x=t=>{let e=E(t);g.done=Math.abs(e)<=c,g.value=g.done?b:b+e},T=t=>{let e;if((e=g.value)<h||e>u){var i;p=t,m=(0,n.o)({keyframes:[g.value,(i=g.value,void 0===h?u:void 0===u||Math.abs(h-i)<Math.abs(u-i)?h:u)],velocity:-E(t)/s*1e3,damping:o,stiffness:a,restDelta:c,restSpeed:d})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(m||void 0!==p||(e=!0,x(t),T(t)),void 0!==p&&t>=p)?m.next(t-p):(e||x(t),g)}}}},43261:(t,e,i)=>{i.d(e,{n:()=>n});let n="data-"+(0,i(15043).I)("framerAppearId")}
3,43891:(t,e,i)=>{i.d(e,{x:()=>s});var n=i(51469),r=i(19274);function s(t,e,i){let s=t.style,o=e?.style,a={};if(!s)return a;for(let e in s)((0,n.S)(s[e])||o&&(0,n.S)(o[e])||(0,r.zK)(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(a[e]=s[e]);return a}},44425:(t,e,i)=>{i.d(e,{B:()=>a,W:()=>o});var n=i(54714);let r={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"},o=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function a(t,{attrX:e,attrY:i,attrScale:l,pathLength:h,pathSpacing:u=1,pathOffset:c=0,...d},p,m,f){if((0,n.O)(t,d,m),p){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:g,style:y}=t;for(let t of o)void 0!==g[t]&&(y[t]=g[t],delete g[t]);(y.transform||g.transformOrigin)&&(y.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),y.transform&&(y.transformBox=f?.transformBox??"fill-box",delete g.transformBox),void 0!==e&&(g.x=e),void 0!==i&&(g.y=i),void 0!==l&&(g.scale=l),void 0!==h&&function(t,e,i=1,n=0,o=!0){t.pathLength=1;let a=o?r:s;t[a.offset]=`${-n}`,t[a.array]=`${e} ${i}`}(g,h,u,c,!1)}},44616:(t,e,i)=>{i.d(e,{O:()=>a,e:()=>o});var n=i(26087),r=i(63290),s=i(51129);function o(t){if((0,n.N)(t.animate))return!0;for(let e=0;e<s._.length;e++)if((0,r.w)(t[s._[e]]))return!0;return!1}function a(t){return!!(o(t)||t.variants)}},45343:(t,e,i)=>{i.d(e,{Y:()=>r});var n=i(79537);function r(t,e,i=0){var s,o;let a;return e<=0?i:t.velocity?t.velocity(e):(s=e=>t.next(e).value,o=t.next(e).value,a=Math.max(e-5,0),(0,n.f)(o-s(a),e-a))}},47736:(t,e,i)=>{i.d(e,{X:()=>r});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},s,o=1){let a=t.filter(n),l=o<0||e&&"loop"!==i&&e%2==1?0:a.length-1;return l&&void 0!==s?s:a[l]}},47888:(t,e,i)=>{i.d(e,{D:()=>a});var n=i(77054),r=i(48545),s=i(92255);let o={...i(29543).W,color:n.y,backgroundColor:n.y,outlineColor:n.y,fill:n.y,stroke:n.y,borderColor:n.y,borderTopColor:n.y,borderRightColor:n.y,borderBottomColor:n.y,borderLeftColor:n.y,filter:r.p,WebkitFilter:r.p,mask:s.d,WebkitMask:s.d},a=t=>o[t]},48545:(t,e,i)=>{i.d(e,{p:()=>l});var n=i(83399),r=i(21620);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.S)||[];if(!n)return t;let o=i.replace(n,""),a=+!!s.has(e);return n!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},49637:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>r,hs:()=>o});var n=i(94712);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},o={...r,default:1}},50456:(t,e,i)=>{i.d(e,{J:()=>A});var n=i(25952),r=i(47888),s=i(4287),o=i(51469),a=i(96653),l=i(80171);class h extends l.BX{constructor(){super(...arguments),this.KeyframeResolver=a.K}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,o.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var u=i(15043),c=i(44425);let d=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"]);var p=i(73148);function m(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}var f=i(85068);class g extends h{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.f.has(e)){let t=(0,r.D)(e);return t&&t.default||0}if(c.W.includes(e)){let i=getComputedStyle(t)[e];if("string"==typeof i&&i)return i.trim()}return e=d.has(e)?e:(0,u.I)(e),t.getAttribute(e)}
3scrapeMotionValuesFromProps(t,e,i){return(0,f.x)(t,e,i)}build(t,e,i){(0,c.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in m(t,e,void 0,n),e.attrs)t.setAttribute(d.has(i)?i:(0,u.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,p.n)(t.tagName),super.mount(t)}}var y=i(5556),v=i(39896),b=i(11698),E=i(93560),x=i(54714),T=i(43891);class S extends h{constructor(){super(...arguments),this.type="html",this.renderInstance=m}mount(t){(0,y.V)(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(n.f.has(e))return this.projection?.isProjecting?(0,b.zs)(e):(0,b.Ib)(t,e);{let i=window.getComputedStyle(t),n=((0,v.j4)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,E.m)(t,e)}build(t,e,i){(0,x.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,T.x)(t,e,i)}}var w=i(12115),P=i(95391);let A=(t,e)=>e.isSVG??(0,P.Q)(t)?new g(e):new S(e,{allowProjection:t!==w.Fragment})},51129:(t,e,i)=>{i.d(e,{U:()=>n,_:()=>r});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},51275:(t,e,i)=>{let n,r;i.d(e,{X:()=>m});var s=i(69028),o=i(58392);let a=new WeakMap,l=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:(0,s.x)(n)&&"getBBox"in n?n.getBBox()[e]:n[i],h=l("inline","width","offsetWidth"),u=l("block","height","offsetHeight");function c({target:t,borderBoxSize:e}){a.get(t)?.forEach(i=>{i(t,{get width(){return h(t,e)},get height(){return u(t,e)}})})}function d(t){t.forEach(c)}let p=new Set;function m(t,e){let i;return"function"==typeof t?(p.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};p.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{p.delete(t),p.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):(!n&&"u">typeof ResizeObserver&&(n=new ResizeObserver(d)),(i=(0,o.K)(t)).forEach(t=>{let i=a.get(t);i||(i=new Set,a.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=a.get(t);i?.delete(e),i?.size||n?.unobserve(t)})})}},51469:(t,e,i)=>{i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},51654:(t,e,i)=>{i.d(e,{C:()=>n});let n=new WeakMap},54714:(t,e,i)=>{i.d(e,{O:()=>h});var n=i(87546),r=i(29543),s=i(25952),o=i(39896);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=s.U.length;function h(t,e,i){let{style:h,vars:u,transformOrigin:c}=t,d=!1,p=!1;for(let t in e){let i=e[t];if(s.f.has(t)){d=!0;continue}if((0,o.j4)(t)){u[t]=i;continue}{let e=(0,n.e)(i,r.W[t]);t.startsWith("origin")?(p=!0,c[t]=e):h[t]=e}}if(!e.transform&&(d||i?h.transform=function(t,e,i){let o="",h=!0;for(let u=0;u<l;u++){let l=s.U[u],c=t[l];if(void 0===c)continue;let d=!0;if("number"==typeof c)d=c===+!!l.startsWith("scale");else{let t=parseFloat(c);d=l.startsWith("scale")?1===t:0===t}if(!d||i){let t=(0,n.e)(c,r.W[l]);if(!d){h=!1;let e=a[l]||l;o+=`${e}(${t}) `}i&&(e[l]=t)}}let u=t.pathRotation;return u&&(h=!1,o+=`rotate(${(0,n.e)(u,r.W.pathRotation)}) `),o=o.trim(),i?o=i(e,h?"":o):h&&(o="none"),o}(e,t.transform,i):h.transform&&(h.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;h.transformOrigin=`${t} ${e} ${i}`}}},56260:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},57835:(t,e,i)=>{i.d(e,{I:()=>s});var n=i(28153);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new Set,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(i.add(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0;let s=e;e=i,i=s,e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{setup:h,read:u,resolveKeyframes:c,preUpdate:d,update:p,preRender:m,render:f,postRender:g}=l,y=()=>{let r=n.W.useManualTiming,a=r?o.timestamp:performance.now();i=!1,r||(o.delta=s?1e3/60:Math.max(Math.min(a-o.timestamp,40),1)),o.timestamp=a,o.isProcessing=!0,h.process(o),u.process(o),c.process(o),d.process(o),p.process(o),m.process(o),f.process(o),g.process(o),o.isProcessing=!1,i&&e&&(s=!1,t(y))};return{schedule:r.reduce((e,n)=>{let r=l[n];return e[n]=(e,n=!1,a=!1)=>(!i&&(i=!0,s=!0,o.isProcessing||t(y)),r.schedule(e,n,a)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:o,steps:l}}},58392:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}},58584:(t,e,i)=>{i.d(e,{M:()=>n});let n=new Set(["opacity","clipPath","filter","transform","backgroundColor"])},58974:(t,e,i)=>{i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},59299:(t,e,i)=>{i.d(e,{SwitchLayoutGroupContext:()=>n});let n=(0,i(12115).createContext)({})},59337:(t,e,i)=>{i.d(e,{Z:()=>r});var n=i(17611);function r(t){let e=[0];return(0,n.f)(e,t.length-1),e}},61151:(t,e,i)=>{i.d(e,{P:()=>r});var n=i(43261);function r(t){return t.props[n.n]}},61638:(t,e,i)=>{i.d(e,{g:()=>s});var n=i(28153),r=i(51469);function s(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e);if(!i&&n.W.WillChange){let i=new n.W.WillChange("auto");
3t.addValue("willChange",i),i.add(e)}}},63290:(t,e,i)=>{i.d(e,{w:()=>n});function n(t){return"string"==typeof t||Array.isArray(t)}},64704:(t,e,i)=>{i.d(e,{Y:()=>n});let n=(0,i(12115).createContext)({strict:!1})},65239:(t,e,i)=>{i.d(e,{useIsomorphicLayoutEffect:()=>r});var n=i(12115);let r="u">typeof window?n.useLayoutEffect:n.useEffect},66290:(t,e,i)=>{i.d(e,{Y:()=>s});var n=i(80171),r=i(80304);function s(t){let e=(0,r.j)();for(let i in t)e[i]={...e[i],...t[i]};(0,n.lr)(e)}},67119:(t,e,i)=>{i.d(e,{U:()=>o});var n=i(6900),r=i(33140),s=i(91909);function o(t,e){let{transitionEnd:i={},transition:o={},...a}=(0,r.K)(t,e)||{};for(let e in a={...a,...i}){var l;let i=(l=a[e],(0,s.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,n.OQ)(i))}}},68808:(t,e,i)=>{i.d(e,{D:()=>n});function n(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}},69028:(t,e,i)=>{i.d(e,{x:()=>r});var n=i(94601);function r(t){return(0,n.G)(t)&&"ownerSVGElement"in t}},69067:(t,e,i)=>{i.d(e,{P:()=>tH,i:()=>tk});var n=i(73852),r=i(94712),s=i(72025),o=i(72721),a=i(14432),l=i(61151),h=i(75319),u=i(38873),c=i(37035),d=i(21872),p=i(27933),m=i(69028),f=i(56260),g=i(6900),y=i(10583),v=i(11048),b=i(89722),E=i(18844),x=i(33177);let T=x.S.length,S=t=>"string"==typeof t?parseFloat(t):t,w=t=>"number"==typeof t||v.px.test(t);function P(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let A=B(0,.5,b.yT),M=B(.5,.95,s.l);function B(t,e,i){return n=>n<t?0:n>e?1:i((0,E.q)(t,e,n))}function C(t,e){t.min=e.min,t.max=e.max}function k(t,e){C(t.x,e.x),C(t.y,e.y)}function H(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var L=i(2988),R=i(99637);function D(t,e,i,n,r){return t-=e,t=(0,L.hq)(t,1/i,n),void 0!==r&&(t=(0,L.hq)(t,1/r,n)),t}function I(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(v.KN.test(e)&&(e=parseFloat(e),e=(0,f.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,f.k)(s.min,s.max,n);t===s&&(a-=e),t.min=D(t.min,e,i,a,r),t.max=D(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let V=["x","scaleX","originX"],N=["y","scaleY","originY"];function F(t,e,i,n){I(t.x,e,V,i?i.x:void 0,n?n.x:void 0),I(t.y,e,N,i?i.y:void 0,n?n.y:void 0)}var O=i(4287);function _(t){return 0===t.translate&&1===t.scale}function U(t){return _(t.x)&&_(t.y)}function G(t,e){return t.min===e.min&&t.max===e.max}function j(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function X(t,e){return j(t.x,e.x)&&j(t.y,e.y)}function W(t){return(0,R.CQ)(t.x)/(0,R.CQ)(t.y)}function K(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var $=i(78170);class Y{constructor(){this.members=[]}add(t){(0,$.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,$.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,$.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:r}=t.options;(void 0===n||n!==r)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var z=i(34095);let q=(t,e)=>t.depth-e.depth;class Z{constructor(){this.children=[],this.isDirty=!1}add(t){(0,$.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,$.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(q),this.isDirty=!1,this.children.forEac
3h(t)}}var Q=i(33411),J=i(79626);let tt=["","X","Y","Z"],te=0;function ti(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function tn({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:b}){return class{constructor(t={},i=e?.()){this.id=te++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(to),this.nodes.forEach(tf),this.nodes.forEach(tg),this.nodes.forEach(ta)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new Z)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new n.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,m.x)(e)&&(!(0,m.x)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;p.Gt.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,s;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=c.k.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&((0,p.WG)(s),r())},p.Gt.setup(s,!0),i=()=>(0,p.WG)(s),J.w.hasAnimatedSinceResize&&(J.w.hasAnimatedSinceResize=!1,this.nodes.forEach(tm))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||tT,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!X(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,h.r)(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||tm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,p.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ty),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 n=(0,l.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",p.Gt,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}
3(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(tu),this.nodes.forEach(th);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tc);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(td),this.nodes.forEach(tp),this.nodes.forEach(tr),this.nodes.forEach(ts)):this.nodes.forEach(tc),this.clearAllSnapshots();let t=c.k.now();p.uv.delta=(0,r.q)(0,1e3/60,t-p.uv.timestamp),p.uv.timestamp=t,p.uv.isProcessing=!0,p.PP.update.process(p.uv),p.PP.preRender.process(p.uv),p.PP.render.process(p.uv),p.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,u.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tl),this.sharedNodes.forEach(tv)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,p.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){p.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,R.CQ)(this.snapshot.measuredBox.x)||(0,R.CQ)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,O.ge)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!b)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!U(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,Q.HD)(this.latestValues)||r)&&(b(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),tP((e=n).x),tP(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,O.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tM))){let{scroll:t}=this.root;t&&((0,L.Ql)(e.x,t.offset.x),(0,L.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,O.ge)();if(k(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&k(e,t),(0,L.Ql)(e.x,r.offset.x),(0,L.Ql)(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||(0,O.ge)();k(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,L.Ql)(n.x,-i.scroll.offset.x),(0,L.Ql)(n.y,-i.scroll.offset.y)),(0,Q.HD)(i.latestValues)&&(0,L.Ww)(n,i.latestValues,i.layout?.layoutBox)}return(0,Q.HD)(this.latestValues)&&(0,L.Ww)(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=(0,O.ge)();k(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];(0,Q.HD)(n.latestValues)&&(n.instance&&((0,Q.vk)(n.latestValues)&&n.updateSnapshot(),k(i=(0,O.ge)(),n.measurePageBox())),F(e,n.latestValues,n.snapshot?.layoutBox,i))}return(0,Q.HD)(this.latestValues)&&F(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!==p.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=p.uv.timestamp;let s=this.getClosestProjectingParent();s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,O.ge)(),this.targetWithTransforms=(0,O.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,R.N)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):k(this.target,this.layout.layoutBox),(0,L.o4)(this.target,this.targetDelta)):k(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||(0,Q.vk)(this.parent.latestValues)||(0,Q.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,O.ge)(),this.relativeTargetOrigin=(0,O.ge)(),(0,R.jA)(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),k(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
3if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===p.uv.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;k(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;(0,L.OU)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,O.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(H(this.prevProjectionDelta.x,this.projectionDelta.x),H(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,R.vb)(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&K(this.projectionDelta.x,this.prevProjectionDelta.x)&&K(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,O.xU)(),this.projectionDelta=(0,O.xU)(),this.projectionDeltaWithTransform=(0,O.xU)()}setAnimationOrigin(t,e=!1,i){let n,r=this.snapshot,s=r?r.latestValues:{},o={...this.latestValues},a=(0,O.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=(0,O.ge)(),h=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(h&&!c&&!0===this.options.crossfade&&!this.path.some(tx));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,r=p?.(i);if(r?(a.x.translate=r.x,a.x.scale=(0,f.k)(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=r.y,a.y.scale=(0,f.k)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(tb(a.x,t.x,i),tb(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,m,g,y,b,E;(0,R.jA)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),g=this.relativeTarget,y=this.relativeTargetOrigin,b=l,E=i,tE(g.x,y.x,b.x,E),tE(g.y,y.y,b.y,E),n&&(u=this.relativeTarget,m=n,G(u.x,m.x)&&G(u.y,m.y))&&(this.isProjectionDirty=!1),n||(n=(0,O.ge)()),k(n,this.relativeTarget)}h&&(this.animationValues=o,function(t,e,i,n,r,s){r?(t.opacity=(0,f.k)(0,i.opacity??1,A(n)),t.opacityExit=(0,f.k)(e.opacity??1,0,M(n))):s&&(t.opacity=(0,f.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r<T;r++){let s=x.S[r],o=P(e,s),a=P(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||w(o)===w(a)?(t[s]=Math.max((0,f.k)(S(o),S(a),n),0),(v.KN.test(a)||v.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,f.k)(e.rotate||0,i.rotate||0,n))}(o,s,this.latestValues,i,d,c)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,p.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=p.Gt.update(()=>{J.w.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,g.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,o.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),(0,a.m)(this.currentAnimation,this),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,layout:i,latestValues:n}=t,{target:r}=t;if(e&&r&&i){if(this!==t&&this.layout&&i&&tA(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||(0,O.ge)();let e=(0,R.CQ)(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let i=(0,R.CQ)(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+i}k(e,r),(0,L.Ww)(e,n),(0,R.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Y),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
3return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&ti("z",t,n,this.animationValues);for(let e=0;e<tt.length;e++)ti(`rotate${tt[e]}`,t,n,this.animationValues),ti(`skew${tt[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,y.u)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,y.u)(e?.pointerEvents)||""),this.hasProjected&&!(0,Q.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:r,rotateX:s,rotateY:o,skewX:a,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotate(${r}deg) `),s&&(n+=`rotateX(${s}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,d.H){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=d.H[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,y.u)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(th),this.root.sharedNodes.clear()}}}function tr(t){t.updateLayout()}function ts(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;if("size"===r)(0,z.X)(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=(0,R.CQ)(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";C(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else tA(r,e.layoutBox,i)&&(0,z.X)(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=(0,R.CQ)(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,O.xU)();(0,R.vb)(o,i,e.layoutBox);let a=(0,O.xU)();s?(0,R.vb)(a,t.applyTransform(n,!0),e.measuredBox):(0,R.vb)(a,i,e.layoutBox);let l=!U(o),h=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=t.options.layoutAnchor||void 0,a=(0,O.ge)();(0,R.jA)(a,e.layoutBox,r.layoutBox,o);let l=(0,O.ge)();(0,R.jA)(l,i,s.layoutBox,o),X(a,l)||(h=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function to(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
3isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ta(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tl(t){t.clearSnapshot()}function th(t){t.clearMeasurements()}function tu(t){t.isLayoutDirty=!0,t.updateLayout()}function tc(t){t.isLayoutDirty=!1}function td(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function tp(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tm(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tf(t){t.resolveTargetDelta()}function tg(t){t.calcProjection()}function ty(t){t.resetSkewAndRotation()}function tv(t){t.removeLeadSnapshot()}function tb(t,e,i){t.translate=(0,f.k)(e.translate,0,i),t.scale=(0,f.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tE(t,e,i,n){t.min=(0,f.k)(e.min,i.min,n),t.max=(0,f.k)(e.max,i.max,n)}function tx(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tT={duration:.45,ease:[.4,0,.1,1]},tS=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tw=tS("applewebkit/")&&!tS("chrome/")?Math.round:s.l;function tP(t){t.min=tw(t.min),t.max=tw(t.max)}function tA(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,R.HQ)(W(e),W(i),.2)}function tM(t){return t!==t.root&&t.scroll?.wasRoot}var tB=i(31043);let tC=tn({attachResizeListener:(t,e)=>(0,tB.k)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),tk={current:void 0},tH=tn({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tk.current){let t=new tC({});t.mount(window),t.setOptions({layoutScroll:!0}),tk.current=t}return tk.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position})},69166:(t,e,i)=>{i.d(e,{J:()=>r,d:()=>s});var n=i(7145);let r=(0,n.J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),s=(0,n.J)(()=>void 0!==window.ViewTimeline,"viewTimeline")},69328:(t,e,i)=>{i.d(e,{F:()=>s,e:()=>r});var n=i(77866);function r(t){return{point:{x:t.pageX,y:t.pageY}}}let s=t=>e=>(0,n.M)(e)&&t(e,r(e))},70954:(t,e,i)=>{i.d(e,{W:()=>n});function n(t){return"function"==typeof t&&"applyToOptions"in t}},71939:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},72025:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},72721:(t,e,i)=>{i.d(e,{z:()=>o});var n=i(36381),r=i(6900),s=i(51469);function o(t,e,i){let o=(0,s.S)(t)?t:(0,r.OQ)(t);return o.start((0,n.f)("",o,e,i)),o.animation}},73148:(t,e,i)=>{i.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},73516:(t,e,i)=>{i.d(e,{v:()=>n});let n=t=>t.startsWith("--")},73852:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(78170);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>this.remove(t)}remove(t){(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},74212:(t,e,i)=>{i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},75319:(t,e,i)=>{i.d(e,{r:()=>r});var n=i(30123);function r(t,e){let i=t?.[e]??t?.default??t;return i!==t?(0,n.K)(i,t):i}},75887:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},76792:(t,e,i)=>{function n(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function r(t,e,i,r){if("function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}return e}i.d(e,{a:()=>r})},77011:(t,e,i)=>{i.d(e,{D:()=>r,I:()=>n});let n={x:!1,y:!1};function r(){return n.x||n.y}},77054:(t,e,i)=>{i.d(e,{y:()=>o});var n=i(30281),r=i(88158),s=i(27994);let o={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},77866:(t,e,i)=>{i.d(e,{M:()=>n});let n=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},78170:(t,e,i)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function s([...t],e,i){let n=e<0?t.length+e:e;if(n>=0&&n<t.length){let n=i<0?t.length+i:i,[r]=t.splice(e,1);t.splice(n,0,r)}return t}i.d(e,{Ai:()=>r,Kq:()=>n,Pe:()=>s})},78757:(t,e,i)=>{i.d(e,{s:()=>r});var n=i(94601);function r(t){return(0,n.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},78987:(t,e,i)=>{i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},79196:(t,e,i)=>{i.d(e,{useIsPresent:()=>o,usePresence:()=>s});var n=i(12115),r=i(15131);function s(t=!0){let e=(0,n.useContext)(r.PresenceContext);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,n.useId)();(0,n.useEffect)(()=>
3{if(t)return a(l)},[t]);let h=(0,n.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,h]:[!0]}function o(){var t;return null===(t=(0,n.useContext)(r.PresenceContext))||t.isPresent}},79537:(t,e,i)=>{i.d(e,{f:()=>n});let n=(t,e)=>e?1e3/e*t:0},79569:(t,e,i)=>{i.d(e,{createMotionComponent:()=>V});var n=i(95155),r=i(12115),s=i(39551),o=i(64704),a=i(24866),l=i(36721),h=i(44616),u=i(63290);function c(t){return Array.isArray(t)?t.join(" "):t}var d=i(51469),p=i(19274),m=i(54714);let f=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function g(t,e,i){for(let n in e)(0,d.S)(e[n])||(0,p.zK)(n,i)||(t[n]=e[n])}var y=i(44425),v=i(73148);let b=()=>({...f(),attrs:{}}),E=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function x(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||E.has(t)}var T=i(95391),S=i(43891),w=i(91378);let P=(0,w.makeUseVisualState)({scrapeMotionValuesFromProps:S.x,createRenderState:f});var A=i(85068);let M=(0,w.makeUseVisualState)({scrapeMotionValuesFromProps:A.x,createRenderState:b});var B=i(80304),C=i(66290);let k=Symbol.for("motionComponentSymbol");var H=i(43261),L=i(15131),R=i(59299),D=i(11493),I=i(65239);function V(t,{forwardMotionProps:e=!1,type:i}={},p,E){p&&(0,C.Y)(p);let S=i?"svg"===i:(0,T.Q)(t),w=S?M:P;function A(i,p){var P;let A,M,C,k={...(0,r.useContext)(a.MotionConfigContext),...i,layoutId:function({layoutId:t}){let e=(0,r.useContext)(s.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:V,isValidProp:N}=k,F=function(t){let{initial:e,animate:i}=function(t,e){if((0,h.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,u.w)(e)?e:void 0,animate:(0,u.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(l.MotionContext));return(0,r.useMemo)(()=>({initial:e,animate:i}),[c(e),c(i)])}(i),O=w(i,V);if(!V&&"u">typeof window){(0,r.useContext)(o.Y).strict;let e=function(t){let{drag:e,layout:i}=(0,B.j)();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(k);A=e.MeasureLayout,F.visualElement=function(t,e,i,n,s,h){let{visualElement:u}=(0,r.useContext)(l.MotionContext),c=(0,r.useContext)(o.Y),d=(0,r.useContext)(L.PresenceContext),p=(0,r.useContext)(a.MotionConfigContext),m=p.reducedMotion,f=p.skipAnimations,g=(0,r.useRef)(null),y=(0,r.useRef)(!1);n=n||c.renderer,!g.current&&n&&(g.current=n(t,{visualState:e,parent:u,props:i,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:h}),y.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let v=g.current,b=(0,r.useContext)(R.SwitchLayoutGroupContext);v&&!v.projection&&s&&("html"===v.type||"svg"===v.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&(0,D.X)(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(g.current,i,s,b);let E=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{v&&E.current&&v.update(i,d)});let x=i[H.n],T=(0,r.useRef)(!!x&&"u">typeof window&&!window.MotionHandoffIsComplete?.(x)&&window.MotionHasOptimisedAnimation?.(x));return(0,I.useIsomorphicLayoutEffect)(()=>{y.current=!0,v&&(E.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),T.current&&v.animationState&&v.animationState.animateChanges())}),(0,r.useEffect)(()=>{v&&(!T.current&&v.animationState&&v.animationState.animateChanges(),T.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(x)}),T.current=!1),v.enteringChildren=void 0)}),v}(t,O,k,E,e.ProjectionNode,S)}return(0,n.jsxs)(l.MotionContext.Provider,{value:F,children:[A&&F.visualElement?(0,n.jsx)(A,{visualElement:F.visualElement,...k}
3):null,function(t,e,i,{latestValues:n},s,o=!1,a,l){let h=(a??(0,T.Q)(t)?function(t,e,i,n){let s=(0,r.useMemo)(()=>{let i=b();return(0,y.B)(i,e,(0,v.n)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};g(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,n,s={},o=(i=t.style||{},g(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,r.useMemo)(()=>{let i=f();return(0,m.O)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=o,s})(e,n,s,t),u=function(t,e,i,n){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&!(0,d.S)(t[s])&&((s.startsWith("on")?!x(s):n?.(s)??!x(s))||!0===i&&x(s)||!e&&!x(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(e,"string"==typeof t,o,l),c=t!==r.Fragment?{...u,...h,ref:i}:{},{children:p}=e,E=(0,r.useMemo)(()=>(0,d.S)(p)?p.get():p,[p]);return(0,r.createElement)(t,{...c,children:E})}(t,i,(P=F.visualElement,M=(0,r.useRef)(p),(0,r.useInsertionEffect)(()=>{M.current=p}),C=(0,r.useRef)(null),(0,r.useCallback)(t=>{t&&O.onMount?.(t),P&&(t?P.mount(t):P.unmount());let e=M.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(C.current=i)}else C.current?(C.current(),C.current=null):e(t);else e&&(e.current=t)},[P])),O,V,e,S,N)]})}A.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let N=(0,r.forwardRef)(A);return N[k]=t,N}},79626:(t,e,i)=>{i.d(e,{w:()=>n});let n={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},80171:(t,e,i)=>{i.d(e,{BX:()=>B,vK:()=>M,lr:()=>A});var n=i(38621),r=i(74212),s=i(58974),o=i(73852),a=i(17042),l=i(3486),h=i(58584),u=i(38873),c=i(37035),d=i(4287),p=i(6900),m=i(83399),f=i(21023),g=i(51469),y=i(51654),v=i(44616),b=i(25952),E=i(10887),x=i(76792),T=i(25620),S=i(27933);let w=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],P={};function A(t){P=t}function M(){return P}class B{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=a.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=c.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,S.Gt.render(this.render,!1,!0))};const{latestValues:h,renderState:u}=o;this.latestValues=h,this.baseTarget={...h},this.initialValues=e.initial?{...h}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,v.e)(e),this.isVariantNode=(0,v.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in p){const e=p[t];void 0!==h[t]&&(0,g.S)(e)&&e.set(h[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,y.C.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
3h((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(T.r.current||(0,E.Uu)(),this.shouldReduceMotion=T.O.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,S.WG)(this.notifyUpdate),(0,S.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&h.M.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:s,ease:o,duration:a}=e.accelerate,h=new l.m({element:this.current,name:t,keyframes:r,times:s,ease:o,duration:(0,n.f)(a)}),u=i(h);this.valueSubscriptions.set(t,()=>{u(),h.cancel()});return}let r=b.f.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&S.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in P){let e=P[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,d.ge)()}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<w.length;e++){let i=w[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,g.S)(r))t.addValue(n,r);else if((0,g.S)(s))t.addValue(n,(0,p.OQ)(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,p.OQ)(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,p.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&((0,r.i)(i)||(0,s.$)(i))?i=parseFloat(i):"number"!=typeof i&&!m.f.test(i)&&m.f.test(e)&&(i=(0,f.J)(t,e)),this.setBaseTarget(t,(0,g.S)(i)?i.get():i)),(0,g.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,x.a)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,g.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new o.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){u.k.render(this.render)}}},80304:(t,e,i)=>{i.d(e,{j:()=>o});var n=i(80171);let r={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"]},s=!1;function o(){return!function(){if(s)return;let t={};for(let e in r)t[e]={isEnabled:t=>r[e].some(e=>!!t[e])};(0,n.lr)(t),s=!0}(),(0,n.vK)()}},82163:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>o});var n=i(21620);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},82801:(t,e,i)=>{i.r(e),i.d(e,{MeasureLayout:()=>p});var n=i(95155),r=i(79626),s=i(27933),o=i(38873),a=i(12115),l=i(79196),h=i(39551),u=i(59299);let c=!1;class d extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&n&&i.register(s),c&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),r.w.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:o}=i;return o&&(o.isPresent=r,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),c=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?o.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?o.promote():o.relegate()||s.Gt.postRender(()=>
3{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),o.k.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;c=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function p(t){let[e,i]=(0,l.usePresence)(),r=(0,a.useContext)(h.LayoutGroupContext);return(0,n.jsx)(d,{...t,layoutGroup:r,switchLayoutGroup:(0,a.useContext)(u.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}},83399:(t,e,i)=>{i.d(e,{Vf:()=>d,f:()=>m,nK:()=>c});var n=i(77054),r=i(21620),s=i(71939);let o=new RegExp(r.S.source),a=RegExp(/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu.source,"i"),l="number",h="color",u=/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();return o.test(e)||a.test(e)}function d(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,a=e.replace(u,t=>(n.y.test(t)?(r.color.push(o),s.push(h),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(l),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:a,indexes:r,types:s}}function p({split:t,types:e}){let i=t.length;return r=>{let o="";for(let a=0;a<i;a++)if(o+=t[a],void 0!==r[a]){let t=e[a];t===l?o+=(0,s.a)(r[a]):t===h?o+=n.y.transform(r[a]):o+=r[a]}return o}}let m={test:function(t){return isNaN(t)&&"string"==typeof t&&(o.test(t)||a.test(t))},parse:function(t){return d(t).values},createTransformer:function(t){return p(d(t))},getAnimatableNone:function(t){let e=d(t);return p(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t)(t,e.split[i])))}}},85068:(t,e,i)=>{i.d(e,{x:()=>o});var n=i(51469),r=i(25952),s=i(43891);function o(t,e,i){let o=(0,s.x)(t,e,i);for(let i in t)((0,n.S)(t[i])||(0,n.S)(e[i]))&&(o[-1!==r.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}},85843:(t,e,i)=>{i.d(e,{h:()=>n});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},86075:(t,e,i)=>{i.d(e,{j:()=>A});var n=i(71939),r=i(34017),s=i(5556),o=i(39896),a=i(77054),l=i(83399),h=i(30281),u=i(88158);function c(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var d=i(27994);function p(t,e){return i=>i>0?e:t}var m=i(56260);let f=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},g=[h.u,d.B,u.V];function y(t){let e=g.find(e=>e.test(t));if(!e)return(0,s.$)(!1,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!1;let i=e.parse(t);return e===u.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=c(a,n,t+1/3),s=c(a,n,t),o=c(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let v=(t,e)=>{let i=y(t),n=y(e);if(!i||!n)return p(t,e);let r={...i};return t=>(r.red=f(i.red,n.red,t),r.green=f(i.green,n.green,t),r.blue=f(i.blue,n.blue,t),r.alpha=(0,m.k)(i.alpha,n.alpha,t),d.B.transform(r))},b=new Set(["none","hidden"]);function E(t,e){return i=>(0,m.k)(t,e,i)}function x(t){return"number"==typeof t?E:"string"==typeof t?(0,o.pG)(t)?p:a.y.test(t)?v:w:Array.isArray(t)?T:"object"==typeof t?a.y.test(t)?v:S:p}function T(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>x(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function S(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=x(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let w=(t,e)=>{let i=l.f.createTransformer(e),n=(0,l.Vf)(t),o=(0,l.Vf)(e);if(!(n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length))return(0,s.$)(!0,`Complex values '${t}' and '${e}
3' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),p(t,e);if(b.has(t)&&!o.values.length||b.has(e)&&!n.values.length)return b.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,r.F)(T(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(n,o),o.values),i)},P=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function A(t,e,i){if("number"==typeof t&&"number"==typeof e&&"number"==typeof i)return(0,m.k)(t,e,i);if("string"==typeof t&&"string"==typeof e){let i=function(t,e){let i=P.exec(t);if(!i)return;let r=P.exec(e);if(!r||i[2]!==r[2])return;let s=i[2],o=parseFloat(i[1]),a=parseFloat(r[1]);return t=>(0,n.a)((0,m.k)(o,a,t))+s}(t,e);if(i)return i}return x(t)(t,e)}},86830:(t,e,i)=>{i.d(e,{Z:()=>s});var n=i(69067),r=i(82801);let s={layout:{ProjectionNode:n.P,MeasureLayout:r.MeasureLayout}}},86981:(t,e,i)=>{i.d(e,{$:()=>Y});var n=i(11035),r=i(72025),s=i(4287),o=i(77011),a=i(34095),l=i(11048),h=i(99637),u=i(27933),c=i(61638),d=i(93560),p=i(27669),m=i(36381),f=i(56260),g=i(17086),y=i(31043),v=i(51275),b=i(5556),E=i(69328);function x(t,e,i,n){return(0,y.k)(t,e,(0,E.F)(i),n)}let T=({current:t})=>t?t.ownerDocument.defaultView:null;var S=i(11493),w=i(77866),P=i(34017),A=i(38621);let M=(t,e)=>Math.abs(t-e),B=new Set(["auto","scroll"]);class C{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=k(this.lastRawMoveEventInfo,this.transformPagePoint));let i=L(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(M(t.x,e.x)**2+M(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=u.uv;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=k(e,this.transformPagePoint),u.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=L("pointercancel"===t.type?this.lastMoveEventInfo:k(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!(0,w.M)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const a=k((0,E.e)(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=u.uv;this.history=[{...l,timestamp:h}];const{onSessionStart:c}=e;c&&c(t,L(a,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,P.F)(x(this.contextWindow,"pointermove",this.handlePointerMove,d),x(this.contextWindow,"pointerup",this.handlePointerUp,d),x(this.contextWindow,"pointercancel",this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(B.has(t.overflowX)||B.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),u.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,u.WG)(this.updatePoint)}}function k(t,e){return e?{point:e(t.point)}:t}function H(t,e){return{x:t.x-e.x,y:t.y-e.y}}function L({point:t},e){return{point:t,delta:H(t,R(e)),offset:H(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=R(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,A.f)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>2*(0,A.f)(.1)&&(i=t[1]);let r=(0,A.X)(n.timestamp-i.timestamp);if(0===r)return{x:0,y:0};let s={x:(n.x-i.x)/r,y:(n.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function R(t){return t[t.length-1]}var D=i(18844),I=i(94712);function V(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function N(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function F(t,e,i){return{min:O(t,e),max:O(t,i)}}function O(t,e){return"number"==typeof t?t:t[e]||0}let _=new WeakMap;class U{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,s.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e&&this.snapToCursor((0,E.e)(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(o.I[t])return null;else return o.I[t]=!0,()=>{o.I[t]=!1};return o.I.x||o.I.y?null:(o.I.x=o.I.y=!0,()=>{o.I.x=o.I.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,a.X)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(l.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
3n&&(e=(0,h.CQ)(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&u.Gt.update(()=>r(t,e),!1,!0),(0,c.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},d=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&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(),s&&u.Gt.update(()=>s(t,e),!1,!0)},p=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:f}=this.getProps();this.panSession=new C(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:p,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:f,distanceThreshold:i,contextWindow:T(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&u.Gt.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!j(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,f.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,f.k)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&(0,S.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:V(t.x,i,r),y:V(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:F(t,"left","right"),y:F(t,"top","bottom")}}(e),n!==this.constraints&&!(0,S.X)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.X)(t=>{var e,n;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,S.X)(e))return!1;let n=e.current;(0,b.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let s=(0,d.L)(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:N(t.x,s.x),y:N(t.y,s.y)});if(i){let t=i((0,p.pA)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,p.FY)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.X)(o=>{if(!j(o,e,this.currentDirection))return;let a=l&&l[o]||{};(!0===s||s===o)&&(a={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...a};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,c.g)(this.visualElement,t),i.start((0,m.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,a.X)(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){(0,a.X)(e=>{let{drag:i}=this.getProps();if(!j(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-(0,f.k)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,S.X)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,a.X)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let s,o,a,l=e.get();n[t]=(i={min:l,max:l},r=this.constraints[t],s=.5,o=(0,h.CQ)(i),(a=(0,h.CQ)(r))>o?s=(0,D.q)(r.min,r.max-o,i.min):o>a&&(s=(0,D.q)(i.min,i.max-a,r.min)),(0,I.q)(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.X)(e=>{if(!j(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,f.k)(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;_.set(this.visualElement,this);let e=this.visualElement.current,i=x(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}
3=this.getProps(),r=t.target,s=r!==e&&(0,g.a)(r);i&&n&&!s&&this.start(t)}),n=()=>{var i,n,r;let s,o,{dragConstraints:a}=this.getProps();(0,S.X)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,r=()=>this.scalePositionWithinConstraints(),s=(0,v.X)(i,G(r)),o=(0,v.X)(n,G(r)),t=()=>{s(),o()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),u.Gt.read(n);let o=(0,y.k)(window,"resize",()=>this.scalePositionWithinConstraints()),l=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,a.X)(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),l&&l(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function G(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function j(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class X extends n.X{constructor(t){super(t),this.removeGroupControls=r.l,this.removeListeners=r.l,this.controls=new U(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||r.l}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let W=t=>(e,i)=>{t&&u.Gt.update(()=>t(e,i),!1,!0)};class K extends n.X{constructor(){super(...arguments),this.removePointerDownListener=r.l}onPointerDown(t){this.session=new C(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:T(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:W(t),onStart:W(e),onMove:W(i),onEnd:(t,e)=>{delete this.session,n&&u.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=x(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var $=i(82801);let Y={pan:{Feature:K},drag:{Feature:X,ProjectionNode:i(69067).P,MeasureLayout:$.MeasureLayout}}},87546:(t,e,i)=>{i.d(e,{e:()=>n});let n=(t,e)=>e&&"number"==typeof t?e.transform(t):t},88158:(t,e,i)=>{i.d(e,{V:()=>a});var n=i(49637),r=i(11048),s=i(71939),o=i(82163);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(o))+")"}},89722:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var n=i(75887),r=i(12266);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.G)(s),a=(0,n.V)(s)},91378:(t,e,i)=>{i.d(e,{makeUseVisualState:()=>c});var n=i(10583),r=i(44616),s=i(26087),o=i(76792),a=i(12115),l=i(36721),h=i(15131),u=i(28819);let c=t=>(e,i)=>{let c=(0,a.useContext)(l.MotionContext),d=(0,a.useContext)(h.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,a,l){return{latestValues:function(t,e,i,a){let l={},h=a(t,{});for(let t in h)l[t]=(0,n.u)(h[t]);let{initial:u,animate:c}=t,d=(0,r.e)(t),p=(0,r.O)(t);e&&p&&!d&&!1!==t.inherit&&(void 0===u&&(u=e.initial),void 0===c&&(c=e.animate));let m=!!i&&!1===i.initial,f=(m=m||!1===u)?c:u;if(f&&"boolean"!=typeof f&&!(0,s.N)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let n=(0,o.a)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=m?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(i,a,l,t),renderState:e()}})(t,e,c,d);
3return i?p():(0,u.useConstant)(p)}},91909:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},92255:(t,e,i)=>{i.d(e,{d:()=>r});var n=i(83399);let r={...n.f,getAnimatableNone:t=>{let e=n.f.parse(t);return n.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}}},93560:(t,e,i)=>{i.d(e,{L:()=>o,m:()=>s});var n=i(27669),r=i(2988);function s(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function o(t,e,i){let n=s(t,i),{scroll:o}=e;return o&&((0,r.Ql)(n.x,o.offset.x),(0,r.Ql)(n.y,o.offset.y)),n}},94601:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>"object"==typeof t&&null!==t},94712:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},94980:(t,e,i)=>{i.d(e,{e:()=>r});var n=i(73516);function r(t,e,i){(0,n.v)(e)?t.style.setProperty(e,i):t.style[e]=i}},95391:(t,e,i)=>{i.d(e,{Q:()=>r});let n=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function r(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},96291:(t,e,i)=>{i.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},96653:(t,e,i)=>{i.d(e,{K:()=>v});var n=i(9247),r=i(49637),s=i(11048);let o=[r.ai,s.px,s.KN,s.uj,s.vw,s.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find(e=>e.test(t));var l=i(5556),h=i(74212),u=i(39896);let c=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var d=i(17042),p=i(58974),m=i(83399),f=i(21023);let g=new Set(["auto","none","0"]);var y=i(32766);class v extends d.h{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,u.pG)(n))){let r=function t(e,i,n=1){(0,l.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=c.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return(0,h.i)(t)?parseFloat(t):t}return(0,u.pG)(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!n.$.has(i)||2!==t.length)return;let[r,s]=t;if("number"==typeof r&&"number"==typeof s)return;let o=a(r),d=a(s);if((0,u.rm)(r)!==(0,u.rm)(s)&&y.Hr[i]){this.needsMeasurement=!0;return}if(o!==d)if((0,y.E4)(o)&&(0,y.E4)(d))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else y.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||(0,p.$)(n)))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!g.has(e)&&(0,m.nK)(e)&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]!==n&&(t[r]=(0,f.J)(i,n))}(t,i,e)}measure(){let{element:t,name:e}=this;return y.Hr[e](window.getComputedStyle(t.current),()=>t.measureViewportBox())}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&this.motionValue?.jump(n,!1)}measureEndState(){let{element:t,unresolvedKeyframes:e}=this;if(!t||!t.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let i=e.length-1,n=e[i];e[i]=this.measure(),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEac
3h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}},99637:(t,e,i)=>{i.d(e,{CQ:()=>r,HQ:()=>s,N:()=>h,jA:()=>c,vb:()=>a});var n=i(56260);function r(t){return t.max-t.min}function s(t,e,i){return Math.abs(t-e)<=i}function o(t,e,i,s=.5){t.origin=s,t.originPoint=(0,n.k)(e.min,e.max,t.origin),t.scale=r(i)/r(e),t.translate=(0,n.k)(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 a(t,e,i,n){o(t.x,e.x,i.x,n?n.originX:void 0),o(t.y,e.y,i.y,n?n.originY:void 0)}function l(t,e,i,s=0){t.min=(s?(0,n.k)(i.min,i.max,s):i.min)+e.min,t.max=t.min+r(e)}function h(t,e,i,n){l(t.x,e.x,i.x,n?.x),l(t.y,e.y,i.y,n?.y)}function u(t,e,i,s=0){let o=s?(0,n.k)(i.min,i.max,s):i.min;t.min=e.min-o,t.max=t.min+r(e)}function c(t,e,i,n){u(t.x,e.x,i.x,n?.x),u(t.y,e.y,i.y,n?.y)}}}]);
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.