PageSourceSearch

https://www.tavi-web.com/_next/static/chunks/27x7rtbv-4-tc.js

js tavi-web.com collected 2026-10-07 18:33:39 UTC 43,787 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,461168,e=>{"use strict";var t=e.i(931067),n=e.i(209428),o=e.i(394257);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,o.default)(i.key),i)}}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}var u=e.i(410160),l=e.i(949616),c=e.i(713882);function p(e){return function(e){if(Array.isArray(e))return(0,l.default)(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,c.default)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=e.i(271645),f=e.i(589039),h=e.i(884364),v=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function m(e,t){if(e.length!==t.length)return!1;for(var n,o,i=0;i<e.length;i++)if(!((n=e[i])===(o=t[i])||v(n)&&v(o))&&1)return!1;return!0}for(var b=e.i(703923),g={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"},O=function(e){return(0,h.jsx)("span",(0,t.default)({css:g},e))},I={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,i=e.context,s=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 s?"".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,s=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 s?"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,s=void 0===i?"":i,a=e.selectValue,r=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(s," focused, ").concat(c(a,n),".");if("menu"===t&&l){var p="".concat(u?" selected":"").concat(r?" disabled":"");return"".concat(s).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:"",".")}},y=function(e){var t=e.ariaSelection,o=e.focusedOption,i=e.focusedValue,s=e.focusableOptions,a=e.isFocused,r=e.selectValue,u=e.selectProps,l=e.id,c=e.isAppleDevice,p=u.ariaLiveMessages,f=u.getOptionLabel,v=u.inputValue,m=u.isMulti,b=u.isOptionDisabled,g=u.isSearchable,y=u.menuIsOpen,V=u.options,C=u.screenReaderStatus,M=u.tabSelectsValue,E=u.isLoading,D=u["aria-label"],S=u["aria-live"],F=(0,d.useMemo)(function(){return(0,n.default)((0,n.default)({},I),p||{})},[p]),L=(0,d.useMemo)(function(){var e="";if(t&&F.onChange){var o=t.option,i=t.options,s=t.removedValue,a=t.removedValues,u=t.value,l=s||o||(Array.isArray(u)?null:u),c=l?f(l):"",p=i||a||void 0,d=p?p.map(f):[],h=(0,n.default)({isDisabled:l&&b(l,r),label:c,labels:d},t);e=F.onChange(h)}return e},[t,F,b,r,f]),k=(0,d.useMemo)(function(){var e="",t=o||i,n=!!(o&&r&&r.includes(o));if(t&&F.onFocus){var a={focused:t,label:f(t),isDisabled:b(t,r),isSelected:n,options:s,context:t===o?"menu":"value",selectValue:r,isAppleDevice:c};e=F.onFocus(a)}return e},[o,i,f,b,F,s,r,c]),w=(0,d.useMemo)(function(){var e="";if(y&&V.length&&!E&&F.onFilter){var t=C({count:s.length});e=F.onFilter({inputValue:v,resultsMessage:t})}return e},[s,v,y,F,V,C,E]),x=(null==t?void 0:t.action)==="initial-input-focus",T=(0,d.useMemo)(function(){var e="";if(F.guidance){var t=i?"value":y?"menu":"input";e=F.guidance({"aria-label":D,context:t,isDisabled:o&&b(o,r),isMulti:m,isSearchable:g,tabSelectsValue:M,isInitialFocus:x})}return e}
1,[D,o,i,m,b,g,y,F,r,M,x]),R=(0,h.jsx)(d.Fragment,null,(0,h.jsx)("span",{id:"aria-selection"},L),(0,h.jsx)("span",{id:"aria-focused"},k),(0,h.jsx)("span",{id:"aria-results"},w),(0,h.jsx)("span",{id:"aria-guidance"},T));return(0,h.jsx)(d.Fragment,null,(0,h.jsx)(O,{id:l},x&&R),(0,h.jsx)(O,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!x&&R))},V=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],C=RegExp("["+V.map(function(e){return e.letters}).join("")+"]","g"),M={},E=0;E<V.length;E++)for(var D=V[E],S=0;S<D.letters.length;S++)M[D.letters[S]]=D.base;var F=function(e){return e.replace(C,function(e){return M[e]})},L=function(e,t){void 0===t&&(t=m);var n=null;function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var s=e.apply(this,o);return n={lastResult:s,lastArgs:o,lastThis:this},s}return o.clear=function(){n=null},o}(F),k=function(e){return e.replace(/^\s+|\s+$/g,"")},w=function(e){return"".concat(e.label," ").concat(e.value)},x=function(e){return function(t,o){if(t.data.__isNew__)return!0;var i=(0,n.default)({ignoreCase:!0,ignoreAccents:!0,stringify:w,trim:!0,matchFrom:"any"},e),s=i.ignoreCase,a=i.ignoreAccents,r=i.stringify,u=i.trim,l=i.matchFrom,c=u?k(o):o,p=u?k(r(t)):r(t);return s&&(c=c.toLowerCase(),p=p.toLowerCase()),a&&(c=L(c),p=F(p)),"start"===l?p.substr(0,c.length)===c:p.indexOf(c)>-1}},T=["innerRef"];function R(e){var n=e.innerRef,o=(0,b.default)(e,T),i=(0,f.r)(o,"onExited","in","enter","exit","appear");return(0,h.jsx)("input",(0,t.default)({ref:n},i,{css:(0,h.css)({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 P=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()},A=["boxSizing","height","overflow","paddingRight","position"],H={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function j(e){e.cancelable&&e.preventDefault()}function U(e){e.stopPropagation()}function B(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function N(){return"ontouchstart"in window||navigator.maxTouchPoints}var z=!!("u">typeof window&&window.document&&window.document.createElement),W=0,Y={capture:!1,passive:!1},_=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},G={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function K(e){var t,n,o,i,s,a,r,u,l,c,p,v,m,b,g,O,I,y,V,C,M,E,D,S,F=e.children,L=e.lockEnabled,k=e.captureEnabled,w=(n=(t={isEnabled:void 0===k||k,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}).isEnabled,o=t.onBottomArrive,i=t.onBottomLeave,s=t.onTopArrive,a=t.onTopLeave,r=(0,d.useRef)(!1),u=(0,d.useRef)(!1),l=(0,d.useRef)(0),c=(0,d.useRef)(null),p=(0,d.useCallback)(function(e,t){if(null!==c.current){var n=c.current,l=n.scrollTop,p=n.scrollHeight,d=n.clientHeight,f=c.current,h=t>0,v=p-d-l,m=!1;v>t&&r.current&&(i&&i(e),r.current=!1),h&&u.current&&(a&&a(e),u.current=!1),h&&t>v?(o&&!r.current&&o(e),f.scrollTop=p,m=!0,r.current=!0):!h&&-t>l&&(s&&!u.current&&s(e),f.scrollTop=0,m=!0,u.current=!0),m&&P(e)}},[o,i,s,a]),v=(0,d.useCallback)(function(e){p(e,e.deltaY)},[p]),m=(0,d.useCallback)(function(e){l.current=e.changedTouches[0].clientY},[]),b=(0,d.useCallback)(function(e){var t=l.current-e.changedTouches[0].clientY;p(e,t)},[p]),g=(0,d.useCallback)(function(e){if(e){var t=!!f.s&&{passive:!1};e.addEventListener("wheel",v,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",b,t)}},[b,m,v]),O=(0,d.useCallback)(function(e){e&&(e.removeEventListener("wheel",v,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",b,!1))},[b,m,v]),(0,d.useEffect)(function(){if(n){var e=c.current;return g(e),function(){O(e)}}},[n,g,O]),function(e){c.current=e}),x=(y=(I={isEnabled:L}).isEnabled,C=void 0===(V=I.accountForScrollbars)||V,M=(0,d.useRef)({}),E=(0,d.useRef)(null),D=(0,d.useCallback)(function(e){if(z){var t=document.body,n=t&&t.style;if(C&&A.forEach(function(e){var t=n&&n[e];M.current[e]=t}),C&&W<1){var o=parseInt(M.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+o||0;
1Object.keys(H).forEach(function(e){var t=H[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&N()&&(t.addEventListener("touchmove",j,Y),e&&(e.addEventListener("touchstart",B,Y),e.addEventListener("touchmove",U,Y))),W+=1}},[C]),S=(0,d.useCallback)(function(e){if(z){var t=document.body,n=t&&t.style;W=Math.max(W-1,0),C&&W<1&&A.forEach(function(e){var t=M.current[e];n&&(n[e]=t)}),t&&N()&&(t.removeEventListener("touchmove",j,Y),e&&(e.removeEventListener("touchstart",B,Y),e.removeEventListener("touchmove",U,Y)))}},[C]),(0,d.useEffect)(function(){if(y){var e=E.current;return D(e),function(){S(e)}}},[y,D,S]),function(e){E.current=e});return(0,h.jsx)(d.Fragment,null,L&&(0,h.jsx)("div",{onClick:_,css:G}),F(function(e){w(e),x(e)}))}var X={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},q=function(e){var t=e.name,n=e.onFocus;return(0,h.jsx)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:X,value:"",onChange:function(){}})};function J(e){var t;return"u">typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}var Z={clearIndicator:f.a,container:f.b,control:f.d,dropdownIndicator:f.e,group:f.g,groupHeading:f.f,indicatorsContainer:f.i,indicatorSeparator:f.h,input:f.j,loadingIndicator:f.l,loadingMessage:f.k,menu:f.m,menuList:f.n,menuPortal:f.o,multiValue:f.p,multiValueLabel:f.q,multiValueRemove:f.t,noOptionsMessage:f.u,option:f.v,placeholder:f.w,singleValue:f.x,valueContainer:f.y},Q={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}},$={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,f.z)(),captureMenuScroll:!(0,f.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:x(),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:!(0,f.A)(),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 ee(e,t,n,o){var i=eu(e,t,n),s=el(e,t,n),a=ea(e,t),r=er(e,t);return{type:"option",data:t,isDisabled:i,isSelected:s,label:a,value:r,index:o}}function et(e,t){return e.options.map(function(n,o){if("options"in n){var i=n.options.map(function(n,o){return ee(e,n,t,o)}).filter(function(t){return ei(e,t)});return i.length>0?{type:"group",data:n,options:i,index:o}:void 0}var s=ee(e,n,t,o);return ei(e,s)?s:void 0}).filter(f.K)}function en(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,p(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function eo(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,p(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 ei(e,t){var n=e.inputValue,o=t.data,i=t.isSelected,s=t.label,a=t.value;return(!ep(e)||!i)&&ec(e,{label:s,value:a,data:o},void 0===n?"":n)}var es=function(e,t){var n;return(null==(n=e.find(function(e){return e.data===t}))?void 0:n.id)||null},ea=function(e,t){return e.getOptionLabel(t)}
1,er=function(e,t){return e.getOptionValue(t)};function eu(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function el(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=er(e,t);return n.some(function(t){return er(e,t)===o})}function ec(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ep=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ed=1,ef=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");v.prototype=Object.create(e&&e.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),e&&s(v,e);var o,l,c,h=(o=r(),function(){var e,t=a(v);e=o?Reflect.construct(t,arguments,a(this).constructor):t.apply(this,arguments);if(e&&("object"==(0,u.default)(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");if(void 0===this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return this});function v(e){var t;if(!(this instanceof v))throw TypeError("Cannot call a class as a function");if((t=h.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:"",isAppleDevice:!1},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var o=t.props,i=o.onChange;n.name=o.name,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,o){var i=t.props,s=i.closeMenuOnSelect,a=i.isMulti,r=i.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:r}),s&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:o})},t.selectOption=function(e){var n=t.props,o=n.blurInputOnSelect,i=n.isMulti,s=n.name,a=t.state.selectValue,r=i&&t.isOptionSelected(e,a),u=t.isOptionDisabled(e,a);if(r){var l=t.getOptionValue(e);t.setValue((0,f.B)(a.filter(function(e){return t.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void t.ariaOnChange((0,f.C)(e),{action:"select-option",option:e,name:s});i?t.setValue((0,f.B)([].concat(p(a),[e])),"select-option",e):t.setValue((0,f.C)(e),"select-option")}o&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,o=t.state.selectValue,i=t.getOptionValue(e),s=o.filter(function(e){return t.getOptionValue(e)!==i}),a=(0,f.D)(n,s,s[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange((0,f.D)(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,o=n[n.length-1],i=n.slice(0,n.length-1),s=(0,f.D)(e,i,i[0]||null);o&&t.onChange(s,{action:"pop-value",removedValue:o})},t.getFocusedOptionId=function(e){return es(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return eo(et(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return f.E.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return ea(t.props,e)},t.getOptionValue=function(e){return er(t.props,e)},t.getStyles=function(e,n){var o=t.props.unstyled,i=Z[e](n,o);i.boxSizing="border-box";var s=t.props.styles[e];return s?s(i,n):i},t.getClassNames=function(e,n){var o,i;return null==(o=(i=t.props.classNames)[e])?void 0:o.call(i,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return(0,f.F)(t.props)},t.buildCategorizedOptions=function(){return et(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return en(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,o){t.setState({ariaSelection:(0,n.default)({value:e},o)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!t.props.isDisabled){var n=t.props,o=n.isMulti,i=n.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!o}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focu
1sInput():setTimeout(function(){return t.focusInput()}))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,f.G)(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,o=n&&n.item(0);o&&(t.initialTouchX=o.clientX,t.initialTouchY=o.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,o=n&&n.item(0);if(o){var i=Math.abs(o.clientX-t.initialTouchX),s=Math.abs(o.clientY-t.initialTouchY);t.userIsDragging=i>5||s>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,o=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(o,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return ep(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,o=n.isMulti,i=n.backspaceRemovesValue,s=n.escapeClearsValue,a=n.inputValue,r=n.isClearable,u=n.isDisabled,l=n.menuIsOpen,c=n.onKeyDown,p=n.tabSelectsValue,d=n.openMenuOnFocus,f=t.state,h=f.focusedOption,v=f.focusedValue,m=f.selectValue;if(!u){if("function"==typeof c&&(c(e),e.defaultPrevented))return;switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!o||a)return;t.focusValue("previous");break;case"ArrowRight":if(!o||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(v)t.removeValue(v);else{if(!i)return;o?t.popValue():r&&t.clearValue()}break;case"Tab":if(t.isComposing||e.shiftKey||!l||!p||!h||d&&t.isOptionSelected(h,m))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h||t.isComposing)return;t.selectOption(h);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):r&&s&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;
1case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++ed),t.state.selectValue=(0,f.H)(e.value),e.menuIsOpen&&t.state.selectValue.length){var o=t.getFocusableOptionsWithIds(),i=t.buildFocusableOptions(),s=i.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=o,t.state.focusedOption=i[s],t.state.focusedOptionId=es(o,i[s])}return t}return l=[{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,f.I)(this.menuListRef,this.focusedOptionRef),(J(/^Mac/i)||J(/^iPhone/i)||J(/^iPad/i)||J(/^Mac/i)&&navigator.maxTouchPoints>1)&&this.setState({isAppleDevice:!0})}},{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&&((0,f.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,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,s=this.buildFocusableOptions(),a="first"===e?0:s.length-1;if(!this.props.isMulti){var r=s.indexOf(o[0]);r>-1&&(a=r)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:s[a],focusedOptionId:this.getFocusedOptionId(s[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 s=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?s:i-1;break;case"next":i>-1&&i<s&&(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,s=o.indexOf(n);n||(s=-1),"up"===e?i=s>0?s-1:o.length-1:"down"===e?i=(s+1)%o.length:"pageup"===e?(i=s-t)<0&&(i=0):"pagedown"===e?(i=s+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(Q):(0,n.default)((0,n.default)({},Q),this.props.theme):Q}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,i=this.getValue,s=this.selectOption,a=this.setValue,r=this.props,u=r.isMulti,l=r.isRtl,c=r.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:i,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:s,selectProps:r,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 eu(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return el(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ec(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,o=e.isDisabled,i=e.isSearchable,s=e.inputId,a=e.inputValue,r=e.tabIndex,u=e.form,l=e.menuIsOpen,c=e.required,p=this.getComponents().Input,h=this.state,v=h.inputIsHidden,m=h.ariaSelection,b=this.commonProps,g=s||this.getElementId("input"),O=(0,n.default)((0,n.default)((0,n.default)({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!i&&{"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 i?d.createElement(p,(0,t.default)({},b,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:o,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:r,form:u,type:"text",value:a},O)):d.createElement(R,(0,t.default)({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:f.J,onFocus:this.onInputFocus,disabled:o,tabIndex:r,inputMode:"none",form:u,value:""},O))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,n=this.getComponents(),o=n.MultiValue,i=n.MultiValueContainer,s=n.MultiValueLabel,a=n.MultiValueRemove,r=n.SingleValue,u=n.Placeholder,l=this.commonProps,c=this.props,p=c.controlShouldRenderValue,f=c.isDisabled,h=c.isMulti,v=c.inputValue,m=c.placeholder,b=this.state,g=b.selectValue,O=b.focusedValue,I=b.isFocused;if(!this.hasValue()||!p)return v?null:d.createElement(u,(0,t.default)({},l,{key:"placeholder",isDisabled:f,isFocused:I,innerProps:{id:this.getElementId("placeholder")}}),m);if(h)return g.map(function(n,r){var u=n===O,c="".concat(e.getOptionLabel(n),"-").concat(e.getOptionValue(n));return d.createElement(o,(0,t.default)({},l,{components:{Container:i,Label:s,Remove:a},isFocused:u,isDisabled:f,key:c,index:r,removeProps:{onClick:function(){return e.removeValue(n)},onTouchEnd:function(){return e.removeValue(n)},onMouseDown:function(e){e.preventDefault()}},data:n}),e.formatOptionLabel(n,"value"))});if(v)return null;var y=g[0];return d.createElement(r,(0,t.default)({},l,{data:y,isDisabled:f}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().
1ClearIndicator,n=this.commonProps,o=this.props,i=o.isDisabled,s=o.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||s)return null;var r={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return d.createElement(e,(0,t.default)({},n,{innerProps:r,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,n=this.commonProps,o=this.props,i=o.isDisabled,s=o.isLoading,a=this.state.isFocused;return e&&s?d.createElement(e,(0,t.default)({},n,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),n=e.DropdownIndicator,o=e.IndicatorSeparator;if(!n||!o)return null;var i=this.commonProps,s=this.props.isDisabled,a=this.state.isFocused;return d.createElement(o,(0,t.default)({},i,{isDisabled:s,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var n=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused,s={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return d.createElement(e,(0,t.default)({},n,{innerProps:s,isDisabled:o,isFocused:i}))}},{key:"renderMenu",value:function(){var e,n=this,o=this.getComponents(),i=o.Group,s=o.GroupHeading,a=o.Menu,r=o.MenuList,u=o.MenuPortal,l=o.LoadingMessage,c=o.NoOptionsMessage,p=o.Option,h=this.commonProps,v=this.state.focusedOption,m=this.props,b=m.captureMenuScroll,g=m.inputValue,O=m.isLoading,I=m.loadingMessage,y=m.minMenuHeight,V=m.maxMenuHeight,C=m.menuIsOpen,M=m.menuPlacement,E=m.menuPosition,D=m.menuPortalTarget,S=m.menuShouldBlockScroll,F=m.menuShouldScrollIntoView,L=m.noOptionsMessage,k=m.onMenuScrollToTop,w=m.onMenuScrollToBottom;if(!C)return null;var x=function(e,o){var i=e.type,s=e.data,a=e.isDisabled,r=e.isSelected,u=e.label,l=e.value,c=v===s,f=a?void 0:function(){return n.onOptionHover(s)},m=a?void 0:function(){return n.selectOption(s)},b="".concat(n.getElementId("option"),"-").concat(o),g={id:b,onClick:m,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:r};return d.createElement(p,(0,t.default)({},h,{innerProps:g,data:s,isDisabled:a,isSelected:r,key:b,label:u,type:i,value:l,isFocused:c,innerRef:c?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())e=this.getCategorizedOptions().map(function(e){if("group"===e.type){var o=e.data,a=e.options,r=e.index,u="".concat(n.getElementId("group"),"-").concat(r),l="".concat(u,"-heading");return d.createElement(i,(0,t.default)({},h,{key:u,data:o,options:a,Heading:s,headingProps:{id:l,data:e.data},label:n.formatGroupLabel(e.data)}),e.options.map(function(e){return x(e,"".concat(r,"-").concat(e.index))}))}if("option"===e.type)return x(e,"".concat(e.index))});else if(O){var T=I({inputValue:g});if(null===T)return null;e=d.createElement(l,h,T)}else{var R=L({inputValue:g});if(null===R)return null;e=d.createElement(c,h,R)}var P={minMenuHeight:y,maxMenuHeight:V,menuPlacement:M,menuPosition:E,menuShouldScrollIntoView:F},A=d.createElement(f.M,(0,t.default)({},h,P),function(o){var i=o.ref,s=o.placerProps,u=s.placement,l=s.maxHeight;return d.createElement(a,(0,t.default)({},h,P,{innerRef:i,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:O,placement:u}),d.createElement(K,{captureEnabled:b,onTopArrive:k,onBottomArrive:w,lockEnabled:S},function(o){return d.createElement(r,(0,t.default)({},h,{innerRef:function(e){n.getMenuListRef(e),o(e)},innerProps:{role:"listbox","aria-multiselectable":h.isMulti,id:n.getElementId("listbox")},isLoading:O,maxHeight:l,focusedOption:v}),e)}))});return D||"fixed"===E?d.createElement(u,(0,t.default)({},h,{appendTo:D,controlElement:this.controlRef,menuPlacement:M,menuPosition:E}),A):A}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,s=t.name,a=t.required,r=this.state.selectValue;if(a&&!this.hasValue()&&!o)return d.createElement(q,{name:s,onFocus:this.onValueInputFocus});if(s&&!o)if(i)if(n){var u=r.map(function(t){return e.getOptionValue(t)}).join(n);return d.createElement("input",{name:s,type:"hidden",value:u})}else{var l=r.length>0?r.map(function(t,n){return d.createElement("input",{key:"i-".concat(n),name:s,type:"hidden",value:e.getOptionValue(t)})}):d.createElement("input",{name:s,type:"hidden",value:""});return d.createElement("div",null,l)}else{var c=r[0]?this.getOptionValue(r[0]):"";return d.createElement("input",{name:s,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,n=this.state,o=n.ariaSelection,i=n.focusedOption,s=n.focusedValue,a=n.isFocused,r=n.selectValue,u=this.getFocusableOptions();return d.createElement(y,(0,t.default)({},e,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:i,focusedValue:s,isFocused:a,selectValue:r,focusableOptions:u,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),n=e.Control,o=e.IndicatorsContainer,i=e.SelectContainer,s=e.ValueContainer,a=this.props,r=a.className,u=a.id,l=a.isDisabled,c=a.menuIsOpen,p=this.state.isFocused,f=this.commonProps=this.getCommonProps();return d.createElement(i,(0,t.default)({},f,{className:r,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:p}),this.renderLiveRegion(),d.createElement(n,(0,t.default)({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:p,menuIsOpen:c}),d.createElement(s,(0,t.default)({},f,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),d.createElement(o,(0,t.default)({},f,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],c=[{key:"getDerivedStateFromProps",value:function(e,t){var o=t.prevProps,i=t.clearFocusValueOnUpdate,s=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,r=t.isFocused,u=t.prevWasFocused,l=t.instancePrefix,c=e.options,p=e.value,d=e.menuIsOpen,h=e.inputValue,v=e.isMulti,m=(0,f.H)(p),b={};if(o&&(p!==o.value||c!==o.options||d!==o.menuIsOpen||h!==o.inputValue)){var g,O=d?en(et(e,m)):[],I=d?eo(et(e,m),"".concat(l,"-option")):[],y=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,m):null,V=(g=t.focusedOption)&&O.indexOf(g)>-1?g:O[0],C=es(I,V);b={selectValue:m,focusedOption:V,focusedOptionId:C,focusableOptionsWithIds:I,focusedValue:y,clearFocusValueOnUpdate:!1}}var M=null!=s&&e!==o?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},E=a,D=r&&u;return r&&!D&&(E={value:(0,f.D)(v,m,m[0]||null),options:m,action:"initial-input-focus"},D=!u),(null==a?void 0:a.action)==="initial-input-focus"&&(E=null),(0,n.default)((0,n.default)((0,n.default)({},b),M),{},{prevProps:e,ariaSelection:E,prevWasFocused:D})}}],l&&i(v.prototype,l),c&&i(v,c),Object.defineProperty(v,"prototype",{writable:!1}),v}(d.Component);ef.defaultProps=$,e.s(["S",0,ef,"c",0,x,"d",0,Q,"m",0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(0,n.default)({},e);return Object.keys(t).forEach(function(n){e[n]?o[n]=function(o,i){return t[n](e[n](o,i),i)}:o[n]=t[n]}),o}],461168)},354028,e=>{"use strict";var t=e.i(209428),n=e.i(392221),o=e.i(703923),i=e.i(271645),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];e.s(["u",0,function(e){var a=e.defaultInputValue,r=e.defaultMenuIsOpen,u=e.defaultValue,l=e.inputValue,c=e.menuIsOpen,p=e.onChange,d=e.onInputChange,f=e.onMenuClose,h=e.onMenuOpen,v=e.value,m=(0,o.default)(e,s),b=(0,i.useState)(void 0!==l?l:void 0===a?"":a),g=(0,n.default)(b,2),O=g[0],I=g[1],y=(0,i.useState)(void 0!==c?c:void 0!==r&&r),V=(0,n.default)(y,2),C=V[0],M=V[1],E=(0,i.useState)(void 0!==v?v:void 0===u?null:u),D=(0,n.default)(E,2),S=D[0],F=D[1],L=(0,i.useCallback)(function(e,t){"function"==typeof p&&p(e,t),F(e)},[p]),k=(0,i.useCallback)(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),I(void 0!==n?n:e)},[d]),w=(0,i.useCallback)(function(){"function"==typeof h&&h(),M(!0)}
1,[h]),x=(0,i.useCallback)(function(){"function"==typeof f&&f(),M(!1)},[f]),T=void 0!==l?l:O,R=void 0!==c?c:C,P=void 0!==v?v:S;return(0,t.default)((0,t.default)({},m),{},{inputValue:T,menuIsOpen:R,onChange:L,onInputChange:k,onMenuClose:x,onMenuOpen:w,value:P})}])}]);

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.