tocco-widget-bundle 0.1.39 → 0.1.40

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.
@@ -56,4 +56,4 @@ object-assign
56
56
  * LICENSE file in the root directory of this source tree.
57
57
  */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=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,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case i:case c:case a:case d:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case m:case s:return e;default:return t}}case o:return t}}}function x(e){return O(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=c,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return x(e)||O(e)===l},t.isConcurrentMode=x,t.isContextConsumer=function(e){return O(e)===u},t.isContextProvider=function(e){return O(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return O(e)===p},t.isFragment=function(e){return O(e)===i},t.isLazy=function(e){return O(e)===g},t.isMemo=function(e){return O(e)===m},t.isPortal=function(e){return O(e)===o},t.isProfiler=function(e){return O(e)===c},t.isStrictMode=function(e){return O(e)===a},t.isSuspense=function(e){return O(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===c||e===a||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=O},51976:(e,t,n)=>{"use strict";e.exports=n(9734)},2393:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(1024),o=n.n(r);function i(){}function a(e){return!!(e||"").match(/\d/)}function c(e){return null==e}function s(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function u(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]||"",hasNagation:n,addNegation:r}}function l(e,t,n){for(var r="",o=n?"0":"",i=0;i<=t-1;i++)r+=e[i]||o;return r}function f(e,t){return Array(t+1).join(e)}function p(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 d(e,t,n){return Math.min(Math.max(e,t),n)}function h(e){return Math.max(e.selectionStart,e.selectionEnd)}var m={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:i,onChange:i,onKeyDown:i,onMouseUp:i,onFocus:i,onBlur:i,isAllowed:function(){return!0}},g=function(e){function t(t){e.call(this,t);var n=t.defaultValue;this.validateProps();var r=this.formatValueProp(n);this.state={value:r,numAsString:this.removeFormatting(r),mounted:!1},this.selectionBeforeInput={selectionStart:0,selectionEnd:0},this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){this.setState({mounted:!0})},t.prototype.componentDidUpdate=function(e){this.updateValueIfRequired(e)},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout)},t.prototype.updateValueIfRequired=function(e){var t=this,n=t.props,r=t.state,o=t.focusedElm,i=r.value,a=r.numAsString;if(void 0===a&&(a=""),e!==n){this.validateProps();var s=this.formatNumString(a),u=c(n.value)?s:this.formatValueProp(),l=this.removeFormatting(u),f=parseFloat(l),p=parseFloat(a);(isNaN(f)&&isNaN(p)||f===p)&&s===i&&(null!==o||u===i)||this.updateValue({formattedValue:u,numAsString:l,input:o,source:"prop",event:null})}},t.prototype.getFloatString=function(e){void 0===e&&(e="");var t=this.props.decimalScale,n=this.getSeparators().decimalSeparator,r=this.getNumberRegex(!0),o="-"===e[0];o&&(e=e.replace("-","")),n&&0===t&&(e=e.split(n)[0]);var i=(e=(e.match(r)||[]).join("").replace(n,".")).indexOf(".");return-1!==i&&(e=e.substring(0,i)+"."+e.substring(i+1,e.length).replace(new RegExp(s(n),"g"),"")),o&&(e="-"+e),e},t.prototype.getNumberRegex=function(e,t){var n=this.props,r=n.format,o=n.decimalScale,i=n.customNumerals,a=this.getSeparators().decimalSeparator;return new RegExp("[0-9"+(i?i.join(""):"")+"]"+(!a||0===o||t||r?"":"|"+s(a)),e?"g":void 0)},t.prototype.getSeparators=function(){var e=this.props.decimalSeparator,t=this.props,n=t.thousandSeparator,r=t.allowedDecimalSeparators;return!0===n&&(n=","),r||(r=[e,"."]),{decimalSeparator:e,thousandSeparator:n,allowedDecimalSeparators:r}},t.prototype.getMaskAtIndex=function(e){var t=this.props.mask;return void 0===t&&(t=" "),"string"==typeof t?t:t[e]||" "},t.prototype.getValueObject=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},t.prototype.validateProps=function(){var e=this.props.mask,t=this.getSeparators(),n=t.decimalSeparator,r=t.thousandSeparator;if(n===r)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: "+r+' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: '+n+" (default value for decimalSeparator is .)\n ");if(e&&("string"===e?e:e.toString()).match(/\d/g))throw new Error("\n Mask "+e+" should not contain numeric character;\n ")},t.prototype.setPatchedCaretPosition=function(e,t,n){p(e,t),this.caretPositionTimeout=setTimeout((function(){e.value===n&&p(e,t)}),0)},t.prototype.correctCaretPosition=function(e,t,n){var r=this.props,o=r.prefix,i=r.suffix,c=r.format;if(""===e)return 0;if(t=d(t,0,e.length),!c){var s="-"===e[0];return d(t,o.length+(s?1:0),e.length-i.length)}if("function"==typeof c)return t;if("#"===c[t]&&a(e[t]))return t;if("#"===c[t-1]&&a(e[t-1]))return t;var u=c.indexOf("#");t=d(t,u,c.lastIndexOf("#")+1);for(var l=c.substring(t,c.length).indexOf("#"),f=t,p=t+(-1===l?0:l);f>u&&("#"!==c[f]||!a(e[f]));)f-=1;return!a(e[p])||"left"===n&&t!==u||t-f<p-t?a(e[f])?f+1:f:p},t.prototype.getCaretPosition=function(e,t,n){var r,o,i=this.props.format,a=this.state.value,c=this.getNumberRegex(!0),s=(e.match(c)||[]).join(""),u=(t.match(c)||[]).join("");for(r=0,o=0;o<n;o++){var l=e[o]||"",f=t[r]||"";if((l.match(c)||l===f)&&("0"!==l||!f.match(c)||"0"===f||s.length===u.length)){for(;l!==t[r]&&r<t.length;)r++;r++}}return"string"!=typeof i||a||(r=t.length),r=this.correctCaretPosition(t,r)},t.prototype.removePrefixAndSuffix=function(e){var t=this.props,n=t.format,r=t.prefix,o=t.suffix;if(!n&&e){var i="-"===e[0];i&&(e=e.substring(1,e.length));var a=(e=r&&0===e.indexOf(r)?e.substring(r.length,e.length):e).lastIndexOf(o);e=o&&-1!==a&&a===e.length-o.length?e.substring(0,a):e,i&&(e="-"+e)}return e},t.prototype.removePatternFormatting=function(e){for(var t=this.props.format.split("#").filter((function(e){return""!==e})),n=0,r="",o=0,i=t.length;o<=i;o++){var a=t[o]||"",c=o===i?e.length:e.indexOf(a,n);if(-1===c){r=e;break}r+=e.substring(n,c),n=c+a.length}return(r.match(this.getNumberRegex(!0))||[]).join("")},t.prototype.removeFormatting=function(e){var t=this.props,n=t.format,r=t.removeFormatting;return e?(n?e="string"==typeof n?this.removePatternFormatting(e):"function"==typeof r?r(e):(e.match(this.getNumberRegex(!0))||[]).join(""):(e=this.removePrefixAndSuffix(e),e=this.getFloatString(e)),e):e},t.prototype.formatWithPattern=function(e){for(var t=this.props.format,n=0,r=t.split(""),o=0,i=t.length;o<i;o++)"#"===t[o]&&(r[o]=e[n]||this.getMaskAtIndex(n),n+=1);return r.join("")},t.prototype.formatAsNumber=function(e){var t=this.props,n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix,i=t.suffix,a=t.allowNegative,c=t.thousandsGroupStyle,s=this.getSeparators(),f=s.thousandSeparator,p=s.decimalSeparator,d=-1!==e.indexOf(".")||n&&r,h=u(e,a),m=h.beforeDecimal,g=h.afterDecimal,v=h.addNegation;return void 0!==n&&(g=l(g,n,r)),f&&(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,f,c)),o&&(m=o+m),i&&(g+=i),v&&(m="-"+m),e=m+(d&&p||"")+g},t.prototype.formatNumString=function(e){void 0===e&&(e="");var t=this.props,n=t.format,r=t.allowEmptyFormatting,o=t.customNumerals,i=e;if(o&&10===o.length){var a=new RegExp("["+o.join("")+"]","g");i=e.replace(a,(function(e){return o.indexOf(e).toString()}))}return i=""!==e||r?"-"!==e||n?"string"==typeof n?this.formatWithPattern(i):"function"==typeof n?n(i):this.formatAsNumber(i):"-":""},t.prototype.formatValueProp=function(e){var t=this.props,n=t.format,r=t.decimalScale,o=t.fixedDecimalScale,i=t.allowEmptyFormatting,a=this.props,s=a.value,p=a.isNumericString,d=!(s=c(s)?e:s)&&0!==s;return d&&i&&(s=""),d&&!i?"":("number"==typeof s&&(s=function(e){var t="-"===(e+="")[0]?"-":"";t&&(e=e.substring(1));var n=e.split(/[eE]/g),r=n[0],o=n[1];if(!(o=Number(o)))return t+r;var i=1+o,a=(r=r.replace(".","")).length;return i<0?r="0."+f("0",Math.abs(i))+r:i>=a?r+=f("0",i-a):r=(r.substring(0,i)||"0")+"."+r.substring(i),t+r}(s),p=!0),"Infinity"===s&&p&&(s=""),p&&!n&&"number"==typeof r&&(s=function(e,t,n){if(-1!==["","-"].indexOf(e))return e;var r=-1!==e.indexOf(".")&&t,o=u(e),i=o.beforeDecimal,a=o.afterDecimal,c=o.hasNagation,s=parseFloat("0."+(a||"0")),f=(a.length<=t?"0."+a:s.toFixed(t)).split(".");return(c?"-":"")+i.split("").reverse().reduce((function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e}),f[0])+(r?".":"")+l(f[1]||"",Math.min(t,a.length),n)}(s,r,o)),p?this.formatNumString(s):this.formatInput(s))},t.prototype.formatNegation=function(e){void 0===e&&(e="");var t=this.props.allowNegative,n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),i=r.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e},t.prototype.formatInput=function(e){return void 0===e&&(e=""),this.props.format||(e=this.removePrefixAndSuffix(e),e=this.formatNegation(e)),e=this.removeFormatting(e),this.formatNumString(e)},t.prototype.isCharacterAFormat=function(e,t){var n=this.props,r=n.format,o=n.prefix,i=n.suffix,a=n.decimalScale,c=n.fixedDecimalScale,s=this.getSeparators().decimalSeparator;return"string"==typeof r&&"#"!==r[e]||!(r||!(e<o.length||e>=t.length-i.length||a&&c&&t[e]===s))},t.prototype.correctInputValue=function(e,t,n){var r=this,o=this.props,i=o.format,a=o.allowNegative,c=o.prefix,s=o.suffix,l=o.decimalScale,f=this.getSeparators(),p=f.allowedDecimalSeparators,d=f.decimalSeparator,h=this.state.numAsString||"",m=this.selectionBeforeInput,g=m.selectionStart,v=m.selectionEnd,y=function(e,t){for(var n=0,r=0,o=e.length,i=t.length;e[n]===t[n]&&n<o;)n++;for(;e[o-1-r]===t[i-1-r]&&i-r>n&&o-r>n;)r++;return{start:n,end:o-r}}(t,n),b=y.start,w=y.end;if(!i&&b===w&&-1!==p.indexOf(n[g])){var O=0===l?"":d;return n.substr(0,g)+O+n.substr(g+1,n.length)}var x=i?0:c.length,j=t.length-(i?0:s.length);if(n.length>t.length||!n.length||b===w||0===g&&v===t.length||0===b&&w===t.length||g===x&&v===j)return n;var P=t.substr(b,w-b);if(!![].concat(P).find((function(e,n){return r.isCharacterAFormat(n+b,t)}))){var S=t.substr(b),E={},k=[];[].concat(S).forEach((function(e,n){r.isCharacterAFormat(n+b,t)?E[n]=e:n>P.length-1&&k.push(e)})),Object.keys(E).forEach((function(e){k.length>e?k.splice(e,0,E[e]):k.push(E[e])})),n=t.substr(0,b)+k.join("")}if(!i){var Z=this.removeFormatting(n),T=u(Z,a),C=T.beforeDecimal,D=T.afterDecimal,_=T.addNegation,A=e<n.indexOf(d)+1;if(Z.length<h.length&&A&&""===C&&!parseFloat(D))return _?"-":""}return n},t.prototype.updateValue=function(e){var t=e.formattedValue,n=e.input,r=e.setCaretPosition;void 0===r&&(r=!0);var o=e.source,i=e.event,a=e.numAsString,c=e.caretPos,s=this.props.onValueChange,u=this.state.value;if(n){if(void 0===c&&r){var l=e.inputValue||n.value,f=h(n);n.value=t,c=this.getCaretPosition(l,t,f)}n.value=t,r&&this.setPatchedCaretPosition(n,c,t)}void 0===a&&(a=this.removeFormatting(t)),t!==u&&(this.setState({value:t,numAsString:a}),s(this.getValueObject(t,a),{event:i,source:o}))},t.prototype.onChange=function(e){var t=e.target,n=t.value,r=this.state,o=this.props,i=o.isAllowed,a=r.value||"",c=h(t);n=this.correctInputValue(c,a,n);var s=this.formatInput(n)||"",u=this.removeFormatting(s),l=i(this.getValueObject(s,u));l||(s=a),this.updateValue({formattedValue:s,numAsString:u,inputValue:n,input:t,event:e,source:"event"}),l&&o.onChange(e)},t.prototype.onBlur=function(e){var t=this.props,n=this.state,r=t.format,o=t.onBlur,i=t.allowLeadingZeros,a=n.numAsString,c=n.value;if(this.focusedElm=null,clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout),!r){isNaN(parseFloat(a))&&(a=""),i||(a=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:"")}(a));var s=this.formatNumString(a);if(s!==c)return this.updateValue({formattedValue:s,numAsString:a,input:e.target,setCaretPosition:!1,event:e,source:"event"}),void o(e)}o(e)},t.prototype.onKeyDown=function(e){var t,n=e.target,r=e.key,o=n.selectionStart,i=n.selectionEnd,a=n.value;void 0===a&&(a="");var c=this.props,s=c.decimalScale,u=c.fixedDecimalScale,l=c.prefix,f=c.suffix,p=c.format,d=c.onKeyDown,h=void 0!==s&&u,m=this.getNumberRegex(!1,h),g=new RegExp("-"),v="string"==typeof p;if(this.selectionBeforeInput={selectionStart:o,selectionEnd:i},"ArrowLeft"===r||"Backspace"===r?t=o-1:"ArrowRight"===r?t=o+1:"Delete"===r&&(t=o),void 0!==t&&o===i){var y=t,b=v?p.indexOf("#"):l.length,w=v?p.lastIndexOf("#")+1:a.length-f.length;if("ArrowLeft"===r||"ArrowRight"===r){var O="ArrowLeft"===r?"left":"right";y=this.correctCaretPosition(a,t,O)}else if("Delete"!==r||m.test(a[t])||g.test(a[t])){if("Backspace"===r&&!m.test(a[t]))if(o<=b+1&&"-"===a[0]&&void 0===p){var x=a.substring(1);this.updateValue({formattedValue:x,caretPos:y,input:n,event:e,source:"event"})}else if(!g.test(a[t])){for(;!m.test(a[y-1])&&y>b;)y--;y=this.correctCaretPosition(a,y,"left")}}else for(;!m.test(a[y])&&y<w;)y++;(y!==t||t<b||t>w)&&(e.preventDefault(),this.setPatchedCaretPosition(n,y,a)),e.isUnitTestRun&&this.setPatchedCaretPosition(n,y,a),d(e)}else d(e)},t.prototype.onMouseUp=function(e){var t=e.target,n=t.selectionStart,r=t.selectionEnd,o=t.value;if(void 0===o&&(o=""),n===r){var i=this.correctCaretPosition(o,n);i!==n&&this.setPatchedCaretPosition(t,i,o)}this.props.onMouseUp(e)},t.prototype.onFocus=function(e){var t=this;e.persist(),this.focusedElm=e.target,this.focusTimeout=setTimeout((function(){var n=e.target,r=n.selectionStart,o=n.selectionEnd,i=n.value;void 0===i&&(i="");var a=t.correctCaretPosition(i,r);a===r||0===r&&o===i.length||t.setPatchedCaretPosition(n,a,i),t.props.onFocus(e)}),0)},t.prototype.render=function(){var e=this.props,t=e.type,n=e.displayType,r=e.customInput,i=e.renderText,a=e.getInputRef,c=e.format,s=(e.thousandSeparator,e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle,e.decimalScale,e.fixedDecimalScale,e.prefix,e.suffix,e.removeFormatting,e.mask,e.defaultValue,e.isNumericString,e.allowNegative,e.allowEmptyFormatting,e.allowLeadingZeros,e.onValueChange,e.isAllowed,e.customNumerals,e.onChange,e.onKeyDown,e.onMouseUp,e.onFocus,e.onBlur,e.value,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["type","displayType","customInput","renderText","getInputRef","format","thousandSeparator","decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","decimalScale","fixedDecimalScale","prefix","suffix","removeFormatting","mask","defaultValue","isNumericString","allowNegative","allowEmptyFormatting","allowLeadingZeros","onValueChange","isAllowed","customNumerals","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value"])),u=this.state,l=u.value,f=u.mounted&&function(e){return e||"undefined"!=typeof navigator&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}(c)?"numeric":void 0,p=Object.assign({inputMode:f},s,{type:t,value:l,onChange:this.onChange,onKeyDown:this.onKeyDown,onMouseUp:this.onMouseUp,onFocus:this.onFocus,onBlur:this.onBlur});if("text"===n)return i?i(l,s)||null:o().createElement("span",Object.assign({},s,{ref:a}),l);if(r){var d=r;return o().createElement(d,Object.assign({},p,{ref:a}))}return o().createElement("input",Object.assign({},p,{ref:a}))},t}(o().Component);g.defaultProps=m;const v=g},32654:(e,t,n)=>{"use strict";n.d(t,{D:()=>be});var r=n(1024),o=n(30314);function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){return e instanceof i(e).Element||e instanceof Element}function c(e){return e instanceof i(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}var u=Math.max,l=Math.min,f=Math.round;function p(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(c(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=f(n.width)/a||1),i>0&&(o=f(n.height)/i||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 d(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function g(e){return p(m(e)).left+d(e).scrollLeft}function v(e){return i(e).getComputedStyle(e)}function y(e){var t=v(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b(e,t,n){void 0===n&&(n=!1);var r,o,a=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=p(e,s),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(a||!a&&!n)&&(("body"!==h(t)||y(u))&&(v=(r=t)!==i(r)&&c(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:d(r)),c(t)?((b=p(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):u&&(b.x=g(u))),{x:l.left+v.scrollLeft-b.x,y:l.top+v.scrollTop-b.y,width:l.width,height:l.height}}function w(e){var t=p(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function O(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(s(e)?e.host:null)||m(e)}function x(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:c(e)&&y(e)?e:x(O(e))}function j(e,t){var n;void 0===t&&(t=[]);var r=x(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=i(r),c=o?[a].concat(a.visualViewport||[],y(r)?r:[]):r,s=t.concat(c);return o?s:s.concat(j(O(c)))}function P(e){return["table","td","th"].indexOf(h(e))>=0}function S(e){return c(e)&&"fixed"!==v(e).position?e.offsetParent:null}function E(e){for(var t=i(e),n=S(e);n&&P(n)&&"static"===v(n).position;)n=S(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===v(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&c(e)&&"fixed"===v(e).position)return null;var n=O(e);for(s(n)&&(n=n.host);c(n)&&["html","body"].indexOf(h(n))<0;){var r=v(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var k="top",Z="bottom",T="right",C="left",D="auto",_=[k,Z,T,C],A="start",R="end",I="viewport",M="popper",N=_.reduce((function(e,t){return e.concat([t+"-"+A,t+"-"+R])}),[]),F=[].concat(_,[D]).reduce((function(e,t){return e.concat([t,t+"-"+A,t+"-"+R])}),[]),L=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(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 B(){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,i=void 0===o?U:o;return function(e,t,n){void 0===n&&(n=i);var o,c,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},U,i),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;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:a(e)?j(e):e.contextElement?j(e.contextElement):[],popper:j(t)};var c=function(e){var t=H(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 i=o({state:s,name:t,instance:f,options:r}),a=function(){};u.push(i||a)}})),f.update()},forceUpdate:function(){if(!l){var e=s.elements,t=e.reference,n=e.popper;if(B(t,n)){s.rects={reference:b(t,E(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],i=o.fn,a=o.options,c=void 0===a?{}:a,u=o.name;"function"==typeof i&&(s=i({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(){p(),l=!0}};if(!B(e,t))return f;function p(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var V={passive:!0};function z(e){return e.split("-")[0]}function q(e){return e.split("-")[1]}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?z(o):null,a=o?q(o):null,c=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case k:t={x:c,y:n.y-r.height};break;case Z:t={x:c,y:n.y+n.height};break;case T:t={x:n.x+n.width,y:s};break;case C:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?G(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case A: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 Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,c=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,p=e.roundOffsets,d=e.isFixed,h=c.x,g=void 0===h?0:h,y=c.y,b=void 0===y?0:y,w="function"==typeof p?p({x:g,y:b}):{x:g,y:b};g=w.x,b=w.y;var O=c.hasOwnProperty("x"),x=c.hasOwnProperty("y"),j=C,P=k,S=window;if(l){var D=E(n),_="clientHeight",A="clientWidth";if(D===i(n)&&"static"!==v(D=m(n)).position&&"absolute"===s&&(_="scrollHeight",A="scrollWidth"),D=D,o===k||(o===C||o===T)&&a===R)P=Z,b-=(d&&D===S&&S.visualViewport?S.visualViewport.height:D[_])-r.height,b*=u?1:-1;if(o===C||(o===k||o===Z)&&a===R)j=T,g-=(d&&D===S&&S.visualViewport?S.visualViewport.width:D[A])-r.width,g*=u?1:-1}var I,M=Object.assign({position:s},l&&Y),N=!0===p?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=N.x,b=N.y,u?Object.assign({},M,((I={})[P]=x?"0":"",I[j]=O?"0":"",I.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",I)):Object.assign({},M,((t={})[P]=x?b+"px":"",t[j]=O?g+"px":"",t.transform="",t))}const X={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=F.reduce((function(e,n){return e[n]=function(e,t,n){var r=z(e),o=[C,k].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],c=i[1];return a=a||0,c=(c||0)*o,[C,T].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}(n,t.rects,i),e}),{}),c=a[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]=a}};var J={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,(function(e){return J[e]}))}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&s(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oe(e,t){return t===I?re(function(e){var t=i(e),n=m(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,c=0,s=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=r.offsetLeft,s=r.offsetTop)),{width:o,height:a,x:c+g(e),y:s}}(e)):a(t)?function(e){var t=p(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=d(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=u(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=u(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+g(e),s=-r.scrollTop;return"rtl"===v(o||n).direction&&(c+=u(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:s}}(m(e)))}function ie(e,t,n){var r="clippingParents"===t?function(e){var t=j(O(e)),n=["absolute","fixed"].indexOf(v(e).position)>=0&&c(e)?E(e):e;return a(n)?t.filter((function(e){return a(e)&&ne(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=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,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ae(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,i=n.boundary,c=void 0===i?"clippingParents":i,s=n.rootBoundary,u=void 0===s?I:s,l=n.elementContext,f=void 0===l?M:l,d=n.altBoundary,h=void 0!==d&&d,g=n.padding,v=void 0===g?0:g,y=ae("number"!=typeof v?v:ce(v,_)),b=f===M?"reference":M,w=e.rects.popper,O=e.elements[h?b:f],x=ie(a(O)?O:O.contextElement||m(e.elements.popper),c,u),j=p(e.elements.reference),P=$({reference:j,element:w,strategy:"absolute",placement:o}),S=re(Object.assign({},w,P)),E=f===M?S:j,C={top:x.top-E.top+y.top,bottom:E.bottom-x.bottom+y.bottom,left:x.left-E.left+y.left,right:E.right-x.right+y.right},D=e.modifiersData.offset;if(f===M&&D){var A=D[o];Object.keys(C).forEach((function(e){var t=[T,Z].indexOf(e)>=0?1:-1,n=[k,Z].indexOf(e)>=0?"y":"x";C[e]+=A[n]*t}))}return C}function ue(e,t,n){return u(e,l(t,n))}const le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0!==a&&a,s=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,y=se(t,{boundary:s,rootBoundary:f,padding:d,altBoundary:p}),b=z(t.placement),O=q(t.placement),x=!O,j=G(b),P="x"===j?"y":"x",S=t.modifiersData.popperOffsets,D=t.rects.reference,_=t.rects.popper,R="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,I="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(S){if(i){var F,L="y"===j?k:C,H="y"===j?Z:T,U="y"===j?"height":"width",B=S[j],W=B+y[L],V=B-y[H],$=m?-_[U]/2:0,Y=O===A?D[U]:_[U],K=O===A?-_[U]:-D[U],X=t.elements.arrow,J=m&&X?w(X):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[L],te=Q[H],ne=ue(0,D[U],J[U]),re=x?D[U]/2-$-ne-ee-I.mainAxis:Y-ne-ee-I.mainAxis,oe=x?-D[U]/2+$+ne+te+I.mainAxis:K+ne+te+I.mainAxis,ie=t.elements.arrow&&E(t.elements.arrow),ae=ie?"y"===j?ie.clientTop||0:ie.clientLeft||0:0,ce=null!=(F=null==M?void 0:M[j])?F:0,le=B+oe-ce,fe=ue(m?l(W,B+re-ce-ae):W,B,m?u(V,le):V);S[j]=fe,N[j]=fe-B}if(c){var pe,de="x"===j?k:C,he="x"===j?Z:T,me=S[P],ge="y"===P?"height":"width",ve=me+y[de],ye=me-y[he],be=-1!==[k,C].indexOf(b),we=null!=(pe=null==M?void 0:M[P])?pe:0,Oe=be?ve:me-D[ge]-_[ge]-we+I.altAxis,xe=be?me+D[ge]+_[ge]-we-I.altAxis:ye,je=m&&be?function(e,t,n){var r=ue(e,t,n);return r>n?n:r}(Oe,me,xe):ue(m?Oe:ve,me,m?xe:ye);S[P]=je,N[P]=je-me}t.modifiersData[r]=N}},requiresIfExists:["offset"]};const fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,c=z(n.placement),s=G(c),u=[C,T].indexOf(c)>=0?"height":"width";if(i&&a){var l=function(e,t){return ae("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ce(e,_))}(o.padding,n),f=w(i),p="y"===s?k:C,d="y"===s?Z:T,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],g=E(i),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=l[p],O=v-f[u]-l[d],x=v/2-f[u]/2+y,j=ue(b,x,O),P=s;n.modifiersData[r]=((t={})[P]=j,t.centerOffset=j-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ne(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pe(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 de(e){return[k,T,Z,C].some((function(t){return e[t]>=0}))}var he=W({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,c=r.resize,s=void 0===c||c,u=i(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",n.update,V)})),s&&u.addEventListener("resize",n.update,V),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",n.update,V)})),s&&u.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$({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,i=n.adaptive,a=void 0===i||i,c=n.roundOffsets,s=void 0===c||c,u={placement:z(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,K(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,K(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]||{},i=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,i),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,i=void 0===o||o,a=n.altAxis,c=void 0===a||a,s=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,v=z(g),y=s||(v===g||!h?[Q(g)]:function(e){if(z(e)===D)return[];var t=Q(e);return[te(e),t,te(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(z(n)===D?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,c=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?F:s,l=q(r),f=l?c?N:N.filter((function(e){return q(e)===l})):_,p=f.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=se(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[z(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,O=t.rects.popper,x=new Map,j=!0,P=b[0],S=0;S<b.length;S++){var E=b[S],R=z(E),I=q(E)===A,M=[k,Z].indexOf(R)>=0,L=M?"width":"height",H=se(t,{placement:E,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),U=M?I?T:C:I?Z:k;w[L]>O[L]&&(U=Q(U));var B=Q(U),W=[];if(i&&W.push(H[R]<=0),c&&W.push(H[U]<=0,H[B]<=0),W.every((function(e){return e}))){P=E,j=!1;break}x.set(E,W)}if(j)for(var V=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},G=h?3:1;G>0;G--){if("break"===V(G))break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,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,i=t.modifiersData.preventOverflow,a=se(t,{elementContext:"reference"}),c=se(t,{altBoundary:!0}),s=pe(a,r),u=pe(c,o,i),l=de(s),f=de(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),ve=n(87568),ye=[],be=function(e,t,n){void 0===n&&(n={});var i=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ye},c=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=c[0],u=c[1],l=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);o.flushSync((function(){u({styles:(0,ve.sq)(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,ve.sq)(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),f=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[l,{name:"applyStyles",enabled:!1}])};return ge()(i.current,e)?i.current||e:(i.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,l]),p=r.useRef();return(0,ve.LI)((function(){p.current&&p.current.setOptions(f)}),[f]),(0,ve.LI)((function(){if(null!=e&&null!=t){var r=(n.createPopper||he)(e,t,f);return p.current=r,function(){r.destroy(),p.current=null}}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:s.styles,attributes:s.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}},87568:(e,t,n)=>{"use strict";n.d(t,{$p:()=>o,DL:()=>i,LI:()=>s,k$:()=>a,sq:()=>c});var r=n(1024),o=function(e){return Array.isArray(e)?e[0]:e},i=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)}},a=function(e,t){if("function"==typeof e)return i(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},60663:(e,t,n)=>{"use strict";n.d(t,{S:()=>ne});var r=n(3640),o=n(12864),i=n(11259),a=n(44822),c=n(32208),s=n(45915),u=n(1024),l=n(82765),f=n(34720),p=n(56315);for(var d={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"},h=function(e){return(0,l.tZ)("span",(0,r.Z)({css:d},e))},m={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,i=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,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=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&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t){var l=c?" disabled":"",f="".concat(s?"selected":"focused").concat(l);return"option ".concat(i," ").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:"",".")}},g=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,c=e.selectValue,s=e.selectProps,f=e.id,p=s.ariaLiveMessages,d=s.getOptionLabel,g=s.inputValue,v=s.isMulti,y=s.isOptionDisabled,b=s.isSearchable,w=s.menuIsOpen,O=s.options,x=s.screenReaderStatus,j=s.tabSelectsValue,P=s["aria-label"],S=s["aria-live"],E=(0,u.useMemo)((function(){return(0,o.a)((0,o.a)({},m),p||{})}),[p]),k=(0,u.useMemo)((function(){var e,n="";if(t&&E.onChange){var r=t.option,i=t.options,a=t.removedValue,s=t.removedValues,u=t.value,l=a||r||(e=u,Array.isArray(e)?null:e),f=l?d(l):"",p=i||s||void 0,h=p?p.map(d):[],m=(0,o.a)({isDisabled:l&&y(l,c),label:f,labels:h},t);n=E.onChange(m)}return n}),[t,E,y,c,d]),Z=(0,u.useMemo)((function(){var e="",t=n||r,o=!!(n&&c&&c.includes(n));if(t&&E.onFocus){var i={focused:t,label:d(t),isDisabled:y(t,c),isSelected:o,options:O,context:t===n?"menu":"value",selectValue:c};e=E.onFocus(i)}return e}),[n,r,d,y,E,O,c]),T=(0,u.useMemo)((function(){var e="";if(w&&O.length&&E.onFilter){var t=x({count:i.length});e=E.onFilter({inputValue:g,resultsMessage:t})}return e}),[i,g,w,E,O,x]),C=(0,u.useMemo)((function(){var e="";if(E.guidance){var t=r?"value":w?"menu":"input";e=E.guidance({"aria-label":P,context:t,isDisabled:n&&y(n,c),isMulti:v,isSearchable:b,tabSelectsValue:j})}return e}),[P,n,r,v,y,b,w,E,c,j]),D="".concat(Z," ").concat(T," ").concat(C),_=(0,l.tZ)(u.Fragment,null,(0,l.tZ)("span",{id:"aria-selection"},k),(0,l.tZ)("span",{id:"aria-context"},D)),A="initial-input-focus"===(null==t?void 0:t.action);return(0,l.tZ)(u.Fragment,null,(0,l.tZ)(h,{id:f},A&&_),(0,l.tZ)(h,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text"},a&&!A&&_))},v=[{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źẑżžẓẕƶȥɀⱬꝣ"}],y=new RegExp("["+v.map((function(e){return e.letters})).join("")+"]","g"),b={},w=0;w<v.length;w++)for(var O=v[w],x=0;x<O.letters.length;x++)b[O.letters[x]]=O.base;var j=function(e){return e.replace(y,(function(e){return b[e]}))},P=(0,f.Z)(j),S=function(e){return e.replace(/^\s+|\s+$/g,"")},E=function(e){return"".concat(e.label," ").concat(e.value)},k=["innerRef"];function Z(e){var t=e.innerRef,n=(0,p.Z)(e,k),i=(0,o.r)(n,"onExited","in","enter","exit","appear");return(0,l.tZ)("input",(0,r.Z)({ref:t},i,{css:(0,l.iv)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var T=["boxSizing","height","overflow","paddingRight","position"],C={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function D(e){e.preventDefault()}function _(e){e.stopPropagation()}function A(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function R(){return"ontouchstart"in window||navigator.maxTouchPoints}var I=!("undefined"==typeof window||!window.document||!window.document.createElement),M=0,N={capture:!1,passive:!1};var F=function(){return document.activeElement&&document.activeElement.blur()},L={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function H(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,c=(0,u.useRef)(!1),s=(0,u.useRef)(!1),l=(0,u.useRef)(0),f=(0,u.useRef)(null),p=(0,u.useCallback)((function(e,t){if(null!==f.current){var o=f.current,u=o.scrollTop,l=o.scrollHeight,p=o.clientHeight,d=f.current,h=t>0,m=l-p-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),d.scrollTop=l,g=!0,c.current=!0):!h&&-t>u&&(i&&!s.current&&i(e),d.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,i,a]),d=(0,u.useCallback)((function(e){p(e,e.deltaY)}),[p]),h=(0,u.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),m=(0,u.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;p(e,t)}),[p]),g=(0,u.useCallback)((function(e){if(e){var t=!!o.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}}),[m,h,d]),v=(0,u.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))}),[m,h,d]);return(0,u.useEffect)((function(){if(t){var e=f.current;return g(e),function(){v(e)}}}),[t,g,v]),function(e){f.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,u.useRef)({}),i=(0,u.useRef)(null),a=(0,u.useCallback)((function(e){if(I){var t=document.body,n=t&&t.style;if(r&&T.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&M<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,c=window.innerWidth-a+i||0;Object.keys(C).forEach((function(e){var t=C[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(c,"px"))}t&&R()&&(t.addEventListener("touchmove",D,N),e&&(e.addEventListener("touchstart",A,N),e.addEventListener("touchmove",_,N))),M+=1}}),[r]),c=(0,u.useCallback)((function(e){if(I){var t=document.body,n=t&&t.style;M=Math.max(M-1,0),r&&M<1&&T.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&R()&&(t.removeEventListener("touchmove",D,N),e&&(e.removeEventListener("touchstart",A,N),e.removeEventListener("touchmove",_,N)))}}),[r]);return(0,u.useEffect)((function(){if(t){var e=i.current;return a(e),function(){c(e)}}}),[t,a,c]),function(e){i.current=e}}({isEnabled:n});return(0,l.tZ)(u.Fragment,null,n&&(0,l.tZ)("div",{onClick:F,css:L}),t((function(e){i(e),a(e)})))}var U={clearIndicator:o.b,container:o.d,control:o.e,dropdownIndicator:o.f,group:o.g,groupHeading:o.h,indicatorsContainer:o.i,indicatorSeparator:o.j,input:o.k,loadingIndicator:o.l,loadingMessage:o.m,menu:o.n,menuList:o.o,menuPortal:o.p,multiValue:o.q,multiValueLabel:o.t,multiValueRemove:o.u,noOptionsMessage:o.v,option:o.w,placeholder:o.x,singleValue:o.y,valueContainer:o.z};var B,W={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}},V={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,o.A)(),captureMenuScroll:!(0,o.A)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,o.a)({ignoreCase:!0,ignoreAccents:!0,stringify:E,trim:!0,matchFrom:"any"},B),r=n.ignoreCase,i=n.ignoreAccents,a=n.stringify,c=n.trim,s=n.matchFrom,u=c?S(t):t,l=c?S(a(e)):a(e);return r&&(u=u.toLowerCase(),l=l.toLowerCase()),i&&(u=P(u),l=j(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,o.B)(),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 z(e,t,n,r){return{type:"option",data:t,isDisabled:X(e,t,n),isSelected:J(e,t,n),label:Y(e,t),value:K(e,t),index:r}}function q(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return z(e,n,t,r)})).filter((function(t){return $(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=z(e,n,t,r);return $(e,i)?i:void 0})).filter(o.H)}function G(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,s.Z)(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function $(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,c=t.value;return(!ee(e)||!i)&&Q(e,{label:a,value:c,data:o},r)}var Y=function(e,t){return e.getOptionLabel(t)},K=function(e,t){return e.getOptionValue(t)};function X(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function J(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=K(e,t);return n.some((function(t){return K(e,t)===r}))}function Q(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ee=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},te=1,ne=function(e){(0,c.Z)(n,e);var t=(0,o._)(n);function n(e){var r;return(0,i.Z)(this,n),(r=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},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,c=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:c}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,a=t.name,c=r.state.selectValue,u=i&&r.isOptionSelected(e,c),l=r.isOptionDisabled(e,c);if(u){var f=r.getOptionValue(e);r.setValue((0,o.C)(c.filter((function(e){return r.getOptionValue(e)!==f}))),"deselect-option",e)}else{if(l)return void r.ariaOnChange((0,o.D)(e),{action:"select-option",option:e,name:a});i?r.setValue((0,o.C)([].concat((0,s.Z)(c),[e])),"select-option",e):r.setValue((0,o.D)(e),"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),a=n.filter((function(e){return r.getOptionValue(e)!==i})),c=(0,o.E)(t,a,a[0]||null);r.onChange(c,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange((0,o.E)(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),a=(0,o.E)(e,i,i[0]||null);r.onChange(a,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.F.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Y(r.props,e)},r.getOptionValue=function(e){return K(r.props,e)},r.getStyles=function(e,t){var n=U[e](t);n.boxSizing="border-box";var o=r.props.styles[e];return o?o(n,t):n},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getComponents=function(){return(0,o.G)(r.props)},r.buildCategorizedOptions=function(){return q(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return G(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:(0,o.a)({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,o.I)(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return ee(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,c=t.isClearable,s=t.isDisabled,u=t.menuIsOpen,l=t.onKeyDown,f=t.tabSelectsValue,p=t.openMenuOnFocus,d=r.state,h=d.focusedOption,m=d.focusedValue,g=d.selectValue;if(!(s||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():c&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!f||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):c&&i&&r.clearValue();break;case" ":if(a)return;if(!u){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++te),r.state.selectValue=(0,o.J)(e.value),r}return(0,a.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,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,o.K)(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,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var c=i.indexOf(r[0]);c>-1&&(a=c)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+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(W):(0,o.a)((0,o.a)({},W),this.props.theme):W}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,c=a.isMulti,s=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:c,isRtl:s,options:u,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return X(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return J(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Q(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,i=e.inputId,a=e.inputValue,c=e.tabIndex,s=e.form,l=e.menuIsOpen,f=this.getComponents().Input,p=this.state,d=p.inputIsHidden,h=p.ariaSelection,m=this.commonProps,g=i||this.getElementId("input"),v=(0,o.a)((0,o.a)((0,o.a)({"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?u.createElement(f,(0,r.Z)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:s,type:"text",value:a},v)):u.createElement(Z,(0,r.Z)({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:o.L,onFocus:this.onInputFocus,disabled:t,tabIndex:c,inputMode:"none",form:s,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,c=t.SingleValue,s=t.Placeholder,l=this.commonProps,f=this.props,p=f.controlShouldRenderValue,d=f.isDisabled,h=f.isMulti,m=f.inputValue,g=f.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!p)return m?null:u.createElement(s,(0,r.Z)({},l,{key:"placeholder",isDisabled:d,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return y.map((function(t,c){var s=t===b,f="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return u.createElement(n,(0,r.Z)({},l,{components:{Container:o,Label:i,Remove:a},isFocused:s,isDisabled:d,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 O=y[0];return u.createElement(c,(0,r.Z)({},l,{data:O,isDisabled:d}),this.formatOptionLabel(O,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return u.createElement(e,(0,r.Z)({},t,{innerProps:c,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return u.createElement(e,(0,r.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return u.createElement(n,(0,r.Z)({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return u.createElement(e,(0,r.Z)({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,a=t.Menu,c=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,f=t.NoOptionsMessage,p=t.Option,d=this.commonProps,h=this.state.focusedOption,m=this.props,g=m.captureMenuScroll,v=m.inputValue,y=m.isLoading,b=m.loadingMessage,w=m.minMenuHeight,O=m.maxMenuHeight,x=m.menuIsOpen,j=m.menuPlacement,P=m.menuPosition,S=m.menuPortalTarget,E=m.menuShouldBlockScroll,k=m.menuShouldScrollIntoView,Z=m.noOptionsMessage,T=m.onMenuScrollToTop,C=m.onMenuScrollToBottom;if(!x)return null;var D,_=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,c=t.isSelected,s=t.label,l=t.value,f=h===i,m=a?void 0:function(){return e.onOptionHover(i)},g=a?void 0:function(){return e.selectOption(i)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1};return u.createElement(p,(0,r.Z)({},d,{innerProps:y,data:i,isDisabled:a,isSelected:c,key:v,label:s,type:o,value:l,isFocused:f,innerRef:f?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,s="".concat(e.getElementId("group"),"-").concat(c),l="".concat(s,"-heading");return u.createElement(n,(0,r.Z)({},d,{key:s,data:o,options:a,Heading:i,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return _(e,"".concat(c,"-").concat(e.index))})))}if("option"===t.type)return _(t,"".concat(t.index))}));else if(y){var A=b({inputValue:v});if(null===A)return null;D=u.createElement(l,d,A)}else{var R=Z({inputValue:v});if(null===R)return null;D=u.createElement(f,d,R)}var I={minMenuHeight:w,maxMenuHeight:O,menuPlacement:j,menuPosition:P,menuShouldScrollIntoView:k},M=u.createElement(o.M,(0,r.Z)({},d,I),(function(t){var n=t.ref,o=t.placerProps,i=o.placement,s=o.maxHeight;return u.createElement(a,(0,r.Z)({},d,I,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:y,placement:i}),u.createElement(H,{captureEnabled:g,onTopArrive:T,onBottomArrive:C,lockEnabled:E},(function(t){return u.createElement(c,(0,r.Z)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:y,maxHeight:s,focusedOption:h}),D)})))}));return S||"fixed"===P?u.createElement(s,(0,r.Z)({},d,{appendTo:S,controlElement:this.controlRef,menuPlacement:j,menuPosition:P}),M):M}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=this.state.selectValue;if(i&&!r){if(o){if(n){var c=a.map((function(t){return e.getOptionValue(t)})).join(n);return u.createElement("input",{name:i,type:"hidden",value:c})}var s=a.length>0?a.map((function(t,n){return u.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):u.createElement("input",{name:i,type:"hidden"});return u.createElement("div",null,s)}var l=a[0]?this.getOptionValue(a[0]):"";return u.createElement("input",{name:i,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,a=t.isFocused,c=t.selectValue,s=this.getFocusableOptions();return u.createElement(g,(0,r.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:a,selectValue:c,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,c=a.className,s=a.id,l=a.isDisabled,f=a.menuIsOpen,p=this.state.isFocused,d=this.commonProps=this.getCommonProps();return u.createElement(o,(0,r.Z)({},d,{className:c,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:p}),this.renderLiveRegion(),u.createElement(t,(0,r.Z)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:p,menuIsOpen:f}),u.createElement(i,(0,r.Z)({},d,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),u.createElement(n,(0,r.Z)({},d,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,c=t.isFocused,s=t.prevWasFocused,u=e.options,l=e.value,f=e.menuIsOpen,p=e.inputValue,d=e.isMulti,h=(0,o.J)(l),m={};if(n&&(l!==n.value||u!==n.options||f!==n.menuIsOpen||p!==n.inputValue)){var g=f?function(e,t){return G(q(e,t))}(e,h):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:y,focusedValue:v,clearFocusValueOnUpdate:!1}}var b=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=a,O=c&&s;return c&&!O&&(w={value:(0,o.E)(d,h,h[0]||null),options:h,action:"initial-input-focus"},O=!s),"initial-input-focus"===(null==a?void 0:a.action)&&(w=null),(0,o.a)((0,o.a)((0,o.a)({},m),b),{},{prevProps:e,ariaSelection:w,prevWasFocused:O})}}]),n}(u.Component);ne.defaultProps=V},12864:(e,t,n)=>{"use strict";n.d(t,{A:()=>A,B:()=>R,C:()=>B,D:()=>U,E:()=>H,F:()=>P,G:()=>Ne,H:()=>L,I:()=>k,J:()=>S,K:()=>_,L:()=>x,M:()=>$,_:()=>w,a:()=>v,b:()=>he,c:()=>Me,d:()=>oe,e:()=>we,f:()=>de,g:()=>xe,h:()=>je,i:()=>ae,j:()=>me,k:()=>Se,l:()=>ve,m:()=>J,n:()=>q,o:()=>Y,p:()=>ne,q:()=>Te,r:()=>W,s:()=>F,t:()=>Ce,u:()=>De,v:()=>X,w:()=>Ae,x:()=>Re,y:()=>Ie,z:()=>ie});var r=n(3640),o=n(82765),i=n(91411),a=n(56315),c=n(68957),s=n(73891),u=n(11259),l=n(44822),f=n(32208),p=n(46927),d=n(1024),h=n(30314);function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function b(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(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=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}var O=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],x=function(){};function j(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function P(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(j(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var S=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,s.Z)(e)&&null!==e?[e]:[];var t},E=function(e){return 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,v({},(0,a.Z)(e,O))};function k(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Z(e){return k(e)?window.pageYOffset:e.scrollTop}function T(e,t){k(e)?window.scrollTo(0,t):e.scrollTop=t}function C(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:x,o=Z(e),i=t-o,a=10,c=0;function s(){var t=C(c+=a,o,i,n);T(e,t),c<n?window.requestAnimationFrame(s):r(e)}s()}function _(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?T(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&T(e,Math.max(t.offsetTop-o,0))}function A(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function R(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var I=!1,M={get passive(){return I=!0}},N="undefined"!=typeof window?window:{};N.addEventListener&&N.removeEventListener&&(N.addEventListener("p",x,M),N.removeEventListener("p",x,!1));var F=I;function L(e){return null!=e}function H(e,t,n){return e?t:n}function U(e){return e}function B(e){return e}var W=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,c.Z)(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=(0,c.Z)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})};function V(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=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,p=n.getBoundingClientRect(),d=p.bottom,h=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:k(l=s)?window.innerHeight:l.clientHeight,y=Z(s),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),O=g-w,x=v-m,j=O+y,P=f-y-m,S=d-v+y+b,E=y+m-w,C=160;switch(o){case"auto":case"bottom":if(x>=h)return{placement:"bottom",maxHeight:t};if(P>=h&&!a)return i&&D(s,S,C),{placement:"bottom",maxHeight:t};if(!a&&P>=r||a&&x>=r)return i&&D(s,S,C),{placement:"bottom",maxHeight:a?x-b:P-b};if("auto"===o||a){var _=t,A=a?O:j;return A>=r&&(_=Math.min(A-b-c.controlHeight,t)),{placement:"top",maxHeight:_}}if("bottom"===o)return i&&T(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(O>=h)return{placement:"top",maxHeight:t};if(j>=h&&!a)return i&&D(s,E,C),{placement:"top",maxHeight:t};if(!a&&j>=r||a&&O>=r){var R=t;return(!a&&j>=r||a&&O>=r)&&(R=a?O-w:j-w),i&&D(s,E,C),{placement:"top",maxHeight:R}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var z=function(e){return"auto"===e?"bottom":e},q=function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return t={label:"menu"},(0,p.Z)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),(0,p.Z)(t,"backgroundColor",a.neutral0),(0,p.Z)(t,"borderRadius",o),(0,p.Z)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),(0,p.Z)(t,"marginBottom",i.menuGutter),(0,p.Z)(t,"marginTop",i.menuGutter),(0,p.Z)(t,"position","absolute"),(0,p.Z)(t,"width","100%"),(0,p.Z)(t,"zIndex",1),t},G=(0,d.createContext)({getPortalPlacement:null}),$=function(e){(0,f.Z)(n,e);var t=w(n);function n(){var e;(0,u.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,i=n.menuPlacement,a=n.menuPosition,c=n.menuShouldScrollIntoView,s=n.theme;if(t){var u="fixed"===a,l=V({maxHeight:o,menuEl:t,minHeight:r,placement:i,shouldScroll:c&&!u,isFixedPosition:u,theme:s}),f=e.context.getPortalPlacement;f&&f(l),e.setState(l)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||z(t);return v(v({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return(0,l.Z)(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(d.Component);$.contextType=G;var Y=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},K=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"}},X=K,J=K,Q=function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("noOptionsMessage",e),className:i({"menu-notice":!0,"menu-notice--no-options":!0},n)},c),t)};Q.defaultProps={children:"No options"};var ee=function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("loadingMessage",e),className:i({"menu-notice":!0,"menu-notice--loading":!0},n)},c),t)};ee.defaultProps={children:"Loading..."};var te,ne=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}},re=function(e){(0,f.Z)(n,e);var t=w(n);function n(){var e;(0,u.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==z(e.props.menuPlacement)&&e.setState({placement:n})},e}return(0,l.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,i=e.className,a=e.controlElement,c=e.cx,s=e.innerProps,u=e.menuPlacement,l=e.menuPosition,f=e.getStyles,p="fixed"===l;if(!t&&!p||!a)return null;var d=this.state.placement||z(u),m=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}}(a),g=p?0:window.pageYOffset,v={offset:m[d]+g,position:l,rect:m},y=(0,o.tZ)("div",(0,r.Z)({css:f("menuPortal",v),className:c({"menu-portal":!0},i)},s),n);return(0,o.tZ)(G.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,h.createPortal)(y,t):y)}}]),n}(d.Component),oe=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},ie=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"}},ae=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},ce=["size"];var se={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},ue=function(e){var t=e.size,n=(0,a.Z)(e,ce);return(0,o.tZ)("svg",(0,r.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:se},n))},le=function(e){return(0,o.tZ)(ue,(0,r.Z)({size:20},e),(0,o.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"}))},fe=function(e){return(0,o.tZ)(ue,(0,r.Z)({size:20},e),(0,o.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"}))},pe=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}}},de=pe,he=pe,me=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}},ge=(0,o.F4)(te||(te=(0,i.Z)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),ve=function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},ye=function(e){var t=e.delay,n=e.offset;return(0,o.tZ)("span",{css:(0,o.iv)({animation:"".concat(ge," 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"},"","")})},be=function(e){var t=e.className,n=e.cx,i=e.getStyles,a=e.innerProps,c=e.isRtl;return(0,o.tZ)("div",(0,r.Z)({css:i("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},a),(0,o.tZ)(ye,{delay:0,offset:c}),(0,o.tZ)(ye,{delay:160,offset:!0}),(0,o.tZ)(ye,{delay:320,offset:!c}))};be.defaultProps={size:4};var we=function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,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:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},Oe=["data"],xe=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},je=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"}},Pe=["innerRef","isDisabled","isHidden","inputClassName"],Se=function(e){var t=e.isDisabled,n=e.value,r=e.theme,o=r.spacing,i=r.colors;return v({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80,transform:n?"translateZ(0)":""},ke)},Ee={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ke={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":v({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ee)},Ze=function(e){return v({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ee)},Te=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}},Ce=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"}},De=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}}},_e=function(e){var t=e.children,n=e.innerProps;return(0,o.tZ)("div",n,t)};var Ae=function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:r?a.primary:a.primary50}}},Re=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}},Ie=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"}},Me={ClearIndicator:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("clearIndicator",e),className:i({indicator:!0,"clear-indicator":!0},n)},c),t||(0,o.tZ)(le,null))},Control:function(e){var t=e.children,n=e.cx,i=e.getStyles,a=e.className,c=e.isDisabled,s=e.isFocused,u=e.innerRef,l=e.innerProps,f=e.menuIsOpen;return(0,o.tZ)("div",(0,r.Z)({ref:u,css:i("control",e),className:n({control:!0,"control--is-disabled":c,"control--is-focused":s,"control--menu-is-open":f},a)},l),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("dropdownIndicator",e),className:i({indicator:!0,"dropdown-indicator":!0},n)},c),t||(0,o.tZ)(fe,null))},DownChevron:fe,CrossIcon:le,Group:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.Heading,s=e.headingProps,u=e.innerProps,l=e.label,f=e.theme,p=e.selectProps;return(0,o.tZ)("div",(0,r.Z)({css:a("group",e),className:i({group:!0},n)},u),(0,o.tZ)(c,(0,r.Z)({},s,{selectProps:p,theme:f,getStyles:a,cx:i}),l),(0,o.tZ)("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,i=e.className,c=E(e);c.data;var s=(0,a.Z)(c,Oe);return(0,o.tZ)("div",(0,r.Z)({css:t("groupHeading",e),className:n({"group-heading":!0},i)},s))},IndicatorsContainer:function(e){var t=e.children,n=e.className,i=e.cx,a=e.innerProps,c=e.getStyles;return(0,o.tZ)("div",(0,r.Z)({css:c("indicatorsContainer",e),className:i({indicators:!0},n)},a),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,i=e.getStyles,a=e.innerProps;return(0,o.tZ)("span",(0,r.Z)({},a,{css:i("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,i=e.getStyles,c=e.value,s=E(e),u=s.innerRef,l=s.isDisabled,f=s.isHidden,p=s.inputClassName,d=(0,a.Z)(s,Pe);return(0,o.tZ)("div",{className:n({"input-container":!0},t),css:i("input",e),"data-value":c||""},(0,o.tZ)("input",(0,r.Z)({className:n({input:!0},p),ref:u,style:Ze(f),disabled:l},d)))},LoadingIndicator:be,Menu:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.innerRef,s=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("menu",e),className:i({menu:!0},n),ref:c},s),t)},MenuList:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.innerProps,s=e.innerRef,u=e.isMulti;return(0,o.tZ)("div",(0,r.Z)({css:a("menuList",e),className:i({"menu-list":!0,"menu-list--is-multi":u},n),ref:s},c),t)},MenuPortal:re,LoadingMessage:ee,NoOptionsMessage:Q,MultiValue:function(e){var t=e.children,n=e.className,r=e.components,i=e.cx,a=e.data,c=e.getStyles,s=e.innerProps,u=e.isDisabled,l=e.removeProps,f=e.selectProps,p=r.Container,d=r.Label,h=r.Remove;return(0,o.tZ)(o.ms,null,(function(r){var m=r.css,g=r.cx;return(0,o.tZ)(p,{data:a,innerProps:v({className:g(m(c("multiValue",e)),i({"multi-value":!0,"multi-value--is-disabled":u},n))},s),selectProps:f},(0,o.tZ)(d,{data:a,innerProps:{className:g(m(c("multiValueLabel",e)),i({"multi-value__label":!0},n))},selectProps:f},t),(0,o.tZ)(h,{data:a,innerProps:v({className:g(m(c("multiValueRemove",e)),i({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},l),selectProps:f}))}))},MultiValueContainer:_e,MultiValueLabel:_e,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({role:"button"},n),t||(0,o.tZ)(le,{size:14}))},Option:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.isDisabled,s=e.isFocused,u=e.isSelected,l=e.innerRef,f=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("option",e),className:i({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,i=e.cx,a=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("placeholder",e),className:i({placeholder:!0},n)},c),t)},SelectContainer:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.innerProps,s=e.isDisabled,u=e.isRtl;return(0,o.tZ)("div",(0,r.Z)({css:a("container",e),className:i({"--is-disabled":s,"--is-rtl":u},n)},c),t)},SingleValue:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,c=e.isDisabled,s=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("singleValue",e),className:i({"single-value":!0,"single-value--is-disabled":c},n)},s),t)},ValueContainer:function(e){var t=e.children,n=e.className,i=e.cx,a=e.innerProps,c=e.isMulti,s=e.getStyles,u=e.hasValue;return(0,o.tZ)("div",(0,r.Z)({css:s("valueContainer",e),className:i({"value-container":!0,"value-container--is-multi":c,"value-container--has-value":u},n)},a),t)}},Ne=function(e){return v(v({},Me),e.components)}},95134:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>m});var r=n(85230),o=n(3640),i=n(1024),a=n(60663),c=n(11259),s=n(44822),u=n(32208),l=n(12864),f=n(4692),p=n(77499),d=n(34720),h=(n(30314),(0,i.forwardRef)((function(e,t){var n=(0,r.u)(e);return i.createElement(a.S,(0,o.Z)({ref:t},n))})));i.Component;const m=h},85230:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var r=n(12864),o=n(68957),i=n(56315),a=n(1024),c=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function s(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,p=e.inputValue,d=e.menuIsOpen,h=e.onChange,m=e.onInputChange,g=e.onMenuClose,v=e.onMenuOpen,y=e.value,b=(0,i.Z)(e,c),w=(0,a.useState)(void 0!==p?p:n),O=(0,o.Z)(w,2),x=O[0],j=O[1],P=(0,a.useState)(void 0!==d?d:u),S=(0,o.Z)(P,2),E=S[0],k=S[1],Z=(0,a.useState)(void 0!==y?y:f),T=(0,o.Z)(Z,2),C=T[0],D=T[1],_=(0,a.useCallback)((function(e,t){"function"==typeof h&&h(e,t),D(e)}),[h]),A=(0,a.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),j(void 0!==n?n:e)}),[m]),R=(0,a.useCallback)((function(){"function"==typeof v&&v(),k(!0)}),[v]),I=(0,a.useCallback)((function(){"function"==typeof g&&g(),k(!1)}),[g]),M=void 0!==p?p:x,N=void 0!==d?d:E,F=void 0!==y?y:C;return(0,r.a)((0,r.a)({},b),{},{inputValue:M,menuIsOpen:N,onChange:_,onInputChange:A,onMenuClose:I,onMenuOpen:R,value:F})}},44066:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(1024),o=n.n(r),i=n(46444),a=n.n(i),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 i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=u(this,e.call.apply(e,[this].concat(a))),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:a().oneOfType([a().node,a().func]).isRequired,onBlur:a().func,onFocus:a().func},f.defaultProps={onBlur:function(){},onFocus:function(){}};const p=f},99430:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(1024)),o=c(n(46444)),i=c(n(30314)),a=c(n(83109));function c(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}a.default||console.error("It looks like Tether has not been included. Please load this dependency first https://github.com/HubSpot/tether");var y=[o.default.string,o.default.shape({appendChild:o.default.func.isRequired})],b=["auto auto","top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],w=function(e){function t(){var e,n;f(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return v(g(g(n=d(this,(e=h(t)).call.apply(e,[this].concat(i))))),"_targetNode",r.default.createRef()),v(g(g(n)),"_elementNode",r.default.createRef()),v(g(g(n)),"_elementParentNode",null),v(g(g(n)),"_tetherInstance",null),n}var n,o,c;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e),n=t,o=[{key:"componentDidMount",value:function(){this._createContainer(),this.forceUpdate()}},{key:"componentDidUpdate",value:function(e){if(e.renderElementTag===this.props.renderElementTag&&e.renderElementTo===this.props.renderElementTo||this._createContainer(),this._elementParentNode&&e.className!==this.props.className){var t,n,r=(e.className||"").split(" ").filter((function(e){return e.length>0})),o=(this.props.className||"").split(" ").filter((function(e){return e.length>0}));(t=this._elementParentNode.classList).remove.apply(t,l(r)),(n=this._elementParentNode.classList).add.apply(n,l(o))}this._update()}},{key:"componentWillUnmount",value:function(){this._destroy()}},{key:"getTetherInstance",value:function(){return this._tetherInstance}},{key:"disable",value:function(){this._tetherInstance.disable()}},{key:"enable",value:function(){this._tetherInstance.enable()}},{key:"on",value:function(e,t,n){this._tetherInstance.on(e,t,n)}},{key:"once",value:function(e,t,n){this._tetherInstance.once(e,t,n)}},{key:"off",value:function(e,t){this._tetherInstance.off(e,t)}},{key:"position",value:function(){this._tetherInstance.position()}},{key:"_runRenders",value:function(){var e="function"==typeof this.props.renderTarget?this.props.renderTarget(this._targetNode):null,t="function"==typeof this.props.renderElement?this.props.renderElement(this._elementNode):null;return(0,r.isValidElement)(e)||(e=null),(0,r.isValidElement)(t)||(t=null),{targetComponent:e,elementComponent:t}}},{key:"_createTetherInstance",value:function(e){this._tetherInstance&&this._destroy(),this._tetherInstance=new a.default(e),this._registerEventListeners()}},{key:"_destroyTetherInstance",value:function(){this._tetherInstance&&(this._tetherInstance.destroy(),this._tetherInstance=null)}},{key:"_registerEventListeners",value:function(){var e=this;this.on("update",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.props.onUpdate&&e.props.onUpdate.apply(e,n)})),this.on("repositioned",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.props.onRepositioned&&e.props.onRepositioned.apply(e,n)}))}},{key:"_destroy",value:function(){this._destroyTetherInstance(),this._removeContainer()}},{key:"_createContainer",value:function(){this._removeContainer();var e=this.props,t=e.renderElementTag,n=e.className;this._elementParentNode=document.createElement(t),this._elementParentNode.className=n||""}},{key:"_addContainerToDOM",value:function(){this._elementParentNode.parentNode!==this._renderNode&&this._renderNode.appendChild(this._elementParentNode)}},{key:"_removeContainer",value:function(){this._elementParentNode&&this._elementParentNode.parentNode&&this._elementParentNode.parentNode.removeChild(this._elementParentNode)}},{key:"_update",value:function(){this._elementNode.current&&this._targetNode.current?this._updateTether():this._destroy()}},{key:"_updateTether",value:function(){var e=this.props,t=(e.children,e.renderElementTag,e.renderElementTo,e.id),n=(e.className,e.style),r=(e.renderTarget,e.renderElement,u(e,["children","renderElementTag","renderElementTo","id","className","style","renderTarget","renderElement"])),o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){v(e,t,n[t])}))}return e}({target:this._targetNode.current,element:this._elementParentNode},r),i=t||"";if(this._elementParentNode.id!==i&&(this._elementParentNode.id=i),n){var a=this._elementParentNode.style;Object.keys(n).forEach((function(e){a[e]!==n[e]&&(a[e]=n[e])}))}this._addContainerToDOM(),this._tetherInstance?this._tetherInstance.setOptions(o):this._createTetherInstance(o),this._tetherInstance.position()}},{key:"render",value:function(){var e=this._runRenders(),t=e.targetComponent,n=e.elementComponent;return t?r.default.createElement(r.default.Fragment,null,t,n&&this._elementParentNode&&i.default.createPortal(n,this._elementParentNode)):null}},{key:"_renderNode",get:function(){var e=this.props.renderElementTo;return"string"==typeof e?document.querySelector(e):e||document.body}}],o&&p(n.prototype,o),c&&p(n,c),t}(r.Component);v(w,"propTypes",{renderElementTag:o.default.string,renderElementTo:o.default.oneOfType(y),attachment:o.default.oneOf(b).isRequired,targetAttachment:o.default.oneOf(b),offset:o.default.string,targetOffset:o.default.string,targetModifier:o.default.string,enabled:o.default.bool,classes:o.default.object,classPrefix:o.default.string,optimizations:o.default.object,constraints:o.default.array,id:o.default.string,className:o.default.string,style:o.default.object,onUpdate:o.default.func,onRepositioned:o.default.func,renderTarget:o.default.func,renderElement:o.default.func,children:function(e,t,n){var o=e.children;if(r.Children.count(o)>0)return new Error("".concat(n," no longer uses children to render components. Please use renderTarget and renderElement instead."))}}),v(w,"defaultProps",{renderElementTag:"div",renderElementTo:null});var O=w;t.default=O},50855:(e,t,n)=>{"use strict";Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return o.default}});var r,o=(r=n(99430))&&r.__esModule?r:{default:r}},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,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i,a=n(6663),c=(i=a)&&i.__esModule?i:{default:i},s=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],n=r(t,2),i=n[0],a=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 i[e]})).filter(s);return"string"==typeof u[0]||"function"==typeof a?{key:e,className:a?a.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,i,a=n(e),c=1;c<arguments.length;c++){o=arguments[c],i=r(Object(o));for(var s=0;s<i.length;s++)a[i[s]]=o[i[s]]}return a}},59211:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=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,i=Object.create(o.prototype),a=new Z(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=S(a,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=d;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?h:p,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,a),i}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",p="suspendedYield",d="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};b[i]=function(){return this};var w=Object.getPrototypeOf,O=w&&w(w(T([])));O&&O!==n&&r.call(O,i)&&(b=O);var x=y.prototype=g.prototype=Object.create(b);function j(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(o,i,a,c){var s=l(e[o],e,i);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,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}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 i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function E(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=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 a.next=a}}return{next:C}}function C(){return{value:t,done:!0}}return v.prototype=x.constructor=y,y.constructor=v,v.displayName=s(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},j(P.prototype),P.prototype[a]=function(){return this},e.AsyncIterator=P,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new P(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},j(x),s(x,c,"Generator"),x[i]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,Z.prototype={constructor:Z,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(k),!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 i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.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 i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},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),k(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;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(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,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var n=e.data,r=e.multiSection;function o(e){var o=t(e,2),i=o[0],a=o[1];return r?null===a||a===n[i]-1?null===(i=function(e){for(null===e?e=0:e++;e<n.length&&0===n[e];)e++;return e===n.length?null:e}(i))?[null,null]:[i,0]:[i,a+1]:0===n||a===n-1?[null,null]:null===a?[null,0]:[null,a+1]}return{next:o,prev:function(e){var o=t(e,2),i=o[0],a=o[1];return r?null===a||0===a?null===(i=function(e){for(null===e?e=n.length-1:e--;e>=0&&0===n[e];)e--;return-1===e?null:e}(i))?[null,null]:[i,n[i]-1]:[i,a-1]:0===n||0===a?[null,null]:null===a?[null,n-1]:[null,a-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 i=e.ownerDocument.defaultView.frameElement;if(i){var a=o(i);n.top+=a.top,n.bottom+=a.top,n.left+=a.left,n.right+=a.left}}}catch(e){}return n}function i(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 i=o,a=i.overflow,c=i.overflowX,s=i.overflowY;/(auto|scroll|overlay)/.test(a+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 a,c=(a=0,function(){return++a}),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),j((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),i=u();return r.top-=i.top,r.left-=i.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 p(e){return e.offsetParent||document.documentElement}var d=null;function h(){if(d)return d;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 d={width:o,height:o}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var n=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),r=b(e).replace(n," ");w(e,r)}}function v(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{g(e,t);var n=b(e)+" "+t;w(e,n)}}function y(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=b(e);return new RegExp("(^| )"+t+"( |$)","gi").test(n)}function b(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function w(e,t){e.setAttribute("class",t)}function O(e,t,n){n.forEach((function(n){-1===t.indexOf(n)&&y(e,n)&&g(e,n)})),t.forEach((function(t){y(e,t)||v(e,t)}))}var x=[],j=function(e){x.push(e)},P=function(){for(var e=void 0;e=x.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 i=this.bindings[e][t],a=i.handler,c=i.ctx,s=i.once,u=c;void 0===u&&(u=this),a.apply(u,r),s?this.bindings[e].splice(t,1):++t}}}}]),n}();n.Utils={getActualBoundingClientRect:o,getScrollParents:i,getBounds:f,getOffsetParent:p,extend:m,addClass:v,removeClass:g,hasClass:y,updateClasses:O,defer:j,flush:P,uniqueId:c,Evented:S,getScrollBarSize:h,removeUtilElements:l};var E=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}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")}}(),k=(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,i=t,a=n;r=!1,null===o&&(o=Function.prototype);var c=Object.getOwnPropertyDescriptor(o,i);if(void 0!==c){if("value"in c)return c.value;var s=c.get;if(void 0===s)return;return s.call(a)}var u=Object.getPrototypeOf(o);if(null===u)return;e=u,t=i,n=a,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 Z(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 i=(X=n.Utils).getScrollParents,p=(f=X.getBounds,X.getOffsetParent),v=(m=X.extend,X.addClass),g=X.removeClass,h=(O=X.updateClasses,j=X.defer,P=X.flush,X.getScrollBarSize),l=X.removeUtilElements;function T(e,t){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+n>=t&&t>=e-n}var C,D,_,A,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}}(),I=[],M=function(){I.forEach((function(e){e.position(!1)})),P()};function N(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}C=null,D=null,_=null,A=function e(){if(void 0!==D&&D>16)return D=Math.min(D-16,250),void(_=setTimeout(e,250));void 0!==C&&N()-C<10||(null!=_&&(clearTimeout(_),_=null),C=N(),M(),D=N()-C)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,A)}));var F={center:"center",left:"right",right:"left"},L={middle:"middle",top:"bottom",bottom:"top"},H={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}},B=function(e){var t=e.left,n=e.top;return void 0!==H[e.left]&&(t=H[e.left]),void 0!==H[e.top]&&(n=H[e.top]),{left:t,top:n}};function W(){for(var e={top:0,left:0},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){var n=t.top,r=t.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof r&&(r=parseFloat(r,10)),e.top+=n,e.left+=r})),e}function V(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var z=function(e){var t=e.split(" "),n=E(t,2);return{top:n[0],left:n[1]}},q=z,G=function(r){function o(e){var r=this;t(this,o),k(Object.getPrototypeOf(o.prototype),"constructor",this).call(this),this.position=this.position.bind(this),I.push(this),this.history=[],this.setOptions(e,!1),n.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(r)})),this.position()}return Z(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,a=o.element,c=o.target,s=o.targetModifier;if(this.element=a,this.target=c,this.targetModifier=s,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),v(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&v(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=q(this.options.targetAttachment),this.attachment=q(this.options.attachment),this.offset=z(this.options.offset),this.targetOffset=z(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=i(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}:((i={height:(e=f(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(i.height,e.height-(pageYOffset-e.top)),i.height=Math.min(i.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),i.height=Math.min(innerHeight,i.height),i.height-=2,i.width=Math.min(i.width,e.width-(pageXOffset-e.left)),i.width=Math.min(i.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),i.width=Math.min(innerWidth,i.width),i.width-=2,i.top<pageYOffset&&(i.top=pageYOffset),i.left<pageXOffset&&(i.left=pageXOffset),i);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,i={width:15,height:.975*o*(o/t.scrollHeight),left:e.left+e.width-parseFloat(n.borderLeftWidth)-15},a=0;o<408&&this.target===document.body&&(a=-11e-5*Math.pow(o,2)-.00727*o+22.58),this.target!==document.body&&(i.height=Math.max(i.height,24));var c=this.target.scrollTop/(t.scrollHeight-o);return i.top=c*(o-i.height-a)+e.top+parseFloat(n.borderTopWidth),this.target===document.body&&(i.height=Math.max(i.height,24)),i}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&v(this.target,this.getClass("enabled")),v(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),I.forEach((function(t,n){t===e&&I.splice(n,1)})),0===I.length&&l()}},{key:"updateAttachClasses",value:function(e,t){var n=this;e=e||this.attachment,t=t||this.targetAttachment;var r=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var o=this._addAttachClasses;e.top&&o.push(this.getClass("element-attached")+"-"+e.top),e.left&&o.push(this.getClass("element-attached")+"-"+e.left),t.top&&o.push(this.getClass("target-attached")+"-"+t.top),t.left&&o.push(this.getClass("target-attached")+"-"+t.left);var i=[];r.forEach((function(e){i.push(n.getClass("element-attached")+"-"+e),i.push(n.getClass("target-attached")+"-"+e)})),j((function(){void 0!==n._addAttachClasses&&(O(n.element,n._addAttachClasses,i),!1!==n.options.addTargetClasses&&O(n.target,n._addAttachClasses,i),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)})),i=o.width,a=o.height;if(0===i&&0===a&&void 0!==this.lastSize){var c=this.lastSize;i=c.width,a=c.height}else this.lastSize={width:i,height:a};var s=this.cache("target-bounds",(function(){return e.getTargetBounds()})),u=s,l=V(B(this.attachment),{width:i,height:a}),d=V(B(r),u),m=V(this.offset,{width:i,height:a}),g=V(this.targetOffset,u);l=W(l,m),d=W(d,g);for(var v=s.left+d.left-l.left,y=s.top+d.top-l.top,b=0;b<n.modules.length;++b){var w=n.modules[b].position.call(this,{left:v,top:y,targetAttachment:r,targetPos:s,elementPos:o,offset:l,targetOffset:d,manualOffset:m,manualTargetOffset:g,scrollbarSize:S,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(y=w.top,v=w.left)}var O={page:{top:y,left:v},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-a+innerHeight,left:v-pageXOffset,right:pageXOffset-v-i+innerWidth}},x=this.target.ownerDocument,j=x.defaultView,S=void 0;return j.innerHeight>x.documentElement.clientHeight&&(S=this.cache("scrollbar-size",h),O.viewport.bottom-=S.height),j.innerWidth>x.documentElement.clientWidth&&(S=this.cache("scrollbar-size",h),O.viewport.right-=S.width),-1!==["","static"].indexOf(x.body.style.position)&&-1!==["","static"].indexOf(x.body.parentElement.style.position)||(O.page.bottom=x.body.scrollHeight-y-a,O.page.right=x.body.scrollWidth-v-i),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return p(e.target)})),n=e.cache("target-offsetparent-bounds",(function(){return f(t)})),r=getComputedStyle(t),o=n,i={};if(["Top","Left","Bottom","Right"].forEach((function(e){i[e.toLowerCase()]=parseFloat(r["border"+e+"Width"])})),n.right=x.body.scrollWidth-n.left-o.width+i.right,n.bottom=x.body.scrollHeight-n.top-o.height+i.bottom,O.page.top>=n.top+i.top&&O.page.bottom>=n.bottom&&O.page.left>=n.left+i.left&&O.page.right>=n.right){var a=t.scrollTop,c=t.scrollLeft;O.offset={top:O.page.top-n.top+a-i.top,left:O.page.left-n.left+c-i.left}}}(),this.move(O),this.history.unshift(O),this.history.length>3&&this.history.pop(),t&&P(),!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 i=!1,a=0;a<this.history.length;++a){var c=this.history[a];if(void 0!==c[r]&&!T(c[r][o],e[r][o])){i=!0;break}}i||(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 p(t.target)}));p(t.element)!==r&&j((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},d=!0,h=this.element.parentNode;h&&1===h.nodeType&&"BODY"!==h.tagName&&!f(h);){if("static"!==getComputedStyle(h).position){d=!1;break}h=h.parentNode}d||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},v=!1;for(var o in s){var y=s[o];this.element.style[o]!==y&&(v=!0,g[o]=y)}v&&j((function(){m(t.element.style,g),t.trigger("repositioned")}))}}}]),o}(S);G.modules=[],n.position=M;var $=m(G,n);E=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}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,Y=(O=X.updateClasses,j=X.defer,["left","top","right","bottom"]);function K(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 i=e.ownerDocument.defaultView;t[0]+=i.pageXOffset,t[1]+=i.pageYOffset,t[2]+=i.pageXOffset,t[3]+=i.pageYOffset}Y.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 i=this.cache("element-bounds",(function(){return f(t.element)})),a=i.height,c=i.width;if(0===c&&0===a&&void 0!==this.lastSize){var s=this.lastSize;c=s.width,a=s.height}var u=this.cache("target-bounds",(function(){return t.getTargetBounds()})),l=u.height,p=u.width,d=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,n=e.pinnedClass;t&&d.push(t),n&&d.push(n)})),d.forEach((function(e){["left","top","right","bottom"].forEach((function(t){d.push(e+"-"+t)}))}));var h=[],g=m({},o),v=m({},this.attachment);return this.options.constraints.forEach((function(e){var i=e.to,s=e.attachment,u=e.pin;void 0===s&&(s="");var f=void 0,d=void 0;if(s.indexOf(" ")>=0){var m=s.split(" "),y=E(m,2);d=y[0],f=y[1]}else f=d=s;var b=K(t,i);"target"!==d&&"both"!==d||(n<b[1]&&"top"===g.top&&(n+=l,g.top="bottom"),n+a>b[3]&&"bottom"===g.top&&(n-=l,g.top="top")),"together"===d&&("top"===g.top&&("bottom"===v.top&&n<b[1]?(n+=l,g.top="bottom",n+=a,v.top="top"):"top"===v.top&&n+a>b[3]&&n-(a-l)>=b[1]&&(n-=a-l,g.top="bottom",v.top="bottom")),"bottom"===g.top&&("top"===v.top&&n+a>b[3]?(n-=l,g.top="top",n-=a,v.top="bottom"):"bottom"===v.top&&n<b[1]&&n+(2*a-l)<=b[3]&&(n+=a-l,g.top="top",v.top="top")),"middle"===g.top&&(n+a>b[3]&&"top"===v.top?(n-=a,v.top="bottom"):n<b[1]&&"bottom"===v.top&&(n+=a,v.top="top"))),"target"!==f&&"both"!==f||(r<b[0]&&"left"===g.left&&(r+=p,g.left="right"),r+c>b[2]&&"right"===g.left&&(r-=p,g.left="left")),"together"===f&&(r<b[0]&&"left"===g.left?"right"===v.left?(r+=p,g.left="right",r+=c,v.left="left"):"left"===v.left&&(r+=p,g.left="right",r-=c,v.left="right"):r+c>b[2]&&"right"===g.left?"left"===v.left?(r-=p,g.left="left",r-=c,v.left="right"):"right"===v.left&&(r-=p,g.left="left",r+=c,v.left="left"):"center"===g.left&&(r+c>b[2]&&"left"===v.left?(r-=c,v.left="right"):r<b[0]&&"right"===v.left&&(r+=c,v.left="left"))),"element"!==d&&"both"!==d||(n<b[1]&&"bottom"===v.top&&(n+=a,v.top="top"),n+a>b[3]&&"top"===v.top&&(n-=a,v.top="bottom")),"element"!==f&&"both"!==f||(r<b[0]&&("right"===v.left?(r+=c,v.left="left"):"center"===v.left&&(r+=c/2,v.left="left")),r+c>b[2]&&("left"===v.left?(r-=c,v.left="right"):"center"===v.left&&(r-=c/2,v.left="right"))),"string"==typeof u?u=u.split(",").map((function(e){return e.trim()})):!0===u&&(u=["top","left","right","bottom"]),u=u||[];var w,O,x=[],j=[];n<b[1]&&(u.indexOf("top")>=0?(n=b[1],x.push("top")):j.push("top")),n+a>b[3]&&(u.indexOf("bottom")>=0?(n=b[3]-a,x.push("bottom")):j.push("bottom")),r<b[0]&&(u.indexOf("left")>=0?(r=b[0],x.push("left")):j.push("left")),r+c>b[2]&&(u.indexOf("right")>=0?(r=b[2]-c,x.push("right")):j.push("right")),x.length&&(w=void 0,w=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),h.push(w),x.forEach((function(e){h.push(w+"-"+e)}))),j.length&&(O=void 0,O=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),h.push(O),j.forEach((function(e){h.push(O+"-"+e)}))),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(v.left=g.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(v.top=g.top=!1),g.top===o.top&&g.left===o.left&&v.top===t.attachment.top&&v.left===t.attachment.left||(t.updateAttachClasses(v,g),t.trigger("update",{attachment:v,targetAttachment:g}))})),j((function(){!1!==t.options.addTargetClasses&&O(t.target,h,d),O(t.element,h,d)})),{top:n,left:r}}});var X,f=(X=n.Utils).getBounds,O=X.updateClasses;return j=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)})),i=o.height,a=o.width,c=this.getTargetBounds(),s=n+i,u=r+a,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 p=[],d=[],h=["left","top","right","bottom"];return p.push(this.getClass("abutted")),h.forEach((function(e){p.push(t.getClass("abutted")+"-"+e)})),l.length&&d.push(this.getClass("abutted")),l.forEach((function(e){d.push(t.getClass("abutted")+"-"+e)})),j((function(){!1!==t.options.addTargetClasses&&O(t.target,d,p),O(t.element,d,p)})),!0}}),E=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}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,i=void 0;if("string"==typeof r){(r=r.split(" "))[1]=r[1]||r[0];var a=E(r,2);o=a[0],i=a[1],o=parseFloat(o,10),i=parseFloat(i,10)}else o=r.top,i=r.left;return{top:t+=o,left:n+=i}}}}),$},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},87266:(e,t,n)=>{"use strict";n.d(t,{CR:()=>i,Jh:()=>o,ev:()=>a,mG:()=>r});function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}s((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}Object.create;function i(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},13615:function(e){
58
58
  /*! @license DOMPurify 2.3.10 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.10/LICENSE */
59
- 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,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e){return i(e)||a(e)||c(e)||u()}function i(e){if(Array.isArray(e))return s(e)}function a(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,p=Object.isFrozen,d=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,v=Object.create,y="undefined"!=typeof Reflect&&Reflect,b=y.apply,w=y.construct;b||(b=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var O=D(Array.prototype.forEach),x=D(Array.prototype.pop),j=D(Array.prototype.push),P=D(String.prototype.toLowerCase),S=D(String.prototype.match),E=D(String.prototype.replace),k=D(String.prototype.indexOf),Z=D(String.prototype.trim),T=D(RegExp.prototype.test),C=_(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 _(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 A(e,t,n){n=n||P,f&&f(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var i=n(o);i!==o&&(p(t)||(t[r]=i),o=i)}e[o]=!0}return e}function R(e){var t,n=v(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function I(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return D(n.get);if("function"==typeof n.value)return D(n.value)}e=d(e)}function r(e){return console.warn("fallback value for",e),null}return r}var M=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),N=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),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"]),H=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"]),B=m(["#text"]),W=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),V=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),q=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=g(/<%[\w\W]*|[\w\W]*%>/gm),Y=g(/^data-[\-\w.\u00B7-\uFFFF]/),K=g(/^aria-[\-\w]+$/),X=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=g(/^(?:\w+script|data):/i),Q=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 i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" 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.3.10",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,c=t.HTMLTemplateElement,s=t.Node,u=t.Element,l=t.NodeFilter,f=t.NamedNodeMap,p=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,d=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,v=u.prototype,y=I(v,"cloneNode"),b=I(v,"nextSibling"),w=I(v,"childNodes"),D=I(v,"parentNode");if("function"==typeof c){var _=i.createElement("template");_.content&&_.content.ownerDocument&&(i=_.content.ownerDocument)}var oe=ne(g,r),ie=oe?oe.createHTML(""):"",ae=i,ce=ae.implementation,se=ae.createNodeIterator,ue=ae.createDocumentFragment,le=ae.getElementsByTagName,fe=r.importNode,pe={};try{pe=R(i).documentMode?i.documentMode:{}}catch(e){}var de={};n.isSupported="function"==typeof D&&ce&&void 0!==ce.createHTMLDocument&&9!==pe;var he,me,ge=G,ve=$,ye=Y,be=K,we=J,Oe=Q,xe=X,je=null,Pe=A({},[].concat(o(M),o(N),o(F),o(H),o(B))),Se=null,Ee=A({},[].concat(o(W),o(V),o(z),o(q))),ke=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}})),Ze=null,Te=null,Ce=!0,De=!0,_e=!1,Ae=!1,Re=!1,Ie=!1,Me=!1,Ne=!1,Fe=!1,Le=!1,He=!0,Ue=!0,Be=!1,We={},Ve=null,ze=A({},["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"]),qe=null,Ge=A({},["audio","video","img","source","image","track"]),$e=null,Ye=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml",Qe=Je,et=!1,tt=["application/xhtml+xml","text/html"],nt="text/html",rt=null,ot=i.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},at=function(t){rt&&rt===t||(t&&"object"===e(t)||(t={}),t=R(t),he=he=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?nt:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===he?function(e){return e}:P,je="ALLOWED_TAGS"in t?A({},t.ALLOWED_TAGS,me):Pe,Se="ALLOWED_ATTR"in t?A({},t.ALLOWED_ATTR,me):Ee,$e="ADD_URI_SAFE_ATTR"in t?A(R(Ye),t.ADD_URI_SAFE_ATTR,me):Ye,qe="ADD_DATA_URI_TAGS"in t?A(R(Ge),t.ADD_DATA_URI_TAGS,me):Ge,Ve="FORBID_CONTENTS"in t?A({},t.FORBID_CONTENTS,me):ze,Ze="FORBID_TAGS"in t?A({},t.FORBID_TAGS,me):{},Te="FORBID_ATTR"in t?A({},t.FORBID_ATTR,me):{},We="USE_PROFILES"in t&&t.USE_PROFILES,Ce=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,_e=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=t.SAFE_FOR_TEMPLATES||!1,Re=t.WHOLE_DOCUMENT||!1,Ne=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Le=t.RETURN_TRUSTED_TYPE||!1,Me=t.FORCE_BODY||!1,He=!1!==t.SANITIZE_DOM,Ue=!1!==t.KEEP_CONTENT,Be=t.IN_PLACE||!1,xe=t.ALLOWED_URI_REGEXP||xe,Qe=t.NAMESPACE||Je,t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ke.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ke.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ke.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ae&&(De=!1),Fe&&(Ne=!0),We&&(je=A({},o(B)),Se=[],!0===We.html&&(A(je,M),A(Se,W)),!0===We.svg&&(A(je,N),A(Se,V),A(Se,q)),!0===We.svgFilters&&(A(je,F),A(Se,V),A(Se,q)),!0===We.mathMl&&(A(je,H),A(Se,z),A(Se,q))),t.ADD_TAGS&&(je===Pe&&(je=R(je)),A(je,t.ADD_TAGS,me)),t.ADD_ATTR&&(Se===Ee&&(Se=R(Se)),A(Se,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&A($e,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(Ve===ze&&(Ve=R(Ve)),A(Ve,t.FORBID_CONTENTS,me)),Ue&&(je["#text"]=!0),Re&&A(je,["html","head","body"]),je.table&&(A(je,["tbody"]),delete Ze.tbody),m&&m(t),rt=t)},ct=A({},["mi","mo","mn","ms","mtext"]),st=A({},["foreignobject","desc","title","annotation-xml"]),ut=A({},["title","style","font","a","script"]),lt=A({},N);A(lt,F),A(lt,L);var ft=A({},H);A(ft,U);var pt=function(e){var t=D(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});var n=P(e.tagName),r=P(t.tagName);return e.namespaceURI===Xe?t.namespaceURI===Je?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||ct[r]):Boolean(lt[n]):e.namespaceURI===Ke?t.namespaceURI===Je?"math"===n:t.namespaceURI===Xe?"math"===n&&st[r]:Boolean(ft[n]):e.namespaceURI===Je&&!(t.namespaceURI===Xe&&!st[r])&&!(t.namespaceURI===Ke&&!ct[r])&&!ft[n]&&(ut[n]||!lt[n])},dt=function(e){j(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},ht=function(e,t){try{j(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){j(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Ne||Fe)try{dt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,n;if(Me)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(Qe===Je)try{t=(new h).parseFromString(o,he)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?"":o}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),Qe===Je?le.call(t,Re?"html":"body")[0]:Re?t.documentElement:a},gt=function(e){return se.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},vt=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},yt=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},bt=function(e,t,r){de[e]&&O(de[e],(function(e){e.call(n,t,r,rt)}))},wt=function(e){var t;if(bt("beforeSanitizeElements",e,null),vt(e))return dt(e),!0;if(T(/[\u0080-\uFFFF]/,e.nodeName))return dt(e),!0;var r=me(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:r,allowedTags:je}),e.hasChildNodes()&&!yt(e.firstElementChild)&&(!yt(e.content)||!yt(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent))return dt(e),!0;if("select"===r&&T(/<template/i,e.innerHTML))return dt(e),!0;if(!je[r]||Ze[r]){if(!Ze[r]&&xt(r)){if(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,r))return!1;if(ke.tagNameCheck instanceof Function&&ke.tagNameCheck(r))return!1}if(Ue&&!Ve[r]){var o=D(e)||e.parentNode,i=w(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(y(i[a],!0),b(e))}return dt(e),!0}return e instanceof u&&!pt(e)?(dt(e),!0):"noscript"!==r&&"noembed"!==r||!T(/<\/no(script|embed)/i,e.innerHTML)?(Ae&&3===e.nodeType&&(t=e.textContent,t=E(t,ge," "),t=E(t,ve," "),e.textContent!==t&&(j(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(dt(e),!0)},Ot=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in i||n in ot))return!1;if(De&&!Te[t]&&T(ye,t));else if(Ce&&T(be,t));else if(!Se[t]||Te[t]){if(!(xt(e)&&(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,e)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(e))&&(ke.attributeNameCheck instanceof RegExp&&T(ke.attributeNameCheck,t)||ke.attributeNameCheck instanceof Function&&ke.attributeNameCheck(t))||"is"===t&&ke.allowCustomizedBuiltInElements&&(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,n)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(n))))return!1}else if($e[t]);else if(T(xe,E(n,Oe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(n,"data:")||!qe[e])if(_e&&!T(we,E(n,Oe,"")));else if(n)return!1;return!0},xt=function(e){return e.indexOf("-")>0},jt=function(t){var r,o,i,a;bt("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(a=c.length;a--;){var u=r=c[a],l=u.name,f=u.namespaceURI;if(o="value"===l?r.value:Z(r.value),i=me(l),s.attrName=i,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,bt("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(ht(l,t),s.keepAttr))if(T(/\/>/i,o))ht(l,t);else{Ae&&(o=E(o,ge," "),o=E(o,ve," "));var p=me(t.nodeName);if(Ot(p,i,o)){if(oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(p,i)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{f?t.setAttributeNS(f,l,o):t.setAttribute(l,o),x(n.removed)}catch(e){}}}}bt("afterSanitizeAttributes",t,null)}},Pt=function e(t){var n,r=gt(t);for(bt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)bt("uponSanitizeShadowNode",n,null),wt(n)||(n.content instanceof a&&e(n.content),jt(n));bt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o,i){var c,u,l,f,p;if((et=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!yt(o)){if("function"!=typeof o.toString)throw C("toString is not a function");if("string"!=typeof(o=o.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(yt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Ie||at(i),n.removed=[],"string"==typeof o&&(Be=!1),Be){if(o.nodeName){var d=me(o.nodeName);if(!je[d]||Ze[d])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof s)1===(u=(c=mt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?c=u:c.appendChild(u);else{if(!Ne&&!Ae&&!Re&&-1===o.indexOf("<"))return oe&&Le?oe.createHTML(o):o;if(!(c=mt(o)))return Ne?null:Le?ie:""}c&&Me&&dt(c.firstChild);for(var h=gt(Be?o:c);l=h.nextNode();)3===l.nodeType&&l===f||wt(l)||(l.content instanceof a&&Pt(l.content),jt(l),f=l);if(f=null,Be)return o;if(Ne){if(Fe)for(p=ue.call(c.ownerDocument);c.firstChild;)p.appendChild(c.firstChild);else p=c;return Se.shadowroot&&(p=fe.call(r,p,!0)),p}var m=Re?c.outerHTML:c.innerHTML;return Re&&je["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&T(ee,c.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+c.ownerDocument.doctype.name+">\n"+m),Ae&&(m=E(m,ge," "),m=E(m,ve," ")),oe&&Le?oe.createHTML(m):m},n.setConfig=function(e){at(e),Ie=!0},n.clearConfig=function(){rt=null,Ie=!1},n.isValidAttribute=function(e,t,n){rt||at({});var r=me(e),o=me(t);return Ot(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],j(de[e],t))},n.removeHook=function(e){if(de[e])return x(de[e])},n.removeHooks=function(e){de[e]&&(de[e]=[])},n.removeAllHooks=function(){de={}},n}return re()}()},1024:e=>{"use strict";e.exports=t},30314:t=>{"use strict";t.exports=e},71298:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},38088:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},88911:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},83029:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},61086:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),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,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,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})},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})},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={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>r})},68957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(83029);var o=n(61917),i=n(56265);function a(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,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||(0,i.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:()=>a});var r=n(88911);var o=n(72753),i=n(61917);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.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}}},70997:(e,t,n)=>{"use strict";n.d(t,{Ab:()=>a,Fr:()=>c,G$:()=>i,K$:()=>u,MS:()=>r,h5:()=>s,lK:()=>l,uj:()=>o});var r="-ms-",o="-moz-",i="-webkit-",a="comm",c="rule",s="decl",u="@import",l="@keyframes"},58781:(e,t,n)=>{"use strict";n.d(t,{Ji:()=>l,cD:()=>u,qR:()=>s});var r=n(70997),o=n(63763),i=n(61680),a=n(92666),c=n(84833);function s(e){var t=(0,o.Ei)(e);return function(n,r,o,i){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,i)||"";return a}}function u(e){return function(t){t.root||(t=t.return)&&e(t)}}function l(e,t,n,s){if(!e.return)switch(e.type){case r.h5:e.return=(0,c.O)(e.value,e.length);break;case r.lK:return(0,a.q)([(0,i.JG)((0,o.gx)(e.value,"@","@"+r.G$),e,"")],s);case r.Fr:if(e.length)return(0,o.$e)(e.props,(function(t){switch((0,o.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,a.q)([(0,i.JG)((0,o.gx)(t,/:(read-\w+)/,":"+r.uj+"$1"),e,"")],s);case"::placeholder":return(0,a.q)([(0,i.JG)((0,o.gx)(t,/:(plac\w+)/,":"+r.G$+"input-$1"),e,""),(0,i.JG)((0,o.gx)(t,/:(plac\w+)/,":"+r.uj+"$1"),e,""),(0,i.JG)((0,o.gx)(t,/:(plac\w+)/,r.MS+"input-$1"),e,"")],s)}return""}))}}},27029:(e,t,n)=>{"use strict";n.d(t,{MY:()=>a});var r=n(70997),o=n(63763),i=n(61680);function a(e){return(0,i.cE)(c("",null,null,null,[""],e=(0,i.un)(e),0,[0],e))}function c(e,t,n,r,a,f,p,d,h){for(var m=0,g=0,v=p,y=0,b=0,w=0,O=1,x=1,j=1,P=0,S="",E=a,k=f,Z=r,T=S;x;)switch(w=P,P=(0,i.lp)()){case 34:case 39:case 91:case 40:T+=(0,i.iF)(P);break;case 9:case 10:case 13:case 32:T+=(0,i.Qb)(w);break;case 92:T+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,o.R3)(u((0,i.q6)((0,i.lp)(),(0,i.Ud)()),t,n),h);break;default:T+="/"}break;case 123*O:d[m++]=(0,o.to)(T)*j;case 125*O:case 59:case 0:switch(P){case 0:case 125:x=0;case 59+g:b>0&&(0,o.to)(T)-v&&(0,o.R3)(b>32?l(T+";",r,n,v-1):l((0,o.gx)(T," ","")+";",r,n,v-2),h);break;case 59:T+=";";default:if((0,o.R3)(Z=s(T,t,n,m,g,a,d,S,E=[],k=[],v),f),123===P)if(0===g)c(T,t,Z,Z,E,f,v,d,k);else switch(y){case 100:case 109:case 115:c(e,Z,Z,r&&(0,o.R3)(s(e,Z,Z,0,0,a,d,S,a,E=[],v),k),a,k,v,d,r?E:k);break;default:c(T,Z,Z,Z,[""],k,v,d,k)}}m=g=b=0,O=j=1,S=T="",v=p;break;case 58:v=1+(0,o.to)(T),b=w;default:if(O<1)if(123==P)--O;else if(125==P&&0==O++&&125==(0,i.mp)())continue;switch(T+=(0,o.Dp)(P),P*O){case 38:j=g>0?1:(T+="\f",-1);break;case 44:d[m++]=((0,o.to)(T)-1)*j,j=1;break;case 64:45===(0,i.fj)()&&(T+=(0,i.iF)((0,i.lp)())),y=(0,i.fj)(),g=(0,o.to)(S=T+=(0,i.QU)((0,i.Ud)())),P++;break;case 45:45===w&&2==(0,o.to)(T)&&(O=0)}}return f}function s(e,t,n,a,c,s,u,l,f,p,d){for(var h=c-1,m=0===c?s:[""],g=(0,o.Ei)(m),v=0,y=0,b=0;v<a;++v)for(var w=0,O=(0,o.tb)(e,h+1,h=(0,o.Wn)(y=u[v])),x=e;w<g;++w)(x=(0,o.fy)(y>0?m[w]+" "+O:(0,o.gx)(O,/&\f/g,m[w])))&&(f[b++]=x);return(0,i.dH)(e,t,n,0===c?r.Fr:l,f,p,d)}function u(e,t,n){return(0,i.dH)(e,t,n,r.Ab,(0,o.Dp)((0,i.Tb)()),(0,o.tb)(e,2,-2),0)}function l(e,t,n,a){return(0,i.dH)(e,t,n,r.h5,(0,o.tb)(e,0,a),(0,o.tb)(e,a+1,-1),a)}},84833:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(70997),o=n(63763);function i(e,t){switch((0,o.vp)(e,t)){case 5103:return r.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return r.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r.G$+e+r.uj+e+r.MS+e+e;case 6828:case 4268:return r.G$+e+r.MS+e+e;case 6165:return r.G$+e+r.MS+"flex-"+e+e;case 5187:return r.G$+e+(0,o.gx)(e,/(\w+).+(:[^]+)/,r.G$+"box-$1$2"+r.MS+"flex-$1$2")+e;case 5443:return r.G$+e+r.MS+"flex-item-"+(0,o.gx)(e,/flex-|-self/,"")+e;case 4675:return r.G$+e+r.MS+"flex-line-pack"+(0,o.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return r.G$+e+r.MS+(0,o.gx)(e,"shrink","negative")+e;case 5292:return r.G$+e+r.MS+(0,o.gx)(e,"basis","preferred-size")+e;case 6060:return r.G$+"box-"+(0,o.gx)(e,"-grow","")+r.G$+e+r.MS+(0,o.gx)(e,"grow","positive")+e;case 4554:return r.G$+(0,o.gx)(e,/([^-])(transform)/g,"$1"+r.G$+"$2")+e;case 6187:return(0,o.gx)((0,o.gx)((0,o.gx)(e,/(zoom-|grab)/,r.G$+"$1"),/(image-set)/,r.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,o.gx)(e,/(image-set\([^]*)/,r.G$+"$1$`$1");case 4968:return(0,o.gx)((0,o.gx)(e,/(.+:)(flex-)?(.*)/,r.G$+"box-pack:$3"+r.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,o.gx)(e,/(.+)-inline(.+)/,r.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,o.to)(e)-1-t>6)switch((0,o.uO)(e,t+1)){case 109:if(45!==(0,o.uO)(e,t+4))break;case 102:return(0,o.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+r.G$+"$2-$3$1"+r.uj+(108==(0,o.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,o.Cw)(e,"stretch")?i((0,o.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,o.uO)(e,t+1))break;case 6444:switch((0,o.uO)(e,(0,o.to)(e)-3-(~(0,o.Cw)(e,"!important")&&10))){case 107:return(0,o.gx)(e,":",":"+r.G$)+e;case 101:return(0,o.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r.G$+(45===(0,o.uO)(e,14)?"inline-":"")+"box$3$1"+r.G$+"$2$3$1"+r.MS+"$2box$3")+e}break;case 5936:switch((0,o.uO)(e,t+11)){case 114:return r.G$+e+r.MS+(0,o.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r.G$+e+r.MS+(0,o.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r.G$+e+r.MS+(0,o.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r.G$+e+r.MS+e+e}return e}},92666:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,q:()=>i});var r=n(70997),o=n(63763);function i(e,t){for(var n="",r=(0,o.Ei)(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.Fr:e.value=e.props.join(",")}return(0,o.to)(n=i(e.children,a))?e.return=e.value+"{"+n+"}":""}},61680:(e,t,n)=>{"use strict";n.d(t,{FK:()=>c,JG:()=>f,QU:()=>E,Qb:()=>x,Tb:()=>p,Ud:()=>g,cE:()=>w,dH:()=>l,fj:()=>m,iF:()=>O,kq:()=>j,lp:()=>h,mp:()=>d,q6:()=>S,r:()=>y,un:()=>b});var r=n(63763),o=1,i=1,a=0,c=0,s=0,u="";function l(e,t,n,r,a,c,s){return{value:e,root:t,parent:n,type:r,props:a,children:c,line:o,column:i,length:s,return:""}}function f(e,t,n){return l(e,t.root,t.parent,n,t.props,t.children,0)}function p(){return s}function d(){return s=c>0?(0,r.uO)(u,--c):0,i--,10===s&&(i=1,o--),s}function h(){return s=c<a?(0,r.uO)(u,c++):0,i++,10===s&&(i=1,o++),s}function m(){return(0,r.uO)(u,c)}function g(){return c}function v(e,t){return(0,r.tb)(u,e,t)}function y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function b(e){return o=i=1,a=(0,r.to)(u=e),c=0,[]}function w(e){return u="",e}function O(e){return(0,r.fy)(v(c-1,P(91===e?e+2:40===e?e+1:e)))}function x(e){for(;(s=m())&&s<33;)h();return y(e)>2||y(s)>3?"":" "}function j(e,t){for(;--t&&h()&&!(s<48||s>102||s>57&&s<65||s>70&&s<97););return v(e,g()+(t<6&&32==m()&&32==h()))}function P(e){for(;h();)switch(s){case e:return c;case 34:case 39:return P(34===e||39===e?e:s);case 40:41===e&&P(e);break;case 92:h()}return c}function S(e,t){for(;h()&&e+s!==57&&(e+s!==84||47!==m()););return"/*"+v(t,c-1)+"*"+(0,r.Dp)(47===e?e:h())}function E(e){for(;!y(m());)h();return v(e,c)}},63763:(e,t,n)=>{"use strict";n.d(t,{$e:()=>m,Cw:()=>u,Dp:()=>o,EQ:()=>c,Ei:()=>d,R3:()=>h,Wn:()=>r,fy:()=>a,gx:()=>s,tb:()=>f,to:()=>p,uO:()=>l,vp:()=>i});var r=Math.abs,o=String.fromCharCode;function i(e,t){return(((t<<2^l(e,0))<<2^l(e,1))<<2^l(e,2))<<2^l(e,3)}function a(e){return e.trim()}function c(e,t){return(e=t.exec(e))?e[0]:e}function s(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function l(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function p(e){return e.length}function d(e){return e.length}function h(e,t){return t.push(e),e}function m(e,t){return e.map(t).join("")}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdD=function(){throw new Error("define cannot be used indirect")},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>323===e?"chunk-ckeditor.1010b93f2b7d721d3a75.js":"chunk-"+({85:"code-editor",107:"actions",614:"vendor-icons",802:"html-editor",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"88a90ed0cdc32e2f4ec3",107:"2fb37e82e729f58632ea",200:"d575b0803bb8ce811b7a",568:"71a3d0ad9eb894ded72b",594:"ded503dde12296127f41",611:"baffe880b59110d7742b",614:"f063c0c454a02aaa0959",692:"03c93b2fcd24d944da98",701:"67e7f6678277ece0c50c",802:"f9bb193351758d8babb2",817:"46c1d0c36174f8e60a28",877:"3df783c1b2350c047b5d"}[e]+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.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),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-widget-bundle:",a.l=(e,t,o,i)=>{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,a.nc&&c.setAttribute("nonce",a.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var p=(t,r)=>{c.onerror=c.onload=null,clearTimeout(d);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.j=243,a.p="/",(()=>{var e={243:0};a.f.j=(t,n)=>{var r=a.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 i=a.p+a.u(t),c=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,c,s]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in c)a.o(c,r)&&(a.m[r]=c[r]);if(s)s(a)}for(t&&t(n);u<i.length;u++)o=i[u],a.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))})(),a.nc=void 0;var c={};return(()=>{"use strict";a.r(c);var e=a(55954),t=a(45697),n=a.n(t),r=a(81749),o=a(23369),i=a(98773);const s={propTypes:n().shape({embedType:n().oneOf(i.Nc),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})};var u,l=a(74806),f=a(50558),p=a(59713),d=a.n(p),h=a(87757),m=a.n(h),g=a(27361),v=a.n(g),y=a(63094),b=a(48901),w=a(52540),O=a(83682),x=a(41609),j=a.n(x),P=a(18446),S=a.n(P),E=a(35937),k=a.n(E),Z=a(1024),T=a.n(Z),C=a(3975),D=a(50600),_=a(87533),A=a(22731),R=a(19743),I=a(45430),M="login/SET_LOGGED_IN",N="login/SET_ADMIN_ALLOWED",F="login/DO_SESSION_CHECK",L=function(e){return{type:M,payload:{loggedIn:e}}},H=function(e){return{type:N,payload:{adminAllowed:e}}},U=a(81770),B=(u={},d()(u,M,U.Z.singleTransferReducer("loggedIn")),d()(u,N,U.Z.singleTransferReducer("adminAllowed")),u),W={loggedIn:void 0,adminAllowed:void 0};function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0,n=B[t.type];return n?n(e,t):e}var z=a(34857),q=a(44759),G=a(54159),$=a(21913),Y=a(47490),K=m().mark(ee),X=m().mark(te),J=m().mark(ne);function Q(e,t){return G.Z.executeRequest(e,t).then(G.Z.extractBody).catch((function(e){return q.Z.logError("Failed to execute request",e),{success:!1}}))}function ee(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.RE)(Q,"session",{method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),K)}function te(){var e,t,n,r,o;return m().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,z.RE)(ee);case 2:if(e=i.sent,t=e.success,n=e.businessUnit,r=e.adminAllowed,!(o=$.Z.getLongTerm("session","principal"))||o.currentBusinessUnit.id===n){i.next=10;break}return i.next=10,(0,z.RE)($.Z.clearAll);case 10:return i.next=12,(0,z.gz)(H(r));case 12:return i.next=14,(0,z.gz)(L(t));case 14:return i.next=16,(0,z.gz)(Y.Z.connectSocket());case 16:case"end":return i.stop()}}),X)}function ne(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.Fm)(F,te)]);case 2:case"end":return e.stop()}}),J)}const re=function(e){U.Z.injectReducers(e,{login:V}),e.sagaMiddleware.run(ne)},oe=function(){return{type:F}};var ie,ae=a(99376),ce=a(35997),se=a(47369),ue="SET_ENTITY_NAME",le="SET_FORM_BASE",fe="SET_SCROLL_BEHAVIOUR",pe="root/SET_APP_ID",de=function(e){return{type:le,payload:{formBase:e}}},he=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return se.Z.getDispatchActions(e,me,t)},me=[{name:"entityName",action:function(e){return{type:ue,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:de,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:de,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:fe,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:pe,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],ge=a(58267),ve=a(6766),ye=(ie={},d()(ie,ve.zg,U.Z.singleTransferReducer("formTouched")),d()(ie,ve.zJ,U.Z.singleTransferReducer("detailParams")),ie),be={detailParams:void 0,formTouched:!1};var we=m().mark(Pe);function Oe(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 xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var je=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=xe({},e)})),e.relations.forEach((function(e){t[e.relationName]=xe({type:"relation"},e)})),t};function Pe(e){var t,n,r=arguments;return m().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>1&&void 0!==r[1]?r[1]:je,o.next=3,(0,z.RE)(y.Z.requestSaga,"entities/".concat(e,"/model"));case 3:return n=o.sent,o.next=6,(0,z.RE)(t,n.body);case 6:return o.abrupt("return",o.sent);case 7:case"end":return o.stop()}}),we)}var Se={CREATE:"create",UPDATE:"update"};const Ee=function(e){return void 0===e?Se.CREATE:Se.UPDATE};const ke=function(e){var t=e.split("/").filter((function(e){return!!e})),n=t[t.length-1],r=t.filter((function(e,t){return t>1&&t%2==0}));if(isNaN(n)){return{modelPaths:r,entityId:undefined,parentUrl:"/"+t.slice(0,-1).join("/")}}return{modelPaths:r,entityId:t[t.length-1],parentUrl:"/"+t.slice(0,-2).join("/")}};const Ze=function(e,t){return 0!==t.length||(!e||isNaN(e))};var Te=m().mark(Ie),Ce=m().mark(Me),De=m().mark(Ne),_e=m().mark(Fe),Ae=function(e){return e.entityBrowser},Re=function(e){return e.input};function Ie(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.Fm)(ve.tQ,Ne),(0,z.Fm)(ve.eI,Me)]);case 2:case"end":return e.stop()}}),Te)}function Me(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.gz)(ve.Ek(void 0));case 2:case"end":return e.stop()}}),Ce)}function Ne(e){var t,n,r,o,i,a,c,s,u,l,f,p,d,h,g;return m().wrap((function(m){for(;;)switch(m.prev=m.next){case 0:return t=e.payload,m.next=3,(0,z.RE)(ke,t.url);case 3:return n=m.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,m.next=9,(0,z.Ys)(Ae);case 9:return a=m.sent,c=a.entityName,s=a.formBase,m.next=14,(0,z.RE)(Ee,o);case 14:if(u=m.sent,l=c,f=s,!(r&&r.length>0)){m.next=22;break}return m.next=20,(0,z.RE)(Fe,c,r);case 20:l=m.sent,f="".concat(s,"_").concat(l);case 22:return m.next=24,(0,z.Ys)(Re);case 24:return p=m.sent,d=p.initialKey,m.next=28,(0,z.RE)(Ze,d,r);case 28:return h=m.sent,g={mode:u,entityId:o,entityName:l,formName:f,parentUrl:i,showBackButton:h},m.next=32,(0,z.gz)(ve.Ek(g));case 32:case"end":return m.stop()}}),De)}function Fe(e,t){var n,r,o,i,a;return m().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=e,c.next=3,(0,z.RE)(Pe,n);case 3:r=c.sent,o=0;case 5:if(!(o<t.length)){c.next=18;break}if(i=t[o],a=r[i]){c.next=10;break}throw new Error("No such path '".concat(i,"' found on entity model '").concat(n,"'"));case 10:if(n=a.targetEntity,!(o+1<t.length)){c.next=15;break}return c.next=14,(0,z.RE)(Pe,n);case 14:r=c.sent;case 15:o++,c.next=5;break;case 18:return c.abrupt("return",n);case 19:case"end":return c.stop()}}),_e)}var Le=m().mark(He);function He(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.rM)(Ie)]);case 2:case"end":return e.stop()}}),Le)}const Ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be,t=arguments.length>1?arguments[1]:void 0,n=ye[t.type];return n?n(e,t):e};var Be;function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?We(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ze=(Be={},d()(Be,ue,U.Z.singleTransferReducer("entityName")),d()(Be,le,(function(e,t){var n=t.payload.formBase;return n?Ve(Ve({},e),{},{formBase:n}):Ve({},e)})),d()(Be,fe,U.Z.singleTransferReducer("scrollBehaviour")),d()(Be,pe,U.Z.singleTransferReducer("appId")),Be),qe={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var Ge=m().mark(Ye),$e=m().mark(Ke);function Ye(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.RE)(Ke)]);case 2:case"end":return e.stop()}}),Ge)}function Ke(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,z.qn)(e.Z.INPUT_INITIALIZED);case 2:return t.next=4,(0,z.gz)(oe());case 4:case"end":return t.stop()}}),$e)}var Xe=m().mark(Je);function Je(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.rM)(Ye)]);case 2:case"end":return e.stop()}}),Xe)}const Qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qe,t=arguments.length>1?arguments[1]:void 0,n=ze[t.type];return n?n(e,t):e},et={detail:Ue,form:ge.Z,entityBrowser:Qe};var tt,nt,rt,ot=[Je,He],it=a(85893);function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var st="entity-browser",ut=T().lazy((function(){return Promise.all([a.e(692),a.e(85),a.e(614),a.e(107),a.e(802)]).then(a.bind(a,83432))})),lt=function(){return tt||(tt=(0,it.jsx)("div",{children:(0,it.jsx)(Z.Suspense,{fallback:"",children:(0,it.jsx)(ut,{})})}))},ft=function(e,t){return e.intl.messages[t]||t},pt=function(t,n,r,i){n=ct(ct({},n),{},{id:t}),o.Z.setInputEnvs(n);var a=e.Z.createStore(et,ot,n,st);I.Z.addToStore(a,(function(){return{}})),D.Z.addToStore(a),_.Z.dynamicActionsAddToStore(a),R.Z.addToStore(a,!0,["console","remote","notification"]),Y.Z.addToStore(a,!0),re(a),A.Z.addToStore(a);var c=function(e,t){return(t?O.Z:w.Z)({getUserConfirmation:function(t,n){var r=e.getState(),o=ft(r,"client.common.ok"),i=ft(r,"client.common.cancel"),a=Y.Z.confirm("",t,o,i,(function(){return n(!0)}),(function(){return n(!1)}));e.dispatch(a)}})}(a,n.memoryHistory);!function(e,t){var n=t.initialKey;if(n&&!isNaN(n)&&!e.location.pathname.match(/\/detail\/[0-9]*/)){var r="/detail/".concat(t.initialKey);e.push(r)}}(c,n);var s=(0,it.jsxs)(C.F0,{history:c,children:[nt||(nt=(0,it.jsx)(ae.Z,{})),rt||(rt=(0,it.jsx)(lt,{}))]});return e.Z.createApp(st,s,a,{input:n,actions:he(n),publicPath:i,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},dt=function(t){var n=e.Z.useApp({initApp:pt,props:t,packageName:st}),r=n.component,o=n.store,i=ce.Z.usePrevious(t);return ce.Z.useDidUpdate((function(){var e=k()(t,(function(e,t){return!S()(e,i[t])}));j()(e)||he(e,!1).forEach((function(e){o.dispatch(e)}))}),[t]),r};dt.propTypes={entityName:n().string.isRequired,searchFormType:r.b,formBase:n().string,limit:n().number,preselectedSearchFields:n().array,searchFilters:n().arrayOf(n().string),simpleSearchFields:n().string,initialKey:n().string,businessUnit:n().string,memoryHistory:n().bool,backendUrl:n().string,scrollBehaviour:n().string,appContext:s.propTypes,modifyFormDefinition:n().func,disableDetailView:n().bool,reportIds:n().arrayOf(n().string)};const ht=dt;e.Z.createBundleableApp(st,pt,dt);var mt=m().mark(yt);function gt(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 vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yt(e,t,n){var r,o,i,a,c,s,u;return m().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r=t.parent,o=t.entityName,i=t.entityId,a=n.showEmailAction,c=n.appContext,"Mailing_list_detail_relUser_list"!==e.id){l.next=6;break}return s=e,s=a?b.Z.adjustActions(s,"mailing-list-mail-action",(function(e){return vt(vt({},e),{},{properties:vt(vt({},e.properties),{},{widgetKey:c.widgetConfigKey,eventKey:r.key})})})):b.Z.removeActions(s,["mailing-list-mail-action"]),l.abrupt("return",s);case 6:if("Mailing_list_User_detail"!==e.id||!i){l.next=13;break}return l.next=9,y.Z.fetchEntity(o,i,{paths:["publish_detail"]});case 9:if(u=l.sent,v()(u,["paths","publish_detail","value"])){l.next=13;break}return l.abrupt("return",b.Z.removeBoxes(e,["address_information","communication_information"]));case 13:return l.abrupt("return",e);case 14:case"end":return l.stop()}}),mt)}const bt=function(e){var t=e.searchFilters,n=e.searchFormType,r=e.limit,o=e.backendUrl,i=e.businessUnit,a=e.appContext,c=e.reportIds;return(0,it.jsx)(ht,{entityName:"Event",formBase:"Mailing_list",searchFilters:t,limit:r,modifyFormDefinition:function(t,n){return yt(t,n,e)},backendUrl:o,businessUnit:i,appContext:a,searchFormType:n,reportIds:c})};const wt=(0,f.connect)((function(e){return{searchFormType:e.input.searchFormType,searchFilters:e.input.searchFilters,limit:e.input.limit,backendUrl:e.input.backendUrl,businessUnit:e.input.businessUnit,appContext:e.input.appContext,reportIds:e.input.reportIds,showEmailAction:e.input.allowEmail}}),{})((0,l.ZP)(bt));var Ot,xt="mailing-list",jt=function(t,n,r,i){o.Z.setInputEnvs(n);var a=Ot||(Ot=(0,it.jsx)(wt,{})),c=e.Z.createStore({},null,n,xt);return e.Z.createApp(xt,a,c,{input:n,events:r,actions:[],publicPath:i,textResourceModules:["component","common","actions",xt]})},Pt=function(t){return e.Z.useApp({initApp:jt,props:t,packageName:xt}).component};Pt.propTypes={searchFormType:r.b,searchFilters:n().arrayOf(n().string),limit:n().number,backendUrl:n().string,businessUnit:n().string,appContext:s.propTypes.isRequired,reportIds:n().arrayOf(n().string),allowEmail:n().bool};var St=e.Z.createBundleableApp(xt,jt,Pt);e.Z.registerAppInRegistry(St.name,St.init)})(),c})()));
59
+ 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,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e){return i(e)||a(e)||c(e)||u()}function i(e){if(Array.isArray(e))return s(e)}function a(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,p=Object.isFrozen,d=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,v=Object.create,y="undefined"!=typeof Reflect&&Reflect,b=y.apply,w=y.construct;b||(b=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var O=D(Array.prototype.forEach),x=D(Array.prototype.pop),j=D(Array.prototype.push),P=D(String.prototype.toLowerCase),S=D(String.prototype.match),E=D(String.prototype.replace),k=D(String.prototype.indexOf),Z=D(String.prototype.trim),T=D(RegExp.prototype.test),C=_(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 _(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 A(e,t,n){n=n||P,f&&f(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var i=n(o);i!==o&&(p(t)||(t[r]=i),o=i)}e[o]=!0}return e}function R(e){var t,n=v(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function I(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return D(n.get);if("function"==typeof n.value)return D(n.value)}e=d(e)}function r(e){return console.warn("fallback value for",e),null}return r}var M=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),N=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),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"]),H=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"]),B=m(["#text"]),W=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),V=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),q=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=g(/<%[\w\W]*|[\w\W]*%>/gm),Y=g(/^data-[\-\w.\u00B7-\uFFFF]/),K=g(/^aria-[\-\w]+$/),X=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=g(/^(?:\w+script|data):/i),Q=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 i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" 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.3.10",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,c=t.HTMLTemplateElement,s=t.Node,u=t.Element,l=t.NodeFilter,f=t.NamedNodeMap,p=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,d=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,v=u.prototype,y=I(v,"cloneNode"),b=I(v,"nextSibling"),w=I(v,"childNodes"),D=I(v,"parentNode");if("function"==typeof c){var _=i.createElement("template");_.content&&_.content.ownerDocument&&(i=_.content.ownerDocument)}var oe=ne(g,r),ie=oe?oe.createHTML(""):"",ae=i,ce=ae.implementation,se=ae.createNodeIterator,ue=ae.createDocumentFragment,le=ae.getElementsByTagName,fe=r.importNode,pe={};try{pe=R(i).documentMode?i.documentMode:{}}catch(e){}var de={};n.isSupported="function"==typeof D&&ce&&void 0!==ce.createHTMLDocument&&9!==pe;var he,me,ge=G,ve=$,ye=Y,be=K,we=J,Oe=Q,xe=X,je=null,Pe=A({},[].concat(o(M),o(N),o(F),o(H),o(B))),Se=null,Ee=A({},[].concat(o(W),o(V),o(z),o(q))),ke=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}})),Ze=null,Te=null,Ce=!0,De=!0,_e=!1,Ae=!1,Re=!1,Ie=!1,Me=!1,Ne=!1,Fe=!1,Le=!1,He=!0,Ue=!0,Be=!1,We={},Ve=null,ze=A({},["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"]),qe=null,Ge=A({},["audio","video","img","source","image","track"]),$e=null,Ye=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml",Qe=Je,et=!1,tt=["application/xhtml+xml","text/html"],nt="text/html",rt=null,ot=i.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},at=function(t){rt&&rt===t||(t&&"object"===e(t)||(t={}),t=R(t),he=he=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?nt:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===he?function(e){return e}:P,je="ALLOWED_TAGS"in t?A({},t.ALLOWED_TAGS,me):Pe,Se="ALLOWED_ATTR"in t?A({},t.ALLOWED_ATTR,me):Ee,$e="ADD_URI_SAFE_ATTR"in t?A(R(Ye),t.ADD_URI_SAFE_ATTR,me):Ye,qe="ADD_DATA_URI_TAGS"in t?A(R(Ge),t.ADD_DATA_URI_TAGS,me):Ge,Ve="FORBID_CONTENTS"in t?A({},t.FORBID_CONTENTS,me):ze,Ze="FORBID_TAGS"in t?A({},t.FORBID_TAGS,me):{},Te="FORBID_ATTR"in t?A({},t.FORBID_ATTR,me):{},We="USE_PROFILES"in t&&t.USE_PROFILES,Ce=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,_e=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=t.SAFE_FOR_TEMPLATES||!1,Re=t.WHOLE_DOCUMENT||!1,Ne=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Le=t.RETURN_TRUSTED_TYPE||!1,Me=t.FORCE_BODY||!1,He=!1!==t.SANITIZE_DOM,Ue=!1!==t.KEEP_CONTENT,Be=t.IN_PLACE||!1,xe=t.ALLOWED_URI_REGEXP||xe,Qe=t.NAMESPACE||Je,t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ke.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ke.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ke.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ae&&(De=!1),Fe&&(Ne=!0),We&&(je=A({},o(B)),Se=[],!0===We.html&&(A(je,M),A(Se,W)),!0===We.svg&&(A(je,N),A(Se,V),A(Se,q)),!0===We.svgFilters&&(A(je,F),A(Se,V),A(Se,q)),!0===We.mathMl&&(A(je,H),A(Se,z),A(Se,q))),t.ADD_TAGS&&(je===Pe&&(je=R(je)),A(je,t.ADD_TAGS,me)),t.ADD_ATTR&&(Se===Ee&&(Se=R(Se)),A(Se,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&A($e,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(Ve===ze&&(Ve=R(Ve)),A(Ve,t.FORBID_CONTENTS,me)),Ue&&(je["#text"]=!0),Re&&A(je,["html","head","body"]),je.table&&(A(je,["tbody"]),delete Ze.tbody),m&&m(t),rt=t)},ct=A({},["mi","mo","mn","ms","mtext"]),st=A({},["foreignobject","desc","title","annotation-xml"]),ut=A({},["title","style","font","a","script"]),lt=A({},N);A(lt,F),A(lt,L);var ft=A({},H);A(ft,U);var pt=function(e){var t=D(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});var n=P(e.tagName),r=P(t.tagName);return e.namespaceURI===Xe?t.namespaceURI===Je?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||ct[r]):Boolean(lt[n]):e.namespaceURI===Ke?t.namespaceURI===Je?"math"===n:t.namespaceURI===Xe?"math"===n&&st[r]:Boolean(ft[n]):e.namespaceURI===Je&&!(t.namespaceURI===Xe&&!st[r])&&!(t.namespaceURI===Ke&&!ct[r])&&!ft[n]&&(ut[n]||!lt[n])},dt=function(e){j(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},ht=function(e,t){try{j(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){j(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Ne||Fe)try{dt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,n;if(Me)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(Qe===Je)try{t=(new h).parseFromString(o,he)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?"":o}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),Qe===Je?le.call(t,Re?"html":"body")[0]:Re?t.documentElement:a},gt=function(e){return se.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},vt=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},yt=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},bt=function(e,t,r){de[e]&&O(de[e],(function(e){e.call(n,t,r,rt)}))},wt=function(e){var t;if(bt("beforeSanitizeElements",e,null),vt(e))return dt(e),!0;if(T(/[\u0080-\uFFFF]/,e.nodeName))return dt(e),!0;var r=me(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:r,allowedTags:je}),e.hasChildNodes()&&!yt(e.firstElementChild)&&(!yt(e.content)||!yt(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent))return dt(e),!0;if("select"===r&&T(/<template/i,e.innerHTML))return dt(e),!0;if(!je[r]||Ze[r]){if(!Ze[r]&&xt(r)){if(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,r))return!1;if(ke.tagNameCheck instanceof Function&&ke.tagNameCheck(r))return!1}if(Ue&&!Ve[r]){var o=D(e)||e.parentNode,i=w(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(y(i[a],!0),b(e))}return dt(e),!0}return e instanceof u&&!pt(e)?(dt(e),!0):"noscript"!==r&&"noembed"!==r||!T(/<\/no(script|embed)/i,e.innerHTML)?(Ae&&3===e.nodeType&&(t=e.textContent,t=E(t,ge," "),t=E(t,ve," "),e.textContent!==t&&(j(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(dt(e),!0)},Ot=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in i||n in ot))return!1;if(De&&!Te[t]&&T(ye,t));else if(Ce&&T(be,t));else if(!Se[t]||Te[t]){if(!(xt(e)&&(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,e)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(e))&&(ke.attributeNameCheck instanceof RegExp&&T(ke.attributeNameCheck,t)||ke.attributeNameCheck instanceof Function&&ke.attributeNameCheck(t))||"is"===t&&ke.allowCustomizedBuiltInElements&&(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,n)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(n))))return!1}else if($e[t]);else if(T(xe,E(n,Oe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(n,"data:")||!qe[e])if(_e&&!T(we,E(n,Oe,"")));else if(n)return!1;return!0},xt=function(e){return e.indexOf("-")>0},jt=function(t){var r,o,i,a;bt("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(a=c.length;a--;){var u=r=c[a],l=u.name,f=u.namespaceURI;if(o="value"===l?r.value:Z(r.value),i=me(l),s.attrName=i,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,bt("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(ht(l,t),s.keepAttr))if(T(/\/>/i,o))ht(l,t);else{Ae&&(o=E(o,ge," "),o=E(o,ve," "));var p=me(t.nodeName);if(Ot(p,i,o)){if(oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(p,i)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{f?t.setAttributeNS(f,l,o):t.setAttribute(l,o),x(n.removed)}catch(e){}}}}bt("afterSanitizeAttributes",t,null)}},Pt=function e(t){var n,r=gt(t);for(bt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)bt("uponSanitizeShadowNode",n,null),wt(n)||(n.content instanceof a&&e(n.content),jt(n));bt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o,i){var c,u,l,f,p;if((et=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!yt(o)){if("function"!=typeof o.toString)throw C("toString is not a function");if("string"!=typeof(o=o.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(yt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Ie||at(i),n.removed=[],"string"==typeof o&&(Be=!1),Be){if(o.nodeName){var d=me(o.nodeName);if(!je[d]||Ze[d])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof s)1===(u=(c=mt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?c=u:c.appendChild(u);else{if(!Ne&&!Ae&&!Re&&-1===o.indexOf("<"))return oe&&Le?oe.createHTML(o):o;if(!(c=mt(o)))return Ne?null:Le?ie:""}c&&Me&&dt(c.firstChild);for(var h=gt(Be?o:c);l=h.nextNode();)3===l.nodeType&&l===f||wt(l)||(l.content instanceof a&&Pt(l.content),jt(l),f=l);if(f=null,Be)return o;if(Ne){if(Fe)for(p=ue.call(c.ownerDocument);c.firstChild;)p.appendChild(c.firstChild);else p=c;return Se.shadowroot&&(p=fe.call(r,p,!0)),p}var m=Re?c.outerHTML:c.innerHTML;return Re&&je["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&T(ee,c.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+c.ownerDocument.doctype.name+">\n"+m),Ae&&(m=E(m,ge," "),m=E(m,ve," ")),oe&&Le?oe.createHTML(m):m},n.setConfig=function(e){at(e),Ie=!0},n.clearConfig=function(){rt=null,Ie=!1},n.isValidAttribute=function(e,t,n){rt||at({});var r=me(e),o=me(t);return Ot(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],j(de[e],t))},n.removeHook=function(e){if(de[e])return x(de[e])},n.removeHooks=function(e){de[e]&&(de[e]=[])},n.removeAllHooks=function(){de={}},n}return re()}()},1024:e=>{"use strict";e.exports=t},30314:t=>{"use strict";t.exports=e},71298:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},38088:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},88911:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},83029:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},61086:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),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,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,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})},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})},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={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>r})},68957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(83029);var o=n(61917),i=n(56265);function a(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,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||(0,i.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:()=>a});var r=n(88911);var o=n(72753),i=n(61917);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.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}}},70997:(e,t,n)=>{"use strict";n.d(t,{Ab:()=>a,Fr:()=>c,G$:()=>i,K$:()=>u,MS:()=>r,h5:()=>s,lK:()=>l,uj:()=>o});var r="-ms-",o="-moz-",i="-webkit-",a="comm",c="rule",s="decl",u="@import",l="@keyframes"},58781:(e,t,n)=>{"use strict";n.d(t,{Ji:()=>l,cD:()=>u,qR:()=>s});var r=n(70997),o=n(63763),i=n(61680),a=n(92666),c=n(84833);function s(e){var t=(0,o.Ei)(e);return function(n,r,o,i){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,i)||"";return a}}function u(e){return function(t){t.root||(t=t.return)&&e(t)}}function l(e,t,n,s){if(!e.return)switch(e.type){case r.h5:e.return=(0,c.O)(e.value,e.length);break;case r.lK:return(0,a.q)([(0,i.JG)((0,o.gx)(e.value,"@","@"+r.G$),e,"")],s);case r.Fr:if(e.length)return(0,o.$e)(e.props,(function(t){switch((0,o.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,a.q)([(0,i.JG)((0,o.gx)(t,/:(read-\w+)/,":"+r.uj+"$1"),e,"")],s);case"::placeholder":return(0,a.q)([(0,i.JG)((0,o.gx)(t,/:(plac\w+)/,":"+r.G$+"input-$1"),e,""),(0,i.JG)((0,o.gx)(t,/:(plac\w+)/,":"+r.uj+"$1"),e,""),(0,i.JG)((0,o.gx)(t,/:(plac\w+)/,r.MS+"input-$1"),e,"")],s)}return""}))}}},27029:(e,t,n)=>{"use strict";n.d(t,{MY:()=>a});var r=n(70997),o=n(63763),i=n(61680);function a(e){return(0,i.cE)(c("",null,null,null,[""],e=(0,i.un)(e),0,[0],e))}function c(e,t,n,r,a,f,p,d,h){for(var m=0,g=0,v=p,y=0,b=0,w=0,O=1,x=1,j=1,P=0,S="",E=a,k=f,Z=r,T=S;x;)switch(w=P,P=(0,i.lp)()){case 34:case 39:case 91:case 40:T+=(0,i.iF)(P);break;case 9:case 10:case 13:case 32:T+=(0,i.Qb)(w);break;case 92:T+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,o.R3)(u((0,i.q6)((0,i.lp)(),(0,i.Ud)()),t,n),h);break;default:T+="/"}break;case 123*O:d[m++]=(0,o.to)(T)*j;case 125*O:case 59:case 0:switch(P){case 0:case 125:x=0;case 59+g:b>0&&(0,o.to)(T)-v&&(0,o.R3)(b>32?l(T+";",r,n,v-1):l((0,o.gx)(T," ","")+";",r,n,v-2),h);break;case 59:T+=";";default:if((0,o.R3)(Z=s(T,t,n,m,g,a,d,S,E=[],k=[],v),f),123===P)if(0===g)c(T,t,Z,Z,E,f,v,d,k);else switch(y){case 100:case 109:case 115:c(e,Z,Z,r&&(0,o.R3)(s(e,Z,Z,0,0,a,d,S,a,E=[],v),k),a,k,v,d,r?E:k);break;default:c(T,Z,Z,Z,[""],k,v,d,k)}}m=g=b=0,O=j=1,S=T="",v=p;break;case 58:v=1+(0,o.to)(T),b=w;default:if(O<1)if(123==P)--O;else if(125==P&&0==O++&&125==(0,i.mp)())continue;switch(T+=(0,o.Dp)(P),P*O){case 38:j=g>0?1:(T+="\f",-1);break;case 44:d[m++]=((0,o.to)(T)-1)*j,j=1;break;case 64:45===(0,i.fj)()&&(T+=(0,i.iF)((0,i.lp)())),y=(0,i.fj)(),g=(0,o.to)(S=T+=(0,i.QU)((0,i.Ud)())),P++;break;case 45:45===w&&2==(0,o.to)(T)&&(O=0)}}return f}function s(e,t,n,a,c,s,u,l,f,p,d){for(var h=c-1,m=0===c?s:[""],g=(0,o.Ei)(m),v=0,y=0,b=0;v<a;++v)for(var w=0,O=(0,o.tb)(e,h+1,h=(0,o.Wn)(y=u[v])),x=e;w<g;++w)(x=(0,o.fy)(y>0?m[w]+" "+O:(0,o.gx)(O,/&\f/g,m[w])))&&(f[b++]=x);return(0,i.dH)(e,t,n,0===c?r.Fr:l,f,p,d)}function u(e,t,n){return(0,i.dH)(e,t,n,r.Ab,(0,o.Dp)((0,i.Tb)()),(0,o.tb)(e,2,-2),0)}function l(e,t,n,a){return(0,i.dH)(e,t,n,r.h5,(0,o.tb)(e,0,a),(0,o.tb)(e,a+1,-1),a)}},84833:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(70997),o=n(63763);function i(e,t){switch((0,o.vp)(e,t)){case 5103:return r.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return r.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r.G$+e+r.uj+e+r.MS+e+e;case 6828:case 4268:return r.G$+e+r.MS+e+e;case 6165:return r.G$+e+r.MS+"flex-"+e+e;case 5187:return r.G$+e+(0,o.gx)(e,/(\w+).+(:[^]+)/,r.G$+"box-$1$2"+r.MS+"flex-$1$2")+e;case 5443:return r.G$+e+r.MS+"flex-item-"+(0,o.gx)(e,/flex-|-self/,"")+e;case 4675:return r.G$+e+r.MS+"flex-line-pack"+(0,o.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return r.G$+e+r.MS+(0,o.gx)(e,"shrink","negative")+e;case 5292:return r.G$+e+r.MS+(0,o.gx)(e,"basis","preferred-size")+e;case 6060:return r.G$+"box-"+(0,o.gx)(e,"-grow","")+r.G$+e+r.MS+(0,o.gx)(e,"grow","positive")+e;case 4554:return r.G$+(0,o.gx)(e,/([^-])(transform)/g,"$1"+r.G$+"$2")+e;case 6187:return(0,o.gx)((0,o.gx)((0,o.gx)(e,/(zoom-|grab)/,r.G$+"$1"),/(image-set)/,r.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,o.gx)(e,/(image-set\([^]*)/,r.G$+"$1$`$1");case 4968:return(0,o.gx)((0,o.gx)(e,/(.+:)(flex-)?(.*)/,r.G$+"box-pack:$3"+r.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,o.gx)(e,/(.+)-inline(.+)/,r.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,o.to)(e)-1-t>6)switch((0,o.uO)(e,t+1)){case 109:if(45!==(0,o.uO)(e,t+4))break;case 102:return(0,o.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+r.G$+"$2-$3$1"+r.uj+(108==(0,o.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,o.Cw)(e,"stretch")?i((0,o.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,o.uO)(e,t+1))break;case 6444:switch((0,o.uO)(e,(0,o.to)(e)-3-(~(0,o.Cw)(e,"!important")&&10))){case 107:return(0,o.gx)(e,":",":"+r.G$)+e;case 101:return(0,o.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r.G$+(45===(0,o.uO)(e,14)?"inline-":"")+"box$3$1"+r.G$+"$2$3$1"+r.MS+"$2box$3")+e}break;case 5936:switch((0,o.uO)(e,t+11)){case 114:return r.G$+e+r.MS+(0,o.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r.G$+e+r.MS+(0,o.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r.G$+e+r.MS+(0,o.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r.G$+e+r.MS+e+e}return e}},92666:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,q:()=>i});var r=n(70997),o=n(63763);function i(e,t){for(var n="",r=(0,o.Ei)(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.Fr:e.value=e.props.join(",")}return(0,o.to)(n=i(e.children,a))?e.return=e.value+"{"+n+"}":""}},61680:(e,t,n)=>{"use strict";n.d(t,{FK:()=>c,JG:()=>f,QU:()=>E,Qb:()=>x,Tb:()=>p,Ud:()=>g,cE:()=>w,dH:()=>l,fj:()=>m,iF:()=>O,kq:()=>j,lp:()=>h,mp:()=>d,q6:()=>S,r:()=>y,un:()=>b});var r=n(63763),o=1,i=1,a=0,c=0,s=0,u="";function l(e,t,n,r,a,c,s){return{value:e,root:t,parent:n,type:r,props:a,children:c,line:o,column:i,length:s,return:""}}function f(e,t,n){return l(e,t.root,t.parent,n,t.props,t.children,0)}function p(){return s}function d(){return s=c>0?(0,r.uO)(u,--c):0,i--,10===s&&(i=1,o--),s}function h(){return s=c<a?(0,r.uO)(u,c++):0,i++,10===s&&(i=1,o++),s}function m(){return(0,r.uO)(u,c)}function g(){return c}function v(e,t){return(0,r.tb)(u,e,t)}function y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function b(e){return o=i=1,a=(0,r.to)(u=e),c=0,[]}function w(e){return u="",e}function O(e){return(0,r.fy)(v(c-1,P(91===e?e+2:40===e?e+1:e)))}function x(e){for(;(s=m())&&s<33;)h();return y(e)>2||y(s)>3?"":" "}function j(e,t){for(;--t&&h()&&!(s<48||s>102||s>57&&s<65||s>70&&s<97););return v(e,g()+(t<6&&32==m()&&32==h()))}function P(e){for(;h();)switch(s){case e:return c;case 34:case 39:return P(34===e||39===e?e:s);case 40:41===e&&P(e);break;case 92:h()}return c}function S(e,t){for(;h()&&e+s!==57&&(e+s!==84||47!==m()););return"/*"+v(t,c-1)+"*"+(0,r.Dp)(47===e?e:h())}function E(e){for(;!y(m());)h();return v(e,c)}},63763:(e,t,n)=>{"use strict";n.d(t,{$e:()=>m,Cw:()=>u,Dp:()=>o,EQ:()=>c,Ei:()=>d,R3:()=>h,Wn:()=>r,fy:()=>a,gx:()=>s,tb:()=>f,to:()=>p,uO:()=>l,vp:()=>i});var r=Math.abs,o=String.fromCharCode;function i(e,t){return(((t<<2^l(e,0))<<2^l(e,1))<<2^l(e,2))<<2^l(e,3)}function a(e){return e.trim()}function c(e,t){return(e=t.exec(e))?e[0]:e}function s(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function l(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function p(e){return e.length}function d(e){return e.length}function h(e,t){return t.push(e),e}function m(e,t){return e.map(t).join("")}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdD=function(){throw new Error("define cannot be used indirect")},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>323===e?"chunk-ckeditor.1010b93f2b7d721d3a75.js":"chunk-"+({85:"code-editor",107:"actions",614:"vendor-icons",802:"html-editor",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"88a90ed0cdc32e2f4ec3",107:"2fb37e82e729f58632ea",200:"d575b0803bb8ce811b7a",568:"71a3d0ad9eb894ded72b",594:"ded503dde12296127f41",611:"baffe880b59110d7742b",614:"602a9342ecdc5bef439e",692:"03c93b2fcd24d944da98",701:"67e7f6678277ece0c50c",802:"f9bb193351758d8babb2",817:"46c1d0c36174f8e60a28",877:"3df783c1b2350c047b5d"}[e]+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.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),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-widget-bundle:",a.l=(e,t,o,i)=>{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,a.nc&&c.setAttribute("nonce",a.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var p=(t,r)=>{c.onerror=c.onload=null,clearTimeout(d);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.j=243,a.p="/",(()=>{var e={243:0};a.f.j=(t,n)=>{var r=a.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 i=a.p+a.u(t),c=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,c,s]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in c)a.o(c,r)&&(a.m[r]=c[r]);if(s)s(a)}for(t&&t(n);u<i.length;u++)o=i[u],a.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))})(),a.nc=void 0;var c={};return(()=>{"use strict";a.r(c);var e=a(55954),t=a(45697),n=a.n(t),r=a(81749),o=a(23369),i=a(98773);const s={propTypes:n().shape({embedType:n().oneOf(i.Nc),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})};var u,l=a(74806),f=a(50558),p=a(59713),d=a.n(p),h=a(87757),m=a.n(h),g=a(27361),v=a.n(g),y=a(63094),b=a(48901),w=a(52540),O=a(83682),x=a(41609),j=a.n(x),P=a(18446),S=a.n(P),E=a(35937),k=a.n(E),Z=a(1024),T=a.n(Z),C=a(3975),D=a(50600),_=a(87533),A=a(22731),R=a(19743),I=a(45430),M="login/SET_LOGGED_IN",N="login/SET_ADMIN_ALLOWED",F="login/DO_SESSION_CHECK",L=function(e){return{type:M,payload:{loggedIn:e}}},H=function(e){return{type:N,payload:{adminAllowed:e}}},U=a(81770),B=(u={},d()(u,M,U.Z.singleTransferReducer("loggedIn")),d()(u,N,U.Z.singleTransferReducer("adminAllowed")),u),W={loggedIn:void 0,adminAllowed:void 0};function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0,n=B[t.type];return n?n(e,t):e}var z=a(34857),q=a(44759),G=a(54159),$=a(21913),Y=a(47490),K=m().mark(ee),X=m().mark(te),J=m().mark(ne);function Q(e,t){return G.Z.executeRequest(e,t).then(G.Z.extractBody).catch((function(e){return q.Z.logError("Failed to execute request",e),{success:!1}}))}function ee(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.RE)(Q,"session",{method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),K)}function te(){var e,t,n,r,o;return m().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,z.RE)(ee);case 2:if(e=i.sent,t=e.success,n=e.businessUnit,r=e.adminAllowed,!(o=$.Z.getLongTerm("session","principal"))||o.currentBusinessUnit.id===n){i.next=10;break}return i.next=10,(0,z.RE)($.Z.clearAll);case 10:return i.next=12,(0,z.gz)(H(r));case 12:return i.next=14,(0,z.gz)(L(t));case 14:return i.next=16,(0,z.gz)(Y.Z.connectSocket());case 16:case"end":return i.stop()}}),X)}function ne(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.Fm)(F,te)]);case 2:case"end":return e.stop()}}),J)}const re=function(e){U.Z.injectReducers(e,{login:V}),e.sagaMiddleware.run(ne)},oe=function(){return{type:F}};var ie,ae=a(99376),ce=a(35997),se=a(47369),ue="SET_ENTITY_NAME",le="SET_FORM_BASE",fe="SET_SCROLL_BEHAVIOUR",pe="root/SET_APP_ID",de=function(e){return{type:le,payload:{formBase:e}}},he=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return se.Z.getDispatchActions(e,me,t)},me=[{name:"entityName",action:function(e){return{type:ue,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:de,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:de,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:fe,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:pe,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],ge=a(58267),ve=a(6766),ye=(ie={},d()(ie,ve.zg,U.Z.singleTransferReducer("formTouched")),d()(ie,ve.zJ,U.Z.singleTransferReducer("detailParams")),ie),be={detailParams:void 0,formTouched:!1};var we=m().mark(Pe);function Oe(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 xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var je=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=xe({},e)})),e.relations.forEach((function(e){t[e.relationName]=xe({type:"relation"},e)})),t};function Pe(e){var t,n,r=arguments;return m().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>1&&void 0!==r[1]?r[1]:je,o.next=3,(0,z.RE)(y.Z.requestSaga,"entities/".concat(e,"/model"));case 3:return n=o.sent,o.next=6,(0,z.RE)(t,n.body);case 6:return o.abrupt("return",o.sent);case 7:case"end":return o.stop()}}),we)}var Se={CREATE:"create",UPDATE:"update"};const Ee=function(e){return void 0===e?Se.CREATE:Se.UPDATE};const ke=function(e){var t=e.split("/").filter((function(e){return!!e})),n=t[t.length-1],r=t.filter((function(e,t){return t>1&&t%2==0}));if(isNaN(n)){return{modelPaths:r,entityId:undefined,parentUrl:"/"+t.slice(0,-1).join("/")}}return{modelPaths:r,entityId:t[t.length-1],parentUrl:"/"+t.slice(0,-2).join("/")}};const Ze=function(e,t){return 0!==t.length||(!e||isNaN(e))};var Te=m().mark(Ie),Ce=m().mark(Me),De=m().mark(Ne),_e=m().mark(Fe),Ae=function(e){return e.entityBrowser},Re=function(e){return e.input};function Ie(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.Fm)(ve.tQ,Ne),(0,z.Fm)(ve.eI,Me)]);case 2:case"end":return e.stop()}}),Te)}function Me(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.gz)(ve.Ek(void 0));case 2:case"end":return e.stop()}}),Ce)}function Ne(e){var t,n,r,o,i,a,c,s,u,l,f,p,d,h,g;return m().wrap((function(m){for(;;)switch(m.prev=m.next){case 0:return t=e.payload,m.next=3,(0,z.RE)(ke,t.url);case 3:return n=m.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,m.next=9,(0,z.Ys)(Ae);case 9:return a=m.sent,c=a.entityName,s=a.formBase,m.next=14,(0,z.RE)(Ee,o);case 14:if(u=m.sent,l=c,f=s,!(r&&r.length>0)){m.next=22;break}return m.next=20,(0,z.RE)(Fe,c,r);case 20:l=m.sent,f="".concat(s,"_").concat(l);case 22:return m.next=24,(0,z.Ys)(Re);case 24:return p=m.sent,d=p.initialKey,m.next=28,(0,z.RE)(Ze,d,r);case 28:return h=m.sent,g={mode:u,entityId:o,entityName:l,formName:f,parentUrl:i,showBackButton:h},m.next=32,(0,z.gz)(ve.Ek(g));case 32:case"end":return m.stop()}}),De)}function Fe(e,t){var n,r,o,i,a;return m().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=e,c.next=3,(0,z.RE)(Pe,n);case 3:r=c.sent,o=0;case 5:if(!(o<t.length)){c.next=18;break}if(i=t[o],a=r[i]){c.next=10;break}throw new Error("No such path '".concat(i,"' found on entity model '").concat(n,"'"));case 10:if(n=a.targetEntity,!(o+1<t.length)){c.next=15;break}return c.next=14,(0,z.RE)(Pe,n);case 14:r=c.sent;case 15:o++,c.next=5;break;case 18:return c.abrupt("return",n);case 19:case"end":return c.stop()}}),_e)}var Le=m().mark(He);function He(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.rM)(Ie)]);case 2:case"end":return e.stop()}}),Le)}const Ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be,t=arguments.length>1?arguments[1]:void 0,n=ye[t.type];return n?n(e,t):e};var Be;function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?We(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ze=(Be={},d()(Be,ue,U.Z.singleTransferReducer("entityName")),d()(Be,le,(function(e,t){var n=t.payload.formBase;return n?Ve(Ve({},e),{},{formBase:n}):Ve({},e)})),d()(Be,fe,U.Z.singleTransferReducer("scrollBehaviour")),d()(Be,pe,U.Z.singleTransferReducer("appId")),Be),qe={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var Ge=m().mark(Ye),$e=m().mark(Ke);function Ye(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.RE)(Ke)]);case 2:case"end":return e.stop()}}),Ge)}function Ke(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,z.qn)(e.Z.INPUT_INITIALIZED);case 2:return t.next=4,(0,z.gz)(oe());case 4:case"end":return t.stop()}}),$e)}var Xe=m().mark(Je);function Je(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.rM)(Ye)]);case 2:case"end":return e.stop()}}),Xe)}const Qe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qe,t=arguments.length>1?arguments[1]:void 0,n=ze[t.type];return n?n(e,t):e},et={detail:Ue,form:ge.Z,entityBrowser:Qe};var tt,nt,rt,ot=[Je,He],it=a(85893);function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var st="entity-browser",ut=T().lazy((function(){return Promise.all([a.e(692),a.e(85),a.e(614),a.e(107),a.e(802)]).then(a.bind(a,83432))})),lt=function(){return tt||(tt=(0,it.jsx)("div",{children:(0,it.jsx)(Z.Suspense,{fallback:"",children:(0,it.jsx)(ut,{})})}))},ft=function(e,t){return e.intl.messages[t]||t},pt=function(t,n,r,i){n=ct(ct({},n),{},{id:t}),o.Z.setInputEnvs(n);var a=e.Z.createStore(et,ot,n,st);I.Z.addToStore(a,(function(){return{}})),D.Z.addToStore(a),_.Z.dynamicActionsAddToStore(a),R.Z.addToStore(a,!0,["console","remote","notification"]),Y.Z.addToStore(a,!0),re(a),A.Z.addToStore(a);var c=function(e,t){return(t?O.Z:w.Z)({getUserConfirmation:function(t,n){var r=e.getState(),o=ft(r,"client.common.ok"),i=ft(r,"client.common.cancel"),a=Y.Z.confirm("",t,o,i,(function(){return n(!0)}),(function(){return n(!1)}));e.dispatch(a)}})}(a,n.memoryHistory);!function(e,t){var n=t.initialKey;if(n&&!isNaN(n)&&!e.location.pathname.match(/\/detail\/[0-9]*/)){var r="/detail/".concat(t.initialKey);e.push(r)}}(c,n);var s=(0,it.jsxs)(C.F0,{history:c,children:[nt||(nt=(0,it.jsx)(ae.Z,{})),rt||(rt=(0,it.jsx)(lt,{}))]});return e.Z.createApp(st,s,a,{input:n,actions:he(n),publicPath:i,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},dt=function(t){var n=e.Z.useApp({initApp:pt,props:t,packageName:st}),r=n.component,o=n.store,i=ce.Z.usePrevious(t);return ce.Z.useDidUpdate((function(){var e=k()(t,(function(e,t){return!S()(e,i[t])}));j()(e)||he(e,!1).forEach((function(e){o.dispatch(e)}))}),[t]),r};dt.propTypes={entityName:n().string.isRequired,searchFormType:r.b,formBase:n().string,limit:n().number,preselectedSearchFields:n().array,searchFilters:n().arrayOf(n().string),simpleSearchFields:n().string,initialKey:n().string,businessUnit:n().string,memoryHistory:n().bool,backendUrl:n().string,scrollBehaviour:n().string,appContext:s.propTypes,modifyFormDefinition:n().func,disableDetailView:n().bool,reportIds:n().arrayOf(n().string)};const ht=dt;e.Z.createBundleableApp(st,pt,dt);var mt=m().mark(yt);function gt(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 vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yt(e,t,n){var r,o,i,a,c,s,u;return m().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r=t.parent,o=t.entityName,i=t.entityId,a=n.showEmailAction,c=n.appContext,"Mailing_list_detail_relUser_list"!==e.id){l.next=6;break}return s=e,s=a?b.Z.adjustActions(s,"mailing-list-mail-action",(function(e){return vt(vt({},e),{},{properties:vt(vt({},e.properties),{},{widgetKey:c.widgetConfigKey,eventKey:r.key})})})):b.Z.removeActions(s,["mailing-list-mail-action"]),l.abrupt("return",s);case 6:if("Mailing_list_User_detail"!==e.id||!i){l.next=13;break}return l.next=9,y.Z.fetchEntity(o,i,{paths:["publish_detail"]});case 9:if(u=l.sent,v()(u,["paths","publish_detail","value"])){l.next=13;break}return l.abrupt("return",b.Z.removeBoxes(e,["address_information","communication_information"]));case 13:return l.abrupt("return",e);case 14:case"end":return l.stop()}}),mt)}const bt=function(e){var t=e.searchFilters,n=e.searchFormType,r=e.limit,o=e.backendUrl,i=e.businessUnit,a=e.appContext,c=e.reportIds;return(0,it.jsx)(ht,{entityName:"Event",formBase:"Mailing_list",searchFilters:t,limit:r,modifyFormDefinition:function(t,n){return yt(t,n,e)},backendUrl:o,businessUnit:i,appContext:a,searchFormType:n,reportIds:c})};const wt=(0,f.connect)((function(e){return{searchFormType:e.input.searchFormType,searchFilters:e.input.searchFilters,limit:e.input.limit,backendUrl:e.input.backendUrl,businessUnit:e.input.businessUnit,appContext:e.input.appContext,reportIds:e.input.reportIds,showEmailAction:e.input.allowEmail}}),{})((0,l.ZP)(bt));var Ot,xt="mailing-list",jt=function(t,n,r,i){o.Z.setInputEnvs(n);var a=Ot||(Ot=(0,it.jsx)(wt,{})),c=e.Z.createStore({},null,n,xt);return e.Z.createApp(xt,a,c,{input:n,events:r,actions:[],publicPath:i,textResourceModules:["component","common","actions",xt]})},Pt=function(t){return e.Z.useApp({initApp:jt,props:t,packageName:xt}).component};Pt.propTypes={searchFormType:r.b,searchFilters:n().arrayOf(n().string),limit:n().number,backendUrl:n().string,businessUnit:n().string,appContext:s.propTypes.isRequired,reportIds:n().arrayOf(n().string),allowEmail:n().bool};var St=e.Z.createBundleableApp(xt,jt,Pt);e.Z.registerAppInRegistry(St.name,St.init)})(),c})()));