PageSourceSearch

https://bugfree.ai/_next/static/chunks/82767-20a2d9541fedf23c.js

js bugfree.ai collected 2026-10-04 00:30:14 UTC 117,520 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[82767],{59366:function(e,t,n){n.d(t,{F4:function(){return c},iv:function(){return u},tZ:function(){return l}});var r,o,a=n(25205),i=n(54553);n(42678);var s=n(19179);n(75169),n(15985);var l=function(e,t){var n=arguments;if(null==t||!a.h.call(t,"css"))return i.createElement.apply(void 0,n);var r=n.length,o=Array(r);o[0]=a.E,o[1]=(0,a.c)(e,t);for(var s=2;s<r;s++)o[s]=n[s];return i.createElement.apply(null,o)};function u(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.O)(t)}function c(){var e=u.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_"}}}r=l||(l={}),o||(o=r.JSX||(r.JSX={}))},34607:function(e,t,n){function r(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{W:function(){return r}}),t.Z=r},15985:function(e,t,n){var r=n(51411),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);f&&(i=i.concat(f(n)));for(var s=l(t),m=l(n),b=0;b<i.length;++b){var g=i[b];if(!a[g]&&!(r&&r[g])&&!(m&&m[g])&&!(s&&s[g])){var v=d(n,g);try{u(t,g,v)}catch(e){}}}}return t}},12756:function(e,t,n){n.d(t,{F:function(){return i}});var r=n(54553);let o=(0,r.createContext)(void 0),a={setTheme:e=>{},themes:[]},i=()=>{var e;return null!==(e=(0,r.useContext)(o))&&void 0!==e?e:a}},50935:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(58893),o=n.n(r)},7904:function(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case d:case b:case m:case l:return e;default:return t}}case o:return t}}}function C(e){return O(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=b,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return C(e)||O(e)===c},t.isConcurrentMode=C,t.isContextConsumer=function(e){return O(e)===u},t.isContextProvider=function(e){return O(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===b},t.isMemo=function(e){return O(e)===m},t.isPortal=function(e){return O(e)===o},t.isProfiler=function(e){return O(e)===s},t.isStrictMode=function(e){return O(e)===i},t.isSuspense=function(e){return O(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===g)},t.typeOf=O},51411:function(e,t,n){e.exports=n(7904)},97696:function(e,t,n){n.d(t,{S:function(){return ed},b:function(){return Y},g:function(){return W}});var r=n(7352),o=n(56104),a=n(96338),i=n(17334),s=n(99001),l=n(52134),u=n(34126),c=n(54553),f=n(81282),d=n(59366),p=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function h(e,t){if(e.length!==t.length)return!1;for(var n,r,o=0;o<e.length;o++)if(!((n=e[o])===(r=t[o])||p(n)&&p(r)))return!1;return!0}for(var m=n(40852),b={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"},g=function(e){return(0,d.tZ)("span",(0,r.Z)({css:b},e))},v={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,a=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,a=e.isDisabled;
1switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return a?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,a=void 0===o?"":o,i=e.selectValue,s=e.isDisabled,l=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(a," focused, ").concat(c(i,n),".");if("menu"===t&&u){var f="".concat(l?" selected":"").concat(s?" disabled":"");return"".concat(a).concat(f,", ").concat(c(r,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,n=e.focusedOption,r=e.focusedValue,a=e.focusableOptions,i=e.isFocused,s=e.selectValue,l=e.selectProps,u=e.id,f=e.isAppleDevice,p=l.ariaLiveMessages,h=l.getOptionLabel,m=l.inputValue,b=l.isMulti,y=l.isOptionDisabled,w=l.isSearchable,O=l.menuIsOpen,C=l.options,E=l.screenReaderStatus,k=l.tabSelectsValue,I=l.isLoading,M=l["aria-label"],x=l["aria-live"],S=(0,c.useMemo)(function(){return(0,o.Z)((0,o.Z)({},v),p||{})},[p]),Z=(0,c.useMemo)(function(){var e="";if(t&&S.onChange){var n=t.option,r=t.options,a=t.removedValue,i=t.removedValues,l=t.value,u=a||n||(Array.isArray(l)?null:l),c=u?h(u):"",f=r||i||void 0,d=f?f.map(h):[],p=(0,o.Z)({isDisabled:u&&y(u,s),label:c,labels:d},t);e=S.onChange(p)}return e},[t,S,y,s,h]),T=(0,c.useMemo)(function(){var e="",t=n||r,o=!!(n&&s&&s.includes(n));if(t&&S.onFocus){var i={focused:t,label:h(t),isDisabled:y(t,s),isSelected:o,options:a,context:t===n?"menu":"value",selectValue:s,isAppleDevice:f};e=S.onFocus(i)}return e},[n,r,h,y,S,a,s,f]),P=(0,c.useMemo)(function(){var e="";if(O&&C.length&&!I&&S.onFilter){var t=E({count:a.length});e=S.onFilter({inputValue:m,resultsMessage:t})}return e},[a,m,O,S,C,E,I]),V=(null==t?void 0:t.action)==="initial-input-focus",L=(0,c.useMemo)(function(){var e="";if(S.guidance){var t=r?"value":O?"menu":"input";e=S.guidance({"aria-label":M,context:t,isDisabled:n&&y(n,s),isMulti:b,isSearchable:w,tabSelectsValue:k,isInitialFocus:V})}return e},[M,n,r,b,y,w,O,S,s,k,V]),R=(0,d.tZ)(c.Fragment,null,(0,d.tZ)("span",{id:"aria-selection"},Z),(0,d.tZ)("span",{id:"aria-focused"},T),(0,d.tZ)("span",{id:"aria-results"},P),(0,d.tZ)("span",{id:"aria-guidance"},L));return(0,d.tZ)(c.Fragment,null,(0,d.tZ)(g,{id:u},V&&R),(0,d.tZ)(g,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!V&&R))},w=[{base:"A",letters:"AⒶ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ⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČ\xc7ḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺE\xc8\xc9\xcaỀẾỄỂẼĒḔḖĔĖ\xcbẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾI\xcc\xcd\xceĨĪĬİ\xcfḮỈǏȈȊỊĮḬƗ"},{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ǸŃ\xd1ṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄO\xd2\xd3\xd4ỒỐỖỔ\xd5ṌȬṎŌṐṒŎȮȰ\xd6ȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬ\xd8ǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"}
1,{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊU\xd9\xda\xdbŨṸŪṺŬ\xdcǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲ\xddŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐ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ⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċč\xe7ḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔe\xe8\xe9\xeaềếễểẽēḕḗĕė\xebẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘi\xec\xed\xeeĩīĭ\xefḯỉǐȉȋịįḭɨı"},{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ǹń\xf1ṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞo\xf2\xf3\xf4ồốỗổ\xf5ṍȭṏōṑṓŏȯȱ\xf6ȫỏőǒȍȏơờớỡởợọộǫǭ\xf8ǿɔꝋꝍɵ"},{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\xdfśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤu\xf9\xfa\xfbũṹūṻŭ\xfcǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳ\xfdŷỹȳẏ\xffỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],O=RegExp("["+w.map(function(e){return e.letters}).join("")+"]","g"),C={},E=0;E<w.length;E++)for(var k=w[E],I=0;I<k.letters.length;I++)C[k.letters[I]]=k.base;var M=function(e){return e.replace(O,function(e){return C[e]})},x=function(e,t){void 0===t&&(t=h);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var a=e.apply(this,r);return n={lastResult:a,lastArgs:r,lastThis:this},a}return r.clear=function(){n=null},r}(M),S=function(e){return e.replace(/^\s+|\s+$/g,"")},Z=function(e){return"".concat(e.label," ").concat(e.value)},T=["innerRef"];function P(e){var t=e.innerRef,n=(0,m.Z)(e,T),o=(0,f.r)(n,"onExited","in","enter","exit","appear");return(0,d.tZ)("input",(0,r.Z)({ref:t},o,{css:(0,d.iv)({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 V=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()},L=["boxSizing","height","overflow","paddingRight","position"],R={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function D(e){e.cancelable&&e.preventDefault()}function F(e){e.stopPropagation()}function N(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function A(){return"ontouchstart"in window||navigator.maxTouchPoints}var _=!!("undefined"!=typeof window&&window.document&&window.document.createElement),H=0,B={capture:!1,passive:!1},z=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},U={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function $(e){var t,n,r,o,a,i,s,l,u,p,h,m,b,g,v,y,w,O,C,E,k,I,M,x,S=e.children,Z=e.lockEnabled,T=e.captureEnabled,P=(n=(t={isEnabled:void 0===T||T,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}).isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,a=t.onTopArrive,i=t.onTopLeave,s=(0,c.useRef)(!1),l=(0,c.useRef)(!1),u=(0,c.useRef)(0),p=(0,c.useRef)(null),h=(0,c.useCallback)(function(e,t){if(null!==p.current){var n=p.current,u=n.scrollTop,c=n.scrollHeight,f=n.clientHeight,d=p.current,h=t>0,m=c-f-u,b=!1;m>t&&s.current&&(o&&o(e),s.current=!1),h&&l.current&&(i&&i(e),l.current=!1),h&&t>m?(r&&!s.current&&r(e),d.scrollTop=c,b=!0,s.current=!0):!h&&-t>u&&(a&&!l.current&&a(e),d.scrollTop=0,b=!0,l.current=!0),b&&V(e)}},[r,o,a,i]),m=(0,c.useCallback)(function(e){h(e,e.deltaY)},[h]),b=(0,c.useCallback)(function(e){u.current=e.changedTouches[0].clientY},[]),g=(0,c.useCallback)(function(e){var t=u.current-e.changedTouches[0].clientY;h(e,t)},[h]),v=(0,c.useCallback)(function(e){if(e){var t=!!f.s&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",b,t),e.addEventListener("touchmove",g,t)}},[g,b,m]),y=(0,c.useCallback)(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",b,!1),e.removeEventListener("touchmove",g,!1))},[g,b,m]),(0,c.useEffect)(function(){if(n){var e=p.current;return v(e),function(){y(e)}}},[n,v,y]),function(e){p.current=e}),$=(O=(w={isEnabled:Z}).isEnabled,E=void 0===(C=w.accountForScrollbars)||C,k=(0,c.useRef)({}),I=(0,c.useRef)(null),M=(0,c.useCallback)(function(e){if(_){var t=document.body,n=t&&t.style;
1if(E&&L.forEach(function(e){var t=n&&n[e];k.current[e]=t}),E&&H<1){var r=parseInt(k.current.paddingRight,10)||0,o=document.body?document.body.clientWidth:0,a=window.innerWidth-o+r||0;Object.keys(R).forEach(function(e){var t=R[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&A()&&(t.addEventListener("touchmove",D,B),e&&(e.addEventListener("touchstart",N,B),e.addEventListener("touchmove",F,B))),H+=1}},[E]),x=(0,c.useCallback)(function(e){if(_){var t=document.body,n=t&&t.style;H=Math.max(H-1,0),E&&H<1&&L.forEach(function(e){var t=k.current[e];n&&(n[e]=t)}),t&&A()&&(t.removeEventListener("touchmove",D,B),e&&(e.removeEventListener("touchstart",N,B),e.removeEventListener("touchmove",F,B)))}},[E]),(0,c.useEffect)(function(){if(O){var e=I.current;return M(e),function(){x(e)}}},[O,M,x]),function(e){I.current=e});return(0,d.tZ)(c.Fragment,null,Z&&(0,d.tZ)("div",{onClick:z,css:U}),S(function(e){P(e),$(e)}))}var j={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,d.tZ)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:j,value:"",onChange:function(){}})};function G(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 Y=function(e){return e.label},W=function(e){return e.value},X={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},K={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}},Q={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,f.z)(),captureMenuScroll:!(0,f.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,o.Z)({ignoreCase:!0,ignoreAccents:!0,stringify:Z,trim:!0,matchFrom:"any"},void 0),r=n.ignoreCase,a=n.ignoreAccents,i=n.stringify,s=n.trim,l=n.matchFrom,u=s?S(t):t,c=s?S(i(e)):i(e);return r&&(u=u.toLowerCase(),c=c.toLowerCase()),a&&(u=x(u),c=M(c)),"start"===l?c.substr(0,u.length)===u:c.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:Y,getOptionValue:W,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 J(e,t,n,r){var o=es(e,t,n),a=el(e,t,n),i=ea(e,t),s=ei(e,t);return{type:"option",data:t,isDisabled:o,isSelected:a,label:i,value:s,index:r}}function ee(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return J(e,n,t,r)}).filter(function(t){return er(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=J(e,n,t,r);return er(e,a)?a:void 0}).filter(f.K)}function et(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,(0,u.Z)(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function en(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,(0,u.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 er(e,t){var n=e.inputValue,r=t.data,o=t.isSelected,a=t.label,i=t.value;return(!ec(e)||!o)&&eu(e,{label:a,value:i,data:r},void 0===n?"":n)}var eo=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},ea=function(e,t){return e.getOptionLabel(t)}
1,ei=function(e,t){return e.getOptionValue(t)};function es(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 r=ei(e,t);return n.some(function(t){return ei(e,t)===r})}function eu(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ec=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ef=1,ed=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;if((0,a.Z)(this,n),(r=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:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,a=n.name;t.name=a,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,a=o.closeMenuOnSelect,i=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),a&&(r.setState({inputIsHiddenAfterUpdate:!i}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,a=t.name,i=r.state.selectValue,s=o&&r.isOptionSelected(e,i),l=r.isOptionDisabled(e,i);if(s){var c=r.getOptionValue(e);r.setValue((0,f.B)(i.filter(function(e){return r.getOptionValue(e)!==c})),"deselect-option",e)}else if(l){r.ariaOnChange((0,f.C)(e),{action:"select-option",option:e,name:a});return}else o?r.setValue((0,f.B)([].concat((0,u.Z)(i),[e])),"select-option",e):r.setValue((0,f.C)(e),"select-option");n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),a=n.filter(function(e){return r.getOptionValue(e)!==o}),i=(0,f.D)(t,a,a[0]||null);r.onChange(i,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange((0,f.D)(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),a=(0,f.D)(e,o,o[0]||null);n&&r.onChange(a,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return eo(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return en(ee(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.E.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return ea(r.props,e)},r.getOptionValue=function(e){return ei(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=X[e](t,n);o.boxSizing="border-box";var a=r.props.styles[e];return a?a(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return(0,f.F)(r.props)},r.buildCategorizedOptions=function(){return ee(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return et(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:(0,o.Z)({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!r.props.isDisabled){var t=r.props,n=t.isMulti,o=t.menuIsOpen;
1r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,f.G)(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),a=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||a>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return ec(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,a=t.escapeClearsValue,i=t.inputValue,s=t.isClearable,l=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,f=t.tabSelectsValue,d=t.openMenuOnFocus,p=r.state,h=p.focusedOption,m=p.focusedValue,b=p.selectValue;if(!l){if("function"==typeof c&&(c(e),e.defaultPrevented))return;switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||i)return;r.focusValue("previous");break;case"ArrowRight":if(!n||i)return;r.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing||e.shiftKey||!u||!f||!h||d&&r.isOptionSelected(h,b))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h||r.isComposing)return;r.selectOption(h);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:i}),r.onMenuClose()):s&&a&&r.clearValue();break;case" ":if(i)return;if(!u){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++ef),r.state.selectValue=(0,f.H)(e.value),e.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),s=r.buildFocusableOptions(),l=s.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=s[l],r.state.focusedOptionId=eo(i,s[l])}return r}
1return(0,i.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&&(0,f.I)(this.menuListRef,this.focusedOptionRef),(G(/^Mac/i)||G(/^iPhone/i)||G(/^iPad/i)||G(/^Mac/i)&&navigator.maxTouchPoints>1)&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((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,r=n.selectValue,o=n.isFocused,a=this.buildFocusableOptions(),i="first"===e?0:a.length-1;if(!this.props.isMulti){var s=a.indexOf(r[0]);s>-1&&(i=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i],focusedOptionId:this.getFocusedOptionId(a[i])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var a=n.length-1,i=-1;if(n.length){switch(e){case"previous":i=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o<a&&(i=o+1)}this.setState({inputIsHidden:-1!==i,focusedValue:n[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,a=r.indexOf(n);n||(a=-1),"up"===e?o=a>0?a-1:r.length-1:"down"===e?o=(a+1)%r.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(K):(0,o.Z)((0,o.Z)({},K),this.props.theme):K}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,a=this.selectOption,i=this.setValue,s=this.props,l=s.isMulti,u=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:c,selectOption:a,selectProps:s,setValue:i,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 es(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return el(this.props,e,t)}},{key:"filterOption",value:function(e,t){return eu(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,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}},{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,a=e.inputId,i=e.inputValue,s=e.tabIndex,l=e.form,u=e.menuIsOpen,d=e.required,p=this.getComponents().Input,h=this.state,m=h.inputIsHidden,b=h.ariaSelection,g=this.commonProps,v=a||this.getElementId("input"),y=(0,o.Z)((0,o.Z)((0,o.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":d,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},u&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?(null==b?void 0:b.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?c.createElement(p,(0,r.Z)({},g,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:t,isHidden:m,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:i},y)):c.createElement(P,(0,r.Z)({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:f.J,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:l,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,a=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,u=this.commonProps,f=this.props,d=f.controlShouldRenderValue,p=f.isDisabled,h=f.isMulti,m=f.inputValue,b=f.placeholder,g=this.state,v=g.selectValue,y=g.focusedValue,w=g.isFocused;if(!this.hasValue()||!d)return m?null:c.createElement(l,(0,r.Z)({},u,{key:"placeholder",isDisabled:p,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),b);if(h)return v.map(function(t,s){var l=t===y,f="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return c.createElement(n,(0,r.Z)({},u,{components:{Container:o,Label:a,Remove:i},isFocused:l,isDisabled:p,key:f,index:s,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 O=v[0];return c.createElement(s,(0,r.Z)({},u,{data:O,isDisabled:p}),this.formatOptionLabel(O,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().
1ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,r.Z)({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,i=this.state.isFocused;return e&&a?c.createElement(e,(0,r.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused;return c.createElement(n,(0,r.Z)({},o,{isDisabled:a,isFocused:i}))}},{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,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,r.Z)({},t,{innerProps:a,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e,t=this,n=this.getComponents(),o=n.Group,a=n.GroupHeading,i=n.Menu,s=n.MenuList,l=n.MenuPortal,u=n.LoadingMessage,d=n.NoOptionsMessage,p=n.Option,h=this.commonProps,m=this.state.focusedOption,b=this.props,g=b.captureMenuScroll,v=b.inputValue,y=b.isLoading,w=b.loadingMessage,O=b.minMenuHeight,C=b.maxMenuHeight,E=b.menuIsOpen,k=b.menuPlacement,I=b.menuPosition,M=b.menuPortalTarget,x=b.menuShouldBlockScroll,S=b.menuShouldScrollIntoView,Z=b.noOptionsMessage,T=b.onMenuScrollToTop,P=b.onMenuScrollToBottom;if(!E)return null;var V=function(e,n){var o=e.type,a=e.data,i=e.isDisabled,s=e.isSelected,l=e.label,u=e.value,f=m===a,d=i?void 0:function(){return t.onOptionHover(a)},b=i?void 0:function(){return t.selectOption(a)},g="".concat(t.getElementId("option"),"-").concat(n),v={id:g,onClick:b,onMouseMove:d,onMouseOver:d,tabIndex:-1,role:"option","aria-selected":t.state.isAppleDevice?void 0:s};return c.createElement(p,(0,r.Z)({},h,{innerProps:v,data:a,isDisabled:i,isSelected:s,key:g,label:l,type:o,value:u,isFocused:f,innerRef:f?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,i=e.options,s=e.index,l="".concat(t.getElementId("group"),"-").concat(s),u="".concat(l,"-heading");return c.createElement(o,(0,r.Z)({},h,{key:l,data:n,options:i,Heading:a,headingProps:{id:u,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map(function(e){return V(e,"".concat(s,"-").concat(e.index))}))}if("option"===e.type)return V(e,"".concat(e.index))});else if(y){var L=w({inputValue:v});if(null===L)return null;e=c.createElement(u,h,L)}else{var R=Z({inputValue:v});if(null===R)return null;e=c.createElement(d,h,R)}var D={minMenuHeight:O,maxMenuHeight:C,menuPlacement:k,menuPosition:I,menuShouldScrollIntoView:S},F=c.createElement(f.M,(0,r.Z)({},h,D),function(n){var o=n.ref,a=n.placerProps,l=a.placement,u=a.maxHeight;return c.createElement(i,(0,r.Z)({},h,D,{innerRef:o,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:y,placement:l}),c.createElement($,{captureEnabled:g,onTopArrive:T,onBottomArrive:P,lockEnabled:x},function(n){return c.createElement(s,(0,r.Z)({},h,{innerRef:function(e){t.getMenuListRef(e),n(e)},innerProps:{role:"listbox","aria-multiselectable":h.isMulti,id:t.getElementId("listbox")},isLoading:y,maxHeight:u,focusedOption:m}),e)}))});return M||"fixed"===I?c.createElement(l,(0,r.Z)({},h,{appendTo:M,controlElement:this.controlRef,menuPlacement:k,menuPosition:I}),F):F}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,i=t.required,s=this.state.selectValue;if(i&&!this.hasValue()&&!r)return c.createElement(q,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(o){if(n){var l=s.map(function(t){return e.getOptionValue(t)}).join(n);return c.createElement("input",{name:a,type:"hidden",value:l})}var u=s.length>0?s.map(function(t,n){return c.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):c.createElement("input",{name:a,type:"hidden",value:""});return c.createElement("div",null,u)}var f=s[0]?this.getOptionValue(s[0]):"";return c.createElement("input",{name:a,type:"hidden",value:f})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,a=t.focusedValue,i=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return c.createElement(y,(0,r.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:a,isFocused:i,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.
1SelectContainer,a=e.ValueContainer,i=this.props,s=i.className,l=i.id,u=i.isDisabled,f=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return c.createElement(o,(0,r.Z)({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:d}),this.renderLiveRegion(),c.createElement(t,(0,r.Z)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:d,menuIsOpen:f}),c.createElement(a,(0,r.Z)({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),c.createElement(n,(0,r.Z)({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,l=t.prevWasFocused,u=t.instancePrefix,c=e.options,d=e.value,p=e.menuIsOpen,h=e.inputValue,m=e.isMulti,b=(0,f.H)(d),g={};if(n&&(d!==n.value||c!==n.options||p!==n.menuIsOpen||h!==n.inputValue)){var v,y=p?et(ee(e,b)):[],w=p?en(ee(e,b),"".concat(u,"-option")):[],O=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,b):null,C=(v=t.focusedOption)&&y.indexOf(v)>-1?v:y[0],E=eo(w,C);g={selectValue:b,focusedOption:C,focusedOptionId:E,focusableOptionsWithIds:w,focusedValue:O,clearFocusValueOnUpdate:!1}}var k=null!=a&&e!==n?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},I=i,M=s&&l;return s&&!M&&(I={value:(0,f.D)(m,b,b[0]||null),options:b,action:"initial-input-focus"},M=!l),(null==i?void 0:i.action)==="initial-input-focus"&&(I=null),(0,o.Z)((0,o.Z)((0,o.Z)({},g),k),{},{prevProps:e,ariaSelection:I,prevWasFocused:M})}}]),n}(c.Component);ed.defaultProps=Q},81282:function(e,t,n){n.d(t,{A:function(){return Z},B:function(){return F},C:function(){return D},D:function(){return R},E:function(){return y},F:function(){return ex},G:function(){return E},H:function(){return w},I:function(){return x},J:function(){return v},K:function(){return L},M:function(){return U},a:function(){return ei},b:function(){return W},d:function(){return ef},e:function(){return ea},f:function(){return eh},g:function(){return ep},h:function(){return es},i:function(){return K},j:function(){return eb},k:function(){return G},l:function(){return eu},m:function(){return B},n:function(){return $},o:function(){return Y},p:function(){return ey},q:function(){return ew},r:function(){return N},s:function(){return V},t:function(){return eO},u:function(){return q},v:function(){return eE},w:function(){return ek},x:function(){return eI},y:function(){return X},z:function(){return S}});var r,o,a,i=n(56104),s=n(7352),l=n(59366),u=n(53289),c=n(40852),f=n(9620),d=n(32238),p=n(54553),h=n(93767),m=n(53546),b=n(55792),g=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],v=function(){};function y(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=[].concat(r);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&a.push("".concat(i?"-"===i[0]?e+i:e+"__"+i:e));return a.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var w=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===(0,f.Z)(e)&&null!==e?[e]:[]},O=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,c.Z)(e,g);return(0,i.Z)({},t)},C=function(e,t,n){var r=e.cx,o=e.getStyles,a=e.getClassNames,i=e.className;return{css:o(t,e),className:r(null!=n?n:{},a(t,e),i)}};function E(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function k(e){return E(e)?window.pageYOffset:e.scrollTop}function I(e,t){if(E(e)){window.scrollTo(0,t);return}e.scrollTop=t}function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:v,o=k(e),a=t-o,i=0;!function t(){var s;i+=10,I(e,a*((s=(s=i)/n-1)*s*s+1)+o),i<n?window.requestAnimationFrame(t):r(e)}()}function x(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?I(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&I(e,Math.max(t.offsetTop-o,0))}function S(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function Z(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var T=!1,P="undefined"!=typeof window?window:{};P.addEventListener&&P.removeEventListener&&(P.addEventListener("p",v,{get passive
1(){return T=!0}}),P.removeEventListener("p",v,!1));var V=T;function L(e){return null!=e}function R(e,t,n){return e?t:n}function D(e){return e}function F(e){return e}var N=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.entries(e).filter(function(e){var t=(0,u.Z)(e,1)[0];return!n.includes(t)}).reduce(function(e,t){var n=(0,u.Z)(t,2),r=n[0],o=n[1];return e[r]=o,e},{})},A=["children","innerProps"],_=["children","innerProps"],H=function(e){return"auto"===e?"bottom":e},B=function(e,t){var n,r=e.placement,o=e.theme,a=o.borderRadius,s=o.spacing,l=o.colors;return(0,i.Z)((n={label:"menu"},(0,d.Z)(n,r?({bottom:"top",top:"bottom"})[r]:"bottom","100%"),(0,d.Z)(n,"position","absolute"),(0,d.Z)(n,"width","100%"),(0,d.Z)(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},z=(0,p.createContext)(null),U=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=((0,p.useContext)(z)||{}).setPortalPlacement,f=(0,p.useRef)(null),d=(0,p.useState)(r),h=(0,u.Z)(d,2),m=h[0],g=h[1],v=(0,p.useState)(null),y=(0,u.Z)(v,2),w=y[0],O=y[1],C=l.spacing.controlHeight;return(0,b.Z)(function(){var e=f.current;if(e){var t="fixed"===a,i=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c=l.getBoundingClientRect().height,f=n.getBoundingClientRect(),d=f.bottom,p=f.height,h=f.top,m=n.offsetParent.getBoundingClientRect().top,b=i?window.innerHeight:E(l)?window.innerHeight:l.clientHeight,g=k(l),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=m-y,O=b-h,C=w+g,x=c-g-h,S=d-b+g+v,Z=g+h-y;switch(o){case"auto":case"bottom":if(O>=p)return{placement:"bottom",maxHeight:t};if(x>=p&&!i)return a&&M(l,S,160),{placement:"bottom",maxHeight:t};if(!i&&x>=r||i&&O>=r)return a&&M(l,S,160),{placement:"bottom",maxHeight:i?O-v:x-v};if("auto"===o||i){var T=t,P=i?w:C;return P>=r&&(T=Math.min(P-v-s,t)),{placement:"top",maxHeight:T}}if("bottom"===o)return a&&I(l,S),{placement:"bottom",maxHeight:t};break;case"top":if(w>=p)return{placement:"top",maxHeight:t};if(C>=p&&!i)return a&&M(l,Z,160),{placement:"top",maxHeight:t};if(!i&&C>=r||i&&w>=r){var V=t;return(!i&&C>=r||i&&w>=r)&&(V=i?w-y:C-y),a&&M(l,Z,160),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw Error('Invalid placement provided "'.concat(o,'".'))}return u}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:C});g(i.maxHeight),O(i.placement),null==c||c(i.placement)}},[r,o,a,s,n,c,C]),t({ref:f,placerProps:(0,i.Z)((0,i.Z)({},e),{},{placement:w||H(o),maxHeight:m})})},$=function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return(0,i.Z)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},j=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return(0,i.Z)({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},q=j,G=j,Y=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},W=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},X=function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,a=e.selectProps.controlShouldRenderValue;return(0,i.Z)({alignItems:"center",display:r&&o&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},K=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Q=["size"],J=["innerProps","isRtl","size"],ee={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},et=function(e){var t=e.size,n=(0,c.Z)(e,Q);return(0,l.tZ)("svg",(0,s.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ee},n))},en=function(e){return(0,l.tZ)(et,(0,s.Z)({size:20},e),(0,l.tZ)("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"}))},er=function(e){return(0,l.tZ)(et,(0,s.Z)({size:20},e),(0,l.tZ)("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"}))},eo=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,a=r.colors;
vendor: 4,934 bytes, line 1
1return(0,i.Z)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*o,":hover":{color:n?a.neutral80:a.neutral40}})},ea=eo,ei=eo,es=function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,a=r.colors;return(0,i.Z)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*o,marginTop:2*o})},el=(0,l.F4)(a||(r=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],o||(o=r.slice(0)),a=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})))),eu=function(e,t){var n=e.isFocused,r=e.size,o=e.theme,a=o.colors,s=o.spacing.baseUnit;return(0,i.Z)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*s})},ec=function(e){var t=e.delay,n=e.offset;return(0,l.tZ)("span",{css:(0,l.iv)({animation:"".concat(el," 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"},"","")})},ef=function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,a=o.colors,s=o.borderRadius,l=o.spacing;return(0,i.Z)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},ed=["data"],ep=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},eh=function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return(0,i.Z)({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},em=["innerRef","isDisabled","isHidden","inputClassName"],eb=function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,a=o.spacing,s=o.colors;return(0,i.Z)((0,i.Z)({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},ev),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},eg={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ev={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,i.Z)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},eg)},ey=function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors;return(0,i.Z)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},ew=function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,a=e.cropWithEllipsis;return(0,i.Z)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},eO=function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,a=n.colors,s=e.isFocused;return(0,i.Z)({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},eC=function(e){var t=e.children,n=e.innerProps;return(0,l.tZ)("div",n,t)},eE=function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.theme,s=a.spacing,l=a.colors;return(0,i.Z)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?l.primary:r?l.primary25:"transparent",color:n?l.neutral20:o?l.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?l.primary:l.primary50}})},ek=function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return(0,i.Z)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},eI=function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,a=r.colors;return(0,i.Z)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},eM={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},C(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,l.tZ)(en,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,a=e.innerProps,i=e.menuIsOpen;return(0,l.tZ)("div",(0,s.Z)({ref:o}
1,C(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":i}),a,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},C(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,l.tZ)(er,null))},DownChevron:er,CrossIcon:en,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,a=e.Heading,i=e.headingProps,u=e.innerProps,c=e.label,f=e.theme,d=e.selectProps;return(0,l.tZ)("div",(0,s.Z)({},C(e,"group",{group:!0}),u),(0,l.tZ)(a,(0,s.Z)({},i,{selectProps:d,theme:f,getStyles:r,getClassNames:o,cx:n}),c),(0,l.tZ)("div",null,t))},GroupHeading:function(e){var t=O(e);t.data;var n=(0,c.Z)(t,ed);return(0,l.tZ)("div",(0,s.Z)({},C(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},C(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,l.tZ)("span",(0,s.Z)({},t,C(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=O(e),o=r.innerRef,a=r.isDisabled,u=r.isHidden,f=r.inputClassName,d=(0,c.Z)(r,em);return(0,l.tZ)("div",(0,s.Z)({},C(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,l.tZ)("input",(0,s.Z)({className:t({input:!0},f),ref:o,style:(0,i.Z)({label:"input",color:"inherit",background:0,opacity:u?0:1,width:"100%"},eg),disabled:a},d)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=(0,c.Z)(e,J);return(0,l.tZ)("div",(0,s.Z)({},C((0,i.Z)((0,i.Z)({},o),{},{innerProps:t,isRtl:n,size:void 0===r?4:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,l.tZ)(ec,{delay:0,offset:n}),(0,l.tZ)(ec,{delay:160,offset:!0}),(0,l.tZ)(ec,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},C(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return(0,l.tZ)("div",(0,s.Z)({},C(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,a=e.menuPlacement,c=e.menuPosition,f=(0,p.useRef)(null),d=(0,p.useRef)(null),g=(0,p.useState)(H(a)),v=(0,u.Z)(g,2),y=v[0],w=v[1],O=(0,p.useMemo)(function(){return{setPortalPlacement:w}},[]),E=(0,p.useState)(null),k=(0,u.Z)(E,2),I=k[0],M=k[1],x=(0,p.useCallback)(function(){if(r){var e,t={bottom:(e=r.getBoundingClientRect()).bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width},n="fixed"===c?0:window.pageYOffset,o=t[y]+n;(o!==(null==I?void 0:I.offset)||t.left!==(null==I?void 0:I.rect.left)||t.width!==(null==I?void 0:I.rect.width))&&M({offset:o,rect:t})}},[r,c,y,null==I?void 0:I.offset,null==I?void 0:I.rect.left,null==I?void 0:I.rect.width]);(0,b.Z)(function(){x()},[x]);var S=(0,p.useCallback)(function(){"function"==typeof d.current&&(d.current(),d.current=null),r&&f.current&&(d.current=(0,m.Me)(r,f.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);(0,b.Z)(function(){S()},[S]);var Z=(0,p.useCallback)(function(e){f.current=e,S()},[S]);if(!t&&"fixed"!==c||!I)return null;var T=(0,l.tZ)("div",(0,s.Z)({ref:Z},C((0,i.Z)((0,i.Z)({},e),{},{offset:I.offset,position:c,rect:I.rect}),"menuPortal",{"menu-portal":!0}),o),n);return(0,l.tZ)(z.Provider,{value:O},t?(0,h.createPortal)(T,t):T)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=(0,c.Z)(e,_);return(0,l.tZ)("div",(0,s.Z)({},C((0,i.Z)((0,i.Z)({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=(0,c.Z)(e,A);return(0,l.tZ)("div",(0,s.Z)({},C((0,i.Z)((0,i.Z)({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,a=e.isDisabled,s=e.removeProps,u=e.selectProps,c=n.Container,f=n.Label,d=n.Remove;return(0,l.tZ)(c,{data:r,innerProps:(0,i.Z)((0,i.Z)({},C(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),o),selectProps:u},(0,l.tZ)(f,{data:r,innerProps:(0,i.Z)({},C(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),(0,l.tZ)(d,{data:r,innerProps:(0,i.Z)((0,i.Z)({},C(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:u}))},MultiValueContainer:eC,MultiValueLabel:eC,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({role:"button"},n),t||(0,l.tZ)(en,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,a=e.innerRef,i=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},C(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:a,"aria-disabled":n},i),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},C(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return(0,l.tZ)("div",(0,s.Z)({},C(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},C(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return(0,l.tZ)("div",(0,s.Z)({},C(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},ex=function(e){return(0,i.Z)((0,i.Z)({},eM),e.components)}},23017:function(e,t,n){n.d(t,{ZP:function(){return s}});var r=n(50032),o=n(7352),a=n(54553),i=n(97696);n(75169),n(93767),n(55792);var s=(0,a.forwardRef)(function(e,t){var n=(0,r.u)(e);return a.createElement(i.S,(0,o.Z)({ref:t},n))})},50032:function(e,t,n){n.d(t,{u:function(){return l}});var r=n(56104),o=n(53289),a=n(40852),i=n(54553),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function l(e){var t=e.defaultInputValue,n=e.defaultMenuIsOpen,l=e.defaultValue,u=e.inputValue,c=e.menuIsOpen,f=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,m=e.value,b=(0,a.Z)(e,s),g=(0,i.useState)(void 0!==u?u:void 0===t?"":t),v=(0,o.Z)(g,2),y=v[0],w=v[1],O=(0,i.useState)(void 0!==c?c:void 0!==n&&n),C=(0,o.Z)(O,2),E=C[0],k=C[1],I=(0,i.useState)(void 0!==m?m:void 0===l?null:l),M=(0,o.Z)(I,2),x=M[0],S=M[1],Z=(0,i.useCallback)(function(e,t){"function"==typeof f&&f(e,t),S(e)},[f]),T=(0,i.useCallback)(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),w(void 0!==n?n:e)},[d]),P=(0,i.useCallback)(function(){"function"==typeof h&&h(),k(!0)}
1,[h]),V=(0,i.useCallback)(function(){"function"==typeof p&&p(),k(!1)},[p]),L=void 0!==u?u:y,R=void 0!==c?c:E,D=void 0!==m?m:x;return(0,r.Z)((0,r.Z)({},b),{},{inputValue:L,menuIsOpen:R,onChange:Z,onInputChange:T,onMenuClose:V,onMenuOpen:P,value:D})}},66809:function(e,t,n){n.d(t,{l:function(){return o}});var r=n(62503);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach(t=>(function(e,t){if(null!=e){if((0,r.mf)(e)){e(t);return}try{e.current=t}catch(n){throw Error("Cannot assign value '".concat(t,"' to ref '").concat(e,"'"))}}})(t,e))}}},40236:function(e,t,n){n.d(t,{K:function(){return s}});var r=n(42799),o=n(54553),a=n(91960),i=n(57828);function s(e){let{isDisabled:t,onFocus:n,onBlur:s,onFocusChange:l}=e,u=(0,o.useCallback)(e=>{if(e.target===e.currentTarget)return s&&s(e),l&&l(!1),!0},[s,l]),c=(0,r.d0)(u),f=(0,o.useCallback)(e=>{let t=(0,a.r3)(e.target),r=t?(0,i.vY)(t):(0,i.vY)();e.target===e.currentTarget&&r===(0,i.NI)(e.nativeEvent)&&(n&&n(e),l&&l(!0),c(e))},[l,n,c]);return{focusProps:{onFocus:!t&&(n||l||s)?f:void 0,onBlur:!t&&(s||l)?u:void 0}}}},10249:function(e,t,n){n.d(t,{kc:function(){return c}});var r=n(75440),o=n(40236),a=n(59521),i=n(36261),s=n(13569),l=n(54553);let u=l.createContext(null);function c(e,t){let{focusProps:n}=(0,o.K)(e),{keyboardProps:c}=(0,a.v)(e),f=(0,s.d)(n,c),d=function(e){let t=(0,l.useContext)(u)||{};(0,i.l)(t,e);let{ref:n,...r}=t;return r}(t),p=e.isDisabled?{}:d,h=(0,l.useRef)(e.autoFocus);(0,l.useEffect)(()=>{h.current&&t.current&&(0,r.e)(t.current),h.current=!1},[t]);let m=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(m=void 0),{focusableProps:(0,s.d)({...f,tabIndex:m},p)}}},59521:function(e,t,n){function r(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t}),t&&n.stopPropagation()}}function o(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:r(e.onKeyDown),onKeyUp:r(e.onKeyUp)}}}n.d(t,{v:function(){return o}})},91321:function(e,t,n){n.d(t,{Z:function(){return tm}});var r=(e,t=0,n=1)=>c(f(t,e),n),o=e=>{e._clipped=!1,e._unclipped=e.slice(0);for(let t=0;t<=3;t++)t<3?((e[t]<0||e[t]>255)&&(e._clipped=!0),e[t]=r(e[t],0,255)):3===t&&(e[t]=r(e[t],0,1));return e};let a={};for(let e of["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"])a[`[object ${e}]`]=e.toLowerCase();function i(e){return a[Object.prototype.toString.call(e)]||"object"}var s=(e,t=null)=>e.length>=3?Array.prototype.slice.call(e):"object"==i(e[0])&&t?t.split("").filter(t=>void 0!==e[0][t]).map(t=>e[0][t]):e[0],l=e=>{if(e.length<2)return null;let t=e.length-1;return"string"==i(e[t])?e[t].toLowerCase():null};let{PI:u,min:c,max:f}=Math,d=2*u,p=u/3,h=u/180,m=180/u;var b={format:{},autodetect:[]};class g{constructor(...e){if("object"===i(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];let t=l(e),n=!1;if(!t){for(let r of(n=!0,b.sorted||(b.autodetect=b.autodetect.sort((e,t)=>t.p-e.p),b.sorted=!0),b.autodetect))if(t=r.test(...e))break}if(b.format[t]){let r=b.format[t].apply(null,n?e:e.slice(0,-1));this._rgb=o(r)}else throw Error("unknown format: "+e);3===this._rgb.length&&this._rgb.push(1)}toString(){return"function"==i(this.hex)?this.hex():`[${this._rgb.join(",")}]`}}let v=(...e)=>new v.Color(...e);v.Color=g,v.version="2.6.0";let{max:y}=Math;var w=(...e)=>{let[t,n,r]=s(e,"rgb"),o=1-y(t/=255,y(n/=255,r/=255)),a=o<1?1/(1-o):0;return[(1-t-o)*a,(1-n-o)*a,(1-r-o)*a,o]};g.prototype.cmyk=function(){return w(this._rgb)},v.cmyk=(...e)=>new g(...e,"cmyk"),b.format.cmyk=(...e)=>{let[t,n,r,o]=e=s(e,"cmyk"),a=e.length>4?e[4]:1;return 1===o?[0,0,0,a]:[t>=1?0:255*(1-t)*(1-o),n>=1?0:255*(1-n)*(1-o),r>=1?0:255*(1-r)*(1-o),a]},b.autodetect.push({p:2,test:(...e)=>{if("array"===i(e=s(e,"cmyk"))&&4===e.length)return"cmyk"}});let O=e=>Math.round(100*e)/100;var C=(...e)=>{let t=s(e,"hsla"),n=l(e)||"lsa";return t[0]=O(t[0]||0),t[1]=O(100*t[1])+"%",t[2]=O(100*t[2])+"%","hsla"===n||t.length>3&&t[3]<1?(t[3]=t.length>3?t[3]:1,n="hsla"):t.length=3,`${n}(${t.join(",")})`},E=(...e)=>{let t,n;let[r,o,a]=e=s(e,"rgba"),i=c(r/=255,o/=255,a/=255),l=f(r,o,a),u=(l+i)/2;return(l===i?(t=0,n=Number.NaN):t=u<.5?(l-i)/(l+i):(l-i)/(2-l-i),r==l?n=(o-a)/(l-i):o==l?n=2+(a-r)/(l-i):a==l&&(n=4+(r-o)/(l-i)),(n*=60)<0&&(n+=360),e.length>3&&void 0!==e[3])?[n,t,u,e[3]]:[n,t,u]};
1let{round:k}=Math;var I=(...e)=>{let t=s(e,"rgba"),n=l(e)||"rgb";return"hsl"==n.substr(0,3)?C(E(t),n):(t[0]=k(t[0]),t[1]=k(t[1]),t[2]=k(t[2]),("rgba"===n||t.length>3&&t[3]<1)&&(t[3]=t.length>3?t[3]:1,n="rgba"),`${n}(${t.slice(0,"rgb"===n?3:4).join(",")})`)};let{round:M}=Math;var x=(...e)=>{let t,n,r;let[o,a,i]=e=s(e,"hsl");if(0===a)t=n=r=255*i;else{let e=[0,0,0],s=[0,0,0],l=i<.5?i*(1+a):i+a-i*a,u=2*i-l,c=o/360;e[0]=c+1/3,e[1]=c,e[2]=c-1/3;for(let t=0;t<3;t++)e[t]<0&&(e[t]+=1),e[t]>1&&(e[t]-=1),6*e[t]<1?s[t]=u+(l-u)*6*e[t]:2*e[t]<1?s[t]=l:3*e[t]<2?s[t]=u+(l-u)*(2/3-e[t])*6:s[t]=u;[t,n,r]=[M(255*s[0]),M(255*s[1]),M(255*s[2])]}return e.length>3?[t,n,r,e[3]]:[t,n,r,1]};let S=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,Z=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,T=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,P=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,V=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,L=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,{round:R}=Math,D=e=>{let t;if(e=e.toLowerCase().trim(),b.format.named)try{return b.format.named(e)}catch(e){}if(t=e.match(S)){let e=t.slice(1,4);for(let t=0;t<3;t++)e[t]=+e[t];return e[3]=1,e}if(t=e.match(Z)){let e=t.slice(1,5);for(let t=0;t<4;t++)e[t]=+e[t];return e}if(t=e.match(T)){let e=t.slice(1,4);for(let t=0;t<3;t++)e[t]=R(2.55*e[t]);return e[3]=1,e}if(t=e.match(P)){let e=t.slice(1,5);for(let t=0;t<3;t++)e[t]=R(2.55*e[t]);return e[3]=+e[3],e}if(t=e.match(V)){let e=t.slice(1,4);e[1]*=.01,e[2]*=.01;let n=x(e);return n[3]=1,n}if(t=e.match(L)){let e=t.slice(1,4);e[1]*=.01,e[2]*=.01;let n=x(e);return n[3]=+t[4],n}};D.test=e=>S.test(e)||Z.test(e)||T.test(e)||P.test(e)||V.test(e)||L.test(e),g.prototype.css=function(e){return I(this._rgb,e)},v.css=(...e)=>new g(...e,"css"),b.format.css=D,b.autodetect.push({p:5,test:(e,...t)=>{if(!t.length&&"string"===i(e)&&D.test(e))return"css"}}),b.format.gl=(...e)=>{let t=s(e,"rgba");return t[0]*=255,t[1]*=255,t[2]*=255,t},v.gl=(...e)=>new g(...e,"gl"),g.prototype.gl=function(){let e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};let{floor:F}=Math;var N=(...e)=>{let t;let[n,r,o]=s(e,"rgb"),a=c(n,r,o),i=f(n,r,o),l=i-a;return 0===l?t=Number.NaN:(n===i&&(t=(r-o)/l),r===i&&(t=2+(o-n)/l),o===i&&(t=4+(n-r)/l),(t*=60)<0&&(t+=360)),[t,100*l/255,a/(255-l)*100]};g.prototype.hcg=function(){return N(this._rgb)},v.hcg=(...e)=>new g(...e,"hcg"),b.format.hcg=(...e)=>{let t,n,r;let[o,a,i]=e=s(e,"hcg");i*=255;let l=255*a;if(0===a)t=n=r=i;else{360===o&&(o=0),o>360&&(o-=360),o<0&&(o+=360);let e=F(o/=60),s=o-e,u=i*(1-a),c=u+l*(1-s),f=u+l*s,d=u+l;switch(e){case 0:[t,n,r]=[d,f,u];break;case 1:[t,n,r]=[c,d,u];break;case 2:[t,n,r]=[u,d,f];break;case 3:[t,n,r]=[u,c,d];break;case 4:[t,n,r]=[f,u,d];break;case 5:[t,n,r]=[d,u,c]}}return[t,n,r,e.length>3?e[3]:1]},b.autodetect.push({p:1,test:(...e)=>{if("array"===i(e=s(e,"hcg"))&&3===e.length)return"hcg"}});let A=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,_=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/;var H=e=>{if(e.match(A)){(4===e.length||7===e.length)&&(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);let t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(_)){(5===e.length||9===e.length)&&(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16);return[t>>24&255,t>>16&255,t>>8&255,Math.round((255&t)/255*100)/100]}throw Error(`unknown hex color: ${e}`)};let{round:B}=Math;var z=(...e)=>{let[t,n,r,o]=s(e,"rgba"),a=l(e)||"auto";void 0===o&&(o=1),"auto"===a&&(a=o<1?"rgba":"rgb");let i="000000"+((t=B(t))<<16|(n=B(n))<<8|(r=B(r))).toString(16);i=i.substr(i.length-6);let u="0"+B(255*o).toString(16);switch(u=u.substr(u.length-2),a.toLowerCase()){case"rgba":return`#${i}${u}`;case"argb":return`#${u}${i}`;default:return`#${i}`}};g.prototype.hex=function(e){return z(this._rgb,e)},v.hex=(...e)=>new g(...e,"hex"),b.format.hex=H,b.autodetect.push({p:4,test:(e,...t)=>{if(!t.length&&"string"===i(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});let{cos:U}=Math,{min:$,sqrt:j,acos:q}=Math;var G=(...e)=>{let t,[n,r,o]=s(e,"rgb"),a=$(n/=255,r/=255,o/=255),i=(n+r+o)/3,l=i>0?1-a/i:0;return 0===l?t=NaN:(t=q(t=(n-r+(n-o))/2/j((n-r)*(n-r)+(n-o)*(r-o))),o>r&&(t=d-t),t/=d),[360*t,l,i]};g.prototype.hsi=function(){return G(this._rgb)},v.hsi=(...e)=>new g(...e,"hsi"),b.format.hsi=(...e)=>{let t,n,o;let[a,i,l]=e=s(e,"hsi");return isNaN(a)&&(a=0),isNaN(i)&&(i=0),a>360&&(a-=360),a<0&&(a+=360),(a/=360)<1/3?n=1-((o=(1-i)/3)+(t=(1+i*U(d*a)/U(p-d*a))/3)):a<2/3?(a-=1/3,o=1-((t=(1-i)/3)+(n=(1+i*U(d*a)/U(p-d*a))/3))):(a-=2/3,t=1-((n=(1-i)/3)+(o=(1+i*U(d*a)/U(p-d*a))/3))),[255*(t=r(l*t*3)),255*(n=r(l*n*3)),255*(o=r(l*o*3)),e.length>3?e[3]:1]},b.autodetect.push({p:2,test:(...e)=>{if("array"===i(e=s(e,"hsi"))&&3===e.length)return"hsi"}}),g.prototype.hsl=function(){return E(this._rgb)},v.hsl=(...e)=>new g(...e,"hsl"),b.format.hsl=x,b.autodetect.push({p:2,test:(...e)=>{if("array"===i(e=s(e,"hsl"))&&3===e.length)return"hsl"}});let{floor:Y}=Math,{min:W,max:X}=Math;var K=(...e)=>{let t,n,r;let[o,a,i]=e=s(e,"rgb"),l=W(o,a,i),u=X(o,a,i),c=u-l;return r=u/255,0===u?(t=Number.NaN,n=0):(n=c/u,o===u&&(t=(a-i)/c),a===u&&(t=2+(i-o)/c),i===u&&(t=4+(o-a)/c),(t*=60)<0&&(t+=360)),[t,n,r]};g.prototype.hsv=function(){return K(this._rgb)},v.hsv=(...e)=>new g(...e,"hsv"),b.format.hsv=(...e)=>{let t,n,r;let[o,a,i]=e=s(e,"hsv");if(i*=255,0===a)t=n=r=i;else{360===o&&(o=0),o>360&&(o-=360),o<0&&(o+=360);let e=Y(o/=60),s=o-e,l=i*(1-a),u=i*(1-a*s),c=i*(1-a*(1-s));switch(e){case 0:[t,n,r]=[i,c,l];break;case 1:[t,n,r]=[u,i,l];break;case 2:[t,n,r]=[l,i,c];break;case 3:[t,n,r]=[l,u,i];break;case 4:[t,n,r]=[c,l,i];break;case 5:[t,n,r]=[i,l,u]}}return[t,n,r,e.length>3?e[3]:1]},b.autodetect.push({p:2,test:(...e)=>{if("array"===i(e=s(e,"hsv"))&&3===e.length)return"hsv"}});var Q={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452};let{pow:J}=Math,ee=e=>255*(e<=.00304?12.92*e:1.055*J(e,1/2.4)-.055),et=e=>e>Q.t1?e*e*e:Q.t2*(e-Q.t0);var en=(...e)=>{let t,n,r;let[o,a,i]=e=s(e,"lab");return n=(o+16)/116,t=isNaN(a)?n:n+a/500,r=isNaN(i)?n:n-i/200,n=Q.Yn*et(n),[ee(3.2404542*(t=Q.Xn*et(t))-1.5371385*n-.4985314*(r=Q.Zn*et(r))),ee(-.969266*t+1.8760108*n+.041556*r),ee(.0556434*t-.2040259*n+1.0572252*r),e.length>3?e[3]:1]};let{pow:er}=Math,eo=e=>(e/=255)<=.04045?e/12.92:er((e+.055)/1.055,2.4),ea=e=>e>Q.t3?er(e,1/3):e/Q.t2+Q.t0,ei=(e,t,n)=>[ea((.4124564*(e=eo(e))+.3575761*(t=eo(t))+.1804375*(n=eo(n)))/Q.Xn),ea((.2126729*e+.7151522*t+.072175*n)/Q.Yn),ea((.0193339*e+.119192*t+.9503041*n)/Q.Zn)];var es=(...e)=>{let[t,n,r]=s(e,"rgb"),[o,a,i]=ei(t,n,r),l=116*a-16;return[l<0?0:l,500*(o-a),200*(a-i)]};g.prototype.lab=function(){return es(this._rgb)},v.lab=(...e)=>new g(...e,"lab"),b.format.lab=en,b.autodetect.push({p:2,test:(...e)=>{if("array"===i(e=s(e,"lab"))&&3===e.length)return"lab"}});let{sin:el,cos:eu}=Math;var ec=(...e)=>{let[t,n,r]=s(e,"lch");return isNaN(r)&&(r=0),[t,eu(r*=h)*n,el(r)*n]},ef=(...e)=>{let[t,n,r]=e=s(e,"lch"),[o,a,i]=ec(t,n,r),[l,u,c]=en(o,a,i);return[l,u,c,e.length>3?e[3]:1]};let{sqrt:ed,atan2:ep,round:eh}=Math;var em=(...e)=>{let[t,n,r]=s(e,"lab"),o=ed(n*n+r*r),a=(ep(r,n)*m+360)%360;return 0===eh(1e4*o)&&(a=Number.NaN),[t,o,a]},eb=(...e)=>{let[t,n,r]=s(e,"rgb"),[o,a,i]=es(t,n,r);return em(o,a,i)};g.prototype.lch=function(){return eb(this._rgb)},g.prototype.hcl=function(){return eb(this._rgb).reverse()},v.lch=(...e)=>new g(...e,"lch"),v.hcl=(...e)=>new g(...e,"hcl"),b.format.lch=ef,b.format.hcl=(...e)=>
1ef(...s(e,"hcl").reverse()),["lch","hcl"].forEach(e=>b.autodetect.push({p:2,test:(...t)=>{if("array"===i(t=s(t,e))&&3===t.length)return e}}));var eg={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};g.prototype.name=function(){let e=z(this._rgb,"rgb");for(let t of Object.keys(eg))if(eg[t]===e)return t.toLowerCase();return e},b.format.named=e=>{if(eg[e=e.toLowerCase()])return H(eg[e]);throw Error("unknown color name: "+e)},b.autodetect.push({p:5,test:(e,...t)=>{if(!t.length&&"string"===i(e)&&eg[e.toLowerCase()])return"named"}});var ev=(...e)=>{let[t,n,r]=s(e,"rgb");return(t<<16)+(n<<8)+r};g.prototype.num=function(){return ev(this._rgb)},v.num=(...e)=>new g(...e,"num"),b.format.num=e=>{if("number"==i(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw Error("unknown num color: "+e)},b.autodetect.push({p:5,test:(...e)=>{if(1===e.length&&"number"===i(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});let{round:ey}=Math;g.prototype.rgb=function(e=!0){return!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(ey)},g.prototype.rgba=function(e=!0){return this._rgb.slice(0,4).map((t,n)=>n<3?!1===e?t:ey(t):t)},v.rgb=(...e)=>new g(...e,"rgb"),b.format.rgb=(...e)=>{let t=s(e,"rgba");return void 0===t[3]&&(t[3]=1),t},b.autodetect.push({p:3,test:(...e)=>{if("array"===i(e=s(e,"rgba"))&&(3===e.length||4===e.length&&"number"==i(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});let{log:ew}=Math;var eO=e=>{let t,n,r;let o=e/100;return o<66?(t=255,n=o<6?0:-155.25485562709179-.44596950469579133*(n=o-2)+104.49216199393888*ew(n),r=o<20?0:-254.76935184120902+.8274096064007395*(r=o-10)+115.67994401066147*ew(r)):(t=351.97690566805693+.114206453784165*(t=o-55)-40.25366309332127*ew(t),n=325.4494125711974+.07943456536662342*(n=o-50)-28.0852963507957*ew(n),r=255),[t,n,r,1]};
1let{round:eC}=Math;var eE=(...e)=>{let t;let n=s(e,"rgb"),r=n[0],o=n[2],a=1e3,i=4e4;for(;i-a>.4;){let e=eO(t=(i+a)*.5);e[2]/e[0]>=o/r?i=t:a=t}return eC(t)};g.prototype.temp=g.prototype.kelvin=g.prototype.temperature=function(){return eE(this._rgb)},v.temp=v.kelvin=v.temperature=(...e)=>new g(...e,"temp"),b.format.temp=b.format.kelvin=b.format.temperature=eO;let{pow:ek,sign:eI}=Math;var eM=(...e)=>{let[t,n,r]=e=s(e,"lab"),o=ek(t+.3963377774*n+.2158037573*r,3),a=ek(t-.1055613458*n-.0638541728*r,3),i=ek(t-.0894841775*n-1.291485548*r,3);return[255*ex(4.0767416621*o-3.3077115913*a+.2309699292*i),255*ex(-1.2684380046*o+2.6097574011*a-.3413193965*i),255*ex(-.0041960863*o-.7034186147*a+1.707614701*i),e.length>3?e[3]:1]};function ex(e){let t=Math.abs(e);return t>.0031308?(eI(e)||1)*(1.055*ek(t,1/2.4)-.055):12.92*e}let{cbrt:eS,pow:eZ,sign:eT}=Math;var eP=(...e)=>{let[t,n,r]=s(e,"rgb"),[o,a,i]=[eV(t/255),eV(n/255),eV(r/255)],l=eS(.4122214708*o+.5363325363*a+.0514459929*i),u=eS(.2119034982*o+.6806995451*a+.1073969566*i),c=eS(.0883024619*o+.2817188376*a+.6299787005*i);return[.2104542553*l+.793617785*u-.0040720468*c,1.9779984951*l-2.428592205*u+.4505937099*c,.0259040371*l+.7827717662*u-.808675766*c]};function eV(e){let t=Math.abs(e);return t<.04045?e/12.92:(eT(e)||1)*eZ((t+.055)/1.055,2.4)}g.prototype.oklab=function(){return eP(this._rgb)},v.oklab=(...e)=>new g(...e,"oklab"),b.format.oklab=eM,b.autodetect.push({p:3,test:(...e)=>{if("array"===i(e=s(e,"oklab"))&&3===e.length)return"oklab"}});var eL=(...e)=>{let[t,n,r]=s(e,"rgb"),[o,a,i]=eP(t,n,r);return em(o,a,i)};g.prototype.oklch=function(){return eL(this._rgb)},v.oklch=(...e)=>new g(...e,"oklch"),b.format.oklch=(...e)=>{let[t,n,r]=e=s(e,"lch"),[o,a,i]=ec(t,n,r),[l,u,c]=eM(o,a,i);return[l,u,c,e.length>3?e[3]:1]},b.autodetect.push({p:3,test:(...e)=>{if("array"===i(e=s(e,"oklch"))&&3===e.length)return"oklch"}}),g.prototype.alpha=function(e,t=!1){return void 0!==e&&"number"===i(e)?t?(this._rgb[3]=e,this):new g([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},g.prototype.clipped=function(){return this._rgb._clipped||!1},g.prototype.darken=function(e=1){let t=this.lab();return t[0]-=Q.Kn*e,new g(t,"lab").alpha(this.alpha(),!0)},g.prototype.brighten=function(e=1){return this.darken(-e)},g.prototype.darker=g.prototype.darken,g.prototype.brighter=g.prototype.brighten,g.prototype.get=function(e){let[t,n]=e.split("."),r=this[t]();if(!n)return r;{let e=t.indexOf(n)-("ok"===t.substr(0,2)?2:0);if(e>-1)return r[e];throw Error(`unknown channel ${n} in mode ${t}`)}};let{pow:eR}=Math;g.prototype.luminance=function(e,t="rgb"){if(void 0!==e&&"number"===i(e)){if(0===e)return new g([0,0,0,this._rgb[3]],"rgb");if(1===e)return new g([255,255,255,this._rgb[3]],"rgb");let n=this.luminance(),r=20,o=(n,a)=>{let i=n.interpolate(a,.5,t),s=i.luminance();return!(1e-7>Math.abs(e-s))&&r--?s>e?o(n,i):o(i,a):i},a=(n>e?o(new g([0,0,0]),this):o(this,new g([255,255,255]))).rgb();return new g([...a,this._rgb[3]])}return eD(...this._rgb.slice(0,3))};let eD=(e,t,n)=>.2126*(e=eF(e))+.7152*(t=eF(t))+.0722*(n=eF(n)),eF=e=>(e/=255)<=.03928?e/12.92:eR((e+.055)/1.055,2.4);var eN={},eA=(e,t,n=.5,...r)=>{let o=r[0]||"lrgb";if(eN[o]||r.length||(o=Object.keys(eN)[0]),!eN[o])throw Error(`interpolation mode ${o} is not defined`);return"object"!==i(e)&&(e=new g(e)),"object"!==i(t)&&(t=new g(t)),eN[o](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))};g.prototype.mix=g.prototype.interpolate=function(e,t=.5,...n){return eA(this,e,t,...n)},g.prototype.premultiply=function(e=!1){let t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new g([t[0]*n,t[1]*n,t[2]*n,n],"rgb")},g.prototype.saturate=function(e=1){let t=this.lch();return t[1]+=Q.Kn*e,t[1]<0&&(t[1]=0),new g(t,"lch").alpha(this.alpha(),!0)},g.prototype.desaturate=function(e=1){return this.saturate(-e)},g.prototype.set=function(e,t,n=!1){let[r,o]=e.split("."),a=this[r]();if(!o)return a;{let e=r.indexOf(o)-("ok"===r.substr(0,2)?2:0);if(e>-1){if("string"==i(t))switch(t.charAt(0)){case"+":case"-":a[e]+=+t;break;case"*":a[e]*=+t.substr(1);break;case"/":a[e]/=+t.substr(1);break;default:a[e]=+t}else if("number"===i(t))a[e]=t;else throw Error("unsupported value for Color.set");let o=new g(a,r);return n?(this._rgb=o._rgb,this):o}throw Error(`unknown channel ${o} in mode ${r}`)}},g.prototype.tint=function(e=.5,...t){return eA(this,"white",e,...t)},g.prototype.shade=function(e=.5,...t){return eA(this,"black",e,...t)},eN.rgb=(e,t,n)=>{let r=e._rgb,o=t._rgb;return new g(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"rgb")};let{sqrt:e_,pow:eH}=Math;eN.lrgb=(e,t,n)=>{let[r,o,a]=e._rgb,[i,s,l]=t._rgb;return new g(e_(eH(r,2)*(1-n)+eH(i,2)*n),e_(eH(o,2)*(1-n)+eH(s,2)*n),e_(eH(a,2)*(1-n)+eH(l,2)*n),"rgb")}
vendor: 12,023 bytes, line 1
1,eN.lab=(e,t,n)=>{let r=e.lab(),o=t.lab();return new g(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"lab")};var eB=(e,t,n,r)=>{let o,a,i,s,l,u,c,f,d,p,h,m;return"hsl"===r?(o=e.hsl(),a=t.hsl()):"hsv"===r?(o=e.hsv(),a=t.hsv()):"hcg"===r?(o=e.hcg(),a=t.hcg()):"hsi"===r?(o=e.hsi(),a=t.hsi()):"lch"===r||"hcl"===r?(r="hcl",o=e.hcl(),a=t.hcl()):"oklch"===r&&(o=e.oklch().reverse(),a=t.oklch().reverse()),("h"===r.substr(0,1)||"oklch"===r)&&([i,l,c]=o,[s,u,f]=a),isNaN(i)||isNaN(s)?isNaN(i)?isNaN(s)?p=Number.NaN:(p=s,(1==c||0==c)&&"hsv"!=r&&(d=u)):(p=i,(1==f||0==f)&&"hsv"!=r&&(d=l)):(m=s>i&&s-i>180?s-(i+360):s<i&&i-s>180?s+360-i:s-i,p=i+n*m),void 0===d&&(d=l+n*(u-l)),h=c+n*(f-c),"oklch"===r?new g([h,d,p],r):new g([p,d,h],r)};let ez=(e,t,n)=>eB(e,t,n,"lch");eN.lch=ez,eN.hcl=ez,eN.num=(e,t,n)=>{let r=e.num();return new g(r+n*(t.num()-r),"num")},eN.hcg=(e,t,n)=>eB(e,t,n,"hcg"),eN.hsi=(e,t,n)=>eB(e,t,n,"hsi"),eN.hsl=(e,t,n)=>eB(e,t,n,"hsl"),eN.hsv=(e,t,n)=>eB(e,t,n,"hsv"),eN.oklab=(e,t,n)=>{let r=e.oklab(),o=t.oklab();return new g(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"oklab")},eN.oklch=(e,t,n)=>eB(e,t,n,"oklch");let{pow:eU,sqrt:e$,PI:ej,cos:eq,sin:eG,atan2:eY}=Math,eW=(e,t)=>{let n=e.length,r=[0,0,0,0];for(let o=0;o<e.length;o++){let a=e[o],i=t[o]/n,s=a._rgb;r[0]+=eU(s[0],2)*i,r[1]+=eU(s[1],2)*i,r[2]+=eU(s[2],2)*i,r[3]+=s[3]*i}return r[0]=e$(r[0]),r[1]=e$(r[1]),r[2]=e$(r[2]),r[3]>.9999999&&(r[3]=1),new g(o(r))},{pow:eX}=Math;function eK(e){let t="rgb",n=v("#ccc"),o=0,a=[0,1],s=[],l=[0,0],u=!1,c=[],f=!1,d=0,p=1,h=!1,m={},b=!0,g=1,y=function(e){if("string"===i(e=e||["#fff","#000"])&&v.brewer&&v.brewer[e.toLowerCase()]&&(e=v.brewer[e.toLowerCase()]),"array"===i(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(let t=0;t<e.length;t++)e[t]=v(e[t]);s.length=0;for(let t=0;t<e.length;t++)s.push(t/(e.length-1))}return k(),c=e},w=function(e){if(null!=u){let t=u.length-1,n=0;for(;n<t&&e>=u[n];)n++;return n-1}return 0},O=e=>e,C=e=>e,E=function(e,o){let a,f;if(null==o&&(o=!1),isNaN(e)||null===e)return n;f=o?e:u&&u.length>2?w(e)/(u.length-2):p!==d?(e-d)/(p-d):1,f=C(f),o||(f=O(f)),1!==g&&(f=eX(f,g));let h=Math.floor(1e4*(f=r(f=l[0]+f*(1-l[0]-l[1]),0,1)));if(b&&m[h])a=m[h];else{if("array"===i(c))for(let e=0;e<s.length;e++){let n=s[e];if(f<=n||f>=n&&e===s.length-1){a=c[e];break}if(f>n&&f<s[e+1]){f=(f-n)/(s[e+1]-n),a=v.interpolate(c[e],c[e+1],f,t);break}}else"function"===i(c)&&(a=c(f));b&&(m[h]=a)}return a};var k=()=>m={};y(e);let I=function(e){let t=v(E(e));return f&&t[f]?t[f]():t};return I.classes=function(e){if(null!=e){if("array"===i(e))u=e,a=[e[0],e[e.length-1]];else{let t=v.analyze(a);u=0===e?[t.min,t.max]:v.limits(t,"e",e)}return I}return u},I.domain=function(e){if(!arguments.length)return a;d=e[0],p=e[e.length-1],s=[];let t=c.length;if(e.length===t&&d!==p)for(let t of Array.from(e))s.push((t-d)/(p-d));else{for(let e=0;e<t;e++)s.push(e/(t-1));if(e.length>2){let t=e.map((t,n)=>n/(e.length-1)),n=e.map(e=>(e-d)/(p-d));n.every((e,n)=>t[n]===e)||(C=e=>{if(e<=0||e>=1)return e;let r=0;for(;e>=n[r+1];)r++;let o=(e-n[r])/(n[r+1]-n[r]);return t[r]+o*(t[r+1]-t[r])})}}return a=[d,p],I},I.mode=function(e){return arguments.length?(t=e,k(),I):t},I.range=function(e,t){return y(e,t),I},I.out=function(e){return f=e,I},I.spread=function(e){return arguments.length?(o=e,I):o},I.correctLightness=function(e){return null==e&&(e=!0),h=e,k(),O=h?function(e){let t=E(0,!0).lab()[0],n=E(1,!0).lab()[0],r=t>n,o=E(e,!0).lab()[0],a=t+(n-t)*e,i=o-a,s=0,l=1,u=20;for(;Math.abs(i)>.01&&u-- >0;)r&&(i*=-1),i<0?(s=e,e+=(l-e)*.5):(l=e,e+=(s-e)*.5),i=(o=E(e,!0).lab()[0])-a;return e}:e=>e,I},I.padding=function(e){return null!=e?("number"===i(e)&&(e=[e,e]),l=e,I):l},I.colors=function(t,n){arguments.length<2&&(n="hex");let r=[];if(0==arguments.length)r=c.slice(0);else if(1===t)r=[I(.5)];else if(t>1){let e=a[0],n=a[1]-e;r=(function(e,t,n){let r=[],o=0<t,a=n?o?t+1:t-1:t;for(let e=0;o?e<a:e>a;o?e++:e--)r.push(e);return r})(0,t,!1).map(r=>I(e+r/(t-1)*n))}else{e=[];let t=[];if(u&&u.length>2)for(let e=1,n=u.length,r=1<=n;r?e<n:e>n;r?e++:e--)t.push((u[e-1]+u[e])*.5);else t=a;r=t.map(e=>I(e))}return v[n]&&(r=r.map(e=>e[n]())),r},I.cache=function(e){return null!=e?(b=e,I):b},I.gamma=function(e){return null!=e?(g=e,I):g},I.nodata=function(e){return null!=e?(n=v(e),I):n},I}let eQ=function(e){let t=[1,1];for(let n=1;n<e;n++){let e=[1];for(let n=1;n<=t.length;n++)e[n]=(t[n]||0)+t[n-1];t=e}return t},eJ=function(e){let t,n,r,o;if(2===(e=e.map(e=>new g(e))).length)[n,r]=e.map(e=>e.lab()),t=function(e){return new g([0,1,2].map(t=>n[t]+e*(r[t]-n[t])),"lab")};else if(3===e.length)[n,r,o]=e.map(e=>e.lab()),t=function(e){return new g([0,1,2].map(t=>(1-e)*(1-e)*n[t]+2*(1-e)*e*r[t]+e*e*o[t]),"lab")};else if(4===e.length){let a;[n,r,o,a]=e.map(e=>e.lab()),t=function(e){return new g([0,1,2].map(t=>(1-e)*(1-e)*(1-e)*n[t]+3*(1-e)*(1-e)*e*r[t]+3*(1-e)*e*e*o[t]+e*e*e*a[t]),"lab")}}else if(e.length>=5){let n,r,o;n=e.map(e=>e.lab()),r=eQ(o=e.length-1),t=function(e){let t=1-e;return new g([0,1,2].map(a=>n.reduce((n,i,s)=>n+r[s]*t**(o-s)*e**s*i[a],0)),"lab")}}else throw RangeError("No point in running bezier with only one color.");return t},e0=(e,t,n)=>{if(!e0[n])throw Error("unknown blend mode "+n);return e0[n](e,t)},e1=e=>(t,n)=>{let r=v(n).rgb(),o=v(t).rgb();return v.rgb(e(r,o))},e2=e=>(t,n)=>{let r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r};e0.normal=e1(e2(e=>e)),e0.multiply=e1(e2((e,t)=>e*t/255)),e0.screen=e1(e2((e,t)=>255*(1-(1-e/255)*(1-t/255)))),e0.overlay=e1(e2((e,t)=>t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255)))),e0.darken=e1(e2((e,t)=>e>t?t:e)),e0.lighten=e1(e2((e,t)=>e>t?e:t)),e0.dodge=e1(e2((e,t)=>255===e?255:(e=t/255*255/(1-e/255))>255?255:e)),e0.burn=e1(e2((e,t)=>255*(1-(1-t/255)/(e/255))));let{pow:e5,sin:e3,cos:e6}=Math,{floor:e4,random:e9}=Math,{log:e8,pow:e7,floor:te,abs:tt}=Math;function tn(e,t=null){let n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===i(e)&&(e=Object.values(e)),e.forEach(e=>{t&&"object"===i(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)}),n.domain=[n.min,n.max],n.limits=(e,t)=>tr(n,e,t),n}function tr(e,t="equal",n=7){"array"==i(e)&&(e=tn(e));let{min:r,max:o}=e,a=e.values.sort((e,t)=>e-t);if(1===n)return[r,o];let s=[];if("c"===t.substr(0,1)&&(s.push(r),s.push(o)),"e"===t.substr(0,1)){s.push(r);for(let e=1;e<n;e++)s.push(r+e/n*(o-r));s.push(o)}else if("l"===t.substr(0,1)){if(r<=0)throw Error("Logarithmic scales are only possible for values > 0");let e=Math.LOG10E*e8(r),t=Math.LOG10E*e8(o);s.push(r);for(let r=1;r<n;r++)s.push(e7(10,e+r/n*(t-e)));s.push(o)}else if("q"===t.substr(0,1)){s.push(r);for(let e=1;e<n;e++){let t=(a.length-1)*e/n,r=te(t);if(r===t)s.push(a[r]);else{let e=t-r;s.push(a[r]*(1-e)+a[r+1]*e)}}s.push(o)}else if("k"===t.substr(0,1)){let e;let t=a.length,i=Array(t),l=Array(n),u=!0,c=0,f=null;(f=[]).push(r);for(let e=1;e<n;e++)f.push(r+e/n*(o-r));for(f.push(o);u;){for(let e=0;e<n;e++)l[e]=0;for(let e=0;e<t;e++){let t;let r=a[e],o=Number.MAX_VALUE;for(let a=0;a<n;a++){let n=tt(f[a]-r);n<o&&(o=n,t=a),l[t]++,i[e]=t}}let r=Array(n);for(let e=0;e<n;e++)r[e]=null;for(let n=0;n<t;n++)null===r[e=i[n]]?r[e]=a[n]:r[e]+=a[n];for(let e=0;e<n;e++)r[e]*=1/l[e];u=!1;for(let e=0;e<n;e++)if(r[e]!==f[e]){u=!0;break}f=r,++c>200&&(u=!1)}let d={};for(let e=0;e<n;e++)d[e]=[];for(let n=0;n<t;n++)d[e=i[n]].push(a[n]);let p=[];for(let e=0;e<n;e++)p.push(d[e][0]),p.push(d[e][d[e].length-1]);p=p.sort((e,t)=>e-t),s.push(p[0]);for(let e=1;e<p.length;e+=2){let t=p[e];isNaN(t)||-1!==s.indexOf(t)||s.push(t)}}return s}let{sqrt:to,pow:ta,min:ti,max:ts,atan2:tl,abs:tu,cos:tc,sin:tf,exp:td,PI:tp}=Math,th={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]};for(let e of Object.keys(th))th[e.toLowerCase()]=th[e];Object.assign(v,{average:(e,t="lrgb",n=null)=>{let r=e.length;n||(n=Array.from(Array(r)).map(()=>1));let o=r/n.reduce(function(e,t){return e+t});if(n.forEach((e,t)=>{n[t]*=o}),e=e.map(e=>new g(e)),"lrgb"===t)return eW(e,n);let a=e.shift(),i=a.get(t),s=[],l=0,u=0;for(let e=0;e<i.length;e++)if(i[e]=(i[e]||0)*n[0],s.push(isNaN(i[e])?0:n[0]),"h"===t.charAt(e)&&!isNaN(i[e])){let t=i[e]/180*ej;l+=eq(t)*n[0],u+=eG(t)*n[0]}let c=a.alpha()*n[0];e.forEach((e,r)=>{let o=e.get(t);c+=e.alpha()*n[r+1];for(let e=0;e<i.length;
1e++)if(!isNaN(o[e])){if(s[e]+=n[r+1],"h"===t.charAt(e)){let t=o[e]/180*ej;l+=eq(t)*n[r+1],u+=eG(t)*n[r+1]}else i[e]+=o[e]*n[r+1]}});for(let e=0;e<i.length;e++)if("h"===t.charAt(e)){let t=eY(u/s[e],l/s[e])/ej*180;for(;t<0;)t+=360;for(;t>=360;)t-=360;i[e]=t}else i[e]=i[e]/s[e];return c/=r,new g(i,t).alpha(c>.99999?1:c,!0)},bezier:e=>{let t=eJ(e);return t.scale=()=>eK(t),t},blend:e0,cubehelix:function(e=300,t=-1.5,n=1,r=1,a=[0,1]){let s=0,l;"array"===i(a)?l=a[1]-a[0]:(l=0,a=[a,a]);let u=function(i){let u=d*((e+120)/360+t*i),c=e5(a[0]+l*i,r),f=(0!==s?n[0]+i*s:n)*c*(1-c)/2,p=e6(u),h=e3(u);return v(o([255*(c+f*(-.14861*p+1.78277*h)),255*(c+f*(-.29227*p-.90649*h)),255*(c+1.97294*p*f),1]))};return u.start=function(t){return null==t?e:(e=t,u)},u.rotations=function(e){return null==e?t:(t=e,u)},u.gamma=function(e){return null==e?r:(r=e,u)},u.hue=function(e){return null==e?n:("array"===i(n=e)?0==(s=n[1]-n[0])&&(n=n[1]):s=0,u)},u.lightness=function(e){return null==e?a:("array"===i(e)?(a=e,l=e[1]-e[0]):(a=[e,e],l=0),u)},u.scale=()=>v.scale(u),u.hue(n),u},mix:eA,interpolate:eA,random:()=>{let e="#";for(let t=0;t<6;t++)e+="0123456789abcdef".charAt(e4(16*e9()));return new g(e,"hex")},scale:eK,analyze:tn,contrast:(e,t)=>{e=new g(e),t=new g(t);let n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},deltaE:function(e,t,n=1,r=1,o=1){var a=function(e){return 360*e/(2*tp)},i=function(e){return 2*tp*e/360};e=new g(e),t=new g(t);let[s,l,u]=Array.from(e.lab()),[c,f,d]=Array.from(t.lab()),p=(s+c)/2,h=(to(ta(l,2)+ta(u,2))+to(ta(f,2)+ta(d,2)))/2,m=.5*(1-to(ta(h,7)/(ta(h,7)+ta(25,7)))),b=l*(1+m),v=f*(1+m),y=to(ta(b,2)+ta(u,2)),w=to(ta(v,2)+ta(d,2)),O=(y+w)/2,C=a(tl(u,b)),E=a(tl(d,v)),k=C>=0?C:C+360,I=E>=0?E:E+360,M=tu(k-I)>180?(k+I+360)/2:(k+I)/2,x=1-.17*tc(i(M-30))+.24*tc(i(2*M))+.32*tc(i(3*M+6))-.2*tc(i(4*M-63)),S=I-k;S=180>=tu(S)?S:I<=k?S+360:S-360,S=2*to(y*w)*tf(i(S)/2);let Z=w-y,T=1+.015*ta(p-50,2)/to(20+ta(p-50,2)),P=1+.045*O,V=1+.015*O*x,L=30*td(-ta((M-275)/25,2)),R=-(2*to(ta(O,7)/(ta(O,7)+ta(25,7))))*tf(2*i(L));return ts(0,ti(100,to(ta((c-s)/(n*T),2)+ta(Z/(r*P),2)+ta(S/(o*V),2)+Z/(r*P)*R*(S/(o*V)))))},distance:function(e,t,n="lab"){e=new g(e),t=new g(t);let r=e.get(n),o=t.get(n),a=0;for(let e in r){let t=(r[e]||0)-(o[e]||0);a+=t*t}return Math.sqrt(a)},limits:tr,valid:(...e)=>{try{return new g(...e),!0}catch(e){return!1}},scales:{cool:()=>eK([v.hsl(180,1,.9),v.hsl(250,.7,.4)]),hot:()=>eK(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},input:b,colors:eg,brewer:th});var tm=v},68897:function(e,t,n){n.d(t,{Am:function(){return T},Ix:function(){return C}});var r=n(54553),o=n(34607);let a=e=>"number"==typeof e&&!isNaN(e),i=e=>"string"==typeof e,s=e=>"function"==typeof e,l=e=>i(e)||s(e)?e:null,u=e=>(0,r.isValidElement)(e)||i(e)||s(e)||a(e);function c(e){let{enter:t,exit:n,appendPosition:o=!1,collapse:a=!0,collapseDuration:i=300}=e;return function(e){let{children:s,position:l,preventExitTransition:u,done:c,nodeRef:f,isIn:d}=e,p=o?"".concat(t,"--").concat(l):t,h=o?"".concat(n,"--").concat(l):n,m=(0,r.useRef)(0);return(0,r.useLayoutEffect)(()=>{let e=f.current,t=p.split(" "),n=r=>{r.target===f.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===m.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)},[]),(0,r.useEffect)(()=>{let e=f.current,t=()=>{e.removeEventListener("animationend",t),a?function(e,t,n){void 0===n&&(n=300);let{scrollHeight:r,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition="all ".concat(n,"ms"),requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}(e,c,i):c()};d||(u?t():(m.current=1,e.className+=" ".concat(h),e.addEventListener("animationend",t)))},[d]),r.createElement(r.Fragment,null,s)}}function f(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}let d={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){let n=this.list.get(e).filter(e=>e!==t);return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){let t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{let n=setTimeout(()=>
1{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)})}},p=e=>{let{theme:t,type:n,...o}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":"var(--toastify-icon-color-".concat(n,")"),...o})},h={info:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}};function m(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function b(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function g(e){let{closeToast:t,theme:n,ariaLabel:o="close"}=e;return r.createElement("button",{className:"Toastify__close-button Toastify__close-button--".concat(n),type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":o},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function v(e){let{delay:t,isRunning:n,closeToast:a,type:i="default",hide:l,className:u,style:c,controlledProgress:f,progress:d,rtl:p,isIn:h,theme:m}=e,b=l||f&&0===d,g={...c,animationDuration:"".concat(t,"ms"),animationPlayState:n?"running":"paused",opacity:b?0:1};f&&(g.transform="scaleX(".concat(d,")"));let v=(0,o.Z)("Toastify__progress-bar",f?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--".concat(m),"Toastify__progress-bar--".concat(i),{"Toastify__progress-bar--rtl":p}),y=s(u)?u({rtl:p,type:i,defaultClassName:v}):(0,o.Z)(v,u);return r.createElement("div",{role:"progressbar","aria-hidden":b?"true":"false","aria-label":"notification timer",className:y,style:g,[f&&d>=1?"onTransitionEnd":"onAnimationEnd"]:f&&d<1?null:()=>{h&&a()}})}let y=e=>{let{isRunning:t,preventExitTransition:n,toastRef:a,eventHandlers:i}=function(e){let[t,n]=(0,r.useState)(!1),[o,a]=(0,r.useState)(!1),i=(0,r.useRef)(null),l=(0,r.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,u=(0,r.useRef)(e),{autoClose:c,pauseOnHover:f,closeToast:d,onClick:p,closeOnClick:h}=e;function g(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),l.didMove=!1,document.addEventListener("mousemove",O),document.addEventListener("mouseup",C),document.addEventListener("touchmove",O),document.addEventListener("touchend",C);let n=i.current;l.canCloseOnClick=!0,l.canDrag=!0,l.boundingRect=n.getBoundingClientRect(),n.style.transition="",l.x=m(t.nativeEvent),l.y=b(t.nativeEvent),"x"===e.draggableDirection?(l.start=l.x,l.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(l.start=l.y,l.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function v(t){if(l.boundingRect){let{top:n,bottom:r,left:o,right:a}=l.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&l.x>=o&&l.x<=a&&l.y>=n&&l.y<=r?w():y()}}function y(){n(!0)}function w(){n(!1)}function O(n){let r=i.current;l.canDrag&&r&&(l.didMove=!0,t&&w(),l.x=m(n),l.y=b(n),l.delta="x"===e.draggableDirection?l.x-l.start:l.y-l.start,l.start!==l.x&&(l.canCloseOnClick=!1),r.style.transform="translate".concat(e.draggableDirection,"(").concat(l.delta,"px)"),r.style.opacity=""+(1-Math.abs(l.delta/l.removalDistance)))}function C(){document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",C),document.removeEventListener("touchmove",O),document.removeEventListener("touchend",C);let t=i.current;if(l.canDrag&&l.didMove&&t){if(l.canDrag=!1,Math.abs(l.delta)>l.removalDistance)return a(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform="translate".concat(e.draggableDirection,"(0)"),t.style.opacity="1"}}(0,r.useEffect)(()=>{u.current=e}),(0,r.useEffect)(()=>(i.current&&i.current.addEventListener("d",y,{once:!0}),s(e.onOpen)&&e.onOpen((0,r.isValidElement)(e.children)&&e.children.props),()=>{let e=u.current;s(e.onClose)&&e.onClose((0,r.isValidElement)(e.children)&&e.children.props)}),[]),(0,r.useEffect)(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||w(),window.addEventListener("focus",y),window.addEventListener("blur",w)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",y),window.removeEventListener("blur",w))}),[e.pauseOnFocusLoss]);let E={onMouseDown:g,onTouchStart:g,onMouseUp:v,onTouchEnd:v};return c&&f&&(E.onMouseEnter=w,E.onMouseLeave=y),h&&(E.onClick=e=>{p&&p(e),l.canCloseOnClick&&d()}),{playToast:y,pauseToast:w,isRunning:t,preventExitTransition:o,toastRef:i,eventHandlers:E}}(e),{closeButton:l,children:u,autoClose:c,onClick:f,type:d,hideProgressBar:p,closeToast:h,transition:y,position:w,className:O,style:C,bodyClassName:E,bodyStyle:k,progressClassName:I,progressStyle:M,updateId:x,role:S,progress:Z,rtl:T,toastId:P,deleteToast:V,isIn:L,isLoading:R,iconOut:D,closeOnClick:F,theme:N}=e,A=(0,o.Z)("Toastify__toast","Toastify__toast-theme--".concat(N),"Toastify__toast--".concat(d),{"Toastify__toast--rtl":T},{"Toastify__toast--close-on-click":F}),_=s(O)?O({rtl:T,position:w,type:d,defaultClassName:A}):(0,o.Z)(A,O),H=!!Z||!c,B={closeToast:h,type:d,theme:N},z=null;return!1===l||(z=s(l)?l(B):(0,r.isValidElement)(l)?(0,r.cloneElement)(l,B):g(B)),r.createElement(y,{isIn:L,done:V,position:w,preventExitTransition:n,nodeRef:a},r.createElement("div",{id:P,onClick:f,className:_,...i,style:C,ref:a},r.createElement("div",{...L&&{role:S},className:s(E)?E({type:d}):(0,o.Z)("Toastify__toast-body",E),style:k},null!=D&&r.createElement("div",{className:(0,o.Z)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter"
1:!R})},D),r.createElement("div",null,u)),z,r.createElement(v,{...x&&!H?{key:"pb-".concat(x)}:{},rtl:T,theme:N,delay:c,isRunning:t,isIn:L,closeToast:h,hide:p,type:d,style:M,className:I,controlledProgress:H,progress:Z||0})))},w=function(e,t){return void 0===t&&(t=!1),{enter:"Toastify--animate Toastify__".concat(e,"-enter"),exit:"Toastify--animate Toastify__".concat(e,"-exit"),appendPosition:t}},O=c(w("bounce",!0)),C=(c(w("slide",!0)),c(w("zoom")),c(w("flip")),(0,r.forwardRef)((e,t)=>{let{getToastToRender:n,containerRef:c,isToastActive:p}=function(e){let[,t]=(0,r.useReducer)(e=>e+1,0),[n,o]=(0,r.useState)([]),c=(0,r.useRef)(null),p=(0,r.useRef)(new Map).current,m=e=>-1!==n.indexOf(e),b=(0,r.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:m,getToast:e=>p.get(e)}).current;function g(e){let{containerId:t}=e,{limit:n}=b.props;!n||t&&b.containerId!==t||(b.count-=b.queue.length,b.queue=[])}function v(e){o(t=>null==e?[]:t.filter(t=>t!==e))}function y(){let{toastContent:e,toastProps:t,staleId:n}=b.queue.shift();O(e,t,n)}function w(e,n){var o,m;let{delay:g,staleId:w,...C}=n;if(!u(e)||!c.current||b.props.enableMultiContainer&&C.containerId!==b.props.containerId||p.has(C.toastId)&&null==C.updateId)return;let{toastId:E,updateId:k,data:I}=C,{props:M}=b,x=()=>v(E),S=null==k;S&&b.count++;let Z={...M,style:M.toastStyle,key:b.toastKey++,...Object.fromEntries(Object.entries(C).filter(e=>{let[t,n]=e;return null!=n})),toastId:E,updateId:k,data:I,closeToast:x,isIn:!1,className:l(C.className||M.toastClassName),bodyClassName:l(C.bodyClassName||M.bodyClassName),progressClassName:l(C.progressClassName||M.progressClassName),autoClose:!C.isLoading&&(o=C.autoClose,m=M.autoClose,!1===o||a(o)&&o>0?o:m),deleteToast(){let e=f(p.get(E),"removed");p.delete(E),d.emit(4,e);let n=b.queue.length;if(b.count=null==E?b.count-b.displayedToast:b.count-1,b.count<0&&(b.count=0),n>0){let e=null==E?b.props.limit:1;if(1===n||1===e)b.displayedToast++,y();else{let t=e>n?n:e;b.displayedToast=t;for(let e=0;e<t;e++)y()}}else t()}};Z.iconOut=function(e){let{theme:t,type:n,isLoading:o,icon:l}=e,u=null,c={theme:t,type:n};return!1===l||(s(l)?u=l(c):(0,r.isValidElement)(l)?u=(0,r.cloneElement)(l,c):i(l)||a(l)?u=l:o?u=h.spinner():n in h&&(u=h[n](c))),u}(Z),s(C.onOpen)&&(Z.onOpen=C.onOpen),s(C.onClose)&&(Z.onClose=C.onClose),Z.closeButton=M.closeButton,!1===C.closeButton||u(C.closeButton)?Z.closeButton=C.closeButton:!0===C.closeButton&&(Z.closeButton=!u(M.closeButton)||M.closeButton);let T=e;(0,r.isValidElement)(e)&&!i(e.type)?T=(0,r.cloneElement)(e,{closeToast:x,toastProps:Z,data:I}):s(e)&&(T=e({closeToast:x,toastProps:Z,data:I})),M.limit&&M.limit>0&&b.count>M.limit&&S?b.queue.push({toastContent:T,toastProps:Z,staleId:w}):a(g)?setTimeout(()=>{O(T,Z,w)},g):O(T,Z,w)}function O(e,t,n){let{toastId:r}=t;n&&p.delete(n);let a={content:e,props:t};p.set(r,a),o(e=>[...e,r].filter(e=>e!==n)),d.emit(4,f(a,null==a.props.updateId?"added":"updated"))}return(0,r.useEffect)(()=>(b.containerId=e.containerId,d.cancelEmit(3).on(0,w).on(1,e=>c.current&&v(e)).on(5,g).emit(2,b),()=>{p.clear(),d.emit(3,b)}),[]),(0,r.useEffect)(()=>{b.props=e,b.isToastActive=m,b.displayedToast=n.length}),{getToastToRender:function(t){let n=new Map,r=Array.from(p.values());return e.newestOnTop&&r.reverse(),r.forEach(e=>{let{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)}),Array.from(n,e=>t(e[0],e[1]))},containerRef:c,isToastActive:m}}(e),{className:m,style:b,rtl:g,containerId:v}=e;return(0,r.useEffect)(()=>{t&&(t.current=c.current)},[]),r.createElement("div",{ref:c,className:"Toastify",id:v},n((e,t)=>{let n=t.length?{...b}:{...b,pointerEvents:"none"};return r.createElement("div",{className:function(e){let t=(0,o.Z)("Toastify__toast-container","Toastify__toast-container--".concat(e),{"Toastify__toast-container--rtl":g});return s(m)?m({position:e,rtl:g,defaultClassName:t}):(0,o.Z)(t,l(m))}(e),style:n,key:"container-".concat(e)},t.map((e,n)=>{let{content:o,props:a}=e;return r.createElement(y,{...a,isIn:p(a.toastId),style:{...a.style,"--nth":n+1,"--len":t.length},key:"toast-".concat(a.key)},o)}))}))}));C.displayName="ToastContainer",C.defaultProps={position:"top-right",transition:O,autoClose:5e3,closeButton:g,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let E,k=new Map,I=[],M=1;function x(e,t){return k.size>
10?d.emit(0,e,t):I.push({content:e,options:t}),t.toastId}function S(e,t){return{...t,type:t&&t.type||e,toastId:t&&(i(t.toastId)||a(t.toastId))?t.toastId:""+M++}}function Z(e){return(t,n)=>x(t,S(e,n))}function T(e,t){return x(e,S("default",t))}T.loading=(e,t)=>x(e,S("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),T.promise=function(e,t,n){let r,{pending:o,error:a,success:l}=t;o&&(r=i(o)?T.loading(o,n):T.loading(o.render,{...n,...o}));let u={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=(e,t,o)=>{if(null==t)return void T.dismiss(r);let a={type:e,...u,...n,data:o},s=i(t)?{render:t}:t;return r?T.update(r,{...a,...s}):T(s.render,{...a,...s}),o},f=s(e)?e():e;return f.then(e=>c("success",l,e)).catch(e=>c("error",a,e)),f},T.success=Z("success"),T.info=Z("info"),T.error=Z("error"),T.warning=Z("warning"),T.warn=T.warning,T.dark=(e,t)=>x(e,S("default",{theme:"dark",...t})),T.dismiss=e=>{k.size>0?d.emit(1,e):I=I.filter(t=>null!=e&&t.options.toastId!==e)},T.clearWaitingQueue=function(e){return void 0===e&&(e={}),d.emit(5,e)},T.isActive=e=>{let t=!1;return k.forEach(n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)}),t},T.update=function(e,t){void 0===t&&(t={}),setTimeout(()=>{let n=function(e,t){let{containerId:n}=t,r=k.get(n||E);return r&&r.getToast(e)}(e,t);if(n){let{props:r,content:o}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:""+M++};a.toastId!==e&&(a.staleId=e);let i=a.render||o;delete a.render,x(i,a)}},0)},T.done=e=>{T.update(e,{progress:1})},T.onChange=e=>(d.on(4,e),()=>{d.off(4,e)}),T.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},T.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},d.on(2,e=>{E=e.containerId||e,k.set(E,e),I.forEach(e=>{d.emit(0,e.content,e.options)}),I=[]}).on(3,e=>{k.delete(e.containerId||e),0===k.size&&d.off(0).off(1).off(5)})}}]);

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.