1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[802],{625:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(5558);let i=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,s={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,s);return s},s=e=>{let t=(e=>e?i(e):i)(e),n=e=>(function(e,t=e=>e){let n=r.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return r.useDebugValue(n),n})(t,e);return Object.assign(n,t),n},o=e=>e?s(e):s},1315:(e,t,n)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=function(e){let{gaId:t,debugMode:n,dataLayerName:a="dataLayer",nonce:u}=e;return void 0===r&&(r=a),(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:"\n window['".concat(a,"'] = window['").concat(a,"'] || [];\n function gtag(){window['").concat(a,"'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '").concat(t,"' ").concat(n?",{ 'debug_mode': true }":"",");")},nonce:u}),(0,i.jsx)(o.default,{id:"_next-ga",src:"https://www.googletagmanager.com/gtag/js?id=".concat(t),nonce:u})]})},t.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(void 0===r)return void console.warn("@next/third-parties: GA has not been initialized");window[r]?window[r].push(arguments):console.warn("@next/third-parties: GA dataLayer ".concat(r," does not exist"))};let i=n(7798),s=n(5558),o=function(e){return e&&e.__esModule?e:{default:e}}(n(6056))},1421:(e,t,n)=>{"use strict";let r;n.d(t,{LazyMotion:()=>u,domAnimation:()=>nN});var i=n(7798),s=n(5558),o=n(4982),a=n(5968);function u(e){let{children:t,features:n,strict:r=!1}=e,[,u]=(0,s.useState)(!l(n)),c=(0,s.useRef)(void 0);if(!l(n)){let{renderer:e,...t}=n;c.current=e,(0,a.Y)(t)}return(0,s.useEffect)(()=>
1{l(n)&&n().then(e=>{let{renderer:t,...n}=e;(0,a.Y)(n),c.current=t,u(!0)})},[]),(0,i.jsx)(o.Y.Provider,{value:{renderer:c.current,strict:r},children:t})}function l(e){return"function"==typeof e}var c=n(5948),d=n(151);function f(e,t,n){let r=e.getProps();return(0,d.a)(r,t,void 0!==n?n:r.custom,e)}function h(e,t){return e?e[t]||e.default||e:void 0}var p=n(835);let m=new Set(["width","height","top","left","right","bottom",...p.U]);var v=n(7363),g=n(9444),y=n(7714);function b(){r=void 0}let w={now:()=>(void 0===r&&w.set(y.uv.isProcessing||g.W.useManualTiming?y.uv.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(b)}};class S{constructor(){this.subscriptions=[]}add(e){var t;return t=this.subscriptions,-1===t.indexOf(e)&&t.push(e),()=>(function(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)})(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let x={current:void 0};class E{constructor(e,t={}){this.version="12.4.11",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=w.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=w.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new S);let n=this.events[e].add(t);return"change"===e?()=>{n(),y.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return x.current&&x.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=w.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function A(e,t){return new E(e,t)}var M=n(7490),T=n(3460);function P(e){let t;return()=>(void 0===t&&(t=e()),t)}let O=P(()=>void 0!==window.ScrollTimeline);class C{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>O()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class k extends C{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}let _={current:!1};var V=n(8603);function j(e){return"function"==typeof e}function I(e,t){e.timeline=t,e.onfinish=null}let F=e=>Array.isArray(e)&&"number"==typeof e[0],N={linearEasing:void 0},L=function(e,t){let n=P(e);return()=>{var e;return null!=(e=N[t])?e:n()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),R=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},D=(e,t,n=10)=>{let r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=e(R(0,i-1,t))+", ";return`linear(${r.substring(0,r.length-2)})`},B=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,G={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:B([0,.65,.55,1]),circOut:B([.55,0,1,.45]),backIn:B([.31,.01,.66,-.59]),backOut:B([.33,1.53,.69,.99])},q=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function U(e,t,n,r){return e===t&&n===r?V.l:i=>0===i||1===i?i:q(function(e,t,n,r,i){let s,o,a=0;do(s=q(o=t+(n-t)/2,r,i)-e)>0?n=o:t=o;while(Math.abs(s)>1e-7&&++a<12);return o}(i,0,1,e,n),t,r)}let W=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,K=e=>t=>1-e(1-t),H=U(.33,1.53,.69,.99),$=K(H),z=W($),Y=e=>(e*=2)<1?.5*$(e):.5*(2-Math.pow(2,-10*(e-1))),X=e=>1-Math.sin(Math.acos(e)),J=K(X),Q=W(X),Z=e=>/^0[^.\s]+$/u.test(e);var ee=n(3598),et=n(7122);let en=e=>Math.round(1e5*e)/1e5,er=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ei=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,es=(e,t)=>n=>!!("string"==typeof n&&ei.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),eo=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,s,o,a]=r.match(er);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},ea={...et.ai,transform:e=>Math.round((0,ee.q)(0,255,e))},eu={test:es("rgb","red"),parse:eo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ea.transform(e)+", "+ea.transform(t)+", "+ea.transform(n)+", "+en(et.X4.transform(r))+")"},el={test:es("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:eu.transform};var ec=n(3735);let ed={test:es("hsl","hue"),parse:eo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ec.KN.transform(en(t))+", "+ec.KN.transform(en(n))+", "+en(et.X4.transform(r))+")"},ef={test:e=>eu.test(e)||el.test(e)||ed.test(e),parse:e=>eu.test(e)?eu.parse(e):ed.test(e)?ed.parse(e):el.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?eu.transform(e):ed.transform(e)},eh=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ep="number",em="color",ev=/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 eg(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],s=0,o=t.replace(ev,e=>(ef.test(e)?(r.color.push(s),i.push(em),n.push(ef.parse(e))):e.startsWith("var(")?(r.var.push(s),i.push("var"),n.push(e)):(r.number.push(s),i.push(ep),n.push(parseFloat(e))),++s,"${}")).split("${}");return{values:n,split:o,indexes:r,types:i}}function ey(e){return eg(e).values}function eb(e){let{split:t,types:n}=eg(e),r=t.length;return e=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],void 0!==e[s]){let t=n[s];t===ep?i+=en(e[s]):t===em?i+=ef.transform(e[s]):i+=e[s]}return i}}let ew=e=>"number"==typeof e?0:e,eS={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null==(t=e.match(er))?void 0:t.length)||0)+((null==(n=e.match(eh))?void 0:n.length)||0)>0},parse:ey,createTransformer:eb,getAnimatableNone:function(e){let t=ey(e);return eb(e)(t.map(ew))}},ex=new Set(["brightness","contrast","saturate","opacity"]);function eE(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(er)||[];if(!r)return e;let i=n.replace(r,""),s=+!!ex.has(t);return r!==n&&(s*=100),t+"("+s+i+")"}let eA=/\b([a-z-]*)\(.*?\)/gu,eM={...eS,getAnimatableNone:e=>{let t=e.match(eA);return t?t.map(eE).join(" "):e}},eT={...n(4785).W,color:ef,backgroundColor:ef,outlineColor:ef,fill:ef,stroke:ef,borderColor:ef,borderTopColor:ef,borderRightColor:ef,borderBottomColor:ef,borderLeftColor:ef,filter:eM,WebkitFilter:eM},eP=e=>eT[e];function eO(e,t){let n=eP(e);return n!==eM&&(n=eS),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
1let eC=new Set(["auto","none","0"]),ek=e=>e===et.ai||e===ec.px,e_=(e,t)=>parseFloat(e.split(", ")[t]),eV=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return e_(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?e_(t[1],e):0}},ej=new Set(["x","y","z"]),eI=p.U.filter(e=>!ej.has(e)),eF={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:eV(4,13),y:eV(5,14)};eF.translateX=eF.x,eF.translateY=eF.y;let eN=new Set,eL=!1,eR=!1;function eD(){if(eR){let e=Array.from(eN).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=function(e){let t=[];return eI.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;null==(r=e.getValue(t))||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eR=!1,eL=!1,eN.forEach(e=>e.complete()),eN.clear()}function eB(){eN.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eR=!0)})}class eG{constructor(e,t,n,r,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(eN.add(this),eL||(eL=!0,y.Gt.read(eB),y.Gt.resolveKeyframes(eD))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(null===e[i])if(0===i){let i=null==r?void 0:r.get(),s=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===i&&r.set(e[0])}else e[i]=e[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),eN.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,eN.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let eq=V.l,eU=V.l,eW=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var eK=n(2340);let eH=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,e$=e=>t=>t.test(e),ez=[et.ai,ec.px,ec.KN,ec.uj,ec.vw,ec.vh,{test:e=>"auto"===e,parse:e=>e}],eY=e=>ez.find(e$(e));class eX extends eG{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,eK.p)(r))){let i=function e(t,n,r=1){eU(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,s]=function(e){let t=eH.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${null!=n?n:r}`,i]}(t);if(!i)return;let o=window.getComputedStyle(n).getPropertyValue(i);if(o){let e=o.trim();return eW(e)?parseFloat(e):e}return(0,eK.p)(s)?e(s,n,r+1):s}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!m.has(n)||2!==e.length)return;let[r,i]=e,s=eY(r),o=eY(i);if(s!==o)if(ek(s)&&ek(o))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||Z(r))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!eC.has(t)&&eg(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=eO(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eF[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);let s=r.length-1,o=r[s];r[s]=eF[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(e=this.removedTransforms)?void 0:e.length)&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}let eJ=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eS.test(e)||"0"===e)&&!e.startsWith("url(")),eQ=e=>null!==e;function eZ(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(eQ),s=t&&"loop"!==n&&t%2==1?0:i.length-1;return s&&void 0!==r?r:i[s]}class e0{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=w.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(eB(),eD()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=w.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:s,onComplete:o,onUpdate:a,isGenerator:u}=this.options;if(!u&&!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=eJ(i,t),a=eJ(s,t);return eq(o===a,`You are trying to animate ${t} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||j(n))&&r)}(e,n,r,i))if(_.current||!s){a&&a(eZ(e,this.options,t)),o&&o(),this.resolveFinishedPromise();return}else this.options.duration=0;let l=this.initPlayback(e,t);!1!==l&&(this._resolved={keyframes:e,finalKeyframe:t,...l},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function e1(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}let e5={mainThread:0,waapi:0},e3=(e,t,n)=>e+(t-e)*n;function e2(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function e6(e,t){return n=>n>0?t:e}let e8=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},e4=[el,eu,ed];function e7(e){let t=e4.find(t=>t.test(e));if(eq(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===ed&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,s=0,o=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=e2(a,r,e+1/3),s=e2(a,r,e),o=e2(a,r,e-1/3)}else i=s=o=n;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(n)),n}let e9=(e,t)=>{let n=e7(e),r=e7(t);if(!n||!r)return e6(e,t);let i={...n};return e=>(i.red=e8(n.red,r.red,e),i.green=e8(n.green,r.green,e),i.blue=e8(n.blue,r.blue,e),i.alpha=e3(n.alpha,r.alpha,e),eu.transform(i))},te=(e,t)=>n=>t(e(n)),tt=(...e)=>e.reduce(te),tn=new Set(["none","hidden"]);function tr(e,t){return n=>e3(e,t,n)}function ti(e){return"number"==typeof e?tr:"string"==typeof e?(0,eK.p)(e)?e6:ef.test(e)?e9:ta:Array.isArray(e)?ts:"object"==typeof e?ef.test(e)?e9:to:e6}function ts(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>ti(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function to(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=ti(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let ta=(e,t)=>{let n=eS.createTransformer(t),r=eg(e),i=eg(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?tn.has(e)&&!i.values.length||tn.has(t)&&!r.values.length?function(e,t){return tn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):tt(ts(function(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let o=t.types[s],a=e.indexes[o][i[o]],u=null!=(n=e.values[a])?n:0;r[s]=u,i[o]++}return r}(r,i),i.values),n):(eq(!0,`Complex values '${e}' and '${t}
1' 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.`),e6(e,t))};function tu(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?e3(e,t,n):ti(e)(e,t)}function tl(e,t,n){var r,i;let s=Math.max(t-5,0);return r=n-e(s),(i=t-s)?1e3/i*r:0}let tc={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function td(e,t){return e*Math.sqrt(1-t*t)}let tf=["duration","bounce"],th=["stiffness","damping","mass"];function tp(e,t){return t.some(t=>void 0!==e[t])}function tm(e=tc.visualDuration,t=tc.bounce){let n,r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],u={done:!1,value:o},{stiffness:l,damping:c,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=function(e){let t={velocity:tc.velocity,stiffness:tc.stiffness,damping:tc.damping,mass:tc.mass,isResolvedFromDuration:!1,...e};if(!tp(e,th)&&tp(e,tf))if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*(0,ee.q)(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:tc.mass,stiffness:r,damping:i}}else{let n=function({duration:e=tc.duration,bounce:t=tc.bounce,velocity:n=tc.velocity,mass:r=tc.mass}){let i,s;eq(e<=1e3*tc.maxDuration,"Spring duration must be 10 seconds or less");let o=1-t;o=(0,ee.q)(tc.minDamping,tc.maxDamping,o),e=(0,ee.q)(tc.minDuration,tc.maxDuration,e/1e3),o<1?(i=t=>{let r=t*o,i=r*e;return .001-(r-n)/td(t,o)*Math.exp(-i)},s=t=>{let r=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-r),u=td(Math.pow(t,2),o);return(r*n+n-s)*a*(-i(t)+.001>0?-1:1)/u}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),s=t=>e*e*(n-t)*Math.exp(-t*e));let a=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,s,5/e);if(e*=1e3,isNaN(a))return{stiffness:tc.stiffness,damping:tc.damping,duration:e};{let t=Math.pow(a,2)*r;return{stiffness:t,damping:2*o*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:tc.mass}).isResolvedFromDuration=!0}return t}({...r,velocity:-((r.velocity||0)/1e3)}),m=h||0,v=c/(2*Math.sqrt(l*d)),g=a-o,y=Math.sqrt(l/d)/1e3,b=5>Math.abs(g);if(i||(i=b?tc.restSpeed.granular:tc.restSpeed.default),s||(s=b?tc.restDelta.granular:tc.restDelta.default),v<1){let e=td(y,v);n=t=>a-Math.exp(-v*y*t)*((m+v*y*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===v)n=e=>a-Math.exp(-y*e)*(g+(m+y*g)*e);else{let e=y*Math.sqrt(v*v-1);n=t=>{let n=Math.exp(-v*y*t),r=Math.min(e*t,300);return a-n*((m+v*y*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}let w={calculatedDuration:p&&f||null,next:e=>{let t=n(e);if(p)u.done=e>=f;else{let r=0;v<1&&(r=0===e?1e3*m:tl(n,e,t));let o=Math.abs(a-t)<=s;u.done=Math.abs(r)<=i&&o}return u.value=u.done?a:t,u},toString:()=>{let e=Math.min(e1(w),2e4),t=D(t=>w.next(e*t).value,e,30);return e+"ms "+t}};return w}function tv({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:u,restDelta:l=.5,restSpeed:c}){let d,f,h=e[0],p={done:!1,value:h},m=n*t,v=h+m,g=void 0===o?v:o(v);g!==v&&(m=g-h);let y=e=>-m*Math.exp(-e/r),b=e=>g+y(e),w=e=>{let t=y(e),n=b(e);p.done=Math.abs(t)<=l,p.value=p.done?g:n},S=e=>{let t;if(t=p.value,void 0!==a&&t<a||void 0!==u&&t>u){var n;d=e,f=tm({keyframes:[p.value,(n=p.value,void 0===a?u:void 0===u||Math.abs(a-n)<Math.abs(u-n)?a:u)],velocity:tl(b,e,p.value),damping:i,stiffness:s,restDelta:l,restSpeed:c})}};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,w(e),S(e)),void 0!==d&&e>=d)?f.next(e-d):(t||w(e),p)}}}let tg=U(.42,0,1,1),ty=U(0,0,.58,1),tb=U(.42,0,.58,1),tw={linear:V.l,easeIn:tg,easeInOut:tb,easeOut:ty,circIn:X,circInOut:Q,circOut:J,backIn:$,backInOut:z,backOut:H,anticipate:Y},tS=e=>{if(F(e)){eU(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return U(t,n,r,i)}return"string"==typeof e?(eU(void 0!==tw[e],`Invalid easing type '${e}'`),tw[e]):e};function tx({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){var i;let s=Array.isArray(r)&&"number"!=typeof r[0]?r.map(tS):tS(r),o={done:!1,value:t[0]},a=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let s=e.length;if(eU(s===t.length,"Both input and output ranges must be the same length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],i=n||tu,s=e.length-1;for(let n=0;n<s;n++){let s=i(e[n],e[n+1]);t&&(s=tt(Array.isArray(t)?t[n]||V.l:t,s)),r.push(s)}return r}(t,r,i),u=a.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(u>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=R(e[r],e[r+1],n);return a[r](i)};return n?t=>l((0,ee.q)(e[0],e[s-1],t)):l}((i=n&&n.length===t.length?n:function(e){let t=[0];return!function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=R(0,t,r);e.push(e3(n,1,i))}}(t,e.length-1),t}(t),i.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||tb).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}let tE=e=>{let t=({timestamp:t})=>e(t);return{start:()=>y.Gt.update(t,!0),stop:()=>(0,y.WG)(t),now:()=>y.uv.isProcessing?y.uv.timestamp:w.now()}},tA={decay:tv,inertia:tv,tween:tx,keyframes:tx,spring:tm},tM=e=>e/100;class tT extends e0{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
1{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,s=(null==r?void 0:r.KeyframeResolver)||eG,o=(e,t)=>this.onKeyframesResolved(e,t);this.resolver=new s(i,o,t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,n,{type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,u=j(r)?r:tA[r]||tx;u!==tx&&"number"!=typeof e[0]&&(t=tt(tM,tu(e[0],e[1])),e=[0,100]);let l=u({...this.options,keyframes:e});"mirror"===o&&(n=u({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===l.calculatedDuration&&(l.calculatedDuration=e1(l));let{calculatedDuration:c}=l,d=c+s;return{generator:l,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(i+1)-s}}onPostResolved(){let{autoplay:e=!0}=this.options;e5.mainThread++,this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:u,totalDuration:l,resolvedDuration:c}=n;if(null===this.startTime)return i.next(0);let{delay:d,repeat:f,repeatType:h,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-l/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let v=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>l;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=l);let y=this.currentTime,b=i;if(f){let e=Math.min(this.currentTime,l)/c,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,f+1))%2&&("reverse"===h?(n=1-n,p&&(n-=p/c)):"mirror"===h&&(b=s)),y=(0,ee.q)(0,1,n)*c}let w=g?{done:!1,value:a[0]}:b.next(y);o&&(w.value=o(w.value));let{done:S}=w;g||null===u||(S=this.speed>=0?this.currentTime>=l:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return x&&void 0!==r&&(w.value=eZ(a,this.options,r)),m&&m(w.value),x&&this.finish(),w}get duration(){let{resolved:e}=this;return e?e.calculatedDuration/1e3:0}get time(){return this.currentTime/1e3}set time(e){e*=1e3,this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=tE,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(e=this.currentTime)?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel(),e5.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let tP=new Set(["opacity","clipPath","filter","transform"]);var tO=n(383);let tC=P(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tk={anticipate:Y,backInOut:z,circInOut:Q};class t_ extends e0{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new eX(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:i,ease:s,type:o,motionValue:a,name:u,startTime:l}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&L()&&s in tk&&(s=tk[s]),j((n=this.options).type)||"spring"===n.type||!function e(t){return!!("function"==typeof t&&L()||!t||"string"==typeof t&&(t in G||L())||F(t)||Array.isArray(t)&&t.every(e))}(n.ease)){let{onComplete:t,onUpdate:n,motionValue:a,element:u,...l}=this.options,c=function(e,t){let n=new tT({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],s=0;for(;!r.done&&s<2e4;)i.push((r=n.sample(s)).value),s+=10;return{times:void 0,keyframes:i,duration:s-10,ease:"linear"}}(e,l);1===(e=c.keyframes).length&&(e[1]=e[0]),r=c.duration,i=c.times,s=c.ease,o="keyframes"}let c=function(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:
1o="loop",ease:a="easeInOut",times:u}={}){let l={[t]:n};u&&(l.offset=u);let c=function e(t,n){if(t)return"function"==typeof t&&L()?D(t,n):F(t)?B(t):Array.isArray(t)?t.map(t=>e(t,n)||G.easeOut):G[t]}(a,i);Array.isArray(c)&&(l.easing=c),tO.Q.value&&e5.waapi++;let d=e.animate(l,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"});return tO.Q.value&&d.finished.finally(()=>{e5.waapi--}),d}(a.owner.current,u,e,{...this.options,duration:r,times:i,ease:s});return c.startTime=null!=l?l:this.calcStartTime(),this.pendingTimeline?(I(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:n}=this.options;a.set(eZ(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:i,type:o,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return t/1e3}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(t.currentTime||0)/1e3}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=1e3*e}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return V.l;let{animation:n}=t;I(n,e)}else this.pendingTimeline=e;return V.l}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:s,times:o}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:a,element:u,...l}=this.options,c=new tT({...l,keyframes:n,duration:r,type:i,ease:s,times:o,isGenerator:!0}),d=1e3*this.time;e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:u}=t.owner.getProps();return tC()&&n&&tP.has(n)&&!a&&!u&&!r&&"mirror"!==i&&0!==s&&"inertia"!==o}}let tV={type:"spring",stiffness:500,damping:25,restSpeed:10},tj={type:"keyframes",duration:.8},tI={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tF=(e,t,n,r={},i,s)=>o=>{let a=h(r,e)||{},u=a.delay||r.delay||0,{elapsed:l=0}=r;l-=1e3*u;let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-l,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:u,elapsed:l,...c}){return!!Object.keys(c).length}(a)&&(c={...c,...((e,{keyframes:t})=>t.length>2?tj:p.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:tV:tI)(e,c)}),c.duration&&(c.duration=1e3*c.duration),c.repeatDelay&&(c.repeatDelay=1e3*c.repeatDelay),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0===c.delay&&(d=!0)),(_.current||g.W.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!s&&void 0!==t.get()){let e=eZ(c.keyframes,a);if(void 0!==e)return y.Gt.update(()=>{c.onUpdate(e),c.onComplete()}),new k([])}return!s&&t_.supports(c)?new t_(c):new tT(c)};function tN(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...u}=t;r&&(o=r);let l=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let t in u){let r=e.getValue(t,null!=(s=e.latestValues[t])?s:null),i=u[t];if(void 0===i||c&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(c,t))continue;let a={delay:n,...h(o||{},t)},d=!1;if(window.MotionHandoffAnimation){let n=e.props[T.n];if(n){let e=window.MotionHandoffAnimation(n,t,y.Gt);null!==e&&(a.startTime=e,d=!0)}}!function(e,t){let n=e.getValue("willChange");(0,M.S)(n)&&n.add&&n.add(t)}(e,t),r.start(tF(t,r,i,e.shouldReduceMotion&&m.has(t)?{type:!1}:a,e,d));let f=r.animation;f&&l.push(f)}return a&&Promise.all(l).then(()=>{y.Gt.update(()=>{a&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=f(e,t)||{};for(let t in i={...i,...n}){let n=(0,v.K)(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,A(n))}}(e,a)})}),l}function tL(e,t,n={}){var r;let i=f(e,t,"exit"===n.type?null==(r=e.presenceContext)?void 0:r.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=i||{};
1n.transitionOverride&&(s=n.transitionOverride);let o=i?()=>Promise.all(tN(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:i=0,staggerChildren:o,staggerDirection:a}=s;return function(e,t,n=0,r=0,i=1,s){let o=[],a=(e.variantChildren.size-1)*r,u=1===i?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(tR).forEach((e,r)=>{e.notify("AnimationStart",t),o.push(tL(e,t,{...s,delay:n+u(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,i+r,o,a,n)}:()=>Promise.resolve(),{when:u}=s;if(!u)return Promise.all([o(),a(n.delay)]);{let[e,t]="beforeChildren"===u?[o,a]:[a,o];return e().then(()=>t())}}function tR(e,t){return e.sortNodePosition(t)}var tD=n(9070);function tB(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var tG=n(7697),tq=n(1664);let tU=tq._.length,tW=[...tq.U].reverse(),tK=tq.U.length;function tH(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function t$(){return{animate:tH(!0),whileInView:tH(),whileHover:tH(),whileTap:tH(),whileDrag:tH(),whileFocus:tH(),exit:tH()}}class tz{constructor(e){this.isMounted=!1,this.node=e}update(){}}class tY extends tz{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>tL(e,t,n)));
1else if("string"==typeof t)r=tL(e,t,n);else{let i="function"==typeof t?f(e,t,n.custom):t;r=Promise.all(tN(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=t$(),r=!0,i=t=>(n,r)=>{var i;let s=f(e,r,"exit"===t?null==(i=e.presenceContext)?void 0:i.custom:void 0);if(s){let{transition:e,transitionEnd:t,...r}=s;n={...n,...r,...t}}return n};function s(s){let{props:o}=e,a=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<tU;e++){let r=tq._[e],i=t.props[r];((0,tG.w)(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},u=[],l=new Set,d={},h=1/0;for(let t=0;t<tK;t++){var p,m;let f=tW[t],v=n[f],g=void 0!==o[f]?o[f]:a[f],y=(0,tG.w)(g),b=f===s?v.isActive:null;!1===b&&(h=t);let w=g===a[f]&&g!==o[f]&&y;if(w&&r&&e.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...d},!v.isActive&&null===b||!g&&!v.prevProp||(0,c.N)(g)||"boolean"==typeof g)continue;let S=(p=v.prevProp,"string"==typeof(m=g)?m!==p:!!Array.isArray(m)&&!tB(m,p)),x=S||f===s&&v.isActive&&!w&&y||t>h&&y,E=!1,A=Array.isArray(g)?g:[g],M=A.reduce(i(f),{});!1===b&&(M={});let{prevResolvedValues:T={}}=v,P={...T,...M},O=t=>{x=!0,l.has(t)&&(E=!0,l.delete(t)),v.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in P){let t=M[e],n=T[e];if(!d.hasOwnProperty(e))((0,tD.p)(t)&&(0,tD.p)(n)?tB(t,n):t===n)?void 0!==t&&l.has(e)?O(e):v.protectedKeys[e]=!0:null!=t?O(e):l.add(e)}v.prevProp=g,v.prevResolvedValues=M,v.isActive&&(d={...d,...M}),r&&e.blockInitialAnimation&&(x=!1);let C=!(w&&S)||E;x&&C&&u.push(...A.map(e=>({animation:e,options:{type:f}})))}if(l.size){let t={};if("boolean"!=typeof o.initial){let n=f(e,Array.isArray(o.initial)?o.initial[0]:o.initial);n&&n.transition&&(t.transition=n.transition)}l.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),u.push({animation:t})}let v=!!u.length;return r&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(u):Promise.resolve()}return{animateChanges:s,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null==(i=e.variantChildren)||i.forEach(e=>{var n;return null==(n=e.animationState)?void 0:n.setActive(t,r)}),n[t].isActive=r;let o=s(t);for(let e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=t$(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,c.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null==(e=this.unmountControls)||e.call(this)}}let tX=0;class tJ extends tz{constructor(){super(...arguments),this.id=tX++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let tQ={x:!1,y:!1};function tZ(e,t){let n=function(e,t,n){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document.querySelectorAll(e);return t?Array.from(t):[]}return Array.from(e)}(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function t0(e){return!("touch"===e.pointerType||tQ.x||tQ.y)}function t1(e){return{point:{x:e.pageX,y:e.pageY}}}function t5(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&y.Gt.postRender(()=>i(t,t1(t)))}class t3 extends tz{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,s]=tZ(e,n),o=e=>{if(!t0(e))return;let{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;let s=e=>{t0(e)&&(r(e),n.removeEventListener("pointerleave",s))};n.addEventListener("pointerleave",s,i)};
1return r.forEach(e=>{e.addEventListener("pointerenter",o,i)}),s}(e,(e,t)=>(t5(this.node,t,"Start"),e=>t5(this.node,e,"End"))))}unmount(){}}function t2(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}class t6 extends tz{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&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=tt(t2(this.node.current,"focus",()=>this.onFocus()),t2(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function t8(e,t){let n=`${t}PointerCapture`;if(e.target instanceof Element&&n in e.target&&void 0!==e.pointerId)try{e.target[n](e.pointerId)}catch(e){}}let t4=(e,t)=>!!t&&(e===t||t4(e,t.parentElement)),t7=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),t9=new WeakSet;function ne(e){return t=>{"Enter"===t.key&&e(t)}}function nt(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function nn(e){return("mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary)&&!(tQ.x||tQ.y)}function nr(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&y.Gt.postRender(()=>i(t,t1(t)))}class ni extends tz{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,s]=tZ(e,n),o=e=>{let n=e.currentTarget;if(!n||!nn(e)||t9.has(n))return;t9.add(n),t8(e,"set");let r=t(n,e),s=(e,t)=>{n.removeEventListener("pointerup",o),n.removeEventListener("pointercancel",a),t8(e,"release"),nn(e)&&t9.has(n)&&(t9.delete(n),"function"==typeof r&&r(e,{success:t}))},o=e=>{var t,r;e.isTrusted&&(t=e,r=n instanceof Element?n.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight},t.clientX<r.left||t.clientX>r.right||t.clientY<r.top||t.clientY>r.bottom)?s(e,!1):s(e,!(n instanceof Element)||t4(n,e.target))},a=e=>{s(e,!1)};n.addEventListener("pointerup",o,i),n.addEventListener("pointercancel",a,i),n.addEventListener("lostpointercapture",a,i)};return r.forEach(e=>{e=n.useGlobalTarget?window:e;let t=!1;if(e instanceof HTMLElement){var r;t=!0,r=e,t7.has(r.tagName)||-1!==r.tabIndex||null!==e.getAttribute("tabindex")||(e.tabIndex=0)}e.addEventListener("pointerdown",o,i),t&&e.addEventListener("focus",e=>((e,t)=>{let n=e.currentTarget;if(!n)return;let r=ne(()=>{if(t9.has(n))return;nt(n,"down");let e=ne(()=>{nt(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>nt(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i),i)}),s}(e,(e,t)=>(nr(this.node,t,"Start"),(e,{success:t})=>nr(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let ns=new WeakMap,no=new WeakMap,na=e=>{let t=ns.get(e.target);t&&t(e)},nu=e=>{e.forEach(na)},nl={some:0,all:1};
1class nc extends tz{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,s={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:nl[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),s=t?n:r;s&&s(e)};var a=this.node.current;let u=function({root:e,...t}){let n=e||document;no.has(n)||no.set(n,{});let r=no.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(nu,{root:e,...t})),r[i]}(s);return ns.set(a,o),u.observe(a),()=>{ns.delete(a),u.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}var nd=n(1834);let nf=()=>({min:0,max:0}),nh=()=>({x:nf(),y:nf()});var np=n(3780);let nm={current:null},nv={current:!1},ng=[...ez,ef,eS],ny=new WeakMap;var nb=n(3053);let nw=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class nS{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eG,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=w.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,y.Gt.render(this.render,!1,!0))};let{latestValues:a,renderState:u,onUpdate:l}=s;this.onUpdate=l,this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!i,this.isControllingVariants=(0,nb.e)(t),this.isVariantNode=(0,nb.O)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==a[e]&&(0,M.S)(t)&&t.set(a[e],!1)}}mount(e){this.current=e,ny.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),nv.current||function(){if(nv.current=!0,np.B)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nm.current=e.matches;e.addListener(t),t()}else nm.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nm.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),(0,y.WG)(this.notifyUpdate),(0,y.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=p.f.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&y.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),s(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in nd.B){let t=nd.B[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];
1t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nh()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<nw.length;t++){let n=nw[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],s=n[r];if((0,M.S)(i))e.addValue(r,i);else if((0,M.S)(s))e.addValue(r,A(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,A(void 0!==t?t:i,{owner:e}))}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=A(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!=(n=this.getBaseTargetFromProps(this.props,e))?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){if("string"==typeof r&&(eW(r)||Z(r)))r=parseFloat(r);else{let n;n=r,!ng.find(e$(n))&&eS.test(t)&&(r=eO(e,t))}this.setBaseTarget(e,(0,M.S)(r)?r.get():r)}return(0,M.S)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=(0,d.a)(this.props,r,null==(t=this.presenceContext)?void 0:t.custom);i&&(n=i[e])}if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,M.S)(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new S),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class nx extends nS{constructor(){super(...arguments),this.KeyframeResolver=eX}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,M.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}var nE=n(5485),nA=n(2160),nM=n(774);class nT extends nx{constructor(){super(...arguments),this.type="html",this.renderInstance=nA.e}readValueFromInstance(e,t){if(p.f.has(t)){let e=eP(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,eK.j)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}build(e,t,n){(0,nE.O)(e,t,n.transformTemplate)}
1scrapeMotionValuesFromProps(e,t,n){return(0,nM.x)(e,t,n)}}var nP=n(6714),nO=n(6113),nC=n(1669),nk=n(8351),n_=n(6133),nV=n(6533),nj=n(7463);class nI extends nx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nh,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&(0,n_.H)(this.current,this.renderState)}}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(p.f.has(t)){let e=eP(t);return e&&e.default||0}return t=nC.e.has(t)?t:(0,nP.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,nj.x)(e,t,n)}onBindTransform(){this.current&&!this.renderState.dimensions&&y.Gt.postRender(this.updateDimensions)}build(e,t,n){(0,nO.B)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){(0,nV.d)(e,t,n,r)}mount(e){this.isSVGTag=(0,nk.n)(e.tagName),super.mount(e)}}var nF=n(7693);let nN={renderer:(e,t)=>(0,nF.Q)(e)?new nI(t):new nT(t,{allowProjection:e!==s.Fragment}),animation:{Feature:tY},exit:{Feature:tJ},inView:{Feature:nc},tap:{Feature:ni},focus:{Feature:t6},hover:{Feature:t3}}},2054:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5558);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},s),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))})},2448:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5558);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},s),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))})},3386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(5161)},3616:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3650:(e,t,n)=>{"use strict";n.d(t,{default:()=>i.a});var r=n(8175),i=n.n(r)},3711:(e,t,n)=>{"use strict";n.d(t,{Cl:()=>r,Tt:()=>i,fX:()=>s});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}Object.create;function s(e,t,n){if(n||2==arguments.length)for(var r,i=0,s=t.length;i<s;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},3740:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5558);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},s),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))})}
1,3949:(e,t,n)=>{"use strict";var r=n(6249);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}})},4006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ESCAPE_REGEX:function(){return r},htmlEscapeAttributeString:function(){return a},htmlEscapeJsonString:function(){return o}});let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},r=/[&><\u2028\u2029]/g,i={"&":"&",'"':""","'":"'","<":"<",">":">"},s=/[&"'<>]/g;function o(e){return e.replace(r,e=>n[e])}function a(e){return e.replace(s,e=>i[e])}},4455:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(7798),i=n(5558),s=n(6140);function o(e){return{default:e&&"default"in e?e.default:e}}n(5825);let a={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},u=function(e){let t={...a,...e},n=(0,i.lazy)(()=>t.loader().then(o)),u=t.loading;function l(e){let o=u?(0,r.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,a=!t.ssr||!!t.loading,l=a?i.Suspense:i.Fragment,c=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(l,{...a?{fallback:o}:{},children:c})}return l.displayName="LoadableComponent",l}},5161:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(9719).createAsyncLocalStorage)()},5825:(e,t,n)=>{"use strict";function r(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(7798),n(4371),n(3386),n(6719)},6056:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i.a});var r=n(6386),i=n.n(r),s={};for(let e in r)"default"!==e&&(s[e]=()=>r[e]);n.d(t,s)},6140:(e,t,n)=>{"use strict";function r(e){let{reason:t,children:n}=e;return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(3568)},6386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return y},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return v}});let r=n(5440),i=n(53),s=n(7798),o=r._(n(4371)),a=i._(n(5558)),u=n(4540),l=n(1732),c=n(3616),d=n(4006),f=new Map,h=new Set,p=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:s,children:a="",strategy:u="afterInteractive",onError:c,stylesheets:d}=e,p=n||t;if(p&&h.has(p))return;if(f.has(t)){h.add(p),f.get(t).then(r,c);return}let m=()=>{i&&i(),h.add(p)},v=document.createElement("script"),g=new Promise((e,t)=>{v.addEventListener("load",function(t){e(),r&&r.call(this,t),m()}),v.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});s?(v.innerHTML=s.__html||"",m()):a?(v.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",m()):t&&(v.src=t,f.set(t,g)),(0,l.setAttributesFromProps)(v,e),"worker"===u&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",u),d&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(d),document.body.appendChild(v)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}):p(e)}function v(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function g(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:i=null,strategy:l="afterInteractive",onError:f,stylesheets:m,...v}=e,{updateScripts:g,scripts:y,getIsSsr:b,appDir:w,nonce:S}=(0,a.useContext)(u.HeadManagerContext);S=v.nonce||S;let x=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||n;x.current||(i&&e&&h.has(e)&&i(),x.current=!0)},[i,t,n]);let E=(0,a.useRef)(!1);if((0,a.useEffect)(()=>
1{if(!E.current){if("afterInteractive"===l)p(e);else"lazyOnload"===l&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}));E.current=!0}},[e,l]),("beforeInteractive"===l||"worker"===l)&&(g?(y[l]=(y[l]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:f,...v,nonce:S}]),g(y)):b&&b()?h.add(t||n):b&&!b()&&p({...e,nonce:S})),w){if(m&&m.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===l)if(!n)return v.dangerouslySetInnerHTML&&(v.children=v.dangerouslySetInnerHTML.__html,delete v.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:S,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([0,{...v,id:t}]))+")"}});else return o.default.preload(n,v.integrity?{as:"script",integrity:v.integrity,nonce:S,crossOrigin:v.crossOrigin}:{as:"script",nonce:S,crossOrigin:v.crossOrigin}),(0,s.jsx)("script",{nonce:S,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([n,{...v,id:t}]))+")"}});"afterInteractive"===l&&n&&o.default.preload(n,v.integrity?{as:"script",integrity:v.integrity,nonce:S,crossOrigin:v.crossOrigin}:{as:"script",nonce:S,crossOrigin:v.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6841:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{Ay:()=>eX});var i,s,o=n(5558),a="data-focus-lock",u="data-focus-lock-disabled",l=n(7268),c={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},d=n(8609),f=(0,d.C)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),h=(0,d.C)(),p=(0,d.C)(),m=(0,d.f)({async:!0,ssr:"undefined"!=typeof document}),v=(0,o.createContext)(void 0),g=[],y=(0,o.forwardRef)(function(e,t){var n,i=(0,o.useState)(),s=i[0],d=i[1],p=(0,o.useRef)(),y=(0,o.useRef)(!1),b=(0,o.useRef)(null),w=(0,o.useState)({})[1],S=e.children,x=e.disabled,E=void 0!==x&&x,A=e.noFocusGuards,M=void 0!==A&&A,T=e.persistentFocus,P=e.crossFrame,O=e.autoFocus,C=(e.allowTextSelection,e.group),k=e.className,_=e.whiteList,V=e.hasPositiveIndices,j=e.shards,I=void 0===j?g:j,F=e.as,N=e.lockProps,L=e.sideCar,R=e.returnFocus,D=void 0!==R&&R,B=e.focusOptions,G=e.onActivation,q=e.onDeactivation,U=(0,o.useState)({})[0],W=(0,o.useCallback)(function(e){var t=e.captureFocusRestore;if(!b.current){var n,r=null==(n=document)?void 0:n.activeElement;b.current=r,r!==document.body&&(b.current=t(r))}p.current&&G&&G(p.current),y.current=!0,w()},[G]),K=(0,o.useCallback)(function(){y.current=!1,q&&q(p.current),w()},[q]),H=(0,o.useCallback)(function(e){var t=b.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof D?D(n):D;if(r){var i="object"==typeof r?r:void 0;b.current=null,e?Promise.resolve().then(function(){return n.focus(i)}):n.focus(i)}}},[D]),$=(0,o.useCallback)(function(e){y.current&&f.useMedium(e)},[]),z=h.useMedium,Y=(0,o.useCallback)(function(e){p.current!==e&&(p.current=e,d(e))},[]),X=r(((n={})[u]=E&&"disabled",n[a]=C,n),void 0===N?{}:N),J=!0!==M,Q=J&&"tail"!==M,Z=(0,l.S)([t,Y]),ee=(0,o.useMemo)(function(){return{observed:p,shards:I,enabled:!E,active:y.current}},[E,y.current,I,s]);return o.createElement(o.Fragment,null,J&&[o.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:E?-1:0,style:c}),V?o.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:E?-1:1,style:c}):null],!E&&o.createElement(L,{id:U,sideCar:m,observed:s,disabled:E,persistentFocus:void 0!==T&&T,crossFrame:void 0===P||P,autoFocus:void 0===O||O,whiteList:_,shards:I,onActivation:W,onDeactivation:K,returnFocus:H,focusOptions:B,noFocusGuards:M}),o.createElement(void 0===F?"div":F,r({ref:Z}
1,X,{className:k,onBlur:z,onFocus:$}),o.createElement(v.Provider,{value:ee},S)),Q&&o.createElement("div",{"data-focus-guard":!0,tabIndex:E?-1:0,style:c}))});function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}y.propTypes={};var S=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},x=function(e){return Array.isArray(e)?e:[e]},E=function(e){return Array.isArray(e)?e[0]:e},A=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},M=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},T=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},P=function(e,t){var n,r,i=e.get(t);if(void 0!==i)return i;var s=(n=t,r=P.bind(void 0,e),!n||T(n)||!A(n)&&!n.hasAttribute("inert")&&r(M(n)));return e.set(t,s),s},O=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var i=(n=O.bind(void 0,e),!t||!!T(t)||!!V(t)&&n(M(t)));return e.set(t,i),i},C=function(e){return e.dataset},k=function(e){return"INPUT"===e.tagName},_=function(e){return k(e)&&"radio"===e.type},V=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},j=function(e){var t;return!!(e&&(null==(t=C(e))?void 0:t.focusGuard))},I=function(e){return!j(e)},F=function(e){return!!e},N=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),i=n-r,s=e.index-t.index;if(i){if(!n)return 1;if(!r)return -1}return i||s},L=function(e,t,n){return S(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(N)},R="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",D="".concat(R,", [data-focus-guard]"),B=function(e,t){return S((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?D:R)?[n]:[],B(n))},[])},G=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null==(n=e.contentDocument)?void 0:n.body)?q([e.contentDocument.body],t):[e]},q=function(e,t){return e.reduce(function(e,n){var r,i=B(n,t),s=(r=[]).concat.apply(r,i.map(function(e){return G(e,t)}));return e.concat(s,n.parentNode?S(n.parentNode.querySelectorAll(R)).filter(function(e){return e===n}):[])},[])},U=function(e,t){return S(e).filter(function(e){return P(t,e)}).filter(function(e){var t;return!((k(t=e)||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))})},W=function(e,t){return void 0===t&&(t=new Map),S(e).filter(function(e){return O(t,e)})},K=function(e,t,n){return L(U(q(e,n),t),!0,n)},H=function(e,t){return L(U(q(e),t),!1)},$=function(e,t){return e.shadowRoot?$(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||S(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null==(n=e.contentDocument)?void 0:n.body;return!!r&&$(r,t)}return $(e,t)})},z=function(e){try{return e()}catch(e){return}},Y=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?Y(t.shadowRoot):t instanceof HTMLIFrameElement&&z(function(){return t.contentWindow.document})?Y(t.contentWindow.document):t}},X=function(e){void 0===e&&(e=document);var t=Y(e);return!!t&&S(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return $(e,t)})},J=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var i=r+1;i<n;i+=1){var s=e[r].compareDocumentPosition(e[i]);(s&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(s&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},Q=function(e){return e.parentNode?Q(e.parentNode):e}
1,Z=function(e){return x(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(a);return e.push.apply(e,n?J(S(Q(t).querySelectorAll("[".concat(a,'="').concat(n,'"]:not([').concat(u,'="disabled"])')))):[t]),e},[])},ee=function(e,t){return void 0===t&&(t=Y(E(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&Z(e).some(function(e){var n;return $(e,t)||(n=t,!!S(e.querySelectorAll("iframe")).some(function(e){return e===n}))})},et=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},en=function(e,t){if(_(e)&&e.name)return t.filter(_).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e;return e},er=function(e){var t=new Set;return e.forEach(function(n){return t.add(en(n,e))}),e.filter(function(e){return t.has(e)})},ei=function(e){return e[0]&&e.length>1?en(e[0],e):e[0]},es=function(e,t){return e.indexOf(en(t,e))},eo="NEW_FOCUS",ea=function(e,t,n,r,i){var s=e.length,o=e[0],a=e[s-1],u=j(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?n.indexOf(r):-1,c=i?n.indexOf(i):l,d=i?e.indexOf(i):-1;if(-1===l)return -1!==d?d:eo;if(-1===d)return eo;var f=l-c,h=n.indexOf(o),p=n.indexOf(a),m=er(n),v=void 0!==r?m.indexOf(r):-1,g=i?m.indexOf(i):v,y=m.filter(function(e){return e.tabIndex>=0}),b=void 0!==r?y.indexOf(r):-1,w=i?y.indexOf(i):b;if(!f&&d>=0||0===t.length)return d;var S=es(e,t[0]),x=es(e,t[t.length-1]);if(l<=h&&u&&Math.abs(f)>1)return x;if(l>=p&&u&&Math.abs(f)>1)return S;if(f&&Math.abs(b>=0&&w>=0?w-b:g-v)>1)return d;if(l<=h)return x;if(l>p)return S;if(f)return Math.abs(f)>1?d:(s+d+f)%s}},eu=function(e,t,n){var r=W(e.map(function(e){return e.node}).filter(function(e){var t,r=null==(t=C(e))?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||n.indexOf(e)>=0}));return r&&r.length?ei(r):ei(W(t))},el=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&el(e.parentNode.host||e.parentNode,t),t},ec=function(e,t){for(var n=el(e),r=el(t),i=0;i<n.length;i+=1){var s=n[i];if(r.indexOf(s)>=0)return s}return!1},ed=function(e,t,n){var r=x(e),i=x(t),s=r[0],o=!1;return i.filter(Boolean).forEach(function(e){o=ec(o||e,e)||o,n.filter(Boolean).forEach(function(e){var t=ec(s,e);t&&(o=!o||$(t,o)?t:ec(t,o))})}),o},ef=function(e,t){return e.reduce(function(e,n){var r,i;return e.concat((r=n,i=t,U(S(r.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return q([e])}).reduce(function(e,t){return e.concat(t)},[]),i)))},[])},eh=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(F)},ep=function(e,t){var n=Y(x(e).length>0?document:E(e).ownerDocument),r=Z(e).filter(I),i=ed(n||e,e,r),s=new Map,o=H(r,s),a=o.filter(function(e){return I(e.node)});if(a[0]){var u=H([i],s).map(function(e){return e.node}),l=eh(u,a),c=l.map(function(e){return e.node}),d=l.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=ea(c,d,u,n,t);if(f===eo){var h=eu(o,d,ef(r,s))||eu(o,c,ef(r,s));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:l[f]}},em=0,ev=!1,eg=function(e,t,n){void 0===n&&(n={});var r=ep(e,t);if(!ev&&r){if(em>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ev=!0,setTimeout(function(){ev=!1},1);return}em++,et(r.node,n.focusOptions),em--}};function ey(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var eb=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:ey(n),parent:ey(n.parentElement),left:ey(n.previousElementSibling),right:ey(n.nextElementSibling)}),n=n.parentElement;return{element:ey(e),stack:t,ownerDocument:e.ownerDocument}},ew=function(e){if(e)for(var t,n,r,i,s,o=e.stack,a=e.ownerDocument,u=new Map,l=0;l<o.length;l++){var c=o[l],d=null==(t=c.parent)?void 0:t.call(c);if(d&&a.contains(d)){for(var f=null==(n=c.left)?void 0:n.call(c),h=c.current(),p=d.contains(h)?h:void 0,m=null==(r=c.right)?void 0:r.call(c),v=K([d],u),g=null!=(s=null!=(i=null!=p?p:null==f?void 0:f.nextElementSibling)?i:m)?s:f;g;){for(var y=0;y<v.length;y++){var b=v[y];if(null==g?void 0:g.contains(b.node))return b.node}g=g.nextElementSibling}if(v.length)return v[0].node}}},eS=function(e){var t=eb(e);return function(){return ew(t)}},ex=function(e){var t=Z(e).filter(I),n=L(q([ed(e,e,t)],!0),!0,!0),r=q(t,!1);return n.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:r.indexOf(t)>=0,guard:j(t)}})},eE=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=x(t);if(r.every(function(t){return!$(t,e)}))return console.error("Active element is not contained in the scope"),{};var i=n?K(r,new Map):H(r,new Map),s=i.findIndex(function(t){return t.node===e});if(-1!==s)return{prev:i[s-1],next:i[s+1],first:i[0],last:i[i.length-1]}},eA=function(e,t){var n=t?K(x(e),new Map):H(x(e),new Map);return{first:n[0],last:n[n.length-1]}},eM=function(e,t,n){void 0===t&&(t={});var r,i=(r=t,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),s=eE(e,i.scope,i.onlyTabbable);if(s){var o=n(s,i.cycle);o&&et(o.node,i.focusOptions)}},eT=function(e,t,n){var r,i=eA(e,null==(r=t.onlyTabbable)||r)[n];i&&et(i.node,t.focusOptions)};function eP(e){setTimeout(e,1)}var eO=function(e){return e&&"current"in e?e.current:e},eC=function(){return document&&document.activeElement===document.body},ek=null,e_=null,eV=function(){return null},ej=null,eI=!1,eF=!1,eN=function(e,t){ej={observerNode:e,portaledElement:t}};function eL(e,t,n,r){var i=null,s=e;do{var o=r[s];if(o.guard)o.node.dataset.focusAutoGuard&&(i=o);else if(o.lockItem){if(s!==e)return;i=null}else break}while((s+=n)!==t);i&&(i.node.tabIndex=0)}var eR=function(e){return H(e,new Map)},eD=function(){var e=!1;
1if(ek){var t=ek,n=t.observed,r=t.persistentFocus,i=t.autoFocus,s=t.shards,o=t.crossFrame,a=t.focusOptions,u=t.noFocusGuards,l=n||ej&&ej.portaledElement;if(eC()&&e_&&e_!==document.body&&(!document.body.contains(e_)||!eR([(f=e_).parentNode]).some(function(e){return e.node===f}))){var c=eV();c&&c.focus()}var d=document&&document.activeElement;if(l){var f,h=[l].concat(s.map(eO).filter(Boolean));if((!d||(ek.whiteList||function(){return!0})(d))&&(r||function(){if(!(o?!!eI:"meanwhile"===eI)||!u||!e_||eF)return!1;var e=eR(h),t=e.findIndex(function(e){return e.node===e_});return 0===t||t===e.length-1}()||!(eC()||X())||!e_&&i)&&(l&&!(ee(h)||d&&h.some(function(e){return function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))}(d,e,e)})||ej&&ej.portaledElement===d)&&(document&&!e_&&d&&!i?(d.blur&&d.blur(),document.body.focus()):(e=eg(h,e_,{focusOptions:a}),ej={})),(e_=document&&document.activeElement)!==document.body&&(eV=eS(e_)),eI=!1),document&&d!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var p=document&&document.activeElement,m=ex(h),v=m.map(function(e){return e.node}).indexOf(p);v>-1&&(m.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eL(v,m.length,1,m),eL(v,-1,-1,m))}}}return e},eB=function(e){eD()&&e&&(e.stopPropagation(),e.preventDefault())},eG=function(){return eP(eD)},eq=function(){eF=!0},eU=function(){eF=!1,eI="just",eP(function(){eI="meanwhile"})},eW=function(){document.addEventListener("focusin",eB),document.addEventListener("focusout",eG),window.addEventListener("focus",eq),window.addEventListener("blur",eU)},eK=function(){document.removeEventListener("focusin",eB),document.removeEventListener("focusout",eG),window.removeEventListener("focus",eq),window.removeEventListener("blur",eU)},eH={moveFocusInside:eg,focusInside:ee,focusNextElement:function(e,t){void 0===t&&(t={}),eM(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},focusPrevElement:function(e,t){void 0===t&&(t={}),eM(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},focusFirstElement:function(e,t){void 0===t&&(t={}),eT(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),eT(e,t,"last")},captureFocusRestore:eS};f.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||eN(n,t)}),h.assignMedium(eG),p.assignMedium(function(e){return e(eH)});let e$=(i=function(e){return e.filter(function(e){return!e.disabled})},s=function(e){var t=e.slice(-1)[0];t&&!ek&&eW();var n=ek,r=n&&t&&t.id===n.id;ek=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(e_=null,r&&n.observed===t.observed||t.onActivation(eH),eD(!0),eP(eD)):(eK(),e_=null)},function(e){var t,n,r,a,u,l=[];function c(){s(u=i(l.map(function(e){return e.props})))}var d=function(t){function n(){return t.apply(this,arguments)||this}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,b(n,t),n.peek=function(){return u};var r=n.prototype;return r.componentDidMount=function(){l.push(this),c()},r.componentDidUpdate=function(){c()},r.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),c()},r.render=function(){return o.createElement(e,this.props)},n}(o.PureComponent);return t=d,n="displayName",r="SideEffect("+(e.displayName||e.name||"Component")+")",(a=function(e,t){if("object"!=w(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=w(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(n,"string"),(n="symbol"==w(a)?a:a+"")in t)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,d})(function(){return null});var ez=(0,o.forwardRef)(function(e,t){return o.createElement(y,r({sideCar:e$,ref:t},e))}),eY=y.propTypes||{};eY.sideCar,function(e,t){if(null!=e){var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}}}
1(eY,["sideCar"]),ez.propTypes={};let eX=ez},7268:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=n(5558);function i(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var s="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,o=new WeakMap;function a(e,t){var n,a,u,l=(n=t||null,a=function(t){return e.forEach(function(e){return i(e,t)})},(u=(0,r.useState)(function(){return{value:n,callback:a,facade:{get current(){return u.value},set current(value){var e=u.value;e!==value&&(u.value=value,u.callback(value,e))}}}})[0]).callback=a,u.facade);return s(function(){var t=o.get(l);if(t){var n=new Set(t),r=new Set(e),s=l.current;n.forEach(function(e){r.has(e)||i(e,null)}),r.forEach(function(e){n.has(e)||i(e,s)})}o.set(l,e)},[e]),l}},7691:(e,t,n)=>{"use strict";n.d(t,{x:()=>u});var r=n(7798),i=n(5558),s=n(892),o=n(9144),a=n(3613);function u(e){let{children:t,isValidProp:n,...u}=e;n&&(0,o.D)(n),(u={...(0,i.useContext)(s.Q),...u}).isStatic=(0,a.M)(()=>u.isStatic);let l=(0,i.useMemo)(()=>u,[JSON.stringify(u.transition),u.transformPagePoint,u.reducedMotion]);return(0,r.jsx)(s.Q.Provider,{value:l,children:t})}},7811:e=>{e.exports={style:{fontFamily:"'Nunito Sans', 'Nunito Sans Fallback'",fontStyle:"normal"},className:"__className_ad9d8d"}},8175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(5440)._(n(4455));function i(e,t){var n;let i={};"function"==typeof e&&(i.loader=e);let s={...i,...t};return(0,r.default)({...s,modules:null==(n=s.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8609:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,f:()=>a});var r=n(3711);function i(e){return e}function s(e,t){void 0===t&&(t=i);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var s=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(s)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function o(e,t){return void 0===t&&(t=i),s(e,t)}function a(e){void 0===e&&(e={});var t=s(null);return t.options=(0,r.Cl)({async:!0,ssr:!1},e),t}},8625:(e,t,n)=>{"use strict";n.d(t,{N:()=>v});var r=n(7798),i=n(5558),s=n(8685),o=n(3613),a=n(3957),u=n(892);class l extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=e instanceof HTMLElement&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function c(e){let{children:t,isPresent:n,anchorX:s}=e,o=(0,i.useId)(),a=(0,i.useRef)(null),c=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,i.useContext)(u.Q);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i,right:u}=c.current;if(n||!a.current||!e||!t)return;a.current.dataset.motionPopId=o;let l=document.createElement("style");return d&&(l.nonce=d),document.head.appendChild(l),l.sheet&&l.sheet.insertRule('\n [data-motion-pop-id="'.concat(o,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(t,"px !important;\n ").concat("left"===s?"left: ".concat(i):"right: ".concat(u),"px !important;\n top: ").concat(r,"px !important;\n }\n ")),()=>{document.head.removeChild(l)}},[n]),(0,r.jsx)(l,{isPresent:n,childRef:a,sizeRef:c,children:i.cloneElement(t,{ref:a})})}let d=e=>{let{children:t,initial:n,isPresent:s,onExitComplete:u,custom:l,presenceAffectsLayout:d,mode:h,anchorX:p}=e,m=(0,o.M)(f),v=(0,i.useId)(),g=(0,i.useCallback)(e=>
1{for(let t of(m.set(e,!0),m.values()))if(!t)return;u&&u()},[m,u]),y=(0,i.useMemo)(()=>({id:v,initial:n,isPresent:s,custom:l,onExitComplete:g,register:e=>(m.set(e,!1),()=>m.delete(e))}),d?[Math.random(),g]:[s,g]);return(0,i.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[s]),i.useEffect(()=>{s||m.size||!u||u()},[s]),"popLayout"===h&&(t=(0,r.jsx)(c,{isPresent:s,anchorX:p,children:t})),(0,r.jsx)(a.t.Provider,{value:y,children:t})};function f(){return new Map}let h=e=>e.key||"";function p(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}var m=n(5518);let v=e=>{let{children:t,custom:n,initial:u=!0,onExitComplete:l,presenceAffectsLayout:c=!0,mode:f="sync",propagate:v=!1,anchorX:g="left"}=e,[y,b]=function(e=!0){let t=(0,i.useContext)(a.t);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:r,register:s}=t,o=(0,i.useId)();(0,i.useEffect)(()=>{if(e)return s(o)},[e]);let u=(0,i.useCallback)(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,u]:[!0]}(v),w=(0,i.useMemo)(()=>p(t),[t]),S=v&&!y?[]:w.map(h),x=(0,i.useRef)(!0),E=(0,i.useRef)(w),A=(0,o.M)(()=>new Map),[M,T]=(0,i.useState)(w),[P,O]=(0,i.useState)(w);(0,m.E)(()=>{x.current=!1,E.current=w;for(let e=0;e<P.length;e++){let t=h(P[e]);S.includes(t)?A.delete(t):!0!==A.get(t)&&A.set(t,!1)}},[P,S.length,S.join("-")]);let C=[];if(w!==M){let e=[...w];for(let t=0;t<P.length;t++){let n=P[t],r=h(n);S.includes(r)||(e.splice(t,0,n),C.push(n))}return"wait"===f&&C.length&&(e=C),O(p(e)),T(w),null}let{forceRender:k}=(0,i.useContext)(s.L);return(0,r.jsx)(r.Fragment,{children:P.map(e=>{let t=h(e),i=(!v||!!y)&&(w===P||S.includes(t));return(0,r.jsx)(d,{isPresent:i,initial:(!x.current||!!u)&&void 0,custom:n,presenceAffectsLayout:c,mode:f,onExitComplete:i?void 0:()=>{if(!A.has(t))return;A.set(t,!0);let e=!0;A.forEach(t=>{t||(e=!1)}),e&&(null==k||k(),O(E.current),v&&(null==b||b()),l&&l())},anchorX:g,children:e},t)})})}},9285:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,height:n=null,width:s=null,children:o,dataNtpc:a=""}=e;return(0,i.useEffect)(()=>{a&&performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-".concat(a)}})},[a]),(0,r.jsxs)(r.Fragment,{children:[o,t?(0,r.jsx)("div",{style:{height:null!=n?"".concat(n,"px"):"auto",width:null!=s?"".concat(s,"px"):"auto"},"data-ntpc":a,dangerouslySetInnerHTML:{__html:t}}):null]})};let r=n(7798),i=n(5558)},9719:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return o},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return a}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let i="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return i?new i:new r}function o(e){return i?i.bind(e):r.bind(e)}function a(){return i?i.snapshot():function(e,...t){return e(...t)}}},9999:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=void 0,t.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:n="https://www.googletagmanager.com/gtm.js",dataLayerName:a="dataLayer",auth:u,preview:l,dataLayer:c,nonce:d}=e;o=a;let f="dataLayer"!==a?"&l=".concat(a):"";return(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:"\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ".concat(c?"w[l].push(".concat(JSON.stringify(c),")"):"","\n })(window,'").concat(a,"');")},nonce:d}),(0,r.jsx)(s.default,{id:"_next-gtm","data-ntpc":"GTM",src:"".concat(n,"?id=").concat(t).concat(f).concat(u?">m_auth=".concat(u):"").concat(l?">m_preview=".concat(l,">m_cookies_win=x"):""),nonce:d})]})};
1let r=n(7798),i=n(5558),s=function(e){return e&&e.__esModule?e:{default:e}}(n(6056)),o="dataLayer";t.sendGTMEvent=(e,t)=>{let n=t||o;window[n]=window[n]||[],window[n].push(e)}}}]);
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.