OwlCyberSecurity - MANAGER
Edit File: campaignBlock.js
(()=>{var e={54726:(e,t,n)=>{"use strict";n.d(t,{O:()=>i,v:()=>a});var r=n(27723),o=n(29809);const i=e=>{switch(e){case"amount":return(0,r.__)("Amount raised","give");case"donations":return(0,r.__)("Number of donations","give");case"donors":return(0,r.__)("Number of donors","give");case"amountFromSubscriptions":return(0,r.__)("Recurring amount raised","give");case"subscriptions":return(0,r.__)("Number of recurring donations","give");case"donorsFromSubscriptions":return(0,r.__)("Number of recurring donors","give")}},a=(e,t)=>{switch(e){case"amount":case"amountFromSubscriptions":const{currency:e}=(0,o.DP)();return(0,o.Vo)(e).format(t);default:return t}}},31927:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(51609),o=n(27723),i=n(54726),a=n(29809);const s=({showImage:e,showGoal:t,showDescription:n,campaign:s})=>{const u=(0,a.DP)();return(0,r.createElement)("div",{className:"give-campaigns-component-campaign",...s.pagePermalink&&!u.isAdmin&&{style:{cursor:"pointer"},onClick:()=>window.location=s.pagePermalink}},e&&s.image&&(0,r.createElement)("div",{style:{backgroundImage:`url(${s.image})`},className:"give-campaigns-component-campaign-image"}),(0,r.createElement)("div",{className:"give-campaigns-component-campaign-title"},s.title),n&&(0,r.createElement)("div",{className:"give-campaigns-component-campaign-description"},s.shortDescription),t&&(0,r.createElement)("div",{className:"give-campaigns-component-campaign__goal"},(0,r.createElement)("div",{className:"give-campaigns-component-campaign__goal-progress"},(0,r.createElement)("div",{className:"give-campaigns-component-campaign__goal-progress-container"},(0,r.createElement)("div",{className:"give-campaigns-component-campaign__goal-progress-bar",style:{width:`${s.goalStats.percentage}%`}}))),(0,r.createElement)("div",{className:"give-campaigns-component-campaign__goal-container"},(0,r.createElement)("div",{className:"give-campaigns-component-campaign__goal-container-item"},(0,r.createElement)("span",null,(0,i.O)(s.goalType)),(0,r.createElement)("strong",null,(0,i.v)(s.goalType,s.goalStats.actual))),(0,r.createElement)("div",{className:"give-campaigns-component-campaign__goal-container-item"},(0,r.createElement)("span",null,(0,o.__)("Our goal","give")),(0,r.createElement)("strong",null,(0,i.v)(s.goalType,s.goal))))))}},59292:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3582);function o({ids:e=[],page:t=1,per_page:n=30,status:o=["active"],sortBy:i="date",orderBy:a="desc"}={}){const s=(0,r.useEntityRecords)("givewp","campaign",{ids:e,page:t,per_page:n,status:o,sortBy:i,orderBy:a});return{campaigns:s?.records,totalItems:s.totalItems,totalPages:s.totalPages,hasResolved:s?.hasResolved}}},29809:(e,t,n)=>{"use strict";n.d(t,{DP:()=>s,KG:()=>a,Vd:()=>l,Vo:()=>u,iK:()=>c});var r=n(3582),o=n(1455),i=n.n(o);function a(e){const t=new URLSearchParams(window.location.search),{record:n,hasResolved:o,save:i,edit:a}=(0,r.useEntityRecord)("givewp","campaign",null!=e?e:t.get("id"));return{campaign:n,hasResolved:o,save:i,edit:a}}function s(){return window.GiveCampaignOptions}function u(e,t){return new Intl.NumberFormat(navigator.language,{style:"currency",currency:e,...t})}async function l(e){try{const t=await i()({path:"/wp/v2/users/me"}),n=t?.id;return await wp.data.dispatch("core").saveEntityRecord("root","user",{id:n,meta:{[e]:!0}})}catch(e){console.error("Error updating user meta:",e)}}async function c(e){try{return await i()({path:`/givewp/v3/campaigns/${e}/page`,method:"POST"})}catch(e){console.error("Error creating Campaign page:",e)}}},16639:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(51609),o=n(5556),i=n.n(o);const a={white:"#fff",grey:"#555d66",give:"#66bb6a"},s=({color:e="give",size:t="24px",...n})=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 157.2 157.2",width:t,height:t,...n},(0,r.createElement)("circle",{fill:a[e],cx:"78.6",cy:"78.6",r:"78.6"}),(0,r.createElement)("path",{fill:"#fff",d:"M89.8 84.2c.3.7 1 1.3 1 1.3 13.9 1.7 33.6-.2 48.6-2.2-8.6 18.5-24 30.8-38.1 30.8-26.5 0-46.9-32.1-46.9-32.1 8.2-7.2 21.7-30.8 41.2-30.8s28 10.7 28 10.7l2.2-3.5s-9.1-31.9-34.9-31.9-53.2 42.3-69.2 52c0 0 22 52.2 70.2 52.2 40.4 0 50.6-38.6 52.5-48.2 5.4-.8 9.9-1.6 12.8-2.1 1-2.2 2.1-6.1 1.3-11.3-16.1 6.2-40.5 13.2-69.1 13.2-.1 0 0 1 .4 1.9z"}));s.propTypes={color:i().oneOf(Object.keys(a)),size:i().oneOfType([i().number,i().string])};const u=s},32485:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},4146:(e,t,n)=>{"use strict";var r=n(73404),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,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=f(n);o&&o!==m&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var s=u(t),v=u(n),g=0;g<a.length;++g){var h=a[g];if(!(i[h]||r&&r[h]||v&&v[h]||s&&s[h])){var b=d(n,h);try{l(t,h,b)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,h=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function S(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 g:case v:case u:return e;default:return t}}case o:return t}}}function O(e){return S(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=g,t.Memo=v,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return O(e)||S(e)===c},t.isConcurrentMode=O,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===d},t.isFragment=function(e){return S(e)===i},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===v},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===h)},t.typeOf=S},73404:(e,t,n)=>{"use strict";e.exports=n(3072)},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},21020:(e,t,n)=>{"use strict";var r=n(51609),o=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,u={},l=null,c=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(u[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===u[r]&&(u[r]=t[r]);return{$$typeof:o,type:e,key:l,ref:c,props:u,_owner:a.current}}t.jsx=u,t.jsxs=u},74848:(e,t,n)=>{"use strict";e.exports=n(21020)},51609:e=>{"use strict";e.exports=window.React},1455:e=>{"use strict";e.exports=window.wp.apiFetch},94715:e=>{"use strict";e.exports=window.wp.blockEditor},56427:e=>{"use strict";e.exports=window.wp.components},3582:e=>{"use strict";e.exports=window.wp.coreData},86087:e=>{"use strict";e.exports=window.wp.element},27723:e=>{"use strict";e.exports=window.wp.i18n}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(51609),t=n.n(e);n(27723),n(94715),n(56427),n(29809);n(59292);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)}function o(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,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)||l(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.")}()}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}function f(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,o(r.key),r)}}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function h(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(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 b=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),y=Math.abs,w=String.fromCharCode,S=Object.assign;function O(e){return e.trim()}function x(e,t,n){return e.replace(t,n)}function E(e,t){return e.indexOf(t)}function C(e,t){return 0|e.charCodeAt(t)}function R(e,t,n){return e.slice(t,n)}function P(e){return e.length}function D(e){return e.length}function M(e,t){return t.push(e),e}var I=1,k=1,V=0,L=0,T=0,F="";function A(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:I,column:k,length:a,return:""}}function _(e,t){return S(A("",null,null,"",null,null,0),e,{length:-e.length},t)}function N(){return T=L<V?C(F,L++):0,k++,10===T&&(k=1,I++),T}function H(){return C(F,L)}function B(){return L}function j(e,t){return R(F,e,t)}function U(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 $(e){return I=k=1,V=P(F=e),L=0,[]}function z(e){return F="",e}function K(e){return O(j(L-1,Y(91===e?e+2:40===e?e+1:e)))}function G(e){for(;(T=H())&&T<33;)N();return U(e)>2||U(T)>3?"":" "}function W(e,t){for(;--t&&N()&&!(T<48||T>102||T>57&&T<65||T>70&&T<97););return j(e,B()+(t<6&&32==H()&&32==N()))}function Y(e){for(;N();)switch(T){case e:return L;case 34:case 39:34!==e&&39!==e&&Y(T);break;case 40:41===e&&Y(e);break;case 92:N()}return L}function Z(e,t){for(;N()&&e+T!==57&&(e+T!==84||47!==H()););return"/*"+j(t,L-1)+"*"+w(47===e?e:N())}function X(e){for(;!U(H());)N();return j(e,L)}var q="-ms-",J="-moz-",Q="-webkit-",ee="comm",te="rule",ne="decl",re="@keyframes";function oe(e,t){for(var n="",r=D(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ie(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ne:return e.return=e.return||e.value;case ee:return"";case re:return e.return=e.value+"{"+oe(e.children,r)+"}";case te:e.value=e.props.join(",")}return P(n=oe(e.children,r))?e.return=e.value+"{"+n+"}":""}function ae(e){return z(se("",null,null,null,[""],e=$(e),0,[0],e))}function se(e,t,n,r,o,i,a,s,u){for(var l=0,c=0,p=a,d=0,f=0,m=0,v=1,g=1,h=1,b=0,y="",S=o,O=i,R=r,D=y;g;)switch(m=b,b=N()){case 40:if(108!=m&&58==C(D,p-1)){-1!=E(D+=x(K(b),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:D+=K(b);break;case 9:case 10:case 13:case 32:D+=G(m);break;case 92:D+=W(B()-1,7);continue;case 47:switch(H()){case 42:case 47:M(le(Z(N(),B()),t,n),u);break;default:D+="/"}break;case 123*v:s[l++]=P(D)*h;case 125*v:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+c:-1==h&&(D=x(D,/\f/g,"")),f>0&&P(D)-p&&M(f>32?ce(D+";",r,n,p-1):ce(x(D," ","")+";",r,n,p-2),u);break;case 59:D+=";";default:if(M(R=ue(D,t,n,l,c,o,s,y,S=[],O=[],p),i),123===b)if(0===c)se(D,t,R,R,S,i,p,s,O);else switch(99===d&&110===C(D,3)?100:d){case 100:case 108:case 109:case 115:se(e,R,R,r&&M(ue(e,R,R,0,0,o,s,y,o,S=[],p),O),o,O,p,s,r?S:O);break;default:se(D,R,R,R,[""],O,0,s,O)}}l=c=f=0,v=h=1,y=D="",p=a;break;case 58:p=1+P(D),f=m;default:if(v<1)if(123==b)--v;else if(125==b&&0==v++&&125==(T=L>0?C(F,--L):0,k--,10===T&&(k=1,I--),T))continue;switch(D+=w(b),b*v){case 38:h=c>0?1:(D+="\f",-1);break;case 44:s[l++]=(P(D)-1)*h,h=1;break;case 64:45===H()&&(D+=K(N())),d=H(),c=p=P(y=D+=X(B())),b++;break;case 45:45===m&&2==P(D)&&(v=0)}}return i}function ue(e,t,n,r,o,i,a,s,u,l,c){for(var p=o-1,d=0===o?i:[""],f=D(d),m=0,v=0,g=0;m<r;++m)for(var h=0,b=R(e,p+1,p=y(v=a[m])),w=e;h<f;++h)(w=O(v>0?d[h]+" "+b:x(b,/&\f/g,d[h])))&&(u[g++]=w);return A(e,t,n,0===o?te:s,u,l,c)}function le(e,t,n){return A(e,t,n,ee,w(T),R(e,2,-2),0)}function ce(e,t,n,r){return A(e,t,n,ne,R(e,0,r),R(e,r+1,-1),r)}var pe=function(e,t,n){for(var r=0,o=0;r=o,o=H(),38===r&&12===o&&(t[n]=1),!U(o);)N();return j(e,L)},de=new WeakMap,fe=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)||de.get(n))&&!r){de.set(e,!0);for(var o=[],i=function(e,t){return z(function(e,t){var n=-1,r=44;do{switch(U(r)){case 0:38===r&&12===H()&&(t[n]=1),e[n]+=pe(L-1,t,n);break;case 2:e[n]+=K(r);break;case 4:if(44===r){e[++n]=58===H()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=w(r)}}while(r=N());return e}($(e),t))}(t,o),a=n.props,s=0,u=0;s<i.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},me=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ve(e,t){switch(function(e,t){return 45^C(e,0)?(((t<<2^C(e,0))<<2^C(e,1))<<2^C(e,2))<<2^C(e,3):0}(e,t)){case 5103:return Q+"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 Q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Q+e+J+e+q+e+e;case 6828:case 4268:return Q+e+q+e+e;case 6165:return Q+e+q+"flex-"+e+e;case 5187:return Q+e+x(e,/(\w+).+(:[^]+)/,Q+"box-$1$2"+q+"flex-$1$2")+e;case 5443:return Q+e+q+"flex-item-"+x(e,/flex-|-self/,"")+e;case 4675:return Q+e+q+"flex-line-pack"+x(e,/align-content|flex-|-self/,"")+e;case 5548:return Q+e+q+x(e,"shrink","negative")+e;case 5292:return Q+e+q+x(e,"basis","preferred-size")+e;case 6060:return Q+"box-"+x(e,"-grow","")+Q+e+q+x(e,"grow","positive")+e;case 4554:return Q+x(e,/([^-])(transform)/g,"$1"+Q+"$2")+e;case 6187:return x(x(x(e,/(zoom-|grab)/,Q+"$1"),/(image-set)/,Q+"$1"),e,"")+e;case 5495:case 3959:return x(e,/(image-set\([^]*)/,Q+"$1$`$1");case 4968:return x(x(e,/(.+:)(flex-)?(.*)/,Q+"box-pack:$3"+q+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Q+e+e;case 4095:case 3583:case 4068:case 2532:return x(e,/(.+)-inline(.+)/,Q+"$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(P(e)-1-t>6)switch(C(e,t+1)){case 109:if(45!==C(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+Q+"$2-$3$1"+J+(108==C(e,t+3)?"$3":"$2-$3"))+e;case 115:return~E(e,"stretch")?ve(x(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==C(e,t+1))break;case 6444:switch(C(e,P(e)-3-(~E(e,"!important")&&10))){case 107:return x(e,":",":"+Q)+e;case 101:return x(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Q+(45===C(e,14)?"inline-":"")+"box$3$1"+Q+"$2$3$1"+q+"$2box$3")+e}break;case 5936:switch(C(e,t+11)){case 114:return Q+e+q+x(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Q+e+q+x(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Q+e+q+x(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Q+e+q+e+e}return e}var ge=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ne:e.return=ve(e.value,e.length);break;case re:return oe([_(e,{value:x(e.value,"@","@"+Q)})],r);case te:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return oe([_(e,{props:[x(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return oe([_(e,{props:[x(t,/:(plac\w+)/,":"+Q+"input-$1")]}),_(e,{props:[x(t,/:(plac\w+)/,":-moz-$1")]}),_(e,{props:[x(t,/:(plac\w+)/,q+"input-$1")]})],r)}return""}))}}],he=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||ge,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var u,l,c,p,d=[ie,(p=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],f=(l=[fe,me].concat(i,d),c=D(l),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=l[i](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,oe(ae(e?e+"{"+t.styles+"}":t.styles),f),r&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new b({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return m.sheet.hydrate(s),m},be=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ye={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 we(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Se=/[A-Z]|^ms/g,Oe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,xe=function(e){return 45===e.charCodeAt(1)},Ee=function(e){return null!=e&&"boolean"!=typeof e},Ce=we((function(e){return xe(e)?e:e.replace(Se,"-$&").toLowerCase()})),Re=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Oe,(function(e,t,n){return De={name:t,styles:n,next:De},t}))}return 1===ye[e]||xe(e)||"number"!=typeof t||0===t?t:t+"px"};function Pe(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 De={name:n.name,styles:n.styles,next:De},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)De={name:r.name,styles:r.styles,next:De},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+=Pe(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]+"}":Ee(a)&&(r+=Ce(i)+":"+Re(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Pe(e,t,a);switch(i){case"animation":case"animationName":r+=Ce(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Ee(a[u])&&(r+=Ce(i)+":"+Re(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=De,i=n(e);return De=o,Pe(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var De,Me=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ie=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="";De=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Pe(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Pe(n,t,e[a]),r&&(o+=i[a]);Me.lastIndex=0;for(var s,u="";null!==(s=Me.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:De}},ke={}.hasOwnProperty,Ve=(0,e.createContext)("undefined"!=typeof HTMLElement?he({key:"css"}):null);Ve.Provider;var Le=function(t){return(0,e.forwardRef)((function(n,r){var o=(0,e.useContext)(Ve);return t(n,o,r)}))},Te=(0,e.createContext)({}),Fe=e.useInsertionEffect?e.useInsertionEffect:function(e){e()},Ae="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_e=function(e){var t,n=e.cache,r=e.serialized,o=e.isStringTag;return be(n,r,o),t=function(){return function(e,t,n){be(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)}}(n,r,o)},Fe(t),null},Ne=Le((function(t,n,r){var o=t.css;"string"==typeof o&&void 0!==n.registered[o]&&(o=n.registered[o]);var i=t[Ae],a=[o],s="";"string"==typeof t.className?s=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(n.registered,a,t.className):null!=t.className&&(s=t.className+" ");var u=Ie(a,void 0,(0,e.useContext)(Te));s+=n.key+"-"+u.name;var l={};for(var c in t)ke.call(t,c)&&"css"!==c&&c!==Ae&&(l[c]=t[c]);return l.ref=r,l.className=s,(0,e.createElement)(e.Fragment,null,(0,e.createElement)(_e,{cache:n,serialized:u,isStringTag:"string"==typeof i}),(0,e.createElement)(i,l))}));n(4146);var He=function(t,n){var r=arguments;if(null==n||!ke.call(n,"css"))return e.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=Ne,i[1]=function(e,t){var n={};for(var r in t)ke.call(t,r)&&(n[r]=t[r]);return n[Ae]=e,n}(t,n);for(var a=2;a<o;a++)i[a]=r[a];return e.createElement.apply(null,i)};function Be(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ie(t)}e.useInsertionEffect?e.useInsertionEffect:e.useLayoutEffect;const je=window.ReactDOM,Ue=Math.min,$e=Math.max,ze=Math.round,Ke=Math.floor,Ge=e=>({x:e,y:e});function We(e){return Xe(e)?(e.nodeName||"").toLowerCase():"#document"}function Ye(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ze(e){var t;return null==(t=(Xe(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Xe(e){return e instanceof Node||e instanceof Ye(e).Node}function qe(e){return e instanceof Element||e instanceof Ye(e).Element}function Je(e){return e instanceof HTMLElement||e instanceof Ye(e).HTMLElement}function Qe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Ye(e).ShadowRoot)}function et(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function tt(e){return Ye(e).getComputedStyle(e)}function nt(e){const t=function(e){if("html"===We(e))return e;const t=e.assignedSlot||e.parentNode||Qe(e)&&e.host||Ze(e);return Qe(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(We(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Je(t)&&et(t)?t:nt(t)}function rt(e,t){var n;void 0===t&&(t=[]);const r=nt(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Ye(r);return o?t.concat(i,i.visualViewport||[],et(r)?r:[]):t.concat(r,rt(r))}function ot(e){return qe(e)?e:e.contextElement}function it(e){const t=ot(e);if(!Je(t))return Ge(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=tt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Je(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=ze(n)!==i||ze(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?ze(n.width):n.width)/r,s=(i?ze(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const at=Ge(0);function st(e){const t=Ye(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:at}function ut(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=ot(e);let a=Ge(1);t&&(r?qe(r)&&(a=it(r)):a=it(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ye(e))&&t}(i,n,r)?st(i):Ge(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=Ye(i),t=r&&qe(r)?Ye(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=it(n),t=n.getBoundingClientRect(),r=tt(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=Ye(n).frameElement}}return d={width:c,height:p,x:u,y:l},{...d,top:d.y,left:d.x,right:d.x+d.width,bottom:d.y+d.height};var d}const lt=e.useLayoutEffect;var ct=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],pt=function(){};function dt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ft(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(dt(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var mt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===r(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,s({},p(e,ct))},gt=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function ht(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function bt(e){return ht(e)?window.pageYOffset:e.scrollTop}function yt(e,t){ht(e)?window.scrollTo(0,t):e.scrollTop=t}function wt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:pt,o=bt(e),i=t-o,a=0;!function t(){var s,u=i*((s=(s=a+=10)/n-1)*s*s+1)+o;yt(e,u),a<n?window.requestAnimationFrame(t):r(e)}()}function St(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?yt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&yt(e,Math.max(t.offsetTop-o,0))}function Ot(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var xt=!1,Et={get passive(){return xt=!0}},Ct="undefined"!=typeof window?window:{};Ct.addEventListener&&Ct.removeEventListener&&(Ct.addEventListener("p",pt,Et),Ct.removeEventListener("p",pt,!1));var Rt=xt;function Pt(e){return null!=e}function Dt(e,t,n){return e?t:n}var Mt=["children","innerProps"],It=["children","innerProps"];var kt,Vt,Lt,Tt=function(e){return"auto"===e?"bottom":e},Ft=(0,e.createContext)(null),At=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,u=t.menuShouldScrollIntoView,l=t.theme,p=((0,e.useContext)(Ft)||{}).setPortalPlacement,d=(0,e.useRef)(null),f=c((0,e.useState)(o),2),m=f[0],v=f[1],g=c((0,e.useState)(null),2),h=g[0],b=g[1],y=l.spacing.controlHeight;return lt((function(){var e=d.current;if(e){var t="fixed"===a,n=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c,p=u.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,m=d.height,v=d.top,g=n.offsetParent.getBoundingClientRect().top,h=a||ht(c=u)?window.innerHeight:c.clientHeight,b=bt(u),y=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),S=g-w,O=h-v,x=S+b,E=p-b-v,C=f-h+b+y,R=b+v-w,P=160;switch(o){case"auto":case"bottom":if(O>=m)return{placement:"bottom",maxHeight:t};if(E>=m&&!a)return i&&wt(u,C,P),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&O>=r)return i&&wt(u,C,P),{placement:"bottom",maxHeight:a?O-y:E-y};if("auto"===o||a){var D=t,M=a?S:x;return M>=r&&(D=Math.min(M-y-s,t)),{placement:"top",maxHeight:D}}if("bottom"===o)return i&&yt(u,C),{placement:"bottom",maxHeight:t};break;case"top":if(S>=m)return{placement:"top",maxHeight:t};if(x>=m&&!a)return i&&wt(u,R,P),{placement:"top",maxHeight:t};if(!a&&x>=r||a&&S>=r){var I=t;return(!a&&x>=r||a&&S>=r)&&(I=a?S-w:x-w),i&&wt(u,R,P),{placement:"top",maxHeight:I}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:u&&!t,isFixedPosition:t,controlHeight:y});v(n.maxHeight),b(n.placement),null==p||p(n.placement)}}),[o,i,a,u,r,p,y]),n({ref:d,placerProps:s(s({},t),{},{placement:h||Tt(i),maxHeight:m})})},_t=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return s({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Nt=_t,Ht=_t,Bt=["size"],jt=["innerProps","isRtl","size"],Ut={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},$t=function(e){var t=e.size,n=p(e,Bt);return He("svg",d({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ut},n))},zt=function(e){return He($t,d({size:20},e),He("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Kt=function(e){return He($t,d({size:20},e),He("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"}))},Gt=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return s({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},Wt=Gt,Yt=Gt,Zt=function(){var e=Be.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_"}}}(kt||(Vt=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Lt||(Lt=Vt.slice(0)),kt=Object.freeze(Object.defineProperties(Vt,{raw:{value:Object.freeze(Lt)}})))),Xt=function(e){var t=e.delay,n=e.offset;return He("span",{css:Be({animation:"".concat(Zt," 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"},"","")})},qt=["data"],Jt=["innerRef","isDisabled","isHidden","inputClassName"],Qt={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},en={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":s({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Qt)},tn=function(e){return s({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Qt)},nn=function(e){var t=e.children,n=e.innerProps;return He("div",n,t)},rn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return He("div",d({},gt(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||He(zt,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return He("div",d({ref:o},gt(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return He("div",d({},gt(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||He(Kt,null))},DownChevron:Kt,CrossIcon:zt,Group: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 He("div",d({},gt(e,"group",{group:!0}),s),He(i,d({},a,{selectProps:c,theme:l,getStyles:r,getClassNames:o,cx:n}),u),He("div",null,t))},GroupHeading:function(e){var t=vt(e);t.data;var n=p(t,qt);return He("div",d({},gt(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return He("div",d({},gt(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return He("span",d({},t,gt(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=p(r,Jt);return He("div",d({},gt(e,"input",{"input-container":!0}),{"data-value":n||""}),He("input",d({className:t({input:!0},s),ref:o,style:tn(a),disabled:i},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=p(e,jt);return He("div",d({},gt(s(s({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),He(Xt,{delay:0,offset:n}),He(Xt,{delay:160,offset:!0}),He(Xt,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return He("div",d({},gt(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return He("div",d({},gt(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(t){var n=t.appendTo,r=t.children,o=t.controlElement,i=t.innerProps,a=t.menuPlacement,u=t.menuPosition,l=(0,e.useRef)(null),p=(0,e.useRef)(null),f=c((0,e.useState)(Tt(a)),2),m=f[0],v=f[1],g=(0,e.useMemo)((function(){return{setPortalPlacement:v}}),[]),h=c((0,e.useState)(null),2),b=h[0],y=h[1],w=(0,e.useCallback)((function(){if(o){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}}(o),t="fixed"===u?0:window.pageYOffset,n=e[m]+t;n===(null==b?void 0:b.offset)&&e.left===(null==b?void 0:b.rect.left)&&e.width===(null==b?void 0:b.rect.width)||y({offset:n,rect:e})}}),[o,u,m,null==b?void 0:b.offset,null==b?void 0:b.rect.left,null==b?void 0:b.rect.width]);lt((function(){w()}),[w]);var S=(0,e.useCallback)((function(){"function"==typeof p.current&&(p.current(),p.current=null),o&&l.current&&(p.current=function(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=ot(e),c=o||i?[...l?rt(l):[],...rt(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=Ze(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:-Ke(c)+"px "+-Ke(o.clientWidth-(l+p))+"px "+-Ke(o.clientHeight-(c+d))+"px "+-Ke(l)+"px",threshold:$e(0,Ue(1,u))||1};let m=!0;function v(e){const t=e[0].intersectionRatio;if(t!==u){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}m=!1}try{r=new IntersectionObserver(v,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,f)}r.observe(e)}(!0),i}(l,n):null;let d,f=-1,m=null;a&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{m&&m.observe(t)}))),n()})),l&&!u&&m.observe(l),m.observe(t));let v=u?ut(e):null;return u&&function t(){const r=ut(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(),m&&m.disconnect(),m=null,u&&cancelAnimationFrame(d)}}(o,l.current,w,{elementResize:"ResizeObserver"in window}))}),[o,w]);lt((function(){S()}),[S]);var O=(0,e.useCallback)((function(e){l.current=e,S()}),[S]);if(!n&&"fixed"!==u||!b)return null;var x=He("div",d({ref:O},gt(s(s({},t),{},{offset:b.offset,position:u,rect:b.rect}),"menuPortal",{"menu-portal":!0}),i),r);return He(Ft.Provider,{value:g},n?(0,je.createPortal)(x,n):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=p(e,It);return He("div",d({},gt(s(s({},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=p(e,Mt);return He("div",d({},gt(s(s({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,u=e.selectProps,l=n.Container,c=n.Label,p=n.Remove;return He(l,{data:r,innerProps:s(s({},gt(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:u},He(c,{data:r,innerProps:s({},gt(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),He(p,{data:r,innerProps:s(s({},gt(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:u}))},MultiValueContainer:nn,MultiValueLabel:nn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return He("div",d({role:"button"},n),t||He(zt,{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 He("div",d({},gt(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 He("div",d({},gt(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return He("div",d({},gt(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return He("div",d({},gt(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 He("div",d({},gt(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},on=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function an(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||on(r)&&on(o)))return!1;var r,o;return!0}for(var sn={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"},un=function(e){return He("span",d({css:sn},e))},ln={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,o=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".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=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(l(a,n),".");if("menu"===t){var c=s?" disabled":"",p="".concat(u?"selected":"focused").concat(c);return"option ".concat(i," ").concat(p,", ").concat(l(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},cn=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.focusableOptions,a=t.isFocused,u=t.selectValue,l=t.selectProps,c=t.id,p=l.ariaLiveMessages,d=l.getOptionLabel,f=l.inputValue,m=l.isMulti,v=l.isOptionDisabled,g=l.isSearchable,h=l.menuIsOpen,b=l.options,y=l.screenReaderStatus,w=l.tabSelectsValue,S=l["aria-label"],O=l["aria-live"],x=(0,e.useMemo)((function(){return s(s({},ln),p||{})}),[p]),E=(0,e.useMemo)((function(){var e,t="";if(n&&x.onChange){var r=n.option,o=n.options,i=n.removedValue,a=n.removedValues,l=n.value,c=i||r||(e=l,Array.isArray(e)?null:e),p=c?d(c):"",f=o||a||void 0,m=f?f.map(d):[],g=s({isDisabled:c&&v(c,u),label:p,labels:m},n);t=x.onChange(g)}return t}),[n,x,v,u,d]),C=(0,e.useMemo)((function(){var e="",t=r||o,n=!!(r&&u&&u.includes(r));if(t&&x.onFocus){var a={focused:t,label:d(t),isDisabled:v(t,u),isSelected:n,options:i,context:t===r?"menu":"value",selectValue:u};e=x.onFocus(a)}return e}),[r,o,d,v,x,i,u]),R=(0,e.useMemo)((function(){var e="";if(h&&b.length&&x.onFilter){var t=y({count:i.length});e=x.onFilter({inputValue:f,resultsMessage:t})}return e}),[i,f,h,x,b,y]),P=(0,e.useMemo)((function(){var e="";if(x.guidance){var t=o?"value":h?"menu":"input";e=x.guidance({"aria-label":S,context:t,isDisabled:r&&v(r,u),isMulti:m,isSearchable:g,tabSelectsValue:w})}return e}),[S,r,o,m,v,g,h,x,u,w]),D="".concat(C," ").concat(R," ").concat(P),M=He(e.Fragment,null,He("span",{id:"aria-selection"},E),He("span",{id:"aria-context"},D)),I="initial-input-focus"===(null==n?void 0:n.action);return He(e.Fragment,null,He(un,{id:c},I&&M),He(un,{"aria-live":O,"aria-atomic":"false","aria-relevant":"additions text"},a&&!I&&M))},pn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],dn=new RegExp("["+pn.map((function(e){return e.letters})).join("")+"]","g"),fn={},mn=0;mn<pn.length;mn++)for(var vn=pn[mn],gn=0;gn<vn.letters.length;gn++)fn[vn.letters[gn]]=vn.base;var hn=function(e){return e.replace(dn,(function(e){return fn[e]}))},bn=function(e,t){void 0===t&&(t=an);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}(hn),yn=function(e){return e.replace(/^\s+|\s+$/g,"")},wn=function(e){return"".concat(e.label," ").concat(e.value)},Sn=["innerRef"];function On(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];return Object.entries(e).filter((function(e){var t=c(e,1)[0];return!n.includes(t)})).reduce((function(e,t){var n=c(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(p(e,Sn),"onExited","in","enter","exit","appear");return He("input",d({ref:t},n,{css:Be({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 xn=["boxSizing","height","overflow","paddingRight","position"],En={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Cn(e){e.preventDefault()}function Rn(e){e.stopPropagation()}function Pn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Dn(){return"ontouchstart"in window||navigator.maxTouchPoints}var Mn=!("undefined"==typeof window||!window.document||!window.document.createElement),In=0,kn={capture:!1,passive:!1},Vn=function(){return document.activeElement&&document.activeElement.blur()},Ln={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Tn(t){var n=t.children,r=t.lockEnabled,o=t.captureEnabled,i=function(t){var n=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,i=t.onTopArrive,a=t.onTopLeave,s=(0,e.useRef)(!1),u=(0,e.useRef)(!1),l=(0,e.useRef)(0),c=(0,e.useRef)(null),p=(0,e.useCallback)((function(e,t){if(null!==c.current){var n=c.current,l=n.scrollTop,p=n.scrollHeight,d=n.clientHeight,f=c.current,m=t>0,v=p-d-l,g=!1;v>t&&s.current&&(o&&o(e),s.current=!1),m&&u.current&&(a&&a(e),u.current=!1),m&&t>v?(r&&!s.current&&r(e),f.scrollTop=p,g=!0,s.current=!0):!m&&-t>l&&(i&&!u.current&&i(e),f.scrollTop=0,g=!0,u.current=!0),g&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[r,o,i,a]),d=(0,e.useCallback)((function(e){p(e,e.deltaY)}),[p]),f=(0,e.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),m=(0,e.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;p(e,t)}),[p]),v=(0,e.useCallback)((function(e){if(e){var t=!!Rt&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",m,t)}}),[m,f,d]),g=(0,e.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",m,!1))}),[m,f,d]);return(0,e.useEffect)((function(){if(n){var e=c.current;return v(e),function(){g(e)}}}),[n,v,g]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:t.onBottomArrive,onBottomLeave:t.onBottomLeave,onTopArrive:t.onTopArrive,onTopLeave:t.onTopLeave}),a=function(t){var n=t.isEnabled,r=t.accountForScrollbars,o=void 0===r||r,i=(0,e.useRef)({}),a=(0,e.useRef)(null),s=(0,e.useCallback)((function(e){if(Mn){var t=document.body,n=t&&t.style;if(o&&xn.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&In<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(En).forEach((function(e){var t=En[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&Dn()&&(t.addEventListener("touchmove",Cn,kn),e&&(e.addEventListener("touchstart",Pn,kn),e.addEventListener("touchmove",Rn,kn))),In+=1}}),[o]),u=(0,e.useCallback)((function(e){if(Mn){var t=document.body,n=t&&t.style;In=Math.max(In-1,0),o&&In<1&&xn.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&Dn()&&(t.removeEventListener("touchmove",Cn,kn),e&&(e.removeEventListener("touchstart",Pn,kn),e.removeEventListener("touchmove",Rn,kn)))}}),[o]);return(0,e.useEffect)((function(){if(n){var e=a.current;return s(e),function(){u(e)}}}),[n,s,u]),function(e){a.current=e}}({isEnabled:r});return He(e.Fragment,null,r&&He("div",{onClick:Vn,css:Ln}),n((function(e){i(e),a(e)})))}var Fn={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},An=function(e){var t=e.name,n=e.onFocus;return He("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Fn,value:"",onChange:function(){}})},Nn={clearIndicator:Yt,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return s({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:Wt,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return s({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return s({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return s(s({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},en),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return s({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Ht,menu:function(e,t){var n,r=e.placement,o=e.theme,a=o.borderRadius,u=o.spacing,l=o.colors;return s((i(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),i(n,"position","absolute"),i(n,"width","100%"),i(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return s({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return s({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return s({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return s({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Nt,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,u=i.colors;return s({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?u.primary:r?u.primary25:"transparent",color:n?u.neutral20:o?u.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?u.primary:u.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return s({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return s({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return s({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Hn={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}},Bn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Ot(),captureMenuScroll:!Ot(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=s({ignoreCase:!0,ignoreAccents:!0,stringify:wn,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,u=n.matchFrom,l=a?yn(t):t,c=a?yn(i(e)):i(e);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),o&&(l=bn(l),c=hn(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 jn(e,t,n,r){return{type:"option",data:t,isDisabled:Wn(e,t,n),isSelected:Yn(e,t,n),label:Kn(e,t),value:Gn(e,t),index:r}}function Un(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return jn(e,n,t,r)})).filter((function(t){return zn(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=jn(e,n,t,r);return zn(e,i)?i:void 0})).filter(Pt)}function $n(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,h(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function zn(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Xn(e)||!i)&&Zn(e,{label:a,value:s,data:o},r)}var Kn=function(e,t){return e.getOptionLabel(t)},Gn=function(e,t){return e.getOptionValue(t)};function Wn(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Yn(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Gn(e,t);return n.some((function(t){return Gn(e,t)===r}))}function Zn(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Xn=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},qn=1,Jn=function(t){!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&&m(e,t)}(o,t);var n=function(e){var t=g();return function(){var n,o=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}(o);function o(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=n.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,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(h(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=Dt(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(Dt(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=Dt(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},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 ft.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return Kn(t.props,e)},t.getOptionValue=function(e){return Gn(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=Nn[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.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,s(s({},rn),e.components);var e},t.buildCategorizedOptions=function(){return Un(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return $n(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:s({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&&ht(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){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return Xn(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,m=f.focusedOption,v=f.focusedValue,g=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||!m||d&&t.isOptionSelected(m,g))return;t.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(l){if(!m)return;if(t.isComposing)return;t.selectOption(m);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(!m)return;t.selectOption(m);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.instancePrefix="react-select-"+(t.props.instanceId||++qn),t.state.selectValue=mt(e.value),e.menuIsOpen&&t.state.selectValue.length){var r=t.buildFocusableOptions(),i=r.indexOf(t.state.selectValue[0]);t.state.focusedOption=r[i]}return t}return function(e,t,n){t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(o,[{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&&St(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&&(St(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]},(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})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Hn):s(s({},Hn),this.props.theme):Hn}},{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 Wn(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Yn(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Zn(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 t=this.props,n=t.isDisabled,r=t.isSearchable,o=t.inputId,i=t.inputValue,a=t.tabIndex,u=t.form,l=t.menuIsOpen,c=t.required,p=this.getComponents().Input,f=this.state,m=f.inputIsHidden,v=f.ariaSelection,g=this.commonProps,h=o||this.getElementId("input"),b=s(s(s({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox"},l&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!r&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==v?void 0:v.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return r?e.createElement(p,d({},g,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:n,isHidden:m,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:u,type:"text",value:i},b)):e.createElement(On,d({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:pt,onFocus:this.onInputFocus,disabled:n,tabIndex:a,inputMode:"none",form:u,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,n=this.getComponents(),r=n.MultiValue,o=n.MultiValueContainer,i=n.MultiValueLabel,a=n.MultiValueRemove,s=n.SingleValue,u=n.Placeholder,l=this.commonProps,c=this.props,p=c.controlShouldRenderValue,f=c.isDisabled,m=c.isMulti,v=c.inputValue,g=c.placeholder,h=this.state,b=h.selectValue,y=h.focusedValue,w=h.isFocused;if(!this.hasValue()||!p)return v?null:e.createElement(u,d({},l,{key:"placeholder",isDisabled:f,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(m)return b.map((function(n,s){var u=n===y,c="".concat(t.getOptionLabel(n),"-").concat(t.getOptionValue(n));return e.createElement(r,d({},l,{components:{Container:o,Label:i,Remove:a},isFocused:u,isDisabled:f,key:c,index:s,removeProps:{onClick:function(){return t.removeValue(n)},onTouchEnd:function(){return t.removeValue(n)},onMouseDown:function(e){e.preventDefault()}},data:n}),t.formatOptionLabel(n,"value"))}));if(v)return null;var S=b[0];return e.createElement(s,d({},l,{data:S,isDisabled:f}),this.formatOptionLabel(S,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,i=r.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return e.createElement(t,d({},n,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,i=r.isLoading,a=this.state.isFocused;return t&&i?e.createElement(t,d({},n,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),n=t.DropdownIndicator,r=t.IndicatorSeparator;if(!n||!r)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return e.createElement(r,d({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var n=this.commonProps,r=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return e.createElement(t,d({},n,{innerProps:i,isDisabled:r,isFocused:o}))}},{key:"renderMenu",value:function(){var t=this,n=this.getComponents(),r=n.Group,o=n.GroupHeading,i=n.Menu,a=n.MenuList,s=n.MenuPortal,u=n.LoadingMessage,l=n.NoOptionsMessage,c=n.Option,p=this.commonProps,f=this.state.focusedOption,m=this.props,v=m.captureMenuScroll,g=m.inputValue,h=m.isLoading,b=m.loadingMessage,y=m.minMenuHeight,w=m.maxMenuHeight,S=m.menuIsOpen,O=m.menuPlacement,x=m.menuPosition,E=m.menuPortalTarget,C=m.menuShouldBlockScroll,R=m.menuShouldScrollIntoView,P=m.noOptionsMessage,D=m.onMenuScrollToTop,M=m.onMenuScrollToBottom;if(!S)return null;var I,k=function(n,r){var o=n.type,i=n.data,a=n.isDisabled,s=n.isSelected,u=n.label,l=n.value,m=f===i,v=a?void 0:function(){return t.onOptionHover(i)},g=a?void 0:function(){return t.selectOption(i)},h="".concat(t.getElementId("option"),"-").concat(r),b={id:h,onClick:g,onMouseMove:v,onMouseOver:v,tabIndex:-1};return e.createElement(c,d({},p,{innerProps:b,data:i,isDisabled:a,isSelected:s,key:h,label:u,type:o,value:l,isFocused:m,innerRef:m?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(n.data,"menu"))};if(this.hasOptions())I=this.getCategorizedOptions().map((function(n){if("group"===n.type){var i=n.data,a=n.options,s=n.index,u="".concat(t.getElementId("group"),"-").concat(s),l="".concat(u,"-heading");return e.createElement(r,d({},p,{key:u,data:i,options:a,Heading:o,headingProps:{id:l,data:n.data},label:t.formatGroupLabel(n.data)}),n.options.map((function(e){return k(e,"".concat(s,"-").concat(e.index))})))}if("option"===n.type)return k(n,"".concat(n.index))}));else if(h){var V=b({inputValue:g});if(null===V)return null;I=e.createElement(u,p,V)}else{var L=P({inputValue:g});if(null===L)return null;I=e.createElement(l,p,L)}var T={minMenuHeight:y,maxMenuHeight:w,menuPlacement:O,menuPosition:x,menuShouldScrollIntoView:R},F=e.createElement(At,d({},p,T),(function(n){var r=n.ref,o=n.placerProps,s=o.placement,u=o.maxHeight;return e.createElement(i,d({},p,T,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove,id:t.getElementId("listbox")},isLoading:h,placement:s}),e.createElement(Tn,{captureEnabled:v,onTopArrive:D,onBottomArrive:M,lockEnabled:C},(function(n){return e.createElement(a,d({},p,{innerRef:function(e){t.getMenuListRef(e),n(e)},isLoading:h,maxHeight:u,focusedOption:f}),I)})))}));return E||"fixed"===x?e.createElement(s,d({},p,{appendTo:E,controlElement:this.controlRef,menuPlacement:O,menuPosition:x}),F):F}},{key:"renderFormField",value:function(){var t=this,n=this.props,r=n.delimiter,o=n.isDisabled,i=n.isMulti,a=n.name,s=n.required,u=this.state.selectValue;if(s&&!this.hasValue()&&!o)return e.createElement(An,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(i){if(r){var l=u.map((function(e){return t.getOptionValue(e)})).join(r);return e.createElement("input",{name:a,type:"hidden",value:l})}var c=u.length>0?u.map((function(n,r){return e.createElement("input",{key:"i-".concat(r),name:a,type:"hidden",value:t.getOptionValue(n)})})):e.createElement("input",{name:a,type:"hidden",value:""});return e.createElement("div",null,c)}var p=u[0]?this.getOptionValue(u[0]):"";return e.createElement("input",{name:a,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,n=this.state,r=n.ariaSelection,o=n.focusedOption,i=n.focusedValue,a=n.isFocused,s=n.selectValue,u=this.getFocusableOptions();return e.createElement(cn,d({},t,{id:this.getElementId("live-region"),ariaSelection:r,focusedOption:o,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:u}))}},{key:"render",value:function(){var t=this.getComponents(),n=t.Control,r=t.IndicatorsContainer,o=t.SelectContainer,i=t.ValueContainer,a=this.props,s=a.className,u=a.id,l=a.isDisabled,c=a.menuIsOpen,p=this.state.isFocused,f=this.commonProps=this.getCommonProps();return e.createElement(o,d({},f,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:p}),this.renderLiveRegion(),e.createElement(n,d({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:p,menuIsOpen:c}),e.createElement(i,d({},f,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),e.createElement(r,d({},f,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,u=t.prevWasFocused,l=e.options,c=e.value,p=e.menuIsOpen,d=e.inputValue,f=e.isMulti,m=mt(c),v={};if(n&&(c!==n.value||l!==n.options||p!==n.menuIsOpen||d!==n.inputValue)){var g=p?function(e,t){return $n(Un(e,t))}(e,m):[],h=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,m):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);v={selectValue:m,focusedOption:b,focusedValue:h,clearFocusValueOnUpdate:!1}}var y=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},w=i,S=a&&u;return a&&!S&&(w={value:Dt(f,m,m[0]||null),options:m,action:"initial-input-focus"},S=!u),"initial-input-focus"===(null==i?void 0:i.action)&&(w=null),s(s(s({},v),y),{},{prevProps:e,ariaSelection:w,prevWasFocused:S})}}]),o}(e.Component);Jn.defaultProps=Bn;n(3582);n(31927),n(74848);var Qn=function(){return Qn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Qn.apply(this,arguments)};function er(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}var tr,nr,rr=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},or={k:1e3,m:1e6,b:1e9},ir=function(e){var t=e.value,n=e.groupSeparator,r=void 0===n?",":n,o=e.decimalSeparator,i=void 0===o?".":o,a=e.allowDecimals,s=void 0===a||a,u=e.decimalsLimit,l=void 0===u?2:u,c=e.allowNegativeValue,p=void 0===c||c,d=e.disableAbbreviations,f=void 0!==d&&d,m=e.prefix,v=void 0===m?"":m,g=e.transformRawValue,h=(void 0===g?function(e){return e}:g)(t);if("-"===h)return h;var b=f?[]:["k","m","b"],y=new RegExp("((^|\\D)-\\d)|(-"+rr(v)+")").test(h),w=RegExp("(\\d+)-?"+rr(v)).exec(t)||[],S=w[0],O=w[1],x=function(e,t){void 0===t&&(t=",");var n=new RegExp(rr(t),"g");return e.replace(n,"")}(v?S?h.replace(S,"").concat(O):h.replace(v,""):h,r),E=function(e,t){var n=rr(t.join("")),r=new RegExp("[^\\d"+n+"]","gi");return e.replace(r,"")}(x,er([r,i],b)),C=E;if(!f){if(b.some((function(e){return e===E.toLowerCase().replace(i,"")})))return"";var R=function(e,t){void 0===t&&(t=".");var n=new RegExp("(\\d+("+rr(t)+"\\d*)?)([kmb])$","i"),r=e.match(n);if(r){var o=r[1],i=r[3],a=or[i.toLowerCase()];return Number(o.replace(t,"."))*a}}(E,i);R&&(C=String(R))}var P=y&&p?"-":"";if(i&&C.includes(i)){var D=E.split(i),M=D[0],I=D[1],k=l&&I?I.slice(0,l):I;return""+P+M+(s?""+i+k:"")}return""+P+C},ar=function(e,t){var n=t.groupSeparator,r=void 0===n?",":n,o=t.decimalSeparator,i=void 0===o?".":o,a=new RegExp("\\d([^"+rr(r)+rr(i)+"0-9]+)"),s=e.match(a);return s?s[1]:void 0},sr=function(e){var t=e.value,n=e.decimalSeparator,r=e.intlConfig,o=e.decimalScale,i=e.prefix,a=void 0===i?"":i,s=e.suffix,u=void 0===s?"":s;if(""===t||void 0===t)return"";if("-"===t)return"-";var l=new RegExp("^\\d?-"+(a?rr(a)+"?":"")+"\\d").test(t),c="."!==n?ur(t,n,l):t,p={minimumFractionDigits:o||0,maximumFractionDigits:20},d=(r?new Intl.NumberFormat(r.locale,r.currency?Qn(Qn({},p),{style:"currency",currency:r.currency}):p):new Intl.NumberFormat(void 0,p)).formatToParts(Number(c)),f=lr(d,e),m=ar(f,Qn({},e)),v=t.slice(-1)===n?n:"",g=(c.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return void 0===o&&g&&n&&(f=f.includes(n)?f.replace(RegExp("(\\d+)("+rr(n)+")(\\d+)","g"),"$1$2"+g):m&&!u?f.replace(m,""+n+g+m):""+f+n+g),u&&v?""+f+v+u:m&&v?f.replace(m,""+v+m):m&&u?f.replace(m,""+v+u):[f,v,u].join("")},ur=function(e,t,n){var r=e;return t&&"."!==t&&(r=r.replace(RegExp(rr(t),"g"),"."),n&&"-"===t&&(r="-"+r.slice(1))),r},lr=function(e,t){var n=t.prefix,r=t.groupSeparator,o=t.decimalSeparator,i=t.decimalScale,a=t.disableGroupSeparators,s=void 0!==a&&a;return e.reduce((function(e,t,a){var u=t.type,l=t.value;return 0===a&&n?"minusSign"===u?[l,n]:"currency"===u?er(er([],e),[n]):[n,l]:"currency"===u?n?e:er(er([],e),[l]):"group"===u?s?e:er(er([],e),[void 0!==r?r:l]):"decimal"===u?void 0!==i&&0===i?e:er(er([],e),[void 0!==o?o:l]):er(er([],e),"fraction"===u?[void 0!==i?l.slice(0,i):l]:[l])}),[""]).join("")},cr={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},pr=function(e){return RegExp(/\d/,"gi").test(e)},dr=(0,e.forwardRef)((function(n,r){var o=n.allowDecimals,i=void 0===o||o,a=n.allowNegativeValue,s=void 0===a||a,u=n.id,l=n.name,c=n.className,p=n.customInput,d=n.decimalsLimit,f=n.defaultValue,m=n.disabled,v=void 0!==m&&m,g=n.maxLength,h=n.value,b=n.onValueChange,y=n.fixedDecimalLength,w=n.placeholder,S=n.decimalScale,O=n.prefix,x=n.suffix,E=n.intlConfig,C=n.step,R=n.min,P=n.max,D=n.disableGroupSeparators,M=void 0!==D&&D,I=n.disableAbbreviations,k=void 0!==I&&I,V=n.decimalSeparator,L=n.groupSeparator,T=n.onChange,F=n.onFocus,A=n.onBlur,_=n.onKeyDown,N=n.onKeyUp,H=n.transformRawValue,B=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(n,["allowDecimals","allowNegativeValue","id","name","className","customInput","decimalsLimit","defaultValue","disabled","maxLength","value","onValueChange","fixedDecimalLength","placeholder","decimalScale","prefix","suffix","intlConfig","step","min","max","disableGroupSeparators","disableAbbreviations","decimalSeparator","groupSeparator","onChange","onFocus","onBlur","onKeyDown","onKeyUp","transformRawValue"]);if(V&&pr(V))throw new Error("decimalSeparator cannot be a number");if(L&&pr(L))throw new Error("groupSeparator cannot be a number");var j=(0,e.useMemo)((function(){return function(e){var t=e||{},n=t.locale,r=t.currency;return(n?new Intl.NumberFormat(n,r?{currency:r,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce((function(e,t,n){return"currency"===t.type?Qn(Qn({},e),0===n?{currencySymbol:t.value,prefix:t.value}:{currencySymbol:t.value,suffix:t.value}):"group"===t.type?Qn(Qn({},e),{groupSeparator:t.value}):"decimal"===t.type?Qn(Qn({},e),{decimalSeparator:t.value}):e}),cr)}(E)}),[E]),U=V||j.decimalSeparator||"",$=L||j.groupSeparator||"";if(U&&$&&U===$&&!1===M)throw new Error("decimalSeparator cannot be the same as groupSeparator");var z={decimalSeparator:U,groupSeparator:$,disableGroupSeparators:M,intlConfig:E,prefix:O||j.prefix,suffix:x},K={decimalSeparator:U,groupSeparator:$,allowDecimals:i,decimalsLimit:d||y||2,allowNegativeValue:s,disableAbbreviations:k,prefix:O||j.prefix,transformRawValue:H},G=null!=f?sr(Qn(Qn({},z),{decimalScale:S,value:String(f)})):null!=h?sr(Qn(Qn({},z),{decimalScale:S,value:String(h)})):"",W=(0,e.useState)(G),Y=W[0],Z=W[1],X=(0,e.useState)(!1),q=X[0],J=X[1],Q=(0,e.useState)(0),ee=Q[0],te=Q[1],ne=(0,e.useState)(0),re=ne[0],oe=ne[1],ie=(0,e.useState)(null),ae=ie[0],se=ie[1],ue=(0,e.useRef)(null);(0,e.useImperativeHandle)(r,(function(){return ue.current}));var le=function(e,t){J(!0);var n=function(e){var t=e.selectionStart,n=e.value,r=e.lastKeyStroke,o=e.stateValue,i=e.groupSeparator,a=t,s=n;if(o&&a){var u=n.split("");return"Backspace"===r&&o[a]===i&&(u.splice(a-1,1),a-=1),"Delete"===r&&o[a]===i&&(u.splice(a,1),a+=1),{modifiedValue:s=u.join(""),cursorPosition:a}}return{modifiedValue:s,cursorPosition:t}}({selectionStart:t,value:e,lastKeyStroke:ae,stateValue:Y,groupSeparator:$}),r=n.modifiedValue,o=n.cursorPosition,i=ir(Qn({value:r},K));if(!(g&&i.replace(/-/g,"").length>g)){if(""===i||"-"===i||i===U)return b&&b(void 0,l,{float:null,formatted:"",value:""}),Z(i),void te(1);var a=U?i.replace(U,"."):i,s=parseFloat(a),u=sr(Qn({value:i},z));if(null!=o){var c=o+(u.length-e.length);c=c<=0?O?O.length:0:c,te(c),oe(re+1)}Z(u),b&&b(i,l,{float:s,formatted:u,value:i})}};(0,e.useEffect)((function(){q&&"-"!==Y&&ue.current&&document.activeElement===ue.current&&ue.current.setSelectionRange(ee,ee)}),[Y,ee,ue,q,re]);var ce=Qn({type:"text",inputMode:"decimal",id:u,name:l,className:c,onChange:function(e){var t=e.target,n=t.value,r=t.selectionStart;le(n,r),T&&T(e)},onBlur:function(e){var t=e.target.value,n=ir(Qn({value:t},K));if("-"===n||n===U||!n)return Z(""),void(A&&A(e));var r=function(e,t,n){if(n&&e.length>1){if(e.includes(t)){var r=e.split(t),o=r[0];if((i=r[1]).length>n)return""+o+t+i.slice(0,n)}var i,a=e.length>n?new RegExp("(\\d+)(\\d{"+n+"})"):new RegExp("(\\d)(\\d+)"),s=e.match(a);if(s)return""+(o=s[1])+t+s[2]}return e}(n,U,y),o=function(e,t,n){if(void 0===t&&(t="."),void 0===n||""===e||void 0===e)return e;if(!e.match(/\d/g))return"";var r=e.split(t),o=r[0],i=r[1];if(0===n)return o;var a=i||"";if(a.length<n)for(;a.length<n;)a+="0";else a=a.slice(0,n);return""+o+t+a}(r,U,void 0!==S?S:y),i=parseFloat(o.replace(U,".")),a=sr(Qn(Qn({},z),{value:o}));b&&b(o,l,{float:i,formatted:a,value:o}),Z(a),A&&A(e)},onFocus:function(e){return F&&F(e),Y?Y.length:0},onKeyDown:function(e){var t=e.key;if(se(t),C&&("ArrowUp"===t||"ArrowDown"===t)){e.preventDefault(),te(Y.length);var n=parseFloat(null!=h?String(h).replace(U,"."):ir(Qn({value:Y},K)))||0,r="ArrowUp"===t?n+C:n-C;if(void 0!==R&&r<R)return;if(void 0!==P&&r>P)return;var o=String(C).includes(".")?Number(String(C).split(".")[1].length):void 0;le(String(o?r.toFixed(o):r).replace(".",U))}_&&_(e)},onKeyUp:function(e){var t=e.key,n=e.currentTarget.selectionStart;if("ArrowUp"!==t&&"ArrowDown"!==t&&"-"!==Y){var r=ar(Y,{groupSeparator:$,decimalSeparator:U});if(r&&n&&n>Y.length-r.length&&ue.current){var o=Y.length-r.length;ue.current.setSelectionRange(o,o)}}N&&N(e)},placeholder:w,disabled:v,value:null==h||"-"===Y||U&&Y===U?Y:sr(Qn(Qn({},z),{decimalScale:q?void 0:S,value:String(h)})),ref:ue},B);if(p){var pe=p;return t().createElement(pe,Qn({},ce))}return t().createElement("input",Qn({},ce))}));function fr(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}dr.displayName="CurrencyInput",window.wp.compose,n(86087),window.wp.keycodes,n(32485),"function"==typeof SuppressedError&&SuppressedError,fr(".mce-floatpanel,.mce-inline-toolbar-grp,.mce-notification{z-index:9999999999!important}.components-popover__content .givewp-classic-editor{margin:0!important}.givewp-classic-editor{width:100%}.givewp-classic-editor>label{box-sizing:border-box;display:block;font-size:11px;font-weight:500;line-height:1.4;margin-bottom:.7rem;margin-top:1.5rem;max-width:100%;overflow:hidden;padding-bottom:0;padding-top:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;z-index:1}.givewp-classic-editor .wp-editor-tools{z-index:auto}.givewp-classic-editor .wp-editor-tabs{display:none}.givewp-classic-editor .wp-editor-container{border-radius:.125rem;overflow:hidden}.givewp-classic-editor .mce-top-part:before{display:none}.givewp-classic-editor .mce-tinymce,.givewp-classic-editor .wp-editor-container{box-shadow:none}.givewp-classic-editor textarea{width:100%}.givewp-classic-editor .wp-switch-editor{box-sizing:content-box!important}.givewp-classic-editor.show-editor-tabs .wp-editor-tabs{display:block!important}.givewp-classic-editor.show-editor-tabs .quicktags-toolbar input.button.button-small{background:#f6f7f7;border-color:var(--wp-admin-theme-color)!important;color:var(--wp-admin-theme-color);font-size:12px!important;inline-size:auto;line-height:2;min-height:26px;padding:0 8px;vertical-align:top}.givewp-classic-editor.show-editor-tabs .wp-editor-wrap.html-active textarea{border:0}"),window.wp,(nr=tr||(tr={})).USD="USD",nr.CAD="CAD",nr.EUR="EUR",nr.AED="AED",nr.AFN="AFN",nr.ALL="ALL",nr.AMD="AMD",nr.ARS="ARS",nr.AUD="AUD",nr.AZN="AZN",nr.BAM="BAM",nr.BDT="BDT",nr.BGN="BGN",nr.BHD="BHD",nr.BIF="BIF",nr.BND="BND",nr.BOB="BOB",nr.BRL="BRL",nr.BWP="BWP",nr.BYN="BYN",nr.BZD="BZD",nr.CDF="CDF",nr.CHF="CHF",nr.CLP="CLP",nr.CNY="CNY",nr.COP="COP",nr.CRC="CRC",nr.CVE="CVE",nr.CZK="CZK",nr.DJF="DJF",nr.DKK="DKK",nr.DOP="DOP",nr.DZD="DZD",nr.EEK="EEK",nr.EGP="EGP",nr.ERN="ERN",nr.ETB="ETB",nr.GBP="GBP",nr.GEL="GEL",nr.GHS="GHS",nr.GNF="GNF",nr.GTQ="GTQ",nr.HKD="HKD",nr.HNL="HNL",nr.HRK="HRK",nr.HUF="HUF",nr.IDR="IDR",nr.ILS="ILS",nr.INR="INR",nr.IQD="IQD",nr.IRR="IRR",nr.ISK="ISK",nr.JMD="JMD",nr.JOD="JOD",nr.JPY="JPY",nr.KES="KES",nr.KHR="KHR",nr.KMF="KMF",nr.KRW="KRW",nr.KWD="KWD",nr.KZT="KZT",nr.LBP="LBP",nr.LKR="LKR",nr.LTL="LTL",nr.LVL="LVL",nr.LYD="LYD",nr.MAD="MAD",nr.MDL="MDL",nr.MGA="MGA",nr.MKD="MKD",nr.MMK="MMK",nr.MOP="MOP",nr.MUR="MUR",nr.MXN="MXN",nr.MYR="MYR",nr.MZN="MZN",nr.NAD="NAD",nr.NGN="NGN",nr.NIO="NIO",nr.NOK="NOK",nr.NPR="NPR",nr.NZD="NZD",nr.OMR="OMR",nr.PAB="PAB",nr.PEN="PEN",nr.PHP="PHP",nr.PKR="PKR",nr.PLN="PLN",nr.PYG="PYG",nr.QAR="QAR",nr.RON="RON",nr.RSD="RSD",nr.RUB="RUB",nr.RWF="RWF",nr.SAR="SAR",nr.SDG="SDG",nr.SEK="SEK",nr.SGD="SGD",nr.SOS="SOS",nr.SYP="SYP",nr.THB="THB",nr.TND="TND",nr.TOP="TOP",nr.TRY="TRY",nr.TTD="TTD",nr.TWD="TWD",nr.TZS="TZS",nr.UAH="UAH",nr.UGX="UGX",nr.UYU="UYU",nr.UZS="UZS",nr.VEF="VEF",nr.VND="VND",nr.XAF="XAF",nr.XOF="XOF",nr.YER="YER",nr.ZAR="ZAR",nr.ZMK="ZMK",nr.ZWL="ZWL",fr(".givewp-options-header{align-items:center;display:flex;flex-direction:row;gap:.5rem;justify-content:space-between;width:100%}.givewp-options-header--label{margin-bottom:0}.givewp-options-header--button{color:var(--givewp-grey-500);height:fit-content!important;min-width:fit-content!important;padding:0!important}.givewp-options-header--button svg{height:1.25rem;width:1.25rem}.givewp-options-list--item{display:grid;gap:.5rem;grid-template-columns:auto auto 1fr auto;grid-template-rows:2rem;margin-top:.5rem}.givewp-options-list--item>*{align-self:center}.givewp-options-list--item--draggable{color:var(--givewp-grey-500);cursor:grab;display:flex;user-select:none}.givewp-options-list--item--checked{margin:0!important;width:1rem!important}.givewp-options-list--item--inputs{display:flex;flex-direction:column;gap:.25rem}.givewp-options-list--item--inputs .components-base-control{margin-bottom:0!important}.givewp-options-list--item--inputs--open{grid-row:span 2}.givewp-options-list--item--inputs .givewp-options-list__textarea-wrapper{display:grid;gap:2px;width:calc(100% + 20px + .5rem)}.givewp-options-list--item--inputs .givewp-options-list__textarea-wrapper .givewp-options-list__textarea{border:1px solid #8c8c8c;border-radius:2px;height:64px}.givewp-options-list--item--inputs .givewp-options-list__textarea-counter{color:var(--givewp-grey-500);font-size:.625rem;line-height:1.4;text-align:right}.givewp-options-list--item--button{color:var(--givewp-grey-500);height:fit-content!important;min-width:fit-content!important;padding:0!important}"),fr(".givewp-form-settings__section{border-bottom:1px solid var(--givewp-grey-50);display:flex;gap:3.5rem;margin-bottom:2.5rem;padding-bottom:2.5rem}@media (max-width:1279px){.givewp-form-settings__section{flex-direction:column;gap:2rem}}.givewp-form-settings__section__header{width:20rem}@media (max-width:1279px){.givewp-form-settings__section__header{padding-left:3.25rem;width:100%}}.givewp-form-settings__section__header h4{color:var(--givewp-grey-900);font-size:1rem;line-height:1.5rem;margin:0 0 var(--givewp-spacing-2)}.givewp-form-settings__section__header p{color:var(--givewp-grey-500);font-size:.75rem;line-height:1.125rem;margin:0}.givewp-form-settings__section__body{flex:1;max-width:33.25rem}.givewp-form-settings__section__body>:not(.no-extra-gap){padding-left:3.25rem}"),fr(".givewp-block-notice{background:#fffaf2;border-left:2px solid var(--givewp-orange-400);border-radius:2px;padding:var(--givewp-spacing-3) var(--givewp-spacing-4)}.givewp-block-notice span{display:block;font-size:12px}.givewp-block-notice__title{color:var(--givewp-grey-900);font-size:.75rem;font-stretch:normal;font-style:normal;font-weight:600;line-height:1.33}.givewp-block-notice__description{color:var(--givewp-grey-700);margin:var(--givewp-spacing-2) 0 var(--givewp-spacing-4) 0}.givewp-block-notice__anchor{color:var(--givewp-grey-900);cursor:pointer}");var mr=n(16639);(0,e.createElement)(mr.A,{color:"grey"})})()})();