PageSourceSearch

https://madamspeaker.org.au/_next/static/chunks/3058-73e1cee6914a2557.js

js madamspeaker.org.au collected 2026-10-06 06:31:19 UTC 296,704 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3058],{9244:function(e,t,n){"use strict";n.d(t,{H:function(){return i}}),n(77800);var r=n(2265),i=function(e){var t=(0,r.useState)(!1),n=t[0],i=t[1];return[function(t){return new Promise(function(n,r){var s="https://submit-form.com/"+e.formId,o=JSON.stringify(t);i(!0),fetch(s,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:o}).then(function(e){return e.json()}).then(function(e){n(e)}).catch(function(e){r(e)}).finally(function(){i(!1)})})},n]}},23897:function(e,t,n){"use strict";n.d(t,{V:function(){return c}});var r=n(2265),i=n(36498);let s="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,o=e=>e&&!Array.isArray(e)&&"object"==typeof e,a=[],l={},u=i.ZP,c=(e,t=a)=>{let n=l;o(e)?(n=e,e=null,t="dependencies"in n?n.dependencies:a):o(t)&&(t="dependencies"in(n=t)?n.dependencies:a),e&&"function"!=typeof e&&console.warn("First parameter must be a function or config object");let{scope:i,revertOnUpdate:c}=n,d=(0,r.useRef)(!1),h=(0,r.useRef)(u.context(()=>{},i)),p=(0,r.useRef)(e=>h.current.add(null,e)),f=t&&t.length&&!c;return s(()=>{if(e&&h.current.add(e,i),!f||!d.current)return()=>h.current.revert()},t),f&&s(()=>(d.current=!0,()=>h.current.revert()),a),{context:h.current,contextSafe:p.current}};c.register=e=>{u=e},c.headless=!0},24465:function(e,t,n){"use strict";n.r(t),n.d(t,{CountUp:function(){return i}});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)},i=function(){function e(e,t,n){var i=this;this.endVal=t,this.options=n,this.version="2.8.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",enableScrollSpy:!1,scrollSpyDelay:200,scrollSpyOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(e){i.startTime||(i.startTime=e);var t=e-i.startTime;i.remaining=i.duration-t,i.useEasing?i.countDown?i.frameVal=i.startVal-i.easingFn(t,0,i.startVal-i.endVal,i.duration):i.frameVal=i.easingFn(t,i.startVal,i.endVal-i.startVal,i.duration):i.frameVal=i.startVal+(i.endVal-i.startVal)*(t/i.duration);var n=i.countDown?i.frameVal<i.endVal:i.frameVal>i.endVal;i.frameVal=n?i.endVal:i.frameVal,i.frameVal=Number(i.frameVal.toFixed(i.options.decimalPlaces)),i.printValue(i.frameVal),t<i.duration?i.rAF=requestAnimationFrame(i.count):null!==i.finalEndVal?i.update(i.finalEndVal):i.options.onCompleteCallback&&i.options.onCompleteCallback()},this.formatNumber=function(e){var t,n,r,s=(Math.abs(e).toFixed(i.options.decimalPlaces)+"").split(".");if(t=s[0],n=s.length>1?i.options.decimal+s[1]:"",i.options.useGrouping){r="";for(var o=3,a=0,l=0,u=t.length;l<u;++l)i.options.useIndianSeparators&&4===l&&(o=2,a=1),0!==l&&a%o==0&&(r=i.options.separator+r),a++,r=t[u-l-1]+r;t=r}return i.options.numerals&&i.options.numerals.length&&(t=t.replace(/[0-9]/g,function(e){return i.options.numerals[+e]}),n=n.replace(/[0-9]/g,function(e){return i.options.numerals[+e]})),(e<0?"-":"")+i.options.prefix+t+n+i.options.suffix},this.easeOutExpo=function(e,t,n,r){return n*(1-Math.pow(2,-10*e/r))*1024/1023+t},this.options=r(r({},this.defaults),n),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(t),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el="string"==typeof e?document.getElementById(e):e,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined","undefined"!=typeof window&&this.options.enableScrollSpy&&(this.error?console.error(this.error,e):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push(function(){return i.handleScroll(i)}),window.onscroll=function(){window.onScrollFns.forEach(function(e){return e()})},this.handleScroll(this)))}return e.prototype.handleScroll=function(e){if(e&&window&&!e.once){var t=window.innerHeight+window.scrollY,n=e.el.getBoundingClientRect(),r=n.top+window.pageYOffset,i=n.top+n.height+window.pageYOffset;i<t&&i>window.scrollY&&e.paused?(e.paused=!1,setTimeout(function(){return e.start()},e.options.scrollSpyDelay),e.options.scrollSpyOnce&&(e.once=!0)):(window.scrollY>i||r>t)&&!e.paused&&e.reset()}},e.prototype.determineDirectionAndSmartEasing=function(){var e=this.finalEndVal?this.finalEndVal:this.endVal;if(this.countDown=this.startVal>e,Math.abs(e-this.startVal)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=e;var t=this.countDown?1:-1;
1this.endVal=e+t*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=e,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(e){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),e&&(this.options.onCompleteCallback=e),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(e){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(e),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(e){var t;if(this.el){var n=this.formattingFn(e);(null===(t=this.options.plugin)||void 0===t?void 0:t.render)?this.options.plugin.render(this.el,n):"INPUT"===this.el.tagName?this.el.value=n:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=n:this.el.innerHTML=n}},e.prototype.ensureNumber=function(e){return"number"==typeof e&&!isNaN(e)},e.prototype.validateValue=function(e){var t=Number(e);return this.ensureNumber(t)?t:(this.error="[CountUp] invalid start or end value: ".concat(e),null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e}()},36498:function(e,t,n){"use strict";n.d(t,{ZP:function(){return eO},p8:function(){return eO}});var r,i,s,o,a,l,u,c,d,h,p,f=n(53860),m={},g=180/Math.PI,v=Math.PI/180,y=Math.atan2,b=/([A-Z])/g,x=/(left|right|width|margin|padding|x)/i,w=/[\s,\(]\S/,S={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},P=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},O=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},C=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},E=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},A=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},V=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},T=function(e,t,n){return e.style[t]=n},M=function(e,t,n){return e.style.setProperty(t,n)},k=function(e,t,n){return e._gsap[t]=n},F=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},D=function(e,t,n,r,i){var s=e._gsap;s.scaleX=s.scaleY=n,s.renderTransform(i,s)},R=function(e,t,n,r,i){var s=e._gsap;s[t]=n,s.renderTransform(i,s)},I="transform",L=I+"Origin",j=function e(t,n){var r=this,i=this.target,s=i.style,o=i._gsap;if(t in m&&s){if(this.tfm=this.tfm||{},"transform"===t)return S.transform.split(",").forEach(function(t){return e.call(r,t,n)});if(~(t=S[t]||t).indexOf(",")?t.split(",").forEach(function(e){return r.tfm[e]=et(i,e)}):this.tfm[t]=o.x?o[t]:et(i,t),t===L&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(I)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(L,n,"")),t=I}(s||n)&&this.props.push(t,n,s[t])},_=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},B=function(){var e,t,n=this.props,r=this.target,i=r.style,s=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?r[n[e]]=n[e+2]:n[e+2]?i[n[e]]=n[e+2]:i.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(b,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)s[t]=this.tfm[t];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=h())&&e.isStart||i[I]||(_(i),s.zOrigin&&i[L]&&(i[L]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},N=function(e,t){var n={target:e,props:[],revert:B,save:j};return e._gsap||f.p8.core.getCache(e),t&&t.split(",").forEach(function(e){return n.save(e)}),n},U=function(e,t){var n=a.createElementNS?a.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):a.createElement(e);return n&&n.style?n:a.createElement(e)},z=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(b,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&e(t,H(n)||n,1)||""},W="O,Moz,ms,Ms,Webkit".split(","),H=function(e,t,n){var r=(t||c).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(W[i]+e in r););return i<0?null:(3===i?"ms":i>=0?W[i]:"")+e},$=function(){"undefined"!=typeof window&&window.document&&(l=(a=window.document).documentElement,c=U("div")||{style:{}},U("div"),L=(I=H(I))+"Origin",c.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",p=!!H("perspective"),h=f.p8.core.reverting,u=1)},Z=function e(t){var n,r=U("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(l.appendChild(r),r.appendChild(this),this.style.display="block",t)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(e){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),l.removeChild(r),this.style.cssText=o,n},Y=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},X=function(e){var t;try{t=e.getBBox()}catch(n){t=Z.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Z||(t=Z.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+Y(e,["x","cx","x1"])||0,y:+Y(e,["y","cy","y1"])||0,width:0,height:0}},q=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&X(e))},G=function(e,t){if(t){var n,r=e.style;t in m&&t!==L&&(t=I),r.removeProperty?(("ms"===(n=t.substr(0,2))||"webkit"===t.substr(0,6))&&(t="-"+t),r.removeProperty("--"===n?t:t.replace(b,"-$1").toLowerCase())):r.removeAttribute(t)}},K=function(e,t,n,r,i,s){var o=new f.Fo(e._pt,t,n,0,1,s?V:A);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},J={deg:1,rad:1,turn:1},Q={grid:1,flex:1},ee=function e(t,n,r,i){var s,o,l,u,d=parseFloat(r)||0,h=(r+"").trim().substr((d+"").length)||"px",p=c.style,g=x.test(n),v="svg"===t.tagName.toLowerCase(),y=(v?"client":"offset")+(g?"Width":"Height"),b="px"===i,w="%"===i;
1if(i===h||!d||J[i]||J[h])return d;if("px"===h||b||(d=e(t,n,r,"px")),u=t.getCTM&&q(t),(w||"%"===h)&&(m[n]||~n.indexOf("adius")))return s=u?t.getBBox()[g?"width":"height"]:t[y],(0,f.Pr)(w?d/s*100:d/100*s);if(p[g?"width":"height"]=100+(b?h:i),o=~n.indexOf("adius")||"em"===i&&t.appendChild&&!v?t:t.parentNode,u&&(o=(t.ownerSVGElement||{}).parentNode),o&&o!==a&&o.appendChild||(o=a.body),(l=o._gsap)&&w&&l.width&&g&&l.time===f.xr.time&&!l.uncache)return(0,f.Pr)(d/l.width*100);if(w&&("height"===n||"width"===n)){var S=t.style[n];t.style[n]=100+i,s=t[y],S?t.style[n]=S:G(t,n)}else(w||"%"===h)&&!Q[z(o,"display")]&&(p.position=z(t,"position")),o===t&&(p.position="static"),o.appendChild(c),s=c[y],o.removeChild(c),p.position="absolute";return g&&w&&((l=(0,f.DY)(o)).time=f.xr.time,l.width=o[y]),(0,f.Pr)(b?s*d/100:s&&d?100/s*d:0)},et=function(e,t,n,r){var i;return u||$(),t in S&&"transform"!==t&&~(t=S[t]).indexOf(",")&&(t=t.split(",")[0]),m[t]&&"transform"!==t?(i=ep(e,r),i="transformOrigin"!==t?i[t]:i.svg?i.origin:ef(z(e,L))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=eo[t]&&eo[t](e,t,n)||z(e,t)||(0,f.Ok)(e,t)||("opacity"===t?1:0)),n&&!~(i+"").trim().indexOf(" ")?ee(e,t,i,n)+n:i},en=function(e,t,n,r){if(!n||"none"===n){var i=H(t,e,1),s=i&&z(e,i,1);s&&s!==n?(t=i,n=s):"borderColor"===t&&(n=z(e,"borderTopColor"))}var o,a,l,u,c,d,h,p,m,g,v,y=new f.Fo(this._pt,e.style,t,0,1,f.Ks),b=0,x=0;if(y.b=n,y.e=r,n+="","auto"==(r+="")&&(d=e.style[t],e.style[t]=r,r=z(e,t)||r,d?e.style[t]=d:G(e,t)),o=[n,r],(0,f.kr)(o),n=o[0],r=o[1],l=n.match(f.d4)||[],(r.match(f.d4)||[]).length){for(;a=f.d4.exec(r);)h=a[0],m=r.substring(b,a.index),c?c=(c+1)%5:("rgba("===m.substr(-5)||"hsla("===m.substr(-5))&&(c=1),h!==(d=l[x++]||"")&&(u=parseFloat(d)||0,v=d.substr((u+"").length),"="===h.charAt(1)&&(h=(0,f.cy)(u,h)+v),p=parseFloat(h),g=h.substr((p+"").length),b=f.d4.lastIndex-g.length,g||(g=g||f.Fc.units[t]||v,b!==r.length||(r+=g,y.e+=g)),v!==g&&(u=ee(e,t,d,g)||0),y._pt={_next:y._pt,p:m||1===x?m:",",s:u,c:p-u,m:c&&c<4||"zIndex"===t?Math.round:0});y.c=b<r.length?r.substring(b,r.length):""}else y.r="display"===t&&"none"===r?V:A;return f.bQ.test(r)&&(y.e=0),this._pt=y,y},er={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ei=function(e){var t=e.split(" "),n=t[0],r=t[1]||"50%";return("top"===n||"bottom"===n||"left"===r||"right"===r)&&(e=n,n=r,r=e),t[0]=er[n]||n,t[1]=er[r]||r,t.join(" ")},es=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,r,i,s=t.t,o=s.style,a=t.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",r=1;else for(i=(a=a.split(",")).length;--i>-1;)m[n=a[i]]&&(r=1,n="transformOrigin"===n?L:I),G(s,n);r&&(G(s,I),l&&(l.svg&&s.removeAttribute("transform"),ep(s,1),l.uncache=1,_(o)))}},eo={clearProps:function(e,t,n,r,i){if("isFromStart"!==i.data){var s=e._pt=new f.Fo(e._pt,t,n,0,0,es);return s.u=r,s.pr=-10,s.tween=i,e._props.push(n),1}}},ea=[1,0,0,1,0,0],el={},eu=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},ec=function(e){var t=z(e,I);return eu(t)?ea:t.substr(7).match(f.SI).map(f.Pr)},ed=function(e,t){var n,r,i,s,o=e._gsap||(0,f.DY)(e),a=e.style,u=ec(e);return o.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?ea:u:(u!==ea||e.offsetParent||e===l||o.svg||(i=a.display,a.display="block",(n=e.parentNode)&&e.offsetParent||(s=1,r=e.nextElementSibling,l.appendChild(e)),u=ec(e),i?a.display=i:G(e,"display"),s&&(r?n.insertBefore(e,r):n?n.appendChild(e):l.removeChild(e))),t&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},eh=function(e,t,n,r,i,s){var o,a,l,u,c=e._gsap,d=i||ed(e,!0),h=c.xOrigin||0,p=c.yOrigin||0,f=c.xOffset||0,m=c.yOffset||0,g=d[0],v=d[1],y=d[2],b=d[3],x=d[4],w=d[5],S=t.split(" "),P=parseFloat(S[0])||0,O=parseFloat(S[1])||0;n?d!==ea&&(a=g*b-v*y)&&(l=b/a*P+-y/a*O+(y*w-b*x)/a,u=-v/a*P+g/a*O-(g*w-v*x)/a,P=l,O=u):(P=(o=X(e)).x+(~S[0].indexOf("%")?P/100*o.width:P),O=o.y+(~(S[1]||S[0]).indexOf("%")?O/100*o.height:O)),r||!1!==r&&c.smooth?(x=P-h,w=O-p,c.xOffset=f+(x*g+w*y)-x,c.yOffset=m+(x*v+w*b)-w):c.xOffset=c.yOffset=0,c.xOrigin=P,c.yOrigin=O,c.smooth=!!r,c.origin=t,c.originIsAbsolute=!!n,e.style[L]="0px 0px",s&&(K(s,c,"xOr
1igin",h,P),K(s,c,"yOrigin",p,O),K(s,c,"xOffset",f,c.xOffset),K(s,c,"yOffset",m,c.yOffset)),e.setAttribute("data-svg-origin",P+" "+O)},ep=function(e,t){var n=e._gsap||new f.l1(e);if("x"in n&&!t&&!n.uncache)return n;var r,i,s,o,a,l,u,c,d,h,m,b,x,w,S,P,O,C,E,A,V,T,M,k,F,D,R,j,_,B,N,U,W=e.style,H=n.scaleX<0,$=getComputedStyle(e),Z=z(e,L)||"0";return r=i=s=l=u=c=d=h=m=0,o=a=1,n.svg=!!(e.getCTM&&q(e)),$.translate&&(("none"!==$.translate||"none"!==$.scale||"none"!==$.rotate)&&(W[I]=("none"!==$.translate?"translate3d("+($.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==$.rotate?"rotate("+$.rotate+") ":"")+("none"!==$.scale?"scale("+$.scale.split(" ").join(",")+") ":"")+("none"!==$[I]?$[I]:"")),W.scale=W.rotate=W.translate="none"),w=ed(e,n.svg),n.svg&&(n.uncache?(F=e.getBBox(),Z=n.xOrigin-F.x+"px "+(n.yOrigin-F.y)+"px",k=""):k=!t&&e.getAttribute("data-svg-origin"),eh(e,k||Z,!!k||n.originIsAbsolute,!1!==n.smooth,w)),b=n.xOrigin||0,x=n.yOrigin||0,w!==ea&&(C=w[0],E=w[1],A=w[2],V=w[3],r=T=w[4],i=M=w[5],6===w.length?(o=Math.sqrt(C*C+E*E),a=Math.sqrt(V*V+A*A),l=C||E?y(E,C)*g:0,(d=A||V?y(A,V)*g+l:0)&&(a*=Math.abs(Math.cos(d*v))),n.svg&&(r-=b-(b*C+x*A),i-=x-(b*E+x*V))):(U=w[6],B=w[7],R=w[8],j=w[9],_=w[10],N=w[11],r=w[12],i=w[13],s=w[14],u=(S=y(U,_))*g,S&&(k=T*(P=Math.cos(-S))+R*(O=Math.sin(-S)),F=M*P+j*O,D=U*P+_*O,R=-(T*O)+R*P,j=-(M*O)+j*P,_=-(U*O)+_*P,N=-(B*O)+N*P,T=k,M=F,U=D),c=(S=y(-A,_))*g,S&&(k=C*(P=Math.cos(-S))-R*(O=Math.sin(-S)),F=E*P-j*O,D=A*P-_*O,N=V*O+N*P,C=k,E=F,A=D),l=(S=y(E,C))*g,S&&(k=C*(P=Math.cos(S))+E*(O=Math.sin(S)),F=T*P+M*O,E=E*P-C*O,M=M*P-T*O,C=k,T=F),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,c=180-c),o=(0,f.Pr)(Math.sqrt(C*C+E*E+A*A)),a=(0,f.Pr)(Math.sqrt(M*M+U*U)),d=Math.abs(S=y(T,M))>2e-4?S*g:0,m=N?1/(N<0?-N:N):0),n.svg&&(k=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!eu(z(e,I)),k&&e.setAttribute("transform",k))),Math.abs(d)>90&&270>Math.abs(d)&&(H?(o*=-1,d+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,d+=d<=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+"px",n.y=i-((n.yPercent=i&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+"px",n.z=s+"px",n.scaleX=(0,f.Pr)(o),n.scaleY=(0,f.Pr)(a),n.rotation=(0,f.Pr)(l)+"deg",n.rotationX=(0,f.Pr)(u)+"deg",n.rotationY=(0,f.Pr)(c)+"deg",n.skewX=d+"deg",n.skewY=h+"deg",n.transformPerspective=m+"px",(n.zOrigin=parseFloat(Z.split(" ")[2])||!t&&n.zOrigin||0)&&(W[L]=ef(Z)),n.xOffset=n.yOffset=0,n.force3D=f.Fc.force3D,n.renderTransform=n.svg?eb:p?ey:eg,n.uncache=0,n},ef=function(e){return(e=e.split(" "))[0]+" "+e[1]},em=function(e,t,n){var r=(0,f.Wy)(t);return(0,f.Pr)(parseFloat(t)+parseFloat(ee(e,"x",n+"px",r)))+r},eg=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,ey(e,t)},ev="0deg",ey=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,s=n.x,o=n.y,a=n.z,l=n.rotation,u=n.rotationY,c=n.rotationX,d=n.skewX,h=n.skewY,p=n.scaleX,f=n.scaleY,m=n.transformPerspective,g=n.force3D,y=n.target,b=n.zOrigin,x="",w="auto"===g&&e&&1!==e||!0===g;if(b&&(c!==ev||u!==ev)){var S,P=parseFloat(u)*v,O=Math.sin(P),C=Math.cos(P);s=em(y,s,-(O*(S=Math.cos(P=parseFloat(c)*v))*b)),o=em(y,o,-(-Math.sin(P)*b)),a=em(y,a,-(C*S*b)+b)}"0px"!==m&&(x+="perspective("+m+") "),(r||i)&&(x+="translate("+r+"%, "+i+"%) "),(w||"0px"!==s||"0px"!==o||"0px"!==a)&&(x+="0px"!==a||w?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+") "),l!==ev&&(x+="rotate("+l+") "),u!==ev&&(x+="rotateY("+u+") "),c!==ev&&(x+="rotateX("+c+") "),(d!==ev||h!==ev)&&(x+="skew("+d+", "+h+") "),(1!==p||1!==f)&&(x+="scale("+p+", "+f+") "),y.style[I]=x||"translate(0, 0)"},eb=function(e,t){var n,r,i,s,o,a=t||this,l=a.xPercent,u=a.yPercent,c=a.x,d=a.y,h=a.rotation,p=a.skewX,m=a.skewY,g=a.scaleX,y=a.scaleY,b=a.target,x=a.xOrigin,w=a.yOrigin,S=a.xOffset,P=a.yOffset,O=a.forceCSS,C=parseFloat(c),E=parseFloat(d);h=parseFloat(h),p=parseFloat(p),(m=parseFloat(m))&&(p+=m=parseFloat(m),h+=m),h||p?(h*=v,p*=v,n=Math.cos(h)*g,r=Math.sin(h)*g,i=-(Math.sin(h-p)*y),s=Math.cos(h-p)*y,p&&(m*=v,i*=o=Math.sqrt(1+(o=Math.tan(p-m))*o),s*=o,m&&(n*=o=Math.sqrt(1+(o=Math.tan(m))*o),r*=o)),n=(0,f.Pr)(n),r=(0,f.Pr)(r),i=(0,f.Pr)(i),s=(0,f.Pr)(s)):(n=g,s=y,r=i=0),(C&&!~(c+"").indexOf("px")||E&&!~(d+"").indexOf("px"))&&(C=ee(b,"x",c,"px"),E=ee(b,"y",d,"px")),(x||w||S||P)&&(C=(0,f.Pr)(C+x-(x*n+w*i)+S),E=(0,f.Pr)(E+w-(x*r+w*s)+P)),(l||u)&&(o=b.getBBox(),C=(0,f.Pr)(C+l/100*o.width),E=(0,f.Pr)(E+u/100*o.height)),o="matrix("+n+","+r+","+i+","+s+","+C+","+E+")",b.setAttribute("transform",o),O&&(b.style[I]=o)},ex=function(e,t,n,r,i){var s,o,a=(0,f.r9)(i),l=parseFloat(i)*(a&&~i.indexOf("rad")?g:1)-r,u=r+l+"deg";return a&&("short"===(s=i.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===s&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===s&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),e._pt=o=new f.Fo(e._pt,t,n,r,l,O),o.e=u,o.u="deg",e._props.push(n),o},ew=function(e,t){for(var n in t)e[n]=t[n];return e},eS=function(e,t,n){var r,i,s,o,a,l,u,c=ew({},n._gsap),d=n.style;for(i in c.svg?(s=n.getAttribute("transform"),n.setAttribute("transform",""),d[I]=t,r=ep(n,1),G(n,I),n.setAttribute("transform",s)):(s=getComputedStyle(n)[I],d[I]=t,r=ep(n,1),d[I]=s),m)(s=c[i])!==(o=r[i])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)&&(a=(0,f.Wy)(s)!==(u=(0,f.Wy)(o))?ee(n,i,s,u):parseFloat(s),l=parseFloat(o),e._pt=new f.Fo(e._pt,r,i,a,l-a,P),e._pt.u=u||0,e._props.push(i));ew(r,c)};(0,f.fS)("padding,margin,Width,Radius",function(e,t){var n="Right",r="Bottom",i="Left",s=(t<3?["Top",n,r,i]:["Top"+i,"Top"+n,r+n,r+i]).map(function(n){return t<2?e+n:"border"+n+e});eo[t>1?"border"+e:e]=function(e,t,n,r,i){var o,a;if(arguments.length<4)return 5===(a=(o=s.map(function(t){return et(e,t,n)})).join(" ")).split(o[0]).length?o[0]:a;o=(r+"").split(" "),a={}
1,s.forEach(function(e,t){return a[e]=o[t]=o[t]||o[(t-1)/2|0]}),e.init(t,a,i)}});var eP={name:"css",register:$,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var s,o,a,l,c,d,h,p,g,v,y,b,x,O,A,V,T=this._props,M=e.style,k=n.vars.startAt;for(h in u||$(),this.styles=this.styles||N(e),V=this.styles.props,this.tween=n,t)if("autoRound"!==h&&(o=t[h],!(f.$i[h]&&(0,f.if)(h,t,n,r,e,i)))){if(c=typeof o,d=eo[h],"function"===c&&(c=typeof(o=o.call(n,r,e,i))),"string"===c&&~o.indexOf("random(")&&(o=(0,f.UI)(o)),d)d(this,e,h,o,n)&&(A=1);else if("--"===h.substr(0,2))s=(getComputedStyle(e).getPropertyValue(h)+"").trim(),o+="",f.GN.lastIndex=0,f.GN.test(s)||(p=(0,f.Wy)(s),g=(0,f.Wy)(o)),g?p!==g&&(s=ee(e,h,s,g)+g):p&&(o+=p),this.add(M,"setProperty",s,o,r,i,0,0,h),T.push(h),V.push(h,0,M[h]);else if("undefined"!==c){if(k&&h in k?(s="function"==typeof k[h]?k[h].call(n,r,e,i):k[h],(0,f.r9)(s)&&~s.indexOf("random(")&&(s=(0,f.UI)(s)),(0,f.Wy)(s+"")||"auto"===s||(s+=f.Fc.units[h]||(0,f.Wy)(et(e,h))||""),"="===(s+"").charAt(1)&&(s=et(e,h))):s=et(e,h),l=parseFloat(s),(v="string"===c&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),h in S&&("autoAlpha"===h&&(1===l&&"hidden"===et(e,"visibility")&&a&&(l=0),V.push("visibility",0,M.visibility),K(this,M,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==h&&"transform"!==h&&~(h=S[h]).indexOf(",")&&(h=h.split(",")[0])),y=h in m){if(this.styles.save(h),b||((x=e._gsap).renderTransform&&!t.parseTransform||ep(e,t.parseTransform),O=!1!==t.smoothOrigin&&x.smooth,(b=this._pt=new f.Fo(this._pt,M,I,0,1,x.renderTransform,x,0,-1)).dep=1),"scale"===h)this._pt=new f.Fo(this._pt,x,"scaleY",x.scaleY,(v?(0,f.cy)(x.scaleY,v+a):a)-x.scaleY||0,P),this._pt.u=0,T.push("scaleY",h),h+="X";else if("transformOrigin"===h){V.push(L,0,M[L]),o=ei(o),x.svg?eh(e,o,0,O,0,this):((g=parseFloat(o.split(" ")[2])||0)!==x.zOrigin&&K(this,x,"zOrigin",x.zOrigin,g),K(this,M,h,ef(s),ef(o)));continue}else if("svgOrigin"===h){eh(e,o,1,O,0,this);continue}else if(h in el){ex(this,x,h,l,v?(0,f.cy)(l,v+o):o);continue}else if("smoothOrigin"===h){K(this,x,"smooth",x.smooth,o);continue}else if("force3D"===h){x[h]=o;continue}else if("transform"===h){eS(this,o,e);continue}}else h in M||(h=H(h)||h);if(y||(a||0===a)&&(l||0===l)&&!w.test(o)&&h in M)p=(s+"").substr((l+"").length),a||(a=0),g=(0,f.Wy)(o)||(h in f.Fc.units?f.Fc.units[h]:p),p!==g&&(l=ee(e,h,s,g)),this._pt=new f.Fo(this._pt,y?x:M,h,l,(v?(0,f.cy)(l,v+a):a)-l,y||"px"!==g&&"zIndex"!==h||!1===t.autoRound?P:E),this._pt.u=g||0,p!==g&&"%"!==g&&(this._pt.b=s,this._pt.r=C);else if(h in M)en.call(this,e,h,s,v?v+o:o);else if(h in e)this.add(e,h,s||e[h],v?v+o:o,r,i);else if("parseTransform"!==h){(0,f.lC)(h,o);continue}y||(h in M?V.push(h,0,M[h]):V.push(h,1,s||e[h])),T.push(h)}}A&&(0,f.JV)(this)},render:function(e,t){if(t.tween._time||!h())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:et,aliases:S,getSetter:function(e,t,n){var r=S[t];return r&&0>r.indexOf(",")&&(t=r),t in m&&t!==L&&(e._gsap.x||et(e,"x"))?n&&d===n?"scale"===t?F:k:(d=n||{},"scale"===t?D:R):e.style&&!(0,f.m2)(e.style[t])?T:~t.indexOf("-")?M:(0,f.S5)(e,t)},core:{_removeProperty:G,_getMatrix:ed}};f.p8.utils.checkPrefix=H,f.p8.core.getStyleSaver=N,r="x,y,z,scale,scaleX,scaleY,xPercent,yPercent",i="rotation,rotationX,rotationY,skewX,skewY",s="0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",o=(0,f.fS)(r+","+i+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){m[e]=1}),(0,f.fS)(i,function(e){f.Fc.units[e]="deg",el[e]=1}),S[o[13]]=r+","+i,(0,f.fS)(s,function(e){var t=e.split(":");S[t[1]]=o[t[0]]}),(0,f.fS)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){f.Fc.units[e]="px"}),f.p8.registerPlugin(eP);var eO=f.p8.registerPlugin(eP)||f.p8;eO.core.Tween},63285:function(e,t,n){"use strict";var r=n(84851),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return r.isMemo(e)?o:a[e.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=p(n);i&&i!==f&&e(t,i,r)}var o=c(n);
1d&&(o=o.concat(d(n)));for(var a=l(t),m=l(n),g=0;g<o.length;++g){var v=o[g];if(!s[v]&&!(r&&r[v])&&!(m&&m[v])&&!(a&&a[v])){var y=h(n,v);try{u(t,v,y)}catch(e){}}}}return t}},7882:function(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(t),s=r(n);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){var r,i;r=t,i=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],d=function(e,t){var r,o=e.animationData,d=e.loop,h=e.autoplay,p=e.initialSegment,f=e.onComplete,m=e.onLoopComplete,g=e.onEnterFrame,v=e.onSegmentStart,y=e.onConfigReady,b=e.onDataReady,x=e.onDataFailed,w=e.onLoadedImages,S=e.onDOMLoaded,P=e.onDestroy;e.lottieRef,e.renderer,e.name,e.assetsPath,e.rendererSettings;var O=l(e,c),C=function(e){if(Array.isArray(e))return e}(r=n.useState(!1))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],l=!0,u=!1;try{for(s=(n=n.call(e)).next;!(l=(r=s.call(n)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}(r,2)||function(e,t){if(e){if("string"==typeof e)return u(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,2)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),E=C[0],A=C[1],V=n.useRef(),T=n.useRef(null),M=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(T.current){null===(t=V.current)||void 0===t||t.destroy();var r=a(a(a({},e),n),{},{container:T.current});return V.current=i.default.loadAnimation(r),A(!!V.current),function(){var e;null===(e=V.current)||void 0===e||e.destroy(),V.current=void 0}}};return n.useEffect(function(){var e=M();return function(){return null==e?void 0:e()}},[o,d]),n.useEffect(function(){V.current&&(V.current.autoplay=!!h)},[h]),n.useEffect(function(){if(V.current){if(!p){V.current.resetSegments(!0);return}Array.isArray(p)&&p.length&&((V.current.currentRawFrame<p[0]||V.current.currentRawFrame>p[1])&&(V.current.currentRawFrame=p[0]),V.current.setSegment(p[0],p[1]))}},[p]),n.useEffect(function(){var e=[{name:"complete",handler:f},{name:"loopComplete",handler:m},{name:"enterFrame",handler:g},{name:"segmentStart",handler:v},{name:"config_ready",handler:y},{name:"data_ready",handler:b},{name:"data_failed",handler:x},{name:"loaded_images",handler:w},{name:"DOMLoaded",handler:S},{name:"destroy",handler:P}].filter(function(e){return null!=e.handler});if(e.length){var t=e.map(function(e){var t;
1return null===(t=V.current)||void 0===t||t.addEventListener(e.name,e.handler),function(){var t;null===(t=V.current)||void 0===t||t.removeEventListener(e.name,e.handler)}});return function(){t.forEach(function(e){return e()})}}},[f,m,g,v,y,b,x,w,S,P]),{View:s.default.createElement("div",a({style:t,ref:T},O)),play:function(){var e;null===(e=V.current)||void 0===e||e.play()},stop:function(){var e;null===(e=V.current)||void 0===e||e.stop()},pause:function(){var e;null===(e=V.current)||void 0===e||e.pause()},setSpeed:function(e){var t;null===(t=V.current)||void 0===t||t.setSpeed(e)},goToAndStop:function(e,t){var n;null===(n=V.current)||void 0===n||n.goToAndStop(e,t)},goToAndPlay:function(e,t){var n;null===(n=V.current)||void 0===n||n.goToAndPlay(e,t)},setDirection:function(e){var t;null===(t=V.current)||void 0===t||t.setDirection(e)},playSegments:function(e,t){var n;null===(n=V.current)||void 0===n||n.playSegments(e,t)},setSubframe:function(e){var t;null===(t=V.current)||void 0===t||t.setSubframe(e)},getDuration:function(e){var t;return null===(t=V.current)||void 0===t?void 0:t.getDuration(e)},destroy:function(){var e;null===(e=V.current)||void 0===e||e.destroy(),V.current=void 0},animationContainerRef:T,animationLoaded:E,animationItem:V.current}},h=function(e){var t=e.wrapperRef,r=e.animationItem,i=e.mode,s=e.actions;n.useEffect(function(){var e,n,o,a,l,u=t.current;if(u&&r&&s.length)switch(r.stop(),i){case"scroll":return e=null,n=function(){var t,n,i,o=(n=(t=u.getBoundingClientRect()).top,i=t.height,(window.innerHeight-n)/(window.innerHeight+i)),a=s.find(function(e){var t=e.visibility;return t&&o>=t[0]&&o<=t[1]});if(a){if("seek"===a.type&&a.visibility&&2===a.frames.length){var l=a.frames[0]+Math.ceil((o-a.visibility[0])/(a.visibility[1]-a.visibility[0])*a.frames[1]);r.goToAndStop(l-r.firstFrame-1,!0)}"loop"===a.type&&(null===e?(r.playSegments(a.frames,!0),e=a.frames):e!==a.frames?(r.playSegments(a.frames,!0),e=a.frames):r.isPaused&&(r.playSegments(a.frames,!0),e=a.frames)),"play"===a.type&&r.isPaused&&(r.resetSegments(!0),r.play()),"stop"===a.type&&r.goToAndStop(a.frames[0]-r.firstFrame-1,!0)}},document.addEventListener("scroll",n),function(){document.removeEventListener("scroll",n)};case"cursor":return o=function(e,t){var n=e,i=t;if(-1!==n&&-1!==i){var o,a,l,c,d=(o=n,a=i,c=(l=u.getBoundingClientRect()).top,{x:(o-l.left)/l.width,y:(a-c)/l.height});n=d.x,i=d.y}var h=s.find(function(e){var t=e.position;return t&&Array.isArray(t.x)&&Array.isArray(t.y)?n>=t.x[0]&&n<=t.x[1]&&i>=t.y[0]&&i<=t.y[1]:!(!t||Number.isNaN(t.x)||Number.isNaN(t.y))&&n===t.x&&i===t.y});if(h){if("seek"===h.type&&h.position&&Array.isArray(h.position.x)&&Array.isArray(h.position.y)&&2===h.frames.length){var p=(n-h.position.x[0])/(h.position.x[1]-h.position.x[0]),f=(i-h.position.y[0])/(h.position.y[1]-h.position.y[0]);r.playSegments(h.frames,!0),r.goToAndStop(Math.ceil((p+f)/2*(h.frames[1]-h.frames[0])),!0)}"loop"===h.type&&r.playSegments(h.frames,!0),"play"===h.type&&(r.isPaused&&r.resetSegments(!1),r.playSegments(h.frames)),"stop"===h.type&&r.goToAndStop(h.frames[0],!0)}},a=function(e){o(e.clientX,e.clientY)},l=function(){o(-1,-1)},u.addEventListener("mousemove",a),u.addEventListener("mouseout",l),function(){u.removeEventListener("mousemove",a),u.removeEventListener("mouseout",l)}}},[i,r])},p=function(e){var t=e.actions,n=e.mode,r=e.lottieObj,i=r.animationItem,s=r.View;return h({actions:t,animationItem:i,mode:n,wrapperRef:r.animationContainerRef}),s},f=["style","interactivity"];Object.defineProperty(e,"LottiePlayer",{enumerable:!0,get:function(){return i.default}}),e.default=function(e){var t,r,i,s=e.style,o=e.interactivity,a=d(l(e,f),s),u=a.View,c=a.play,h=a.stop,m=a.pause,g=a.setSpeed,v=a.goToAndStop,y=a.goToAndPlay,b=a.setDirection,x=a.playSegments,w=a.setSubframe,S=a.getDuration,P=a.destroy,O=a.animationContainerRef,C=a.animationLoaded,E=a.animationItem;return n.useEffect(function(){e.lottieRef&&(e.lottieRef.current={play:c,stop:h,pause:m,setSpeed:g,goToAndPlay:y,goToAndStop:v,setDirection:b,playSegments:x,setSubframe:w,getDuration:S,destroy:P,animationContainerRef:O,animationLoaded:C,animationItem:E})},[null===(t=e.lottieRef)||void 0===t?void 0:t.current]),p({lottieObj:{View:u,play:c,stop:h,pause:m,setSpeed:g,goToAndStop:v,goToAndPlay:y,setDirection:b,playSegments:x,setSubframe:w,getDuration:S,destroy:P,animationContainerRef:O,animationLoaded:C,animationItem:E},actions:null!==(r=null==o?void 0:o.actions)&&void 0!==r?r:[],mode:null!==(i=null==o?void 0:o.mode)&&void 0!==i?i:"scroll"})},e.useLottie=d,e.useLottieInteractivity=p,Object.defineProperty(e,"__esMo
1dule",{value:!0})}(t,n(52584),n(2265))},33145:function(e,t,n){"use strict";n.d(t,{default:function(){return i.a}});var r=n(48461),i=n.n(r)},77800:function(e,t){"use strict";self.Headers,self.Request,self.Response,self.fetch},65878:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(47043),i=n(53099),s=n(57437),o=i._(n(2265)),a=r._(n(54887)),l=r._(n(38293)),u=n(55346),c=n(90128),d=n(62589);n(31765);let h=n(25523),p=r._(n(5084)),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,n,r,i,s,o){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function g(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,o.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:a,width:l,decoding:u,className:c,style:d,fetchPriority:h,placeholder:p,loading:f,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:S,sizesInput:P,onLoad:O,onError:C,...E}=e;return(0,s.jsx)("img",{...E,...g(h),loading:f,width:l,height:a,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(C&&(e.src=e.src),e.complete&&m(e,p,b,x,w,v,P))},[n,p,b,x,w,C,v,P,t]),onLoad:e=>{m(e.currentTarget,p,b,x,w,v,P)},onError:e=>{S(!0),"empty"!==p&&w(!0),C&&C(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...g(n.fetchPriority)};return t&&a.default.preload?(a.default.preload(n.src,r),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,o.forwardRef)((e,t)=>{let n=(0,o.useContext)(h.RouterContext),r=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{var e;let t=f||r||c.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),s=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:n,deviceSizes:i,qualities:s}},[r]),{onLoad:a,onLoadingComplete:l}=e,m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[b,x]=(0,o.useState)(!1),[w,S]=(0,o.useState)(!1),{props:P,meta:O}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:w});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v,{...P,unoptimized:O.unoptimized,placeholder:O.placeholder,fill:O.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:S,sizesInput:e.sizes,ref:t}),O.priority?(0,s.jsx)(y,{isAppRouter:!n,imgAttributes:P}):null]})});("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)},91436:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(47043)._(n(2265)).default.createContext({})},23964:function(e,t){"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},55346:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),n(31765);let r=n(96496),i=n(90128);function s(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function a(e,t){var n,a;let l,u,c,{src:d,sizes:h,unoptimized:p=!1,priority:f=!1,loading:m,className:g,quality:v,width:y,height:b,fill:x=!1,style:w,overrideSrc:S,onLoad:P,onLoadingComplete:O,placeholder:C="empty",blurDataURL:E,fetchPriority:A,decoding:V="async",layout:T,objectFit:M,objectPosition:k,lazyBoundary:F,lazyRoot:D,...R}=e,{imgConf:I,showAltText:L,blurComplete:j,defaultLoader:_}=t,B=I||i.imageConfigDefault;if("allSizes"in B)l=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),r=null==(n=B.qualities)?void 0:n.sort((e,t)=>e-t);l={...B,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===_)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let N=R.loader||_;delete R.loader,delete R.srcSet;let U="__next_img_default"in N;if(U){if("custom"===l.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=N;N=t=>{let{config:n,...r}=t;return e(r)}}if(T){"fill"===T&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!h&&(h=t)}let z="",W=o(y),H=o(b);if("object"==typeof(a=d)&&(s(a)||void 0!==a.src)){let e=s(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(u=e.blurWidth,c=e.blurHeight,E=E||e.blurDataURL,z=e.src,!x){if(W||H){if(W&&!H){let t=W/e.width;H=Math.round(e.height*t)}else if(!W&&H){let t=H/e.height;W=Math.round(e.width*t)}}else W=e.width,H=e.height}}let $=!f&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:z)||d.startsWith("data:")||d.startsWith("blob:"))&&(p=!0,$=!1),l.unoptimized&&(p=!0),U&&d.endsWith(".svg")&&!l.dangerouslyAllowSVG&&(p=!0),f&&(A="high");let Z=o(v),Y=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:k}:{},L?{}:{color:"transparent"},w),X=j||"empty"===C?null:"blur"===C?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:W,heightInt:H,blurWidth:u,blurHeight:c,blurDataURL:E||"",objectFit:Y.objectFit})+'")':'url("'+C+'")',q=X?{backgroundSize:Y.objectFit||"cover",backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:X}:{},G=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:s,sizes:o,loader:a}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,r)=>a({config:t,src:n,quality:s,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:a({config:t,src:n,quality:s,width:l[c]})}}({config:l,src:d,unoptimized:p,width:W,quality:Z,sizes:h,loader:N});return{props:{...R,loading:$?"lazy":m,fetchPriority:A,width:W,height:H,decoding:V,className:g,style:{...Y,...q},sizes:G.sizes,srcSet:G.srcSet,src:S||G.src},meta:{unoptimized:p,priority:f,placeholder:C,fill:x}}}},38293:function(e,t,n){"use strict";
1Object.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 m},defaultHead:function(){return d}});let r=n(47043),i=n(53099),s=n(57437),o=i._(n(2265)),a=r._(n(17421)),l=n(91436),u=n(48701),c=n(23964);function d(e){void 0===e&&(e=!1);let t=[(0,s.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,s.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(31765);let p=["name","httpEquiv","charSet","itemProp"];function f(e,t){let{inAmpMode:n}=t;return e.reduce(h,[]).reverse().concat(d(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return i=>{let s=!0,o=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){o=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?s=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?s=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(i.props.hasOwnProperty(t)){if("charSet"===t)n.has(t)?s=!1:n.add(t);else{let e=i.props[t],n=r[t]||new Set;("name"!==t||!o)&&n.has(e)?s=!1:(n.add(e),r[t]=n)}}}}return s}}()).reverse().map((e,t)=>{let r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,n=(0,o.useContext)(l.AmpStateContext),r=(0,o.useContext)(u.HeadManagerContext);return(0,s.jsx)(a.default,{reduceComponentsToState:f,headManager:r,inAmpMode:(0,c.isInAmpMode)(n),children:t})};("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)},96496:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:s,objectFit:o}=e,a=r?40*r:t,l=i?40*i:n,u=a&&l?"viewBox='0 0 "+a+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},62589:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let r=n(47043)._(n(2265)),i=n(90128),s=r.default.createContext(i.imageConfigDefault)},90128:function(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,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});let n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},48461:function(e,t,n){"use strict";
1Object.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 l},getImageProps:function(){return a}});let r=n(47043),i=n(55346),s=n(65878),o=r._(n(5084));function a(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=s.Image},5084:function(e,t){"use strict";function n(e){var t;let{config:n,src:r,width:i,quality:s}=e,o=s||(null==(t=n.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return n.path+"?url="+encodeURIComponent(r)+"&w="+i+"&q="+o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},17421:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(2265),i="undefined"==typeof window,s=i?()=>{}:r.useLayoutEffect,o=i?()=>{}:r.useEffect;function a(e){let{headManager:t,reduceComponentsToState:n}=e;function a(){if(t&&t.mountedInstances){let i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}if(i){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),a()}return s(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),s(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},30498:function(e,t,n){"use strict";var r=n(2265),i=n(24465);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;function d(e){var t=r.useRef(e);return c(function(){t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)},[])}var h=function(e,t){var n=t.decimal,r=t.decimals,s=t.duration,o=t.easingFn,a=t.end,l=t.formattingFn,u=t.numerals,c=t.prefix,d=t.separator,h=t.start,p=t.suffix,f=t.useEasing,m=t.useGrouping,g=t.useIndianSeparators,v=t.enableScrollSpy,y=t.scrollSpyDelay,b=t.scrollSpyOnce,x=t.plugin;
1return new i.CountUp(e,a,{startVal:h,duration:s,decimal:n,decimalPlaces:r,easingFn:o,formattingFn:l,numerals:u,separator:d,prefix:c,suffix:p,plugin:x,useEasing:f,useIndianSeparators:g,useGrouping:m,enableScrollSpy:v,scrollSpyDelay:y,scrollSpyOnce:b})},p=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],f={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},m=function(e){var t=Object.fromEntries(Object.entries(e).filter(function(e){return void 0!==(function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],l=!0,u=!1;try{for(s=(n=n.call(e)).next;!(l=(r=s.call(n)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return u(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1]})),n=r.useMemo(function(){return o(o({},f),t)},[e]),i=n.ref,s=n.startOnMount,a=n.enableReinitialize,c=n.delay,m=n.onEnd,g=n.onStart,v=n.onPauseResume,y=n.onReset,b=n.onUpdate,x=l(n,p),w=r.useRef(),S=r.useRef(),P=r.useRef(!1),O=d(function(){return h("string"==typeof i?i:i.current,x)}),C=d(function(e){var t=w.current;if(t&&!e)return t;var n=O();return w.current=n,n}),E=d(function(){var e=function(){return C(!0).start(function(){null==m||m({pauseResume:A,reset:V,start:M,update:T})})};c&&c>0?S.current=setTimeout(e,1e3*c):e(),null==g||g({pauseResume:A,reset:V,update:T})}),A=d(function(){C().pauseResume(),null==v||v({reset:V,start:M,update:T})}),V=d(function(){C().el&&(S.current&&clearTimeout(S.current),C().reset(),null==y||y({pauseResume:A,start:M,update:T}))}),T=d(function(e){C().update(e),null==b||b({pauseResume:A,reset:V,start:M})}),M=d(function(){V(),E()}),k=d(function(e){s&&(e&&V(),E())});return r.useEffect(function(){P.current?a&&k(!0):(P.current=!0,k())},[a,P,k,c,e.start,e.suffix,e.prefix,e.duration,e.separator,e.decimals,e.decimal,e.formattingFn]),r.useEffect(function(){return function(){V()}},[V]),{start:M,pauseResume:A,reset:V,update:T,getCountUp:C}},g=["className","redraw","containerProps","children","style"];t.ZP=function(e){var t=e.className,n=e.redraw,i=e.containerProps,s=e.children,u=e.style,c=l(e,g),h=r.useRef(null),p=r.useRef(!1),f=m(o(o({},c),{},{ref:h,startOnMount:"function"!=typeof s||0===e.delay,enableReinitialize:!1})),v=f.start,y=f.reset,b=f.update,x=f.pauseResume,w=f.getCountUp,S=d(function(){v()}),P=d(function(t){e.preserveValue||y(),b(t)}),O=d(function(){if("function"==typeof e.children&&!(h.current instanceof Element)){console.error('Couldn\'t find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.');return}w()});r.useEffect(function(){O()},[O]),r.useEffect(function(){p.current&&P(e.end)},[e.end,P]);var C=n&&e;return(r.useEffect(function(){n&&p.current&&S()},[S,n,C]),r.useEffect(function(){!n&&p.current&&S()},[S,n,e.start,e.suffix,e.prefix,e.duration,e.separator,e.decimals,e.decimal,e.className,e.formattingFn]),r.useEffect(function(){p.current=!0},[]),"function"==typeof s)?s({countUpRef:h,start:v,reset:y,update:b,pauseResume:x,getCountUp:w}):r.createElement("span",a({className:t,ref:h,style:u},i),void 0!==e.start?w().formattingFn(e.start):"")}},17506:function(e,t,n){"use strict";n.d(t,{ZP:function(){return nn}});var r,i,s,o,a,l,u,c=n(11993);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var p=n(29062);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}(e,t)||(0,p.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var m=n(74610);function g(e,t){if(null==e)return{};var n,r,i=(0,m.Z)(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var v=n(2265),y=n.t(v,2),b=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"],x=n(1119),w=n(76405),S=n(25049),P=n(41690),O=n(70573),C=n(96240);function E(e){return function(e){if(Array.isArray(e))return(0,C.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,p.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var A=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else n.appendChild(document.createTextNode(e));this.ctr++}
vendor: 4,974 bytes, line 1
1,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),V=Math.abs,T=String.fromCharCode,M=Object.assign;function k(e,t,n){return e.replace(t,n)}function F(e,t){return e.indexOf(t)}function D(e,t){return 0|e.charCodeAt(t)}function R(e,t,n){return e.slice(t,n)}function I(e){return e.length}function L(e,t){return t.push(e),e}var j=1,_=1,B=0,N=0,U=0,z="";function W(e,t,n,r,i,s,o){return{value:e,root:t,parent:n,type:r,props:i,children:s,line:j,column:_,length:o,return:""}}function H(e,t){return M(W("",null,null,"",null,null,0),e,{length:-e.length},t)}function $(){return U=N<B?D(z,N++):0,_++,10===U&&(_=1,j++),U}function Z(){return D(z,N)}function Y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function X(e){return j=_=1,B=I(z=e),N=0,[]}function q(e){var t,n;return(t=N-1,n=function e(t){for(;$();)switch(U){case t:return N;case 34:case 39:34!==t&&39!==t&&e(U);break;case 40:41===t&&e(t);break;case 92:$()}return N}(91===e?e+2:40===e?e+1:e),R(z,t,n)).trim()}var G="-ms-",K="-moz-",J="-webkit-",Q="comm",ee="rule",et="decl",en="@keyframes";function er(e,t){for(var n="",r=e.length,i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function ei(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case et:return e.return=e.return||e.value;case Q:return"";case en:return e.return=e.value+"{"+er(e.children,r)+"}";case ee:e.value=e.props.join(",")}return I(n=er(e.children,r))?e.return=e.value+"{"+n+"}":""}function es(e,t,n,r,i,s,o,a,l,u,c){for(var d=i-1,h=0===i?s:[""],p=h.length,f=0,m=0,g=0;f<r;++f)for(var v=0,y=R(e,d+1,d=V(m=o[f])),b=e;v<p;++v)(b=(m>0?h[v]+" "+y:k(y,/&\f/g,h[v])).trim())&&(l[g++]=b);return W(e,t,n,0===i?ee:a,l,u,c)}function eo(e,t,n,r){return W(e,t,n,et,R(e,0,r),R(e,r+1,-1),r)}var ea=function(e,t,n){for(var r=0,i=0;r=i,i=Z(),38===r&&12===i&&(t[n]=1),!Y(i);)$();return R(z,e,N)},el=function(e,t){var n=-1,r=44;do switch(Y(r)){case 0:38===r&&12===Z()&&(t[n]=1),e[n]+=ea(N-1,t,n);break;case 2:e[n]+=q(r);break;case 4:if(44===r){e[++n]=58===Z()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=T(r)}while(r=$());return e},eu=function(e,t){var n;return n=el(X(e),t),z="",n},ec=new WeakMap,ed=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ec.get(n))&&!r){ec.set(e,!0);for(var i=[],s=eu(t,i),o=n.props,a=0,l=0;a<s.length;a++)for(var u=0;u<o.length;u++,l++)e.props[l]=i[a]?s[a].replace(/&\f/g,o[u]):o[u]+" "+s[a]}}},eh=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ep=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case et:e.return=function e(t,n){switch(45^D(t,0)?(((n<<2^D(t,0))<<2^D(t,1))<<2^D(t,2))<<2^D(t,3):0){case 5103:return J+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return J+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return J+t+K+t+G+t+t;case 6828:case 4268:return J+t+G+t+t;case 6165:return J+t+G+"flex-"+t+t;case 5187:return J+t+k(t,/(\w+).+(:[^]+)/,J+"box-$1$2"+G+"flex-$1$2")+t;case 5443:return J+t+G+"flex-item-"+k(t,/flex-|-self/,"")+t;case 4675:return J+t+G+"flex-line-pack"+k(t,/align-content|flex-|-self/,"")+t;case 5548:return J+t+G+k(t,"shrink","negative")+t;case 5292:return J+t+G+k(t,"basis","preferred-size")+t;case 6060:return J+"box-"+k(t,"-grow","")+J+t+G+k(t,"grow","positive")+t;case 4554:return J+k(t,/([^-])(transform)/g,"$1"+J+"$2")+t;case 6187:return k(k(k(t,/(zoom-|grab)/,J+"$1"),/(image-set)/,J+"$1"),t,"")+t;case 5495:case 3959:return k(t,/(image-set\([^]*)/,J+"$1$`$1");case 4968:return k(k(t,/(.+:)(flex-)?(.*)/,J+"box-pack:$3"+G+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+J+t+t;case 4095:case 3583:case 4068:case 2532:return k(t,/(.+)-inline(.+)/,J+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(I(t)-1-n>6)switch(D(t,n+1)){case 109:if(45!==D(t,n+4))break;case 102:return k(t,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+K+(108==D(t,n+3)?"$3":"$2-$3"))+t;case 115:return~F(t,"stretch")?e(k(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==D(t,n+1))break;case 6444:switch(D(t,I(t)-3-(~F(t,"!important")&&10))){case 107:return k(t,":",":"+J)+t;case 101:return k(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+J+(45===D(t,14)?"inline-":"")+"box$3$1"+J+"$2$3$1"+G+"$2box$3")+t}break;case 5936:switch(D(t,n+11)){case 114:return J+t+G+k(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
vendor: 4,854 bytes, line 1
1case 108:return J+t+G+k(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return J+t+G+k(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return J+t+G+t+t}return t}(e.value,e.length);break;case en:return er([H(e,{value:k(e.value,"@","@"+J)})],r);case ee:if(e.length){var i,s;return i=e.props,s=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return er([H(e,{props:[k(t,/:(read-\w+)/,":"+K+"$1")]})],r);case"::placeholder":return er([H(e,{props:[k(t,/:(plac\w+)/,":"+J+"input-$1")]}),H(e,{props:[k(t,/:(plac\w+)/,":"+K+"$1")]}),H(e,{props:[k(t,/:(plac\w+)/,G+"input-$1")]})],r)}return""},i.map(s).join("")}}}],ef=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},em=function(e,t,n){ef(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}},eg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ev=/[A-Z]|^ms/g,ey=/_EMO_([^_]+?)_([^]*?)_EMO_/g,eb=function(e){return 45===e.charCodeAt(1)},ex=function(e){return null!=e&&"boolean"!=typeof e},ew=(r=function(e){return eb(e)?e:e.replace(ev,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=r(e)),i[e]}),eS=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ey,function(e,t,n){return l={name:t,styles:n,next:l},t})}return 1===eg[e]||eb(e)||"number"!=typeof t||0===t?t:t+"px"};function eP(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return l={name:n.name,styles:n.styles,next:l},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)l={name:r.name,styles:r.styles,next:l},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=eP(e,t,n[i])+";";else for(var s in n){var o=n[s];if("object"!=typeof o)null!=t&&void 0!==t[o]?r+=s+"{"+t[o]+"}":ex(o)&&(r+=ew(s)+":"+eS(s,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var a=0;a<o.length;a++)ex(o[a])&&(r+=ew(s)+":"+eS(s,o[a])+";");else{var l=eP(e,t,o);switch(s){case"animation":case"animationName":r+=ew(s)+":"+l+";";break;default:r+=s+"{"+l+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var i=l,s=n(e);return l=i,eP(e,t,s)}}if(null==t)return n;var o=t[n];return void 0!==o?o:n}var eO=/label:\s*([^\s;{]+)\s*(;|$)/g;function eC(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r,i=!0,s="";l=void 0;var o=e[0];null==o||void 0===o.raw?(i=!1,s+=eP(n,t,o)):s+=o[0];for(var a=1;a<e.length;a++)s+=eP(n,t,e[a]),i&&(s+=o[a]);eO.lastIndex=0;for(var u="";null!==(r=eO.exec(s));)u+="-"+r[1];return{name:function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(s)+u,styles:s,next:l}}var eE=!!y.useInsertionEffect&&y.useInsertionEffect,eA=eE||function(e){return e()};eE||v.useLayoutEffect;var eV=v.createContext("undefined"!=typeof HTMLElement?function(e){var t,n,r,i,s,o,a=e.key;if("css"===a){var l=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(l,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var u=e.stylisPlugins||ep,c={},d=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)c[t[n]]=!0;d.push(e)});var h=(n=(t=[ed,eh].concat(u,[ei,(r=function(e){o.insert(e)},function(e){!e.root&&(e=e.return)&&r(e)})])).length,function(e,r,i,s){for(var o="",a=0;a<n;a++)o+=t[a](e,r,i,s)||"";return o}
1),p=function(e){var t,n;return er((n=function e(t,n,r,i,s,o,a,l,u){for(var c,d=0,h=0,p=a,f=0,m=0,g=0,v=1,y=1,b=1,x=0,w="",S=s,P=o,O=i,C=w;y;)switch(g=x,x=$()){case 40:if(108!=g&&58==D(C,p-1)){-1!=F(C+=k(q(x),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:C+=q(x);break;case 9:case 10:case 13:case 32:C+=function(e){for(;U=Z();)if(U<33)$();else break;return Y(e)>2||Y(U)>3?"":" "}(g);break;case 92:C+=function(e,t){for(var n;--t&&$()&&!(U<48)&&!(U>102)&&(!(U>57)||!(U<65))&&(!(U>70)||!(U<97)););return n=N+(t<6&&32==Z()&&32==$()),R(z,e,n)}(N-1,7);continue;case 47:switch(Z()){case 42:case 47:L(W(c=function(e,t){for(;$();)if(e+U===57)break;else if(e+U===84&&47===Z())break;return"/*"+R(z,t,N-1)+"*"+T(47===e?e:$())}($(),N),n,r,Q,T(U),R(c,2,-2),0),u);break;default:C+="/"}break;case 123*v:l[d++]=I(C)*b;case 125*v:case 59:case 0:switch(x){case 0:case 125:y=0;case 59+h:-1==b&&(C=k(C,/\f/g,"")),m>0&&I(C)-p&&L(m>32?eo(C+";",i,r,p-1):eo(k(C," ","")+";",i,r,p-2),u);break;case 59:C+=";";default:if(L(O=es(C,n,r,d,h,s,l,w,S=[],P=[],p),o),123===x){if(0===h)e(C,n,O,O,S,o,p,l,P);else switch(99===f&&110===D(C,3)?100:f){case 100:case 108:case 109:case 115:e(t,O,O,i&&L(es(t,O,O,0,0,s,l,w,s,S=[],p),P),s,P,p,l,i?S:P);break;default:e(C,O,O,O,[""],P,0,l,P)}}}d=h=m=0,v=b=1,w=C="",p=a;break;case 58:p=1+I(C),m=g;default:if(v<1){if(123==x)--v;else if(125==x&&0==v++&&125==(U=N>0?D(z,--N):0,_--,10===U&&(_=1,j--),U))continue}switch(C+=T(x),x*v){case 38:b=h>0?1:(C+="\f",-1);break;case 44:l[d++]=(I(C)-1)*b,b=1;break;case 64:45===Z()&&(C+=q($())),f=Z(),h=p=I(w=C+=function(e){for(;!Y(Z());)$();return R(z,e,N)}(N)),x++;break;case 45:45===g&&2==I(C)&&(v=0)}}return o}("",null,null,null,[""],t=X(t=e),0,[0],t),z="",n),h)};s=function(e,t,n,r){o=n,p(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)};var f={key:a,sheet:new A({key:a,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:c,registered:{},insert:s};return f.sheet.hydrate(d),f}({key:"css"}):null);eV.Provider;var eT=v.createContext({}),eM={}.hasOwnProperty,ek="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",eF=function(e,t){var n={};for(var r in t)eM.call(t,r)&&(n[r]=t[r]);return n[ek]=e,n},eD=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ef(t,n,r),eA(function(){return em(t,n,r)}),null},eR=(s=function(e,t,n){var r,i,s,o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[ek],l=[o],u="";"string"==typeof e.className?(r=t.registered,i=e.className,s="",i.split(" ").forEach(function(e){void 0!==r[e]?l.push(r[e]+";"):e&&(s+=e+" ")}),u=s):null!=e.className&&(u=e.className+" ");var c=eC(l,void 0,v.useContext(eT));u+=t.key+"-"+c.name;var d={};for(var h in e)eM.call(e,h)&&"css"!==h&&h!==ek&&(d[h]=e[h]);return d.className=u,n&&(d.ref=n),v.createElement(v.Fragment,null,v.createElement(eD,{cache:t,serialized:c,isStringTag:"string"==typeof a}),v.createElement(a,d))},(0,v.forwardRef)(function(e,t){return s(e,(0,v.useContext)(eV),t)}));n(63285);var eI=function(e,t){var n=arguments;if(null==t||!eM.call(t,"css"))return v.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=eR,i[1]=eF(e,t);for(var s=2;s<r;s++)i[s]=n[s];return v.createElement.apply(null,i)};function eL(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return eC(t)}var ej=n(41154),e_=n(54887),eB=n(50032),eN=v.useLayoutEffect,eU=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ez=function(){};function eW(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var s=[].concat(r);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&s.push("".concat(o?"-"===o[0]?e+o:e+"__"+o:e));return s.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var eH=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===(0,ej.Z)(e)&&null!==e?[e]:[]},e$=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,h({},g(e,eU))},eZ=function(e,t,n){var r=e.cx,i=e.getStyles,s=e.getClassNames,o=e.className;return{css:i(t,e),className:r(null!=n?n:{},s(t,e),o)}};function eY(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function eX(e){return eY(e)?window.pageYOffset:e.scrollTop}
1function eq(e,t){if(eY(e)){window.scrollTo(0,t);return}e.scrollTop=t}function eG(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ez,i=eX(e),s=t-i,o=0;!function t(){var a;o+=10,eq(e,s*((a=(a=o)/n-1)*a*a+1)+i),o<n?window.requestAnimationFrame(t):r(e)}()}function eK(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?eq(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&eq(e,Math.max(t.offsetTop-i,0))}function eJ(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var eQ=!1,e0="undefined"!=typeof window?window:{};e0.addEventListener&&e0.removeEventListener&&(e0.addEventListener("p",ez,{get passive(){return eQ=!0}}),e0.removeEventListener("p",ez,!1));var e1=eQ;function e2(e){return null!=e}var e5=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.entries(e).filter(function(e){var t=f(e,1)[0];return!n.includes(t)}).reduce(function(e,t){var n=f(t,2),r=n[0],i=n[1];return e[r]=i,e},{})},e4=["children","innerProps"],e3=["children","innerProps"],e6=function(e){return"auto"===e?"bottom":e},e9=(0,v.createContext)(null),e8=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,o=e.menuShouldScrollIntoView,a=e.theme,l=((0,v.useContext)(e9)||{}).setPortalPlacement,u=(0,v.useRef)(null),c=f((0,v.useState)(r),2),d=c[0],p=c[1],m=f((0,v.useState)(null),2),g=m[0],y=m[1],b=a.spacing.controlHeight;return eN(function(){var e=u.current;if(e){var t="fixed"===s,a=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,s=e.shouldScroll,o=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c=l.getBoundingClientRect().height,d=n.getBoundingClientRect(),h=d.bottom,p=d.height,f=d.top,m=n.offsetParent.getBoundingClientRect().top,g=o?window.innerHeight:eY(l)?window.innerHeight:l.clientHeight,v=eX(l),y=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),x=m-b,w=g-f,S=x+v,P=c-v-f,O=h-g+v+y,C=v+f-b;switch(i){case"auto":case"bottom":if(w>=p)return{placement:"bottom",maxHeight:t};if(P>=p&&!o)return s&&eG(l,O,160),{placement:"bottom",maxHeight:t};if(!o&&P>=r||o&&w>=r)return s&&eG(l,O,160),{placement:"bottom",maxHeight:o?w-y:P-y};if("auto"===i||o){var E=t,A=o?x:S;return A>=r&&(E=Math.min(A-y-a,t)),{placement:"top",maxHeight:E}}if("bottom"===i)return s&&eq(l,O),{placement:"bottom",maxHeight:t};break;case"top":if(x>=p)return{placement:"top",maxHeight:t};if(S>=p&&!o)return s&&eG(l,C,160),{placement:"top",maxHeight:t};if(!o&&S>=r||o&&x>=r){var V=t;return(!o&&S>=r||o&&x>=r)&&(V=o?x-b:S-b),s&&eG(l,C,160),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw Error('Invalid placement provided "'.concat(i,'".'))}return u}({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:o&&!t,isFixedPosition:t,controlHeight:b});p(a.maxHeight),y(a.placement),null==l||l(a.placement)}},[r,i,s,o,n,l,b]),t({ref:u,placerProps:h(h({},e),{},{placement:g||e6(i),maxHeight:d})})},e7=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return h({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},te=["size"],tt=["innerProps","isRtl","size"],tn={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},tr=function(e){var t=e.size,n=g(e,te);return eI("svg",(0,x.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tn},n))},ti=function(e){return eI(tr,(0,x.Z)({size:20},e),eI("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ts=function(e){return eI(tr,(0,x.Z)({size:20},e),eI("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},to=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,s=r.colors;
1return h({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?s.neutral60:s.neutral20,padding:2*i,":hover":{color:n?s.neutral80:s.neutral40}})},ta=function(){var e=eL.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(u||(o=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],a||(a=o.slice(0)),u=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(a)}})))),tl=function(e){var t=e.delay,n=e.offset;return eI("span",{css:eL({animation:"".concat(ta," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},tu=["data"],tc=["innerRef","isDisabled","isHidden","inputClassName"],td={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},th={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":h({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},td)},tp=function(e){var t=e.children;return eI("div",e.innerProps,t)},tf={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return eI("div",(0,x.Z)({},eZ(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||eI(ti,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,s=e.innerProps,o=e.menuIsOpen;return eI("div",(0,x.Z)({ref:i},eZ(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":o}),s,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return eI("div",(0,x.Z)({},eZ(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||eI(ts,null))},DownChevron:ts,CrossIcon:ti,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,s=e.Heading,o=e.headingProps,a=e.innerProps,l=e.label,u=e.theme,c=e.selectProps;return eI("div",(0,x.Z)({},eZ(e,"group",{group:!0}),a),eI(s,(0,x.Z)({},o,{selectProps:c,theme:u,getStyles:r,getClassNames:i,cx:n}),l),eI("div",null,t))},GroupHeading:function(e){var t=e$(e);t.data;var n=g(t,tu);return eI("div",(0,x.Z)({},eZ(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return eI("div",(0,x.Z)({},eZ(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return eI("span",(0,x.Z)({},t,eZ(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=e$(e),i=r.innerRef,s=r.isDisabled,o=r.isHidden,a=r.inputClassName,l=g(r,tc);return eI("div",(0,x.Z)({},eZ(e,"input",{"input-container":!0}),{"data-value":n||""}),eI("input",(0,x.Z)({className:t({input:!0},a),ref:i,style:h({label:"input",color:"inherit",background:0,opacity:o?0:1,width:"100%"},td),disabled:s},l)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=g(e,tt);return eI("div",(0,x.Z)({},eZ(h(h({},i),{},{innerProps:t,isRtl:n,size:void 0===r?4:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),eI(tl,{delay:0,offset:n}),eI(tl,{delay:160,offset:!0}),eI(tl,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return eI("div",(0,x.Z)({},eZ(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return eI("div",(0,x.Z)({},eZ(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,s=e.menuPlacement,o=e.menuPosition,a=(0,v.useRef)(null),l=(0,v.useRef)(null),u=f((0,v.useState)(e6(s)),2),c=u[0],d=u[1],p=(0,v.useMemo)(function(){return{setPortalPlacement:d}},[]),m=f((0,v.useState)(null),2),g=m[0],y=m[1],b=(0,v.useCallback)(function(){if(r){var e,t={bottom:(e=r.getBoundingClientRect()).bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width},n="fixed"===o?0:window.pageYOffset,i=t[c]+n;(i!==(null==g?void 0:g.offset)||t.left!==(null==g?void 0:g.rect.left)||t.width!==(null==g?void 0:g.rect.width))&&y({offset:i,rect:t})}},[r,o,c,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);eN(function(){b()},[b]);var w=(0,v.useCallback)(function(){"function"==typeof l.current&&(l.current(),l.current=null),r&&a.current&&(l.current=(0,eB.Me)(r,a.current,b,{elementResize:"ResizeObserver"in window}))},[r,b]);eN(function(){w()},[w]);var S=(0,v.useCallback)(function(e){a.current=e,w()},[w]);
1if(!t&&"fixed"!==o||!g)return null;var P=eI("div",(0,x.Z)({ref:S},eZ(h(h({},e),{},{offset:g.offset,position:o,rect:g.rect}),"menuPortal",{"menu-portal":!0}),i),n);return eI(e9.Provider,{value:p},t?(0,e_.createPortal)(P,t):P)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=g(e,e3);return eI("div",(0,x.Z)({},eZ(h(h({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=g(e,e4);return eI("div",(0,x.Z)({},eZ(h(h({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,s=e.isDisabled,o=e.removeProps,a=e.selectProps,l=n.Container,u=n.Label,c=n.Remove;return eI(l,{data:r,innerProps:h(h({},eZ(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),i),selectProps:a},eI(u,{data:r,innerProps:h({},eZ(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),eI(c,{data:r,innerProps:h(h({},eZ(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},o),selectProps:a}))},MultiValueContainer:tp,MultiValueLabel:tp,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return eI("div",(0,x.Z)({role:"button"},n),t||eI(ti,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,s=e.innerRef,o=e.innerProps;return eI("div",(0,x.Z)({},eZ(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:s,"aria-disabled":n},o),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return eI("div",(0,x.Z)({},eZ(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return eI("div",(0,x.Z)({},eZ(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return eI("div",(0,x.Z)({},eZ(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return eI("div",(0,x.Z)({},eZ(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},tm=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function tg(e,t){if(e.length!==t.length)return!1;for(var n,r,i=0;i<e.length;i++)if(!((n=e[i])===(r=t[i])||tm(n)&&tm(r)))return!1;return!0}for(var tv={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},ty=function(e){return eI("span",(0,x.Z)({css:tv},e))},tb={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,s=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,s=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return s?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,s=void 0===i?"":i,o=e.selectValue,a=e.isDisabled,l=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&o)return"value ".concat(s," focused, ").concat(c(o,n),".");if("menu"===t&&u){var d="".concat(l?" selected":"").concat(a?" disabled":"");return"".concat(s).concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},tx=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,s=e.isFocused,o=e.selectValue,a=e.selectProps,l=e.id,u=e.isAppleDevice,c=a.ariaLiveMessages,d=a.getOptionLabel,p=a.inputValue,f=a.isMulti,m=a.isOptionDisabled,g=a.isSearchable,y=a.menuIsOpen,b=a.options,x=a.screenReaderStatus,w=a.tabSelectsValue,S=a.isLoading,P=a["aria-label"],O=a["aria-live"],C=(0,v.useMemo)(function(){return h(h({},tb),c||{})},[c]),E=(0,v.useMemo)(function(){var e="";if(t&&C.onChange){var n=t.option,r=t.options,i=t.removedValue,s=t.removedValues,a=t.value,l=i||n||(Array.isArray(a)?null:a),u=l?d(l):"",c=r||s||void 0,p=c?c.map(d):[],f=h({isDisabled:l&&m(l,o),label:u,labels:p},t);e=C.onChange(f)}return e},[t,C,m,o,d]),A=(0,v.useMemo)(function(){var e="",t=n||r,s=!!(n&&o&&o.includes(n));if(t&&C.onFocus){var a={focused:t,label:d(t),isDisabled:m(t,o),isSelected:s,options:i,context:t===n?"menu":"value",selectValue:o,isAppleDevice:u};e=C.onFocus(a)}return e},[n,r,d,m,C,i,o,u]),V=(0,v.useMemo)(function(){var e="";if(y&&b.length&&!S&&C.onFilter){var t=x({count:i.length});e=C.onFilter({inputValue:p,resultsMessage:t})}return e},[i,p,y,C,b,x,S]),T=(null==t?void 0:t.action)==="initial-input-focus",M=(0,v.useMemo)(function(){var e="";if(C.guidance){var t=r?"value":y?"menu":"input";e=C.guidance({"aria-label":P,context:t,isDisabled:n&&m(n,o),isMulti:f,isSearchable:g,tabSelectsValue:w,isInitialFocus:T})}return e},[P,n,r,f,m,g,y,C,o,w,T]),k=eI(v.Fragment,null,eI("span",{id:"aria-selection"},E),eI("span",{id:"aria-focused"},A),eI("span",{id:"aria-results"},V),eI("span",{id:"aria-guidance"},M));return eI(v.Fragment,null,eI(ty,{id:l},T&&k),eI(ty,{"aria-live":O,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!T&&k))},tw=[{base:"A",letters:"AⒶA\xc0\xc1\xc2ẦẤẪẨ\xc3ĀĂẰẮẴẲȦǠ\xc4ǞẢ\xc5ǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"\xc6ǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČ\xc7ḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺE\xc8\xc9\xcaỀẾỄỂẼĒḔḖĔĖ\xcbẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾI\xcc\xcd\xceĨĪĬİ\xcfḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃ\xd1ṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄO\xd2\xd3\xd4ỒỐỖỔ\xd5ṌȬṎŌṐṒŎȮȰ\xd6ȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬ\xd8ǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"}
1,{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊU\xd9\xda\xdbŨṸŪṺŬ\xdcǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲ\xddŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚ\xe0\xe1\xe2ầấẫẩ\xe3āăằắẵẳȧǡ\xe4ǟả\xe5ǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"\xe6ǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċč\xe7ḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔe\xe8\xe9\xeaềếễểẽēḕḗĕė\xebẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘi\xec\xed\xeeĩīĭ\xefḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹń\xf1ṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞo\xf2\xf3\xf4ồốỗổ\xf5ṍȭṏōṑṓŏȯȱ\xf6ȫỏőǒȍȏơờớỡởợọộǫǭ\xf8ǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢs\xdfśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤu\xf9\xfa\xfbũṹūṻŭ\xfcǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳ\xfdŷỹȳẏ\xffỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],tS=RegExp("["+tw.map(function(e){return e.letters}).join("")+"]","g"),tP={},tO=0;tO<tw.length;tO++)for(var tC=tw[tO],tE=0;tE<tC.letters.length;tE++)tP[tC.letters[tE]]=tC.base;var tA=function(e){return e.replace(tS,function(e){return tP[e]})},tV=function(e,t){void 0===t&&(t=tg);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var s=e.apply(this,r);return n={lastResult:s,lastArgs:r,lastThis:this},s}return r.clear=function(){n=null},r}(tA),tT=function(e){return e.replace(/^\s+|\s+$/g,"")},tM=function(e){return"".concat(e.label," ").concat(e.value)},tk=["innerRef"];function tF(e){var t=e.innerRef,n=e5(g(e,tk),"onExited","in","enter","exit","appear");return eI("input",(0,x.Z)({ref:t},n,{css:eL({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var tD=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()},tR=["boxSizing","height","overflow","paddingRight","position"],tI={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function tL(e){e.cancelable&&e.preventDefault()}function tj(e){e.stopPropagation()}function t_(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function tB(){return"ontouchstart"in window||navigator.maxTouchPoints}var tN=!!("undefined"!=typeof window&&window.document&&window.document.createElement),tU=0,tz={capture:!1,passive:!1},tW=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},tH={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function t$(e){var t,n,r,i,s,o,a,l,u,c,d,h,p,f,m,g,y,b,x,w,S,P,O,C,E=e.children,A=e.lockEnabled,V=e.captureEnabled,T=(n=(t={isEnabled:void 0===V||V,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}).isEnabled,r=t.onBottomArrive,i=t.onBottomLeave,s=t.onTopArrive,o=t.onTopLeave,a=(0,v.useRef)(!1),l=(0,v.useRef)(!1),u=(0,v.useRef)(0),c=(0,v.useRef)(null),d=(0,v.useCallback)(function(e,t){if(null!==c.current){var n=c.current,u=n.scrollTop,d=n.scrollHeight,h=n.clientHeight,p=c.current,f=t>0,m=d-h-u,g=!1;m>t&&a.current&&(i&&i(e),a.current=!1),f&&l.current&&(o&&o(e),l.current=!1),f&&t>m?(r&&!a.current&&r(e),p.scrollTop=d,g=!0,a.current=!0):!f&&-t>u&&(s&&!l.current&&s(e),p.scrollTop=0,g=!0,l.current=!0),g&&tD(e)}}
1,[r,i,s,o]),h=(0,v.useCallback)(function(e){d(e,e.deltaY)},[d]),p=(0,v.useCallback)(function(e){u.current=e.changedTouches[0].clientY},[]),f=(0,v.useCallback)(function(e){var t=u.current-e.changedTouches[0].clientY;d(e,t)},[d]),m=(0,v.useCallback)(function(e){if(e){var t=!!e1&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",f,t)}},[f,p,h]),g=(0,v.useCallback)(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",f,!1))},[f,p,h]),(0,v.useEffect)(function(){if(n){var e=c.current;return m(e),function(){g(e)}}},[n,m,g]),function(e){c.current=e}),M=(b=(y={isEnabled:A}).isEnabled,w=void 0===(x=y.accountForScrollbars)||x,S=(0,v.useRef)({}),P=(0,v.useRef)(null),O=(0,v.useCallback)(function(e){if(tN){var t=document.body,n=t&&t.style;if(w&&tR.forEach(function(e){var t=n&&n[e];S.current[e]=t}),w&&tU<1){var r=parseInt(S.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+r||0;Object.keys(tI).forEach(function(e){var t=tI[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&tB()&&(t.addEventListener("touchmove",tL,tz),e&&(e.addEventListener("touchstart",t_,tz),e.addEventListener("touchmove",tj,tz))),tU+=1}},[w]),C=(0,v.useCallback)(function(e){if(tN){var t=document.body,n=t&&t.style;tU=Math.max(tU-1,0),w&&tU<1&&tR.forEach(function(e){var t=S.current[e];n&&(n[e]=t)}),t&&tB()&&(t.removeEventListener("touchmove",tL,tz),e&&(e.removeEventListener("touchstart",t_,tz),e.removeEventListener("touchmove",tj,tz)))}},[w]),(0,v.useEffect)(function(){if(b){var e=P.current;return O(e),function(){C(e)}}},[b,O,C]),function(e){P.current=e});return eI(v.Fragment,null,A&&eI("div",{onClick:tW,css:tH}),E(function(e){T(e),M(e)}))}var tZ={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},tY=function(e){return eI("input",{required:!0,name:e.name,tabIndex:-1,"aria-hidden":"true",onFocus:e.onFocus,css:tZ,value:"",onChange:function(){}})};function tX(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}var tq={clearIndicator:to,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,s=i.colors,o=i.borderRadius;return h({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?s.neutral5:s.neutral0,borderColor:n?s.neutral10:r?s.primary:s.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:r?s.primary:s.neutral30}})},dropdownIndicator:to,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return h({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,s=r.colors;return h({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?s.neutral10:s.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,s=i.spacing,o=i.colors;return h(h({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},th),t?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:o.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,s=i.colors,o=i.spacing.baseUnit;return h({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?s.neutral60:s.neutral20,padding:2*o})},loadingMessage:e7,menu:function(e,t){var n,r=e.placement,i=e.theme,s=i.borderRadius,o=i.spacing,a=i.colors;return h((n={label:"menu"},(0,c.Z)(n,r?({bottom:"top",top:"bottom"})[r]:"bottom","100%"),(0,c.Z)(n,"position","absolute"),(0,c.Z)(n,"width","100%"),(0,c.Z)(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:o.menuGutter,marginTop:o.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return h({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,s=n.colors;return h({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:s.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,s=e.cropWithEllipsis;return h({overflow:"hidden",textOverflow:s||void 0===s?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,s=n.colors,o=e.isFocused;return h({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:o?s.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},noOptionsMessage:e7,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,s=e.theme,o=s.spacing,a=s.colors;return h({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?a.primary:r?a.primary25:"transparent",color:n?a.neutral20:i?a.neutral0:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?a.primary:a.primary50}})}
vendor: 4,121 bytes, line 1
1,placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return h({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,s=r.colors;return h({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?s.neutral40:s.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,s=e.selectProps.controlShouldRenderValue;return h({alignItems:"center",display:r&&i&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},tG={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},tK={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:eJ(),captureMenuScroll:!eJ(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=h({ignoreCase:!0,ignoreAccents:!0,stringify:tM,trim:!0,matchFrom:"any"},void 0),r=n.ignoreCase,i=n.ignoreAccents,s=n.stringify,o=n.trim,a=n.matchFrom,l=o?tT(t):t,u=o?tT(s(e)):s(e);return r&&(l=l.toLowerCase(),u=u.toLowerCase()),i&&(l=tV(l),u=tA(u)),"start"===a?u.substr(0,l.length)===l:u.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function tJ(e,t,n,r){var i=t6(e,t,n),s=t9(e,t,n),o=t4(e,t),a=t3(e,t);return{type:"option",data:t,isDisabled:i,isSelected:s,label:o,value:a,index:r}}function tQ(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return tJ(e,n,t,r)}).filter(function(t){return t2(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var s=tJ(e,n,t,r);return t2(e,s)?s:void 0}).filter(e2)}function t0(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,E(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function t1(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,E(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function t2(e,t){var n=e.inputValue,r=t.data,i=t.isSelected,s=t.label,o=t.value;return(!t7(e)||!i)&&t8(e,{label:s,value:o,data:r},void 0===n?"":n)}var t5=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},t4=function(e,t){return e.getOptionLabel(t)},t3=function(e,t){return e.getOptionValue(t)};function t6(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function t9(e,t,n){if(n.indexOf(t)>-1)return!0;
1if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=t3(e,t);return n.some(function(t){return t3(e,t)===r})}function t8(e,t,n){return!e.filterOption||e.filterOption(t,n)}var t7=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ne=1,nt=function(e){(0,P.Z)(n,e);var t=(0,O.Z)(n);function n(e){var r;if((0,w.Z)(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=tX(/^Mac/i)||tX(/^iPhone/i)||tX(/^iPad/i)||tX(/^Mac/i)&&navigator.maxTouchPoints>1,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,s=n.name;t.name=s,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,s=i.closeMenuOnSelect,o=i.isMulti,a=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:a}),s&&(r.setState({inputIsHiddenAfterUpdate:!o}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,s=t.name,o=r.state.selectValue,a=i&&r.isOptionSelected(e,o),l=r.isOptionDisabled(e,o);if(a){var u=r.getOptionValue(e);r.setValue(o.filter(function(e){return r.getOptionValue(e)!==u}),"deselect-option",e)}else if(l){r.ariaOnChange(e,{action:"select-option",option:e,name:s});return}else i?r.setValue([].concat(E(o),[e]),"select-option",e):r.setValue(e,"select-option");n&&r.blurInput()},r.removeValue=function(e){var t,n=r.props.isMulti,i=r.state.selectValue,s=r.getOptionValue(e),o=i.filter(function(e){return r.getOptionValue(e)!==s}),a=(t=o[0]||null,n?o:t);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e,t,n=r.state.selectValue;r.onChange((e=r.props.isMulti,t=[],e?t:null),{action:"clear",removedValues:n})},r.popValue=function(){var e,t=r.props.isMulti,n=r.state.selectValue,i=n[n.length-1],s=n.slice(0,n.length-1),o=(e=s[0]||null,t?s:e);i&&r.onChange(o,{action:"pop-value",removedValue:i})},r.getFocusedOptionId=function(e){return t5(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return t1(tQ(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return eW.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return t4(r.props,e)},r.getOptionValue=function(e){return t3(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=tq[e](t,n);i.boxSizing="border-box";var s=r.props.styles[e];return s?s(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){var e;return e=r.props,h(h({},tf),e.components)},r.buildCategorizedOptions=function(){return tQ(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return t0(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:h({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!r.props.isDisabled){var t=r.props,n=t.isMulti,i=t.menuIsOpen;
vendor: 4,302 bytes, line 1
1r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&eY(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),s=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||s>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return t7(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,s=t.escapeClearsValue,o=t.inputValue,a=t.isClearable,l=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,d=t.tabSelectsValue,h=t.openMenuOnFocus,p=r.state,f=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!l){if("function"==typeof c&&(c(e),e.defaultPrevented))return;switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||o)return;r.focusValue("previous");break;case"ArrowRight":if(!n||o)return;r.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(m)r.removeValue(m);else{if(!i)return;n?r.popValue():a&&r.clearValue()}break;case"Tab":if(r.isComposing||e.shiftKey||!u||!d||!f||h&&r.isOptionSelected(f,g))return;r.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(u){if(!f||r.isComposing)return;r.selectOption(f);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:o}),r.onMenuClose()):a&&s&&r.clearValue();break;case" ":if(o)return;if(!u){r.openMenu("first");break}if(!f)return;r.selectOption(f);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++ne),r.state.selectValue=eH(e.value),e.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),s=r.buildFocusableOptions(),o=s.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=s[o],r.state.focusedOptionId=t5(i,s[o])}return r}
vendor: 7,241 bytes, line 1
1return(0,S.Z)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&eK(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(eK(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,s=this.buildFocusableOptions(),o="first"===e?0:s.length-1;if(!this.props.isMulti){var a=s.indexOf(r[0]);a>-1&&(o=a)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:s[o],focusedOptionId:this.getFocusedOptionId(s[o])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var s=n.length-1,o=-1;if(n.length){switch(e){case"previous":o=0===i?0:-1===i?s:i-1;break;case"next":i>-1&&i<s&&(o=i+1)}this.setState({inputIsHidden:-1!==o,focusedValue:n[o]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,s=r.indexOf(n);n||(s=-1),"up"===e?i=s>0?s-1:r.length-1:"down"===e?i=(s+1)%r.length:"pageup"===e?(i=s-t)<0&&(i=0):"pagedown"===e?(i=s+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(tG):h(h({},tG),this.props.theme):tG}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,s=this.selectOption,o=this.setValue,a=this.props,l=a.isMulti,u=a.isRtl,c=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:c,selectOption:s,selectProps:a,setValue:o,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return t6(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return t9(this.props,e,t)}},{key:"filterOption",value:function(e,t){return t8(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"!=typeof this.props.formatOptionLabel)return this.getOptionLabel(e);var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,s=e.tabIndex,o=e.form,a=e.menuIsOpen,l=e.required,u=this.getComponents().Input,c=this.state,d=c.inputIsHidden,p=c.ariaSelection,f=this.commonProps,m=r||this.getElementId("input"),g=h(h(h({"aria-autocomplete":"list","aria-expanded":a,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":l,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},a&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?(null==p?void 0:p.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?v.createElement(u,(0,x.Z)({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:o,type:"text",value:i},g)):v.createElement(tF,(0,x.Z)({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ez,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:o,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,s=t.MultiValueRemove,o=t.SingleValue,a=t.Placeholder,l=this.commonProps,u=this.props,c=u.controlShouldRenderValue,d=u.isDisabled,h=u.isMulti,p=u.inputValue,f=u.placeholder,m=this.state,g=m.selectValue,y=m.focusedValue,b=m.isFocused;if(!this.hasValue()||!c)return p?null:v.createElement(a,(0,x.Z)({},l,{key:"placeholder",isDisabled:d,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return g.map(function(t,o){var a=t===y,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return v.createElement(n,(0,x.Z)({}
1,l,{components:{Container:r,Label:i,Remove:s},isFocused:a,isDisabled:d,key:u,index:o,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(p)return null;var w=g[0];return v.createElement(o,(0,x.Z)({},l,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,s=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(e,(0,x.Z)({},t,{innerProps:o,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,s=this.state.isFocused;return e&&i?v.createElement(e,(0,x.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:s})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,s=this.state.isFocused;return v.createElement(n,(0,x.Z)({},r,{isDisabled:i,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(e,(0,x.Z)({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e,t=this,n=this.getComponents(),r=n.Group,i=n.GroupHeading,s=n.Menu,o=n.MenuList,a=n.MenuPortal,l=n.LoadingMessage,u=n.NoOptionsMessage,c=n.Option,d=this.commonProps,h=this.state.focusedOption,p=this.props,f=p.captureMenuScroll,m=p.inputValue,g=p.isLoading,y=p.loadingMessage,b=p.minMenuHeight,w=p.maxMenuHeight,S=p.menuIsOpen,P=p.menuPlacement,O=p.menuPosition,C=p.menuPortalTarget,E=p.menuShouldBlockScroll,A=p.menuShouldScrollIntoView,V=p.noOptionsMessage,T=p.onMenuScrollToTop,M=p.onMenuScrollToBottom;if(!S)return null;var k=function(e,n){var r=e.type,i=e.data,s=e.isDisabled,o=e.isSelected,a=e.label,l=e.value,u=h===i,p=s?void 0:function(){return t.onOptionHover(i)},f=s?void 0:function(){return t.selectOption(i)},m="".concat(t.getElementId("option"),"-").concat(n),g={id:m,onClick:f,onMouseMove:p,onMouseOver:p,tabIndex:-1,role:"option","aria-selected":t.isAppleDevice?void 0:o};return v.createElement(c,(0,x.Z)({},d,{innerProps:g,data:i,isDisabled:s,isSelected:o,key:m,label:a,type:r,value:l,isFocused:u,innerRef:u?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())e=this.getCategorizedOptions().map(function(e){if("group"===e.type){var n=e.data,s=e.options,o=e.index,a="".concat(t.getElementId("group"),"-").concat(o),l="".concat(a,"-heading");return v.createElement(r,(0,x.Z)({},d,{key:a,data:n,options:s,Heading:i,headingProps:{id:l,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map(function(e){return k(e,"".concat(o,"-").concat(e.index))}))}if("option"===e.type)return k(e,"".concat(e.index))});else if(g){var F=y({inputValue:m});if(null===F)return null;e=v.createElement(l,d,F)}else{var D=V({inputValue:m});if(null===D)return null;e=v.createElement(u,d,D)}var R={minMenuHeight:b,maxMenuHeight:w,menuPlacement:P,menuPosition:O,menuShouldScrollIntoView:A},I=v.createElement(e8,(0,x.Z)({},d,R),function(n){var r=n.ref,i=n.placerProps,a=i.placement,l=i.maxHeight;return v.createElement(s,(0,x.Z)({},d,R,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:g,placement:a}),v.createElement(t$,{captureEnabled:f,onTopArrive:T,onBottomArrive:M,lockEnabled:E},function(n){return v.createElement(o,(0,x.Z)({},d,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:t.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:h}),e)}))});return C||"fixed"===O?v.createElement(a,(0,x.Z)({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:P,menuPosition:O}),I):I}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,s=t.name,o=t.required,a=this.state.selectValue;if(o&&!this.hasValue()&&!r)return v.createElement(tY,{name:s,onFocus:this.onValueInputFocus});if(s&&!r){if(i){if(n){var l=a.map(function(t){return e.getOptionValue(t)}).join(n);return v.createElement("input",{name:s,type:"hidden",value:l})}var u=a.length>0?a.map(function(t,n){return v.createElement("input",{key:"i-".concat(n),name:s,type:"hidden",value:e.getOptionValue(t)})}):v.createElement("input",{name:s,type:"hidden",value:""});return v.createElement("div",null,u)}var c=a[0]?this.getOptionValue(a[0]):"";return v.createElement("input",{name:s,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,s=t.isFocused,o=t.selectValue,a=this.getFocusableOptions();return v.createElement(tx,(0,x.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:s,selectValue:o,focusableOptions:a,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,s=this.props,o=s.className,a=s.id,l=s.isDisabled,u=s.menuIsOpen,c=this.state.isFocused,d=this.commonProps=this.getCommonProps();return v.createElement(r,(0,x.Z)({},d,{className:o,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:c}),this.renderLiveRegion(),v.createElement(t,(0,x.Z)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:c,menuIsOpen:u}),v.createElement(i,(0,x.Z)({},d,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),v.createElement(n,(0,x.Z)({},d,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevProps,i=t.clearFocusValueOnUpdate,s=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,l=t.prevWasFocused,u=t.instancePrefix,c=e.options,d=e.value,p=e.menuIsOpen,f=e.inputValue,m=e.isMulti,g=eH(d),v={};if(r&&(d!==r.value||c!==r.options||p!==r.menuIsOpen||f!==r.inputValue)){var y,b=p?t0(tQ(e,g)):[],x=p?t1(tQ(e,g),"".concat(u,"-option")):[],w=i?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,g):null,S=(y=t.focusedOption)&&b.indexOf(y)>-1?y:b[0],P=t5(x,S);v={selectValue:g,focusedOption:S,focusedOptionId:P,focusableOptionsWithIds:x,focusedValue:w,clearFocusValueOnUpdate:!1}}var O=null!=s&&e!==r?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},C=o,E=a&&l;return a&&!E&&(C={value:(n=g[0]||null,m?g:n),options:g,action:"initial-input-focus"},E=!l),(null==o?void 0:o.action)==="initial-input-focus"&&(C=null),h(h(h({},v),O),{},{prevProps:e,ariaSelection:C,prevWasFocused:E})}}]),n}(v.Component);nt.defaultProps=tK;var nn=(0,v.forwardRef)(function(e,t){var n,r,i,s,o,a,l,u,c,d,p,m,y,w,S,P,O,C,E,A,V,T,M,k,F,D,R,I=(n=e.defaultInputValue,r=e.defaultMenuIsOpen,i=e.defaultValue,s=e.inputValue,o=e.menuIsOpen,a=e.onChange,l=e.onInputChange,u=e.onMenuClose,c=e.onMenuOpen,d=e.value,p=g(e,b),y=(m
1=f((0,v.useState)(void 0!==s?s:void 0===n?"":n),2))[0],w=m[1],P=(S=f((0,v.useState)(void 0!==o?o:void 0!==r&&r),2))[0],O=S[1],E=(C=f((0,v.useState)(void 0!==d?d:void 0===i?null:i),2))[0],A=C[1],V=(0,v.useCallback)(function(e,t){"function"==typeof a&&a(e,t),A(e)},[a]),T=(0,v.useCallback)(function(e,t){var n;"function"==typeof l&&(n=l(e,t)),w(void 0!==n?n:e)},[l]),M=(0,v.useCallback)(function(){"function"==typeof c&&c(),O(!0)},[c]),k=(0,v.useCallback)(function(){"function"==typeof u&&u(),O(!1)},[u]),F=void 0!==s?s:y,D=void 0!==o?o:P,R=void 0!==d?d:E,h(h({},p),{},{inputValue:F,menuIsOpen:D,onChange:V,onInputChange:T,onMenuClose:k,onMenuOpen:M,value:R}));return v.createElement(nt,(0,x.Z)({ref:t},I))})},16918:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r,i,s=n(2265),o=n(16873),a=n(79707);(r=i||(i={})).maroon="#800000",r.red="#FF0000",r.orange="#FFA500",r.yellow="#FFFF00",r.olive="#808000",r.green="#008000",r.purple="#800080",r.fuchsia="#FF00FF",r.lime="#00FF00",r.teal="#008080",r.aqua="#00FFFF",r.blue="#0000FF",r.navy="#000080",r.black="#000000",r.gray="#808080",r.silver="#C0C0C0",r.white="#FFFFFF";var l=function(e,t){if(e.includes("/"))return e.replace("rgb(","rgba(");var n=e.substring(e.startsWith("rgba(")?5:4,e.length-1).trim(),r=n.split(",");return 4===r.length?e.replace("rgb(","rgba("):3===r.length?"rgba(".concat(n,", ").concat(t,")"):"rgba(".concat(n," / ").concat(t,")")},u=function(e,t){if(e.startsWith("rgb"))return l(e,t);if(Object.keys(i).includes(e)&&(e=i[e]),"#"===e[0]&&(e=e.slice(1)),3===e.length){var n="";e.split("").forEach(function(e){n+=e+e}),e=n}var r=(e.match(/.{2}/g)||[]).map(function(e){return parseInt(e,16)}).join(", ");return"rgba(".concat(r,", ").concat(t,")")},c=function(){return(c=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)},d=function(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},h=(0,a.i)("BarLoader","0% {left: -35%;right: 100%} 60% {left: 100%;right: -90%} 100% {left: 100%;right: -90%}","long"),p=(0,a.i)("BarLoader","0% {left: -200%;right: 100%} 60% {left: 107%;right: -8%} 100% {left: 107%;right: -8%}","short"),f=function(e){var t=e.loading,n=e.color,r=void 0===n?"#000000":n,i=e.speedMultiplier,a=void 0===i?1:i,l=e.cssOverride,f=e.height,m=void 0===f?4:f,g=e.width,v=d(e,["loading","color","speedMultiplier","cssOverride","height","width"]),y=c({display:"inherit",position:"relative",width:(0,o.E)(void 0===g?100:g),height:(0,o.E)(m),overflow:"hidden",backgroundColor:u(r,.2),backgroundClip:"padding-box"},void 0===l?{}:l),b=function(e){return{position:"absolute",height:(0,o.E)(m),overflow:"hidden",backgroundColor:r,backgroundClip:"padding-box",display:"block",borderRadius:2,willChange:"left, right",animationFillMode:"forwards",animation:"".concat(1===e?h:p," ").concat(2.1/a,"s ").concat(2===e?"".concat(1.15/a,"s"):""," ").concat(1===e?"cubic-bezier(0.65, 0.815, 0.735, 0.395)":"cubic-bezier(0.165, 0.84, 0.44, 1)"," infinite")}};return void 0===t||t?s.createElement("span",c({style:y},v),s.createElement("span",{style:b(1)}),s.createElement("span",{style:b(2)})):null}},90752:function(e,t,n){"use strict";n.d(t,{W:function(){return y},_:function(){return a},a:function(){return s},b:function(){return l},c:function(){return u},d:function(){return h}});var r=n(2265);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}(e,t)||c(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}n(8727);var p="undefined"!=typeof global&&global.navigator&&"ReactNative"===global.navigator.product,f="undefined"!=typeof document||p?r.useLayoutEffect:r.useEffect,m=["preloader"],g=(0,r.lazy)(function(){return Promise.all([n.e(3023),n.e(8038),n.e(3923)]).then(n.bind(n,7643))}),v=function(){return f(function(){window.UPLOADCARE_INTEGRATION="react-widget",window.UPLOADCARE_LIVE=!1,window.UPLOADCARE_MANUAL_START=!0},[]),null},y=(0,r.forwardRef)(function(e,t){var n=e.preloader,i=a(e,m);return r.createElement(r.Fragment,null,r.createElement(v,null),r.createElement(r.Suspense,{fallback:void 0===n?"Loading...":n},r.createElement(g,o({},i,{apiRef:t}))))})},48614:function(e,t,n){"use strict";n.d(t,{M:function(){return v}});var r=n(57437),i=n(2265),s=n(64252),o=n(53576),a=n(45750);class l extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u(e){let{children:t,isPresent:n}=e,s=(0,i.useId)(),o=(0,i.useRef)(null),u=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:c}=(0,i.useContext)(a._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i}=u.current;if(n||!o.current||!e||!t)return;o.current.dataset.motionPopId=s;let a=document.createElement("style");return c&&(a.nonce=c),document.head.appendChild(a),a.sheet&&a.sheet.insertRule('\n          [data-motion-pop-id="'.concat(s,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            top: ").concat(r,"px !important;\n            left: ").concat(i,"px !important;\n          }\n        ")),()=>{document.head.removeChild(a)}},[n]),(0,r.jsx)(l,{isPresent:n,childRef:o,sizeRef:u,children:i.cloneElement(t,{ref:o})})}let c=e=>{let{children:t,initial:n,isPresent:a,onExitComplete:l,custom:c,presenceAffectsLayout:h,mode:p}=e,f=(0,o.h)(d),m=(0,i.useId)(),g=(0,i.useCallback)(e=>
1{for(let t of(f.set(e,!0),f.values()))if(!t)return;l&&l()},[f,l]),v=(0,i.useMemo)(()=>({id:m,initial:n,isPresent:a,custom:c,onExitComplete:g,register:e=>(f.set(e,!1),()=>f.delete(e))}),h?[Math.random(),g]:[a,g]);return(0,i.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[a]),i.useEffect(()=>{a||f.size||!l||l()},[a]),"popLayout"===p&&(t=(0,r.jsx)(u,{isPresent:a,children:t})),(0,r.jsx)(s.O.Provider,{value:v,children:t})};function d(){return new Map}var h=n(58881),p=n(13223);let f=e=>e.key||"";function m(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}var g=n(11534);let v=e=>{let{children:t,exitBeforeEnter:n,custom:s,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:d="sync"}=e;(0,p.k)(!n,"Replace exitBeforeEnter with mode='wait'");let v=(0,i.useMemo)(()=>m(t),[t]),y=v.map(f),b=(0,i.useRef)(!0),x=(0,i.useRef)(v),w=(0,o.h)(()=>new Map),[S,P]=(0,i.useState)(v),[O,C]=(0,i.useState)(v);(0,g.L)(()=>{b.current=!1,x.current=v;for(let e=0;e<O.length;e++){let t=f(O[e]);y.includes(t)?w.delete(t):!0!==w.get(t)&&w.set(t,!1)}},[O,y.length,y.join("-")]);let E=[];if(v!==S){let e=[...v];for(let t=0;t<O.length;t++){let n=O[t],r=f(n);y.includes(r)||(e.splice(t,0,n),E.push(n))}"wait"===d&&E.length&&(e=E),C(m(e)),P(v);return}let{forceRender:A}=(0,i.useContext)(h.p);return(0,r.jsx)(r.Fragment,{children:O.map(e=>{let t=f(e),n=v===O||y.includes(t);return(0,r.jsx)(c,{isPresent:n,initial:(!b.current||!!a)&&void 0,custom:n?void 0:s,presenceAffectsLayout:u,mode:d,onExitComplete:n?void 0:()=>{if(!w.has(t))return;w.set(t,!0);let e=!0;w.forEach(t=>{t||(e=!1)}),e&&(null==A||A(),C(x.current),l&&l())},children:e},t)})})}},58881:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});let r=(0,n(2265).createContext)({})},45750:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});let r=(0,n(2265).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},64252:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=(0,n(2265).createContext)(null)},85005:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(24118);let i=["read","resolveKeyframes","update","preRender","render","postRender"];function s(e,t){let n=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,l=i.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(t){s.has(t)&&(l.schedule(t),e()),t(o)}let l={schedule:(e,i=!1,o=!1)=>{let a=o&&r?t:n;return i&&s.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),s.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,i&&(i=!1,l.process(e))}};return l}(a),e),{}),{read:u,resolveKeyframes:c,update:d,preRender:h,render:p,postRender:f}=l,m=()=>{let i=r.c.useManualTiming?o.timestamp:performance.now();n=!1,o.delta=s?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,u.process(o),c.process(o),d.process(o),h.process(o),p.process(o),f.process(o),o.isProcessing=!1,n&&t&&(s=!1,e(m))},g=()=>{n=!0,s=!0,o.isProcessing||e(m)};return{schedule:i.reduce((e,t)=>{let r=l[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<i.length;t++)l[i[t]].cancel(e)},state:o,steps:l}}},45414:function(e,t,n){"use strict";n.d(t,{Pn:function(){return s},Wi:function(){return i},frameData:function(){return o},yL:function(){return a}});var r=n(44439);let{schedule:i,cancel:s,state:o,steps:a}=(0,n(85005).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},40504:function(e,t,n){"use strict";let r;n.d(t,{X:function(){return a}});var i=n(24118),s=n(45414);function o(){r=void 0}let a={now:()=>(void 0===r&&a.set(s.frameData.isProcessing||i.c.useManualTiming?s.frameData.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(o)}}},93420:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{E:function(){return iP}});let i=e=>Array.isArray(e);function s(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}function o(e){return"string"==typeof e||Array.isArray(e)}function a(e){let t=[{},{}];
1return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function l(e,t,n,r){if("function"==typeof t){let[i,s]=a(r);t=t(void 0!==n?n:e.custom,i,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,s]=a(r);t=t(void 0!==n?n:e.custom,i,s)}return t}function u(e,t,n){let r=e.getProps();return l(r,t,void 0!==n?n:r.custom,e)}let c=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...c],h=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],p=new Set(h),f=e=>1e3*e,m=e=>e/1e3,g={type:"spring",stiffness:500,damping:25,restSpeed:10},v=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),y={type:"keyframes",duration:.8},b={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},x=(e,{keyframes:t})=>t.length>2?y:p.has(e)?e.startsWith("scale")?v(t[1]):g:b;function w(e,t){return e?e[t]||e.default||e:void 0}var S,P,O,C=n(24118);let E={current:!1},A=e=>null!==e;function V(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(A),s=t&&"loop"!==n&&t%2==1?0:i.length-1;return s&&void 0!==r?r:i[s]}var T=n(45414),M=n(44439);let k=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function F(e,t,n,r){if(e===t&&n===r)return M.Z;let i=t=>(function(e,t,n,r,i){let s,o;let a=0;do(s=k(o=t+(n-t)/2,r,i)-e)>0?n=o:t=o;while(Math.abs(s)>1e-7&&++a<12);return o})(t,0,1,e,n);return e=>0===e||1===e?e:k(i(e),t,r)}let D=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,R=e=>t=>1-e(1-t),I=F(.33,1.53,.69,.99),L=R(I),j=D(L),_=e=>(e*=2)<1?.5*L(e):.5*(2-Math.pow(2,-10*(e-1))),B=e=>1-Math.sin(Math.acos(e)),N=R(B),U=D(B),z=e=>/^0[^.\s]+$/u.test(e);var W=n(13223);let H=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var $=n(37249);let Z=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var Y=n(74305),X=n(27492);let q=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),G=e=>e===Y.Rx||e===X.px,K=(e,t)=>parseFloat(e.split(", ")[t]),J=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return K(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?K(t[1],e):0}},Q=new Set(["x","y","z"]),ee=h.filter(e=>!Q.has(e)),et={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:J(4,13),y:J(5,14)};et.translateX=et.x,et.translateY=et.y;let en=e=>t=>t.test(e),er=[Y.Rx,X.px,X.aQ,X.RW,X.vw,X.vh,{test:e=>"auto"===e,parse:e=>e}],ei=e=>er.find(en(e)),es=new Set,eo=!1,ea=!1;function el(){if(ea){let e=Array.from(es).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 ee.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),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))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}ea=!1,eo=!1,es.forEach(e=>e.complete()),es.clear()}function eu(){es.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ea=!0)})}class ec{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?(es.add(this),eo||(eo=!0,T.Wi.read(eu),T.Wi.resolveKeyframes(el))):(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),es.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,es.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var ed=n(83206),eh=n(66941);let ep=new Set(["brightness","contrast","saturate","opacity"]);function ef(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(eh.K)||[];if(!r)return e;let i=n.replace(r,""),s=ep.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}let em=/\b([a-z-]*)\(.*?\)/gu,eg={...ed.P,getAnimatableNone:e=>{let t=e.match(em);return t?t.map(ef).join(" "):e}};var ev=n(33964);let ey={borderWidth:X.px,borderTopWidth:X.px,borderRightWidth:X.px,borderBottomWidth:X.px,borderLeftWidth:X.px,borderRadius:X.px,radius:X.px,borderTopLeftRadius:X.px,borderTopRightRadius:X.px,borderBottomRightRadius:X.px,borderBottomLeftRadius:X.px,width:X.px,maxWidth:X.px,height:X.px,maxHeight:X.px,top:X.px,right:X.px,bottom:X.px,left:X.px,padding:X.px,paddingTop:X.px,paddingRight:X.px,paddingBottom:X.px,paddingLeft:X.px,margin:X.px,marginTop:X.px,marginRight:X.px,marginBottom:X.px,marginLeft:X.px,backgroundPositionX:X.px,backgroundPositionY:X.px},eb={rotate:X.RW,rotateX:X.RW,rotateY:X.RW,rotateZ:X.RW,scale:Y.bA,scaleX:Y.bA,scaleY:Y.bA,scaleZ:Y.bA,skew:X.RW,skewX:X.RW,skewY:X.RW,distance:X.px,translateX:X.px,translateY:X.px,translateZ:X.px,x:X.px,y:X.px,z:X.px,perspective:X.px,transformPerspective:X.px,opacity:Y.Fq,originX:X.$C,originY:X.$C,originZ:X.px},ex={...Y.Rx,transform:Math.round},ew={...ey,...eb,zIndex:ex,size:X.px,fillOpacity:Y.Fq,strokeOpacity:Y.Fq,numOctaves:ex},eS={...ew,color:ev.$,backgroundColor:ev.$,outlineColor:ev.$,fill:ev.$,stroke:ev.$,borderColor:ev.$,borderTopColor:ev.$,borderRightColor:ev.$,borderBottomColor:ev.$,borderLeftColor:ev.$,filter:eg,WebkitFilter:eg},eP=e=>eS[e];function eO(e,t){let n=eP(e);return n!==eg&&(n=ed.P),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
1let eC=new Set(["auto","none","0"]);class eE extends ec{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,$.t)(r))){let i=function e(t,n,r=1){(0,W.k)(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=Z.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 H(e)?parseFloat(e):e}return(0,$.t)(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(),!q.has(n)||2!==e.length)return;let[r,i]=e,s=ei(r),o=ei(i);if(s!==o){if(G(s)&&G(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)&&(0,ed.V)(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=et[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]=et[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}function eA(e){return"function"==typeof e}var eV=n(40504);let eT=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(ed.P.test(e)||"0"===e)&&!e.startsWith("url("));class eM{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=eV.X.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||(eu(),el()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=eV.X.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!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=eT(i,t),a=eT(s,t);return(0,W.K)(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||eA(n))&&r)}(e,n,r,i)){if(E.current||!s){null==a||a(V(e,this.options,t)),null==o||o(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}var ek=n(14438);function eF(e,t,n){let r=Math.max(t-5,0);return(0,ek.R)(n-e(r),t-r)}var eD=n(59111);function eR(e,t){return e*Math.sqrt(1-t*t)}let eI=["duration","bounce"],eL=["stiffness","damping","mass"];function ej(e,t){return t.some(t=>void 0!==e[t])}function e_({keyframes:e,restDelta:t,restSpeed:n,...r}){let i;let s=e[0],o=e[e.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:d,velocity:h,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ej(e,eL)&&ej(e,eI)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s;(0,W.K)(e<=f(10),"Spring duration must be 10 seconds or less");let o=1-t;o=(0,eD.u)(.05,1,o),e=(0,eD.u)(.01,10,m(e)),o<1?(i=t=>{let r=t*o,i=r*e;return .001-(r-n)/eR(t,o)*Math.exp(-i)},s=t=>{let r=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=eR(Math.pow(t,2),o);return(r*n+n-s)*Math.exp(-r)*(-i(t)+.001>0?-1:1)/a}):(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=f(e),isNaN(a))return{stiffness:100,damping:10,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:1}).isResolvedFromDuration=!0}return t}({...r,velocity:-m(r.velocity||0)}),g=h||0,v=u/(2*Math.sqrt(l*c)),y=o-s,b=m(Math.sqrt(l/c)),x=5>Math.abs(y);if(n||(n=x?.01:2),t||(t=x?.005:.5),v<1){let e=eR(b,v);i=t=>o-Math.exp(-v*b*t)*((g+v*b*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===v)i=e=>o-Math.exp(-b*e)*(y+(g+b*y)*e);else{let e=b*Math.sqrt(v*v-1);i=t=>{let n=Math.exp(-v*b*t),r=Math.min(e*t,300);return o-n*((g+v*b*y)*Math.sinh(r)+e*y*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{let r=i(e);if(p)a.done=e>=d;else{let s=0;v<1&&(s=0===e?f(g):eF(i,e,r));let l=Math.abs(s)<=n,u=Math.abs(o-r)<=t;a.done=l&&u}return a.value=a.done?o:r,a}}}function eB({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,h;let p=e[0],f={done:!1,value:p},m=e=>void 0!==a&&e<a||void 0!==l&&e>l,g=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)<Math.abs(l-e)?a:l,v=n*t,y=p+v,b=void 0===o?y:o(y);b!==y&&(v=b-p);let x=e=>-v*Math.exp(-e/r),w=e=>b+x(e),S=e=>{let t=x(e),n=w(e);f.done=Math.abs(t)<=u,f.value=f.done?b:n},P=e=>{m(f.value)&&(d=e,h=e_({keyframes:[f.value,g(f.value)],velocity:eF(w,e,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:e=>{let t=!1;
1return(h||void 0!==d||(t=!0,S(e),P(e)),void 0!==d&&e>=d)?h.next(e-d):(t||S(e),f)}}}let eN=F(.42,0,1,1),eU=F(0,0,.58,1),ez=F(.42,0,.58,1),eW=e=>Array.isArray(e)&&"number"!=typeof e[0],eH=e=>Array.isArray(e)&&"number"==typeof e[0],e$={linear:M.Z,easeIn:eN,easeInOut:ez,easeOut:eU,circIn:B,circInOut:U,circOut:N,backIn:L,backInOut:j,backOut:I,anticipate:_},eZ=e=>{if(eH(e)){(0,W.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return F(t,n,r,i)}return"string"==typeof e?((0,W.k)(void 0!==e$[e],`Invalid easing type '${e}'`),e$[e]):e};var eY=n(88843),eX=n(8913);function eq({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=eW(r)?r.map(eZ):eZ(r),s={done:!1,value:t[0]},o=(n&&n.length===t.length?n:(0,eX.Y)(t)).map(t=>t*e),a=(0,eY.s)(o,t,{ease:Array.isArray(i)?i:t.map(()=>i||ez).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=a(t),s.done=t>=e,s)}}var eG=n(56920),eK=n(12006);let eJ=e=>{let t=({timestamp:t})=>e(t);return{start:()=>T.Wi.update(t,!0),stop:()=>(0,T.Pn)(t),now:()=>T.frameData.isProcessing?T.frameData.timestamp:eV.X.now()}},eQ={decay:eB,inertia:eB,tween:eq,keyframes:eq,spring:e_},e0=e=>e/100;class e1 extends eM{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=()=>{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)||ec;this.resolver=new s(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let t,n;let{type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=eA(r)?r:eQ[r]||eq;l!==eq&&"number"!=typeof e[0]&&(t=(0,eG.z)(e0,(0,eK.C)(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===o&&(n=l({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(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}(u));let{calculatedDuration:c}=u,d=c+s;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(i+1)-s}}onPostResolved(){let{autoplay:e=!0}=this.options;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:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return i.next(0);let{delay:d,repeat:h,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/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 g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=i;if(h){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,h+1))%2&&("reverse"===p?(n=1-n,f&&(n-=f/c)):"mirror"===p&&(b=s)),y=(0,eD.u)(0,1,n)*c}let x=v?{done:!1,value:a[0]}:b.next(y);o&&(x.value=o(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&void 0!==r&&(x.value=V(a,this.options,r)),m&&m(x.value),S&&this.finish(),x}get duration(){let{resolved:e}=this;return e?m(e.calculatedDuration):0}get time(){return m(this.currentTime)}set time(e){e=f(e),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=m(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=eJ,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.updateFinishedProm
1ise(),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)&&void 0!==e?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()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let e2=new Set(["opacity","clipPath","filter","transform"]);var e5=n(76376);let e4=(e,t)=>{let n="",r=Math.max(Math.round(t/10),2);for(let t=0;t<r;t++)n+=e((0,e5.Y)(0,r-1,t))+", ";return`linear(${n.substring(0,n.length-2)})`};var e3=n(64043);let e6={linearEasing:void 0},e9=function(e,t){let n=(0,e3.X)(e);return()=>{var e;return null!==(e=e6[t])&&void 0!==e?e:n()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e8=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,e7={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e8([0,.65,.55,1]),circOut:e8([.55,0,1,.45]),backIn:e8([.31,.01,.66,-.59]),backOut:e8([.33,1.53,.69,.99])};function te(e,t){e.timeline=t,e.onfinish=null}let tt=(0,e3.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tn={anticipate:_,backInOut:j,circInOut:U};class tr extends eM{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new eE(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n,r;let{duration:i=300,times:s,ease:o,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("string"==typeof o&&e9()&&o in tn&&(o=tn[o]),eA((r=this.options).type)||"spring"===r.type||!function e(t){return!!("function"==typeof t&&e9()||!t||"string"==typeof t&&(t in e7||e9())||eH(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:n,motionValue:r,element:l,...u}=this.options,c=function(e,t){let n=new e1({...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,u);1===(e=c.keyframes).length&&(e[1]=e[0]),i=c.duration,s=c.times,o=c.ease,a="keyframes"}let d=function(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[t]:n};l&&(u.offset=l);let c=function e(t,n){if(t)return"function"==typeof t&&e9()?e4(t,n):eH(t)?e8(t):Array.isArray(t)?t.map(t=>e(t,n)||e7.easeOut):e7[t]}(a,i);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:i,times:s,ease:o});return d.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?(te(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:n}=this.options;l.set(V(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:i,times:s,type:a,ease:o,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return m(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return m(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=f(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 M.Z;let{animation:n}=t;te(n,e)}else this.pendingTimeline=e;return M.Z}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:l,...u}=this.options,c=new e1({...u,keyframes:n,duration:r,type:i,ease:s,times:o,isGenerator:!0}),d=f(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;return tt()&&n&&e2.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUp
1date&&!r&&"mirror"!==i&&0!==s&&"inertia"!==o}}var ti=n(19163);class ts{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}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=>(0,ti.t)()&&n.attachTimeline?n.attachTimeline(e):t(n));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]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let to=(e,t,n,r={},i,s)=>o=>{let a=w(r,e)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=f(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,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:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&(c={...c,...x(e,c)}),c.duration&&(c.duration=f(c.duration)),c.repeatDelay&&(c.repeatDelay=f(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)),(E.current||C.c.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),d&&!s&&void 0!==t.get()){let e=V(c.keyframes,a);if(void 0!==e)return T.Wi.update(()=>{c.onUpdate(e),c.onComplete()}),new ts([])}return!s&&tr.supports(c)?new tr(c):new e1(c)},ta=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),tl=e=>i(e)?e[e.length-1]||0:e;var tu=n(3078);let tc=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),td="data-"+tc("framerAppearId"),th=e=>!!(e&&e.getVelocity);function tp(e,t){let n=e.getValue("willChange");if(th(n)&&n.add)return n.add(t)}function tf(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(o=r);let c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in l){let r=e.getValue(t,null!==(s=e.latestValues[t])&&void 0!==s?s:null),i=l[t];if(void 0===i||d&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(d,t))continue;let a={delay:n,...w(o||{},t)},u=!1;if(window.MotionHandoffAnimation){let n=e.props[td];if(n){let e=window.MotionHandoffAnimation(n,t,T.Wi);null!==e&&(a.startTime=e,u=!0)}}tp(e,t),r.start(to(t,r,i,e.shouldReduceMotion&&p.has(t)?{type:!1}:a,e,u));let h=r.animation;h&&c.push(h)}return a&&Promise.all(c).then(()=>{T.Wi.update(()=>{a&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=u(e,t)||{};for(let t in i={...i,...n}){let n=tl(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,tu.BX)(n))}}(e,a)})}),c}function tm(e,t,n={}){var r;let i=u(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);let o=i?()=>Promise.all(tf(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,l=1===i?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(tg).forEach((e,r)=>{e.notify("AnimationStart",t),o.push(tm(e,t,{...s,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,i+r,o,a,n)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(n.delay)]);{let[e,t]="beforeChildren"===l?[o,a]:[a,o];return e().then(()=>t())}}function tg(e,t){return e.sortNodePosition(t)}let tv=d.length,ty=[...c].reverse(),tb=c.length;function tx(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tw(){return{animate:tx(!0),whileInView:tx(),whileHover:tx(),whileTap:tx(),whileDrag:tx(),whileFocus:tx(),exit:tx()}}class tS{constructor(e){this.isMounted=!1,this.node=e}update(){}}class tP extends tS{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=>tm(e,t,n)));else if("string"==typeof t)r=tm(e,t,n);else{let i="function"==typeof t?u(e,t,n.custom):t;r=Promise.all(tf(e,i,n))}return r.then(()=>
1{e.notify("AnimationComplete",t)})})(e,t,n))),n=tw(),a=!0,l=t=>(n,r)=>{var i;let s=u(e,r,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(s){let{transition:e,transitionEnd:t,...r}=s;n={...n,...r,...t}}return n};function c(u){let{props:c}=e,h=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<tv;e++){let r=d[e],i=t.props[r];(o(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},p=[],f=new Set,m={},g=1/0;for(let t=0;t<tb;t++){var v;let d=ty[t],y=n[d],b=void 0!==c[d]?c[d]:h[d],x=o(b),w=d===u?y.isActive:null;!1===w&&(g=t);let S=b===h[d]&&b!==c[d]&&x;if(S&&a&&e.manuallyAnimateOnMount&&(S=!1),y.protectedKeys={...m},!y.isActive&&null===w||!b&&!y.prevProp||r(b)||"boolean"==typeof b)continue;let P=(v=y.prevProp,"string"==typeof b?b!==v:!!Array.isArray(b)&&!s(b,v)),O=P||d===u&&y.isActive&&!S&&x||t>g&&x,C=!1,E=Array.isArray(b)?b:[b],A=E.reduce(l(d),{});!1===w&&(A={});let{prevResolvedValues:V={}}=y,T={...V,...A},M=t=>{O=!0,f.has(t)&&(C=!0,f.delete(t)),y.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=A[e],n=V[e];if(!m.hasOwnProperty(e))(i(t)&&i(n)?s(t,n):t===n)?void 0!==t&&f.has(e)?M(e):y.protectedKeys[e]=!0:null!=t?M(e):f.add(e)}y.prevProp=b,y.prevResolvedValues=A,y.isActive&&(m={...m,...A}),a&&e.blockInitialAnimation&&(O=!1);let k=!(S&&P)||C;O&&k&&p.push(...E.map(e=>({animation:e,options:{type:d}})))}if(f.size){let t={};f.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),p.push({animation:t})}let y=!!p.length;return a&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),a=!1,y?t(p):Promise.resolve()}return{animateChanges:c,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let s=c(t);for(let e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=tw(),a=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();r(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)||void 0===e||e.call(this)}}let tO=0;class tC extends tS{constructor(){super(...arguments),this.id=tO++}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}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let tE=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function tA(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let tV=e=>t=>tE(t)&&e(t,tA(t));function tT(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function tM(e,t,n,r){return tT(e,t,tV(n),r)}let tk=(e,t)=>Math.abs(e-t);class tF{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=tI(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(e=n.offset,t={x:0,y:0},Math.sqrt(tk(e.x,t.x)**2+tk(e.y,t.y)**2)>=3);if(!r&&!i)return;let{point:s}=n,{timestamp:o}=T.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=tD(t,this.transformPagePoint),T.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tI("pointercancel"===e.type?this.lastMoveEventInfo:tD(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,s),r&&r(e,s)},!tE(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let s=tD(tA(e),this.transformPagePoint),{point:o}=s,{timestamp:a}=T.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,tI(s,this.history)),this.removeListeners=(0,eG.z)(tM(this.contextWindow,"pointermove",this.handlePointerMove),tM(this.contextWindow,"pointerup",this.handlePointerUp),tM(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,T.Pn)(this.updatePoint)}}function tD(e,t){return t?{point:t(e.point)}:e}function tR(e,t){return{x:e.x-t.x,y:e.y-t.y}}function tI({point:e},t){return{point:e,delta:tR(e,tL(t)),offset:tR(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=tL(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>f(.1)));)n--;if(!r)return{x:0,y:0};let s=m(i.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,0)}}function tL(e){return e[e.length-1]}function tj(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let t_=tj("dragHorizontal"),tB=tj("dragVertical");function tN(e){let t=!1;if("y"===e)t=tB();else if("x"===e)t=t_();else{let e=t_(),n=tB();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function tU(){let e=tN(!0);return!e||(e(),!1)}function tz(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var tW=n(96781);function tH(e){return e.max-e.min}function t$(e,t,n,r=.5){e.origin=r,e.originPoint=(0,tW.t)(t.min,t.max,e.origin),e.scale=tH(n)/tH(t),e.translate=(0,tW.t)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function tZ(e,t,n,r){t$(e.x,t.x,n.x,r?r.originX:void 0),t$(e.y,t.y,n.y,r?r.originY:void 0)}function tY(e,t,n){e.min=n.min+t.min,e.max=e.min+tH(t)}
1function tX(e,t,n){e.min=t.min-n.min,e.max=e.min+tH(t)}function tq(e,t,n){tX(e.x,t.x,n.x),tX(e.y,t.y,n.y)}function tG(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function tK(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function tJ(e,t,n){return{min:tQ(e,t),max:tQ(e,n)}}function tQ(e,t){return"number"==typeof e?e:e[t]||0}let t0=()=>({translate:0,scale:1,origin:0,originPoint:0}),t1=()=>({x:t0(),y:t0()}),t2=()=>({min:0,max:0}),t5=()=>({x:t2(),y:t2()});function t4(e){return[e("x"),e("y")]}function t3({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function t6(e){return void 0===e||1===e}function t9({scale:e,scaleX:t,scaleY:n}){return!t6(e)||!t6(t)||!t6(n)}function t8(e){return t9(e)||t7(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function t7(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function ne(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function nt(e,t=0,n=1,r,i){e.min=ne(e.min,t,n,r,i),e.max=ne(e.max,t,n,r,i)}function nn(e,{x:t,y:n}){nt(e.x,t.translate,t.scale,t.originPoint),nt(e.y,n.translate,n.scale,n.originPoint)}function nr(e,t){e.min=e.min+t,e.max=e.max+t}function ni(e,t,n,r,i=.5){let s=(0,tW.t)(e.min,e.max,i);nt(e,t,n,s,r)}function ns(e,t){ni(e.x,t.x,t.scaleX,t.scale,t.originX),ni(e.y,t.y,t.scaleY,t.scale,t.originY)}function no(e,t){return t3(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))}let na=({current:e})=>e?e.ownerDocument.defaultView:null,nl=new WeakMap;class nu{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=t5(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new tF(e,{onSessionStart:e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(tA(e,"page").point)},onStart:(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tN(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),t4(e=>{let t=this.getAxisMotionValue(e).get()||0;if(X.aQ.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];if(r){let e=tH(r);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),i&&T.Wi.postRender(()=>i(e,t)),tp(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:s}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:o}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&s(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>t4(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:na(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&T.Wi.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!nc(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),s=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,tW.t)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,tW.t)(n,e,r.max):Math.min(e,n)),e}(s,this.constraints[e],this.elastic[e])),i.set(s)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,i=this.constraints;t&&tz(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:tG(e.x,n,i),y:tG(e.y,t,r)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:tJ(e,"left","right"),y:tJ(e,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&t4(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!tz(t))return!1;let r=t.current;(0,W.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let s=function(e,t,n){let r=no(e,n),{scroll:i}=t;return i&&(nr(r.x,i.offset.x),nr(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),o={x:tK((e=i.layout.layoutBox).x,s.x),y:tK(e.
1y,s.y)};if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=t3(e))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(t4(o=>{if(!nc(o,t,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:n?e[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return tp(this.visualElement,e),n.start(to(e,n,0,t,this.visualElement,!1))}stopAnimation(){t4(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){t4(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){t4(t=>{let{drag:n}=this.getProps();if(!nc(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:s}=r.layout.layoutBox[t];i.set(e[t]-(0,tW.t)(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!tz(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};t4(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();r[e]=function(e,t){let n=.5,r=tH(e),i=tH(t);return i>r?n=(0,e5.Y)(t.min,t.max-r,e.min):r>i&&(n=(0,e5.Y)(e.min,e.max-i,t.min)),(0,eD.u)(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),t4(t=>{if(!nc(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:s}=this.constraints[t];n.set((0,tW.t)(i,s,r[t]))})}addListeners(){if(!this.visualElement.current)return;nl.set(this.visualElement,this);let e=tM(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();tz(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),T.Wi.read(t);let i=tT(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(t4(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:s,dragMomentum:o}}}function nc(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class nd extends tS{constructor(e){super(e),this.removeGroupControls=M.Z,this.removeListeners=M.Z,this.controls=new nu(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||M.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let nh=e=>(t,n)=>{e&&T.Wi.postRender(()=>e(t,n))};class np extends tS{constructor(){super(...arguments),this.removePointerDownListener=M.Z}onPointerDown(e){this.session=new tF(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:na(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:nh(e),onStart:nh(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&T.Wi.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=tM(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var nf=n(57437),nm=n(2265),ng=n(64252),nv=n(58881);let ny=(0,nm.createContext)({}),nb={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nx(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let nw={correct:(e,t)=>
1{if(!t.target)return e;if("string"==typeof e){if(!X.px.test(e))return e;e=parseFloat(e)}let n=nx(e,t.target.x),r=nx(e,t.target.y);return`${n}% ${r}%`}},nS={},{schedule:nP,cancel:nO}=(0,n(85005).Z)(queueMicrotask,!1);class nC extends nm.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;Object.assign(nS,nA),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),nb.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,s=n.projection;return s&&(s.isPresent=i,r||e.layoutDependency!==t||void 0===t?s.willUpdate():this.safeToRemove(),e.isPresent===i||(i?s.promote():s.relegate()||T.Wi.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),nP.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nE(e){let[t,n]=function(){let e=(0,nm.useContext)(ng.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=(0,nm.useId)();(0,nm.useEffect)(()=>r(i),[]);let s=(0,nm.useCallback)(()=>n&&n(i),[i,n]);return!t&&n?[!1,s]:[!0]}(),r=(0,nm.useContext)(nv.p);return(0,nf.jsx)(nC,{...e,layoutGroup:r,switchLayoutGroup:(0,nm.useContext)(ny),isPresent:t,safeToRemove:n})}let nA={borderRadius:{...nw,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nw,borderTopRightRadius:nw,borderBottomLeftRadius:nw,borderBottomRightRadius:nw,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=ed.P.parse(e);if(r.length>5)return e;let i=ed.P.createTransformer(e),s="number"!=typeof r[0]?1:0,o=n.x.scale*t.x,a=n.y.scale*t.y;r[0+s]/=o,r[1+s]/=a;let l=(0,tW.t)(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),i(r)}}};var nV=n(34081);let nT=["TopLeft","TopRight","BottomLeft","BottomRight"],nM=nT.length,nk=e=>"string"==typeof e?parseFloat(e):e,nF=e=>"number"==typeof e||X.px.test(e);function nD(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nR=nL(0,.5,N),nI=nL(.5,.95,M.Z);function nL(e,t,n){return r=>r<e?0:r>t?1:n((0,e5.Y)(e,t,r))}function nj(e,t){e.min=t.min,e.max=t.max}function n_(e,t){nj(e.x,t.x),nj(e.y,t.y)}function nB(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function nN(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function nU(e,t,[n,r,i],s,o){!function(e,t=0,n=1,r=.5,i,s=e,o=e){if(X.aQ.test(t)&&(t=parseFloat(t),t=(0,tW.t)(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=(0,tW.t)(s.min,s.max,r);e===s&&(a-=t),e.min=nN(e.min,t,n,a,i),e.max=nN(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,s,o)}let nz=["x","scaleX","originX"],nW=["y","scaleY","originY"];function nH(e,t,n,r){nU(e.x,t,nz,n?n.x:void 0,r?r.x:void 0),nU(e.y,t,nW,n?n.y:void 0,r?r.y:void 0)}function n$(e){return 0===e.translate&&1===e.scale}function nZ(e){return n$(e.x)&&n$(e.y)}function nY(e,t){return e.min===t.min&&e.max===t.max}function nX(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function nq(e,t){return nX(e.x,t.x)&&nX(e.y,t.y)}function nG(e){return tH(e.x)/tH(e.y)}function nK(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var nJ=n(69013);class nQ{constructor(){this.members=[]}add(e){(0,nJ.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,nJ.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}
1exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let n0=(e,t)=>e.depth-t.depth;class n1{constructor(){this.children=[],this.isDirty=!1}add(e){(0,nJ.y4)(this.children,e),this.isDirty=!0}remove(e){(0,nJ.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(n0),this.isDirty=!1,this.children.forEach(e)}}function n2(e){let t=th(e)?e.get():e;return ta(t)?t.toValue():t}let n5={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},n4="undefined"!=typeof window&&void 0!==window.MotionDebug,n3=["","X","Y","Z"],n6={visibility:"hidden"},n9=0;function n8(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function n7({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=null==t?void 0:t()){this.id=n9++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,n4&&(n5.totalNodes=n5.resolvedTargetDeltas=n5.recalculatedProjection=0),this.nodes.forEach(rn),this.nodes.forEach(ru),this.nodes.forEach(rc),this.nodes.forEach(rr),n4&&window.MotionDebug.record(n5)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new n1)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new nV.L),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;let r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=eV.X.now(),r=({timestamp:t})=>{let i=t-n;i>=250&&((0,T.Pn)(r),e(i-250))};return T.Wi.read(r,!0),()=>(0,T.Pn)(r)}(r,0),nb.hasAnimatedSinceResize&&(nb.hasAnimatedSinceResize=!1,this.nodes.forEach(rl))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||s.getDefaultTransition()||rg,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!nq(this.targetLayout,r)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...w(i,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||rl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,T.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(rd),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=n.props[td];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",T.Wi,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rs);return}this.isUpdating||this.nodes.forEach(ro),this.isUpdating=!1,this.nodes.forEach(ra),this.nodes.forEach(re),this.nodes.forEach(rt),this.clearAllSnapshots();let e=eV.X.now();T.frameData.delta=(0,eD.u)(0,1e3/60,e-T.frameData.timestamp),T.frameData.timestamp=e,T.frameData.isProcessing=!0,T.yL.update.process(T.frameData),T.yL.preRender.process(T.frameData),T.yL.render.process(T.frameData),T.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nP.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ri),this.sharedNodes.forEach(rh)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,T.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){T.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=t5(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!nZ(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;e&&(t||t8(this.latestValues)||s)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),rb((t=r).x),rb(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return t5();let n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(rw))){let{scroll:e}=this.root;e&&(nr(n.x,e.offset.x),nr(n.y,e.offset.y))}return n}removeElementScroll(e){var t;let n=t5();if(n_(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){let r=this.path[t],{scroll:i,options:s}=r;r!==this.root&&i&&s.layoutScroll&&(i.wasRoot&&n_(n,e),nr(n.x,i.offset.x),nr(n.y,i.offset.y))}return n}applyTransform(e,t=!1){let n=t5();n_(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&ns(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),t8(r.latestValues)&&ns(n,r.latestValues)}return t8(this.latestValues)&&ns(n,this.latestValues),n}removeTransform(e){let t=t5();n_(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!t8(n.latestValues))continue;t9(n.latestValues)&&n.updateSnapshot();let r=t5();n_(r,n.measurePageBox()),nH(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return t8(this.latestValues)&&nH(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.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!==T.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,n,r,i;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
1haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=T.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=t5(),this.relativeTargetOrigin=t5(),tq(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),n_(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=t5(),this.targetWithTransforms=t5()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,tY(n.x,r.x,i.x),tY(n.y,r.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):n_(this.target,this.layout.layoutBox),nn(this.target,this.targetDelta)):n_(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=t5(),this.relativeTargetOrigin=t5(),tq(this.relativeTargetOrigin,this.target,e.target),n_(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}n4&&n5.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||t9(this.parent.latestValues)||t7(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===T.frameData.timestamp&&(r=!1),r)return;let{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||s))return;n_(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){let i,s;let o=n.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(i=n[a]).projectionDelta;let{visualElement:o}=i.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&ns(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,nn(e,s)),r&&t8(i.latestValues)&&ns(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=t5());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nB(this.prevProjectionDelta.x,this.projectionDelta.x),nB(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tZ(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&nK(this.projectionDelta.x,this.prevProjectionDelta.x)&&nK(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),n4&&n5.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=t1(),this.projectionDelta=t1(),this.projectionDeltaWithTransform=t1()}setAnimationOrigin(e,t=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},s={...this.latestValues},o=t1();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=t5(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(rm));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(rp(o.x,e.x,r),rp(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,f;tq(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,rf(p.x,f.x,a.x,r),rf(p.y,f.y,a.y,r),n&&(u=this.relativeTarget,h=n,nY(u.x,h.x)&&nY(u.y,h.y))&&(this.isProjectionDirty=!1),n||(n=t5()),n_(n,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,n,r,i,s){i?(e.opacity=(0,tW.t)(0,void 0!==n.opacity?n.opacity:1,nR(r)),e.opacityExit=(0,tW.t)(void 0!==t.opacity?t.opacity:1,0,nI(r))):s&&(e.opacity=(0,tW.t)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<nM;i++){let s=`border${nT[i]}
1Radius`,o=nD(t,s),a=nD(n,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||nF(o)===nF(a)?(e[s]=Math.max((0,tW.t)(nk(o),nk(a),r),0),(X.aQ.test(a)||X.aQ.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||n.rotate)&&(e.rotate=(0,tW.t)(t.rotate||0,n.rotate||0,r))}(s,i,this.latestValues,r,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,T.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=T.Wi.update(()=>{nb.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){let r=th(0)?0:(0,tu.BX)(0);return r.start(to("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.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 e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&rx(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||t5();let t=tH(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=tH(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}n_(t,n),ns(t,i),tZ(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nQ),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&n8("z",e,r,this.animationValues);for(let t=0;t<n3.length;t++)n8(`rotate${n3[t]}`,e,r,this.animationValues),n8(`skew${n3[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return n6;let r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=n2(null==e?void 0:e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=n2(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!t8(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="",i=e.x.translate/t.x,s=e.y.translate/t.y,o=(null==n?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:s,skewX:o,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l}
1)`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),i&&(r.transform=i(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let e in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(n=null!==(t=o.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,nS){if(void 0===o[e])continue;let{correct:t,applyTo:n}=nS[e],i="none"===r.transform?o[e]:t(o[e],s);if(n){let e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=s===this?n2(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(rs),this.root.sharedNodes.clear()}}}function re(e){e.updateLayout()}function rt(e){var t;let n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,s=n.source!==e.layout.source;"size"===i?t4(e=>{let r=s?n.measuredBox[e]:n.layoutBox[e],i=tH(r);r.min=t[e].min,r.max=r.min+i}):rx(i,n.layoutBox,t)&&t4(r=>{let i=s?n.measuredBox[r]:n.layoutBox[r],o=tH(t[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=t1();tZ(o,t,n.layoutBox);let a=t1();s?tZ(a,e.applyTransform(r,!0),n.measuredBox):tZ(a,t,n.layoutBox);let l=!nZ(o),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:s}=r;if(i&&s){let o=t5();tq(o,n.layoutBox,i.layoutBox);let a=t5();tq(a,t,s.layoutBox),nq(o,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function rn(e){n4&&n5.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function rr(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ri(e){e.clearSnapshot()}function rs(e){e.clearMeasurements()}function ro(e){e.isLayoutDirty=!1}function ra(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function rl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ru(e){e.resolveTargetDelta()}function rc(e){e.calcProjection()}function rd(e){e.resetSkewAndRotation()}function rh(e){e.removeLeadSnapshot()}function rp(e,t,n){e.translate=(0,tW.t)(t.translate,0,n),e.scale=(0,tW.t)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function rf(e,t,n,r){e.min=(0,tW.t)(t.min,n.min,r),e.max=(0,tW.t)(t.max,n.max,r)}function rm(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let rg={duration:.45,ease:[.4,0,.1,1]},rv=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ry=rv("applewebkit/")&&!rv("chrome/")?Math.round:M.Z;function rb(e){e.min=ry(e.min),e.max=ry(e.max)}function rx(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(nG(t)-nG(n)))}function rw(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}let rS=n7({attachResizeListener:(e,t)=>tT(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rP={current:void 0},rO=n7({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rP.current){let e=new rS({});e.mount(window),e.setOptions({layoutScroll:!0}),rP.current=e}return rP.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function rC(e,t){let n=t?"onHoverStart":"onHoverEnd";return tM(e.current,t?"pointerenter":"pointerleave",(r,i)=>{if("touch"===r.pointerType||tU())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t);let o=s[n];o&&T.Wi.postRender(()=>o(r,i))},{passive:!e.getProps()[n]})}class rE extends tS{mount(){this.unmount=(0,eG.z)(rC(this.node,!0),rC(this.node,!1))}unmount(){}}class rA extends tS{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=(0,eG.z)(tT(this.node.current,"focus",()=>this.onFocus()),tT(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let rV=(e,t)=>!!t&&(e===t||rV(e,t.parentElement));function rT(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,tA(n))}class rM extends tS{constructor(){super(...arguments),this.removeStartListeners=M.Z,this.removeEndListeners=M.Z,this.removeAccessibleListeners=M.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),r=tM(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:i}=this.node.getProps(),s=i||rV(this.node.current,e.target)?n:r;s&&T.Wi.update(()=>s(e,t))},{passive:!(n.onTap||n.onPointerUp)}),i=tM(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,eG.z)(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=tT(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=tT(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&rT("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&T.Wi.postRender(()=>n(e,t))})}),rT("down",(e,t)=>{this.startPress(e,t)}))}),t=tT(this.node.current,"blur",()=>{this.isPressing&&rT("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,eG.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&T.Wi.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tU()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&T.Wi.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=tM(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=tT(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,eG.z)(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let rk=new WeakMap,rF=new WeakMap,rD=e=>{let t=rk.get(e.target);t&&t(e)},rR=e=>{e.forEach(rD)},rI={some:0,all:1};class rL extends tS{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:rI[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;rF.has(n)||rF.set(n,{});let r=rF.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(rR,{root:e,...t})),r[i]}(t);return rk.set(e,n),r.observe(e),()=>{rk.delete(e),r.unobserve(e)}}(this.node.current,s,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)})}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 rj=n(45750);let r_=(0,nm.createContext)({});var rB=n(11534);let rN=(0,nm.createContext)({strict:!1});function rU(e){return r(e.animate)||d.some(t=>o(e[t]))}function rz(e){return!!(rU(e)||e.variants)}function rW(e){return Array.isArray(e)?e.join(" "):e}let rH={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"]},r$={};for(let e in rH)r$[e]={isEnabled:t=>rH[e].some(e=>!!t[e])};var rZ=n(44563);let rY=Symbol.for("motionComponentSymbol"),rX=["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 rq(e){if("string"!=typeof e||e.includes("-"));else if(rX.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}function rG(e,{style:t,vars:n},r,i){for(let s in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(s,n[s])}let rK=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function rJ(e,t,n,r){for(let n in rG(e,t,void 0,r),t.attrs)e.setAttribute(rK.has(n)?n:tc(n),t.attrs[n])}function rQ(e,{layout:t,layoutId:n}){return p.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!nS[e]||"opacity"===e)}
1function r0(e,t,n){var r;let{style:i}=e,s={};for(let o in i)(th(i[o])||t.style&&th(t.style[o])||rQ(o,e)||(null===(r=null==n?void 0:n.getValue(o))||void 0===r?void 0:r.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function r1(e,t,n){let r=r0(e,t,n);for(let n in e)(th(e[n])||th(t[n]))&&(r[-1!==h.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}var r2=n(53576);let r5=e=>(t,n)=>{let i=(0,nm.useContext)(r_),s=(0,nm.useContext)(ng.O),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,s,o){let a={latestValues:function(e,t,n,i){let s={},o=i(e,{});for(let e in o)s[e]=n2(o[e]);let{initial:a,animate:u}=e,c=rU(e),d=rz(e);t&&d&&!c&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===u&&(u=t.animate));let h=!!n&&!1===n.initial,p=(h=h||!1===a)?u:a;if(p&&"boolean"!=typeof p&&!r(p)){let t=Array.isArray(p)?p:[p];for(let n=0;n<t.length;n++){let r=l(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=h?t.length-1:0;t=t[e]}null!==t&&(s[e]=t)}for(let t in e)s[t]=e[t]}}}return s}(i,s,o,e),renderState:t()};return n&&(a.mount=e=>n(i,e,a)),a})(e,t,i,s);return n?o():(0,r2.h)(o)},r4=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),r3=()=>({...r4(),attrs:{}}),r6=(e,t)=>t&&"number"==typeof e?t.transform(e):e,r9={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},r8=h.length;function r7(e,t,n){let{style:r,vars:i,transformOrigin:s}=e,o=!1,a=!1;for(let e in t){let n=t[e];if(p.has(e)){o=!0;continue}if((0,$.f)(e)){i[e]=n;continue}{let t=r6(n,ew[e]);e.startsWith("origin")?(a=!0,s[e]=t):r[e]=t}}if(!t.transform&&(o||n?r.transform=function(e,t,n){let r="",i=!0;for(let s=0;s<r8;s++){let o=h[s],a=e[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||n){let e=r6(a,ew[o]);if(!l){i=!1;let t=r9[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:e="50%",originY:t="50%",originZ:n=0}=s;r.transformOrigin=`${e} ${t} ${n}`}}function ie(e,t,n){return"string"==typeof e?e:X.px.transform(t+n*e)}let it={offset:"stroke-dashoffset",array:"stroke-dasharray"},ir={offset:"strokeDashoffset",array:"strokeDasharray"};function ii(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(r7(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:p,dimensions:f}=e;h.transform&&(f&&(p.transform=h.transform),delete h.transform),f&&(void 0!==i||void 0!==s||p.transform)&&(p.transformOrigin=function(e,t,n){let r=ie(t,e.x,e.width),i=ie(n,e.y,e.height);return`${r} ${i}`}(f,void 0!==i?i:.5,void 0!==s?s:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==o&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let s=i?it:ir;e[s.offset]=X.px.transform(-r);let o=X.px.transform(t),a=X.px.transform(n);e[s.array]=`${o} ${a}`}(h,o,a,l,!1)}let is=e=>"string"==typeof e&&"svg"===e.toLowerCase(),io={useVisualState:r5({scrapeMotionValuesFromProps:r1,createRenderState:r3,onMount:(e,t,{renderState:n,latestValues:r})=>{T.Wi.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),T.Wi.render(()=>{ii(n,r,is(t.tagName),e.transformTemplate),rJ(t,n)})}})},ia={useVisualState:r5({scrapeMotionValuesFromProps:r0,createRenderState:r4})};function il(e,t,n){for(let r in t)th(t[r])||rQ(r,n)||(e[r]=t[r])}let iu=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ic(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||iu.has(e)}let id=e=>!ic(e);try{(S=require("@emotion/is-prop-valid").default)&&(id=e=>e.startsWith("on")?!ic(e):S(e))}catch(e){}let ih={current:null},ip={current:!1},im=new WeakMap,ig=[...er,ev.$,ed.P],iv=e=>ig.find(en(e)),iy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ib{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=ec,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=eV.X.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,T.Wi.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,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=rU(t),this.isVariantNode=rz(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==a[e]&&th(t)&&t.set(a[e],!1)}}mount(e){this.current=e,im.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.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),ip.current||function(){if(ip.current=!0,rZ.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ih.current=e.matches;e.addListener(t),t()}else ih.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ih.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in im.delete(this.current),this.projection&&this.projection.unmount(),(0,T.Pn)(this.notifyUpdate),(0,T.Pn)(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.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&T.Wi.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 r$){let t=r$[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];t.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):t5()}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<iy.length;t++){let n=iy[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(th(i))e.addValue(r,i);else if(th(s))e.addValue(r,(0,tu.BX)(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,(0,tu.BX)(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()}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=(0,tu.BX)(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))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(H(r)||z(r))?r=parseFloat(r):!iv(r)&&ed.P.test(t)&&(r=eO(e,t)),this.setBaseTarget(e,th(r)?r.get():r)),th(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=l(this.props,r,null===(t=this.presenceContext)||void 0===t?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||th(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 nV.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class ix extends ib{constructor(){super(...arguments),this.KeyframeResolver=eE}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]}}class iw extends ix{constructor(){super(...arguments),this.type="html",this.renderInstance=rG}readValueFromInstance(e,t){if(p.has(t)){let e=eP(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,$.f)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return no(e,t)}build(e,t,n){r7(e,t,n.transformTemplate)}
1scrapeMotionValuesFromProps(e,t,n){return r0(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;th(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class iS extends ix{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=t5}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(p.has(t)){let e=eP(t);return e&&e.default||0}return t=rK.has(t)?t:tc(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return r1(e,t,n)}build(e,t,n){ii(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){rJ(e,t,n,r)}mount(e){this.isSVGTag=is(e.tagName),super.mount(e)}}let iP=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}((P={animation:{Feature:tP},exit:{Feature:tC},inView:{Feature:rL},tap:{Feature:rM},focus:{Feature:rA},hover:{Feature:rE},pan:{Feature:np},drag:{Feature:nd,ProjectionNode:rO,MeasureLayout:nE},layout:{ProjectionNode:rO,MeasureLayout:nE}},O=(e,t)=>rq(e)?new iS(t):new iw(t,{allowProjection:e!==nm.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function(e){let{preloadedFeatures:t,createVisualElement:n,useRender:r,useVisualState:i,Component:s}=e;t&&function(e){for(let t in e)r$[t]={...r$[t],...e[t]}}(t);let a=(0,nm.forwardRef)(function(e,t){var a;let l;let u={...(0,nm.useContext)(rj._),...e,layoutId:function(e){let{layoutId:t}=e,n=(0,nm.useContext)(nv.p).id;return n&&void 0!==t?n+"-"+t:t}(e)},{isStatic:c}=u,d=function(e){let{initial:t,animate:n}=function(e,t){if(rU(e)){let{initial:t,animate:n}=e;return{initial:!1===t||o(t)?t:void 0,animate:o(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,nm.useContext)(r_));return(0,nm.useMemo)(()=>({initial:t,animate:n}),[rW(t),rW(n)])}(e),h=i(e,c);if(!c&&rZ.j){(0,nm.useContext)(rN).strict;let e=function(e){let{drag:t,layout:n}=r$;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(u);l=e.MeasureLayout,d.visualElement=function(e,t,n,r,i){var s,o;let{visualElement:a}=(0,nm.useContext)(r_),l=(0,nm.useContext)(rN),u=(0,nm.useContext)(ng.O),c=(0,nm.useContext)(rj._).reducedMotion,d=(0,nm.useRef)();r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let h=d.current,p=(0,nm.useContext)(ny);h&&!h.projection&&i&&("html"===h.type||"svg"===h.type)&&function(e,t,n,r){let{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&tz(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(d.current,n,i,p);let f=(0,nm.useRef)(!1);(0,nm.useInsertionEffect)(()=>{h&&f.current&&h.update(n,u)});let m=n[td],g=(0,nm.useRef)(!!m&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,m))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,m)));return(0,rB.L)(()=>{h&&(f.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),nP.render(h.render),g.current&&h.animationState&&h.animationState.animateChanges())}),(0,nm.useEffect)(()=>{h&&(!g.current&&h.animationState&&h.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,m)}),g.current=!1))}),h}(s,h,u,n,e.ProjectionNode)}return(0,nf.jsxs)(r_.Provider,{value:d,children:[l&&d.visualElement?(0,nf.jsx)(l,{visualElement:d.visualElement,...u}):null,r(s,e,(a=d.visualElement,(0,nm.useCallback)(e=>{e&&h.mount&&h.mount(e),a&&(e?a.mount(e):a.unmount()),t&&("function"==typeof t?t(e):tz(t)&&(t.current=e))},[a])),h,c,d.visualElement)]})});return a[rY]=s,a}({...rq(e)?io:ia,preloadedFeatures:P,useRender:function(e=!1){return(t,n,r,{latestValues:i},s)=>{let o=(rq(t)?function(e,t,n,r){let i=(0,nm.useMemo)(()=>{let n=r3();return ii(n,t,is(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};il(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return il(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,nm.useMemo)(()=>{let n=r4();return r7(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}
1`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(n,i,s,t),a=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(id(i)||!0===n&&ic(i)||!t&&!ic(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),l=t!==nm.Fragment?{...a,...o,ref:r}:{},{children:u}=n,c=(0,nm.useMemo)(()=>th(u)?u.get():u,[u]);return(0,nm.createElement)(t,{...l,children:c})}}(t),createVisualElement:O,Component:e})}))},19163:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});let r=(0,n(64043).X)(()=>void 0!==window.ScrollTimeline)},37249:function(e,t,n){"use strict";n.d(t,{f:function(){return i},t:function(){return o}});let r=e=>t=>"string"==typeof t&&t.startsWith(e),i=r("--"),s=r("var(--"),o=e=>!!s(e)&&a.test(e.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},24118:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});let r={skipAnimations:!1,useManualTiming:!1}},69013:function(e,t,n){"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{cl:function(){return i},y4:function(){return r}})},59111:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});let r=(e,t,n)=>n>t?t:n<e?e:n},13223:function(e,t,n){"use strict";n.d(t,{K:function(){return i},k:function(){return s}});var r=n(44439);let i=r.Z,s=r.Z},88843:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r=n(13223),i=n(59111),s=n(56920),o=n(76376),a=n(44439),l=n(12006);function u(e,t,{clamp:n=!0,ease:u,mixer:c}={}){let d=e.length;if((0,r.k)(d===t.length,"Both input and output ranges must be the same length"),1===d)return()=>t[0];if(2===d&&e[0]===e[1])return()=>t[1];e[0]>e[d-1]&&(e=[...e].reverse(),t=[...t].reverse());let h=function(e,t,n){let r=[],i=n||l.C,o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||a.Z:t;o=(0,s.z)(e,o)}r.push(o)}return r}(t,u,c),p=h.length,f=t=>{let n=0;if(p>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let r=(0,o.Y)(e[n],e[n+1],t);return h[n](r)};return n?t=>f((0,i.u)(e[0],e[d-1],t)):f}},44563:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});let r="undefined"!=typeof window},64043:function(e,t,n){"use strict";function r(e){let t;return()=>(void 0===t&&(t=e()),t)}n.d(t,{X:function(){return r}})},12006:function(e,t,n){"use strict";n.d(t,{C:function(){return C}});var r=n(96781),i=n(13223);function s(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}var o=n(49163),a=n(18859),l=n(92943);function u(e,t){return n=>n>0?t:e}let c=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},d=[o.$,a.m,l.J],h=e=>d.find(t=>t.test(e));function p(e){let t=h(e);if((0,i.K)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===l.J&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,l=2*n-r;i=s(l,r,e+1/3),o=s(l,r,e),a=s(l,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(n)),n}let f=(e,t)=>{let n=p(e),i=p(t);if(!n||!i)return u(e,t);let s={...n};return e=>(s.red=c(n.red,i.red,e),s.green=c(n.green,i.green,e),s.blue=c(n.blue,i.blue,e),s.alpha=(0,r.t)(n.alpha,i.alpha,e),a.m.transform(s))};var m=n(56920),g=n(33964),v=n(83206),y=n(37249);let b=new Set(["none","hidden"]);function x(e,t){return n=>(0,r.t)(e,t,n)}function w(e){return"number"==typeof e?x:"string"==typeof e?(0,y.t)(e)?u:g.$.test(e)?f:O:Array.isArray(e)?S:"object"==typeof e?g.$.test(e)?f:P:u}function S(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>w(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function P(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=w(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let O=(e,t)=>{let n=v.P.createTransformer(t),r=(0,v.V)(e),s=(0,v.V)(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?b.has(e)&&!s.values.length||b.has(t)&&!r.values.length?b.has(e)?n=>n<=0?e:t:n=>n>=1?t:e:(0,m.z)(S(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]],l=null!==(n=e.values[a])&&void 0!==n?n:0;r[s]=l,i[o]++}return r}(r,s),s.values),n):((0,i.K)(!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.`),u(e,t))};function C(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?(0,r.t)(e,t,n):w(e)(e,t)}},96781:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});let r=(e,t,n)=>e+(t-e)*n},44439:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=e=>e},8913:function(e,t,n){"use strict";n.d(t,{Y:function(){return s}});var r=n(96781),i=n(76376);function s(e){let t=[0];return!function(e,t){let n=e[e.length-1];for(let s=1;s<=t;s++){let o=(0,i.Y)(0,t,s);e.push((0,r.t)(n,1,o))}}(t,e.length-1),t}},56920:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});let r=(e,t)=>n=>t(e(n)),i=(...e)=>e.reduce(r)},76376:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});let r=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r}},34081:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(69013);class i{constructor(){this.subscriptions=[]}add(e){return(0,r.y4)(this.subscriptions,e),()=>(0,r.cl)(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}}},53576:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(2265);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},11534:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(2265);let i=n(44563).j?r.useLayoutEffect:r.useEffect},14438:function(e,t,n){"use strict";function r(e,t){return t?1e3/t*e:0}n.d(t,{R:function(){return r}})},3078:function(e,t,n){"use strict";n.d(t,{BX:function(){return c},S1:function(){return l}});var r=n(34081),i=n(14438),s=n(40504),o=n(45414);let a=e=>!isNaN(parseFloat(e)),l={current:void 0};class u{constructor(e,t={}){this.version="11.11.11",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=s.X.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=s.X.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=a(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 r.L);let n=this.events[e].add(t);return"change"===e?()=>{n(),o.Wi.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 l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}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 c(e,t){return new u(e,t)}},49163:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(18859);let i={test:(0,n(65516).i)("#"),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),alph
1a:i?parseInt(i,16)/255:1}},transform:r.m.transform}},92943:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(74305),i=n(27492),s=n(15472),o=n(65516);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+i.aQ.transform((0,s.N)(t))+", "+i.aQ.transform((0,s.N)(n))+", "+(0,s.N)(r.Fq.transform(o))+")"}},33964:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(49163),i=n(92943),s=n(18859);let o={test:e=>s.m.test(e)||r.$.test(e)||i.J.test(e),parse:e=>s.m.test(e)?s.m.parse(e):i.J.test(e)?i.J.parse(e):r.$.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?s.m.transform(e):i.J.transform(e)}},18859:function(e,t,n){"use strict";n.d(t,{m:function(){return u}});var r=n(59111),i=n(74305),s=n(15472),o=n(65516);let a=e=>(0,r.u)(0,255,e),l={...i.Rx,transform:e=>Math.round(a(e))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(n)+", "+(0,s.N)(i.Fq.transform(r))+")"}},65516:function(e,t,n){"use strict";n.d(t,{i:function(){return s},d:function(){return o}});var r=n(66941);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(e,t)=>n=>!!("string"==typeof n&&i.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),o=(e,t,n)=>i=>{if("string"!=typeof i)return i;let[s,o,a,l]=i.match(r.K);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},83206:function(e,t,n){"use strict";n.d(t,{V:function(){return c},P:function(){return f}});var r=n(33964);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=n(66941),o=n(15472);let a="number",l="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(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]},s=[],o=0,c=t.replace(u,e=>(r.$.test(e)?(i.color.push(o),s.push(l),n.push(r.$.parse(e))):e.startsWith("var(")?(i.var.push(o),s.push("var"),n.push(e)):(i.number.push(o),s.push(a),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:c,indexes:i,types:s}}function d(e){return c(e).values}function h(e){let{split:t,types:n}=c(e),i=t.length;return e=>{let s="";for(let u=0;u<i;u++)if(s+=t[u],void 0!==e[u]){let t=n[u];t===a?s+=(0,o.N)(e[u]):t===l?s+=r.$.transform(e[u]):s+=e[u]}return s}}let p=e=>"number"==typeof e?0:e,f={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(s.K))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(i))||void 0===n?void 0:n.length)||0)>0},parse:d,createTransformer:h,getAnimatableNone:function(e){let t=d(e);return h(e)(t.map(p))}}},74305:function(e,t,n){"use strict";n.d(t,{Fq:function(){return s},Rx:function(){return i},bA:function(){return o}});var r=n(59111);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},s={...i,transform:e=>(0,r.u)(0,1,e)},o={...i,default:1}},27492:function(e,t,n){"use strict";n.d(t,{$C:function(){return u},RW:function(){return i},aQ:function(){return s},px:function(){return o},vh:function(){return a},vw:function(){return l}});let r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=r("deg"),s=r("%"),o=r("px"),a=r("vh"),l=r("vw"),u={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)}},66941:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},15472:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});let r=e=>Math.round(1e5*e)/1e5},7066:function(e,t,n){"use strict";let r,i;n.d(t,{v:function(){return N}});var s=n(3078),o=n(53576),a=n(2265),l=n(13223);let u=new WeakMap;function c({target:e,contentRect:t,borderBoxSize:n}){var r;null===(r=u.get(e))||void 0===r||r.forEach(r=>{r({target:e,contentSize:t,get size(){return function(e,t){if(t){let{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,n)}})})}function d(e){e.forEach(c)}let h=new Set;var p=n(76376),f=n(14438);let m=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),g=()=>({time:0,x:m(),y:m()}),v={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function y(e,t,n,r){let i=n[t],{length:s,position:o}=v[t],a=i.current,l=n.time;i.current=e[`scroll${o}`],i.scrollLength=e[`scroll${s}`]-e[`client${s}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,p.Y)(0,i.scrollLength,i.current);let u=r-l;i.velocity=u>50?0:(0,f.R)(i.current-a,u)}let b=[[0,0],[1,1]],x={start:0,center:.5,end:1};function w(e,t,n=0){let r=0;if(e in x&&(e=x[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(r=t*e),n+r}let S=[0,0];var P=n(88843),O=n(8913);let C={x:0,y:0};var E=n(45414);let A=new WeakMap,V=new WeakMap,T=new WeakMap,M=e=>e===document.documentElement?window:e;function k(e,{container:t=document.documentElement,...n}={}){let s=T.get(t);s||(s=new Set,T.set(t,s));let o=function(e,t,n,r={}){return{measure:()=>(function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.c
1ontainerLength=e.clientHeight})(e,r.target,n),update:t=>{y(e,"x",n,t),y(e,"y",n,t),n.time=t,(r.offset||r.target)&&function(e,t,n){let{offset:r=b}=n,{target:i=e,axis:s="y"}=n,o="y"===s?"height":"width",a=i!==e?function(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){let e=r.getBoundingClientRect(),t=(r=r.parentElement).getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,s=r.parentNode;for(;!i;)"svg"===s.tagName&&(i=s),s=r.parentNode;r=i}else break;return n}(i,e):C,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let c=!t[s].interpolate,d=r.length;for(let e=0;e<d;e++){let n=function(e,t,n,r){let i=Array.isArray(e)?e:S,s=0;return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,x[e]?e:"0"]),w(i[0],n,r)-w(i[1],t)}(r[e],u[o],l[o],a[s]);c||n===t[s].interpolatorOffsets[e]||(c=!0),t[s].offset[e]=n}c&&(t[s].interpolate=(0,P.s)(t[s].offset,(0,O.Y)(r)),t[s].interpolatorOffsets=[...t[s].offset]),t[s].progress=t[s].interpolate(t[s].current)}(e,n,r)},notify:()=>t(n)}}(t,e,g(),n);if(s.add(o),!A.has(t)){let e=()=>{for(let e of s)e.measure()},n=()=>{for(let e of s)e.update(E.frameData.timestamp)},o=()=>{for(let e of s)e.notify()},a=()=>{E.Wi.read(e,!1,!0),E.Wi.read(n,!1,!0),E.Wi.update(o,!1,!0)};A.set(t,a);let l=M(t);window.addEventListener("resize",a,{passive:!0}),t!==document.documentElement&&V.set(t,"function"==typeof t?(h.add(t),i||(i=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};h.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{h.delete(t),!h.size&&i&&(i=void 0)}):function(e,t){var n;r||"undefined"==typeof ResizeObserver||(r=new ResizeObserver(d));let i=("string"==typeof(n=e)?n=document.querySelectorAll(n):n instanceof Element&&(n=[n]),Array.from(n||[]));return i.forEach(e=>{let n=u.get(e);n||(n=new Set,u.set(e,n)),n.add(t),null==r||r.observe(e)}),()=>{i.forEach(e=>{let n=u.get(e);null==n||n.delete(t),(null==n?void 0:n.size)||null==r||r.unobserve(e)})}}(t,a)),l.addEventListener("scroll",a,{passive:!0})}let a=A.get(t);return E.Wi.read(a,!1,!0),()=>{var e;(0,E.Pn)(a);let n=T.get(t);if(!n||(n.delete(o),n.size))return;let r=A.get(t);A.delete(t),r&&(M(t).removeEventListener("scroll",r),null===(e=V.get(t))||void 0===e||e(),window.removeEventListener("resize",r))}}function F(e,t){let n;let r=()=>{let{currentTime:r}=t,i=(null===r?0:r.value)/100;n!==i&&e(i),n=i};return E.Wi.update(r,!0),()=>(0,E.Pn)(r)}var D=n(19163);let R=new Map;function I({source:e,container:t=document.documentElement,axis:n="y"}={}){e&&(t=e),R.has(t)||R.set(t,{});let r=R.get(t);return r[n]||(r[n]=(0,D.t)()?new ScrollTimeline({source:t,axis:n}):function({source:e,container:t,axis:n="y"}){e&&(t=e);let r={value:0},i=k(e=>{r.value=100*e[n].progress},{container:t,axis:n});return{currentTime:r,cancel:i}}({source:t,axis:n})),r[n]}function L(e){return e&&(e.target||e.offset)}var j=n(11534);function _(e,t){(0,l.K)(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let B=()=>({scrollX:(0,s.BX)(0),scrollY:(0,s.BX)(0),scrollXProgress:(0,s.BX)(0),scrollYProgress:(0,s.BX)(0)});function N({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=(0,o.h)(B);return(n?j.L:a.useEffect)(()=>(_("target",t),_("container",e),function(e,{axis:t="y",...n}={}){let r={axis:t,...n};return"function"==typeof e?2===e.length||L(r)?k(t=>{e(t[r.axis].progress,t)},r):F(e,I(r)):function(e,t){if(L(t))return e.pause(),k(n=>{e.time=e.duration*n[t.axis].progress},t);{let n=I(t);return e.attachTimeline(n,e=>(e.pause(),F(t=>{e.time=e.duration*t},n)))}}(e,r)}((e,{x:t,y:n})=>{i.scrollX.set(t.current),i.scrollXProgress.set(t.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)},{...r,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),i}},24317:function(e,t,n){"use strict";n.d(t,{H:function(){return p}});var r=n(88843);let i=e=>e&&"object"==typeof e&&e.mix,s=e=>i(e)?e.mix:void 0;var o=n(2265),a=n(3078),l=n(45750),u=n(53576),c=n(11534),d=n(45414);function h(e,t){let n=function(e){let t=(0,u.h)(()=>(0,a.BX)(e)),{isStatic:n}=(0,o.useContext)(l._);if(n){let[,n]=(0,o.useState)(e);(0,o.useEffect)(()=>t.on("change",n),[])}return t}(t()),r=()=>n.set(t());return r(),(0,c.L)(()=>{let t=()=>d.Wi.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>
1{n.forEach(e=>e()),(0,d.Pn)(r)}}),n}function p(e,t,n,i){if("function"==typeof e)return function(e){a.S1.current=[],e();let t=h(a.S1.current,e);return a.S1.current=void 0,t}(e);let o="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,i=e[0+n],o=e[1+n],a=e[2+n],l=e[3+n],u=(0,r.s)(o,a,{mixer:s(a[0]),...l});return t?u(i):u}(t,n,i);return Array.isArray(e)?f(e,o):f([e],([e])=>o(e))}function f(e,t){let n=(0,u.h)(()=>[]);return h(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}},29501:function(e,t,n){"use strict";n.d(t,{Qr:function(){return I},cI:function(){return eS}});var r=n(2265),i=e=>"checkbox"===e.type,s=e=>e instanceof Date,o=e=>null==e;let a=e=>"object"==typeof e;var l=e=>!o(e)&&!Array.isArray(e)&&a(e)&&!s(e),u=e=>l(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,c=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d=(e,t)=>e.has(c(t)),h=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},p="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function f(e){let t;let n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(p&&(e instanceof Blob||e instanceof FileList))&&(n||l(e))))return e;else if(t=n?[]:{},n||h(e))for(let n in e)e.hasOwnProperty(n)&&(t[n]=f(e[n]));else t=e;return t}var m=e=>Array.isArray(e)?e.filter(Boolean):[],g=e=>void 0===e,v=(e,t,n)=>{if(!t||!l(e))return n;let r=m(t.split(/[,[\].]+?/)).reduce((e,t)=>o(e)?e:e[t],e);return g(r)||r===e?g(e[t])?n:e[t]:r},y=e=>"boolean"==typeof e,b=e=>/^\w*$/.test(e),x=e=>m(e.replace(/["|']|\]/g,"").split(/\.|\[/)),w=(e,t,n)=>{let r=-1,i=b(t)?[t]:x(t),s=i.length,o=s-1;for(;++r<s;){let t=i[r],s=n;if(r!==o){let n=e[t];s=l(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t)return;e[t]=s,e=e[t]}return e};let S={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},P={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},O={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},C=r.createContext(null),E=()=>r.useContext(C);var A=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let s in e)Object.defineProperty(i,s,{get:()=>(t._proxyFormState[s]!==P.all&&(t._proxyFormState[s]=!r||P.all),n&&(n[s]=!0),e[s])});return i},V=e=>l(e)&&!Object.keys(e).length,T=(e,t,n,r)=>{n(e);let{name:i,...s}=e;return V(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(e=>t[e]===(!r||P.all))},M=e=>Array.isArray(e)?e:[e],k=(e,t,n)=>!e||!t||e===t||M(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e)));function F(e){let t=r.useRef(e);t.current=e,r.useEffect(()=>{let n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}var D=e=>"string"==typeof e,R=(e,t,n,r,i)=>D(e)?(r&&t.watch.add(e),v(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),v(n,e))):(r&&(t.watchAll=!0),n);let I=e=>e.render(function(e){let t=E(),{name:n,disabled:i,control:s=t.control,shouldUnregister:o}=e,a=d(s._names.array,n),l=function(e){let t=E(),{control:n=t.control,name:i,defaultValue:s,disabled:o,exact:a}=e||{},l=r.useRef(i);l.current=i,F({disabled:o,subject:n._subjects.values,next:e=>{k(l.current,e.name,a)&&c(f(R(l.current,n._names,e.values||n._formValues,!1,s)))}});let[u,c]=r.useState(n._getWatch(i,s));return r.useEffect(()=>n._removeUnmounted()),u}({control:s,name:n,defaultValue:v(s._formValues,n,v(s._defaultValues,n,e.defaultValue)),exact:!0}),c=function(e){let t=E(),{control:n=t.control,disabled:i,name:s,exact:o}=e||{},[a,l]=r.useState(n._formState),u=r.useRef(!0),c=r.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),d=r.useRef(s);return d.current=s,F({disabled:i,next:e=>u.current&&k(d.current,e.name,o)&&T(e,c.current,n._updateFormState)&&l({...n._formState,...e}),subject:n._subjects.state}),r.useEffect(()=>(u.current=!0,c.current.isValid&&n._updateValid(!0),()=>{u.current=!1}),[n]),A(a,n,c.current,!1)}({control:s,name:n,exact:!0}),h=r.useRef(s.register(n,{...e.rules,value:l,...y(e.disabled)?{disabled:e.disabled}:{}}));return r.useEffect(()=>{let e=s._options.shouldUnregister||o,t=(e,t)=>{let n=v(s._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){let e=f(v(s._options.defaultValues,n));w(s._defaultValues,n,e),g(v(s._formValues,n))&&w(s._formValues,n,e)}return()=>{(a?e&&!s._state.action:e)?s.unregister(n):t(n,!1)}},[n,s,a,o]),r.useEffect(()=>
1{v(s._fields,n)&&s._updateDisabledField({disabled:i,fields:s._fields,name:n,value:v(s._fields,n)._f.value})},[i,n,s]),{field:{name:n,value:l,...y(i)||c.disabled?{disabled:c.disabled||i}:{},onChange:r.useCallback(e=>h.current.onChange({target:{value:u(e),name:n},type:S.CHANGE}),[n]),onBlur:r.useCallback(()=>h.current.onBlur({target:{value:v(s._formValues,n),name:n},type:S.BLUR}),[n,s]),ref:r.useCallback(e=>{let t=v(s._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[s._fields,n])},formState:c,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!v(c.errors,n)},isDirty:{enumerable:!0,get:()=>!!v(c.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!v(c.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!v(c.validatingFields,n)},error:{enumerable:!0,get:()=>v(c.errors,n)}})}}(e));var L=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},j=e=>({isOnSubmit:!e||e===P.onSubmit,isOnBlur:e===P.onBlur,isOnChange:e===P.onChange,isOnAll:e===P.all,isOnTouch:e===P.onTouched}),_=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let B=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=v(e,i);if(n){let{_f:e,...s}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r||e.ref&&t(e.ref,e.name)&&!r)return!0;if(B(s,t))break}else if(l(s)&&B(s,t))break}}};var N=(e,t,n)=>{let r=M(v(e,n));return w(r,"root",t[n]),w(e,n,r),e},U=e=>"file"===e.type,z=e=>"function"==typeof e,W=e=>{if(!p)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},H=e=>D(e),$=e=>"radio"===e.type,Z=e=>e instanceof RegExp;let Y={value:!1,isValid:!1},X={value:!0,isValid:!0};var q=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!g(e[0].attributes.value)?g(e[0].value)||""===e[0].value?X:{value:e[0].value,isValid:!0}:X:Y}return Y};let G={isValid:!1,value:null};var K=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,G):G;function J(e,t,n="validate"){if(H(e)||Array.isArray(e)&&e.every(H)||y(e)&&!e)return{type:n,message:H(e)?e:"",ref:t}}var Q=e=>l(e)&&!Z(e)?e:{value:e,message:""},ee=async(e,t,n,r,s)=>{let{ref:a,refs:u,required:c,maxLength:d,minLength:h,min:p,max:f,pattern:m,validate:b,name:x,valueAsNumber:w,mount:S,disabled:P}=e._f,C=v(t,x);if(!S||P)return{};let E=u?u[0]:a,A=e=>{r&&E.reportValidity&&(E.setCustomValidity(y(e)?"":e||""),E.reportValidity())},T={},M=$(a),k=i(a),F=(w||U(a))&&g(a.value)&&g(C)||W(a)&&""===a.value||""===C||Array.isArray(C)&&!C.length,R=L.bind(null,x,n,T),I=(e,t,n,r=O.maxLength,i=O.minLength)=>{let s=e?t:n;T[x]={type:e?r:i,message:s,ref:a,...R(e?r:i,s)}};if(s?!Array.isArray(C)||!C.length:c&&(!(M||k)&&(F||o(C))||y(C)&&!C||k&&!q(u).isValid||M&&!K(u).isValid)){let{value:e,message:t}=H(c)?{value:!!c,message:c}:Q(c);if(e&&(T[x]={type:O.required,message:t,ref:E,...R(O.required,t)},!n))return A(t),T}if(!F&&(!o(p)||!o(f))){let e,t;let r=Q(f),i=Q(p);if(o(C)||isNaN(C)){let n=a.valueAsDate||new Date(C),s=e=>new Date(new Date().toDateString()+" "+e),o="time"==a.type,l="week"==a.type;D(r.value)&&C&&(e=o?s(C)>s(r.value):l?C>r.value:n>new Date(r.value)),D(i.value)&&C&&(t=o?s(C)<s(i.value):l?C<i.value:n<new Date(i.value))}else{let n=a.valueAsNumber||(C?+C:C);o(r.value)||(e=n>r.value),o(i.value)||(t=n<i.value)}if((e||t)&&(I(!!e,r.message,i.message,O.max,O.min),!n))return A(T[x].message),T}if((d||h)&&!F&&(D(C)||s&&Array.isArray(C))){let e=Q(d),t=Q(h),r=!o(e.value)&&C.length>+e.value,i=!o(t.value)&&C.length<+t.value;if((r||i)&&(I(r,e.message,t.message),!n))return A(T[x].message),T}if(m&&!F&&D(C)){let{value:e,message:t}=Q(m);if(Z(e)&&!C.match(e)&&(T[x]={type:O.pattern,message:t,ref:a,...R(O.pattern,t)},!n))return A(t),T}if(b){if(z(b)){let e=J(await b(C,t),E);if(e&&(T[x]={...e,...R(O.validate,e.message)},!n))return A(e.message),T}else if(l(b)){let e={};for(let r in b){if(!V(e)&&!n)break;let i=J(await b[r](C,t),E,r);i&&(e={...i,...R(r,i.message)},A(i.message),n&&(T[x]=e))}if(!V(e)&&(T[x]={ref:E,...e},!n))return T}}return A(!0),T};function et(e,t){let n=Array.isArray(t)?t:b(t)?[t]:x(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=g(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,s=n[i];return r&&delete r[s],0!==i&&(l(r)&&V(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!g(e[t]))return!1;return!0}(r))&&et(e,n.slice(0,-1)),e}var en=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},er=e=>o(e)||!a(e);function ei(e,t){if(er(e)||er(t))return e===t;if(s(e)&&s(t))return e.getTime()===t.getTime();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n){let n=e[i];if(!r.includes(i))return!1;if("ref"!==i){let e=t[i];if(s(n)&&s(e)||l(n)&&l(e)||Array.isArray(n)&&Array.isArray(e)?!ei(n,e):n!==e)return!1}}return!0}var es=e=>"select-multiple"===e.type,eo=e=>$(e)||i(e),ea=e=>W(e)&&e.isConnected,el=e=>{for(let t in e)if(z(e[t]))return!0;return!1};function eu(e,t={}){let n=Array.isArray(e);
1if(l(e)||n)for(let n in e)Array.isArray(e[n])||l(e[n])&&!el(e[n])?(t[n]=Array.isArray(e[n])?[]:{},eu(e[n],t[n])):o(e[n])||(t[n]=!0);return t}var ec=(e,t)=>(function e(t,n,r){let i=Array.isArray(t);if(l(t)||i)for(let i in t)Array.isArray(t[i])||l(t[i])&&!el(t[i])?g(n)||er(r[i])?r[i]=Array.isArray(t[i])?eu(t[i],[]):{...eu(t[i])}:e(t[i],o(n)?{}:n[i],r[i]):r[i]=!ei(t[i],n[i]);return r})(e,t,eu(t)),ed=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>g(e)?e:t?""===e?NaN:e?+e:e:n&&D(e)?new Date(e):r?r(e):e;function eh(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:U(t)?t.files:$(t)?K(e.refs).value:es(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?q(e.refs).value:ed(g(t.value)?e.ref.value:t.value,e)}var ep=(e,t,n,r)=>{let i={};for(let n of e){let e=v(t,n);e&&w(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},ef=e=>g(e)?e:Z(e)?e.source:l(e)?Z(e.value)?e.value.source:e.value:e;let em="AsyncFunction";var eg=e=>(!e||!e.validate)&&!!(z(e.validate)&&e.validate.constructor.name===em||l(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===em)),ev=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ey(e,t,n){let r=v(e,n);if(r||b(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),s=v(t,r),o=v(e,r);if(s&&!Array.isArray(s)&&n!==r)break;if(o&&o.type)return{name:r,error:o};i.pop()}return{name:n}}var eb=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?!r.isOnChange:!i.isOnChange)||e),ex=(e,t)=>!m(v(e,t)).length&&et(e,t);let ew={mode:P.onSubmit,reValidateMode:P.onChange,shouldFocusError:!0};function eS(e={}){let t=r.useRef(),n=r.useRef(),[a,c]=r.useState({isDirty:!1,isValidating:!1,isLoading:z(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:z(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={}){let t,n={...ew,...e},r={submitCount:0,isDirty:!1,isLoading:z(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},a={},c=(l(n.defaultValues)||l(n.values))&&f(n.defaultValues||n.values)||{},h=n.shouldUnregister?{}:f(c),b={action:!1,mount:!1,watch:!1},x={mount:new Set,unMount:new Set,array:new Set,watch:new Set},O=0,C={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},E={values:en(),array:en(),state:en()},A=j(n.mode),T=j(n.reValidateMode),k=n.criteriaMode===P.all,F=e=>t=>{clearTimeout(O),O=setTimeout(e,t)},I=async e=>{if(!n.disabled&&(C.isValid||e)){let e=n.resolver?V((await X()).errors):await G(a,!0);e!==r.isValid&&E.state.next({isValid:e})}},L=(e,t)=>{!n.disabled&&(C.isValidating||C.validatingFields)&&((e||Array.from(x.mount)).forEach(e=>{e&&(t?w(r.validatingFields,e,t):et(r.validatingFields,e))}),E.state.next({validatingFields:r.validatingFields,isValidating:!V(r.validatingFields)}))},H=(e,t)=>{w(r.errors,e,t),E.state.next({errors:r.errors})},$=(e,t,n,r)=>{let i=v(a,e);if(i){let s=v(h,e,g(n)?v(c,e):n);g(s)||r&&r.defaultChecked||t?w(h,e,t?s:eh(i._f)):Q(e,s),b.mount&&I()}},Z=(e,t,i,s,o)=>{let l=!1,u=!1,d={name:e};if(!n.disabled){let n=!!(v(a,e)&&v(a,e)._f&&v(a,e)._f.disabled);if(!i||s){C.isDirty&&(u=r.isDirty,r.isDirty=d.isDirty=K(),l=u!==d.isDirty);let i=n||ei(v(c,e),t);u=!!(!n&&v(r.dirtyFields,e)),i||n?et(r.dirtyFields,e):w(r.dirtyFields,e,!0),d.dirtyFields=r.dirtyFields,l=l||C.dirtyFields&&!i!==u}if(i){let t=v(r.touchedFields,e);t||(w(r.touchedFields,e,i),d.touchedFields=r.touchedFields,l=l||C.touchedFields&&t!==i)}l&&o&&E.state.next(d)}return l?d:{}},Y=(n,i,s,o)=>{let a=v(r.errors,n),l=C.isValid&&y(i)&&r.isValid!==i;if(e.delayError&&s?(t=F(()=>H(n,s)))(e.delayError):(clearTimeout(O),t=null,s?w(r.errors,n,s):et(r.errors,n)),(s?!ei(a,s):a)||!V(o)||l){let e={...o,...l&&y(i)?{isValid:i}:{},errors:r.errors,name:n};r={...r,...e},E.state.next(e)}},X=async e=>{L(e,!0);let t=await n.resolver(h,n.context,ep(e||x.mount,a,n.criteriaMode,n.shouldUseNativeValidation));return L(e),t},q=async e=>{let{errors:t}=await X(e);if(e)for(let n of e){let e=v(t,n);e?w(r.errors,n,e):et(r.errors,n)}else r.errors=t;return t},G=async(e,t,i={valid:!0})=>{for(let s in e){let o=e[s];if(o){let{_f:e,...a}=o;if(e){let a=x.array.has(e.name),l=o._f&&eg(o._f);l&&C.validatingFields&&L([s],!0);let u=await ee(o,h,k,n.shouldUseNativeValidation&&!t,a);if(l&&C.validatingFields&&L([s]),u[e.name]&&(i.valid=!1,t))break;t||(v(u,e.name)?a?N(r.errors,u,e.name):w(r.errors,e.name,u[e.name]):et(r.errors,e.name))}V(a)||await G(a,t,i)}}return i.valid},K=(e,t)=>
1!n.disabled&&(e&&t&&w(h,e,t),!ei(eP(),c)),J=(e,t,n)=>R(e,x,{...b.mount?h:g(t)?c:D(e)?{[e]:t}:t},n,t),Q=(e,t,n={})=>{let r=v(a,e),s=t;if(r){let n=r._f;n&&(n.disabled||w(h,e,ed(t,n)),s=W(n.ref)&&o(t)?"":t,es(n.ref)?[...n.ref.options].forEach(e=>e.selected=s.includes(e.value)):n.refs?i(n.ref)?n.refs.length>1?n.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(s)?!!s.find(t=>t===e.value):s===e.value)):n.refs[0]&&(n.refs[0].checked=!!s):n.refs.forEach(e=>e.checked=e.value===s):U(n.ref)?n.ref.value="":(n.ref.value=s,n.ref.type||E.values.next({name:e,values:{...h}})))}(n.shouldDirty||n.shouldTouch)&&Z(e,s,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&eS(e)},er=(e,t,n)=>{for(let r in t){let i=t[r],o=`${e}.${r}`,u=v(a,o);(x.array.has(e)||l(i)||u&&!u._f)&&!s(i)?er(o,i,n):Q(o,i,n)}},el=(e,t,n={})=>{let i=v(a,e),s=x.array.has(e),l=f(t);w(h,e,l),s?(E.array.next({name:e,values:{...h}}),(C.isDirty||C.dirtyFields)&&n.shouldDirty&&E.state.next({name:e,dirtyFields:ec(c,h),isDirty:K(e,l)})):!i||i._f||o(l)?Q(e,l,n):er(e,l,n),_(e,x)&&E.state.next({...r}),E.values.next({name:b.mount?e:void 0,values:{...h}})},eu=async i=>{b.mount=!0;let o=i.target,l=o.name,c=!0,d=v(a,l),p=e=>{c=Number.isNaN(e)||s(e)&&isNaN(e.getTime())||ei(e,v(h,l,e))};if(d){let s,f;let m=o.type?eh(d._f):u(i),g=i.type===S.BLUR||i.type===S.FOCUS_OUT,y=!ev(d._f)&&!n.resolver&&!v(r.errors,l)&&!d._f.deps||eb(g,v(r.touchedFields,l),r.isSubmitted,T,A),b=_(l,x,g);w(h,l,m),g?(d._f.onBlur&&d._f.onBlur(i),t&&t(0)):d._f.onChange&&d._f.onChange(i);let P=Z(l,m,g,!1),O=!V(P)||b;if(g||E.values.next({name:l,type:i.type,values:{...h}}),y)return C.isValid&&("onBlur"===e.mode?g&&I():I()),O&&E.state.next({name:l,...b?{}:P});if(!g&&b&&E.state.next({...r}),n.resolver){let{errors:e}=await X([l]);if(p(m),c){let t=ey(r.errors,a,l),n=ey(e,a,t.name||l);s=n.error,l=n.name,f=V(e)}}else L([l],!0),s=(await ee(d,h,k,n.shouldUseNativeValidation))[l],L([l]),p(m),c&&(s?f=!1:C.isValid&&(f=await G(a,!0)));c&&(d._f.deps&&eS(d._f.deps),Y(l,f,s,P))}},em=(e,t)=>{if(v(r.errors,t)&&e.focus)return e.focus(),1},eS=async(e,t={})=>{let i,s;let o=M(e);if(n.resolver){let t=await q(g(e)?e:o);i=V(t),s=e?!o.some(e=>v(t,e)):i}else e?((s=(await Promise.all(o.map(async e=>{let t=v(a,e);return await G(t&&t._f?{[e]:t}:t)}))).every(Boolean))||r.isValid)&&I():s=i=await G(a);return E.state.next({...!D(e)||C.isValid&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!s&&B(a,em,e?o:x.mount),s},eP=e=>{let t={...b.mount?h:c};return g(e)?t:D(e)?v(t,e):e.map(e=>v(t,e))},eO=(e,t)=>({invalid:!!v((t||r).errors,e),isDirty:!!v((t||r).dirtyFields,e),error:v((t||r).errors,e),isValidating:!!v(r.validatingFields,e),isTouched:!!v((t||r).touchedFields,e)}),eC=(e,t,n)=>{let i=(v(a,e,{_f:{}})._f||{}).ref,{ref:s,message:o,type:l,...u}=v(r.errors,e)||{};w(r.errors,e,{...u,...t,ref:i}),E.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},eE=(e,t={})=>{for(let i of e?M(e):x.mount)x.mount.delete(i),x.array.delete(i),t.keepValue||(et(a,i),et(h,i)),t.keepError||et(r.errors,i),t.keepDirty||et(r.dirtyFields,i),t.keepTouched||et(r.touchedFields,i),t.keepIsValidating||et(r.validatingFields,i),n.shouldUnregister||t.keepDefaultValue||et(c,i);E.values.next({values:{...h}}),E.state.next({...r,...t.keepDirty?{isDirty:K()}:{}}),t.keepIsValid||I()},eA=({disabled:e,name:t,field:n,fields:r,value:i})=>{if(y(e)&&b.mount||e){let s=e?void 0:g(i)?eh(n?n._f:v(r,t)._f):i;w(h,t,s),Z(t,s,!1,!1,!0)}},eV=(e,t={})=>{let r=v(a,e),i=y(t.disabled)||y(n.disabled);return w(a,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),x.mount.add(e),r?eA({field:r,disabled:y(t.disabled)?t.disabled:n.disabled,name:e,value:t.value}):$(e,!0,t.value),{...i?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:ef(t.min),max:ef(t.max),minLength:ef(t.minLength),maxLength:ef(t.maxLength),pattern:ef(t.pattern)}:{},name:e,onChange:eu,onBlur:eu,ref:i=>{if(i){eV(e,t),r=v(a,e);let n=g(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,s=eo(n),o=r._f.refs||[];(s?o.find(e=>e===n):n===r._f.ref)||(w(a,e,{_f:{...r._f,...s?{refs:[...o.filter(ea),n,...Array.isArray(v(c,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),$(e,!1,void 0,n))}else(r=v(a,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(d(x.array,e)&&b.action)&&x.unMount.add(e)}}},eT=()=>n.shouldFocusError&&B(a,em,x.mount),eM=(e,t)=>async i=>{let s;if(i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist()),n.disabled){t&&await t({...r.errors},i);return}let o=f(h);if(E.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await X();r.errors=e,o=t}else await G(a);if(et(r.errors,"root"),V(r.errors)){E.state.next({errors:{}});try{await e(o,i)}catch(e){s=e}}else t&&await t({...r.errors},i),eT(),setTimeout(eT);if(E.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:V(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},ek=(t,n={})=>{let i=t?f(t):c,s=f(i),o=V(t),l=o?c:s;if(n.keepDefaultValues||(c=i),!n.keepValues){if(n.keepDirtyValues)for(let e of Array.from(new Set([...x.mount,...Object.keys(ec(c,h))])))v(r.dirtyFields,e)?w(l,e,v(h,e)):el(e,v(l,e));else{if(p&&g(t))for(let e of x.mount){let t=v(a,e);
1if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(W(e)){let t=e.closest("form");if(t){t.reset();break}}}}a={}}h=e.shouldUnregister?n.keepDefaultValues?f(c):{}:f(l),E.array.next({values:{...l}}),E.values.next({values:{...l}})}x={mount:n.keepDirtyValues?x.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},b.mount=!C.isValid||!!n.keepIsValid||!!n.keepDirtyValues,b.watch=!!e.shouldUnregister,E.state.next({submitCount:n.keepSubmitCount?r.submitCount:0,isDirty:!o&&(n.keepDirty?r.isDirty:!!(n.keepDefaultValues&&!ei(t,c))),isSubmitted:!!n.keepIsSubmitted&&r.isSubmitted,dirtyFields:o?{}:n.keepDirtyValues?n.keepDefaultValues&&h?ec(c,h):r.dirtyFields:n.keepDefaultValues&&t?ec(c,t):n.keepDirty?r.dirtyFields:{},touchedFields:n.keepTouched?r.touchedFields:{},errors:n.keepErrors?r.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1})},eF=(e,t)=>ek(z(e)?e(h):e,t);return{control:{register:eV,unregister:eE,getFieldState:eO,handleSubmit:eM,setError:eC,_executeSchema:X,_getWatch:J,_getDirty:K,_updateValid:I,_removeUnmounted:()=>{for(let e of x.unMount){let t=v(a,e);t&&(t._f.refs?t._f.refs.every(e=>!ea(e)):!ea(t._f.ref))&&eE(e)}x.unMount=new Set},_updateFieldArray:(e,t=[],i,s,o=!0,l=!0)=>{if(s&&i&&!n.disabled){if(b.action=!0,l&&Array.isArray(v(a,e))){let t=i(v(a,e),s.argA,s.argB);o&&w(a,e,t)}if(l&&Array.isArray(v(r.errors,e))){let t=i(v(r.errors,e),s.argA,s.argB);o&&w(r.errors,e,t),ex(r.errors,e)}if(C.touchedFields&&l&&Array.isArray(v(r.touchedFields,e))){let t=i(v(r.touchedFields,e),s.argA,s.argB);o&&w(r.touchedFields,e,t)}C.dirtyFields&&(r.dirtyFields=ec(c,h)),E.state.next({name:e,isDirty:K(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else w(h,e,t)},_updateDisabledField:eA,_getFieldArray:t=>m(v(b.mount?h:c,t,e.shouldUnregister?v(c,t,[]):[])),_reset:ek,_resetDefaultValues:()=>z(n.defaultValues)&&n.defaultValues().then(e=>{eF(e,n.resetOptions),E.state.next({isLoading:!1})}),_updateFormState:e=>{r={...r,...e}},_disableForm:e=>{y(e)&&(E.state.next({disabled:e}),B(a,(t,n)=>{let r=v(a,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:E,_proxyFormState:C,_setErrors:e=>{r.errors=e,E.state.next({errors:r.errors,isValid:!1})},get _fields(){return a},get _formValues(){return h},get _state(){return b},set _state(value){b=value},get _defaultValues(){return c},get _names(){return x},set _names(value){x=value},get _formState(){return r},set _formState(value){r=value},get _options(){return n},set _options(value){n={...n,...value}}},trigger:eS,register:eV,handleSubmit:eM,watch:(e,t)=>z(e)?E.values.subscribe({next:n=>e(J(void 0,t),n)}):J(e,t,!0),setValue:el,getValues:eP,reset:eF,resetField:(e,t={})=>{v(a,e)&&(g(t.defaultValue)?el(e,f(v(c,e))):(el(e,t.defaultValue),w(c,e,f(t.defaultValue))),t.keepTouched||et(r.touchedFields,e),t.keepDirty||(et(r.dirtyFields,e),r.isDirty=t.defaultValue?K(e,f(v(c,e))):K()),!t.keepError&&(et(r.errors,e),C.isValid&&I()),E.state.next({...r}))},clearErrors:e=>{e&&M(e).forEach(e=>et(r.errors,e)),E.state.next({errors:e?r.errors:{}})},unregister:eE,setError:eC,setFocus:(e,t={})=>{let n=v(a,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&z(e.select)&&e.select())}},getFieldState:eO}}(e),formState:a});let h=t.current.control;return h._options=e,F({subject:h._subjects.state,next:e=>{T(e,h._proxyFormState,h._updateFormState,!0)&&c({...h._formState})}}),r.useEffect(()=>h._disableForm(e.disabled),[h,e.disabled]),r.useEffect(()=>{if(h._proxyFormState.isDirty){let e=h._getDirty();e!==a.isDirty&&h._subjects.state.next({isDirty:e})}},[h,a.isDirty]),r.useEffect(()=>{e.values&&!ei(e.values,n.current)?(h._reset(e.values,h._options.resetOptions),n.current=e.values,c(e=>({...e}))):h._resetDefaultValues()},[e.values,h]),r.useEffect(()=>{e.errors&&h._setErrors(e.errors)},[e.errors,h]),r.useEffect(()=>{h._state.mount||(h._updateValid(),h._state.mount=!0),h._state.watch&&(h._state.watch=!1,h._subjects.state.next({...h._formState})),h._removeUnmounted()}),r.useEffect(()=>{e.shouldUnregister&&h._subjects.values.next({values:h._getWatch()})},[e.shouldUnregister,h]),t.current.formState=A(a,h),t.current}},61499:function(e,t,n){"use strict";n.d(t,{x:function(){return u}});var r=n(2265);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var s={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},o=new(function(){function e(){}var t=e.prototype;return t.load=function(e,t,n){if(e.el="string"==typeof n?document.querySelector(n):n,e.options=i({},s,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.o
vendor: 4,578 bytes, line 1
1ptions.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(e){return e.trim()}),e.stringsElement="string"==typeof e.options.stringsElement?document.querySelector(e.options.stringsElement):e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var r=Array.prototype.slice.apply(e.stringsElement.children),o=r.length;if(o)for(var a=0;a<o;a+=1)e.strings.push(r[a].innerHTML.trim())}for(var l in e.strPos=0,e.currentElContent=this.getCurrentElContent(e),e.currentElContent&&e.currentElContent.length>0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[l]=l;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},t.getCurrentElContent=function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent},t.appendCursorAnimationCss=function(e){var t="data-typed-js-cursor-css";if(e.showCursor&&!document.querySelector("["+t+"]")){var n=document.createElement("style");n.setAttribute(t,"true"),n.innerHTML="\n        .typed-cursor{\n          opacity: 1;\n        }\n        .typed-cursor.typed-cursor--blink{\n          animation: typedjsBlink 0.7s infinite;\n          -webkit-animation: typedjsBlink 0.7s infinite;\n                  animation: typedjsBlink 0.7s infinite;\n        }\n        @keyframes typedjsBlink{\n          50% { opacity: 0.0; }\n        }\n        @-webkit-keyframes typedjsBlink{\n          0% { opacity: 1; }\n          50% { opacity: 0.0; }\n          100% { opacity: 1; }\n        }\n      ",document.body.appendChild(n)}},t.appendFadeOutAnimationCss=function(e){var t="data-typed-fadeout-js-css";if(e.fadeOut&&!document.querySelector("["+t+"]")){var n=document.createElement("style");n.setAttribute(t,"true"),n.innerHTML="\n        .typed-fade-out{\n          opacity: 0;\n          transition: opacity .25s;\n        }\n        .typed-cursor.typed-cursor--blink.typed-fade-out{\n          -webkit-animation: 0;\n          animation: 0;\n        }\n      ",document.body.appendChild(n)}},e}()),a=new(function(){function e(){}var t=e.prototype;return t.typeHtmlChars=function(e,t,n){if("html"!==n.contentType)return t;var r,i=e.substring(t).charAt(0);if("<"===i||"&"===i){for(r="<"===i?">":";";e.substring(t+1).charAt(0)!==r&&!(1+ ++t>e.length););t++}return t},t.backSpaceHtmlChars=function(e,t,n){if("html"!==n.contentType)return t;var r,i=e.substring(t).charAt(0);if(">"===i||";"===i){for(r=">"===i?"<":"&";e.substring(t-1).charAt(0)!==r&&!(--t<0););t--}return t},e}()),l=function(){function e(e,t){o.load(this,t,e),this.begin()}var t=e.prototype;return t.toggle=function(){this.pause.status?this.start():this.stop()},t.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},t.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},t.destroy=function(){this.reset(!1),this.options.onDestroy(this)},t.reset=function(e){void 0===e&&(e=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())},t.begin=function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===e.strPos?e.typewrite(e.strings[e.sequence[e.arrayPos
1]],e.strPos):e.backspace(e.strings[e.sequence[e.arrayPos]],e.strPos)},this.startDelay)},t.typewrite=function(e,t){var n=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var r=this.humanizer(this.typeSpeed),i=1;!0!==this.pause.status?this.timeout=setTimeout(function(){t=a.typeHtmlChars(e,t,n);var r,s=0,o=e.substring(t);if("^"===o.charAt(0)&&/^\^\d+/.test(o)&&(r=1+(o=/\d+/.exec(o)[0]).length,s=parseInt(o),n.temporaryPause=!0,n.options.onTypingPaused(n.arrayPos,n),e=e.substring(0,t)+e.substring(t+r),n.toggleBlinking(!0)),"`"===o.charAt(0)){for(;"`"!==e.substring(t+i).charAt(0)&&(i++,!(t+i>e.length)););var l=e.substring(0,t),u=e.substring(l.length+1,t+i);e=l+u+e.substring(t+i+1),i--}n.timeout=setTimeout(function(){n.toggleBlinking(!1),t>=e.length?n.doneTyping(e,t):n.keepTyping(e,t,i),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))},s)},r):this.setPauseStatus(e,t,!0)},t.keepTyping=function(e,t,n){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var r=e.substring(0,t+=n);this.replaceText(r),this.typewrite(e,t)},t.doneTyping=function(e,t){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){n.backspace(e,t)},this.backDelay))},t.backspace=function(e,t){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var r=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){t=a.backSpaceHtmlChars(e,t,n);var r=e.substring(0,t);if(n.replaceText(r),n.smartBackspace){var i=n.strings[n.arrayPos+1];n.stopNum=i&&r===i.substring(0,t)?t:0}t>n.stopNum?(t--,n.backspace(e,t)):t<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.options.onLastStringBackspaced(),n.shuffleStringsIfNeeded(),n.begin()):n.typewrite(n.strings[n.sequence[n.arrayPos]],t))},r)}else this.setPauseStatus(e,t,!1)},t.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},t.setPauseStatus=function(e,t,n){this.pause.typewrite=n,this.pause.curString=e,this.pause.curStrPos=t},t.toggleBlinking=function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},t.humanizer=function(e){return Math.round(Math.random()*e/2)+e},t.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},t.initFadeOut=function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)},t.replaceText=function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e},t.bindFocusEvents=function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))},t.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},e}();let u=(0,r.memo)(({style:e,className:t,typedRef:n,parseRef:i,stopped:s,children:o,startWhenVisible:a,...u})=>{let c=(0,r.useRef)(null),d=(0,r.useMemo)(()=>[...Object.values(u).filter(e=>"boolean"==typeof e||"number"==typeof e||"string"==typeof e),u.strings?.join(",")],[u]);(0,r.useEffect)(()=>{let e=i&&i(c)||c.current,t=new l(e,{...u});if((s||a)&&t?.stop(),a){let n=new IntersectionObserver(([e])=>{e.isIntersecting&&(t?.start(),n.disconnect())});n.observe(e)}return n&&t&&n(t),()=>{t.destroy()}},d);let h=o?r.cloneElement(o,{ref:c}):r.createElement("span",{style:e,ref:c});return r.createElement("span",{style:e,className:t,"data-testid":"react-typed"},h)})}}]);

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.