1"use strict";(globalThis.webpackChunknapoleon=globalThis.webpackChunknapoleon||[]).push([[4],{7148:(Ge,ue,C)=>{C.d(ue,{S:()=>Ne,b:()=>xe,g:()=>ye});var D=C(64347),V=C(97920),me=C(94932),oe=C(19818),ae=C(72220),ie=C(11880),G=C(82055),f=C(81924),ze=C.n(f),h=C(81125),_=C(85430),se=C(28975),re=C(13398);function be(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var le={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"},Xe=function(n){return(0,_.Y)("span",(0,D.A)({css:le},n))},ge=Xe,Je={guidance:function(n){var i=n.isSearchable,a=n.isMulti,e=n.tabSelectsValue,o=n.context,l=n.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(e?", press Tab to select the option and exit the menu":"",".");case"input":return l?"".concat(n["aria-label"]||"Select"," is focused ").concat(i?",type to refine list":"",", press Down to open the menu, ").concat(a?" 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(n){var i=n.action,a=n.label,e=a===void 0?"":a,o=n.labels,l=n.isDisabled;switch(i){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(e,", 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 l?"option ".concat(e," is disabled. Select another option."):"option ".concat(e,", selected.");default:return""}},onFocus:function(n){var i=n.context,a=n.focused,e=n.options,o=n.label,l=o===void 0?"":o,d=n.selectValue,t=n.isDisabled,u=n.isSelected,s=n.isAppleDevice,c=function(m,p){return m&&m.length?"".concat(m.indexOf(p)+1," of ").concat(m.length):""};if(i==="value"&&d)return"value ".concat(l," focused, ").concat(c(d,a),".");if(i==="menu"&&s){var v=t?" disabled":"",E="".concat(u?" selected":"").concat(v);return"".concat(l).concat(E,", ").concat(c(e,a),".")}return""},onFilter:function(n){var i=n.inputValue,a=n.resultsMessage;return"".concat(a).concat(i?" for search term "+i:"",".")}},Ze=function(n){var i=n.ariaSelection,a=n.focusedOption,e=n.focusedValue,o=n.focusableOptions,l=n.isFocused,d=n.selectValue,t=n.selectProps,u=n.id,s=n.isAppleDevice,c=t.ariaLiveMessages,v=t.getOptionLabel,E=t.inputValue,b=t.isMulti,m=t.isOptionDisabled,p=t.isSearchable,g=t.menuIsOpen,A=t.options,O=t.screenReaderStatus,I=t.tabSelectsValue,M=t.isLoading,x=t["aria-label"],L=t["aria-live"],F=(0,f.useMemo)(function(){return(0,V.A)((0,V.A)({},Je),c||{})},[c]),P=(0,f.useMemo)(function(){var T="";if(i&&F.onChange){var y=i.option,W=i.options,j=i.removedValue,q=i.removedValues,ee=i.value,te=function($){return Array.isArray($)?null:$},S=j||y||te(ee),B=S?v(S):"",H=W||q||void 0,N=H?H.map(v):[],R=(0,V.A)({isDisabled:S&&m(S,d),label:B,labels:N},i);T=F.onChange(R)}return T},[i,F,m,d,v]),k=(0,f.useMemo)(function(){var T="",y=a||e,W=!!(a&&d&&d.includes(a));
1if(y&&F.onFocus){var j={focused:y,label:v(y),isDisabled:m(y,d),isSelected:W,options:o,context:y===a?"menu":"value",selectValue:d,isAppleDevice:s};T=F.onFocus(j)}return T},[a,e,v,m,F,o,d,s]),w=(0,f.useMemo)(function(){var T="";if(g&&A.length&&!M&&F.onFilter){var y=O({count:o.length});T=F.onFilter({inputValue:E,resultsMessage:y})}return T},[o,E,g,F,A,O,M]),U=i?.action==="initial-input-focus",X=(0,f.useMemo)(function(){var T="";if(F.guidance){var y=e?"value":g?"menu":"input";T=F.guidance({"aria-label":x,context:y,isDisabled:a&&m(a,d),isMulti:b,isSearchable:p,tabSelectsValue:I,isInitialFocus:U})}return T},[x,a,e,b,m,p,g,F,d,I,U]),Q=(0,_.Y)(f.Fragment,null,(0,_.Y)("span",{id:"aria-selection"},P),(0,_.Y)("span",{id:"aria-focused"},k),(0,_.Y)("span",{id:"aria-results"},w),(0,_.Y)("span",{id:"aria-guidance"},X));return(0,_.Y)(f.Fragment,null,(0,_.Y)(ge,{id:u},U&&Q),(0,_.Y)(ge,{"aria-live":L,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!U&&Q))},Qe=Ze,ce=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"}
1,{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],qe=new RegExp("["+ce.map(function(r){return r.letters}).join("")+"]","g"),Fe={},de=0;de<ce.length;de++)for(var pe=ce[de],fe=0;fe<pe.letters.length;fe++)Fe[pe.letters[fe]]=pe.base;var Ce=function(n){return n.replace(qe,function(i){return Fe[i]})},et=(0,se.A)(Ce),De=function(n){return n.replace(/^\s+|\s+$/g,"")},tt=function(n){return"".concat(n.label," ").concat(n.value)},nt=function(n){return function(i,a){if(i.data.__isNew__)return!0;var e=(0,V.A)({ignoreCase:!0,ignoreAccents:!0,stringify:tt,trim:!0,matchFrom:"any"},n),o=e.ignoreCase,l=e.ignoreAccents,d=e.stringify,t=e.trim,u=e.matchFrom,s=t?De(a):a,c=t?De(d(i)):d(i);return o&&(s=s.toLowerCase(),c=c.toLowerCase()),l&&(s=et(s),c=Ce(c)),u==="start"?c.substr(0,s.length)===s:c.indexOf(s)>-1}},ut=["innerRef"];function ot(r){var n=r.innerRef,i=(0,re.A)(r,ut),a=(0,h.r)(i,"onExited","in","enter","exit","appear");return(0,_.Y)("input",(0,D.A)({ref:n},a,{css:(0,_.AH)({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 at=function(n){n.cancelable&&n.preventDefault(),n.stopPropagation()};function it(r){var n=r.isEnabled,i=r.onBottomArrive,a=r.onBottomLeave,e=r.onTopArrive,o=r.onTopLeave,l=(0,f.useRef)(!1),d=(0,f.useRef)(!1),t=(0,f.useRef)(0),u=(0,f.useRef)(null),s=(0,f.useCallback)(function(p,g){if(u.current!==null){var A=u.current,O=A.scrollTop,I=A.scrollHeight,M=A.clientHeight,x=u.current,L=g>0,F=I-M-O,P=!1;F>g&&l.current&&(a&&a(p),l.current=!1),L&&d.current&&(o&&o(p),d.current=!1),L&&g>F?(i&&!l.current&&i(p),x.scrollTop=I,P=!0,l.current=!0):!L&&-g>O&&(e&&!d.current&&e(p),x.scrollTop=0,P=!0,d.current=!0),P&&at(p)}},[i,a,e,o]),c=(0,f.useCallback)(function(p){s(p,p.deltaY)},[s]),v=(0,f.useCallback)(function(p){t.current=p.changedTouches[0].clientY},[]),E=(0,f.useCallback)(function(p){var g=t.current-p.changedTouches[0].clientY;s(p,g)},[s]),b=(0,f.useCallback)(function(p){if(p){var g=h.s?{passive:!1}:!1;p.addEventListener("wheel",c,g),p.addEventListener("touchstart",v,g),p.addEventListener("touchmove",E,g)}},[E,v,c]),m=(0,f.useCallback)(function(p){p&&(p.removeEventListener("wheel",c,!1),p.removeEventListener("touchstart",v,!1),p.removeEventListener("touchmove",E,!1))},[E,v,c]);return(0,f.useEffect)(function(){if(n){var p=u.current;return b(p),function(){m(p)}}},[n,b,m]),function(p){u.current=p}}var Ae=["boxSizing","height","overflow","paddingRight","position"],Oe={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ie(r){r.cancelable&&r.preventDefault()}function Me(r){r.stopPropagation()}function Se(){var r=this.scrollTop,n=this.scrollHeight,i=r+this.offsetHeight;r===0?this.scrollTop=1:i===n&&(this.scrollTop=r-1)}function Ve(){return"ontouchstart"in window||navigator.maxTouchPoints}var _e=!!(typeof window<"u"&&window.document&&window.document.createElement),z=0,Y={capture:!1,passive:!1};function st(r){var n=r.isEnabled,i=r.accountForScrollbars,a=i===void 0?!0:i,e=(0,f.useRef)({}),o=(0,f.useRef)(null),l=(0,f.useCallback)(function(t){if(_e){var u=document.body,s=u&&u.style;if(a&&Ae.forEach(function(b){var m=s&&s[b];e.current[b]=m}),a&&z<1){var c=parseInt(e.current.paddingRight,10)||0,v=document.body?document.body.clientWidth:0,E=window.innerWidth-v+c||0;Object.keys(Oe).forEach(function(b){var m=Oe[b];s&&(s[b]=m)}),s&&(s.paddingRight="".concat(E,"px"))}u&&Ve()&&(u.addEventListener("touchmove",Ie,Y),t&&(t.addEventListener("touchstart",Se,Y),t.addEventListener("touchmove",Me,Y))),z+=1}},[a]),d=(0,f.useCallback)(function(t){if(_e){var u=document.body,s=u&&u.style;z=Math.max(z-1,0),a&&z<1&&Ae.forEach(function(c){var v=e.current[c];s&&(s[c]=v)}),u&&Ve()&&(u.removeEventListener("touchmove",Ie,Y),t&&(t.removeEventListener("touchstart",Se,Y),t.removeEventListener("touchmove",Me,Y)))}},[a]);return(0,f.useEffect)(function(){if(n){var t=o.current;return l(t),function(){d(t)}}},[n,l,d]),function(t){o.current=t}}function Tt(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var rt=function(n){var i=n.target;return i.ownerDocument.activeElement&&i.ownerDocument.activeElement.blur()},lt={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function ct(r){var n=r.children,i=r.lockEnabled,a=r.captureEnabled,e=a===void 0?!0:a,o=r.onBottomArrive,l=r.onBottomLeave,d=r.onTopArrive,t=r.onTopLeave,u=it({isEnabled:e,onBottomArrive:o,onBottomLeave:l,onTopArrive:d,onTo
1pLeave:t}),s=st({isEnabled:i}),c=function(E){u(E),s(E)};return(0,_.Y)(f.Fragment,null,i&&(0,_.Y)("div",{onClick:rt,css:lt}),n(c))}function Bt(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var dt={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},pt=function(n){var i=n.name,a=n.onFocus;return(0,_.Y)("input",{required:!0,name:i,tabIndex:-1,"aria-hidden":"true",onFocus:a,css:dt,value:"",onChange:function(){}})},ft=pt;function ve(r){var n;return typeof window<"u"&&window.navigator!=null?r.test(((n=window.navigator.userAgentData)===null||n===void 0?void 0:n.platform)||window.navigator.platform):!1}function vt(){return ve(/^iPhone/i)}function Le(){return ve(/^Mac/i)}function Et(){return ve(/^iPad/i)||Le()&&navigator.maxTouchPoints>1}function ht(){return vt()||Et()}function mt(){return Le()||ht()}var bt=function(n){return n.label},xe=function(n){return n.label},ye=function(n){return n.value},gt=function(n){return!!n.isDisabled},Ft={clearIndicator:h.a,container:h.b,control:h.d,dropdownIndicator:h.e,group:h.g,groupHeading:h.f,indicatorsContainer:h.i,indicatorSeparator:h.h,input:h.j,loadingIndicator:h.l,loadingMessage:h.k,menu:h.m,menuList:h.n,menuPortal:h.o,multiValue:h.p,multiValueLabel:h.q,multiValueRemove:h.t,noOptionsMessage:h.u,option:h.v,placeholder:h.w,singleValue:h.x,valueContainer:h.y};function Rt(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=_objectSpread({},r);return Object.keys(n).forEach(function(a){var e=a;r[e]?i[e]=function(o,l){return n[e](r[e](o,l),l)}:i[e]=n[e]}),i}var Ct={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%)"},Dt=4,Pe=4,At=38,Ot=Pe*2,It={baseUnit:Pe,controlHeight:At,menuGutter:Ot},Ee={borderRadius:Dt,colors:Ct,spacing:It},Mt={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,h.z)(),captureMenuScroll:!(0,h.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:nt(),formatGroupLabel:bt,getOptionLabel:xe,getOptionValue:ye,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:gt,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,h.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(n){var i=n.count;return"".concat(i," result").concat(i!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Te(r,n,i,a){var e=Ue(r,n,i),o=He(r,n,i),l=we(r,n),d=Z(r,n);return{type:"option",data:n,isDisabled:e,isSelected:o,label:l,value:d,index:a}}function J(r,n){return r.options.map(function(i,a){if("options"in i){var e=i.options.map(function(l,d){return Te(r,l,n,d)}).filter(function(l){return ke(r,l)});return e.length>0?{type:"group",data:i,options:e,index:a}:void 0}var o=Te(r,i,n,a);return ke(r,o)?o:void 0}).filter(h.K)}function Be(r){return r.reduce(function(n,i){return i.type==="group"?n.push.apply(n,(0,G.A)(i.options.map(function(a){return a.data}))):n.push(i.data),n},[])}function Re(r,n){return r.reduce(function(i,a){return a.type==="group"?i.push.apply(i,(0,G.A)(a.options.map(function(e){return{data:e.data,id:"".concat(n,"-").concat(a.index,"-").concat(e.index)}}))):i.push({data:a.data,id:"".concat(n,"-").concat(a.index)}),i},[])}function St(r,n){return Be(J(r,n))}function ke(r,n){var i=r.inputValue,a=i===void 0?"":i,e=n.data,o=n.isSelected,l=n.label,d=n.value;return(!We(r)||!o)&&$e(r,{label:l,value:d,data:e},a)}function Vt(r,n){var i=r.focusedValue,a=r.selectValue,e=a.indexOf(i);if(e>-1){var o=n.indexOf(i);if(o>-1)return i;if(e<n.length)return n[e]}return null}function _t(r,n){var i=r.focusedOption;return i&&n.indexOf(i)>-1?i:n[0]}var he=function(n,i){var a,e=(a=n.find(function(o){return o.data===i}))===null||a===void 0?void 0:a.id;return e||null},we=function(n,i){return n.getOptionLabel(i)},Z=function(n,i){return n.getOptionValue(i)};function Ue(r,n,i){return typeof r.isOptionDisabled=="function"?r.isOptionDisabled(n,i):!1}function He(r,n,i){if(i.indexOf(n)>-1)return!0;
1if(typeof r.isOptionSelected=="function")return r.isOptionSelected(n,i);var a=Z(r,n);return i.some(function(e){return Z(r,e)===a})}function $e(r,n,i){return r.filterOption?r.filterOption(n,i):!0}var We=function(n){var i=n.hideSelectedOptions,a=n.isMulti;return i===void 0?a:i},Lt=1,Ne=function(r){(0,ae.A)(i,r);var n=(0,ie.A)(i);function i(a){var e;if((0,me.A)(this,i),e=n.call(this,a),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:"",isAppleDevice:!1},e.blockOptionHover=!1,e.isComposing=!1,e.commonProps=void 0,e.initialTouchX=0,e.initialTouchY=0,e.openAfterFocus=!1,e.scrollToFocusedOptionOnUpdate=!1,e.userIsDragging=void 0,e.controlRef=null,e.getControlRef=function(t){e.controlRef=t},e.focusedOptionRef=null,e.getFocusedOptionRef=function(t){e.focusedOptionRef=t},e.menuListRef=null,e.getMenuListRef=function(t){e.menuListRef=t}
1,e.inputRef=null,e.getInputRef=function(t){e.inputRef=t},e.focus=e.focusInput,e.blur=e.blurInput,e.onChange=function(t,u){var s=e.props,c=s.onChange,v=s.name;u.name=v,e.ariaOnChange(t,u),c(t,u)},e.setValue=function(t,u,s){var c=e.props,v=c.closeMenuOnSelect,E=c.isMulti,b=c.inputValue;e.onInputChange("",{action:"set-value",prevInputValue:b}),v&&(e.setState({inputIsHiddenAfterUpdate:!E}),e.onMenuClose()),e.setState({clearFocusValueOnUpdate:!0}),e.onChange(t,{action:u,option:s})},e.selectOption=function(t){var u=e.props,s=u.blurInputOnSelect,c=u.isMulti,v=u.name,E=e.state.selectValue,b=c&&e.isOptionSelected(t,E),m=e.isOptionDisabled(t,E);if(b){var p=e.getOptionValue(t);e.setValue((0,h.B)(E.filter(function(g){return e.getOptionValue(g)!==p})),"deselect-option",t)}else if(!m)c?e.setValue((0,h.B)([].concat((0,G.A)(E),[t])),"select-option",t):e.setValue((0,h.C)(t),"select-option");else{e.ariaOnChange((0,h.C)(t),{action:"select-option",option:t,name:v});return}s&&e.blurInput()},e.removeValue=function(t){var u=e.props.isMulti,s=e.state.selectValue,c=e.getOptionValue(t),v=s.filter(function(b){return e.getOptionValue(b)!==c}),E=(0,h.D)(u,v,v[0]||null);e.onChange(E,{action:"remove-value",removedValue:t}),e.focusInput()},e.clearValue=function(){var t=e.state.selectValue;e.onChange((0,h.D)(e.props.isMulti,[],null),{action:"clear",removedValues:t})},e.popValue=function(){var t=e.props.isMulti,u=e.state.selectValue,s=u[u.length-1],c=u.slice(0,u.length-1),v=(0,h.D)(t,c,c[0]||null);s&&e.onChange(v,{action:"pop-value",removedValue:s})},e.getFocusedOptionId=function(t){return he(e.state.focusableOptionsWithIds,t)},e.getFocusableOptionsWithIds=function(){return Re(J(e.props,e.state.selectValue),e.getElementId("option"))},e.getValue=function(){return e.state.selectValue},e.cx=function(){for(var t=arguments.length,u=new Array(t),s=0;s<t;s++)u[s]=arguments[s];return h.E.apply(void 0,[e.props.classNamePrefix].concat(u))},e.getOptionLabel=function(t){return we(e.props,t)},e.getOptionValue=function(t){return Z(e.props,t)},e.getStyles=function(t,u){var s=e.props.unstyled,c=Ft[t](u,s);c.boxSizing="border-box";var v=e.props.styles[t];return v?v(c,u):c},e.getClassNames=function(t,u){var s,c;return(s=(c=e.props.classNames)[t])===null||s===void 0?void 0:s.call(c,u)},e.getElementId=function(t){return"".concat(e.state.instancePrefix,"-").concat(t)},e.getComponents=function(){return(0,h.F)(e.props)},e.buildCategorizedOptions=function(){return J(e.props,e.state.selectValue)},e.getCategorizedOptions=function(){return e.props.menuIsOpen?e.buildCategorizedOptions():[]},e.buildFocusableOptions=function(){return Be(e.buildCategorizedOptions())},e.getFocusableOptions=function(){return e.props.menuIsOpen?e.buildFocusableOptions():[]},e.ariaOnChange=function(t,u){e.setState({ariaSelection:(0,V.A)({value:t},u)})},e.onMenuMouseDown=function(t){t.button===0&&(t.stopPropagation(),t.preventDefault(),e.focusInput())},e.onMenuMouseMove=function(t){e.blockOptionHover=!1},e.onControlMouseDown=function(t){if(!t.defaultPrevented){var u=e.props.openMenuOnClick;e.state.isFocused?e.props.menuIsOpen?t.target.tagName!=="INPUT"&&t.target.tagName!=="TEXTAREA"&&e.onMenuClose():u&&e.openMenu("first"):(u&&(e.openAfterFocus=!0),e.focusInput()),t.target.tagName!=="INPUT"&&t.target.tagName!=="TEXTAREA"&&t.preventDefault()}},e.onDropdownIndicatorMouseDown=function(t){if(!(t&&t.type==="mousedown"&&t.button!==0)&&!e.props.isDisabled){var u=e.props,s=u.isMulti,c=u.menuIsOpen;e.focusInput(),c?(e.setState({inputIsHiddenAfterUpdate:!s}),e.onMenuClose()):e.openMenu("first"),t.preventDefault()}},e.onClearIndicatorMouseDown=function(t){t&&t.type==="mousedown"&&t.button!==0||(e.clearValue(),t.preventDefault(),e.openAfterFocus=!1,t.type==="touchend"?e.focusInput():setTimeout(function(){return e.focusInput()}))},e.onScroll=function(t){typeof e.props.closeMenuOnScroll=="boolean"?t.target instanceof HTMLElement&&(0,h.G)(t.target)&&e.props.onMenuClose():typeof e.props.closeMenuOnScroll=="function"&&e.props.closeMenuOnScroll(t)&&e.props.onMenuClose()},e.onCompositionStart=function(){e.isComposing=!0},e.onCompositionEnd=function(){e.isComposing=!1},e.onTouchStart=function(t){var u=t.touches,s=u&&u.item(0);s&&(e.initialTouchX=s.clientX,e.initialTouchY=s.clientY,e.userIsDragging=!1)},e.onTouchMove=function(t){var u=t.touches,s=u&&u.item(0);if(s){var c=Math.abs(s.clientX-e.initialTouchX),v=Math.abs(s.clientY-e.initialTouchY),E=5;e.userIsDragging=c>E||v>E}},e.onTouchEnd=function(t){e.userIsDragging||(e.controlRef&&!e.controlRef.contains(t.target)&&e.menuListRef&&!e.menuListRef.contains(t.target)&&e.blurInput(),e.
1initialTouchX=0,e.initialTouchY=0)},e.onControlTouchEnd=function(t){e.userIsDragging||e.onControlMouseDown(t)},e.onClearIndicatorTouchEnd=function(t){e.userIsDragging||e.onClearIndicatorMouseDown(t)},e.onDropdownIndicatorTouchEnd=function(t){e.userIsDragging||e.onDropdownIndicatorMouseDown(t)},e.handleInputChange=function(t){var u=e.props.inputValue,s=t.currentTarget.value;e.setState({inputIsHiddenAfterUpdate:!1}),e.onInputChange(s,{action:"input-change",prevInputValue:u}),e.props.menuIsOpen||e.onMenuOpen()},e.onInputFocus=function(t){e.props.onFocus&&e.props.onFocus(t),e.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(e.openAfterFocus||e.props.openMenuOnFocus)&&e.openMenu("first"),e.openAfterFocus=!1},e.onInputBlur=function(t){var u=e.props.inputValue;if(e.menuListRef&&e.menuListRef.contains(document.activeElement)){e.inputRef.focus();return}e.props.onBlur&&e.props.onBlur(t),e.onInputChange("",{action:"input-blur",prevInputValue:u}),e.onMenuClose(),e.setState({focusedValue:null,isFocused:!1})},e.onOptionHover=function(t){if(!(e.blockOptionHover||e.state.focusedOption===t)){var u=e.getFocusableOptions(),s=u.indexOf(t);e.setState({focusedOption:t,focusedOptionId:s>-1?e.getFocusedOptionId(t):null})}},e.shouldHideSelectedOptions=function(){return We(e.props)},e.onValueInputFocus=function(t){t.preventDefault(),t.stopPropagation(),e.focus()},e.onKeyDown=function(t){var u=e.props,s=u.isMulti,c=u.backspaceRemovesValue,v=u.escapeClearsValue,E=u.inputValue,b=u.isClearable,m=u.isDisabled,p=u.menuIsOpen,g=u.onKeyDown,A=u.tabSelectsValue,O=u.openMenuOnFocus,I=e.state,M=I.focusedOption,x=I.focusedValue,L=I.selectValue;if(!m&&!(typeof g=="function"&&(g(t),t.defaultPrevented))){switch(e.blockOptionHover=!0,t.key){case"ArrowLeft":if(!s||E)return;e.focusValue("previous");break;case"ArrowRight":if(!s||E)return;e.focusValue("next");break;case"Delete":case"Backspace":if(E)return;if(x)e.removeValue(x);else{if(!c)return;s?e.popValue():b&&e.clearValue()}break;case"Tab":if(e.isComposing||t.shiftKey||!p||!A||!M||O&&e.isOptionSelected(M,L))return;e.selectOption(M);break;case"Enter":if(t.keyCode===229)break;if(p){if(!M||e.isComposing)return;e.selectOption(M);break}return;case"Escape":p?(e.setState({inputIsHiddenAfterUpdate:!1}),e.onInputChange("",{action:"menu-close",prevInputValue:E}),e.onMenuClose()):b&&v&&e.clearValue();break;case" ":if(E)return;if(!p){e.openMenu("first");break}if(!M)return;e.selectOption(M);break;case"ArrowUp":p?e.focusOption("up"):e.openMenu("last");break;case"ArrowDown":p?e.focusOption("down"):e.openMenu("first");break;case"PageUp":if(!p)return;e.focusOption("pageup");break;case"PageDown":if(!p)return;e.focusOption("pagedown");break;case"Home":if(!p)return;e.focusOption("first");break;case"End":if(!p)return;e.focusOption("last");break;default:return}t.preventDefault()}},e.state.instancePrefix="react-select-"+(e.props.instanceId||++Lt),e.state.selectValue=(0,h.H)(a.value),a.menuIsOpen&&e.state.selectValue.length){var o=e.getFocusableOptionsWithIds(),l=e.buildFocusableOptions(),d=l.indexOf(e.state.selectValue[0]);e.state.focusableOptionsWithIds=o,e.state.focusedOption=l[d],e.state.focusedOptionId=he(o,l[d])}return e}return(0,oe.A)(i,[{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&&(0,h.I)(this.menuListRef,this.focusedOptionRef),mt()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var o=this.props,l=o.isDisabled,d=o.menuIsOpen,t=this.state.isFocused;(t&&!l&&e.isDisabled||t&&d&&!e.menuIsOpen)&&this.focusInput(),t&&l&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!t&&!l&&e.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,h.I)(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,o){this.props.onInputChange(e,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var o=this,l=this.state,d=l.selectValue,t=l.isFocused,u=this.buildFocusableOptions(),s=e==="first"?0:u.length-1;if(!this.props.isMulti){var c=u.indexOf(d[0]);c>-1&&(s=c)}this.scrollToFocusedOptionOnUpdate=!(t&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[s],focusedOptionId:this.getFocusedOptionId(u[s])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(e){var o=this.state,l=o.selectValue,d=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var t=l.indexOf(d);d||(t=-1);var u=l.length-1,s=-1;if(l.length){switch(e){case"previous":t===0?s=0:t===-1?s=u:s=t-1;break;case"next":t>-1&&t<u&&(s=t+1);break}this.setState({inputIsHidden:s!==-1,focusedValue:l[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,l=this.state.focusedOption,d=this.getFocusableOptions();if(d.length){var t=0,u=d.indexOf(l);l||(u=-1),e==="up"?t=u>
10?u-1:d.length-1:e==="down"?t=(u+1)%d.length:e==="pageup"?(t=u-o,t<0&&(t=0)):e==="pagedown"?(t=u+o,t>d.length-1&&(t=d.length-1)):e==="last"&&(t=d.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:d[t],focusedValue:null,focusedOptionId:this.getFocusedOptionId(d[t])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Ee):(0,V.A)((0,V.A)({},Ee),this.props.theme):Ee}},{key:"getCommonProps",value:function(){var e=this.clearValue,o=this.cx,l=this.getStyles,d=this.getClassNames,t=this.getValue,u=this.selectOption,s=this.setValue,c=this.props,v=c.isMulti,E=c.isRtl,b=c.options,m=this.hasValue();return{clearValue:e,cx:o,getStyles:l,getClassNames:d,getValue:t,hasValue:m,isMulti:v,isRtl:E,options:b,selectOption:u,selectProps:c,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){var e=this.state.selectValue;return e.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,o=e.isClearable,l=e.isMulti;return o===void 0?l:o}},{key:"isOptionDisabled",value:function(e,o){return Ue(this.props,e,o)}},{key:"isOptionSelected",value:function(e,o){return He(this.props,e,o)}},{key:"filterOption",value:function(e,o){return $e(this.props,e,o)}},{key:"formatOptionLabel",value:function(e,o){if(typeof this.props.formatOptionLabel=="function"){var l=this.props.inputValue,d=this.state.selectValue;return this.props.formatOptionLabel(e,{context:o,inputValue:l,selectValue:d})}else return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,o=e.isDisabled,l=e.isSearchable,d=e.inputId,t=e.inputValue,u=e.tabIndex,s=e.form,c=e.menuIsOpen,v=e.required,E=this.getComponents(),b=E.Input,m=this.state,p=m.inputIsHidden,g=m.ariaSelection,A=this.commonProps,O=d||this.getElementId("input"),I=(0,V.A)((0,V.A)((0,V.A)({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":v,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?g?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?f.createElement(b,(0,D.A)({},A,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:O,innerRef:this.getInputRef,isDisabled:o,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:s,type:"text",value:t},I)):f.createElement(ot,(0,D.A)({id:O,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:h.J,onFocus:this.onInputFocus,disabled:o,tabIndex:u,inputMode:"none",form:s,value:""},I))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,o=this.getComponents(),l=o.MultiValue,d=o.MultiValueContainer,t=o.MultiValueLabel,u=o.MultiValueRemove,s=o.SingleValue,c=o.Placeholder,v=this.commonProps,E=this.props,b=E.controlShouldRenderValue,m=E.isDisabled,p=E.isMulti,g=E.inputValue,A=E.placeholder,O=this.state,I=O.selectValue,M=O.focusedValue,x=O.isFocused;if(!this.hasValue()||!b)return g?null:f.createElement(c,(0,D.A)({},v,{key:"placeholder",isDisabled:m,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),A);if(p)return I.map(function(F,P){var k=F===M,w="".concat(e.getOptionLabel(F),"-").concat(e.getOptionValue(F));return f.createElement(l,(0,D.A)({},v,{components:{Container:d,Label:t,Remove:u},isFocused:k,isDisabled:m,key:w,index:P,removeProps:{onClick:function(){return e.removeValue(F)},onTouchEnd:function(){return e.removeValue(F)},onMouseDown:function(X){X.preventDefault()}},data:F}),e.formatOptionLabel(F,"value"))});if(g)return null;var L=I[0];return f.createElement(s,(0,D.A)({},v,{data:L,isDisabled:m}),this.formatOptionLabel(L,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents(),o=e.ClearIndicator,l=this.commonProps,d=this.props,t=d.isDisabled,u=d.isLoading,s=this.state.isFocused;if(!this.isClearable()||!o||t||!this.hasValue()||u)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return f.createElement(o,(0,D.A)({},l,{innerProps:c,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents(),o=e.LoadingIndicator,l=this.commonProps,d=this.props,t=d.isDisabled,u=d.isLoading,s=this.state.isFocused;if(!o||!u)return null;var c={"aria-hidden":"true"};return f.createElement(o,(0,D.A)({},l,{innerProps:c,isDisabled:t,isFocused:s}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),o=e.DropdownIndicator,l=e.IndicatorSeparator;if(!o||!l)return null;var d=this.commonProps,t=this.props.isDisabled,u=this.state.isFocused;return f.createElement(l,(0,D.A)({},d,{isDisabled:t,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents(),o=e.DropdownIndicator;if(!o)return null;var l=this.commonProps,d=this.props.isDisabled,t=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return f.createElement(o,(0,D.A)({},l,{innerProps:u,isDisabled:d,isFocused:t}))}},{key:"renderMenu",value:function(){var e=this,o=this.getComponents(),l=o.Group,d=o.GroupHeading,t=o.Menu,u=o.MenuList,s=o.MenuPortal,c=o.LoadingMessage,v=o.NoOptionsMessage,E=o.Option,b=this.commonProps,m=this.state.focusedOption,p=this.props,g=p.captureMenuScroll,A=p.inputValue,O=p.isLoading,I=p.loadingMessage,M=p.minMenuHeight,x=p.maxMenuHeight,L=p.menuIsOpen,F=p.menuPlacement,P=p.menuPosition,k=p.menuPortalTarget,w=p.menuShouldBlockScroll,U=p.menuShouldScrollIntoView,X=p.noOptionsMessage,Q=p.onMenuScrollToTop,T=p.onMenuScrollToBottom;if(!L)return null;var y=function(B,H){var N=B.type,R=B.data,K=B.isDisabled,$=B.isSelected,ne=B.label,xt=B.value,Ke=m===R,Ye=K?void 0:function(){return e.onOptionHover(R)},yt=K?void 0:function(){return e.selectOption(R)},je="".concat(e.getElementId("option"),"-").concat(H),Pt={id:je,onClick:yt,onMouseMove:Ye,onMouseOver:Ye,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:$};return f.createElement(E,(0,D.A)({},b,{innerProps:Pt,data:R,isDisabled:K,isSelected:$,key:je,label:ne,type:N,value:xt,isFocused:Ke,innerRef:Ke?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(B.data,"menu"))},W;if(this.hasOptions())W=this.getCategorizedOptions().map(function(S){if(S.type==="group"){var B=S.data,H=S.options,N=S.index,R="".concat(e.getElementId("group"),"-").concat(N),K="".concat(R,"-heading");return f.createElement(l,(0,D.A)({},b,{key:R,data:B,options:H,Heading:d,headingProps:{id:K,data:S.data},label:e.formatGroupLabel(S.data)}),S.options.map(function($){return y($,"".concat(N,"-").concat($.index))}))}else if(S.type==="option")return y(S,"".concat(S.index))});else if(O){var j=I({inputValue:A});if(j===null)return null;W=f.createElement(c,b,j)}else{var q=X({inputValue:A});if(q===null)return null;W=f.createElement(v,b,q)}var ee={minMenuHeight:M,maxMenuHeight:x,menuPlacement:F,menuPosition:P,menuShouldScrollIntoView:U},te=f.createElement(h.M,(0,D.A)({},b,ee),function(S){var B=S.ref,H=S.placerProps,N=H.placement,R=H.maxHeight;return f.createElement(t,(0,D.A)({},b,ee,{innerRef:B,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:O,placement:N}),f.createElement(ct,{captureEnabled:g,onTopArrive:Q,onBottomArrive:T,lockEnabled:w},function(K){return f.createElement(u,(0,D.A)({},b,{innerRef:function(ne){e.getMenuListRef(ne),K(ne)},innerProps:{role:"listbox","aria-multiselectable":b.isMulti,id:e.getElementId("listbox")},isLoading:O,maxHeight:R,focusedOption:m}),W)}))});return k||P==="fixed"?f.createElement(s,(0,D.A)({},b,{appendTo:k,controlElement:this.controlRef,menuPlacement:F,menuPosition:P}),te):te}},{key:"renderFormField",value:function(){var e=this,o=this.props,l=o.delimiter,d=o.isDisabled,t=o.isMulti,u=o.name,s=o.required,
1c=this.state.selectValue;if(s&&!this.hasValue()&&!d)return f.createElement(ft,{name:u,onFocus:this.onValueInputFocus});if(!(!u||d))if(t)if(l){var v=c.map(function(m){return e.getOptionValue(m)}).join(l);return f.createElement("input",{name:u,type:"hidden",value:v})}else{var E=c.length>0?c.map(function(m,p){return f.createElement("input",{key:"i-".concat(p),name:u,type:"hidden",value:e.getOptionValue(m)})}):f.createElement("input",{name:u,type:"hidden",value:""});return f.createElement("div",null,E)}else{var b=c[0]?this.getOptionValue(c[0]):"";return f.createElement("input",{name:u,type:"hidden",value:b})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,o=this.state,l=o.ariaSelection,d=o.focusedOption,t=o.focusedValue,u=o.isFocused,s=o.selectValue,c=this.getFocusableOptions();return f.createElement(Qe,(0,D.A)({},e,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:d,focusedValue:t,isFocused:u,selectValue:s,focusableOptions:c,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),o=e.Control,l=e.IndicatorsContainer,d=e.SelectContainer,t=e.ValueContainer,u=this.props,s=u.className,c=u.id,v=u.isDisabled,E=u.menuIsOpen,b=this.state.isFocused,m=this.commonProps=this.getCommonProps();return f.createElement(d,(0,D.A)({},m,{className:s,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:v,isFocused:b}),this.renderLiveRegion(),f.createElement(o,(0,D.A)({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:v,isFocused:b,menuIsOpen:E}),f.createElement(t,(0,D.A)({},m,{isDisabled:v}),this.renderPlaceholderOrValue(),this.renderInput()),f.createElement(l,(0,D.A)({},m,{isDisabled:v}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,o){var l=o.prevProps,d=o.clearFocusValueOnUpdate,t=o.inputIsHiddenAfterUpdate,u=o.ariaSelection,s=o.isFocused,c=o.prevWasFocused,v=o.instancePrefix,E=e.options,b=e.value,m=e.menuIsOpen,p=e.inputValue,g=e.isMulti,A=(0,h.H)(b),O={};if(l&&(b!==l.value||E!==l.options||m!==l.menuIsOpen||p!==l.inputValue)){var I=m?St(e,A):[],M=m?Re(J(e,A),"".concat(v,"-option")):[],x=d?Vt(o,A):null,L=_t(o,I),F=he(M,L);O={selectValue:A,focusedOption:L,focusedOptionId:F,focusableOptionsWithIds:M,focusedValue:x,clearFocusValueOnUpdate:!1}}var P=t!=null&&e!==l?{inputIsHidden:t,inputIsHiddenAfterUpdate:void 0}:{},k=u,w=s&&c;return s&&!w&&(k={value:(0,h.D)(g,A,A[0]||null),options:A,action:"initial-input-focus"},w=!c),u?.action==="initial-input-focus"&&(k=null),(0,V.A)((0,V.A)((0,V.A)({},O),P),{},{prevProps:e,ariaSelection:k,prevWasFocused:w})}}]),i}(f.Component);Ne.defaultProps=Mt},55298:(Ge,ue,C)=>{C.d(ue,{A:()=>_});var D=C(64347),V=C(81924),me=C.n(V),oe=C(7148),ae=C(37505),ie=C(56141),G=C(8942),f=C.n(G),ze=C(832),h=(0,V.forwardRef)(function(se,re){var be=(0,ae.u)(se),le=(0,ie.u)(be);return V.createElement(oe.S,(0,D.A)({ref:re},le))}),_=h}}]);
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.