1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3567],{83567:function(e,t,n){n.r(t),n.d(t,{NonceProvider:function(){return td},components:function(){return eI},createFilter:function(){return eA},default:function(){return tp},defaultTheme:function(){return e5},mergeStyles:function(){return e6},useStateManager:function(){return d}});var o,i,r,a,s=n(55850),u=n(63457),l=n(57506),c=n(56945),p=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function d(e){var t=e.defaultInputValue,n=e.defaultMenuIsOpen,o=e.defaultValue,i=e.inputValue,r=e.menuIsOpen,a=e.onChange,d=e.onInputChange,f=e.onMenuClose,h=e.onMenuOpen,m=e.value,v=(0,l.Z)(e,p),g=(0,c.useState)(void 0!==i?i:void 0===t?"":t),b=(0,u.Z)(g,2),O=b[0],y=b[1],C=(0,c.useState)(void 0!==r?r:void 0!==n&&n),I=(0,u.Z)(C,2),V=I[0],M=I[1],S=(0,c.useState)(void 0!==m?m:void 0===o?null:o),E=(0,u.Z)(S,2),w=E[0],x=E[1],Z=(0,c.useCallback)(function(e,t){"function"==typeof a&&a(e,t),x(e)},[a]),P=(0,c.useCallback)(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)},[d]),D=(0,c.useCallback)(function(){"function"==typeof h&&h(),M(!0)},[h]),k=(0,c.useCallback)(function(){"function"==typeof f&&f(),M(!1)},[f]),L=void 0!==i?i:O,R=void 0!==r?r:V,F=void 0!==m?m:w;return(0,s.Z)((0,s.Z)({},v),{},{inputValue:L,menuIsOpen:R,onChange:Z,onInputChange:P,onMenuClose:k,onMenuOpen:D,value:F})}var f=n(69384),h=n(44133),m=n(99088),v=n(72546),g=n(73676),b=n(75772),O=n(38620),y=n(70793),C=n(96671),I=n(18454),V=c.createContext("undefined"!=typeof HTMLElement?(0,O.Z)({key:"css"}):null),M=V.Provider,S=c.createContext({}),E={}.hasOwnProperty,w="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",x=function(e,t){var n={};for(var o in t)E.call(t,o)&&(n[o]=t[o]);return n[w]=e,n},Z=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;return(0,y.hC)(t,n,o),(0,I.L)(function(){return(0,y.My)(t,n,o)}),null},P=(o=function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[w],r=[o],a="";"string"==typeof e.className?a=(0,y.fp)(t.registered,r,e.className):null!=e.className&&(a=e.className+" ");var s=(0,C.O)(r,void 0,c.useContext(S));a+=t.key+"-"+s.name;var u={};for(var l in e)E.call(e,l)&&"css"!==l&&l!==w&&(u[l]=e[l]);return u.className=a,n&&(u.ref=n),c.createElement(c.Fragment,null,c.createElement(Z,{cache:t,serialized:s,isStringTag:"string"==typeof i}),c.createElement(i,u))},(0,c.forwardRef)(function(e,t){return o(e,(0,c.useContext)(V),t)}));n(13266);var D=function(e,t){var n=arguments;if(null==t||!E.call(t,"css"))return c.createElement.apply(void 0,n);var o=n.length,i=Array(o);i[0]=P,i[1]=x(e,t);for(var r=2;r<o;r++)i[r]=n[r];return c.createElement.apply(null,i)};function k(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,C.O)(t)}i=D||(D={}),r||(r=i.JSX||(i.JSX={}));var L=n(11179),R=n(57094),F=n(18896),T=n(43567),H=n(70122),A=c.useLayoutEffect,U=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],N=function(){};function B(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var r=[].concat(o);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(a?"-"===a[0]?e+a:e+"__"+a:e));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var z=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===(0,L.Z)(e)&&null!==e?[e]:[]},_=function(e){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;var t=(0,l.Z)(e,U);return(0,s.Z)({},t)},W=function(e,t,n){var o=e.cx,i=e.getStyles,r=e.getClassNames,a=e.className;return{css:i(t,e),className:o(null!=n?n:{},r(t,e),a)}};function Y(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function j(e){return Y(e)?window.pageYOffset:e.scrollTop}function G(e,t){if(Y(e)){window.scrollTo(0,t);return}e.scrollTop=t}function X(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:N,i=j(e),r=t-i,a=0;!function t(){var s;a+=10,G(e,r*((s=(s=a)/n-1)*s*s+1)+i),a<n?window.requestAnimationFrame(t):o(e)}()}function q(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),i=t.offsetHeight/3;o.bottom+i>n.bottom?G(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):o.top-i<n.top&&G(e,Math.max(t.offsetTop-i,0))}function K(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var J=!1,Q="undefined"!=typeof window?window:{};Q.addEventListener&&Q.removeEventListener&&(Q.addEventListener("p",N,{get passive
1(){return J=!0}}),Q.removeEventListener("p",N,!1));var $=J;function ee(e){return null!=e}for(var et=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return Object.entries(e).filter(function(e){var t=(0,u.Z)(e,1)[0];return!n.includes(t)}).reduce(function(e,t){var n=(0,u.Z)(t,2),o=n[0],i=n[1];return e[o]=i,e},{})},en=["children","innerProps"],eo=["children","innerProps"],ei=function(e){return"auto"===e?"bottom":e},er=(0,c.createContext)(null),ea=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,r=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,p=((0,c.useContext)(er)||{}).setPortalPlacement,d=(0,c.useRef)(null),f=(0,c.useState)(o),h=(0,u.Z)(f,2),m=h[0],v=h[1],g=(0,c.useState)(null),b=(0,u.Z)(g,2),O=b[0],y=b[1],C=l.spacing.controlHeight;return A(function(){var e=d.current;if(e){var t="fixed"===r,s=function(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,i=e.placement,r=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=u.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,f=p.height,h=p.top,m=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:Y(u)?window.innerHeight:u.clientHeight,g=j(u),b=parseInt(getComputedStyle(n).marginBottom,10),O=parseInt(getComputedStyle(n).marginTop,10),y=m-O,C=v-h,I=y+g,V=c-g-h,M=d-v+g+b,S=g+h-O;switch(i){case"auto":case"bottom":if(C>=f)return{placement:"bottom",maxHeight:t};if(V>=f&&!a)return r&&X(u,M,160),{placement:"bottom",maxHeight:t};if(!a&&V>=o||a&&C>=o)return r&&X(u,M,160),{placement:"bottom",maxHeight:a?C-b:V-b};if("auto"===i||a){var E=t,w=a?y:I;return w>=o&&(E=Math.min(w-b-s,t)),{placement:"top",maxHeight:E}}if("bottom"===i)return r&&G(u,M),{placement:"bottom",maxHeight:t};break;case"top":if(y>=f)return{placement:"top",maxHeight:t};if(I>=f&&!a)return r&&X(u,S,160),{placement:"top",maxHeight:t};if(!a&&I>=o||a&&y>=o){var x=t;return(!a&&I>=o||a&&y>=o)&&(x=a?y-O:I-O),r&&X(u,S,160),{placement:"top",maxHeight:x}}return{placement:"bottom",maxHeight:t};default:throw Error('Invalid placement provided "'.concat(i,'".'))}return l}({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:C});v(s.maxHeight),y(s.placement),null==p||p(s.placement)}},[o,i,r,a,n,p,C]),t({ref:d,placerProps:(0,s.Z)((0,s.Z)({},e),{},{placement:O||ei(i),maxHeight:m})})},es=function(e,t){var n=e.theme,o=n.spacing.baseUnit,i=n.colors;return(0,s.Z)({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},eu=["size"],el=["innerProps","isRtl","size"],ec={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},ep=function(e){var t=e.size,n=(0,l.Z)(e,eu);return D("svg",(0,f.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ec},n))},ed=function(e){return D(ep,(0,f.Z)({size:20},e),D("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"}))},ef=function(e){return D(ep,(0,f.Z)({size:20},e),D("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"}))},eh=function(e,t){var n=e.isFocused,o=e.theme,i=o.spacing.baseUnit,r=o.colors;
1return(0,s.Z)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*i,":hover":{color:n?r.neutral80:r.neutral40}})},em=function(){var e=k.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_"}}}(a||(a=(0,R.Z)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),ev=function(e){var t=e.delay,n=e.offset;return D("span",{css:k({animation:"".concat(em," 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"},"","")})},eg=["data"],eb=["innerRef","isDisabled","isHidden","inputClassName"],eO={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ey={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,s.Z)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},eO)},eC=function(e){var t=e.children,n=e.innerProps;return D("div",n,t)},eI={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return D("div",(0,f.Z)({},W(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||D(ed,null))},Control:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.innerRef,r=e.innerProps,a=e.menuIsOpen;return D("div",(0,f.Z)({ref:i},W(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),r,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return D("div",(0,f.Z)({},W(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||D(ef,null))},DownChevron:ef,CrossIcon:ed,Group:function(e){var t=e.children,n=e.cx,o=e.getStyles,i=e.getClassNames,r=e.Heading,a=e.headingProps,s=e.innerProps,u=e.label,l=e.theme,c=e.selectProps;return D("div",(0,f.Z)({},W(e,"group",{group:!0}),s),D(r,(0,f.Z)({},a,{selectProps:c,theme:l,getStyles:o,getClassNames:i,cx:n}),u),D("div",null,t))},GroupHeading:function(e){var t=_(e);t.data;var n=(0,l.Z)(t,eg);return D("div",(0,f.Z)({},W(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return D("div",(0,f.Z)({},W(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return D("span",(0,f.Z)({},t,W(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,o=_(e),i=o.innerRef,r=o.isDisabled,a=o.isHidden,u=o.inputClassName,c=(0,l.Z)(o,eb);return D("div",(0,f.Z)({},W(e,"input",{"input-container":!0}),{"data-value":n||""}),D("input",(0,f.Z)({className:t({input:!0},u),ref:i,style:(0,s.Z)({label:"input",color:"inherit",background:0,opacity:a?0:1,width:"100%"},eO),disabled:r},c)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,i=(0,l.Z)(e,el);return D("div",(0,f.Z)({},W((0,s.Z)((0,s.Z)({},i),{},{innerProps:t,isRtl:n,size:void 0===o?4:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),D(ev,{delay:0,offset:n}),D(ev,{delay:160,offset:!0}),D(ev,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return D("div",(0,f.Z)({},W(e,"menu",{menu:!0}),{ref:n},o),t)},MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,i=e.isMulti;return D("div",(0,f.Z)({},W(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,i=e.innerProps,r=e.menuPlacement,a=e.menuPosition,l=(0,c.useRef)(null),p=(0,c.useRef)(null),d=(0,c.useState)(ei(r)),h=(0,u.Z)(d,2),m=h[0],v=h[1],g=(0,c.useMemo)(function(){return{setPortalPlacement:v}},[]),b=(0,c.useState)(null),O=(0,u.Z)(b,2),y=O[0],C=O[1],I=(0,c.useCallback)(function(){if(o){var e,t={bottom:(e=o.getBoundingClientRect()).bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width},n="fixed"===a?0:window.pageYOffset,i=t[m]+n;(i!==(null==y?void 0:y.offset)||t.left!==(null==y?void 0:y.rect.left)||t.width!==(null==y?void 0:y.rect.width))&&C({offset:i,rect:t})}},[o,a,m,null==y?void 0:y.offset,null==y?void 0:y.rect.left,null==y?void 0:y.rect.width]);A(function(){I()},[I]);var V=(0,c.useCallback)(function(){"function"==typeof p.current&&(p.current(),p.current=null),o&&l.current&&(p.current=(0,H.Me)(o,l.current,I,{elementResize:("ResizeObserver"in window)}))},[o,I]);A(function(){V()},[V]);var M=(0,c.useCallback)(function(e){l.current=e,V()},[V]);if(!t&&"fixed"!==a||!y)return null;var S=D("div",(0,f.Z)({ref:M},W((0,s.Z)((0,s.Z)({},e),{},{offset:y.offset,position:a,rect:y.rect}),"menuPortal",{"menu-portal":!0}),i),n);return D(er.Provider,{value:g},t?(0,T.createPortal)(S,t):S)}
1,LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,i=(0,l.Z)(e,eo);return D("div",(0,f.Z)({},W((0,s.Z)((0,s.Z)({},i),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,i=(0,l.Z)(e,en);return D("div",(0,f.Z)({},W((0,s.Z)((0,s.Z)({},i),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:function(e){var t=e.children,n=e.components,o=e.data,i=e.innerProps,r=e.isDisabled,a=e.removeProps,u=e.selectProps,l=n.Container,c=n.Label,p=n.Remove;return D(l,{data:o,innerProps:(0,s.Z)((0,s.Z)({},W(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),i),selectProps:u},D(c,{data:o,innerProps:(0,s.Z)({},W(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),D(p,{data:o,innerProps:(0,s.Z)((0,s.Z)({},W(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:u}))},MultiValueContainer:eC,MultiValueLabel:eC,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return D("div",(0,f.Z)({role:"button"},n),t||D(ed,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.innerRef,a=e.innerProps;return D("div",(0,f.Z)({},W(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":i}),{ref:r,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return D("div",(0,f.Z)({},W(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,i=e.isRtl;return D("div",(0,f.Z)({},W(e,"container",{"--is-disabled":o,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return D("div",(0,f.Z)({},W(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,i=e.hasValue;return D("div",(0,f.Z)({},W(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),n),t)}},eV=n(11673),eM={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"},eS=function(e){return D("span",(0,f.Z)({css:eM},e))},eE={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,i=e.context,r=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return r?"".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,o=void 0===n?"":n,i=e.labels,r=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return r?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,i=e.label,r=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(r," focused, ").concat(c(a,n),".");if("menu"===t&&l){var p="".concat(u?" selected":"").concat(s?" disabled":"");return"".concat(r).concat(p,", ").concat(c(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},ew=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,r=e.isFocused,a=e.selectValue,u=e.selectProps,l=e.id,p=e.isAppleDevice,d=u.ariaLiveMessages,f=u.getOptionLabel,h=u.inputValue,m=u.isMulti,v=u.isOptionDisabled,g=u.isSearchable,b=u.menuIsOpen,O=u.options,y=u.screenReaderStatus,C=u.tabSelectsValue,I=u.isLoading,V=u["aria-label"],M=u["aria-live"],S=(0,c.useMemo)(function(){return(0,s.Z)((0,s.Z)({},eE),d||{})},[d]),E=(0,c.useMemo)(function(){var e="";if(t&&S.onChange){var n=t.option,o=t.options,i=t.removedValue,r=t.removedValues,u=t.value,l=i||n||(Array.isArray(u)?null:u),c=l?f(l):"",p=o||r||void 0,d=p?p.map(f):[],h=(0,s.Z)({isDisabled:l&&v(l,a),label:c,labels:d},t);e=S.onChange(h)}return e},[t,S,v,a,f]),w=(0,c.useMemo)(function(){var e="",t=n||o,r=!!(n&&a&&a.includes(n));
1if(t&&S.onFocus){var s={focused:t,label:f(t),isDisabled:v(t,a),isSelected:r,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:p};e=S.onFocus(s)}return e},[n,o,f,v,S,i,a,p]),x=(0,c.useMemo)(function(){var e="";if(b&&O.length&&!I&&S.onFilter){var t=y({count:i.length});e=S.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,b,S,O,y,I]),Z=(null==t?void 0:t.action)==="initial-input-focus",P=(0,c.useMemo)(function(){var e="";if(S.guidance){var t=o?"value":b?"menu":"input";e=S.guidance({"aria-label":V,context:t,isDisabled:n&&v(n,a),isMulti:m,isSearchable:g,tabSelectsValue:C,isInitialFocus:Z})}return e},[V,n,o,m,v,g,b,S,a,C,Z]),k=D(c.Fragment,null,D("span",{id:"aria-selection"},E),D("span",{id:"aria-focused"},w),D("span",{id:"aria-results"},x),D("span",{id:"aria-guidance"},P));return D(c.Fragment,null,D(eS,{id:l},Z&&k),D(eS,{"aria-live":M,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},r&&!Z&&k))},ex=[{base:"A",letters:"Aâ¶ï¼¡\xc0\xc1\xc2ẦẤẪẨ\xc3ÄÄáº°áº®áº´áº²È¦Ç \xc4ÇẢ\xc5ǺÇÈÈẠẬẶá¸ÄȺⱯ"},{base:"AA",letters:"ê²"},{base:"AE",letters:"\xc6ǼǢ"},{base:"AO",letters:"ê´"},{base:"AU",letters:"ê¶"},{base:"AV",letters:"ê¸êº"},{base:"AY",letters:"ê¼"},{base:"B",letters:"Bâ·ï¼¢á¸á¸á¸ÉÆÆ"},{base:"C",letters:"Câ¸ï¼£ÄÄÄÄ\xc7á¸ÆÈ»ê¾"},{base:"D",letters:"Dâ¹ï¼¤á¸Äá¸á¸á¸á¸ÄÆÆÆê¹"},{base:"DZ",letters:"DZÇ"},{base:"Dz",letters:"DzÇ
"},{base:"E",letters:"Eâºï¼¥\xc8\xc9\xcaá»áº¾á»á»áº¼Äá¸á¸ÄÄ\xcbẺÄÈÈẸá»È¨á¸Äá¸á¸ÆÆ"},{base:"F",letters:"Fâ»ï¼¦á¸Æê»"},{base:"G",letters:"Gâ¼ï¼§Ç´ÄḠÄÄ Ç¦Ä¢Ç¤Æê ê½ê¾"},{base:"H",letters:"Hâ½ï¼¨Ä¤á¸¢á¸¦ÈḤḨḪĦⱧⱵê"},{base:"I",letters:"Iâ¾ï¼©\xcc\xcd\xceĨĪĬİ\xcfḮá»ÇÈÈá»Ä®á¸¬Æ"},{base:"J",letters:"Jâ¿ï¼ªÄ´É"},{base:"K",letters:"KâKḰǨḲĶḴÆâ±©êêêê¢"},{base:"L",letters:"LâLĿĹĽḶḸĻḼḺÅȽⱢⱠêêê"},{base:"LJ",letters:"Ç"},{base:"Lj",letters:"Ç"},{base:"M",letters:"Mâï¼á¸¾á¹á¹â±®Æ"},{base:"N",letters:"NâNǸÅ\xd1á¹Åá¹Å
á¹á¹È Æêê¤"},{base:"NJ",letters:"Ç"},{base:"Nj",letters:"Ç"},{base:"O",letters:"OâO\xd2\xd3\xd4á»á»á»á»\xd5á¹È¬á¹Åá¹á¹ÅȮȰ\xd6Ȫá»ÅÇÈÈÆ á»á»á» á»á»¢á»á»ÇªÇ¬\xd8Ç¾ÆÆêê"},{base:"OI",letters:"Æ¢"},{base:"OO",letters:"ê"},{base:"OU",letters:"È¢"},{base:"P",letters:"Pâ
ï¼°á¹á¹Æ¤â±£êêê"},{base:"Q",letters:"Qâï¼±êêÉ"},{base:"R",letters:"Râï¼²Åá¹ÅÈÈá¹á¹Åá¹ÉⱤêê¦ê"},{base:"S",letters:"Sâï¼³áºÅṤÅṠŠṦṢṨÈÅâ±¾ê¨ê"},{base:"T",letters:"TâTṪŤṬÈŢṰṮŦƬƮȾê"},{base:"TZ",letters:"ê¨"},{base:"U",letters:"Uâï¼µ\xd9\xda\xdbŨṸŪṺŬ\xdcÇÇÇÇỦŮŰÇÈÈÆ¯á»ªá»¨á»®á»¬á»°á»¤á¹²Å²á¹¶á¹´É"},{base:"V",letters:"VâVṼṾƲêÉ
"},{base:"VY",letters:"ê "},{base:"W",letters:"Wâï¼·áºáºÅ´áºáºáºâ±²"},{base:"X",letters:"XâXáºáº"},{base:"Y",letters:"YâYỲ\xddŶỸȲáºÅ¸á»¶á»´Æ³ÉỾ"},{base:"Z",letters:"ZâZŹáºÅ»Å½áºáºÆµÈ¤â±¿â±«ê¢"},{base:"a",letters:"aâï½áº\xe0\xe1\xe2ầấẫẩ\xe3ÄÄằắẵẳȧǡ\xe4Çả\xe5Ç»ÇÈÈạáºáº·á¸Ä
â±¥É"},{base:"aa",letters:"ê³"},{base:"ae",letters:"\xe6ǽǣ"},{base:"ao",letters:"êµ"},{base:"au",letters:"ê·"},{base:"av",letters:"ê¹ê»"},{base:"ay",letters:"ê½"},{base:"b",letters:"bâï½á¸á¸
á¸ÆÆÉ"},{base:"c",letters:"câï½ÄÄÄÄ\xe7á¸ÆÈ¼ê¿â"},{base:"d",letters:"dâï½á¸Äá¸á¸á¸á¸ÄÆÉÉêº"},{base:"dz",letters:"dzÇ"},{base:"e",letters:"eâï½
\xe8\xe9\xeaá»áº¿á»
á»áº½Äá¸á¸ÄÄ\xebẻÄÈ
Èẹá»È©á¸Äá¸á¸ÉÉÇ"},{base:"f",letters:"fâï½á¸Æê¼"},{base:"g",letters:"gâï½ÇµÄḡÄÄ¡Ç§Ä£Ç¥É ê¡áµ¹ê¿"},{base:"h",letters:"hâï½Ä¥á¸£á¸§ÈḥḩḫáºÄ§â±¨â±¶É¥"},{base:"hv",letters:"Æ"},{base:"i",letters:"iâï½\xec\xed\xeeĩīÄ\xefḯá»ÇÈÈá»Ä¯á¸É¨Ä±"},{base:"j",letters:"jâï½ÄµÇ°É"},{base:"k",letters:"kâï½á¸±Ç©á¸³Ä·á¸µÆâ±ªêêê
ê£"},{base:"l",letters:"lâï½ÅÄºÄ¾á¸·á¸¹Ä¼á¸½á¸»Å¿ÅÆÉ«â±¡êêê"},{base:"lj",letters:"Ç"},{base:"m",letters:"mâï½á¸¿á¹á¹É±É¯"},{base:"n",letters:"nâï½Ç¹Å\xf1á¹
Åá¹Åá¹á¹ÆÉ²Åêê¥"},{base:"nj",letters:"Ç"},{base:"o",letters:"oâï½\xf2\xf3\xf4á»á»á»á»\xf5á¹Èá¹Åá¹á¹Åȯȱ\xf6È«á»ÅÇÈÈÆ¡á»á»á»¡á»á»£á»á»Ç«Ç\xf8Ç¿Éêêɵ"},{base:"oi",letters:"Æ£"},{base:"ou",letters:"È£"},{base:"oo",letters:"ê"},{base:"p",letters:"pâï½á¹á¹Æ¥áµ½êêê"},{base:"q",letters:"qâ ï½Éêê"},{base:"r",letters:"râ¡ï½Åá¹ÅÈÈá¹á¹Åá¹Éɽêê§ê"},{base:"s",letters:"sâ¢ï½\xdfÅá¹¥ÅṡšṧṣṩÈÅÈ¿ê©ê
áº"},{base:"t",letters:"tâ£ï½á¹«áºÅ¥á¹ÈţṱṯŧÆÊⱦê"},{base:"tz",letters:"ê©"},{base:"u",letters:"uâ¤ï½\xf9\xfa\xfbũṹūṻÅ\xfcÇÇÇÇủůűÇÈÈÆ°á»«á»©á»¯á»á»±á»¥á¹³Å³á¹·á¹µÊ"},{base:"v",letters:"vâ¥ï½á¹½á¹¿ÊêÊ"},{base:"vy",letters:"ê¡"},{base:"w",letters:"wâ¦ï½áºáºÅµáºáº
áºáºâ±³"},{base:"x",letters:"xâ§ï½áºáº"},{base:"y",letters:"yâ¨ï½á»³\xfdŷỹȳáº\xffá»·áºá»µÆ´Éỿ"},{base:"z",letters:"zâ©ï½ÅºáºÅ¼Å¾áºáºÆ¶È¥Éⱬê£"}],eZ=RegExp("["+ex.map(function(e){return e.letters}).join("")+"]","g"),eP={},eD=0;eD<ex.length;eD++)for(var ek=ex[eD],eL=0;eL<ek.letters.length;eL++)eP[ek.letters[eL]]=ek.base;var eR=function(e){return e.replace(eZ,function(e){return eP[e]})},eF=(0,eV.Z)(eR),eT=function(e){return e.replace(/^\s+|\s+$/g,"")},eH=function(e){return"".concat(e.label," ").concat(e.value)},eA=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=(0,s.Z)({ignoreCase:!0,ignoreAccents:!0,stringify:eH,trim:!0,matchFrom:"any"},e),i=o.ignoreCase,r=o.ignoreAccents,a=o.stringify,u=o.trim,l=o.matchFrom,c=u?eT(n):n,p=u?eT(a(t)):a(t);return i&&(c=c.toLowerCase(),p=p.toLowerCase()),r&&(c=eF(c),p=eR(p)),"start"===l?p.substr(0,c.length)===c:p.indexOf(c)>-1}},eU=["innerRef"];function eN(e){var t=e.innerRef,n=et((0,l.Z)(e,eU),"onExited","in","enter","exit","appear");return D("input",(0,f.Z)({ref:t},n,{css:k({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 eB=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()},ez=["boxSizing","height","overflow","paddingRight","position"],e_={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function eW(e){e.cancelable&&e.preventDefault()}function eY(e){e.stopPropagation()}function ej(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function eG(){return"ontouchstart"in window||navigator.maxTouchPoints}var eX=!!("undefined"!=typeof window&&window.document&&window.document.createElement),eq=0,eK={capture:!1,passive:!1},eJ=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},eQ={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function e$(e){var t,n,o,i,r,a,s,u,l,p,d,f,h,m,v,g,b,O,y,C,I,V,M,S,E=e.children,w=e.lockEnabled,x=e.captureEnabled,Z=(n=(t={isEnabled:void 0===x||x,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}).isEnabled,o=t.onBottomArrive,i=t.onBottomLeave,r=t.onTopArrive,a=t.onTopLeave,s=(0,c.useRef)(!1),u=(0,c.useRef)(!1),l=(0,c.useRef)(0),p=(0,c.useRef)(null),d=(0,c.useCallback)(function(e,t){if(null!==p.current){var n=p.current,l=n.scrollTop,c=n.scrollHeight,d=n.clientHeight,f=p.current,h=t>0,m=c-d-l,v=!1;m>t&&s.current&&(i&&i(e),s.current=!1),h&&u.current&&(a&&a(e),u.current=!1),h&&t>m?(o&&!s.current&&o(e),f.scrollTop=c,v=!0,s.current=!0):!h&&-t>l&&(r&&!u.current&&r(e),f.scrollTop=0,v=!0,u.current=!0),v&&eB(e)}},[o,i,r,a]),f=(0,c.useCallback)(function(e){d(e,e.deltaY)},[d]),h=(0,c.useCallback)(function(e){l.current=e.changedTouches[0].clientY},[]),m=(0,c.useCallback)(function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)},[d]),v=(0,c.useCallback)(function(e){if(e){var t=!!$&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}},[m,h,f]),g=(0,c.useCallback)(function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))},[m,h,f]),(0,c.useEffect)(function(){if(n){var e=p.current;return v(e),function(){g(e)}}},[n,v,g]),function(e){p.current=e}),P=(O=(b={isEnabled:w}).isEnabled,C=void 0===(y=b.accountForScrollbars)||y,I=(0,c.useRef)({}),V=(0,c.useRef)(null),M=(0,c.useCallback)(function(e){if(eX){var t=document.body,n=t&&t.style;if(C&&ez.forEach(function(e){var t=n&&n[e];I.current[e]=t}),C&&eq<1){var o=parseInt(I.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,r=window.innerWidth-i+o||0;Object.keys(e_).forEach(function(e){var t=e_[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(r,"px"))}t&&eG()&&(t.addEventListener("touchmove",eW,eK),e&&(e.addEventListener("touchstart",ej,eK),e.addEventListener("touchmove",eY,eK))),eq+=1}},[C]),S=(0,c.useCallback)(function(e){if(eX){var t=document.body,n=t&&t.style;eq=Math.max(eq-1,0),C&&eq<1&&ez.forEach(function(e){var t=I.current[e];n&&(n[e]=t)}),t&&eG()&&(t.removeEventListener("touchmove",eW,eK),e&&(e.removeEventListener("touchstart",ej,eK),e.removeEventListener("touchmove",eY,eK)))}},[C]),(0,c.useEffect)(function(){if(O){var e=V.current;return M(e),function(){S(e)}}},[O,M,S]),function(e){V.current=e});return D(c.Fragment,null,w&&D("div",{onClick:eJ,css:eQ}),E(function(e){Z(e),P(e)}))}var e0={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;
1opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},e1=function(e){var t=e.name,n=e.onFocus;return D("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:e0,value:"",onChange:function(){}})};function e2(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}var e4={clearIndicator:eh,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,o=e.isFocused,i=e.theme,r=i.colors,a=i.borderRadius,u=i.spacing;return(0,s.Z)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?r.neutral5:r.neutral0,borderColor:n?r.neutral10:o?r.primary:r.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(r.primary):void 0,"&:hover":{borderColor:o?r.primary:r.neutral30}})},dropdownIndicator:eh,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,o=n.colors,i=n.spacing;return(0,s.Z)({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,r=o.colors;return(0,s.Z)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?r.neutral10:r.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,o=e.value,i=e.theme,r=i.spacing,a=i.colors;return(0,s.Z)((0,s.Z)({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},ey),t?{}:{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,i=e.theme,r=i.colors,a=i.spacing.baseUnit;return(0,s.Z)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*a})},loadingMessage:es,menu:function(e,t){var n,o=e.placement,i=e.theme,r=i.borderRadius,a=i.spacing,u=i.colors;return(0,s.Z)((n={label:"menu"},(0,F.Z)(n,o?({bottom:"top",top:"bottom"})[o]:"bottom","100%"),(0,F.Z)(n,"position","absolute"),(0,F.Z)(n,"width","100%"),(0,F.Z)(n,"zIndex",1),n),t?{}:{backgroundColor:u.neutral0,borderRadius:r,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return(0,s.Z)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,r=n.colors;return(0,s.Z)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:r.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,i=n.colors,r=e.cropWithEllipsis;return(0,s.Z)({overflow:"hidden",textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,r=n.colors,a=e.isFocused;return(0,s.Z)({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?r.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}})},noOptionsMessage:es,option:function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.theme,a=r.spacing,u=r.colors;return(0,s.Z)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?u.primary:o?u.primary25:"transparent",color:n?u.neutral20:i?u.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?u.primary:u.primary50}})}
1,placeholder:function(e,t){var n=e.theme,o=n.spacing,i=n.colors;return(0,s.Z)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing,r=o.colors;return(0,s.Z)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?r.neutral40:r.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,i=e.hasValue,r=e.selectProps.controlShouldRenderValue;return(0,s.Z)({alignItems:"center",display:o&&i&&r?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}};function e6(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,s.Z)({},e);return Object.keys(t).forEach(function(o){e[o]?n[o]=function(n,i){return t[o](e[o](n,i),i)}:n[o]=t[o]}),n}var e5={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}},e3={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:K(),captureMenuScroll:!K(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:eA(),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 e9(e,t,n,o){var i=tr(e,t,n),r=ta(e,t,n),a=to(e,t),s=ti(e,t);return{type:"option",data:t,isDisabled:i,isSelected:r,label:a,value:s,index:o}}function e7(e,t){return e.options.map(function(n,o){if("options"in n){var i=n.options.map(function(n,o){return e9(e,n,t,o)}).filter(function(t){return tt(e,t)});return i.length>0?{type:"group",data:n,options:i,index:o}:void 0}var r=e9(e,n,t,o);return tt(e,r)?r:void 0}).filter(ee)}function e8(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,(0,b.Z)(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function te(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,(0,b.Z)(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function tt(e,t){var n=e.inputValue,o=t.data,i=t.isSelected,r=t.label,a=t.value;return(!tu(e)||!i)&&ts(e,{label:r,value:a,data:o},void 0===n?"":n)}var tn=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},to=function(e,t){return e.getOptionLabel(t)},ti=function(e,t){return e.getOptionValue(t)};function tr(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ta(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=ti(e,t);return n.some(function(t){return ti(e,t)===o})}function ts(e,t,n){return!e.filterOption||e.filterOption(t,n)}var tu=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},tl=1,tc=function(e){(0,v.Z)(n,e);var t=(0,g.Z)(n);function n(e){var o;if((0,h.Z)(this,n),(o=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=e2(/^Mac/i)||e2(/^iPhone/i)||e2(/^iPad/i)||e2(/^Mac/i)&&navigator.maxTouchPoints>1,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,i=n.onChange,r=n.name;t.name=r,o.ariaOnChange(e,t),i(e,t)},o.setValue=function(e,t,n){var i=o.props,r=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:s}),r&&(o.setState({inputIsHiddenAfterUpdate:!a}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,i=t.
1isMulti,r=t.name,a=o.state.selectValue,s=i&&o.isOptionSelected(e,a),u=o.isOptionDisabled(e,a);if(s){var l=o.getOptionValue(e);o.setValue(a.filter(function(e){return o.getOptionValue(e)!==l}),"deselect-option",e)}else if(u){o.ariaOnChange(e,{action:"select-option",option:e,name:r});return}else i?o.setValue([].concat((0,b.Z)(a),[e]),"select-option",e):o.setValue(e,"select-option");n&&o.blurInput()},o.removeValue=function(e){var t,n=o.props.isMulti,i=o.state.selectValue,r=o.getOptionValue(e),a=i.filter(function(e){return o.getOptionValue(e)!==r}),s=(t=a[0]||null,n?a:t);o.onChange(s,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e,t,n=o.state.selectValue;o.onChange((e=o.props.isMulti,t=[],e?t:null),{action:"clear",removedValues:n})},o.popValue=function(){var e,t=o.props.isMulti,n=o.state.selectValue,i=n[n.length-1],r=n.slice(0,n.length-1),a=(e=r[0]||null,t?r:e);i&&o.onChange(a,{action:"pop-value",removedValue:i})},o.getFocusedOptionId=function(e){return tn(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return te(e7(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return B.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return to(o.props,e)},o.getOptionValue=function(e){return ti(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,i=e4[e](t,n);i.boxSizing="border-box";var r=o.props.styles[e];return r?r(i,t):i},o.getClassNames=function(e,t){var n,i;return null===(n=(i=o.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){var e;return e=o.props,(0,s.Z)((0,s.Z)({},eI),e.components)},o.buildCategorizedOptions=function(){return e7(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return e8(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:(0,s.Z)({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!o.props.isDisabled){var t=o.props,n=t.isMulti,i=t.menuIsOpen;o.focusInput(),i?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Y(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-o.initialTouchX),r=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=i>5||r>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);
vendor: 4,528 bytes, line 1
1o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return tu(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,i=t.backspaceRemovesValue,r=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,u=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,f=o.state,h=f.focusedOption,m=f.focusedValue,v=f.selectValue;if(!u){if("function"==typeof c&&(c(e),e.defaultPrevented))return;switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)o.removeValue(m);else{if(!i)return;n?o.popValue():s&&o.clearValue()}break;case"Tab":if(o.isComposing||e.shiftKey||!l||!p||!h||d&&o.isOptionSelected(h,v))return;o.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h||o.isComposing)return;o.selectOption(h);break}return;case"Escape":l?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:a}),o.onMenuClose()):s&&r&&o.clearValue();break;case" ":if(a)return;if(!l){o.openMenu("first");break}if(!h)return;o.selectOption(h);break;case"ArrowUp":l?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":l?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!l)return;o.focusOption("pageup");break;case"PageDown":if(!l)return;o.focusOption("pagedown");break;case"Home":if(!l)return;o.focusOption("first");break;case"End":if(!l)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++tl),o.state.selectValue=z(e.value),e.menuIsOpen&&o.state.selectValue.length){var i=o.getFocusableOptionsWithIds(),r=o.buildFocusableOptions(),a=r.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=i,o.state.focusedOption=r[a],o.state.focusedOptionId=tn(i,r[a])}return o}return(0,m.Z)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&q(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&o&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(q(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,o=n.selectValue,i=n.isFocused,r=this.buildFocusableOptions(),a="first"===e?0:r.length-1;if(!this.props.isMulti){var s=r.indexOf(o[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:r[a],focusedOptionId:this.getFocusedOptionId(r[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(o);o||(i=-1);var r=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?r:i-1;break;case"next":i>-1&&i<r&&(a=i+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,o=this.getFocusableOptions();if(o.length){var i=0,r=o.indexOf(n);
vendor: 7,047 bytes, line 1
1n||(r=-1),"up"===e?i=r>0?r-1:o.length-1:"down"===e?i=(r+1)%o.length:"pageup"===e?(i=r-t)<0&&(i=0):"pagedown"===e?(i=r+t)>o.length-1&&(i=o.length-1):"last"===e&&(i=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(e5):(0,s.Z)((0,s.Z)({},e5),this.props.theme):e5}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,i=this.getValue,r=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:o,getValue:i,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:r,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 tr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ta(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ts(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"!=typeof this.props.formatOptionLabel)return this.getOptionLabel(e);var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,r=e.tabIndex,a=e.form,u=e.menuIsOpen,l=e.required,p=this.getComponents().Input,d=this.state,h=d.inputIsHidden,m=d.ariaSelection,v=this.commonProps,g=o||this.getElementId("input"),b=(0,s.Z)((0,s.Z)((0,s.Z)({"aria-autocomplete":"list","aria-expanded":u,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":l,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},u&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?(null==m?void 0:m.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?c.createElement(p,(0,f.Z)({},v,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:r,form:a,type:"text",value:i},b)):c.createElement(eN,(0,f.Z)({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:N,onFocus:this.onInputFocus,disabled:t,tabIndex:r,inputMode:"none",form:a,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,r=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,p=l.controlShouldRenderValue,d=l.isDisabled,h=l.isMulti,m=l.inputValue,v=l.placeholder,g=this.state,b=g.selectValue,O=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!p)return m?null:c.createElement(s,(0,f.Z)({},u,{key:"placeholder",isDisabled:d,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),v);if(h)return b.map(function(t,a){var s=t===O,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return c.createElement(n,(0,f.Z)({},u,{components:{Container:o,Label:i,Remove:r},isFocused:s,isDisabled:d,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var C=b[0];return c.createElement(a,(0,f.Z)({},u,{data:C,isDisabled:d}),this.formatOptionLabel(C,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,r=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,f.Z)({},t,{innerProps:a,isFocused:r}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,r=this.state.isFocused;return e&&i?c.createElement(e,(0,f.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:r})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,r=this.state.isFocused;return c.createElement(n,(0,f.Z)({},o,{isDisabled:i,isFocused:r}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,f.Z)({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e,t=this,n=this.getComponents(),o=n.Group,i=n.GroupHeading,r=n.Menu,a=n.MenuList,s=n.MenuPortal,u=n.LoadingMessage,l=n.NoOptionsMessage,p=n.Option,d=this.commonProps,h=this.state.focusedOption,m=this.props,v=m.captureMenuScroll,g=m.inputValue,b=m.isLoading,O=m.loadingMessage,y=m.minMenuHeight,C=m.maxMenuHeight,I=m.menuIsOpen,V=m.menuPlacement,M=m.menuPosition,S=m.menuPortalTarget,E=m.menuShouldBlockScroll,w=m.menuShouldScrollIntoView,x=m.noOptionsMessage,Z=m.onMenu
1ScrollToTop,P=m.onMenuScrollToBottom;if(!I)return null;var D=function(e,n){var o=e.type,i=e.data,r=e.isDisabled,a=e.isSelected,s=e.label,u=e.value,l=h===i,m=r?void 0:function(){return t.onOptionHover(i)},v=r?void 0:function(){return t.selectOption(i)},g="".concat(t.getElementId("option"),"-").concat(n),b={id:g,onClick:v,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":t.isAppleDevice?void 0:a};return c.createElement(p,(0,f.Z)({},d,{innerProps:b,data:i,isDisabled:r,isSelected:a,key:g,label:s,type:o,value:u,isFocused:l,innerRef:l?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())e=this.getCategorizedOptions().map(function(e){if("group"===e.type){var n=e.data,r=e.options,a=e.index,s="".concat(t.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return c.createElement(o,(0,f.Z)({},d,{key:s,data:n,options:r,Heading:i,headingProps:{id:u,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map(function(e){return D(e,"".concat(a,"-").concat(e.index))}))}if("option"===e.type)return D(e,"".concat(e.index))});else if(b){var k=O({inputValue:g});if(null===k)return null;e=c.createElement(u,d,k)}else{var L=x({inputValue:g});if(null===L)return null;e=c.createElement(l,d,L)}var R={minMenuHeight:y,maxMenuHeight:C,menuPlacement:V,menuPosition:M,menuShouldScrollIntoView:w},F=c.createElement(ea,(0,f.Z)({},d,R),function(n){var o=n.ref,i=n.placerProps,s=i.placement,u=i.maxHeight;return c.createElement(r,(0,f.Z)({},d,R,{innerRef:o,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:b,placement:s}),c.createElement(e$,{captureEnabled:v,onTopArrive:Z,onBottomArrive:P,lockEnabled:E},function(n){return c.createElement(a,(0,f.Z)({},d,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:t.getElementId("listbox")},isLoading:b,maxHeight:u,focusedOption:h}),e)}))});return S||"fixed"===M?c.createElement(s,(0,f.Z)({},d,{appendTo:S,controlElement:this.controlRef,menuPlacement:V,menuPosition:M}),F):F}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,r=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!o)return c.createElement(e1,{name:r,onFocus:this.onValueInputFocus});if(r&&!o){if(i){if(n){var u=s.map(function(t){return e.getOptionValue(t)}).join(n);return c.createElement("input",{name:r,type:"hidden",value:u})}var l=s.length>0?s.map(function(t,n){return c.createElement("input",{key:"i-".concat(n),name:r,type:"hidden",value:e.getOptionValue(t)})}):c.createElement("input",{name:r,type:"hidden",value:""});return c.createElement("div",null,l)}var p=s[0]?this.getOptionValue(s[0]):"";return c.createElement("input",{name:r,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,r=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return c.createElement(ew,(0,f.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:r,selectValue:a,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,r=this.props,a=r.className,s=r.id,u=r.isDisabled,l=r.menuIsOpen,p=this.state.isFocused,d=this.commonProps=this.getCommonProps();return c.createElement(o,(0,f.Z)({},d,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:p}),this.renderLiveRegion(),c.createElement(t,(0,f.Z)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:p,menuIsOpen:l}),c.createElement(i,(0,f.Z)({},d,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),c.createElement(n,(0,f.Z)({},d,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o=t.prevProps,i=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,u=t.is
1Focused,l=t.prevWasFocused,c=t.instancePrefix,p=e.options,d=e.value,f=e.menuIsOpen,h=e.inputValue,m=e.isMulti,v=z(d),g={};if(o&&(d!==o.value||p!==o.options||f!==o.menuIsOpen||h!==o.inputValue)){var b,O=f?e8(e7(e,v)):[],y=f?te(e7(e,v),"".concat(c,"-option")):[],C=i?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,v):null,I=(b=t.focusedOption)&&O.indexOf(b)>-1?b:O[0],V=tn(y,I);g={selectValue:v,focusedOption:I,focusedOptionId:V,focusableOptionsWithIds:y,focusedValue:C,clearFocusValueOnUpdate:!1}}var M=null!=r&&e!==o?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},S=a,E=u&&l;return u&&!E&&(S={value:(n=v[0]||null,m?v:n),options:v,action:"initial-input-focus"},E=!l),(null==a?void 0:a.action)==="initial-input-focus"&&(S=null),(0,s.Z)((0,s.Z)((0,s.Z)({},g),M),{},{prevProps:e,ariaSelection:S,prevWasFocused:E})}}]),n}(c.Component);tc.defaultProps=e3;var tp=(0,c.forwardRef)(function(e,t){var n=d(e);return c.createElement(tc,(0,f.Z)({ref:t},n))}),td=function(e){var t=e.nonce,n=e.children,o=e.cacheKey,i=(0,c.useMemo)(function(){return(0,O.Z)({key:o,nonce:t})},[o,t]);return c.createElement(M,{value:i},n)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.