harperdb 4.3.24 → 4.4.0-beta.1
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/README.md +12 -3
- package/application-template/config.yaml +2 -5
- package/bin/harperdb.js +103 -74
- package/bin/lite.js +121 -22
- package/config/yaml/defaultConfig.yaml +11 -43
- package/config/yaml/defaultNatsConfig.yaml +36 -0
- package/index.js +3 -12
- package/json/hdbConnectorOptions.json +14 -14
- package/json/interNodeConnectorOptions.json +15 -15
- package/json/systemSchema.json +260 -307
- package/launchServiceScripts/launchInstallNATSServer.js +4 -4
- package/launchServiceScripts/launchNatsIngestService.js +121 -22
- package/launchServiceScripts/launchNatsReplyService.js +121 -22
- package/launchServiceScripts/launchUpdateNodes4-0-0.js +121 -22
- package/logs/README.md +1 -1
- package/npm-shrinkwrap.json +7545 -7228
- package/package.json +130 -131
- package/resources/DatabaseTransaction.d.ts +1 -0
- package/resources/ErrorResource.d.ts +26 -0
- package/resources/RecordEncoder.d.ts +3 -1
- package/resources/Resource.d.ts +8 -1
- package/resources/ResourceInterface.d.ts +7 -3
- package/resources/Resources.d.ts +5 -4
- package/resources/Table.d.ts +50 -19
- package/resources/auditStore.d.ts +45 -1
- package/resources/databases.d.ts +54 -17
- package/resources/search.d.ts +6 -0
- package/resources/transactionBroadcast.d.ts +2 -1
- package/server/Server.d.ts +1 -1
- package/server/jobs/jobProcess.js +121 -22
- package/server/serverHelpers/Headers.d.ts +9 -1
- package/server/threads/threadServer.js +121 -22
- package/utility/scripts/restartHdb.js +121 -22
- package/application-template/routes/index.js +0 -14
- package/studio/build-local/asset-manifest.json +0 -53
- package/studio/build-local/index.html +0 -1
- package/studio/build-local/static/css/main.6c0f1b63.css +0 -13
- package/studio/build-local/static/js/110.ca4244a6.chunk.js +0 -2
- package/studio/build-local/static/js/110.ca4244a6.chunk.js.LICENSE.txt +0 -1
- package/studio/build-local/static/js/228.302d7db9.chunk.js +0 -1
- package/studio/build-local/static/js/287.21477cf9.chunk.js +0 -1
- package/studio/build-local/static/js/409.17daa4fe.chunk.js +0 -2
- package/studio/build-local/static/js/409.17daa4fe.chunk.js.LICENSE.txt +0 -8
- package/studio/build-local/static/js/424.ad87c8fd.chunk.js +0 -1
- package/studio/build-local/static/js/446.5237e847.chunk.js +0 -2
- package/studio/build-local/static/js/446.5237e847.chunk.js.LICENSE.txt +0 -13
- package/studio/build-local/static/js/662.92e32ffc.chunk.js +0 -1
- package/studio/build-local/static/js/718.74e9355d.chunk.js +0 -1
- package/studio/build-local/static/js/723.c58acced.chunk.js +0 -2
- package/studio/build-local/static/js/723.c58acced.chunk.js.LICENSE.txt +0 -5
- package/studio/build-local/static/js/731.8a941eb3.chunk.js +0 -1
- package/studio/build-local/static/js/807.510f66df.chunk.js +0 -2
- package/studio/build-local/static/js/807.510f66df.chunk.js.LICENSE.txt +0 -5
- package/studio/build-local/static/js/926.88d6f9ce.chunk.js +0 -1
- package/studio/build-local/static/js/browse-csvupload.453237f3.chunk.js +0 -1
- package/studio/build-local/static/js/browse-datatable.b9ef2d28.chunk.js +0 -1
- package/studio/build-local/static/js/browse-entitymanager.50827a5a.chunk.js +0 -1
- package/studio/build-local/static/js/browse-jsonviewer.a2534004.chunk.js +0 -1
- package/studio/build-local/static/js/custom-functions.dd7e182c.chunk.js +0 -1
- package/studio/build-local/static/js/instance-charts.34d15f02.chunk.js +0 -1
- package/studio/build-local/static/js/instance-cluster.5bce430c.chunk.js +0 -1
- package/studio/build-local/static/js/instance-config.70c17b53.chunk.js +0 -1
- package/studio/build-local/static/js/instance-query.4f6eec62.chunk.js +0 -1
- package/studio/build-local/static/js/instance-roles.507a4ed0.chunk.js +0 -1
- package/studio/build-local/static/js/instance-status.ce9d7f64.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users-datatable.190640fd.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users-edit.d2444479.chunk.js +0 -1
- package/studio/build-local/static/js/instance-users.eabfbbde.chunk.js +0 -1
- package/studio/build-local/static/js/instance.a163623f.chunk.js +0 -1
- package/studio/build-local/static/js/instances.6b88a87c.chunk.js +0 -1
- package/studio/build-local/static/js/main.7106edfd.js +0 -2
- package/studio/build-local/static/js/main.7106edfd.js.LICENSE.txt +0 -72
- package/studio/build-local/static/js/offline-app.7371216b.chunk.js +0 -1
- package/studio/build-local/static/js/online-app.db436eec.chunk.js +0 -1
- package/studio/build-local/static/js/organization-billing.b2f260f0.chunk.js +0 -1
- package/studio/build-local/static/js/organization-users.b6171b18.chunk.js +0 -1
- package/studio/build-local/static/js/organization.7800f16a.chunk.js +0 -1
- package/studio/build-local/static/js/organizations.8bb505f2.chunk.js +0 -1
- package/studio/build-local/static/js/profile.292bdd86.chunk.js +0 -1
- package/studio/build-local/static/js/resetPassword.8fdfba77.chunk.js +0 -1
- package/studio/build-local/static/js/roles-jsonviewer.c11f1816.chunk.js +0 -1
- package/studio/build-local/static/js/signIn.b11bdc50.chunk.js +0 -1
- package/studio/build-local/static/js/signUp.564d4e0b.chunk.js +0 -1
- package/studio/build-local/static/js/structure-reloader.b6de4091.chunk.js +0 -1
- package/studio/build-local/static/js/topnav.4fd41d60.chunk.js +0 -1
- package/studio/build-local/static/js/updatePassword.e23019c7.chunk.js +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 409.17daa4fe.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkharperdb_studio=self.webpackChunkharperdb_studio||[]).push([[409],{7861:(e,t,n)=>{var r=n(6214),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(y){}}}}return t}},1624:(e,t)=>{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 w(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 x(e){return w(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 x(e)||w(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===v},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(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=w},6214:(e,t,n)=>{e.exports=n(1624)},8212:(e,t,n)=>{n.d(t,{ZP:()=>Er});var r=n(4942);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function u(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)||s(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 l=n(3366);function c(e,t){if(null==e)return{};var n,r,o=(0,l.Z)(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 p=n(7313),d=n.t(p,2),f=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var h=n(7462);var v=n(9142);function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,v.Z)(r.key),r)}}var g=n(9611);function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var y=n(1002),O=n(7326);function w(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===(0,y.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,O.Z)(e)}(this,n)}}function x(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(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 C=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(r){0}}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}(),S=Math.abs,I=String.fromCharCode,E=Object.assign;function M(e){return e.trim()}function k(e,t,n){return e.replace(t,n)}function P(e,t){return e.indexOf(t)}function V(e,t){return 0|e.charCodeAt(t)}function R(e,t,n){return e.slice(t,n)}function D(e){return e.length}function F(e){return e.length}function L(e,t){return t.push(e),e}var T=1,A=1,j=0,H=0,N=0,Z="";function $(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:T,column:A,length:a,return:""}}function z(e,t){return E($("",null,null,"",null,null,0),e,{length:-e.length},t)}function U(){return N=H>0?V(Z,--H):0,A--,10===N&&(A=1,T--),N}function B(){return N=H<j?V(Z,H++):0,A++,10===N&&(A=1,T++),N}function _(){return V(Z,H)}function W(){return H}function G(e,t){return R(Z,e,t)}function Y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function q(e){return T=A=1,j=D(Z=e),H=0,[]}function X(e){return Z="",e}function K(e){return M(G(H-1,ee(91===e?e+2:40===e?e+1:e)))}function J(e){for(;(N=_())&&N<33;)B();return Y(e)>2||Y(N)>3?"":" "}function Q(e,t){for(;--t&&B()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return G(e,W()+(t<6&&32==_()&&32==B()))}function ee(e){for(;B();)switch(N){case e:return H;case 34:case 39:34!==e&&39!==e&&ee(N);break;case 40:41===e&&ee(e);break;case 92:B()}return H}function te(e,t){for(;B()&&e+N!==57&&(e+N!==84||47!==_()););return"/*"+G(t,H-1)+"*"+I(47===e?e:B())}function ne(e){for(;!Y(_());)B();return G(e,H)}var re="-ms-",oe="-moz-",ie="-webkit-",ae="comm",se="rule",ue="decl",le="@keyframes";function ce(e,t){for(var n="",r=F(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function pe(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ue:return e.return=e.return||e.value;case ae:return"";case le:return e.return=e.value+"{"+ce(e.children,r)+"}";case se:e.value=e.props.join(",")}return D(n=ce(e.children,r))?e.return=e.value+"{"+n+"}":""}function de(e){return X(fe("",null,null,null,[""],e=q(e),0,[0],e))}function fe(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,g=1,b=0,y="",O=o,w=i,x=r,C=y;m;)switch(h=b,b=B()){case 40:if(108!=h&&58==V(C,p-1)){-1!=P(C+=k(K(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:C+=K(b);break;case 9:case 10:case 13:case 32:C+=J(h);break;case 92:C+=Q(W()-1,7);continue;case 47:switch(_()){case 42:case 47:L(ve(te(B(),W()),t,n),u);break;default:C+="/"}break;case 123*v:s[l++]=D(C)*g;case 125*v:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+c:-1==g&&(C=k(C,/\f/g,"")),f>0&&D(C)-p&&L(f>32?me(C+";",r,n,p-1):me(k(C," ","")+";",r,n,p-2),u);break;case 59:C+=";";default:if(L(x=he(C,t,n,l,c,o,s,y,O=[],w=[],p),i),123===b)if(0===c)fe(C,t,x,x,O,i,p,s,w);else switch(99===d&&110===V(C,3)?100:d){case 100:case 108:case 109:case 115:fe(e,x,x,r&&L(he(e,x,x,0,0,o,s,y,o,O=[],p),w),o,w,p,s,r?O:w);break;default:fe(C,x,x,x,[""],w,0,s,w)}}l=c=f=0,v=g=1,y=C="",p=a;break;case 58:p=1+D(C),f=h;default:if(v<1)if(123==b)--v;else if(125==b&&0==v++&&125==U())continue;switch(C+=I(b),b*v){case 38:g=c>0?1:(C+="\f",-1);break;case 44:s[l++]=(D(C)-1)*g,g=1;break;case 64:45===_()&&(C+=K(B())),d=_(),c=p=D(y=C+=ne(W())),b++;break;case 45:45===h&&2==D(C)&&(v=0)}}return i}function he(e,t,n,r,o,i,a,s,u,l,c){for(var p=o-1,d=0===o?i:[""],f=F(d),h=0,v=0,m=0;h<r;++h)for(var g=0,b=R(e,p+1,p=S(v=a[h])),y=e;g<f;++g)(y=M(v>0?d[g]+" "+b:k(b,/&\f/g,d[g])))&&(u[m++]=y);return $(e,t,n,0===o?se:s,u,l,c)}function ve(e,t,n){return $(e,t,n,ae,I(N),R(e,2,-2),0)}function me(e,t,n,r){return $(e,t,n,ue,R(e,0,r),R(e,r+1,-1),r)}var ge=function(e,t,n){for(var r=0,o=0;r=o,o=_(),38===r&&12===o&&(t[n]=1),!Y(o);)B();return G(e,H)},be=function(e,t){return X(function(e,t){var n=-1,r=44;do{switch(Y(r)){case 0:38===r&&12===_()&&(t[n]=1),e[n]+=ge(H-1,t,n);break;case 2:e[n]+=K(r);break;case 4:if(44===r){e[++n]=58===_()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=I(r)}}while(r=B());return e}(q(e),t))},ye=new WeakMap,Oe=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)||ye.get(n))&&!r){ye.set(e,!0);for(var o=[],i=be(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]}}},we=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function xe(e,t){switch(function(e,t){return 45^V(e,0)?(((t<<2^V(e,0))<<2^V(e,1))<<2^V(e,2))<<2^V(e,3):0}(e,t)){case 5103:return ie+"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 ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ie+e+oe+e+re+e+e;case 6828:case 4268:return ie+e+re+e+e;case 6165:return ie+e+re+"flex-"+e+e;case 5187:return ie+e+k(e,/(\w+).+(:[^]+)/,ie+"box-$1$2"+re+"flex-$1$2")+e;case 5443:return ie+e+re+"flex-item-"+k(e,/flex-|-self/,"")+e;case 4675:return ie+e+re+"flex-line-pack"+k(e,/align-content|flex-|-self/,"")+e;case 5548:return ie+e+re+k(e,"shrink","negative")+e;case 5292:return ie+e+re+k(e,"basis","preferred-size")+e;case 6060:return ie+"box-"+k(e,"-grow","")+ie+e+re+k(e,"grow","positive")+e;case 4554:return ie+k(e,/([^-])(transform)/g,"$1"+ie+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,ie+"$1"),/(image-set)/,ie+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,ie+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,ie+"box-pack:$3"+re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ie+e+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,ie+"$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(D(e)-1-t>6)switch(V(e,t+1)){case 109:if(45!==V(e,t+4))break;case 102:return k(e,/(.+:)(.+)-([^]+)/,"$1"+ie+"$2-$3$1"+oe+(108==V(e,t+3)?"$3":"$2-$3"))+e;case 115:return~P(e,"stretch")?xe(k(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==V(e,t+1))break;case 6444:switch(V(e,D(e)-3-(~P(e,"!important")&&10))){case 107:return k(e,":",":"+ie)+e;case 101:return k(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ie+(45===V(e,14)?"inline-":"")+"box$3$1"+ie+"$2$3$1"+re+"$2box$3")+e}break;case 5936:switch(V(e,t+11)){case 114:return ie+e+re+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ie+e+re+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ie+e+re+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ie+e+re+e+e}return e}var Ce=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ue:e.return=xe(e.value,e.length);break;case le:return ce([z(e,{value:k(e.value,"@","@"+ie)})],r);case se:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ce([z(e,{props:[k(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ce([z(e,{props:[k(t,/:(plac\w+)/,":"+ie+"input-$1")]}),z(e,{props:[k(t,/:(plac\w+)/,":-moz-$1")]}),z(e,{props:[k(t,/:(plac\w+)/,re+"input-$1")]})],r)}return""}))}}],Se=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=e.stylisPlugins||Ce;var o,i,a={},s=[];o=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=[pe,(l=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],p=function(e){var t=F(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}([Oe,we].concat(r,c));i=function(e,t,n,r){u=n,ce(de(e?e+"{"+t.styles+"}":t.styles),p),r&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new C({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return d.sheet.hydrate(s),d};var Ie=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Ee={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 Me(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ke=/[A-Z]|^ms/g,Pe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ve=function(e){return 45===e.charCodeAt(1)},Re=function(e){return null!=e&&"boolean"!==typeof e},De=Me((function(e){return Ve(e)?e:e.replace(ke,"-$&").toLowerCase()})),Fe=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(Pe,(function(e,t,n){return Te={name:t,styles:n,next:Te},t}))}return 1===Ee[e]||Ve(e)||"number"!==typeof t||0===t?t:t+"px"};function Le(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 Te={name:n.name,styles:n.styles,next:Te},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Te={name:r.name,styles:r.styles,next:Te},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+=Le(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]+"}":Re(a)&&(r+=De(i)+":"+Fe(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Le(e,t,a);switch(i){case"animation":case"animationName":r+=De(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Re(a[u])&&(r+=De(i)+":"+Fe(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Te,i=n(e);return Te=o,Le(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Te,Ae=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var je=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="";Te=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Le(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Le(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:Te}},He=!!d.useInsertionEffect&&d.useInsertionEffect,Ne=He||function(e){return e()},Ze=(He||p.useLayoutEffect,{}.hasOwnProperty),$e=p.createContext("undefined"!==typeof HTMLElement?Se({key:"css"}):null);$e.Provider;var ze=function(e){return(0,p.forwardRef)((function(t,n){var r=(0,p.useContext)($e);return e(t,r,n)}))};var Ue=p.createContext({});var Be="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_e=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ie(t,n,r),Ne((function(){return function(e,t,n){Ie(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},We=ze((function(e,t,n){var r=e.css;"string"===typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Be],i=[r],a="";"string"===typeof e.className?a=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,i,e.className):null!=e.className&&(a=e.className+" ");var s=je(i,void 0,p.useContext(Ue));a+=t.key+"-"+s.name;var u={};for(var l in e)Ze.call(e,l)&&"css"!==l&&l!==Be&&(u[l]=e[l]);return u.ref=n,u.className=a,p.createElement(p.Fragment,null,p.createElement(_e,{cache:t,serialized:s,isStringTag:"string"===typeof o}),p.createElement(o,u))}));var Ge=We,Ye=(n(7861),function(e,t){var n=arguments;if(null==t||!Ze.call(t,"css"))return p.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ge,o[1]=function(e,t){var n={};for(var r in t)Ze.call(t,r)&&(n[r]=t[r]);return n[Be]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return p.createElement.apply(null,o)});function qe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return je(t)}var Xe=n(1168);const Ke=Math.min,Je=Math.max,Qe=Math.round,et=Math.floor,tt=e=>({x:e,y:e});function nt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function rt(e){return at(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function it(e){var t;return null==(t=(at(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function at(e){return e instanceof Node||e instanceof ot(e).Node}function st(e){return e instanceof Element||e instanceof ot(e).Element}function ut(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function lt(e){return"undefined"!==typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot)}function ct(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ft(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function pt(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function dt(e){return["html","body","#document"].includes(rt(e))}function ft(e){return ot(e).getComputedStyle(e)}function ht(e){if("html"===rt(e))return e;const t=e.assignedSlot||e.parentNode||lt(e)&&e.host||it(e);return lt(t)?t.host:t}function vt(e){const t=ht(e);return dt(t)?e.ownerDocument?e.ownerDocument.body:e.body:ut(t)&&ct(t)?t:vt(t)}function mt(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=vt(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=ot(o);return i?t.concat(a,a.visualViewport||[],ct(o)?o:[],a.frameElement&&n?mt(a.frameElement):[]):t.concat(o,mt(o,[],n))}function gt(e){const t=ft(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ut(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Qe(n)!==i||Qe(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function bt(e){return st(e)?e:e.contextElement}function yt(e){const t=bt(e);if(!ut(t))return tt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=gt(t);let a=(i?Qe(n.width):n.width)/r,s=(i?Qe(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ot=tt(0);function wt(e){const t=ot(e);return pt()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ot}function xt(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=bt(e);let a=tt(1);t&&(r?st(r)&&(a=yt(r)):a=yt(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==ot(e))&&t}(i,n,r)?wt(i):tt(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,c=o.width/a.x,p=o.height/a.y;if(i){const e=ot(i),t=r&&st(r)?ot(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=yt(n),t=n.getBoundingClientRect(),r=ft(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,l*=e.y,c*=e.x,p*=e.y,u+=o,l+=i,n=ot(n).frameElement}}return nt({width:c,height:p,x:u,y:l})}function Ct(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:u=!1}=r,l=bt(e),c=o||i?[...l?mt(l):[],...mt(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const p=l&&s?function(e,t){let n,r=null;const o=it(e);function i(){clearTimeout(n),r&&r.disconnect(),r=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),i();const{left:l,top:c,width:p,height:d}=e.getBoundingClientRect();if(s||t(),!p||!d)return;const f={rootMargin:-et(c)+"px "+-et(o.clientWidth-(l+p))+"px "+-et(o.clientHeight-(c+d))+"px "+-et(l)+"px",threshold:Je(0,Ke(1,u))||1};let h=!0;function v(e){const t=e[0].intersectionRatio;if(t!==u){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}h=!1}try{r=new IntersectionObserver(v,{...f,root:o.ownerDocument})}catch(m){r=new IntersectionObserver(v,f)}r.observe(e)}(!0),i}(l,n):null;let d,f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{h&&h.observe(t)}))),n()})),l&&!u&&h.observe(l),h.observe(t));let v=u?xt(e):null;return u&&function t(){const r=xt(e);!v||r.x===v.x&&r.y===v.y&&r.width===v.width&&r.height===v.height||n();v=r,d=requestAnimationFrame(t)}(),n(),()=>{c.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(d)}}const St=p.useLayoutEffect;var It=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Et=function(){};function Mt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function kt(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(Mt(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Pt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,y.Z)(e)&&null!==e?[e]:[];var t},Vt=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,i({},c(e,It))},Rt=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&&void 0!==n?n:{},i(t,e),a)}};function Dt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ft(e){return Dt(e)?window.pageYOffset:e.scrollTop}function Lt(e,t){Dt(e)?window.scrollTo(0,t):e.scrollTop=t}function Tt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Et,o=Ft(e),i=t-o,a=0;!function t(){var s,u=i*((s=(s=a+=10)/n-1)*s*s+1)+o;Lt(e,u),a<n?window.requestAnimationFrame(t):r(e)}()}function At(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Lt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Lt(e,Math.max(t.offsetTop-o,0))}function jt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Ht=!1,Nt={get passive(){return Ht=!0}},Zt="undefined"!==typeof window?window:{};Zt.addEventListener&&Zt.removeEventListener&&(Zt.addEventListener("p",Et,Nt),Zt.removeEventListener("p",Et,!1));var $t=Ht;function zt(e){return null!=e}function Ut(e,t,n){return e?t:n}var Bt=["children","innerProps"],_t=["children","innerProps"];function Wt(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?window.innerHeight:Dt(c=u)?window.innerHeight:c.clientHeight,b=Ft(u),y=parseInt(getComputedStyle(n).marginBottom,10),O=parseInt(getComputedStyle(n).marginTop,10),w=m-O,x=g-v,C=w+b,S=p-b-v,I=f-g+b+y,E=b+v-O,M=160;switch(o){case"auto":case"bottom":if(x>=h)return{placement:"bottom",maxHeight:t};if(S>=h&&!a)return i&&Tt(u,I,M),{placement:"bottom",maxHeight:t};if(!a&&S>=r||a&&x>=r)return i&&Tt(u,I,M),{placement:"bottom",maxHeight:a?x-y:S-y};if("auto"===o||a){var k=t,P=a?w:C;return P>=r&&(k=Math.min(P-y-s,t)),{placement:"top",maxHeight:k}}if("bottom"===o)return i&&Lt(u,I),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(C>=h&&!a)return i&&Tt(u,E,M),{placement:"top",maxHeight:t};if(!a&&C>=r||a&&w>=r){var V=t;return(!a&&C>=r||a&&w>=r)&&(V=a?w-O:C-O),i&&Tt(u,E,M),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}var Gt,Yt=function(e){return"auto"===e?"bottom":e},qt=(0,p.createContext)(null),Xt=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=((0,p.useContext)(qt)||{}).setPortalPlacement,d=(0,p.useRef)(null),f=u((0,p.useState)(r),2),h=f[0],v=f[1],m=u((0,p.useState)(null),2),g=m[0],b=m[1],y=l.spacing.controlHeight;return St((function(){var e=d.current;if(e){var t="fixed"===a,i=Wt({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:y});v(i.maxHeight),b(i.placement),null===c||void 0===c||c(i.placement)}}),[r,o,a,s,n,c,y]),t({ref:d,placerProps:i(i({},e),{},{placement:g||Yt(o),maxHeight:h})})},Kt=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Ye("div",(0,h.Z)({},Rt(e,"menu",{menu:!0}),{ref:n},r),t)},Jt=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return i({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Qt=Jt,en=Jt,tn=["size"],nn=["innerProps","isRtl","size"];var rn,on,an={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},sn=function(e){var t=e.size,n=c(e,tn);return Ye("svg",(0,h.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:an},n))},un=function(e){return Ye(sn,(0,h.Z)({size:20},e),Ye("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"}))},ln=function(e){return Ye(sn,(0,h.Z)({size:20},e),Ye("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"}))},cn=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return i({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*o,":hover":{color:n?a.neutral80:a.neutral40}})},pn=cn,dn=cn,fn=function(){var e=qe.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_"}}}(Gt||(rn=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],on||(on=rn.slice(0)),Gt=Object.freeze(Object.defineProperties(rn,{raw:{value:Object.freeze(on)}})))),hn=function(e){var t=e.delay,n=e.offset;return Ye("span",{css:qe({animation:"".concat(fn," 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"},"","")})},vn=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Ye("div",(0,h.Z)({ref:o},Rt(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},mn=["data"],gn=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,u=e.label,l=e.theme,c=e.selectProps;return Ye("div",(0,h.Z)({},Rt(e,"group",{group:!0}),s),Ye(i,(0,h.Z)({},a,{selectProps:c,theme:l,getStyles:r,getClassNames:o,cx:n}),u),Ye("div",null,t))},bn=["innerRef","isDisabled","isHidden","inputClassName"],yn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},On={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":i({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},yn)},wn=function(e){return i({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},yn)},xn=function(e){var t=e.children,n=e.innerProps;return Ye("div",n,t)};var Cn=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,a=e.isDisabled,s=e.removeProps,u=e.selectProps,l=n.Container,c=n.Label,p=n.Remove;return Ye(l,{data:r,innerProps:i(i({},Rt(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),o),selectProps:u},Ye(c,{data:r,innerProps:i({},Rt(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),Ye(p,{data:r,innerProps:i(i({},Rt(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:u}))},Sn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Ye("div",(0,h.Z)({},Rt(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Ye(un,null))},Control:vn,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Ye("div",(0,h.Z)({},Rt(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Ye(ln,null))},DownChevron:ln,CrossIcon:un,Group:gn,GroupHeading:function(e){var t=Vt(e);t.data;var n=c(t,mn);return Ye("div",(0,h.Z)({},Rt(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Ye("div",(0,h.Z)({},Rt(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Ye("span",(0,h.Z)({},t,Rt(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=Vt(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,u=c(r,bn);return Ye("div",(0,h.Z)({},Rt(e,"input",{"input-container":!0}),{"data-value":n||""}),Ye("input",(0,h.Z)({className:t({input:!0},s),ref:o,style:wn(a),disabled:i},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,a=c(e,nn);return Ye("div",(0,h.Z)({},Rt(i(i({},a),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Ye(hn,{delay:0,offset:n}),Ye(hn,{delay:160,offset:!0}),Ye(hn,{delay:320,offset:!n}))},Menu:Kt,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Ye("div",(0,h.Z)({},Rt(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,a=e.menuPlacement,s=e.menuPosition,l=(0,p.useRef)(null),c=(0,p.useRef)(null),d=u((0,p.useState)(Yt(a)),2),f=d[0],v=d[1],m=(0,p.useMemo)((function(){return{setPortalPlacement:v}}),[]),g=u((0,p.useState)(null),2),b=g[0],y=g[1],O=(0,p.useCallback)((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"===s?0:window.pageYOffset,n=e[f]+t;n===(null===b||void 0===b?void 0:b.offset)&&e.left===(null===b||void 0===b?void 0:b.rect.left)&&e.width===(null===b||void 0===b?void 0:b.rect.width)||y({offset:n,rect:e})}}),[r,s,f,null===b||void 0===b?void 0:b.offset,null===b||void 0===b?void 0:b.rect.left,null===b||void 0===b?void 0:b.rect.width]);St((function(){O()}),[O]);var w=(0,p.useCallback)((function(){"function"===typeof c.current&&(c.current(),c.current=null),r&&l.current&&(c.current=Ct(r,l.current,O,{elementResize:"ResizeObserver"in window}))}),[r,O]);St((function(){w()}),[w]);var x=(0,p.useCallback)((function(e){l.current=e,w()}),[w]);if(!t&&"fixed"!==s||!b)return null;var C=Ye("div",(0,h.Z)({ref:x},Rt(i(i({},e),{},{offset:b.offset,position:s,rect:b.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Ye(qt.Provider,{value:m},t?(0,Xe.createPortal)(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=c(e,_t);return Ye("div",(0,h.Z)({},Rt(i(i({},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=c(e,Bt);return Ye("div",(0,h.Z)({},Rt(i(i({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Cn,MultiValueContainer:xn,MultiValueLabel:xn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Ye("div",(0,h.Z)({role:"button"},n),t||Ye(un,{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 Ye("div",(0,h.Z)({},Rt(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 Ye("div",(0,h.Z)({},Rt(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Ye("div",(0,h.Z)({},Rt(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Ye("div",(0,h.Z)({},Rt(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 Ye("div",(0,h.Z)({},Rt(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},In=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function En(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||In(r)&&In(o)))return!1;var r,o;return!0}for(var Mn={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"},kn=function(e){return Ye("span",(0,h.Z)({css:Mn},e))},Pn={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:"",".")}},Vn=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,a=e.isFocused,s=e.selectValue,u=e.selectProps,l=e.id,c=e.isAppleDevice,d=u.ariaLiveMessages,f=u.getOptionLabel,h=u.inputValue,v=u.isMulti,m=u.isOptionDisabled,g=u.isSearchable,b=u.menuIsOpen,y=u.options,O=u.screenReaderStatus,w=u.tabSelectsValue,x=u.isLoading,C=u["aria-label"],S=u["aria-live"],I=(0,p.useMemo)((function(){return i(i({},Pn),d||{})}),[d]),E=(0,p.useMemo)((function(){var e,n="";if(t&&I.onChange){var r=t.option,o=t.options,a=t.removedValue,u=t.removedValues,l=t.value,c=a||r||(e=l,Array.isArray(e)?null:e),p=c?f(c):"",d=o||u||void 0,h=d?d.map(f):[],v=i({isDisabled:c&&m(c,s),label:p,labels:h},t);n=I.onChange(v)}return n}),[t,I,m,s,f]),M=(0,p.useMemo)((function(){var e="",t=n||r,i=!!(n&&s&&s.includes(n));if(t&&I.onFocus){var a={focused:t,label:f(t),isDisabled:m(t,s),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:s,isAppleDevice:c};e=I.onFocus(a)}return e}),[n,r,f,m,I,o,s,c]),k=(0,p.useMemo)((function(){var e="";if(b&&y.length&&!x&&I.onFilter){var t=O({count:o.length});e=I.onFilter({inputValue:h,resultsMessage:t})}return e}),[o,h,b,I,y,O,x]),P="initial-input-focus"===(null===t||void 0===t?void 0:t.action),V=(0,p.useMemo)((function(){var e="";if(I.guidance){var t=r?"value":b?"menu":"input";e=I.guidance({"aria-label":C,context:t,isDisabled:n&&m(n,s),isMulti:v,isSearchable:g,tabSelectsValue:w,isInitialFocus:P})}return e}),[C,n,r,v,m,g,b,I,s,w,P]),R=Ye(p.Fragment,null,Ye("span",{id:"aria-selection"},E),Ye("span",{id:"aria-focused"},M),Ye("span",{id:"aria-results"},k),Ye("span",{id:"aria-guidance"},V));return Ye(p.Fragment,null,Ye(kn,{id:l},P&&R),Ye(kn,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!P&&R))},Rn=[{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],Dn=new RegExp("["+Rn.map((function(e){return e.letters})).join("")+"]","g"),Fn={},Ln=0;Ln<Rn.length;Ln++)for(var Tn=Rn[Ln],An=0;An<Tn.letters.length;An++)Fn[Tn.letters[An]]=Tn.base;var jn=function(e){return e.replace(Dn,(function(e){return Fn[e]}))},Hn=function(e,t){void 0===t&&(t=En);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}(jn),Nn=function(e){return e.replace(/^\s+|\s+$/g,"")},Zn=function(e){return"".concat(e.label," ").concat(e.value)},$n=["innerRef"];function zn(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=u(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=u(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(c(e,$n),"onExited","in","enter","exit","appear");return Ye("input",(0,h.Z)({ref:t},n,{css:qe({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 Un=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};var Bn=["boxSizing","height","overflow","paddingRight","position"],_n={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Wn(e){e.preventDefault()}function Gn(e){e.stopPropagation()}function Yn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function qn(){return"ontouchstart"in window||navigator.maxTouchPoints}var Xn=!("undefined"===typeof window||!window.document||!window.document.createElement),Kn=0,Jn={capture:!1,passive:!1};var Qn=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},er={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function tr(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=(0,p.useRef)(!1),s=(0,p.useRef)(!1),u=(0,p.useRef)(0),l=(0,p.useRef)(null),c=(0,p.useCallback)((function(e,t){if(null!==l.current){var u=l.current,c=u.scrollTop,p=u.scrollHeight,d=u.clientHeight,f=l.current,h=t>0,v=p-d-c,m=!1;v>t&&a.current&&(r&&r(e),a.current=!1),h&&s.current&&(i&&i(e),s.current=!1),h&&t>v?(n&&!a.current&&n(e),f.scrollTop=p,m=!0,a.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),f.scrollTop=0,m=!0,s.current=!0),m&&Un(e)}}),[n,r,o,i]),d=(0,p.useCallback)((function(e){c(e,e.deltaY)}),[c]),f=(0,p.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),h=(0,p.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;c(e,t)}),[c]),v=(0,p.useCallback)((function(e){if(e){var t=!!$t&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",h,t)}}),[h,f,d]),m=(0,p.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",h,!1))}),[h,f,d]);return(0,p.useEffect)((function(){if(t){var e=l.current;return v(e),function(){m(e)}}}),[t,v,m]),function(e){l.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=(0,p.useRef)({}),i=(0,p.useRef)(null),a=(0,p.useCallback)((function(e){if(Xn){var t=document.body,n=t&&t.style;if(r&&Bn.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Kn<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(_n).forEach((function(e){var t=_n[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&qn()&&(t.addEventListener("touchmove",Wn,Jn),e&&(e.addEventListener("touchstart",Yn,Jn),e.addEventListener("touchmove",Gn,Jn))),Kn+=1}}),[r]),s=(0,p.useCallback)((function(e){if(Xn){var t=document.body,n=t&&t.style;Kn=Math.max(Kn-1,0),r&&Kn<1&&Bn.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&qn()&&(t.removeEventListener("touchmove",Wn,Jn),e&&(e.removeEventListener("touchstart",Yn,Jn),e.removeEventListener("touchmove",Gn,Jn)))}}),[r]);return(0,p.useEffect)((function(){if(t){var e=i.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){i.current=e}}({isEnabled:n});return Ye(p.Fragment,null,n&&Ye("div",{onClick:Qn,css:er}),t((function(e){o(e),i(e)})))}var nr={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},rr=function(e){var t=e.name,n=e.onFocus;return Ye("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:nr,value:"",onChange:function(){}})};function or(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 ir(){return or(/^Mac/i)}function ar(){return or(/^iPhone/i)||or(/^iPad/i)||ir()&&navigator.maxTouchPoints>1}var sr={clearIndicator:dn,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,a=o.colors,s=o.borderRadius;return i({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?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},dropdownIndicator:pn,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 i({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,a=r.colors;return i({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,a=o.spacing,s=o.colors;return i(i({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},On),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,a=o.colors,s=o.spacing.baseUnit;return i({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*s})},loadingMessage:en,menu:function(e,t){var n,o=e.placement,a=e.theme,s=a.borderRadius,u=a.spacing,l=a.colors;return i((n={label:"menu"},(0,r.Z)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),(0,r.Z)(n,"position","absolute"),(0,r.Z)(n,"width","100%"),(0,r.Z)(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:s,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 i({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,a=n.colors;return i({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,a=e.cropWithEllipsis;return i({overflow:"hidden",textOverflow:a||void 0===a?"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,a=n.colors,s=e.isFocused;return i({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},noOptionsMessage:Qt,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.theme,s=a.spacing,u=a.colors;return i({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*s.baseUnit,"px ").concat(3*s.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 i({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,a=r.colors;return i({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,a=e.selectProps.controlShouldRenderValue;return i({alignItems:"center",display:r&&o&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}};var ur,lr={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}},cr={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:jt(),captureMenuScroll:!jt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=i({ignoreCase:!0,ignoreAccents:!0,stringify:Zn,trim:!0,matchFrom:"any"},ur),r=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,s=n.trim,u=n.matchFrom,l=s?Nn(t):t,c=s?Nn(a(e)):a(e);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),o&&(l=Hn(l),c=jn(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 pr(e,t,n,r){return{type:"option",data:t,isDisabled:yr(e,t,n),isSelected:Or(e,t,n),label:gr(e,t),value:br(e,t),index:r}}function dr(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return pr(e,n,t,r)})).filter((function(t){return vr(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=pr(e,n,t,r);return vr(e,i)?i:void 0})).filter(zt)}function fr(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,x(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function hr(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,x(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 vr(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!xr(e)||!i)&&wr(e,{label:a,value:s,data:o},r)}var mr=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},gr=function(e,t){return e.getOptionLabel(t)},br=function(e,t){return e.getOptionValue(t)};function yr(e,t,n){return"function"===typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Or(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"===typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=br(e,t);return n.some((function(t){return br(e,t)===r}))}function wr(e,t,n){return!e.filterOption||e.filterOption(t,n)}var xr=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Cr=1,Sr=function(e){!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&&(0,g.Z)(e,t)}(a,e);var t,n,r,o=w(a);function a(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=o.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=ir()||ar(),t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,s=o&&t.isOptionSelected(e,a),u=t.isOptionDisabled(e,a);if(s){var l=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(x(a),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=Ut(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Ut(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=Ut(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return mr(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return hr(dr(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return kt.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return gr(t.props,e)},t.getOptionValue=function(e){return br(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=sr[e](n,r);o.boxSizing="border-box";var i=t.props.styles[e];return i?i(o,n):o},t.getClassNames=function(e,n){var r,o;return null===(r=(o=t.props.classNames)[e])||void 0===r?void 0:r.call(o,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,i(i({},Sn),e.components);var e},t.buildCategorizedOptions=function(){return dr(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return fr(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:i({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!t.props.isDisabled){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"===typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Dt(e.target)&&t.props.onMenuClose():"function"===typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return xr(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,u=n.isDisabled,l=n.menuIsOpen,c=n.onKeyDown,p=n.tabSelectsValue,d=n.openMenuOnFocus,f=t.state,h=f.focusedOption,v=f.focusedValue,m=f.selectValue;if(!u&&("function"!==typeof c||(c(e),!e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(v)t.removeValue(v);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!l||!p||!h||d&&t.isOptionSelected(h,m))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++Cr),t.state.selectValue=Pt(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),s=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[s],t.state.focusedOptionId=mr(n,r[s])}return t}return t=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&&At(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&&(At(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(lr):i(i({},lr),this.props.theme):lr}},{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 yr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Or(this.props,e,t)}},{key:"filterOption",value:function(e,t){return wr(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,r=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,u=e.menuIsOpen,l=e.required,c=this.getComponents().Input,d=this.state,f=d.inputIsHidden,v=d.ariaSelection,m=this.commonProps,g=r||this.getElementId("input"),b=i(i(i({"aria-autocomplete":"list","aria-expanded":u,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":l,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},u&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null===v||void 0===v?void 0:v.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?p.createElement(c,(0,h.Z)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},b)):p.createElement(zn,(0,h.Z)({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Et,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,c=l.controlShouldRenderValue,d=l.isDisabled,f=l.isMulti,v=l.inputValue,m=l.placeholder,g=this.state,b=g.selectValue,y=g.focusedValue,O=g.isFocused;if(!this.hasValue()||!c)return v?null:p.createElement(s,(0,h.Z)({},u,{key:"placeholder",isDisabled:d,isFocused:O,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return b.map((function(t,a){var s=t===y,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return p.createElement(n,(0,h.Z)({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:d,key:l,index:a,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 w=b[0];return p.createElement(a,(0,h.Z)({},u,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(e,(0,h.Z)({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?p.createElement(e,(0,h.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return p.createElement(n,(0,h.Z)({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(e,(0,h.Z)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,u=t.NoOptionsMessage,l=t.Option,c=this.commonProps,d=this.state.focusedOption,f=this.props,v=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,b=f.loadingMessage,y=f.minMenuHeight,O=f.maxMenuHeight,w=f.menuIsOpen,x=f.menuPlacement,C=f.menuPosition,S=f.menuPortalTarget,I=f.menuShouldBlockScroll,E=f.menuShouldScrollIntoView,M=f.noOptionsMessage,k=f.onMenuScrollToTop,P=f.onMenuScrollToBottom;if(!w)return null;var V,R=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,f=d===o,v=i?void 0:function(){return e.onOptionHover(o)},m=i?void 0:function(){return e.selectOption(o)},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:a};return p.createElement(l,(0,h.Z)({},c,{innerProps:b,data:o,isDisabled:i,isSelected:a,key:g,label:s,type:r,value:u,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return p.createElement(n,(0,h.Z)({},c,{key:s,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return R(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return R(t,"".concat(t.index))}));else if(g){var D=b({inputValue:m});if(null===D)return null;V=p.createElement(s,c,D)}else{var F=M({inputValue:m});if(null===F)return null;V=p.createElement(u,c,F)}var L={minMenuHeight:y,maxMenuHeight:O,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:E},T=p.createElement(Xt,(0,h.Z)({},c,L),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return p.createElement(o,(0,h.Z)({},c,L,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:a}),p.createElement(tr,{captureEnabled:v,onTopArrive:k,onBottomArrive:P,lockEnabled:I},(function(t){return p.createElement(i,(0,h.Z)({},c,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":c.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:s,focusedOption:d}),V)})))}));return S||"fixed"===C?p.createElement(a,(0,h.Z)({},c,{appendTo:S,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),T):T}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return p.createElement(rr,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return p.createElement("input",{name:i,type:"hidden",value:u})}var l=s.length>0?s.map((function(t,n){return p.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):p.createElement("input",{name:i,type:"hidden",value:""});return p.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return p.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return p.createElement(Vn,(0,h.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,s=i.id,u=i.isDisabled,l=i.menuIsOpen,c=this.state.isFocused,d=this.commonProps=this.getCommonProps();return p.createElement(r,(0,h.Z)({},d,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:c}),this.renderLiveRegion(),p.createElement(t,(0,h.Z)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:c,menuIsOpen:l}),p.createElement(o,(0,h.Z)({},d,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),p.createElement(n,(0,h.Z)({},d,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,s=t.isFocused,u=t.prevWasFocused,l=t.instancePrefix,c=e.options,p=e.value,d=e.menuIsOpen,f=e.inputValue,h=e.isMulti,v=Pt(p),m={};if(n&&(p!==n.value||c!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var g=d?function(e,t){return fr(dr(e,t))}(e,v):[],b=d?hr(dr(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:mr(b,O),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var w=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=a,C=s&&u;return s&&!C&&(x={value:Ut(h,v,v[0]||null),options:v,action:"initial-input-focus"},C=!u),"initial-input-focus"===(null===a||void 0===a?void 0:a.action)&&(x=null),i(i(i({},m),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}],n&&m(t.prototype,n),r&&m(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(p.Component);Sr.defaultProps=cr;var Ir=(0,p.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,d=e.menuIsOpen,h=e.onChange,v=e.onInputChange,m=e.onMenuClose,g=e.onMenuOpen,b=e.value,y=c(e,f),O=u((0,p.useState)(void 0!==l?l:n),2),w=O[0],x=O[1],C=u((0,p.useState)(void 0!==d?d:o),2),S=C[0],I=C[1],E=u((0,p.useState)(void 0!==b?b:s),2),M=E[0],k=E[1],P=(0,p.useCallback)((function(e,t){"function"===typeof h&&h(e,t),k(e)}),[h]),V=(0,p.useCallback)((function(e,t){var n;"function"===typeof v&&(n=v(e,t)),x(void 0!==n?n:e)}),[v]),R=(0,p.useCallback)((function(){"function"===typeof g&&g(),I(!0)}),[g]),D=(0,p.useCallback)((function(){"function"===typeof m&&m(),I(!1)}),[m]),F=void 0!==l?l:w,L=void 0!==d?d:S,T=void 0!==b?b:M;return i(i({},y),{},{inputValue:F,menuIsOpen:L,onChange:P,onInputChange:V,onMenuClose:D,onMenuOpen:R,value:T})}(e);return p.createElement(Sr,(0,h.Z)({ref:t},n))})),Er=Ir},2742:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(7313),o=n(5192),i=n.n(o),a=n(6123),s=n.n(a),u=n(986),l=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(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 d={card:i().bool,className:i().string,cssModule:i().object,fill:i().bool,horizontal:i().oneOf(["center","end"]),justified:i().bool,navbar:i().bool,pills:i().bool,tabs:i().bool,tag:u.iC,vertical:i().oneOfType([i().bool,i().string])};function f(e){var t=e.className,n=e.cssModule,o=e.tabs,i=e.pills,a=e.vertical,d=void 0!==a&&a,f=e.horizontal,h=e.justified,v=e.fill,m=e.navbar,g=e.card,b=e.tag,y=void 0===b?"ul":b,O=p(e,l),w=(0,u.mx)(s()(t,m?"navbar-nav":"nav",!!f&&"justify-content-".concat(f),function(e){return!1!==e&&(!0===e||"xs"===e?"flex-column":"flex-".concat(e,"-column"))}(d),{"nav-tabs":o,"card-header-tabs":g&&o,"nav-pills":i,"card-header-pills":g&&i,"nav-justified":h,"nav-fill":v}),n);return r.createElement(y,c({},O,{className:w}))}f.propTypes=d;const h=f},1613:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(7313),o=n(5192),i=n.n(o),a=n(6123),s=n.n(a),u=n(986),l=["className","cssModule","active","tag"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(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 d={active:i().bool,className:i().string,cssModule:i().object,tag:u.iC};function f(e){var t=e.className,n=e.cssModule,o=e.active,i=e.tag,a=void 0===i?"li":i,d=p(e,l),f=(0,u.mx)(s()(t,"nav-item",!!o&&"active"),n);return r.createElement(a,c({},d,{className:f}))}f.propTypes=d;const h=f},5708:(e,t,n)=>{n.d(t,{Z:()=>v});var r=n(7313),o=n(5192),i=n.n(o),a=n(6123),s=n.n(a),u=n(986),l=["expand","className","cssModule","light","dark","fixed","sticky","color","container","tag","children"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(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 f={children:i().node,className:i().string,color:i().string,container:i().oneOfType([i().bool,i().string]),cssModule:i().object,dark:i().bool,expand:i().oneOfType([i().bool,i().string]),fixed:i().string,light:i().bool,role:i().string,sticky:i().string,tag:u.iC};function h(e){var t,n=e.expand,o=void 0!==n&&n,i=e.className,a=e.cssModule,f=e.light,h=e.dark,v=e.fixed,m=e.sticky,g=e.color,b=e.container,y=void 0===b?"fluid":b,O=e.tag,w=void 0===O?"nav":O,x=e.children,C=d(e,l),S=(0,u.mx)(s()(i,"navbar",function(e){return!1!==e&&(!0===e||"xs"===e?"navbar-expand":"navbar-expand-".concat(e))}(o),(p(t={"navbar-light":f,"navbar-dark":h},"bg-".concat(g),g),p(t,"fixed-".concat(v),v),p(t,"sticky-".concat(m),m),t)),a),I=y&&!0===y?"container":"container-".concat(y);return r.createElement(w,c({},C,{className:S}),y?r.createElement("div",{className:I},x):x)}h.propTypes=f;const v=h},4942:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(9142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},9142:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(1002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkharperdb_studio=self.webpackChunkharperdb_studio||[]).push([[424],{9424:(e,t,r)=>{function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.apply(r,[].concat(o,n))}}}function d(e){return{}.toString.call(e).includes("Object")}function g(e){return"function"===typeof e}r.d(t,{ZP:()=>oe,_m:()=>U});var p=f((function(e,t){throw new Error(e[t]||e.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),h={changes:function(e,t){return d(t)||p("changeType"),Object.keys(t).some((function(t){return r=e,n=t,!Object.prototype.hasOwnProperty.call(r,n);var r,n}))&&p("changeField"),t},selector:function(e){g(e)||p("selectorType")},handler:function(e){g(e)||d(e)||p("handlerType"),d(e)&&Object.values(e).some((function(e){return!g(e)}))&&p("handlersType")},initial:function(e){var t;e||p("initialIsRequired"),d(e)||p("initialType"),t=e,Object.keys(t).length||p("initialContent")}};function y(e,t){return g(t)?t(e.current):t}function m(e,t){return e.current=s(s({},e.current),t),t}function v(e,t,r){return g(t)?t(e.current):Object.keys(r).forEach((function(r){var n;return null===(n=t[r])||void 0===n?void 0:n.call(t,e.current[r])})),r}const b={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h.initial(e),h.handler(t);var r={current:e},n=f(v)(r,t),o=f(m)(r),i=f(h.changes)(e),c=f(y)(r);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return h.selector(e),e(r.current)},function(e){!function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}}(n,o,i,c)(e)}]}};const w={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};const O=function(e){return{}.toString.call(e).includes("Object")};var j={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},M=function(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.apply(r,[].concat(o,n))}}}((function(e,t){throw new Error(e[t]||e.default)}))(j),E={config:function(e){return e||M("configIsRequired"),O(e)||M("configType"),e.urls?(console.warn(j.deprecation),{paths:{vs:e.urls.monacoBase}}):e}};const P=E;const R=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}};const k=function e(t,r){return Object.keys(r).forEach((function(n){r[n]instanceof Object&&t[n]&&Object.assign(r[n],e(t[n],r[n]))})),i(i({},t),r)};var S={type:"cancelation",msg:"operation is manually canceled"};const C=function(e){var t=!1,r=new Promise((function(r,n){e.then((function(e){return t?n(S):r(e)})),e.catch(n)}));return r.cancel=function(){return t=!0},r};var T,x,I=b.create({config:w,isInitialized:!1,resolve:null,reject:null,monaco:null}),A=(x=2,function(e){if(Array.isArray(e))return e}(T=I)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,u=e[Symbol.iterator]();!(n=(c=u.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(a){o=!0,i=a}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}}(T,x)||function(e,t){if(e){if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(T,x)||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.")}()),V=A[0],D=A[1];function L(e){return document.body.appendChild(e)}function _(e){var t=V((function(e){return{config:e.config,reject:e.reject}})),r=function(e){var t=document.createElement("script");return e&&(t.src=e),t}("".concat(t.config.paths.vs,"/loader.js"));return r.onload=function(){return e()},r.onerror=t.reject,r}function q(){var e=V((function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}})),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],(function(t){z(t),e.resolve(t)}),(function(t){e.reject(t)}))}function z(e){V().monaco||D({monaco:e})}var N=new Promise((function(e,t){return D({resolve:e,reject:t})})),F={config:function(e){var t=P.config(e),r=t.monaco,n=c(t,["monaco"]);D((function(e){return{config:k(e.config,n),monaco:r}}))},init:function(){var e=V((function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}}));if(!e.isInitialized){if(D({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),C(N);if(window.monaco&&window.monaco.editor)return z(window.monaco),e.resolve(window.monaco),C(N);R(L,_)(q)}return C(N)},__getMonacoInstance:function(){return V((function(e){return e.monaco}))}};const U=F;var B=r(7313),W={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},Y={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}};var Z=function(e){let{children:t}=e;return B.createElement("div",{style:Y.container},t)};var $=function(e){let{width:t,height:r,isEditorReady:n,loading:o,_ref:i,className:c,wrapperProps:u}=e;return B.createElement("section",{style:{...W.wrapper,width:t,height:r},...u},!n&&B.createElement(Z,null,o),B.createElement("div",{ref:i,style:{...W.fullWidth,...!n&&W.hide},className:c}))},G=(0,B.memo)($);var H=function(e){(0,B.useEffect)(e,[])};var J=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=(0,B.useRef)(!0);(0,B.useEffect)(n.current||!r?()=>{n.current=!1}:e,t)};function K(){}function Q(e,t,r,n){return function(e,t){return e.editor.getModel(X(e,t))}(e,n)||function(e,t,r,n){return e.editor.createModel(t,r,n?X(e,n):void 0)}(e,t,r,n)}function X(e,t){return e.Uri.parse(t)}var ee=function(e){let{original:t,modified:r,language:n,originalLanguage:o,modifiedLanguage:i,originalModelPath:c,modifiedModelPath:u,keepCurrentOriginalModel:a=!1,keepCurrentModifiedModel:l=!1,theme:s="light",loading:f="Loading...",options:d={},height:g="100%",width:p="100%",className:h,wrapperProps:y={},beforeMount:m=K,onMount:v=K}=e,[b,w]=(0,B.useState)(!1),[O,j]=(0,B.useState)(!0),M=(0,B.useRef)(null),E=(0,B.useRef)(null),P=(0,B.useRef)(null),R=(0,B.useRef)(v),k=(0,B.useRef)(m),S=(0,B.useRef)(!1);H((()=>{let e=U.init();return e.then((e=>(E.current=e)&&j(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>M.current?function(){let e=M.current?.getModel();a||e?.original?.dispose(),l||e?.modified?.dispose(),M.current?.dispose()}():e.cancel()})),J((()=>{if(M.current&&E.current){let e=M.current.getOriginalEditor(),r=Q(E.current,t||"",o||n||"text",c||"");r!==e.getModel()&&e.setModel(r)}}),[c],b),J((()=>{if(M.current&&E.current){let e=M.current.getModifiedEditor(),t=Q(E.current,r||"",i||n||"text",u||"");t!==e.getModel()&&e.setModel(t)}}),[u],b),J((()=>{let e=M.current.getModifiedEditor();e.getOption(E.current.editor.EditorOption.readOnly)?e.setValue(r||""):r!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:r||"",forceMoveMarkers:!0}]),e.pushUndoStop())}),[r],b),J((()=>{M.current?.getModel()?.original.setValue(t||"")}),[t],b),J((()=>{let{original:e,modified:t}=M.current.getModel();E.current.editor.setModelLanguage(e,o||n||"text"),E.current.editor.setModelLanguage(t,i||n||"text")}),[n,o,i],b),J((()=>{E.current?.editor.setTheme(s)}),[s],b),J((()=>{M.current?.updateOptions(d)}),[d],b);let C=(0,B.useCallback)((()=>{if(!E.current)return;k.current(E.current);let e=Q(E.current,t||"",o||n||"text",c||""),a=Q(E.current,r||"",i||n||"text",u||"");M.current?.setModel({original:e,modified:a})}),[n,r,i,t,o,c,u]),T=(0,B.useCallback)((()=>{!S.current&&P.current&&(M.current=E.current.editor.createDiffEditor(P.current,{automaticLayout:!0,...d}),C(),E.current?.editor.setTheme(s),w(!0),S.current=!0)}),[d,s,C]);return(0,B.useEffect)((()=>{b&&R.current(M.current,E.current)}),[b]),(0,B.useEffect)((()=>{!O&&!b&&T()}),[O,b,T]),B.createElement(G,{width:p,height:g,isEditorReady:b,loading:f,_ref:P,className:h,wrapperProps:y})};(0,B.memo)(ee);var te=function(e){let t=(0,B.useRef)();return(0,B.useEffect)((()=>{t.current=e}),[e]),t.current},re=new Map;var ne=function(e){let{defaultValue:t,defaultLanguage:r,defaultPath:n,value:o,language:i,path:c,theme:u="light",line:a,loading:l="Loading...",options:s={},overrideServices:f={},saveViewState:d=!0,keepCurrentModel:g=!1,width:p="100%",height:h="100%",className:y,wrapperProps:m={},beforeMount:v=K,onMount:b=K,onChange:w,onValidate:O=K}=e,[j,M]=(0,B.useState)(!1),[E,P]=(0,B.useState)(!0),R=(0,B.useRef)(null),k=(0,B.useRef)(null),S=(0,B.useRef)(null),C=(0,B.useRef)(b),T=(0,B.useRef)(v),x=(0,B.useRef)(),I=(0,B.useRef)(o),A=te(c),V=(0,B.useRef)(!1),D=(0,B.useRef)(!1);H((()=>{let e=U.init();return e.then((e=>(R.current=e)&&P(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>k.current?(x.current?.dispose(),g?d&&re.set(c,k.current.saveViewState()):k.current.getModel()?.dispose(),void k.current.dispose()):e.cancel()})),J((()=>{let e=Q(R.current,t||o||"",r||i||"",c||n||"");e!==k.current?.getModel()&&(d&&re.set(A,k.current?.saveViewState()),k.current?.setModel(e),d&&k.current?.restoreViewState(re.get(c)))}),[c],j),J((()=>{k.current?.updateOptions(s)}),[s],j),J((()=>{!k.current||void 0===o||(k.current.getOption(R.current.editor.EditorOption.readOnly)?k.current.setValue(o):o!==k.current.getValue()&&(D.current=!0,k.current.executeEdits("",[{range:k.current.getModel().getFullModelRange(),text:o,forceMoveMarkers:!0}]),k.current.pushUndoStop(),D.current=!1))}),[o],j),J((()=>{let e=k.current?.getModel();e&&i&&R.current?.editor.setModelLanguage(e,i)}),[i],j),J((()=>{void 0!==a&&k.current?.revealLine(a)}),[a],j),J((()=>{R.current?.editor.setTheme(u)}),[u],j);let L=(0,B.useCallback)((()=>{if(S.current&&R.current&&!V.current){T.current(R.current);let e=c||n,l=Q(R.current,o||t||"",r||i||"",e||"");k.current=R.current?.editor.create(S.current,{model:l,automaticLayout:!0,...s},f),d&&k.current.restoreViewState(re.get(e)),R.current.editor.setTheme(u),void 0!==a&&k.current.revealLine(a),M(!0),V.current=!0}}),[t,r,n,o,i,c,s,f,d,u,a]);return(0,B.useEffect)((()=>{j&&C.current(k.current,R.current)}),[j]),(0,B.useEffect)((()=>{!E&&!j&&L()}),[E,j,L]),I.current=o,(0,B.useEffect)((()=>{j&&w&&(x.current?.dispose(),x.current=k.current?.onDidChangeModelContent((e=>{D.current||w(k.current.getValue(),e)})))}),[j,w]),(0,B.useEffect)((()=>{if(j){let e=R.current.editor.onDidChangeMarkers((e=>{let t=k.current.getModel()?.uri;if(t&&e.find((e=>e.path===t.path))){let e=R.current.editor.getModelMarkers({resource:t});O?.(e)}}));return()=>{e?.dispose()}}return()=>{}}),[j,O]),B.createElement(G,{width:p,height:h,isEditorReady:j,loading:l,_ref:S,className:y,wrapperProps:m})},oe=(0,B.memo)(ne)}}]);
|