tocco-widget-bundle 0.1.67 → 0.1.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +3 -0
- package/dist/address-update.js +1 -1
- package/dist/{chunk-vendor-fontawesome.a5995f2ba1e5d1e75ee9.js → chunk-vendor-fontawesome.bf7d7e49d7b58e3166c5.js} +1 -1
- package/dist/docs-browser.js +1 -1
- package/dist/entity-browser.js +1 -1
- package/dist/entity-dms.js +1 -1
- package/dist/login.js +1 -1
- package/dist/mailing-list.js +1 -1
- package/dist/password-update.js +1 -1
- package/dist/personal-dms.js +1 -1
- package/dist/public-dms.js +1 -1
- package/dist/sso-login.js +1 -1
- package/dist/stint-auction.js +1 -1
- package/dist/user-availability.js +1 -1
- package/dist/user-grades.js +1 -1
- package/dist/user-menu.js +7 -7
- package/dist/wage-view.js +1 -1
- package/package.json +1 -1
package/dist/mailing-list.js
CHANGED
|
@@ -61,4 +61,4 @@ object-assign
|
|
|
61
61
|
* LICENSE file in the root directory of this source tree.
|
|
62
62
|
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case p:case a:case c:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case m:case s:return e;default:return t}}case o:return t}}}function x(e){return O(e)===p}t.AsyncMode=l,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=c,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||O(e)===l},t.isConcurrentMode=x,t.isContextConsumer=function(e){return O(e)===u},t.isContextProvider=function(e){return O(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===g},t.isMemo=function(e){return O(e)===m},t.isPortal=function(e){return O(e)===o},t.isProfiler=function(e){return O(e)===c},t.isStrictMode=function(e){return O(e)===i},t.isSuspense=function(e){return O(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===c||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=O},51976:(e,t,n)=>{"use strict";e.exports=n(9734)},2393:(e,t,n)=>{"use strict";n.d(t,{h3:()=>j});var r,o=n(1024),a=n.n(o);function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function c(){}function s(e){return!!(e||"").match(/\d/)}function u(e){return null==e}function l(e){return"number"==typeof e&&isNaN(e)}function p(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function d(e,t){void 0===t&&(t=!0);var n="-"===e[0],r=n&&t,o=(e=e.replace("-","")).split(".");return{beforeDecimal:o[0],afterDecimal:o[1]||"",hasNegation:n,addNegation:r}}function f(e,t,n){for(var r="",o=n?"0":"",a=0;a<=t-1;a++)r+=e[a]||o;return r}function h(e,t){return Array(t+1).join(e)}function m(e){var t=e+"",n="-"===t[0]?"-":"";n&&(t=t.substring(1));var r=t.split(/[eE]/g),o=r[0],a=r[1];if(!(a=Number(a)))return n+o;var i=1+a,c=(o=o.replace(".","")).length;return i<0?o="0."+h("0",Math.abs(i))+o:i>=c?o+=h("0",i-c):o=(o.substring(0,i)||"0")+"."+o.substring(i),n+o}function g(e,t,n){if(-1!==["","-"].indexOf(e))return e;var r=(-1!==e.indexOf(".")||n)&&t,o=d(e),a=o.beforeDecimal,i=o.afterDecimal,c=o.hasNegation,s=parseFloat("0."+(i||"0")),u=(i.length<=t?"0."+i:s.toFixed(t)).split(".");return""+(c?"-":"")+a.split("").reverse().reduce((function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e}),u[0])+(r?".":"")+f(u[1]||"",t,n)}function v(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}function y(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function b(e,t,n,r){var o,a,i,c=e.length;if(o=t,a=0,i=c,t=Math.min(Math.max(o,a),i),"left"===r){for(;t>=0&&!n[t];)t--;-1===t&&(t=n.indexOf(!0))}else{for(;t<=c&&!n[t];)t++;t>c&&(t=n.lastIndexOf(!0))}return-1===t&&(t=c),t}function w(e){for(var t=Array.from({length:e.length+1}).map((function(){return!0})),n=0,r=t.length;n<r;n++)t[n]=Boolean(s(e[n])||s(e[n-1]));return t}function O(e,t,n,r,a,i){void 0===i&&(i=c);var s=(0,o.useRef)(),p=function(e){var t=(0,o.useRef)(e);t.current=e;var n=(0,o.useRef)((function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return t.current.apply(t,e)}));return n.current}((function(e){var t,o;return u(e)||l(e)?(o="",t=""):"number"==typeof e||n?(o="number"==typeof e?m(e):e,t=r(o)):(o=a(e,void 0),t=e),{formattedValue:t,numAsString:o}})),d=(0,o.useState)((function(){return p(t)})),f=d[0],h=d[1];return(0,o.useMemo)((function(){u(e)?s.current=void 0:(s.current=p(e),h(s.current))}),[e,p]),[f,function(e,t){h({formattedValue:e.formattedValue,numAsString:e.value}),i(e,t)}]}function x(e){return e.replace(/[^0-9]/g,"")}function k(e){return e}function E(e){var t=e.type;void 0===t&&(t="text");var n=e.displayType;void 0===n&&(n="input");var u=e.customInput,l=e.renderText,p=e.getInputRef,d=e.format;void 0===d&&(d=k);var f=e.removeFormatting;void 0===f&&(f=x);var h=e.defaultValue,m=e.valueIsNumericString,g=e.onValueChange,y=e.isAllowed,E=e.onChange;void 0===E&&(E=c);var _=e.onKeyDown;void 0===_&&(_=c);var S=e.onMouseUp;void 0===S&&(S=c);var A=e.onFocus;void 0===A&&(A=c);var P=e.onBlur;void 0===P&&(P=c);var j=e.value,C=e.getCaretBoundary;void 0===C&&(C=w);var D=e.isValidInputCharacter;void 0===D&&(D=s);var T=i(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter"]),Z=O(j,h,Boolean(m),d,f,g),M=Z[0],I=M.formattedValue,R=M.numAsString,N=Z[1],L=(0,o.useRef)();(0,o.useEffect)((function(){var e=d(R);if(void 0===L.current||e!==L.current){var t=U.current;K({formattedValue:e,numAsString:R,input:t,setCaretPosition:!0,source:r.props,event:void 0})}}));var F=(0,o.useState)(!1),B=F[0],H=F[1],U=(0,o.useRef)(null),W=(0,o.useRef)({setCaretTimeout:null,focusTimeout:null});(0,o.useEffect)((function(){return H(!0),function(){clearTimeout(W.current.setCaretTimeout),clearTimeout(W.current.focusTimeout)}}),[]);var V=d,z=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},q=function(e,t,n){v(e,t),W.current.setCaretTimeout=setTimeout((function(){e.value===n&&v(e,t)}),0)},Y=function(e,t,n){return b(e,t,C(e),n)},G=function(e,t,n){var r=C(t),o=function(e,t,n,r,o,a){var i=o.findIndex((function(e){return e})),c=e.slice(0,i);t||n.startsWith(c)||(n=c+n,r+=c.length);for(var s=n.length,u=e.length,l={},p=new Array(s),d=0;d<s;d++){p[d]=-1;for(var f=0,h=u;f<h;f++)if(n[d]===e[f]&&!0!==l[f]){p[d]=f,l[f]=!0;break}}for(var m=r;m<s&&(-1===p[m]||!a(n[m]));)m++;var g=m===s||-1===p[m]?u:p[m];for(m=r-1;m>0&&-1===p[m];)m--;var v=-1===m||-1===p[m]?0:p[m]+1;return v>g?g:r-v<g-r?v:g}(t,I,e,n,r,D);return o=b(t,o,r)},K=function(e){var t=e.formattedValue;void 0===t&&(t="");var n=e.input,r=e.setCaretPosition;void 0===r&&(r=!0);var o,a=e.source,i=e.event,c=e.numAsString,s=e.caretPos;if(n){if(void 0===s&&r){var u=e.inputValue||n.value,l=(o=n,Math.max(o.selectionStart,o.selectionEnd));n.value=t,s=G(u,t,l)}n.value=t,r&&void 0!==s&&q(n,s,t)}t!==I&&function(e,t){L.current=e.formattedValue,N(e,t)}(z(t,c),{event:i,source:a})},$=!B||"undefined"==typeof navigator||navigator.platform&&/iPhone|iPod/.test(navigator.platform)?void 0:"numeric",X=Object.assign({inputMode:$},T,{type:t,value:I,onChange:function(e){var t=function(e,t,n){var r=function(e,t){for(var n=0,r=0,o=e.length,a=t.length;e[n]===t[n]&&n<o;)n++;for(;e[o-1-r]===t[a-1-r]&&a-r>n&&o-r>n;)r++;return{from:{start:n,end:o-r},to:{start:n,end:a-r}}}(I,e),o=Object.assign(Object.assign({},r),{lastValue:I}),a=f(e,o),i=V(a);return!(y&&!y(z(i,a))||(K({formattedValue:i,numAsString:a,inputValue:e,event:t,source:n,setCaretPosition:!0,input:t.target}),0))}(e.target.value,e,r.event);t&&E(e)},onKeyDown:function(e){var t,n=e.target,r=e.key,o=n.selectionStart,a=n.selectionEnd,i=n.value;if(void 0===i&&(i=""),"ArrowLeft"===r||"Backspace"===r?t=Math.max(o-1,0):"ArrowRight"===r?t=Math.min(o+1,i.length):"Delete"===r&&(t=o),void 0!==t&&o===a){var c=t;if("ArrowLeft"===r||"ArrowRight"===r)c=Y(i,t,"ArrowLeft"===r?"left":"right");else"Delete"!==r||D(i[t])?"Backspace"!==r||D(i[t])||(c=Y(i,t,"left")):c=Y(i,t,"right");c!==t&&q(n,c,i),e.isUnitTestRun&&q(n,c,i),_(e)}else _(e)},onMouseUp:function(e){var t=e.target,n=t.selectionStart,r=t.selectionEnd,o=t.value;if(void 0===o&&(o=""),n===r){var a=Y(o,n);a!==n&&q(t,a,o)}S(e)},onFocus:function(e){e.persist();var t=e.target;U.current=t,W.current.focusTimeout=setTimeout((function(){var n=t.selectionStart,r=t.selectionEnd,o=t.value;void 0===o&&(o="");var a=Y(o,n);a===n||0===n&&r===o.length||q(t,a,o),A(e)}),0)},onBlur:function(e){U.current=null,clearTimeout(W.current.focusTimeout),clearTimeout(W.current.setCaretTimeout),P(e)}});if("text"===n)return l?a().createElement(a().Fragment,null,l(I,T)||null):a().createElement("span",Object.assign({},T,{ref:p}),I);if(u){var Q=u;return a().createElement(Q,Object.assign({},X,{ref:p}))}return a().createElement("input",Object.assign({},X,{ref:p}))}function _(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix;void 0===o&&(o="");var a=t.suffix;void 0===a&&(a="");var i=t.allowNegative;void 0===i&&(i=!0);var c=t.thousandsGroupStyle;if(void 0===c&&(c="thousand"),""===e||"-"===e)return e;var s=S(t),u=s.thousandSeparator,l=s.decimalSeparator,p=0!==n&&-1!==e.indexOf(".")||n&&r,h=d(e,i),m=h.beforeDecimal,g=h.afterDecimal,v=h.addNegation;return void 0!==n&&(g=f(g,n,!!r)),u&&(m=function(e,t,n){var r=function(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}(n),o=e.search(/[1-9]/);return o=-1===o?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(r,"$1"+t)}(m,u,c)),o&&(m=o+m),a&&(g+=a),v&&(m="-"+m),e=m+(p&&l||"")+g}function S(e){var t=e.decimalSeparator;void 0===t&&(t=".");var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return!0===n&&(n=","),r||(r=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function A(e,t,n){void 0===t&&(t=y(e));var r=n.allowNegative;void 0===r&&(r=!0);var o=n.prefix;void 0===o&&(o="");var a=n.suffix;void 0===a&&(a="");var i=n.decimalScale,c=t.from,s=t.to,u=s.start,l=s.end,f=S(n),h=f.allowedDecimalSeparators,m=f.decimalSeparator,g=e[l]===m;if(l-u==1&&-1!==h.indexOf(e[u])){var v=0===i?"":m;e=e.substring(0,u)+v+e.substring(u+1,e.length)}var b=!1;o.startsWith("-")?b=e.startsWith("--"):a.startsWith("-")&&e.length===a.length?b=!1:"-"===e[0]&&(b=!0),b&&(e=e.substring(1),u-=1,l-=1);var w=0;e.startsWith(o)?w+=o.length:u<o.length&&(w=u),l-=w;var O=(e=e.substring(w)).length,x=e.length-a.length;e.endsWith(a)?O=x:l>e.length-a.length&&(O=l),e=e.substring(0,O),e=function(e,t){void 0===e&&(e="");var n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),a=r.test(e);return e=e.replace(/-/g,""),o&&!a&&t&&(e="-"+e),e}(b?"-"+e:e,r),e=(e.match(function(e,t){return new RegExp("(^-)|[0-9]|"+p(e),t?"g":void 0)}(m,!0))||[]).join("");var k=e.indexOf(m),E=d(e=e.replace(new RegExp(p(m),"g"),(function(e,t){return t===k?".":""})),r),_=E.beforeDecimal,A=E.afterDecimal,P=E.addNegation;return s.end-s.start<c.end-c.start&&""===_&&g&&!parseFloat(A)&&(e=P?"-":""),e}function P(e){var t=e.decimalSeparator;void 0===t&&(t=".");e.allowedDecimalSeparators,e.thousandsGroupStyle,e.suffix,e.allowNegative;var n=e.allowLeadingZeros,o=e.onKeyDown;void 0===o&&(o=c);var a=e.onBlur;void 0===a&&(a=c);var p=e.thousandSeparator,d=e.decimalScale,f=e.fixedDecimalScale,h=e.prefix;void 0===h&&(h="");var y=e.defaultValue,b=e.value,w=e.valueIsNumericString,x=e.onValueChange,k=i(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]);!function(e){var t=S(e),n=t.thousandSeparator,r=t.decimalSeparator;if(n===r)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: "+n+' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: '+r+" (default value for decimalSeparator is .)\n ")}(e);var E=function(t){return _(t,e)},P=function(t,n){return A(t,n,e)},j=w;u(b)?u(y)||(j=null!=w?w:"number"==typeof y):j=null!=w?w:"number"==typeof b;var C=function(e){return u(e)||l(e)?e:("number"==typeof e&&(e=m(e)),j&&"number"==typeof d?g(e,d,Boolean(f)):e)},D=O(C(b),C(y),Boolean(j),E,P,x),T=D[0],Z=T.numAsString,M=T.formattedValue,I=D[1];return Object.assign(Object.assign({},k),{value:M,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===t||s(e)},onValueChange:I,format:E,removeFormatting:P,getCaretBoundary:function(t){return function(e,t){var n=t.prefix;void 0===n&&(n="");var r=t.suffix;void 0===r&&(r="");var o=Array.from({length:e.length+1}).map((function(){return!0})),a="-"===e[0];o.fill(!1,0,n.length+(a?1:0));var i=e.length;return o.fill(!1,i-r.length+1,i+1),o}(t,e)},onKeyDown:function(t){var n=t.target,r=t.key,a=n.selectionStart,i=n.selectionEnd,c=n.value;if(void 0===c&&(c=""),a===i){"Backspace"===r&&"-"===c[0]&&a===h.length+1&&v(n,1);var s=S(e).decimalSeparator;"Backspace"===r&&c[a-1]===s&&d&&f&&(v(n,a-1),t.preventDefault());var u=!0===p?",":p;"Backspace"===r&&c[a-1]===u&&v(n,a-1),"Delete"===r&&c[a]===u&&v(n,a+1),o(t)}else o(t)},onBlur:function(t){var o=Z;if(o.match(/\d/g)||(o=""),n||(o=function(e){if(!e)return e;var t="-"===e[0];t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",o=n[1]||"";return(t?"-":"")+r+(o?"."+o:"")}(o)),f&&d&&(o=g(o,d,f)),o!==Z){var i=_(o,e);I({formattedValue:i,value:o,floatValue:parseFloat(o)},{event:t,source:r.event})}a(t)}})}function j(e){var t=P(e);return a().createElement(E,Object.assign({},t))}!function(e){e.event="event",e.props="prop"}(r||(r={}))},94842:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:()=>h,default:()=>g});var r=n(1024),o=n(30314);function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var s,u,l=(void 0===s&&(s=0),function(){return++s}),p={},d={},f=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var n=null;return-1!==f.indexOf(t)&&u&&(n={passive:!e.props.preventDefault}),n}const g=function(e,t){var n,s,f=e.displayName||e.name||"Component";return s=n=function(n){var s,h;function g(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+f+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,o.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!d[r._uid]){void 0===u&&(u=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),d[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),p[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&c(e,t,n))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,p[r._uid],m(i(r),e))}))}},r.disableOnClickOutside=function(){delete d[r._uid];var e=p[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,m(i(r),t))})),delete p[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=l(),r}h=n,(s=g).prototype=Object.create(h.prototype),s.prototype.constructor=s,a(s,h);var v=g.prototype;return v.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},v.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+f+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},v.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},v.componentWillUnmount=function(){this.disableOnClickOutside()},v.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},g}(r.Component),n.displayName="OnClickOutside("+f+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},s}},28384:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Manager:()=>i,Popper:()=>d,Reference:()=>m,usePopper:()=>s.D});var r=n(1024),o=r.createContext(),a=r.createContext();function i(e){var t=e.children,n=r.useState(null),i=n[0],c=n[1],s=r.useRef(!1);r.useEffect((function(){return function(){s.current=!0}}),[]);var u=r.useCallback((function(e){s.current||c(e)}),[]);return r.createElement(o.Provider,{value:i},r.createElement(a.Provider,{value:u},t))}var c=n(87568),s=n(32654),u=function(){},l=function(){return Promise.resolve(null)},p=[];function d(e){var t=e.placement,n=void 0===t?"bottom":t,a=e.strategy,i=void 0===a?"absolute":a,d=e.modifiers,f=void 0===d?p:d,h=e.referenceElement,m=e.onFirstUpdate,g=e.innerRef,v=e.children,y=r.useContext(o),b=r.useState(null),w=b[0],O=b[1],x=r.useState(null),k=x[0],E=x[1];r.useEffect((function(){(0,c.k$)(g,w)}),[g,w]);var _=r.useMemo((function(){return{placement:n,strategy:i,onFirstUpdate:m,modifiers:[].concat(f,[{name:"arrow",enabled:null!=k,options:{element:k}}])}}),[n,i,m,f,k]),S=(0,s.D)(h||y,w,_),A=S.state,P=S.styles,j=S.forceUpdate,C=S.update,D=r.useMemo((function(){return{ref:O,style:P.popper,placement:A?A.placement:n,hasPopperEscaped:A&&A.modifiersData.hide?A.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:A&&A.modifiersData.hide?A.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:P.arrow,ref:E},forceUpdate:j||u,update:C||l}}),[O,E,n,A,P,C,j]);return(0,c.$p)(v)(D)}var f=n(99874),h=n.n(f);function m(e){var t=e.children,n=e.innerRef,o=r.useContext(a),i=r.useCallback((function(e){(0,c.k$)(n,e),(0,c.DL)(o,e)}),[n,o]);return r.useEffect((function(){return function(){return(0,c.k$)(n,null)}}),[]),r.useEffect((function(){h()(Boolean(o),"`Reference` should not be used outside of a `Manager` component.")}),[o]),(0,c.$p)(t)({ref:i})}},32654:(e,t,n)=>{"use strict";n.d(t,{D:()=>be});var r=n(1024),o=n(30314);function a(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return e instanceof a(e).Element||e instanceof Element}function c(e){return e instanceof a(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof a(e).ShadowRoot||e instanceof ShadowRoot)}var u=Math.max,l=Math.min,p=Math.round;function d(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(c(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=p(n.width)/i||1),a>0&&(o=p(n.height)/a||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function f(e){var t=a(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function g(e){return d(m(e)).left+f(e).scrollLeft}function v(e){return a(e).getComputedStyle(e)}function y(e){var t=v(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b(e,t,n){void 0===n&&(n=!1);var r,o,i=c(t),s=c(t)&&function(e){var t=e.getBoundingClientRect(),n=p(t.width)/e.offsetWidth||1,r=p(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=m(t),l=d(e,s),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(i||!i&&!n)&&(("body"!==h(t)||y(u))&&(v=(r=t)!==a(r)&&c(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:f(r)),c(t)?((b=d(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):u&&(b.x=g(u))),{x:l.left+v.scrollLeft-b.x,y:l.top+v.scrollTop-b.y,width:l.width,height:l.height}}function w(e){var t=d(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function O(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(s(e)?e.host:null)||m(e)}function x(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:c(e)&&y(e)?e:x(O(e))}function k(e,t){var n;void 0===t&&(t=[]);var r=x(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=a(r),c=o?[i].concat(i.visualViewport||[],y(r)?r:[]):r,s=t.concat(c);return o?s:s.concat(k(O(c)))}function E(e){return["table","td","th"].indexOf(h(e))>=0}function _(e){return c(e)&&"fixed"!==v(e).position?e.offsetParent:null}function S(e){for(var t=a(e),n=_(e);n&&E(n)&&"static"===v(n).position;)n=_(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===v(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&c(e)&&"fixed"===v(e).position)return null;var n=O(e);for(s(n)&&(n=n.host);c(n)&&["html","body"].indexOf(h(n))<0;){var r=v(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var A="top",P="bottom",j="right",C="left",D="auto",T=[A,P,j,C],Z="start",M="end",I="viewport",R="popper",N=T.reduce((function(e,t){return e.concat([t+"-"+Z,t+"-"+M])}),[]),L=[].concat(T,[D]).reduce((function(e,t){return e.concat([t,t+"-"+Z,t+"-"+M])}),[]),F=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var H={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function W(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?H:o;return function(e,t,n){void 0===n&&(n=a);var o,c,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},H,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],l=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},a,s.options,o),s.scrollParents={reference:i(e)?k(e):e.contextElement?k(e.contextElement):[],popper:k(t)};var c=function(e){var t=B(e);return F.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=c.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:s,name:t,instance:p,options:r}),i=function(){};u.push(a||i)}})),p.update()},forceUpdate:function(){if(!l){var e=s.elements,t=e.reference,n=e.popper;if(U(t,n)){s.rects={reference:b(t,S(n),"fixed"===s.options.strategy),popper:w(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],a=o.fn,i=o.options,c=void 0===i?{}:i,u=o.name;"function"==typeof a&&(s=a({state:s,options:c,name:u,instance:p})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){p.forceUpdate(),e(s)}))},function(){return c||(c=new Promise((function(e){Promise.resolve().then((function(){c=void 0,e(o())}))}))),c}),destroy:function(){d(),l=!0}};if(!U(e,t))return p;function d(){u.forEach((function(e){return e()})),u=[]}return p.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),p}}var V={passive:!0};function z(e){return e.split("-")[0]}function q(e){return e.split("-")[1]}function Y(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function G(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?z(o):null,i=o?q(o):null,c=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case A:t={x:c,y:n.y-r.height};break;case P:t={x:c,y:n.y+n.height};break;case j:t={x:n.x+n.width,y:s};break;case C:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?Y(a):null;if(null!=u){var l="y"===u?"height":"width";switch(i){case Z:t[u]=t[u]-(n[l]/2-r[l]/2);break;case M:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,c=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,d=e.roundOffsets,f=e.isFixed,h=c.x,g=void 0===h?0:h,y=c.y,b=void 0===y?0:y,w="function"==typeof d?d({x:g,y:b}):{x:g,y:b};g=w.x,b=w.y;var O=c.hasOwnProperty("x"),x=c.hasOwnProperty("y"),k=C,E=A,_=window;if(l){var D=S(n),T="clientHeight",Z="clientWidth";if(D===a(n)&&"static"!==v(D=m(n)).position&&"absolute"===s&&(T="scrollHeight",Z="scrollWidth"),D=D,o===A||(o===C||o===j)&&i===M)E=P,b-=(f&&D===_&&_.visualViewport?_.visualViewport.height:D[T])-r.height,b*=u?1:-1;if(o===C||(o===A||o===P)&&i===M)k=j,g-=(f&&D===_&&_.visualViewport?_.visualViewport.width:D[Z])-r.width,g*=u?1:-1}var I,R=Object.assign({position:s},l&&K),N=!0===d?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:p(t*r)/r||0,y:p(n*r)/r||0}}({x:g,y:b}):{x:g,y:b};return g=N.x,b=N.y,u?Object.assign({},R,((I={})[E]=x?"0":"",I[k]=O?"0":"",I.transform=(_.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",I)):Object.assign({},R,((t={})[E]=x?b+"px":"",t[k]=O?g+"px":"",t.transform="",t))}const X={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=L.reduce((function(e,n){return e[n]=function(e,t,n){var r=z(e),o=[C,A].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],c=a[1];return i=i||0,c=(c||0)*o,[C,j].indexOf(r)>=0?{x:c,y:i}:{x:i,y:c}}(n,t.rects,a),e}),{}),c=i[t.placement],s=c.x,u=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}};var Q={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,(function(e){return Q[e]}))}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&s(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oe(e,t){return t===I?re(function(e){var t=a(e),n=m(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,c=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:c+g(e),y:s}}(e)):i(t)?function(e){var t=d(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):re(function(e){var t,n=m(e),r=f(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=u(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=u(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+g(e),s=-r.scrollTop;return"rtl"===v(o||n).direction&&(c+=u(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:c,y:s}}(m(e)))}function ae(e,t,n){var r="clippingParents"===t?function(e){var t=k(O(e)),n=["absolute","fixed"].indexOf(v(e).position)>=0&&c(e)?S(e):e;return i(n)?t.filter((function(e){return i(e)&&ne(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],s=o.reduce((function(t,n){var r=oe(e,n);return t.top=u(r.top,t.top),t.right=l(r.right,t.right),t.bottom=l(r.bottom,t.bottom),t.left=u(r.left,t.left),t}),oe(e,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ce(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,c=void 0===a?"clippingParents":a,s=n.rootBoundary,u=void 0===s?I:s,l=n.elementContext,p=void 0===l?R:l,f=n.altBoundary,h=void 0!==f&&f,g=n.padding,v=void 0===g?0:g,y=ie("number"!=typeof v?v:ce(v,T)),b=p===R?"reference":R,w=e.rects.popper,O=e.elements[h?b:p],x=ae(i(O)?O:O.contextElement||m(e.elements.popper),c,u),k=d(e.elements.reference),E=G({reference:k,element:w,strategy:"absolute",placement:o}),_=re(Object.assign({},w,E)),S=p===R?_:k,C={top:x.top-S.top+y.top,bottom:S.bottom-x.bottom+y.bottom,left:x.left-S.left+y.left,right:S.right-x.right+y.right},D=e.modifiersData.offset;if(p===R&&D){var Z=D[o];Object.keys(C).forEach((function(e){var t=[j,P].indexOf(e)>=0?1:-1,n=[A,P].indexOf(e)>=0?"y":"x";C[e]+=Z[n]*t}))}return C}function ue(e,t,n){return u(e,l(t,n))}const le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0!==i&&i,s=n.boundary,p=n.rootBoundary,d=n.altBoundary,f=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,y=se(t,{boundary:s,rootBoundary:p,padding:f,altBoundary:d}),b=z(t.placement),O=q(t.placement),x=!O,k=Y(b),E="x"===k?"y":"x",_=t.modifiersData.popperOffsets,D=t.rects.reference,T=t.rects.popper,M="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,I="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(_){if(a){var L,F="y"===k?A:C,B="y"===k?P:j,H="y"===k?"height":"width",U=_[k],W=U+y[F],V=U-y[B],G=m?-T[H]/2:0,K=O===Z?D[H]:T[H],$=O===Z?-T[H]:-D[H],X=t.elements.arrow,Q=m&&X?w(X):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=J[F],te=J[B],ne=ue(0,D[H],Q[H]),re=x?D[H]/2-G-ne-ee-I.mainAxis:K-ne-ee-I.mainAxis,oe=x?-D[H]/2+G+ne+te+I.mainAxis:$+ne+te+I.mainAxis,ae=t.elements.arrow&&S(t.elements.arrow),ie=ae?"y"===k?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(L=null==R?void 0:R[k])?L:0,le=U+oe-ce,pe=ue(m?l(W,U+re-ce-ie):W,U,m?u(V,le):V);_[k]=pe,N[k]=pe-U}if(c){var de,fe="x"===k?A:C,he="x"===k?P:j,me=_[E],ge="y"===E?"height":"width",ve=me+y[fe],ye=me-y[he],be=-1!==[A,C].indexOf(b),we=null!=(de=null==R?void 0:R[E])?de:0,Oe=be?ve:me-D[ge]-T[ge]-we+I.altAxis,xe=be?me+D[ge]+T[ge]-we-I.altAxis:ye,ke=m&&be?function(e,t,n){var r=ue(e,t,n);return r>n?n:r}(Oe,me,xe):ue(m?Oe:ve,me,m?xe:ye);_[E]=ke,N[E]=ke-me}t.modifiersData[r]=N}},requiresIfExists:["offset"]};const pe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,c=z(n.placement),s=Y(c),u=[C,j].indexOf(c)>=0?"height":"width";if(a&&i){var l=function(e,t){return ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ce(e,T))}(o.padding,n),p=w(a),d="y"===s?A:C,f="y"===s?P:j,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],g=S(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=l[d],O=v-p[u]-l[f],x=v/2-p[u]/2+y,k=ue(b,x,O),E=s;n.modifiersData[r]=((t={})[E]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ne(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function de(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fe(e){return[A,j,P,C].some((function(t){return e[t]>=0}))}var he=W({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,c=r.resize,s=void 0===c||c,u=a(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach((function(e){e.addEventListener("scroll",n.update,V)})),s&&u.addEventListener("resize",n.update,V),function(){i&&l.forEach((function(e){e.removeEventListener("scroll",n.update,V)})),s&&u.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=G({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,c=n.roundOffsets,s=void 0===c||c,u={placement:z(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,$(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,$(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];c(o)&&h(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});c(r)&&h(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},X,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0===i||i,s=n.fallbackPlacements,u=n.padding,l=n.boundary,p=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=z(g),y=s||(v===g||!h?[J(g)]:function(e){if(z(e)===D)return[];var t=J(e);return[te(e),t,te(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(z(n)===D?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,c=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?L:s,l=q(r),p=l?c?N:N.filter((function(e){return q(e)===l})):T,d=p.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=p);var f=d.reduce((function(t,n){return t[n]=se(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[z(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:l,rootBoundary:p,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,O=t.rects.popper,x=new Map,k=!0,E=b[0],_=0;_<b.length;_++){var S=b[_],M=z(S),I=q(S)===Z,R=[A,P].indexOf(M)>=0,F=R?"width":"height",B=se(t,{placement:S,boundary:l,rootBoundary:p,altBoundary:d,padding:u}),H=R?I?j:C:I?P:A;w[F]>O[F]&&(H=J(H));var U=J(H),W=[];if(a&&W.push(B[M]<=0),c&&W.push(B[H]<=0,B[U]<=0),W.every((function(e){return e}))){E=S,k=!1;break}x.set(S,W)}if(k)for(var V=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},Y=h?3:1;Y>0;Y--){if("break"===V(Y))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},le,pe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=se(t,{elementContext:"reference"}),c=se(t,{altBoundary:!0}),s=de(i,r),u=de(c,o,a),l=fe(s),p=fe(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":p})}}]}),me=n(98836),ge=n.n(me),ve=n(87568),ye=[],be=function(e,t,n){void 0===n&&(n={});var a=r.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ye},c=r.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=c[0],u=c[1],l=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);o.flushSync((function(){u({styles:(0,ve.sq)(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,ve.sq)(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),p=r.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[l,{name:"applyStyles",enabled:!1}])};return ge()(a.current,e)?a.current||e:(a.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,l]),d=r.useRef();return(0,ve.LI)((function(){d.current&&d.current.setOptions(p)}),[p]),(0,ve.LI)((function(){if(null!=e&&null!=t){var r=(n.createPopper||he)(e,t,p);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}},87568:(e,t,n)=>{"use strict";n.d(t,{$p:()=>o,DL:()=>a,LI:()=>s,k$:()=>i,sq:()=>c});var r=n(1024),o=function(e){return Array.isArray(e)?e[0]:e},a=function(e){if("function"==typeof 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.apply(void 0,n)}},i=function(e,t){if("function"==typeof e)return a(e,t);null!=e&&(e.current=t)},c=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},s="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect},13508:(e,t,n)=>{"use strict";n.d(t,{A:()=>z,B:()=>J,C:()=>Q,D:()=>X,E:()=>I,F:()=>Ye,G:()=>$,H:()=>L,I:()=>R,J:()=>W,K:()=>Z,M:()=>ae,a:()=>Ee,b:()=>he,c:()=>qe,d:()=>Ce,e:()=>ke,f:()=>Ze,g:()=>Te,h:()=>_e,i:()=>ge,j:()=>Ie,k:()=>ue,l:()=>Ae,m:()=>re,n:()=>ie,o:()=>fe,p:()=>Fe,q:()=>Be,r:()=>ee,s:()=>K,t:()=>He,u:()=>se,v:()=>We,w:()=>Ve,x:()=>ze,y:()=>me,z:()=>V});var r=n(8486),o=n(3640),a=n(89178),i=n(91411),c=n(56315),s=n(68957),u=n(73891),l=n(46927),p=n(1024),d=n(30314);Math.min,Math.max;const f=["top","right","bottom","left"];f.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function h(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function m(e){if(null==e)return window;if(!h(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function g(e){return m(e).getComputedStyle(e)}function v(e){return h(e)?"":e?(e.nodeName||"").toLowerCase():""}function y(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function b(e){return e instanceof m(e).HTMLElement}function w(e){return e instanceof m(e).Element}function O(e){return"undefined"!=typeof ShadowRoot&&(e instanceof m(e).ShadowRoot||e instanceof ShadowRoot)}function x(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=g(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function k(){return!/^((?!chrome|android).)*safari/i.test(y())}function E(e){return["html","body","#document"].includes(v(e))}Math.min,Math.max;const _=Math.round;function S(e,t,n){var r,o,a,i;void 0===t&&(t=!1),void 0===n&&(n=!1);const c=e.getBoundingClientRect();let s=1,u=1;t&&b(e)&&(s=e.offsetWidth>0&&_(c.width)/e.offsetWidth||1,u=e.offsetHeight>0&&_(c.height)/e.offsetHeight||1);const l=w(e)?m(e):window,p=!k()&&n,d=(c.left+(p&&null!=(r=null==(o=l.visualViewport)?void 0:o.offsetLeft)?r:0))/s,f=(c.top+(p&&null!=(a=null==(i=l.visualViewport)?void 0:i.offsetTop)?a:0))/u,h=c.width/s,g=c.height/u;return{width:h,height:g,top:f,right:d+h,bottom:f+g,left:d,x:d,y:f}}function A(e){return(t=e,(t instanceof m(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function P(e){return"html"===v(e)?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||A(e)}function j(e){const t=P(e);return E(t)?e.ownerDocument.body:b(t)&&x(t)?t:j(t)}function C(e,t){var n;void 0===t&&(t=[]);const r=j(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=m(r),i=o?[a].concat(a.visualViewport||[],x(r)?r:[]):r,c=t.concat(i);return o?c:c.concat(C(i))}var D=n(6919),T=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Z=function(){};function M(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function I(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(M(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var R=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,u.Z)(e)&&null!==e?[e]:[];var t},N=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,c.Z)(e,T);return(0,r.Z)({},t)};function L(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function F(e){return L(e)?window.pageYOffset:e.scrollTop}function B(e,t){L(e)?window.scrollTo(0,t):e.scrollTop=t}function H(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Z,o=F(e),a=t-o,i=10,c=0;function s(){var t=H(c+=i,o,a,n);B(e,t),c<n?window.requestAnimationFrame(s):r(e)}s()}function W(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?B(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&B(e,Math.max(t.offsetTop-o,0))}function V(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function z(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var q=!1,Y={get passive(){return q=!0}},G="undefined"!=typeof window?window:{};G.addEventListener&&G.removeEventListener&&(G.addEventListener("p",Z,Y),G.removeEventListener("p",Z,!1));var K=q;function $(e){return null!=e}function X(e,t,n){return e?t:n}function Q(e){return e}function J(e){return e}var ee=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=(0,s.Z)(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=(0,s.Z)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})};function te(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,c=e.theme.spacing,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var l,p=s.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,h=d.height,m=d.top,g=n.offsetParent.getBoundingClientRect().top,v=i?window.innerHeight:L(l=s)?window.innerHeight:l.clientHeight,y=F(s),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),O=g-w,x=v-m,k=O+y,E=p-y-m,_=f-v+y+b,S=y+m-w,A=160;switch(o){case"auto":case"bottom":if(x>=h)return{placement:"bottom",maxHeight:t};if(E>=h&&!i)return a&&U(s,_,A),{placement:"bottom",maxHeight:t};if(!i&&E>=r||i&&x>=r)return a&&U(s,_,A),{placement:"bottom",maxHeight:i?x-b:E-b};if("auto"===o||i){var P=t,j=i?O:k;return j>=r&&(P=Math.min(j-b-c.controlHeight,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return a&&B(s,_),{placement:"bottom",maxHeight:t};break;case"top":if(O>=h)return{placement:"top",maxHeight:t};if(k>=h&&!i)return a&&U(s,S,A),{placement:"top",maxHeight:t};if(!i&&k>=r||i&&O>=r){var C=t;return(!i&&k>=r||i&&O>=r)&&(C=i?O-w:k-w),a&&U(s,S,A),{placement:"top",maxHeight:C}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var ne=function(e){return"auto"===e?"bottom":e},re=function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,a=r.spacing,i=r.colors;return t={label:"menu"},(0,l.Z)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),(0,l.Z)(t,"backgroundColor",i.neutral0),(0,l.Z)(t,"borderRadius",o),(0,l.Z)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),(0,l.Z)(t,"marginBottom",a.menuGutter),(0,l.Z)(t,"marginTop",a.menuGutter),(0,l.Z)(t,"position","absolute"),(0,l.Z)(t,"width","100%"),(0,l.Z)(t,"zIndex",1),t},oe=(0,p.createContext)(null),ae=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,a=e.menuPlacement,i=e.menuPosition,c=e.menuShouldScrollIntoView,u=e.theme,l=((0,p.useContext)(oe)||{}).setPortalPlacement,d=(0,p.useRef)(null),f=(0,p.useState)(o),h=(0,s.Z)(f,2),m=h[0],g=h[1],v=(0,p.useState)(null),y=(0,s.Z)(v,2),b=y[0],w=y[1];return(0,D.Z)((function(){var e=d.current;if(e){var t="fixed"===i,r=te({maxHeight:o,menuEl:e,minHeight:n,placement:a,shouldScroll:c&&!t,isFixedPosition:t,theme:u});g(r.maxHeight),w(r.placement),null==l||l(r.placement)}}),[o,a,i,c,n,l,u]),t({ref:d,placerProps:(0,r.Z)((0,r.Z)({},e),{},{placement:b||ne(a),maxHeight:m})})},ie=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},ce=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},se=ce,ue=ce,le=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({css:i("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},c),t)};le.defaultProps={children:"No options"};var pe=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({css:i("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},c),t)};pe.defaultProps={children:"Loading..."};var de,fe=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},he=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},me=function(e){var t=e.theme.spacing,n=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},ge=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},ve=["size"];var ye={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},be=function(e){var t=e.size,n=(0,c.Z)(e,ve);return(0,a.tZ)("svg",(0,o.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ye},n))},we=function(e){return(0,a.tZ)(be,(0,o.Z)({size:20},e),(0,a.tZ)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Oe=function(e){return(0,a.tZ)(be,(0,o.Z)({size:20},e),(0,a.tZ)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},xe=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},ke=xe,Ee=xe,_e=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},Se=(0,a.F4)(de||(de=(0,i.Z)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),Ae=function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,a=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*a,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},Pe=function(e){var t=e.delay,n=e.offset;return(0,a.tZ)("span",{css:(0,a.iv)({animation:"".concat(Se," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},je=function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps,c=e.isRtl;return(0,a.tZ)("div",(0,o.Z)({css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},i),(0,a.tZ)(Pe,{delay:0,offset:c}),(0,a.tZ)(Pe,{delay:160,offset:!0}),(0,a.tZ)(Pe,{delay:320,offset:!c}))};je.defaultProps={size:4};var Ce=function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,a=r.borderRadius,i=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},De=["data"],Te=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},Ze=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},Me=["innerRef","isDisabled","isHidden","inputClassName"],Ie=function(e){var t=e.isDisabled,n=e.value,o=e.theme,a=o.spacing,i=o.colors;return(0,r.Z)({margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80,transform:n?"translateZ(0)":""},Ne)},Re={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ne={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,r.Z)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Re)},Le=function(e){return(0,r.Z)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Re)},Fe=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},Be=function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"}},He=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused?o.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},Ue=function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",n,t)};var We=function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,a=o.spacing,i=o.colors;return{label:"option",backgroundColor:r?i.primary:n?i.primary25:"transparent",color:t?i.neutral20:r?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:r?i.primary:i.primary50}}},Ve=function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},ze=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},qe={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({css:i("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)},c),t||(0,a.tZ)(we,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.className,c=e.isDisabled,s=e.isFocused,u=e.innerRef,l=e.innerProps,p=e.menuIsOpen;return(0,a.tZ)("div",(0,o.Z)({ref:u,css:r("control",e),className:n({control:!0,"control--is-disabled":c,"control--is-focused":s,"control--menu-is-open":p},i)},l),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({css:i("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)},c),t||(0,a.tZ)(Oe,null))},DownChevron:Oe,CrossIcon:we,Group:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.Heading,s=e.headingProps,u=e.innerProps,l=e.label,p=e.theme,d=e.selectProps;return(0,a.tZ)("div",(0,o.Z)({css:i("group",e),className:r({group:!0},n)},u),(0,a.tZ)(c,(0,o.Z)({},s,{selectProps:d,theme:p,getStyles:i,cx:r}),l),(0,a.tZ)("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,r=e.className,i=N(e);i.data;var s=(0,c.Z)(i,De);return(0,a.tZ)("div",(0,o.Z)({css:t("groupHeading",e),className:n({"group-heading":!0},r)},s))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.innerProps,c=e.getStyles;return(0,a.tZ)("div",(0,o.Z)({css:c("indicatorsContainer",e),className:r({indicators:!0},n)},i),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps;return(0,a.tZ)("span",(0,o.Z)({},i,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.value,s=N(e),u=s.innerRef,l=s.isDisabled,p=s.isHidden,d=s.inputClassName,f=(0,c.Z)(s,Me);return(0,a.tZ)("div",{className:n({"input-container":!0},t),css:r("input",e),"data-value":i||""},(0,a.tZ)("input",(0,o.Z)({className:n({input:!0},d),ref:u,style:Le(p),disabled:l},f)))},LoadingIndicator:je,Menu:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.innerRef,s=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({css:i("menu",e),className:r({menu:!0},n),ref:c},s),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.innerProps,s=e.innerRef,u=e.isMulti;return(0,a.tZ)("div",(0,o.Z)({css:i("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":u},n),ref:s},c),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.className,i=e.controlElement,c=e.cx,u=e.innerProps,l=e.menuPlacement,f=e.menuPosition,h=e.getStyles,m=(0,p.useRef)(null),g=(0,p.useRef)(null),v=(0,p.useState)(ne(l)),y=(0,s.Z)(v,2),b=y[0],O=y[1],x=(0,p.useMemo)((function(){return{setPortalPlacement:O}}),[]),k=(0,p.useState)(null),E=(0,s.Z)(k,2),_=E[0],A=E[1],P=(0,p.useCallback)((function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===f?0:window.pageYOffset,n=e[b]+t;n===(null==_?void 0:_.offset)&&e.left===(null==_?void 0:_.rect.left)&&e.width===(null==_?void 0:_.rect.width)||A({offset:n,rect:e})}}),[i,f,b,null==_?void 0:_.offset,null==_?void 0:_.rect.left,null==_?void 0:_.rect.width]);(0,D.Z)((function(){P()}),[P]);var j=(0,p.useCallback)((function(){"function"==typeof g.current&&(g.current(),g.current=null),i&&m.current&&(g.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:c=!1}=r,s=o&&!c,u=s||a?[...w(e)?C(e):[],...C(t)]:[];u.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));let l,p=null;if(i){let r=!0;p=new ResizeObserver((()=>{r||n(),r=!1})),w(e)&&!c&&p.observe(e),p.observe(t)}let d=c?S(e):null;return c&&function t(){const r=S(e);!d||r.x===d.x&&r.y===d.y&&r.width===d.width&&r.height===d.height||n(),d=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{s&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(l)}}(i,m.current,P,{elementResize:"ResizeObserver"in window}))}),[i,P]);(0,D.Z)((function(){j()}),[j]);var T=(0,p.useCallback)((function(e){m.current=e,j()}),[j]);if(!t&&"fixed"!==f||!_)return null;var Z=(0,a.tZ)("div",(0,o.Z)({ref:T,css:h("menuPortal",{offset:_.offset,position:f,rect:_.rect}),className:c({"menu-portal":!0},r)},u),n);return(0,a.tZ)(oe.Provider,{value:x},t?(0,d.createPortal)(Z,t):Z)},LoadingMessage:pe,NoOptionsMessage:le,MultiValue:function(e){var t=e.children,n=e.className,o=e.components,i=e.cx,c=e.data,s=e.getStyles,u=e.innerProps,l=e.isDisabled,p=e.removeProps,d=e.selectProps,f=o.Container,h=o.Label,m=o.Remove;return(0,a.tZ)(a.ms,null,(function(o){var g=o.css,v=o.cx;return(0,a.tZ)(f,{data:c,innerProps:(0,r.Z)({className:v(g(s("multiValue",e)),i({"multi-value":!0,"multi-value--is-disabled":l},n))},u),selectProps:d},(0,a.tZ)(h,{data:c,innerProps:{className:v(g(s("multiValueLabel",e)),i({"multi-value__label":!0},n))},selectProps:d},t),(0,a.tZ)(m,{data:c,innerProps:(0,r.Z)({className:v(g(s("multiValueRemove",e)),i({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},p),selectProps:d}))}))},MultiValueContainer:Ue,MultiValueLabel:Ue,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({role:"button"},n),t||(0,a.tZ)(we,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.isDisabled,s=e.isFocused,u=e.isSelected,l=e.innerRef,p=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({css:i("option",e),className:r({option:!0,"option--is-disabled":c,"option--is-focused":s,"option--is-selected":u},n),ref:l,"aria-disabled":c},p),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({css:i("placeholder",e),className:r({placeholder:!0},n)},c),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.innerProps,s=e.isDisabled,u=e.isRtl;return(0,a.tZ)("div",(0,o.Z)({css:i("container",e),className:r({"--is-disabled":s,"--is-rtl":u},n)},c),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,c=e.isDisabled,s=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({css:i("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":c},n)},s),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.innerProps,c=e.isMulti,s=e.getStyles,u=e.hasValue;return(0,a.tZ)("div",(0,o.Z)({css:s("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":c,"value-container--has-value":u},n)},i),t)}},Ye=function(e){return(0,r.Z)((0,r.Z)({},qe),e.components)}},46443:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>pe});var r=n(8486),o=n(68957),a=n(56315),i=n(1024),c=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var s=n(3640),u=n(11259),l=n(44822),p=n(32208),d=n(19241);var f=n(99357);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.Z)(e);if(t){var o=(0,d.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,f.Z)(this,n)}}var m=n(45915),g=n(13508),v=n(89178),y=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function b(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||y(r)&&y(o)))return!1;var r,o;return!0}for(var w={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},O=function(e){return(0,v.tZ)("span",(0,s.Z)({css:w},e))},x={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,o=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,a=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,a?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,a=void 0===o?"":o,i=e.selectValue,c=e.isDisabled,s=e.isSelected,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(a," focused, ").concat(u(i,n),".");if("menu"===t){var l=c?" disabled":"",p="".concat(s?"selected":"focused").concat(l);return"option ".concat(a," ").concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},k=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,a=e.focusableOptions,c=e.isFocused,s=e.selectValue,u=e.selectProps,l=e.id,p=u.ariaLiveMessages,d=u.getOptionLabel,f=u.inputValue,h=u.isMulti,m=u.isOptionDisabled,g=u.isSearchable,y=u.menuIsOpen,b=u.options,w=u.screenReaderStatus,k=u.tabSelectsValue,E=u["aria-label"],_=u["aria-live"],S=(0,i.useMemo)((function(){return(0,r.Z)((0,r.Z)({},x),p||{})}),[p]),A=(0,i.useMemo)((function(){var e,n="";if(t&&S.onChange){var o=t.option,a=t.options,i=t.removedValue,c=t.removedValues,u=t.value,l=i||o||(e=u,Array.isArray(e)?null:e),p=l?d(l):"",f=a||c||void 0,h=f?f.map(d):[],g=(0,r.Z)({isDisabled:l&&m(l,s),label:p,labels:h},t);n=S.onChange(g)}return n}),[t,S,m,s,d]),P=(0,i.useMemo)((function(){var e="",t=n||o,r=!!(n&&s&&s.includes(n));if(t&&S.onFocus){var a={focused:t,label:d(t),isDisabled:m(t,s),isSelected:r,options:b,context:t===n?"menu":"value",selectValue:s};e=S.onFocus(a)}return e}),[n,o,d,m,S,b,s]),j=(0,i.useMemo)((function(){var e="";if(y&&b.length&&S.onFilter){var t=w({count:a.length});e=S.onFilter({inputValue:f,resultsMessage:t})}return e}),[a,f,y,S,b,w]),C=(0,i.useMemo)((function(){var e="";if(S.guidance){var t=o?"value":y?"menu":"input";e=S.guidance({"aria-label":E,context:t,isDisabled:n&&m(n,s),isMulti:h,isSearchable:g,tabSelectsValue:k})}return e}),[E,n,o,h,m,g,y,S,s,k]),D="".concat(P," ").concat(j," ").concat(C),T=(0,v.tZ)(i.Fragment,null,(0,v.tZ)("span",{id:"aria-selection"},A),(0,v.tZ)("span",{id:"aria-context"},D)),Z="initial-input-focus"===(null==t?void 0:t.action);return(0,v.tZ)(i.Fragment,null,(0,v.tZ)(O,{id:l},Z&&T),(0,v.tZ)(O,{"aria-live":_,"aria-atomic":"false","aria-relevant":"additions text"},c&&!Z&&T))},E=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],_=new RegExp("["+E.map((function(e){return e.letters})).join("")+"]","g"),S={},A=0;A<E.length;A++)for(var P=E[A],j=0;j<P.letters.length;j++)S[P.letters[j]]=P.base;var C=function(e){return e.replace(_,(function(e){return S[e]}))},D=function(e,t){void 0===t&&(t=b);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var a=e.apply(this,r);return n={lastResult:a,lastArgs:r,lastThis:this},a}return r.clear=function(){n=null},r}(C),T=function(e){return e.replace(/^\s+|\s+$/g,"")},Z=function(e){return"".concat(e.label," ").concat(e.value)},M=["innerRef"];function I(e){var t=e.innerRef,n=(0,a.Z)(e,M),r=(0,g.r)(n,"onExited","in","enter","exit","appear");return(0,v.tZ)("input",(0,s.Z)({ref:t},r,{css:(0,v.iv)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var R=["boxSizing","height","overflow","paddingRight","position"],N={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function L(e){e.preventDefault()}function F(e){e.stopPropagation()}function B(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function H(){return"ontouchstart"in window||navigator.maxTouchPoints}var U=!("undefined"==typeof window||!window.document||!window.document.createElement),W=0,V={capture:!1,passive:!1};var z=function(){return document.activeElement&&document.activeElement.blur()},q={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Y(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,c=(0,i.useRef)(!1),s=(0,i.useRef)(!1),u=(0,i.useRef)(0),l=(0,i.useRef)(null),p=(0,i.useCallback)((function(e,t){if(null!==l.current){var i=l.current,u=i.scrollTop,p=i.scrollHeight,d=i.clientHeight,f=l.current,h=t>0,m=p-d-u,g=!1;m>t&&c.current&&(r&&r(e),c.current=!1),h&&s.current&&(a&&a(e),s.current=!1),h&&t>m?(n&&!c.current&&n(e),f.scrollTop=p,g=!0,c.current=!0):!h&&-t>u&&(o&&!s.current&&o(e),f.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,a]),d=(0,i.useCallback)((function(e){p(e,e.deltaY)}),[p]),f=(0,i.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),h=(0,i.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;p(e,t)}),[p]),m=(0,i.useCallback)((function(e){if(e){var t=!!g.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",h,t)}}),[h,f,d]),v=(0,i.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",h,!1))}),[h,f,d]);return(0,i.useEffect)((function(){if(t){var e=l.current;return m(e),function(){v(e)}}}),[t,m,v]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,i.useRef)({}),a=(0,i.useRef)(null),c=(0,i.useCallback)((function(e){if(U){var t=document.body,n=t&&t.style;if(r&&R.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&W<1){var a=parseInt(o.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,c=window.innerWidth-i+a||0;Object.keys(N).forEach((function(e){var t=N[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(c,"px"))}t&&H()&&(t.addEventListener("touchmove",L,V),e&&(e.addEventListener("touchstart",B,V),e.addEventListener("touchmove",F,V))),W+=1}}),[r]),s=(0,i.useCallback)((function(e){if(U){var t=document.body,n=t&&t.style;W=Math.max(W-1,0),r&&W<1&&R.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&H()&&(t.removeEventListener("touchmove",L,V),e&&(e.removeEventListener("touchstart",B,V),e.removeEventListener("touchmove",F,V)))}}),[r]);return(0,i.useEffect)((function(){if(t){var e=a.current;return c(e),function(){s(e)}}}),[t,c,s]),function(e){a.current=e}}({isEnabled:n});return(0,v.tZ)(i.Fragment,null,n&&(0,v.tZ)("div",{onClick:z,css:q}),t((function(e){o(e),a(e)})))}var G={clearIndicator:g.a,container:g.b,control:g.d,dropdownIndicator:g.e,group:g.g,groupHeading:g.f,indicatorsContainer:g.i,indicatorSeparator:g.h,input:g.j,loadingIndicator:g.l,loadingMessage:g.k,menu:g.m,menuList:g.n,menuPortal:g.o,multiValue:g.p,multiValueLabel:g.q,multiValueRemove:g.t,noOptionsMessage:g.u,option:g.v,placeholder:g.w,singleValue:g.x,valueContainer:g.y};var K,$={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},X={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,g.z)(),captureMenuScroll:!(0,g.z)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,r.Z)({ignoreCase:!0,ignoreAccents:!0,stringify:Z,trim:!0,matchFrom:"any"},K),o=n.ignoreCase,a=n.ignoreAccents,i=n.stringify,c=n.trim,s=n.matchFrom,u=c?T(t):t,l=c?T(i(e)):i(e);return o&&(u=u.toLowerCase(),l=l.toLowerCase()),a&&(u=D(u),l=C(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,g.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function Q(e,t,n,r){return{type:"option",data:t,isDisabled:oe(e,t,n),isSelected:ae(e,t,n),label:ne(e,t),value:re(e,t),index:r}}function J(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Q(e,n,t,r)})).filter((function(t){return te(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=Q(e,n,t,r);return te(e,a)?a:void 0})).filter(g.G)}function ee(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,m.Z)(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function te(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,a=t.isSelected,i=t.label,c=t.value;return(!ce(e)||!a)&&ie(e,{label:i,value:c,data:o},r)}var ne=function(e,t){return e.getOptionLabel(t)},re=function(e,t){return e.getOptionValue(t)};function oe(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ae(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=re(e,t);return n.some((function(t){return re(e,t)===r}))}function ie(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ce=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},se=1,ue=function(e){(0,p.Z)(n,e);var t=h(n);function n(e){var o;return(0,u.Z)(this,n),(o=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.instancePrefix="",o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,a=n.name;t.name=a,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,a=r.closeMenuOnSelect,i=r.isMulti,c=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:c}),a&&(o.setState({inputIsHiddenAfterUpdate:!i}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,a=t.name,i=o.state.selectValue,c=r&&o.isOptionSelected(e,i),s=o.isOptionDisabled(e,i);if(c){var u=o.getOptionValue(e);o.setValue((0,g.B)(i.filter((function(e){return o.getOptionValue(e)!==u}))),"deselect-option",e)}else{if(s)return void o.ariaOnChange((0,g.C)(e),{action:"select-option",option:e,name:a});r?o.setValue((0,g.B)([].concat((0,m.Z)(i),[e])),"select-option",e):o.setValue((0,g.C)(e),"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),a=n.filter((function(e){return o.getOptionValue(e)!==r})),i=(0,g.D)(t,a,a[0]||null);o.onChange(i,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange((0,g.D)(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),a=(0,g.D)(e,r,r[0]||null);o.onChange(a,{action:"pop-value",removedValue:n})},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return g.E.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return ne(o.props,e)},o.getOptionValue=function(e){return re(o.props,e)},o.getStyles=function(e,t){var n=G[e](t);n.boxSizing="border-box";var r=o.props.styles[e];return r?r(n,t):n},o.getElementId=function(e){return"".concat(o.instancePrefix,"-").concat(e)},o.getComponents=function(){return(0,g.F)(o.props)},o.buildCategorizedOptions=function(){return J(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return ee(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:(0,r.Z)({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout((function(){return o.focusInput()})))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,g.H)(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),a=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||a>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){o.blockOptionHover||o.state.focusedOption===e||o.setState({focusedOption:e})},o.shouldHideSelectedOptions=function(){return ce(o.props)},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,a=t.escapeClearsValue,i=t.inputValue,c=t.isClearable,s=t.isDisabled,u=t.menuIsOpen,l=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,f=o.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(s||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||i)return;o.focusValue("previous");break;case"ArrowRight":if(!n||i)return;o.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)o.removeValue(m);else{if(!r)return;n?o.popValue():c&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!u||!p||!h||d&&o.isOptionSelected(h,g))return;o.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(o.isComposing)return;o.selectOption(h);break}return;case"Escape":u?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:i}),o.onMenuClose()):c&&a&&o.clearValue();break;case" ":if(i)return;if(!u){o.openMenu("first");break}if(!h)return;o.selectOption(h);break;case"ArrowUp":u?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":u?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!u)return;o.focusOption("pageup");break;case"PageDown":if(!u)return;o.focusOption("pagedown");break;case"Home":if(!u)return;o.focusOption("first");break;case"End":if(!u)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.instancePrefix="react-select-"+(o.props.instanceId||++se),o.state.selectValue=(0,g.I)(e.value),o}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,g.J)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildFocusableOptions(),i="first"===e?0:a.length-1;if(!this.props.isMulti){var c=a.indexOf(r[0]);c>-1&&(i=c)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var a=n.length-1,i=-1;if(n.length){switch(e){case"previous":i=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o<a&&(i=o+1)}this.setState({inputIsHidden:-1!==i,focusedValue:n[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,a=r.indexOf(n);n||(a=-1),"up"===e?o=a>0?a-1:r.length-1:"down"===e?o=(a+1)%r.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme($):(0,r.Z)((0,r.Z)({},$),this.props.theme):$}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,a=this.setValue,i=this.props,c=i.isMulti,s=i.isRtl,u=i.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:c,isRtl:s,options:u,selectOption:o,selectProps:i,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return oe(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ae(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ie(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,a=e.inputValue,c=e.tabIndex,u=e.form,l=e.menuIsOpen,p=this.getComponents().Input,d=this.state,f=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,v=o||this.getElementId("input"),y=(0,r.Z)((0,r.Z)((0,r.Z)({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},l&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(p,(0,s.Z)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:u,type:"text",value:a},y)):i.createElement(I,(0,s.Z)({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:g.K,onFocus:this.onInputFocus,disabled:t,tabIndex:c,inputMode:"none",form:u,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,c=t.SingleValue,u=t.Placeholder,l=this.commonProps,p=this.props,d=p.controlShouldRenderValue,f=p.isDisabled,h=p.isMulti,m=p.inputValue,g=p.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!d)return m?null:i.createElement(u,(0,s.Z)({},l,{key:"placeholder",isDisabled:f,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return y.map((function(t,c){var u=t===b,p="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,(0,s.Z)({},l,{components:{Container:r,Label:o,Remove:a},isFocused:u,isDisabled:f,key:p,index:c,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var O=y[0];return i.createElement(c,(0,s.Z)({},l,{data:O,isDisabled:f}),this.formatOptionLabel(O,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,(0,s.Z)({},t,{innerProps:c,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return i.createElement(e,(0,s.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return i.createElement(n,(0,s.Z)({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,(0,s.Z)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,a=t.MenuList,c=t.MenuPortal,u=t.LoadingMessage,l=t.NoOptionsMessage,p=t.Option,d=this.commonProps,f=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,v=h.inputValue,y=h.isLoading,b=h.loadingMessage,w=h.minMenuHeight,O=h.maxMenuHeight,x=h.menuIsOpen,k=h.menuPlacement,E=h.menuPosition,_=h.menuPortalTarget,S=h.menuShouldBlockScroll,A=h.menuShouldScrollIntoView,P=h.noOptionsMessage,j=h.onMenuScrollToTop,C=h.onMenuScrollToBottom;if(!x)return null;var D,T=function(t,n){var r=t.type,o=t.data,a=t.isDisabled,c=t.isSelected,u=t.label,l=t.value,h=f===o,m=a?void 0:function(){return e.onOptionHover(o)},g=a?void 0:function(){return e.selectOption(o)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1};return i.createElement(p,(0,s.Z)({},d,{innerProps:y,data:o,isDisabled:a,isSelected:c,key:v,label:u,type:r,value:l,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())D=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,a=t.options,c=t.index,u="".concat(e.getElementId("group"),"-").concat(c),l="".concat(u,"-heading");return i.createElement(n,(0,s.Z)({},d,{key:u,data:o,options:a,Heading:r,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e,"".concat(c,"-").concat(e.index))})))}if("option"===t.type)return T(t,"".concat(t.index))}));else if(y){var Z=b({inputValue:v});if(null===Z)return null;D=i.createElement(u,d,Z)}else{var M=P({inputValue:v});if(null===M)return null;D=i.createElement(l,d,M)}var I={minMenuHeight:w,maxMenuHeight:O,menuPlacement:k,menuPosition:E,menuShouldScrollIntoView:A},R=i.createElement(g.M,(0,s.Z)({},d,I),(function(t){var n=t.ref,r=t.placerProps,c=r.placement,u=r.maxHeight;return i.createElement(o,(0,s.Z)({},d,I,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:y,placement:c}),i.createElement(Y,{captureEnabled:m,onTopArrive:j,onBottomArrive:C,lockEnabled:S},(function(t){return i.createElement(a,(0,s.Z)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:y,maxHeight:u,focusedOption:f}),D)})))}));return _||"fixed"===E?i.createElement(c,(0,s.Z)({},d,{appendTo:_,controlElement:this.controlRef,menuPlacement:k,menuPosition:E}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,c=this.state.selectValue;if(a&&!r){if(o){if(n){var s=c.map((function(t){return e.getOptionValue(t)})).join(n);return i.createElement("input",{name:a,type:"hidden",value:s})}var u=c.length>0?c.map((function(t,n){return i.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):i.createElement("input",{name:a,type:"hidden"});return i.createElement("div",null,u)}var l=c[0]?this.getOptionValue(c[0]):"";return i.createElement("input",{name:a,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.isFocused,c=t.selectValue,u=this.getFocusableOptions();return i.createElement(k,(0,s.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:c,focusableOptions:u}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,c=a.className,u=a.id,l=a.isDisabled,p=a.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return i.createElement(r,(0,s.Z)({},f,{className:c,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:d}),this.renderLiveRegion(),i.createElement(t,(0,s.Z)({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:d,menuIsOpen:p}),i.createElement(o,(0,s.Z)({},f,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,(0,s.Z)({},f,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,c=t.isFocused,s=t.prevWasFocused,u=e.options,l=e.value,p=e.menuIsOpen,d=e.inputValue,f=e.isMulti,h=(0,g.I)(l),m={};if(n&&(l!==n.value||u!==n.options||p!==n.menuIsOpen||d!==n.inputValue)){var v=p?function(e,t){return ee(J(e,t))}(e,h):[],y=o?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,v);m={selectValue:h,focusedOption:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var w=null!=a&&e!==n?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},O=i,x=c&&s;return c&&!x&&(O={value:(0,g.D)(f,h,h[0]||null),options:h,action:"initial-input-focus"},x=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(O=null),(0,r.Z)((0,r.Z)((0,r.Z)({},m),w),{},{prevProps:e,ariaSelection:O,prevWasFocused:x})}}]),n}(i.Component);ue.defaultProps=X;Math.abs,String.fromCharCode;n(30314),n(6919);var le=(0,i.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,s=e.defaultMenuIsOpen,u=void 0!==s&&s,l=e.defaultValue,p=void 0===l?null:l,d=e.inputValue,f=e.menuIsOpen,h=e.onChange,m=e.onInputChange,g=e.onMenuClose,v=e.onMenuOpen,y=e.value,b=(0,a.Z)(e,c),w=(0,i.useState)(void 0!==d?d:n),O=(0,o.Z)(w,2),x=O[0],k=O[1],E=(0,i.useState)(void 0!==f?f:u),_=(0,o.Z)(E,2),S=_[0],A=_[1],P=(0,i.useState)(void 0!==y?y:p),j=(0,o.Z)(P,2),C=j[0],D=j[1],T=(0,i.useCallback)((function(e,t){"function"==typeof h&&h(e,t),D(e)}),[h]),Z=(0,i.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),k(void 0!==n?n:e)}),[m]),M=(0,i.useCallback)((function(){"function"==typeof v&&v(),A(!0)}),[v]),I=(0,i.useCallback)((function(){"function"==typeof g&&g(),A(!1)}),[g]),R=void 0!==d?d:x,N=void 0!==f?f:S,L=void 0!==y?y:C;return(0,r.Z)((0,r.Z)({},b),{},{inputValue:R,menuIsOpen:N,onChange:T,onInputChange:Z,onMenuClose:I,onMenuOpen:M,value:L})}(e);return i.createElement(ue,(0,s.Z)({ref:t},n))}));const pe=le},44066:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(1024),o=n.n(r),a=n(66462),i=n.n(a),c=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},l={outline:"none"},p=function(e){function t(){var n,r;c(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=u(this,e.call.apply(e,[this].concat(i))),r.state={focused:!1},r._isMounted=!1,r._lastBlurEvent=null,r.ref=o().createRef(),r._onFocusIn=function(){r._isMounted&&r._lastBlurEvent&&r.isInsideNode(r.ref.current,r._lastBlurEvent.target)&&!r.isInsideNode(r.ref.current,document.activeElement)&&r.setState({focused:!1},(function(){document.removeEventListener("focusin",r._onFocusIn),r.props.onBlur(r._lastBlurEvent)}))},r.onFocus=function(e){var t=r.props.onFocus;r.state.focused||r.setState({focused:!0},(function(){document.addEventListener("focusin",r._onFocusIn),t(e)}))},r.onBlur=function(e){e.persist(),r._lastBlurEvent=e},r.isInsideNode=function(e,t){return null!=e&&e.contains(t)},u(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){null!=document&&document.querySelector("body").setAttribute("tabindex","-1"),this._isMounted=!0},t.prototype.componentWillUnmount=function(){this._isMounted=!1,document.removeEventListener("focusin",this._onFocusIn)},t.prototype.focus=function(){var e=this.ref.current;null!=e&&"function"==typeof e.focus&&e.focus()},t.prototype.render=function(){var e=this.props.children,t=this.state.focused,n={onFocus:this.onFocus,onBlur:this.onBlur};return"function"==typeof e?o().cloneElement(e({focused:t,getRef:this.ref}),n):o().createElement("div",s({ref:this.ref,style:l},n),e)},t}(o().Component);p.propTypes={children:i().oneOfType([i().node,i().func]).isRequired,onBlur:i().func,onFocus:i().func},p.defaultProps={onBlur:function(){},onFocus:function(){}};const d=p},46335:(e,t,n)=>{"use strict";var r=n(33890);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},66462:(e,t,n)=>{e.exports=n(46335)()},33890:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},77208:(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,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}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 a,i=n(6663),c=(a=i)&&a.__esModule?a:{default:a},s=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],n=r(t,2),a=n[0],i=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 u=n.map((function(e){return a[e]})).filter(s);return"string"==typeof u[0]||"function"==typeof i?{key:e,className:i?i.apply(void 0,o(u)):u.join(" ")}:{key:e,style:c.default.apply(void 0,[{}].concat(o(u)))}}},e.exports=t.default},6663:e=>{"use strict";var t=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(e){var n=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e))),n.filter((function(n){return t.call(e,n)}))}e.exports=Object.assign||function(e,t){for(var o,a,i=n(e),c=1;c<arguments.length;c++){o=arguments[c],a=r(Object(o));for(var s=0;s<a.length;s++)i[a[s]]=o[a[s]]}return i}},59211:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),i=new P(r||[]);return a._invoke=function(e,t,n){var r=p;return function(o,a){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw a;return C()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var c=_(i,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?h:d,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,i),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",d="suspendedYield",f="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};b[a]=function(){return this};var w=Object.getPrototypeOf,O=w&&w(w(j([])));O&&O!==n&&r.call(O,a)&&(b=O);var x=y.prototype=g.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,i,c){var s=l(e[o],e,a);if("throw"!==s.type){var u=s.arg,p=u.value;return p&&"object"==typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(p).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(s.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function _(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function j(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:C}}function C(){return{value:t,done:!0}}return v.prototype=x.constructor=y,y.constructor=v,v.displayName=s(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},k(E.prototype),E.prototype[i]=function(){return this},e.AsyncIterator=E,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new E(u(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(x),s(x,c,"Generator"),x[a]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=j,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},53090: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,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}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),a=o[0],i=o[1];return r?null===i||i===n[a]-1?null===(a=function(e){for(null===e?e=0:e++;e<n.length&&0===n[e];)e++;return e===n.length?null:e}(a))?[null,null]:[a,0]:[a,i+1]:0===n||i===n-1?[null,null]:null===i?[null,0]:[null,i+1]}return{next:o,prev:function(e){var o=t(e,2),a=o[0],i=o[1];return r?null===i||0===i?null===(a=function(e){for(null===e?e=n.length-1:e--;e>=0&&0===n[e];)e--;return-1===e?null:e}(a))?[null,null]:[a,n[a]-1]:[a,i-1]:0===n||0===i?[null,null]:null===i?[null,n-1]:[null,i-1]},isLast:function(e){return null===o(e)[1]}}}},78858: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}},83109:function(e,t){var n,r,o;/*! tether 1.4.7 */r=[],n=function(){"use strict";var e=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=void 0;void 0===n&&(n={modules:[]});var r=null;function o(e){var t=e.getBoundingClientRect(),n={};for(var r in t)n[r]=t[r];try{if(e.ownerDocument!==document){var a=e.ownerDocument.defaultView.frameElement;if(a){var i=o(a);n.top+=i.top,n.bottom+=i.top,n.left+=i.left,n.right+=i.left}}}catch(e){}return n}function a(e){var t=(getComputedStyle(e)||{}).position,n=[];if("fixed"===t)return[e];for(var r=e;(r=r.parentNode)&&r&&1===r.nodeType;){var o=void 0;try{o=getComputedStyle(r)}catch(e){}if(null==o)return n.push(r),n;var a=o,i=a.overflow,c=a.overflowX,s=a.overflowY;/(auto|scroll|overlay)/.test(i+s+c)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(o.position)>=0)&&n.push(r)}return n.push(e.ownerDocument.body),e.ownerDocument!==document&&n.push(e.ownerDocument.defaultView),n}var i,c=(i=0,function(){return++i}),s={},u=function(){var e=r;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",c()),m(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),r=e);var t=e.getAttribute("data-tether-id");return void 0===s[t]&&(s[t]=o(e),k((function(){delete s[t]}))),s[t]};function l(){r&&document.body.removeChild(r),r=null}function p(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var n=t.documentElement,r=o(e),a=u();return r.top-=a.top,r.left-=a.left,void 0===r.width&&(r.width=document.body.scrollWidth-r.left-r.right),void 0===r.height&&(r.height=document.body.scrollHeight-r.top-r.bottom),r.top=r.top-n.clientTop,r.left=r.left-n.clientLeft,r.right=t.body.clientWidth-r.width-r.left,r.bottom=t.body.clientHeight-r.height-r.top,r}function d(e){return e.offsetParent||document.documentElement}var f=null;function h(){if(f)return f;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;n===r&&(r=t.clientWidth),document.body.removeChild(t);var o=n-r;return f={width:o,height:o}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var n=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),r=b(e).replace(n," ");w(e,r)}}function v(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{g(e,t);var n=b(e)+" "+t;w(e,n)}}function y(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=b(e);return new RegExp("(^| )"+t+"( |$)","gi").test(n)}function b(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function w(e,t){e.setAttribute("class",t)}function O(e,t,n){n.forEach((function(n){-1===t.indexOf(n)&&y(e,n)&&g(e,n)})),t.forEach((function(t){y(e,t)||v(e,t)}))}var x=[],k=function(e){x.push(e)},E=function(){for(var e=void 0;e=x.pop();)e()},_=function(){function n(){t(this,n)}return e(n,[{key:"on",value:function(e,t,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:r})}},{key:"once",value:function(e,t,n){this.on(e,t,n,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var n=0;n<this.bindings[e].length;)this.bindings[e][n].handler===t?this.bindings[e].splice(n,1):++n}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(;t<this.bindings[e].length;){var a=this.bindings[e][t],i=a.handler,c=a.ctx,s=a.once,u=c;void 0===u&&(u=this),i.apply(u,r),s?this.bindings[e].splice(t,1):++t}}}}]),n}();n.Utils={getActualBoundingClientRect:o,getScrollParents:a,getBounds:p,getOffsetParent:d,extend:m,addClass:v,removeClass:g,hasClass:y,updateClasses:O,defer:k,flush:E,uniqueId:c,Evented:_,getScrollBarSize:h,removeUtilElements:l};var S=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=(e=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),function(e,t,n){for(var r=!0;r;){var o=e,a=t,i=n;r=!1,null===o&&(o=Function.prototype);var c=Object.getOwnPropertyDescriptor(o,a);if(void 0!==c){if("value"in c)return c.value;var s=c.get;if(void 0===s)return;return s.call(i)}var u=Object.getPrototypeOf(o);if(null===u)return;e=u,t=a,n=i,r=!0,c=u=void 0}});function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}if(void 0===n)throw new Error("You must include the utils.js file before tether.js");var a=(X=n.Utils).getScrollParents,d=(p=X.getBounds,X.getOffsetParent),v=(m=X.extend,X.addClass),g=X.removeClass,h=(O=X.updateClasses,k=X.defer,E=X.flush,X.getScrollBarSize),l=X.removeUtilElements;function j(e,t){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+n>=t&&t>=e-n}var C,D,T,Z,M=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<t.length;++n){var r=t[n];if(void 0!==e.style[r])return r}}(),I=[],R=function(){I.forEach((function(e){e.position(!1)})),E()};function N(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}C=null,D=null,T=null,Z=function e(){if(void 0!==D&&D>16)return D=Math.min(D-16,250),void(T=setTimeout(e,250));void 0!==C&&N()-C<10||(null!=T&&(clearTimeout(T),T=null),C=N(),R(),D=N()-C)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,Z)}));var L={center:"center",left:"right",right:"left"},F={middle:"middle",top:"bottom",bottom:"top"},B={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},H=function(e,t){var n=e.left,r=e.top;return"auto"===n&&(n=L[t.left]),"auto"===r&&(r=F[t.top]),{left:n,top:r}},U=function(e){var t=e.left,n=e.top;return void 0!==B[e.left]&&(t=B[e.left]),void 0!==B[e.top]&&(n=B[e.top]),{left:t,top:n}};function W(){for(var e={top:0,left:0},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){var n=t.top,r=t.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof r&&(r=parseFloat(r,10)),e.top+=n,e.left+=r})),e}function V(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var z=function(e){var t=e.split(" "),n=S(t,2);return{top:n[0],left:n[1]}},q=z,Y=function(r){function o(e){var r=this;t(this,o),A(Object.getPrototypeOf(o.prototype),"constructor",this).call(this),this.position=this.position.bind(this),I.push(this),this.history=[],this.setOptions(e,!1),n.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(r)})),this.position()}return P(o,r),e(o,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1],r={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=m(r,e);var o=this.options,i=o.element,c=o.target,s=o.targetModifier;if(this.element=i,this.target=c,this.targetModifier=s,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),v(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&v(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=q(this.options.targetAttachment),this.attachment=q(this.options.attachment),this.offset=z(this.options.offset),this.targetOffset=z(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=a(this.target),!1!==this.options.enabled&&this.enable(n)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return p(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((a={height:(e=p(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(a.height,e.height-(pageYOffset-e.top)),a.height=Math.min(a.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),a.height=Math.min(innerHeight,a.height),a.height-=2,a.width=Math.min(a.width,e.width-(pageXOffset-e.left)),a.width=Math.min(a.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),a.width=Math.min(innerWidth,a.width),a.width-=2,a.top<pageYOffset&&(a.top=pageYOffset),a.left<pageXOffset&&(a.left=pageXOffset),a);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=p(t);var n=getComputedStyle(t),r=0;(t.scrollWidth>t.clientWidth||[n.overflow,n.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(r=15);var o=e.height-parseFloat(n.borderTopWidth)-parseFloat(n.borderBottomWidth)-r,a={width:15,height:.975*o*(o/t.scrollHeight),left:e.left+e.width-parseFloat(n.borderLeftWidth)-15},i=0;o<408&&this.target===document.body&&(i=-11e-5*Math.pow(o,2)-.00727*o+22.58),this.target!==document.body&&(a.height=Math.max(a.height,24));var c=this.target.scrollTop/(t.scrollHeight-o);return a.top=c*(o-a.height-i)+e.top+parseFloat(n.borderTopWidth),this.target===document.body&&(a.height=Math.max(a.height,24)),a}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&v(this.target,this.getClass("enabled")),v(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),I.forEach((function(t,n){t===e&&I.splice(n,1)})),0===I.length&&l()}},{key:"updateAttachClasses",value:function(e,t){var n=this;e=e||this.attachment,t=t||this.targetAttachment;var r=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var o=this._addAttachClasses;e.top&&o.push(this.getClass("element-attached")+"-"+e.top),e.left&&o.push(this.getClass("element-attached")+"-"+e.left),t.top&&o.push(this.getClass("target-attached")+"-"+t.top),t.left&&o.push(this.getClass("target-attached")+"-"+t.left);var a=[];r.forEach((function(e){a.push(n.getClass("element-attached")+"-"+e),a.push(n.getClass("target-attached")+"-"+e)})),k((function(){void 0!==n._addAttachClasses&&(O(n.element,n._addAttachClasses,a),!1!==n.options.addTargetClasses&&O(n.target,n._addAttachClasses,a),delete n._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var r=H(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,r);var o=this.cache("element-bounds",(function(){return p(e.element)})),a=o.width,i=o.height;if(0===a&&0===i&&void 0!==this.lastSize){var c=this.lastSize;a=c.width,i=c.height}else this.lastSize={width:a,height:i};var s=this.cache("target-bounds",(function(){return e.getTargetBounds()})),u=s,l=V(U(this.attachment),{width:a,height:i}),f=V(U(r),u),m=V(this.offset,{width:a,height:i}),g=V(this.targetOffset,u);l=W(l,m),f=W(f,g);for(var v=s.left+f.left-l.left,y=s.top+f.top-l.top,b=0;b<n.modules.length;++b){var w=n.modules[b].position.call(this,{left:v,top:y,targetAttachment:r,targetPos:s,elementPos:o,offset:l,targetOffset:f,manualOffset:m,manualTargetOffset:g,scrollbarSize:_,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(y=w.top,v=w.left)}var O={page:{top:y,left:v},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-i+innerHeight,left:v-pageXOffset,right:pageXOffset-v-a+innerWidth}},x=this.target.ownerDocument,k=x.defaultView,_=void 0;return k.innerHeight>x.documentElement.clientHeight&&(_=this.cache("scrollbar-size",h),O.viewport.bottom-=_.height),k.innerWidth>x.documentElement.clientWidth&&(_=this.cache("scrollbar-size",h),O.viewport.right-=_.width),-1!==["","static"].indexOf(x.body.style.position)&&-1!==["","static"].indexOf(x.body.parentElement.style.position)||(O.page.bottom=x.body.scrollHeight-y-i,O.page.right=x.body.scrollWidth-v-a),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return d(e.target)})),n=e.cache("target-offsetparent-bounds",(function(){return p(t)})),r=getComputedStyle(t),o=n,a={};if(["Top","Left","Bottom","Right"].forEach((function(e){a[e.toLowerCase()]=parseFloat(r["border"+e+"Width"])})),n.right=x.body.scrollWidth-n.left-o.width+a.right,n.bottom=x.body.scrollHeight-n.top-o.height+a.bottom,O.page.top>=n.top+a.top&&O.page.bottom>=n.bottom&&O.page.left>=n.left+a.left&&O.page.right>=n.right){var i=t.scrollTop,c=t.scrollLeft;O.offset={top:O.page.top-n.top+i-a.top,left:O.page.left-n.left+c-a.left}}}(),this.move(O),this.history.unshift(O),this.history.length>3&&this.history.pop(),t&&E(),!0}}},{key:"move",value:function(e){var t=this;if(void 0!==this.element.parentNode){var n={};for(var r in e)for(var o in n[r]={},e[r]){for(var a=!1,i=0;i<this.history.length;++i){var c=this.history[i];if(void 0!==c[r]&&!j(c[r][o],e[r][o])){a=!0;break}}a||(n[r][o]=!0)}var s={top:"",left:"",right:"",bottom:""},u=function(e,n){if(!1!==(void 0!==t.options.optimizations?t.options.optimizations.gpu:null)){var r=void 0,o=void 0;e.top?(s.top=0,r=n.top):(s.bottom=0,r=-n.bottom),e.left?(s.left=0,o=n.left):(s.right=0,o=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(o=Math.round(o*devicePixelRatio)/devicePixelRatio,r=Math.round(r*devicePixelRatio)/devicePixelRatio),s[M]="translateX("+o+"px) translateY("+r+"px)","msTransform"!==M&&(s[M]+=" translateZ(0)")}else e.top?s.top=n.top+"px":s.bottom=n.bottom+"px",e.left?s.left=n.left+"px":s.right=n.right+"px"},l=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(s.position="absolute",u(n.page,e.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(s.position="fixed",u(n.viewport,e.viewport)):void 0!==n.offset&&n.offset.top&&n.offset.left?function(){s.position="absolute";var r=t.cache("target-offsetparent",(function(){return d(t.target)}));d(t.element)!==r&&k((function(){t.element.parentNode.removeChild(t.element),r.appendChild(t.element)})),u(n.offset,e.offset),l=!0}():(s.position="absolute",u({top:!0,left:!0},e.page)),!l)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var p=function(e){var t=e.ownerDocument;return(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)===e},f=!0,h=this.element.parentNode;h&&1===h.nodeType&&"BODY"!==h.tagName&&!p(h);){if("static"!==getComputedStyle(h).position){f=!1;break}h=h.parentNode}f||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},v=!1;for(var o in s){var y=s[o];this.element.style[o]!==y&&(v=!0,g[o]=y)}v&&k((function(){m(t.element.style,g),t.trigger("repositioned")}))}}}]),o}(_);Y.modules=[],n.position=R;var G=m(Y,n);S=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=(X=n.Utils).getBounds;var m=X.extend,K=(O=X.updateClasses,k=X.defer,["left","top","right","bottom"]);function $(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,n=p(t),r=n,o=getComputedStyle(t);if(t=[r.left,r.top,n.width+r.left,n.height+r.top],e.ownerDocument!==document){var a=e.ownerDocument.defaultView;t[0]+=a.pageXOffset,t[1]+=a.pageYOffset,t[2]+=a.pageXOffset,t[3]+=a.pageYOffset}K.forEach((function(e,n){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[n]+=parseFloat(o["border"+e+"Width"]):t[n]-=parseFloat(o["border"+e+"Width"])}))}(),t}n.modules.push({position:function(e){var t=this,n=e.top,r=e.left,o=e.targetAttachment;if(!this.options.constraints)return!0;var a=this.cache("element-bounds",(function(){return p(t.element)})),i=a.height,c=a.width;if(0===c&&0===i&&void 0!==this.lastSize){var s=this.lastSize;c=s.width,i=s.height}var u=this.cache("target-bounds",(function(){return t.getTargetBounds()})),l=u.height,d=u.width,f=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,n=e.pinnedClass;t&&f.push(t),n&&f.push(n)})),f.forEach((function(e){["left","top","right","bottom"].forEach((function(t){f.push(e+"-"+t)}))}));var h=[],g=m({},o),v=m({},this.attachment);return this.options.constraints.forEach((function(e){var a=e.to,s=e.attachment,u=e.pin;void 0===s&&(s="");var p=void 0,f=void 0;if(s.indexOf(" ")>=0){var m=s.split(" "),y=S(m,2);f=y[0],p=y[1]}else p=f=s;var b=$(t,a);"target"!==f&&"both"!==f||(n<b[1]&&"top"===g.top&&(n+=l,g.top="bottom"),n+i>b[3]&&"bottom"===g.top&&(n-=l,g.top="top")),"together"===f&&("top"===g.top&&("bottom"===v.top&&n<b[1]?(n+=l,g.top="bottom",n+=i,v.top="top"):"top"===v.top&&n+i>b[3]&&n-(i-l)>=b[1]&&(n-=i-l,g.top="bottom",v.top="bottom")),"bottom"===g.top&&("top"===v.top&&n+i>b[3]?(n-=l,g.top="top",n-=i,v.top="bottom"):"bottom"===v.top&&n<b[1]&&n+(2*i-l)<=b[3]&&(n+=i-l,g.top="top",v.top="top")),"middle"===g.top&&(n+i>b[3]&&"top"===v.top?(n-=i,v.top="bottom"):n<b[1]&&"bottom"===v.top&&(n+=i,v.top="top"))),"target"!==p&&"both"!==p||(r<b[0]&&"left"===g.left&&(r+=d,g.left="right"),r+c>b[2]&&"right"===g.left&&(r-=d,g.left="left")),"together"===p&&(r<b[0]&&"left"===g.left?"right"===v.left?(r+=d,g.left="right",r+=c,v.left="left"):"left"===v.left&&(r+=d,g.left="right",r-=c,v.left="right"):r+c>b[2]&&"right"===g.left?"left"===v.left?(r-=d,g.left="left",r-=c,v.left="right"):"right"===v.left&&(r-=d,g.left="left",r+=c,v.left="left"):"center"===g.left&&(r+c>b[2]&&"left"===v.left?(r-=c,v.left="right"):r<b[0]&&"right"===v.left&&(r+=c,v.left="left"))),"element"!==f&&"both"!==f||(n<b[1]&&"bottom"===v.top&&(n+=i,v.top="top"),n+i>b[3]&&"top"===v.top&&(n-=i,v.top="bottom")),"element"!==p&&"both"!==p||(r<b[0]&&("right"===v.left?(r+=c,v.left="left"):"center"===v.left&&(r+=c/2,v.left="left")),r+c>b[2]&&("left"===v.left?(r-=c,v.left="right"):"center"===v.left&&(r-=c/2,v.left="right"))),"string"==typeof u?u=u.split(",").map((function(e){return e.trim()})):!0===u&&(u=["top","left","right","bottom"]),u=u||[];var w,O,x=[],k=[];n<b[1]&&(u.indexOf("top")>=0?(n=b[1],x.push("top")):k.push("top")),n+i>b[3]&&(u.indexOf("bottom")>=0?(n=b[3]-i,x.push("bottom")):k.push("bottom")),r<b[0]&&(u.indexOf("left")>=0?(r=b[0],x.push("left")):k.push("left")),r+c>b[2]&&(u.indexOf("right")>=0?(r=b[2]-c,x.push("right")):k.push("right")),x.length&&(w=void 0,w=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),h.push(w),x.forEach((function(e){h.push(w+"-"+e)}))),k.length&&(O=void 0,O=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),h.push(O),k.forEach((function(e){h.push(O+"-"+e)}))),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(v.left=g.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(v.top=g.top=!1),g.top===o.top&&g.left===o.left&&v.top===t.attachment.top&&v.left===t.attachment.left||(t.updateAttachClasses(v,g),t.trigger("update",{attachment:v,targetAttachment:g}))})),k((function(){!1!==t.options.addTargetClasses&&O(t.target,h,f),O(t.element,h,f)})),{top:n,left:r}}});var X,p=(X=n.Utils).getBounds,O=X.updateClasses;return k=X.defer,n.modules.push({position:function(e){var t=this,n=e.top,r=e.left,o=this.cache("element-bounds",(function(){return p(t.element)})),a=o.height,i=o.width,c=this.getTargetBounds(),s=n+a,u=r+i,l=[];n<=c.bottom&&s>=c.top&&["left","right"].forEach((function(e){var t=c[e];t!==r&&t!==u||l.push(e)})),r<=c.right&&u>=c.left&&["top","bottom"].forEach((function(e){var t=c[e];t!==n&&t!==s||l.push(e)}));var d=[],f=[],h=["left","top","right","bottom"];return d.push(this.getClass("abutted")),h.forEach((function(e){d.push(t.getClass("abutted")+"-"+e)})),l.length&&f.push(this.getClass("abutted")),l.forEach((function(e){f.push(t.getClass("abutted")+"-"+e)})),k((function(){!1!==t.options.addTargetClasses&&O(t.target,f,d),O(t.element,f,d)})),!0}}),S=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n.modules.push({position:function(e){var t=e.top,n=e.left;if(this.options.shift){var r=this.options.shift;"function"==typeof this.options.shift&&(r=this.options.shift.call(this,{top:t,left:n}));var o=void 0,a=void 0;if("string"==typeof r){(r=r.split(" "))[1]=r[1]||r[0];var i=S(r,2);o=i[0],a=i[1],o=parseFloat(o,10),a=parseFloat(a,10)}else o=r.top,a=r.left;return{top:t+=o,left:n+=a}}}}),G},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},6919:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1024);const o=r.useLayoutEffect},99874:e=>{"use strict";var t=function(){};e.exports=t},13615:function(e){
|
|
63
63
|
/*! @license DOMPurify 2.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.0/LICENSE */
|
|
64
|
-
e.exports=function(){"use strict";function e(t){return e="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},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,a){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var a=new(Function.bind.apply(e,o));return r&&t(a,r.prototype),a},r.apply(null,arguments)}function o(e){return a(e)||i(e)||c(e)||u()}function a(e){if(Array.isArray(e))return s(e)}function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(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 u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l=Object.hasOwnProperty,p=Object.setPrototypeOf,d=Object.isFrozen,f=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,v=Object.create,y="undefined"!=typeof Reflect&&Reflect,b=y.apply,w=y.construct;b||(b=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var O=D(Array.prototype.forEach),x=D(Array.prototype.pop),k=D(Array.prototype.push),E=D(String.prototype.toLowerCase),_=D(String.prototype.match),S=D(String.prototype.replace),A=D(String.prototype.indexOf),P=D(String.prototype.trim),j=D(RegExp.prototype.test),C=T(TypeError);function D(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return b(e,t,r)}}function T(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(e,n)}}function Z(e,t,n){n=n||E,p&&p(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var a=n(o);a!==o&&(d(t)||(t[r]=a),o=a)}e[o]=!0}return e}function M(e){var t,n=v(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function I(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return D(n.get);if("function"==typeof n.value)return D(n.value)}e=f(e)}function r(e){return console.warn("fallback value for",e),null}return r}var R=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),N=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=m(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),B=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),H=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=m(["#text"]),W=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),V=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),q=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=g(/<%[\w\W]*|[\w\W]*%>/gm),K=g(/^data-[\-\w.\u00B7-\uFFFF]/),$=g(/^aria-[\-\w]+$/),X=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=g(/^(?:\w+script|data):/i),J=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=g(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.4.0",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,a=t.document,i=t.DocumentFragment,c=t.HTMLTemplateElement,s=t.Node,u=t.Element,l=t.NodeFilter,p=t.NamedNodeMap,d=void 0===p?t.NamedNodeMap||t.MozNamedAttrMap:p,f=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,v=u.prototype,y=I(v,"cloneNode"),b=I(v,"nextSibling"),w=I(v,"childNodes"),D=I(v,"parentNode");if("function"==typeof c){var T=a.createElement("template");T.content&&T.content.ownerDocument&&(a=T.content.ownerDocument)}var oe=ne(g,r),ae=oe?oe.createHTML(""):"",ie=a,ce=ie.implementation,se=ie.createNodeIterator,ue=ie.createDocumentFragment,le=ie.getElementsByTagName,pe=r.importNode,de={};try{de=M(a).documentMode?a.documentMode:{}}catch(e){}var fe={};n.isSupported="function"==typeof D&&ce&&void 0!==ce.createHTMLDocument&&9!==de;var he,me,ge=Y,ve=G,ye=K,be=$,we=Q,Oe=J,xe=X,ke=null,Ee=Z({},[].concat(o(R),o(N),o(L),o(B),o(U))),_e=null,Se=Z({},[].concat(o(W),o(V),o(z),o(q))),Ae=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Pe=null,je=null,Ce=!0,De=!0,Te=!1,Ze=!1,Me=!1,Ie=!1,Re=!1,Ne=!1,Le=!1,Fe=!1,Be=!0,He=!1,Ue="user-content-",We=!0,Ve=!1,ze={},qe=null,Ye=Z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ge=null,Ke=Z({},["audio","video","img","source","image","track"]),$e=null,Xe=Z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml",tt=et,nt=!1,rt=["application/xhtml+xml","text/html"],ot="text/html",at=null,it=a.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},st=function(t){at&&at===t||(t&&"object"===e(t)||(t={}),t=M(t),he=he=-1===rt.indexOf(t.PARSER_MEDIA_TYPE)?ot:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===he?function(e){return e}:E,ke="ALLOWED_TAGS"in t?Z({},t.ALLOWED_TAGS,me):Ee,_e="ALLOWED_ATTR"in t?Z({},t.ALLOWED_ATTR,me):Se,$e="ADD_URI_SAFE_ATTR"in t?Z(M(Xe),t.ADD_URI_SAFE_ATTR,me):Xe,Ge="ADD_DATA_URI_TAGS"in t?Z(M(Ke),t.ADD_DATA_URI_TAGS,me):Ke,qe="FORBID_CONTENTS"in t?Z({},t.FORBID_CONTENTS,me):Ye,Pe="FORBID_TAGS"in t?Z({},t.FORBID_TAGS,me):{},je="FORBID_ATTR"in t?Z({},t.FORBID_ATTR,me):{},ze="USE_PROFILES"in t&&t.USE_PROFILES,Ce=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,Te=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ze=t.SAFE_FOR_TEMPLATES||!1,Me=t.WHOLE_DOCUMENT||!1,Ne=t.RETURN_DOM||!1,Le=t.RETURN_DOM_FRAGMENT||!1,Fe=t.RETURN_TRUSTED_TYPE||!1,Re=t.FORCE_BODY||!1,Be=!1!==t.SANITIZE_DOM,He=t.SANITIZE_NAMED_PROPS||!1,We=!1!==t.KEEP_CONTENT,Ve=t.IN_PLACE||!1,xe=t.ALLOWED_URI_REGEXP||xe,tt=t.NAMESPACE||et,t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ze&&(De=!1),Le&&(Ne=!0),ze&&(ke=Z({},o(U)),_e=[],!0===ze.html&&(Z(ke,R),Z(_e,W)),!0===ze.svg&&(Z(ke,N),Z(_e,V),Z(_e,q)),!0===ze.svgFilters&&(Z(ke,L),Z(_e,V),Z(_e,q)),!0===ze.mathMl&&(Z(ke,B),Z(_e,z),Z(_e,q))),t.ADD_TAGS&&(ke===Ee&&(ke=M(ke)),Z(ke,t.ADD_TAGS,me)),t.ADD_ATTR&&(_e===Se&&(_e=M(_e)),Z(_e,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&Z($e,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(qe===Ye&&(qe=M(qe)),Z(qe,t.FORBID_CONTENTS,me)),We&&(ke["#text"]=!0),Me&&Z(ke,["html","head","body"]),ke.table&&(Z(ke,["tbody"]),delete Pe.tbody),m&&m(t),at=t)},ut=Z({},["mi","mo","mn","ms","mtext"]),lt=Z({},["foreignobject","desc","title","annotation-xml"]),pt=Z({},["title","style","font","a","script"]),dt=Z({},N);Z(dt,L),Z(dt,F);var ft=Z({},B);Z(ft,H);var ht=function(e){var t=D(e);t&&t.tagName||(t={namespaceURI:et,tagName:"template"});var n=E(e.tagName),r=E(t.tagName);return e.namespaceURI===Je?t.namespaceURI===et?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===r||ut[r]):Boolean(dt[n]):e.namespaceURI===Qe?t.namespaceURI===et?"math"===n:t.namespaceURI===Je?"math"===n&<[r]:Boolean(ft[n]):e.namespaceURI===et&&!(t.namespaceURI===Je&&!lt[r])&&!(t.namespaceURI===Qe&&!ut[r])&&!ft[n]&&(pt[n]||!dt[n])},mt=function(e){k(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},gt=function(e,t){try{k(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){k(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!_e[e])if(Ne||Le)try{mt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},vt=function(e){var t,n;if(Re)e="<remove></remove>"+e;else{var r=_(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=oe?oe.createHTML(e):e;if(tt===et)try{t=(new h).parseFromString(o,he)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?"":o}catch(e){}}var i=t.body||t.documentElement;return e&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),tt===et?le.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},yt=function(e){return se.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},bt=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},wt=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Ot=function(e,t,r){fe[e]&&O(fe[e],(function(e){e.call(n,t,r,at)}))},xt=function(e){var t;if(Ot("beforeSanitizeElements",e,null),bt(e))return mt(e),!0;if(j(/[\u0080-\uFFFF]/,e.nodeName))return mt(e),!0;var r=me(e.nodeName);if(Ot("uponSanitizeElement",e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&j(/<[/\w]/g,e.innerHTML)&&j(/<[/\w]/g,e.textContent))return mt(e),!0;if("select"===r&&j(/<template/i,e.innerHTML))return mt(e),!0;if(!ke[r]||Pe[r]){if(!Pe[r]&&Et(r)){if(Ae.tagNameCheck instanceof RegExp&&j(Ae.tagNameCheck,r))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(r))return!1}if(We&&!qe[r]){var o=D(e)||e.parentNode,a=w(e)||e.childNodes;if(a&&o)for(var i=a.length-1;i>=0;--i)o.insertBefore(y(a[i],!0),b(e))}return mt(e),!0}return e instanceof u&&!ht(e)?(mt(e),!0):"noscript"!==r&&"noembed"!==r||!j(/<\/no(script|embed)/i,e.innerHTML)?(Ze&&3===e.nodeType&&(t=e.textContent,t=S(t,ge," "),t=S(t,ve," "),e.textContent!==t&&(k(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ot("afterSanitizeElements",e,null),!1):(mt(e),!0)},kt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in a||n in it))return!1;if(De&&!je[t]&&j(ye,t));else if(Ce&&j(be,t));else if(!_e[t]||je[t]){if(!(Et(e)&&(Ae.tagNameCheck instanceof RegExp&&j(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&j(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&j(Ae.tagNameCheck,n)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))))return!1}else if($e[t]);else if(j(xe,S(n,Oe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==A(n,"data:")||!Ge[e])if(Te&&!j(we,S(n,Oe,"")));else if(n)return!1;return!0},Et=function(e){return e.indexOf("-")>0},_t=function(t){var r,o,a,i;Ot("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_e};for(i=c.length;i--;){var u=r=c[i],l=u.name,p=u.namespaceURI;if(o="value"===l?r.value:P(r.value),a=me(l),s.attrName=a,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,Ot("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(gt(l,t),s.keepAttr))if(j(/\/>/i,o))gt(l,t);else{Ze&&(o=S(o,ge," "),o=S(o,ve," "));var d=me(t.nodeName);if(kt(d,a,o)){if(!He||"id"!==a&&"name"!==a||(gt(l,t),o=Ue+o),oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(p);else switch(g.getAttributeType(d,a)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{p?t.setAttributeNS(p,l,o):t.setAttribute(l,o),x(n.removed)}catch(e){}}}}Ot("afterSanitizeAttributes",t,null)}},St=function e(t){var n,r=yt(t);for(Ot("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ot("uponSanitizeShadowNode",n,null),xt(n)||(n.content instanceof i&&e(n.content),_t(n));Ot("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o){var a,c,u,l,p,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((nt=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!wt(o)){if("function"!=typeof o.toString)throw C("toString is not a function");if("string"!=typeof(o=o.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(wt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Ie||st(d),n.removed=[],"string"==typeof o&&(Ve=!1),Ve){if(o.nodeName){var f=me(o.nodeName);if(!ke[f]||Pe[f])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof s)1===(c=(a=vt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===c.nodeName||"HTML"===c.nodeName?a=c:a.appendChild(c);else{if(!Ne&&!Ze&&!Me&&-1===o.indexOf("<"))return oe&&Fe?oe.createHTML(o):o;if(!(a=vt(o)))return Ne?null:Fe?ae:""}a&&Re&&mt(a.firstChild);for(var h=yt(Ve?o:a);u=h.nextNode();)3===u.nodeType&&u===l||xt(u)||(u.content instanceof i&&St(u.content),_t(u),l=u);if(l=null,Ve)return o;if(Ne){if(Le)for(p=ue.call(a.ownerDocument);a.firstChild;)p.appendChild(a.firstChild);else p=a;return _e.shadowroot&&(p=pe.call(r,p,!0)),p}var m=Me?a.outerHTML:a.innerHTML;return Me&&ke["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&j(ee,a.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+m),Ze&&(m=S(m,ge," "),m=S(m,ve," ")),oe&&Fe?oe.createHTML(m):m},n.setConfig=function(e){st(e),Ie=!0},n.clearConfig=function(){at=null,Ie=!1},n.isValidAttribute=function(e,t,n){at||st({});var r=me(e),o=me(t);return kt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(fe[e]=fe[e]||[],k(fe[e],t))},n.removeHook=function(e){if(fe[e])return x(fe[e])},n.removeHooks=function(e){fe[e]&&(fe[e]=[])},n.removeAllHooks=function(){fe={}},n}return re()}()},1024:e=>{"use strict";e.exports=t},30314:t=>{"use strict";t.exports=e},71298:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},38088:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87462:(e,t,n)=>{"use strict";function r(){return r=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},r.apply(this,arguments)}n.d(t,{Z:()=>r})},88911:(e,t,n)=>{"use strict";function r(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}n.d(t,{Z:()=>r})},83029:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},61086:(e,t,n)=>{"use strict";function r(e,t,n,r,o,a,i){try{var c=e[a](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,s,"next",e)}function s(e){r(i,o,a,c,s,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>o})},11259:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},44822:(e,t,n)=>{"use strict";function r(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 o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:()=>o})},46927:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},3640:(e,t,n)=>{"use strict";function r(){return r=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},r.apply(this,arguments)}n.d(t,{Z:()=>r})},19241:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:()=>r})},32208:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(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&&r(e,t)}n.d(t,{Z:()=>o})},72753:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:()=>r})},56265:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},8486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(46927);function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},56315:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>r})},99357:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(73891);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}},68957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(83029);var o=n(61917),a=n(56265);function i(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},91411:(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,{Z:()=>r})},45915:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(88911);var o=n(72753),a=n(61917);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,a.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},73891:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{Z:()=>r})},61917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(88911);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=o,i.amdD=function(){throw new Error("define cannot be used indirect")},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>288===e?"chunk-ckeditor.966b93fab1f28a51ecbd.js":"chunk-"+({85:"code-editor",107:"actions",141:"docs-actions",198:"vendor-fontawesome",614:"vendor-icons",877:"vendor-libphonenumber-js"}[e]||e)+"."+{68:"8b0a212436f741347043",85:"518cffead3ac4a62b00f",107:"63af2516889ebbe6546c",141:"6b199e3296a772d1608a",198:"a5995f2ba1e5d1e75ee9",414:"51c4062a5485a4775775",480:"3ce3bbc038aca2ce389e",614:"b45f0f337eb768a9e3a9",759:"9337b4e21a78c273072d",817:"5758e51444b678849e3d",877:"04702eeaaa7a6d567205",909:"f0934a9b9f58a57b1c62"}[e]+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-widget-bundle:",i.l=(e,t,o,a)=>{if(n[e])n[e].push(t);else{var c,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var p=u[l];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+o){c=p;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var d=(t,r)=>{c.onerror=c.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=d.bind(null,c.onerror),c.onload=d.bind(null,c.onload),s&&document.head.appendChild(c)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.j=243,i.p="/",(()=>{var e={243:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var a=i.p+i.u(t),c=new Error;i.l(a,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,c,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(s)s(i)}for(t&&t(n);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_widget_bundle=self.webpackChunktocco_widget_bundle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.nc=void 0;var c={};return(()=>{"use strict";i.r(c);var e,t=i(55954),n=i(45697),r=i.n(n),o=i(81749),a=i(23369),s=i(44362),u=i(74806),l=i(50558),p=i(59713),d=i.n(p),f=i(87757),h=i.n(f),m=i(27361),g=i.n(m),v=i(63094),y=i(47488),b=i(52540),w=i(83682),O=i(41609),x=i.n(O),k=i(18446),E=i.n(k),_=i(35937),S=i.n(_),A=i(1024),P=i.n(A),j=i(56746),C=i(50600),D=i(87533),T=i(22731),Z=i(19743),M=i(45430),I="login/SET_LOGGED_IN",R="login/SET_ADMIN_ALLOWED",N="login/DO_SESSION_CHECK",L=function(e){return{type:I,payload:{loggedIn:e}}},F=function(e){return{type:R,payload:{adminAllowed:e}}},B=i(81770),H=(e={},d()(e,I,B.Z.singleTransferReducer("loggedIn")),d()(e,R,B.Z.singleTransferReducer("adminAllowed")),e),U={loggedIn:void 0,adminAllowed:void 0};function W(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U,t=arguments.length>1?arguments[1]:void 0,n=H[t.type];return n?n(e,t):e}var V=i(34857),z=i(44759),q=i(54159),Y=i(21913),G=i(27023),K=h().mark(J),$=h().mark(ee),X=h().mark(te);function Q(e,t){return q.Z.executeRequest(e,t).then(q.Z.extractBody).catch((function(e){return z.Z.logError("Failed to execute request",e),{success:!1}}))}function J(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.RE)(Q,"session",{method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),K)}function ee(){var e,t,n,r,o;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,V.RE)(J);case 2:if(e=a.sent,t=e.success,n=e.businessUnit,r=e.adminAllowed,!(o=Y.Z.getLongTerm("session","principal"))||o.currentBusinessUnit.id===n){a.next=10;break}return a.next=10,(0,V.RE)(Y.Z.clearAll);case 10:return a.next=12,(0,V.gz)(F(r));case 12:return a.next=14,(0,V.gz)(L(t));case 14:return a.next=16,(0,V.gz)(G.Z.connectSocket());case 16:case"end":return a.stop()}}),$)}function te(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.Fm)(N,ee)]);case 2:case"end":return e.stop()}}),X)}const ne=function(e){B.Z.injectReducers(e,{login:W}),e.sagaMiddleware.run(te)},re=function(){return{type:N}};var oe,ae=i(99376),ie=i(35997),ce=i(41654),se="SET_ENTITY_NAME",ue="SET_FORM_BASE",le="SET_SCROLL_BEHAVIOUR",pe="root/SET_APP_ID",de=function(e){return{type:ue,payload:{formBase:e}}},fe=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return ce.Z.getDispatchActions(e,he,t)},he=[{name:"entityName",action:function(e){return{type:se,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:de,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:de,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:le,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:pe,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],me=i(85300),ge=i(6766),ve=(oe={},d()(oe,ge.zg,B.Z.singleTransferReducer("formTouched")),d()(oe,ge.zJ,B.Z.singleTransferReducer("detailParams")),oe),ye={detailParams:void 0,formTouched:!1};var be=h().mark(ke);function we(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 Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xe=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=Oe({},e)})),e.relations.forEach((function(e){t[e.relationName]=Oe({type:"relation"},e)})),t};function ke(e){var t,n,r=arguments;return h().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>1&&void 0!==r[1]?r[1]:xe,o.next=3,(0,V.RE)(v.Z.requestSaga,"entities/".concat(e,"/model"));case 3:return n=o.sent,o.next=6,(0,V.RE)(t,n.body);case 6:return o.abrupt("return",o.sent);case 7:case"end":return o.stop()}}),be)}var Ee={CREATE:"create",UPDATE:"update"};const _e=function(e){return void 0===e?Ee.CREATE:Ee.UPDATE};const Se=function(e){var t=e.split("/").filter((function(e){return!!e})),n=t[t.length-1],r=t.filter((function(e,t){return t>1&&t%2==0}));if(isNaN(n)){return{modelPaths:r,entityId:undefined,parentUrl:"/"+t.slice(0,-1).join("/")}}return{modelPaths:r,entityId:t[t.length-1],parentUrl:"/"+t.slice(0,-2).join("/")}};const Ae=function(e,t){return 0!==t.length||(!e||isNaN(e))};var Pe=h().mark(Me),je=h().mark(Ie),Ce=h().mark(Re),De=h().mark(Ne),Te=function(e){return e.entityBrowser},Ze=function(e){return e.input};function Me(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.Fm)(ge.tQ,Re),(0,V.Fm)(ge.eI,Ie)]);case 2:case"end":return e.stop()}}),Pe)}function Ie(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.gz)(ge.Ek(void 0));case 2:case"end":return e.stop()}}),je)}function Re(e){var t,n,r,o,a,i,c,s,u,l,p,d,f,m,g;return h().wrap((function(h){for(;;)switch(h.prev=h.next){case 0:return t=e.payload,h.next=3,(0,V.RE)(Se,t.url);case 3:return n=h.sent,r=n.modelPaths,o=n.entityId,a=n.parentUrl,h.next=9,(0,V.Ys)(Te);case 9:return i=h.sent,c=i.entityName,s=i.formBase,h.next=14,(0,V.RE)(_e,o);case 14:if(u=h.sent,l=c,p=s,!(r&&r.length>0)){h.next=22;break}return h.next=20,(0,V.RE)(Ne,c,r);case 20:l=h.sent,p="".concat(s,"_").concat(l);case 22:return h.next=24,(0,V.Ys)(Ze);case 24:return d=h.sent,f=d.initialKey,h.next=28,(0,V.RE)(Ae,f,r);case 28:return m=h.sent,g={mode:u,entityId:o,entityName:l,formName:p,parentUrl:a,showBackButton:m},h.next=32,(0,V.gz)(ge.Ek(g));case 32:case"end":return h.stop()}}),Ce)}function Ne(e,t){var n,r,o,a,i;return h().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=e,c.next=3,(0,V.RE)(ke,n);case 3:r=c.sent,o=0;case 5:if(!(o<t.length)){c.next=18;break}if(a=t[o],i=r[a]){c.next=10;break}throw new Error("No such path '".concat(a,"' found on entity model '").concat(n,"'"));case 10:if(n=i.targetEntity,!(o+1<t.length)){c.next=15;break}return c.next=14,(0,V.RE)(ke,n);case 14:r=c.sent;case 15:o++,c.next=5;break;case 18:return c.abrupt("return",n);case 19:case"end":return c.stop()}}),De)}var Le=h().mark(Fe);function Fe(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.rM)(Me)]);case 2:case"end":return e.stop()}}),Le)}const Be=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye,t=arguments.length>1?arguments[1]:void 0,n=ve[t.type];return n?n(e,t):e};var He;function Ue(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 We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ve=(He={},d()(He,se,B.Z.singleTransferReducer("entityName")),d()(He,ue,(function(e,t){var n=t.payload.formBase;return n?We(We({},e),{},{formBase:n}):We({},e)})),d()(He,le,B.Z.singleTransferReducer("scrollBehaviour")),d()(He,pe,B.Z.singleTransferReducer("appId")),He),ze={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var qe=h().mark(Ge),Ye=h().mark(Ke);function Ge(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.RE)(Ke)]);case 2:case"end":return e.stop()}}),qe)}function Ke(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.qn)(t.Z.INPUT_INITIALIZED);case 2:return e.next=4,(0,V.gz)(re());case 4:case"end":return e.stop()}}),Ye)}var $e=h().mark(Xe);function Xe(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.rM)(Ge)]);case 2:case"end":return e.stop()}}),$e)}const Qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ze,t=arguments.length>1?arguments[1]:void 0,n=Ve[t.type];return n?n(e,t):e},Je={detail:Be,form:me.Z,entityBrowser:Qe};var et,tt,nt,rt=[Xe,Fe],ot=i(85893);function at(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 it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ct="entity-browser",st=P().lazy((function(){return Promise.all([i.e(68),i.e(141),i.e(614),i.e(198),i.e(480)]).then(i.bind(i,38493))})),ut=function(){return et||(et=(0,ot.jsx)(A.Suspense,{fallback:"",children:(0,ot.jsx)(st,{})}))},lt=function(e,t){return e.intl.messages[t]||t},pt=function(e,n,r,o){n=it(it({},n),{},{id:e}),a.Z.setInputEnvs(n);var i=t.Z.createStore(Je,rt,n,ct);M.Z.addToStore(i,(function(){return{}})),C.Z.addToStore(i),D.Z.dynamicActionsAddToStore(i),Z.Z.addToStore(i,!0,["console","remote","notification"]),G.Z.addToStore(i,!0),ne(i),T.Z.addToStore(i);var c=function(e,t){return(t?w.Z:b.Z)({getUserConfirmation:function(t,n){var r=e.getState(),o=lt(r,"client.common.ok"),a=lt(r,"client.common.cancel"),i=G.Z.confirm("",t,o,a,(function(){return n(!0)}),(function(){return n(!1)}));e.dispatch(i)}})}(i,n.memoryHistory);!function(e,t){var n=t.initialKey;if(n&&!isNaN(n)&&!e.location.pathname.match(/\/detail\/[0-9]*/)){var r="/detail/".concat(t.initialKey);e.push(r)}}(c,n);var s=(0,ot.jsxs)(j.F0,{history:c,children:[tt||(tt=(0,ot.jsx)(ae.Z,{})),nt||(nt=(0,ot.jsx)(ut,{}))]});return t.Z.createApp(ct,s,i,{input:n,actions:fe(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},dt=function(e){var n=t.Z.useApp({initApp:pt,props:e,packageName:ct}),r=n.component,o=n.store,a=ie.Z.usePrevious(e);return ie.Z.useDidUpdate((function(){var t=S()(e,(function(e,t){return!E()(e,a[t])}));x()(t)||fe(t,!1).forEach((function(e){o.dispatch(e)}))}),[e]),r};dt.propTypes={entityName:r().string.isRequired,searchFormType:o.b,formBase:r().string,limit:r().number,preselectedSearchFields:r().array,searchFilters:r().arrayOf(r().string),simpleSearchFields:r().string,initialKey:r().string,businessUnit:r().string,memoryHistory:r().bool,backendUrl:r().string,scrollBehaviour:r().string,appContext:s.Z.propTypes,modifyFormDefinition:r().func,disableDetailView:r().bool,reportIds:r().arrayOf(r().string)};const ft=dt;t.Z.createBundleableApp(ct,pt,dt);var ht=h().mark(vt);function mt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vt(e,t,n){var r,o,a,i,c,s,u;return h().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r=t.parent,o=t.entityName,a=t.entityId,i=n.showEmailAction,c=n.appContext,"Mailing_list_detail_relUser_list"!==e.id){l.next=6;break}return s=e,s=i?y.Z.adjustActions(s,"mailing-list-mail-action",(function(e){return gt(gt({},e),{},{properties:gt(gt({},e.properties),{},{widgetKey:c.widgetConfigKey,eventKey:r.key})})})):y.Z.removeActions(s,["mailing-list-mail-action"]),l.abrupt("return",s);case 6:if("Mailing_list_User_detail"!==e.id||!a){l.next=13;break}return l.next=9,v.Z.fetchEntity(o,a,{paths:["publish_detail"]});case 9:if(u=l.sent,g()(u,["paths","publish_detail","value"])){l.next=13;break}return l.abrupt("return",y.Z.removeBoxes(e,["address_information","communication_information"]));case 13:return l.abrupt("return",e);case 14:case"end":return l.stop()}}),ht)}const yt=function(e){var t=e.searchFilters,n=e.searchFormType,r=e.limit,o=e.backendUrl,a=e.businessUnit,i=e.appContext,c=e.reportIds;return(0,ot.jsx)(ft,{entityName:"Event",formBase:"Mailing_list",searchFilters:t,limit:r,modifyFormDefinition:function(t,n){return vt(t,n,e)},backendUrl:o,businessUnit:a,appContext:i,searchFormType:n,reportIds:c})};const bt=(0,l.connect)((function(e){return{searchFormType:e.input.searchFormType,searchFilters:e.input.searchFilters,limit:e.input.limit,backendUrl:e.input.backendUrl,businessUnit:e.input.businessUnit,appContext:e.input.appContext,reportIds:e.input.reportIds,showEmailAction:e.input.allowEmail}}),{})((0,u.ZP)(yt));var wt,Ot="mailing-list",xt=function(e,n,r,o){a.Z.setInputEnvs(n);var i=wt||(wt=(0,ot.jsx)(bt,{})),c=t.Z.createStore({},null,n,Ot);return t.Z.createApp(Ot,i,c,{input:n,events:r,actions:[],publicPath:o,textResourceModules:["component","common","actions",Ot]})},kt=function(e){return t.Z.useApp({initApp:xt,props:e,packageName:Ot}).component};kt.propTypes={searchFormType:o.b,searchFilters:r().arrayOf(r().string),limit:r().number,backendUrl:r().string,businessUnit:r().string,appContext:s.Z.propTypes.isRequired,reportIds:r().arrayOf(r().string),allowEmail:r().bool};var Et=t.Z.createBundleableApp(Ot,xt,kt);t.Z.registerAppInRegistry(Et.name,Et.init)})(),c})()));
|
|
64
|
+
e.exports=function(){"use strict";function e(t){return e="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},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,a){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var a=new(Function.bind.apply(e,o));return r&&t(a,r.prototype),a},r.apply(null,arguments)}function o(e){return a(e)||i(e)||c(e)||u()}function a(e){if(Array.isArray(e))return s(e)}function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(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 u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l=Object.hasOwnProperty,p=Object.setPrototypeOf,d=Object.isFrozen,f=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,v=Object.create,y="undefined"!=typeof Reflect&&Reflect,b=y.apply,w=y.construct;b||(b=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var O=D(Array.prototype.forEach),x=D(Array.prototype.pop),k=D(Array.prototype.push),E=D(String.prototype.toLowerCase),_=D(String.prototype.match),S=D(String.prototype.replace),A=D(String.prototype.indexOf),P=D(String.prototype.trim),j=D(RegExp.prototype.test),C=T(TypeError);function D(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return b(e,t,r)}}function T(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(e,n)}}function Z(e,t,n){n=n||E,p&&p(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var a=n(o);a!==o&&(d(t)||(t[r]=a),o=a)}e[o]=!0}return e}function M(e){var t,n=v(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function I(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return D(n.get);if("function"==typeof n.value)return D(n.value)}e=f(e)}function r(e){return console.warn("fallback value for",e),null}return r}var R=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),N=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=m(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),B=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),H=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=m(["#text"]),W=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),V=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),q=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=g(/<%[\w\W]*|[\w\W]*%>/gm),K=g(/^data-[\-\w.\u00B7-\uFFFF]/),$=g(/^aria-[\-\w]+$/),X=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=g(/^(?:\w+script|data):/i),J=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=g(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.4.0",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,a=t.document,i=t.DocumentFragment,c=t.HTMLTemplateElement,s=t.Node,u=t.Element,l=t.NodeFilter,p=t.NamedNodeMap,d=void 0===p?t.NamedNodeMap||t.MozNamedAttrMap:p,f=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,v=u.prototype,y=I(v,"cloneNode"),b=I(v,"nextSibling"),w=I(v,"childNodes"),D=I(v,"parentNode");if("function"==typeof c){var T=a.createElement("template");T.content&&T.content.ownerDocument&&(a=T.content.ownerDocument)}var oe=ne(g,r),ae=oe?oe.createHTML(""):"",ie=a,ce=ie.implementation,se=ie.createNodeIterator,ue=ie.createDocumentFragment,le=ie.getElementsByTagName,pe=r.importNode,de={};try{de=M(a).documentMode?a.documentMode:{}}catch(e){}var fe={};n.isSupported="function"==typeof D&&ce&&void 0!==ce.createHTMLDocument&&9!==de;var he,me,ge=Y,ve=G,ye=K,be=$,we=Q,Oe=J,xe=X,ke=null,Ee=Z({},[].concat(o(R),o(N),o(L),o(B),o(U))),_e=null,Se=Z({},[].concat(o(W),o(V),o(z),o(q))),Ae=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Pe=null,je=null,Ce=!0,De=!0,Te=!1,Ze=!1,Me=!1,Ie=!1,Re=!1,Ne=!1,Le=!1,Fe=!1,Be=!0,He=!1,Ue="user-content-",We=!0,Ve=!1,ze={},qe=null,Ye=Z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ge=null,Ke=Z({},["audio","video","img","source","image","track"]),$e=null,Xe=Z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml",tt=et,nt=!1,rt=["application/xhtml+xml","text/html"],ot="text/html",at=null,it=a.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},st=function(t){at&&at===t||(t&&"object"===e(t)||(t={}),t=M(t),he=he=-1===rt.indexOf(t.PARSER_MEDIA_TYPE)?ot:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===he?function(e){return e}:E,ke="ALLOWED_TAGS"in t?Z({},t.ALLOWED_TAGS,me):Ee,_e="ALLOWED_ATTR"in t?Z({},t.ALLOWED_ATTR,me):Se,$e="ADD_URI_SAFE_ATTR"in t?Z(M(Xe),t.ADD_URI_SAFE_ATTR,me):Xe,Ge="ADD_DATA_URI_TAGS"in t?Z(M(Ke),t.ADD_DATA_URI_TAGS,me):Ke,qe="FORBID_CONTENTS"in t?Z({},t.FORBID_CONTENTS,me):Ye,Pe="FORBID_TAGS"in t?Z({},t.FORBID_TAGS,me):{},je="FORBID_ATTR"in t?Z({},t.FORBID_ATTR,me):{},ze="USE_PROFILES"in t&&t.USE_PROFILES,Ce=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,Te=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ze=t.SAFE_FOR_TEMPLATES||!1,Me=t.WHOLE_DOCUMENT||!1,Ne=t.RETURN_DOM||!1,Le=t.RETURN_DOM_FRAGMENT||!1,Fe=t.RETURN_TRUSTED_TYPE||!1,Re=t.FORCE_BODY||!1,Be=!1!==t.SANITIZE_DOM,He=t.SANITIZE_NAMED_PROPS||!1,We=!1!==t.KEEP_CONTENT,Ve=t.IN_PLACE||!1,xe=t.ALLOWED_URI_REGEXP||xe,tt=t.NAMESPACE||et,t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ze&&(De=!1),Le&&(Ne=!0),ze&&(ke=Z({},o(U)),_e=[],!0===ze.html&&(Z(ke,R),Z(_e,W)),!0===ze.svg&&(Z(ke,N),Z(_e,V),Z(_e,q)),!0===ze.svgFilters&&(Z(ke,L),Z(_e,V),Z(_e,q)),!0===ze.mathMl&&(Z(ke,B),Z(_e,z),Z(_e,q))),t.ADD_TAGS&&(ke===Ee&&(ke=M(ke)),Z(ke,t.ADD_TAGS,me)),t.ADD_ATTR&&(_e===Se&&(_e=M(_e)),Z(_e,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&Z($e,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(qe===Ye&&(qe=M(qe)),Z(qe,t.FORBID_CONTENTS,me)),We&&(ke["#text"]=!0),Me&&Z(ke,["html","head","body"]),ke.table&&(Z(ke,["tbody"]),delete Pe.tbody),m&&m(t),at=t)},ut=Z({},["mi","mo","mn","ms","mtext"]),lt=Z({},["foreignobject","desc","title","annotation-xml"]),pt=Z({},["title","style","font","a","script"]),dt=Z({},N);Z(dt,L),Z(dt,F);var ft=Z({},B);Z(ft,H);var ht=function(e){var t=D(e);t&&t.tagName||(t={namespaceURI:et,tagName:"template"});var n=E(e.tagName),r=E(t.tagName);return e.namespaceURI===Je?t.namespaceURI===et?"svg"===n:t.namespaceURI===Qe?"svg"===n&&("annotation-xml"===r||ut[r]):Boolean(dt[n]):e.namespaceURI===Qe?t.namespaceURI===et?"math"===n:t.namespaceURI===Je?"math"===n&<[r]:Boolean(ft[n]):e.namespaceURI===et&&!(t.namespaceURI===Je&&!lt[r])&&!(t.namespaceURI===Qe&&!ut[r])&&!ft[n]&&(pt[n]||!dt[n])},mt=function(e){k(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},gt=function(e,t){try{k(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){k(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!_e[e])if(Ne||Le)try{mt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},vt=function(e){var t,n;if(Re)e="<remove></remove>"+e;else{var r=_(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=oe?oe.createHTML(e):e;if(tt===et)try{t=(new h).parseFromString(o,he)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?"":o}catch(e){}}var i=t.body||t.documentElement;return e&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),tt===et?le.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},yt=function(e){return se.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},bt=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},wt=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Ot=function(e,t,r){fe[e]&&O(fe[e],(function(e){e.call(n,t,r,at)}))},xt=function(e){var t;if(Ot("beforeSanitizeElements",e,null),bt(e))return mt(e),!0;if(j(/[\u0080-\uFFFF]/,e.nodeName))return mt(e),!0;var r=me(e.nodeName);if(Ot("uponSanitizeElement",e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&j(/<[/\w]/g,e.innerHTML)&&j(/<[/\w]/g,e.textContent))return mt(e),!0;if("select"===r&&j(/<template/i,e.innerHTML))return mt(e),!0;if(!ke[r]||Pe[r]){if(!Pe[r]&&Et(r)){if(Ae.tagNameCheck instanceof RegExp&&j(Ae.tagNameCheck,r))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(r))return!1}if(We&&!qe[r]){var o=D(e)||e.parentNode,a=w(e)||e.childNodes;if(a&&o)for(var i=a.length-1;i>=0;--i)o.insertBefore(y(a[i],!0),b(e))}return mt(e),!0}return e instanceof u&&!ht(e)?(mt(e),!0):"noscript"!==r&&"noembed"!==r||!j(/<\/no(script|embed)/i,e.innerHTML)?(Ze&&3===e.nodeType&&(t=e.textContent,t=S(t,ge," "),t=S(t,ve," "),e.textContent!==t&&(k(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ot("afterSanitizeElements",e,null),!1):(mt(e),!0)},kt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in a||n in it))return!1;if(De&&!je[t]&&j(ye,t));else if(Ce&&j(be,t));else if(!_e[t]||je[t]){if(!(Et(e)&&(Ae.tagNameCheck instanceof RegExp&&j(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&j(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&j(Ae.tagNameCheck,n)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))))return!1}else if($e[t]);else if(j(xe,S(n,Oe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==A(n,"data:")||!Ge[e])if(Te&&!j(we,S(n,Oe,"")));else if(n)return!1;return!0},Et=function(e){return e.indexOf("-")>0},_t=function(t){var r,o,a,i;Ot("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_e};for(i=c.length;i--;){var u=r=c[i],l=u.name,p=u.namespaceURI;if(o="value"===l?r.value:P(r.value),a=me(l),s.attrName=a,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,Ot("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(gt(l,t),s.keepAttr))if(j(/\/>/i,o))gt(l,t);else{Ze&&(o=S(o,ge," "),o=S(o,ve," "));var d=me(t.nodeName);if(kt(d,a,o)){if(!He||"id"!==a&&"name"!==a||(gt(l,t),o=Ue+o),oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(p);else switch(g.getAttributeType(d,a)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{p?t.setAttributeNS(p,l,o):t.setAttribute(l,o),x(n.removed)}catch(e){}}}}Ot("afterSanitizeAttributes",t,null)}},St=function e(t){var n,r=yt(t);for(Ot("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ot("uponSanitizeShadowNode",n,null),xt(n)||(n.content instanceof i&&e(n.content),_t(n));Ot("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o){var a,c,u,l,p,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((nt=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!wt(o)){if("function"!=typeof o.toString)throw C("toString is not a function");if("string"!=typeof(o=o.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(wt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Ie||st(d),n.removed=[],"string"==typeof o&&(Ve=!1),Ve){if(o.nodeName){var f=me(o.nodeName);if(!ke[f]||Pe[f])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof s)1===(c=(a=vt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===c.nodeName||"HTML"===c.nodeName?a=c:a.appendChild(c);else{if(!Ne&&!Ze&&!Me&&-1===o.indexOf("<"))return oe&&Fe?oe.createHTML(o):o;if(!(a=vt(o)))return Ne?null:Fe?ae:""}a&&Re&&mt(a.firstChild);for(var h=yt(Ve?o:a);u=h.nextNode();)3===u.nodeType&&u===l||xt(u)||(u.content instanceof i&&St(u.content),_t(u),l=u);if(l=null,Ve)return o;if(Ne){if(Le)for(p=ue.call(a.ownerDocument);a.firstChild;)p.appendChild(a.firstChild);else p=a;return _e.shadowroot&&(p=pe.call(r,p,!0)),p}var m=Me?a.outerHTML:a.innerHTML;return Me&&ke["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&j(ee,a.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+m),Ze&&(m=S(m,ge," "),m=S(m,ve," ")),oe&&Fe?oe.createHTML(m):m},n.setConfig=function(e){st(e),Ie=!0},n.clearConfig=function(){at=null,Ie=!1},n.isValidAttribute=function(e,t,n){at||st({});var r=me(e),o=me(t);return kt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(fe[e]=fe[e]||[],k(fe[e],t))},n.removeHook=function(e){if(fe[e])return x(fe[e])},n.removeHooks=function(e){fe[e]&&(fe[e]=[])},n.removeAllHooks=function(){fe={}},n}return re()}()},1024:e=>{"use strict";e.exports=t},30314:t=>{"use strict";t.exports=e},71298:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},38088:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87462:(e,t,n)=>{"use strict";function r(){return r=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},r.apply(this,arguments)}n.d(t,{Z:()=>r})},88911:(e,t,n)=>{"use strict";function r(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}n.d(t,{Z:()=>r})},83029:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},61086:(e,t,n)=>{"use strict";function r(e,t,n,r,o,a,i){try{var c=e[a](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,s,"next",e)}function s(e){r(i,o,a,c,s,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>o})},11259:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},44822:(e,t,n)=>{"use strict";function r(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 o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:()=>o})},46927:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},3640:(e,t,n)=>{"use strict";function r(){return r=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},r.apply(this,arguments)}n.d(t,{Z:()=>r})},19241:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:()=>r})},32208:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(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&&r(e,t)}n.d(t,{Z:()=>o})},72753:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:()=>r})},56265:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},8486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(46927);function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},56315:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>r})},99357:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(73891);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}},68957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(83029);var o=n(61917),a=n(56265);function i(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},91411:(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,{Z:()=>r})},45915:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(88911);var o=n(72753),a=n(61917);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,a.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},73891:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{Z:()=>r})},61917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(88911);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=o,i.amdD=function(){throw new Error("define cannot be used indirect")},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>288===e?"chunk-ckeditor.966b93fab1f28a51ecbd.js":"chunk-"+({85:"code-editor",107:"actions",141:"docs-actions",198:"vendor-fontawesome",614:"vendor-icons",877:"vendor-libphonenumber-js"}[e]||e)+"."+{68:"8b0a212436f741347043",85:"518cffead3ac4a62b00f",107:"63af2516889ebbe6546c",141:"6b199e3296a772d1608a",198:"bf7d7e49d7b58e3166c5",414:"51c4062a5485a4775775",480:"3ce3bbc038aca2ce389e",614:"b45f0f337eb768a9e3a9",759:"9337b4e21a78c273072d",817:"5758e51444b678849e3d",877:"04702eeaaa7a6d567205",909:"f0934a9b9f58a57b1c62"}[e]+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-widget-bundle:",i.l=(e,t,o,a)=>{if(n[e])n[e].push(t);else{var c,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var p=u[l];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+o){c=p;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var d=(t,r)=>{c.onerror=c.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=d.bind(null,c.onerror),c.onload=d.bind(null,c.onload),s&&document.head.appendChild(c)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.j=243,i.p="/",(()=>{var e={243:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var a=i.p+i.u(t),c=new Error;i.l(a,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,c,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(s)s(i)}for(t&&t(n);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_widget_bundle=self.webpackChunktocco_widget_bundle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.nc=void 0;var c={};return(()=>{"use strict";i.r(c);var e,t=i(55954),n=i(45697),r=i.n(n),o=i(81749),a=i(23369),s=i(44362),u=i(74806),l=i(50558),p=i(59713),d=i.n(p),f=i(87757),h=i.n(f),m=i(27361),g=i.n(m),v=i(63094),y=i(47488),b=i(52540),w=i(83682),O=i(41609),x=i.n(O),k=i(18446),E=i.n(k),_=i(35937),S=i.n(_),A=i(1024),P=i.n(A),j=i(56746),C=i(50600),D=i(87533),T=i(22731),Z=i(19743),M=i(45430),I="login/SET_LOGGED_IN",R="login/SET_ADMIN_ALLOWED",N="login/DO_SESSION_CHECK",L=function(e){return{type:I,payload:{loggedIn:e}}},F=function(e){return{type:R,payload:{adminAllowed:e}}},B=i(81770),H=(e={},d()(e,I,B.Z.singleTransferReducer("loggedIn")),d()(e,R,B.Z.singleTransferReducer("adminAllowed")),e),U={loggedIn:void 0,adminAllowed:void 0};function W(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U,t=arguments.length>1?arguments[1]:void 0,n=H[t.type];return n?n(e,t):e}var V=i(34857),z=i(44759),q=i(54159),Y=i(21913),G=i(27023),K=h().mark(J),$=h().mark(ee),X=h().mark(te);function Q(e,t){return q.Z.executeRequest(e,t).then(q.Z.extractBody).catch((function(e){return z.Z.logError("Failed to execute request",e),{success:!1}}))}function J(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.RE)(Q,"session",{method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),K)}function ee(){var e,t,n,r,o;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,V.RE)(J);case 2:if(e=a.sent,t=e.success,n=e.businessUnit,r=e.adminAllowed,!(o=Y.Z.getLongTerm("session","principal"))||o.currentBusinessUnit.id===n){a.next=10;break}return a.next=10,(0,V.RE)(Y.Z.clearAll);case 10:return a.next=12,(0,V.gz)(F(r));case 12:return a.next=14,(0,V.gz)(L(t));case 14:return a.next=16,(0,V.gz)(G.Z.connectSocket());case 16:case"end":return a.stop()}}),$)}function te(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.Fm)(N,ee)]);case 2:case"end":return e.stop()}}),X)}const ne=function(e){B.Z.injectReducers(e,{login:W}),e.sagaMiddleware.run(te)},re=function(){return{type:N}};var oe,ae=i(99376),ie=i(35997),ce=i(41654),se="SET_ENTITY_NAME",ue="SET_FORM_BASE",le="SET_SCROLL_BEHAVIOUR",pe="root/SET_APP_ID",de=function(e){return{type:ue,payload:{formBase:e}}},fe=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return ce.Z.getDispatchActions(e,he,t)},he=[{name:"entityName",action:function(e){return{type:se,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:de,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:de,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:le,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:pe,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],me=i(85300),ge=i(6766),ve=(oe={},d()(oe,ge.zg,B.Z.singleTransferReducer("formTouched")),d()(oe,ge.zJ,B.Z.singleTransferReducer("detailParams")),oe),ye={detailParams:void 0,formTouched:!1};var be=h().mark(ke);function we(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 Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xe=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=Oe({},e)})),e.relations.forEach((function(e){t[e.relationName]=Oe({type:"relation"},e)})),t};function ke(e){var t,n,r=arguments;return h().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>1&&void 0!==r[1]?r[1]:xe,o.next=3,(0,V.RE)(v.Z.requestSaga,"entities/".concat(e,"/model"));case 3:return n=o.sent,o.next=6,(0,V.RE)(t,n.body);case 6:return o.abrupt("return",o.sent);case 7:case"end":return o.stop()}}),be)}var Ee={CREATE:"create",UPDATE:"update"};const _e=function(e){return void 0===e?Ee.CREATE:Ee.UPDATE};const Se=function(e){var t=e.split("/").filter((function(e){return!!e})),n=t[t.length-1],r=t.filter((function(e,t){return t>1&&t%2==0}));if(isNaN(n)){return{modelPaths:r,entityId:undefined,parentUrl:"/"+t.slice(0,-1).join("/")}}return{modelPaths:r,entityId:t[t.length-1],parentUrl:"/"+t.slice(0,-2).join("/")}};const Ae=function(e,t){return 0!==t.length||(!e||isNaN(e))};var Pe=h().mark(Me),je=h().mark(Ie),Ce=h().mark(Re),De=h().mark(Ne),Te=function(e){return e.entityBrowser},Ze=function(e){return e.input};function Me(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.Fm)(ge.tQ,Re),(0,V.Fm)(ge.eI,Ie)]);case 2:case"end":return e.stop()}}),Pe)}function Ie(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.gz)(ge.Ek(void 0));case 2:case"end":return e.stop()}}),je)}function Re(e){var t,n,r,o,a,i,c,s,u,l,p,d,f,m,g;return h().wrap((function(h){for(;;)switch(h.prev=h.next){case 0:return t=e.payload,h.next=3,(0,V.RE)(Se,t.url);case 3:return n=h.sent,r=n.modelPaths,o=n.entityId,a=n.parentUrl,h.next=9,(0,V.Ys)(Te);case 9:return i=h.sent,c=i.entityName,s=i.formBase,h.next=14,(0,V.RE)(_e,o);case 14:if(u=h.sent,l=c,p=s,!(r&&r.length>0)){h.next=22;break}return h.next=20,(0,V.RE)(Ne,c,r);case 20:l=h.sent,p="".concat(s,"_").concat(l);case 22:return h.next=24,(0,V.Ys)(Ze);case 24:return d=h.sent,f=d.initialKey,h.next=28,(0,V.RE)(Ae,f,r);case 28:return m=h.sent,g={mode:u,entityId:o,entityName:l,formName:p,parentUrl:a,showBackButton:m},h.next=32,(0,V.gz)(ge.Ek(g));case 32:case"end":return h.stop()}}),Ce)}function Ne(e,t){var n,r,o,a,i;return h().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=e,c.next=3,(0,V.RE)(ke,n);case 3:r=c.sent,o=0;case 5:if(!(o<t.length)){c.next=18;break}if(a=t[o],i=r[a]){c.next=10;break}throw new Error("No such path '".concat(a,"' found on entity model '").concat(n,"'"));case 10:if(n=i.targetEntity,!(o+1<t.length)){c.next=15;break}return c.next=14,(0,V.RE)(ke,n);case 14:r=c.sent;case 15:o++,c.next=5;break;case 18:return c.abrupt("return",n);case 19:case"end":return c.stop()}}),De)}var Le=h().mark(Fe);function Fe(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.rM)(Me)]);case 2:case"end":return e.stop()}}),Le)}const Be=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye,t=arguments.length>1?arguments[1]:void 0,n=ve[t.type];return n?n(e,t):e};var He;function Ue(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 We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ve=(He={},d()(He,se,B.Z.singleTransferReducer("entityName")),d()(He,ue,(function(e,t){var n=t.payload.formBase;return n?We(We({},e),{},{formBase:n}):We({},e)})),d()(He,le,B.Z.singleTransferReducer("scrollBehaviour")),d()(He,pe,B.Z.singleTransferReducer("appId")),He),ze={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var qe=h().mark(Ge),Ye=h().mark(Ke);function Ge(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.RE)(Ke)]);case 2:case"end":return e.stop()}}),qe)}function Ke(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.qn)(t.Z.INPUT_INITIALIZED);case 2:return e.next=4,(0,V.gz)(re());case 4:case"end":return e.stop()}}),Ye)}var $e=h().mark(Xe);function Xe(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,V.$6)([(0,V.rM)(Ge)]);case 2:case"end":return e.stop()}}),$e)}const Qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ze,t=arguments.length>1?arguments[1]:void 0,n=Ve[t.type];return n?n(e,t):e},Je={detail:Be,form:me.Z,entityBrowser:Qe};var et,tt,nt,rt=[Xe,Fe],ot=i(85893);function at(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 it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ct="entity-browser",st=P().lazy((function(){return Promise.all([i.e(68),i.e(141),i.e(614),i.e(198),i.e(480)]).then(i.bind(i,38493))})),ut=function(){return et||(et=(0,ot.jsx)(A.Suspense,{fallback:"",children:(0,ot.jsx)(st,{})}))},lt=function(e,t){return e.intl.messages[t]||t},pt=function(e,n,r,o){n=it(it({},n),{},{id:e}),a.Z.setInputEnvs(n);var i=t.Z.createStore(Je,rt,n,ct);M.Z.addToStore(i,(function(){return{}})),C.Z.addToStore(i),D.Z.dynamicActionsAddToStore(i),Z.Z.addToStore(i,!0,["console","remote","notification"]),G.Z.addToStore(i,!0),ne(i),T.Z.addToStore(i);var c=function(e,t){return(t?w.Z:b.Z)({getUserConfirmation:function(t,n){var r=e.getState(),o=lt(r,"client.common.ok"),a=lt(r,"client.common.cancel"),i=G.Z.confirm("",t,o,a,(function(){return n(!0)}),(function(){return n(!1)}));e.dispatch(i)}})}(i,n.memoryHistory);!function(e,t){var n=t.initialKey;if(n&&!isNaN(n)&&!e.location.pathname.match(/\/detail\/[0-9]*/)){var r="/detail/".concat(t.initialKey);e.push(r)}}(c,n);var s=(0,ot.jsxs)(j.F0,{history:c,children:[tt||(tt=(0,ot.jsx)(ae.Z,{})),nt||(nt=(0,ot.jsx)(ut,{}))]});return t.Z.createApp(ct,s,i,{input:n,actions:fe(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},dt=function(e){var n=t.Z.useApp({initApp:pt,props:e,packageName:ct}),r=n.component,o=n.store,a=ie.Z.usePrevious(e);return ie.Z.useDidUpdate((function(){var t=S()(e,(function(e,t){return!E()(e,a[t])}));x()(t)||fe(t,!1).forEach((function(e){o.dispatch(e)}))}),[e]),r};dt.propTypes={entityName:r().string.isRequired,searchFormType:o.b,formBase:r().string,limit:r().number,preselectedSearchFields:r().array,searchFilters:r().arrayOf(r().string),simpleSearchFields:r().string,initialKey:r().string,businessUnit:r().string,memoryHistory:r().bool,backendUrl:r().string,scrollBehaviour:r().string,appContext:s.Z.propTypes,modifyFormDefinition:r().func,disableDetailView:r().bool,reportIds:r().arrayOf(r().string)};const ft=dt;t.Z.createBundleableApp(ct,pt,dt);var ht=h().mark(vt);function mt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vt(e,t,n){var r,o,a,i,c,s,u;return h().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r=t.parent,o=t.entityName,a=t.entityId,i=n.showEmailAction,c=n.appContext,"Mailing_list_detail_relUser_list"!==e.id){l.next=6;break}return s=e,s=i?y.Z.adjustActions(s,"mailing-list-mail-action",(function(e){return gt(gt({},e),{},{properties:gt(gt({},e.properties),{},{widgetKey:c.widgetConfigKey,eventKey:r.key})})})):y.Z.removeActions(s,["mailing-list-mail-action"]),l.abrupt("return",s);case 6:if("Mailing_list_User_detail"!==e.id||!a){l.next=13;break}return l.next=9,v.Z.fetchEntity(o,a,{paths:["publish_detail"]});case 9:if(u=l.sent,g()(u,["paths","publish_detail","value"])){l.next=13;break}return l.abrupt("return",y.Z.removeBoxes(e,["address_information","communication_information"]));case 13:return l.abrupt("return",e);case 14:case"end":return l.stop()}}),ht)}const yt=function(e){var t=e.searchFilters,n=e.searchFormType,r=e.limit,o=e.backendUrl,a=e.businessUnit,i=e.appContext,c=e.reportIds;return(0,ot.jsx)(ft,{entityName:"Event",formBase:"Mailing_list",searchFilters:t,limit:r,modifyFormDefinition:function(t,n){return vt(t,n,e)},backendUrl:o,businessUnit:a,appContext:i,searchFormType:n,reportIds:c})};const bt=(0,l.connect)((function(e){return{searchFormType:e.input.searchFormType,searchFilters:e.input.searchFilters,limit:e.input.limit,backendUrl:e.input.backendUrl,businessUnit:e.input.businessUnit,appContext:e.input.appContext,reportIds:e.input.reportIds,showEmailAction:e.input.allowEmail}}),{})((0,u.ZP)(yt));var wt,Ot="mailing-list",xt=function(e,n,r,o){a.Z.setInputEnvs(n);var i=wt||(wt=(0,ot.jsx)(bt,{})),c=t.Z.createStore({},null,n,Ot);return t.Z.createApp(Ot,i,c,{input:n,events:r,actions:[],publicPath:o,textResourceModules:["component","common","actions",Ot]})},kt=function(e){return t.Z.useApp({initApp:xt,props:e,packageName:Ot}).component};kt.propTypes={searchFormType:o.b,searchFilters:r().arrayOf(r().string),limit:r().number,backendUrl:r().string,businessUnit:r().string,appContext:s.Z.propTypes.isRequired,reportIds:r().arrayOf(r().string),allowEmail:r().bool};var Et=t.Z.createBundleableApp(Ot,xt,kt);t.Z.registerAppInRegistry(Et.name,Et.init)})(),c})()));
|