tocco-devcon 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/changelog.md +10 -0
  2. package/dist/0b923a43967ff893ec63b92dc4f19017.js +1 -0
  3. package/dist/25894751679e07fd95b21d0d3f6c8c8b.js +1 -0
  4. package/dist/54560f13b36626237959e93b7771a484.js +1 -0
  5. package/dist/58c35e5c73bbc1664bbd67c570342aa0.js +1 -0
  6. package/dist/637e363c105dce85c12fb99d7ef2fa7d.js +1 -0
  7. package/dist/8423f61a6b43ebee39273fd08e332d47.js +1 -0
  8. package/dist/8f5997c65fc8937aa89d15d9a7237f63.js +1 -0
  9. package/dist/a2d3450d9a39c72312a0afa486269a02.js +1 -0
  10. package/dist/a4d638b976f02f35740be031f996e088.js +1 -0
  11. package/dist/aa0619cbb003e1dd873d027494aa84c4.js +1 -0
  12. package/dist/cf26dd07f19bcb5b7efbf057a6cfeb8f.js +1 -0
  13. package/dist/cf9c7cbfc2b609b9ae59daeab82719c4.js +1 -0
  14. package/dist/chunk-245.5a8af83167c27784680a.js +1 -0
  15. package/dist/chunk-277.74d9d0278f0aaf83b719.js +1 -0
  16. package/dist/chunk-314.e86335551ef008332d0b.js +1 -0
  17. package/dist/chunk-378.3f2092226eb9cceab718.js +1 -0
  18. package/dist/chunk-438.7fd6f7c05bc0a6aa8ae9.js +1 -0
  19. package/dist/chunk-696.6412df2b10fa072eaf80.js +13 -0
  20. package/dist/chunk-82.d8e2f9fc408d506ceb28.js +13 -0
  21. package/dist/chunk-code-editor.0ba19df200f7be086504.js +1 -0
  22. package/dist/chunk-vendor-fontawesome.511607848878b714a005.js +7 -0
  23. package/dist/chunk-vendor-libphonenumber-js.d1823895c9e1013739f8.js +1 -0
  24. package/dist/e56fe7e8042772742953d0daa47cd621.js +1 -0
  25. package/dist/f9891d13237b59ce53f07874ab7a711b.js +1 -0
  26. package/dist/fc00657a30e4c8d53e47374ba0b1e8bf.js +1 -0
  27. package/dist/index.js +9 -10
  28. package/package.json +1 -1
  29. package/dist/18e63e724098792b95b076412a860636.js +0 -1
  30. package/dist/6fe3f0823e345813c2084b243cb6650b.js +0 -1
  31. package/dist/77dd68f6396b8ab4ce2c238d6ddb5354.js +0 -1
  32. package/dist/chunk-277.0af81c9b7e1548b99110.js +0 -2
  33. package/dist/chunk-277.0af81c9b7e1548b99110.js.map +0 -1
  34. package/dist/chunk-378.5ad4b80176f57ab52eed.js +0 -2
  35. package/dist/chunk-378.5ad4b80176f57ab52eed.js.map +0 -1
  36. package/dist/chunk-669.8a80f3127dd26f6aa3cc.js +0 -18
  37. package/dist/chunk-669.8a80f3127dd26f6aa3cc.js.map +0 -1
  38. package/dist/chunk-687.51f51a01b7ab160061d4.js +0 -2
  39. package/dist/chunk-687.51f51a01b7ab160061d4.js.map +0 -1
  40. package/dist/chunk-696.14f872b12be45b6b73b6.js +0 -2
  41. package/dist/chunk-696.14f872b12be45b6b73b6.js.map +0 -1
  42. package/dist/chunk-82.c072846d20587bb0bb2a.js +0 -2
  43. package/dist/chunk-82.c072846d20587bb0bb2a.js.map +0 -1
  44. package/dist/chunk-code-editor.a05c61137cf171c6945b.js +0 -2
  45. package/dist/chunk-code-editor.a05c61137cf171c6945b.js.map +0 -1
  46. package/dist/chunk-vendor-fontawesome.ba189cb93222b9d56bac.js +0 -6
  47. package/dist/chunk-vendor-libphonenumber-js.37b12356c360c7f4fa63.js +0 -1
  48. package/dist/index.js.map +0 -1
@@ -1,2 +0,0 @@
1
- (self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[]).push([[82],{6078:(e,t,n)=>{var o=n(43069);e.exports=function(e){if(Array.isArray(e))return o(e)}},91772:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},31503:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},292:(e,t,n)=>{var o=n(6078),r=n(91772),i=n(27258),a=n(31503);e.exports=function(e){return o(e)||r(e)||i(e)||a()}},54053:(e,t,n)=>{var o=n(71662);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return o(e)?e:[e]}},76847:(e,t,n)=>{var o=n(23947),r=n(21191),i=n(95497),a=n(3063),u=n(47345);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}s.prototype.clear=o,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},925:(e,t,n)=>{var o=n(31431).Symbol;e.exports=o},77969:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},84158:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}},76432:e=>{e.exports=function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}},5768:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}},85908:(e,t,n)=>{var o=n(38117),r=n(34210),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&r(a,n)&&(void 0!==n||t in e)||o(e,t,n)}},70889:(e,t,n)=>{var o=n(34210);e.exports=function(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}},38117:(e,t,n)=>{var o=n(2312);e.exports=function(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},11228:e=>{e.exports=function(e){return e}},62878:(e,t,n)=>{var o=n(76432),r=n(68578);e.exports=function e(t,n,i,a,u){var s=-1,l=t.length;for(i||(i=r),u||(u=[]);++s<l;){var c=t[s];n>0&&i(c)?n>1?e(c,n-1,i,a,u):o(u,c):a||(u[u.length]=c)}return u}},29413:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},78872:e=>{e.exports=function(e,t,n){for(var o=n-1,r=e.length;++o<r;)if(e[o]===t)return o;return-1}},6363:(e,t,n)=>{var o=n(15900),r=n(21695);e.exports=function e(t,n,i,a,u){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:o(t,n,i,a,e,u))}},15900:(e,t,n)=>{var o=n(76847),r=n(81714),i=n(22259),a=n(20222),u=n(61134),s=n(71662),l=n(30937),c=n(16847),p="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,v,h){var m=s(e),b=s(t),g=m?"[object Array]":u(e),y=b?"[object Array]":u(t),O=(g="[object Arguments]"==g?p:g)==p,x=(y="[object Arguments]"==y?p:y)==p,I=g==y;if(I&&l(e)){if(!l(t))return!1;m=!0,O=!1}if(I&&!O)return h||(h=new o),m||c(e)?r(e,t,n,d,v,h):i(e,t,g,n,d,v,h);if(!(1&n)){var M=O&&f.call(e,"__wrapped__"),E=x&&f.call(t,"__wrapped__");if(M||E){var C=M?e.value():e,V=E?t.value():t;return h||(h=new o),v(C,V,n,d,h)}}return!!I&&(h||(h=new o),a(e,t,n,d,v,h))}},93307:(e,t,n)=>{var o=n(76847),r=n(6363);e.exports=function(e,t,n,i){var a=n.length,u=a,s=!i;if(null==e)return!u;for(e=Object(e);a--;){var l=n[a];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<u;){var c=(l=n[a])[0],p=e[c],f=l[1];if(s&&l[2]){if(void 0===p&&!(c in e))return!1}else{var d=new o;if(i)var v=i(p,f,c,e,t,d);if(!(void 0===v?r(f,p,3,i,d):v))return!1}}return!0}},98404:(e,t,n)=>{var o=n(47349),r=n(78527),i=n(27529),a=n(71662),u=n(45670);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?r(e[0],e[1]):o(e):u(e)}},47349:(e,t,n)=>{var o=n(93307),r=n(55320),i=n(61713);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}},78527:(e,t,n)=>{var o=n(6363),r=n(67120),i=n(14214),a=n(56815),u=n(24429),s=n(61713),l=n(83997);e.exports=function(e,t){return a(e)&&u(t)?s(l(e),t):function(n){var a=r(n,e);return void 0===a&&a===t?i(n,e):o(t,a,3)}}},68654:(e,t,n)=>{var o=n(65858),r=n(21271),i=n(72028);e.exports=function(e,t,n){for(var a=-1,u=t.length,s={};++a<u;){var l=t[a],c=o(e,l);n(c,l)&&r(s,i(l,e),c)}return s}},24918:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},61214:(e,t,n)=>{var o=n(65858);e.exports=function(e){return function(t){return o(t,e)}}},21271:(e,t,n)=>{var o=n(85908),r=n(72028),i=n(20166),a=n(55148),u=n(83997);e.exports=function(e,t,n,s){if(!a(e))return e;for(var l=-1,c=(t=r(t,e)).length,p=c-1,f=e;null!=f&&++l<c;){var d=u(t[l]),v=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(l!=p){var h=f[d];void 0===(v=s?s(h,d,f):void 0)&&(v=a(h)?h:i(t[l+1])?[]:{})}o(f,d,v),f=f[d]}return e}},11565:e=>{e.exports=function(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o<r;)i[o]=e[o+t];return i}},99478:(e,t,n)=>{var o=n(72028),r=n(862),i=n(15274),a=n(83997);e.exports=function(e,t){return t=o(t,e),null==(e=i(e,t))||delete e[a(r(t))]}},61175:(e,t,n)=>{var o=n(78872);e.exports=function(e,t){return!!(null==e?0:e.length)&&o(e,t,0)>-1}},36733:(e,t,n)=>{var o=n(85908),r=n(38117);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var u=-1,s=t.length;++u<s;){var l=t[u],c=i?i(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),a?r(n,l,c):o(n,l,c)}return n}},90545:(e,t,n)=>{var o=n(13667);e.exports=function(e){return o(e)?void 0:e}},2312:(e,t,n)=>{var o=n(7222),r=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},81714:(e,t,n)=>{var o=n(54053),r=n(5768),i=n(61175);e.exports=function(e,t,n,a,u,s){var l=1&n,c=e.length,p=t.length;if(c!=p&&!(l&&p>c))return!1;var f=s.get(e),d=s.get(t);if(f&&d)return f==t&&d==e;var v=-1,h=!0,m=2&n?new o:void 0;for(s.set(e,t),s.set(t,e);++v<c;){var b=e[v],g=t[v];if(a)var y=l?a(g,b,v,t,e,s):a(b,g,v,e,t,s);if(void 0!==y){if(y)continue;h=!1;break}if(m){if(!r(t,(function(e,t){if(!i(m,t)&&(b===e||u(b,e,n,a,s)))return m.push(t)}))){h=!1;break}}else if(b!==g&&!u(b,g,n,a,s)){h=!1;break}}return s.delete(e),s.delete(t),h}},22259:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},20222:(e,t,n)=>{var o=n(3602),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,u){var s=1&n,l=o(e),c=l.length;if(c!=o(t).length&&!s)return!1;for(var p=c;p--;){var f=l[p];if(!(s?f in t:r.call(t,f)))return!1}var d=u.get(e),v=u.get(t);if(d&&v)return d==t&&v==e;var h=!0;u.set(e,t),u.set(t,e);for(var m=s;++p<c;){var b=e[f=l[p]],g=t[f];if(i)var y=s?i(g,b,f,t,e,u):i(b,g,f,e,t,u);if(!(void 0===y?b===g||a(b,g,n,i,u):y)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var O=e.constructor,x=t.constructor;O==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof O&&O instanceof O&&"function"==typeof x&&x instanceof x||(h=!1)}return u.delete(e),u.delete(t),h}},39709:(e,t,n)=>{var o=n(91588),r=n(31796),i=n(22021);e.exports=function(e){return i(r(e,void 0,o),e+"")}},3602:(e,t,n)=>{var o=n(30824)(Object.keys,Object);e.exports=o},76679:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},55320:(e,t,n)=>{var o=n(24429),r=n(9820);e.exports=function(e){for(var t=r(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,o(a)]}return t}},7222:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},51670:(e,t,n)=>{var o=n(30824)(Object.getPrototypeOf,Object);e.exports=o},34995:(e,t,n)=>{var o=n(72028),r=n(9912),i=n(71662),a=n(20166),u=n(88652),s=n(83997);e.exports=function(e,t,n){for(var l=-1,c=(t=o(t,e)).length,p=!1;++l<c;){var f=s(t[l]);if(!(p=null!=e&&n(e,f)))break;e=e[f]}return p||++l!=c?p:!!(c=null==e?0:e.length)&&u(c)&&a(f,c)&&(i(e)||r(e))}},68578:(e,t,n)=>{var o=n(925),r=n(9912),i=n(71662),a=o?o.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||r(e)||!!(a&&e&&e[a])}},20166:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&t.test(e))&&e>-1&&e%1==0&&e<n}},24429:(e,t,n)=>{var o=n(55148);e.exports=function(e){return e==e&&!o(e)}},23947:e=>{e.exports=function(){this.__data__=[],this.size=0}},21191:(e,t,n)=>{var o=n(70889),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},95497:(e,t,n)=>{var o=n(70889);e.exports=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},3063:(e,t,n)=>{var o=n(70889);e.exports=function(e){return o(this.__data__,e)>-1}},47345:(e,t,n)=>{var o=n(70889);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},61713:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},31796:(e,t,n)=>{var o=n(77969),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=r(i.length-t,0),s=Array(u);++a<u;)s[a]=i[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=i[a];return l[t]=n(s),o(e,this,l)}}},15274:(e,t,n)=>{var o=n(65858),r=n(11565);e.exports=function(e,t){return t.length<2?e:o(e,r(t,0,-1))}},22021:e=>{e.exports=function(e){return e}},30038:(e,t,n)=>{var o=n(55148),r=n(20304),i=n(27584),a=Math.max,u=Math.min;e.exports=function(e,t,n){var s,l,c,p,f,d,v=0,h=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=s,o=l;return s=l=void 0,v=t,p=e.apply(o,n)}function y(e){return v=e,f=setTimeout(x,t),h?g(e):p}function O(e){var n=e-d;return void 0===d||n>=t||n<0||m&&e-v>=c}function x(){var e=r();if(O(e))return I(e);f=setTimeout(x,function(e){var n=t-(e-d);return m?u(n,c-(e-v)):n}(e))}function I(e){return f=void 0,b&&s?g(e):(s=l=void 0,p)}function M(){var e=r(),n=O(e);if(s=arguments,l=this,d=e,n){if(void 0===f)return y(d);if(m)return clearTimeout(f),f=setTimeout(x,t),g(d)}return void 0===f&&(f=setTimeout(x,t)),p}return t=i(t)||0,o(n)&&(h=!!n.leading,c=(m="maxWait"in n)?a(i(n.maxWait)||0,t):c,b="trailing"in n?!!n.trailing:b),M.cancel=function(){void 0!==f&&clearTimeout(f),v=0,s=d=l=f=void 0},M.flush=function(){return void 0===f?p:I(r())},M}},34210:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},91588:(e,t,n)=>{var o=n(62878);e.exports=function(e){return(null==e?0:e.length)?o(e,1):[]}},14214:(e,t,n)=>{var o=n(29413),r=n(34995);e.exports=function(e,t){return null!=e&&r(e,t,o)}},27529:e=>{e.exports=function(e){return e}},21695:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},13667:(e,t,n)=>{var o=n(51657),r=n(51670),i=n(21695),a=Function.prototype,u=Object.prototype,s=a.toString,l=u.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=o(e))return!1;var t=r(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==c}},9820:(e,t,n)=>{var o=n(30824)(Object.keys,Object);e.exports=o},862:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},20732:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},20304:(e,t,n)=>{var o=n(31431);e.exports=function(){return o.Date.now()}},30627:(e,t,n)=>{var o=n(84158),r=n(11228),i=n(99478),a=n(72028),u=n(36733),s=n(90545),l=n(39709),c=n(76679),p=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=o(t,(function(t){return t=a(t,e),l||(l=t.length>1),t})),u(e,c(e),n),l&&(n=r(n,7,s));for(var p=t.length;p--;)i(n,t[p]);return n}));e.exports=p},38734:(e,t,n)=>{var o=n(98404),r=n(20732),i=n(32582);e.exports=function(e,t){return i(e,r(o(t)))}},32582:(e,t,n)=>{var o=n(84158),r=n(98404),i=n(68654),a=n(76679);e.exports=function(e,t){if(null==e)return{};var n=o(a(e),(function(e){return[e]}));return t=r(t),i(e,n,(function(e,n){return t(e,n[0])}))}},45670:(e,t,n)=>{var o=n(24918),r=n(61214),i=n(56815),a=n(83997);e.exports=function(e){return i(e)?o(a(e)):r(e)}},70536:(e,t,n)=>{var o=n(30038),r=n(55148);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),o(e,t,{leading:i,maxWait:t,trailing:a})}},6876:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>fe});var o=n(46854),r=n(1024),i=n.n(r),a=n(30997),u=n(63116),s=n(64998),l=n(32480);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function p(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function f(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=n(35741);function v(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const h=function(e,t){var n;void 0===t&&(t=v);var o,r=[],i=!1;return function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return i&&n===this&&t(a,r)||(o=e.apply(this,a),i=!0,n=this,r=a),o}};var m=n(70821);for(var 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,o.Z)({css:b},e))},y={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.isDisabled,r=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(o?"":", 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"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,a=e.selectValue,u=e.isDisabled,s=e.isSelected,l=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(l(a,n),".");if("menu"===t){var c=u?" disabled":"",p="".concat(s?"selected":"focused").concat(c);return"option ".concat(i," ").concat(p,", ").concat(l(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},O=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,u=e.focusableOptions,s=e.isFocused,l=e.selectValue,c=e.selectProps,p=e.id,f=c.ariaLiveMessages,v=c.getOptionLabel,h=c.inputValue,m=c.isMulti,b=c.isOptionDisabled,O=c.isSearchable,x=c.menuIsOpen,I=c.options,M=c.screenReaderStatus,E=c.tabSelectsValue,C=c["aria-label"],V=c["aria-live"],S=(0,r.useMemo)((function(){return(0,a.a)((0,a.a)({},y),f||{})}),[f]),w=(0,r.useMemo)((function(){var e,n="";if(t&&S.onChange){var o=t.option,r=t.options,i=t.removedValue,u=t.removedValues,s=t.value,c=i||o||(e=s,Array.isArray(e)?null:e),p=c?v(c):"",f=r||u||void 0,d=f?f.map(v):[],h=(0,a.a)({isDisabled:c&&b(c,l),label:p,labels:d},t);n=S.onChange(h)}return n}),[t,S,b,l,v]),D=(0,r.useMemo)((function(){var e="",t=n||o,r=!!(n&&l&&l.includes(n));if(t&&S.onFocus){var i={focused:t,label:v(t),isDisabled:b(t,l),isSelected:r,options:I,context:t===n?"menu":"value",selectValue:l};e=S.onFocus(i)}return e}),[n,o,v,b,S,I,l]),k=(0,r.useMemo)((function(){var e="";if(x&&I.length&&S.onFilter){var t=M({count:u.length});e=S.onFilter({inputValue:h,resultsMessage:t})}return e}),[u,h,x,S,I,M]),F=(0,r.useMemo)((function(){var e="";if(S.guidance){var t=o?"value":x?"menu":"input";e=S.guidance({"aria-label":C,context:t,isDisabled:n&&b(n,l),isMulti:m,isSearchable:O,tabSelectsValue:E})}return e}),[C,n,o,m,b,O,x,S,l,E]),L="".concat(D," ").concat(k," ").concat(F),T=(0,d.tZ)(i().Fragment,null,(0,d.tZ)("span",{id:"aria-selection"},w),(0,d.tZ)("span",{id:"aria-context"},L)),R="initial-input-focus"===(null==t?void 0:t.action);return(0,d.tZ)(i().Fragment,null,(0,d.tZ)(g,{id:p},R&&T),(0,d.tZ)(g,{"aria-live":V,"aria-atomic":"false","aria-relevant":"additions text"},s&&!R&&T))},x=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],I=new RegExp("["+x.map((function(e){return e.letters})).join("")+"]","g"),M={},E=0;E<x.length;E++)for(var C=x[E],V=0;V<C.letters.length;V++)M[C.letters[V]]=C.base;var S=function(e){return e.replace(I,(function(e){return M[e]}))},w=h(S),D=function(e){return e.replace(/^\s+|\s+$/g,"")},k=function(e){return"".concat(e.label," ").concat(e.value)},F=["innerRef"];function L(e){var t=e.innerRef,n=(0,m.Z)(e,F);return(0,d.tZ)("input",(0,o.Z)({ref:t},n,{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 T=["boxSizing","height","overflow","paddingRight","position"],R={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function P(e){e.preventDefault()}function A(e){e.stopPropagation()}function _(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function j(){return"ontouchstart"in window||navigator.maxTouchPoints}var Z=!("undefined"==typeof window||!window.document||!window.document.createElement),H=0,B={capture:!1,passive:!1};var U=function(){return document.activeElement&&document.activeElement.blur()},z={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function N(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,u=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,u=e.onTopLeave,s=(0,r.useRef)(!1),l=(0,r.useRef)(!1),c=(0,r.useRef)(0),p=(0,r.useRef)(null),f=(0,r.useCallback)((function(e,t){if(null!==p.current){var r=p.current,a=r.scrollTop,c=r.scrollHeight,f=r.clientHeight,d=p.current,v=t>0,h=c-f-a,m=!1;h>t&&s.current&&(o&&o(e),s.current=!1),v&&l.current&&(u&&u(e),l.current=!1),v&&t>h?(n&&!s.current&&n(e),d.scrollTop=c,m=!0,s.current=!0):!v&&-t>a&&(i&&!l.current&&i(e),d.scrollTop=0,m=!0,l.current=!0),m&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,i,u]),d=(0,r.useCallback)((function(e){f(e,e.deltaY)}),[f]),v=(0,r.useCallback)((function(e){c.current=e.changedTouches[0].clientY}),[]),h=(0,r.useCallback)((function(e){var t=c.current-e.changedTouches[0].clientY;f(e,t)}),[f]),m=(0,r.useCallback)((function(e){if(e){var t=!!a.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",v,t),e.addEventListener("touchmove",h,t)}}),[h,v,d]),b=(0,r.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",v,!1),e.removeEventListener("touchmove",h,!1))}),[h,v,d]);return(0,r.useEffect)((function(){if(t){var e=p.current;return m(e),function(){b(e)}}}),[t,m,b]),function(e){p.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,i=(0,r.useRef)({}),a=(0,r.useRef)(null),u=(0,r.useCallback)((function(e){if(Z){var t=document.body,n=t&&t.style;if(o&&T.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&H<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,u=window.innerWidth-a+r||0;Object.keys(R).forEach((function(e){var t=R[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(u,"px"))}t&&j()&&(t.addEventListener("touchmove",P,B),e&&(e.addEventListener("touchstart",_,B),e.addEventListener("touchmove",A,B))),H+=1}}),[o]),s=(0,r.useCallback)((function(e){if(Z){var t=document.body,n=t&&t.style;H=Math.max(H-1,0),o&&H<1&&T.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&j()&&(t.removeEventListener("touchmove",P,B),e&&(e.removeEventListener("touchstart",_,B),e.removeEventListener("touchmove",A,B)))}}),[o]);return(0,r.useEffect)((function(){if(t){var e=a.current;return u(e),function(){s(e)}}}),[t,u,s]),function(e){a.current=e}}({isEnabled:n});return(0,d.tZ)(i().Fragment,null,n&&(0,d.tZ)("div",{onClick:U,css:z}),t((function(e){u(e),s(e)})))}var Y={clearIndicator:a.b,container:a.d,control:a.e,dropdownIndicator:a.f,group:a.g,groupHeading:a.h,indicatorsContainer:a.i,indicatorSeparator:a.j,input:a.k,loadingIndicator:a.l,loadingMessage:a.m,menu:a.n,menuList:a.o,menuPortal:a.p,multiValue:a.q,multiValueLabel:a.r,multiValueRemove:a.t,noOptionsMessage:a.u,option:a.v,placeholder:a.w,singleValue:a.x,valueContainer:a.y};var W,G={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}},X={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,a.z)(),captureMenuScroll:!(0,a.z)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,a.a)({ignoreCase:!0,ignoreAccents:!0,stringify:k,trim:!0,matchFrom:"any"},W),o=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,u=n.trim,s=n.matchFrom,l=u?D(t):t,c=u?D(i(e)):i(e);return o&&(l=l.toLowerCase(),c=c.toLowerCase()),r&&(l=w(l),c=S(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,a.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};function K(e,t,n,o){return{type:"option",data:t,isDisabled:te(e,t,n),isSelected:ne(e,t,n),label:Q(e,t),value:ee(e,t),index:o}}function q(e,t){return e.options.map((function(n,o){if("options"in n){var r=n.options.map((function(n,o){return K(e,n,t,o)})).filter((function(t){return $(e,t)}));return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=K(e,n,t,o);return $(e,i)?i:void 0})).filter(a.G)}function J(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,f(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function $(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,a=t.label,u=t.value;return(!re(e)||!i)&&oe(e,{label:a,value:u,data:r},o)}var Q=function(e,t){return e.getOptionLabel(t)},ee=function(e,t){return e.getOptionValue(t)};function te(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ne(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=ee(e,t);return n.some((function(t){return ee(e,t)===o}))}function oe(e,t,n){return!e.filterOption||e.filterOption(t,n)}var re=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ie=1,ae=function(e){(0,l.Z)(n,e);var t=(0,a._)(n);function n(e){var o;return(0,u.Z)(this,n),(o=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.instancePrefix="",o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,a=r.isMulti;o.onInputChange("",{action:"set-value"}),i&&(o.setState({inputIsHiddenAfterUpdate:!a}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,u=o.state.selectValue,s=r&&o.isOptionSelected(e,u),l=o.isOptionDisabled(e,u);if(s){var c=o.getOptionValue(e);o.setValue((0,a.B)(u.filter((function(e){return o.getOptionValue(e)!==c}))),"deselect-option",e)}else{if(l)return void o.ariaOnChange((0,a.C)(e),{action:"select-option",option:e,name:i});r?o.setValue((0,a.B)([].concat(f(u),[e])),"select-option",e):o.setValue((0,a.C)(e),"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter((function(e){return o.getOptionValue(e)!==r})),u=(0,a.D)(t,i,i[0]||null);o.onChange(u,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange((0,a.D)(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=(0,a.D)(e,r,r[0]||null);o.onChange(i,{action:"pop-value",removedValue:n})},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.E.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Q(o.props,e)},o.getOptionValue=function(e){return ee(o.props,e)},o.getStyles=function(e,t){var n=Y[e](t);n.boxSizing="border-box";var r=o.props.styles[e];return r?r(n,t):n},o.getElementId=function(e){return"".concat(o.instancePrefix,"-").concat(e)},o.getComponents=function(){return(0,a.F)(o.props)},o.buildCategorizedOptions=function(){return q(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return J(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:(0,a.a)({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault(),e.stopPropagation()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),e.stopPropagation(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout((function(){return o.focusInput()})))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,a.H)(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(t,{action:"input-change"}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur"}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){o.blockOptionHover||o.state.focusedOption===e||o.setState({focusedOption:e})},o.shouldHideSelectedOptions=function(){return re(o.props)},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,u=t.isClearable,s=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,p=t.tabSelectsValue,f=t.openMenuOnFocus,d=o.state,v=d.focusedOption,h=d.focusedValue,m=d.selectValue;if(!(s||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(h)o.removeValue(h);else{if(!r)return;n?o.popValue():u&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!l||!p||!v||f&&o.isOptionSelected(v,m))return;o.selectOption(v);break;case"Enter":if(229===e.keyCode)break;if(l){if(!v)return;if(o.isComposing)return;o.selectOption(v);break}return;case"Escape":l?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close"}),o.onMenuClose()):u&&i&&o.clearValue();break;case" ":if(a)return;if(!l){o.openMenu("first");break}if(!v)return;o.selectOption(v);break;case"ArrowUp":l?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":l?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!l)return;o.focusOption("pageup");break;case"PageDown":if(!l)return;o.focusOption("pagedown");break;case"Home":if(!l)return;o.focusOption("first");break;case"End":if(!l)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.instancePrefix="react-select-"+(o.props.instanceId||++ie),o.state.selectValue=(0,a.I)(e.value),o}return(0,s.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()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,a.J)(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"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var u=i.indexOf(o[0]);u>-1&&(a=u)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(a=r+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(G):(0,a.a)((0,a.a)({},G),this.props.theme):G}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getValue,r=this.selectOption,i=this.setValue,a=this.props,u=a.isMulti,s=a.isRtl,l=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:o,hasValue:this.hasValue(),isMulti:u,isRtl:s,options:l,selectOption:r,selectProps:a,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 te(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ne(this.props,e,t)}},{key:"filterOption",value:function(e,t){return oe(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,u=e.inputValue,s=e.tabIndex,l=e.form,c=e.menuIsOpen,p=this.getComponents().Input,f=this.state,d=f.inputIsHidden,v=f.ariaSelection,h=this.commonProps,m=r||this.getElementId("input"),b=(0,a.a)((0,a.a)({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox"),"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==v?void 0:v.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i().createElement(p,(0,o.Z)({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:u},b)):i().createElement(L,(0,o.Z)({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:a.K,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:l,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,a=t.MultiValueLabel,u=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,p=this.props,f=p.controlShouldRenderValue,d=p.isDisabled,v=p.isMulti,h=p.inputValue,m=p.placeholder,b=this.state,g=b.selectValue,y=b.focusedValue,O=b.isFocused;if(!this.hasValue()||!f)return h?null:i().createElement(l,(0,o.Z)({},c,{key:"placeholder",isDisabled:d,isFocused:O,innerProps:{id:this.getElementId("placeholder")}}),m);if(v)return g.map((function(t,s){var l=t===y;return i().createElement(n,(0,o.Z)({},c,{components:{Container:r,Label:a,Remove:u},isFocused:l,isDisabled:d,key:"".concat(e.getOptionValue(t),"-").concat(s),index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var x=g[0];return i().createElement(s,(0,o.Z)({},c,{data:x,isDisabled:d}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,a=n.isLoading,u=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i().createElement(e,(0,o.Z)({},t,{innerProps:s,isFocused:u}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,a=n.isLoading,u=this.state.isFocused;if(!e||!a)return null;return i().createElement(e,(0,o.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:u}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,a=this.props.isDisabled,u=this.state.isFocused;return i().createElement(n,(0,o.Z)({},r,{isDisabled:a,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i().createElement(e,(0,o.Z)({},t,{innerProps:a,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,u=t.Menu,s=t.MenuList,l=t.MenuPortal,c=t.LoadingMessage,p=t.NoOptionsMessage,f=t.Option,d=this.commonProps,v=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,b=h.inputValue,g=h.isLoading,y=h.loadingMessage,O=h.minMenuHeight,x=h.maxMenuHeight,I=h.menuIsOpen,M=h.menuPlacement,E=h.menuPosition,C=h.menuPortalTarget,V=h.menuShouldBlockScroll,S=h.menuShouldScrollIntoView,w=h.noOptionsMessage,D=h.onMenuScrollToTop,k=h.onMenuScrollToBottom;if(!I)return null;var F,L=function(t,n){var r=t.type,a=t.data,u=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,p=v===a,h=u?void 0:function(){return e.onOptionHover(a)},m=u?void 0:function(){return e.selectOption(a)},b="".concat(e.getElementId("option"),"-").concat(n),g={id:b,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1};return i().createElement(f,(0,o.Z)({},d,{innerProps:g,data:a,isDisabled:u,isSelected:s,key:b,label:l,type:r,value:c,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())F=this.getCategorizedOptions().map((function(t){if("group"===t.type){var a=t.data,u=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return i().createElement(n,(0,o.Z)({},d,{key:l,data:a,options:u,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return L(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return L(t,"".concat(t.index))}));else if(g){var T=y({inputValue:b});if(null===T)return null;F=i().createElement(c,d,T)}else{var R=w({inputValue:b});if(null===R)return null;F=i().createElement(p,d,R)}var P={minMenuHeight:O,maxMenuHeight:x,menuPlacement:M,menuPosition:E,menuShouldScrollIntoView:S},A=i().createElement(a.M,(0,o.Z)({},d,P),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,l=r.maxHeight;return i().createElement(u,(0,o.Z)({},d,P,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:g,placement:a}),i().createElement(N,{captureEnabled:m,onTopArrive:D,onBottomArrive:k,lockEnabled:V},(function(t){return i().createElement(s,(0,o.Z)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:g,maxHeight:l,focusedOption:v}),F)})))}));return C||"fixed"===E?i().createElement(l,(0,o.Z)({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:M,menuPosition:E}),A):A}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,a=t.name,u=this.state.selectValue;if(a&&!o){if(r){if(n){var s=u.map((function(t){return e.getOptionValue(t)})).join(n);return i().createElement("input",{name:a,type:"hidden",value:s})}var l=u.length>0?u.map((function(t,n){return i().createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):i().createElement("input",{name:a,type:"hidden"});return i().createElement("div",null,l)}var c=u[0]?this.getOptionValue(u[0]):"";return i().createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,a=t.focusedValue,u=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return i().createElement(O,(0,o.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:a,isFocused:u,selectValue:s,focusableOptions:l}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,a=e.ValueContainer,u=this.props,s=u.className,l=u.id,c=u.isDisabled,p=u.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return i().createElement(r,(0,o.Z)({},d,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),i().createElement(t,(0,o.Z)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:p}),i().createElement(a,(0,o.Z)({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),i().createElement(n,(0,o.Z)({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,u=t.isFocused,s=t.prevWasFocused,l=e.options,c=e.value,p=e.menuIsOpen,f=e.inputValue,d=e.isMulti,v=(0,a.I)(c),h={};if(n&&(c!==n.value||l!==n.options||p!==n.menuIsOpen||f!==n.inputValue)){var m=p?function(e,t){return J(q(e,t))}(e,v):[],b=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,v):null;h={selectValue:v,focusedOption:function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,m),focusedValue:b,clearFocusValueOnUpdate:!1}}var g=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},y=i,O=u&&s;return u&&!O&&(y={value:(0,a.D)(d,v,v[0]||null),options:v,action:"initial-input-focus"},O=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(y=null),(0,a.a)((0,a.a)((0,a.a)({},h),g),{},{prevProps:e,ariaSelection:y,prevWasFocused:O})}}]),n}(r.Component);function ue(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw r}}return i}}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}ae.defaultProps=X;var se=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var le=n(60857),ce=n(92813),pe=(n(30314),i().forwardRef((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,i=void 0!==o&&o,u=e.defaultValue,s=void 0===u?null:u,l=e.inputValue,c=e.menuIsOpen,p=e.onChange,f=e.onInputChange,d=e.onMenuClose,v=e.onMenuOpen,h=e.value,b=(0,m.Z)(e,se),g=ue((0,r.useState)(void 0!==l?l:n),2),y=g[0],O=g[1],x=ue((0,r.useState)(void 0!==c?c:i),2),I=x[0],M=x[1],E=ue((0,r.useState)(void 0!==h?h:s),2),C=E[0],V=E[1],S=(0,r.useCallback)((function(e,t){"function"==typeof p&&p(e,t),V(e)}),[p]),w=(0,r.useCallback)((function(e,t){var n;"function"==typeof f&&(n=f(e,t)),O(void 0!==n?n:e)}),[f]),D=(0,r.useCallback)((function(){"function"==typeof v&&v(),M(!0)}),[v]),k=(0,r.useCallback)((function(){"function"==typeof d&&d(),M(!1)}),[d]),F=void 0!==l?l:y,L=void 0!==c?c:I,T=void 0!==h?h:C;return(0,a.a)((0,a.a)({},b),{},{inputValue:F,menuIsOpen:L,onChange:S,onInputChange:w,onMenuClose:k,onMenuOpen:D,value:T})}(e);return i().createElement(ae,(0,o.Z)({ref:t},n))})));r.Component;const fe=pe},71870:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var o=n(1024),r=n.n(o),i=n(35989),a=n.n(i),u=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},c={outline:"none"},p=function(e){function t(){var n,o;u(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=o=l(this,e.call.apply(e,[this].concat(a))),o.state={focused:!1},o._isMounted=!1,o._lastBlurEvent=null,o.ref=r().createRef(),o._onFocusIn=function(){o._isMounted&&o._lastBlurEvent&&o.isInsideNode(o.ref.current,o._lastBlurEvent.target)&&!o.isInsideNode(o.ref.current,document.activeElement)&&o.setState({focused:!1},(function(){document.removeEventListener("focusin",o._onFocusIn),o.props.onBlur(o._lastBlurEvent)}))},o.onFocus=function(e){var t=o.props.onFocus;o.state.focused||o.setState({focused:!0},(function(){document.addEventListener("focusin",o._onFocusIn),t(e)}))},o.onBlur=function(e){e.persist(),o._lastBlurEvent=e},o.isInsideNode=function(e,t){return null!=e&&e.contains(t)},l(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){null!=document&&document.querySelector("body").setAttribute("tabindex","-1"),this._isMounted=!0},t.prototype.componentWillUnmount=function(){this._isMounted=!1,document.removeEventListener("focusin",this._onFocusIn)},t.prototype.focus=function(){var e=this.ref.current;null!=e&&"function"==typeof e.focus&&e.focus()},t.prototype.render=function(){var e=this.props.children,t=this.state.focused,n={onFocus:this.onFocus,onBlur:this.onBlur};return"function"==typeof e?r().cloneElement(e({focused:t,getRef:this.ref}),n):r().createElement("div",s({ref:this.ref,style:c},n),e)},t}(r().Component);p.propTypes={children:a().oneOfType([a().node,a().func]).isRequired,onBlur:a().func,onFocus:a().func},p.defaultProps={onBlur:function(){},onFocus:function(){}};const f=p}}]);
2
- //# sourceMappingURL=chunk-82.c072846d20587bb0bb2a.js.map