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/address-update.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,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case a:case c:case i:case p: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 O(e){return x(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,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=p,t.isAsyncMode=function(e){return O(e)||x(e)===l},t.isConcurrentMode=O,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===c||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},51976:(e,t,n)=>{"use strict";e.exports=n(9734)},2393:(e,t,n)=>{"use strict";n.d(t,{h3:()=>C});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 f(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 p(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?".":"")+p(u[1]||"",t,n)}function y(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 v(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 x(e,t,n,r,a,i){void 0===i&&(i=c);var s=(0,o.useRef)(),f=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 f(t)})),p=d[0],h=d[1];return(0,o.useMemo)((function(){u(e)?s.current=void 0:(s.current=f(e),h(s.current))}),[e,f]),[p,function(e,t){h({formattedValue:e.formattedValue,numAsString:e.value}),i(e,t)}]}function O(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,f=e.getInputRef,d=e.format;void 0===d&&(d=k);var p=e.removeFormatting;void 0===p&&(p=O);var h=e.defaultValue,m=e.valueIsNumericString,g=e.onValueChange,v=e.isAllowed,E=e.onChange;void 0===E&&(E=c);var S=e.onKeyDown;void 0===S&&(S=c);var _=e.onMouseUp;void 0===_&&(_=c);var j=e.onFocus;void 0===j&&(j=c);var P=e.onBlur;void 0===P&&(P=c);var C=e.value,A=e.getCaretBoundary;void 0===A&&(A=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=x(C,h,Boolean(m),d,p,g),R=Z[0],M=R.formattedValue,N=R.numAsString,I=Z[1],F=(0,o.useRef)();(0,o.useEffect)((function(){var e=d(N);if(void 0===F.current||e!==F.current){var t=H.current;K({formattedValue:e,numAsString:N,input:t,setCaretPosition:!0,source:r.props,event:void 0})}}));var L=(0,o.useState)(!1),B=L[0],U=L[1],H=(0,o.useRef)(null),W=(0,o.useRef)({setCaretTimeout:null,focusTimeout:null});(0,o.useEffect)((function(){return U(!0),function(){clearTimeout(W.current.setCaretTimeout),clearTimeout(W.current.focusTimeout)}}),[]);var z=d,V=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},Y=function(e,t,n){y(e,t),W.current.setCaretTimeout=setTimeout((function(){e.value===n&&y(e,t)}),0)},q=function(e,t,n){return b(e,t,A(e),n)},G=function(e,t,n){var r=A(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={},f=new Array(s),d=0;d<s;d++){f[d]=-1;for(var p=0,h=u;p<h;p++)if(n[d]===e[p]&&!0!==l[p]){f[d]=p,l[p]=!0;break}}for(var m=r;m<s&&(-1===f[m]||!a(n[m]));)m++;var g=m===s||-1===f[m]?u:f[m];for(m=r-1;m>0&&-1===f[m];)m--;var y=-1===m||-1===f[m]?0:f[m]+1;return y>g?g:r-y<g-r?y:g}(t,M,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&&Y(n,s,t)}t!==M&&function(e,t){F.current=e.formattedValue,I(e,t)}(V(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:M,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}}}(M,e),o=Object.assign(Object.assign({},r),{lastValue:M}),a=p(e,o),i=z(a);return!(v&&!v(V(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=q(i,t,"ArrowLeft"===r?"left":"right");else"Delete"!==r||D(i[t])?"Backspace"!==r||D(i[t])||(c=q(i,t,"left")):c=q(i,t,"right");c!==t&&Y(n,c,i),e.isUnitTestRun&&Y(n,c,i),S(e)}else S(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=q(o,n);a!==n&&Y(t,a,o)}_(e)},onFocus:function(e){e.persist();var t=e.target;H.current=t,W.current.focusTimeout=setTimeout((function(){var n=t.selectionStart,r=t.selectionEnd,o=t.value;void 0===o&&(o="");var a=q(o,n);a===n||0===n&&r===o.length||Y(t,a,o),j(e)}),0)},onBlur:function(e){H.current=null,clearTimeout(W.current.focusTimeout),clearTimeout(W.current.setCaretTimeout),P(e)}});if("text"===n)return l?a().createElement(a().Fragment,null,l(M,T)||null):a().createElement("span",Object.assign({},T,{ref:f}),M);if(u){var Q=u;return a().createElement(Q,Object.assign({},X,{ref:f}))}return a().createElement("input",Object.assign({},X,{ref:f}))}function S(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=_(t),u=s.thousandSeparator,l=s.decimalSeparator,f=0!==n&&-1!==e.indexOf(".")||n&&r,h=d(e,i),m=h.beforeDecimal,g=h.afterDecimal,y=h.addNegation;return void 0!==n&&(g=p(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),y&&(m="-"+m),e=m+(f&&l||"")+g}function _(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 j(e,t,n){void 0===t&&(t=v(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,p=_(n),h=p.allowedDecimalSeparators,m=p.decimalSeparator,g=e[l]===m;if(l-u==1&&-1!==h.indexOf(e[u])){var y=0===i?"":m;e=e.substring(0,u)+y+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 x=(e=e.substring(w)).length,O=e.length-a.length;e.endsWith(a)?x=O:l>e.length-a.length&&(x=l),e=e.substring(0,x),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]|"+f(e),t?"g":void 0)}(m,!0))||[]).join("");var k=e.indexOf(m),E=d(e=e.replace(new RegExp(f(m),"g"),(function(e,t){return t===k?".":""})),r),S=E.beforeDecimal,j=E.afterDecimal,P=E.addNegation;return s.end-s.start<c.end-c.start&&""===S&&g&&!parseFloat(j)&&(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 f=e.thousandSeparator,d=e.decimalScale,p=e.fixedDecimalScale,h=e.prefix;void 0===h&&(h="");var v=e.defaultValue,b=e.value,w=e.valueIsNumericString,O=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=_(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 S(t,e)},P=function(t,n){return j(t,n,e)},C=w;u(b)?u(v)||(C=null!=w?w:"number"==typeof v):C=null!=w?w:"number"==typeof b;var A=function(e){return u(e)||l(e)?e:("number"==typeof e&&(e=m(e)),C&&"number"==typeof d?g(e,d,Boolean(p)):e)},D=x(A(b),A(v),Boolean(C),E,P,O),T=D[0],Z=T.numAsString,R=T.formattedValue,M=D[1];return Object.assign(Object.assign({},k),{value:R,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===t||s(e)},onValueChange:M,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&&y(n,1);var s=_(e).decimalSeparator;"Backspace"===r&&c[a-1]===s&&d&&p&&(y(n,a-1),t.preventDefault());var u=!0===f?",":f;"Backspace"===r&&c[a-1]===u&&y(n,a-1),"Delete"===r&&c[a]===u&&y(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)),p&&d&&(o=g(o,d,p)),o!==Z){var i=S(o,e);M({formattedValue:i,value:o,floatValue:parseFloat(o)},{event:t,source:r.event})}a(t)}})}function C(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}),f={},d={},p=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var n=null;return-1!==p.indexOf(t)&&u&&(n={passive:!e.props.preventDefault}),n}const g=function(e,t){var n,s,p=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: "+p+" 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]),f[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,f[r._uid],m(i(r),e))}))}},r.disableOnClickOutside=function(){delete d[r._uid];var e=f[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 f[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 y=g.prototype;return y.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},y.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: "+p+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},y.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},y.componentWillUnmount=function(){this.disableOnClickOutside()},y.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("+p+")",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)},f=[];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,p=void 0===d?f:d,h=e.referenceElement,m=e.onFirstUpdate,g=e.innerRef,y=e.children,v=r.useContext(o),b=r.useState(null),w=b[0],x=b[1],O=r.useState(null),k=O[0],E=O[1];r.useEffect((function(){(0,c.k$)(g,w)}),[g,w]);var S=r.useMemo((function(){return{placement:n,strategy:i,onFirstUpdate:m,modifiers:[].concat(p,[{name:"arrow",enabled:null!=k,options:{element:k}}])}}),[n,i,m,p,k]),_=(0,s.D)(h||v,w,S),j=_.state,P=_.styles,C=_.forceUpdate,A=_.update,D=r.useMemo((function(){return{ref:x,style:P.popper,placement:j?j.placement:n,hasPopperEscaped:j&&j.modifiersData.hide?j.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:j&&j.modifiersData.hide?j.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:P.arrow,ref:E},forceUpdate:C||u,update:A||l}}),[x,E,n,j,P,A,C]);return(0,c.$p)(y)(D)}var p=n(99874),h=n.n(p);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,f=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=f(n.width)/i||1),a>0&&(o=f(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 p(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+p(e).scrollLeft}function y(e){return a(e).getComputedStyle(e)}function v(e){var t=y(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=f(t.width)/e.offsetWidth||1,r=f(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=m(t),l=d(e,s),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(i||!i&&!n)&&(("body"!==h(t)||v(u))&&(y=(r=t)!==a(r)&&c(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:p(r)),c(t)?((b=d(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):u&&(b.x=g(u))),{x:l.left+y.scrollLeft-b.x,y:l.top+y.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 x(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(s(e)?e.host:null)||m(e)}function O(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:c(e)&&v(e)?e:O(x(e))}function k(e,t){var n;void 0===t&&(t=[]);var r=O(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=a(r),c=o?[i].concat(i.visualViewport||[],v(r)?r:[]):r,s=t.concat(c);return o?s:s.concat(k(x(c)))}function E(e){return["table","td","th"].indexOf(h(e))>=0}function S(e){return c(e)&&"fixed"!==y(e).position?e.offsetParent:null}function _(e){for(var t=a(e),n=S(e);n&&E(n)&&"static"===y(n).position;)n=S(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===y(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&c(e)&&"fixed"===y(e).position)return null;var n=x(e);for(s(n)&&(n=n.host);c(n)&&["html","body"].indexOf(h(n))<0;){var r=y(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 j="top",P="bottom",C="right",A="left",D="auto",T=[j,P,C,A],Z="start",R="end",M="viewport",N="popper",I=T.reduce((function(e,t){return e.concat([t+"-"+Z,t+"-"+R])}),[]),F=[].concat(T,[D]).reduce((function(e,t){return e.concat([t,t+"-"+Z,t+"-"+R])}),[]),L=["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 U={placement:"bottom",modifiers:[],strategy:"absolute"};function H(){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?U:o;return function(e,t,n){void 0===n&&(n=a);var o,c,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},U,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],l=!1,f={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 L.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:f,options:r}),i=function(){};u.push(a||i)}})),f.update()},forceUpdate:function(){if(!l){var e=s.elements,t=e.reference,n=e.popper;if(H(t,n)){s.rects={reference:b(t,_(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:f})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){f.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(!H(e,t))return f;function d(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var z={passive:!0};function V(e){return e.split("-")[0]}function Y(e){return e.split("-")[1]}function q(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?V(o):null,i=o?Y(o):null,c=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case j:t={x:c,y:n.y-r.height};break;case P:t={x:c,y:n.y+n.height};break;case C:t={x:n.x+n.width,y:s};break;case A:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?q(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 R: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,p=e.isFixed,h=c.x,g=void 0===h?0:h,v=c.y,b=void 0===v?0:v,w="function"==typeof d?d({x:g,y:b}):{x:g,y:b};g=w.x,b=w.y;var x=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),k=A,E=j,S=window;if(l){var D=_(n),T="clientHeight",Z="clientWidth";if(D===a(n)&&"static"!==y(D=m(n)).position&&"absolute"===s&&(T="scrollHeight",Z="scrollWidth"),D=D,o===j||(o===A||o===C)&&i===R)E=P,b-=(p&&D===S&&S.visualViewport?S.visualViewport.height:D[T])-r.height,b*=u?1:-1;if(o===A||(o===j||o===P)&&i===R)k=C,g-=(p&&D===S&&S.visualViewport?S.visualViewport.width:D[Z])-r.width,g*=u?1:-1}var M,N=Object.assign({position:s},l&&K),I=!0===d?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:f(t*r)/r||0,y:f(n*r)/r||0}}({x:g,y:b}):{x:g,y:b};return g=I.x,b=I.y,u?Object.assign({},N,((M={})[E]=O?"0":"",M[k]=x?"0":"",M.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",M)):Object.assign({},N,((t={})[E]=O?b+"px":"",t[k]=x?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=F.reduce((function(e,n){return e[n]=function(e,t,n){var r=V(e),o=[A,j].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,[A,C].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===M?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=p(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"===y(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(x(e)),n=["absolute","fixed"].indexOf(y(e).position)>=0&&c(e)?_(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?M:s,l=n.elementContext,f=void 0===l?N:l,p=n.altBoundary,h=void 0!==p&&p,g=n.padding,y=void 0===g?0:g,v=ie("number"!=typeof y?y:ce(y,T)),b=f===N?"reference":N,w=e.rects.popper,x=e.elements[h?b:f],O=ae(i(x)?x:x.contextElement||m(e.elements.popper),c,u),k=d(e.elements.reference),E=G({reference:k,element:w,strategy:"absolute",placement:o}),S=re(Object.assign({},w,E)),_=f===N?S:k,A={top:O.top-_.top+v.top,bottom:_.bottom-O.bottom+v.bottom,left:O.left-_.left+v.left,right:_.right-O.right+v.right},D=e.modifiersData.offset;if(f===N&&D){var Z=D[o];Object.keys(A).forEach((function(e){var t=[C,P].indexOf(e)>=0?1:-1,n=[j,P].indexOf(e)>=0?"y":"x";A[e]+=Z[n]*t}))}return A}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,f=n.rootBoundary,d=n.altBoundary,p=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,y=void 0===g?0:g,v=se(t,{boundary:s,rootBoundary:f,padding:p,altBoundary:d}),b=V(t.placement),x=Y(t.placement),O=!x,k=q(b),E="x"===k?"y":"x",S=t.modifiersData.popperOffsets,D=t.rects.reference,T=t.rects.popper,R="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,M="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(S){if(a){var F,L="y"===k?j:A,B="y"===k?P:C,U="y"===k?"height":"width",H=S[k],W=H+v[L],z=H-v[B],G=m?-T[U]/2:0,K=x===Z?D[U]:T[U],$=x===Z?-T[U]:-D[U],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[L],te=J[B],ne=ue(0,D[U],Q[U]),re=O?D[U]/2-G-ne-ee-M.mainAxis:K-ne-ee-M.mainAxis,oe=O?-D[U]/2+G+ne+te+M.mainAxis:$+ne+te+M.mainAxis,ae=t.elements.arrow&&_(t.elements.arrow),ie=ae?"y"===k?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(F=null==N?void 0:N[k])?F:0,le=H+oe-ce,fe=ue(m?l(W,H+re-ce-ie):W,H,m?u(z,le):z);S[k]=fe,I[k]=fe-H}if(c){var de,pe="x"===k?j:A,he="x"===k?P:C,me=S[E],ge="y"===E?"height":"width",ye=me+v[pe],ve=me-v[he],be=-1!==[j,A].indexOf(b),we=null!=(de=null==N?void 0:N[E])?de:0,xe=be?ye:me-D[ge]-T[ge]-we+M.altAxis,Oe=be?me+D[ge]+T[ge]-we-M.altAxis:ve,ke=m&&be?function(e,t,n){var r=ue(e,t,n);return r>n?n:r}(xe,me,Oe):ue(m?xe:ye,me,m?Oe:ve);S[E]=ke,I[E]=ke-me}t.modifiersData[r]=I}},requiresIfExists:["offset"]};const fe={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=V(n.placement),s=q(c),u=[A,C].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),f=w(a),d="y"===s?j:A,p="y"===s?P:C,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],g=_(a),y=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,b=l[d],x=y-f[u]-l[p],O=y/2-f[u]/2+v,k=ue(b,O,x),E=s;n.modifiersData[r]=((t={})[E]=k,t.centerOffset=k-O,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 pe(e){return[j,C,P,A].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,z)})),s&&u.addEventListener("resize",n.update,z),function(){i&&l.forEach((function(e){e.removeEventListener("scroll",n.update,z)})),s&&u.removeEventListener("resize",n.update,z)}},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:V(t.placement),variation:Y(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,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,y=V(g),v=s||(y===g||!h?[J(g)]:function(e){if(V(e)===D)return[];var t=J(e);return[te(e),t,te(t)]}(g)),b=[g].concat(v).reduce((function(e,n){return e.concat(V(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?F:s,l=Y(r),f=l?c?I:I.filter((function(e){return Y(e)===l})):T,d=f.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=se(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[V(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,k=!0,E=b[0],S=0;S<b.length;S++){var _=b[S],R=V(_),M=Y(_)===Z,N=[j,P].indexOf(R)>=0,L=N?"width":"height",B=se(t,{placement:_,boundary:l,rootBoundary:f,altBoundary:d,padding:u}),U=N?M?C:A:M?P:j;w[L]>x[L]&&(U=J(U));var H=J(U),W=[];if(a&&W.push(B[R]<=0),c&&W.push(B[U]<=0,B[H]<=0),W.every((function(e){return e}))){E=_,k=!1;break}O.set(_,W)}if(k)for(var z=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},q=h?3:1;q>0;q--){if("break"===z(q))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},le,fe,{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=pe(s),f=pe(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),me=n(98836),ge=n.n(me),ye=n(87568),ve=[],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||ve},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,ye.sq)(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,ye.sq)(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),f=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,ye.LI)((function(){d.current&&d.current.setOptions(f)}),[f]),(0,ye.LI)((function(){if(null!=e&&null!=t){var r=(n.createPopper||he)(e,t,f);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:()=>V,B:()=>J,C:()=>Q,D:()=>X,E:()=>M,F:()=>qe,G:()=>$,H:()=>F,I:()=>N,J:()=>W,K:()=>Z,M:()=>ae,a:()=>Ee,b:()=>he,c:()=>Ye,d:()=>Ae,e:()=>ke,f:()=>Ze,g:()=>Te,h:()=>Se,i:()=>ge,j:()=>Me,k:()=>ue,l:()=>je,m:()=>re,n:()=>ie,o:()=>pe,p:()=>Le,q:()=>Be,r:()=>ee,s:()=>K,t:()=>Ue,u:()=>se,v:()=>We,w:()=>ze,x:()=>Ve,y:()=>me,z:()=>z});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),f=n(1024),d=n(30314);Math.min,Math.max;const p=["top","right","bottom","left"];p.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 y(e){return h(e)?"":e?(e.nodeName||"").toLowerCase():""}function v(){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 x(e){return"undefined"!=typeof ShadowRoot&&(e instanceof m(e).ShadowRoot||e instanceof ShadowRoot)}function O(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(v())}function E(e){return["html","body","#document"].includes(y(e))}Math.min,Math.max;const S=Math.round;function _(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&&S(c.width)/e.offsetWidth||1,u=e.offsetHeight>0&&S(c.height)/e.offsetHeight||1);const l=w(e)?m(e):window,f=!k()&&n,d=(c.left+(f&&null!=(r=null==(o=l.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(c.top+(f&&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:p,right:d+h,bottom:p+g,left:d,x:d,y:p}}function j(e){return(t=e,(t instanceof m(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function P(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(x(e)?e.host:null)||j(e)}function C(e){const t=P(e);return E(t)?e.ownerDocument.body:b(t)&&O(t)?t:C(t)}function A(e,t){var n;void 0===t&&(t=[]);const r=C(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=m(r),i=o?[a].concat(a.visualViewport||[],O(r)?r:[]):r,c=t.concat(i);return o?c:c.concat(A(i))}var D=n(6919),T=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Z=function(){};function R(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function M(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(R(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var N=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,u.Z)(e)&&null!==e?[e]:[];var t},I=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 F(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function L(e){return F(e)?window.pageYOffset:e.scrollTop}function B(e,t){F(e)?window.scrollTo(0,t):e.scrollTop=t}function U(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function H(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=L(e),a=t-o,i=10,c=0;function s(){var t=U(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 z(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function V(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var Y=!1,q={get passive(){return Y=!0}},G="undefined"!=typeof window?window:{};G.addEventListener&&G.removeEventListener&&(G.addEventListener("p",Z,q),G.removeEventListener("p",Z,!1));var K=Y;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,f=s.getBoundingClientRect().height,d=n.getBoundingClientRect(),p=d.bottom,h=d.height,m=d.top,g=n.offsetParent.getBoundingClientRect().top,y=i?window.innerHeight:F(l=s)?window.innerHeight:l.clientHeight,v=L(s),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),x=g-w,O=y-m,k=x+v,E=f-v-m,S=p-y+v+b,_=v+m-w,j=160;switch(o){case"auto":case"bottom":if(O>=h)return{placement:"bottom",maxHeight:t};if(E>=h&&!i)return a&&H(s,S,j),{placement:"bottom",maxHeight:t};if(!i&&E>=r||i&&O>=r)return a&&H(s,S,j),{placement:"bottom",maxHeight:i?O-b:E-b};if("auto"===o||i){var P=t,C=i?x:k;return C>=r&&(P=Math.min(C-b-c.controlHeight,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return a&&B(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(k>=h&&!i)return a&&H(s,_,j),{placement:"top",maxHeight:t};if(!i&&k>=r||i&&x>=r){var A=t;return(!i&&k>=r||i&&x>=r)&&(A=i?x-w:k-w),a&&H(s,_,j),{placement:"top",maxHeight:A}}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,f.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,f.useContext)(oe)||{}).setPortalPlacement,d=(0,f.useRef)(null),p=(0,f.useState)(o),h=(0,s.Z)(p,2),m=h[0],g=h[1],y=(0,f.useState)(null),v=(0,s.Z)(y,2),b=v[0],w=v[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 fe=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)};fe.defaultProps={children:"Loading..."};var de,pe=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}},ye=["size"];var ve={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,ye);return(0,a.tZ)("svg",(0,o.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ve},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"}))},xe=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"}))},Oe=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=Oe,Ee=Oe,Se=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}},_e=(0,a.F4)(de||(de=(0,i.Z)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),je=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(_e," 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"},"","")})},Ce=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}))};Ce.defaultProps={size:4};var Ae=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"}},Re=["innerRef","isDisabled","isHidden","inputClassName"],Me=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)":""},Ie)},Ne={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ie={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"},Ne)},Fe=function(e){return(0,r.Z)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ne)},Le=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"}},Ue=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}}},He=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}}},ze=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}},Ve=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"}},Ye={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,f=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":f},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)(xe,null))},DownChevron:xe,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,f=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:f,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=I(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=I(e),u=s.innerRef,l=s.isDisabled,f=s.isHidden,d=s.inputClassName,p=(0,c.Z)(s,Re);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:Fe(f),disabled:l},p)))},LoadingIndicator:Ce,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,p=e.menuPosition,h=e.getStyles,m=(0,f.useRef)(null),g=(0,f.useRef)(null),y=(0,f.useState)(ne(l)),v=(0,s.Z)(y,2),b=v[0],x=v[1],O=(0,f.useMemo)((function(){return{setPortalPlacement:x}}),[]),k=(0,f.useState)(null),E=(0,s.Z)(k,2),S=E[0],j=E[1],P=(0,f.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"===p?0:window.pageYOffset,n=e[b]+t;n===(null==S?void 0:S.offset)&&e.left===(null==S?void 0:S.rect.left)&&e.width===(null==S?void 0:S.rect.width)||j({offset:n,rect:e})}}),[i,p,b,null==S?void 0:S.offset,null==S?void 0:S.rect.left,null==S?void 0:S.rect.width]);(0,D.Z)((function(){P()}),[P]);var C=(0,f.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)?A(e):[],...A(t)]:[];u.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));let l,f=null;if(i){let r=!0;f=new ResizeObserver((()=>{r||n(),r=!1})),w(e)&&!c&&f.observe(e),f.observe(t)}let d=c?_(e):null;return c&&function t(){const r=_(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=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(l)}}(i,m.current,P,{elementResize:"ResizeObserver"in window}))}),[i,P]);(0,D.Z)((function(){C()}),[C]);var T=(0,f.useCallback)((function(e){m.current=e,C()}),[C]);if(!t&&"fixed"!==p||!S)return null;var Z=(0,a.tZ)("div",(0,o.Z)({ref:T,css:h("menuPortal",{offset:S.offset,position:p,rect:S.rect}),className:c({"menu-portal":!0},r)},u),n);return(0,a.tZ)(oe.Provider,{value:O},t?(0,d.createPortal)(Z,t):Z)},LoadingMessage:fe,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,f=e.removeProps,d=e.selectProps,p=o.Container,h=o.Label,m=o.Remove;return(0,a.tZ)(a.ms,null,(function(o){var g=o.css,y=o.cx;return(0,a.tZ)(p,{data:c,innerProps:(0,r.Z)({className:y(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:y(g(s("multiValueLabel",e)),i({"multi-value__label":!0},n))},selectProps:d},t),(0,a.tZ)(m,{data:c,innerProps:(0,r.Z)({className:y(g(s("multiValueRemove",e)),i({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},f),selectProps:d}))}))},MultiValueContainer:He,MultiValueLabel:He,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,f=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},f),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)}},qe=function(e){return(0,r.Z)((0,r.Z)({},Ye),e.components)}},46443:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>fe});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),f=n(32208),d=n(19241);var p=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,p.Z)(this,n)}}var m=n(45915),g=n(13508),y=n(89178),v=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||v(r)&&v(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"},x=function(e){return(0,y.tZ)("span",(0,s.Z)({css:w},e))},O={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":"",f="".concat(s?"selected":"focused").concat(l);return"option ".concat(a," ").concat(f,", ").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,f=u.ariaLiveMessages,d=u.getOptionLabel,p=u.inputValue,h=u.isMulti,m=u.isOptionDisabled,g=u.isSearchable,v=u.menuIsOpen,b=u.options,w=u.screenReaderStatus,k=u.tabSelectsValue,E=u["aria-label"],S=u["aria-live"],_=(0,i.useMemo)((function(){return(0,r.Z)((0,r.Z)({},O),f||{})}),[f]),j=(0,i.useMemo)((function(){var e,n="";if(t&&_.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),f=l?d(l):"",p=a||c||void 0,h=p?p.map(d):[],g=(0,r.Z)({isDisabled:l&&m(l,s),label:f,labels:h},t);n=_.onChange(g)}return n}),[t,_,m,s,d]),P=(0,i.useMemo)((function(){var e="",t=n||o,r=!!(n&&s&&s.includes(n));if(t&&_.onFocus){var a={focused:t,label:d(t),isDisabled:m(t,s),isSelected:r,options:b,context:t===n?"menu":"value",selectValue:s};e=_.onFocus(a)}return e}),[n,o,d,m,_,b,s]),C=(0,i.useMemo)((function(){var e="";if(v&&b.length&&_.onFilter){var t=w({count:a.length});e=_.onFilter({inputValue:p,resultsMessage:t})}return e}),[a,p,v,_,b,w]),A=(0,i.useMemo)((function(){var e="";if(_.guidance){var t=o?"value":v?"menu":"input";e=_.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,v,_,s,k]),D="".concat(P," ").concat(C," ").concat(A),T=(0,y.tZ)(i.Fragment,null,(0,y.tZ)("span",{id:"aria-selection"},j),(0,y.tZ)("span",{id:"aria-context"},D)),Z="initial-input-focus"===(null==t?void 0:t.action);return(0,y.tZ)(i.Fragment,null,(0,y.tZ)(x,{id:l},Z&&T),(0,y.tZ)(x,{"aria-live":S,"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źẑżžẓẕƶȥɀⱬꝣ"}],S=new RegExp("["+E.map((function(e){return e.letters})).join("")+"]","g"),_={},j=0;j<E.length;j++)for(var P=E[j],C=0;C<P.letters.length;C++)_[P.letters[C]]=P.base;var A=function(e){return e.replace(S,(function(e){return _[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}(A),T=function(e){return e.replace(/^\s+|\s+$/g,"")},Z=function(e){return"".concat(e.label," ").concat(e.value)},R=["innerRef"];function M(e){var t=e.innerRef,n=(0,a.Z)(e,R),r=(0,g.r)(n,"onExited","in","enter","exit","appear");return(0,y.tZ)("input",(0,s.Z)({ref:t},r,{css:(0,y.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 N=["boxSizing","height","overflow","paddingRight","position"],I={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function F(e){e.preventDefault()}function L(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 U(){return"ontouchstart"in window||navigator.maxTouchPoints}var H=!("undefined"==typeof window||!window.document||!window.document.createElement),W=0,z={capture:!1,passive:!1};var V=function(){return document.activeElement&&document.activeElement.blur()},Y={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function q(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),f=(0,i.useCallback)((function(e,t){if(null!==l.current){var i=l.current,u=i.scrollTop,f=i.scrollHeight,d=i.clientHeight,p=l.current,h=t>0,m=f-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),p.scrollTop=f,g=!0,c.current=!0):!h&&-t>u&&(o&&!s.current&&o(e),p.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){f(e,e.deltaY)}),[f]),p=(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;f(e,t)}),[f]),m=(0,i.useCallback)((function(e){if(e){var t=!!g.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",h,t)}}),[h,p,d]),y=(0,i.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",h,!1))}),[h,p,d]);return(0,i.useEffect)((function(){if(t){var e=l.current;return m(e),function(){y(e)}}}),[t,m,y]),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(H){var t=document.body,n=t&&t.style;if(r&&N.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(I).forEach((function(e){var t=I[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(c,"px"))}t&&U()&&(t.addEventListener("touchmove",F,z),e&&(e.addEventListener("touchstart",B,z),e.addEventListener("touchmove",L,z))),W+=1}}),[r]),s=(0,i.useCallback)((function(e){if(H){var t=document.body,n=t&&t.style;W=Math.max(W-1,0),r&&W<1&&N.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&U()&&(t.removeEventListener("touchmove",F,z),e&&(e.removeEventListener("touchstart",B,z),e.removeEventListener("touchmove",L,z)))}}),[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,y.tZ)(i.Fragment,null,n&&(0,y.tZ)("div",{onClick:V,css:Y}),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=A(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,f.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,f=t.tabSelectsValue,d=t.openMenuOnFocus,p=o.state,h=p.focusedOption,m=p.focusedValue,g=p.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||!f||!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,f=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,y=o||this.getElementId("input"),v=(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(f,(0,s.Z)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:u,type:"text",value:a},v)):i.createElement(M,(0,s.Z)({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:g.K,onFocus:this.onInputFocus,disabled:t,tabIndex:c,inputMode:"none",form:u,value:""},v))}},{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,f=this.props,d=f.controlShouldRenderValue,p=f.isDisabled,h=f.isMulti,m=f.inputValue,g=f.placeholder,y=this.state,v=y.selectValue,b=y.focusedValue,w=y.isFocused;if(!this.hasValue()||!d)return m?null:i.createElement(u,(0,s.Z)({},l,{key:"placeholder",isDisabled:p,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return v.map((function(t,c){var u=t===b,f="".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:p,key:f,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 x=v[0];return i.createElement(c,(0,s.Z)({},l,{data:x,isDisabled:p}),this.formatOptionLabel(x,"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,f=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,y=h.inputValue,v=h.isLoading,b=h.loadingMessage,w=h.minMenuHeight,x=h.maxMenuHeight,O=h.menuIsOpen,k=h.menuPlacement,E=h.menuPosition,S=h.menuPortalTarget,_=h.menuShouldBlockScroll,j=h.menuShouldScrollIntoView,P=h.noOptionsMessage,C=h.onMenuScrollToTop,A=h.onMenuScrollToBottom;if(!O)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=p===o,m=a?void 0:function(){return e.onOptionHover(o)},g=a?void 0:function(){return e.selectOption(o)},y="".concat(e.getElementId("option"),"-").concat(n),v={id:y,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1};return i.createElement(f,(0,s.Z)({},d,{innerProps:v,data:o,isDisabled:a,isSelected:c,key:y,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(v){var Z=b({inputValue:y});if(null===Z)return null;D=i.createElement(u,d,Z)}else{var R=P({inputValue:y});if(null===R)return null;D=i.createElement(l,d,R)}var M={minMenuHeight:w,maxMenuHeight:x,menuPlacement:k,menuPosition:E,menuShouldScrollIntoView:j},N=i.createElement(g.M,(0,s.Z)({},d,M),(function(t){var n=t.ref,r=t.placerProps,c=r.placement,u=r.maxHeight;return i.createElement(o,(0,s.Z)({},d,M,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:v,placement:c}),i.createElement(q,{captureEnabled:m,onTopArrive:C,onBottomArrive:A,lockEnabled:_},(function(t){return i.createElement(a,(0,s.Z)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:v,maxHeight:u,focusedOption:p}),D)})))}));return S||"fixed"===E?i.createElement(c,(0,s.Z)({},d,{appendTo:S,controlElement:this.controlRef,menuPlacement:k,menuPosition:E}),N):N}},{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,f=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return i.createElement(r,(0,s.Z)({},p,{className:c,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:d}),this.renderLiveRegion(),i.createElement(t,(0,s.Z)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:d,menuIsOpen:f}),i.createElement(o,(0,s.Z)({},p,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,(0,s.Z)({},p,{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,f=e.menuIsOpen,d=e.inputValue,p=e.isMulti,h=(0,g.I)(l),m={};if(n&&(l!==n.value||u!==n.options||f!==n.menuIsOpen||d!==n.inputValue)){var y=f?function(e,t){return ee(J(e,t))}(e,h):[],v=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,y);m={selectValue:h,focusedOption:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var w=null!=a&&e!==n?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},x=i,O=c&&s;return c&&!O&&(x={value:(0,g.D)(p,h,h[0]||null),options:h,action:"initial-input-focus"},O=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),(0,r.Z)((0,r.Z)((0,r.Z)({},m),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:O})}}]),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,f=void 0===l?null:l,d=e.inputValue,p=e.menuIsOpen,h=e.onChange,m=e.onInputChange,g=e.onMenuClose,y=e.onMenuOpen,v=e.value,b=(0,a.Z)(e,c),w=(0,i.useState)(void 0!==d?d:n),x=(0,o.Z)(w,2),O=x[0],k=x[1],E=(0,i.useState)(void 0!==p?p:u),S=(0,o.Z)(E,2),_=S[0],j=S[1],P=(0,i.useState)(void 0!==v?v:f),C=(0,o.Z)(P,2),A=C[0],D=C[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]),R=(0,i.useCallback)((function(){"function"==typeof y&&y(),j(!0)}),[y]),M=(0,i.useCallback)((function(){"function"==typeof g&&g(),j(!1)}),[g]),N=void 0!==d?d:O,I=void 0!==p?p:_,F=void 0!==v?v:A;return(0,r.Z)((0,r.Z)({},b),{},{inputValue:N,menuIsOpen:I,onChange:T,onInputChange:Z,onMenuClose:M,onMenuOpen:R,value:F})}(e);return i.createElement(ue,(0,s.Z)({ref:t},n))}));const fe=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"},f=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);f.propTypes={children:i().oneOfType([i().node,i().func]).isRequired,onBlur:i().func,onFocus:i().func},f.defaultProps={onBlur:function(){},onFocus:function(){}};const d=f},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=f;return function(o,a){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw a;return A()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var c=S(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===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;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 f="suspendedStart",d="suspendedYield",p="executing",h="completed",m={};function g(){}function y(){}function v(){}var b={};b[a]=function(){return this};var w=Object.getPrototypeOf,x=w&&w(w(C([])));x&&x!==n&&r.call(x,a)&&(b=x);var O=v.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,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(f).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 S(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,S(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 _(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function C(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:A}}function A(){return{value:t,done:!0}}return y.prototype=O.constructor=v,v.constructor=y,y.displayName=s(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,c,"GeneratorFunction")),e.prototype=Object.create(O),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(O),s(O,c,"Generator"),O[a]=function(){return this},O.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=C,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(j),!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),j(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;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(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 f(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 p=null;function h(){if(p)return p;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 p={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 y(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 v(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 x(e,t,n){n.forEach((function(n){-1===t.indexOf(n)&&v(e,n)&&g(e,n)})),t.forEach((function(t){v(e,t)||y(e,t)}))}var O=[],k=function(e){O.push(e)},E=function(){for(var e=void 0;e=O.pop();)e()},S=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:f,getOffsetParent:d,extend:m,addClass:y,removeClass:g,hasClass:v,updateClasses:x,defer:k,flush:E,uniqueId:c,Evented:S,getScrollBarSize:h,removeUtilElements:l};var _=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")}}(),j=(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=(f=X.getBounds,X.getOffsetParent),y=(m=X.extend,X.addClass),g=X.removeClass,h=(x=X.updateClasses,k=X.defer,E=X.flush,X.getScrollBarSize),l=X.removeUtilElements;function C(e,t){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+n>=t&&t>=e-n}var A,D,T,Z,R=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}}(),M=[],N=function(){M.forEach((function(e){e.position(!1)})),E()};function I(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}A=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!==A&&I()-A<10||(null!=T&&(clearTimeout(T),T=null),A=I(),N(),D=I()-A)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,Z)}));var F={center:"center",left:"right",right:"left"},L={middle:"middle",top:"bottom",bottom:"top"},B={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},U=function(e,t){var n=e.left,r=e.top;return"auto"===n&&(n=F[t.left]),"auto"===r&&(r=L[t.top]),{left:n,top:r}},H=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 z(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 V=function(e){var t=e.split(" "),n=_(t,2);return{top:n[0],left:n[1]}},Y=V,q=function(r){function o(e){var r=this;t(this,o),j(Object.getPrototypeOf(o.prototype),"constructor",this).call(this),this.position=this.position.bind(this),M.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]))})),y(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&y(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=Y(this.options.targetAttachment),this.attachment=Y(this.options.attachment),this.offset=V(this.options.offset),this.targetOffset=V(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 f(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((a={height:(e=f(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=f(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&&y(this.target,this.getClass("enabled")),y(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(),M.forEach((function(t,n){t===e&&M.splice(n,1)})),0===M.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&&(x(n.element,n._addAttachClasses,a),!1!==n.options.addTargetClasses&&x(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=U(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,r);var o=this.cache("element-bounds",(function(){return f(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=z(H(this.attachment),{width:a,height:i}),p=z(H(r),u),m=z(this.offset,{width:a,height:i}),g=z(this.targetOffset,u);l=W(l,m),p=W(p,g);for(var y=s.left+p.left-l.left,v=s.top+p.top-l.top,b=0;b<n.modules.length;++b){var w=n.modules[b].position.call(this,{left:y,top:v,targetAttachment:r,targetPos:s,elementPos:o,offset:l,targetOffset:p,manualOffset:m,manualTargetOffset:g,scrollbarSize:S,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(v=w.top,y=w.left)}var x={page:{top:v,left:y},viewport:{top:v-pageYOffset,bottom:pageYOffset-v-i+innerHeight,left:y-pageXOffset,right:pageXOffset-y-a+innerWidth}},O=this.target.ownerDocument,k=O.defaultView,S=void 0;return k.innerHeight>O.documentElement.clientHeight&&(S=this.cache("scrollbar-size",h),x.viewport.bottom-=S.height),k.innerWidth>O.documentElement.clientWidth&&(S=this.cache("scrollbar-size",h),x.viewport.right-=S.width),-1!==["","static"].indexOf(O.body.style.position)&&-1!==["","static"].indexOf(O.body.parentElement.style.position)||(x.page.bottom=O.body.scrollHeight-v-i,x.page.right=O.body.scrollWidth-y-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 f(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=O.body.scrollWidth-n.left-o.width+a.right,n.bottom=O.body.scrollHeight-n.top-o.height+a.bottom,x.page.top>=n.top+a.top&&x.page.bottom>=n.bottom&&x.page.left>=n.left+a.left&&x.page.right>=n.right){var i=t.scrollTop,c=t.scrollLeft;x.offset={top:x.page.top-n.top+i-a.top,left:x.page.left-n.left+c-a.left}}}(),this.move(x),this.history.unshift(x),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]&&!C(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[R]="translateX("+o+"px) translateY("+r+"px)","msTransform"!==R&&(s[R]+=" 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 f=function(e){var t=e.ownerDocument;return(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)===e},p=!0,h=this.element.parentNode;h&&1===h.nodeType&&"BODY"!==h.tagName&&!f(h);){if("static"!==getComputedStyle(h).position){p=!1;break}h=h.parentNode}p||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},y=!1;for(var o in s){var v=s[o];this.element.style[o]!==v&&(y=!0,g[o]=v)}y&&k((function(){m(t.element.style,g),t.trigger("repositioned")}))}}}]),o}(S);q.modules=[],n.position=N;var G=m(q,n);_=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")}}(),f=(X=n.Utils).getBounds;var m=X.extend,K=(x=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=f(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 f(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,p=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,n=e.pinnedClass;t&&p.push(t),n&&p.push(n)})),p.forEach((function(e){["left","top","right","bottom"].forEach((function(t){p.push(e+"-"+t)}))}));var h=[],g=m({},o),y=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 f=void 0,p=void 0;if(s.indexOf(" ")>=0){var m=s.split(" "),v=_(m,2);p=v[0],f=v[1]}else f=p=s;var b=$(t,a);"target"!==p&&"both"!==p||(n<b[1]&&"top"===g.top&&(n+=l,g.top="bottom"),n+i>b[3]&&"bottom"===g.top&&(n-=l,g.top="top")),"together"===p&&("top"===g.top&&("bottom"===y.top&&n<b[1]?(n+=l,g.top="bottom",n+=i,y.top="top"):"top"===y.top&&n+i>b[3]&&n-(i-l)>=b[1]&&(n-=i-l,g.top="bottom",y.top="bottom")),"bottom"===g.top&&("top"===y.top&&n+i>b[3]?(n-=l,g.top="top",n-=i,y.top="bottom"):"bottom"===y.top&&n<b[1]&&n+(2*i-l)<=b[3]&&(n+=i-l,g.top="top",y.top="top")),"middle"===g.top&&(n+i>b[3]&&"top"===y.top?(n-=i,y.top="bottom"):n<b[1]&&"bottom"===y.top&&(n+=i,y.top="top"))),"target"!==f&&"both"!==f||(r<b[0]&&"left"===g.left&&(r+=d,g.left="right"),r+c>b[2]&&"right"===g.left&&(r-=d,g.left="left")),"together"===f&&(r<b[0]&&"left"===g.left?"right"===y.left?(r+=d,g.left="right",r+=c,y.left="left"):"left"===y.left&&(r+=d,g.left="right",r-=c,y.left="right"):r+c>b[2]&&"right"===g.left?"left"===y.left?(r-=d,g.left="left",r-=c,y.left="right"):"right"===y.left&&(r-=d,g.left="left",r+=c,y.left="left"):"center"===g.left&&(r+c>b[2]&&"left"===y.left?(r-=c,y.left="right"):r<b[0]&&"right"===y.left&&(r+=c,y.left="left"))),"element"!==p&&"both"!==p||(n<b[1]&&"bottom"===y.top&&(n+=i,y.top="top"),n+i>b[3]&&"top"===y.top&&(n-=i,y.top="bottom")),"element"!==f&&"both"!==f||(r<b[0]&&("right"===y.left?(r+=c,y.left="left"):"center"===y.left&&(r+=c/2,y.left="left")),r+c>b[2]&&("left"===y.left?(r-=c,y.left="right"):"center"===y.left&&(r-=c/2,y.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,x,O=[],k=[];n<b[1]&&(u.indexOf("top")>=0?(n=b[1],O.push("top")):k.push("top")),n+i>b[3]&&(u.indexOf("bottom")>=0?(n=b[3]-i,O.push("bottom")):k.push("bottom")),r<b[0]&&(u.indexOf("left")>=0?(r=b[0],O.push("left")):k.push("left")),r+c>b[2]&&(u.indexOf("right")>=0?(r=b[2]-c,O.push("right")):k.push("right")),O.length&&(w=void 0,w=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),h.push(w),O.forEach((function(e){h.push(w+"-"+e)}))),k.length&&(x=void 0,x=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),h.push(x),k.forEach((function(e){h.push(x+"-"+e)}))),(O.indexOf("left")>=0||O.indexOf("right")>=0)&&(y.left=g.left=!1),(O.indexOf("top")>=0||O.indexOf("bottom")>=0)&&(y.top=g.top=!1),g.top===o.top&&g.left===o.left&&y.top===t.attachment.top&&y.left===t.attachment.left||(t.updateAttachClasses(y,g),t.trigger("update",{attachment:y,targetAttachment:g}))})),k((function(){!1!==t.options.addTargetClasses&&x(t.target,h,p),x(t.element,h,p)})),{top:n,left:r}}});var X,f=(X=n.Utils).getBounds,x=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 f(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=[],p=[],h=["left","top","right","bottom"];return d.push(this.getClass("abutted")),h.forEach((function(e){d.push(t.getClass("abutted")+"-"+e)})),l.length&&p.push(this.getClass("abutted")),l.forEach((function(e){p.push(t.getClass("abutted")+"-"+e)})),k((function(){!1!==t.options.addTargetClasses&&x(t.target,p,d),x(t.element,p,d)})),!0}}),_=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=_(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,f=Object.setPrototypeOf,d=Object.isFrozen,p=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,y=Object.create,v="undefined"!=typeof Reflect&&Reflect,b=v.apply,w=v.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 x=D(Array.prototype.forEach),O=D(Array.prototype.pop),k=D(Array.prototype.push),E=D(String.prototype.toLowerCase),S=D(String.prototype.match),_=D(String.prototype.replace),j=D(String.prototype.indexOf),P=D(String.prototype.trim),C=D(RegExp.prototype.test),A=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,f&&f(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 R(e){var t,n=y(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function M(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=p(e)}function r(e){return console.warn("fallback value for",e),null}return r}var N=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"]),I=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"]),F=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"]),L=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"]),U=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=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"]),z=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"]),V=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"]),Y=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=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,f=t.NamedNodeMap,d=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,p=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,y=u.prototype,v=M(y,"cloneNode"),b=M(y,"nextSibling"),w=M(y,"childNodes"),D=M(y,"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,fe=r.importNode,de={};try{de=R(a).documentMode?a.documentMode:{}}catch(e){}var pe={};n.isSupported="function"==typeof D&&ce&&void 0!==ce.createHTMLDocument&&9!==de;var he,me,ge=q,ye=G,ve=K,be=$,we=Q,xe=J,Oe=X,ke=null,Ee=Z({},[].concat(o(N),o(I),o(F),o(B),o(H))),Se=null,_e=Z({},[].concat(o(W),o(z),o(V),o(Y))),je=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,Ce=null,Ae=!0,De=!0,Te=!1,Ze=!1,Re=!1,Me=!1,Ne=!1,Ie=!1,Fe=!1,Le=!1,Be=!0,Ue=!1,He="user-content-",We=!0,ze=!1,Ve={},Ye=null,qe=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=R(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,Se="ALLOWED_ATTR"in t?Z({},t.ALLOWED_ATTR,me):_e,$e="ADD_URI_SAFE_ATTR"in t?Z(R(Xe),t.ADD_URI_SAFE_ATTR,me):Xe,Ge="ADD_DATA_URI_TAGS"in t?Z(R(Ke),t.ADD_DATA_URI_TAGS,me):Ke,Ye="FORBID_CONTENTS"in t?Z({},t.FORBID_CONTENTS,me):qe,Pe="FORBID_TAGS"in t?Z({},t.FORBID_TAGS,me):{},Ce="FORBID_ATTR"in t?Z({},t.FORBID_ATTR,me):{},Ve="USE_PROFILES"in t&&t.USE_PROFILES,Ae=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,Te=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ze=t.SAFE_FOR_TEMPLATES||!1,Re=t.WHOLE_DOCUMENT||!1,Ie=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Le=t.RETURN_TRUSTED_TYPE||!1,Ne=t.FORCE_BODY||!1,Be=!1!==t.SANITIZE_DOM,Ue=t.SANITIZE_NAMED_PROPS||!1,We=!1!==t.KEEP_CONTENT,ze=t.IN_PLACE||!1,Oe=t.ALLOWED_URI_REGEXP||Oe,tt=t.NAMESPACE||et,t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(je.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(je.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(je.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ze&&(De=!1),Fe&&(Ie=!0),Ve&&(ke=Z({},o(H)),Se=[],!0===Ve.html&&(Z(ke,N),Z(Se,W)),!0===Ve.svg&&(Z(ke,I),Z(Se,z),Z(Se,Y)),!0===Ve.svgFilters&&(Z(ke,F),Z(Se,z),Z(Se,Y)),!0===Ve.mathMl&&(Z(ke,B),Z(Se,V),Z(Se,Y))),t.ADD_TAGS&&(ke===Ee&&(ke=R(ke)),Z(ke,t.ADD_TAGS,me)),t.ADD_ATTR&&(Se===_e&&(Se=R(Se)),Z(Se,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&Z($e,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(Ye===qe&&(Ye=R(Ye)),Z(Ye,t.FORBID_CONTENTS,me)),We&&(ke["#text"]=!0),Re&&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"]),ft=Z({},["title","style","font","a","script"]),dt=Z({},I);Z(dt,F),Z(dt,L);var pt=Z({},B);Z(pt,U);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(pt[n]):e.namespaceURI===et&&!(t.namespaceURI===Je&&!lt[r])&&!(t.namespaceURI===Qe&&!ut[r])&&!pt[n]&&(ft[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&&!Se[e])if(Ie||Fe)try{mt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},yt=function(e){var t,n;if(Ne)e="<remove></remove>"+e;else{var r=S(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,Re?"html":"body")[0]:Re?t.documentElement:i},vt=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 p&&("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},xt=function(e,t,r){pe[e]&&x(pe[e],(function(e){e.call(n,t,r,at)}))},Ot=function(e){var t;if(xt("beforeSanitizeElements",e,null),bt(e))return mt(e),!0;if(C(/[\u0080-\uFFFF]/,e.nodeName))return mt(e),!0;var r=me(e.nodeName);if(xt("uponSanitizeElement",e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&C(/<[/\w]/g,e.innerHTML)&&C(/<[/\w]/g,e.textContent))return mt(e),!0;if("select"===r&&C(/<template/i,e.innerHTML))return mt(e),!0;if(!ke[r]||Pe[r]){if(!Pe[r]&&Et(r)){if(je.tagNameCheck instanceof RegExp&&C(je.tagNameCheck,r))return!1;if(je.tagNameCheck instanceof Function&&je.tagNameCheck(r))return!1}if(We&&!Ye[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(v(a[i],!0),b(e))}return mt(e),!0}return e instanceof u&&!ht(e)?(mt(e),!0):"noscript"!==r&&"noembed"!==r||!C(/<\/no(script|embed)/i,e.innerHTML)?(Ze&&3===e.nodeType&&(t=e.textContent,t=_(t,ge," "),t=_(t,ye," "),e.textContent!==t&&(k(n.removed,{element:e.cloneNode()}),e.textContent=t)),xt("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&&!Ce[t]&&C(ve,t));else if(Ae&&C(be,t));else if(!Se[t]||Ce[t]){if(!(Et(e)&&(je.tagNameCheck instanceof RegExp&&C(je.tagNameCheck,e)||je.tagNameCheck instanceof Function&&je.tagNameCheck(e))&&(je.attributeNameCheck instanceof RegExp&&C(je.attributeNameCheck,t)||je.attributeNameCheck instanceof Function&&je.attributeNameCheck(t))||"is"===t&&je.allowCustomizedBuiltInElements&&(je.tagNameCheck instanceof RegExp&&C(je.tagNameCheck,n)||je.tagNameCheck instanceof Function&&je.tagNameCheck(n))))return!1}else if($e[t]);else if(C(Oe,_(n,xe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==j(n,"data:")||!Ge[e])if(Te&&!C(we,_(n,xe,"")));else if(n)return!1;return!0},Et=function(e){return e.indexOf("-")>0},St=function(t){var r,o,a,i;xt("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(i=c.length;i--;){var u=r=c[i],l=u.name,f=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,xt("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(gt(l,t),s.keepAttr))if(C(/\/>/i,o))gt(l,t);else{Ze&&(o=_(o,ge," "),o=_(o,ye," "));var d=me(t.nodeName);if(kt(d,a,o)){if(!Ue||"id"!==a&&"name"!==a||(gt(l,t),o=He+o),oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(d,a)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{f?t.setAttributeNS(f,l,o):t.setAttribute(l,o),O(n.removed)}catch(e){}}}}xt("afterSanitizeAttributes",t,null)}},_t=function e(t){var n,r=vt(t);for(xt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)xt("uponSanitizeShadowNode",n,null),Ot(n)||(n.content instanceof i&&e(n.content),St(n));xt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o){var a,c,u,l,f,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 A("toString is not a function");if("string"!=typeof(o=o.toString()))throw A("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(Me||st(d),n.removed=[],"string"==typeof o&&(ze=!1),ze){if(o.nodeName){var p=me(o.nodeName);if(!ke[p]||Pe[p])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof s)1===(c=(a=yt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===c.nodeName||"HTML"===c.nodeName?a=c:a.appendChild(c);else{if(!Ie&&!Ze&&!Re&&-1===o.indexOf("<"))return oe&&Le?oe.createHTML(o):o;if(!(a=yt(o)))return Ie?null:Le?ae:""}a&&Ne&&mt(a.firstChild);for(var h=vt(ze?o:a);u=h.nextNode();)3===u.nodeType&&u===l||Ot(u)||(u.content instanceof i&&_t(u.content),St(u),l=u);if(l=null,ze)return o;if(Ie){if(Fe)for(f=ue.call(a.ownerDocument);a.firstChild;)f.appendChild(a.firstChild);else f=a;return Se.shadowroot&&(f=fe.call(r,f,!0)),f}var m=Re?a.outerHTML:a.innerHTML;return Re&&ke["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&C(ee,a.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+m),Ze&&(m=_(m,ge," "),m=_(m,ye," ")),oe&&Le?oe.createHTML(m):m},n.setConfig=function(e){st(e),Me=!0},n.clearConfig=function(){at=null,Me=!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&&(pe[e]=pe[e]||[],k(pe[e],t))},n.removeHook=function(e){if(pe[e])return O(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}return re()}()},1024:e=>{"use strict";e.exports=t},30314:t=>{"use strict";t.exports=e},55721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o,a,i){var c=new Date(0);return c.setUTCFullYear(e,t,n),c.setUTCHours(r,o,a,i),c},e.exports=t.default},25855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=function(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale);return r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=n.length-1;r>=0;--r)if("timeZoneName"===n[r].type)return n[r].value}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,t)},e.exports=t.default},32734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,a,f;if(""===e)return 0;if(r=c.timezoneZ.exec(e))return 0;if(r=c.timezoneHH.exec(e))return u(f=parseInt(r[1],10))?-f*i:NaN;if(r=c.timezoneHHMM.exec(e)){f=parseInt(r[1],10);var d=parseInt(r[2],10);return u(f,d)?(a=Math.abs(f)*i+6e4*d,f>0?-a:a):NaN}if(function(e){if(l[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),l[e]=!0,!0}catch(e){return!1}}(e)){t=new Date(t||Date.now());var p=n?t:function(e){return(0,o.default)(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),h=s(p,e),m=n?h:function(e,t,n){var r=e.getTime()-t,o=s(new Date(r),n);if(t===o)return t;r-=o-t;var a=s(new Date(r),n);if(o===a)return o;return Math.max(o,a)}(t,h,e);return-m}return NaN};var r=a(n(2712)),o=a(n(55721));function a(e){return e&&e.__esModule?e:{default:e}}var i=36e5,c={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function s(e,t){var n=(0,r.default)(e,t),a=(0,o.default)(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),c=i%1e3;return a-(i-=c>=0?c:1e3+c)}function u(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}var l={};e.exports=t.default},7048:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;t.default=n,e.exports=t.default},2712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var o=function(e){if(!r[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===t||"06/25/2014 00:00:00"===t;r[e]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return r[e]}(t);return o.formatToParts?function(e,t){try{for(var r=e.formatToParts(t),o=[],a=0;a<r.length;a++){var i=n[r[a].type];i>=0&&(o[i]=parseInt(r[a].value,10))}return o}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(o,e):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(o,e)};var n={year:0,month:1,day:2,hour:3,minute:4,second:5};var r={};e.exports=t.default},33826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(25855)),o=a(n(32734));function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=e?(0,o.default)(e,t,!0)/6e4:t.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function c(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function s(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+c(Math.floor(o/60),2)+n+c(Math.floor(o%60),2)}function u(e,t){return e%60==0?(e>0?"-":"+")+c(Math.abs(e)/60,2):s(e,t)}var l={X:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);if(0===o)return"Z";switch(t){case"X":return u(o);case"XXXX":case"XX":return s(o);default:return s(o,":")}},x:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);switch(t){case"x":return u(o);case"xxxx":case"xx":return s(o);default:return s(o,":")}},O:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+c(a,2)}(o,":");default:return"GMT"+s(o,":")}},z:function(e,t,n,o){var a=o._originalDate||e;switch(t){case"z":case"zz":case"zzz":return(0,r.default)("short",a,o);default:return(0,r.default)("long",a,o)}}};t.default=l,e.exports=t.default},56558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i=String(t),s=n||{},u=i.match(c);if(u){var l=(0,a.default)(e,s);i=u.reduce((function(e,t){if("'"===t[0])return e;var n=e.indexOf(t),r="'"===e[n-1],a=e.replace(t,"'"+o.default[t[0]](l,t,null,s)+"'");return r?a.substring(0,n-1)+a.substring(n+1):a}),i)}return(0,r.default)(e,i,s)};var r=i(n(15616)),o=i(n(33826)),a=i(n(21476));function i(e){return e&&e.__esModule?e:{default:e}}var c=/([xXOz]+)|''|'(''|[^'])+('|$)/g;e.exports=t.default},26645:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var c=(0,r.default)(i);return c.timeZone=t,(0,o.default)((0,a.default)(e,t),n,c)};var r=i(n(46420)),o=i(n(56558)),a=i(n(1132));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},24992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return-(0,o.default)(e,t)};var r,o=(r=n(32734))&&r.__esModule?r:{default:r};e.exports=t.default},70722:(e,t,n)=>{"use strict";e.exports={format:n(56558),formatInTimeZone:n(26645),getTimezoneOffset:n(24992),toDate:n(21476),utcToZonedTime:n(1132),zonedTimeToUtc:n(68516)}},21476:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},i=null==n.additionalDigits?2:(0,r.default)(n.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var c=l(e),s=f(c.date,i),u=s.year,h=s.restDateString,m=d(h,u);if(isNaN(m))return new Date(NaN);if(m){var g,y=m.getTime(),v=0;if(c.time&&(v=p(c.time),isNaN(v)))return new Date(NaN);if(c.timeZone||n.timeZone){if(g=(0,a.default)(c.timeZone||n.timeZone,new Date(y+v)),isNaN(g))return new Date(NaN)}else g=(0,o.default)(new Date(y+v)),g=(0,o.default)(new Date(y+v+g));return new Date(y+v+g)}return new Date(NaN)};var r=c(n(82084)),o=c(n(93561)),a=c(n(32734)),i=c(n(7048));function c(e){return e&&e.__esModule?e:{default:e}}var s=36e5,u={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:i.default};function l(e){var t,n={},r=u.dateTimePattern.exec(e);if(r?(n.date=r[1],t=r[3]):(r=u.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){var o=u.timeZone.exec(t);o?(n.time=t.replace(o[1],""),n.timeZone=o[1].trim()):n.time=t}return n}function f(e,t){var n,r=u.YYY[t],o=u.YYYYY[t];if(n=u.YYYY.exec(e)||o.exec(e)){var a=n[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(n=u.YY.exec(e)||r.exec(e)){var i=n[1];return{year:100*parseInt(i,10),restDateString:e.slice(i.length)}}return{year:null}}function d(e,t){if(null===t)return null;var n,r,o,a;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=u.MM.exec(e))return r=new Date(0),v(t,o=parseInt(n[1],10)-1)?(r.setUTCFullYear(t,o),r):new Date(NaN);if(n=u.DDD.exec(e)){r=new Date(0);var i=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=y(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,i)?(r.setUTCFullYear(t,0,i),r):new Date(NaN)}if(n=u.MMDD.exec(e)){r=new Date(0),o=parseInt(n[1],10)-1;var c=parseInt(n[2],10);return v(t,o,c)?(r.setUTCFullYear(t,o,c),r):new Date(NaN)}if(n=u.Www.exec(e))return b(t,a=parseInt(n[1],10)-1)?h(t,a):new Date(NaN);if(n=u.WwwD.exec(e)){a=parseInt(n[1],10)-1;var s=parseInt(n[2],10)-1;return b(t,a,s)?h(t,a,s):new Date(NaN)}return null}function p(e){var t,n,r;if(t=u.HH.exec(e))return w(n=parseFloat(t[1].replace(",",".")))?n%24*s:NaN;if(t=u.HHMM.exec(e))return w(n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")))?n%24*s+6e4*r:NaN;if(t=u.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var o=parseFloat(t[3].replace(",","."));return w(n,r,o)?n%24*s+6e4*r+1e3*o:NaN}return null}function h(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var o=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}var m=[31,28,31,30,31,30,31,31,30,31,30,31],g=[31,29,31,30,31,30,31,31,30,31,30,31];function y(e){return e%400==0||e%4==0&&e%100!=0}function v(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var r=y(e);if(r&&n>g[t])return!1;if(!r&&n>m[t])return!1}return!0}function b(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function w(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}e.exports=t.default},1132:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=(0,o.default)(e,n),i=(0,r.default)(t,a,!0),c=new Date(a.getTime()-i),s=new Date(0);return s.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),s.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),s};var r=a(n(32734)),o=a(n(21476));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},68516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if("string"==typeof e&&!e.match(a.default)){var s=(0,r.default)(n);return s.timeZone=t,(0,o.default)(e,s)}var u=(0,o.default)(e,n),l=(0,c.default)(u.getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()).getTime(),f=(0,i.default)(t,new Date(l));return new Date(l+f)};var r=s(n(46420)),o=s(n(21476)),a=s(n(7048)),i=s(n(32734)),c=s(n(55721));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},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",198:"vendor-fontawesome",614:"vendor-icons",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"518cffead3ac4a62b00f",198:"a5995f2ba1e5d1e75ee9",414:"51c4062a5485a4775775",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 f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+o){c=f;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(p);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},p=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=377,i.p="/",(()=>{var e={377:0,68: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,n=i(45697),r=i.n(n),o=i(50600),a=i(55954),s=i(22731),u=i(19743),l=i(45430),f=i(27023),d=i(19235),p=i(47488),h=i(85449),m=i(91411),g=i(76538),y=i(58804),v=i(24875),b=i(30759),w=i(7281),x=v.FS.color("secondaryLight"),O=v.FS.color("paper"),k=v.FS.color("secondary"),E=(0,y.vJ)(e||(e=(0,m.Z)(["\n .react-datepicker-popper {\n && {\n z-index: 5;\n margin: 0;\n }\n }\n\n .react-datepicker {\n && {\n * {\n box-sizing: content-box; // prevent box-sizing problems in widgets\n }\n border-radius: 0;\n border: 1px solid ",";\n ","\n\n .react-datepicker__header {\n ","\n border-radius: 0;\n background-color: ",";\n padding-bottom: 0;\n }\n\n .react-datepicker__navigation {\n top: 3px;\n }\n\n .react-datepicker__navigation--previous,\n .react-datepicker__navigation--next {\n margin-top: ",";\n }\n ","\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow,\n .react-datepicker__navigation-icon:before {\n border-color: "," !important;\n border-width: 1.5px 1.5px 0 0;\n }\n\n .react-datepicker__header__dropdown {\n font-size: ",";\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n font-size: ",";\n }\n }\n\n .react-datepicker__current-month {\n ","\n }\n\n .react-datepicker__day-name {\n color: ",";\n font-size: ",";\n }\n\n .react-datepicker__day,\n .react-datepicker__day-name {\n border: 1px solid transparent;\n padding: ",";\n outline: none;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n padding: ",";\n }\n }\n\n .react-datepicker__day--selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n\n &:focus {\n border-color: ",";\n background-color: ",";\n }\n }\n\n .react-datepicker__day--keyboard-selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n }\n\n .react-datepicker__day--today,\n .react-datepicker__month-text--today,\n .react-datepicker__quarter-text--today,\n .react-datepicker__year-text--today {\n border-radius: 50%;\n border-color: ",";\n }\n\n .react-datepicker__today-button {\n ","\n background-color: ",";\n border-top: 0;\n padding-bottom: ",";\n padding-top: 0;\n\n &:hover > button {\n background-color: ",";\n }\n }\n\n .react-datepicker__input-time-container {\n display: flex;\n justify-content: center;\n margin: 5px 0;\n\n .react-datepicker-time__input {\n margin: 0;\n\n input {\n text-align: center;\n }\n }\n }\n\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--scroll {\n width: 190px;\n margin: 8px auto 0;\n display: grid;\n grid-template-columns: 100px 85px;\n }\n\n .react-datepicker__month-read-view,\n .react-datepicker__year-read-view {\n color: ",";\n visibility: visible !important;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n font-size: ",";\n }\n\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type,\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n border-radius: 0;\n }\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n top: 6px;\n right: -10px;\n width: 5px;\n height: 5px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: -8px;\n }\n }\n\n .react-datepicker__year-read-view--down-arrow {\n right: -4px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: 3px;\n }\n }\n\n .react-datepicker__day:hover,\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover,\n .react-datepicker__year-text:hover {\n border-color: ",";\n background-color: ",";\n border-radius: 50%;\n color: ",";\n }\n\n .react-datepicker__year-dropdown {\n left: 40%;\n top: 45px;\n }\n\n .react-datepicker__navigation--years-upcoming:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 8px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(-45deg);\n }\n\n .react-datepicker__navigation--years-previous:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 6px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(135deg);\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ",";\n border-radius: 0;\n border-color: ",";\n box-shadow: 0 0 5px rgb(0 0 0 / 30%);\n }\n\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: ",";\n }\n\n .react-datepicker__month-option--selected {\n left: 10px;\n }\n\n .react-datepicker__day--outside-month {\n color: ",";\n }\n }\n }\n"])),x,(0,b.Z)(),(0,b.Z)(),x,w.Z.space(-.6),"\n .react-datepicker__current-month.react-datepicker__current-month--hasYearDropdown.react-datepicker__current-month--hasMonthDropdown {\n // Avoid showing the month and year a second time when it has month and year dropdowns.\n display: none;\n }\n",O,w.Z.font(2.85),w.Z.font(1.8),(0,b.Z)({fontWeight:v.FS.fontWeight("bold")}),O,w.Z.font(-2),w.Z.space(-.6),w.Z.space(-1.2),k,k,k,x,x,x,k,(0,b.Z)(),O,w.Z.space(-.5),(function(e){var t=e.theme;return(0,g._j)(.1,t.colors.paper)}),O,w.Z.font(0),x,x,O,v.FS.color("text"),v.FS.color("text"),O,x,(function(e){var t=e.theme;return(0,g._j)(.1,t.colors.paper)}),(function(e){var t=e.theme;return(0,g.$n)(.7,t.colors.text)})),S=i(85893);const _=function(){return(0,S.jsx)(S.Fragment,{children:t||(t=(0,S.jsx)(E,{}))})};var j=i(23369),P=i(98773);const C={propTypes:r().shape({embedType:r().oneOf(P.Nc),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})};var A=i(74806),D=i(50558),T=i(44049),Z="addressUpdate/SET_FORM_DEFINITION",R="addressUpdate/LOAD_VIEW",M="addressUpdate/SET_ENTITY",N="addressUpdate/SUBMIT_FORM",I="addressUpdate/UNLOAD_VIEW",F="addressUpdate/FIRE_TOUCHED",L="addressUpdate/SET_TOUCHED",B="addressUpdate/SET_FORM_NAME",U="addressUpdate/TOCH_ALL_FIELDS",H="addressUpdate/SET_FIELD_DEFINITIONS",W=function(e){return{type:Z,payload:{formDefinition:e}}},z=function(e){return{type:M,payload:{entity:e}}},V=function(e){return{type:H,payload:{fieldDefinitions:e}}},Y=i(1024),q=i(50258),G=i(85208),K=i(59713),$=i.n(K),X=i(86386),Q=i(28333),J=i(35997);function ee(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 te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){$()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ne=(0,X.Z)({form:"addressForm",destroyOnUnmount:!1})((function(e){var t=e.entity,n=e.formDefinition,r=e.formValues,o=e.submitForm,a=e.intl,i=e.submitting,c=e.valid,s=e.anyTouched,u=e.fireTouched,l=e.dirty,f=e.formErrors,d=e.form,h=e.mode,m=!(null!=t&&t.editable),g=(0,Y.useRef)(null);J.Z.useAutofocus(g);var y=p.Z.hooks.useFormEvents({submitForm:o});(0,Y.useEffect)((function(){u(l&&s)}),[l,s,u]);var v={save:function(e){return m?null:(0,S.jsx)(Q.Z,te({intl:a,submitting:i,mode:h,hasErrors:!c&&s,formErrors:f},e))}};return(0,S.jsx)("form",te(te({},y),{},{ref:g,children:(0,S.jsx)(p.Z.FormBuilder,{entity:t,formName:d,formDefinition:n,formValues:r,fieldMappingType:"editable",mode:h,readonly:m,customRenderedActions:v})}))}));var re={submitForm:function(){return{type:N}},fireTouched:function(e){return{type:F,payload:{touched:e}}}};const oe=(0,D.connect)((function(e){return{mode:e.addressUpdate.mode,formDefinition:e.addressUpdate.formDefinition,entity:e.addressUpdate.entity,formValues:(0,G.Z)("addressForm")(e),formErrors:p.Z.selectors.getFormErrors("addressForm")(e)}}),re)((0,A.ZP)(ne));var ae;const ie=function(e){var t=e.formDefinition,n=e.formInitialValues,r=e.fieldDefinitions,o=e.mode,a=e.unloadView;(0,Y.useEffect)((function(){return function(){a()}}),[a]);var i=p.Z.hooks.useAsyncValidation({formInitialValues:n,fieldDefinitions:r,formDefinition:t,mode:o}),c=p.Z.hooks.useSyncValidation({fieldDefinitions:r,formDefinition:t}),s=r.map((function(e){return e.path}));return(0,S.jsxs)(S.Fragment,{children:[ae||(ae=(0,S.jsx)(f.Z.Notifications,{})),(0,S.jsx)(q.Z,{required:[n],children:(0,S.jsx)(oe,{validate:c,asyncValidate:i,asyncBlurFields:s})})]})};var ce={unloadView:function(){return{type:I}}};const se=(0,D.connect)((function(e){return{mode:e.addressUpdate.mode,formDefinition:e.addressUpdate.formDefinition,formInitialValues:(0,T.Z)("addressForm")(e),fieldDefinitions:e.addressUpdate.fieldDefinitions}}),ce)((0,A.ZP)(ie));var ue,le=i(85300),fe=i(81770),de=(ue={},$()(ue,B,fe.Z.singleTransferReducer("formName")),$()(ue,Z,fe.Z.singleTransferReducer("formDefinition")),$()(ue,M,fe.Z.singleTransferReducer("entity")),$()(ue,L,fe.Z.singleTransferReducer("touched")),$()(ue,H,fe.Z.singleTransferReducer("fieldDefinitions")),ue),pe={formName:"",formDefinition:{},entity:{},touched:!1,fieldDefinitions:[],mode:"update"};const he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pe,t=arguments.length>1?arguments[1]:void 0,n=de[t.type];return n?n(e,t):e};var me=i(87757),ge=i.n(me),ye=i(64738),ve=i(92708),be=i(34857),we=i(63094),xe=i(1084),Oe=i(92745),ke=i(91755);function Ee(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 Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){$()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _e=ge().mark(Pe),je=ge().mark(Ce);function Pe(e,t,n){var r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r={method:"PATCH",queryParams:{_widget_key:e},body:t,acceptedErrorCodes:["VALIDATION_FAILED"],acceptedStatusCodes:[409]},a.next=3,(0,be.RE)(we.Z.requestSaga,"widget/addressUpdate",r);case 3:if("VALIDATION_FAILED"!==(o=a.sent).body.errorCode){a.next=6;break}throw new ke.t(p.Z.validationErrorToFormError(t,n,o.body.errors));case 6:if(409!==o.status||!o.body.information){a.next=8;break}throw new we.Z.InformationError(o.body.information);case 8:return a.abrupt("return",o.body);case 9:case"end":return a.stop()}}),_e)}function Ce(e,t){var n,r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,be.RE)(we.Z.buildRequestQuery,t);case 2:return n=a.sent,r={method:"GET",queryParams:Se(Se({},we.Z.requestQueryToUrlParams(n)),{},{_permissions:!0,_omitLinks:!0,_widget_key:e})},a.next=6,(0,be.RE)(we.Z.requestSaga,"widget/addressUpdate",r);case 6:return o=a.sent,a.abrupt("return",o.body);case 8:case"end":return a.stop()}}),je)}var Ae=ge().mark(ze),De=ge().mark(Ve),Te=ge().mark(Ye),Ze=ge().mark(qe),Re=ge().mark(Ge),Me=ge().mark(Ke),Ne=ge().mark($e),Ie=ge().mark(Xe),Fe=ge().mark(Qe),Le=ge().mark(Je),Be=function(e){return e.addressUpdate},Ue=function(e){return e.input},He="addressForm",We={formId:He,stateSelector:Be};function ze(){return ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.$6)([(0,be.Fm)(R,Ge),(0,be.Fm)(I,qe),(0,be.Fm)(U,p.Z.sagasUtils.touchAllFields,We),(0,be.ib)(N,Xe),(0,be.ib)(F,Qe)]);case 2:case"end":return e.stop()}}),Ae)}function Ve(e,t){var n,r;return ge().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,be.RE)(we.Z.fetchForm,e,t);case 2:return n=o.sent,o.next=5,(0,be.gz)(W(n));case 5:return o.next=7,(0,be.RE)(p.Z.getFieldDefinitions,n);case 7:return r=o.sent,o.next=10,(0,be.gz)(V(r));case 10:return o.abrupt("return",{formDefinition:n,fieldDefinitions:r});case 11:case"end":return o.stop()}}),De)}function Ye(e){var t,n,r;return ge().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=j.Z.getWidgetConfigKey(),o.next=3,(0,be.RE)(p.Z.getUsedPaths,e);case 3:return n=o.sent,o.next=6,(0,be.RE)(Ce,t,{paths:n});case 6:return r=o.sent,o.next=9,(0,be.gz)(z(r));case 9:return o.abrupt("return",r);case 10:case"end":return o.stop()}}),Te)}function qe(){return ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.gz)(z(null));case 2:return e.next=4,(0,be.gz)(ye.Z.destroy(He));case 4:case"end":return e.stop()}}),Ze)}function Ge(){var e,t;return ge().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,be.Ys)(Ue);case 2:return e=n.sent,t=e.formName,n.next=6,(0,be.RE)(Ve,t,"detail");case 6:return n.next=8,(0,be.RE)(Je);case 8:case"end":return n.stop()}}),Re)}function Ke(e,t){var n;return ge().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=j.Z.getWidgetConfigKey(),r.next=3,(0,be.RE)(Pe,n,e,t);case 3:return r.next=5,(0,be.RE)(Je);case 5:return r.next=7,(0,be.gz)(f.Z.toaster({type:"success",title:"client.address-update.saveSuccessfulTitle",body:"client.address-update.saveSuccessfulMessage"}));case 7:return r.next=9,(0,be.gz)(ye.Z.stopSubmit(He));case 9:case"end":return r.stop()}}),Me)}function $e(){var e,t,n,r,o,a;return ge().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,be.RE)(p.Z.sagasUtils.getCurrentEntityState,We);case 2:return e=i.sent,t=e.formValues,n=e.initialValues,r=e.mode,o=e.fieldDefinitions,a=e.formDefinition,i.next=10,(0,be.RE)(p.Z.submitValidation,t,n,o,a,r);case 10:case"end":return i.stop()}}),Ne)}function Xe(){var e,t,n;return ge().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,(0,be.Ys)((0,ve.Z)(He));case 3:if(r.sent){r.next=9;break}return r.next=7,(0,be.RE)(p.Z.sagasUtils.handleInvalidForm,We);case 7:r.next=22;break;case 9:return r.next=11,(0,be.gz)(ye.Z.startSubmit(He));case 11:return r.next=13,(0,be.Ys)(Be);case 13:return e=r.sent,t=e.fieldDefinitions,r.next=17,(0,be.RE)($e);case 17:return r.next=19,(0,be.RE)(p.Z.sagasUtils.getEntityForSubmit,We);case 19:return n=r.sent,r.next=22,(0,be.RE)(Ke,n,t);case 22:r.next=28;break;case 24:return r.prev=24,r.t0=r.catch(0),r.next=28,(0,be.RE)(p.Z.sagasUtils.handleSubmitError,We,r.t0);case 28:case"end":return r.stop()}}),Ie,null,[[0,24]])}function Qe(e){var t,n,r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,n=t.touched,a.next=4,(0,be.Ys)(Be);case 4:if(r=a.sent,o=r.touched,n===o){a.next=9;break}return a.next=9,(0,be.gz)({type:L,payload:{touched:n}});case 9:case"end":return a.stop()}}),Fe)}function Je(){var e,t,n,r,o,a,i,c,s,u=arguments;return ge().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return e=!(u.length>0&&void 0!==u[0])||u[0],l.next=3,(0,be.Ys)(Be);case 3:return t=l.sent,n=t.fieldDefinitions,r=t.formName,o=t.mode,l.next=9,(0,be.RE)(Ye,n);case 9:return a=l.sent,l.next=12,(0,be.RE)(Oe.Z.getFlattenEntity,a);case 12:return i=l.sent,l.next=15,(0,be.RE)(xe.Z.enhanceEntityWithDisplayExpressions,i,r,n,o);case 15:return l.next=17,(0,be.RE)(xe.Z.enhanceEntityWithDisplays,i,n);case 17:return l.next=19,(0,be.RE)(p.Z.entityToFormValues,i,n);case 19:return c=l.sent,s=e?{}:{keepDirty:!0,keepValues:!1},l.next=23,(0,be.gz)(ye.Z.initialize(He,c,s));case 23:case"end":return l.stop()}}),Le)}const et={addressUpdate:he,form:le.Z};var tt,nt,rt=[ze],ot="address-update",at=function(e,t,n,r){j.Z.setInputEnvs(t);var i=(0,S.jsxs)(S.Fragment,{children:[tt||(tt=(0,S.jsx)(_,{})),nt||(nt=(0,S.jsx)(se,{}))]}),c=a.Z.createStore(et,rt,t,ot);return l.Z.addToStore(c,(function(){return{}})),o.Z.addToStore(c),f.Z.addToStore(c,!0),u.Z.addToStore(c,!0,["console","remote","notification"]),p.Z.addToStore(c,We),d.Z.addToStore(c,(function(){return{listApp:h.ZP}})),s.Z.addToStore(c),a.Z.createApp(ot,i,c,{input:t,events:n,actions:[{type:R}],publicPath:r,textResourceModules:["component","common","docs-browser","entity-detail",ot]})},it=function(e){return a.Z.useApp({initApp:at,props:e,packageName:ot}).component};it.propTypes={formName:r().string.isRequired,businessUnit:r().string,appContext:C.propTypes.isRequired,backendUrl:r().string};var ct=a.Z.createBundleableApp(ot,at,it);a.Z.registerAppInRegistry(ct.name,ct.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,f=Object.setPrototypeOf,d=Object.isFrozen,p=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,y=Object.create,v="undefined"!=typeof Reflect&&Reflect,b=v.apply,w=v.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 x=D(Array.prototype.forEach),O=D(Array.prototype.pop),k=D(Array.prototype.push),E=D(String.prototype.toLowerCase),S=D(String.prototype.match),_=D(String.prototype.replace),j=D(String.prototype.indexOf),P=D(String.prototype.trim),C=D(RegExp.prototype.test),A=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,f&&f(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 R(e){var t,n=y(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function M(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=p(e)}function r(e){return console.warn("fallback value for",e),null}return r}var N=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"]),I=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"]),F=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"]),L=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"]),U=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=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"]),z=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"]),V=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"]),Y=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=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,f=t.NamedNodeMap,d=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,p=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,y=u.prototype,v=M(y,"cloneNode"),b=M(y,"nextSibling"),w=M(y,"childNodes"),D=M(y,"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,fe=r.importNode,de={};try{de=R(a).documentMode?a.documentMode:{}}catch(e){}var pe={};n.isSupported="function"==typeof D&&ce&&void 0!==ce.createHTMLDocument&&9!==de;var he,me,ge=q,ye=G,ve=K,be=$,we=Q,xe=J,Oe=X,ke=null,Ee=Z({},[].concat(o(N),o(I),o(F),o(B),o(H))),Se=null,_e=Z({},[].concat(o(W),o(z),o(V),o(Y))),je=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,Ce=null,Ae=!0,De=!0,Te=!1,Ze=!1,Re=!1,Me=!1,Ne=!1,Ie=!1,Fe=!1,Le=!1,Be=!0,Ue=!1,He="user-content-",We=!0,ze=!1,Ve={},Ye=null,qe=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=R(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,Se="ALLOWED_ATTR"in t?Z({},t.ALLOWED_ATTR,me):_e,$e="ADD_URI_SAFE_ATTR"in t?Z(R(Xe),t.ADD_URI_SAFE_ATTR,me):Xe,Ge="ADD_DATA_URI_TAGS"in t?Z(R(Ke),t.ADD_DATA_URI_TAGS,me):Ke,Ye="FORBID_CONTENTS"in t?Z({},t.FORBID_CONTENTS,me):qe,Pe="FORBID_TAGS"in t?Z({},t.FORBID_TAGS,me):{},Ce="FORBID_ATTR"in t?Z({},t.FORBID_ATTR,me):{},Ve="USE_PROFILES"in t&&t.USE_PROFILES,Ae=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,Te=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ze=t.SAFE_FOR_TEMPLATES||!1,Re=t.WHOLE_DOCUMENT||!1,Ie=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Le=t.RETURN_TRUSTED_TYPE||!1,Ne=t.FORCE_BODY||!1,Be=!1!==t.SANITIZE_DOM,Ue=t.SANITIZE_NAMED_PROPS||!1,We=!1!==t.KEEP_CONTENT,ze=t.IN_PLACE||!1,Oe=t.ALLOWED_URI_REGEXP||Oe,tt=t.NAMESPACE||et,t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(je.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(je.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(je.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ze&&(De=!1),Fe&&(Ie=!0),Ve&&(ke=Z({},o(H)),Se=[],!0===Ve.html&&(Z(ke,N),Z(Se,W)),!0===Ve.svg&&(Z(ke,I),Z(Se,z),Z(Se,Y)),!0===Ve.svgFilters&&(Z(ke,F),Z(Se,z),Z(Se,Y)),!0===Ve.mathMl&&(Z(ke,B),Z(Se,V),Z(Se,Y))),t.ADD_TAGS&&(ke===Ee&&(ke=R(ke)),Z(ke,t.ADD_TAGS,me)),t.ADD_ATTR&&(Se===_e&&(Se=R(Se)),Z(Se,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&Z($e,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(Ye===qe&&(Ye=R(Ye)),Z(Ye,t.FORBID_CONTENTS,me)),We&&(ke["#text"]=!0),Re&&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"]),ft=Z({},["title","style","font","a","script"]),dt=Z({},I);Z(dt,F),Z(dt,L);var pt=Z({},B);Z(pt,U);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(pt[n]):e.namespaceURI===et&&!(t.namespaceURI===Je&&!lt[r])&&!(t.namespaceURI===Qe&&!ut[r])&&!pt[n]&&(ft[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&&!Se[e])if(Ie||Fe)try{mt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},yt=function(e){var t,n;if(Ne)e="<remove></remove>"+e;else{var r=S(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,Re?"html":"body")[0]:Re?t.documentElement:i},vt=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 p&&("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},xt=function(e,t,r){pe[e]&&x(pe[e],(function(e){e.call(n,t,r,at)}))},Ot=function(e){var t;if(xt("beforeSanitizeElements",e,null),bt(e))return mt(e),!0;if(C(/[\u0080-\uFFFF]/,e.nodeName))return mt(e),!0;var r=me(e.nodeName);if(xt("uponSanitizeElement",e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&C(/<[/\w]/g,e.innerHTML)&&C(/<[/\w]/g,e.textContent))return mt(e),!0;if("select"===r&&C(/<template/i,e.innerHTML))return mt(e),!0;if(!ke[r]||Pe[r]){if(!Pe[r]&&Et(r)){if(je.tagNameCheck instanceof RegExp&&C(je.tagNameCheck,r))return!1;if(je.tagNameCheck instanceof Function&&je.tagNameCheck(r))return!1}if(We&&!Ye[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(v(a[i],!0),b(e))}return mt(e),!0}return e instanceof u&&!ht(e)?(mt(e),!0):"noscript"!==r&&"noembed"!==r||!C(/<\/no(script|embed)/i,e.innerHTML)?(Ze&&3===e.nodeType&&(t=e.textContent,t=_(t,ge," "),t=_(t,ye," "),e.textContent!==t&&(k(n.removed,{element:e.cloneNode()}),e.textContent=t)),xt("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&&!Ce[t]&&C(ve,t));else if(Ae&&C(be,t));else if(!Se[t]||Ce[t]){if(!(Et(e)&&(je.tagNameCheck instanceof RegExp&&C(je.tagNameCheck,e)||je.tagNameCheck instanceof Function&&je.tagNameCheck(e))&&(je.attributeNameCheck instanceof RegExp&&C(je.attributeNameCheck,t)||je.attributeNameCheck instanceof Function&&je.attributeNameCheck(t))||"is"===t&&je.allowCustomizedBuiltInElements&&(je.tagNameCheck instanceof RegExp&&C(je.tagNameCheck,n)||je.tagNameCheck instanceof Function&&je.tagNameCheck(n))))return!1}else if($e[t]);else if(C(Oe,_(n,xe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==j(n,"data:")||!Ge[e])if(Te&&!C(we,_(n,xe,"")));else if(n)return!1;return!0},Et=function(e){return e.indexOf("-")>0},St=function(t){var r,o,a,i;xt("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(i=c.length;i--;){var u=r=c[i],l=u.name,f=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,xt("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(gt(l,t),s.keepAttr))if(C(/\/>/i,o))gt(l,t);else{Ze&&(o=_(o,ge," "),o=_(o,ye," "));var d=me(t.nodeName);if(kt(d,a,o)){if(!Ue||"id"!==a&&"name"!==a||(gt(l,t),o=He+o),oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(d,a)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{f?t.setAttributeNS(f,l,o):t.setAttribute(l,o),O(n.removed)}catch(e){}}}}xt("afterSanitizeAttributes",t,null)}},_t=function e(t){var n,r=vt(t);for(xt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)xt("uponSanitizeShadowNode",n,null),Ot(n)||(n.content instanceof i&&e(n.content),St(n));xt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o){var a,c,u,l,f,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 A("toString is not a function");if("string"!=typeof(o=o.toString()))throw A("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(Me||st(d),n.removed=[],"string"==typeof o&&(ze=!1),ze){if(o.nodeName){var p=me(o.nodeName);if(!ke[p]||Pe[p])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof s)1===(c=(a=yt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===c.nodeName||"HTML"===c.nodeName?a=c:a.appendChild(c);else{if(!Ie&&!Ze&&!Re&&-1===o.indexOf("<"))return oe&&Le?oe.createHTML(o):o;if(!(a=yt(o)))return Ie?null:Le?ae:""}a&&Ne&&mt(a.firstChild);for(var h=vt(ze?o:a);u=h.nextNode();)3===u.nodeType&&u===l||Ot(u)||(u.content instanceof i&&_t(u.content),St(u),l=u);if(l=null,ze)return o;if(Ie){if(Fe)for(f=ue.call(a.ownerDocument);a.firstChild;)f.appendChild(a.firstChild);else f=a;return Se.shadowroot&&(f=fe.call(r,f,!0)),f}var m=Re?a.outerHTML:a.innerHTML;return Re&&ke["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&C(ee,a.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+m),Ze&&(m=_(m,ge," "),m=_(m,ye," ")),oe&&Le?oe.createHTML(m):m},n.setConfig=function(e){st(e),Me=!0},n.clearConfig=function(){at=null,Me=!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&&(pe[e]=pe[e]||[],k(pe[e],t))},n.removeHook=function(e){if(pe[e])return O(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}return re()}()},1024:e=>{"use strict";e.exports=t},30314:t=>{"use strict";t.exports=e},55721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o,a,i){var c=new Date(0);return c.setUTCFullYear(e,t,n),c.setUTCHours(r,o,a,i),c},e.exports=t.default},25855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=function(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale);return r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=n.length-1;r>=0;--r)if("timeZoneName"===n[r].type)return n[r].value}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,t)},e.exports=t.default},32734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,a,f;if(""===e)return 0;if(r=c.timezoneZ.exec(e))return 0;if(r=c.timezoneHH.exec(e))return u(f=parseInt(r[1],10))?-f*i:NaN;if(r=c.timezoneHHMM.exec(e)){f=parseInt(r[1],10);var d=parseInt(r[2],10);return u(f,d)?(a=Math.abs(f)*i+6e4*d,f>0?-a:a):NaN}if(function(e){if(l[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),l[e]=!0,!0}catch(e){return!1}}(e)){t=new Date(t||Date.now());var p=n?t:function(e){return(0,o.default)(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),h=s(p,e),m=n?h:function(e,t,n){var r=e.getTime()-t,o=s(new Date(r),n);if(t===o)return t;r-=o-t;var a=s(new Date(r),n);if(o===a)return o;return Math.max(o,a)}(t,h,e);return-m}return NaN};var r=a(n(2712)),o=a(n(55721));function a(e){return e&&e.__esModule?e:{default:e}}var i=36e5,c={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function s(e,t){var n=(0,r.default)(e,t),a=(0,o.default)(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),c=i%1e3;return a-(i-=c>=0?c:1e3+c)}function u(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}var l={};e.exports=t.default},7048:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;t.default=n,e.exports=t.default},2712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var o=function(e){if(!r[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===t||"06/25/2014 00:00:00"===t;r[e]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return r[e]}(t);return o.formatToParts?function(e,t){try{for(var r=e.formatToParts(t),o=[],a=0;a<r.length;a++){var i=n[r[a].type];i>=0&&(o[i]=parseInt(r[a].value,10))}return o}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(o,e):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(o,e)};var n={year:0,month:1,day:2,hour:3,minute:4,second:5};var r={};e.exports=t.default},33826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(25855)),o=a(n(32734));function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=e?(0,o.default)(e,t,!0)/6e4:t.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function c(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function s(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+c(Math.floor(o/60),2)+n+c(Math.floor(o%60),2)}function u(e,t){return e%60==0?(e>0?"-":"+")+c(Math.abs(e)/60,2):s(e,t)}var l={X:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);if(0===o)return"Z";switch(t){case"X":return u(o);case"XXXX":case"XX":return s(o);default:return s(o,":")}},x:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);switch(t){case"x":return u(o);case"xxxx":case"xx":return s(o);default:return s(o,":")}},O:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+c(a,2)}(o,":");default:return"GMT"+s(o,":")}},z:function(e,t,n,o){var a=o._originalDate||e;switch(t){case"z":case"zz":case"zzz":return(0,r.default)("short",a,o);default:return(0,r.default)("long",a,o)}}};t.default=l,e.exports=t.default},56558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i=String(t),s=n||{},u=i.match(c);if(u){var l=(0,a.default)(e,s);i=u.reduce((function(e,t){if("'"===t[0])return e;var n=e.indexOf(t),r="'"===e[n-1],a=e.replace(t,"'"+o.default[t[0]](l,t,null,s)+"'");return r?a.substring(0,n-1)+a.substring(n+1):a}),i)}return(0,r.default)(e,i,s)};var r=i(n(15616)),o=i(n(33826)),a=i(n(21476));function i(e){return e&&e.__esModule?e:{default:e}}var c=/([xXOz]+)|''|'(''|[^'])+('|$)/g;e.exports=t.default},26645:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var c=(0,r.default)(i);return c.timeZone=t,(0,o.default)((0,a.default)(e,t),n,c)};var r=i(n(46420)),o=i(n(56558)),a=i(n(1132));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},24992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return-(0,o.default)(e,t)};var r,o=(r=n(32734))&&r.__esModule?r:{default:r};e.exports=t.default},70722:(e,t,n)=>{"use strict";e.exports={format:n(56558),formatInTimeZone:n(26645),getTimezoneOffset:n(24992),toDate:n(21476),utcToZonedTime:n(1132),zonedTimeToUtc:n(68516)}},21476:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},i=null==n.additionalDigits?2:(0,r.default)(n.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var c=l(e),s=f(c.date,i),u=s.year,h=s.restDateString,m=d(h,u);if(isNaN(m))return new Date(NaN);if(m){var g,y=m.getTime(),v=0;if(c.time&&(v=p(c.time),isNaN(v)))return new Date(NaN);if(c.timeZone||n.timeZone){if(g=(0,a.default)(c.timeZone||n.timeZone,new Date(y+v)),isNaN(g))return new Date(NaN)}else g=(0,o.default)(new Date(y+v)),g=(0,o.default)(new Date(y+v+g));return new Date(y+v+g)}return new Date(NaN)};var r=c(n(82084)),o=c(n(93561)),a=c(n(32734)),i=c(n(7048));function c(e){return e&&e.__esModule?e:{default:e}}var s=36e5,u={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:i.default};function l(e){var t,n={},r=u.dateTimePattern.exec(e);if(r?(n.date=r[1],t=r[3]):(r=u.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){var o=u.timeZone.exec(t);o?(n.time=t.replace(o[1],""),n.timeZone=o[1].trim()):n.time=t}return n}function f(e,t){var n,r=u.YYY[t],o=u.YYYYY[t];if(n=u.YYYY.exec(e)||o.exec(e)){var a=n[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(n=u.YY.exec(e)||r.exec(e)){var i=n[1];return{year:100*parseInt(i,10),restDateString:e.slice(i.length)}}return{year:null}}function d(e,t){if(null===t)return null;var n,r,o,a;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=u.MM.exec(e))return r=new Date(0),v(t,o=parseInt(n[1],10)-1)?(r.setUTCFullYear(t,o),r):new Date(NaN);if(n=u.DDD.exec(e)){r=new Date(0);var i=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=y(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,i)?(r.setUTCFullYear(t,0,i),r):new Date(NaN)}if(n=u.MMDD.exec(e)){r=new Date(0),o=parseInt(n[1],10)-1;var c=parseInt(n[2],10);return v(t,o,c)?(r.setUTCFullYear(t,o,c),r):new Date(NaN)}if(n=u.Www.exec(e))return b(t,a=parseInt(n[1],10)-1)?h(t,a):new Date(NaN);if(n=u.WwwD.exec(e)){a=parseInt(n[1],10)-1;var s=parseInt(n[2],10)-1;return b(t,a,s)?h(t,a,s):new Date(NaN)}return null}function p(e){var t,n,r;if(t=u.HH.exec(e))return w(n=parseFloat(t[1].replace(",",".")))?n%24*s:NaN;if(t=u.HHMM.exec(e))return w(n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")))?n%24*s+6e4*r:NaN;if(t=u.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var o=parseFloat(t[3].replace(",","."));return w(n,r,o)?n%24*s+6e4*r+1e3*o:NaN}return null}function h(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var o=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}var m=[31,28,31,30,31,30,31,31,30,31,30,31],g=[31,29,31,30,31,30,31,31,30,31,30,31];function y(e){return e%400==0||e%4==0&&e%100!=0}function v(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var r=y(e);if(r&&n>g[t])return!1;if(!r&&n>m[t])return!1}return!0}function b(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function w(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}e.exports=t.default},1132:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=(0,o.default)(e,n),i=(0,r.default)(t,a,!0),c=new Date(a.getTime()-i),s=new Date(0);return s.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),s.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),s};var r=a(n(32734)),o=a(n(21476));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},68516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if("string"==typeof e&&!e.match(a.default)){var s=(0,r.default)(n);return s.timeZone=t,(0,o.default)(e,s)}var u=(0,o.default)(e,n),l=(0,c.default)(u.getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()).getTime(),f=(0,i.default)(t,new Date(l));return new Date(l+f)};var r=s(n(46420)),o=s(n(21476)),a=s(n(7048)),i=s(n(32734)),c=s(n(55721));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},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",198:"vendor-fontawesome",614:"vendor-icons",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"518cffead3ac4a62b00f",198:"bf7d7e49d7b58e3166c5",414:"51c4062a5485a4775775",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 f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+o){c=f;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(p);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},p=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=377,i.p="/",(()=>{var e={377:0,68: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,n=i(45697),r=i.n(n),o=i(50600),a=i(55954),s=i(22731),u=i(19743),l=i(45430),f=i(27023),d=i(19235),p=i(47488),h=i(85449),m=i(91411),g=i(76538),y=i(58804),v=i(24875),b=i(30759),w=i(7281),x=v.FS.color("secondaryLight"),O=v.FS.color("paper"),k=v.FS.color("secondary"),E=(0,y.vJ)(e||(e=(0,m.Z)(["\n .react-datepicker-popper {\n && {\n z-index: 5;\n margin: 0;\n }\n }\n\n .react-datepicker {\n && {\n * {\n box-sizing: content-box; // prevent box-sizing problems in widgets\n }\n border-radius: 0;\n border: 1px solid ",";\n ","\n\n .react-datepicker__header {\n ","\n border-radius: 0;\n background-color: ",";\n padding-bottom: 0;\n }\n\n .react-datepicker__navigation {\n top: 3px;\n }\n\n .react-datepicker__navigation--previous,\n .react-datepicker__navigation--next {\n margin-top: ",";\n }\n ","\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow,\n .react-datepicker__navigation-icon:before {\n border-color: "," !important;\n border-width: 1.5px 1.5px 0 0;\n }\n\n .react-datepicker__header__dropdown {\n font-size: ",";\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n font-size: ",";\n }\n }\n\n .react-datepicker__current-month {\n ","\n }\n\n .react-datepicker__day-name {\n color: ",";\n font-size: ",";\n }\n\n .react-datepicker__day,\n .react-datepicker__day-name {\n border: 1px solid transparent;\n padding: ",";\n outline: none;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n padding: ",";\n }\n }\n\n .react-datepicker__day--selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n\n &:focus {\n border-color: ",";\n background-color: ",";\n }\n }\n\n .react-datepicker__day--keyboard-selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n }\n\n .react-datepicker__day--today,\n .react-datepicker__month-text--today,\n .react-datepicker__quarter-text--today,\n .react-datepicker__year-text--today {\n border-radius: 50%;\n border-color: ",";\n }\n\n .react-datepicker__today-button {\n ","\n background-color: ",";\n border-top: 0;\n padding-bottom: ",";\n padding-top: 0;\n\n &:hover > button {\n background-color: ",";\n }\n }\n\n .react-datepicker__input-time-container {\n display: flex;\n justify-content: center;\n margin: 5px 0;\n\n .react-datepicker-time__input {\n margin: 0;\n\n input {\n text-align: center;\n }\n }\n }\n\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--scroll {\n width: 190px;\n margin: 8px auto 0;\n display: grid;\n grid-template-columns: 100px 85px;\n }\n\n .react-datepicker__month-read-view,\n .react-datepicker__year-read-view {\n color: ",";\n visibility: visible !important;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n font-size: ",";\n }\n\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type,\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n border-radius: 0;\n }\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n top: 6px;\n right: -10px;\n width: 5px;\n height: 5px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: -8px;\n }\n }\n\n .react-datepicker__year-read-view--down-arrow {\n right: -4px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: 3px;\n }\n }\n\n .react-datepicker__day:hover,\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover,\n .react-datepicker__year-text:hover {\n border-color: ",";\n background-color: ",";\n border-radius: 50%;\n color: ",";\n }\n\n .react-datepicker__year-dropdown {\n left: 40%;\n top: 45px;\n }\n\n .react-datepicker__navigation--years-upcoming:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 8px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(-45deg);\n }\n\n .react-datepicker__navigation--years-previous:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 6px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(135deg);\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ",";\n border-radius: 0;\n border-color: ",";\n box-shadow: 0 0 5px rgb(0 0 0 / 30%);\n }\n\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: ",";\n }\n\n .react-datepicker__month-option--selected {\n left: 10px;\n }\n\n .react-datepicker__day--outside-month {\n color: ",";\n }\n }\n }\n"])),x,(0,b.Z)(),(0,b.Z)(),x,w.Z.space(-.6),"\n .react-datepicker__current-month.react-datepicker__current-month--hasYearDropdown.react-datepicker__current-month--hasMonthDropdown {\n // Avoid showing the month and year a second time when it has month and year dropdowns.\n display: none;\n }\n",O,w.Z.font(2.85),w.Z.font(1.8),(0,b.Z)({fontWeight:v.FS.fontWeight("bold")}),O,w.Z.font(-2),w.Z.space(-.6),w.Z.space(-1.2),k,k,k,x,x,x,k,(0,b.Z)(),O,w.Z.space(-.5),(function(e){var t=e.theme;return(0,g._j)(.1,t.colors.paper)}),O,w.Z.font(0),x,x,O,v.FS.color("text"),v.FS.color("text"),O,x,(function(e){var t=e.theme;return(0,g._j)(.1,t.colors.paper)}),(function(e){var t=e.theme;return(0,g.$n)(.7,t.colors.text)})),S=i(85893);const _=function(){return(0,S.jsx)(S.Fragment,{children:t||(t=(0,S.jsx)(E,{}))})};var j=i(23369),P=i(98773);const C={propTypes:r().shape({embedType:r().oneOf(P.Nc),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})};var A=i(74806),D=i(50558),T=i(44049),Z="addressUpdate/SET_FORM_DEFINITION",R="addressUpdate/LOAD_VIEW",M="addressUpdate/SET_ENTITY",N="addressUpdate/SUBMIT_FORM",I="addressUpdate/UNLOAD_VIEW",F="addressUpdate/FIRE_TOUCHED",L="addressUpdate/SET_TOUCHED",B="addressUpdate/SET_FORM_NAME",U="addressUpdate/TOCH_ALL_FIELDS",H="addressUpdate/SET_FIELD_DEFINITIONS",W=function(e){return{type:Z,payload:{formDefinition:e}}},z=function(e){return{type:M,payload:{entity:e}}},V=function(e){return{type:H,payload:{fieldDefinitions:e}}},Y=i(1024),q=i(50258),G=i(85208),K=i(59713),$=i.n(K),X=i(86386),Q=i(28333),J=i(35997);function ee(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 te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){$()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ne=(0,X.Z)({form:"addressForm",destroyOnUnmount:!1})((function(e){var t=e.entity,n=e.formDefinition,r=e.formValues,o=e.submitForm,a=e.intl,i=e.submitting,c=e.valid,s=e.anyTouched,u=e.fireTouched,l=e.dirty,f=e.formErrors,d=e.form,h=e.mode,m=!(null!=t&&t.editable),g=(0,Y.useRef)(null);J.Z.useAutofocus(g);var y=p.Z.hooks.useFormEvents({submitForm:o});(0,Y.useEffect)((function(){u(l&&s)}),[l,s,u]);var v={save:function(e){return m?null:(0,S.jsx)(Q.Z,te({intl:a,submitting:i,mode:h,hasErrors:!c&&s,formErrors:f},e))}};return(0,S.jsx)("form",te(te({},y),{},{ref:g,children:(0,S.jsx)(p.Z.FormBuilder,{entity:t,formName:d,formDefinition:n,formValues:r,fieldMappingType:"editable",mode:h,readonly:m,customRenderedActions:v})}))}));var re={submitForm:function(){return{type:N}},fireTouched:function(e){return{type:F,payload:{touched:e}}}};const oe=(0,D.connect)((function(e){return{mode:e.addressUpdate.mode,formDefinition:e.addressUpdate.formDefinition,entity:e.addressUpdate.entity,formValues:(0,G.Z)("addressForm")(e),formErrors:p.Z.selectors.getFormErrors("addressForm")(e)}}),re)((0,A.ZP)(ne));var ae;const ie=function(e){var t=e.formDefinition,n=e.formInitialValues,r=e.fieldDefinitions,o=e.mode,a=e.unloadView;(0,Y.useEffect)((function(){return function(){a()}}),[a]);var i=p.Z.hooks.useAsyncValidation({formInitialValues:n,fieldDefinitions:r,formDefinition:t,mode:o}),c=p.Z.hooks.useSyncValidation({fieldDefinitions:r,formDefinition:t}),s=r.map((function(e){return e.path}));return(0,S.jsxs)(S.Fragment,{children:[ae||(ae=(0,S.jsx)(f.Z.Notifications,{})),(0,S.jsx)(q.Z,{required:[n],children:(0,S.jsx)(oe,{validate:c,asyncValidate:i,asyncBlurFields:s})})]})};var ce={unloadView:function(){return{type:I}}};const se=(0,D.connect)((function(e){return{mode:e.addressUpdate.mode,formDefinition:e.addressUpdate.formDefinition,formInitialValues:(0,T.Z)("addressForm")(e),fieldDefinitions:e.addressUpdate.fieldDefinitions}}),ce)((0,A.ZP)(ie));var ue,le=i(85300),fe=i(81770),de=(ue={},$()(ue,B,fe.Z.singleTransferReducer("formName")),$()(ue,Z,fe.Z.singleTransferReducer("formDefinition")),$()(ue,M,fe.Z.singleTransferReducer("entity")),$()(ue,L,fe.Z.singleTransferReducer("touched")),$()(ue,H,fe.Z.singleTransferReducer("fieldDefinitions")),ue),pe={formName:"",formDefinition:{},entity:{},touched:!1,fieldDefinitions:[],mode:"update"};const he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pe,t=arguments.length>1?arguments[1]:void 0,n=de[t.type];return n?n(e,t):e};var me=i(87757),ge=i.n(me),ye=i(64738),ve=i(92708),be=i(34857),we=i(63094),xe=i(1084),Oe=i(92745),ke=i(91755);function Ee(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 Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){$()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _e=ge().mark(Pe),je=ge().mark(Ce);function Pe(e,t,n){var r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r={method:"PATCH",queryParams:{_widget_key:e},body:t,acceptedErrorCodes:["VALIDATION_FAILED"],acceptedStatusCodes:[409]},a.next=3,(0,be.RE)(we.Z.requestSaga,"widget/addressUpdate",r);case 3:if("VALIDATION_FAILED"!==(o=a.sent).body.errorCode){a.next=6;break}throw new ke.t(p.Z.validationErrorToFormError(t,n,o.body.errors));case 6:if(409!==o.status||!o.body.information){a.next=8;break}throw new we.Z.InformationError(o.body.information);case 8:return a.abrupt("return",o.body);case 9:case"end":return a.stop()}}),_e)}function Ce(e,t){var n,r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,be.RE)(we.Z.buildRequestQuery,t);case 2:return n=a.sent,r={method:"GET",queryParams:Se(Se({},we.Z.requestQueryToUrlParams(n)),{},{_permissions:!0,_omitLinks:!0,_widget_key:e})},a.next=6,(0,be.RE)(we.Z.requestSaga,"widget/addressUpdate",r);case 6:return o=a.sent,a.abrupt("return",o.body);case 8:case"end":return a.stop()}}),je)}var Ae=ge().mark(ze),De=ge().mark(Ve),Te=ge().mark(Ye),Ze=ge().mark(qe),Re=ge().mark(Ge),Me=ge().mark(Ke),Ne=ge().mark($e),Ie=ge().mark(Xe),Fe=ge().mark(Qe),Le=ge().mark(Je),Be=function(e){return e.addressUpdate},Ue=function(e){return e.input},He="addressForm",We={formId:He,stateSelector:Be};function ze(){return ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.$6)([(0,be.Fm)(R,Ge),(0,be.Fm)(I,qe),(0,be.Fm)(U,p.Z.sagasUtils.touchAllFields,We),(0,be.ib)(N,Xe),(0,be.ib)(F,Qe)]);case 2:case"end":return e.stop()}}),Ae)}function Ve(e,t){var n,r;return ge().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,be.RE)(we.Z.fetchForm,e,t);case 2:return n=o.sent,o.next=5,(0,be.gz)(W(n));case 5:return o.next=7,(0,be.RE)(p.Z.getFieldDefinitions,n);case 7:return r=o.sent,o.next=10,(0,be.gz)(V(r));case 10:return o.abrupt("return",{formDefinition:n,fieldDefinitions:r});case 11:case"end":return o.stop()}}),De)}function Ye(e){var t,n,r;return ge().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=j.Z.getWidgetConfigKey(),o.next=3,(0,be.RE)(p.Z.getUsedPaths,e);case 3:return n=o.sent,o.next=6,(0,be.RE)(Ce,t,{paths:n});case 6:return r=o.sent,o.next=9,(0,be.gz)(z(r));case 9:return o.abrupt("return",r);case 10:case"end":return o.stop()}}),Te)}function qe(){return ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.gz)(z(null));case 2:return e.next=4,(0,be.gz)(ye.Z.destroy(He));case 4:case"end":return e.stop()}}),Ze)}function Ge(){var e,t;return ge().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,be.Ys)(Ue);case 2:return e=n.sent,t=e.formName,n.next=6,(0,be.RE)(Ve,t,"detail");case 6:return n.next=8,(0,be.RE)(Je);case 8:case"end":return n.stop()}}),Re)}function Ke(e,t){var n;return ge().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=j.Z.getWidgetConfigKey(),r.next=3,(0,be.RE)(Pe,n,e,t);case 3:return r.next=5,(0,be.RE)(Je);case 5:return r.next=7,(0,be.gz)(f.Z.toaster({type:"success",title:"client.address-update.saveSuccessfulTitle",body:"client.address-update.saveSuccessfulMessage"}));case 7:return r.next=9,(0,be.gz)(ye.Z.stopSubmit(He));case 9:case"end":return r.stop()}}),Me)}function $e(){var e,t,n,r,o,a;return ge().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,be.RE)(p.Z.sagasUtils.getCurrentEntityState,We);case 2:return e=i.sent,t=e.formValues,n=e.initialValues,r=e.mode,o=e.fieldDefinitions,a=e.formDefinition,i.next=10,(0,be.RE)(p.Z.submitValidation,t,n,o,a,r);case 10:case"end":return i.stop()}}),Ne)}function Xe(){var e,t,n;return ge().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,(0,be.Ys)((0,ve.Z)(He));case 3:if(r.sent){r.next=9;break}return r.next=7,(0,be.RE)(p.Z.sagasUtils.handleInvalidForm,We);case 7:r.next=22;break;case 9:return r.next=11,(0,be.gz)(ye.Z.startSubmit(He));case 11:return r.next=13,(0,be.Ys)(Be);case 13:return e=r.sent,t=e.fieldDefinitions,r.next=17,(0,be.RE)($e);case 17:return r.next=19,(0,be.RE)(p.Z.sagasUtils.getEntityForSubmit,We);case 19:return n=r.sent,r.next=22,(0,be.RE)(Ke,n,t);case 22:r.next=28;break;case 24:return r.prev=24,r.t0=r.catch(0),r.next=28,(0,be.RE)(p.Z.sagasUtils.handleSubmitError,We,r.t0);case 28:case"end":return r.stop()}}),Ie,null,[[0,24]])}function Qe(e){var t,n,r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,n=t.touched,a.next=4,(0,be.Ys)(Be);case 4:if(r=a.sent,o=r.touched,n===o){a.next=9;break}return a.next=9,(0,be.gz)({type:L,payload:{touched:n}});case 9:case"end":return a.stop()}}),Fe)}function Je(){var e,t,n,r,o,a,i,c,s,u=arguments;return ge().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return e=!(u.length>0&&void 0!==u[0])||u[0],l.next=3,(0,be.Ys)(Be);case 3:return t=l.sent,n=t.fieldDefinitions,r=t.formName,o=t.mode,l.next=9,(0,be.RE)(Ye,n);case 9:return a=l.sent,l.next=12,(0,be.RE)(Oe.Z.getFlattenEntity,a);case 12:return i=l.sent,l.next=15,(0,be.RE)(xe.Z.enhanceEntityWithDisplayExpressions,i,r,n,o);case 15:return l.next=17,(0,be.RE)(xe.Z.enhanceEntityWithDisplays,i,n);case 17:return l.next=19,(0,be.RE)(p.Z.entityToFormValues,i,n);case 19:return c=l.sent,s=e?{}:{keepDirty:!0,keepValues:!1},l.next=23,(0,be.gz)(ye.Z.initialize(He,c,s));case 23:case"end":return l.stop()}}),Le)}const et={addressUpdate:he,form:le.Z};var tt,nt,rt=[ze],ot="address-update",at=function(e,t,n,r){j.Z.setInputEnvs(t);var i=(0,S.jsxs)(S.Fragment,{children:[tt||(tt=(0,S.jsx)(_,{})),nt||(nt=(0,S.jsx)(se,{}))]}),c=a.Z.createStore(et,rt,t,ot);return l.Z.addToStore(c,(function(){return{}})),o.Z.addToStore(c),f.Z.addToStore(c,!0),u.Z.addToStore(c,!0,["console","remote","notification"]),p.Z.addToStore(c,We),d.Z.addToStore(c,(function(){return{listApp:h.ZP}})),s.Z.addToStore(c),a.Z.createApp(ot,i,c,{input:t,events:n,actions:[{type:R}],publicPath:r,textResourceModules:["component","common","docs-browser","entity-detail",ot]})},it=function(e){return a.Z.useApp({initApp:at,props:e,packageName:ot}).component};it.propTypes={formName:r().string.isRequired,businessUnit:r().string,appContext:C.propTypes.isRequired,backendUrl:r().string};var ct=a.Z.createBundleableApp(ot,at,it);a.Z.registerAppInRegistry(ct.name,ct.init)})(),c})()));
|