1 line
86 KiB
JavaScript
1 line
86 KiB
JavaScript
(globalThis.webpackChunkburst_statistics=globalThis.webpackChunkburst_statistics||[]).push([[127],{4146:(e,t,n)=>{"use strict";var r=n(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var s=u(t),v=u(n),m=0;m<a.length;++m){var g=a[m];if(!(i[g]||r&&r[g]||v&&v[g]||s&&s[g])){var b=d(n,g);try{l(t,g,b)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,O=n?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case p:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case l:case d:case m:case v:case u:return e;default:return t}}case o:return t}}}function w(e){return C(e)===p}t.AsyncMode=c,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return w(e)||C(e)===c},t.isConcurrentMode=w,t.isContextConsumer=function(e){return C(e)===l},t.isContextProvider=function(e){return C(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return C(e)===d},t.isFragment=function(e){return C(e)===i},t.isLazy=function(e){return C(e)===m},t.isMemo=function(e){return C(e)===v},t.isPortal=function(e){return C(e)===o},t.isProfiler=function(e){return C(e)===s},t.isStrictMode=function(e){return C(e)===a},t.isSuspense=function(e){return C(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===O||e.$$typeof===g)},t.typeOf=C},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},1873:(e,t,n)=>{var r=n(9325).Symbol;e.exports=r},2552:(e,t,n)=>{var r=n(1873),o=n(659),i=n(9350),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},4128:(e,t,n)=>{var r=n(1800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},4840:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},659:(e,t,n)=>{var r=n(1873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},9350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9325:(e,t,n)=>{var r=n(4840),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},1800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},8221:(e,t,n)=>{var r=n(3805),o=n(124),i=n(9374),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,l,c,p,d,f,h=0,v=!1,m=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=u,r=l;return u=l=void 0,h=t,p=e.apply(r,n)}function y(e){var n=e-f;return void 0===f||n>=t||n<0||m&&e-h>=c}function O(){var e=o();if(y(e))return C(e);d=setTimeout(O,function(e){var n=t-(e-f);return m?s(n,c-(e-h)):n}(e))}function C(e){return d=void 0,g&&u?b(e):(u=l=void 0,p)}function w(){var e=o(),n=y(e);if(u=arguments,l=this,f=e,n){if(void 0===d)return function(e){return h=e,d=setTimeout(O,t),v?b(e):p}(f);if(m)return clearTimeout(d),d=setTimeout(O,t),b(f)}return void 0===d&&(d=setTimeout(O,t)),p}return t=i(t)||0,r(n)&&(v=!!n.leading,c=(m="maxWait"in n)?a(i(n.maxWait)||0,t):c,g="trailing"in n?!!n.trailing:g),w.cancel=function(){void 0!==d&&clearTimeout(d),h=0,u=f=l=d=void 0},w.flush=function(){return void 0===d?p:C(o())},w}},3805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4394:(e,t,n)=>{var r=n(2552),o=n(346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},124:(e,t,n)=>{var r=n(9325);e.exports=function(){return r.Date.now()}},9374:(e,t,n)=>{var r=n(4128),o=n(3805),i=n(4394),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},652:(e,t,n)=>{"use strict";n.d(t,{A:()=>Bn});var r=n(8168),o=n(1609),i=n(4467);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=n(3029),l=n(2901),c=n(5501),p=n(2962),d=n(3145),f=n(7800);function h(e){return function(e){if(Array.isArray(e))return(0,d.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,f.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var v=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),m=Math.abs,g=String.fromCharCode,b=Object.assign;function y(e){return e.trim()}function O(e,t,n){return e.replace(t,n)}function C(e,t){return e.indexOf(t)}function w(e,t){return 0|e.charCodeAt(t)}function S(e,t,n){return e.slice(t,n)}function x(e){return e.length}function I(e){return e.length}function E(e,t){return t.push(e),e}var A=1,M=1,k=0,V=0,P=0,D="";function R(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:A,column:M,length:a,return:""}}function F(e,t){return b(R("",null,null,"",null,null,0),e,{length:-e.length},t)}function L(){return P=V>0?w(D,--V):0,M--,10===P&&(M=1,A--),P}function T(){return P=V<k?w(D,V++):0,M++,10===P&&(M=1,A++),P}function H(){return w(D,V)}function _(){return V}function $(e,t){return S(D,e,t)}function j(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(e){return A=M=1,k=x(D=e),V=0,[]}function U(e){return D="",e}function z(e){return y($(V-1,G(91===e?e+2:40===e?e+1:e)))}function B(e){for(;(P=H())&&P<33;)T();return j(e)>2||j(P)>3?"":" "}function W(e,t){for(;--t&&T()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return $(e,_()+(t<6&&32==H()&&32==T()))}function G(e){for(;T();)switch(P){case e:return V;case 34:case 39:34!==e&&39!==e&&G(P);break;case 40:41===e&&G(e);break;case 92:T()}return V}function Y(e,t){for(;T()&&e+P!==57&&(e+P!==84||47!==H()););return"/*"+$(t,V-1)+"*"+g(47===e?e:T())}function q(e){for(;!j(H());)T();return $(e,V)}var X="-ms-",Z="-moz-",K="-webkit-",J="comm",Q="rule",ee="decl",te="@keyframes";function ne(e,t){for(var n="",r=I(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function re(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ee:return e.return=e.return||e.value;case J:return"";case te:return e.return=e.value+"{"+ne(e.children,r)+"}";case Q:e.value=e.props.join(",")}return x(n=ne(e.children,r))?e.return=e.value+"{"+n+"}":""}function oe(e){return U(ie("",null,null,null,[""],e=N(e),0,[0],e))}function ie(e,t,n,r,o,i,a,s,u){for(var l=0,c=0,p=a,d=0,f=0,h=0,v=1,m=1,b=1,y=0,S="",I=o,A=i,M=r,k=S;m;)switch(h=y,y=T()){case 40:if(108!=h&&58==w(k,p-1)){-1!=C(k+=O(z(y),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:k+=z(y);break;case 9:case 10:case 13:case 32:k+=B(h);break;case 92:k+=W(_()-1,7);continue;case 47:switch(H()){case 42:case 47:E(se(Y(T(),_()),t,n),u);break;default:k+="/"}break;case 123*v:s[l++]=x(k)*b;case 125*v:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+c:-1==b&&(k=O(k,/\f/g,"")),f>0&&x(k)-p&&E(f>32?ue(k+";",r,n,p-1):ue(O(k," ","")+";",r,n,p-2),u);break;case 59:k+=";";default:if(E(M=ae(k,t,n,l,c,o,s,S,I=[],A=[],p),i),123===y)if(0===c)ie(k,t,M,M,I,i,p,s,A);else switch(99===d&&110===w(k,3)?100:d){case 100:case 108:case 109:case 115:ie(e,M,M,r&&E(ae(e,M,M,0,0,o,s,S,o,I=[],p),A),o,A,p,s,r?I:A);break;default:ie(k,M,M,M,[""],A,0,s,A)}}l=c=f=0,v=b=1,S=k="",p=a;break;case 58:p=1+x(k),f=h;default:if(v<1)if(123==y)--v;else if(125==y&&0==v++&&125==L())continue;switch(k+=g(y),y*v){case 38:b=c>0?1:(k+="\f",-1);break;case 44:s[l++]=(x(k)-1)*b,b=1;break;case 64:45===H()&&(k+=z(T())),d=H(),c=p=x(S=k+=q(_())),y++;break;case 45:45===h&&2==x(k)&&(v=0)}}return i}function ae(e,t,n,r,o,i,a,s,u,l,c){for(var p=o-1,d=0===o?i:[""],f=I(d),h=0,v=0,g=0;h<r;++h)for(var b=0,C=S(e,p+1,p=m(v=a[h])),w=e;b<f;++b)(w=y(v>0?d[b]+" "+C:O(C,/&\f/g,d[b])))&&(u[g++]=w);return R(e,t,n,0===o?Q:s,u,l,c)}function se(e,t,n){return R(e,t,n,J,g(P),S(e,2,-2),0)}function ue(e,t,n,r){return R(e,t,n,ee,S(e,0,r),S(e,r+1,-1),r)}var le=function(e,t,n){for(var r=0,o=0;r=o,o=H(),38===r&&12===o&&(t[n]=1),!j(o);)T();return $(e,V)},ce=new WeakMap,pe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ce.get(n))&&!r){ce.set(e,!0);for(var o=[],i=function(e,t){return U(function(e,t){var n=-1,r=44;do{switch(j(r)){case 0:38===r&&12===H()&&(t[n]=1),e[n]+=le(V-1,t,n);break;case 2:e[n]+=z(r);break;case 4:if(44===r){e[++n]=58===H()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=g(r)}}while(r=T());return e}(N(e),t))}(t,o),a=n.props,s=0,u=0;s<i.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},de=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function fe(e,t){switch(function(e,t){return 45^w(e,0)?(((t<<2^w(e,0))<<2^w(e,1))<<2^w(e,2))<<2^w(e,3):0}(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+Z+e+X+e+e;case 6828:case 4268:return K+e+X+e+e;case 6165:return K+e+X+"flex-"+e+e;case 5187:return K+e+O(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return K+e+X+"flex-item-"+O(e,/flex-|-self/,"")+e;case 4675:return K+e+X+"flex-line-pack"+O(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+X+O(e,"shrink","negative")+e;case 5292:return K+e+X+O(e,"basis","preferred-size")+e;case 6060:return K+"box-"+O(e,"-grow","")+K+e+X+O(e,"grow","positive")+e;case 4554:return K+O(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return O(O(O(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return O(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return O(O(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return O(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(x(e)-1-t>6)switch(w(e,t+1)){case 109:if(45!==w(e,t+4))break;case 102:return O(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+Z+(108==w(e,t+3)?"$3":"$2-$3"))+e;case 115:return~C(e,"stretch")?fe(O(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==w(e,t+1))break;case 6444:switch(w(e,x(e)-3-(~C(e,"!important")&&10))){case 107:return O(e,":",":"+K)+e;case 101:return O(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(45===w(e,14)?"inline-":"")+"box$3$1"+K+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(w(e,t+11)){case 114:return K+e+X+O(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+X+O(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+X+O(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+X+e+e}return e}var he=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ee:e.return=fe(e.value,e.length);break;case te:return ne([F(e,{value:O(e.value,"@","@"+K)})],r);case Q:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return ne([F(e,{props:[O(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ne([F(e,{props:[O(t,/:(plac\w+)/,":"+K+"input-$1")]}),F(e,{props:[O(t,/:(plac\w+)/,":-moz-$1")]}),F(e,{props:[O(t,/:(plac\w+)/,X+"input-$1")]})],r)}return""}))}}],ve=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||he,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var u,l,c,p,d=[re,(p=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],f=(l=[pe,de].concat(i,d),c=I(l),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=l[i](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,ne(oe(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new v({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h},me=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ge={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,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 be(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ye=/[A-Z]|^ms/g,Oe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ce=function(e){return 45===e.charCodeAt(1)},we=function(e){return null!=e&&"boolean"!=typeof e},Se=be((function(e){return Ce(e)?e:e.replace(ye,"-$&").toLowerCase()})),xe=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Oe,(function(e,t,n){return Ee={name:t,styles:n,next:Ee},t}))}return 1===ge[e]||Ce(e)||"number"!=typeof t||0===t?t:t+"px"};function Ie(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Ee={name:n.name,styles:n.styles,next:Ee},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Ee={name:r.name,styles:r.styles,next:Ee},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ie(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":we(a)&&(r+=Se(i)+":"+xe(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Ie(e,t,a);switch(i){case"animation":case"animationName":r+=Se(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)we(a[u])&&(r+=Se(i)+":"+xe(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Ee,i=n(e);return Ee=o,Ie(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Ee,Ae=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Me=function(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="";Ee=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Ie(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Ie(n,t,e[a]),r&&(o+=i[a]);Ae.lastIndex=0;for(var s,u="";null!==(s=Ae.exec(o));)u+="-"+s[1];var l=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)+u;return{name:l,styles:o,next:Ee}},ke=!!o.useInsertionEffect&&o.useInsertionEffect,Ve=ke||function(e){return e()},Pe=(ke||o.useLayoutEffect,{}.hasOwnProperty),De=o.createContext("undefined"!=typeof HTMLElement?ve({key:"css"}):null);De.Provider;var Re=function(e){return(0,o.forwardRef)((function(t,n){var r=(0,o.useContext)(De);return e(t,r,n)}))},Fe=o.createContext({}),Le="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Te=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return me(t,n,r),Ve((function(){return function(e,t,n){me(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},He=Re((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Le],a=[r],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]+";"):r+=n+" "})),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var u=Me(a,void 0,o.useContext(Fe));s+=t.key+"-"+u.name;var l={};for(var c in e)Pe.call(e,c)&&"css"!==c&&c!==Le&&(l[c]=e[c]);return l.ref=n,l.className=s,o.createElement(o.Fragment,null,o.createElement(Te,{cache:t,serialized:u,isStringTag:"string"==typeof i}),o.createElement(i,l))})),_e=He,$e=(n(4146),function(e,t){var n=arguments;if(null==t||!Pe.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=_e,i[1]=function(e,t){var n={};for(var r in t)Pe.call(t,r)&&(n[r]=t[r]);return n[Le]=e,n}(e,t);for(var a=2;a<r;a++)i[a]=n[a];return o.createElement.apply(null,i)});function je(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Me(t)}function Ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||(0,f.A)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ue=n(8587);function ze(e,t){if(null==e)return{};var n,r,o=(0,Ue.A)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Be=n(2284),We=n(5795),Ge=n(2425);const Ye=o.useLayoutEffect;var qe=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Xe=function(){};function Ze(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ke(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(Ze(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Je=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,Be.A)(e)&&null!==e?[e]:[];var t},Qe=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,s({},ze(e,qe))},et=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 tt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function nt(e){return tt(e)?window.pageYOffset:e.scrollTop}function rt(e,t){tt(e)?window.scrollTo(0,t):e.scrollTop=t}function ot(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Xe,o=nt(e),i=t-o,a=0;!function t(){var s,u=i*((s=(s=a+=10)/n-1)*s*s+1)+o;rt(e,u),a<n?window.requestAnimationFrame(t):r(e)}()}function it(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?rt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&rt(e,Math.max(t.offsetTop-o,0))}function at(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var st=!1,ut={get passive(){return st=!0}},lt="undefined"!=typeof window?window:{};lt.addEventListener&<.removeEventListener&&(lt.addEventListener("p",Xe,ut),lt.removeEventListener("p",Xe,!1));var ct=st;function pt(e){return null!=e}function dt(e,t,n){return e?t:n}var ft=["children","innerProps"],ht=["children","innerProps"];var vt,mt,gt,bt=function(e){return"auto"===e?"bottom":e},yt=(0,o.createContext)(null),Ot=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,u=e.menuShouldScrollIntoView,l=e.theme,c=((0,o.useContext)(yt)||{}).setPortalPlacement,p=(0,o.useRef)(null),d=Ne((0,o.useState)(r),2),f=d[0],h=d[1],v=Ne((0,o.useState)(null),2),m=v[0],g=v[1],b=l.spacing.controlHeight;return Ye((function(){var e=p.current;if(e){var t="fixed"===a,o=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=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),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c,p=u.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,h=d.height,v=d.top,m=n.offsetParent.getBoundingClientRect().top,g=a||tt(c=u)?window.innerHeight:c.clientHeight,b=nt(u),y=parseInt(getComputedStyle(n).marginBottom,10),O=parseInt(getComputedStyle(n).marginTop,10),C=m-O,w=g-v,S=C+b,x=p-b-v,I=f-g+b+y,E=b+v-O,A=160;switch(o){case"auto":case"bottom":if(w>=h)return{placement:"bottom",maxHeight:t};if(x>=h&&!a)return i&&ot(u,I,A),{placement:"bottom",maxHeight:t};if(!a&&x>=r||a&&w>=r)return i&&ot(u,I,A),{placement:"bottom",maxHeight:a?w-y:x-y};if("auto"===o||a){var M=t,k=a?C:S;return k>=r&&(M=Math.min(k-y-s,t)),{placement:"top",maxHeight:M}}if("bottom"===o)return i&&rt(u,I),{placement:"bottom",maxHeight:t};break;case"top":if(C>=h)return{placement:"top",maxHeight:t};if(S>=h&&!a)return i&&ot(u,E,A),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&C>=r){var V=t;return(!a&&S>=r||a&&C>=r)&&(V=a?C-O:S-O),i&&ot(u,E,A),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:u&&!t,isFixedPosition:t,controlHeight:b});h(o.maxHeight),g(o.placement),null==c||c(o.placement)}}),[r,i,a,u,n,c,b]),t({ref:p,placerProps:s(s({},e),{},{placement:m||bt(i),maxHeight:f})})},Ct=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return s({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},wt=Ct,St=Ct,xt=["size"],It=["innerProps","isRtl","size"],Et={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},At=function(e){var t=e.size,n=ze(e,xt);return $e("svg",(0,r.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Et},n))},Mt=function(e){return $e(At,(0,r.A)({size:20},e),$e("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},kt=function(e){return $e(At,(0,r.A)({size:20},e),$e("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Vt=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return s({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},Pt=Vt,Dt=Vt,Rt=function(){var e=je.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_"}}}(vt||(mt=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],gt||(gt=mt.slice(0)),vt=Object.freeze(Object.defineProperties(mt,{raw:{value:Object.freeze(gt)}})))),Ft=function(e){var t=e.delay,n=e.offset;return $e("span",{css:je({animation:"".concat(Rt," 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"},"","")})},Lt=["data"],Tt=["innerRef","isDisabled","isHidden","inputClassName"],Ht={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},_t={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":s({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ht)},$t=function(e){return s({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ht)},jt=function(e){var t=e.children,n=e.innerProps;return $e("div",n,t)},Nt={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return $e("div",(0,r.A)({},et(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||$e(Mt,null))},Control:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.innerRef,a=e.innerProps,s=e.menuIsOpen;return $e("div",(0,r.A)({ref:i},et(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),a,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return $e("div",(0,r.A)({},et(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||$e(kt,null))},DownChevron:kt,CrossIcon:Mt,Group:function(e){var t=e.children,n=e.cx,o=e.getStyles,i=e.getClassNames,a=e.Heading,s=e.headingProps,u=e.innerProps,l=e.label,c=e.theme,p=e.selectProps;return $e("div",(0,r.A)({},et(e,"group",{group:!0}),u),$e(a,(0,r.A)({},s,{selectProps:p,theme:c,getStyles:o,getClassNames:i,cx:n}),l),$e("div",null,t))},GroupHeading:function(e){var t=Qe(e);t.data;var n=ze(t,Lt);return $e("div",(0,r.A)({},et(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return $e("div",(0,r.A)({},et(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return $e("span",(0,r.A)({},t,et(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,o=Qe(e),i=o.innerRef,a=o.isDisabled,s=o.isHidden,u=o.inputClassName,l=ze(o,Tt);return $e("div",(0,r.A)({},et(e,"input",{"input-container":!0}),{"data-value":n||""}),$e("input",(0,r.A)({className:t({input:!0},u),ref:i,style:$t(s),disabled:a},l)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,i=void 0===o?4:o,a=ze(e,It);return $e("div",(0,r.A)({},et(s(s({},a),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),$e(Ft,{delay:0,offset:n}),$e(Ft,{delay:160,offset:!0}),$e(Ft,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return $e("div",(0,r.A)({},et(e,"menu",{menu:!0}),{ref:n},o),t)},MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,i=e.isMulti;return $e("div",(0,r.A)({},et(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,i=e.controlElement,a=e.innerProps,u=e.menuPlacement,l=e.menuPosition,c=(0,o.useRef)(null),p=(0,o.useRef)(null),d=Ne((0,o.useState)(bt(u)),2),f=d[0],h=d[1],v=(0,o.useMemo)((function(){return{setPortalPlacement:h}}),[]),m=Ne((0,o.useState)(null),2),g=m[0],b=m[1],y=(0,o.useCallback)((function(){if(i){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}}(i),t="fixed"===l?0:window.pageYOffset,n=e[f]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}}),[i,l,f,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);Ye((function(){y()}),[y]);var O=(0,o.useCallback)((function(){"function"==typeof p.current&&(p.current(),p.current=null),i&&c.current&&(p.current=(0,Ge.ll)(i,c.current,y,{elementResize:"ResizeObserver"in window}))}),[i,y]);Ye((function(){O()}),[O]);var C=(0,o.useCallback)((function(e){c.current=e,O()}),[O]);if(!t&&"fixed"!==l||!g)return null;var w=$e("div",(0,r.A)({ref:C},et(s(s({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),a),n);return $e(yt.Provider,{value:v},t?(0,We.createPortal)(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,i=ze(e,ht);return $e("div",(0,r.A)({},et(s(s({},i),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,i=ze(e,ft);return $e("div",(0,r.A)({},et(s(s({},i),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,u=e.selectProps,l=n.Container,c=n.Label,p=n.Remove;return $e(l,{data:r,innerProps:s(s({},et(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:u},$e(c,{data:r,innerProps:s({},et(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),$e(p,{data:r,innerProps:s(s({},et(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:u}))},MultiValueContainer:jt,MultiValueLabel:jt,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return $e("div",(0,r.A)({role:"button"},n),t||$e(Mt,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.isSelected,a=e.innerRef,s=e.innerProps;return $e("div",(0,r.A)({},et(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":i}),{ref:a,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return $e("div",(0,r.A)({},et(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,i=e.isRtl;return $e("div",(0,r.A)({},et(e,"container",{"--is-disabled":o,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return $e("div",(0,r.A)({},et(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,i=e.hasValue;return $e("div",(0,r.A)({},et(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),n),t)}},Ut=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function zt(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Ut(r)&&Ut(o)))return!1;var r,o;return!0}for(var Bt={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"},Wt=function(e){return $e("span",(0,r.A)({css:Bt},e))},Gt={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,u=e.isSelected,l=e.isAppleDevice,c=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(c(a,n),".");if("menu"===t&&l){var p=s?" disabled":"",d="".concat(u?" selected":"").concat(p);return"".concat(i).concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Yt=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,u=e.selectValue,l=e.selectProps,c=e.id,p=e.isAppleDevice,d=l.ariaLiveMessages,f=l.getOptionLabel,h=l.inputValue,v=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,y=l.options,O=l.screenReaderStatus,C=l.tabSelectsValue,w=l.isLoading,S=l["aria-label"],x=l["aria-live"],I=(0,o.useMemo)((function(){return s(s({},Gt),d||{})}),[d]),E=(0,o.useMemo)((function(){var e,n="";if(t&&I.onChange){var r=t.option,o=t.options,i=t.removedValue,a=t.removedValues,l=t.value,c=i||r||(e=l,Array.isArray(e)?null:e),p=c?f(c):"",d=o||a||void 0,h=d?d.map(f):[],v=s({isDisabled:c&&m(c,u),label:p,labels:h},t);n=I.onChange(v)}return n}),[t,I,m,u,f]),A=(0,o.useMemo)((function(){var e="",t=n||r,o=!!(n&&u&&u.includes(n));if(t&&I.onFocus){var a={focused:t,label:f(t),isDisabled:m(t,u),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:u,isAppleDevice:p};e=I.onFocus(a)}return e}),[n,r,f,m,I,i,u,p]),M=(0,o.useMemo)((function(){var e="";if(b&&y.length&&!w&&I.onFilter){var t=O({count:i.length});e=I.onFilter({inputValue:h,resultsMessage:t})}return e}),[i,h,b,I,y,O,w]),k="initial-input-focus"===(null==t?void 0:t.action),V=(0,o.useMemo)((function(){var e="";if(I.guidance){var t=r?"value":b?"menu":"input";e=I.guidance({"aria-label":S,context:t,isDisabled:n&&m(n,u),isMulti:v,isSearchable:g,tabSelectsValue:C,isInitialFocus:k})}return e}),[S,n,r,v,m,g,b,I,u,C,k]),P=$e(o.Fragment,null,$e("span",{id:"aria-selection"},E),$e("span",{id:"aria-focused"},A),$e("span",{id:"aria-results"},M),$e("span",{id:"aria-guidance"},V));return $e(o.Fragment,null,$e(Wt,{id:c},k&&P),$e(Wt,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!k&&P))},qt=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Xt=new RegExp("["+qt.map((function(e){return e.letters})).join("")+"]","g"),Zt={},Kt=0;Kt<qt.length;Kt++)for(var Jt=qt[Kt],Qt=0;Qt<Jt.letters.length;Qt++)Zt[Jt.letters[Qt]]=Jt.base;var en=function(e){return e.replace(Xt,(function(e){return Zt[e]}))},tn=function(e,t){void 0===t&&(t=zt);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}(en),nn=function(e){return e.replace(/^\s+|\s+$/g,"")},rn=function(e){return"".concat(e.label," ").concat(e.value)},on=["innerRef"];function an(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=Ne(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=Ne(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(ze(e,on),"onExited","in","enter","exit","appear");return $e("input",(0,r.A)({ref:t},n,{css:je({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var sn=["boxSizing","height","overflow","paddingRight","position"],un={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ln(e){e.preventDefault()}function cn(e){e.stopPropagation()}function pn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function dn(){return"ontouchstart"in window||navigator.maxTouchPoints}var fn=!("undefined"==typeof window||!window.document||!window.document.createElement),hn=0,vn={capture:!1,passive:!1},mn=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},gn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function bn(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,s=(0,o.useRef)(!1),u=(0,o.useRef)(!1),l=(0,o.useRef)(0),c=(0,o.useRef)(null),p=(0,o.useCallback)((function(e,t){if(null!==c.current){var o=c.current,l=o.scrollTop,p=o.scrollHeight,d=o.clientHeight,f=c.current,h=t>0,v=p-d-l,m=!1;v>t&&s.current&&(r&&r(e),s.current=!1),h&&u.current&&(a&&a(e),u.current=!1),h&&t>v?(n&&!s.current&&n(e),f.scrollTop=p,m=!0,s.current=!0):!h&&-t>l&&(i&&!u.current&&i(e),f.scrollTop=0,m=!0,u.current=!0),m&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,i,a]),d=(0,o.useCallback)((function(e){p(e,e.deltaY)}),[p]),f=(0,o.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),h=(0,o.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;p(e,t)}),[p]),v=(0,o.useCallback)((function(e){if(e){var t=!!ct&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",h,t)}}),[h,f,d]),m=(0,o.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",h,!1))}),[h,f,d]);return(0,o.useEffect)((function(){if(t){var e=c.current;return v(e),function(){m(e)}}}),[t,v,m]),function(e){c.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=(0,o.useRef)({}),a=(0,o.useRef)(null),s=(0,o.useCallback)((function(e){if(fn){var t=document.body,n=t&&t.style;if(r&&sn.forEach((function(e){var t=n&&n[e];i.current[e]=t})),r&&hn<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(un).forEach((function(e){var t=un[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&dn()&&(t.addEventListener("touchmove",ln,vn),e&&(e.addEventListener("touchstart",pn,vn),e.addEventListener("touchmove",cn,vn))),hn+=1}}),[r]),u=(0,o.useCallback)((function(e){if(fn){var t=document.body,n=t&&t.style;hn=Math.max(hn-1,0),r&&hn<1&&sn.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&dn()&&(t.removeEventListener("touchmove",ln,vn),e&&(e.removeEventListener("touchstart",pn,vn),e.removeEventListener("touchmove",cn,vn)))}}),[r]);return(0,o.useEffect)((function(){if(t){var e=a.current;return s(e),function(){u(e)}}}),[t,s,u]),function(e){a.current=e}}({isEnabled:n});return $e(o.Fragment,null,n&&$e("div",{onClick:mn,css:gn}),t((function(e){i(e),a(e)})))}var yn={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},On=function(e){var t=e.name,n=e.onFocus;return $e("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:yn,value:"",onChange:function(){}})};function Cn(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 wn(){return Cn(/^Mac/i)}var Sn={clearIndicator:Dt,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 s({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:Pt,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 s({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 s({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 s(s({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},_t),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 s({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:St,menu:function(e,t){var n,r=e.placement,o=e.theme,a=o.borderRadius,u=o.spacing,l=o.colors;return s((n={label:"menu"},(0,i.A)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),(0,i.A)(n,"position","absolute"),(0,i.A)(n,"width","100%"),(0,i.A)(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return s({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 s({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 s({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 s({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:wt,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,u=i.colors;return s({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?u.primary:r?u.primary25:"transparent",color:n?u.neutral20:o?u.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?u.primary:u.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return s({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 s({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 s({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")})}},xn={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}},In={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:at(),captureMenuScroll:!at(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=s({ignoreCase:!0,ignoreAccents:!0,stringify:rn,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,u=n.matchFrom,l=a?nn(t):t,c=a?nn(i(e)):i(e);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),o&&(l=tn(l),c=en(c)),"start"===u?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function En(e,t,n,r){return{type:"option",data:t,isDisabled:Fn(e,t,n),isSelected:Ln(e,t,n),label:Dn(e,t),value:Rn(e,t),index:r}}function An(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return En(e,n,t,r)})).filter((function(t){return Vn(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=En(e,n,t,r);return Vn(e,i)?i:void 0})).filter(pt)}function Mn(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,h(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function kn(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,h(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 Vn(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Hn(e)||!i)&&Tn(e,{label:a,value:s,data:o},r)}var Pn=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Dn=function(e,t){return e.getOptionLabel(t)},Rn=function(e,t){return e.getOptionValue(t)};function Fn(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ln(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Rn(e,t);return n.some((function(t){return Rn(e,t)===r}))}function Tn(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Hn=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},$n=1,jn=function(e){(0,c.A)(n,e);var t=(0,p.A)(n);function n(e){var r;if((0,u.A)(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=wn()||Cn(/^iPhone/i)||Cn(/^iPad/i)||wn()&&navigator.maxTouchPoints>1,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,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),u=r.isOptionDisabled(e,a);if(s){var l=r.getOptionValue(e);r.setValue(a.filter((function(e){return r.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(h(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=dt(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(dt(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=dt(e,o,o[0]||null);r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Pn(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return kn(An(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 Ke.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Dn(r.props,e)},r.getOptionValue=function(e){return Rn(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=Sn[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,s(s({},Nt),e.components);var e},r.buildCategorizedOptions=function(){return An(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Mn(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:s({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&&tt(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 Hn(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,u=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,f=r.state,h=f.focusedOption,v=f.focusedValue,m=f.selectValue;if(!(u||"function"==typeof c&&(c(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(v)r.removeValue(v);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!l||!p||!h||d&&r.isOptionSelected(h,m))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":l?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!l){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":l?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":l?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!l)return;r.focusOption("pageup");break;case"PageDown":if(!l)return;r.focusOption("pagedown");break;case"Home":if(!l)return;r.focusOption("first");break;case"End":if(!l)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++$n),r.state.selectValue=Je(e.value),e.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=Pn(o,i[a])}return r}return(0,l.A)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&it(this.menuListRef,this.focusedOptionRef)}},{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&&(it(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(xn):s(s({},xn),this.props.theme):xn}},{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,u=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,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 Fn(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ln(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Tn(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,i=e.inputId,a=e.inputValue,u=e.tabIndex,l=e.form,c=e.menuIsOpen,p=e.required,d=this.getComponents().Input,f=this.state,h=f.inputIsHidden,v=f.ariaSelection,m=this.commonProps,g=i||this.getElementId("input"),b=s(s(s({"aria-autocomplete":"list","aria-expanded":c,"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":p,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==v?void 0:v.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?o.createElement(d,(0,r.A)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:l,type:"text",value:a},b)):o.createElement(an,(0,r.A)({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Xe,onFocus:this.onInputFocus,disabled:t,tabIndex:u,inputMode:"none",form:l,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,a=t.MultiValueLabel,s=t.MultiValueRemove,u=t.SingleValue,l=t.Placeholder,c=this.commonProps,p=this.props,d=p.controlShouldRenderValue,f=p.isDisabled,h=p.isMulti,v=p.inputValue,m=p.placeholder,g=this.state,b=g.selectValue,y=g.focusedValue,O=g.isFocused;if(!this.hasValue()||!d)return v?null:o.createElement(l,(0,r.A)({},c,{key:"placeholder",isDisabled:f,isFocused:O,innerProps:{id:this.getElementId("placeholder")}}),m);if(h)return b.map((function(t,u){var l=t===y,p="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return o.createElement(n,(0,r.A)({},c,{components:{Container:i,Label:a,Remove:s},isFocused:l,isDisabled:f,key:p,index:u,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(v)return null;var C=b[0];return o.createElement(u,(0,r.A)({},c,{data:C,isDisabled:f}),this.formatOptionLabel(C,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,a=n.isLoading,s=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||a)return null;var u={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,(0,r.A)({},t,{innerProps:u,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,a=n.isLoading,s=this.state.isFocused;return e&&a?o.createElement(e,(0,r.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:s})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,a=this.props.isDisabled,s=this.state.isFocused;return o.createElement(n,(0,r.A)({},i,{isDisabled:a,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,(0,r.A)({},t,{innerProps:a,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,a=t.Menu,s=t.MenuList,u=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,p=t.Option,d=this.commonProps,f=this.state.focusedOption,h=this.props,v=h.captureMenuScroll,m=h.inputValue,g=h.isLoading,b=h.loadingMessage,y=h.minMenuHeight,O=h.maxMenuHeight,C=h.menuIsOpen,w=h.menuPlacement,S=h.menuPosition,x=h.menuPortalTarget,I=h.menuShouldBlockScroll,E=h.menuShouldScrollIntoView,A=h.noOptionsMessage,M=h.onMenuScrollToTop,k=h.onMenuScrollToBottom;if(!C)return null;var V,P=function(t,n){var i=t.type,a=t.data,s=t.isDisabled,u=t.isSelected,l=t.label,c=t.value,h=f===a,v=s?void 0:function(){return e.onOptionHover(a)},m=s?void 0:function(){return e.selectOption(a)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:m,onMouseMove:v,onMouseOver:v,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:u};return o.createElement(p,(0,r.A)({},d,{innerProps:b,data:a,isDisabled:s,isSelected:u,key:g,label:l,type:i,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map((function(t){if("group"===t.type){var a=t.data,s=t.options,u=t.index,l="".concat(e.getElementId("group"),"-").concat(u),c="".concat(l,"-heading");return o.createElement(n,(0,r.A)({},d,{key:l,data:a,options:s,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return P(e,"".concat(u,"-").concat(e.index))})))}if("option"===t.type)return P(t,"".concat(t.index))}));else if(g){var D=b({inputValue:m});if(null===D)return null;V=o.createElement(l,d,D)}else{var R=A({inputValue:m});if(null===R)return null;V=o.createElement(c,d,R)}var F={minMenuHeight:y,maxMenuHeight:O,menuPlacement:w,menuPosition:S,menuShouldScrollIntoView:E},L=o.createElement(Ot,(0,r.A)({},d,F),(function(t){var n=t.ref,i=t.placerProps,u=i.placement,l=i.maxHeight;return o.createElement(a,(0,r.A)({},d,F,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:u}),o.createElement(bn,{captureEnabled:v,onTopArrive:M,onBottomArrive:k,lockEnabled:I},(function(t){return o.createElement(s,(0,r.A)({},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:f}),V)})))}));return x||"fixed"===S?o.createElement(u,(0,r.A)({},d,{appendTo:x,controlElement:this.controlRef,menuPlacement:w,menuPosition:S}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,s=t.required,u=this.state.selectValue;if(s&&!this.hasValue()&&!r)return o.createElement(On,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(i){if(n){var l=u.map((function(t){return e.getOptionValue(t)})).join(n);return o.createElement("input",{name:a,type:"hidden",value:l})}var c=u.length>0?u.map((function(t,n){return o.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):o.createElement("input",{name:a,type:"hidden",value:""});return o.createElement("div",null,c)}var p=u[0]?this.getOptionValue(u[0]):"";return o.createElement("input",{name:a,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,a=t.focusedValue,s=t.isFocused,u=t.selectValue,l=this.getFocusableOptions();return o.createElement(Yt,(0,r.A)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:a,isFocused:s,selectValue:u,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,a=e.ValueContainer,s=this.props,u=s.className,l=s.id,c=s.isDisabled,p=s.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return o.createElement(i,(0,r.A)({},f,{className:u,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),o.createElement(t,(0,r.A)({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:p}),o.createElement(a,(0,r.A)({},f,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o.createElement(n,(0,r.A)({},f,{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,u=t.prevWasFocused,l=t.instancePrefix,c=e.options,p=e.value,d=e.menuIsOpen,f=e.inputValue,h=e.isMulti,v=Je(p),m={};if(n&&(p!==n.value||c!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var g=d?function(e,t){return Mn(An(e,t))}(e,v):[],b=d?kn(An(e,v),"".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,v):null,O=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:v,focusedOption:O,focusedOptionId:Pn(b,O),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var C=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},w=i,S=a&&u;return a&&!S&&(w={value:dt(h,v,v[0]||null),options:v,action:"initial-input-focus"},S=!u),"initial-input-focus"===(null==i?void 0:i.action)&&(w=null),s(s(s({},m),C),{},{prevProps:e,ariaSelection:w,prevWasFocused:S})}}]),n}(o.Component);jn.defaultProps=In;var Nn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"],Un=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"],zn=(0,o.forwardRef)((function(e,t){var n=function(e){var t=e.defaultOptions,n=void 0!==t&&t,r=e.cacheOptions,a=void 0!==r&&r,u=e.loadOptions;e.options;var l=e.isLoading,c=void 0!==l&&l,p=e.onInputChange,d=e.filterOption,f=void 0===d?null:d,h=ze(e,Un),v=h.inputValue,m=(0,o.useRef)(void 0),g=(0,o.useRef)(!1),b=Ne((0,o.useState)(Array.isArray(n)?n:void 0),2),y=b[0],O=b[1],C=Ne((0,o.useState)(void 0!==v?v:""),2),w=C[0],S=C[1],x=Ne((0,o.useState)(!0===n),2),I=x[0],E=x[1],A=Ne((0,o.useState)(void 0),2),M=A[0],k=A[1],V=Ne((0,o.useState)([]),2),P=V[0],D=V[1],R=Ne((0,o.useState)(!1),2),F=R[0],L=R[1],T=Ne((0,o.useState)({}),2),H=T[0],_=T[1],$=Ne((0,o.useState)(void 0),2),j=$[0],N=$[1],U=Ne((0,o.useState)(void 0),2),z=U[0],B=U[1];a!==z&&(_({}),B(a)),n!==j&&(O(Array.isArray(n)?n:void 0),N(n)),(0,o.useEffect)((function(){return g.current=!0,function(){g.current=!1}}),[]);var W=(0,o.useCallback)((function(e,t){if(!u)return t();var n=u(e,t);n&&"function"==typeof n.then&&n.then(t,(function(){return t()}))}),[u]);(0,o.useEffect)((function(){!0===n&&W(w,(function(e){g.current&&(O(e||[]),E(!!m.current))}))}),[]);var G=(0,o.useCallback)((function(e,t){var n=function(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}(e,t,p);if(!n)return m.current=void 0,S(""),k(""),D([]),E(!1),void L(!1);if(a&&H[n])S(n),k(n),D(H[n]),E(!1),L(!1);else{var r=m.current={};S(n),E(!0),L(!M),W(n,(function(e){g&&r===m.current&&(m.current=void 0,E(!1),k(n),D(e||[]),L(!1),_(e?s(s({},H),{},(0,i.A)({},n,e)):H))}))}}),[a,W,M,H,p]),Y=F?[]:w&&M?P:y||[];return s(s({},h),{},{options:Y,isLoading:I||c,onInputChange:G,filterOption:f})}(e),a=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,a=e.defaultValue,u=void 0===a?null:a,l=e.inputValue,c=e.menuIsOpen,p=e.onChange,d=e.onInputChange,f=e.onMenuClose,h=e.onMenuOpen,v=e.value,m=ze(e,Nn),g=Ne((0,o.useState)(void 0!==l?l:n),2),b=g[0],y=g[1],O=Ne((0,o.useState)(void 0!==c?c:i),2),C=O[0],w=O[1],S=Ne((0,o.useState)(void 0!==v?v:u),2),x=S[0],I=S[1],E=(0,o.useCallback)((function(e,t){"function"==typeof p&&p(e,t),I(e)}),[p]),A=(0,o.useCallback)((function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)}),[d]),M=(0,o.useCallback)((function(){"function"==typeof h&&h(),w(!0)}),[h]),k=(0,o.useCallback)((function(){"function"==typeof f&&f(),w(!1)}),[f]),V=void 0!==l?l:b,P=void 0!==c?c:C,D=void 0!==v?v:x;return s(s({},m),{},{inputValue:V,menuIsOpen:P,onChange:E,onInputChange:A,onMenuClose:k,onMenuOpen:M,value:D})}(n);return o.createElement(jn,(0,r.A)({ref:t},a))})),Bn=zn},990:(e,t,n)=>{"use strict";n.d(t,{UC:()=>Y,VY:()=>X,ZL:()=>W,bL:()=>z,bm:()=>Z,hE:()=>q,hJ:()=>G,l9:()=>B});var r=n(8168),o=n(1609),i=n(9957),a=n(1071),s=n(2133),u=n(8723),l=n(1351),c=n(8666),p=n(8531),d=n(3656),f=n(7971),h=n(2579),v=n(1463),m=n(3798),g=n(8241),b=n(3362);const y="Dialog",[O,C]=(0,s.A)(y),[w,S]=O(y),x=(0,o.forwardRef)(((e,t)=>{const{__scopeDialog:n,...s}=e,u=S("DialogTrigger",n),l=(0,a.s)(t,u.triggerRef);return(0,o.createElement)(h.sG.button,(0,r.A)({type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":j(u.open)},s,{ref:l,onClick:(0,i.m)(e.onClick,u.onOpenToggle)}))})),I="DialogPortal",[E,A]=O(I,{forceMount:void 0}),M="DialogOverlay",k=(0,o.forwardRef)(((e,t)=>{const n=A(M,e.__scopeDialog),{forceMount:i=n.forceMount,...a}=e,s=S(M,e.__scopeDialog);return s.modal?(0,o.createElement)(f.C,{present:i||s.open},(0,o.createElement)(V,(0,r.A)({},a,{ref:t}))):null})),V=(0,o.forwardRef)(((e,t)=>{const{__scopeDialog:n,...i}=e,a=S(M,n);return(0,o.createElement)(m.A,{as:b.DX,allowPinchZoom:!0,shards:[a.contentRef]},(0,o.createElement)(h.sG.div,(0,r.A)({"data-state":j(a.open)},i,{ref:t,style:{pointerEvents:"auto",...i.style}})))})),P="DialogContent",D=(0,o.forwardRef)(((e,t)=>{const n=A(P,e.__scopeDialog),{forceMount:i=n.forceMount,...a}=e,s=S(P,e.__scopeDialog);return(0,o.createElement)(f.C,{present:i||s.open},s.modal?(0,o.createElement)(R,(0,r.A)({},a,{ref:t})):(0,o.createElement)(F,(0,r.A)({},a,{ref:t})))})),R=(0,o.forwardRef)(((e,t)=>{const n=S(P,e.__scopeDialog),s=(0,o.useRef)(null),u=(0,a.s)(t,n.contentRef,s);return(0,o.useEffect)((()=>{const e=s.current;if(e)return(0,g.Eq)(e)}),[]),(0,o.createElement)(L,(0,r.A)({},e,{ref:u,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:(0,i.m)(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:(0,i.m)(e.onFocusOutside,(e=>e.preventDefault()))}))})),F=(0,o.forwardRef)(((e,t)=>{const n=S(P,e.__scopeDialog),i=(0,o.useRef)(!1),a=(0,o.useRef)(!1);return(0,o.createElement)(L,(0,r.A)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,o;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current||null===(o=n.triggerRef.current)||void 0===o||o.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{var r,o;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));const s=t.target;(null===(o=n.triggerRef.current)||void 0===o?void 0:o.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}}))})),L=(0,o.forwardRef)(((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:u,...l}=e,d=S(P,n),f=(0,o.useRef)(null),h=(0,a.s)(t,f);return(0,v.Oh)(),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:u},(0,o.createElement)(c.qW,(0,r.A)({role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":j(d.open)},l,{ref:h,onDismiss:()=>d.onOpenChange(!1)}))),!1)})),T="DialogTitle",H=(0,o.forwardRef)(((e,t)=>{const{__scopeDialog:n,...i}=e,a=S(T,n);return(0,o.createElement)(h.sG.h2,(0,r.A)({id:a.titleId},i,{ref:t}))})),_=(0,o.forwardRef)(((e,t)=>{const{__scopeDialog:n,...i}=e,a=S("DialogDescription",n);return(0,o.createElement)(h.sG.p,(0,r.A)({id:a.descriptionId},i,{ref:t}))})),$=(0,o.forwardRef)(((e,t)=>{const{__scopeDialog:n,...a}=e,s=S("DialogClose",n);return(0,o.createElement)(h.sG.button,(0,r.A)({type:"button"},a,{ref:t,onClick:(0,i.m)(e.onClick,(()=>s.onOpenChange(!1)))}))}));function j(e){return e?"open":"closed"}const[N,U]=(0,s.q)("DialogTitleWarning",{contentName:P,titleName:T,docsSlug:"dialog"}),z=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,c=(0,o.useRef)(null),p=(0,o.useRef)(null),[d=!1,f]=(0,l.i)({prop:r,defaultProp:i,onChange:a});return(0,o.createElement)(w,{scope:t,triggerRef:c,contentRef:p,contentId:(0,u.B)(),titleId:(0,u.B)(),descriptionId:(0,u.B)(),open:d,onOpenChange:f,onOpenToggle:(0,o.useCallback)((()=>f((e=>!e))),[f]),modal:s},n)},B=x,W=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=S(I,t);return(0,o.createElement)(E,{scope:t,forceMount:n},o.Children.map(r,(e=>(0,o.createElement)(f.C,{present:n||a.open},(0,o.createElement)(d.Z,{asChild:!0,container:i},e)))))},G=k,Y=D,q=H,X=_,Z=$}}]); |