@windstream/react-shared-components 0.2.26 → 0.2.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -35,5 +35,5 @@ var n="none",r="contents",o=/^(input|select|textarea|button|object|iframe)$/;fun
35
35
  *
36
36
  * This source code is licensed under the MIT license found in the
37
37
  * LICENSE file in the root directory of this source tree.
38
- */function qi(){return Ui||(Ui=1,"production"===process.env.NODE_ENV?Yi.exports=function(){if(Xi)return _i;Xi=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case f:case a:return e;default:return p}}case n:return p}}}function I(e){return v(e)===c}return _i.AsyncMode=l,_i.ConcurrentMode=c,_i.ContextConsumer=s,_i.ContextProvider=a,_i.Element=t,_i.ForwardRef=u,_i.Fragment=r,_i.Lazy=h,_i.Memo=f,_i.Portal=n,_i.Profiler=i,_i.StrictMode=o,_i.Suspense=d,_i.isAsyncMode=function(e){return I(e)||v(e)===l},_i.isConcurrentMode=I,_i.isContextConsumer=function(e){return v(e)===s},_i.isContextProvider=function(e){return v(e)===a},_i.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},_i.isForwardRef=function(e){return v(e)===u},_i.isFragment=function(e){return v(e)===r},_i.isLazy=function(e){return v(e)===h},_i.isMemo=function(e){return v(e)===f},_i.isPortal=function(e){return v(e)===n},_i.isProfiler=function(e){return v(e)===i},_i.isStrictMode=function(e){return v(e)===o},_i.isSuspense=function(e){return v(e)===d},_i.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y||e.$$typeof===m)},_i.typeOf=v,_i}():Yi.exports=(Ji||(Ji=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var m=e.type;switch(m){case l:case c:case r:case i:case o:case d:return m;default:var g=m&&m.$$typeof;switch(g){case s:case u:case h:case f:case a:return g;default:return p}}case n:return p}}}var I=l,x=c,C=s,A=a,E=t,w=u,S=r,O=h,N=f,T=n,P=i,R=o,G=d,B=!1;function L(e){return v(e)===c}$i.AsyncMode=I,$i.ConcurrentMode=x,$i.ContextConsumer=C,$i.ContextProvider=A,$i.Element=E,$i.ForwardRef=w,$i.Fragment=S,$i.Lazy=O,$i.Memo=N,$i.Portal=T,$i.Profiler=P,$i.StrictMode=R,$i.Suspense=G,$i.isAsyncMode=function(e){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),L(e)||v(e)===l},$i.isConcurrentMode=L,$i.isContextConsumer=function(e){return v(e)===s},$i.isContextProvider=function(e){return v(e)===a},$i.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},$i.isForwardRef=function(e){return v(e)===u},$i.isFragment=function(e){return v(e)===r},$i.isLazy=function(e){return v(e)===h},$i.isMemo=function(e){return v(e)===f},$i.isPortal=function(e){return v(e)===n},$i.isProfiler=function(e){return v(e)===i},$i.isStrictMode=function(e){return v(e)===o},$i.isSuspense=function(e){return v(e)===d},$i.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y||e.$$typeof===m)},$i.typeOf=v}()),$i)),Yi.exports}!function(){if(Qi)return Ki;Qi=1;var e=qi(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Ki=function e(t,r,o){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,o)}var f=s(r);l&&(f=f.concat(l(r)));for(var h=i(t),m=i(r),g=0;g<f.length;++g){var b=f[g];if(!(n[b]||o&&o[b]||m&&m[b]||h&&h[b])){var y=c(r,b);try{a(t,b,y)}catch(e){}}}}return t}}();var ea="undefined"!=typeof document;var ta=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===ea&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var na={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};function ra(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var oa=/[A-Z]|^ms/g,ia=/_EMO_([^_]+?)_([^]*?)_EMO_/g,aa=function(e){return 45===e.charCodeAt(1)},sa=function(e){return null!=e&&"boolean"!=typeof e},la=ra(function(e){return aa(e)?e:e.replace(oa,"-$&").toLowerCase()}),ca=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ia,function(e,t,n){return da={name:t,styles:n,next:da},t})}return 1===na[e]||aa(e)||"number"!=typeof t||0===t?t:t+"px"};function ua(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return da={name:o.name,styles:o.styles,next:da},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)da={name:a.name,styles:a.styles,next:da},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ua(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;sa(s)&&(r+=la(i)+":"+ca(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)sa(a[l])&&(r+=la(i)+":"+ca(i,a[l])+";");else{var c=ua(e,t,a);switch(i){case"animation":case"animationName":r+=la(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=da,l=n(e);return da=s,ua(e,t,l)}}return n}var da,pa=/label:\s*([^\s;{]+)\s*(;|$)/g;function fa(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";da=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=ua(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=ua(n,t,e[a]),r)o+=i[a]}pa.lastIndex=0;for(var s,l="";null!==(s=pa.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:da}}var ha="undefined"!=typeof document,ma=function(e){return e()},ga=!!r.useInsertionEffect&&r.useInsertionEffect,ba=ha&&ga||ma,ya="undefined"!=typeof document,va=r.createContext("undefined"!=typeof HTMLElement?zi({key:"css"}):null);va.Provider;var Ia=function(e){return i(function(t,n){var r=d(va);return e(t,r,n)})};ya||(Ia=function(e){return function(t){var n=d(va);return null===n?(n=zi({key:"css"}),r.createElement(va.Provider,{value:n},e(t,n))):e(t,n)}});var xa,Ca,Aa=r.createContext({}),Ea={}.hasOwnProperty,wa="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Sa=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;ta(t,n,o);var i=ba(function(){return function(e,t,n){ta(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);ea||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!ea&&0!==o.length)return o}}(t,n,o)});if(!ya&&void 0!==i){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},Oa=Ia(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[wa],a=[o],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=fa(a,void 0,r.useContext(Aa));s+=t.key+"-"+l.name;var c={};for(var u in e)Ea.call(e,u)&&"css"!==u&&u!==wa&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Sa,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,c))}),Na=Oa,Ta=function(e,t){var n=arguments;if(null==t||!Ea.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Na,i[1]=function(e,t){var n={};for(var r in t)Ea.call(t,r)&&(n[r]=t[r]);return n[wa]=e,n}(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)};function Pa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fa(t)}xa=Ta||(Ta={}),Ca||(Ca=xa.JSX||(xa.JSX={}));const Ra=Math.min,Ga=Math.max,Ba=Math.round,La=Math.floor,ka=e=>({x:e,y:e});function Va(){return"undefined"!=typeof window}function Ma(e){return Ha(e)?(e.nodeName||"").toLowerCase():"#document"}function Da(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ja(e){var t;return null==(t=(Ha(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ha(e){return!!Va()&&(e instanceof Node||e instanceof Da(e).Node)}function Wa(e){return!!Va()&&(e instanceof HTMLElement||e instanceof Da(e).HTMLElement)}function Xa(e){return!(!Va()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Da(e).ShadowRoot)}const Fa=new Set(["inline","contents"]);function Za(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ya(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Fa.has(o)}const za=new Set(["html","body","#document"]);function Ya(e){return Da(e).getComputedStyle(e)}function _a(e){const t=function(e){if("html"===Ma(e))return e;const t=e.assignedSlot||e.parentNode||Xa(e)&&e.host||ja(e);return Xa(t)?t.host:t}(e);return function(e){return za.has(Ma(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wa(t)&&Za(t)?t:_a(t)}function Ja(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=_a(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Da(o);if(i){const e=Ua(a);return t.concat(a,a.visualViewport||[],Za(o)?o:[],e&&n?Ja(e):[])}return t.concat(o,Ja(o,[],n))}function Ua(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ka(e){return t=e,Va()&&(t instanceof Element||t instanceof Da(t).Element)?e:e.contextElement;var t}function Qa(e){const t=Ka(e);if(!Wa(t))return ka(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=Ya(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Wa(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Ba(n)!==i||Ba(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?Ba(n.width):n.width)/r,s=(i?Ba(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function $a(e,t,n,r){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),i=Ka(e);let a=ka(1);t&&(a=Qa(e));const s=ka(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=r;let t=Da(i),n=Ua(t);for(;n&&r&&e!==t;){const e=Qa(n),r=n.getBoundingClientRect(),o=Ya(n),i=r.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,t=Da(n),n=Ua(t)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function qa(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function es(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ka(e),u=o||i?[...c?Ja(c):[],...Ja(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const o=ja(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(s||t(),!p||!f)return;const h={rootMargin:-La(d)+"px "+-La(o.clientWidth-(u+p))+"px "+-La(o.clientHeight-(d+f))+"px "+-La(u)+"px",threshold:Ga(0,Ra(1,l))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||qa(c,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),i}(c,n):null;let p,f=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let m=l?$a(e):null;return l&&function t(){const r=$a(e);m&&!qa(m,r)&&n();m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var ts="undefined"!=typeof document?p:function(){},ns=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],rs=function(){};function os(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function is(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(os(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var as=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Ao(e)&&null!==e?[e]:[];var t},ss=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,Oo({},Ro(e,ns))},ls=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function cs(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function us(e){return cs(e)?window.pageYOffset:e.scrollTop}function ds(e,t){cs(e)?window.scrollTo(0,t):e.scrollTop=t}function ps(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rs,o=us(e),i=t-o,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+o;ds(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function fs(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?ds(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&ds(e,Math.max(t.offsetTop-o,0))}function hs(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var ms=!1,gs={get passive(){return ms=!0}},bs="undefined"!=typeof window?window:{};bs.addEventListener&&bs.removeEventListener&&(bs.addEventListener("p",rs,gs),bs.removeEventListener("p",rs,!1));var ys=ms;function vs(e){return null!=e}function Is(e,t,n){return e?t:n}var xs=["children","innerProps"],Cs=["children","innerProps"];function As(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=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 o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,h=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:cs(u=l)?window.innerHeight:u.clientHeight,y=us(l),v=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),x=g-I,C=b-m,A=x+y,E=d-y-m,w=f-b+y+v,S=y+m-I,O=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(E>=h&&!a)return i&&ps(l,w,O),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&C>=r)return i&&ps(l,w,O),{placement:"bottom",maxHeight:a?C-v:E-v};if("auto"===o||a){var N=t,T=a?x:A;return T>=r&&(N=Math.min(T-v-s,t)),{placement:"top",maxHeight:N}}if("bottom"===o)return i&&ds(l,w),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(A>=h&&!a)return i&&ps(l,S,O),{placement:"top",maxHeight:t};if(!a&&A>=r||a&&x>=r){var P=t;return(!a&&A>=r||a&&x>=r)&&(P=a?x-I:A-I),i&&ps(l,S,O),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var Es,ws=function(e){return"auto"===e?"bottom":e},Ss=f(null),Os=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(d(Ss)||{}).setPortalPlacement,p=u(null),f=Po(a(r),2),h=f[0],m=f[1],g=Po(a(null),2),b=g[0],y=g[1],v=l.spacing.controlHeight;return ts(function(){var e=p.current;if(e){var t="fixed"===i,a=As({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:v});m(a.maxHeight),y(a.placement),null==c||c(a.placement)}},[r,o,i,s,n,c,v]),t({ref:p,placerProps:Oo(Oo({},e),{},{placement:b||ws(o),maxHeight:h})})},Ns=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Ta("div",oo({},ls(e,"menu",{menu:!0}),{ref:n},r),t)},Ts=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Oo({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Ps=Ts,Rs=Ts,Gs=["size"],Bs=["innerProps","isRtl","size"];var Ls,ks,Vs="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9t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GhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Ms=function(e){var t=e.size,n=Ro(e,Gs);return Ta("svg",oo({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Vs},n))},Ds=function(e){return Ta(Ms,oo({size:20},e),Ta("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"}))},js=function(e){return Ta(Ms,oo({size:20},e),Ta("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"}))},Hs=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Oo({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},Ws=Hs,Xs=Hs,Fs=function(){var e=Pa.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_"}}}(Es||(Ls=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ks||(ks=Ls.slice(0)),Es=Object.freeze(Object.defineProperties(Ls,{raw:{value:Object.freeze(ks)}})))),Zs=function(e){var t=e.delay,n=e.offset;return Ta("span",{css:Pa({animation:"".concat(Fs," 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"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxu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lvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},zs=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Ta("div",oo({ref:o},ls(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},Ys=["data"],_s=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Ta("div",oo({},ls(e,"group",{group:!0}),s),Ta(i,oo({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:o,cx:n}),l),Ta("div",null,t))},Js=["innerRef","isDisabled","isHidden","inputClassName"],Us={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ks={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Oo({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Us)},Qs=function(e){return Oo({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Us)},$s=function(e){var t=e.cx,n=e.value,r=ss(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Ro(r,Js);return Ta("div",oo({},ls(e,"input",{"input-container":!0}),{"data-value":n||""}),Ta("input",oo({className:t({input:!0},s),ref:o,style:Qs(a),disabled:i},l)))},qs=function(e){var t=e.children,n=e.innerProps;return Ta("div",n,t)};var el=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Ta(l,{data:r,innerProps:Oo(Oo({},ls(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Ta(c,{data:r,innerProps:Oo({},ls(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Ta(u,{data:r,innerProps:Oo(Oo({},ls(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},tl={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Ta(Ds,null))},Control:zs,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Ta(js,null))},DownChevron:js,CrossIcon:Ds,Group:_s,GroupHeading:function(e){var t=ss(e);t.data;var n=Ro(t,Ys);return Ta("div",oo({},ls(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Ta("span",oo({},t,ls(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:$s,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=Ro(e,Bs);return Ta("div",oo({},ls(Oo(Oo({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Ta(Zs,{delay:0,offset:n}),Ta(Zs,{delay:160,offset:!0}),Ta(Zs,{delay:320,offset:!n}))},Menu:Ns,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Ta("div",oo({},ls(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,i=e.menuPlacement,l=e.menuPosition,d=u(null),p=u(null),f=Po(a(ws(i)),2),h=f[0],m=f[1],g=c(function(){return{setPortalPlacement:m}},[]),b=Po(a(null),2),y=b[0],v=b[1],I=s(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===l?0:window.pageYOffset,n=e[h]+t;n===(null==y?void 0:y.offset)&&e.left===(null==y?void 0:y.rect.left)&&e.width===(null==y?void 0:y.rect.width)||v({offset:n,rect:e})}},[r,l,h,null==y?void 0:y.offset,null==y?void 0:y.rect.left,null==y?void 0:y.rect.width]);ts(function(){I()},[I]);var x=s(function(){"function"==typeof p.current&&(p.current(),p.current=null),r&&d.current&&(p.current=es(r,d.current,I,{elementResize:"ResizeObserver"in window}))},[r,I]);ts(function(){x()},[x]);var A=s(function(e){d.current=e,x()},[x]);if(!t&&"fixed"!==l||!y)return null;var E=Ta("div",oo({ref:A},ls(Oo(Oo({},e),{},{offset:y.offset,position:l,rect:y.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Ta(Ss.Provider,{value:g},t?C(E,t):E)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=Ro(e,Cs);return Ta("div",oo({},ls(Oo(Oo({},o),{},{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,o=Ro(e,xs);return Ta("div",oo({},ls(Oo(Oo({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:el,MultiValueContainer:qs,MultiValueLabel:qs,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({role:"button"},n),t||Ta(Ds,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Ta("div",oo({},ls(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Ta("div",oo({},ls(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Ta("div",oo({},ls(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,o=e.hasValue;return Ta("div",oo({},ls(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},nl=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function rl(e,t){return e===t||!(!nl(e)||!nl(t))}function ol(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!rl(e[n],t[n]))return!1;return!0}for(var il="production"===process.env.NODE_ENV?{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"}:{name:"1f43avz-a11yText-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;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},al=function(e){return Ta("span",oo({css:il},e))},sl={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){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 i?"".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,o=e.labels,i=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(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},ll=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,f=s.inputValue,h=s.isMulti,g=s.isOptionDisabled,b=s.isSearchable,y=s.menuIsOpen,v=s.options,I=s.screenReaderStatus,x=s.tabSelectsValue,C=s.isLoading,A=s["aria-label"],E=s["aria-live"],w=c(function(){return Oo(Oo({},sl),d||{})},[d]),S=c(function(){var e,n="";if(t&&w.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,l=t.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||s||void 0,f=d?d.map(p):[],h=Oo({isDisabled:c&&g(c,a),label:u,labels:f},t);n=w.onChange(h)}return n},[t,w,g,a,p]),O=c(function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&w.onFocus){var s={focused:t,label:p(t),isDisabled:g(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=w.onFocus(s)}return e},[n,r,p,g,w,o,a,u]),N=c(function(){var e="";if(y&&v.length&&!C&&w.onFilter){var t=I({count:o.length});e=w.onFilter({inputValue:f,resultsMessage:t})}return e},[o,f,y,w,v,I,C]),T="initial-input-focus"===(null==t?void 0:t.action),P=c(function(){var e="";if(w.guidance){var t=r?"value":y?"menu":"input";e=w.guidance({"aria-label":A,context:t,isDisabled:n&&g(n,a),isMulti:h,isSearchable:b,tabSelectsValue:x,isInitialFocus:T})}return e},[A,n,r,h,g,b,y,w,a,x,T]),R=Ta(m,null,Ta("span",{id:"aria-selection"},S),Ta("span",{id:"aria-focused"},O),Ta("span",{id:"aria-results"},N),Ta("span",{id:"aria-guidance"},P));return Ta(m,null,Ta(al,{id:l},T&&R),Ta(al,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!T&&R))},cl=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],ul=new RegExp("["+cl.map(function(e){return e.letters}).join("")+"]","g"),dl={},pl=0;pl<cl.length;pl++)for(var fl=cl[pl],hl=0;hl<fl.letters.length;hl++)dl[fl.letters[hl]]=fl.base;var ml=function(e){return e.replace(ul,function(e){return dl[e]})},gl=function(e,t){void 0===t&&(t=ol);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(ml),bl=function(e){return e.replace(/^\s+|\s+$/g,"")},yl=function(e){return"".concat(e.label," ").concat(e.value)},vl=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Oo({ignoreCase:!0,ignoreAccents:!0,stringify:yl,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?bl(n):n,u=s?bl(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=gl(c),u=ml(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Il=["innerRef"];function xl(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter(function(e){var t=Po(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=Po(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}(Ro(e,Il),"onExited","in","enter","exit","appear");return Ta("input",oo({ref:t},n,{css:Pa({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)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xu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ICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Cl=["boxSizing","height","overflow","paddingRight","position"],Al={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function El(e){e.cancelable&&e.preventDefault()}function wl(e){e.stopPropagation()}function Sl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ol(){return"ontouchstart"in window||navigator.maxTouchPoints}var Nl=!("undefined"==typeof window||!window.document||!window.document.createElement),Tl=0,Pl={capture:!1,passive:!1};var Rl=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Gl="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmU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LFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Bl(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=u(!1),c=u(!1),d=u(0),p=u(null),f=s(function(e,t){if(null!==p.current){var s=p.current,l=s.scrollTop,u=s.scrollHeight,d=s.clientHeight,f=p.current,h=t>0,m=u-d-l,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&c.current&&(i&&i(e),c.current=!1),h&&t>m?(n&&!a.current&&n(e),f.scrollTop=u,g=!0,a.current=!0):!h&&-t>l&&(o&&!c.current&&o(e),f.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,o,i]),h=s(function(e){f(e,e.deltaY)},[f]),m=s(function(e){d.current=e.changedTouches[0].clientY},[]),g=s(function(e){var t=d.current-e.changedTouches[0].clientY;f(e,t)},[f]),b=s(function(e){if(e){var t=!!ys&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,h]),y=s(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,h]);return l(function(){if(t){var e=p.current;return b(e),function(){y(e)}}},[t,b,y]),function(e){p.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=u({}),i=u(null),a=s(function(e){if(Nl){var t=document.body,n=t&&t.style;if(r&&Cl.forEach(function(e){var t=n&&n[e];o.current[e]=t}),r&&Tl<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Al).forEach(function(e){var t=Al[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Ol()&&(t.addEventListener("touchmove",El,Pl),e&&(e.addEventListener("touchstart",Sl,Pl),e.addEventListener("touchmove",wl,Pl))),Tl+=1}},[r]),c=s(function(e){if(Nl){var t=document.body,n=t&&t.style;Tl=Math.max(Tl-1,0),r&&Tl<1&&Cl.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&Ol()&&(t.removeEventListener("touchmove",El,Pl),e&&(e.removeEventListener("touchstart",Sl,Pl),e.removeEventListener("touchmove",wl,Pl)))}},[r]);return l(function(){if(t){var e=i.current;return a(e),function(){c(e)}}},[t,a,c]),function(e){i.current=e}}({isEnabled:n});return Ta(m,null,n&&Ta("div",{onClick:Rl,css:Gl}),t(function(e){o(e),i(e)}))}var Ll="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},kl=function(e){var t=e.name,n=e.onFocus;return Ta("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Ll,value:"",onChange:function(){}})};function Vl(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)}function Ml(){return Vl(/^Mac/i)}function Dl(){return Vl(/^iPhone/i)||Vl(/^iPad/i)||Ml()&&navigator.maxTouchPoints>1}var jl={clearIndicator:Xs,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,o=e.theme,i=o.colors,a=o.borderRadius;return Oo({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:Ws,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,o=n.spacing;return Oo({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.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,o=r.spacing.baseUnit,i=r.colors;return Oo({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return Oo(Oo({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Ks),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return Oo({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Rs,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return Oo((wo(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),wo(n,"position","absolute"),wo(n,"width","100%"),wo(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Oo({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,o=n.borderRadius,i=n.colors;return Oo({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Oo({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return Oo({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Ps,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return Oo({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Oo({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Oo({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Oo({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Hl={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}},Wl={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:hs(),captureMenuScroll:!hs(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:vl(),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 Xl(e,t,n,r){return{type:"option",data:t,isDisabled:Kl(e,t,n),isSelected:Ql(e,t,n),label:Jl(e,t),value:Ul(e,t),index:r}}function Fl(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return Xl(e,n,t,r)}).filter(function(t){return Yl(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Xl(e,n,t,r);return Yl(e,i)?i:void 0}).filter(vs)}function Zl(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Mo(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function zl(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Mo(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 Yl(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!ql(e)||!i)&&$l(e,{label:a,value:s,data:o},r)}var _l=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Jl=function(e,t){return e.getOptionLabel(t)},Ul=function(e,t){return e.getOptionValue(t)};function Kl(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ql(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Ul(e,t);return n.some(function(t){return Ul(e,t)===r})}function $l(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ql=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ec=1,tc=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&ao(e,t)}(t,h);var e=function(e){var t=ko();return function(){var n,r=Lo(e);if(t){var o=Lo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vo(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).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:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.state.selectValue,s=o&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(Mo(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter(function(e){return r.getOptionValue(e)!==o}),a=Is(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Is(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=Is(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return _l(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return zl(Fl(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return is.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Jl(r.props,e)},r.getOptionValue=function(e){return Ul(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=jl[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Oo(Oo({},tl),e.components);var e},r.buildCategorizedOptions=function(){return Fl(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Zl(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Oo({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&cs(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return ql(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=r.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++ec),r.state.selectValue=as(n.value),n.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),a=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[a],r.state.focusedOptionId=_l(o,i[a])}return r}return function(e,t,n){t&&Bo(e.prototype,t),n&&Bo(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{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&&fs(this.menuListRef,this.focusedOptionRef),(Ml()||Dl())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(fs(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,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},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 o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{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 o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Hl):Oo(Oo({},Hl),this.props.theme):Hl}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:s,setValue:a,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 Kl(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ql(this.props,e,t)}},{key:"filterOption",value:function(e,t){return $l(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{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,o=e.inputId,i=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,h=this.commonProps,m=o||this.getElementId("input"),g=Oo(Oo(Oo({"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":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,oo({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:i},g)):r.createElement(xl,oo({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:rs,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,h=u.inputValue,m=u.placeholder,g=this.state,b=g.selectValue,y=g.focusedValue,v=g.isFocused;if(!this.hasValue()||!d)return h?null:r.createElement(l,oo({},c,{key:"placeholder",isDisabled:p,isFocused:v,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return b.map(function(t,s){var l=t===y,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,oo({},c,{components:{Container:o,Label:i,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,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(h)return null;var I=b[0];return r.createElement(s,oo({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,oo({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return r.createElement(e,oo({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,oo({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,oo({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,i=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,h=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,b=f.loadingMessage,y=f.minMenuHeight,v=f.maxMenuHeight,I=f.menuIsOpen,x=f.menuPlacement,C=f.menuPosition,A=f.menuPortalTarget,E=f.menuShouldBlockScroll,w=f.menuShouldScrollIntoView,S=f.noOptionsMessage,O=f.onMenuScrollToTop,N=f.onMenuScrollToBottom;if(!I)return null;var T,P=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,f=p===i,h=a?void 0:function(){return e.onOptionHover(i)},m=a?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,oo({},d,{innerProps:b,data:i,isDisabled:a,isSelected:s,key:g,label:l,type:o,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,oo({},d,{key:l,data:i,options:a,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var R=b({inputValue:m});if(null===R)return null;T=r.createElement(l,d,R)}else{var G=S({inputValue:m});if(null===G)return null;T=r.createElement(c,d,G)}var B={minMenuHeight:y,maxMenuHeight:v,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:w},L=r.createElement(Os,oo({},d,B),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return r.createElement(i,oo({},d,B,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(Bl,{captureEnabled:h,onTopArrive:O,onBottomArrive:N,lockEnabled:E},function(t){return r.createElement(a,oo({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),T)}))});return A||"fixed"===C?r.createElement(s,oo({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return r.createElement(kl,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(i){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(ll,oo({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(o,oo({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,oo({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(i,oo({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,oo({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,h=as(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Zl(Fl(e,t))}(e,h):[],b=d?zl(Fl(e,h),"".concat(l,"-option")):[],y=r?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,h):null,v=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:v,focusedOptionId:_l(b,v),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var I=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=i,C=a&&s;return a&&!C&&(x={value:Is(f,h,h[0]||null),options:h,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),Oo(Oo(Oo({},m),I),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),t}();tc.defaultProps=Wl;var nc=i(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,l=void 0===i?null:i,c=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,f=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=Ro(e,Go),b=Po(a(void 0!==c?c:n),2),y=b[0],v=b[1],I=Po(a(void 0!==u?u:o),2),x=I[0],C=I[1],A=Po(a(void 0!==m?m:l),2),E=A[0],w=A[1],S=s(function(e,t){"function"==typeof d&&d(e,t),w(e)},[d]),O=s(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),v(void 0!==n?n:e)},[p]),N=s(function(){"function"==typeof h&&h(),C(!0)},[h]),T=s(function(){"function"==typeof f&&f(),C(!1)},[f]),P=void 0!==c?c:y,R=void 0!==u?u:x,G=void 0!==m?m:E;return Oo(Oo({},g),{},{inputValue:P,menuIsOpen:R,onChange:S,onInputChange:O,onMenuClose:T,onMenuOpen:N,value:G})}(e);return r.createElement(tc,oo({ref:t},n))}),rc=nc;const oc={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},ic=o.memo(({options:n,className:r,controlClassName:o,value:i,isCustomStyle:a=!1,placeholder:s,required:l,onChange:u,filterOptions:d,hasError:p,error:f,menuClassName:h,helperText:m,label:g,labelClassName:b,singleValueClassName:y,size:v="md",variant:I="default","data-cy":x,"data-testid":C,...A})=>{const E=c(()=>vl(d),[d]),w=c(()=>({control:({isFocused:e})=>{var t;return Ve(null!==(t=oc[v])&&void 0!==t?t:oc.md,"border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},o)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ve(a?"text-text text-body1 whitespace-normal":"text-text-secondary",y),menu:()=>Ve("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:r})=>{var o;return Ve("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,o,h,n,p,v,y]);return"unstyled"===I?e(rc,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:E,className:Ve("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":C,...A}):t("div",{className:"w-full",children:[g&&e("label",{className:Ve("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(rc,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:E,className:Ve("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":C,...A}),f&&e(On,{className:"footnote mt-1 text-text-critical",children:f}),!f&&m&&e(On,{className:"footnote mt-1 text-text-info",children:m})]})});ic.displayName="Select";const ac=({errorMessage:n,className:r,iconClassName:o,iconSize:i=52,iconName:a="dangerous",textVariant:s})=>n?t("div",{className:Ve("flex flex-col items-center justify-center gap-5 rounded-surface-sm border-2 border-border-critical bg-bg-fill-critical-secondary px-4 py-6 md:flex-row md:py-4",r),"data-testid":"alert-card",children:[e("div",{children:e(Sn,{name:a,size:i,className:Ve("text-icon-critical",o)})}),e(On,{className:Ve("body2 text-text",s),children:n})]}):null;ac.displayName="AlertCard";const sc=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},lc="pop",cc=f({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),uc=f({}),dc=f(null),pc="undefined"!=typeof document,fc=pc?p:l,hc=f({strict:!1});function mc(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function gc(e){return"string"==typeof e||Array.isArray(e)}function bc(e){return"object"==typeof e&&"function"==typeof e.start}const yc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],vc=["initial",...yc];function Ic(e){return bc(e.animate)||vc.some(t=>gc(e[t]))}function xc(e){return Boolean(Ic(e)||e.variants)}function Cc(e){const{initial:t,animate:n}=function(e,t){if(Ic(e)){const{initial:t,animate:n}=e;return{initial:!1===t||gc(t)?t:void 0,animate:gc(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,d(uc));return c(()=>({initial:t,animate:n}),[Ac(t),Ac(n)])}function Ac(e){return Array.isArray(e)?e.join(" "):e}const Ec={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"]},wc={};for(const e in Ec)wc[e]={isEnabled:t=>Ec[e].some(e=>!!t[e])};const Sc=f({}),Oc=f({}),Nc=Symbol.for("motionComponentSymbol");function Tc({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)wc[t]={...wc[t],...e[t]}}(e);const c=i(function(i,c){let p;const f={...d(cc),...i,layoutId:Pc(i)},{isStatic:h}=f,m=Cc(i),b=o(i,h);if(!h&&pc){m.visualElement=function(e,t,n,r){const{visualElement:o}=d(uc),i=d(hc),a=d(dc),s=d(cc).reducedMotion,c=u();r=r||i.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const p=c.current;return g(()=>{p&&p.update(n,a)}),fc(()=>{p&&p.render()}),l(()=>{p&&p.updateFeatures()}),(window.HandoffAppearAnimations?fc:l)(()=>{p&&p.animationState&&p.animationState.animateChanges()}),p}(a,b,f,t);const n=d(Oc),r=d(hc).strict;m.visualElement&&(p=m.visualElement.loadFeatures(f,r,e,n))}return r.createElement(uc.Provider,{value:m},p&&m.visualElement?r.createElement(p,{visualElement:m.visualElement,...f}):null,n(a,i,function(e,t,n){return s(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):mc(n)&&(n.current=r))},[t])}(b,m.visualElement,c),b,h,m.visualElement))});return c[Nc]=a,c}function Pc({layoutId:e}){const t=d(Sc).id;return t&&void 0!==e?t+"-"+e:e}function Rc(e){function t(t,n={}){return Tc(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const Gc=["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 Bc(e){return"string"==typeof e&&!e.includes("-")&&!!(Gc.indexOf(e)>-1||/[A-Z]/.test(e))}const Lc={};const kc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Vc=new Set(kc);function Mc(e,{layout:t,layoutId:n}){return Vc.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Lc[e]||"opacity"===e)}const Dc=e=>Boolean(e&&e.getVelocity),jc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Hc=kc.length;const Wc=e=>t=>"string"==typeof t&&t.startsWith(e),Xc=Wc("--"),Fc=Wc("var(--"),Zc=(e,t)=>t&&"number"==typeof e?t.transform(e):e,zc=(e,t,n)=>Math.min(Math.max(n,e),t),Yc={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},_c={...Yc,transform:e=>zc(0,1,e)},Jc={...Yc,default:1},Uc=e=>Math.round(1e5*e)/1e5,Kc=/(-)?([\d]*\.?[\d])+/g,Qc=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,$c=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function qc(e){return"string"==typeof e}const eu=e=>({test:t=>qc(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),tu=eu("deg"),nu=eu("%"),ru=eu("px"),ou=eu("vh"),iu=eu("vw"),au={...nu,parse:e=>nu.parse(e)/100,transform:e=>nu.transform(100*e)},su={...Yc,transform:Math.round},lu={borderWidth:ru,borderTopWidth:ru,borderRightWidth:ru,borderBottomWidth:ru,borderLeftWidth:ru,borderRadius:ru,radius:ru,borderTopLeftRadius:ru,borderTopRightRadius:ru,borderBottomRightRadius:ru,borderBottomLeftRadius:ru,width:ru,maxWidth:ru,height:ru,maxHeight:ru,size:ru,top:ru,right:ru,bottom:ru,left:ru,padding:ru,paddingTop:ru,paddingRight:ru,paddingBottom:ru,paddingLeft:ru,margin:ru,marginTop:ru,marginRight:ru,marginBottom:ru,marginLeft:ru,rotate:tu,rotateX:tu,rotateY:tu,rotateZ:tu,scale:Jc,scaleX:Jc,scaleY:Jc,scaleZ:Jc,skew:tu,skewX:tu,skewY:tu,distance:ru,translateX:ru,translateY:ru,translateZ:ru,x:ru,y:ru,z:ru,perspective:ru,transformPerspective:ru,opacity:_c,originX:au,originY:au,originZ:ru,zIndex:su,fillOpacity:_c,strokeOpacity:_c,numOctaves:su};function cu(e,t,n,r){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Xc(e)){i[e]=n;continue}const r=lu[e],d=Zc(n,r);if(Vc.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):o[e]=d}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let t=0;t<Hc;t++){const n=kc[t];void 0!==e[n]&&(i+=`${jc[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,r?"":i):n&&r&&(i="none"),i}(e.transform,n,u,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;o.transformOrigin=`${e} ${t} ${n}`}}const uu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function du(e,t,n){for(const r in t)Dc(t[r])||Mc(r,n)||(e[r]=t[r])}function pu(e,t,n){const r={};return du(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return c(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return cu(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function fu(e,t,n){const r={},o=pu(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const hu=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function mu(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||hu.has(e)}let gu=e=>!mu(e);try{(bu=require("@emotion/is-prop-valid").default)&&(gu=e=>e.startsWith("on")?!mu(e):bu(e))}catch(Tn){}var bu;function yu(e,t,n){return"string"==typeof e?e:ru.transform(t+n*e)}const vu={offset:"stroke-dashoffset",array:"stroke-dasharray"},Iu={offset:"strokeDashoffset",array:"strokeDasharray"};function xu(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(cu(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:m}=e;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(void 0!==o||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${yu(t,e.x,e.width)} ${yu(n,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==r&&(f.scale=r),void 0!==a&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?vu:Iu;e[i.offset]=ru.transform(-r);const a=ru.transform(t),s=ru.transform(n);e[i.array]=`${a} ${s}`}(f,a,s,l,!1)}const Cu=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Au=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Eu(e,t,n,r){const o=c(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return xu(n,t,{enableHardwareAcceleration:!1},Au(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};du(t,e.style,e),o.style={...t,...o.style}}return o}function wu(e=!1){return(t,n,r,{latestValues:o},i)=>{const a=(Bc(t)?Eu:fu)(n,o,i,t),s=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(gu(o)||!0===n&&mu(o)||!t&&!mu(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l={...s,...a,ref:r},{children:u}=n,d=c(()=>Dc(u)?u.get():u,[u]);return b(t,{...l,children:d})}}const Su=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Ou(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Nu=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 Tu(e,t,n,r){Ou(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Nu.has(n)?n:Su(n),t.attrs[n])}function Pu(e,t){const{style:n}=e,r={};for(const o in n)(Dc(n[o])||t.style&&Dc(t.style[o])||Mc(o,e))&&(r[o]=n[o]);return r}function Ru(e,t){const n=Pu(e,t);for(const r in e)if(Dc(e[r])||Dc(t[r])){n[-1!==kc.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Gu(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}const Bu=e=>Array.isArray(e),Lu=e=>Bu(e)?e[e.length-1]||0:e;function ku(e){const t=Dc(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Vu=e=>(t,n)=>{const r=d(uc),o=d(dc),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const a={latestValues:Mu(r,o,i,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,o);return n?i():function(e){const t=u(null);return null===t.current&&(t.current=e()),t.current}(i)};function Mu(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=ku(i[e]);let{initial:a,animate:s}=e;const l=Ic(e),c=xc(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!bc(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Gu(e,t);if(!n)return;const{transitionEnd:r,transition:i,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]})}return o}const Du={useVisualState:Vu({scrapeMotionValuesFromProps:Ru,createRenderState:Cu,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}xu(n,r,{enableHardwareAcceleration:!1},Au(t.tagName),e.transformTemplate),Tu(t,n)}})},ju={useVisualState:Vu({scrapeMotionValuesFromProps:Pu,createRenderState:uu})};function Hu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Wu=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Xu(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Fu(e,t,n,r){return Hu(e,t,(e=>t=>Wu(t)&&e(t,Xu(t)))(n),r)}const Zu=(e,t)=>n=>t(e(n)),zu=(...e)=>e.reduce(Zu);function Yu(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const _u=Yu("dragHorizontal"),Ju=Yu("dragVertical");function Uu(e){let t=!1;if("y"===e)t=Ju();else if("x"===e)t=_u();else{const e=_u(),n=Ju();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Ku(){const e=Uu(!0);return!e||(e(),!1)}class Qu{constructor(e){this.isMounted=!1,this.node=e}update(){}}const $u={delta:0,timestamp:0,isProcessing:!1};let qu=!0,ed=!1;const td=["read","update","preRender","render","postRender"],nd=td.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{const l=s&&o,c=l?t:n;return i&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}o=!1,i&&(i=!1,s.process(l))}}};return s}(()=>ed=!0),e),{}),rd=e=>nd[e].process($u),od=e=>{ed=!1,$u.delta=qu?1e3/60:Math.max(Math.min(e-$u.timestamp,40),1),$u.timestamp=e,$u.isProcessing=!0,td.forEach(rd),$u.isProcessing=!1,ed&&(qu=!1,requestAnimationFrame(od))},id=td.reduce((e,t)=>{const n=nd[t];return e[t]=(e,t=!1,r=!1)=>(ed||(ed=!0,qu=!0,$u.isProcessing||requestAnimationFrame(od)),n.schedule(e,t,r)),e},{});function ad(e){td.forEach(t=>nd[t].cancel(e))}function sd(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Fu(e.current,n,(n,o)=>{if("touch"===n.type||Ku())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&id.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const ld=(e,t)=>!!t&&(e===t||ld(e,t.parentElement)),cd=e=>e;function ud(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Xu(n))}const dd=new WeakMap,pd=new WeakMap,fd=e=>{const t=dd.get(e.target);t&&t(e)},hd=e=>{e.forEach(fd)};function md(e,t,n){const r=function({root:e,...t}){const n=e||document;pd.has(n)||pd.set(n,{});const r=pd.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(hd,{root:e,...t})),r[o]}(t);return dd.set(e,n),r.observe(e),()=>{dd.delete(e),r.unobserve(e)}}const gd={some:0,all:1};const bd={inView:{Feature:class extends Qu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:gd[r]};return md(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{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(){}}},tap:{Feature:class extends Qu{constructor(){super(...arguments),this.removeStartListeners=cd,this.removeEndListeners=cd,this.removeAccessibleListeners=cd,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Fu(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();id.update(()=>{ld(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=Fu(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=zu(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Hu(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Hu(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&ud("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&id.update(()=>n(e,t))})}),ud("down",(e,t)=>{this.startPress(e,t)})}),t=Hu(this.node.current,"blur",()=>{this.isPressing&&ud("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=zu(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&id.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ku()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&id.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Fu(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Hu(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=zu(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Qu{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=zu(Hu(this.node.current,"focus",()=>this.onFocus()),Hu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Qu{mount(){this.unmount=zu(sd(this.node,!0),sd(this.node,!1))}unmount(){}}}};function yd(e,t){if(!Array.isArray(t))return!1;const 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 vd(e,t,n){const r=e.getProps();return Gu(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Id="data-"+Su("framerAppearId");let xd=cd,Cd=cd;"production"!==process.env.NODE_ENV&&(xd=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Cd=(e,t)=>{if(!e)throw new Error(t)});const Ad=e=>1e3*e,Ed=e=>e/1e3,wd=!1,Sd=e=>Array.isArray(e)&&"number"==typeof e[0];function Od(e){return Boolean(!e||"string"==typeof e&&Td[e]||Sd(e)||Array.isArray(e)&&e.every(Od))}const Nd=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Td={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Nd([0,.65,.55,1]),circOut:Nd([.55,0,1,.45]),backIn:Nd([.31,.01,.66,-.59]),backOut:Nd([.33,1.53,.69,.99])};function Pd(e){if(e)return Sd(e)?Nd(e):Array.isArray(e)?e.map(Pd):Td[e]}const Rd={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Gd={},Bd={};for(const e in Rd)Bd[e]=()=>(void 0===Gd[e]&&(Gd[e]=Rd[e]()),Gd[e]);const Ld=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function kd(e,t,n,r){if(e===t&&n===r)return cd;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=Ld(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Ld(o(e),t,r)}const Vd=kd(.42,0,1,1),Md=kd(0,0,.58,1),Dd=kd(.42,0,.58,1),jd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hd=e=>t=>1-e(1-t),Wd=e=>1-Math.sin(Math.acos(e)),Xd=Hd(Wd),Fd=jd(Xd),Zd=kd(.33,1.53,.69,.99),zd=Hd(Zd),Yd=jd(zd),_d={linear:cd,easeIn:Vd,easeInOut:Dd,easeOut:Md,circIn:Wd,circInOut:Fd,circOut:Xd,backIn:zd,backInOut:Yd,backOut:Zd,anticipate:e=>(e*=2)<1?.5*zd(e):.5*(2-Math.pow(2,-10*(e-1)))},Jd=e=>{if(Array.isArray(e)){Cd(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return kd(t,n,r,o)}return"string"==typeof e?(Cd(void 0!==_d[e],`Invalid easing type '${e}'`),_d[e]):e},Ud=(e,t)=>n=>Boolean(qc(n)&&$c.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Kd=(e,t,n)=>r=>{if(!qc(r))return r;const[o,i,a,s]=r.match(Kc);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Qd={...Yc,transform:e=>Math.round((e=>zc(0,255,e))(e))},$d={test:Ud("rgb","red"),parse:Kd("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Qd.transform(e)+", "+Qd.transform(t)+", "+Qd.transform(n)+", "+Uc(_c.transform(r))+")"};const qd={test:Ud("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:$d.transform},ep={test:Ud("hsl","hue"),parse:Kd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+nu.transform(Uc(t))+", "+nu.transform(Uc(n))+", "+Uc(_c.transform(r))+")"},tp={test:e=>$d.test(e)||qd.test(e)||ep.test(e),parse:e=>$d.test(e)?$d.parse(e):ep.test(e)?ep.parse(e):qd.parse(e),transform:e=>qc(e)?e:e.hasOwnProperty("red")?$d.transform(e):ep.transform(e)},np=(e,t,n)=>-n*e+n*t+e;function rp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const op=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},ip=[qd,$d,ep];function ap(e){const t=(n=e,ip.find(e=>e.test(n)));var n;Cd(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===ep&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=rp(s,r,e+1/3),i=rp(s,r,e),a=rp(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}(r)),r}const sp=(e,t)=>{const n=ap(e),r=ap(t),o={...n};return e=>(o.red=op(n.red,r.red,e),o.green=op(n.green,r.green,e),o.blue=op(n.blue,r.blue,e),o.alpha=np(n.alpha,r.alpha,e),$d.transform(o))};const lp={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:cd},cp={regex:Qc,countKey:"Colors",token:"${c}",parse:tp.parse},up={regex:Kc,countKey:"Numbers",token:"${n}",parse:Yc.parse};function dp(e,{regex:t,countKey:n,token:r,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...i.map(o)))}function pp(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&dp(n,lp),dp(n,cp),dp(n,up),n}function fp(e){return pp(e).values}function hp(e){const{values:t,numColors:n,numVars:r,tokenised:o}=pp(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(lp.token,e[o]):o<r+n?t.replace(cp.token,tp.transform(e[o])):t.replace(up.token,Uc(e[o]));return t}}const mp=e=>"number"==typeof e?0:e;const gp={test:function(e){var t,n;return isNaN(e)&&qc(e)&&((null===(t=e.match(Kc))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Qc))||void 0===n?void 0:n.length)||0)>0},parse:fp,createTransformer:hp,getAnimatableNone:function(e){const t=fp(e);return hp(e)(t.map(mp))}},bp=(e,t)=>n=>`${n>0?t:e}`;function yp(e,t){return"number"==typeof e?n=>np(e,t,n):tp.test(e)?sp(e,t):e.startsWith("var(")?bp(e,t):xp(e,t)}const vp=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>yp(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},Ip=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=yp(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},xp=(e,t)=>{const n=gp.createTransformer(t),r=pp(e),o=pp(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?zu(vp(r.values,o.values),n):(xd(!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.`),bp(e,t))},Cp=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Ap=(e,t)=>n=>np(e,t,n);function Ep(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Ap:"string"==typeof i?tp.test(i)?sp:xp:Array.isArray(i)?vp:"object"==typeof i?Ip:Ap);var i;const a=e.length-1;for(let n=0;n<a;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||cd:t;i=zu(e,i)}r.push(i)}return r}function wp(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Cd(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Ep(t,r,o),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Cp(e[n],e[n+1],t);return a[n](r)};return n?t=>l(zc(e[0],e[i-1],t)):l}function Sp(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Cp(0,t,r);e.push(np(n,1,o))}}(t,e.length-1),t}function Op({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Jd):Jd(r),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Sp(t),e),s=wp(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||Dd).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}function Np(e,t){return t?e*(1e3/t):0}function Tp(e,t,n){const r=Math.max(t-5,0);return Np(n-e(r),t-r)}const Pp=.001;function Rp({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;xd(e<=Ad(10),"Spring duration must be 10 seconds or less");let a=1-t;a=zc(.05,1,a),e=zc(.01,10,Ed(e)),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=Bp(t,a),l=Math.exp(-o);return Pp-i/s*l},i=t=>{const r=t*a*e,i=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Bp(Math.pow(t,2),a);return(-o(t)+Pp>0?-1:1)*((i-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Gp;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Ad(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const Gp=12;function Bp(e,t){return e*Math.sqrt(1-t*t)}const Lp=["duration","bounce"],kp=["stiffness","damping","mass"];function Vp(e,t){return t.some(t=>void 0!==e[t])}function Mp({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Vp(e,kp)&&Vp(e,Lp)){const n=Rp(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),f=u?-Ed(u):0,h=l/(2*Math.sqrt(s*c)),m=i-o,g=Ed(Math.sqrt(s/c)),b=Math.abs(m)<5;let y;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Bp(g,h);y=t=>{const n=Math.exp(-h*g*t);return i-n*((f+h*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===h)y=e=>i-Math.exp(-g*e)*(m+(f+g*m)*e);else{const e=g*Math.sqrt(h*h-1);y=t=>{const n=Math.exp(-h*g*t),r=Math.min(e*t,300);return i-n*((f+h*g*m)*Math.sinh(r)+e*m*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=y(e);if(p)a.done=e>=d;else{let o=f;0!==e&&(o=h<1?Tp(y,e,r):0);const s=Math.abs(o)<=n,l=Math.abs(i-r)<=t;a.done=s&&l}return a.value=a.done?i:r,a}}}function Dp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},f=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const m=d+h,g=void 0===a?m:a(m);g!==m&&(h=g-d);const b=e=>-h*Math.exp(-e/r),y=e=>g+b(e),v=e=>{const t=b(e),n=y(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let I,x;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(I=e,x=Mp({keyframes:[p.value,f(p.value)],velocity:Tp(y,e,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return x||void 0!==I||(t=!0,v(e),C(e)),void 0!==I&&e>I?x.next(e-I):(!t&&v(e),p)}}}const jp=e=>{const t=({timestamp:t})=>e(t);return{start:()=>id.update(t,!0),stop:()=>ad(t),now:()=>$u.isProcessing?$u.timestamp:performance.now()}};function Hp(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const Wp={decay:Dp,inertia:Dp,tween:Op,keyframes:Op,spring:Mp};function Xp({autoplay:e=!0,delay:t=0,driver:n=jp,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let f,h,m=1,g=!1;const b=()=>{f&&f(),h=new Promise(e=>{f=e})};let y;b();const v=Wp[o]||Op;let I;v!==Op&&"number"!=typeof r[0]&&(I=wp([0,100],r,{clamp:!1}),r=[0,100]);const x=v({...p,keyframes:r});let C;"mirror"===s&&(C=v({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let A="idle",E=null,w=null,S=null;null===x.calculatedDuration&&i&&(x.calculatedDuration=Hp(x));const{calculatedDuration:O}=x;let N=1/0,T=1/0;null!==O&&(N=O+a,T=N*(i+1)-a);let P=0;const R=e=>{if(null===w)return;m>0&&(w=Math.min(w,e)),P=null!==E?E:(e-w)*m;const n=P-t,o=n<0;P=Math.max(n,0),"finished"===A&&null===E&&(P=T);let l=P,c=x;if(i){const e=P/N;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/N)):"mirror"===s&&(c=C));let o=zc(0,1,n);P>T&&(o="reverse"===s&&r?1:0),l=o*N}const u=o?{done:!1,value:r[0]}:c.next(l);I&&(u.value=I(u.value));let{done:p}=u;o||null===O||(p=P>=T);const f=null===E&&("finished"===A||"running"===A&&p||m<0&&P<=0);return d&&d(u.value),f&&L(),u},G=()=>{y&&y.stop(),y=void 0},B=()=>{A="idle",G(),b(),w=S=null},L=()=>{A="finished",u&&u(),G(),b()},k=()=>{if(g)return;y||(y=n(R));const e=y.now();l&&l(),null!==E?w=e-E:w&&"finished"!==A||(w=e),S=w,E=null,A="running",y.start()};e&&k();const V={then:(e,t)=>h.then(e,t),get time(){return Ed(P)},set time(e){e=Ad(e),P=e,null===E&&y&&0!==m?w=y.now()-e/m:E=e},get duration(){const e=null===x.calculatedDuration?Hp(x):x.calculatedDuration;return Ed(e)},get speed(){return m},set speed(e){e!==m&&y&&(m=e,V.time=Ed(P))},get state(){return A},play:k,pause:()=>{A="paused",E=P},stop:()=>{g=!0,"idle"!==A&&(A="idle",c&&c(),B())},cancel:()=>{null!==S&&R(S),B()},complete:()=>{A="finished"},sample:e=>(w=0,R(e))};return V}const Fp=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Zp(e,t,{onUpdate:n,onComplete:r,...o}){if(!(Bd.waapi()&&Fp.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let i,a,s=!1;const l=()=>{a=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Od(t.ease))(t,o)){const e=Xp({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const f=function(e,t,n,{delay:r=0,duration:o,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Pd(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:u,ease:d,times:p}),h=()=>f.cancel(),m=()=>{id.update(h),i(),l()};return f.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,o)),r&&r(),m()},{then:(e,t)=>a.then(e,t),get time(){return Ed(f.currentTime||0)},set time(e){f.currentTime=Ad(e)},get speed(){return f.playbackRate},set speed(e){f.playbackRate=e},get duration(){return Ed(u)},play:()=>{s||(f.play(),ad(h))},pause:()=>f.pause(),stop:()=>{if(s=!0,"idle"===f.playState)return;const{currentTime:t}=f;if(t){const n=Xp({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}m()},complete:()=>f.finish(),cancel:m}}const zp={type:"spring",stiffness:500,damping:25,restSpeed:10},Yp={type:"keyframes",duration:.8},_p={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Jp=(e,{keyframes:t})=>t.length>2?Yp:Vc.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:zp:_p,Up=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!gp.test(t)&&"0"!==t||t.startsWith("url("))),Kp=new Set(["brightness","contrast","saturate","opacity"]);function Qp(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Kc)||[];if(!r)return e;const o=n.replace(r,"");let i=Kp.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const $p=/([a-z-]*)\(.*?\)/g,qp={...gp,getAnimatableNone:e=>{const t=e.match($p);return t?t.map(Qp).join(" "):e}},ef={...lu,color:tp,backgroundColor:tp,outlineColor:tp,fill:tp,stroke:tp,borderColor:tp,borderTopColor:tp,borderRightColor:tp,borderBottomColor:tp,borderLeftColor:tp,filter:qp,WebkitFilter:qp},tf=e=>ef[e];function nf(e,t){let n=tf(e);return n!==qp&&(n=gp),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const rf=e=>/^0[^.\s]+$/.test(e);function of(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||rf(e):void 0}function af(e,t){return e[t]||e.default||e}const sf=(e,t,n,r={})=>o=>{const i=af(r,e)||{},a=i.delay||r.delay||0;let{elapsed:s=0}=r;s-=Ad(a);const l=function(e,t,n,r){const o=Up(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?a:i[e-1]),of(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(s=i[e]);if(o&&l.length&&s)for(let e=0;e<l.length;e++)i[l[e]]=nf(t,s);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=Up(e,c),p=Up(e,u);xd(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let f={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-s,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(f={...f,...Jp(e,f)}),f.duration&&(f.duration=Ad(f.duration)),f.repeatDelay&&(f.repeatDelay=Ad(f.repeatDelay)),!d||!p||wd||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:cd,pause:cd,stop:cd,then:e=>(e(),Promise.resolve()),cancel:cd,complete:cd});return t?Xp({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(f);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Zp(t,e,f);if(n)return n}return Xp(f)};function lf(e){return Boolean(Dc(e)&&e.add)}const cf=e=>/^\-?\d*\.?\d+$/.test(e);function uf(e,t){-1===e.indexOf(t)&&e.push(t)}function df(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class pf{constructor(){this.subscriptions=[]}add(e){return uf(this.subscriptions,e),()=>df(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ff=new Set;function hf(e,t,n){e||ff.has(t)||(console.warn(t),ff.add(t))}class mf{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=$u;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,id.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>id.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&hf(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new pf);const n=this.events[e].add(t);return"change"===e?()=>{n(),id.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const 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=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Np(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):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 gf(e,t){return new mf(e,t)}const bf=e=>t=>t.test(e),yf=[Yc,ru,nu,tu,iu,ou,{test:e=>"auto"===e,parse:e=>e}],vf=e=>yf.find(bf(e)),If=[...yf,tp,gp],xf=e=>If.find(bf(e));function Cf(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,gf(n))}function Af(e,t){if(!t)return;return(t[e]||t.default||t).from}function Ef({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function wf(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(i=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in s){const r=e.getValue(t),o=s[t];if(!r||void 0===o||u&&Ef(u,t))continue;const a={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Id];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,id))}r.start(sf(t,r,o,e.shouldReduceMotion&&Vc.has(t)?{type:!1}:a));const d=r.animation;lf(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=vd(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)Cf(e,t,Lu(i[t]))}(e,a)}),c}function Sf(e,t,n={}){const r=vd(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(wf(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(Of).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(Sf(e,t,{...i,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(n.delay)])}function Of(e,t){return e.sortNodePosition(t)}const Nf=[...yc].reverse(),Tf=yc.length;function Pf(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Sf(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Sf(e,t,n);else{const o="function"==typeof t?vd(e,t,n.custom):t;r=Promise.all(wf(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Rf(e){let t=Pf(e);const n={animate:Bf(!0),whileInView:Bf(),whileHover:Bf(),whileTap:Bf(),whileDrag:Bf(),whileFocus:Bf(),exit:Bf()};let r=!0;const o=(t,n)=>{const r=vd(e,n);if(r){const{transition:e,transitionEnd:n,...o}=r;t={...t,...o,...n}}return t};function i(i,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Tf;t++){const f=Nf[t],h=n[f],m=void 0!==s[f]?s[f]:l[f],g=gc(m),b=f===a?h.isActive:null;!1===b&&(p=t);let y=m===l[f]&&m!==s[f]&&g;if(y&&r&&e.manuallyAnimateOnMount&&(y=!1),h.protectedKeys={...d},!h.isActive&&null===b||!m&&!h.prevProp||bc(m)||"boolean"==typeof m)continue;const v=Gf(h.prevProp,m);let I=v||f===a&&h.isActive&&!y&&g||t>p&&g;const x=Array.isArray(m)?m:[m];let C=x.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:A={}}=h,E={...A,...C},w=e=>{I=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in E){const t=C[e],n=A[e];d.hasOwnProperty(e)||(t!==n?Bu(t)&&Bu(n)?!yd(t,n)||v?w(e):h.protectedKeys[e]=!0:void 0!==t?w(e):u.add(e):void 0!==t&&u.has(e)?w(e):h.protectedKeys[e]=!0)}h.prevProp=m,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(I=!1),I&&!y&&c.push(...x.map(e=>({animation:e,options:{type:f,...i}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let f=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,r,o){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=i(o,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Gf(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!yd(t,e)}function Bf(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Lf=0;const kf={animation:{Feature:class extends Qu{constructor(e){super(e),e.animationState||(e.animationState=Rf(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),bc(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Qu{constructor(){super(...arguments),this.id=Lf++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Vf=(e,t)=>Math.abs(e-t);class Mf{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Hf(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Vf(e.x,t.x),r=Vf(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=$u;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Df(t,this.transformPagePoint),id.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=Hf("pointercancel"===e.type?this.lastMoveEventInfo:Df(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!Wu(e))return;this.handlers=t,this.transformPagePoint=n;const r=Df(Xu(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=$u;this.history=[{...o,timestamp:i}];const{onSessionStart:a}=t;a&&a(e,Hf(r,this.history)),this.removeListeners=zu(Fu(window,"pointermove",this.handlePointerMove),Fu(window,"pointerup",this.handlePointerUp),Fu(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ad(this.updatePoint)}}function Df(e,t){return t?{point:t(e.point)}:e}function jf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Hf({point:e},t){return{point:e,delta:jf(e,Xf(t)),offset:jf(e,Wf(t)),velocity:Ff(t,.1)}}function Wf(e){return e[0]}function Xf(e){return e[e.length-1]}function Ff(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Xf(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ad(t)));)n--;if(!r)return{x:0,y:0};const i=Ed(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Zf(e){return e.max-e.min}function zf(e,t=0,n=.01){return Math.abs(e-t)<=n}function Yf(e,t,n,r=.5){e.origin=r,e.originPoint=np(t.min,t.max,e.origin),e.scale=Zf(n)/Zf(t),(zf(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=np(n.min,n.max,e.origin)-e.originPoint,(zf(e.translate)||isNaN(e.translate))&&(e.translate=0)}function _f(e,t,n,r){Yf(e.x,t.x,n.x,r?r.originX:void 0),Yf(e.y,t.y,n.y,r?r.originY:void 0)}function Jf(e,t,n){e.min=n.min+t.min,e.max=e.min+Zf(t)}function Uf(e,t,n){e.min=t.min-n.min,e.max=e.min+Zf(t)}function Kf(e,t,n){Uf(e.x,t.x,n.x),Uf(e.y,t.y,n.y)}function Qf(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 $f(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}}const qf=.35;function eh(e,t,n){return{min:th(e,t),max:th(e,n)}}function th(e,t){return"number"==typeof e?e:e[t]||0}const nh=()=>({x:{min:0,max:0},y:{min:0,max:0}});function rh(e){return[e("x"),e("y")]}function oh({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ih(e){return void 0===e||1===e}function ah({scale:e,scaleX:t,scaleY:n}){return!ih(e)||!ih(t)||!ih(n)}function sh(e){return ah(e)||lh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function lh(e){return ch(e.x)||ch(e.y)}function ch(e){return e&&"0%"!==e}function uh(e,t,n){return n+t*(e-n)}function dh(e,t,n,r,o){return void 0!==o&&(e=uh(e,o,r)),uh(e,n,r)+t}function ph(e,t=0,n=1,r,o){e.min=dh(e.min,t,n,r,o),e.max=dh(e.max,t,n,r,o)}function fh(e,{x:t,y:n}){ph(e.x,t.translate,t.scale,t.originPoint),ph(e.y,n.translate,n.scale,n.originPoint)}function hh(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function mh(e,t){e.min=e.min+t,e.max=e.max+t}function gh(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,a=np(e.min,e.max,i);ph(e,t[n],t[r],a,t.scale)}const bh=["x","scaleX","originX"],yh=["y","scaleY","originY"];function vh(e,t){gh(e.x,t,bh),gh(e.y,t,yh)}function Ih(e,t){return oh(function(e,t){if(!t)return e;const 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))}const xh=new WeakMap;class Ch{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new Mf(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Xu(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Uu(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rh(e=>{let t=this.getAxisMotionValue(e).get()||0;if(nu.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Zf(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&id.update(()=>o(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&id.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Ah(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?np(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?np(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&mc(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:Qf(e.x,n,o),y:Qf(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=qf){return!1===e?e=0:!0===e&&(e=qf),{x:eh(e,"left","right"),y:eh(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&rh(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const 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(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!mc(e))return!1;const n=e.current;Cd(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=Ih(e,n),{scroll:o}=t;return o&&(mh(r.x,o.offset.x),mh(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:$f(e.x,t.x),y:$f(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=oh(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=rh(a=>{if(!Ah(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(sf(e,n,0,t))}stopAnimation(){rh(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){rh(t=>{const{drag:n}=this.getProps();if(!Ah(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-np(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!mc(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};rh(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Zf(e),o=Zf(t);return o>r?n=Cp(t.min,t.max-r,e.min):r>o&&(n=Cp(e.min,e.max-o,t.min)),zc(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),rh(t=>{if(!Ah(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(np(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;xh.set(this.visualElement,this);const e=Fu(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();mc(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=Hu(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rh(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=qf,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function Ah(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Eh=e=>(t,n)=>{e&&id.update(()=>e(t,n))};const wh={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Sh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Oh={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!ru.test(e))return e;e=parseFloat(e)}return`${Sh(e,t.target.x)}% ${Sh(e,t.target.y)}%`}},Nh={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=gp.parse(e);if(o.length>5)return r;const i=gp.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=np(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),i(o)}};class Th extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=Rh,Object.assign(Lc,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),wh.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||id.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{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(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ph(e){const[t,n]=function(){const e=d(dc);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=y();return l(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),r=d(Sc);return o.createElement(Th,{...e,layoutGroup:r,switchLayoutGroup:d(Oc),isPresent:t,safeToRemove:n})}const Rh={borderRadius:{...Oh,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Oh,borderTopRightRadius:Oh,borderBottomLeftRadius:Oh,borderBottomRightRadius:Oh,boxShadow:Nh},Gh=["TopLeft","TopRight","BottomLeft","BottomRight"],Bh=Gh.length,Lh=e=>"string"==typeof e?parseFloat(e):e,kh=e=>"number"==typeof e||ru.test(e);function Vh(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Mh=jh(0,.5,Xd),Dh=jh(.5,.95,cd);function jh(e,t,n){return r=>r<e?0:r>t?1:n(Cp(e,t,r))}function Hh(e,t){e.min=t.min,e.max=t.max}function Wh(e,t){Hh(e.x,t.x),Hh(e.y,t.y)}function Xh(e,t,n,r,o){return e=uh(e-=t,1/n,r),void 0!==o&&(e=uh(e,1/o,r)),e}function Fh(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){nu.test(t)&&(t=parseFloat(t),t=np(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=np(i.min,i.max,r);e===i&&(s-=t),e.min=Xh(e.min,t,n,s,o),e.max=Xh(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const Zh=["x","scaleX","originX"],zh=["y","scaleY","originY"];function Yh(e,t,n,r){Fh(e.x,t,Zh,n?n.x:void 0,r?r.x:void 0),Fh(e.y,t,zh,n?n.y:void 0,r?r.y:void 0)}function _h(e){return 0===e.translate&&1===e.scale}function Jh(e){return _h(e.x)&&_h(e.y)}function Uh(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Kh(e){return Zf(e.x)/Zf(e.y)}class Qh{constructor(){this.members=[]}add(e){uf(this.members,e),e.scheduleRender()}remove(e){if(df(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const 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);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{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)}}function $h(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const qh=(e,t)=>e.depth-t.depth;class em{constructor(){this.children=[],this.isDirty=!1}add(e){uf(this.children,e),this.isDirty=!0}remove(e){df(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(qh),this.isDirty=!1,this.children.forEach(e)}}const tm=["","X","Y","Z"];let nm=0;const rm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function om({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=nm++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;rm.totalNodes=rm.resolvedTargetDeltas=rm.recalculatedProjection=0,this.nodes.forEach(sm),this.nodes.forEach(hm),this.nodes.forEach(mm),this.nodes.forEach(lm),e=rm,window.MotionDebug&&window.MotionDebug.record(e)},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 em)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new pf),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const 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;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(ad(r),e(i-t))};return id.read(r,!0),()=>ad(r)}(r,250),wh.hasAnimatedSinceResize&&(wh.hasAnimatedSinceResize=!1,this.nodes.forEach(fm))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||xm,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Uh(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...af(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||fm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ad(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(gm),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(um);this.isUpdating||this.nodes.forEach(dm),this.isUpdating=!1,this.nodes.forEach(pm),this.nodes.forEach(im),this.nodes.forEach(am),this.clearAllSnapshots();const e=performance.now();$u.delta=zc(0,1e3/60,e-$u.timestamp),$u.timestamp=e,$u.isProcessing=!0,nd.update.process($u),nd.preRender.process($u),nd.render.process($u),$u.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(cm),this.sharedNodes.forEach(bm)}scheduleUpdateProjection(){id.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){id.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(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()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Jh(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||sh(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Cm((r=n).x),Cm(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(mh(t.x,n.offset.x),mh(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Wh(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){Wh(t,e);const{scroll:n}=this.root;n&&(mh(t.x,-n.offset.x),mh(t.y,-n.offset.y))}mh(t.x,o.offset.x),mh(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Wh(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&vh(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),sh(r.latestValues)&&vh(n,r.latestValues)}return sh(this.latestValues)&&vh(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Wh(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!sh(n.latestValues))continue;ah(n.latestValues)&&n.updateSnapshot();const r=nh();Wh(r,n.measurePageBox()),Yh(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return sh(this.latestValues)&&Yh(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!==$u.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=$u.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Kf(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Wh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,Jf(a.x,s.x,l.x),Jf(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Wh(this.target,this.layout.layoutBox),fh(this.target,this.targetDelta)):Wh(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Kf(this.relativeTargetOrigin,this.target,e.target),Wh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rm.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ah(this.parent.latestValues)&&!lh(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===$u.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;Wh(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&vh(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,fh(e,a)),r&&sh(i.latestValues)&&vh(e,i.latestValues))}t.x=hh(t.x),t.y=hh(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;_f(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=$h(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rm.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Im));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;ym(i.x,e.x,n),ym(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Kf(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){vm(e.x,t.x,n.x,r),vm(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Uh(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Wh(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=np(0,void 0!==n.opacity?n.opacity:1,Mh(r)),e.opacityExit=np(void 0!==t.opacity?t.opacity:1,0,Dh(r))):i&&(e.opacity=np(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Bh;o++){const i=`border${Gh[o]}Radius`;let a=Vh(t,i),s=Vh(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||kh(a)===kh(s)?(e[i]=Math.max(np(Lh(a),Lh(s),r),0),(nu.test(s)||nu.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=np(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ad(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=id.update(()=>{wh.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Dc(e)?e:gf(e);return r.start(sf("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const 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(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Am(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Zf(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Zf(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Wh(t,n),vh(t,o),_f(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Qh);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<tm.length;t++){const o="rotate"+tm[t];n[o]&&(r[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=ku(e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ku(e.pointerEvents)||""),this.hasProjected&&!sh(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=$h(this.projectionDeltaWithTransform,this.treeScale,a),o&&(r.transform=o(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Lc){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Lc[e],o="none"===r.transform?a[e]:t(a[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?ku(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(um),this.root.sharedNodes.clear()}}}function im(e){e.updateLayout()}function am(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?rh(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=Zf(r);r.min=t[e].min,r.max=r.min+o}):Am(o,n.layoutBox,t)&&rh(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=Zf(t[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};_f(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?_f(s,e.applyTransform(r,!0),n.measuredBox):_f(s,t,n.layoutBox);const l=!Jh(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Kf(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Kf(s,t,i.layoutBox),Uh(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function sm(e){rm.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function lm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function cm(e){e.clearSnapshot()}function um(e){e.clearMeasurements()}function dm(e){e.isLayoutDirty=!1}function pm(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function hm(e){e.resolveTargetDelta()}function mm(e){e.calcProjection()}function gm(e){e.resetRotation()}function bm(e){e.removeLeadSnapshot()}function ym(e,t,n){e.translate=np(t.translate,0,n),e.scale=np(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function vm(e,t,n,r){e.min=np(t.min,n.min,r),e.max=np(t.max,n.max,r)}function Im(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const xm={duration:.45,ease:[.4,0,.1,1]};function Cm(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Am(e,t,n){return"position"===e||"preserve-aspect"===e&&!zf(Kh(t),Kh(n),.2)}const Em=om({attachResizeListener:(e,t)=>Hu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),wm={current:void 0},Sm=om({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!wm.current){const e=new Em({});e.mount(window),e.setOptions({layoutScroll:!0}),wm.current=e}return wm.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Om={pan:{Feature:class extends Qu{constructor(){super(...arguments),this.removePointerDownListener=cd}onPointerDown(e){this.session=new Mf(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Eh(e),onStart:Eh(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&id.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Fu(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Qu{constructor(e){super(e),this.removeGroupControls=cd,this.removeListeners=cd,this.controls=new Ch(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||cd}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Sm,MeasureLayout:Ph}},Nm=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Tm(e,t,n=1){Cd(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=Nm.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);return i?i.trim():Fc(o)?Tm(o,t,n+1):o}const Pm=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Rm=e=>Pm.has(e),Gm=e=>e===Yc||e===ru,Bm=(e,t)=>parseFloat(e.split(", ")[t]),Lm=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Bm(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Bm(t[1],e):0}},km=new Set(["x","y","z"]),Vm=kc.filter(e=>!km.has(e));const Mm={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:Lm(4,13),y:Lm(5,14)},Dm=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Rm);let i=[],a=!1;const s=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=vf(c);const d=t[o];let p;if(Bu(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=vf(c);for(let n=t;n<e&&null!==d[n];n++)p?Cd(vf(d[n])===p,"All keyframes must be of the same type"):(p=vf(d[n]),Cd(p===u||Gm(u)&&Gm(p),"Keyframes must be of the same dimension as the current value"))}else p=vf(d);if(u!==p)if(Gm(u)&&Gm(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===ru&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[o]=u.transform(d):(a||(i=function(e){const t=[];return Vm.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(o),r[o]=void 0!==r[o]?r[o]:t[o],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:a}=i,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Mm[e](r,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=Mm[n](l,i)}),e})(t,e,s);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),pc&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function jm(e,t,n,r){return(e=>Object.keys(e).some(Rm))(t)?Dm(e,t,n,r):{target:t,transitionEnd:r}}const Hm=(e,t,n,r)=>{const o=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Fc(t))return;const n=Tm(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!Fc(o))continue;const i=Tm(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return jm(e,t=o.target,n,r=o.transitionEnd)},Wm={current:null},Xm={current:!1};function Fm(){if(Xm.current=!0,pc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Wm.current=e.matches;e.addListener(t),t()}else Wm.current=!1}const Zm=new WeakMap,zm=Object.keys(wc),Ym=zm.length,_m=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Jm=vc.length;class Um{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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.scheduleRender=()=>id.render(this.render,!1,!0);const{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.isControllingVariants=Ic(t),this.isVariantNode=xc(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==a[e]&&Dc(t)&&(t.set(a[e],!1),lf(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Zm.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),Xm.current||Fm(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Wm.current),"production"!==process.env.NODE_ENV&&hf(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Zm.delete(this.current),this.projection&&this.projection.unmount(),ad(this.notifyUpdate),ad(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=Vc.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&id.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,o){let i,a;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?xd(!1,e):Cd(!1,e)}for(let e=0;e<Ym;e++){const n=zm[e],{isEnabled:r,Feature:o,ProjectionNode:s,MeasureLayout:l}=wc[n];s&&(i=s),r(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(a=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&mc(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,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<_m.length;t++){const n=_m[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const i=t[o],a=n[o];if(Dc(i))e.addValue(o,i),lf(r)&&r.add(o),"development"===process.env.NODE_ENV&&hf("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Dc(a))e.addValue(o,gf(i,{owner:e})),lf(r)&&r.remove(o);else if(a!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,gf(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<Jm;e++){const n=vc[e],r=this.props[n];(gc(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const 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=gf(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Gu(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||Dc(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new pf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Km extends Um{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]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},o){let i=function(e,t,n){const r={};for(const o in e){const e=Af(o,t);if(void 0!==e)r[o]=e;else{const e=n.getValue(o);e&&(r[o]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),i&&(i=r(i))),o){!function(e,t,n){var r,o;const i=Object.keys(t).filter(t=>!e.hasValue(t)),a=i.length;if(a)for(let s=0;s<a;s++){const a=i[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==o?o:t[a]),null!=c&&("string"==typeof c&&(cf(c)||rf(c))?c=parseFloat(c):!xf(c)&&gp.test(l)&&(c=nf(a,l)),e.addValue(a,gf(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,i);const e=Hm(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Qm extends Km{readValueFromInstance(e,t){if(Vc.has(t)){const e=tf(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(Xc(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ih(e,t)}build(e,t,n,r){cu(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Pu(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Dc(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Ou(e,t,n,r)}}class $m extends Km{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Vc.has(t)){const e=tf(t);return e&&e.default||0}return t=Nu.has(t)?t:Su(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Ru(e,t)}build(e,t,n,r){xu(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Tu(e,t,0,r)}mount(e){this.isSVGTag=Au(e.tagName),super.mount(e)}}const qm=(e,t)=>Bc(e)?new $m(t,{enableHardwareAcceleration:!1}):new Qm(t,{enableHardwareAcceleration:!0}),eg={...kf,...bd,...Om,...{layout:{ProjectionNode:Sm,MeasureLayout:Ph}}},tg=Rc((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Bc(e)?Du:ju,preloadedFeatures:n,useRender:wu(t),createVisualElement:r,Component:e}}(e,t,eg,qm));function ng(){!Xm.current&&Fm();const[e]=a(Wm.current);return"production"!==process.env.NODE_ENV&&hf(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const rg={scale:{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.3}},shadow:{whileHover:{boxShadow:"0 10px 25px rgba(0,0,0,0.15)"},transition:{duration:.3}},lift:{whileHover:{y:-5},whileTap:{y:0},transition:{type:"spring",stiffness:300,damping:20}},opacity:{whileHover:{opacity:.8},transition:{duration:.2}},grow:{whileHover:{scale:1.1},whileTap:{scale:.95},transition:{type:"spring",stiffness:300,damping:20}},pop:{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.15}}};function og({children:t,animationType:n=lc,disableAnimation:r=!0,whileHover:i,whileTap:a,transition:s,...l}){const c=ng(),u=o.Children.only(t);if(r||c)return u;const d=function(e){if(!e)return;const t=Array.isArray(e)?e:[e];return 0!==t.length?t.reduce((e,t)=>{const n=rg[t];return{whileHover:{...e.whileHover,...n.whileHover},...e.whileTap||n.whileTap?{whileTap:{...e.whileTap,...n.whileTap}}:{},transition:{...e.transition,...n.transition}}},{whileHover:{},transition:{}}):void 0}(n),p=d?{...d.whileHover,...i}:i,f=(null==d?void 0:d.whileTap)||a?{...null==d?void 0:d.whileTap,...a}:void 0,h=d?{...d.transition,...s}:s;if("string"==typeof u.type){const t=tg[u.type];return e(t,{...u.props,ref:u.ref,whileHover:p,whileTap:f,transition:h,...l})}return e(tg.div,{whileHover:p,whileTap:f,transition:h,...l,children:u})}og.displayName="AnimationWrapper";const ig=i(({variant:r="primary_brand",isLoading:o=!1,text:i,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},iconName:d,iconSize:p=24,iconFill:f=0,disableAnimation:h,animationType:m=lc,as:g="button",...b},y)=>{const v=(()=>{const e=Ve((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-transparent cursor-pointer transition-colors duration-200 align-top sm:whitespace-nowrap",l?"w-full":"w-auto"),t=Ve((s||o)&&"cursor-not-allowed",o&&"pl-7");return Ve(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-border-secondary-on-bg-fill disabled:bg-bg-fill-secondary"}[r]||"",t,c)})();let I=`button--${r}`;o&&(I+=" button--loading"),s&&(I+=" button--disabled");const x=`${I} ${v}`,C=t(n,{children:[o?e(Sn,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ve(sc(u)),children:a}),i]}):i,d?e(Sn,{name:d,size:p,fill:f,weight:"200"}):null]});return e(og,"a"===g?{disableAnimation:h,animationType:m,children:e("a",{ref:y,className:Ve(x),...b,"data-component":"BrandButton","data-variant":"anchor",children:C})}:{disableAnimation:h,animationType:m,children:e("button",{ref:y,className:Ve(x),disabled:s||o,...b,"data-component":"BrandButton","data-variant":"button",children:C})})});ig.displayName="BrandButton";const ag=t=>{const{className:n,...r}=t;return e("div",{className:Ve("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};ag.displayName="Divider";const sg=n=>{const{name:r,value:o,label:i,subText:a,checked:s,onChange:l,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":f,labelClassName:h="",disabled:m,...g}=n,b=()=>null==l?void 0:l(o||r);return t("label",{htmlFor:r,className:Ve("flex items-center",c),"data-cy":f,...p,children:[e("input",{className:"hidden",type:"radio",name:r,value:o,checked:s,readOnly:!0,disabled:m,...g}),e(Gn,{type:"button",onClick:b,disabled:m,className:Ve("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",s&&"border-[1px] border-solid border-border-brand",m&&"opacity-50"),children:s&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(Gn,{type:"button",onClick:b,disabled:m,tabIndex:i?0:-1,children:[e("div",{className:Ve("text-body2 font-normal",h),children:i}),e("div",{className:"text-body1 text-text-info",children:a})]})]})};sg.displayName="RadioButton";const lg=n=>{const{list:r,text:o}=n,[i,s]=a(!0);return t("div",{className:"mt-3",children:[t(Gn,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),s(e=>!e)},children:[e("span",{children:o||"See details"}),e(Sn,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(Io,{open:i,children:e("div",{className:"pt-1",children:e(Nn,{listItemClassName:"body3",items:r})})})]})};lg.displayName="SeeMore";const cg=({onSelect:r,speed:o,isSelected:i=!1,renderCheckPlans:s,iconSize:l=24,iconClassName:c,cta:u,techType:d,isMax:p})=>{const[f,h]=a(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==s?void 0:s({speedCardConfig:{isModalOpen:f,setModalOpen:()=>{h(!1)},speed:o,techType:d,isMax:p},cta:u});return t(n,{children:[t(Gn,{onClick:()=>{h(!0),r()},className:Ve(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${o}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(Sn,{className:Ve(c,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:l})]}),g]})},ug=({className:t="",count:n=1})=>e("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,r)=>e("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*r}},r))});ug.displayName="Skeleton";const dg=()=>t("div",{className:"item-center mx-auto mt-4 flex animate-pulse flex-col justify-center gap-10 px-1 md:max-w-[48.375rem] md:gap-16 md:px-0","data-testid":"generic-skeleton",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]});function pg({tooltipMsg:r,className:o,children:i}){return t(n,{children:[e("style",{children:'\n .tooltip-custom {\n position: relative;\n cursor: pointer;\n margin-top: 7px;\n }\n .tooltip-custom::after {\n display: none;\n position: absolute;\n text-align: center;\n z-index: 999;\n content: attr(data-text);\n top: 0;\n left: -200%;\n transform: translate(-50%, calc(-100% - 10px));\n line-height: 1.1rem;\n padding-left: 1rem;\n padding-right: 1rem;\n border-radius: 8px;\n color: white;\n background-color: black;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n width: 270px;\n font-size: 14px;\n }\n .tooltip-custom:hover::after {\n display: block;\n }\n .tooltip-custom::before {\n background-color: black;\n content: " ";\n display: none;\n position: absolute;\n width: 15px;\n height: 15px;\n z-index: 999;\n top: 0;\n left: 50%;\n transform: translate(-50%, calc(-100% - 5px)) rotate(45deg);\n }\n .tooltip-custom:hover::before {\n display: block;\n }\n @media (max-width: 640px) {\n .tooltip-custom::after {\n left: -124px;\n }\n }\n @media (max-width: 343px) {\n .tooltip-custom::after {\n left: 80px;\n width: 160px;\n }\n }\n '}),e("span",{className:`tooltip-custom ${o||""}`,"data-text":r,children:i})]})}pg.displayName="Tooltip";const fg=n=>{const{cartTotalText:r,onClick:o,isOpen:i,...a}=n;return e(Gn,{className:Ve("btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse","btn-small w-full border-border pl-6 pr-4 md:btn-medium"),onClick:o,...a,children:t("div",{className:"flex w-full items-center justify-center gap-2",children:[t("div",{className:"flex flex-col items-center justify-center",children:[e(On,{className:"label4 -mb-1 text-text",children:"View cart"}),e(On,{className:"label3 text-text md:label1","data-testid":"cart-total",children:r})]}),e(Sn,{name:"keyboard_arrow_up",size:24,fill:0,className:Ve("h-6 w-6 transition-transform",i?"rotate-180":"rotate-0")})]})})};function hg(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:o=768,autoScrollInterval:i=8e3,enableAutoScroll:c=!0}=e,[d,p]=a(0),[f,h]=a(0),[m,g]=a(!1),[b,y]=a("undefined"!=typeof window?window.innerWidth:1),[v,I]=a(!1),x=u(null),C=u(0),A=u(null),E={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:i};l(()=>{const e=()=>{var e;y((null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const w=s(()=>{0!==t&&p(e=>(e+1)%t)},[t]),S=s(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),O=s(e=>{e<0||e>=t||p(e)},[t]),N=s(e=>{C.current=e.touches[0].clientX,g(!0),x.current&&clearInterval(x.current)},[]),T=s(e=>{if(!m)return;const t=e.touches[0].clientX-C.current;h(t)},[m]),P=s(()=>{g(!1);const e=b*r;f>e?S():f<-e&&w(),h(0),c&&i>0&&(x.current=setInterval(()=>{w()},i))},[f,b,r,S,w,c,i]);return l(()=>{const e=()=>{I(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),l(()=>{if(c&&0!==t&&0!==i)return x.current=setInterval(()=>{w()},i),()=>{x.current&&clearInterval(x.current)}},[w,t,c,i]),{currentIndex:d,swipeOffset:f,isSwiping:m,isMobile:v,containerWidth:b,containerRef:A,nextSlide:w,prevSlide:S,goToSlide:O,handleTouchStart:N,handleTouchMove:T,handleTouchEnd:P,constants:E}}export{xo as Accordion,ac as AlertCard,og as AnimationWrapper,ig as BrandButton,Gn as Button,Hn as CallButton,Co as Checkbox,Nn as Checklist,Io as Collapse,lc as DEFAULT_BUTTON_ANIMATION_TYPE,ag as Divider,kn as Image,Ln as Input,Bn as InputField,Rn as Link,wn as List,En as ListItem,Sn as MaterialIcon,vo as Modal,Dn as NextImage,dg as PageSkeleton,sg as RadioButton,lg as SeeMore,ic as Select,cg as SelectPlanButton,ug as Skeleton,jn as Spinner,On as Text,Ln as TextInput,pg as Tooltip,fg as ViewCartButton,E as clsx,Ve as cx,Wn as useBodyScrollLock,hg as useCarouselSwipe};
38
+ */function qi(){return Ui||(Ui=1,"production"===process.env.NODE_ENV?Yi.exports=function(){if(Xi)return _i;Xi=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case f:case a:return e;default:return p}}case n:return p}}}function I(e){return v(e)===c}return _i.AsyncMode=l,_i.ConcurrentMode=c,_i.ContextConsumer=s,_i.ContextProvider=a,_i.Element=t,_i.ForwardRef=u,_i.Fragment=r,_i.Lazy=h,_i.Memo=f,_i.Portal=n,_i.Profiler=i,_i.StrictMode=o,_i.Suspense=d,_i.isAsyncMode=function(e){return I(e)||v(e)===l},_i.isConcurrentMode=I,_i.isContextConsumer=function(e){return v(e)===s},_i.isContextProvider=function(e){return v(e)===a},_i.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},_i.isForwardRef=function(e){return v(e)===u},_i.isFragment=function(e){return v(e)===r},_i.isLazy=function(e){return v(e)===h},_i.isMemo=function(e){return v(e)===f},_i.isPortal=function(e){return v(e)===n},_i.isProfiler=function(e){return v(e)===i},_i.isStrictMode=function(e){return v(e)===o},_i.isSuspense=function(e){return v(e)===d},_i.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y||e.$$typeof===m)},_i.typeOf=v,_i}():Yi.exports=(Ji||(Ji=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var m=e.type;switch(m){case l:case c:case r:case i:case o:case d:return m;default:var g=m&&m.$$typeof;switch(g){case s:case u:case h:case f:case a:return g;default:return p}}case n:return p}}}var I=l,x=c,C=s,A=a,E=t,w=u,S=r,O=h,N=f,T=n,P=i,R=o,G=d,B=!1;function L(e){return v(e)===c}$i.AsyncMode=I,$i.ConcurrentMode=x,$i.ContextConsumer=C,$i.ContextProvider=A,$i.Element=E,$i.ForwardRef=w,$i.Fragment=S,$i.Lazy=O,$i.Memo=N,$i.Portal=T,$i.Profiler=P,$i.StrictMode=R,$i.Suspense=G,$i.isAsyncMode=function(e){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),L(e)||v(e)===l},$i.isConcurrentMode=L,$i.isContextConsumer=function(e){return v(e)===s},$i.isContextProvider=function(e){return v(e)===a},$i.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},$i.isForwardRef=function(e){return v(e)===u},$i.isFragment=function(e){return v(e)===r},$i.isLazy=function(e){return v(e)===h},$i.isMemo=function(e){return v(e)===f},$i.isPortal=function(e){return v(e)===n},$i.isProfiler=function(e){return v(e)===i},$i.isStrictMode=function(e){return v(e)===o},$i.isSuspense=function(e){return v(e)===d},$i.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y||e.$$typeof===m)},$i.typeOf=v}()),$i)),Yi.exports}!function(){if(Qi)return Ki;Qi=1;var e=qi(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Ki=function e(t,r,o){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,o)}var f=s(r);l&&(f=f.concat(l(r)));for(var h=i(t),m=i(r),g=0;g<f.length;++g){var b=f[g];if(!(n[b]||o&&o[b]||m&&m[b]||h&&h[b])){var y=c(r,b);try{a(t,b,y)}catch(e){}}}}return t}}();var ea="undefined"!=typeof document;var ta=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===ea&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var na={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};function ra(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var oa=/[A-Z]|^ms/g,ia=/_EMO_([^_]+?)_([^]*?)_EMO_/g,aa=function(e){return 45===e.charCodeAt(1)},sa=function(e){return null!=e&&"boolean"!=typeof e},la=ra(function(e){return aa(e)?e:e.replace(oa,"-$&").toLowerCase()}),ca=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ia,function(e,t,n){return da={name:t,styles:n,next:da},t})}return 1===na[e]||aa(e)||"number"!=typeof t||0===t?t:t+"px"};function ua(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return da={name:o.name,styles:o.styles,next:da},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)da={name:a.name,styles:a.styles,next:da},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ua(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;sa(s)&&(r+=la(i)+":"+ca(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)sa(a[l])&&(r+=la(i)+":"+ca(i,a[l])+";");else{var c=ua(e,t,a);switch(i){case"animation":case"animationName":r+=la(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=da,l=n(e);return da=s,ua(e,t,l)}}return n}var da,pa=/label:\s*([^\s;{]+)\s*(;|$)/g;function fa(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";da=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=ua(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=ua(n,t,e[a]),r)o+=i[a]}pa.lastIndex=0;for(var s,l="";null!==(s=pa.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:da}}var ha="undefined"!=typeof document,ma=function(e){return e()},ga=!!r.useInsertionEffect&&r.useInsertionEffect,ba=ha&&ga||ma,ya="undefined"!=typeof document,va=r.createContext("undefined"!=typeof HTMLElement?zi({key:"css"}):null);va.Provider;var Ia=function(e){return i(function(t,n){var r=d(va);return e(t,r,n)})};ya||(Ia=function(e){return function(t){var n=d(va);return null===n?(n=zi({key:"css"}),r.createElement(va.Provider,{value:n},e(t,n))):e(t,n)}});var xa,Ca,Aa=r.createContext({}),Ea={}.hasOwnProperty,wa="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Sa=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;ta(t,n,o);var i=ba(function(){return function(e,t,n){ta(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);ea||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!ea&&0!==o.length)return o}}(t,n,o)});if(!ya&&void 0!==i){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},Oa=Ia(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[wa],a=[o],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=fa(a,void 0,r.useContext(Aa));s+=t.key+"-"+l.name;var c={};for(var u in e)Ea.call(e,u)&&"css"!==u&&u!==wa&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Sa,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,c))}),Na=Oa,Ta=function(e,t){var n=arguments;if(null==t||!Ea.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Na,i[1]=function(e,t){var n={};for(var r in t)Ea.call(t,r)&&(n[r]=t[r]);return n[wa]=e,n}(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)};function Pa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fa(t)}xa=Ta||(Ta={}),Ca||(Ca=xa.JSX||(xa.JSX={}));const Ra=Math.min,Ga=Math.max,Ba=Math.round,La=Math.floor,ka=e=>({x:e,y:e});function Va(){return"undefined"!=typeof window}function Ma(e){return Ha(e)?(e.nodeName||"").toLowerCase():"#document"}function Da(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ja(e){var t;return null==(t=(Ha(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ha(e){return!!Va()&&(e instanceof Node||e instanceof Da(e).Node)}function Wa(e){return!!Va()&&(e instanceof HTMLElement||e instanceof Da(e).HTMLElement)}function Xa(e){return!(!Va()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Da(e).ShadowRoot)}const Fa=new Set(["inline","contents"]);function Za(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ya(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Fa.has(o)}const za=new Set(["html","body","#document"]);function Ya(e){return Da(e).getComputedStyle(e)}function _a(e){const t=function(e){if("html"===Ma(e))return e;const t=e.assignedSlot||e.parentNode||Xa(e)&&e.host||ja(e);return Xa(t)?t.host:t}(e);return function(e){return za.has(Ma(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wa(t)&&Za(t)?t:_a(t)}function Ja(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=_a(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Da(o);if(i){const e=Ua(a);return t.concat(a,a.visualViewport||[],Za(o)?o:[],e&&n?Ja(e):[])}return t.concat(o,Ja(o,[],n))}function Ua(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ka(e){return t=e,Va()&&(t instanceof Element||t instanceof Da(t).Element)?e:e.contextElement;var t}function Qa(e){const t=Ka(e);if(!Wa(t))return ka(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=Ya(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Wa(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Ba(n)!==i||Ba(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?Ba(n.width):n.width)/r,s=(i?Ba(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function $a(e,t,n,r){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),i=Ka(e);let a=ka(1);t&&(a=Qa(e));const s=ka(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=r;let t=Da(i),n=Ua(t);for(;n&&r&&e!==t;){const e=Qa(n),r=n.getBoundingClientRect(),o=Ya(n),i=r.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,t=Da(n),n=Ua(t)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function qa(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function es(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ka(e),u=o||i?[...c?Ja(c):[],...Ja(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const o=ja(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(s||t(),!p||!f)return;const h={rootMargin:-La(d)+"px "+-La(o.clientWidth-(u+p))+"px "+-La(o.clientHeight-(d+f))+"px "+-La(u)+"px",threshold:Ga(0,Ra(1,l))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||qa(c,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),i}(c,n):null;let p,f=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let m=l?$a(e):null;return l&&function t(){const r=$a(e);m&&!qa(m,r)&&n();m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var ts="undefined"!=typeof document?p:function(){},ns=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],rs=function(){};function os(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function is(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(os(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var as=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Ao(e)&&null!==e?[e]:[];var t},ss=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,Oo({},Ro(e,ns))},ls=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function cs(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function us(e){return cs(e)?window.pageYOffset:e.scrollTop}function ds(e,t){cs(e)?window.scrollTo(0,t):e.scrollTop=t}function ps(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rs,o=us(e),i=t-o,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+o;ds(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function fs(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?ds(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&ds(e,Math.max(t.offsetTop-o,0))}function hs(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var ms=!1,gs={get passive(){return ms=!0}},bs="undefined"!=typeof window?window:{};bs.addEventListener&&bs.removeEventListener&&(bs.addEventListener("p",rs,gs),bs.removeEventListener("p",rs,!1));var ys=ms;function vs(e){return null!=e}function Is(e,t,n){return e?t:n}var xs=["children","innerProps"],Cs=["children","innerProps"];function As(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=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 o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,h=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:cs(u=l)?window.innerHeight:u.clientHeight,y=us(l),v=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),x=g-I,C=b-m,A=x+y,E=d-y-m,w=f-b+y+v,S=y+m-I,O=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(E>=h&&!a)return i&&ps(l,w,O),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&C>=r)return i&&ps(l,w,O),{placement:"bottom",maxHeight:a?C-v:E-v};if("auto"===o||a){var N=t,T=a?x:A;return T>=r&&(N=Math.min(T-v-s,t)),{placement:"top",maxHeight:N}}if("bottom"===o)return i&&ds(l,w),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(A>=h&&!a)return i&&ps(l,S,O),{placement:"top",maxHeight:t};if(!a&&A>=r||a&&x>=r){var P=t;return(!a&&A>=r||a&&x>=r)&&(P=a?x-I:A-I),i&&ps(l,S,O),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var Es,ws=function(e){return"auto"===e?"bottom":e},Ss=f(null),Os=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(d(Ss)||{}).setPortalPlacement,p=u(null),f=Po(a(r),2),h=f[0],m=f[1],g=Po(a(null),2),b=g[0],y=g[1],v=l.spacing.controlHeight;return ts(function(){var e=p.current;if(e){var t="fixed"===i,a=As({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:v});m(a.maxHeight),y(a.placement),null==c||c(a.placement)}},[r,o,i,s,n,c,v]),t({ref:p,placerProps:Oo(Oo({},e),{},{placement:b||ws(o),maxHeight:h})})},Ns=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Ta("div",oo({},ls(e,"menu",{menu:!0}),{ref:n},r),t)},Ts=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Oo({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Ps=Ts,Rs=Ts,Gs=["size"],Bs=["innerProps","isRtl","size"];var Ls,ks,Vs="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnM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YWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Ms=function(e){var t=e.size,n=Ro(e,Gs);return Ta("svg",oo({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Vs},n))},Ds=function(e){return Ta(Ms,oo({size:20},e),Ta("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"}))},js=function(e){return Ta(Ms,oo({size:20},e),Ta("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"}))},Hs=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Oo({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},Ws=Hs,Xs=Hs,Fs=function(){var e=Pa.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_"}}}(Es||(Ls=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ks||(ks=Ls.slice(0)),Es=Object.freeze(Object.defineProperties(Ls,{raw:{value:Object.freeze(ks)}})))),Zs=function(e){var t=e.delay,n=e.offset;return Ta("span",{css:Pa({animation:"".concat(Fs," 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"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT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rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},zs=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Ta("div",oo({ref:o},ls(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},Ys=["data"],_s=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Ta("div",oo({},ls(e,"group",{group:!0}),s),Ta(i,oo({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:o,cx:n}),l),Ta("div",null,t))},Js=["innerRef","isDisabled","isHidden","inputClassName"],Us={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ks={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Oo({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Us)},Qs=function(e){return Oo({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Us)},$s=function(e){var t=e.cx,n=e.value,r=ss(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Ro(r,Js);return Ta("div",oo({},ls(e,"input",{"input-container":!0}),{"data-value":n||""}),Ta("input",oo({className:t({input:!0},s),ref:o,style:Qs(a),disabled:i},l)))},qs=function(e){var t=e.children,n=e.innerProps;return Ta("div",n,t)};var el=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Ta(l,{data:r,innerProps:Oo(Oo({},ls(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Ta(c,{data:r,innerProps:Oo({},ls(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Ta(u,{data:r,innerProps:Oo(Oo({},ls(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},tl={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Ta(Ds,null))},Control:zs,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Ta(js,null))},DownChevron:js,CrossIcon:Ds,Group:_s,GroupHeading:function(e){var t=ss(e);t.data;var n=Ro(t,Ys);return Ta("div",oo({},ls(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Ta("span",oo({},t,ls(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:$s,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=Ro(e,Bs);return Ta("div",oo({},ls(Oo(Oo({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Ta(Zs,{delay:0,offset:n}),Ta(Zs,{delay:160,offset:!0}),Ta(Zs,{delay:320,offset:!n}))},Menu:Ns,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Ta("div",oo({},ls(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,i=e.menuPlacement,l=e.menuPosition,d=u(null),p=u(null),f=Po(a(ws(i)),2),h=f[0],m=f[1],g=c(function(){return{setPortalPlacement:m}},[]),b=Po(a(null),2),y=b[0],v=b[1],I=s(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===l?0:window.pageYOffset,n=e[h]+t;n===(null==y?void 0:y.offset)&&e.left===(null==y?void 0:y.rect.left)&&e.width===(null==y?void 0:y.rect.width)||v({offset:n,rect:e})}},[r,l,h,null==y?void 0:y.offset,null==y?void 0:y.rect.left,null==y?void 0:y.rect.width]);ts(function(){I()},[I]);var x=s(function(){"function"==typeof p.current&&(p.current(),p.current=null),r&&d.current&&(p.current=es(r,d.current,I,{elementResize:"ResizeObserver"in window}))},[r,I]);ts(function(){x()},[x]);var A=s(function(e){d.current=e,x()},[x]);if(!t&&"fixed"!==l||!y)return null;var E=Ta("div",oo({ref:A},ls(Oo(Oo({},e),{},{offset:y.offset,position:l,rect:y.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Ta(Ss.Provider,{value:g},t?C(E,t):E)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=Ro(e,Cs);return Ta("div",oo({},ls(Oo(Oo({},o),{},{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,o=Ro(e,xs);return Ta("div",oo({},ls(Oo(Oo({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:el,MultiValueContainer:qs,MultiValueLabel:qs,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({role:"button"},n),t||Ta(Ds,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Ta("div",oo({},ls(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Ta("div",oo({},ls(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Ta("div",oo({},ls(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,o=e.hasValue;return Ta("div",oo({},ls(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},nl=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function rl(e,t){return e===t||!(!nl(e)||!nl(t))}function ol(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!rl(e[n],t[n]))return!1;return!0}for(var il="production"===process.env.NODE_ENV?{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"}:{name:"1f43avz-a11yText-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;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},al=function(e){return Ta("span",oo({css:il},e))},sl={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){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 i?"".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,o=e.labels,i=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(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},ll=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,f=s.inputValue,h=s.isMulti,g=s.isOptionDisabled,b=s.isSearchable,y=s.menuIsOpen,v=s.options,I=s.screenReaderStatus,x=s.tabSelectsValue,C=s.isLoading,A=s["aria-label"],E=s["aria-live"],w=c(function(){return Oo(Oo({},sl),d||{})},[d]),S=c(function(){var e,n="";if(t&&w.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,l=t.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||s||void 0,f=d?d.map(p):[],h=Oo({isDisabled:c&&g(c,a),label:u,labels:f},t);n=w.onChange(h)}return n},[t,w,g,a,p]),O=c(function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&w.onFocus){var s={focused:t,label:p(t),isDisabled:g(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=w.onFocus(s)}return e},[n,r,p,g,w,o,a,u]),N=c(function(){var e="";if(y&&v.length&&!C&&w.onFilter){var t=I({count:o.length});e=w.onFilter({inputValue:f,resultsMessage:t})}return e},[o,f,y,w,v,I,C]),T="initial-input-focus"===(null==t?void 0:t.action),P=c(function(){var e="";if(w.guidance){var t=r?"value":y?"menu":"input";e=w.guidance({"aria-label":A,context:t,isDisabled:n&&g(n,a),isMulti:h,isSearchable:b,tabSelectsValue:x,isInitialFocus:T})}return e},[A,n,r,h,g,b,y,w,a,x,T]),R=Ta(m,null,Ta("span",{id:"aria-selection"},S),Ta("span",{id:"aria-focused"},O),Ta("span",{id:"aria-results"},N),Ta("span",{id:"aria-guidance"},P));return Ta(m,null,Ta(al,{id:l},T&&R),Ta(al,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!T&&R))},cl=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],ul=new RegExp("["+cl.map(function(e){return e.letters}).join("")+"]","g"),dl={},pl=0;pl<cl.length;pl++)for(var fl=cl[pl],hl=0;hl<fl.letters.length;hl++)dl[fl.letters[hl]]=fl.base;var ml=function(e){return e.replace(ul,function(e){return dl[e]})},gl=function(e,t){void 0===t&&(t=ol);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(ml),bl=function(e){return e.replace(/^\s+|\s+$/g,"")},yl=function(e){return"".concat(e.label," ").concat(e.value)},vl=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Oo({ignoreCase:!0,ignoreAccents:!0,stringify:yl,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?bl(n):n,u=s?bl(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=gl(c),u=ml(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Il=["innerRef"];function xl(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter(function(e){var t=Po(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=Po(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}(Ro(e,Il),"onExited","in","enter","exit","appear");return Ta("input",oo({ref:t},n,{css:Pa({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)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpze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G91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Cl=["boxSizing","height","overflow","paddingRight","position"],Al={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function El(e){e.cancelable&&e.preventDefault()}function wl(e){e.stopPropagation()}function Sl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ol(){return"ontouchstart"in window||navigator.maxTouchPoints}var Nl=!("undefined"==typeof window||!window.document||!window.document.createElement),Tl=0,Pl={capture:!1,passive:!1};var Rl=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Gl="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbm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FbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Bl(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=u(!1),c=u(!1),d=u(0),p=u(null),f=s(function(e,t){if(null!==p.current){var s=p.current,l=s.scrollTop,u=s.scrollHeight,d=s.clientHeight,f=p.current,h=t>0,m=u-d-l,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&c.current&&(i&&i(e),c.current=!1),h&&t>m?(n&&!a.current&&n(e),f.scrollTop=u,g=!0,a.current=!0):!h&&-t>l&&(o&&!c.current&&o(e),f.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,o,i]),h=s(function(e){f(e,e.deltaY)},[f]),m=s(function(e){d.current=e.changedTouches[0].clientY},[]),g=s(function(e){var t=d.current-e.changedTouches[0].clientY;f(e,t)},[f]),b=s(function(e){if(e){var t=!!ys&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,h]),y=s(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,h]);return l(function(){if(t){var e=p.current;return b(e),function(){y(e)}}},[t,b,y]),function(e){p.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=u({}),i=u(null),a=s(function(e){if(Nl){var t=document.body,n=t&&t.style;if(r&&Cl.forEach(function(e){var t=n&&n[e];o.current[e]=t}),r&&Tl<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Al).forEach(function(e){var t=Al[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Ol()&&(t.addEventListener("touchmove",El,Pl),e&&(e.addEventListener("touchstart",Sl,Pl),e.addEventListener("touchmove",wl,Pl))),Tl+=1}},[r]),c=s(function(e){if(Nl){var t=document.body,n=t&&t.style;Tl=Math.max(Tl-1,0),r&&Tl<1&&Cl.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&Ol()&&(t.removeEventListener("touchmove",El,Pl),e&&(e.removeEventListener("touchstart",Sl,Pl),e.removeEventListener("touchmove",wl,Pl)))}},[r]);return l(function(){if(t){var e=i.current;return a(e),function(){c(e)}}},[t,a,c]),function(e){i.current=e}}({isEnabled:n});return Ta(m,null,n&&Ta("div",{onClick:Rl,css:Gl}),t(function(e){o(e),i(e)}))}var Ll="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbX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You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},kl=function(e){var t=e.name,n=e.onFocus;return Ta("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Ll,value:"",onChange:function(){}})};function Vl(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)}function Ml(){return Vl(/^Mac/i)}function Dl(){return Vl(/^iPhone/i)||Vl(/^iPad/i)||Ml()&&navigator.maxTouchPoints>1}var jl={clearIndicator:Xs,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,o=e.theme,i=o.colors,a=o.borderRadius;return Oo({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:Ws,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,o=n.spacing;return Oo({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.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,o=r.spacing.baseUnit,i=r.colors;return Oo({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return Oo(Oo({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Ks),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return Oo({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Rs,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return Oo((wo(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),wo(n,"position","absolute"),wo(n,"width","100%"),wo(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Oo({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,o=n.borderRadius,i=n.colors;return Oo({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Oo({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return Oo({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Ps,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return Oo({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Oo({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Oo({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Oo({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Hl={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}},Wl={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:hs(),captureMenuScroll:!hs(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:vl(),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 Xl(e,t,n,r){return{type:"option",data:t,isDisabled:Kl(e,t,n),isSelected:Ql(e,t,n),label:Jl(e,t),value:Ul(e,t),index:r}}function Fl(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return Xl(e,n,t,r)}).filter(function(t){return Yl(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Xl(e,n,t,r);return Yl(e,i)?i:void 0}).filter(vs)}function Zl(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Mo(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function zl(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Mo(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 Yl(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!ql(e)||!i)&&$l(e,{label:a,value:s,data:o},r)}var _l=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Jl=function(e,t){return e.getOptionLabel(t)},Ul=function(e,t){return e.getOptionValue(t)};function Kl(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ql(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Ul(e,t);return n.some(function(t){return Ul(e,t)===r})}function $l(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ql=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ec=1,tc=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&ao(e,t)}(t,h);var e=function(e){var t=ko();return function(){var n,r=Lo(e);if(t){var o=Lo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vo(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).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:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.state.selectValue,s=o&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(Mo(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter(function(e){return r.getOptionValue(e)!==o}),a=Is(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Is(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=Is(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return _l(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return zl(Fl(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return is.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Jl(r.props,e)},r.getOptionValue=function(e){return Ul(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=jl[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Oo(Oo({},tl),e.components);var e},r.buildCategorizedOptions=function(){return Fl(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Zl(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Oo({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&cs(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return ql(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=r.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++ec),r.state.selectValue=as(n.value),n.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),a=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[a],r.state.focusedOptionId=_l(o,i[a])}return r}return function(e,t,n){t&&Bo(e.prototype,t),n&&Bo(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{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&&fs(this.menuListRef,this.focusedOptionRef),(Ml()||Dl())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(fs(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,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},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 o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{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 o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Hl):Oo(Oo({},Hl),this.props.theme):Hl}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:s,setValue:a,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 Kl(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ql(this.props,e,t)}},{key:"filterOption",value:function(e,t){return $l(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{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,o=e.inputId,i=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,h=this.commonProps,m=o||this.getElementId("input"),g=Oo(Oo(Oo({"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":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,oo({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:i},g)):r.createElement(xl,oo({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:rs,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,h=u.inputValue,m=u.placeholder,g=this.state,b=g.selectValue,y=g.focusedValue,v=g.isFocused;if(!this.hasValue()||!d)return h?null:r.createElement(l,oo({},c,{key:"placeholder",isDisabled:p,isFocused:v,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return b.map(function(t,s){var l=t===y,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,oo({},c,{components:{Container:o,Label:i,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,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(h)return null;var I=b[0];return r.createElement(s,oo({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,oo({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return r.createElement(e,oo({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,oo({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,oo({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,i=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,h=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,b=f.loadingMessage,y=f.minMenuHeight,v=f.maxMenuHeight,I=f.menuIsOpen,x=f.menuPlacement,C=f.menuPosition,A=f.menuPortalTarget,E=f.menuShouldBlockScroll,w=f.menuShouldScrollIntoView,S=f.noOptionsMessage,O=f.onMenuScrollToTop,N=f.onMenuScrollToBottom;if(!I)return null;var T,P=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,f=p===i,h=a?void 0:function(){return e.onOptionHover(i)},m=a?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,oo({},d,{innerProps:b,data:i,isDisabled:a,isSelected:s,key:g,label:l,type:o,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,oo({},d,{key:l,data:i,options:a,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var R=b({inputValue:m});if(null===R)return null;T=r.createElement(l,d,R)}else{var G=S({inputValue:m});if(null===G)return null;T=r.createElement(c,d,G)}var B={minMenuHeight:y,maxMenuHeight:v,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:w},L=r.createElement(Os,oo({},d,B),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return r.createElement(i,oo({},d,B,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(Bl,{captureEnabled:h,onTopArrive:O,onBottomArrive:N,lockEnabled:E},function(t){return r.createElement(a,oo({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),T)}))});return A||"fixed"===C?r.createElement(s,oo({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return r.createElement(kl,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(i){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(ll,oo({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(o,oo({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,oo({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(i,oo({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,oo({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,h=as(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Zl(Fl(e,t))}(e,h):[],b=d?zl(Fl(e,h),"".concat(l,"-option")):[],y=r?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,h):null,v=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:v,focusedOptionId:_l(b,v),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var I=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=i,C=a&&s;return a&&!C&&(x={value:Is(f,h,h[0]||null),options:h,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),Oo(Oo(Oo({},m),I),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),t}();tc.defaultProps=Wl;var nc=i(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,l=void 0===i?null:i,c=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,f=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=Ro(e,Go),b=Po(a(void 0!==c?c:n),2),y=b[0],v=b[1],I=Po(a(void 0!==u?u:o),2),x=I[0],C=I[1],A=Po(a(void 0!==m?m:l),2),E=A[0],w=A[1],S=s(function(e,t){"function"==typeof d&&d(e,t),w(e)},[d]),O=s(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),v(void 0!==n?n:e)},[p]),N=s(function(){"function"==typeof h&&h(),C(!0)},[h]),T=s(function(){"function"==typeof f&&f(),C(!1)},[f]),P=void 0!==c?c:y,R=void 0!==u?u:x,G=void 0!==m?m:E;return Oo(Oo({},g),{},{inputValue:P,menuIsOpen:R,onChange:S,onInputChange:O,onMenuClose:T,onMenuOpen:N,value:G})}(e);return r.createElement(tc,oo({ref:t},n))}),rc=nc;const oc={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},ic=o.memo(({options:n,className:r,controlClassName:o,value:i,isCustomStyle:a=!1,placeholder:s,required:l,onChange:u,filterOptions:d,hasError:p,error:f,menuClassName:h,helperText:m,label:g,labelClassName:b,singleValueClassName:y,size:v="md",variant:I="default","data-cy":x,"data-testid":C,...A})=>{const E=c(()=>vl(d),[d]),w=c(()=>({control:({isFocused:e})=>{var t;return Ve(null!==(t=oc[v])&&void 0!==t?t:oc.md,"border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},o)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ve(a?"text-text text-body1 whitespace-normal":"text-text-secondary",y),menu:()=>Ve("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:r})=>{var o;return Ve("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,o,h,n,p,v,y]);return"unstyled"===I?e(rc,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:E,className:Ve("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":C,...A}):t("div",{className:"w-full",children:[g&&e("label",{className:Ve("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(rc,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:E,className:Ve("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":C,...A}),f&&e(On,{className:"footnote mt-1 text-text-critical",children:f}),!f&&m&&e(On,{className:"footnote mt-1 text-text-info",children:m})]})});ic.displayName="Select";const ac=({errorMessage:n,className:r,iconClassName:o,iconSize:i=52,iconName:a="dangerous",textVariant:s})=>n?t("div",{className:Ve("flex flex-col items-center justify-center gap-5 rounded-surface-sm border-2 border-border-critical bg-bg-fill-critical-secondary px-4 py-6 md:flex-row md:py-4",r),"data-testid":"alert-card",children:[e("div",{children:e(Sn,{name:a,size:i,className:Ve("text-icon-critical",o)})}),e(On,{className:Ve("body2 text-text",s),children:n})]}):null;ac.displayName="AlertCard";const sc=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},lc="pop",cc=f({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),uc=f({}),dc=f(null),pc="undefined"!=typeof document,fc=pc?p:l,hc=f({strict:!1});function mc(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function gc(e){return"string"==typeof e||Array.isArray(e)}function bc(e){return"object"==typeof e&&"function"==typeof e.start}const yc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],vc=["initial",...yc];function Ic(e){return bc(e.animate)||vc.some(t=>gc(e[t]))}function xc(e){return Boolean(Ic(e)||e.variants)}function Cc(e){const{initial:t,animate:n}=function(e,t){if(Ic(e)){const{initial:t,animate:n}=e;return{initial:!1===t||gc(t)?t:void 0,animate:gc(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,d(uc));return c(()=>({initial:t,animate:n}),[Ac(t),Ac(n)])}function Ac(e){return Array.isArray(e)?e.join(" "):e}const Ec={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"]},wc={};for(const e in Ec)wc[e]={isEnabled:t=>Ec[e].some(e=>!!t[e])};const Sc=f({}),Oc=f({}),Nc=Symbol.for("motionComponentSymbol");function Tc({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)wc[t]={...wc[t],...e[t]}}(e);const c=i(function(i,c){let p;const f={...d(cc),...i,layoutId:Pc(i)},{isStatic:h}=f,m=Cc(i),b=o(i,h);if(!h&&pc){m.visualElement=function(e,t,n,r){const{visualElement:o}=d(uc),i=d(hc),a=d(dc),s=d(cc).reducedMotion,c=u();r=r||i.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const p=c.current;return g(()=>{p&&p.update(n,a)}),fc(()=>{p&&p.render()}),l(()=>{p&&p.updateFeatures()}),(window.HandoffAppearAnimations?fc:l)(()=>{p&&p.animationState&&p.animationState.animateChanges()}),p}(a,b,f,t);const n=d(Oc),r=d(hc).strict;m.visualElement&&(p=m.visualElement.loadFeatures(f,r,e,n))}return r.createElement(uc.Provider,{value:m},p&&m.visualElement?r.createElement(p,{visualElement:m.visualElement,...f}):null,n(a,i,function(e,t,n){return s(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):mc(n)&&(n.current=r))},[t])}(b,m.visualElement,c),b,h,m.visualElement))});return c[Nc]=a,c}function Pc({layoutId:e}){const t=d(Sc).id;return t&&void 0!==e?t+"-"+e:e}function Rc(e){function t(t,n={}){return Tc(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const Gc=["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 Bc(e){return"string"==typeof e&&!e.includes("-")&&!!(Gc.indexOf(e)>-1||/[A-Z]/.test(e))}const Lc={};const kc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Vc=new Set(kc);function Mc(e,{layout:t,layoutId:n}){return Vc.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Lc[e]||"opacity"===e)}const Dc=e=>Boolean(e&&e.getVelocity),jc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Hc=kc.length;const Wc=e=>t=>"string"==typeof t&&t.startsWith(e),Xc=Wc("--"),Fc=Wc("var(--"),Zc=(e,t)=>t&&"number"==typeof e?t.transform(e):e,zc=(e,t,n)=>Math.min(Math.max(n,e),t),Yc={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},_c={...Yc,transform:e=>zc(0,1,e)},Jc={...Yc,default:1},Uc=e=>Math.round(1e5*e)/1e5,Kc=/(-)?([\d]*\.?[\d])+/g,Qc=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,$c=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function qc(e){return"string"==typeof e}const eu=e=>({test:t=>qc(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),tu=eu("deg"),nu=eu("%"),ru=eu("px"),ou=eu("vh"),iu=eu("vw"),au={...nu,parse:e=>nu.parse(e)/100,transform:e=>nu.transform(100*e)},su={...Yc,transform:Math.round},lu={borderWidth:ru,borderTopWidth:ru,borderRightWidth:ru,borderBottomWidth:ru,borderLeftWidth:ru,borderRadius:ru,radius:ru,borderTopLeftRadius:ru,borderTopRightRadius:ru,borderBottomRightRadius:ru,borderBottomLeftRadius:ru,width:ru,maxWidth:ru,height:ru,maxHeight:ru,size:ru,top:ru,right:ru,bottom:ru,left:ru,padding:ru,paddingTop:ru,paddingRight:ru,paddingBottom:ru,paddingLeft:ru,margin:ru,marginTop:ru,marginRight:ru,marginBottom:ru,marginLeft:ru,rotate:tu,rotateX:tu,rotateY:tu,rotateZ:tu,scale:Jc,scaleX:Jc,scaleY:Jc,scaleZ:Jc,skew:tu,skewX:tu,skewY:tu,distance:ru,translateX:ru,translateY:ru,translateZ:ru,x:ru,y:ru,z:ru,perspective:ru,transformPerspective:ru,opacity:_c,originX:au,originY:au,originZ:ru,zIndex:su,fillOpacity:_c,strokeOpacity:_c,numOctaves:su};function cu(e,t,n,r){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Xc(e)){i[e]=n;continue}const r=lu[e],d=Zc(n,r);if(Vc.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):o[e]=d}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let t=0;t<Hc;t++){const n=kc[t];void 0!==e[n]&&(i+=`${jc[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,r?"":i):n&&r&&(i="none"),i}(e.transform,n,u,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;o.transformOrigin=`${e} ${t} ${n}`}}const uu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function du(e,t,n){for(const r in t)Dc(t[r])||Mc(r,n)||(e[r]=t[r])}function pu(e,t,n){const r={};return du(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return c(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return cu(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function fu(e,t,n){const r={},o=pu(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const hu=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function mu(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||hu.has(e)}let gu=e=>!mu(e);try{(bu=require("@emotion/is-prop-valid").default)&&(gu=e=>e.startsWith("on")?!mu(e):bu(e))}catch(Tn){}var bu;function yu(e,t,n){return"string"==typeof e?e:ru.transform(t+n*e)}const vu={offset:"stroke-dashoffset",array:"stroke-dasharray"},Iu={offset:"strokeDashoffset",array:"strokeDasharray"};function xu(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(cu(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:m}=e;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(void 0!==o||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${yu(t,e.x,e.width)} ${yu(n,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==r&&(f.scale=r),void 0!==a&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?vu:Iu;e[i.offset]=ru.transform(-r);const a=ru.transform(t),s=ru.transform(n);e[i.array]=`${a} ${s}`}(f,a,s,l,!1)}const Cu=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Au=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Eu(e,t,n,r){const o=c(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return xu(n,t,{enableHardwareAcceleration:!1},Au(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};du(t,e.style,e),o.style={...t,...o.style}}return o}function wu(e=!1){return(t,n,r,{latestValues:o},i)=>{const a=(Bc(t)?Eu:fu)(n,o,i,t),s=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(gu(o)||!0===n&&mu(o)||!t&&!mu(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l={...s,...a,ref:r},{children:u}=n,d=c(()=>Dc(u)?u.get():u,[u]);return b(t,{...l,children:d})}}const Su=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Ou(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Nu=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 Tu(e,t,n,r){Ou(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Nu.has(n)?n:Su(n),t.attrs[n])}function Pu(e,t){const{style:n}=e,r={};for(const o in n)(Dc(n[o])||t.style&&Dc(t.style[o])||Mc(o,e))&&(r[o]=n[o]);return r}function Ru(e,t){const n=Pu(e,t);for(const r in e)if(Dc(e[r])||Dc(t[r])){n[-1!==kc.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Gu(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}const Bu=e=>Array.isArray(e),Lu=e=>Bu(e)?e[e.length-1]||0:e;function ku(e){const t=Dc(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Vu=e=>(t,n)=>{const r=d(uc),o=d(dc),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const a={latestValues:Mu(r,o,i,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,o);return n?i():function(e){const t=u(null);return null===t.current&&(t.current=e()),t.current}(i)};function Mu(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=ku(i[e]);let{initial:a,animate:s}=e;const l=Ic(e),c=xc(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!bc(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Gu(e,t);if(!n)return;const{transitionEnd:r,transition:i,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]})}return o}const Du={useVisualState:Vu({scrapeMotionValuesFromProps:Ru,createRenderState:Cu,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}xu(n,r,{enableHardwareAcceleration:!1},Au(t.tagName),e.transformTemplate),Tu(t,n)}})},ju={useVisualState:Vu({scrapeMotionValuesFromProps:Pu,createRenderState:uu})};function Hu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Wu=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Xu(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Fu(e,t,n,r){return Hu(e,t,(e=>t=>Wu(t)&&e(t,Xu(t)))(n),r)}const Zu=(e,t)=>n=>t(e(n)),zu=(...e)=>e.reduce(Zu);function Yu(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const _u=Yu("dragHorizontal"),Ju=Yu("dragVertical");function Uu(e){let t=!1;if("y"===e)t=Ju();else if("x"===e)t=_u();else{const e=_u(),n=Ju();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Ku(){const e=Uu(!0);return!e||(e(),!1)}class Qu{constructor(e){this.isMounted=!1,this.node=e}update(){}}const $u={delta:0,timestamp:0,isProcessing:!1};let qu=!0,ed=!1;const td=["read","update","preRender","render","postRender"],nd=td.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{const l=s&&o,c=l?t:n;return i&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}o=!1,i&&(i=!1,s.process(l))}}};return s}(()=>ed=!0),e),{}),rd=e=>nd[e].process($u),od=e=>{ed=!1,$u.delta=qu?1e3/60:Math.max(Math.min(e-$u.timestamp,40),1),$u.timestamp=e,$u.isProcessing=!0,td.forEach(rd),$u.isProcessing=!1,ed&&(qu=!1,requestAnimationFrame(od))},id=td.reduce((e,t)=>{const n=nd[t];return e[t]=(e,t=!1,r=!1)=>(ed||(ed=!0,qu=!0,$u.isProcessing||requestAnimationFrame(od)),n.schedule(e,t,r)),e},{});function ad(e){td.forEach(t=>nd[t].cancel(e))}function sd(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Fu(e.current,n,(n,o)=>{if("touch"===n.type||Ku())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&id.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const ld=(e,t)=>!!t&&(e===t||ld(e,t.parentElement)),cd=e=>e;function ud(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Xu(n))}const dd=new WeakMap,pd=new WeakMap,fd=e=>{const t=dd.get(e.target);t&&t(e)},hd=e=>{e.forEach(fd)};function md(e,t,n){const r=function({root:e,...t}){const n=e||document;pd.has(n)||pd.set(n,{});const r=pd.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(hd,{root:e,...t})),r[o]}(t);return dd.set(e,n),r.observe(e),()=>{dd.delete(e),r.unobserve(e)}}const gd={some:0,all:1};const bd={inView:{Feature:class extends Qu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:gd[r]};return md(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{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(){}}},tap:{Feature:class extends Qu{constructor(){super(...arguments),this.removeStartListeners=cd,this.removeEndListeners=cd,this.removeAccessibleListeners=cd,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Fu(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();id.update(()=>{ld(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=Fu(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=zu(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Hu(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Hu(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&ud("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&id.update(()=>n(e,t))})}),ud("down",(e,t)=>{this.startPress(e,t)})}),t=Hu(this.node.current,"blur",()=>{this.isPressing&&ud("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=zu(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&id.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ku()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&id.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Fu(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Hu(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=zu(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Qu{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=zu(Hu(this.node.current,"focus",()=>this.onFocus()),Hu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Qu{mount(){this.unmount=zu(sd(this.node,!0),sd(this.node,!1))}unmount(){}}}};function yd(e,t){if(!Array.isArray(t))return!1;const 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 vd(e,t,n){const r=e.getProps();return Gu(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Id="data-"+Su("framerAppearId");let xd=cd,Cd=cd;"production"!==process.env.NODE_ENV&&(xd=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Cd=(e,t)=>{if(!e)throw new Error(t)});const Ad=e=>1e3*e,Ed=e=>e/1e3,wd=!1,Sd=e=>Array.isArray(e)&&"number"==typeof e[0];function Od(e){return Boolean(!e||"string"==typeof e&&Td[e]||Sd(e)||Array.isArray(e)&&e.every(Od))}const Nd=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Td={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Nd([0,.65,.55,1]),circOut:Nd([.55,0,1,.45]),backIn:Nd([.31,.01,.66,-.59]),backOut:Nd([.33,1.53,.69,.99])};function Pd(e){if(e)return Sd(e)?Nd(e):Array.isArray(e)?e.map(Pd):Td[e]}const Rd={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Gd={},Bd={};for(const e in Rd)Bd[e]=()=>(void 0===Gd[e]&&(Gd[e]=Rd[e]()),Gd[e]);const Ld=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function kd(e,t,n,r){if(e===t&&n===r)return cd;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=Ld(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Ld(o(e),t,r)}const Vd=kd(.42,0,1,1),Md=kd(0,0,.58,1),Dd=kd(.42,0,.58,1),jd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hd=e=>t=>1-e(1-t),Wd=e=>1-Math.sin(Math.acos(e)),Xd=Hd(Wd),Fd=jd(Xd),Zd=kd(.33,1.53,.69,.99),zd=Hd(Zd),Yd=jd(zd),_d={linear:cd,easeIn:Vd,easeInOut:Dd,easeOut:Md,circIn:Wd,circInOut:Fd,circOut:Xd,backIn:zd,backInOut:Yd,backOut:Zd,anticipate:e=>(e*=2)<1?.5*zd(e):.5*(2-Math.pow(2,-10*(e-1)))},Jd=e=>{if(Array.isArray(e)){Cd(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return kd(t,n,r,o)}return"string"==typeof e?(Cd(void 0!==_d[e],`Invalid easing type '${e}'`),_d[e]):e},Ud=(e,t)=>n=>Boolean(qc(n)&&$c.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Kd=(e,t,n)=>r=>{if(!qc(r))return r;const[o,i,a,s]=r.match(Kc);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Qd={...Yc,transform:e=>Math.round((e=>zc(0,255,e))(e))},$d={test:Ud("rgb","red"),parse:Kd("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Qd.transform(e)+", "+Qd.transform(t)+", "+Qd.transform(n)+", "+Uc(_c.transform(r))+")"};const qd={test:Ud("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:$d.transform},ep={test:Ud("hsl","hue"),parse:Kd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+nu.transform(Uc(t))+", "+nu.transform(Uc(n))+", "+Uc(_c.transform(r))+")"},tp={test:e=>$d.test(e)||qd.test(e)||ep.test(e),parse:e=>$d.test(e)?$d.parse(e):ep.test(e)?ep.parse(e):qd.parse(e),transform:e=>qc(e)?e:e.hasOwnProperty("red")?$d.transform(e):ep.transform(e)},np=(e,t,n)=>-n*e+n*t+e;function rp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const op=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},ip=[qd,$d,ep];function ap(e){const t=(n=e,ip.find(e=>e.test(n)));var n;Cd(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===ep&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=rp(s,r,e+1/3),i=rp(s,r,e),a=rp(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}(r)),r}const sp=(e,t)=>{const n=ap(e),r=ap(t),o={...n};return e=>(o.red=op(n.red,r.red,e),o.green=op(n.green,r.green,e),o.blue=op(n.blue,r.blue,e),o.alpha=np(n.alpha,r.alpha,e),$d.transform(o))};const lp={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:cd},cp={regex:Qc,countKey:"Colors",token:"${c}",parse:tp.parse},up={regex:Kc,countKey:"Numbers",token:"${n}",parse:Yc.parse};function dp(e,{regex:t,countKey:n,token:r,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...i.map(o)))}function pp(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&dp(n,lp),dp(n,cp),dp(n,up),n}function fp(e){return pp(e).values}function hp(e){const{values:t,numColors:n,numVars:r,tokenised:o}=pp(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(lp.token,e[o]):o<r+n?t.replace(cp.token,tp.transform(e[o])):t.replace(up.token,Uc(e[o]));return t}}const mp=e=>"number"==typeof e?0:e;const gp={test:function(e){var t,n;return isNaN(e)&&qc(e)&&((null===(t=e.match(Kc))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Qc))||void 0===n?void 0:n.length)||0)>0},parse:fp,createTransformer:hp,getAnimatableNone:function(e){const t=fp(e);return hp(e)(t.map(mp))}},bp=(e,t)=>n=>`${n>0?t:e}`;function yp(e,t){return"number"==typeof e?n=>np(e,t,n):tp.test(e)?sp(e,t):e.startsWith("var(")?bp(e,t):xp(e,t)}const vp=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>yp(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},Ip=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=yp(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},xp=(e,t)=>{const n=gp.createTransformer(t),r=pp(e),o=pp(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?zu(vp(r.values,o.values),n):(xd(!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.`),bp(e,t))},Cp=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Ap=(e,t)=>n=>np(e,t,n);function Ep(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Ap:"string"==typeof i?tp.test(i)?sp:xp:Array.isArray(i)?vp:"object"==typeof i?Ip:Ap);var i;const a=e.length-1;for(let n=0;n<a;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||cd:t;i=zu(e,i)}r.push(i)}return r}function wp(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Cd(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Ep(t,r,o),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Cp(e[n],e[n+1],t);return a[n](r)};return n?t=>l(zc(e[0],e[i-1],t)):l}function Sp(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Cp(0,t,r);e.push(np(n,1,o))}}(t,e.length-1),t}function Op({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Jd):Jd(r),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Sp(t),e),s=wp(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||Dd).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}function Np(e,t){return t?e*(1e3/t):0}function Tp(e,t,n){const r=Math.max(t-5,0);return Np(n-e(r),t-r)}const Pp=.001;function Rp({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;xd(e<=Ad(10),"Spring duration must be 10 seconds or less");let a=1-t;a=zc(.05,1,a),e=zc(.01,10,Ed(e)),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=Bp(t,a),l=Math.exp(-o);return Pp-i/s*l},i=t=>{const r=t*a*e,i=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Bp(Math.pow(t,2),a);return(-o(t)+Pp>0?-1:1)*((i-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Gp;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Ad(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const Gp=12;function Bp(e,t){return e*Math.sqrt(1-t*t)}const Lp=["duration","bounce"],kp=["stiffness","damping","mass"];function Vp(e,t){return t.some(t=>void 0!==e[t])}function Mp({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Vp(e,kp)&&Vp(e,Lp)){const n=Rp(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),f=u?-Ed(u):0,h=l/(2*Math.sqrt(s*c)),m=i-o,g=Ed(Math.sqrt(s/c)),b=Math.abs(m)<5;let y;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Bp(g,h);y=t=>{const n=Math.exp(-h*g*t);return i-n*((f+h*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===h)y=e=>i-Math.exp(-g*e)*(m+(f+g*m)*e);else{const e=g*Math.sqrt(h*h-1);y=t=>{const n=Math.exp(-h*g*t),r=Math.min(e*t,300);return i-n*((f+h*g*m)*Math.sinh(r)+e*m*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=y(e);if(p)a.done=e>=d;else{let o=f;0!==e&&(o=h<1?Tp(y,e,r):0);const s=Math.abs(o)<=n,l=Math.abs(i-r)<=t;a.done=s&&l}return a.value=a.done?i:r,a}}}function Dp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},f=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const m=d+h,g=void 0===a?m:a(m);g!==m&&(h=g-d);const b=e=>-h*Math.exp(-e/r),y=e=>g+b(e),v=e=>{const t=b(e),n=y(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let I,x;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(I=e,x=Mp({keyframes:[p.value,f(p.value)],velocity:Tp(y,e,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return x||void 0!==I||(t=!0,v(e),C(e)),void 0!==I&&e>I?x.next(e-I):(!t&&v(e),p)}}}const jp=e=>{const t=({timestamp:t})=>e(t);return{start:()=>id.update(t,!0),stop:()=>ad(t),now:()=>$u.isProcessing?$u.timestamp:performance.now()}};function Hp(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const Wp={decay:Dp,inertia:Dp,tween:Op,keyframes:Op,spring:Mp};function Xp({autoplay:e=!0,delay:t=0,driver:n=jp,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let f,h,m=1,g=!1;const b=()=>{f&&f(),h=new Promise(e=>{f=e})};let y;b();const v=Wp[o]||Op;let I;v!==Op&&"number"!=typeof r[0]&&(I=wp([0,100],r,{clamp:!1}),r=[0,100]);const x=v({...p,keyframes:r});let C;"mirror"===s&&(C=v({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let A="idle",E=null,w=null,S=null;null===x.calculatedDuration&&i&&(x.calculatedDuration=Hp(x));const{calculatedDuration:O}=x;let N=1/0,T=1/0;null!==O&&(N=O+a,T=N*(i+1)-a);let P=0;const R=e=>{if(null===w)return;m>0&&(w=Math.min(w,e)),P=null!==E?E:(e-w)*m;const n=P-t,o=n<0;P=Math.max(n,0),"finished"===A&&null===E&&(P=T);let l=P,c=x;if(i){const e=P/N;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/N)):"mirror"===s&&(c=C));let o=zc(0,1,n);P>T&&(o="reverse"===s&&r?1:0),l=o*N}const u=o?{done:!1,value:r[0]}:c.next(l);I&&(u.value=I(u.value));let{done:p}=u;o||null===O||(p=P>=T);const f=null===E&&("finished"===A||"running"===A&&p||m<0&&P<=0);return d&&d(u.value),f&&L(),u},G=()=>{y&&y.stop(),y=void 0},B=()=>{A="idle",G(),b(),w=S=null},L=()=>{A="finished",u&&u(),G(),b()},k=()=>{if(g)return;y||(y=n(R));const e=y.now();l&&l(),null!==E?w=e-E:w&&"finished"!==A||(w=e),S=w,E=null,A="running",y.start()};e&&k();const V={then:(e,t)=>h.then(e,t),get time(){return Ed(P)},set time(e){e=Ad(e),P=e,null===E&&y&&0!==m?w=y.now()-e/m:E=e},get duration(){const e=null===x.calculatedDuration?Hp(x):x.calculatedDuration;return Ed(e)},get speed(){return m},set speed(e){e!==m&&y&&(m=e,V.time=Ed(P))},get state(){return A},play:k,pause:()=>{A="paused",E=P},stop:()=>{g=!0,"idle"!==A&&(A="idle",c&&c(),B())},cancel:()=>{null!==S&&R(S),B()},complete:()=>{A="finished"},sample:e=>(w=0,R(e))};return V}const Fp=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Zp(e,t,{onUpdate:n,onComplete:r,...o}){if(!(Bd.waapi()&&Fp.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let i,a,s=!1;const l=()=>{a=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Od(t.ease))(t,o)){const e=Xp({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const f=function(e,t,n,{delay:r=0,duration:o,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Pd(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:u,ease:d,times:p}),h=()=>f.cancel(),m=()=>{id.update(h),i(),l()};return f.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,o)),r&&r(),m()},{then:(e,t)=>a.then(e,t),get time(){return Ed(f.currentTime||0)},set time(e){f.currentTime=Ad(e)},get speed(){return f.playbackRate},set speed(e){f.playbackRate=e},get duration(){return Ed(u)},play:()=>{s||(f.play(),ad(h))},pause:()=>f.pause(),stop:()=>{if(s=!0,"idle"===f.playState)return;const{currentTime:t}=f;if(t){const n=Xp({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}m()},complete:()=>f.finish(),cancel:m}}const zp={type:"spring",stiffness:500,damping:25,restSpeed:10},Yp={type:"keyframes",duration:.8},_p={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Jp=(e,{keyframes:t})=>t.length>2?Yp:Vc.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:zp:_p,Up=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!gp.test(t)&&"0"!==t||t.startsWith("url("))),Kp=new Set(["brightness","contrast","saturate","opacity"]);function Qp(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Kc)||[];if(!r)return e;const o=n.replace(r,"");let i=Kp.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const $p=/([a-z-]*)\(.*?\)/g,qp={...gp,getAnimatableNone:e=>{const t=e.match($p);return t?t.map(Qp).join(" "):e}},ef={...lu,color:tp,backgroundColor:tp,outlineColor:tp,fill:tp,stroke:tp,borderColor:tp,borderTopColor:tp,borderRightColor:tp,borderBottomColor:tp,borderLeftColor:tp,filter:qp,WebkitFilter:qp},tf=e=>ef[e];function nf(e,t){let n=tf(e);return n!==qp&&(n=gp),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const rf=e=>/^0[^.\s]+$/.test(e);function of(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||rf(e):void 0}function af(e,t){return e[t]||e.default||e}const sf=(e,t,n,r={})=>o=>{const i=af(r,e)||{},a=i.delay||r.delay||0;let{elapsed:s=0}=r;s-=Ad(a);const l=function(e,t,n,r){const o=Up(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?a:i[e-1]),of(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(s=i[e]);if(o&&l.length&&s)for(let e=0;e<l.length;e++)i[l[e]]=nf(t,s);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=Up(e,c),p=Up(e,u);xd(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let f={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-s,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(f={...f,...Jp(e,f)}),f.duration&&(f.duration=Ad(f.duration)),f.repeatDelay&&(f.repeatDelay=Ad(f.repeatDelay)),!d||!p||wd||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:cd,pause:cd,stop:cd,then:e=>(e(),Promise.resolve()),cancel:cd,complete:cd});return t?Xp({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(f);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Zp(t,e,f);if(n)return n}return Xp(f)};function lf(e){return Boolean(Dc(e)&&e.add)}const cf=e=>/^\-?\d*\.?\d+$/.test(e);function uf(e,t){-1===e.indexOf(t)&&e.push(t)}function df(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class pf{constructor(){this.subscriptions=[]}add(e){return uf(this.subscriptions,e),()=>df(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ff=new Set;function hf(e,t,n){e||ff.has(t)||(console.warn(t),ff.add(t))}class mf{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=$u;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,id.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>id.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&hf(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new pf);const n=this.events[e].add(t);return"change"===e?()=>{n(),id.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const 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=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Np(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):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 gf(e,t){return new mf(e,t)}const bf=e=>t=>t.test(e),yf=[Yc,ru,nu,tu,iu,ou,{test:e=>"auto"===e,parse:e=>e}],vf=e=>yf.find(bf(e)),If=[...yf,tp,gp],xf=e=>If.find(bf(e));function Cf(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,gf(n))}function Af(e,t){if(!t)return;return(t[e]||t.default||t).from}function Ef({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function wf(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(i=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in s){const r=e.getValue(t),o=s[t];if(!r||void 0===o||u&&Ef(u,t))continue;const a={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Id];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,id))}r.start(sf(t,r,o,e.shouldReduceMotion&&Vc.has(t)?{type:!1}:a));const d=r.animation;lf(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=vd(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)Cf(e,t,Lu(i[t]))}(e,a)}),c}function Sf(e,t,n={}){const r=vd(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(wf(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(Of).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(Sf(e,t,{...i,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(n.delay)])}function Of(e,t){return e.sortNodePosition(t)}const Nf=[...yc].reverse(),Tf=yc.length;function Pf(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Sf(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Sf(e,t,n);else{const o="function"==typeof t?vd(e,t,n.custom):t;r=Promise.all(wf(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Rf(e){let t=Pf(e);const n={animate:Bf(!0),whileInView:Bf(),whileHover:Bf(),whileTap:Bf(),whileDrag:Bf(),whileFocus:Bf(),exit:Bf()};let r=!0;const o=(t,n)=>{const r=vd(e,n);if(r){const{transition:e,transitionEnd:n,...o}=r;t={...t,...o,...n}}return t};function i(i,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Tf;t++){const f=Nf[t],h=n[f],m=void 0!==s[f]?s[f]:l[f],g=gc(m),b=f===a?h.isActive:null;!1===b&&(p=t);let y=m===l[f]&&m!==s[f]&&g;if(y&&r&&e.manuallyAnimateOnMount&&(y=!1),h.protectedKeys={...d},!h.isActive&&null===b||!m&&!h.prevProp||bc(m)||"boolean"==typeof m)continue;const v=Gf(h.prevProp,m);let I=v||f===a&&h.isActive&&!y&&g||t>p&&g;const x=Array.isArray(m)?m:[m];let C=x.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:A={}}=h,E={...A,...C},w=e=>{I=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in E){const t=C[e],n=A[e];d.hasOwnProperty(e)||(t!==n?Bu(t)&&Bu(n)?!yd(t,n)||v?w(e):h.protectedKeys[e]=!0:void 0!==t?w(e):u.add(e):void 0!==t&&u.has(e)?w(e):h.protectedKeys[e]=!0)}h.prevProp=m,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(I=!1),I&&!y&&c.push(...x.map(e=>({animation:e,options:{type:f,...i}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let f=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,r,o){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=i(o,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Gf(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!yd(t,e)}function Bf(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Lf=0;const kf={animation:{Feature:class extends Qu{constructor(e){super(e),e.animationState||(e.animationState=Rf(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),bc(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Qu{constructor(){super(...arguments),this.id=Lf++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Vf=(e,t)=>Math.abs(e-t);class Mf{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Hf(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Vf(e.x,t.x),r=Vf(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=$u;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Df(t,this.transformPagePoint),id.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=Hf("pointercancel"===e.type?this.lastMoveEventInfo:Df(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!Wu(e))return;this.handlers=t,this.transformPagePoint=n;const r=Df(Xu(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=$u;this.history=[{...o,timestamp:i}];const{onSessionStart:a}=t;a&&a(e,Hf(r,this.history)),this.removeListeners=zu(Fu(window,"pointermove",this.handlePointerMove),Fu(window,"pointerup",this.handlePointerUp),Fu(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ad(this.updatePoint)}}function Df(e,t){return t?{point:t(e.point)}:e}function jf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Hf({point:e},t){return{point:e,delta:jf(e,Xf(t)),offset:jf(e,Wf(t)),velocity:Ff(t,.1)}}function Wf(e){return e[0]}function Xf(e){return e[e.length-1]}function Ff(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Xf(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ad(t)));)n--;if(!r)return{x:0,y:0};const i=Ed(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Zf(e){return e.max-e.min}function zf(e,t=0,n=.01){return Math.abs(e-t)<=n}function Yf(e,t,n,r=.5){e.origin=r,e.originPoint=np(t.min,t.max,e.origin),e.scale=Zf(n)/Zf(t),(zf(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=np(n.min,n.max,e.origin)-e.originPoint,(zf(e.translate)||isNaN(e.translate))&&(e.translate=0)}function _f(e,t,n,r){Yf(e.x,t.x,n.x,r?r.originX:void 0),Yf(e.y,t.y,n.y,r?r.originY:void 0)}function Jf(e,t,n){e.min=n.min+t.min,e.max=e.min+Zf(t)}function Uf(e,t,n){e.min=t.min-n.min,e.max=e.min+Zf(t)}function Kf(e,t,n){Uf(e.x,t.x,n.x),Uf(e.y,t.y,n.y)}function Qf(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 $f(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}}const qf=.35;function eh(e,t,n){return{min:th(e,t),max:th(e,n)}}function th(e,t){return"number"==typeof e?e:e[t]||0}const nh=()=>({x:{min:0,max:0},y:{min:0,max:0}});function rh(e){return[e("x"),e("y")]}function oh({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ih(e){return void 0===e||1===e}function ah({scale:e,scaleX:t,scaleY:n}){return!ih(e)||!ih(t)||!ih(n)}function sh(e){return ah(e)||lh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function lh(e){return ch(e.x)||ch(e.y)}function ch(e){return e&&"0%"!==e}function uh(e,t,n){return n+t*(e-n)}function dh(e,t,n,r,o){return void 0!==o&&(e=uh(e,o,r)),uh(e,n,r)+t}function ph(e,t=0,n=1,r,o){e.min=dh(e.min,t,n,r,o),e.max=dh(e.max,t,n,r,o)}function fh(e,{x:t,y:n}){ph(e.x,t.translate,t.scale,t.originPoint),ph(e.y,n.translate,n.scale,n.originPoint)}function hh(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function mh(e,t){e.min=e.min+t,e.max=e.max+t}function gh(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,a=np(e.min,e.max,i);ph(e,t[n],t[r],a,t.scale)}const bh=["x","scaleX","originX"],yh=["y","scaleY","originY"];function vh(e,t){gh(e.x,t,bh),gh(e.y,t,yh)}function Ih(e,t){return oh(function(e,t){if(!t)return e;const 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))}const xh=new WeakMap;class Ch{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new Mf(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Xu(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Uu(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rh(e=>{let t=this.getAxisMotionValue(e).get()||0;if(nu.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Zf(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&id.update(()=>o(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&id.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Ah(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?np(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?np(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&mc(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:Qf(e.x,n,o),y:Qf(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=qf){return!1===e?e=0:!0===e&&(e=qf),{x:eh(e,"left","right"),y:eh(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&rh(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const 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(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!mc(e))return!1;const n=e.current;Cd(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=Ih(e,n),{scroll:o}=t;return o&&(mh(r.x,o.offset.x),mh(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:$f(e.x,t.x),y:$f(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=oh(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=rh(a=>{if(!Ah(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(sf(e,n,0,t))}stopAnimation(){rh(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){rh(t=>{const{drag:n}=this.getProps();if(!Ah(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-np(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!mc(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};rh(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Zf(e),o=Zf(t);return o>r?n=Cp(t.min,t.max-r,e.min):r>o&&(n=Cp(e.min,e.max-o,t.min)),zc(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),rh(t=>{if(!Ah(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(np(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;xh.set(this.visualElement,this);const e=Fu(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();mc(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=Hu(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rh(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=qf,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function Ah(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Eh=e=>(t,n)=>{e&&id.update(()=>e(t,n))};const wh={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Sh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Oh={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!ru.test(e))return e;e=parseFloat(e)}return`${Sh(e,t.target.x)}% ${Sh(e,t.target.y)}%`}},Nh={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=gp.parse(e);if(o.length>5)return r;const i=gp.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=np(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),i(o)}};class Th extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=Rh,Object.assign(Lc,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),wh.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||id.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{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(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ph(e){const[t,n]=function(){const e=d(dc);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=y();return l(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),r=d(Sc);return o.createElement(Th,{...e,layoutGroup:r,switchLayoutGroup:d(Oc),isPresent:t,safeToRemove:n})}const Rh={borderRadius:{...Oh,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Oh,borderTopRightRadius:Oh,borderBottomLeftRadius:Oh,borderBottomRightRadius:Oh,boxShadow:Nh},Gh=["TopLeft","TopRight","BottomLeft","BottomRight"],Bh=Gh.length,Lh=e=>"string"==typeof e?parseFloat(e):e,kh=e=>"number"==typeof e||ru.test(e);function Vh(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Mh=jh(0,.5,Xd),Dh=jh(.5,.95,cd);function jh(e,t,n){return r=>r<e?0:r>t?1:n(Cp(e,t,r))}function Hh(e,t){e.min=t.min,e.max=t.max}function Wh(e,t){Hh(e.x,t.x),Hh(e.y,t.y)}function Xh(e,t,n,r,o){return e=uh(e-=t,1/n,r),void 0!==o&&(e=uh(e,1/o,r)),e}function Fh(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){nu.test(t)&&(t=parseFloat(t),t=np(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=np(i.min,i.max,r);e===i&&(s-=t),e.min=Xh(e.min,t,n,s,o),e.max=Xh(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const Zh=["x","scaleX","originX"],zh=["y","scaleY","originY"];function Yh(e,t,n,r){Fh(e.x,t,Zh,n?n.x:void 0,r?r.x:void 0),Fh(e.y,t,zh,n?n.y:void 0,r?r.y:void 0)}function _h(e){return 0===e.translate&&1===e.scale}function Jh(e){return _h(e.x)&&_h(e.y)}function Uh(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Kh(e){return Zf(e.x)/Zf(e.y)}class Qh{constructor(){this.members=[]}add(e){uf(this.members,e),e.scheduleRender()}remove(e){if(df(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const 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);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{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)}}function $h(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const qh=(e,t)=>e.depth-t.depth;class em{constructor(){this.children=[],this.isDirty=!1}add(e){uf(this.children,e),this.isDirty=!0}remove(e){df(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(qh),this.isDirty=!1,this.children.forEach(e)}}const tm=["","X","Y","Z"];let nm=0;const rm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function om({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=nm++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;rm.totalNodes=rm.resolvedTargetDeltas=rm.recalculatedProjection=0,this.nodes.forEach(sm),this.nodes.forEach(hm),this.nodes.forEach(mm),this.nodes.forEach(lm),e=rm,window.MotionDebug&&window.MotionDebug.record(e)},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 em)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new pf),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const 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;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(ad(r),e(i-t))};return id.read(r,!0),()=>ad(r)}(r,250),wh.hasAnimatedSinceResize&&(wh.hasAnimatedSinceResize=!1,this.nodes.forEach(fm))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||xm,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Uh(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...af(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||fm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ad(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(gm),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(um);this.isUpdating||this.nodes.forEach(dm),this.isUpdating=!1,this.nodes.forEach(pm),this.nodes.forEach(im),this.nodes.forEach(am),this.clearAllSnapshots();const e=performance.now();$u.delta=zc(0,1e3/60,e-$u.timestamp),$u.timestamp=e,$u.isProcessing=!0,nd.update.process($u),nd.preRender.process($u),nd.render.process($u),$u.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(cm),this.sharedNodes.forEach(bm)}scheduleUpdateProjection(){id.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){id.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(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()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Jh(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||sh(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Cm((r=n).x),Cm(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(mh(t.x,n.offset.x),mh(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Wh(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){Wh(t,e);const{scroll:n}=this.root;n&&(mh(t.x,-n.offset.x),mh(t.y,-n.offset.y))}mh(t.x,o.offset.x),mh(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Wh(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&vh(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),sh(r.latestValues)&&vh(n,r.latestValues)}return sh(this.latestValues)&&vh(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Wh(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!sh(n.latestValues))continue;ah(n.latestValues)&&n.updateSnapshot();const r=nh();Wh(r,n.measurePageBox()),Yh(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return sh(this.latestValues)&&Yh(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!==$u.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=$u.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Kf(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Wh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,Jf(a.x,s.x,l.x),Jf(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Wh(this.target,this.layout.layoutBox),fh(this.target,this.targetDelta)):Wh(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Kf(this.relativeTargetOrigin,this.target,e.target),Wh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rm.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ah(this.parent.latestValues)&&!lh(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===$u.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;Wh(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&vh(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,fh(e,a)),r&&sh(i.latestValues)&&vh(e,i.latestValues))}t.x=hh(t.x),t.y=hh(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;_f(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=$h(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rm.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Im));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;ym(i.x,e.x,n),ym(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Kf(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){vm(e.x,t.x,n.x,r),vm(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Uh(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Wh(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=np(0,void 0!==n.opacity?n.opacity:1,Mh(r)),e.opacityExit=np(void 0!==t.opacity?t.opacity:1,0,Dh(r))):i&&(e.opacity=np(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Bh;o++){const i=`border${Gh[o]}Radius`;let a=Vh(t,i),s=Vh(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||kh(a)===kh(s)?(e[i]=Math.max(np(Lh(a),Lh(s),r),0),(nu.test(s)||nu.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=np(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ad(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=id.update(()=>{wh.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Dc(e)?e:gf(e);return r.start(sf("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const 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(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Am(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Zf(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Zf(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Wh(t,n),vh(t,o),_f(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Qh);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<tm.length;t++){const o="rotate"+tm[t];n[o]&&(r[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=ku(e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ku(e.pointerEvents)||""),this.hasProjected&&!sh(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=$h(this.projectionDeltaWithTransform,this.treeScale,a),o&&(r.transform=o(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Lc){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Lc[e],o="none"===r.transform?a[e]:t(a[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?ku(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(um),this.root.sharedNodes.clear()}}}function im(e){e.updateLayout()}function am(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?rh(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=Zf(r);r.min=t[e].min,r.max=r.min+o}):Am(o,n.layoutBox,t)&&rh(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=Zf(t[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};_f(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?_f(s,e.applyTransform(r,!0),n.measuredBox):_f(s,t,n.layoutBox);const l=!Jh(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Kf(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Kf(s,t,i.layoutBox),Uh(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function sm(e){rm.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function lm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function cm(e){e.clearSnapshot()}function um(e){e.clearMeasurements()}function dm(e){e.isLayoutDirty=!1}function pm(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function hm(e){e.resolveTargetDelta()}function mm(e){e.calcProjection()}function gm(e){e.resetRotation()}function bm(e){e.removeLeadSnapshot()}function ym(e,t,n){e.translate=np(t.translate,0,n),e.scale=np(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function vm(e,t,n,r){e.min=np(t.min,n.min,r),e.max=np(t.max,n.max,r)}function Im(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const xm={duration:.45,ease:[.4,0,.1,1]};function Cm(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Am(e,t,n){return"position"===e||"preserve-aspect"===e&&!zf(Kh(t),Kh(n),.2)}const Em=om({attachResizeListener:(e,t)=>Hu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),wm={current:void 0},Sm=om({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!wm.current){const e=new Em({});e.mount(window),e.setOptions({layoutScroll:!0}),wm.current=e}return wm.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Om={pan:{Feature:class extends Qu{constructor(){super(...arguments),this.removePointerDownListener=cd}onPointerDown(e){this.session=new Mf(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Eh(e),onStart:Eh(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&id.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Fu(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Qu{constructor(e){super(e),this.removeGroupControls=cd,this.removeListeners=cd,this.controls=new Ch(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||cd}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Sm,MeasureLayout:Ph}},Nm=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Tm(e,t,n=1){Cd(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=Nm.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);return i?i.trim():Fc(o)?Tm(o,t,n+1):o}const Pm=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Rm=e=>Pm.has(e),Gm=e=>e===Yc||e===ru,Bm=(e,t)=>parseFloat(e.split(", ")[t]),Lm=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Bm(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Bm(t[1],e):0}},km=new Set(["x","y","z"]),Vm=kc.filter(e=>!km.has(e));const Mm={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:Lm(4,13),y:Lm(5,14)},Dm=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Rm);let i=[],a=!1;const s=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=vf(c);const d=t[o];let p;if(Bu(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=vf(c);for(let n=t;n<e&&null!==d[n];n++)p?Cd(vf(d[n])===p,"All keyframes must be of the same type"):(p=vf(d[n]),Cd(p===u||Gm(u)&&Gm(p),"Keyframes must be of the same dimension as the current value"))}else p=vf(d);if(u!==p)if(Gm(u)&&Gm(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===ru&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[o]=u.transform(d):(a||(i=function(e){const t=[];return Vm.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(o),r[o]=void 0!==r[o]?r[o]:t[o],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:a}=i,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Mm[e](r,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=Mm[n](l,i)}),e})(t,e,s);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),pc&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function jm(e,t,n,r){return(e=>Object.keys(e).some(Rm))(t)?Dm(e,t,n,r):{target:t,transitionEnd:r}}const Hm=(e,t,n,r)=>{const o=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Fc(t))return;const n=Tm(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!Fc(o))continue;const i=Tm(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return jm(e,t=o.target,n,r=o.transitionEnd)},Wm={current:null},Xm={current:!1};function Fm(){if(Xm.current=!0,pc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Wm.current=e.matches;e.addListener(t),t()}else Wm.current=!1}const Zm=new WeakMap,zm=Object.keys(wc),Ym=zm.length,_m=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Jm=vc.length;class Um{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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.scheduleRender=()=>id.render(this.render,!1,!0);const{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.isControllingVariants=Ic(t),this.isVariantNode=xc(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==a[e]&&Dc(t)&&(t.set(a[e],!1),lf(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Zm.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),Xm.current||Fm(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Wm.current),"production"!==process.env.NODE_ENV&&hf(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Zm.delete(this.current),this.projection&&this.projection.unmount(),ad(this.notifyUpdate),ad(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=Vc.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&id.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,o){let i,a;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?xd(!1,e):Cd(!1,e)}for(let e=0;e<Ym;e++){const n=zm[e],{isEnabled:r,Feature:o,ProjectionNode:s,MeasureLayout:l}=wc[n];s&&(i=s),r(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(a=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&mc(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,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<_m.length;t++){const n=_m[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const i=t[o],a=n[o];if(Dc(i))e.addValue(o,i),lf(r)&&r.add(o),"development"===process.env.NODE_ENV&&hf("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Dc(a))e.addValue(o,gf(i,{owner:e})),lf(r)&&r.remove(o);else if(a!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,gf(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<Jm;e++){const n=vc[e],r=this.props[n];(gc(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const 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=gf(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Gu(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||Dc(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new pf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Km extends Um{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]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},o){let i=function(e,t,n){const r={};for(const o in e){const e=Af(o,t);if(void 0!==e)r[o]=e;else{const e=n.getValue(o);e&&(r[o]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),i&&(i=r(i))),o){!function(e,t,n){var r,o;const i=Object.keys(t).filter(t=>!e.hasValue(t)),a=i.length;if(a)for(let s=0;s<a;s++){const a=i[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==o?o:t[a]),null!=c&&("string"==typeof c&&(cf(c)||rf(c))?c=parseFloat(c):!xf(c)&&gp.test(l)&&(c=nf(a,l)),e.addValue(a,gf(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,i);const e=Hm(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Qm extends Km{readValueFromInstance(e,t){if(Vc.has(t)){const e=tf(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(Xc(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ih(e,t)}build(e,t,n,r){cu(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Pu(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Dc(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Ou(e,t,n,r)}}class $m extends Km{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Vc.has(t)){const e=tf(t);return e&&e.default||0}return t=Nu.has(t)?t:Su(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Ru(e,t)}build(e,t,n,r){xu(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Tu(e,t,0,r)}mount(e){this.isSVGTag=Au(e.tagName),super.mount(e)}}const qm=(e,t)=>Bc(e)?new $m(t,{enableHardwareAcceleration:!1}):new Qm(t,{enableHardwareAcceleration:!0}),eg={...kf,...bd,...Om,...{layout:{ProjectionNode:Sm,MeasureLayout:Ph}}},tg=Rc((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Bc(e)?Du:ju,preloadedFeatures:n,useRender:wu(t),createVisualElement:r,Component:e}}(e,t,eg,qm));function ng(){!Xm.current&&Fm();const[e]=a(Wm.current);return"production"!==process.env.NODE_ENV&&hf(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const rg={scale:{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.3}},shadow:{whileHover:{boxShadow:"0 10px 25px rgba(0,0,0,0.15)"},transition:{duration:.3}},lift:{whileHover:{y:-5},whileTap:{y:0},transition:{type:"spring",stiffness:300,damping:20}},opacity:{whileHover:{opacity:.8},transition:{duration:.2}},grow:{whileHover:{scale:1.1},whileTap:{scale:.95},transition:{type:"spring",stiffness:300,damping:20}},pop:{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.15}}};function og({children:t,animationType:n=lc,disableAnimation:r=!0,whileHover:i,whileTap:a,transition:s,...l}){const c=ng(),u=o.Children.only(t);if(r||c)return u;const d=function(e){if(!e)return;const t=Array.isArray(e)?e:[e];return 0!==t.length?t.reduce((e,t)=>{const n=rg[t];return{whileHover:{...e.whileHover,...n.whileHover},...e.whileTap||n.whileTap?{whileTap:{...e.whileTap,...n.whileTap}}:{},transition:{...e.transition,...n.transition}}},{whileHover:{},transition:{}}):void 0}(n),p=d?{...d.whileHover,...i}:i,f=(null==d?void 0:d.whileTap)||a?{...null==d?void 0:d.whileTap,...a}:void 0,h=d?{...d.transition,...s}:s;if("string"==typeof u.type){const t=tg[u.type];return e(t,{...u.props,ref:u.ref,whileHover:p,whileTap:f,transition:h,...l})}return e(tg.div,{whileHover:p,whileTap:f,transition:h,...l,children:u})}og.displayName="AnimationWrapper";const ig=i(({variant:r="primary_brand",isLoading:o=!1,text:i,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},iconName:d,iconSize:p=24,iconFill:f=0,disableAnimation:h,animationType:m=lc,as:g="button",...b},y)=>{const v=(()=>{const e=Ve((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top sm:whitespace-nowrap",l?"w-full":"w-auto"),t=Ve((s||o)&&"cursor-not-allowed",o&&"pl-7");return Ve(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[r]||"",t,c)})();let I=`button--${r}`;o&&(I+=" button--loading"),s&&(I+=" button--disabled");const x=`${I} ${v}`,C=t(n,{children:[o?e(Sn,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ve(sc(u)),children:a}),i]}):i,d?e(Sn,{name:d,size:p,fill:f,weight:"200"}):null]});return e(og,"a"===g?{disableAnimation:h,animationType:m,children:e("a",{ref:y,className:Ve(x),...b,"data-component":"BrandButton","data-variant":"anchor",children:C})}:{disableAnimation:h,animationType:m,children:e("button",{ref:y,className:Ve(x),disabled:s||o,...b,"data-component":"BrandButton","data-variant":"button",children:C})})});ig.displayName="BrandButton";const ag=t=>{const{className:n,...r}=t;return e("div",{className:Ve("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};ag.displayName="Divider";const sg=n=>{const{name:r,value:o,label:i,subText:a,checked:s,onChange:l,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":f,labelClassName:h="",disabled:m,...g}=n,b=()=>null==l?void 0:l(o||r);return t("label",{htmlFor:r,className:Ve("flex items-center",c),"data-cy":f,...p,children:[e("input",{className:"hidden",type:"radio",name:r,value:o,checked:s,readOnly:!0,disabled:m,...g}),e(Gn,{type:"button",onClick:b,disabled:m,className:Ve("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",s&&"border-[1px] border-solid border-border-brand",m&&"opacity-50"),children:s&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(Gn,{type:"button",onClick:b,disabled:m,tabIndex:i?0:-1,children:[e("div",{className:Ve("text-body2 font-normal",h),children:i}),e("div",{className:"text-body1 text-text-info",children:a})]})]})};sg.displayName="RadioButton";const lg=n=>{const{list:r,text:o}=n,[i,s]=a(!0);return t("div",{className:"mt-3",children:[t(Gn,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),s(e=>!e)},children:[e("span",{children:o||"See details"}),e(Sn,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(Io,{open:i,children:e("div",{className:"pt-1",children:e(Nn,{listItemClassName:"body3",items:r})})})]})};lg.displayName="SeeMore";const cg=({onSelect:r,speed:o,isSelected:i=!1,renderCheckPlans:s,iconSize:l=24,iconClassName:c,cta:u,techType:d,isMax:p})=>{const[f,h]=a(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==s?void 0:s({speedCardConfig:{isModalOpen:f,setModalOpen:()=>{h(!1)},speed:o,techType:d,isMax:p},cta:u});return t(n,{children:[t(Gn,{onClick:()=>{h(!0),r()},className:Ve(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${o}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(Sn,{className:Ve(c,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:l})]}),g]})},ug=({className:t="",count:n=1})=>e("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,r)=>e("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*r}},r))});ug.displayName="Skeleton";const dg=()=>t("div",{className:"item-center mx-auto mt-4 flex animate-pulse flex-col justify-center gap-10 px-1 md:max-w-[48.375rem] md:gap-16 md:px-0","data-testid":"generic-skeleton",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]});function pg({tooltipMsg:r,className:o,children:i}){return t(n,{children:[e("style",{children:'\n .tooltip-custom {\n position: relative;\n cursor: pointer;\n margin-top: 7px;\n }\n .tooltip-custom::after {\n display: none;\n position: absolute;\n text-align: center;\n z-index: 999;\n content: attr(data-text);\n top: 0;\n left: -200%;\n transform: translate(-50%, calc(-100% - 10px));\n line-height: 1.1rem;\n padding-left: 1rem;\n padding-right: 1rem;\n border-radius: 8px;\n color: white;\n background-color: black;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n width: 270px;\n font-size: 14px;\n }\n .tooltip-custom:hover::after {\n display: block;\n }\n .tooltip-custom::before {\n background-color: black;\n content: " ";\n display: none;\n position: absolute;\n width: 15px;\n height: 15px;\n z-index: 999;\n top: 0;\n left: 50%;\n transform: translate(-50%, calc(-100% - 5px)) rotate(45deg);\n }\n .tooltip-custom:hover::before {\n display: block;\n }\n @media (max-width: 640px) {\n .tooltip-custom::after {\n left: -124px;\n }\n }\n @media (max-width: 343px) {\n .tooltip-custom::after {\n left: 80px;\n width: 160px;\n }\n }\n '}),e("span",{className:`tooltip-custom ${o||""}`,"data-text":r,children:i})]})}pg.displayName="Tooltip";const fg=n=>{const{cartTotalText:r,onClick:o,isOpen:i,...a}=n;return e(Gn,{className:Ve("btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse","btn-small w-full border-border pl-6 pr-4 md:btn-medium"),onClick:o,...a,children:t("div",{className:"flex w-full items-center justify-center gap-2",children:[t("div",{className:"flex flex-col items-center justify-center",children:[e(On,{className:"label4 -mb-1 text-text",children:"View cart"}),e(On,{className:"label3 text-text md:label1","data-testid":"cart-total",children:r})]}),e(Sn,{name:"keyboard_arrow_up",size:24,fill:0,className:Ve("h-6 w-6 transition-transform",i?"rotate-180":"rotate-0")})]})})};function hg(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:o=768,autoScrollInterval:i=8e3,enableAutoScroll:c=!0}=e,[d,p]=a(0),[f,h]=a(0),[m,g]=a(!1),[b,y]=a("undefined"!=typeof window?window.innerWidth:1),[v,I]=a(!1),x=u(null),C=u(0),A=u(null),E={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:i};l(()=>{const e=()=>{var e;y((null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const w=s(()=>{0!==t&&p(e=>(e+1)%t)},[t]),S=s(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),O=s(e=>{e<0||e>=t||p(e)},[t]),N=s(e=>{C.current=e.touches[0].clientX,g(!0),x.current&&clearInterval(x.current)},[]),T=s(e=>{if(!m)return;const t=e.touches[0].clientX-C.current;h(t)},[m]),P=s(()=>{g(!1);const e=b*r;f>e?S():f<-e&&w(),h(0),c&&i>0&&(x.current=setInterval(()=>{w()},i))},[f,b,r,S,w,c,i]);return l(()=>{const e=()=>{I(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),l(()=>{if(c&&0!==t&&0!==i)return x.current=setInterval(()=>{w()},i),()=>{x.current&&clearInterval(x.current)}},[w,t,c,i]),{currentIndex:d,swipeOffset:f,isSwiping:m,isMobile:v,containerWidth:b,containerRef:A,nextSlide:w,prevSlide:S,goToSlide:O,handleTouchStart:N,handleTouchMove:T,handleTouchEnd:P,constants:E}}export{xo as Accordion,ac as AlertCard,og as AnimationWrapper,ig as BrandButton,Gn as Button,Hn as CallButton,Co as Checkbox,Nn as Checklist,Io as Collapse,lc as DEFAULT_BUTTON_ANIMATION_TYPE,ag as Divider,kn as Image,Ln as Input,Bn as InputField,Rn as Link,wn as List,En as ListItem,Sn as MaterialIcon,vo as Modal,Dn as NextImage,dg as PageSkeleton,sg as RadioButton,lg as SeeMore,ic as Select,cg as SelectPlanButton,ug as Skeleton,jn as Spinner,On as Text,Ln as TextInput,pg as Tooltip,fg as ViewCartButton,E as clsx,Ve as cx,Wn as useBodyScrollLock,hg as useCarouselSwipe};
39
39
  //# sourceMappingURL=index.esm.js.map