1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[689],{294:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case s:case a:case o:case f:return e;default:switch(e=e&&e.$$typeof){case u:case h:case v:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=s,t.Lazy=v,t.Memo=m,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||w(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===h},t.isFragment=function(e){return w(e)===s},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===a},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===d||e===a||e===o||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},330:(e,t,n)=>{"use strict";e.exports=n(294)},692:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(2115),i={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function s(e){var t=function(e){if("number"==typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||"").toString();return i[r]?{value:t,unit:r}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}(e);return"".concat(t.value).concat(t.unit)}var o=function(){return(o=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)},a=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},l=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var i=document.createElement("style");document.head.appendChild(i);var s=i.sheet,o="\n @keyframes ".concat(r," {\n ").concat(t,"\n }\n ");return s&&s.insertRule(o,0),r}("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");
1let u=function(e){var t=e.loading,n=e.color,i=void 0===n?"#000000":n,u=e.speedMultiplier,c=e.cssOverride,d=e.size,h=void 0===d?35:d,f=a(e,["loading","color","speedMultiplier","cssOverride","size"]),p=o({background:"transparent !important",width:s(h),height:s(h),borderRadius:"100%",border:"2px solid",borderTopColor:i,borderBottomColor:"transparent",borderLeftColor:i,borderRightColor:i,display:"inline-block",animation:"".concat(l," ").concat(.75/(void 0===u?1:u),"s 0s infinite linear"),animationFillMode:"both"},void 0===c?{}:c);return void 0===t||t?r.createElement("span",o({style:p},f)):null}},817:(e,t,n)=>{"use strict";t.Hg=t.N_=void 0;var r=f(n(6428)),i=f(n(7452)),s=f(n(1532)),o=f(n(1880)),a=f(n(5595)),l=f(n(8080)),u=f(n(7497)),c=f(n(7694)),d=f(n(3766)),h=f(n(1311));function f(e){return e&&e.__esModule?e:{default:e}}t.N_=r.default,i.default,t.Hg=s.default,o.default,a.default,l.default,u.default,c.default,d.default,h.default,r.default,i.default,s.default,o.default,a.default,l.default,u.default,c.default,d.default,h.default},901:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(8229)._(n(2115)).default.createContext(null)},1193:(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+(r.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},1311:(e,t,n)=>{"use strict";var r=Object.assign||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},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function s(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(2115);n(7650),n(3563);var u=n(8080),c=n(1880),d=n(8637),h=n(1566),f={to:d.string.isRequired,containerId:d.string,container:d.object,activeClass:d.string,spy:d.bool,smooth:d.oneOfType([d.bool,d.string]),offset:d.number,delay:d.number,isDynamic:d.bool,onClick:d.func,duration:d.oneOfType([d.number,d.func]),absolute:d.bool,onSetActive:d.func,onSetInactive:d.func,ignoreCancelEvents:d.bool,hashSpy:d.bool,spyThrottle:d.number};e.exports={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||c,d=function(t){function c(e){s(this,c);var t=o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return p.call(t),t.state={active:!1},t}return a(c,t),i(c,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();u.isMounted(e)||u.mount(e,this.props.spyThrottle),this.props.hashSpy&&(h.isMounted()||h.mount(n),h.mapContainer(this.props.to,e)),this.props.spy&&u.addStateHandler(this.stateHandler),u.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){u.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var i in f)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,l.createElement(e,n)}}]),c}(l.Component),p=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!h.isMounted()||h.isInitialized()){var i=e.props.to,s=null,o=0,a=0,l=0;if(r.getBoundingClientRect&&(l=r.getBoundingClientRect().top),!s||e.props.isDynamic){if(!(s=n.get(i)))return;var c=s.getBoundingClientRect();a=(o=c.top-l+t)+c.height}var d=t-e.props.offset,f=d>=Math.floor(o)&&d<Math.floor(a),p=d<Math.floor(o)||d>=Math.floor(a),m=n.getActiveLink();return p?(i===m&&n.setActiveLink(void 0),e.props.hashSpy&&h.getHash()===i&&h.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),u.updateStates()):f&&m!==i?(n.setActiveLink(i),e.props.hashSpy&&h.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i)),u.updateStates()):void 0}}};return d.propTypes=f,d.defaultProps={offset:0},d},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){s(this,n);var t=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}
1return a(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;c.unregister(this.props.name)}},{key:"registerElems",value:function(e){c.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return l.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(l.Component);return t.propTypes={name:d.string,id:d.string},t}}},1348:e=>{function t(e,t){var n=e.length,r=Array(n),i={},s=n,o=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach(function(e){if(!a.has(e[0])||!a.has(e[1]))throw Error("Unknown node. There is an unknown node in the supplied edges.")});s--;)i[s]||function e(t,s,l){if(l.has(t)){var u;try{u=", node was:"+JSON.stringify(t)}catch(e){u=""}throw Error("Cyclic dependency"+u)}if(!a.has(t))throw Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!i[s]){i[s]=!0;var c=o.get(t)||new Set;if(s=(c=Array.from(c)).length){l.add(t);do{var d=c[--s];e(d,a.get(d),l)}while(s);l.delete(t)}r[--n]=t}}(e[s],s,new Set);return r}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},1469:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return a}});let r=n(8229),i=n(8883),s=n(3063),o=r._(n(1193));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},1478:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPassiveEventListener=function(e,t,r){var i=r.name;i||(i=t,console.warn("Listener must be a named function.")),n.has(t)||n.set(t,new Set);var s=n.get(t);if(!s.has(i)){var o=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}();e.addEventListener(t,r,!!o&&{passive:!0}),s.add(i)}},t.removePassiveEventListener=function(e,t,r){e.removeEventListener(t,r),n.get(t).delete(r.name||t)};var n=new Map},1507:e=>{let t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['â](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['â](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=e=>e.match(t)||[],r=e=>e[0].toUpperCase()+e.slice(1),i=(e,t)=>n(e).join(t).toLowerCase(),s=e=>n(e).reduce((e,t)=>
1`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`,"");e.exports={words:n,upperFirst:r,camelCase:s,pascalCase:e=>r(s(e)),snakeCase:e=>i(e,"_"),kebabCase:e=>i(e,"-"),sentenceCase:e=>r(i(e," ")),titleCase:e=>n(e).map(r).join(" ")}},1532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||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},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=l(n(2115)),o=l(n(3766)),a=l(n(8637));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=r({},this.props);return delete t.name,t.parentBindings&&delete t.parentBindings,s.default.createElement("div",r({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(s.default.Component);u.propTypes={name:a.default.string,id:a.default.string},t.default=(0,o.default)(u)},1566:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1478);var r=function(e){return e&&e.__esModule?e:{default:e}}(n(3563));t.default={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout(function(){e.scrollTo(t,!0),e.initialized=!0},10):this.initialized=!0},scrollTo:function(e,t){var n=this.scroller;if(n.get(e)&&(t||e!==n.getActiveLink())){var r=this.containers[e]||document;n.scrollTo(e,{container:r})}},getHash:function(){return r.default.getHash()},changeHash:function(e,t){this.isInitialized()&&r.default.getHash()!==e&&r.default.updateHash(e,t)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}}},1607:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l});let r={_origin:"https://api.emailjs.com"},i=(e,t,n)=>{if(!e)throw"The user ID is required. Visit https://dashboard.emailjs.com/admin/integration";if(!t)throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!n)throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates";return!0};class s{constructor(e){this.status=e.status,this.text=e.responseText}}let o=(e,t,n={})=>new Promise((i,o)=>{let a=new XMLHttpRequest;a.addEventListener("load",({target:e})=>{let t=new s(e);200===t.status||"OK"===t.text?i(t):o(t)}),a.addEventListener("error",({target:e})=>{o(new s(e))}),a.open("POST",r._origin+e,!0),Object.keys(n).forEach(e=>{a.setRequestHeader(e,n[e])}),a.send(t)}),a=e=>{let t;if(!(t="string"==typeof e?document.querySelector(e):e)||"FORM"!==t.nodeName)throw"The 3rd parameter is expected to be the HTML form element or the style selector of form";return t},l={init:(e,t="https://api.emailjs.com")=>{r._userID=e,r._origin=t},send:(e,t,n,s)=>{let a=s||r._userID;return i(a,e,t),o("/api/v1.0/email/send",JSON.stringify({lib_version:"3.2.0",user_id:a,service_id:e,template_id:t,template_params:n}),{"Content-type":"application/json"})},sendForm:(e,t,n,s)=>{let l=s||r._userID,u=a(n);i(l,e,t);let c=new FormData(u);return c.append("lib_version","3.2.0"),c.append("service_id",e),c.append("template_id",t),c.append("user_id",l),o("/api/v1.0/email/send-form",c)}}},1880:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||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},i=a(n(3563)),s=a(n(7497)),o=a(n(5595));function a(e){return e&&e.__esModule?e:{default:e}}var l={},u=void 0;t.default={unmount:function(){l={}},register:function(e,t){l[e]=t},unregister:function(e){delete l[e]},get:function(e){return l[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return u=e},getActiveLink:function(){return u},scrollTo:function(e,t){var n=this.get(e);if(!n){console.warn("target Element not found");return}var a=(t=r({},t,{absolute:!1})).containerId,l=t.container,u=void 0;u=a?document.getElementById(a):l&&l.nodeType?l:document,t.absolute=!0;var c=t.horizontal,d=i.default.scrollOffset(u,n,c)+(t.offset||0);if(!t.smooth){o.default.registered.begin&&o.default.registered.begin(e,n),u===document?t.horizontal?window.scrollTo(d,0):window.scrollTo(0,d):u.scrollTop=d,o.default.registered.end&&o.default.registered.end(e,n);return}s.default.animateTopScroll(d,t,e,n)}}},2177:(e,t,n)=>{"use strict";n.d(t,{Gb:()=>A,Jt:()=>g,hZ:()=>w,mN:()=>eb});var r=n(2115),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")},f="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let n=Array.isArray(e),r="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(f&&(e instanceof Blob||r))&&(n||l(e))))return e;else if(t=n?[]:{},n||h(e))for(let n in e)e.hasOwnProperty(n)&&(t[n]=p(e[n]));else t=e;return t}var m=e=>Array.isArray(e)?e.filter(Boolean):[],v=e=>void 0===e,g=(e,t,n)=>{if(!t||!l(e))return n;let r=m(t.split(/[,[\].]+?/)).reduce((e,t)=>o(e)?e:e[t],e);return v(r)||r===e?v(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||"constructor"===t||"prototype"===t)return;e[t]=s,e=e[t]}};let S={BLUR:"blur",FOCUS_OUT:"focusout"},O={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},T={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},E=r.createContext(null);var P=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let s in e)Object.defineProperty(i,s,{get:()=>(t._proxyFormState[s]!==O.all&&(t._proxyFormState[s]=!r||O.all),n&&(n[s]=!0),e[s])});return i},C=e=>"string"==typeof e,k=(e,t,n,r,i)=>C(e)?(r&&t.watch.add(e),g(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),g(n,e))):(r&&(t.watchAll=!0),n),A=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},M=e=>Array.isArray(e)?e:[e],V=()=>{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=[]}}},_=e=>o(e)||!a(e);function F(e,t){if(_(e)||_(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)?!F(n,e):n!==e)return!1}}return!0}var D=e=>l(e)&&!Object.keys(e).length,j=e=>"file"===e.type,R=e=>"function"==typeof e,I=e=>{if(!f)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},L=e=>"select-multiple"===e.type,$=e=>
1"radio"===e.type,B=e=>$(e)||i(e),N=e=>I(e)&&e.isConnected;function U(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=v(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)&&D(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!v(e[t]))return!1;return!0}(r))&&U(e,n.slice(0,-1)),e}var H=e=>{for(let t in e)if(R(e[t]))return!0;return!1};function z(e,t={}){let n=Array.isArray(e);if(l(e)||n)for(let n in e)Array.isArray(e[n])||l(e[n])&&!H(e[n])?(t[n]=Array.isArray(e[n])?[]:{},z(e[n],t[n])):o(e[n])||(t[n]=!0);return t}var W=(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])&&!H(t[i])?v(n)||_(r[i])?r[i]=Array.isArray(t[i])?z(t[i],[]):{...z(t[i])}:e(t[i],o(n)?{}:n[i],r[i]):r[i]=!F(t[i],n[i]);return r})(e,t,z(t));let q={value:!1,isValid:!1},Y={value:!0,isValid:!0};var X=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&&!v(e[0].attributes.value)?v(e[0].value)||""===e[0].value?Y:{value:e[0].value,isValid:!0}:Y:q}return q},G=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>v(e)?e:t?""===e?NaN:e?+e:e:n&&C(e)?new Date(e):r?r(e):e;let Z={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,Z):Z;function J(e){let t=e.ref;return j(t)?t.files:$(t)?K(e.refs).value:L(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?X(e.refs).value:G(v(t.value)?e.ref.value:t.value,e)}var Q=(e,t,n,r)=>{let i={};for(let n of e){let e=g(t,n);e&&w(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},ee=e=>e instanceof RegExp,et=e=>v(e)?e:ee(e)?e.source:l(e)?ee(e.value)?e.value.source:e.value:e,en=e=>({isOnSubmit:!e||e===O.onSubmit,isOnBlur:e===O.onBlur,isOnChange:e===O.onChange,isOnAll:e===O.all,isOnTouch:e===O.onTouched});let er="AsyncFunction";var ei=e=>!!e&&!!e.validate&&!!(R(e.validate)&&e.validate.constructor.name===er||l(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===er)),es=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),eo=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let ea=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=g(e,i);if(n){let{_f:e,...s}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(ea(s,t))break}else if(l(s)&&ea(s,t))break}}};function el(e,t,n){let r=g(e,n);if(r||b(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),s=g(t,r),o=g(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 eu=(e,t,n,r)=>{n(e);let{name:i,...s}=e;return D(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(e=>t[e]===(!r||O.all))},ec=(e,t,n)=>!e||!t||e===t||M(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),ed=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?!r.isOnChange:!i.isOnChange)||e),eh=(e,t)=>!m(g(e,t)).length&&U(e,t),ef=(e,t,n)=>{let r=M(g(e,n));return w(r,"root",t[n]),w(e,n,r),e},ep=e=>C(e);function em(e,t,n="validate"){if(ep(e)||Array.isArray(e)&&e.every(ep)||y(e)&&!e)return{type:n,message:ep(e)?e:"",ref:t}}var ev=e=>l(e)&&!ee(e)?e:{value:e,message:""},eg=async(e,t,n,r,s,a)=>{let{ref:u,refs:c,required:d,maxLength:h,minLength:f,min:p,max:m,pattern:b,validate:x,name:w,valueAsNumber:S,mount:O}=e._f,E=g(n,w);if(!O||t.has(w))return{};let P=c?c[0]:u,k=e=>{s&&P.reportValidity&&(P.setCustomValidity(y(e)?"":e||""),P.reportValidity())},M={},V=$(u),_=i(u),F=(S||j(u))&&v(u.value)&&v(E)||I(u)&&""===u.value||""===E||Array.isArray(E)&&!E.length,L=A.bind(null,w,r,M),B=(e,t,n,r=T.maxLength,i=T.minLength)=>{let s=e?t:n;M[w]={type:e?r:i,message:s,ref:u,...L(e?r:i,s)}};if(a?!Array.isArray(E)||!E.length:d&&(!(V||_)&&(F||o(E))||y(E)&&!E||_&&!X(c).isValid||V&&!K(c).isValid)){let{value:e,message:t}=ep(d)?{value:!!d,message:d}:ev(d);if(e&&(M[w]={type:T.required,message:t,ref:P,...L(T.required,t)},!r))return k(t),M}if(!F&&(!o(p)||!o(m))){let e,t;let n=ev(m),i=ev(p);if(o(E)||isNaN(E)){let r=u.valueAsDate||new Date(E),s=e=>new Date(new Date().toDateString()+" "+e),o="time"==u.type,a="week"==u.type;C(n.value)&&E&&(e=o?s(E)>s(n.value):a?E>n.value:r>new Date(n.value)),C(i.value)&&E&&(t=o?s(E)<s(i.value):a?E<i.value:r<new Date(i.value))}else{let r=u.valueAsNumber||(E?+E:E);o(n.value)||(e=r>n.value),o(i.value)||(t=r<i.value)}if((e||t)&&(B(!!e,n.message,i.message,T.max,T.min),!r))return k(M[w].message),M}if((h||f)&&!F&&(C(E)||a&&Array.isArray(E))){let e=ev(h),t=ev(f),n=!o(e.value)&&E.length>+e.value,i=!o(t.value)&&E.length<+t.value;if((n||i)&&(B(n,e.message,t.message),!r))return k(M[w].message),M}if(b&&!F&&C(E)){let{value:e,message:t}=ev(b);if(ee(e)&&!E.match(e)&&(M[w]={type:T.pattern,message:t,ref:u,...L(T.pattern,t)},!r))return k(t),M}if(x){if(R(x)){let e=em(await x(E,n),P);
1if(e&&(M[w]={...e,...L(T.validate,e.message)},!r))return k(e.message),M}else if(l(x)){let e={};for(let t in x){if(!D(e)&&!r)break;let i=em(await x[t](E,n),P,t);i&&(e={...i,...L(t,i.message)},k(i.message),r&&(M[w]=e))}if(!D(e)&&(M[w]={ref:P,...e},!r))return M}}return k(!0),M};let ey={mode:O.onSubmit,reValidateMode:O.onChange,shouldFocusError:!0};function eb(e={}){let t=r.useRef(void 0),n=r.useRef(void 0),[a,c]=r.useState({isDirty:!1,isValidating:!1,isLoading:R(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:R(e.defaultValues)?void 0:e.defaultValues});!t.current&&(t.current={...e.formControl?e.formControl:function(e={}){let t,n={...ey,...e},r={submitCount:0,isDirty:!1,isLoading:R(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))&&p(n.values||n.defaultValues)||{},h=n.shouldUnregister?{}:p(c),b={action:!1,mount:!1,watch:!1},x={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},T=0,E={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},P={...E},A={array:V(),state:V()},_=en(n.mode),$=en(n.reValidateMode),H=n.criteriaMode===O.all,z=e=>t=>{clearTimeout(T),T=setTimeout(e,t)},q=async e=>{if(!n.disabled&&(E.isValid||P.isValid||e)){let e=n.resolver?D((await er()).errors):await em(a,!0);e!==r.isValid&&A.state.next({isValid:e})}},Y=(e,t)=>{!n.disabled&&(E.isValidating||E.validatingFields||P.isValidating||P.validatingFields)&&((e||Array.from(x.mount)).forEach(e=>{e&&(t?w(r.validatingFields,e,t):U(r.validatingFields,e))}),A.state.next({validatingFields:r.validatingFields,isValidating:!D(r.validatingFields)}))},X=(e,t)=>{w(r.errors,e,t),A.state.next({errors:r.errors})},Z=(e,t,n,r)=>{let i=g(a,e);if(i){let s=g(h,e,v(n)?g(c,e):n);v(s)||r&&r.defaultChecked||t?w(h,e,t?s:J(i._f)):ex(e,s),b.mount&&q()}},K=(e,t,i,s,o)=>{let a=!1,l=!1,u={name:e};if(!n.disabled){if(!i||s){(E.isDirty||P.isDirty)&&(l=r.isDirty,r.isDirty=u.isDirty=ev(),a=l!==u.isDirty);let n=F(g(c,e),t);l=!!g(r.dirtyFields,e),n?U(r.dirtyFields,e):w(r.dirtyFields,e,!0),u.dirtyFields=r.dirtyFields,a=a||(E.dirtyFields||P.dirtyFields)&&!n!==l}if(i){let t=g(r.touchedFields,e);t||(w(r.touchedFields,e,i),u.touchedFields=r.touchedFields,a=a||(E.touchedFields||P.touchedFields)&&t!==i)}a&&o&&A.state.next(u)}return a?u:{}},ee=(e,i,s,o)=>{let a=g(r.errors,e),l=(E.isValid||P.isValid)&&y(i)&&r.isValid!==i;if(n.delayError&&s?(t=z(()=>X(e,s)))(n.delayError):(clearTimeout(T),t=null,s?w(r.errors,e,s):U(r.errors,e)),(s?!F(a,s):a)||!D(o)||l){let t={...o,...l&&y(i)?{isValid:i}:{},errors:r.errors,name:e};r={...r,...t},A.state.next(t)}},er=async e=>{Y(e,!0);let t=await n.resolver(h,n.context,Q(e||x.mount,a,n.criteriaMode,n.shouldUseNativeValidation));return Y(e),t},ep=async e=>{let{errors:t}=await er(e);if(e)for(let n of e){let e=g(t,n);e?w(r.errors,n,e):U(r.errors,n)}else r.errors=t;return t},em=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&&ei(o._f);l&&E.validatingFields&&Y([s],!0);let u=await eg(o,x.disabled,h,H,n.shouldUseNativeValidation&&!t,a);if(l&&E.validatingFields&&Y([s]),u[e.name]&&(i.valid=!1,t))break;t||(g(u,e.name)?a?ef(r.errors,u,e.name):w(r.errors,e.name,u[e.name]):U(r.errors,e.name))}D(a)||await em(a,t,i)}}return i.valid},ev=(e,t)=>!n.disabled&&(e&&t&&w(h,e,t),!F(eP(),c)),eb=(e,t,n)=>k(e,x,{...b.mount?h:v(t)?c:C(e)?{[e]:t}:t},n,t),ex=(e,t,n={})=>{let r=g(a,e),s=t;if(r){let n=r._f;n&&(n.disabled||w(h,e,G(t,n)),s=I(n.ref)&&o(t)?"":t,L(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):j(n.ref)?n.ref.value="":(n.ref.value=s,n.ref.type||A.state.next({name:e,values:p(h)})))}(n.shouldDirty||n.shouldTouch)&&K(e,s,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&eE(e)},ew=(e,t,n)=>{for(let r in t){let i=t[r],o=`${e}.${r}`,u=g(a,o);(x.array.has(e)||l(i)||u&&!u._f)&&!s(i)?ew(o,i,n):ex(o,i,n)}},eS=(e,t,n={})=>
1{let i=g(a,e),s=x.array.has(e),l=p(t);w(h,e,l),s?(A.array.next({name:e,values:p(h)}),(E.isDirty||E.dirtyFields||P.isDirty||P.dirtyFields)&&n.shouldDirty&&A.state.next({name:e,dirtyFields:W(c,h),isDirty:ev(e,l)})):!i||i._f||o(l)?ex(e,l,n):ew(e,l,n),eo(e,x)&&A.state.next({...r}),A.state.next({name:b.mount?e:void 0,values:p(h)})},eO=async e=>{b.mount=!0;let i=e.target,o=i.name,l=!0,c=g(a,o),d=e=>{l=Number.isNaN(e)||s(e)&&isNaN(e.getTime())||F(e,g(h,o,e))};if(c){let s,f;let m=i.type?J(c._f):u(e),v=e.type===S.BLUR||e.type===S.FOCUS_OUT,y=!es(c._f)&&!n.resolver&&!g(r.errors,o)&&!c._f.deps||ed(v,g(r.touchedFields,o),r.isSubmitted,$,_),b=eo(o,x,v);w(h,o,m),v?(c._f.onBlur&&c._f.onBlur(e),t&&t(0)):c._f.onChange&&c._f.onChange(e);let O=K(o,m,v),T=!D(O)||b;if(v||A.state.next({name:o,type:e.type,values:p(h)}),y)return(E.isValid||P.isValid)&&("onBlur"===n.mode?v&&q():v||q()),T&&A.state.next({name:o,...b?{}:O});if(!v&&b&&A.state.next({...r}),n.resolver){let{errors:e}=await er([o]);if(d(m),l){let t=el(r.errors,a,o),n=el(e,a,t.name||o);s=n.error,o=n.name,f=D(e)}}else Y([o],!0),s=(await eg(c,x.disabled,h,H,n.shouldUseNativeValidation))[o],Y([o]),d(m),l&&(s?f=!1:(E.isValid||P.isValid)&&(f=await em(a,!0)));l&&(c._f.deps&&eE(c._f.deps),ee(o,f,s,O))}},eT=(e,t)=>{if(g(r.errors,t)&&e.focus)return e.focus(),1},eE=async(e,t={})=>{let i,s;let o=M(e);if(n.resolver){let t=await ep(v(e)?e:o);i=D(t),s=e?!o.some(e=>g(t,e)):i}else e?((s=(await Promise.all(o.map(async e=>{let t=g(a,e);return await em(t&&t._f?{[e]:t}:t)}))).every(Boolean))||r.isValid)&&q():s=i=await em(a);return A.state.next({...!C(e)||(E.isValid||P.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!s&&ea(a,eT,e?o:x.mount),s},eP=e=>{let t={...b.mount?h:c};return v(e)?t:C(e)?g(t,e):e.map(e=>g(t,e))},eC=(e,t)=>({invalid:!!g((t||r).errors,e),isDirty:!!g((t||r).dirtyFields,e),error:g((t||r).errors,e),isValidating:!!g(r.validatingFields,e),isTouched:!!g((t||r).touchedFields,e)}),ek=(e,t,n)=>{let i=(g(a,e,{_f:{}})._f||{}).ref,{ref:s,message:o,type:l,...u}=g(r.errors,e)||{};w(r.errors,e,{...u,...t,ref:i}),A.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},eA=e=>A.state.subscribe({next:t=>{ec(e.name,t.name,e.exact)&&eu(t,e.formState||E,eI,e.reRenderRoot)&&e.callback({values:{...h},...r,...t})}}).unsubscribe,eM=(e,t={})=>{for(let i of e?M(e):x.mount)x.mount.delete(i),x.array.delete(i),t.keepValue||(U(a,i),U(h,i)),t.keepError||U(r.errors,i),t.keepDirty||U(r.dirtyFields,i),t.keepTouched||U(r.touchedFields,i),t.keepIsValidating||U(r.validatingFields,i),n.shouldUnregister||t.keepDefaultValue||U(c,i);A.state.next({values:p(h)}),A.state.next({...r,...t.keepDirty?{isDirty:ev()}:{}}),t.keepIsValid||q()},eV=({disabled:e,name:t})=>{(y(e)&&b.mount||e||x.disabled.has(t))&&(e?x.disabled.add(t):x.disabled.delete(t))},e_=(e,t={})=>{let r=g(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?eV({disabled:y(t.disabled)?t.disabled:n.disabled,name:e}):Z(e,!0,t.value),{...i?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:et(t.min),max:et(t.max),minLength:et(t.minLength),maxLength:et(t.maxLength),pattern:et(t.pattern)}:{},name:e,onChange:eO,onBlur:eO,ref:i=>{if(i){e_(e,t),r=g(a,e);let n=v(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,s=B(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(N),n,...Array.isArray(g(c,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),Z(e,!1,void 0,n))}else(r=g(a,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(d(x.array,e)&&b.action)&&x.unMount.add(e)}}},eF=()=>n.shouldFocusError&&ea(a,eT,x.mount),eD=(e,t)=>async i=>{let s;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=p(h);if(A.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await er();r.errors=e,o=t}else await em(a);if(x.disabled.size)for(let e of x.disabled)w(o,e,void 0);if(U(r.errors,"root"),D(r.errors)){A.state.next({errors:{}});try{await e(o,i)}catch(e){s=e}}else t&&await t({...r.errors},i),eF(),setTimeout(eF);if(A.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:D(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},ej=(e,t={})=>{let i=e?p(e):c,s=p(i),o=D(e),l=o?c:s;if(t.keepDefaultValues||(c=i),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...x.mount,...Object.keys(W(c,h))])))g(r.dirtyFields,e)?w(l,e,g(h,e)):eS(e,g(l,e));else{if(f&&v(e))for(let e of x.mount){let t=g(a,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(I(e)){let t=e.closest("form");if(t){t.reset();break}}}}for(let e of x.mount)eS(e,g(l,e))}h=p(l),A.array.next({values:{...l}}),A.state.next({values:{...l}})}
1x={mount:t.keepDirtyValues?x.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},b.mount=!E.isValid||!!t.keepIsValid||!!t.keepDirtyValues,b.watch=!!n.shouldUnregister,A.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!o&&(t.keepDirty?r.isDirty:!!(t.keepDefaultValues&&!F(e,c))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:o?{}:t.keepDirtyValues?t.keepDefaultValues&&h?W(c,h):r.dirtyFields:t.keepDefaultValues&&e?W(c,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1})},eR=(e,t)=>ej(R(e)?e(h):e,t),eI=e=>{r={...r,...e}},eL={control:{register:e_,unregister:eM,getFieldState:eC,handleSubmit:eD,setError:ek,_subscribe:eA,_runSchema:er,_getWatch:eb,_getDirty:ev,_setValid:q,_setFieldArray:(e,t=[],i,s,o=!0,l=!0)=>{if(s&&i&&!n.disabled){if(b.action=!0,l&&Array.isArray(g(a,e))){let t=i(g(a,e),s.argA,s.argB);o&&w(a,e,t)}if(l&&Array.isArray(g(r.errors,e))){let t=i(g(r.errors,e),s.argA,s.argB);o&&w(r.errors,e,t),eh(r.errors,e)}if((E.touchedFields||P.touchedFields)&&l&&Array.isArray(g(r.touchedFields,e))){let t=i(g(r.touchedFields,e),s.argA,s.argB);o&&w(r.touchedFields,e,t)}(E.dirtyFields||P.dirtyFields)&&(r.dirtyFields=W(c,h)),A.state.next({name:e,isDirty:ev(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else w(h,e,t)},_setDisabledField:eV,_setErrors:e=>{r.errors=e,A.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>m(g(b.mount?h:c,e,n.shouldUnregister?g(c,e,[]):[])),_reset:ej,_resetDefaultValues:()=>R(n.defaultValues)&&n.defaultValues().then(e=>{eR(e,n.resetOptions),A.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of x.unMount){let t=g(a,e);t&&(t._f.refs?t._f.refs.every(e=>!N(e)):!N(t._f.ref))&&eM(e)}x.unMount=new Set},_disableForm:e=>{y(e)&&(A.state.next({disabled:e}),ea(a,(t,n)=>{let r=g(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:A,_proxyFormState:E,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},get _options(){return n},set _options(value){n={...n,...value}}},subscribe:e=>(b.mount=!0,P={...P,...e.formState},eA({...e,formState:P})),trigger:eE,register:e_,handleSubmit:eD,watch:(e,t)=>R(e)?A.state.subscribe({next:n=>e(eb(void 0,t),n)}):eb(e,t,!0),setValue:eS,getValues:eP,reset:eR,resetField:(e,t={})=>{g(a,e)&&(v(t.defaultValue)?eS(e,p(g(c,e))):(eS(e,t.defaultValue),w(c,e,p(t.defaultValue))),t.keepTouched||U(r.touchedFields,e),t.keepDirty||(U(r.dirtyFields,e),r.isDirty=t.defaultValue?ev(e,p(g(c,e))):ev()),!t.keepError&&(U(r.errors,e),E.isValid&&q()),A.state.next({...r}))},clearErrors:e=>{e&&M(e).forEach(e=>U(r.errors,e)),A.state.next({errors:e?r.errors:{}})},unregister:eM,setError:ek,setFocus:(e,t={})=>{let n=g(a,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&R(e.select)&&e.select())}},getFieldState:eC};return{...eL,formControl:eL}}(e),formState:a},e.formControl&&e.defaultValues&&!R(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions));let h=t.current.control;return h._options=e,r.useLayoutEffect(()=>h._subscribe({formState:h._proxyFormState,callback:()=>c({...h._formState}),reRenderRoot:!0}),[h]),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&&!F(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&&!D(e.errors)&&h._setErrors(e.errors)},[e.errors,h]),r.useEffect(()=>{h._state.mount||(h._setValid(),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.state.next({values:h._getWatch()})},[e.shouldUnregister,h]),t.current.formState=P(a,h),t.current}}
1,2243:(e,t,n)=>{"use strict";var r=n(330),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,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=f(n);i&&i!==p&&e(t,i,r)}var o=c(n);d&&(o=o.concat(d(n)));for(var a=l(t),m=l(n),v=0;v<o.length;++v){var g=o[v];if(!s[g]&&!(r&&r[g])&&!(m&&m[g])&&!(a&&a[g])){var y=h(n,g);try{u(t,g,y)}catch(e){}}}}return t}},2461:(e,t,n)=>{"use strict";n.d(t,{t:()=>u});var r=n(2177);let i=(e,t,n)=>{if(e&&"reportValidity"in e){let i=(0,r.Jt)(n,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},s=(e,t)=>{for(let n in t.fields){let r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?i(r.ref,n,e):r&&r.refs&&r.refs.forEach(t=>i(t,n,e))}},o=(e,t)=>{t.shouldUseNativeValidation&&s(e,t);let n={};for(let i in e){let s=(0,r.Jt)(t.fields,i),o=Object.assign(e[i]||{},{ref:s&&s.ref});if(a(t.names||Object.keys(e),i)){let e=Object.assign({},(0,r.Jt)(n,i));(0,r.hZ)(e,"root",o),(0,r.hZ)(n,i,e)}else(0,r.hZ)(n,i,o)}return n},a=(e,t)=>{let n=l(t);return e.some(e=>l(e).match(`^${n}\\.\\d+`))};function l(e){return e.replace(/\]|\[/g,"")}function u(e,t,n){return void 0===n&&(n={}),function(i,a,l){try{return Promise.resolve(function(r,o){try{var u=(null!=t&&t.context,Promise.resolve(e["sync"===n.mode?"validateSync":"validate"](i,Object.assign({abortEarly:!1},t,{context:a}))).then(function(e){return l.shouldUseNativeValidation&&s({},l),{values:n.raw?Object.assign({},i):e,errors:{}}}))}catch(e){return o(e)}return u&&u.then?u.then(void 0,o):u}(0,function(e){var t;if(!e.inner)throw e;return{values:{},errors:o((t=!l.shouldUseNativeValidation&&"all"===l.criteriaMode,(e.inner||[]).reduce(function(e,n){if(e[n.path]||(e[n.path]={message:n.message,type:n.type}),t){var i=e[n.path].types,s=i&&i[n.type];e[n.path]=(0,r.Gb)(n.path,t,e,n.type,s?[].concat(s,n.message):n.message)}return e},{})),l)}}))}catch(e){return Promise.reject(e)}}}},2464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(8229)._(n(2115)).default.createContext({})},2948:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return x}});let r=n(8229),i=n(6966),s=n(5155),o=i._(n(2115)),a=r._(n(7650)),l=r._(n(5564)),u=n(8883),c=n(5840),d=n(6752);n(3230);let h=n(901),f=r._(n(1193)),p=n(6654),m={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 v(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}}let y=(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:f,loading:m,unoptimized:y,fill:b,onLoadRef:x,onLoadingCompleteRef:w,setBlurComplete:S,setShowAltText:O,sizesInput:T,onLoad:E,onError:P,...C}=e,k=(0,o.useCallback)(e=>{e&&(P&&(e.src=e.src),e.complete&&v(e,f,x,w,S,y,T))},[n,f,x,w,S,P,y,T]),A=(0,p.useMergedRef)(t,k);return(0,s.jsx)("img",{...C,...g(h),loading:m,width:l,height:a,decoding:u,"data-nimg":b?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:A,onLoad:e=>{v(e.currentTarget,f,x,w,S,y,T)},onError:e=>{O(!0),"empty"!==f&&S(!0),P&&P(e)}})});function b(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 x=(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=m||r||c.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
1e-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,p=(0,o.useRef)(a);(0,o.useEffect)(()=>{p.current=a},[a]);let v=(0,o.useRef)(l);(0,o.useEffect)(()=>{v.current=l},[l]);let[g,x]=(0,o.useState)(!1),[w,S]=(0,o.useState)(!1),{props:O,meta:T}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:g,showAltText:w});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{...O,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:p,onLoadingCompleteRef:v,setBlurComplete:x,setShowAltText:S,sizesInput:e.sizes,ref:t}),T.priority?(0,s.jsx)(b,{isAppRouter:!n,imgAttributes:O}):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)},3283:(e,t,n)=>{var r="Expected a function",i=0/0,s=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,h=c||d||Function("return this")(),f=Object.prototype.toString,p=Math.max,m=Math.min,v=function(){return h.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==f.call(t))return i;if(g(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=g(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var r=a.test(e);return r||l.test(e)?u(e.slice(2),r?2:8):o.test(e)?i:+e}e.exports=function(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw TypeError(r);return g(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),function(e,t,n){var i,s,o,a,l,u,c=0,d=!1,h=!1,f=!0;if("function"!=typeof e)throw TypeError(r);function b(t){var n=i,r=s;return i=s=void 0,c=t,a=e.apply(r,n)}function x(e){var n=e-u,r=e-c;return void 0===u||n>=t||n<0||h&&r>=o}function w(){var e,n,r,i=v();if(x(i))return S(i);l=setTimeout(w,(e=i-u,n=i-c,r=t-e,h?m(r,o-n):r))}function S(e){return(l=void 0,f&&i)?b(e):(i=s=void 0,a)}function O(){var e,n=v(),r=x(n);if(i=arguments,s=this,u=n,r){if(void 0===l)return c=e=u,l=setTimeout(w,t),d?b(e):a;if(h)return l=setTimeout(w,t),b(u)}return void 0===l&&(l=setTimeout(w,t)),a}return t=y(t)||0,g(n)&&(d=!!n.leading,o=(h="maxWait"in n)?p(y(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),O.cancel=function(){void 0!==l&&clearTimeout(l),c=0,i=u=s=l=void 0},O.flush=function(){return void 0===l?a:S(v())},O}(e,t,{leading:i,maxWait:t,trailing:s})}},3563:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){for(var n=e.offsetTop,r=e.offsetParent;r&&!t(r);)n+=r.offsetTop,r=r.offsetParent;return{offsetTop:n,offsetParent:r}};t.default={updateHash:function(e,t){var n=0===e.indexOf("#")?e.substring(1):e,r=n?"#"+n:"",i=window&&window.location,s=r?i.pathname+i.search+r:i.pathname+i.search;t?history.pushState(history.state,"",s):history.replaceState(history.state,"",s)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t,r){if(r)return e===document?t.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(e).position?t.offsetLeft:t.offsetLeft-e.offsetLeft;if(e===document)return t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if("static"!==getComputedStyle(e).position){if(t.offsetParent!==e){var i=n(t,function(t){return t===e||t===document}),s=i.offsetTop;if(i.offsetParent!==e)throw Error("Seems containerElement is not an ancestor of the Element");return s}return t.offsetTop}if(t.offsetParent===e.offsetParent)return t.offsetTop-e.offsetTop;var o=function(e){return e===document};return n(t,o).offsetTop-n(e,o).offsetTop}}},3766:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||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},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=l(n(2115));l(n(7650));var o=l(n(1880)),a=l(n(8637));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;o.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){o.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return s.default.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(s.default.Component);return t.propTypes={name:a.default.string,id:a.default.string},t}},3850:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),!(e in this._values)&&this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,i=/^\d/,s=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,o=/^\s*(['"]?)(.*?)(\1)\s*$/,a=new t(512),l=new t(512),u=new t(512);function c(e){return a.get(e)||a.set(e,d(e).map(function(e){return e.replace(o,"$2")}))}function d(e){return e.match(n)||[""]}function h(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}e.exports={Cache:t,split:d,normalizePath:c,setter:function(e){var t=c(e);return l.get(e)||l.set(e,function(e,n){for(var r=0,i=t.length,s=e;r<i-1;){var o=t[r];if("__proto__"===o||"constructor"===o||"prototype"===o)return e;s=s[t[r++]]}s[t[r]]=n})},getter:function(e,t){var n=c(e);return u.get(e)||u.set(e,function(e){for(var r=0,i=n.length;r<i;){if(null==e&&t)return;e=e[n[r++]]}return e})},join:function(e){return e.reduce(function(e,t){return e+(h(t)||r.test(t)?"["+t+"]":(e?".":"")+t)},"")},forEach:function(e,t,n){!function(e,t,n){var o,a,l,u,c=e.length;for(a=0;a<c;a++)(o=e[a])&&(function(e){return!h(e)&&(e.match(i)&&!e.match(r)||s.test(e))}(o)&&(o='"'+o+'"'),l=!(u=h(o))&&/^\d+$/.test(o),t.call(n,o,u,l,a,e))}(Array.isArray(e)?e:d(e),t,n)}}},4502:(e,t,n)=>{"use strict";let r;function i(e,t){-1===e.indexOf(t)&&e.push(t)}function s(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{P:()=>sV});let o=()=>{},a=()=>{},l={skipAnimations:!1,useManualTiming:!1};function u(e){let t;return()=>(void 0===t&&(t=e()),t)}let c=e=>e,d=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r};class h{constructor(){this.subscriptions=[]}add(e){return i(this.subscriptions,e),()=>s(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let f=e=>1e3*e,p=e=>e/1e3;function m(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function v(e){let t=[{},{}];
1return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function g(e,t,n,r){if("function"==typeof t){let[i,s]=v(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]=v(r);t=t(void 0!==n?n:e.custom,i,s)}return t}function y(e,t,n){let r=e.getProps();return g(r,t,void 0!==n?n:r.custom,e)}let b=u(()=>void 0!==window.ScrollTimeline);class x{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}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=>b()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class w extends x{then(e,t){return this.finished.finally(e).then(()=>{})}}let S={layout:0,mainThread:0,waapi:0},O={value:null,addProjectionMetrics:null},T=e=>Array.isArray(e)&&"number"==typeof e[0],E={},P=function(e,t){let n=u(e);return()=>E[t]??n()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),C=(e,t,n=10)=>{let r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=e(t/(i-1))+", ";return`linear(${r.substring(0,r.length-2)})`},k=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,A={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:k([0,.65,.55,1]),circOut:k([.55,0,1,.45]),backIn:k([.31,.01,.66,-.59]),backOut:k([.33,1.53,.69,.99])};function M(e,t){return e?.[t]??e?.default??e}function V(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}function _(e){return"function"==typeof e&&"applyToOptions"in e}function F(e,t){e.timeline=t,e.onfinish=null}new WeakMap;let D=["read","resolveKeyframes","update","preRender","render","postRender"];function j(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=D.reduce((e,n)=>(e[n]=function(e,t){let n=new Set,r=new Set,i=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){o.has(t)&&(c.schedule(t),e()),l++,t(a)}let c={schedule:(e,t=!1,s=!1)=>{let a=s&&i?n:r;return t&&o.add(e),a.has(e)||a.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(a=e,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&O.value&&O.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,c.process(e))}};return c}(s,t?n:void 0),e),{}),{read:a,resolveKeyframes:u,update:c,preRender:d,render:h,postRender:f}=o,p=()=>{let s=l.useManualTiming?i.timestamp:performance.now();n=!1,l.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,a.process(i),u.process(i),c.process(i),d.process(i),h.process(i),f.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(p))},m=()=>{n=!0,r=!0,i.isProcessing||e(p)};return{schedule:D.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||m(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<D.length;t++)o[D[t]].cancel(e)},state:i,steps:o}}let{schedule:R,cancel:I,state:L,steps:$}=j("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:c,!0),{schedule:B}=j(queueMicrotask,!1);function N(){r=void 0}let U={now:()=>(void 0===r&&U.set(L.isProcessing||l.useManualTiming?L.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(N)}},H={x:!1,y:!1};function z(e,t){let n=function(e,t,n){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,n=(void 0)??t.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function W(e){return!("touch"===e.pointerType||H.x||H.y)}let q=(e,t)=>!!t&&(e===t||q(e,t.parentElement)),Y=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,X=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),G=new WeakSet;function Z(e){return t=>{"Enter"===t.key&&e(t)}}function K(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let J=(e,t)=>
1{let n=e.currentTarget;if(!n)return;let r=Z(()=>{if(G.has(n))return;K(n,"down");let e=Z(()=>{K(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>K(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Q(e){return Y(e)&&!(H.x||H.y)}function ee(){let{value:e}=statsBuffer;if(null===e){cancelFrame(ee);return}e.frameloop.rate.push(frameData.delta),e.animations.mainThread.push(activeAnimations.mainThread),e.animations.waapi.push(activeAnimations.waapi),e.animations.layout.push(activeAnimations.layout)}function et(e){return e.reduce((e,t)=>e+t,0)/e.length}function en(e,t=et){return 0===e.length?{min:0,max:0,avg:0}:{min:Math.min(...e),max:Math.max(...e),avg:t(e)}}let er=e=>Math.round(1e3/e),ei=e=>!isNaN(parseFloat(e)),es={current:void 0};class eo{constructor(e,t={}){this.version="12.6.3",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=U.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=U.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=ei(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 h);let n=this.events[e].add(t);return"change"===e?()=>{n(),R.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 es.current&&es.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=U.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ea(e,t){return new eo(e,t)}let el=null,eu=null,ec=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ed=new Set(ec),eh=new Set(["width","height","top","left","right","bottom",...ec]),ef=e=>Array.isArray(e),ep=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),em=e=>ef(e)?e[e.length-1]||0:e,ev=e=>!!(e&&e.getVelocity);function eg(e,t){let n=e.getValue("willChange");if(ev(n)&&n.add)return n.add(t)}let ey=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),eb="data-"+ey("framerAppearId"),ex={current:!1},ew=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function eS(e,t,n,r){if(e===t&&n===r)return c;let i=t=>(function(e,t,n,r,i){let s,o;let a=0;do(s=ew(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:ew(i(e),t,r)}let eO=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eT=e=>t=>1-e(1-t),eE=eS(.33,1.53,.69,.99),eP=eT(eE),eC=eO(eP),ek=e=>(e*=2)<1?.5*eP(e):.5*(2-Math.pow(2,-10*(e-1))),eA=e=>1-Math.sin(Math.acos(e)),eM=eT(eA),eV=eO(eA),e_=e=>/^0[^.\s]+$/u.test(e),eF=(e,t,n)=>n>t?t:n<e?e:n,eD={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},ej={...eD,transform:e=>eF(0,1,e)},eR={...eD,default:1},eI=e=>Math.round(1e5*e)/1e5,eL=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,e$=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eB=(e,t)=>n=>!!("string"==typeof n&&e$.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),eN=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,s,o,a]=r.match(eL);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},eU=e=>eF(0,255,e),eH={...eD,transform:e=>Math.round(eU(e))},ez={test:eB("rgb","red"),parse:eN("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+eH.transform(e)+", "+eH.transform(t)+", "+eH.transform(n)+", "+eI(ej.transform(r))+")"},eW={test:eB("#"),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:ez.transform},eq=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),eY=eq("deg"),eX=eq("%"),eG=eq("px"),eZ=eq("vh"),eK=eq("vw"),eJ={...eX,parse:e=>eX.parse(e)/100,transform:e=>eX.transform(100*e)},eQ={test:eB("hsl","hue"),parse:eN("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+eX.transform(eI(t))+", "+eX.transform(eI(n))+", "+eI(ej.transform(r))+")"},e0={test:e=>ez.test(e)||eW.test(e)||eQ.test(e),parse:e=>ez.test(e)?ez.parse(e):eQ.test(e)?eQ.parse(e):eW.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ez.transform(e):eQ.transform(e)},e1=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,e2="number",e5="color",e3=/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 e6(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],s=0,o=t.replace(e3,e=>(e0.test(e)?(r.color.push(s),i.push(e5),n.push(e0.parse(e))):e.startsWith("var(")?(r.var.push(s),i.push("var"),n.push(e)):(r.number.push(s),i.push(e2),n.push(parseFloat(e))),++s,"${}")).split("${}");return{values:n,split:o,indexes:r,types:i}}function e4(e){return e6(e).values}function e9(e){let{split:t,types:n}=e6(e),r=t.length;return e=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],void 0!==e[s]){let t=n[s];t===e2?i+=eI(e[s]):t===e5?i+=e0.transform(e[s]):i+=e[s]}return i}}let e8=e=>"number"==typeof e?0:e,e7={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(eL)?.length||0)+(e.match(e1)?.length||0)>0},parse:e4,createTransformer:e9,getAnimatableNone:function(e){let t=e4(e);return e9(e)(t.map(e8))}},te=new Set(["brightness","contrast","saturate","opacity"]);function tt(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(eL)||[];if(!r)return e;let i=n.replace(r,""),s=+!!te.has(t);return r!==n&&(s*=100),t+"("+s+i+")"}let tn=/\b([a-z-]*)\(.*?\)/gu,tr={...e7,getAnimatableNone:e=>{let t=e.match(tn);return t?t.map(tt).join(" "):e}},ti={...eD,transform:Math.round},ts={borderWidth:eG,borderTopWidth:eG,borderRightWidth:eG,borderBottomWidth:eG,borderLeftWidth:eG,borderRadius:eG,radius:eG,borderTopLeftRadius:eG,borderTopRightRadius:eG,borderBottomRightRadius:eG,borderBottomLeftRadius:eG,width:eG,maxWidth:eG,height:eG,maxHeight:eG,top:eG,right:eG,bottom:eG,left:eG,padding:eG,paddingTop:eG,paddingRight:eG,paddingBottom:eG,paddingLeft:eG,margin:eG,marginTop:eG,marginRight:eG,marginBottom:eG,marginLeft:eG,backgroundPositionX:eG,backgroundPositionY:eG,rotate:eY,rotateX:eY,rotateY:eY,rotateZ:eY,scale:eR,scaleX:eR,scaleY:eR,scaleZ:eR,skew:eY,skewX:eY,skewY:eY,distance:eG,translateX:eG,translateY:eG,translateZ:eG,x:eG,y:eG,z:eG,perspective:eG,transformPerspective:eG,opacity:ej,originX:eJ,originY:eJ,originZ:eG,zIndex:ti,size:eG,fillOpacity:ej,strokeOpacity:ej,numOctaves:ti},to={...ts,color:e0,backgroundColor:e0,outlineColor:e0,fill:e0,stroke:e0,borderColor:e0,borderTopColor:e0,borderRightColor:e0,borderBottomColor:e0,borderLeftColor:e0,filter:tr,WebkitFilter:tr},ta=e=>to[e];function tl(e,t){let n=ta(e);return n!==tr&&(n=e7),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let tu=new Set(["auto","none","0"]),tc=e=>180*e/Math.PI,td=e=>tf(tc(Math.atan2(e[1],e[0]))),th={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:td,rotateZ:td,skewX:e=>tc(Math.atan(e[1])),skewY:e=>tc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},tf=e=>((e%=360)<0&&(e+=360),e),tp=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),tm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),tv={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tp,scaleY:tm,scale:e=>(tp(e)+tm(e))/2,rotateX:e=>tf(tc(Math.atan2(e[6],e[5]))),rotateY:e=>tf(tc(Math.atan2(-e[2],e[0]))),rotateZ:td,rotate:td,skewX:e=>tc(Math.atan(e[4])),skewY:e=>tc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function tg(e){return+!!e.includes("scale")}function ty(e,t){let n,r;if(!e||"none"===e)return tg(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=tv,r=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=th,r=t}if(!r)return tg(t);let s=n[t],o=r[1].split(",").map(tx);return"function"==typeof s?s(o):o[s]}let tb=(e,t)=>{let{transform:n="none"}=getComputedStyle(e);return ty(n,t)};function tx(e){return parseFloat(e.trim())}let tw=e=>e===eD||e===eG,tS=new Set(["x","y","z"]),tO=ec.filter(e=>!tS.has(e)),tT={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:(e,{transform:t})=>ty(t,"x"),y:(e,{transform:t})=>ty(t,"y")};tT.translateX=tT.x,tT.translateY=tT.y;let tE=new Set,tP=!1,tC=!1;
1function tk(){if(tC){let e=Array.from(tE).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 tO.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}tC=!1,tP=!1,tE.forEach(e=>e.complete()),tE.clear()}function tA(){tE.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(tC=!0)})}class tM{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?(tE.add(this),tP||(tP=!0,R.read(tA),R.resolveKeyframes(tk))):(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=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),tE.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,tE.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let tV=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),t_=e=>t=>"string"==typeof t&&t.startsWith(e),tF=t_("--"),tD=t_("var(--"),tj=e=>!!tD(e)&&tR.test(e.split("/*")[0].trim()),tR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tI=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tL=e=>t=>t.test(e),t$=[eD,eG,eX,eY,eK,eZ,{test:e=>"auto"===e,parse:e=>e}],tB=e=>t$.find(tL(e));class tN extends tM{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&&tj(r=r.trim())){let i=function e(t,n,r=1){a(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=tI.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}(t);if(!i)return;let o=window.getComputedStyle(n).getPropertyValue(i);if(o){let e=o.trim();return tV(e)?parseFloat(e):e}return tj(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(),!eh.has(n)||2!==e.length)return;let[r,i]=e,s=tB(r),o=tB(i);if(s!==o){if(tw(s)&&tw(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||e_(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&&!tu.has(t)&&e6(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=tl(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=tT[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(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,s=n[i];n[i]=tT[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}let tU=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(e7.test(e)||"0"===e)&&!e.startsWith("url(")),tH=e=>null!==e;function tz(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(tH),s=t&&"loop"!==n&&t%2==1?0:i.length-1;return s&&void 0!==r?r:i[s]}class tW{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=U.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||(tA(),tk()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=U.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],a=tU(i,t),l=tU(s,t);return o(a===l,`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.`),!!a&&!!l&&(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||_(n))&&r)}(e,n,r,i)){if(ex.current||!s){l&&l(tz(e,this.options,t)),a&&a(),this.resolveFinishedPromise();return}this.options.duration=0}let c=this.initPlayback(e,t);!1!==c&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}let tq=(e,t,n)=>e+(t-e)*n;function tY(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tX(e,t){return n=>n>0?t:e}let tG=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},tZ=[eW,ez,eQ],tK=e=>tZ.find(t=>t.test(e));function tJ(e){let t=tK(e);if(o(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===eQ&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,s=0,o=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=tY(a,r,e+1/3),s=tY(a,r,e),o=tY(a,r,e-1/3)}else i=s=o=n;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(n)),n}let tQ=(e,t)=>{let n=tJ(e),r=tJ(t);if(!n||!r)return tX(e,t);let i={...n};return e=>(i.red=tG(n.red,r.red,e),i.green=tG(n.green,r.green,e),i.blue=tG(n.blue,r.blue,e),i.alpha=tq(n.alpha,r.alpha,e),ez.transform(i))},t0=(e,t)=>n=>t(e(n)),t1=(...e)=>e.reduce(t0),t2=new Set(["none","hidden"]);function t5(e,t){return n=>tq(e,t,n)}function t3(e){return"number"==typeof e?t5:"string"==typeof e?tj(e)?tX:e0.test(e)?tQ:t9:Array.isArray(e)?t6:"object"==typeof e?e0.test(e)?tQ:t4:tX}function t6(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>t3(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function t4(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=t3(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let t9=(e,t)=>{let n=e7.createTransformer(t),r=e6(e),i=e6(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?t2.has(e)&&!i.values.length||t2.has(t)&&!r.values.length?function(e,t){return t2.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):t1(t6(function(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}(r,i),i.values),n):(o(!0,`Complex values '${e}' and '${t}' 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.`),tX(e,t))};function t8(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?tq(e,t,n):t3(e)(e,t)}function t7(e,t,n){var r,i;let s=Math.max(t-5,0);return r=n-e(s),(i=t-s)?1e3/i*r:0}let ne={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function nt(e,t){return e*Math.sqrt(1-t*t)}let nn=["duration","bounce"],nr=["stiffness","damping","mass"];function ni(e,t){return t.some(t=>void 0!==e[t])}function ns(e=ne.visualDuration,t=ne.bounce){let n;let r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:s}=r,a=r.keyframes[0],l=r.keyframes[r.keyframes.length-1],u={done:!1,value:a},{stiffness:c,damping:d,mass:h,duration:m,velocity:v,isResolvedFromDuration:g}=function(e){let t={velocity:ne.velocity,stiffness:ne.stiffness,damping:ne.damping,mass:ne.mass,isResolvedFromDuration:!1,...e};
1if(!ni(e,nr)&&ni(e,nn)){if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*eF(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:ne.mass,stiffness:r,damping:i}}else{let n=function({duration:e=ne.duration,bounce:t=ne.bounce,velocity:n=ne.velocity,mass:r=ne.mass}){let i,s;o(e<=f(ne.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=eF(ne.minDamping,ne.maxDamping,a),e=eF(ne.minDuration,ne.maxDuration,p(e)),a<1?(i=t=>{let r=t*a,i=r*e;return .001-(r-n)/nt(t,a)*Math.exp(-i)},s=t=>{let r=t*a*e,s=Math.pow(a,2)*Math.pow(t,2)*e,o=Math.exp(-r),l=nt(Math.pow(t,2),a);return(r*n+n-s)*o*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),s=t=>e*e*(n-t)*Math.exp(-t*e));let l=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(l))return{stiffness:ne.stiffness,damping:ne.damping,duration:e};{let t=Math.pow(l,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:ne.mass}).isResolvedFromDuration=!0}}return t}({...r,velocity:-p(r.velocity||0)}),y=v||0,b=d/(2*Math.sqrt(c*h)),x=l-a,w=p(Math.sqrt(c/h)),S=5>Math.abs(x);if(i||(i=S?ne.restSpeed.granular:ne.restSpeed.default),s||(s=S?ne.restDelta.granular:ne.restDelta.default),b<1){let e=nt(w,b);n=t=>l-Math.exp(-b*w*t)*((y+b*w*x)/e*Math.sin(e*t)+x*Math.cos(e*t))}else if(1===b)n=e=>l-Math.exp(-w*e)*(x+(y+w*x)*e);else{let e=w*Math.sqrt(b*b-1);n=t=>{let n=Math.exp(-b*w*t),r=Math.min(e*t,300);return l-n*((y+b*w*x)*Math.sinh(r)+e*x*Math.cosh(r))/e}}let O={calculatedDuration:g&&m||null,next:e=>{let t=n(e);if(g)u.done=e>=m;else{let r=0;b<1&&(r=0===e?f(y):t7(n,e,t));let o=Math.abs(l-t)<=s;u.done=Math.abs(r)<=i&&o}return u.value=u.done?l:t,u},toString:()=>{let e=Math.min(V(O),2e4),t=C(t=>O.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return O}function no({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 f=e[0],p={done:!1,value:f},m=e=>void 0!==a&&e<a||void 0!==l&&e>l,v=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)<Math.abs(l-e)?a:l,g=n*t,y=f+g,b=void 0===o?y:o(y);b!==y&&(g=b-f);let x=e=>-g*Math.exp(-e/r),w=e=>b+x(e),S=e=>{let t=x(e),n=w(e);p.done=Math.abs(t)<=u,p.value=p.done?b:n},O=e=>{m(p.value)&&(d=e,h=ns({keyframes:[p.value,v(p.value)],velocity:t7(w,e,p.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return O(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,S(e),O(e)),void 0!==d&&e>=d)?h.next(e-d):(t||S(e),p)}}}ns.applyToOptions=e=>{let t=function(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(V(r),2e4);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:p(i)}}(e,100,ns);return e.ease=P()?t.ease:"easeOut",e.duration=f(t.duration),e.type="keyframes",e};let na=eS(.42,0,1,1),nl=eS(0,0,.58,1),nu=eS(.42,0,.58,1),nc=e=>Array.isArray(e)&&"number"!=typeof e[0],nd={linear:c,easeIn:na,easeInOut:nu,easeOut:nl,circIn:eA,circInOut:eV,circOut:eM,backIn:eP,backInOut:eC,backOut:eE,anticipate:ek},nh=e=>{if(T(e)){a(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return eS(t,n,r,i)}return"string"==typeof e?(a(void 0!==nd[e],`Invalid easing type '${e}'`),nd[e]):e};function nf({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=nc(r)?r.map(nh):nh(r),s={done:!1,value:t[0]},o=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let s=e.length;if(a(s===t.length,"Both input and output ranges must be the same length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let l=function(e,t,n){let r=[],i=n||t8,s=e.length-1;for(let n=0;n<s;n++){let s=i(e[n],e[n+1]);t&&(s=t1(Array.isArray(t)?t[n]||c:t,s)),r.push(s)}return r}(t,r,i),u=l.length,h=n=>{if(o&&n<e[0])return t[0];let r=0;if(u>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=d(e[r],e[r+1],n);return l[r](i)};return n?t=>h(eF(e[0],e[s-1],t)):h}((n&&n.length===t.length?n:function(e){let t=[0];return function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=d(0,t,r);e.push(tq(n,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(i)?i:t.map(()=>i||nu).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=o(t),s.done=t>=e,s)}}let np=e=>{let t=({timestamp:t})=>e(t);return{start:()=>R.update(t,!0),stop:()=>I(t),now:()=>L.isProcessing?L.timestamp:U.now()}},nm={decay:no,inertia:no,tween:nf,keyframes:nf,spring:ns},nv=e=>e/100;class ng extends tW{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
1{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,s=r?.KeyframeResolver||tM;this.resolver=new s(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,n;let{type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=_(r)?r:nm[r]||nf;l!==nf&&"number"!=typeof e[0]&&(t=t1(nv,t8(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=V(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;S.mainThread++,this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return i.next(0);let{delay:d,repeat:h,repeatType:f,repeatDelay:p,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 v=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,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"===f?(n=1-n,p&&(n-=p/c)):"mirror"===f&&(b=s)),y=eF(0,1,n)*c}let x=g?{done:!1,value:a[0]}:b.next(y);o&&(x.value=o(x.value));let{done:w}=x;g||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=tz(a,this.options,r)),m&&m(x.value),S&&this.finish(),x}get duration(){let{resolved:e}=this;return e?p(e.calculatedDuration):0}get time(){return p(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=p(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=np,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=n??this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=this.currentTime??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(),S.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}
1get finished(){return this.currentFinishedPromise}}let ny=new Set(["opacity","clipPath","filter","transform"]),nb=u(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),nx={anticipate:ek,backInOut:eC,circInOut:eV};class nw extends tW{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new tN(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:i,ease:s,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&P()&&s in nx&&(s=nx[s]),_((n=this.options).type)||"spring"===n.type||!function e(t){return!!("function"==typeof t&&P()||!t||"string"==typeof t&&(t in A||P())||T(t)||Array.isArray(t)&&t.every(e))}(n.ease)){let{onComplete:t,onUpdate:n,motionValue:a,element:l,...u}=this.options,c=function(e,t){let n=new ng({...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]),r=c.duration,i=c.times,s=c.ease,o="keyframes"}let c=function(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={},u){let c={[t]:n};l&&(c.offset=l);let d=function e(t,n){if(t)return"function"==typeof t&&P()?C(t,n):T(t)?k(t):Array.isArray(t)?t.map(t=>e(t,n)||A.easeOut):A[t]}(a,i);Array.isArray(d)&&(c.easing=d),O.value&&S.waapi++;let h=e.animate(c,{delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal",pseudoElement:void 0});return O.value&&h.finished.finally(()=>{S.waapi--}),h}(a.owner.current,l,e,{...this.options,duration:r,times:i,ease:s});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(F(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:n}=this.options;a.set(tz(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:i,type:o,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return p(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return p(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}get finished(){return this.resolved.animation.finished}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 c;let{animation:n}=t;F(n,e)}else this.pendingTimeline=e;return c}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 ng({...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;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=t.owner.getProps();return nb()&&n&&ny.has(n)&&("transform"!==n||!l)&&!a&&!r&&"mirror"!==i&&0!==s&&"inertia"!==o}}let nS={type:"spring",stiffness:500,damping:25,restSpeed:10},nO=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),nT={type:"keyframes",duration:.8},nE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nP=(e,{keyframes:t})=>t.length>2?nT:ed.has(e)?e.startsWith("scale")?nO(t[1]):nS:nE,nC=(e,t,n,r={},i,s)=>o=>{let a=M(r,e)||{},u=a.delay||r.delay||0,{elapsed:c=0}=r;c-=f(u);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,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:
1o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&(d={...d,...nP(e,d)}),d.duration&&(d.duration=f(d.duration)),d.repeatDelay&&(d.repeatDelay=f(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(d.duration=0,0!==d.delay||(h=!0)),(ex.current||l.skipAnimations)&&(h=!0,d.duration=0,d.delay=0),d.allowFlatten=!a.type&&!a.ease,h&&!s&&void 0!==t.get()){let e=tz(d.keyframes,a);if(void 0!==e)return R.update(()=>{d.onUpdate(e),d.onComplete()}),new w([])}return!s&&nw.supports(d)?new nw(d):new ng(d)};function nk(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:o,...a}=t;r&&(s=r);let l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let t in a){let r=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||u&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(u,t))continue;let o={delay:n,...M(s||{},t)},c=!1;if(window.MotionHandoffAnimation){let n=e.props[eb];if(n){let e=window.MotionHandoffAnimation(n,t,R);null!==e&&(o.startTime=e,c=!0)}}eg(e,t),r.start(nC(t,r,i,e.shouldReduceMotion&&eh.has(t)?{type:!1}:o,e,c));let d=r.animation;d&&l.push(d)}return o&&Promise.all(l).then(()=>{R.update(()=>{o&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=y(e,t)||{};for(let t in i={...i,...n}){let n=em(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ea(n))}}(e,o)})}),l}function nA(e,t,n={}){let r=y(e,t,"exit"===n.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let s=r?()=>Promise.all(nk(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=i;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(nM).forEach((e,r)=>{e.notify("AnimationStart",t),o.push(nA(e,t,{...s,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,s+r,o,a,n)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([s(),o(n.delay)]);{let[e,t]="beforeChildren"===a?[s,o]:[o,s];return e().then(()=>t())}}function nM(e,t){return e.sortNodePosition(t)}function nV(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 n_(e){return"string"==typeof e||Array.isArray(e)}let nF=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],nD=["initial",...nF],nj=nD.length,nR=[...nF].reverse(),nI=nF.length;function nL(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function n$(){return{animate:nL(!0),whileInView:nL(),whileHover:nL(),whileTap:nL(),whileDrag:nL(),whileFocus:nL(),exit:nL()}}class nB{constructor(e){this.isMounted=!1,this.node=e}update(){}}class nN extends nB{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=>nA(e,t,n)));else if("string"==typeof t)r=nA(e,t,n);else{let i="function"==typeof t?y(e,t,n.custom):t;r=Promise.all(nk(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=n$(),r=!0,i=t=>(n,r)=>{let i=y(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function s(s){let{props:o}=e,a=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<nj;e++){let r=nD[e],i=t.props[r];(n_(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},l=[],u=new Set,c={},d=1/0;for(let t=0;t<nI;t++){var h,f;let p=nR[t],v=n[p],g=void 0!==o[p]?o[p]:a[p],y=n_(g),b=p===s?v.isActive:null;!1===b&&(d=t);let x=g===a[p]&&g!==o[p]&&y;if(x&&r&&e.manuallyAnimateOnMount&&(x=!1),v.protectedKeys={...c},!v.isActive&&null===b||!g&&!v.prevProp||m(g)||"boolean"==typeof g)continue;let w=(h=v.prevProp,"string"==typeof(f=g)?f!==h:!!Array.isArray(f)&&!nV(f,h)),S=w||p===s&&v.isActive&&!x&&y||t>d&&y,O=!1,T=Array.isArray(g)?g:[g],E=T.reduce(i(p),{});!1===b&&(E={});let{prevResolvedValues:P={}}=v,C={...P,...E},k=t=>{S=!0,u.has(t)&&(O=!0,u.delete(t)),v.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in C){let t=E[e],n=P[e];if(c.hasOwnProperty(e))continue;let r=!1;(ef(t)&&ef(n)?nV(t,n):t===n)?void 0!==t&&u.has(e)?k(e):v.protectedKeys[e]=!0:null!=t?k(e):u.add(e)}v.prevProp=g,v.prevResolvedValues=E,v.isActive&&(c={...c,...E}),r&&e.blockInitialAnimation&&(S=!1);let A=!(x&&w)||O;S&&A&&l.push(...T.map(e=>({animation:e,options:{type:p}})))}if(u.size){let t={};if("boolean"!=typeof o.initial){let n=y(e,Array.isArray(o.initial)?o.initial[0]:o.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,p?t(l):Promise.resolve()}return{animateChanges:s,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();
1e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=n$(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();m(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(){this.node.animationState.reset(),this.unmountControls?.()}}let nU=0;class nH extends nB{constructor(){super(...arguments),this.id=nU++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}function nz(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function nW(e){return{point:{x:e.pageX,y:e.pageY}}}let nq=e=>t=>Y(t)&&e(t,nW(t));function nY(e,t,n,r){return nz(e,t,nq(n),r)}function nX({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function nG(e){return e.max-e.min}function nZ(e,t,n,r=.5){e.origin=r,e.originPoint=tq(t.min,t.max,e.origin),e.scale=nG(n)/nG(t),e.translate=tq(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 nK(e,t,n,r){nZ(e.x,t.x,n.x,r?r.originX:void 0),nZ(e.y,t.y,n.y,r?r.originY:void 0)}function nJ(e,t,n){e.min=n.min+t.min,e.max=e.min+nG(t)}function nQ(e,t,n){e.min=t.min-n.min,e.max=e.min+nG(t)}function n0(e,t,n){nQ(e.x,t.x,n.x),nQ(e.y,t.y,n.y)}let n1=()=>({translate:0,scale:1,origin:0,originPoint:0}),n2=()=>({x:n1(),y:n1()}),n5=()=>({min:0,max:0}),n3=()=>({x:n5(),y:n5()});function n6(e){return[e("x"),e("y")]}function n4(e){return void 0===e||1===e}function n9({scale:e,scaleX:t,scaleY:n}){return!n4(e)||!n4(t)||!n4(n)}function n8(e){return n9(e)||n7(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function n7(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function re(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function rt(e,t=0,n=1,r,i){e.min=re(e.min,t,n,r,i),e.max=re(e.max,t,n,r,i)}function rn(e,{x:t,y:n}){rt(e.x,t.translate,t.scale,t.originPoint),rt(e.y,n.translate,n.scale,n.originPoint)}function rr(e,t){e.min=e.min+t,e.max=e.max+t}function ri(e,t,n,r,i=.5){let s=tq(e.min,e.max,i);rt(e,t,n,s,r)}function rs(e,t){ri(e.x,t.x,t.scaleX,t.scale,t.originX),ri(e.y,t.y,t.scaleY,t.scale,t.originY)}function ro(e,t){return nX(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 ra=({current:e})=>e?e.ownerDocument.defaultView:null;function rl(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let ru=(e,t)=>Math.abs(e-t);class rc{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=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=rf(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){return Math.sqrt(ru(e.x,t.x)**2+ru(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=L;this.history.push({...r,timestamp:i});let{onStart:s,onMove:o}=this.handlers;t||(s&&s(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=rd(t,this.transformPagePoint),R.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=rf("pointercancel"===e.type?this.lastMoveEventInfo:rd(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,s),r&&r(e,s)},!Y(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let s=rd(nW(e),this.transformPagePoint),{point:o}=s,{timestamp:a}=L;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,rf(s,this.history)),this.removeListeners=t1(nY(this.contextWindow,"pointermove",this.handlePointerMove),nY(this.contextWindow,"pointerup",this.handlePointerUp),nY(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),I(this.updatePoint)}}function rd(e,t){return t?{point:t(e.point)}:e}function rh(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rf({point:e},t){return{point:e,delta:rh(e,rp(t)),offset:rh(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=rp(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>f(.1)));)n--;if(!r)return{x:0,y:0};let s=p(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,.1)}}function rp(e){return e[e.length-1]}function rm(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 rv(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 rg(e,t,n){return{min:ry(e,t),max:ry(e,n)}}function ry(e,t){return"number"==typeof e?e:e[t]||0}let rb=new WeakMap;class rx{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=n3(),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 rc(e,{onSessionStart:e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(nW(e).point)},onStart:(e,t)=>{var n;let{drag:r,dragPropagation:i,onDragStart:s}=this.getProps();if(r&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(n=r)||"y"===n?H[n]?null:(H[n]=!0,()=>{H[n]=!1}):H.x||H.y?null:(H.x=H.y=!0,()=>{H.x=H.y=!1}),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),n6(e=>{let t=this.getAxisMotionValue(e).get()||0;if(eX.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=nG(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),s&&R.postRender(()=>s(e,t)),eg(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>
1{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:s}=this.getProps();if(!n&&!this.openDragLock)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:()=>n6(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:ra(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&&R.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.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!rw(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?tq(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?tq(n,e,r.max):Math.min(e,n)),e}(s,this.constraints[e],this.elastic[e])),i.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&rl(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:rm(e.x,n,i),y:rm(e.y,t,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:rg(e,"left","right"),y:rg(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&n6(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}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!rl(t))return!1;let r=t.current;a(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=ro(e,n),{scroll:i}=t;return i&&(rr(r.x,i.offset.x),rr(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),o={x:rv((e=i.layout.layoutBox).x,s.x),y:rv(e.y,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=nX(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(n6(o=>
1{if(!rw(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 eg(this.visualElement,e),n.start(nC(e,n,0,t,this.visualElement,!1))}stopAnimation(){n6(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){n6(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.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){n6(t=>{let{drag:n}=this.getProps();if(!rw(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]-tq(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!rl(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};n6(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();r[e]=function(e,t){let n=.5,r=nG(e),i=nG(t);return i>r?n=d(t.min,t.max-r,e.min):r>i&&(n=d(e.min,e.max-i,t.min)),eF(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(),n6(t=>{if(!rw(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:s}=this.constraints[t];n.set(tq(i,s,r[t]))})}addListeners(){if(!this.visualElement.current)return;rb.set(this.visualElement,this);let e=nY(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();rl(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()),R.read(t);let i=nz(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(n6(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 rw(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class rS extends nB{constructor(e){super(e),this.removeGroupControls=c,this.removeListeners=c,this.controls=new rx(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||c}unmount(){this.removeGroupControls(),this.removeListeners()}}let rO=e=>(t,n)=>{e&&R.postRender(()=>e(t,n))};class rT extends nB{constructor(){super(...arguments),this.removePointerDownListener=c}onPointerDown(e){this.session=new rc(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ra(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:rO(e),onStart:rO(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&R.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=nY(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 rE,rP,rC=n(5155),rk=n(2115);let rA=(0,rk.createContext)(null),rM=(0,rk.createContext)({}),rV=(0,rk.createContext)({}),r_={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rF(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let rD={correct:(e,t)=>
1{if(!t.target)return e;if("string"==typeof e){if(!eG.test(e))return e;e=parseFloat(e)}let n=rF(e,t.target.x),r=rF(e,t.target.y);return`${n}% ${r}%`}},rj={};class rR extends rk.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;!function(e){for(let t in e)rj[t]=e[t],tF(t)&&(rj[t].isCSSVariable=!0)}(rL),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()})),r_.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||e.isPresent!==i?s.willUpdate():this.safeToRemove(),e.isPresent===i||(i?s.promote():s.relegate()||R.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),B.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 rI(e){let[t,n]=function(e=!0){let t=(0,rk.useContext)(rA);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,s=(0,rk.useId)();(0,rk.useEffect)(()=>{if(e)return i(s)},[e]);let o=(0,rk.useCallback)(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}(),r=(0,rk.useContext)(rM);return(0,rC.jsx)(rR,{...e,layoutGroup:r,switchLayoutGroup:(0,rk.useContext)(rV),isPresent:t,safeToRemove:n})}let rL={borderRadius:{...rD,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rD,borderTopRightRadius:rD,borderBottomLeftRadius:rD,borderBottomRightRadius:rD,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e7.parse(e);if(r.length>5)return e;let i=e7.createTransformer(e),s=+("number"!=typeof r[0]),o=n.x.scale*t.x,a=n.y.scale*t.y;r[0+s]/=o,r[1+s]/=a;let l=tq(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),i(r)}}},r$=(e,t)=>e.depth-t.depth;class rB{constructor(){this.children=[],this.isDirty=!1}add(e){i(this.children,e),this.isDirty=!0}remove(e){s(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(r$),this.isDirty=!1,this.children.forEach(e)}}function rN(e){let t=ev(e)?e.get():e;return ep(t)?t.toValue():t}let rU=["TopLeft","TopRight","BottomLeft","BottomRight"],rH=rU.length,rz=e=>"string"==typeof e?parseFloat(e):e,rW=e=>"number"==typeof e||eG.test(e);function rq(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rY=rG(0,.5,eM),rX=rG(.5,.95,c);function rG(e,t,n){return r=>r<e?0:r>t?1:n(d(e,t,r))}function rZ(e,t){e.min=t.min,e.max=t.max}function rK(e,t){rZ(e.x,t.x),rZ(e.y,t.y)}function rJ(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rQ(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 r0(e,t,[n,r,i],s,o){!function(e,t=0,n=1,r=.5,i,s=e,o=e){if(eX.test(t)&&(t=parseFloat(t),t=tq(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=tq(s.min,s.max,r);e===s&&(a-=t),e.min=rQ(e.min,t,n,a,i),e.max=rQ(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,s,o)}let r1=["x","scaleX","originX"],r2=["y","scaleY","originY"];function r5(e,t,n,r){r0(e.x,t,r1,n?n.x:void 0,r?r.x:void 0),r0(e.y,t,r2,n?n.y:void 0,r?r.y:void 0)}function r3(e){return 0===e.translate&&1===e.scale}function r6(e){return r3(e.x)&&r3(e.y)}function r4(e,t){return e.min===t.min&&e.max===t.max}function r9(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function r8(e,t){return r9(e.x,t.x)&&r9(e.y,t.y)}function r7(e){return nG(e.x)/nG(e.y)}function ie(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class it{constructor(){this.members=[]}add(e){i(this.members,e),e.scheduleRender()}remove(e){if(s(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 ir={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ii=["","X","Y","Z"],is={visibility:"hidden"},io=0;function ia(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function il({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=io++,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,O.value&&(ir.nodes=ir.calculatedTargetDeltas=ir.calculatedProjections=0),this.nodes.forEach(id),this.nodes.forEach(ib),this.nodes.forEach(ix),this.nodes.forEach(ih),O.addProjectionMetrics&&O.addProjectionMetrics(ir)},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 rB)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new h),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=U.now(),r=({timestamp:i})=>{let s=i-n;s>=250&&(I(r),e(s-t))};return R.read(r,!0),()=>I(r)}(r,250),r_.hasAnimatedSinceResize&&(r_.hasAnimatedSinceResize=!1,this.nodes.forEach(iy))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||s.getDefaultTransition()||iP,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!r8(this.targetLayout,r),u=!t&&n;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...M(i,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||iy(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,I(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(iw),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[eb];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",R,!(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(im);return}this.isUpdating||this.nodes.forEach(iv),this.isUpdating=!1,this.nodes.forEach(ig),this.nodes.forEach(iu),this.nodes.forEach(ic),this.clearAllSnapshots();let e=U.now();L.delta=eF(0,1e3/60,e-L.timestamp),L.timestamp=e,L.isProcessing=!0,$.update.process(L),$.preRender.process(L),$.render.process(L),L.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,B.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ip),this.sharedNodes.forEach(iS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,R.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){R.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||nG(this.snapshot.measuredBox.x)||nG(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=n3(),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&&!r6(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;e&&(t||n8(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)),iA((t=r).x),iA(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return n3();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(iV))){let{scroll:e}=this.root;e&&(rr(t.x,e.offset.x),rr(t.y,e.offset.y))}return t}removeElementScroll(e){let t=n3();if(rK(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:s}=r;r!==this.root&&i&&s.layoutScroll&&(i.wasRoot&&rK(t,e),rr(t.x,i.offset.x),rr(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let n=n3();rK(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&&rs(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),n8(r.latestValues)&&rs(n,r.latestValues)}return n8(this.latestValues)&&rs(n,this.latestValues),n}removeTransform(e){let t=n3();rK(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!n8(n.latestValues))continue;n9(n.latestValues)&&n.updateSnapshot();let r=n3();rK(r,n.measurePageBox()),r5(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return n8(this.latestValues)&&r5(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!==L.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=L.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=n3(),this.relativeTargetOrigin=n3(),n0(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),rK(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=n3(),this.targetWithTransforms=n3()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,nJ(s.x,o.x,a.x),nJ(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rK(this.target,this.layout.layoutBox),rn(this.target,this.targetDelta)):rK(this.target,this.layout.layoutBox);if(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=n3(),this.relativeTargetOrigin=n3(),n0(this.relativeTargetOrigin,this.target,e.target),rK(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}O.value&&ir.calculatedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||n9(this.parent.latestValues)||n7(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(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===L.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;rK(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=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&&rs(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,rn(e,s)),r&&n8(i.latestValues)&&rs(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,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=n3());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rJ(this.prevProjectionDelta.x,this.projectionDelta.x),rJ(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nK(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&ie(this.projectionDelta.x,this.prevProjectionDelta.x)&&ie(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),O.value&&ir.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=n2(),this.projectionDelta=n2(),this.projectionDeltaWithTransform=n2()}setAnimationOrigin(e,t=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},s={...this.latestValues},o=n2();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=n3(),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(iE));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(iO(o.x,e.x,r),iO(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,f,p,m,v;if(n0(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,m=a,v=r,iT(f.x,p.x,m.x,v),iT(f.y,p.y,m.y,v),n&&(u=this.relativeTarget,h=n,r4(u.x,h.x)&&r4(u.y,h.y)))this.isProjectionDirty=!1;n||(n=n3()),rK(n,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,n,r,i,s){i?(e.opacity=tq(0,void 0!==n.opacity?n.opacity:1,rY(r)),e.o
1pacityExit=tq(void 0!==t.opacity?t.opacity:1,0,rX(r))):s&&(e.opacity=tq(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<rH;i++){let s=`border${rU[i]}Radius`,o=rq(t,s),a=rq(n,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rW(o)===rW(a)?(e[s]=Math.max(tq(rz(o),rz(a),r),0),(eX.test(a)||eX.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||n.rotate)&&(e.rotate=tq(t.rotate||0,n.rotate||0,r))}(s,i,this.latestValues,r,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(I(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=R.update(()=>{r_.hasAnimatedSinceResize=!0,S.layout++,this.currentAnimation=function(e,t,n){let r=ev(0)?0:ea(e);return r.start(nC("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{S.layout--},onComplete:()=>{S.layout--,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&&iM(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||n3();let t=nG(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=nG(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}rK(t,n),rs(t,i),nK(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new it),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(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.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&&ia("z",e,r,this.animationValues);for(let t=0;t<ii.length;t++)ia(`rotate${ii[t]}`,e,r,this.animationValues),ia(`skew${ii[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){if(!this.instance||this.isSVG)return;if(!this.isVisible)return is;let t={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.opacity="",t.pointerEvents=rN(e?.pointerEvents)||"",t.transform=n?n(this.latestValues,""):"none",t;let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=rN(e?.pointerEvents)||""),this.hasProjected&&!n8(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1),t}let i=r.animationValues||r.latestValues;this.applyTransformsToTarget(),t.transform=function(e,t,n){let r="",i=e.x.translate/t.x,s=e.y.translate/t.y,o=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,i),n&&(t.transform=n(i,t.transform));let{x:s,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*s.origin}% ${100*o.origin}% 0`,r.animationValues?t.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:t.opacity=r===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,rj){if(void 0===i[e])continue;let{correct:n,applyTo:s,isCSSVariable:o}=rj[e],a="none"===t.transform?i[e]:n(i[e],r);if(s){let e=s.length;for(let n=0;n<e;n++)t[s[n]]=a}else o?this.options.visualElement.renderState.vars[e]=a:t[e]=a}return this.options.layoutId&&(t.pointerEvents=r===this?rN(e?.pointerEvents)||"":"none"),t}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(im),this.root.sharedNodes.clear()}}}function iu(e){e.updateLayout()}function ic(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,s=t.source!==e.layout.source;"size"===i?n6(e=>{let r=s?t.measuredBox[e]:t.layoutBox[e],i=nG(r);r.min=n[e].min,r.max=r.min+i}):iM(i,t.layoutBox,n)&&n6(r=>{let i=s?t.measuredBox[r]:t.layoutBox[r],o=nG(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=n2();nK(o,n,t.layoutBox);let a=n2();s?nK(a,e.applyTransform(r,!0),t.measuredBox):nK(a,n,t.layoutBox);let l=!r6(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=n3();n0(o,t.layoutBox,i.layoutBox);let a=n3();n0(a,n,s.layoutBox),r8(o,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function id(e){O.value&&ir.nodes++,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 ih(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ip(e){e.clearSnapshot()}function im(e){e.clearMeasurements()}function iv(e){e.isLayoutDirty=!1}function ig(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function iy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ib(e){e.resolveTargetDelta()}function ix(e){e.calcProjection()}function iw(e){e.resetSkewAndRotation()}function iS(e){e.removeLeadSnapshot()}function iO(e,t,n){e.translate=tq(t.translate,0,n),e.scale=tq(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function iT(e,t,n,r){e.min=tq(t.min,n.min,r),e.max=tq(t.max,n.max,r)}function iE(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let iP={duration:.45,ease:[.4,0,.1,1]},iC=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ik=iC("applewebkit/")&&!iC("chrome/")?Math.round:c;function iA(e){e.min=ik(e.min),e.max=ik(e.max)}function iM(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(r7(t)-r7(n)))}function iV(e){return e!==e.root&&e.scroll?.wasRoot}let i_=il({attachResizeListener:(e,t)=>nz(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),iF={current:void 0},iD=il({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!iF.current){let e=new i_({});e.mount(window),e.setOptions({layoutScroll:!0}),iF.current=e}return iF.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function ij(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&R.postRender(()=>i(t,nW(t)))}class iR extends nB{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,s]=z(e,n),o=e=>{if(!W(e))return;let{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;let s=e=>{W(e)&&(r(e),n.removeEventListener("pointerleave",s))};n.addEventListener("pointerleave",s,i)};return r.forEach(e=>{e.addEventListener("pointerenter",o,i)}),s}(e,(e,t)=>(ij(this.node,t,"Start"),e=>ij(this.node,e,"End"))))}unmount(){}}class iI extends nB{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=t1(nz(this.node.current,"focus",()=>this.onFocus()),nz(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function iL(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&R.postRender(()=>i(t,nW(t)))}class i$ extends nB{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,s]=z(e,n),o=e=>{let r=e.currentTarget;if(!Q(e)||G.has(r))return;G.add(r);let s=t(r,e),o=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),Q(e)&&G.has(r)&&(G.delete(r),"function"==typeof s&&s(e,{success:t}))},a=e=>{o(e,r===window||r===document||n.useGlobalTarget||q(r,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{if((n.useGlobalTarget?window:e).addEventListener("pointerdown",o,i),e instanceof HTMLElement)e.addEventListener("focus",e=>J(e,i)),!X.has(e.tagName)&&-1===e.tabIndex&&!e.hasAttribute("tabindex")&&(e.tabIndex=0)}),s}(e,(e,t)=>(iL(this.node,t,"Start"),(e,{success:t})=>iL(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iB=new WeakMap,iN=new WeakMap,iU=e=>{let t=iB.get(e.target);t&&t(e)},iH=e=>{e.forEach(iU)},iz={some:0,all:1};class iW extends nB{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:iz[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;iN.has(n)||iN.set(n,{});let r=iN.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(iH,{root:e,...t})),r[i]}(t);return iB.set(e,n),r.observe(e),()=>{iB.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(){}}let iq=(0,rk.createContext)({strict:!1}),iY=(0,rk.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),iX=(0,rk.createContext)({});function iG(e){return m(e.animate)||nD.some(t=>n_(e[t]))}function iZ(e){return!!(iG(e)||e.variants)}function iK(e){return Array.isArray(e)?e.join(" "):e}let iJ="undefined"!=typeof window,iQ={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"]},i0={};for(let e in iQ)i0[e]={isEnabled:t=>iQ[e].some(e=>!!t[e])};let i1=Symbol.for("motionComponentSymbol"),i2=iJ?rk.useLayoutEffect:rk.useEffect;function i5(e,{layout:t,layoutId:n}){return ed.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!rj[e]||"opacity"===e)}let i3=(e,t)=>t&&"number"==typeof e?t.transform(e):e,i6={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},i4=ec.length;function i9(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(ed.has(e)){o=!0;continue}if(tF(e)){i[e]=n;continue}{let t=i3(n,ts[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<i4;s++){let o=ec[s],a=e[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!o.startsWith("scale"):0===parseFloat(a))||n){let e=i3(a,ts[o]);if(!l){i=!1;let t=i6[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}`}}let i8=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
1function i7(e,t,n){for(let r in t)ev(t[r])||i5(r,n)||(e[r]=t[r])}let se=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 st(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||se.has(e)}let sn=e=>!st(e);try{!function(e){e&&(sn=t=>t.startsWith("on")?!st(t):e(t))}(require("@emotion/is-prop-valid").default)}catch{}let sr=["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 si(e){if("string"!=typeof e||e.includes("-"));else if(sr.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let ss={offset:"stroke-dashoffset",array:"stroke-dasharray"},so={offset:"strokeDashoffset",array:"strokeDasharray"};function sa(e,t,n){return"string"==typeof e?e:eG.transform(t+n*e)}function sl(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(i9(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:f,dimensions:p}=e;h.transform&&(p&&(f.transform=h.transform),delete h.transform),p&&(void 0!==i||void 0!==s||f.transform)&&(f.transformOrigin=function(e,t,n){let r=sa(t,e.x,e.width),i=sa(n,e.y,e.height);return`${r} ${i}`}(p,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?ss:so;e[s.offset]=eG.transform(-r);let o=eG.transform(t),a=eG.transform(n);e[s.array]=`${o} ${a}`}(h,o,a,l,!1)}let su=()=>({...i8(),attrs:{}}),sc=e=>"string"==typeof e&&"svg"===e.toLowerCase(),sd=e=>(t,n)=>{let r=(0,rk.useContext)(iX),i=(0,rk.useContext)(rA),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,s){let o={latestValues:function(e,t,n,r){let i={},s=r(e,{});for(let e in s)i[e]=rN(s[e]);let{initial:o,animate:a}=e,l=iG(e),u=iZ(e);t&&u&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===a&&(a=t.animate));let c=!!n&&!1===n.initial,d=(c=c||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!m(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=g(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=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,i,s,e),renderState:t()};return n&&(o.onMount=e=>n({props:r,current:e,...o}),o.onUpdate=e=>n(e)),o})(e,t,r,i);return n?s():function(e){let t=(0,rk.useRef)(null);return null===t.current&&(t.current=e()),t.current}(s)};function sh(e,t,n){let{style:r}=e,i={};for(let s in r)(ev(r[s])||t.style&&ev(t.style[s])||i5(s,e)||n?.getValue(s)?.liveStyle!==void 0)&&(i[s]=r[s]);return i}let sf={useVisualState:sd({scrapeMotionValuesFromProps:sh,createRenderState:i8})};function sp(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}function sm(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 sv=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 sg(e,t,n,r){for(let n in sm(e,t,void 0,r),t.attrs)e.setAttribute(sv.has(n)?n:ey(n),t.attrs[n])}function sy(e,t,n){let r=sh(e,t,n);for(let n in e)(ev(e[n])||ev(t[n]))&&(r[-1!==ec.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}let sb=["x","y","width","height","cx","cy","r"],sx={useVisualState:sd({scrapeMotionValuesFromProps:sy,createRenderState:su,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let s=!!e.drag;if(!s){for(let e in i)if(ed.has(e)){s=!0;break}}if(!s)return;let o=!t;if(t)for(let n=0;n<sb.length;n++){let r=sb[n];e[r]!==t[r]&&(o=!0)}o&&R.read(()=>{sp(n,r),R.render(()=>{sl(r,i,sc(n.tagName),e.transformTemplate),sg(n,r)})})}})},sw={current:null},sS={current:!1},sO=[...t$,e0,e7],sT=e=>sO.find(tL(e)),sE=new WeakMap,sP=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sC{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=tM,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=U.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,R.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=s;this.onUpdate=u,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=iG(t),this.isVariantNode=iZ(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==a[e]&&ev(t)&&t.set(a[e],!1)}}mount(e){this.current=e,sE.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)),sS.current||function(){if(sS.current=!0,iJ){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>sw.current=e.matches;e.addListener(t),t()}else sw.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||sw.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),I(this.notifyUpdate),I(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=ed.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&R.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 i0){let t=i0[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):n3()}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<sP.length;t++){let n=sP[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(ev(i))e.addValue(r,i);else if(ev(s))e.addValue(r,ea(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,ea(void 0!==t?t:i,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=ea(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=n&&("string"==typeof n&&(tV(n)||e_(n))?n=parseFloat(n):!sT(n)&&e7.test(t)&&(n=tl(e,t)),this.setBaseTarget(e,ev(n)?n.get():n)),ev(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=g(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||ev(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new h),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class sk extends sC{constructor(){super(...arguments),this.KeyframeResolver=tN}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;ev(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class sA extends sk{constructor(){super(...arguments),this.type="html",this.renderInstance=sm}readValueFromInstance(e,t){if(ed.has(t))return tb(e,t);{let n=window.getComputedStyle(e),r=(tF(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ro(e,t)}build(e,t,n){i9(e,t,n.transformTemplate)}
1scrapeMotionValuesFromProps(e,t,n){return sh(e,t,n)}}class sM extends sk{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=n3,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&sp(this.current,this.renderState)}}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(ed.has(t)){let e=ta(t);return e&&e.default||0}return t=sv.has(t)?t:ey(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return sy(e,t,n)}onBindTransform(){this.current&&!this.renderState.dimensions&&R.postRender(this.updateDimensions)}build(e,t,n){sl(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){sg(e,t,n,r)}mount(e){this.isSVGTag=sc(e.tagName),super.mount(e)}}let sV=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))})}((rE={animation:{Feature:nN},exit:{Feature:nH},inView:{Feature:iW},tap:{Feature:i$},focus:{Feature:iI},hover:{Feature:iR},pan:{Feature:rT},drag:{Feature:rS,ProjectionNode:iD,MeasureLayout:rI},layout:{ProjectionNode:iD,MeasureLayout:rI}},rP=(e,t)=>si(e)?new sM(t):new sA(t,{allowProjection:e!==rk.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function(e){var t,n;let{preloadedFeatures:r,createVisualElement:i,useRender:s,useVisualState:o,Component:a}=e;function l(e,t){var n,r,l;let u;let c={...(0,rk.useContext)(iY),...e,layoutId:function(e){let{layoutId:t}=e,n=(0,rk.useContext)(rM).id;return n&&void 0!==t?n+"-"+t:t}(e)},{isStatic:d}=c,h=function(e){let{initial:t,animate:n}=function(e,t){if(iG(e)){let{initial:t,animate:n}=e;return{initial:!1===t||n_(t)?t:void 0,animate:n_(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,rk.useContext)(iX));return(0,rk.useMemo)(()=>({initial:t,animate:n}),[iK(t),iK(n)])}(e),f=o(e,d);if(!d&&iJ){r=0,l=0,(0,rk.useContext)(iq).strict;let e=function(e){let{drag:t,layout:n}=i0;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}}(c);u=e.MeasureLayout,h.visualElement=function(e,t,n,r,i){let{visualElement:s}=(0,rk.useContext)(iX),o=(0,rk.useContext)(iq),a=(0,rk.useContext)(rA),l=(0,rk.useContext)(iY).reducedMotion,u=(0,rk.useRef)(null);r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:s,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));let c=u.current,d=(0,rk.useContext)(rV);c&&!c.projection&&i&&("html"===c.type||"svg"===c.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&&rl(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(u.current,n,i,d);let h=(0,rk.useRef)(!1);(0,rk.useInsertionEffect)(()=>{c&&h.current&&c.update(n,a)});let f=n[eb],p=(0,rk.useRef)(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return i2(()=>{c&&(h.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),B.render(c.render),p.current&&c.animationState&&c.animationState.animateChanges())}),(0,rk.useEffect)(()=>{c&&(!p.current&&c.animationState&&c.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),p.current=!1))}),c}(a,f,c,i,e.ProjectionNode)}return(0,rC.jsxs)(iX.Provider,{value:h,children:[u&&h.visualElement?(0,rC.jsx)(u,{visualElement:h.visualElement,...c}):null,s(a,e,(n=h.visualElement,(0,rk.useCallback)(e=>{e&&f.onMount&&f.onMount(e),n&&(e?n.mount(e):n.unmount()),t&&("function"==typeof t?t(e):rl(t)&&(t.current=e))},[n])),f,d,h.visualElement)]})}r&&function(e){for(let t in e)i0[t]={...i0[t],...e[t]}}(r),l.displayName="motion.".concat("string"==typeof a?a:"create(".concat(null!==(n=null!==(t=a.displayName)&&void 0!==t?t:a.name)&&void 0!==n?n:"",")"));let u=(0,rk.forwardRef)(l);return u[i1]=a,u}({...si(e)?sx:sf,preloadedFeatures:rE,useRender:function(e=!1){return(t,n,r,{latestValues:i},s)=>{let o=(si(t)?function(e,t,n,r){let i=(0,rk.useMemo)(()=>{let n=su();return sl(n,t,sc(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};i7(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 i7(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,rk.useMemo)(()=>{let n=i8();return i9(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)&&(sn(i)||!0===n&&st(i)||!t&&!st(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),l=t!==rk.Fragment?{...a,...o,ref:r}:{},{children:u}=n,c=(0,rk.useMemo)(()=>ev(u)?u.get():u,[u]);return(0,rk.createElement)(t,{...l,children:c})}}(t),createVisualElement:rP,Component:e})}))},5029:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(2115),i=r.useLayoutEffect,s=r.useEffect;function o(e){let{headManager:t,reduceComponentsToState:n}=e;function o(){if(t&&t.mountedInstances){let i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}return i(()=>{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)}}),i(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),s(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5100:(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}})},5564:(e,t,n)=>{"use strict";var r=n(9509);Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},defaultHead:function(){return h}});let i=n(8229),s=n(6966),o=n(5155),a=s._(n(2115)),l=i._(n(5029)),u=n(2464),c=n(2830),d=n(7544);function h(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(3230);let p=["name","httpEquiv","charSet","itemProp"];function m(e,t){let{inAmpMode:n}=t;return e.reduce(f,[]).reverse().concat(h(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 i=e.key||t;if(r.env.__NEXT_OPTIMIZE_FONTS&&!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,a.default.cloneElement(e,t)}return a.default.cloneElement(e,{key:i})})}let v=function(e){let{children:t}=e,n=(0,a.useContext)(u.AmpStateContext),r=(0,a.useContext)(c.HeadManagerContext);return(0,o.jsx)(l.default,{reduceComponentsToState:m,headManager:r,inAmpMode:(0,d.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(e,t){n.registered[e]=t},remove:function(e){n.registered[e]=null}}};t.default=n},5840:(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:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},5860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow((1-e)*2,2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:-1+(4-2*e)*e},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},6428:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(2115)),i=s(n(7694));function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var a=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,n,i,s=arguments.length,a=Array(s),l=0;l<s;l++)a[l]=arguments[l];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),i.render=function(){return r.default.createElement("a",i.props,i.props.children)},o(i,n)}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default.Component);t.default=(0,i.default)(a)},6440:(e,t,n)=>{"use strict";var r=n(2115),i=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(r);!function(e){if(!e||"undefined"==typeof window)return;let t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.rfm-marquee-container {\n overflow-x: hidden;\n display: flex;\n flex-direction: row;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n pointer-events: none;\n touch-action: none;\n}\n.rfm-overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n left: 0;\n top: 0;\n}\n\n.rfm-marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.rfm-initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n align-items: center;\n}\n\n.rfm-child {\n transform: var(--transform);\n}'),t.A=r.forwardRef(function(e,t){let{style:n={},className:s="",autoFill:o=!1,play:a=!0,pauseOnHover:l=!1,pauseOnClick:u=!1,direction:c="left",speed:d=50,delay:h=0,loop:f=0,gradient:p=!1,gradientColor:m="white",gradientWidth:v=2
100,onFinish:g,onCycleComplete:y,onMount:b,children:x}=e,[w,S]=r.useState(0),[O,T]=r.useState(0),[E,P]=r.useState(1),[C,k]=r.useState(!1),A=r.useRef(null),M=t||A,V=r.useRef(null),_=r.useCallback(()=>{if(V.current&&M.current){let e=M.current.getBoundingClientRect(),t=V.current.getBoundingClientRect(),n=e.width,r=t.width;("up"===c||"down"===c)&&(n=e.height,r=t.height),o&&n&&r?P(r<n?Math.ceil(n/r):1):P(1),S(n),T(r)}},[o,M,c]);r.useEffect(()=>{if(C&&(_(),V.current&&M.current)){let e=new ResizeObserver(()=>_());return e.observe(M.current),e.observe(V.current),()=>{e&&e.disconnect()}}},[_,M,C]),r.useEffect(()=>{_()},[_,x]),r.useEffect(()=>{k(!0)},[]),r.useEffect(()=>{"function"==typeof b&&b()},[]);let F=r.useMemo(()=>o?O*E/d:O<w?w/d:O/d,[o,w,O,E,d]),D=r.useMemo(()=>Object.assign(Object.assign({},n),{"--pause-on-hover":!a||l?"paused":"running","--pause-on-click":!a||l&&!u||u?"paused":"running","--width":"up"===c||"down"===c?"100vh":"100%","--transform":"up"===c?"rotate(-90deg)":"down"===c?"rotate(90deg)":"none"}),[n,a,l,u,c]),j=r.useMemo(()=>({"--gradient-color":m,"--gradient-width":"number"==typeof v?"".concat(v,"px"):v}),[m,v]),R=r.useMemo(()=>({"--play":a?"running":"paused","--direction":"left"===c?"normal":"reverse","--duration":"".concat(F,"s"),"--delay":"".concat(h,"s"),"--iteration-count":f?"".concat(f):"infinite","--min-width":o?"auto":"100%"}),[a,c,F,h,f,o]),I=r.useMemo(()=>({"--transform":"up"===c?"rotate(90deg)":"down"===c?"rotate(-90deg)":"none"}),[c]),L=r.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,t)=>i.default.createElement(r.Fragment,{key:t},r.Children.map(x,e=>i.default.createElement("div",{style:I,className:"rfm-child"},e)))),[I,x]);return C?i.default.createElement("div",{ref:M,style:D,className:"rfm-marquee-container "+s},p&&i.default.createElement("div",{style:j,className:"rfm-overlay"}),i.default.createElement("div",{className:"rfm-marquee",style:R,onAnimationIteration:y,onAnimationEnd:g},i.default.createElement("div",{className:"rfm-initial-child-container",ref:V},r.Children.map(x,e=>i.default.createElement("div",{style:I,className:"rfm-child"},e))),L(E-1)),i.default.createElement("div",{className:"rfm-marquee",style:R},L(E))):null})},6470:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1478),i=["mousedown","wheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!=typeof document&&i.forEac
1h(function(t){return(0,r.addPassiveEventListener)(document,t,e)})}}},6654:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=n(2115);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=s(e,r)),t&&(i.current=s(t,r))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(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)},6752:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let r=n(8229)._(n(2115)),i=n(5840),s=r.default.createContext(i.imageConfigDefault)},6766:(e,t,n)=>{"use strict";n.d(t,{default:()=>i.a});var r=n(1469),i=n.n(r)},7129:(e,t,n)=>{"use strict";let r,i,s;n.d(t,{Ik:()=>ed,Yj:()=>Z});var o=n(3850),a=n(1507),l=n(1348),u=n.n(l);let c=Object.prototype.toString,d=Error.prototype.toString,h=RegExp.prototype.toString,f="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",p=/^Symbol\((.*)\)(.*)$/;function m(e,t=!1){if(null==e||!0===e||!1===e)return""+e;let n=typeof e;if("number"===n)return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e;if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return f.call(e).replace(p,"Symbol($1)");let r=c.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+d.call(e)+"]":"RegExp"===r?h.call(e):null}function v(e,t){let n=m(e,t);return null!==n?n:JSON.stringify(e,function(e,n){let r=m(this[e],t);return null!==r?r:n},2)}function g(e){return null==e?[]:[].concat(e)}let y=/\$\{\s*(\w+)\s*\}/g;r=Symbol.toStringTag;class b{constructor(e,t,n,i){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[r]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=i,this.errors=[],this.inner=[],g(e).forEach(e=>{if(x.isError(e)){this.errors.push(...e.errors);let t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}i=Symbol.hasInstance,s=Symbol.toStringTag;class x extends Error{static formatError(e,t){let n=t.label||t.path||"this";return(t=Object.assign({},t,{path:n,originalPath:t.path}),"string"==typeof e)?e.replace(y,(e,n)=>v(t[n])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,i){let o=new b(e,t,n,r);if(i)return o;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[s]="Error",this.name=o.name,this.message=o.message,this.type=o.type,this.value=o.value,this.path=o.path,this.errors=o.errors,this.inner=o.inner,Error.captureStackTrace&&Error.captureStackTrace(this,x)}static[i](e){return b[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let w={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{let i=null!=r&&r!==n?` (cast from the value \`${v(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${v(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${v(n,!0)}\``+i}},S={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},O={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},T={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},E={isValue:"${path} field must be ${value}"},P={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path}
1 object contains unknown properties: ${properties}"},C={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},k={notType:e=>{let{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${v(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${v(n,!0)}\``}return x.formatError(w.notType,e)}};Object.assign(Object.create(null),{mixed:w,string:S,number:O,date:T,object:P,array:C,boolean:E,tuple:k});let A=e=>e&&e.__isYupSchema__;class M{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,s="function"==typeof n?n:(...e)=>e.every(e=>e===n);return new M(e,(e,t)=>{var n;let o=s(...e)?r:i;return null!=(n=null==o?void 0:o(t))?n:t})}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map(e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!A(r))throw TypeError("conditions must return a schema object");return r.resolve(t)}}let V={context:"$",value:"."};class _{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw TypeError("ref must be a non-empty string");this.isContext=this.key[0]===V.context,this.isValue=this.key[0]===V.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?V.context:this.isValue?V.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,o.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}_.prototype.__isYupRef=!0;let F=e=>null==e;function D(e){function t({value:t,path:n="",options:r,originalValue:i,schema:s},o,a){let l;let{name:u,test:c,params:d,message:h,skipAbsent:f}=e,{parent:p,context:m,abortEarly:v=s.spec.abortEarly,disableStackTrace:g=s.spec.disableStackTrace}=r;function y(e){return _.isRef(e)?e.getValue(t,p,m):e}function b(e={}){let r=Object.assign({value:t,originalValue:i,label:s.spec.label,path:e.path||n,spec:s.spec,disableStackTrace:e.disableStackTrace||g},d,e.params);for(let e of Object.keys(r))r[e]=y(r[e]);let o=new x(x.formatError(e.message||h,r),t,r.path,e.type||u,r.disableStackTrace);return o.params=r,o}let w=v?o:a,S={path:n,parent:p,type:u,from:r.from,createError:b,resolve:y,options:r,originalValue:i,schema:s},O=e=>{x.isError(e)?w(e):e?a(null):w(b())},T=e=>{x.isError(e)?w(e):o(e)};if(f&&F(t))return O(!0);try{var E;if(l=c.call(S,t,S),"function"==typeof(null==(E=l)?void 0:E.then)){if(r.sync)throw Error(`Validation test of type: "${S.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(l).then(O,T)}}catch(e){T(e);return}O(l)}return t.OPTIONS=e,t}class j extends Set{describe(){let e=[];for(let t of this.values())e.push(_.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(let n of this.values())t.push(e(n));return t}clone(){return new j(this.values())}merge(e,t){let n=this.clone();return e.forEach(e=>n.add(e)),t.forEach(e=>n.delete(e)),n}}function R(e,t=new Map){let n;if(A(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=R(e[r],t)}else if(e instanceof Map)for(let[r,i]of(n=new Map,t.set(e,n),e.entries()))n.set(r,R(i,t));else if(e instanceof Set)for(let r of(n=new Set,t.set(e,n),e))n.add(R(r,t));else if(e instanceof Object)for(let[r,i]of(n={},t.set(e,n),Object.entries(e)))n[r]=R(i,t);else throw Error(`Unable to clone ${e}`);return n}class I{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new j,this._blacklist=new j,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(w.notType)}),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation(e=>{e.nonNullable()})}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;let t=Object.create(Object.getPrototypeOf(this));
1return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=R(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=e.clone(),n=Object.assign({},this.spec,t.spec);return t.spec=n,t.internalTests=Object.assign({},this.internalTests,t.internalTests),t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.tests=this.tests,t.exclusiveTests=this.exclusiveTests,t.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),t.transforms=[...this.transforms,...t.transforms],t}isType(e){return null==e?!!this.spec.nullable&&null===e||!!this.spec.optional&&void 0===e:this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((t,n)=>n.resolve(t,e),t)).resolve(e)}return t}resolveOptions(e){var t,n,r,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(r&&F(i))return i;let s=v(e),o=v(i);throw TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". 2 3attempted value: ${s} 4`+(o!==s?`result of cast: ${o}`:""))}return i}_cast(e,t){let n=void 0===e?e:this.transforms.reduce((t,n)=>n.call(this,t,e,this),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:i,originalValue:s=e,strict:o=this.spec.strict}=t,a=e;o||(a=this._cast(a,Object.assign({assert:!1},t)));let l=[];for(let e of Object.values(this.internalTests))e&&l.push(e);this.runTests({path:i,value:a,originalValue:s,options:t,tests:l},n,e=>{if(e.length)return r(e,a);this.runTests({path:i,value:a,originalValue:s,options:t,tests:this.tests},n,r)})}runTests(e,t,n){let r=!1,{tests:i,value:s,originalValue:o,path:a,options:l}=e,u=e=>{r||(r=!0,t(e,s))},c=e=>{r||(r=!0,n(e,s))},d=i.length,h=[];if(!d)return c([]);let f={value:s,originalValue:o,path:a,options:l,schema:this};for(let e=0;e<i.length;e++)(0,i[e])(f,u,function(e){e&&(Array.isArray(e)?h.push(...e):h.push(e)),--d<=0&&c(h)})}asNestedTest({key:e,index:t,parent:n,parentPath:r,originalParent:i,options:s}){let o=null!=e?e:t;if(null==o)throw TypeError("Must include `key` or `index` for nested validations");let a="number"==typeof o,l=n[o],u=Object.assign({},s,{strict:!0,parent:n,value:l,originalValue:i[o],key:void 0,[a?"index":"key"]:o,path:a||o.includes(".")?`${r||""}[${a?o:`"${o}"`}]`:(r?`${r}.`:"")+e});return(e,t,n)=>this.resolve(u)._validate(l,u,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise((n,s)=>r._validate(e,t,(e,t)=>{x.isError(e)&&(e.value=t),s(e)},(e,t)=>{e.length?s(new x(e,t,void 0,void 0,i)):n(t)}))}validateSync(e,t){var n;let r;let i=this.resolve(Object.assign({},t,{value:e})),s=null!=(n=null==t?void 0:t.disableStackTrace)?n:i.spec.disableStackTrace;return i._validate(e,Object.assign({},t,{sync:!0}),(e,t)=>{throw x.isError(e)&&(e.value=t),e},(t,n)=>{if(t.length)throw new x(t,e,void 0,void 0,s);r=n}),r}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(x.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(x.isError(e))return!1;throw e}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):R(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){return 0==arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){let n=this.clone({nullable:e});return n.internalTests.nullable=D({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){let n=this.clone({optional:e});return n.internalTests.optionality=D({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=w.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=w.notNull){return this.nullability(!1,e)}required(e=w.required){return this.clone().withMutation(t=>t.nonNullable(e).defined(e))}notRequired(){return this.clone().withMutation(e=>e.nullable().optional())}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(void 0===(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]}).message&&(t.message=w.default),"function"!=typeof t.test)throw TypeError("`test` is a required parameters");let n=this.clone(),r=D(t),i=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter(e=>e.OPTIONS.name!==t.name||!i&&e.OPTIONS.test!==r.OPTIONS.test),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=g(e).map(e=>new _(e));
4return r.forEach(e=>{e.isSibling&&n.deps.push(e.key)}),n.conditions.push("function"==typeof t?new M(r,t):M.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=D({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=w.oneOf){let n=this.clone();return e.forEach(e=>{n._whitelist.add(e),n._blacklist.delete(e)}),n.internalTests.whiteList=D({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=w.notOneOf){let n=this.clone();return e.forEach(e=>{n._blacklist.add(e),n._whitelist.delete(e)}),n.internalTests.blacklist=D({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){let t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:i,nullable:s}=t.spec;return{meta:r,label:n,optional:i,nullable:s,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map(e=>({name:e.OPTIONS.name,params:e.OPTIONS.params})).filter((e,t,n)=>n.findIndex(t=>t.name===e.name)===t)}}}for(let e of(I.prototype.__isYupSchema__=!0,["validate","validateSync"]))I.prototype[`${e}At`]=function(t,n,r={}){let{parent:i,parentPath:s,schema:a}=function(e,t,n,r=n){let i,s,a;return t?((0,o.forEach)(t,(o,l,u)=>{let c=l?o.slice(1,o.length-1):o,d="tuple"===(e=e.resolve({context:r,parent:i,value:n})).type,h=u?parseInt(c,10):0;if(e.innerType||d){if(d&&!u)throw Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&h>=n.length)throw Error(`Yup.reach cannot resolve an array item at index: ${o}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[h],e=d?e.spec.types[h]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);i=n,n=n&&n[c],e=e.fields[c]}s=c,a=l?"["+o+"]":"."+o}),{schema:e,parent:i,parentPath:s}):{parent:i,parentPath:t,schema:e}}(this,t,n,r.context);return a[e](i&&i[s],Object.assign({},r,{parent:i,path:t}))};for(let e of["equals","is"])I.prototype[e]=I.prototype.oneOf;for(let e of["not","nope"])I.prototype[e]=I.prototype.notOneOf;let L=()=>!0;class $ extends I{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:L},e))}}$.prototype;class B extends I{constructor(){super({type:"boolean",check:e=>(e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e)}),this.withMutation(()=>{this.transform((e,t,n)=>{if(n.spec.coerce&&!n.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e})})}isTrue(e=E.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>F(e)||!0===e})}isFalse(e=E.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>F(e)||!1===e})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}B.prototype;let N=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function U(e){var t,n;let r=N.exec(e);return r?{year:H(r[1]),month:H(r[2],1)-1,day:H(r[3],1),hour:H(r[4]),minute:H(r[5]),second:H(r[6]),millisecond:r[7]?H(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:H(r[10]),minuteOffset:H(r[11])}:null}function H(e,t=0){return Number(e)||t}let z=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,W=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,q=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Y=RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),X=e=>F(e)||e===e.trim(),G=({}).toString();function Z(){return new K}class K extends I{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation(()=>{this.transform((e,t,n)=>{if(!n.spec.coerce||n.isType(e)||Array.isArray(e))return e;let r=null!=e&&e.toString?e.toString():e;return r===G?e:r})})}required(e){return super.required(e).withMutation(t=>t.test({message:e||w.required,name:"required",skipAbsent:!0,test:e=>!!e.length}))}notRequired(){return super.notRequired().withMutation(e=>(e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e))}length(e,t=S.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=S.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=S.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"==typeof t?{excludeEmptyString:i=!1,message:n,name:r}=t:n=t),this.test({name:r||"matches",message:n||S.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&i||-1!==t.search(e)})}email(e=S.email){return this.matches(z,{name:"email",message:e,excludeEmptyString:!0})}url(e=S.url){return this.matches(W,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=S.uuid){return this.matches(q,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"==typeof e?{message:r="",allowOffset:t=!1,precision:n}=e:r=e),this.matches(Y,{name:"datetime",message:r||S.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||S.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;let n=U(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||S.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||void 0==n)return!0;let t=U(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=S.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:X})}lowercase(e=S.lowercase){return this.transform(e=>F(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>F(e)||e===e.toLowerCase()})}uppercase(e=S.uppercase){return this.transform(e=>F(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>F(e)||e===e.toUpperCase()})}}Z.prototype=K.prototype;let J=e=>e!=+e;class Q extends I{constructor(){super({type:"number",check:e=>(e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!J(e))}),this.withMutation(()=>{this.transform((e,t,n)=>{if(!n.spec.coerce)return e;let r=e;if("string"==typeof r){if(""===(r=r.replace(/\s/g,"")))return NaN;r*=1}return n.isType(r)||null===r?r:parseFloat(r)})})}min(e,t=O.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e,t=O.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e,t=O.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e,t=O.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(e=O.positive){return this.moreThan(0,e)}negative(e=O.negative){return this.lessThan(0,e)}integer(e=O.integer){return this.test({name:"integer",message:e,ski
4pAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform(e=>F(e)?e:0|e)}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw TypeError("Only valid options for round() are: "+n.join(", "));return this.transform(t=>F(t)?t:Math[e](t))}}Q.prototype;let ee=new Date(""),et=e=>"[object Date]"===Object.prototype.toString.call(e);function en(){return new er}class er extends I{constructor(){super({type:"date",check:e=>et(e)&&!isNaN(e.getTime())}),this.withMutation(()=>{this.transform((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:isNaN(e=function(e){let t=U(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e))?er.INVALID_DATE:new Date(e))})}prepareParam(e,t){let n;if(_.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=T.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=T.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function ei(e,t){let n=1/0;return e.some((e,r)=>{var i;if(null!=(i=t.path)&&i.includes(e))return n=r,!0}),n}function es(e){return(t,n)=>ei(e,t)-ei(e,n)}er.INVALID_DATE=ee,en.prototype=er.prototype,en.INVALID_DATE=ee;let eo=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(e){}return n.isType(r)?r:e},ea=(e,t)=>{let n=[...(0,o.normalizePath)(t)];if(1===n.length)return n[0]in e;let r=n.pop(),i=(0,o.getter)((0,o.join)(n),!0)(e);return!!(i&&r in i)},el=e=>"[object Object]"===Object.prototype.toString.call(e);function eu(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(e=>-1===n.indexOf(e))}let ec=es([]);function ed(e){return new eh(e)}class eh extends I{constructor(e){super({type:"object",check:e=>el(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=ec,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{e&&this.shape(e)})}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let i=this.fields,s=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,o=[].concat(this._nodes,Object.keys(r).filter(e=>!this._nodes.includes(e))),a={},l=Object.assign({},t,{parent:a,__validating:t.__validating||!1}),u=!1;for(let e of o){let n=i[e],o=e in r;if(n){let i;let s=r[e];l.path=(t.path?`${t.path}.`:"")+e;let o=(n=n.resolve({value:s,context:t.context,parent:a}))instanceof I?n.spec:void 0,c=null==o?void 0:o.strict;if(null!=o&&o.strip){u=u||e in r;continue}void 0!==(i=t.__validating&&c?r[e]:n.cast(r[e],l))&&(a[e]=i)}else o&&!s&&(a[e]=r[e]);(o!==e in a||a[e]!==r[e])&&(u=!0)}return u?a:r}_validate(e,t={},n,r){let{from:i=[],originalValue:s=e,recursive:o=this.spec.recursive}=t;t.from=[{schema:this,value:s},...i],t.__validating=!0,t.originalValue=s,super._validate(e,t,n,(e,i)=>{if(!o||!el(i)){r(e,i);return}s=s||i;let a=[];for(let e of this._nodes){let n=this.fields[e];!(!n||_.isRef(n))&&a.push(n.asNestedTest({options:t,key:e,parent:i,parentPath:t.path,originalParent:s}))}this.runTests({tests:a,value:i,originalValue:s,options:t},n,t=>{r(t.sort(this._sortErrors).concat(e),i)})})}clone(e){let t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[e,t]of Object.entries(this.fields)){let r=n[e];n[e]=void 0===r?t:r}return t.withMutation(t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges]))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};
4return this._nodes.forEach(n=>{var r;let i=this.fields[n],s=e;null!=(r=s)&&r.value&&(s=Object.assign({},s,{parent:s.value,value:s.value[n]})),t[n]=i&&"getDefault"in i?i.getDefault(s):void 0}),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,i=new Set(t.map(([e,t])=>`${e}-${t}`));function s(e,t){let s=(0,o.split)(e)[0];r.add(s),i.has(`${t}-${s}`)||n.push([t,s])}for(let t of Object.keys(e)){let n=e[t];r.add(t),_.isRef(n)&&n.isSibling?s(n.path,t):A(n)&&"deps"in n&&n.deps.forEach(e=>s(e,t))}return u().array(Array.from(r),n).reverse()}(e,t),n._sortErrors=es(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation(n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)})}partial(){let e={};for(let[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return function e(t){if("fields"in t){let n={};for(let[r,i]of Object.entries(t.fields))n[r]=e(i);return t.setFields(n)}if("array"===t.type){let n=t.optional();return n.innerType&&(n.innerType=e(n.innerType)),n}return"tuple"===t.type?t.optional().clone({types:t.spec.types.map(e)}):"optional"in t?t.optional():t}(this)}pick(e){let t={};for(let n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter(([t,n])=>e.includes(t)&&e.includes(n)))}omit(e){let t=[];for(let n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=(0,o.getter)(e,!0);return this.transform(i=>{if(!i)return i;let s=i;return ea(i,e)&&(s=Object.assign({},i),n||delete s[e],s[t]=r(i)),s})}json(){return this.transform(eo)}exact(e){return this.test({name:"exact",exclusive:!0,message:e||P.exact,test(e){if(null==e)return!0;let t=eu(this.schema,e);return 0===t.length||this.createError({params:{properties:t.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(e=!0,t=P.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;let n=eu(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=P.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>{if(!t)return t;let n={};for(let r of Object.keys(t))n[e(r)]=t[r];return n})}camelCase(){return this.transformKeys(a.camelCase)}snakeCase(){return this.transformKeys(a.snakeCase)}constantCase(){return this.transformKeys(e=>(0,a.snakeCase)(e).toUpperCase())}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);for(let[i,s]of(n.fields={},Object.entries(t.fields))){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),n.fields[i]=s.describe(t)}return n}}ed.prototype=eh.prototype;class ef extends I{constructor(e){super({type:"array",spec:{types:e},check:e=>Array.isArray(e)}),this.innerType=void 0,this.innerType=e}_cast(e,t){let n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1,i=n.map((e,n)=>{let i=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${n}]`}));return i!==e&&(r=!0),i});return r?i:n}_validate(e,t={},n,r){var i;let s=this.innerType,o=null!=(i=t.recursive)?i:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,(i,a)=>{var l,u;if(!o||!s||!this._typeCheck(a)){r(i,a);return}let c=Array(a.length);for(let n=0;n<a.length;n++)c[n]=s.asNestedTest({options:t,index:n,parent:a,parentPath:t.path,originalParent:null!=(u=t.originalValue)?u:e});this.runTests({value:a,tests:c,originalValue:null!=(l=t.originalValue)?l:e,options:t},n,e=>r(e.concat(i),a))})}clone(e){let t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(eo)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!A(e))throw TypeError("`array.of()` sub-schema must be a valid yup schema not: "+v(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=C.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||C.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||C.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default(()=>[]).transform((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform(e=>null!=e?e.filter(t):e)}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);if(t.innerType){var r;let i=e;null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),n.innerType=t.innerType.describe(i)}return n}}ef.prototype;class ep extends I{constructor(e){super({type:"tuple",spec:{types:e},check(e){let t=this.spec.types;return Array.isArray(e)&&e.length===t.length}}),this.withMutation(()=>{this.typeError(k.notType)})}_cast(e,t){let{types:n}=this.spec,r=super._cast(e,t);if(!this._typeCheck(r))return r;let i=!1,s=n.map((e,n)=>{let s=e.cast(r[n],Object.assign({},t,{path:`${t.path||""}[${n}]`}));return s!==r[n]&&(i=!0),s});return i?s:r}_validate(e,t={},n,r){let i=this.spec.types;super._validate(e,t,n,(s,o)=>{var a,l;if(!this._typeCheck(o)){r(s,o);return}let u=[];for(let[n,r]of i.entries())u[n]=r.asNestedTest({options:t,index:n,parent:o,parentPath:t.path,originalParent:null!=(l=t.originalValue)?l:e});this.runTests({value:o,tests:u,originalValue:null!=(a=t.originalValue)?a:e,options:t},n,e=>r(e.concat(s),o))})}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);return n.innerType=t.spec.types.map((t,n)=>{var r;let i=e;return null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[n]})),t.describe(i)}),n}}function em(e){try{return e()}catch(e){if(x.isError(e))return Promise.reject(e);throw e}}ep.prototype;class ev{constructor(e){this.type="lazy",this.__isYupSchema__=!0,this.spec=void 0,this._resolve=(e,t={})=>{let n=this.builder(e,t);if(!A(n))throw TypeError("lazy() functions must return a valid schema");return this.spec.optional&&(n=n.optional()),n.resolve(t)},this.builder=e,this.spec={meta:void 0,optional:!1}}clone(e){let t=new ev(this.builder);return t.spec=Object.assign({},this.spec,e),t}optionality(e){return this.clone({optional:e})}optional(){return this.optionality(!0)}resolve(e){return this._resolve(e.value,e)}cast(e,t){return this._resolve(e,t).cast(e,t)}asNestedTest(e){let{key:t,index:n,parent:r,options:i}=e,s=r[null!=n?n:t];return this._resolve(s,Object.assign({},i,{value:s,parent:r})).asNestedTest(e)}validate(e,t){return em(()=>this._resolve(e,t).validate(e,t))}validateSync(e,t){return this._resolve(e,t).validateSync(e,t)}validateAt(e,t,n){return em(()=>this._resolve(t,n).validateAt(e,t,n))}validateSyncAt(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)}isValid(e,t){try{return this._resolve(e,t).isValid(e,t)}catch(e){if(x.isError(e))return Promise.resolve(!1);throw e}}isValidSync(e,t){return this._resolve(e,t).isValidSync(e,t)}describe(e){return e?this.resolve(e).describe(e):{type:"lazy",meta:this.spec.meta,label:void 0}}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}}}
4,7452:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=o(n(2115)),s=o(n(7694));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return i.default.createElement("button",this.props,this.props.children)}}]),t}(i.default.Component);t.default=(0,s.default)(a)},7497:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||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};a(n(3563));var i=a(n(5860)),s=a(n(6470)),o=a(n(5595));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return i.default[e.smooth]||i.default.defaultEasing},u=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,new Date().getTime())},c=function(){return{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null}},d=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollLeft;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageXOffset:r?document.documentElement.scrollLeft:document.body.scrollLeft},h=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop},f=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollWidth-t.offsetWidth;var n=document.body,r=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth)},p=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollHeight-t.offsetHeight;var n=document.body,r=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)},m=function e(t,n,r){var i=n.data;if(!n.ignoreCancelEvents&&i.cancel){o.default.registered.end&&o.default.registered.end(i.to,i.target,i.currentPositionY);return}if(i.delta=Math.round(i.targetPosition-i.startPosition),null===i.start&&(i.start=r),i.progress=r-i.start,i.percent=i.progress>=i.duration?1:t(i.progress/i.duration),i.currentPosition=i.startPosition+Math.ceil(i.delta*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?n.horizontal?i.containerElement.scrollLeft=i.currentPosition:i.containerElement.scrollTop=i.currentPosition:n.horizontal?window.scrollTo(i.currentPosition,0):window.scrollTo(0,i.currentPosition),i.percent<1){var s=e.bind(null,t,n);u.call(window,s);return}o.default.registered.end&&o.default.registered.end(i.to,i.target,i.currentPosition)},v=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null}
4,g=function(e,t,n,r){if(t.data=t.data||c(),window.clearTimeout(t.data.delayTimeout),s.default.subscribe(function(){t.data.cancel=!0}),v(t),t.data.start=null,t.data.cancel=!1,t.data.startPosition=t.horizontal?d(t):h(t),t.data.targetPosition=t.absolute?e:e+t.data.startPosition,t.data.startPosition===t.data.targetPosition){o.default.registered.end&&o.default.registered.end(t.data.to,t.data.target,t.data.currentPosition);return}t.data.delta=Math.round(t.data.targetPosition-t.data.startPosition),t.data.duration=("function"==typeof(i=t.duration)?i:function(){return i})(t.data.delta),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=n,t.data.target=r;var i,a=l(t),f=m.bind(null,a,t);if(t&&t.delay>0){t.data.delayTimeout=window.setTimeout(function(){o.default.registered.begin&&o.default.registered.begin(t.data.to,t.data.target),u.call(window,f)},t.delay);return}o.default.registered.begin&&o.default.registered.begin(t.data.to,t.data.target),u.call(window,f)},y=function(e){return(e=r({},e)).data=e.data||c(),e.absolute=!0,e};t.default={animateTopScroll:g,getAnimationType:l,scrollToTop:function(e){g(0,y(e))},scrollToBottom:function(e){v(e=y(e)),g(e.horizontal?f(e):p(e),e)},scrollTo:function(e,t){g(e,y(t))},scrollMore:function(e,t){v(t=y(t)),g(e+(t.horizontal?d(t):h(t)),t)}}},7544:(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}})},7694:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||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},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=c(n(2115)),o=c(n(8080)),a=c(n(1880)),l=c(n(8637)),u=c(n(1566));function c(e){return e&&e.__esModule?e:{default:e}}var d={to:l.default.string.isRequired,containerId:l.default.string,container:l.default.object,activeClass:l.default.string,activeStyle:l.default.object,spy:l.default.bool,horizontal:l.default.bool,smooth:l.default.oneOfType([l.default.bool,l.default.string]),offset:l.default.number,delay:l.default.number,isDynamic:l.default.bool,onClick:l.default.func,duration:l.default.oneOfType([l.default.number,l.default.func]),absolute:l.default.bool,onSetActive:l.default.func,onSetInactive:l.default.func,ignoreCancelEvents:l.default.bool,hashSpy:l.default.bool,saveHashHistory:l.default.bool,spyThrottle:l.default.number};t.default=function(e,t){var n=t||a.default,l=function(t){function a(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return c.call(t),t.state={active:!1},t.beforeUnmountCallbacks=[],t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,t),i(a,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();if(!o.default.isMounted(e)){var t=o.default.mount(e,this.props.spyThrottle);this.beforeUnmountCallbacks.push(t)}this.props.hashSpy&&(u.default.isMounted()||u.default.mount(n),u.default.mapContainer(this.props.to,e)),o.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){o.default.unmount(this.stateHandler,this.spyHandler),this.beforeUnmountC
4allbacks.forEach(function(e){return e()})}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n={};n=this.state&&this.state.active?r({},this.props.style,this.props.activeStyle):r({},this.props.style);var i=r({},this.props);for(var o in d)i.hasOwnProperty(o)&&delete i[o];return i.className=t,i.style=n,i.onClick=this.handleClick,s.default.createElement(e,i)}}]),a}(s.default.PureComponent),c=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t,r){var i=e.getScrollSpyContainer();if(!u.default.isMounted()||u.default.isInitialized()){var s=e.props.horizontal,o=e.props.to,a=null,l=void 0,c=void 0;if(s){var d=0,h=0,f=0;if(i.getBoundingClientRect&&(f=i.getBoundingClientRect().left),!a||e.props.isDynamic){if(!(a=n.get(o)))return;var p=a.getBoundingClientRect();h=(d=p.left-f+t)+p.width}var m=t-e.props.offset;l=m>=Math.floor(d)&&m<Math.floor(h),c=m<Math.floor(d)||m>=Math.floor(h)}else{var v=0,g=0,y=0;if(i.getBoundingClientRect&&(y=i.getBoundingClientRect().top),!a||e.props.isDynamic){if(!(a=n.get(o)))return;var b=a.getBoundingClientRect();g=(v=b.top-y+r)+b.height}var x=r-e.props.offset;l=x>=Math.floor(v)&&x<Math.floor(g),c=x<Math.floor(v)||x>=Math.floor(g)}var w=n.getActiveLink();if(c){if(o===w&&n.setActiveLink(void 0),e.props.hashSpy&&u.default.getHash()===o){var S=e.props.saveHashHistory;u.default.changeHash("",void 0!==S&&S)}e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(o,a))}if(l&&(w!==o||!1===e.state.active)){n.setActiveLink(o);var O=e.props.saveHashHistory;e.props.hashSpy&&u.default.changeHash(o,void 0!==O&&O),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(o,a))}}}};return l.propTypes=d,l.defaultProps={offset:0},l}},8080:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(3283)),i=n(1478),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,r.default)(e,t)},o={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e,t){if(e){var n=s(function(t){o.scrollHandler(e)},t);return o.scrollSpyContainers.push(e),(0,i.addPassiveEventListener)(e,"scroll",n),function(){(0,i.removePassiveEventListener)(e,"scroll",n),o.scrollSpyContainers.splice(o.scrollSpyContainers.indexOf(e),1)}}return function(){}},isMounted:function(e){return -1!==o.scrollSpyContainers.indexOf(e)},currentPositionX:function(e){if(e!==document)return e.scrollLeft;var t=void 0!==window.scrollY,n="CSS1Compat"===(document.compatMode||"");return t?window.scrollX:n?document.documentElement.scrollLeft:document.body.scrollLeft},currentPositionY:function(e){if(e!==document)return e.scrollTop;var t=void 0!==window.scrollX,n="CSS1Compat"===(document.compatMode||"");return t?window.scrollY:n?document.documentElement.scrollTop:document.body.scrollTop},scrollHandler:function(e){(o.scrollSpyContainers[o.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach(function(t){return t(o.currentPositionX(e),o.currentPositionY(e))})},addStateHandler:function(e){o.spySetState.push(e)},addSpyHandler:function(e,t){var n=o.scrollSpyContainers[o.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e)},updateStates:function(){o.spySetState.forEach(function(e){return e()})},unmount:function(e,t){o.scrollSpyContainers.forEach(function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.indexOf(t)>-1&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)}),o.spySetState&&o.spySetState.length&&o.spySetState.indexOf(e)>-1&&o.spySetState.splice(o.spySetState.indexOf(e),1),document.removeEventListener("scroll",o.scrollHandler)},update:function(){return o.scrollSpyContainers.forEach(function(e){return o.scrollHandler(e)})}};t.default=o},8637:(e,t,n)=>{e.exports=n(9399)()}
4,8883:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),n(3230);let r=n(5100),i=n(5840);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:f=!1,priority:p=!1,loading:m,className:v,quality:g,width:y,height:b,fill:x=!1,style:w,overrideSrc:S,onLoad:O,onLoadingComplete:T,placeholder:E="empty",blurDataURL:P,fetchPriority:C,decoding:k="async",layout:A,objectFit:M,objectPosition:V,lazyBoundary:_,lazyRoot:F,...D}=e,{imgConf:j,showAltText:R,blurComplete:I,defaultLoader:L}=t,$=j||i.imageConfigDefault;if("allSizes"in $)l=$;else{let e=[...$.deviceSizes,...$.imageSizes].sort((e,t)=>e-t),t=$.deviceSizes.sort((e,t)=>e-t),r=null==(n=$.qualities)?void 0:n.sort((e,t)=>e-t);l={...$,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===L)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let B=D.loader||L;delete D.loader,delete D.srcSet;let N="__next_img_default"in B;if(N){if("custom"===l.loader)throw Object.defineProperty(Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=B;B=t=>{let{config:n,...r}=t;return e(r)}}if(A){"fill"===A&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[A];t&&!h&&(h=t)}let U="",H=o(y),z=o(b);if((a=d)&&"object"==typeof a&&(s(a)||void 0!==a.src)){let e=s(d)?d.default:d;if(!e.src)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(u=e.blurWidth,c=e.blurHeight,P=P||e.blurDataURL,U=e.src,!x){if(H||z){if(H&&!z){let t=H/e.width;z=Math.round(e.height*t)}else if(!H&&z){let t=z/e.height;H=Math.round(e.width*t)}}else H=e.width,z=e.height}}let W=!p&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:U)||d.startsWith("data:")||d.startsWith("blob:"))&&(f=!0,W=!1),l.unoptimized&&(f=!0),N&&!l.dangerouslyAllowSVG&&d.split("?",1)[0].endsWith(".svg")&&(f=!0);let q=o(g),Y=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:V}:{},R?{}:{color:"transparent"},w),X=I||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:H,heightInt:z,blurWidth:u,blurHeight:c,blurDataURL:P||"",objectFit:Y.objectFit})+'")':'url("'+E+'")',G=X?{backgroundSize:Y.objectFit||"cover",backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:X}:{},Z=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:f,width:H,quality:q,sizes:h,loader:B});return{props:{...D,loading:W?"lazy":m,fetchPriority:C,width:H,height:z,decoding:k,className:v,style:{...Y,...G},sizes:Z.sizes,srcSet:Z.srcSet,src:S||Z.src},meta:{unoptimized:f,priority:p,placeholder:E,fill:x}}}}
4,9183:(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function s(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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){s(e,t,n[t])}):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){(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 u(e,t){if(e){if("string"==typeof e)return l(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function c(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)||u(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 d(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Ay:()=>nP});var h,f,p,m=n(2115),v=n.t(m,2),g=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function x(e,t){return(x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S=function(){return!!e})()}function O(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(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 T=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepe
4nd?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++},t.flush=function(){this.tags.forEac
vendor: 4,503 bytes, line 4
4h(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),E=Math.abs,P=String.fromCharCode,C=Object.assign;function k(e,t,n){return e.replace(t,n)}function A(e,t){return e.indexOf(t)}function M(e,t){return 0|e.charCodeAt(t)}function V(e,t,n){return e.slice(t,n)}function _(e){return e.length}function F(e,t){return t.push(e),e}var D=1,j=1,R=0,I=0,L=0,$="";function B(e,t,n,r,i,s,o){return{value:e,root:t,parent:n,type:r,props:i,children:s,line:D,column:j,length:o,return:""}}function N(e,t){return C(B("",null,null,"",null,null,0),e,{length:-e.length},t)}function U(){return L=I<R?M($,I++):0,j++,10===L&&(j=1,D++),L}function H(){return M($,I)}function z(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 W(e){return D=j=1,R=_($=e),I=0,[]}function q(e){var t,n;return(t=I-1,n=function e(t){for(;U();)switch(L){case t:return I;case 34:case 39:34!==t&&39!==t&&e(L);break;case 40:41===t&&e(t);break;case 92:U()}return I}(91===e?e+2:40===e?e+1:e),V($,t,n)).trim()}var Y="-ms-",X="-moz-",G="-webkit-",Z="comm",K="rule",J="decl",Q="@keyframes";function ee(e,t){for(var n="",r=e.length,i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function et(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case J:return e.return=e.return||e.value;case Z:return"";case Q:return e.return=e.value+"{"+ee(e.children,r)+"}";case K:e.value=e.props.join(",")}return _(n=ee(e.children,r))?e.return=e.value+"{"+n+"}":""}function en(e,t,n,r,i,s,o,a,l,u,c){for(var d=i-1,h=0===i?s:[""],f=h.length,p=0,m=0,v=0;p<r;++p)for(var g=0,y=V(e,d+1,d=E(m=o[p])),b=e;g<f;++g)(b=(m>0?h[g]+" "+y:k(y,/&\f/g,h[g])).trim())&&(l[v++]=b);return B(e,t,n,0===i?K:a,l,u,c)}function er(e,t,n,r){return B(e,t,n,J,V(e,0,r),V(e,r+1,-1),r)}var ei=function(e,t,n){for(var r=0,i=0;r=i,i=H(),38===r&&12===i&&(t[n]=1),!z(i);)U();return V($,e,I)},es=function(e,t){var n=-1,r=44;do switch(z(r)){case 0:38===r&&12===H()&&(t[n]=1),e[n]+=ei(I-1,t,n);break;case 2:e[n]+=q(r);break;case 4:if(44===r){e[++n]=58===H()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=P(r)}while(r=U());return e},eo=function(e,t){var n;return n=es(W(e),t),$="",n},ea=new WeakMap,el=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)||ea.get(n))&&!r){ea.set(e,!0);for(var i=[],s=eo(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]}}},eu=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ec=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case J:e.return=function e(t,n){switch(45^M(t,0)?(((n<<2^M(t,0))<<2^M(t,1))<<2^M(t,2))<<2^M(t,3):0){case 5103:return G+"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 G+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return G+t+X+t+Y+t+t;case 6828:case 4268:return G+t+Y+t+t;case 6165:return G+t+Y+"flex-"+t+t;case 5187:return G+t+k(t,/(\w+).+(:[^]+)/,G+"box-$1$2"+Y+"flex-$1$2")+t;case 5443:return G+t+Y+"flex-item-"+k(t,/flex-|-self/,"")+t;case 4675:return G+t+Y+"flex-line-pack"+k(t,/align-content|flex-|-self/,"")+t;case 5548:return G+t+Y+k(t,"shrink","negative")+t;case 5292:return G+t+Y+k(t,"basis","preferred-size")+t;case 6060:return G+"box-"+k(t,"-grow","")+G+t+Y+k(t,"grow","positive")+t;case 4554:return G+k(t,/([^-])(transform)/g,"$1"+G+"$2")+t;case 6187:return k(k(k(t,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),t,"")+t;case 5495:case 3959:return k(t,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return k(k(t,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+Y+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+t+t;case 4095:case 3583:case 4068:case 2532:return k(t,/(.+)-inline(.+)/,G+"$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(_(t)-1-n>6)switch(M(t,n+1)){case 109:if(45!==M(t,n+4))break;case 102:return k(t,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+X+(108==M(t,
vendor: 5,279 bytes, line 4
4n+3)?"$3":"$2-$3"))+t;case 115:return~A(t,"stretch")?e(k(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==M(t,n+1))break;case 6444:switch(M(t,_(t)-3-(~A(t,"!important")&&10))){case 107:return k(t,":",":"+G)+t;case 101:return k(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+(45===M(t,14)?"inline-":"")+"box$3$1"+G+"$2$3$1"+Y+"$2box$3")+t}break;case 5936:switch(M(t,n+11)){case 114:return G+t+Y+k(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return G+t+Y+k(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return G+t+Y+k(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return G+t+Y+t+t}return t}(e.value,e.length);break;case Q:return ee([N(e,{value:k(e.value,"@","@"+G)})],r);case K:if(e.length)return e.props.map(function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return ee([N(e,{props:[k(t,/:(read-\w+)/,":"+X+"$1")]})],r);case"::placeholder":return ee([N(e,{props:[k(t,/:(plac\w+)/,":"+G+"input-$1")]}),N(e,{props:[k(t,/:(plac\w+)/,":"+X+"$1")]}),N(e,{props:[k(t,/:(plac\w+)/,Y+"input-$1")]})],r)}return""}).join("")}}],ed=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},eh=function(e,t,n){ed(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)}},ef={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},ep=/[A-Z]|^ms/g,em=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ev=function(e){return 45===e.charCodeAt(1)},eg=function(e){return null!=e&&"boolean"!=typeof e},ey=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return ev(e)?e:e.replace(ep,"-$&").toLowerCase()}),eb=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(em,function(e,t,n){return f={name:t,styles:n,next:f},t})}return 1===ef[e]||ev(e)||"number"!=typeof t||0===t?t:t+"px"};function ex(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 f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},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+=ex(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]+"}":eg(o)&&(r+=ey(s)+":"+eb(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++)eg(o[a])&&(r+=ey(s)+":"+eb(s,o[a])+";");else{var l=ex(e,t,o);switch(s){case"animation":case"animationName":r+=ey(s)+":"+l+";";break;default:r+=s+"{"+l+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var i=f,s=n(e);return f=i,ex(e,t,s)}}if(null==t)return n;var o=t[n];return void 0!==o?o:n}var ew=/label:\s*([^\s;{]+)\s*(;|$)/g;function eS(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="";f=void 0;var o=e[0];null==o||void 0===o.raw?(i=!1,s+=ex(n,t,o)):s+=o[0];for(var a=1;a<e.length;a++)s+=ex(n,t,e[a]),i&&(s+=o[a]);ew.lastIndex=0;for(var l="";null!==(r=ew.exec(s));)l+="-"+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))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((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)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(s)+l,styles:s,next:f}}var eO=!!v.useInsertionEffect&&v.useInsertionEffect,eT=eO||function(e){return e()};eO||m.useLayoutEffect;var eE=m.createContext("undefined"!=typeof HTMLElement?function(e){var t,n,r,i,s,o=e.key;if("css"===o){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var l=e.stylisPlugins||ec,u={},c=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)u[t[n]]=!0;c.push(e)});var d=(n=(t=[el,eu].concat(l,[et,(r=function(e){s.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}
4),h=function(e){var t,n;return ee((n=function e(t,n,r,i,s,o,a,l,u){for(var c,d=0,h=0,f=a,p=0,m=0,v=0,g=1,y=1,b=1,x=0,w="",S=s,O=o,T=i,E=w;y;)switch(v=x,x=U()){case 40:if(108!=v&&58==M(E,f-1)){-1!=A(E+=k(q(x),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:E+=q(x);break;case 9:case 10:case 13:case 32:E+=function(e){for(;L=H();)if(L<33)U();else break;return z(e)>2||z(L)>3?"":" "}(v);break;case 92:E+=function(e,t){for(var n;--t&&U()&&!(L<48)&&!(L>102)&&(!(L>57)||!(L<65))&&(!(L>70)||!(L<97)););return n=I+(t<6&&32==H()&&32==U()),V($,e,n)}(I-1,7);continue;case 47:switch(H()){case 42:case 47:F((c=function(e,t){for(;U();)if(e+L===57)break;else if(e+L===84&&47===H())break;return"/*"+V($,t,I-1)+"*"+P(47===e?e:U())}(U(),I),B(c,n,r,Z,P(L),V(c,2,-2),0)),u);break;default:E+="/"}break;case 123*g:l[d++]=_(E)*b;case 125*g:case 59:case 0:switch(x){case 0:case 125:y=0;case 59+h:-1==b&&(E=k(E,/\f/g,"")),m>0&&_(E)-f&&F(m>32?er(E+";",i,r,f-1):er(k(E," ","")+";",i,r,f-2),u);break;case 59:E+=";";default:if(F(T=en(E,n,r,d,h,s,l,w,S=[],O=[],f),o),123===x){if(0===h)e(E,n,T,T,S,o,f,l,O);else switch(99===p&&110===M(E,3)?100:p){case 100:case 108:case 109:case 115:e(t,T,T,i&&F(en(t,T,T,0,0,s,l,w,s,S=[],f),O),s,O,f,l,i?S:O);break;default:e(E,T,T,T,[""],O,0,l,O)}}}d=h=m=0,g=b=1,w=E="",f=a;break;case 58:f=1+_(E),m=v;default:if(g<1){if(123==x)--g;else if(125==x&&0==g++&&125==(L=I>0?M($,--I):0,j--,10===L&&(j=1,D--),L))continue}switch(E+=P(x),x*g){case 38:b=h>0?1:(E+="\f",-1);break;case 44:l[d++]=(_(E)-1)*b,b=1;break;case 64:45===H()&&(E+=q(U())),p=H(),h=f=_(w=E+=function(e){for(;!z(H());)U();return V($,e,I)}(I)),x++;break;case 45:45===v&&2==_(E)&&(g=0)}}return o}("",null,null,null,[""],t=W(t=e),0,[0],t),$="",n),d)},f={key:o,sheet:new T({key:o,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:u,registered:{},insert:function(e,t,n,r){s=n,h(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)}};return f.sheet.hydrate(c),f}({key:"css"}):null);eE.Provider;var eP=m.createContext({}),eC={}.hasOwnProperty,ek="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",eA=function(e,t){var n={};for(var r in t)eC.call(t,r)&&(n[r]=t[r]);return n[ek]=e,n},eM=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ed(t,n,r),eT(function(){return eh(t,n,r)}),null},eV=(h=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=eS(l,void 0,m.useContext(eP));u+=t.key+"-"+c.name;var d={};for(var h in e)eC.call(e,h)&&"css"!==h&&h!==ek&&(d[h]=e[h]);return d.className=u,n&&(d.ref=n),m.createElement(m.Fragment,null,m.createElement(eM,{cache:t,serialized:c,isStringTag:"string"==typeof a}),m.createElement(a,d))},(0,m.forwardRef)(function(e,t){return h(e,(0,m.useContext)(eE),t)}));n(2243);var e_=function(e,t){var n=arguments;if(null==t||!eC.call(t,"css"))return m.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=eV,i[1]=eA(e,t);for(var s=2;s<r;s++)i[s]=n[s];return m.createElement.apply(null,i)};function eF(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return eS(t)}!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(e_||(e_={}));var eD=n(7650);let ej=Math.min,eR=Math.max,eI=Math.round,eL=Math.floor,e$=e=>({x:e,y:e}),eB={left:"right",right:"left",bottom:"top",top:"bottom"},eN={start:"end",end:"start"};function eU(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function eH(){return"undefined"!=typeof window}function ez(e){return eY(e)?(e.nodeName||"").toLowerCase():"#document"}function eW(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eq(e){var t;return null==(t=(eY(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function eY(e){return!!eH()&&(e instanceof Node||e instanceof eW(e).Node)}function eX(e){return!!eH()&&(e instanceof Element||e instanceof eW(e).Element)}function eG(e){return!!eH()&&(e instanceof HTMLElement||e instanceof eW(e).HTMLElement)}function eZ(e){return!!eH()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof eW(e).ShadowRoot)}function eK(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=eQ(e);
4return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function eJ(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function eQ(e){return eW(e).getComputedStyle(e)}function e0(e){return eX(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function e1(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=function(e){if("html"===ez(e))return e;let t=e.assignedSlot||e.parentNode||eZ(e)&&e.host||eq(e);return eZ(t)?t.host:t}(t);return["html","body","#document"].includes(ez(n))?t.ownerDocument?t.ownerDocument.body:t.body:eG(n)&&eK(n)?n:e(n)}(e),s=i===(null==(r=e.ownerDocument)?void 0:r.body),o=eW(i);if(s){let e=e2(o);return t.concat(o,o.visualViewport||[],eK(i)?i:[],e&&n?e1(e):[])}return t.concat(i,e1(i,[],n))}function e2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function e5(e){return eX(e)?e:e.contextElement}function e3(e){let t=e5(e);if(!eG(t))return e$(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:s}=function(e){let t=eQ(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=eG(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=eI(n)!==s||eI(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}(t),o=(s?eI(n.width):n.width)/r,a=(s?eI(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}let e6=e$(0);function e4(e){let t=eW(e);return eJ()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:e6}function e9(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),o=e5(e),a=e$(1);t&&(r?eX(r)&&(a=e3(r)):a=e3(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===eW(o))&&i)?e4(o):e$(0),u=(s.left+l.x)/a.x,c=(s.top+l.y)/a.y,d=s.width/a.x,h=s.height/a.y;if(o){let e=eW(o),t=r&&eX(r)?eW(r):r,n=e,i=e2(n);for(;i&&r&&t!==n;){let e=e3(i),t=i.getBoundingClientRect(),r=eQ(i),s=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,h*=e.y,u+=s,c+=o,i=e2(n=eW(i))}}return eU({width:d,height:h,x:u,y:c})}function e8(e,t){let n=e0(e).scrollLeft;return t?t.left+n:e9(eq(e)).left+n}function e7(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var te=m.useLayoutEffect,tt=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],tn=function(){};function tr(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 ti=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===r(e)&&null!==e?[e]:[]},ts=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,a({},d(e,tt))},to=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 ta(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function tl(e){return ta(e)?window.pageYOffset:e.scrollTop}function tu(e,t){if(ta(e)){window.scrollTo(0,t);return}e.scrollTop=t}function tc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:tn,i=tl(e),s=t-i,o=0;!function t(){var a;o+=10,tu(e,s*((a=(a=o)/n-1)*a*a+1)+i),o<n?window.requestAnimationFrame(t):r(e)}()}function td(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?tu(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&tu(e,Math.max(t.offsetTop-i,0))}function th(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var tf=!1,tp="undefined"!=typeof window?window:{};tp.addEventListener&&tp.removeEventListener&&(tp.addEventListener("p",tn,{get passive
4(){return tf=!0}}),tp.removeEventListener("p",tn,!1));var tm=tf;function tv(e){return null!=e}var tg=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=c(e,1)[0];return!n.includes(t)}).reduce(function(e,t){var n=c(t,2),r=n[0],i=n[1];return e[r]=i,e},{})},ty=["children","innerProps"],tb=["children","innerProps"],tx=function(e){return"auto"===e?"bottom":e},tw=(0,m.createContext)(null),tS=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,o=e.menuShouldScrollIntoView,l=e.theme,u=((0,m.useContext)(tw)||{}).setPortalPlacement,d=(0,m.useRef)(null),h=c((0,m.useState)(r),2),f=h[0],p=h[1],v=c((0,m.useState)(null),2),g=v[0],y=v[1],b=l.spacing.controlHeight;return te(function(){var e=d.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,f=d.height,p=d.top,m=n.offsetParent.getBoundingClientRect().top,v=o?window.innerHeight:ta(l)?window.innerHeight:l.clientHeight,g=tl(l),y=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),x=m-b,w=v-p,S=x+g,O=c-g-p,T=h-v+g+y,E=g+p-b;switch(i){case"auto":case"bottom":if(w>=f)return{placement:"bottom",maxHeight:t};if(O>=f&&!o)return s&&tc(l,T,160),{placement:"bottom",maxHeight:t};if(!o&&O>=r||o&&w>=r)return s&&tc(l,T,160),{placement:"bottom",maxHeight:o?w-y:O-y};if("auto"===i||o){var P=t,C=o?x:S;return C>=r&&(P=Math.min(C-y-a,t)),{placement:"top",maxHeight:P}}if("bottom"===i)return s&&tu(l,T),{placement:"bottom",maxHeight:t};break;case"top":if(x>=f)return{placement:"top",maxHeight:t};if(S>=f&&!o)return s&&tc(l,E,160),{placement:"top",maxHeight:t};if(!o&&S>=r||o&&x>=r){var k=t;return(!o&&S>=r||o&&x>=r)&&(k=o?x-b:S-b),s&&tc(l,E,160),{placement:"top",maxHeight:k}}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==u||u(a.placement)}},[r,i,s,o,n,u,b]),t({ref:d,placerProps:a(a({},e),{},{placement:g||tx(i),maxHeight:f})})},tO=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return a({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},tT=["size"],tE=["innerProps","isRtl","size"],tP={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},tC=function(e){var t=e.size,n=d(e,tT);return e_("svg",y({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tP},n))},tk=function(e){return e_(tC,y({size:20},e),e_("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"}))},tA=function(e){return e_(tC,y({size:20},e),e_("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"}))},tM=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,s=r.colors;return a({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?s.neutral60:s.neutral20,padding:2*i,":hover":{color:n?s.neutral80:s.neutral40}})},tV=function(){var e=eF.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_"}}}(p||(p=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),t_=function(e){var t=e.delay,n=e.offset;return e_("span",{css:eF({animation:"".concat(tV," 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"},"","")})},tF=["data"],tD=["innerRef","isDisabled","isHidden","inputClassName"],tj={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},tR={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":a({content:'attr(data-value) " "',visibility:"hidden",
4whiteSpace:"pre"},tj)},tI=function(e){var t=e.children,n=e.innerProps;return e_("div",n,t)},tL={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return e_("div",y({},to(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||e_(tk,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,s=e.innerProps,o=e.menuIsOpen;return e_("div",y({ref:i},to(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 e_("div",y({},to(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||e_(tA,null))},DownChevron:tA,CrossIcon:tk,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 e_("div",y({},to(e,"group",{group:!0}),a),e_(s,y({},o,{selectProps:c,theme:u,getStyles:r,getClassNames:i,cx:n}),l),e_("div",null,t))},GroupHeading:function(e){var t=ts(e);t.data;var n=d(t,tF);return e_("div",y({},to(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return e_("div",y({},to(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return e_("span",y({},t,to(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=ts(e),i=r.innerRef,s=r.isDisabled,o=r.isHidden,l=r.inputClassName,u=d(r,tD);return e_("div",y({},to(e,"input",{"input-container":!0}),{"data-value":n||""}),e_("input",y({className:t({input:!0},l),ref:i,style:a({label:"input",color:"inherit",background:0,opacity:+!o,width:"100%"},tj),disabled:s},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=d(e,tE);return e_("div",y({},to(a(a({},i),{},{innerProps:t,isRtl:n,size:void 0===r?4:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),e_(t_,{delay:0,offset:n}),e_(t_,{delay:160,offset:!0}),e_(t_,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return e_("div",y({},to(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 e_("div",y({},to(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,l=(0,m.useRef)(null),u=(0,m.useRef)(null),d=c((0,m.useState)(tx(s)),2),h=d[0],f=d[1],p=(0,m.useMemo)(function(){return{setPortalPlacement:f}},[]),v=c((0,m.useState)(null),2),g=v[0],b=v[1],x=(0,m.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[h]+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))&&b({offset:i,rect:t})}},[r,o,h,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);te(function(){x()},[x]);var w=(0,m.useCallback)(function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&l.current&&(u.current=function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=e5(e),d=s||o?[...c?e1(c):[],...e1(t)]:[];d.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});let h=c&&l?function(e,t){let n,r=null,i=eq(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function o(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),s();let u=e.getBoundingClientRect(),{left:c,top:d,width:h,height:f}=u;if(a||t(),!h||!f)return;let p=eL(d),m=eL(i.clientWidth-(c+h)),v={rootMargin:-p+"px "+-m+"px "+-eL(i.clientHeight-(d+f))+"px "+-eL(c)+"px",threshold:eR(0,ej(1,l))||1},g=!0;function y(t){let r=t[0].intersectionRatio;if(r!==l){if(!g)return o();r?o(!1,r):n=setTimeout(()=>{o(!1,1e-7)},1e3)}1!==r||e7(u,e.getBoundingClientRect())||o(),g=!1}try{r=new IntersectionObserver(y,{...v,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(y,v)}r.observe(e)}(!0),s}(c,n):null,f=-1,p=null;a&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),c&&!u&&p.observe(c),p.observe(t));let m=u?e9(e):null;return u&&function t(){let r=e9(e);m&&!e7(m,r)&&n(),m=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;
4d.forEach(e=>{s&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=p)||e.disconnect(),p=null,u&&cancelAnimationFrame(i)}}(r,l.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);te(function(){w()},[w]);var S=(0,m.useCallback)(function(e){l.current=e,w()},[w]);if(!t&&"fixed"!==o||!g)return null;var O=e_("div",y({ref:S},to(a(a({},e),{},{offset:g.offset,position:o,rect:g.rect}),"menuPortal",{"menu-portal":!0}),i),n);return e_(tw.Provider,{value:p},t?(0,eD.createPortal)(O,t):O)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=d(e,tb);return e_("div",y({},to(a(a({},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=d(e,ty);return e_("div",y({},to(a(a({},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,l=e.selectProps,u=n.Container,c=n.Label,d=n.Remove;return e_(u,{data:r,innerProps:a(a({},to(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),i),selectProps:l},e_(c,{data:r,innerProps:a({},to(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),e_(d,{data:r,innerProps:a(a({},to(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},o),selectProps:l}))},MultiValueContainer:tI,MultiValueLabel:tI,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return e_("div",y({role:"button"},n),t||e_(tk,{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 e_("div",y({},to(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 e_("div",y({},to(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return e_("div",y({},to(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return e_("div",y({},to(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 e_("div",y({},to(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},t$=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function tB(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])||t$(n)&&t$(r)))return!1;return!0}for(var tN={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"},tU=function(e){return e_("span",y({css:tN},e))},tH={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:"",".")}},tz=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,s=e.isFocused,o=e.selectValue,l=e.selectProps,u=e.id,c=e.isAppleDevice,d=l.ariaLiveMessages,h=l.getOptionLabel,f
4=l.inputValue,p=l.isMulti,v=l.isOptionDisabled,g=l.isSearchable,y=l.menuIsOpen,b=l.options,x=l.screenReaderStatus,w=l.tabSelectsValue,S=l.isLoading,O=l["aria-label"],T=l["aria-live"],E=(0,m.useMemo)(function(){return a(a({},tH),d||{})},[d]),P=(0,m.useMemo)(function(){var e="";if(t&&E.onChange){var n=t.option,r=t.options,i=t.removedValue,s=t.removedValues,l=t.value,u=i||n||(Array.isArray(l)?null:l),c=u?h(u):"",d=r||s||void 0,f=d?d.map(h):[],p=a({isDisabled:u&&v(u,o),label:c,labels:f},t);e=E.onChange(p)}return e},[t,E,v,o,h]),C=(0,m.useMemo)(function(){var e="",t=n||r,s=!!(n&&o&&o.includes(n));if(t&&E.onFocus){var a={focused:t,label:h(t),isDisabled:v(t,o),isSelected:s,options:i,context:t===n?"menu":"value",selectValue:o,isAppleDevice:c};e=E.onFocus(a)}return e},[n,r,h,v,E,i,o,c]),k=(0,m.useMemo)(function(){var e="";if(y&&b.length&&!S&&E.onFilter){var t=x({count:i.length});e=E.onFilter({inputValue:f,resultsMessage:t})}return e},[i,f,y,E,b,x,S]),A=(null==t?void 0:t.action)==="initial-input-focus",M=(0,m.useMemo)(function(){var e="";if(E.guidance){var t=r?"value":y?"menu":"input";e=E.guidance({"aria-label":O,context:t,isDisabled:n&&v(n,o),isMulti:p,isSearchable:g,tabSelectsValue:w,isInitialFocus:A})}return e},[O,n,r,p,v,g,y,E,o,w,A]),V=e_(m.Fragment,null,e_("span",{id:"aria-selection"},P),e_("span",{id:"aria-focused"},C),e_("span",{id:"aria-results"},k),e_("span",{id:"aria-guidance"},M));return e_(m.Fragment,null,e_(tU,{id:u},A&&V),e_(tU,{"aria-live":T,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!A&&V))},tW=[{base:"A",letters:"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â·ï¼¢á¸á¸á¸ÉÆÆ"},{base:"C",letters:"Câ¸ï¼£ÄÄÄÄ\xc7á¸ÆÈ»ê¾"},{base:"D",letters:"Dâ¹ï¼¤á¸Äá¸á¸á¸á¸ÄÆÆÆê¹"},{base:"DZ",letters:"DZÇ"},{base:"Dz",letters:"DzÇ
"},{base:"E",letters:"Eâºï¼¥\xc8\xc9\xcaá»áº¾á»á»áº¼Äá¸á¸ÄÄ\xcbẺÄÈÈẸá»È¨á¸Äá¸á¸ÆÆ"},{base:"F",letters:"Fâ»ï¼¦á¸Æê»"},{base:"G",letters:"Gâ¼ï¼§Ç´ÄḠÄÄ Ç¦Ä¢Ç¤Æê ê½ê¾"},{base:"H",letters:"Hâ½ï¼¨Ä¤á¸¢á¸¦ÈḤḨḪĦⱧⱵê"},{base:"I",letters:"Iâ¾ï¼©\xcc\xcd\xceĨĪĬİ\xcfḮá»ÇÈÈá»Ä®á¸¬Æ"},{base:"J",letters:"Jâ¿ï¼ªÄ´É"},{base:"K",letters:"KâKḰǨḲĶḴÆâ±©êêêê¢"},{base:"L",letters:"LâLĿĹĽḶḸĻḼḺÅȽⱢⱠêêê"},{base:"LJ",letters:"Ç"},{base:"Lj",letters:"Ç"},{base:"M",letters:"Mâï¼á¸¾á¹á¹â±®Æ"},{base:"N",letters:"NâNǸÅ\xd1á¹Åá¹Å
á¹á¹È Æêê¤"},{base:"NJ",letters:"Ç"},{base:"Nj",letters:"Ç"},{base:"O",letters:"OâO\xd2\xd3\xd4á»á»á»á»\xd5á¹È¬á¹Åá¹á¹ÅȮȰ\xd6Ȫá»ÅÇÈÈÆ á»á»á» á»á»¢á»á»ÇªÇ¬\xd8Ç¾ÆÆêê"},{base:"OI",letters:"Æ¢"},{base:"OO",letters:"ê"},{base:"OU",letters:"È¢"},{base:"P",letters:"Pâ
ï¼°á¹á¹Æ¤â±£êêê"},{base:"Q",letters:"Qâï¼±êêÉ"},{base:"R",letters:"Râï¼²Åá¹ÅÈÈá¹á¹Åá¹ÉⱤêê¦ê"},{base:"S",letters:"Sâï¼³áºÅṤÅṠŠṦṢṨÈÅâ±¾ê¨ê"},{base:"T",letters:"TâTṪŤṬÈŢṰṮŦƬƮȾê"},{base:"TZ",letters:"ê¨"},{base:"U",letters:"Uâï¼µ\xd9\xda\xdbŨṸŪṺŬ\xdcÇÇÇÇỦŮŰÇÈÈÆ¯á»ªá»¨á»®á»¬á»°á»¤á¹²Å²á¹¶á¹´É"},{base:"V",letters:"VâVṼṾƲêÉ
"},{base:"VY",letters:"ê "},{base:"W",letters:"Wâï¼·áºáºÅ´áºáºáºâ±²"},{base:"X",letters:"XâXáºáº"},{base:"Y",letters:"YâYỲ\xddŶỸȲáºÅ¸á»¶á»´Æ³ÉỾ"},{base:"Z",letters:"ZâZŹáºÅ»Å½áºáºÆµÈ¤â±¿â±«ê¢"},{base:"a",letters:"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âï½á¸á¸
á¸ÆÆÉ"},{base:"c",letters:"câï½ÄÄÄÄ\xe7á¸ÆÈ¼ê¿â"},{base:"d",letters:"dâï½á¸Äá¸á¸á¸á¸ÄÆÉÉêº"},{base:"dz",letters:"dzÇ"},{base:"e",letters:"eâï½
\xe8\xe9\xeaá»áº¿á»
á»áº½Äá¸á¸ÄÄ\xebẻÄÈ
Èẹá»È©á¸Äá¸á¸ÉÉÇ"},{base:"f",letters:"fâï½á¸Æê¼"},{base:"g",letters:"gâï½ÇµÄḡÄÄ¡Ç§Ä£Ç¥É ê¡áµ¹ê¿"},{base:"h",letters:"hâï½Ä¥á¸£á¸§ÈḥḩḫáºÄ§â±¨â±¶É¥"},{base:"hv",letters:"Æ"},{base:"i",letters:"iâï½\xec\xed\xeeĩīÄ\xefḯá»ÇÈÈá»Ä¯á¸É¨Ä±"},{base:"j",letters:"jâï½ÄµÇ°É"},{base:"k",letters:"kâï½á¸±Ç©á¸³Ä·á¸µÆâ±ªêêê
ê£"},{base:"l",letters:"lâï½ÅÄºÄ¾á¸·á¸¹Ä¼á¸½á¸»Å¿ÅÆÉ«â±¡êêê"},{base:"lj",letters:"Ç"},{base:"m",letters:"mâï½á¸¿á¹á¹É±É¯"},{base:"n",letters:"nâï½Ç¹Å\xf1á¹
Åá¹Åá¹á¹ÆÉ²Åêê¥"},{base:"nj",letters:"Ç"},{base:"o",letters:"oâï½\xf2\xf3\xf4á»á»á»á»\xf5á¹Èá¹Åá¹á¹Åȯȱ\xf6È«á»ÅÇÈÈÆ¡á»á»á»¡á»á»£á»á»Ç«Ç\xf8Ç¿Éêêɵ"},{base:"oi",letters:"Æ£"},{base:"ou",letters:"È£"},{base:"oo",letters:"ê"},{base:"p",letters:"pâï½á¹á¹Æ¥áµ½êêê"},{base:"q",letters:"qâ ï½Éêê"},{base:"r",letters:"râ¡ï½Åá¹ÅÈÈá¹á¹Åá¹Éɽêê§ê"},{base:"s",letters:"sâ¢ï½\xdfÅá¹¥ÅṡšṧṣṩÈÅÈ¿ê©ê
áº"},{base:"t",letters:"tâ£ï½á¹«áºÅ¥á¹ÈţṱṯŧÆÊⱦê"},{base:"tz",letters:"ê©"},{base:"u",letters:"uâ¤ï½\xf9\xfa\xfbũṹūṻÅ\xfcÇÇÇÇủůűÇÈÈÆ°á»«á»©á»¯á»á»±á»¥á¹³Å³á¹·á¹µÊ"},{base:"v",letters:"vâ¥ï½á¹½á¹¿ÊêÊ"},{base:"vy",letters:"ê¡"},{base:"w",letters:"wâ¦ï½áºáºÅµáºáº
áºáºâ±³"},{base:"x",letters:"xâ§ï½áºáº"},{base:"y",letters:"yâ¨ï½á»³\xfdŷỹȳáº\xffá»·áºá»µÆ´Éỿ"},{base:"z",letters:"zâ©ï½ÅºáºÅ¼Å¾áºáºÆ¶È¥Éⱬê£"}],tq=RegExp("["+tW.map(function(e){return e.letters}).join("")+"]","g"),tY={},tX=0;tX<tW.length;tX++)for(var tG=tW[tX],tZ=0;tZ<tG.letters.length;tZ++)tY[tG.letters[tZ]]=tG.base;
4var tK=function(e){return e.replace(tq,function(e){return tY[e]})},tJ=function(e,t){void 0===t&&(t=tB);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}(tK),tQ=function(e){return e.replace(/^\s+|\s+$/g,"")},t0=function(e){return"".concat(e.label," ").concat(e.value)},t1=["innerRef"];function t2(e){var t=e.innerRef,n=tg(d(e,t1),"onExited","in","enter","exit","appear");return e_("input",y({ref:t},n,{css:eF({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 t5=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()},t3=["boxSizing","height","overflow","paddingRight","position"],t6={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function t4(e){e.cancelable&&e.preventDefault()}function t9(e){e.stopPropagation()}function t8(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function t7(){return"ontouchstart"in window||navigator.maxTouchPoints}var ne=!!("undefined"!=typeof window&&window.document&&window.document.createElement),nt=0,nn={capture:!1,passive:!1},nr=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},ni={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function ns(e){var t,n,r,i,s,o,a,l,u,c,d,h,f,p,v,g,y,b,x,w,S,O,T,E,P=e.children,C=e.lockEnabled,k=e.captureEnabled,A=(n=(t={isEnabled:void 0===k||k,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,m.useRef)(!1),l=(0,m.useRef)(!1),u=(0,m.useRef)(0),c=(0,m.useRef)(null),d=(0,m.useCallback)(function(e,t){if(null!==c.current){var n=c.current,u=n.scrollTop,d=n.scrollHeight,h=n.clientHeight,f=c.current,p=t>0,m=d-h-u,v=!1;m>t&&a.current&&(i&&i(e),a.current=!1),p&&l.current&&(o&&o(e),l.current=!1),p&&t>m?(r&&!a.current&&r(e),f.scrollTop=d,v=!0,a.current=!0):!p&&-t>u&&(s&&!l.current&&s(e),f.scrollTop=0,v=!0,l.current=!0),v&&t5(e)}},[r,i,s,o]),h=(0,m.useCallback)(function(e){d(e,e.deltaY)},[d]),f=(0,m.useCallback)(function(e){u.current=e.changedTouches[0].clientY},[]),p=(0,m.useCallback)(function(e){var t=u.current-e.changedTouches[0].clientY;d(e,t)},[d]),v=(0,m.useCallback)(function(e){if(e){var t=!!tm&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",p,t)}},[p,f,h]),g=(0,m.useCallback)(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",p,!1))},[p,f,h]),(0,m.useEffect)(function(){if(n){var e=c.current;return v(e),function(){g(e)}}},[n,v,g]),function(e){c.current=e}),M=(b=(y={isEnabled:C}).isEnabled,w=void 0===(x=y.accountForScrollbars)||x,S=(0,m.useRef)({}),O=(0,m.useRef)(null),T=(0,m.useCallback)(function(e){if(ne){var t=document.body,n=t&&t.style;if(w&&t3.forEach(function(e){var t=n&&n[e];S.current[e]=t}),w&&nt<1){var r=parseInt(S.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+r||0;Object.keys(t6).forEach(function(e){var t=t6[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&t7()&&(t.addEventListener("touchmove",t4,nn),e&&(e.addEventListener("touchstart",t8,nn),e.addEventListener("touchmove",t9,nn))),nt+=1}},[w]),E=(0,m.useCallback)(function(e){if(ne){var t=document.body,n=t&&t.style;nt=Math.max(nt-1,0),w&&nt<1&&t3.forEach(function(e){var t=S.current[e];n&&(n[e]=t)}),t&&t7()&&(t.removeEventListener("touchmove",t4,nn),e&&(e.removeEventListener("touchstart",t8,nn),e.removeEventListener("touchmove",t9,nn)))}},[w]),(0,m.useEffect)(function(){if(b){var e=O.current;return T(e),function(){E(e)}}},[b,T,E]),function(e){O.current=e});return e_(m.Fragment,null,C&&e_("div",{onClick:nr,css:ni}),P(function(e){A(e),M(e)}))}var no={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;
4opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},na=function(e){var t=e.name,n=e.onFocus;return e_("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:no,value:"",onChange:function(){}})};function nl(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 nu={clearIndicator:tM,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 a({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:tM,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 a({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 a({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 a(a({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},tR),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 a({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:tO,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,l=i.spacing,u=i.colors;return a((s(n={label:"menu"},r?({bottom:"top",top:"bottom"})[r]:"bottom","100%"),s(n,"position","absolute"),s(n,"width","100%"),s(n,"zIndex",1),n),t?{}:{backgroundColor:u.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return a({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 a({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 a({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 a({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:tO,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,s=e.theme,o=s.spacing,l=s.colors;return a({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?l.primary:r?l.primary25:"transparent",color:n?l.neutral20:i?l.neutral0:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?l.primary:l.primary50}})}
vendor: 4,121 bytes, line 4
4,placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return a({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 a({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 a({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")})}},nc={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}},nd={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:th(),captureMenuScroll:!th(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=a({ignoreCase:!0,ignoreAccents:!0,stringify:t0,trim:!0,matchFrom:"any"},void 0),r=n.ignoreCase,i=n.ignoreAccents,s=n.stringify,o=n.trim,l=n.matchFrom,u=o?tQ(t):t,c=o?tQ(s(e)):s(e);return r&&(u=u.toLowerCase(),c=c.toLowerCase()),i&&(u=tJ(u),c=tK(c)),"start"===l?c.substr(0,u.length)===u:c.indexOf(u)>-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 nh(e,t,n,r){var i=nx(e,t,n),s=nw(e,t,n),o=ny(e,t),a=nb(e,t);return{type:"option",data:t,isDisabled:i,isSelected:s,label:o,value:a,index:r}}function nf(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return nh(e,n,t,r)}).filter(function(t){return nv(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var s=nh(e,n,t,r);return nv(e,s)?s:void 0}).filter(tv)}function np(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,O(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function nm(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,O(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 nv(e,t){var n=e.inputValue,r=t.data,i=t.isSelected,s=t.label,o=t.value;return(!nO(e)||!i)&&nS(e,{label:s,value:o,data:r},void 0===n?"":n)}var ng=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},ny=function(e,t){return e.getOptionLabel(t)},nb=function(e,t){return e.getOptionValue(t)};function nx(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function nw(e,t,n){if(n.indexOf(t)>-1)return!0;
4if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=nb(e,t);return n.some(function(t){return nb(e,t)===r})}function nS(e,t,n){return!e.filterOption||e.filterOption(t,n)}var nO=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},nT=1,nE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(o,e);var t,n,i,s=(t=S(),function(){var e,n=w(o);return e=t?Reflect.construct(n,arguments,w(this).constructor):n.apply(this,arguments),function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function o(e){var t;if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,o),(t=s.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:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=nl(/^Mac/i)||nl(/^iPhone/i)||nl(/^iPad/i)||nl(/^Mac/i)&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,i=r.onChange;n.name=r.name,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,r){var i=t.props,s=i.closeMenuOnSelect,o=i.isMulti,a=i.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:a}),s&&(t.setState({inputIsHiddenAfterUpdate:!o}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,i=n.isMulti,s=n.name,o=t.state.selectValue,a=i&&t.isOptionSelected(e,o),l=t.isOptionDisabled(e,o);if(a){var u=t.getOptionValue(e);t.setValue(o.filter(function(e){return t.getOptionValue(e)!==u}),"deselect-option",e)}else if(l){t.ariaOnChange(e,{action:"select-option",option:e,name:s});return}else i?t.setValue([].concat(O(o),[e]),"select-option",e):t.setValue(e,"select-option");r&&t.blurInput()},t.removeValue=function(e){var n,r=t.props.isMulti,i=t.state.selectValue,s=t.getOptionValue(e),o=i.filter(function(e){return t.getOptionValue(e)!==s}),a=(n=o[0]||null,r?o:n);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(t.props.isMulti?[]:null,{action:"clear",removedValues:e})},t.popValue=function(){var e,n=t.props.isMulti,r=t.state.selectValue,i=r[r.length-1],s=r.slice(0,r.length-1),o=(e=s[0]||null,n?s:e);i&&t.onChange(o,{action:"pop-value",removedValue:i})},t.getFocusedOptionId=function(e){return ng(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return nm(nf(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return tr.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return ny(t.props,e)},t.getOptionValue=function(e){return nb(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,i=nu[e](n,r);i.boxSizing="border-box";var s=t.props.styles[e];return s?s(i,n):i},t.getClassNames=function(e,n){var r,i;return null===(r=(i=t.props.classNames)[e])||void 0===r?void 0:r.call(i,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){var e;return e=t.props,a(a({},tL),e.components)},t.buildCategorizedOptions=function(){return nf(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return np(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:a({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!t.props.isDisabled){var n=t.props,r=n.isMulti,i=n.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){(!e||"mousedown"!==e.type||0===e.button)&&(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focu
vendor: 6,515 bytes, line 4
4sInput():setTimeout(function(){return t.focusInput()}))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&ta(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var i=Math.abs(r.clientX-t.initialTouchX),s=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=i>5||s>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;if(t.menuListRef&&t.menuListRef.contains(document.activeElement)){t.inputRef.focus();return}t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1})},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return nO(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,i=n.backspaceRemovesValue,s=n.escapeClearsValue,o=n.inputValue,a=n.isClearable,l=n.isDisabled,u=n.menuIsOpen,c=n.onKeyDown,d=n.tabSelectsValue,h=n.openMenuOnFocus,f=t.state,p=f.focusedOption,m=f.focusedValue,v=f.selectValue;if(!l){if("function"==typeof c&&(c(e),e.defaultPrevented))return;switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||o)return;t.focusValue("previous");break;case"ArrowRight":if(!r||o)return;t.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(m)t.removeValue(m);else{if(!i)return;r?t.popValue():a&&t.clearValue()}break;case"Tab":if(t.isComposing||e.shiftKey||!u||!d||!p||h&&t.isOptionSelected(p,v))return;t.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(u){if(!p||t.isComposing)return;t.selectOption(p);break}return;case"Escape":u?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:o}),t.onMenuClose()):a&&s&&t.clearValue();break;case" ":if(o)return;if(!u){t.openMenu("first");break}if(!p)return;t.selectOption(p);break;case"ArrowUp":u?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":u?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!u)return;t.focusOption("pageup");break;case"PageDown":if(!u)return;t.focusOption("pagedown");break;case"Home":if(!u)return;t.focusOption("first");break;case"End":if(!u)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++nT),t.state.selectValue=ti(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),i=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[i],t.state.focusedOptionId=ng(n,r[i])}return t}return 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&&td(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&&(td(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);
vendor: 4,719 bytes, line 4
4n||(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(nc):a(a({},nc),this.props.theme):nc}},{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 nx(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return nw(this.props,e,t)}},{key:"filterOption",value:function(e,t){return nS(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,l=e.menuIsOpen,u=e.required,c=this.getComponents().Input,d=this.state,h=d.inputIsHidden,f=d.ariaSelection,p=this.commonProps,v=r||this.getElementId("input"),g=a(a(a({"aria-autocomplete":"list","aria-expanded":l,"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":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?(null==f?void 0:f.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?m.createElement(c,y({},p,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:t,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:o,type:"text",value:i},g)):m.createElement(t2,y({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:tn,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,f=u.inputValue,p=u.placeholder,v=this.state,g=v.selectValue,b=v.focusedValue,x=v.isFocused;if(!this.hasValue()||!c)return f?null:m.createElement(a,y({},l,{key:"placeholder",isDisabled:d,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),p);if(h)return g.map(function(t,o){var a=t===b,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return m.createElement(n,y({}
4,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(f)return null;var w=g[0];return m.createElement(o,y({},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 m.createElement(e,y({},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?m.createElement(e,y({},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 m.createElement(n,y({},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 m.createElement(e,y({},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,f=this.props,p=f.captureMenuScroll,v=f.inputValue,g=f.isLoading,b=f.loadingMessage,x=f.minMenuHeight,w=f.maxMenuHeight,S=f.menuIsOpen,O=f.menuPlacement,T=f.menuPosition,E=f.menuPortalTarget,P=f.menuShouldBlockScroll,C=f.menuShouldScrollIntoView,k=f.noOptionsMessage,A=f.onMenuScrollToTop,M=f.onMenuScrollToBottom;if(!S)return null;var V=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,f=s?void 0:function(){return t.onOptionHover(i)},p=s?void 0:function(){return t.selectOption(i)},v="".concat(t.getElementId("option"),"-").concat(n),g={id:v,onClick:p,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":t.isAppleDevice?void 0:o};return m.createElement(c,y({},d,{innerProps:g,data:i,isDisabled:s,isSelected:o,key:v,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 m.createElement(r,y({},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 V(e,"".concat(o,"-").concat(e.index))}))}if("option"===e.type)return V(e,"".concat(e.index))});else if(g){var _=b({inputValue:v});if(null===_)return null;e=m.createElement(l,d,_)}else{var F=k({inputValue:v});if(null===F)return null;e=m.createElement(u,d,F)}var D={minMenuHeight:x,maxMenuHeight:w,menuPlacement:O,menuPosition:T,menuShouldScrollIntoView:C},j=m.createElement(tS,y({},d,D),function(n){var r=n.ref,i=n.placerProps,a=i.placement,l=i.maxHeight;return m.createElement(s,y({},d,D,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:g,placement:a}),m.createElement(ns,{captureEnabled:p,onTopArrive:A,onBottomArrive:M,lockEnabled:P},function(n){return m.createElement(o,y({},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 E||"fixed"===T?m.createElement(a,y({},d,{appendTo:E,controlElement:this.controlRef,menuPlacement:O,menuPosition:T}),j):j}},{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 m.createElement(na,{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 m.createElement("input",{name:s,type:"hidden",value:l})}var u=a.length>0?a.map(function(t,n){return m.createElement("input",{key:"i-".concat(n),name:s,type:"hidden",value:e.getOptionValue(t)})}):m.createElement("input",{name:s,type:"hidden",value:""});return m.createElement("div",null,u)}var c=a[0]?this.getOptionValue(a[0]):"";return m.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 m.createElement(tz,y({},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 m.createElement(r,y({},d,{className:o,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:c}),this.renderLiveRegion(),m.createElement(t,y({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:c,menuIsOpen:u}),m.createElement(i,y({},d,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),m.createElement(n,y({},d,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevProps,i=t.clearFocusValueOnUpdate,s=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,l=t.isFocused,u=t.prevWasFocused,c=t.instancePrefix,d=e.options,h=e.value,f=e.menuIsOpen,p=e.inputValue,m=e.isMulti,v=ti(h),g={};if(r&&(h!==r.value||d!==r.options||f!==r.menuIsOpen||p!==r.inputValue)){var y,b=f?np(nf(e,v)):[],x=f?nm(nf(e,v),"".concat(c,"-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,v):null,S=(y=t.focusedOption)&&b.indexOf(y)>-1?y:b[0],O=ng(x,S);g={selectValue:v,focusedOption:S,focusedOptionId:O,focusableOptionsWithIds:x,focusedValue:w,clearFocusValueOnUpdate:!1}}var T=null!=s&&e!==r?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},E=o,P=l&&u;return l&&!P&&(E={value:(n=v[0]||null,m?v:n),options:v,action:"initial-input-focus"},P=!u),(null==o?void 0:o.action)==="initial-input-focus"&&(E=null),a(a(a({},g),T),{},{prevProps:e,ariaSelection:E,prevWasFocused:P})}}],n&&b(o.prototype,n),i&&b(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o}(m.Component);nE.defaultProps=nd;var nP=(0,m.forwardRef)(function(e,t){var n,r,i,s,o,l,u,h,f,p,v,b,x,w,S,O,T,E,P,C,k,A,M,V,_,F,D,j=(n=e.defaultInputValue,r=e.defaultMenuIsOpen,i=e.defaultValue,s=e.inputValue,o=e.menuIsOpen,l=e.onChange,u=e.onInputChange,h=e.onMenuClose,f=e.onMenuOpen,p=e.value,v=d(e,g),x=(b=c((0,m.useState)(void 0!==s?s:void 0===n?"":n),2))[0],w=b[1],O=(S=c((0,m.useState)(void 0!==o?o:void 0!==r&&r),2))[0],T=S[1],P=(E=c((0,m.useState)(void 0!==p?p:void 0===i?null:i),2))[0],C=E[1],k=(0,m.useCallback)(function(e,t){"function"==typeof l&&l(e,t),C(e)},[l]),A=(0,m.useCallback)(function(e,t){var n;"function"==typeof u&&(n=u(e,t)),w(void 0!==n?n:e)},[u]),M=(0,m.useCallback)(function(){"function"==typeof f&&f(),T(!0)},[f]),V=(0,m.useCallback)(function(){"function"==typeof h&&h(),T(!1)}
4,[h]),_=void 0!==s?s:x,F=void 0!==o?o:O,D=void 0!==p?p:P,a(a({},v),{},{inputValue:_,menuIsOpen:F,onChange:k,onInputChange:A,onMenuClose:V,onMenuOpen:M,value:D}));return m.createElement(nE,y({ref:t},j))})},9399:(e,t,n)=>{"use strict";var r=n(2948);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,s,o){if(o!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return n.PropTypes=n,n}}}]);
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.