1/*! For license information please see 477.b5b67540650d4e2dc6c4.chunk.js.LICENSE.txt */ 2(self.webpackChunkweb=self.webpackChunkweb||[]).push([[477],{77883:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(48910);function o(e,t){e.classList?e.classList.add(t):(0,r.A)(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}},48910:function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{A:function(){return r}})},75852:function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function o(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}n.d(t,{A:function(){return o}})},22460:function(e,t,n){"use strict";n.d(t,{k:function(){return S}});var r,o,i,u,s,a,c,l,f=n(57528),d=n(60436),p=n(5544);function g(e){var t=e.topLeftCornerRadius,n=e.topRightCornerRadius,r=e.bottomRightCornerRadius,o=e.bottomLeftCornerRadius,i=e.width,u=e.height,s={topLeft:-1,topRight:-1,bottomLeft:-1,bottomRight:-1},a={topLeft:t,topRight:n,bottomLeft:o,bottomRight:r};return Object.entries(a).sort(function(e,t){var n=(0,p.A)(e,2)[1];return(0,p.A)(t,2)[1]-n}).forEach(function(e){var t=(0,p.A)(e,2),n=t[0],r=t[1],o=n,c=h[o],l=Math.min.apply(Math,(0,d.A)(c.map(function(e){var t=a[e.corner];if(0===r&&0===t)return 0;var n=s[e.corner],o="top"===e.side||"bottom"===e.side?i:u;return n>=0?o-s[e.corner]:r/(r+t)*o})));s[o]=l,a[o]=Math.min(r,l)}),{topLeft:{radius:a.topLeft,roundingAndSmoothingBudget:s.topLeft},topRight:{radius:a.topRight,roundingAndSmoothingBudget:s.topRight},bottomLeft:{radius:a.bottomLeft,roundingAndSmoothingBudget:s.bottomLeft},bottomRight:{radius:a.bottomRight,roundingAndSmoothingBudget:s.bottomRight}}}var h={topLeft:[{corner:"topRight",side:"top"},{corner:"bottomLeft",side:"left"}],topRight:[{corner:"topLeft",side:"top"},{corner:"bottomRight",side:"right"}],bottomLeft:[{corner:"bottomRight",side:"bottom"},{corner:"topLeft",side:"left"}],bottomRight:[{corner:"bottomLeft",side:"bottom"},{corner:"topRight",side:"right"}]};function v(e){var t=e.cornerRadius,n=e.cornerSmoothing,r=e.preserveSmoothing,o=e.roundingAndSmoothingBudget,i=(1+n)*t;if(!r){var u=o/t-1;n=Math.min(n,u),i=Math.min(i,o)}var s=90*(1-n),a=Math.sin(y(s/2))*t*Math.sqrt(2),c=(90-s)/2,l=45*n,f=t*Math.tan(y(c/2))*Math.cos(y(l)),d=f*Math.tan(y(l)),p=(i-a-f-d)/3,g=2*p;if(r&&i>o){var h=o-d-a-f,v=h-h/6;g=h-(p=Math.min(p,v)),i=Math.min(i,o)}return{a:g,b:p,c:f,d:d,p:i,arcSectionLength:a,cornerRadius:t}}function m(e){var t=e.width,n=e.height,d=e.topLeftPathParams,p=e.topRightPathParams,g=e.bottomLeftPathParams,h=e.bottomRightPathParams;return"\n M ".concat(t-p.p," 0\n ").concat(function(e){var t=e.cornerRadius,n=e.a,i=e.b,u=e.c,s=e.d,a=e.p,c=e.arcSectionLength;return t?b(r||(r=(0,f.A)(["\n c "," 0 "," 0 "," ","\n a "," "," 0 0 1 "," ","\n c "," ","\n "," ","\n "," ",""])),n,n+i,n+i+u,s,t,t,c,c,s,u,s,i+u,s,n+i+u):b(o||(o=(0,f.A)(["l "," 0"])),a)}(p),"\n L ").concat(t," ").concat(n-h.p,"\n ").concat(function(e){var t=e.cornerRadius,n=e.a,r=e.b,o=e.c,s=e.d,a=e.p,c=e.arcSectionLength;return t?b(i||(i=(0,f.A)(["\n c 0 ","\n 0 ","\n "," ","\n a "," "," 0 0 1 -"," ","\n c "," ","\n "," ","\n "," ",""])),n,n+r,-s,n+r+o,t,t,c,c,-o,s,-(r+o),s,-(n+r+o),s):b(u||(u=(0,f.A)(["l 0 ",""])),a)}(h),"\n L ").concat(g.p," ").concat(n,"\n ").concat(function(e){var t=e.cornerRadius,n=e.a,r=e.b,o=e.c,i=e.d,u=e.p,c=e.arcSectionLength;return t?b(s||(s=(0,f.A)(["\n c "," 0\n "," 0\n "," ","\n a "," "," 0 0 1 -"," -","\n c "," ","\n "," ","\n "," ",""])),-n,-(n+r),-(n+r+o),-i,t,t,c,c,-i,-o,-i,-(r+o),-i,-(n+r+o)):b(a||(a=(0,f.A)(["l "," 0"])),-u)}(g),"\n L 0 ").concat(d.p,"\n ").concat(function(e){var t=e.cornerRadius,n=e.a,r=e.b,o=e.c,i=e.d,u=e.p,s=e.arcSectionLength;return t?b(c||(c=(0,f.A)(["\n c 0 ","\n 0 ","\n "," ","\n a "," "," 0 0 1 "," -","\n c "," ","\n "," ","\n "," ",""])),-n,-(n+r),i,-(n+r+
2o),t,t,s,s,o,-i,r+o,-i,n+r+o,-i):b(l||(l=(0,f.A)(["l 0 ",""])),-u)}(d),"\n Z\n ").replace(/[\t\s\n]+/g," ").trim()}function y(e){return e*Math.PI/180}function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.reduce(function(e,t,r){var o=n[r];return"number"===typeof o?e+t+o.toFixed(4):e+t+(null!==o&&void 0!==o?o:"")},"")}function S(e){var t=e.cornerRadius,n=void 0===t?0:t,r=e.topLeftCornerRadius,o=e.topRightCornerRadius,i=e.bottomRightCornerRadius,u=e.bottomLeftCornerRadius,s=e.cornerSmoothing,a=e.width,c=e.height,l=e.preserveSmoothing,f=void 0!==l&&l;if(u=null!==u&&void 0!==u?u:n,i=null!==i&&void 0!==i?i:n,(r=null!==r&&void 0!==r?r:n)===(o=null!==o&&void 0!==o?o:n)&&o===i&&i===u&&u===r){var d=Math.min(a,c)/2,p=v({cornerRadius:Math.min(r,d),cornerSmoothing:s,preserveSmoothing:f,roundingAndSmoothingBudget:d});return m({width:a,height:c,topLeftPathParams:p,topRightPathParams:p,bottomLeftPathParams:p,bottomRightPathParams:p})}var h=g({topLeftCornerRadius:r,topRightCornerRadius:o,bottomRightCornerRadius:i,bottomLeftCornerRadius:u,width:a,height:c}),y=h.topLeft,b=h.topRight,S=h.bottomLeft,w=h.bottomRight;return m({width:a,height:c,topLeftPathParams:v({cornerSmoothing:s,preserveSmoothing:f,cornerRadius:y.radius,roundingAndSmoothingBudget:y.roundingAndSmoothingBudget}),topRightPathParams:v({cornerSmoothing:s,preserveSmoothing:f,cornerRadius:b.radius,roundingAndSmoothingBudget:b.roundingAndSmoothingBudget}),bottomRightPathParams:v({cornerSmoothing:s,preserveSmoothing:f,cornerRadius:w.radius,roundingAndSmoothingBudget:w.roundingAndSmoothingBudget}),bottomLeftPathParams:v({cornerSmoothing:s,preserveSmoothing:f,cornerRadius:S.radius,roundingAndSmoothingBudget:S.roundingAndSmoothingBudget})})}},78957:function(e,t,n){"use strict";t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(82483)),o=a(n(16405)),i=a(n(58464)),u=a(n(98397)),s=n(54155);function a(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function l(e){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e){return function(){var t,n=v(e);if(function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var r=v(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"===typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(){return!0},S="suggestions-revealed",w="input-focused",x="input-changed",O="escape-pressed",E=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(c,e);var t,n,o,a=g(c);function c(e){var t,n=e.alwaysRenderSuggestions;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),y(h(t=a.call(this)),"onDocumentMouseDown",function(e){t.justClickedOnSuggestionsContainer=!1;for(var n=e.detail&&e.detail.target||e.target;null!==n&&n!==document;){if(n.getAttribute&&null!==n.getAttribute("data-suggestion-index"))return;if(n===t.suggestionsContainer)return void(t.justClickedOnSuggestionsContainer=!0);n=n.parentNode}}),y(h(t),"storeAutowhateverRef",function(e){null!==e&&(t.autowhatever=e)}),y(h(t),"onSuggestionMouseEnter",function(e,n){var r=n.sectionIndex,o=n.itemIndex;t.updateHighlightedSuggestion(r,o),e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!0),t.justMouseEntered=!0,setTimeout(function(){t.justMouseEntered=!1})}),y(h(t),"highlightFirstSuggestion",function(){t.updateHighlightedSuggestion(t.props.multiSection?0:null,0)}),y(h(t),"onDocumentMouseUp",function(){t.pressedSuggestion&&!t.justSelectedSuggestion&&t.input.focus(),t.pressedSuggestion=null}),y(h(t),"onSuggestionMouseDown",function(e){t.justSelectedSuggestion||(t.justSelectedSuggestion=!0,t.pressedSuggestion=e.target)}),y(h(t),"onSuggestionsClearRequested",function(){var e=t.props.onSuggestionsClearRequested;e&&e()}),y(h(t),"onSuggestionSelected",function(e,n){var r=t.props,o=r.alwaysRenderSuggestions,i=r.onSuggestionSelected,u=r.onSuggestionsFetchRequested;i&&i(e,n);var s=t.props.shouldKeepSuggestionsOnSelect(n.suggestion);o||s?u({value:n.suggestionValue,reason:"suggestion-selected"}):t.onSuggestionsClearRequested(),t.resetHighlightedSuggestion()}),y(h(t),"onSuggestionClick",function(e){var n=t.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,i=t.getSuggestionIndices(t.findSuggestionElement(e.target)),u=i.sectionIndex,s=i.suggestionIndex,a=t.getSuggestion(u,s),c=t.props.getSuggestionValue(a);t.maybeCallOnChange(e,c,"click"),t.onSuggestionSelected(e,{suggestion:a,suggestionValue:c,suggestionIndex:s,sectionIndex:u,method:"click"});var l=t.props.shouldKeepSuggestionsOnSelect(a);r||l||t.closeSuggestions(),!0===o?t.input.focus():t.onBlur(),setTimeout(function(){t.justSelectedSuggestion=!1})}),y(h(t),"onBlur",function(){var e=t.props,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value,i=n.onBlur,u=t.getHighlightedSuggestion(),s=r(o,"input-blurred");t.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),i&&i(t.blurEvent,{highlightedSuggestion:u})}),y(h(t),"onSuggestionMouseLeave",function(e){t.resetHighlightedSuggestion(!1),t.justSelectedSuggestion&&e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!1)}),y(h(t),"onSuggestionTouchStart",function(){t.justSelectedSuggestion=!0}
2),y(h(t),"onSuggestionTouchMove",function(){t.justSelectedSuggestion=!1,t.pressedSuggestion=null,t.input.focus()}),y(h(t),"itemProps",function(e){return{"data-section-index":e.sectionIndex,"data-suggestion-index":e.itemIndex,onMouseEnter:t.onSuggestionMouseEnter,onMouseLeave:t.onSuggestionMouseLeave,onMouseDown:t.onSuggestionMouseDown,onTouchStart:t.onSuggestionTouchStart,onTouchMove:t.onSuggestionTouchMove,onClick:t.onSuggestionClick}}),y(h(t),"renderSuggestionsContainer",function(e){var n=e.containerProps,r=e.children;return(0,t.props.renderSuggestionsContainer)({containerProps:n,children:r,query:t.getQuery()})}),t.state={isFocused:!1,isCollapsed:!n,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},t.justPressedUpDown=!1,t.justMouseEntered=!1,t.pressedSuggestion=null,t}return t=c,n=[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=0===this.state.highlightedSuggestionIndex&&this.props.highlightFirstSuggestion&&!e.highlightFirstSuggestion;(0,i.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered?this.highlightFirstSuggestion():t&&this.resetHighlightedSuggestion():this.willRenderSuggestions(e,"suggestions-updated")?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),t&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,u=n.highlightFirstSuggestion;if(!(0,i.default)(r,e.suggestions)&&r.length>0&&u)this.highlightFirstSuggestion();else if(o){var s=this.getHighlightedSuggestion();s!=t.highlightedSuggestion&&o({suggestion:s})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState(function(o){var i=o.valueBeforeUpDown;return null===t?i=null:null===i&&"undefined"!==typeof n&&(i=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:i}})}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState(function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,i=n.getSectionSuggestions;return o?i(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"===typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(t.getAttribute&&null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,i=r.onChange;t!==o&&i(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e,t){var n=e.suggestions,r=e.inputProps,o=e.shouldRenderSuggestions,i=r.value;return n.length>0&&o(i,t)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,i=t.onSuggestionsFetchRequested,a=t.render
2Suggestion,c=t.inputProps,l=t.multiSection,f=t.renderSectionTitle,p=t.id,g=t.getSectionSuggestions,h=t.theme,v=t.getSuggestionValue,m=t.alwaysRenderSuggestions,y=t.highlightFirstSuggestion,E=t.containerProps,A=this.state,_=A.isFocused,R=A.isCollapsed,C=A.highlightedSectionIndex,I=A.highlightedSuggestionIndex,P=A.valueBeforeUpDown,k=m?b:this.props.shouldRenderSuggestions,j=c.value,T=c.onFocus,L=c.onKeyDown,D=this.willRenderSuggestions(this.props,"render"),M=m||_&&!R&&D,N=M?n:[],B=d({},c,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=k(j,w);e.setState({isFocused:!0,isCollapsed:!n}),T&&T(t),n&&i({value:j,reason:w})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,r=k(n,x);e.maybeCallOnChange(t,n,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(d({},y?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!r})),r?i({value:n,reason:x}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(R)k(j,S)&&(i({value:j,reason:S}),e.revealSuggestions(),t.preventDefault());else if(n.length>0){var u,s=r.newHighlightedSectionIndex,a=r.newHighlightedItemIndex;u=null===a?null===P?j:P:e.getSuggestionValueByIndex(s,a),e.updateHighlightedSuggestion(s,a,j),e.maybeCallOnChange(t,u,40===o?"down":"up"),t.preventDefault()}e.justPressedUpDown=!0,setTimeout(function(){e.justPressedUpDown=!1});break;case 13:if(229===t.keyCode)break;var c=e.getHighlightedSuggestion();if(M&&!m&&e.closeSuggestions(),null!=c){t.preventDefault();var l=v(c);e.maybeCallOnChange(t,l,"enter"),e.onSuggestionSelected(t,{suggestion:c,suggestionValue:l,suggestionIndex:I,sectionIndex:C,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout(function(){e.justSelectedSuggestion=!1})}break;case 27:M&&t.preventDefault();var f=M&&!m;null===P?f||(e.maybeCallOnChange(t,"","escape"),k("",O)?i({value:"",reason:O}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,P,"escape"),f?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}L&&L(t)}}),H={query:this.getQuery()};return r.default.createElement(u.default,{multiSection:l,items:N,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:a,renderItemData:H,renderSectionTitle:f,getSectionItems:g,highlightedSectionIndex:C,highlightedItemIndex:I,containerProps:E,inputProps:B,itemProps:this.itemProps,theme:(0,s.mapToAutowhateverTheme)(h),id:p,ref:this.storeAutowhateverRef})}}],n&&p(t.prototype,n),o&&p(t,o),c}(r.Component);
2t.default=E,y(E,"propTypes",{suggestions:o.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var n=e[t];if("function"!==typeof n)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!==typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:o.default.func,onSuggestionSelected:o.default.func,onSuggestionHighlighted:o.default.func,renderInputComponent:o.default.func,renderSuggestionsContainer:o.default.func,getSuggestionValue:o.default.func.isRequired,renderSuggestion:o.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(n,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(n,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:o.default.func,alwaysRenderSuggestions:o.default.bool,multiSection:o.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!==typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!==typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:o.default.bool,highlightFirstSuggestion:o.default.bool,theme:o.default.object,id:o.default.string,containerProps:o.default.object}),y(E,"defaultProps",{renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:s.defaultTheme,id:"1",containerProps:{}})},98397:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==h(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(82483)),o=c(n(16405)),i=c(n(89285)),u=c(n(46708)),s=c(n(65311)),a=c(n(50715));function c(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=e[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(a){o=!0,i=a}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}
2(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.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e){return h="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e){return function(){var t,n=b(e);if(function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var r=b(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"===typeof t))return t;return y(e)}(this,t)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x={},O=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(l,e);var t,n,o,c=m(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),w(y(t=c.call(this,e)),"storeInputReference",function(e){null!==e&&(t.input=e);var n=t.props.inputProps.ref;n&&("function"===typeof n?n(e):"object"===h(n)&&Object.prototype.hasOwnProperty.call(n,"current")&&(n.current=e))}),w(y(t),"storeItemsContainerReference",function(e){null!==e&&(t.itemsContainer=e)}),w(y(t),"onHighlightedItemChange",function(e){t.highlightedItem=e}),w(y(t),"getItemId",function(e,n){if(null===n)return null;var r=t.props.id,o=null===e?"":"section-".concat(e);return"react-autowhatever-".concat(r,"-").concat(o,"-item-").concat(n)}),w(y(t),"onFocus",function(e){var n=t.props.inputProps;t.setState({isInputFocused:!0}),n.onFocus&&n.onFocus(e)}),w(y(t),"onBlur",function(e){var n=t.props.inputProps;t.setState({isInputFocused:!1}),n.onBlur&&n.onBlur(e)}),w(y(t),"onKeyDown",function(e){var n=t.props,r=n.inputProps,o=n.highlightedSectionIndex,i=n.highlightedItemIndex,u=e.keyCode;switch(u){case 40:case 38:var s=40===u?"next":"prev",a=p(t.sectionIterator[s]([o,i]),2),c=a[0],l=a[1];r.onKeyDown(e,{newHighlightedSectionIndex:c,newHighlightedItemIndex:l});break;default:r.onKeyDown(e,{highlightedSectionIndex:o,highlightedItemIndex:i})}}),t.highlightedItem=null,t.state={isInputFocused:!1},t.setSectionsItems(e),t.setSectionIterator(e),t.setTheme(e),t}return t=l,(n=[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map(function(t){return e.getSectionItems(t)}),this.sectionsLengths=this.sectionsItems.map(function(e){return e.length}),this.allSectionsAreEmpty=this.sectionsLengths.every(function(e){return 0===e}))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,i.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,u.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,n=this.props,o=n.id,i=n.items,u=n.renderItem,c=n.renderItemData,l=n.renderSectionTitle,f=n.highlightedSectionIndex,d=n.highlightedItemIndex,p=n.itemProps;return i.map(function(n,i){var g="react-autowhatever-".concat(o,"-"),h="".concat(g,"section-").concat(i,"-"),v=0===i;return r.default.createElement("div",t("".concat(h,"container"),"sectionContainer",v&&"sectionContainerFirst"),r.default.createElement(s.default,{section:n,renderSectionTitle:l,theme:t,sectionKeyPrefix:h}),r.default.createElement(a.default,{items:e.sectionsItems[i],itemProps:p,renderItem:u,renderItemData:c,sectionIndex:i,highlightedItemIndex:f===i?d:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:g,ref:e.storeItemsListReference}))})}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,n=this.props,o=n.id,i=n.renderItem,u=n.renderItemData,s=n.highlightedSectionIndex,c=n.highlightedItemIndex,l=n.itemProps;return r.default.createElement(a.default,{items:e,itemProps:l,renderItem:i,renderItemData:u,highlightedItemIndex:null===s?c:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-".concat(o,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,n=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,r=t.scrollTop;n<r?r=n:n+e.offsetHeight>r+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,i=t.renderInputComponent,u=t.renderItemsContainer,s=t.highlightedSectionIndex,a=t.highlightedItemIndex,c=this.state.isInputFocused,l=o?this.renderSections():this.renderItems(),f=null!==l,p=this.getItemId(s,a),g="react-autowhatever-".concat(n),h=d({role:"combobox","aria-haspopup":"listbox","aria-owns":g,"aria-expanded":f},e("react-autowhatever-".concat(n,"-container"),"container",f&&"containerOpen"),{},this.props.containerProps),v=i(d({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":g,"aria-activedescendant":p},e("react-autowhatever-".concat(n,"-input"),"input",f&&"inputOpen",c&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),m=u({containerProps:d({id:g,role:"listbox"},e("react-autowhatever-".concat(n,"-items-container"),"itemsContainer",f&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:l});return r.default.createElement("div",h,v,m)}}])&&v(t.prototype,n),o&&v(t,o),l}(r.Component);t.default=O,w(O,"propTypes",{id:o.default.string,multiSection:o.default.bool,renderInputComponent:o.default.func,renderItemsContainer:o.default.func,items:o.default.array.isRequired,renderItem:o.default.func,renderItemData:o.default.object,render
2SectionTitle:o.default.func,getSectionItems:o.default.func,containerProps:o.default.object,inputProps:o.default.object,itemProps:o.default.oneOfType([o.default.object,o.default.func]),highlightedSectionIndex:o.default.number,highlightedItemIndex:o.default.number,theme:o.default.oneOfType([o.default.object,o.default.array])}),w(O,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:function(e){return r.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:x,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:x,inputProps:x,itemProps:x,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}})},41587:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(82483)),o=u(n(16405)),i=u(n(84697));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e){return function(){var t,n=h(e);if(function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var r=h(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"===typeof t))return t;return g(e)}(this,t)}}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
2function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(s,e);var t,n,o,u=p(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(g(e=u.call.apply(u,[this].concat(n))),"storeItemReference",function(t){null!==t&&(e.item=t)}),m(g(e),"onMouseEnter",function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseEnter(t,{sectionIndex:r,itemIndex:o})}),m(g(e),"onMouseLeave",function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseLeave(t,{sectionIndex:r,itemIndex:o})}),m(g(e),"onMouseDown",function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseDown(t,{sectionIndex:r,itemIndex:o})}),m(g(e),"onClick",function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onClick(t,{sectionIndex:r,itemIndex:o})}),e}return t=s,n=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,n=e.item,o=e.renderItem,i=e.renderItemData,u=f(e,["isHighlighted","item","renderItem","renderItemData"]);return delete u.sectionIndex,delete u.itemIndex,"function"===typeof u.onMouseEnter&&(u.onMouseEnter=this.onMouseEnter),"function"===typeof u.onMouseLeave&&(u.onMouseLeave=this.onMouseLeave),"function"===typeof u.onMouseDown&&(u.onMouseDown=this.onMouseDown),"function"===typeof u.onClick&&(u.onClick=this.onClick),r.default.createElement("li",c({role:"option"},u,{ref:this.storeItemReference}),o(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({isHighlighted:t},i)))}}],n&&d(t.prototype,n),o&&d(t,o),s}(r.Component);t.default=y,m(y,"propTypes",{sectionIndex:o.default.number,isHighlighted:o.default.bool.isRequired,itemIndex:o.default.number.isRequired,item:o.default.any.isRequired,renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,onMouseEnter:o.default.func,onMouseLeave:o.default.func,onMouseDown:o.default.func,onClick:o.default.func})},50715:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!==typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(82483)),o=s(n(16405)),i=s(n(41587)),u=s(n(84697));function s(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function c(e){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e){return function(){var t,n=h(e);if(function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var r=h(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"===typeof t))return t;return g(e)}(this,t)}}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
2function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(a,e);var t,n,o,s=p(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(g(e=s.call.apply(s,[this].concat(n))),"storeHighlightedItemReference",function(t){e.props.onHighlightedItemChange(null===t?null:t.item)}),e}return t=a,n=[{key:"shouldComponentUpdate",value:function(e){return(0,u.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.items,o=t.itemProps,u=t.renderItem,s=t.renderItemData,a=t.sectionIndex,c=t.highlightedItemIndex,d=t.getItemId,p=t.theme,g=t.keyPrefix,h=null===a?g:"".concat(g,"section-").concat(a,"-"),v="function"===typeof o;return r.default.createElement("ul",l({role:"listbox"},p("".concat(h,"items-list"),"itemsList")),n.map(function(t,n){var g=0===n,y=n===c,b="".concat(h,"item-").concat(n),S=v?o({sectionIndex:a,itemIndex:n}):o,w=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({id:d(a,n),"aria-selected":y},p(b,"item",g&&"itemFirst",y&&"itemHighlighted"),{},S);return y&&(w.ref=e.storeHighlightedItemReference),r.default.createElement(i.default,l({},w,{sectionIndex:a,isHighlighted:y,itemIndex:n,item:t,renderItem:u,renderItemData:s}))}))}}],n&&d(t.prototype,n),o&&d(t,o),a}(r.Component);t.default=y,m(y,"propTypes",{items:o.default.array.isRequired,itemProps:o.default.oneOfType([o.default.object,o.default.func]),renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,sectionIndex:o.default.number,highlightedItemIndex:o.default.number,onHighlightedItemChange:o.default.func.isRequired,getItemId:o.default.func.isRequired,theme:o.default.func.isRequired,keyPrefix:o.default.string.isRequired}),m(y,"defaultProps",{sectionIndex:null})},65311:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(82483)),o=u(n(16405)),i=u(n(84697));function u(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e){return function(){var t,n=f(e);if(function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var r=f(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"===typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}
2function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}var p,g,h,v=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,o,u=l(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),u.apply(this,arguments)}return t=s,(n=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,n=e.renderSectionTitle,o=e.theme,i=e.sectionKeyPrefix,u=n(t);return u?r.default.createElement("div",o("".concat(i,"title"),"sectionTitle"),u):null}}])&&c(t.prototype,n),o&&c(t,o),s}(r.Component);t.default=v,p=v,g="propTypes",h={section:o.default.any.isRequired,renderSectionTitle:o.default.func.isRequired,theme:o.default.func.isRequired,sectionKeyPrefix:o.default.string.isRequired},g in p?Object.defineProperty(p,g,{value:h,enumerable:!0,configurable:!0,writable:!0}):p[g]=h},84697:function(e,t){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!0;var u,s,a={};for(u=0,s=r.length;u<s;u++)a[r[u]]=!0;for(u=0,s=o.length;u<s;u++){var c=o[u],l=e[c],f=t[c];if(l!==f){if(!a[c]||null===l||null===f||"object"!==n(l)||"object"!==n(f))return!0;var d=Object.keys(l),p=Object.keys(f);if(d.length!==p.length)return!0;for(var g=0,h=d.length;g<h;g++){var v=d[g];if(l[v]!==f[v])return!0}}}return!1}},55442:function(e,t,n){"use strict";e.exports=n(78957).default},54155:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToAutowhateverTheme=t.defaultTheme=void 0;t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},46708:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=e[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(a){o=!0,i=a}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i,u=n(45870),s=(i=u)&&i.__esModule?i:{default:i},a=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],n=r(t,2),i=n[0],u=n[1];return function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var c=n.map(function(e){return i[e]}).filter(a);return"string"===typeof c[0]||"function"===typeof u?{key:e,className:u?u.apply(void 0,o(c)):c.join(" ")}:{key:e,style:s.default.apply(void 0,[{}].concat(o(c)))}}},e.exports=t.default},45870:function(e){"use strict";var t=Object.prototype.propertyIsEnumerable;function n(e){var n=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e))),n.filter(function(n){return t.call(e,n)})}
2e.exports=Object.assign||function(e,t){for(var r,o,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){r=arguments[u],o=n(Object(r));for(var s=0;s<o.length;s++)i[o[s]]=r[o[s]]}return i}},86495:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(77387),u=n(77883),s=n(75852),a=n(82483),c=n(4072),l=n(26132),f=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,s.A)(e,t)})},d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,i.A)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&(0,l.F)(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach(function(t){return(0,u.A)(e,t)})}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&f(e,r),o&&f(e,o),i&&f(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.A)(e,["classNames"]));return a.createElement(c.Ay,(0,r.A)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(a.Component);d.defaultProps={classNames:""},d.propTypes={},t.A=d},4072:function(e,t,n){"use strict";var r=n(98587),o=n(77387),i=n(82483),u=n(99998),s=n(85265),a=n(60406),c=n(26132),l="unmounted",f="exited",d="entering",p="entered",g="exiting",h=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=f,r.appearStatus=d):o=p:o=t.unmountOnExit||t.mountOnEnter?l:f,r.state={status:o},r.nextCallback=null,r}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===l?{status:f}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==d&&n!==p&&(t=d):n!==d&&n!==p||(t=g)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===d){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this);n&&(0,c.F)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===f&&this.setState({status:l})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.
2isMounting:e,o=this.props.nodeRef?[r]:[u.findDOMNode(this),r],i=o[0],a=o[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!e&&!n||s.A.disabled?this.safeSetState({status:p},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:d},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:p},function(){t.props.onEntered(i,a)})})}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u.findDOMNode(this);t&&!s.A.disabled?(this.props.onExit(r),this.safeSetState({status:g},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:f},function(){e.props.onExited(r)})})})):this.safeSetState({status:f},function(){e.props.onExited(r)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],s=o[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===l)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(a.A.Provider,{value:null},"function"===typeof n?n(e,o):i.cloneElement(i.Children.only(n),o))},t}(i.Component);function v(){}h.contextType=a.A,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},h.UNMOUNTED=l,h.EXITED=f,h.ENTERING=d,h.ENTERED=p,h.EXITING=g,t.Ay=h},60406:function(e,t,n){"use strict";var r=n(82483);t.A=r.createContext(null)},85265:function(e,t){"use strict";t.A={disabled:!1}},26132:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});var r=function(e){return e.scrollTop}},89285:function(e){"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=e[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(a){o=!0,i=a}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var n=e.data,r=e.multiSection;function o(e){var o=t(e,2),i=o[0],u=o[1];return r?null===u||u===n[i]-1?null===(i=function(e){for(null===e?e=0:e++;e<n.length&&0===n[e];)e++;return e===n.length?null:e}(i))?[null,null]:[i,0]:[i,u+1]:0===n||u===n-1?[null,null]:null===u?[null,0]:[null,u+1]}return{next:o,prev:function(e){var o=t(e,2),i=o[0],u=o[1];return r?null===u||0===u?null===(i=function(e){for(null===e?e=n.length-1:e--;e>=0&&0===n[e];)e--;return-1===e?null:e}(i))?[null,null]:[i,n[i]-1]:[i,u-1]:0===n||0===u?[null,null]:null===u?[null,n-1]:[null,u-1]},isLast:function(e){return null===o(e)[1]}}}},58464:function(e){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}},71097:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=u(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=u(t,n));return t}function u(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}
2.apply(t,[]))||(e.exports=n)}()},57528:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{A:function(){return r}})},82394:function(e,t,n){"use strict";n.d(t,{BN:function(){return x},UE:function(){return v},UU:function(){return m},cY:function(){return w},rD:function(){return h}});var r=n(80045),o=n(60436),i=n(64467),u=n(22007),s=n(89379),a=n(10467),c=n(55974),l=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],f=["mainAxis","crossAxis","limiter"];function d(e,t,n){var r,o=e.reference,i=e.floating,u=(0,c.TV)(t),s=(0,c.Dz)(t),a=(0,c.sq)(s),l=(0,c.C0)(t),f="y"===u,d=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,g=o[a]/2-i[a]/2;switch(l){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:p};break;case"left":r={x:o.x-i.width,y:p};break;default:r={x:o.x,y:o.y}}var h=(0,c.Sg)(t);return h&&(r[s]+=g*("end"===h?1:-1)*(n&&f?-1:1)),r}function p(e,t){return g.apply(this,arguments)}function g(){return(g=(0,a.A)((0,u.A)().m(function e(t,n){var r,o,i,s,a,l,f,d,p,g,h,v,m,y,b,S,w,x,O,E,A,_,R,C,I,P,k,j,T,L,D,M,N,B,H,F,q,U,z;return(0,u.A)().w(function(e){for(;;)switch(e.n){case 0:return void 0===n&&(n={}),o=t.x,i=t.y,s=t.platform,a=t.rects,l=t.elements,f=t.strategy,d=(0,c._3)(n,t),p=d.boundary,g=void 0===p?"clippingAncestors":p,h=d.rootBoundary,v=void 0===h?"viewport":h,m=d.elementContext,y=void 0===m?"floating":m,b=d.altBoundary,S=void 0!==b&&b,w=d.padding,x=void 0===w?0:w,O=(0,c.nI)(x),E="floating"===y?"reference":"floating",A=l[S?E:y],k=c.B1,j=s,e.n=1,null==s.isElement?void 0:s.isElement(A);case 1:if(null==(r=e.v)){e.n=2;break}T=r,e.n=3;break;case 2:T=!0;case 3:if(!T){e.n=4;break}L=A,e.n=7;break;case 4:if(D=A.contextElement){e.n=6;break}return e.n=5,null==s.getDocumentElement?void 0:s.getDocumentElement(l.floating);case 5:D=e.v;case 6:L=D;case 7:return M=L,N=g,B=v,H=f,e.n=8,j.getClippingRect.call(j,{element:M,boundary:N,rootBoundary:B,strategy:H});case 8:return _=k(e.v),R="floating"===y?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,e.n=9,null==s.getOffsetParent?void 0:s.getOffsetParent(l.floating);case 9:return C=e.v,e.n=10,null==s.isElement?void 0:s.isElement(C);case 10:if(!(q=e.v)){e.n=12;break}return e.n=11,null==s.getScale?void 0:s.getScale(C);case 11:q=e.v;case 12:if(F=q){e.n=13;break}F={x:1,y:1};case 13:if(I=F,U=c.B1,!s.convertOffsetParentRelativeRectToViewportRelativeRect){e.n=15;break}return e.n=14,s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:R,offsetParent:C,strategy:f});case 14:z=e.v,e.n=16;break;case 15:z=R;case 16:return P=U(z),e.a(2,{top:(_.top-P.top+O.top)/I.y,bottom:(P.bottom-_.bottom+O.bottom)/I.y,left:(_.left-P.left+O.left)/I.x,right:(P.right-_.right+O.right)/I.x})}},e)}))).apply(this,arguments)}var h=function(){var e=(0,a.A)((0,u.A)().m(function e(t,n,r){var o,i,a,c,l,f,g,h,v,m,y,b,S,w,x,O,E,A,_,R,C,I,P,k,j,T,L;return(0,u.A)().w(function(e){for(;;)switch(e.n){case 0:return o=r.placement,i=void 0===o?"bottom":o,a=r.strategy,c=void 0===a?"absolute":a,l=r.middleware,f=void 0===l?[]:l,g=r.platform,h=g.detectOverflow?g:(0,s.A)((0,s.A)({},g),{},{detectOverflow:p}),e.n=1,null==g.isRTL?void 0:g.isRTL(n);case 1:return v=e.v,e.n=2,g.getElementRects({reference:t,floating:n,strategy:c});case 2:m=e.v,y=d(m,i,v),b=y.x,S=y.y,w=i,x=0,O={},E=0;case 3:if(!(E<f.length)){e.n=12;break}if(A=f[E]){e.n=4;break}return e.a(3,11);case 4:return _=A.name,R=A.fn,e.n=5,R({x:b,y:S,initialPlacement:i,placement:w,strategy:c,middlewareData:O,rects:m,platform:h,elements:{reference:t,floating:n}});case 5:if(C=e.v,I=C.x,P=C.y,k=C.data,j=C.reset,b=null!=I?I:b,S=null!=P?P:S,O[_]=(0,s.A)((0,s.A)({},O[_]),k),!(j&&x<50)){e.n=11;break}if(x++,"object"!==typeof j){e.n=10;break}if(j.placement&&(w=j.placement),!j.rects){e.n=9;break}if(!0!==j.rects){e.n=7;break}return e.n=6,g.getElementRects({reference:t,floating:n,strategy:c});case 6:L=e.v,e.n=8;break;case 7:L=j.rects;case 8:m=L;case 9:T=d(m,w,v),b=T.x,S=T.y;case 10:E=-1;case 11:E++,e.n=3;break;case 12:return e.a(2,{x:b,y:S,placement:w,strategy:c,middlewareData:O})}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),v=function(e){return{name:"arrow",options:e,fn:function(t){return(0,a.A)((0,u.A)().m(function n(){var r,o,a,l,f,d,p,g,h,v,m,y,b,S,w,x,O,E,A,_,R,C,I,P,k,j,T,L,D,M,N,B,H,F;return(0,u.A)().w(function(n){for(;;)switch(n.n){case 0:if(r=t.x,o=t.y,a=t.placement,l=t.rects,f=t.platform,d=t.elements,p=t.middlewareData,g=(0,c._3)(e,t)||{},h=g.element,v=g.padding,m=void 0===v?0:v,null!=h){n.n=1;break}return n.a(2,{});case 1:return y=(0,c.nI)(m),b={x:r,y:o},S=(0,c.Dz)(a),w=(0,c.sq)(S),n.n=2,f.getDimensions(h);case 2:return x=n.v,E=(O="y"===S)?"top":"left",A=O?"bottom":"right",_=O?"clientHeight":"clientWidth",R=l.reference[w]+l.reference[S]-b[S]-l.floating[w],C=b[S]-l.reference[S],n.n=3,null==f.getOffsetParent?void 0:f.getOffsetParent(h);case 3:if(I=n.v,P=I?I[_]:0,F=!P){n.n=5;break}return n.n=4,null==f.isElement?void 0:f.isElement(I);case 4:F=!n.v;case 5:if(!F){n.n=6;break}P=d.floating[_]||l.floating[w];case 6:return k=R/2-C/2,j=P/2-x[w]/2-1,T=(0,c.jk)(y[E],j),L=(0,c.jk)(y[A],j),D=P-x[w]-L,M=P/2-x[w]/2+k,N=(0,c.qE)(T,M,D),B=!p.arrow&&null!=(0,c.Sg)(a)&&M!==N&&l.reference[w]/2-(M<T?T:L)-x[w]/2<0,H=B?M<T?M-T:M-D:0,n.a(2,(0,i.A)((0,i.A)((0,i.A)({},S,b[S]+H),"data",(0,s.A)((0,i.A)((0,i.A)({}
2,S,N),"centerOffset",M-N-H),B&&{alignmentOffset:H})),"reset",B))}},n)}))()}}};var m=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return(0,a.A)((0,u.A)().m(function n(){var i,s,a,f,d,p,g,h,v,m,y,b,S,w,x,O,E,A,_,R,C,I,P,k,j,T,L,D,M,N,B,H,F,q,U,z,W,V,K,J;return(0,u.A)().w(function(n){for(;;)switch(n.n){case 0:if(a=t.placement,f=t.middlewareData,d=t.rects,p=t.initialPlacement,g=t.platform,h=t.elements,v=(0,c._3)(e,t),m=v.mainAxis,y=void 0===m||m,b=v.crossAxis,S=void 0===b||b,w=v.fallbackPlacements,x=v.fallbackStrategy,O=void 0===x?"bestFit":x,E=v.fallbackAxisSideDirection,A=void 0===E?"none":E,_=v.flipAlignment,R=void 0===_||_,C=(0,r.A)(v,l),null==(i=f.arrow)||!i.alignmentOffset){n.n=1;break}return n.a(2,{});case 1:return I=(0,c.C0)(a),P=(0,c.TV)(p),k=(0,c.C0)(p)===p,n.n=2,null==g.isRTL?void 0:g.isRTL(h.floating);case 2:return j=n.v,T=w||(k||!R?[(0,c.bV)(p)]:(0,c.WJ)(p)),L="none"!==A,!w&&L&&T.push.apply(T,(0,o.A)((0,c.lP)(p,R,A,j))),D=[p].concat((0,o.A)(T)),n.n=3,g.detectOverflow(t,C);case 3:if(M=n.v,N=[],B=(null==(s=f.flip)?void 0:s.overflows)||[],y&&N.push(M[I]),S&&(H=(0,c.w7)(a,d,j),N.push(M[H[0]],M[H[1]])),B=[].concat((0,o.A)(B),[{placement:a,overflows:N}]),N.every(function(e){return e<=0})){n.n=8;break}if(U=((null==(F=f.flip)?void 0:F.index)||0)+1,!(z=D[U])){n.n=4;break}if("alignment"===S&&P!==(0,c.TV)(z)&&!B.every(function(e){return(0,c.TV)(e.placement)!==P||e.overflows[0]>0})){n.n=4;break}return n.a(2,{data:{index:U,overflows:B},reset:{placement:z}});case 4:if(W=null==(q=B.filter(function(e){return e.overflows[0]<=0}).sort(function(e,t){return e.overflows[1]-t.overflows[1]})[0])?void 0:q.placement){n.n=7;break}J=O,n.n="bestFit"===J?5:"initialPlacement"===J?6:7;break;case 5:return K=null==(V=B.filter(function(e){if(L){var t=(0,c.TV)(e.placement);return t===P||"y"===t}return!0}).map(function(e){return[e.placement,e.overflows.filter(function(e){return e>0}).reduce(function(e,t){return e+t},0)]}).sort(function(e,t){return e[1]-t[1]})[0])?void 0:V[0],K&&(W=K),n.a(3,7);case 6:return W=p,n.a(3,7);case 7:if(a===W){n.n=8;break}return n.a(2,{reset:{placement:W}});case 8:return n.a(2,{})}},n)}))()}}};var y=new Set(["left","top"]);function b(e,t){return S.apply(this,arguments)}function S(){return(S=(0,a.A)((0,u.A)().m(function e(t,n){var r,o,i,s,a,l,f,d,p,g,h,v,m,b;return(0,u.A)().w(function(e){for(;;)switch(e.n){case 0:return r=t.placement,o=t.platform,i=t.elements,e.n=1,null==o.isRTL?void 0:o.isRTL(i.floating);case 1:return s=e.v,a=(0,c.C0)(r),l=(0,c.Sg)(r),f="y"===(0,c.TV)(r),d=y.has(a)?-1:1,p=s&&f?-1:1,g=(0,c._3)(n,t),h="number"===typeof g?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis},v=h.mainAxis,m=h.crossAxis,b=h.alignmentAxis,l&&"number"===typeof b&&(m="end"===l?-1*b:b),e.a(2,f?{x:m*p,y:v*d}:{x:v*d,y:m*p})}},e)}))).apply(this,arguments)}var w=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return(0,a.A)((0,u.A)().m(function n(){var r,o,i,a,c,l,f;return(0,u.A)().w(function(n){for(;;)switch(n.n){case 0:return i=t.x,a=t.y,c=t.placement,l=t.middlewareData,n.n=1,b(t,e);case 1:if(f=n.v,c!==(null==(r=l.offset)?void 0:r.placement)||null==(o=l.arrow)||!o.alignmentOffset){n.n=2;break}return n.a(2,{});case 2:return n.a(2,{x:i+f.x,y:a+f.y,data:(0,s.A)((0,s.A)({},f),{},{placement:c})})}},n)}))()}}},x=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return(0,a.A)((0,u.A)().m(function n(){var o,a,l,d,p,g,h,v,m,y,b,S,w,x,O,E,A,_,R,C;return(0,u.A)().w(function(n){for(;;)switch(n.n){case 0:return o=t.x,a=t.y,l=t.placement,d=t.platform,p=(0,c._3)(e,t),g=p.mainAxis,h=void 0===g||g,v=p.crossAxis,m=void 0!==v&&v,y=p.limiter,b=void 0===y?{fn:function(e){return{x:e.x,y:e.y}}}:y,S=(0,r.A)(p,f),w={x:o,y:a},n.n=1,d.detectOverflow(t,S);case 1:return x=n.v,O=(0,c.TV)(l),E=(0,c.PG)(O),A=w[E],_=w[O],R=function(e,t){return(0,c.qE)(t+x["y"===e?"top":"left"],t,t-x["y"===e?"bottom":"right"])},h&&(A=R(E,A)),m&&(_=R(O,_)),C=b.fn((0,s.A)((0,s.A)({},t),{},(0,i.A)((0,i.A)({},E,A),O,_))),n.a(2,(0,s.A)((0,s.A)({},C),{},{data:{x:C.x-o,y:C.y-a,enabled:(0,i.A)((0,i.A)({},E,h),O,m)}}))}},n)}))()}}}},18764:function(e,t,n){"use strict";n.d(t,{BN:function(){return I},UE:function(){return k},UU:function(){return P},cY:function(){return C},ll:function(){return R},rD:function(){return j}});var r=n(5544),o=n(89379),i=n(22007),u=n(10467),s=n(60436),a=n(82394),c=n(55974),l=n(90644);function f(e){var t=(0,l.L9)(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=(0,l.sb)(e),i=o?e.offsetWidth:n,u=o?e.offsetHeight:r,s=(0,c.LI)(n)!==i||(0,c.LI)(r)!==u;return s&&(n=i,r=u),{width:n,height:r,$:s}}function d(e){return(0,l.vq)(e)?e:e.contextElement}function p(e){var t=d(e);if(!(0,l.sb)(t))return(0,c.Jx)(1);var n=t.getBoundingClientRect(),r=f(t),o=r.width,i=r.height,u=r.$,s=(u?(0,c.LI)(n.width):n.width)/o,a=(u?(0,c.LI)(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}var g=(0,c.Jx)(0);function h(e){var t=(0,l.zk)(e);
2return(0,l.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:g}function v(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),i=d(e),u=(0,c.Jx)(1);t&&(r?(0,l.vq)(r)&&(u=p(r)):u=p(e));var s=function(e,t,n){return void 0===t&&(t=!1),!!n&&t&&n===(0,l.zk)(e)}(i,n,r)?h(i):(0,c.Jx)(0),a=(o.left+s.x)/u.x,f=(o.top+s.y)/u.y,g=o.width/u.x,v=o.height/u.y;if(i&&r)for(var m=(0,l.zk)(i),y=(0,l.vq)(r)?(0,l.zk)(r):r,b=m,S=(0,l._m)(b);S&&y!==b;){var w=p(S),x=S.getBoundingClientRect(),O=(0,l.L9)(S),E=x.left+(S.clientLeft+parseFloat(O.paddingLeft))*w.x,A=x.top+(S.clientTop+parseFloat(O.paddingTop))*w.y;a*=w.x,f*=w.y,g*=w.x,v*=w.y,a+=E,f+=A,b=(0,l.zk)(S),S=(0,l._m)(b)}return(0,c.B1)({width:g,height:v,x:a,y:f})}function m(e,t){var n=(0,l.CP)(e).scrollLeft;return t?t.left+n:v((0,l.ep)(e)).left+n}function y(e,t){var n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-m(e,n),y:n.top+t.scrollTop}}function b(e,t,n){var r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");var r="layoutViewport"===n,o=(0,l.zk)(e),i=(0,l.ep)(e),u=o.visualViewport,s=i.clientWidth,a=i.clientHeight,c=0,f=0;if(u){var d=!(0,l.Tc)()||"fixed"===t;r?d||(c=-u.offsetLeft,f=-u.offsetTop):(s=u.width,a=u.height,d&&(c=u.offsetLeft,f=u.offsetTop))}if(m(i)<=0){var p=i.ownerDocument,g=p.body,h=getComputedStyle(g),v="CSS1Compat"===p.compatMode&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,y=Math.abs(i.clientWidth-g.clientWidth-v),b="stable both-edges"===getComputedStyle(i).scrollbarGutter?y/2:y;b<=25&&(s-=b)}return{width:s,height:a,x:c,y:f}}(e,n,t);else if("document"===t)r=function(e){var t=(0,l.CP)(e),n=e.ownerDocument.body,r=(0,c.T9)(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=(0,c.T9)(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),i=-t.scrollLeft+m(e),u=-t.scrollTop;return"rtl"===(0,l.L9)(n).direction&&(i+=(0,c.T9)(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:i,y:u}}((0,l.ep)(e));else if((0,l.vq)(t))r=function(e,t){var n=v(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=p(e);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{var o=h(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return(0,c.B1)(r)}function S(e,t,n){var r=(0,l.sb)(t),o=(0,l.ep)(t),i="fixed"===n,u=v(e,!0,i,t),s={scrollLeft:0,scrollTop:0},a=(0,c.Jx)(0);if((r||!i)&&(("body"!==(0,l.mq)(t)||(0,l.ZU)(o))&&(s=(0,l.CP)(t)),r)){var f=v(t,!0,i,t);a.x=f.x+t.clientLeft,a.y=f.y+t.clientTop}!r&&o&&(a.x=m(o));var d=!o||r||i?(0,c.Jx)(0):y(o,s);return{x:u.left+s.scrollLeft-a.x-d.x,y:u.top+s.scrollTop-a.y-d.y,width:u.width,height:u.height}}function w(e){return"static"===(0,l.L9)(e).position}function x(e,t){if(!(0,l.sb)(e)||"fixed"===(0,l.L9)(e).position)return null;if(t)return t(e);var n=e.offsetParent;return(0,l.ep)(e)===n&&(n=n.ownerDocument.body),n}function O(e,t){var n=(0,l.zk)(e);if((0,l.Tf)(e))return n;if(!(0,l.sb)(e)){for(var r=(0,l.$4)(e);r&&!(0,l.eu)(r);){if((0,l.vq)(r)&&!w(r))return r;r=(0,l.$4)(r)}return n}for(var o=x(e,t);o&&(0,l.Lv)(o)&&w(o);)o=x(o,t);return o&&(0,l.eu)(o)&&w(o)&&!(0,l.sQ)(o)?n:o||(0,l.gJ)(e)||n}var E=function(){var e=(0,u.A)((0,i.A)().m(function e(t){var n,r,o,u,s,a,c;return(0,i.A)().w(function(e){for(;;)switch(e.n){case 0:return n=this.getOffsetParent||O,r=this.getDimensions,e.n=1,r(t.floating);case 1:return o=e.v,u=S,s=t.reference,e.n=2,n(t.floating);case 2:return a=u(s,e.v,t.strategy),c={x:0,y:0,width:o.width,height:o.height},e.a(2,{reference:a,floating:c})}},e,this)}));return function(t){return e.apply(this,arguments)}}();var A={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.elements,n=e.rect,r=e.offsetParent,o="fixed"===e.strategy,i=(0,l.ep)(r),u=!!t&&(0,l.Tf)(t.floating);if(r===i||u&&o)return n;var s={scrollLeft:0,scrollTop:0},a=(0,c.Jx)(1),f=(0,c.Jx)(0),d=(0,l.sb)(r);if((d||!o)&&(("body"!==(0,l.mq)(r)||(0,l.ZU)(i))&&(s=(0,l.CP)(r)),d)){var g=v(r);a=p(r),f.x=g.x+r.clientLeft,f.y=g.y+r.clientTop}var h=!i||d||o?(0,c.Jx)(0):y(i,s);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-s.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-s.scrollTop*a.y+f.y+h.y}},getDocumentElement:l.ep,getClippingRect:function(e){for(var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i="clippingAncestors"===n?(0,l.Tf)(t)?[]:function(e,t){var n=t.get(e);if(n)return n;for(var r=(0,l.v9)(e,[],!1).filter(function(e){return(0,l.vq)(e)&&"body"!==(0,l.mq)(e)}),o=null,i="fixed"===(0,l.L9)(e).position,u=i?(0,l.$4)(e):e;(0,l.vq)(u)&&!(0,l.eu)(u);){var s=(0,l.L9)(u),a=(0,l.sQ)(u),c=o?o.position:i?"fixed":"";a||"fixed"!==c&&("absolute"!==c||"static"!==s.position)?o=s:r=r.filter(function(e){return e!==u}),u=(0,l.$4)(u)}return t.set(e,r),r}(t,this._c):[].concat(n),u=[].concat((0,s.A)(i),[r]),a=b(t,u[0],o),f=a.top,d=a.right,p=a.bottom,g=a.left,h=1;h<u.length;h++){var v=b(t,u[h],o);f=(0,c.T9)(v.top,f),d=(0,c.jk)(v.right,d),p=(0,c.jk)(v.bottom,p),g=(0,c.T9)(v.left,g)}return{width:d-g,height:p-f,x:g,y:f}},getOffsetParent:O,getElementRects:E,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){var t=f(e);return{width:t.width,height:t.height}},getScale:p,isElement:l.vq,isRTL:function(e){return"rtl"===(0,l.L9)(e).direction}};function _(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function R(e,t,n,i){void 0===i&&(i={});var u=i,a=u.ancestorScroll,f=void 0===a||a,p=u.ancestorResize,g=void 0===p||p,h=u.elementResize,m=void 0===h?"function"===typeof ResizeObserver:h,y=u.layoutShift,b=void 0===y?"function"===typeof IntersectionObserver:y,S=u.animationFrame,w=void 0!==S&&S,x=d(e),O=f||g?[].concat((0,s.A)(x?(0,l.v9)(x):[]),(0,s.A)(t?(0,l.v9)(t):[])):[];O.forEach(function(e){f&&e.addEventListener("scroll",n),g&&e.addEventListener("resize",n)});var E,A=x&&b?function(e,t,n){var r,i=null,u=(0,l.ep)(e);function s(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}function a(n,l){void 0===n&&(n=!1),void 0===l&&(l=1),s();var f=e.getBoundingClientRect(),d=f.left,p=f.top,g=f.width,h=f.height;if(n||t(),g&&h){var v={rootMargin:-(0,c.RI)(p)+"px "+-(0,c.RI)(u.clientWidth-(d+g))+"px "+-(0,c.RI)(u.clientHeight-(p+h))+"px "+-(0,c.RI)(d)+"px",threshold:(0,c.T9)(0,(0,c.jk)(1,l))||1},m=!0;try{i=new IntersectionObserver(y,(0,o.A)((0,o.A)({},v),{},{root:u.ownerDocument}))}catch(b){i=new IntersectionObserver(y,v)}i.observe(e)}function y(t){var n=t[0].intersectionRatio;if(!_(f,e.getBoundingClientRect()))return a();if(n!==l){if(!m)return a();n?a(!1,n):r=setTimeout(function(){a(!1,1e-7)},1e3)}m=!1}}var f=(0,l.zk)(e),d=function(){return a(n)};return f.addEventListener("resize",d),a(!0),function(){f.removeEventListener("resize",d),s()}}(x,n,g):null,R=-1,C=null;m&&(C=new ResizeObserver(function(e){var o=(0,r.A)(e,1)[0];o&&o.target===x&&C&&t&&(C.unobserve(t),cancelAnimationFrame(R),R=requestAnimationFrame(function(){var e;null==(e=C)||e.observe(t)})),n()}),x&&!w&&C.observe(x),t&&C.observe(t));var I=w?v(e):null;return w&&function t(){var r=v(e);I&&!_(I,r)&&n();I=r,E=requestAnimationFrame(t)}(),n(),function(){var e;O.forEach(function(e){f&&e.removeEventListener("scroll",n),g&&e.removeEventListener("resize",n)}),null==A||A(),null==(e=C)||e.disconnect(),C=null,w&&cancelAnimationFrame(E)}}var C=a.cY,I=a.BN,P=a.UU,k=a.UE,j=function(e,t,n){var r=new Map,i=null!=n?n:{},u=(0,o.A)((0,o.A)((0,o.A)({},A),i.platform),{},{_c:r});return(0,a.rD)(e,t,(0,o.A)((0,o.A)({},i),{},{platform:u}))}},90644:function(e,t,n){"use strict";function r(){return"undefined"!==typeof window}function o(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function u(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function a(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function c(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function l(e){return!(!r()||"undefined"===typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function f(e){var t=x(e),n=t.overflow,r=t.overflowX,o=t.overflowY,i=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+o+r)&&"inline"!==i&&"contents"!==i}function d(e){return/^(table|td|th)$/.test(o(e))}function p(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}n.d(t,{$4:function(){return E},CP:function(){return O},L9:function(){return x},Lv:function(){return d},Tc:function(){return S},Tf:function(){return p},ZU:function(){return f},_m:function(){return R},ep:function(){return u},eu:function(){return w},gJ:function(){return b},mq:function(){return o},sQ:function(){return y},sb:function(){return c},v9:function(){return _},vq:function(){return a},zk:function(){return i}});var g,h=/transform|translate|scale|rotate|perspective|filter/,v=/paint|layout|strict|content/,m=function(e){return!!e&&"none"!==e};function y(e){var t=a(e)?x(e):e;return m(t.transform)||m(t.translate)||m(t.scale)||m(t.rotate)||m(t.perspective)||!S()&&(m(t.backdropFilter)||m(t.filter))||h.test(t.willChange||"")||v.test(t.contain||"")}function b(e){for(var t=E(e);c(t)&&!w(t);){if(y(t))return t;if(p(t))return null;t=E(t)}return null}function S(){return null==g&&(g="undefined"!==typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),g}function w(e){return/^(html|body|#document)$/.test(o(e))}function x(e){return i(e).getComputedStyle(e)}function O(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function E(e){if("html"===o(e))return e;var t=e.assignedSlot||e.parentNode||l(e)&&e.host||u(e);return l(t)?t.host:t}function A(e){var t=E(e);return w(t)?(e.ownerDocument||e).body:c(t)&&f(t)?t:A(t)}function _(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);var o=A(e),u=o===(null==(r=e.ownerDocument)?void 0:r.body),s=i(o);if(u){var a=R(s);
2return t.concat(s,s.visualViewport||[],f(o)?o:[],a&&n?_(a):[])}return t.concat(o,_(o,[],n))}function R(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},55974:function(e,t,n){"use strict";n.d(t,{B1:function(){return R},C0:function(){return f},Dz:function(){return v},Jx:function(){return s},LI:function(){return i},PG:function(){return p},RI:function(){return u},Sg:function(){return d},T9:function(){return o},TV:function(){return h},WJ:function(){return y},_3:function(){return l},bV:function(){return A},jk:function(){return r},lP:function(){return E},nI:function(){return _},qE:function(){return c},sq:function(){return g},w7:function(){return m}});var r=Math.min,o=Math.max,i=Math.round,u=Math.floor,s=function(e){return{x:e,y:e}},a={left:"right",right:"left",bottom:"top",top:"bottom"};function c(e,t,n){return o(e,r(t,n))}function l(e,t){return"function"===typeof e?e(t):e}function f(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function h(e){var t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return p(h(e))}function m(e,t,n){void 0===n&&(n=!1);var r=d(e),o=v(e),i=g(o),u="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(u=A(u)),[u,A(u)]}function y(e){var t=A(e);return[b(e),t,b(t)]}function b(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var S=["left","right"],w=["right","left"],x=["top","bottom"],O=["bottom","top"];function E(e,t,n,r){var o=d(e),i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?w:S:t?S:w;case"left":case"right":return t?x:O;default:return[]}}(f(e),"start"===n,r);return o&&(i=i.map(function(e){return e+"-"+o}),t&&(i=i.concat(i.map(b)))),i}function A(e){var t=f(e);return a[t]+e.slice(t.length)}function _(e){return"number"!==typeof e?function(e){var t,n,r,o;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(o=e.left)?o:0}}(e):{top:e,right:e,bottom:e,left:e}}function R(e){var t=e.x,n=e.y,r=e.width,o=e.height;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}},48985:function(e,t,n){"use strict";n.d(t,{m_:function(){return T}});var r=n(60436),o=n(5544),i=n(22007),u=n(64467),s=n(89379),a=n(10467),c=n(82483),l=n(18764),f=n(71097),d="react-tooltip-core-styles",p="react-tooltip-base-styles",g={core:!1,base:!1};function h(e){var t,n,r=e.css,o=e.id,i=void 0===o?p:o,u=e.type,s=void 0===u?"base":u,a=e.ref;if(r&&"undefined"!=typeof document&&!g[s]&&("core"!==s||"undefined"==typeof process||!(null===(t=null===process||void 0===process?void 0:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0})||void 0===t?void 0:t.REACT_TOOLTIP_DISABLE_CORE_STYLES))&&("base"===s||"undefined"==typeof process||!(null===(n=null===process||void 0===process?void 0:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0})||void 0===n?void 0:n.REACT_TOOLTIP_DISABLE_BASE_STYLES))){"core"===s&&(i=d),a||(a={});var c=a.insertAt;if(!document.getElementById(i)){var l=document.head||document.getElementsByTagName("head")[0],f=document.createElement("style");f.id=i,f.type="text/css","top"===c&&l.firstChild?l.insertBefore(f,l.firstChild):l.appendChild(f),f.styleSheet?f.styleSheet.cssText=r:f.appendChild(document.createTextNode(r)),g[s]=!0}}}var v=function(){var e=(0,a.A)((0,i.A)().m(function e(t){var n,r,o,a,c,f,d,p,g,h,v,m,y,b,S,w,x,O;return(0,i.A)().w(function(e){for(;;)switch(e.n){case 0:if(n=t.elementReference,r=void 0===n?null:n,o=t.tooltipReference,a=void 0===o?null:o,c=t.tooltipArrowReference,f=void 0===c?null:c,d=t.place,p=void 0===d?"top":d,g=t.offset,h=void 0===g?10:g,v=t.strategy,m=void 0===v?"absolute":v,y=t.middlewares,b=void 0===y?[(0,l.cY)(Number(h)),(0,l.UU)({fallbackAxisSideDirection:"start"}),(0,l.BN)({padding:5})]:y,S=t.border,w=t.arrowSize,x=void 0===w?8:w,r){e.n=1;break}return e.a(2,{tooltipStyles:{},tooltipArrowStyles:{},place:p});case 1:if(null!==a){e.n=2;break}return e.a(2,{tooltipStyles:{},tooltipArrowStyles:{},place:p});case 2:return O=b,e.a(2,f?(O.push((0,l.UE)({element:f,padding:5})),(0,l.rD)(r,a,{placement:p,strategy:m,middleware:O}).then(function(e){var t,n,r=e.x,o=e.y,i=e.placement,a=e.middlewareData,c={left:"".concat(r,"px"),top:"".concat(o,"px"),border:S},l=null!==(t=a.arrow)&&void 0!==t?t:{x:0,y:0},f=l.x,d=l.y,p=null!==(n={top:"bottom",right:"left",bottom:"top",left:"r
2ight"}[i.split("-")[0]])&&void 0!==n?n:"bottom",g=S&&{borderBottom:S,borderRight:S},h=0;if(S){var v="".concat(S).match(/(\d+)px/);h=(null==v?void 0:v[1])?Number(v[1]):1}return{tooltipStyles:c,tooltipArrowStyles:(0,s.A)((0,s.A)({left:null!=f?"".concat(f,"px"):"",top:null!=d?"".concat(d,"px"):"",right:"",bottom:""},g),{},(0,u.A)({},p,"-".concat(x/2+h-1,"px"))),place:i}})):(0,l.rD)(r,a,{placement:"bottom",strategy:m,middleware:O}).then(function(e){var t=e.x,n=e.y,r=e.placement;return{tooltipStyles:{left:"".concat(t,"px"),top:"".concat(n,"px")},tooltipArrowStyles:{},place:r}}))}},e)}));return function(t){return e.apply(this,arguments)}}(),m=function(e,t){return!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t)},y=function(e,t,n){var r=null,o=function(){for(var o=this,i=arguments.length,u=new Array(i),s=0;s<i;s++)u[s]=arguments[s];var a=function(){r=null,n||e.apply(o,u)};n&&!r&&(e.apply(this,u),r=setTimeout(a,t)),n||(r&&clearTimeout(r),r=setTimeout(a,t))};return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},b=function(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e},S=function(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(function(e,n){return S(e,t[n])});if(Array.isArray(e)!==Array.isArray(t))return!1;if(!b(e)||!b(t))return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(n){return S(e[n],t[n])})},w=function(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;var t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(function(e){var n=t.getPropertyValue(e);return"auto"===n||"scroll"===n})},x=function(e){if(!e)return null;for(var t=e.parentElement;t;){if(w(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},O="undefined"!=typeof window?c.useLayoutEffect:c.useEffect,E=function(e){e.current&&(clearTimeout(e.current),e.current=null)},A="DEFAULT_TOOLTIP_ID",_={anchorRefs:new Set,activeAnchor:{current:null},attach:function(){},detach:function(){},setActiveAnchor:function(){}},R=(0,c.createContext)({getTooltipData:function(){return _}});function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A;return(0,c.useContext)(R).getTooltipData(e)}var I={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",content:"core-styles-module_content__BRKdB",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},P={tooltip:"styles-module_tooltip__mnnfp",content:"styles-module_content__ydYdI",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"},k=function(e){var t,n=e.forwardRef,i=e.id,u=e.className,a=e.classNameArrow,d=e.variant,p=void 0===d?"dark":d,g=e.anchorId,h=e.anchorSelect,m=e.place,b=void 0===m?"top":m,w=e.offset,A=void 0===w?10:w,_=e.events,R=void 0===_?["hover"]:_,k=e.openOnClick,j=void 0!==k&&k,T=e.positionStrategy,L=void 0===T?"absolute":T,D=e.middlewares,M=e.wrapper,N=e.delayShow,B=void 0===N?0:N,H=e.delayHide,F=void 0===H?0:H,q=e.float,U=void 0!==q&&q,z=e.hidden,W=void 0!==z&&z,V=e.noArrow,K=void 0!==V&&V,J=e.clickable,$=void 0!==J&&J,Y=e.closeOnEsc,X=void 0!==Y&&Y,G=e.closeOnScroll,Q=void 0!==G&&G,Z=e.closeOnResize,ee=void 0!==Z&&Z,te=e.openEvents,ne=e.closeEvents,re=e.globalCloseEvents,oe=e.imperativeModeOnly,ie=e.style,ue=e.position,se=e.afterShow,ae=e.afterHide,ce=e.disableTooltip,le=e.content,fe=e.contentWrapperRef,de=e.isOpen,pe=e.defaultIsOpen,ge=void 0!==pe&&pe,he=e.setIsOpen,ve=e.previousActiveAnchor,me=e.activeAnchor,ye=e.setActiveAnchor,be=e.border,Se=e.opacity,we=e.arrowColor,xe=e.arrowSize,Oe=void 0===xe?8:xe,Ee=e.role,Ae=void 0===Ee?"tooltip":Ee,_e=(0,c.useRef)(null),Re=(0,c.useRef)(null),Ce=(0,c.useRef)(null),Ie=(0,c.useRef)(null),Pe=(0,c.useRef)(null),ke=(0,c.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:b}),je=(0,o.A)(ke,2),Te=je[0],Le=je[1],De=(0,c.useState)(!1),Me=(0,o.A)(De,2),Ne=Me[0],Be=Me[1],He=(0,c.useState)(!1),Fe=(0,o.A)(He,2),qe=Fe[0],Ue=Fe[1],ze=(0,c.useState)(null),We=(0,o.A)(ze,2),Ve=We[0],Ke=We[1],Je=(0,c.useRef)(!1),$e=(0,
2c.useRef)(null),Ye=C(i),Xe=Ye.anchorRefs,Ge=Ye.setActiveAnchor,Qe=(0,c.useRef)(!1),Ze=(0,c.useState)([]),et=(0,o.A)(Ze,2),tt=et[0],nt=et[1],rt=(0,c.useRef)(!1),ot=j||R.includes("click"),it=ot||(null==te?void 0:te.click)||(null==te?void 0:te.dblclick)||(null==te?void 0:te.mousedown),ut=te?(0,s.A)({},te):{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!te&&ot&&Object.assign(ut,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});var st=ne?(0,s.A)({},ne):{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!ne&&ot&&Object.assign(st,{mouseleave:!1,blur:!1,mouseout:!1});var at=re?(0,s.A)({},re):{escape:X||!1,scroll:Q||!1,resize:ee||!1,clickOutsideAnchor:it||!1};oe&&(Object.assign(ut,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(st,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(at,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),O(function(){return rt.current=!0,function(){rt.current=!1}},[]);var ct=function(e){rt.current&&(e&&Ue(!0),setTimeout(function(){rt.current&&(null==he||he(e),void 0===de&&Be(e))},10))};(0,c.useEffect)(function(){if(i){if(Ne){o(ve);var e=n(me),t=(0,r.A)(new Set([].concat((0,r.A)(e),[i]))).filter(Boolean).join(" ");null==me||me.setAttribute("aria-describedby",t)}else o(me);return function(){o(me),o(ve)}}function n(e){var t;return(null===(t=null==e?void 0:e.getAttribute("aria-describedby"))||void 0===t?void 0:t.split(" "))||[]}function o(e){var t=n(e).filter(function(e){return e!==i});t.length?null==e||e.setAttribute("aria-describedby",t.join(" ")):null==e||e.removeAttribute("aria-describedby")}},[me,Ne,i,ve]),(0,c.useEffect)(function(){if(void 0===de)return function(){return null};de&&Ue(!0);var e=setTimeout(function(){Be(de)},10);return function(){clearTimeout(e)}},[de]),(0,c.useEffect)(function(){if(Ne!==Je.current)if(E(Pe),Je.current=Ne,Ne)null==se||se();else{var e=function(){var e=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!e)return 0;var t=(0,o.A)(e,3),n=t[1],r=t[2];return Number(n)*("ms"===r?1:1e3)}();Pe.current=setTimeout(function(){Ue(!1),Ke(null),null==ae||ae()},e+25)}},[Ne]);var lt=function(e){Le(function(t){return S(t,e)?t:e})},ft=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B;E(Ce),qe?ct(!0):Ce.current=setTimeout(function(){ct(!0)},e)},dt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F;E(Ie),Ie.current=setTimeout(function(){Qe.current||ct(!1)},e)},pt=function(e){var t;if(e){var n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return ye(null),void Ge({current:null});B?ft():ct(!0),ye(n),Ge({current:n}),E(Ie)}},gt=function(){$?dt(F||100):F?dt():ct(!1),E(Ce)},ht=function(e){var t,n=e.x,r=e.y,o={getBoundingClientRect:function(){return{x:n,y:r,width:0,height:0,top:r,left:n,right:n,bottom:r}}};v({place:null!==(t=null==Ve?void 0:Ve.place)&&void 0!==t?t:b,offset:A,elementReference:o,tooltipReference:_e.current,tooltipArrowReference:Re.current,strategy:L,middlewares:D,border:be,arrowSize:Oe}).then(function(e){lt(e)})},vt=function(e){if(e){var t=e,n={x:t.clientX,y:t.clientY};ht(n),$e.current=n}},mt=function(e){var t;if(Ne){var n=e.target;n.isConnected&&((null===(t=_e.current)||void 0===t?void 0:t.contains(n))||[document.querySelector("[id='".concat(g,"']"))].concat((0,r.A)(tt)).some(function(e){return null==e?void 0:e.contains(n)}
2)||(ct(!1),E(Ce)))}},yt=y(pt,50,!0),bt=y(gt,50,!0),St=function(e){bt.cancel(),yt(e)},wt=function(){yt.cancel(),bt()},xt=(0,c.useCallback)(function(){var e,t,n=null!==(e=null==Ve?void 0:Ve.position)&&void 0!==e?e:ue;n?ht(n):U?$e.current&&ht($e.current):(null==me?void 0:me.isConnected)&&v({place:null!==(t=null==Ve?void 0:Ve.place)&&void 0!==t?t:b,offset:A,elementReference:me,tooltipReference:_e.current,tooltipArrowReference:Re.current,strategy:L,middlewares:D,border:be,arrowSize:Oe}).then(function(e){rt.current&<(e)})},[Ne,me,le,ie,b,null==Ve?void 0:Ve.place,A,L,ue,null==Ve?void 0:Ve.position,U,Oe]);(0,c.useEffect)(function(){var e,t,n=new Set(Xe);tt.forEach(function(e){(null==ce?void 0:ce(e))||n.add({current:e})});var r=document.querySelector("[id='".concat(g,"']"));r&&!(null==ce?void 0:ce(r))&&n.add({current:r});var i=function(){ct(!1)},u=x(me),s=x(_e.current);at.scroll&&(window.addEventListener("scroll",i),null==u||u.addEventListener("scroll",i),null==s||s.addEventListener("scroll",i));var a=null;at.resize?window.addEventListener("resize",i):me&&_e.current&&(a=(0,l.ll)(me,_e.current,xt,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));var c=function(e){"Escape"===e.key&&ct(!1)};at.escape&&window.addEventListener("keydown",c),at.clickOutsideAnchor&&window.addEventListener("click",mt);var f=[],d=function(e){return Boolean((null==e?void 0:e.target)&&(null==me?void 0:me.contains(e.target)))},p=function(e){Ne&&d(e)||pt(e)},h=function(e){Ne&&d(e)&>()},v=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],m=["click","dblclick","mousedown","mouseup"];Object.entries(ut).forEach(function(e){var t=(0,o.A)(e,2),n=t[0];t[1]&&(v.includes(n)?f.push({event:n,listener:St}):m.includes(n)&&f.push({event:n,listener:p}))}),Object.entries(st).forEach(function(e){var t=(0,o.A)(e,2),n=t[0];t[1]&&(v.includes(n)?f.push({event:n,listener:wt}):m.includes(n)&&f.push({event:n,listener:h}))}),U&&f.push({event:"pointermove",listener:vt});var y=function(){Qe.current=!0},b=function(){Qe.current=!1,gt()},S=$&&(st.mouseout||st.mouseleave);return S&&(null===(e=_e.current)||void 0===e||e.addEventListener("mouseover",y),null===(t=_e.current)||void 0===t||t.addEventListener("mouseout",b)),f.forEach(function(e){var t=e.event,r=e.listener;n.forEach(function(e){var n;null===(n=e.current)||void 0===n||n.addEventListener(t,r)})}),function(){var e,t;at.scroll&&(window.removeEventListener("scroll",i),null==u||u.removeEventListener("scroll",i),null==s||s.removeEventListener("scroll",i)),at.resize?window.removeEventListener("resize",i):null==a||a(),at.clickOutsideAnchor&&window.removeEventListener("click",mt),at.escape&&window.removeEventListener("keydown",c),S&&(null===(e=_e.current)||void 0===e||e.removeEventListener("mouseover",y),null===(t=_e.current)||void 0===t||t.removeEventListener("mouseout",b)),f.forEach(function(e){var t=e.event,r=e.listener;n.forEach(function(e){var n;null===(n=e.current)||void 0===n||n.removeEventListener(t,r)})})}},[me,xt,qe,Xe,tt,te,ne,re,ot,B,F]),(0,c.useEffect)(function(){var e,t,n=null!==(t=null!==(e=null==Ve?void 0:Ve.anchorSelect)&&void 0!==e?e:h)&&void 0!==t?t:"";!n&&i&&(n="[data-tooltip-id='".concat(i.replace(/'/g,"\\'"),"']"));var o=new MutationObserver(function(e){var t=[],o=[];e.forEach(function(e){if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===i?t.push(e.target):e.oldValue===i&&o.push(e.target)),"childList"===e.type){if(me){var u=(0,r.A)(e.removedNodes).filter(function(e){return 1===e.nodeType});if(n)try{o.push.apply(o,(0,r.A)(u.filter(function(e){return e.matches(n)}))),o.push.apply(o,(0,r.A)(u.flatMap(function(e){return(0,r.A)(e.querySelectorAll(n))})))}catch(e){}u.some(function(e){var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,me))&&(Ue(!1),ct(!1),ye(null),E(Ce),E(Ie),!0)})}if(n)try{var s=(0,r.A)(e.addedNodes).filter(function(e){return 1===e.nodeType});t.push.apply(t,(0,r.A)(s.filter(function(e){return e.matches(n)}))),t.push.apply(t,(0,r.A)(s.flatMap(function(e){return(0,r.A)(e.querySelectorAll(n))})))}catch(e){}}}),(t.length||o.length)&&nt(function(e){return[].concat((0,r.A)(e.filter(function(e){return!o.includes(e)})),t)}
2)});return o.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),function(){o.disconnect()}},[i,h,null==Ve?void 0:Ve.anchorSelect,me]),(0,c.useEffect)(function(){xt()},[xt]),(0,c.useEffect)(function(){if(!(null==fe?void 0:fe.current))return function(){return null};var e=new ResizeObserver(function(){setTimeout(function(){return xt()})});return e.observe(fe.current),function(){e.disconnect()}},[le,null==fe?void 0:fe.current]),(0,c.useEffect)(function(){var e,t=document.querySelector("[id='".concat(g,"']")),n=[].concat((0,r.A)(tt),[t]);me&&n.includes(me)||ye(null!==(e=tt[0])&&void 0!==e?e:t)},[g,tt,me]),(0,c.useEffect)(function(){return ge&&ct(!0),function(){E(Ce),E(Ie)}},[]),(0,c.useEffect)(function(){var e,t=null!==(e=null==Ve?void 0:Ve.anchorSelect)&&void 0!==e?e:h;if(!t&&i&&(t="[data-tooltip-id='".concat(i.replace(/'/g,"\\'"),"']")),t)try{var n=Array.from(document.querySelectorAll(t));nt(n)}catch(e){nt([])}},[i,h,null==Ve?void 0:Ve.anchorSelect]),(0,c.useEffect)(function(){Ce.current&&(E(Ce),ft(B))},[B]);var Ot=null!==(t=null==Ve?void 0:Ve.content)&&void 0!==t?t:le,Et=Ne&&Object.keys(Te.tooltipStyles).length>0;return(0,c.useImperativeHandle)(n,function(){return{open:function(e){if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(n){return void console.warn('[react-tooltip] "'.concat(e.anchorSelect,'" is not a valid CSS selector'))}Ke(null!=e?e:null),(null==e?void 0:e.delay)?ft(e.delay):ct(!0)},close:function(e){(null==e?void 0:e.delay)?dt(e.delay):ct(!1)},activeAnchor:me,place:Te.place,isOpen:Boolean(qe&&!W&&Ot&&Et)}}),qe&&!W&&Ot?c.createElement(M,{id:i,role:Ae,className:f("react-tooltip",I.tooltip,P.tooltip,P[p],u,"react-tooltip__place-".concat(Te.place),I[Et?"show":"closing"],Et?"react-tooltip__show":"react-tooltip__closing","fixed"===L&&I.fixed,$&&I.clickable),onTransitionEnd:function(e){E(Pe),Ne||"opacity"!==e.propertyName||(Ue(!1),Ke(null),null==ae||ae())},style:(0,s.A)((0,s.A)((0,s.A)({},ie),Te.tooltipStyles),{},{opacity:void 0!==Se&&Et?Se:void 0}),ref:_e},c.createElement(M,{className:f("react-tooltip-content-wrapper",I.content,P.content)},Ot),c.createElement(M,{className:f("react-tooltip-arrow",I.arrow,P.arrow,a,K&&I.noArrow),style:(0,s.A)((0,s.A)({},Te.tooltipArrowStyles),{},{background:we?"linear-gradient(to right bottom, transparent 50%, ".concat(we," 50%)"):void 0,"--rt-arrow-size":"".concat(Oe,"px")}),ref:Re})):null},j=function(e){var t=e.content;return c.createElement("span",{dangerouslySetInnerHTML:{__html:t}})},T=c.forwardRef(function(e,t){var n=e.id,r=e.anchorId,i=e.anchorSelect,u=e.content,a=e.html,l=e.render,d=e.className,p=e.classNameArrow,g=e.variant,h=void 0===g?"dark":g,v=e.place,y=void 0===v?"top":v,b=e.offset,S=void 0===b?10:b,w=e.wrapper,x=void 0===w?"div":w,O=e.children,E=void 0===O?null:O,A=e.events,_=void 0===A?["hover"]:A,R=e.openOnClick,I=void 0!==R&&R,P=e.positionStrategy,T=void 0===P?"absolute":P,L=e.middlewares,D=e.delayShow,M=void 0===D?0:D,N=e.delayHide,B=void 0===N?0:N,H=e.float,F=void 0!==H&&H,q=e.hidden,U=void 0!==q&&q,z=e.noArrow,W=void 0!==z&&z,V=e.clickable,K=void 0!==V&&V,J=e.closeOnEsc,$=void 0!==J&&J,Y=e.closeOnScroll,X=void 0!==Y&&Y,G=e.closeOnResize,Q=void 0!==G&&G,Z=e.openEvents,ee=e.closeEvents,te=e.globalCloseEvents,ne=e.imperativeModeOnly,re=void 0!==ne&&ne,oe=e.style,ie=e.position,ue=e.isOpen,se=e.defaultIsOpen,ae=void 0!==se&&se,ce=e.disableStyleInjection,le=void 0!==ce&&ce,fe=e.border,de=e.opacity,pe=e.arrowColor,ge=e.arrowSize,he=e.setIsOpen,ve=e.afterShow,me=e.afterHide,ye=e.disableTooltip,be=e.role,Se=void 0===be?"tooltip":be,we=(0,c.useState)(u),xe=(0,o.A)(we,2),Oe=xe[0],Ee=xe[1],Ae=(0,c.useState)(a),_e=(0,o.A)(Ae,2),Re=_e[0],Ce=_e[1],Ie=(0,c.useState)(y),Pe=(0,o.A)(Ie,2),ke=Pe[0],je=Pe[1],Te=(0,c.useState)(h),Le=(0,o.A)(Te,2),De=Le[0],Me=Le[1],Ne=(0,c.useState)(S),Be=(0,o.A)(Ne,2),He=Be[0],Fe=Be[1],qe=(0,c.useState)(M),Ue=(0,o.A)(qe,2),ze=Ue[0],We=Ue[1],Ve=(0,c.useState)(B),Ke=(0,o.A)(Ve,2),Je=Ke[0],$e=Ke[1],Ye=(0,c.useState)(F),Xe=(0,o.A)(Ye,2),Ge=Xe[0],Qe=Xe[1],Ze=(0,c.useState)(U),et=(0,o.A)(Ze,2),tt=et[0],nt=et[1],rt=(0,c.useState)(x),ot=(0,o.A)(rt,2),it=ot[0],ut=ot[1],st=(0,c.useState)(_),at=(0,o.A)(st,2),ct=at[0],lt=at[1],ft=(0,c.useState)(T),dt=(0,o.A)(ft,2),pt=dt[0],gt=dt[1],ht=(0,c.useState)(null),vt=(0,o.A)(ht,2),mt=vt[0],yt=vt[1],bt=(0,c.useState)(null),St=(0,o.A)(bt,2),wt=St[0],xt=St[1],Ot=(0,c.useRef)(null),Et=(0,c.useRef)(le),At=C(n),_t=At.anchorRefs,Rt=At.activeAnchor,Ct=function(e){return null==e?void 0:e.getAttributeNames().reduce(function(t,n){var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t},{})},It=function(e){var t={place:function(e){var t;je(null!==(t=e)&&void 0!==t?t:y)},content:function(e){Ee(null!=e?e:u)},html:function(e){Ce(null!=e?e:a)},variant:function(e){var t;Me(null!==(t=e)&&void 0!==t?t:h)},offset:function(e){Fe(null===e?S:Number(e))},wrapper:function(e){var t;ut(null!==(t=e)&&void 0!==t?t:x)},events:function(e){var t=null==e?void 0:e.split(" ");lt(null!=t?t:_)},"position-strategy":function(e){var t;gt(null!==(t=e)&&void 0!==t?t:T)},"delay-show":function(e){We(null===e?M:Number(e))},"delay-hide":function(e){$e(null===e?B:Number(e))},float:function(e){Qe(null===e?F:"true"===e)},hidden:function(e){nt(null===e?U:"true"===e)},"class-name":function(e){yt(e)}};Object.values(t).forEach(function(e){return e(null)}),Object.entries(e).forEach(function(e){var n,r=(0,o.A)(e,2),i=r[0],u=r[1];null===(n=t[i])||void 0===n||n.call(t,u)})};(0,c.useEffect)(function(){Ee(u)},[u]),(0,c.useEffect)(function(){Ce(a)},[a]),(0,c.useEffect)(function(){je(y)},[y]),(0,c.useEffect)(function(){Me(h)},[h]),(0,c.useEffect)(function(){Fe(S)}
2,[S]),(0,c.useEffect)(function(){We(M)},[M]),(0,c.useEffect)(function(){$e(B)},[B]),(0,c.useEffect)(function(){Qe(F)},[F]),(0,c.useEffect)(function(){nt(U)},[U]),(0,c.useEffect)(function(){gt(T)},[T]),(0,c.useEffect)(function(){Et.current!==le&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[le]),(0,c.useEffect)(function(){"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===le,disableBase:le}}))},[]),(0,c.useEffect)(function(){var e,t=new Set(_t),o=i;if(!o&&n&&(o="[data-tooltip-id='".concat(n.replace(/'/g,"\\'"),"']")),o)try{document.querySelectorAll(o).forEach(function(e){t.add({current:e})})}catch(e){console.warn('[react-tooltip] "'.concat(o,'" is not a valid CSS selector'))}var u=document.querySelector("[id='".concat(r,"']"));if(u&&t.add({current:u}),!t.size)return function(){return null};var s=null!==(e=null!=wt?wt:u)&&void 0!==e?e:Rt.current,a=new MutationObserver(function(e){e.forEach(function(e){var t;if(s&&"attributes"===e.type&&(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-"))){var n=Ct(s);It(n)}})});if(s){var c=Ct(s);It(c),a.observe(s,{attributes:!0,childList:!1,subtree:!1})}return function(){a.disconnect()}},[_t,Rt,wt,r,i]),(0,c.useEffect)(function(){(null==oe?void 0:oe.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),fe&&!m("border","".concat(fe))&&console.warn('[react-tooltip] "'.concat(fe,'" is not a valid `border`.')),(null==oe?void 0:oe.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),de&&!m("opacity","".concat(de))&&console.warn('[react-tooltip] "'.concat(de,'" is not a valid `opacity`.'))},[]);var Pt=E,kt=(0,c.useRef)(null);if(l){var jt=l({content:(null==wt?void 0:wt.getAttribute("data-tooltip-content"))||Oe||null,activeAnchor:wt});Pt=jt?c.createElement("div",{ref:kt,className:"react-tooltip-content-wrapper"},jt):null}else Oe&&(Pt=Oe);Re&&(Pt=c.createElement(j,{content:Re}));var Tt={forwardRef:t,id:n,anchorId:r,anchorSelect:i,className:f(d,mt),classNameArrow:p,content:Pt,contentWrapperRef:kt,place:ke,variant:De,offset:He,wrapper:it,events:ct,openOnClick:I,positionStrategy:pt,middlewares:L,delayShow:ze,delayHide:Je,float:Ge,hidden:tt,noArrow:W,clickable:K,closeOnEsc:$,closeOnScroll:X,closeOnResize:Q,openEvents:Z,closeEvents:ee,globalCloseEvents:te,imperativeModeOnly:re,style:oe,position:ie,isOpen:ue,defaultIsOpen:ae,border:fe,opacity:de,arrowColor:pe,arrowSize:ge,setIsOpen:he,afterShow:ve,afterHide:me,disableTooltip:ye,activeAnchor:wt,previousActiveAnchor:Ot.current,setActiveAnchor:function(e){xt(function(t){return(null==e?void 0:e.isSameNode(t))||(Ot.current=t),e})},role:Se};return c.createElement(k,(0,s.A)({},Tt))});"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",function(e){e.detail.disableCore||h({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1;-webkit-backface-visibility:hidden;backface-visibility:hidden}.core-styles-module_content__BRKdB{position:relative;z-index:1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||h({css:"\n.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;width:max-content}.styles-module_content__ydYdI{background:inherit;border-radius:inherit;padding:8px 16px}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}
2[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})})}}]); 3//# sourceMappingURL=477.b5b67540650d4e2dc6c4.chunk.js.map
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.