tocco-widget-bundle 0.1.178 → 0.1.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +7 -4
- package/dist/address-update.js +1 -1
- package/dist/chunk-240.d8ff72fa4d9b0f76d2f8.js +1 -0
- package/dist/chunk-430.1cae45fc5b5476173dff.js +1 -0
- package/dist/{chunk-actions.4a872cc992b529f9a5ca.js → chunk-actions.508dab5bc0846a1f2d5e.js} +1 -1
- package/dist/{chunk-docs-actions.da4836ddc13cd703f975.js → chunk-docs-actions.aa027dff2b08c06ea0f0.js} +1 -1
- package/dist/{chunk-vendor-icons.bba861a36d31d54c5c6b.js → chunk-vendor-icons.acb71c89c15f40dc6b63.js} +1 -1
- package/dist/docs-browser.js +2 -2
- package/dist/education-portfolio.js +1 -1
- package/dist/entity-browser.js +1 -1
- package/dist/entity-dms.js +2 -2
- package/dist/evaluation-execution-participation.js +1 -1
- package/dist/event-registration.js +1 -1
- package/dist/job-application.js +1 -1
- package/dist/login.js +1 -1
- package/dist/mailing-list.js +1 -1
- package/dist/password-update.js +1 -1
- package/dist/personal-dms.js +2 -2
- package/dist/public-dms.js +2 -2
- package/dist/sso-login.js +1 -1
- package/dist/stint-auction.js +1 -1
- package/dist/user-availability.js +1 -1
- package/dist/user-grades.js +1 -1
- package/dist/user-menu.js +1 -1
- package/dist/wage-view.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-240.69ce886a2af9c1908597.js +0 -1
- package/dist/chunk-690.95f3e2d1df8802653171.js +0 -1
package/dist/login.js
CHANGED
|
@@ -49,7 +49,7 @@ e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,ge
|
|
|
49
49
|
*
|
|
50
50
|
* This source code is licensed under the MIT license found in the
|
|
51
51
|
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/var r=n(1024),o=n(61688);var a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,c=r.useRef,s=r.useEffect,u=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=c(null);if(null===f.current){var p={hasValue:!1,value:null};f.current=p}else p=f.current;f=u((function(){function e(e){if(!s){if(s=!0,i=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return c=t}return c=e}if(t=c,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,c=n)}var i,c,s=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var d=i(e,f[0],f[1]);return s((function(){p.hasValue=!0,p.value=d}),[d]),l(d),d}},61688:(e,t,n)=>{"use strict";e.exports=n(53250)},52798:(e,t,n)=>{"use strict";e.exports=n(50139)},28721:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o;const a=new Uint8Array(16);function i(){if(!o&&(o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(a)}const c=[];for(let e=0;e<256;++e)c.push((e+256).toString(16).slice(1));function s(e,t=0){return(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase()}const u=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const o=(e=e||{}).random||(e.rng||i)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return s(o)}},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}).apply(this,arguments)}n.d(t,{Z:()=>r})},86:(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})(e)}n.d(t,{Z:()=>r})},31599:(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})},28549:(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})},2717:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():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}).apply(this,arguments)}n.d(t,{Z:()=>r})},33417:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(28549);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},32924:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>r})},1972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(78001);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},62360:(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})(e)}n.d(t,{Z:()=>r})},78001:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(31599);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=o,i.amdD=function(){throw new Error("define cannot be used indirect")},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>"chunk-"+({85:"code-editor",198:"vendor-fontawesome",614:"vendor-icons",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"5f25929fbf6f0a034556",198:"ab9f2eea50d01a3a62a9",560:"e3d5772311dd2d78dc20",608:"3186988649a5c8a6b487",614:"bba861a36d31d54c5c6b",631:"8d55ab629611cf584826",877:"a7f934130ec5ac7a8cff"}[e]+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-:",i.l=(e,t,o,a)=>{if(n[e])n[e].push(t);else{var c,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+o){c=f;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var 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)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.j=535,i.p="/",(()=>{var e={535:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var a=i.p+i.u(t),c=new Error;i.l(a,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,c,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(s)s(i)}for(t&&t(n);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_=self.webpackChunktocco_||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.nc=void 0;var c={};return(()=>{"use strict";i.r(c),i.d(c,{app:()=>Gb});var e=i(18882),t=i(59713),n=i.n(t),r=i(45697),o=i.n(r),a=i(19743),s=i(19241),u=i(28002),l=i(65378),f=i(74806),p=i(50558),d="login/INITIALIZE",h="login/LOGIN",m="login/REQUEST_PASSWORD",g="login/CHECK_USERNAME",v=function(e,t,n,r){return{type:h,payload:{username:e,password:t,captchaToken:n,userCode:r}}},y=i(28655),b=i.n(y),w=i(1024),O=i.n(w),x=i(38205),k="USERNAME_FORM",S="LOGIN_FORM",P="PASSWORD_REQUEST",j="TWOSTEPLOGIN",_="PASSWORD_UPDATE",E="TWOSTEPLOGIN_ACTIVATION",C="login/CHANGE_PAGE",T="login/SET_ENTRY_PAGE",D="login/SET_USERNAME",R="login/SET_PASSWORD",M="login/SET_CAPTCHA_KEY",I=function(e){return{type:T,payload:{entryPage:e}}},A=function(e){return{type:C,payload:{currentPage:e}}},N=function(e){return{type:D,payload:{username:e}}},Z=function(e){return{type:R,payload:{password:e}}},L=i(48926),F=i.n(L),U=i(63038),H=i.n(U),B=i(87757),W=i.n(B),z=i(99860),Y=i.n(z);function V(){return(V=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}).apply(this,arguments)}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var G=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(q(t)),t.handleErrored=t.handleErrored.bind(q(t)),t.handleChange=t.handleChange.bind(q(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(q(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},o.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},o.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},o.executeAsync=function(){var e=this;return new Promise((function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()}))},o.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},o.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},o.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},o.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},o.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},o.componentDidMount=function(){this.explicitRender()},o.componentDidUpdate=function(){this.explicitRender()},o.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},o.delayOfCaptchaIframeRemoving=function(){var e=document.createElement("div");for(document.body.appendChild(e),e.style.display="none";this.captcha.firstChild;)e.appendChild(this.captcha.firstChild);setTimeout((function(){document.body.removeChild(e)}),5e3)},o.handleRecaptchaRef=function(e){this.captcha=e},o.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return O().createElement("div",V({},t,{ref:this.handleRecaptchaRef}))},r}(O().Component);G.displayName="ReCAPTCHA",G.propTypes={sitekey:Y().string.isRequired,onChange:Y().func,grecaptcha:Y().object,theme:Y().oneOf(["dark","light"]),type:Y().oneOf(["image","audio"]),tabindex:Y().number,onExpired:Y().func,onErrored:Y().func,size:Y().oneOf(["compact","normal","invisible"]),stoken:Y().string,hl:Y().string,badge:Y().oneOf(["bottomright","bottomleft","inline"])},G.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var K=i(9657),X=i.n(K),$=i(8679),Q=i.n($);function J(){return(J=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}).apply(this,arguments)}var ee={},te=0;var ne="onloadcallback";const re=function(e,t){return t=t||{},function(n){var r=n.displayName||n.name||"Component",o=function(r){var o,a;function i(e,t){var n;return(n=r.call(this,e,t)||this).state={},n.__scriptURL="",n}a=r,(o=i).prototype=Object.create(a.prototype),o.prototype.constructor=o,o.__proto__=a;var c=i.prototype;return c.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+te++),this.__scriptLoaderID},c.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},c.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},c.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=ee[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var n in e.observers)e.observers[n](e);delete window[t.callbackName]},c.componentDidMount=function(){var e=this,n=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),o=t,a=o.globalName,i=o.callbackName,c=o.scriptId;if(a&&void 0!==window[a]&&(ee[n]={loaded:!0,observers:{}}),ee[n]){var s=ee[n];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var u={};u[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},ee[n]={loaded:!1,observers:u};var l=document.createElement("script");for(var f in l.src=n,l.async=!0,t.attributes)l.setAttribute(f,t.attributes[f]);c&&(l.id=c);var p=function(e){if(ee[n]){var t=ee[n].observers;for(var r in t)e(t[r])&&delete t[r]}};i&&"undefined"!=typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),l.onload=function(){var e=ee[n];e&&(e.loaded=!0,p((function(t){return!i&&(t(e),!0)})))},l.onerror=function(){var e=ee[n];e&&(e.errored=!0,p((function(t){return t(e),!0})))},document.body.appendChild(l)},c.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var n=document.getElementsByTagName("script"),r=0;r<n.length;r+=1)n[r].src.indexOf(e)>-1&&n[r].parentNode&&n[r].parentNode.removeChild(n[r]);var o=ee[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete ee[e])},c.render=function(){var e=t.globalName,r=this.props,o=(r.asyncScriptOnLoad,r.forwardedRef),a=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(a[e]=void 0!==window[e]?window[e]:void 0),a.ref=o,(0,w.createElement)(n,a)},i}(w.Component),a=(0,w.forwardRef)((function(e,t){return(0,w.createElement)(o,J({},e,{forwardedRef:t}))}));return a.displayName="AsyncScriptLoader("+r+")",a.propTypes={asyncScriptOnLoad:X().func},Q()(a,n)}}((function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+ne+"&render=explicit"}),{callbackName:ne,globalName:"grecaptcha"})(G);var oe=i(6479),ae=i.n(oe),ie=i(41505),ce=i.n(ie),se=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ue=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},le=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},fe={outline:"none"},pe=function(e){function t(){var n,r;se(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=le(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)},le(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",ue({ref:this.ref,style:fe},n),e)},t}(O().Component);pe.propTypes={children:ce().oneOfType([ce().node,ce().func]).isRequired,onBlur:ce().func,onFocus:ce().func},pe.defaultProps={onBlur:function(){},onFocus:function(){}};const de=pe;var he,me,ge,ve,ye=i(70696),be=i(10535),we=i(23427),Oe=i(319),xe=i.n(Oe),ke=i(37188),Se=i(24875),Pe=(he={},n()(he,we.Z.condition.BASE,"inherit"),n()(he,we.Z.condition.DANGER,Se.FS.color("signal.danger")),n()(he,we.Z.condition.SUCCESS,Se.FS.color("signal.success")),n()(he,we.Z.condition.WARNING,Se.FS.color("signal.warning")),n()(he,we.Z.condition.INFO,Se.FS.color("signal.info")),he),je=(0,x.ZP)(ke.hc).withConfig({displayName:"StyledSignalList"})(me||(me=b()(["\n && {\n list-style-type: none;\n }\n"]))),_e=x.ZP.span.withConfig({displayName:"StyledSignalListIcon"})(ge||(ge=b()(["\n position: absolute;\n left: -1.6rem;\n text-align: left;\n"]))),Ee=(0,x.ZP)(ke.EF).withConfig({displayName:"StyledSignalListItem"})(ve||(ve=b()(["\n && {\n color: ",";\n position: relative;\n padding: 0;\n }\n"])),(function(e){return function(e){return Pe[e.condition]||"inherit"}(e)})),Ce=i(85893);const Te=function(e){return(0,Ce.jsx)(je,{as:"ul",children:O().Children.map(e.children,(function(e){return O().cloneElement(e)}))})};var De,Re,Me=i(88162),Ie=(De={},n()(De,we.Z.condition.BASE,!1),n()(De,we.Z.condition.DANGER,"times"),n()(De,we.Z.condition.SUCCESS,"check"),n()(De,we.Z.condition.WARNING,"exclamation-triangle"),n()(De,we.Z.condition.INFO,"info"),De),Ae=function(e){var t=Ie[e.condition];return t?(0,Ce.jsx)(Me.Z,{icon:t,position:we.Z.position.SOLE}):Re||(Re=(0,Ce.jsx)("i",{children:"•"}))},Ne=function(e){return(0,Ce.jsxs)(Ee,{condition:e.condition,children:[(0,Ce.jsx)(_e,{children:Ae(e)}),e.label,O().Children.map(e.children,(function(e){return O().cloneElement(e)}))]})};Ne.defaultProps={condition:we.Z.condition.BASE};const Ze={List:Te,Item:Ne};const Le=function(e){if(!e.error)return null;var t=[];return Object.keys(e.error).forEach((function(n){t.push.apply(t,xe()(e.error[n]))})),(0,Ce.jsx)(Ze.List,{children:t.map((function(e,t){return(0,Ce.jsx)(Ze.Item,{condition:"danger",label:e},t)}))})};var Fe,Ue,He,Be,We,ze,Ye,Ve,qe,Ge,Ke,Xe,$e,Qe,Je,et=i(79686),tt=i(30759),nt=i(7281),rt=i(27361),ot=i.n(rt),at={base:function(e){var t=e.theme;return ot()(t,"colors.text")},shade1:function(e){var t=e.theme;return ot()(t,"colors.textLight")},shade2:function(e){var t=e.theme;return ot()(t,"colors.textLighter")},signal:function(e){var t=e.theme,n=e.signal;return ot()(t,"colors.signal.".concat(n))},hasValue:function(e){var t=e.theme;return ot()(t,"colors.signal.info")}},it={base:function(e){var t=e.theme;return ot()(t,"colors.border")},signal:function(e){var t=e.theme,n=e.signal;return ot()(t,"colors.signal.".concat(n))},isDirty:function(e){var t=e.theme;return ot()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}},ct=i(76538),st="1.1px",ut=function(e){var t=e.isDisplay,n=e.immutable;return"cursor: ".concat(!t&&n?"not-allowed":"auto",";")},lt=x.ZP.label.withConfig({displayName:"StyledStatedValueLabel"})(Ue||(Ue=b()(["\n &&& {\n display: flex;\n width: 40%;\n flex-grow: 1;\n flex-basis: 125px;\n ","\n background-color: ",";\n pointer-events: auto;\n ","\n word-break: break-word;\n white-space: pre-wrap;\n ","\n ","\n ","\n }\n"])),(0,tt.Z)({lineHeight:Se.FS.lineHeight("dense")}),Se.FS.color("paper"),(function(e){return ut(e)}),(function(e){return"outside"===e.labelPosition&&(0,x.iv)(He||(He=b()(["\n margin-bottom: ",";\n display: block;\n width: auto;\n "])),nt.Z.space(-1.5))}),(function(e){return"inside"===e.labelPosition&&(0,x.iv)(Be||(Be=b()(["\n flex-basis: unset;\n position: absolute;\n top: 0;\n z-index: 1;\n display: inline-block;\n padding: 0 "," 0 ","; // if immutable remove left padding\n width: fit-content;\n left: ",";\n "])),nt.Z.space(-2),(function(e){return e.immutable&&"0"}),nt.Z.space(-1.8))}),(function(e){return e.styles})),ft=x.ZP.div.withConfig({displayName:"StyledInputArea"})(We||(We=b()(["\n width: 60%;\n flex-grow: 1;\n ","\n"])),(function(e){return"outside"===e.labelPosition&&(0,x.iv)(ze||(ze=b()(["\n width: auto;\n "])))})),pt=x.ZP.div.withConfig({displayName:"StyledStatedValueBox"})(Ye||(Ye=b()(["\n &&& {\n position: relative;\n height: fit-content; // prevent height getting bigger due to tall labels\n border: "," solid ",";\n border-radius: ",";\n padding: "," ",";\n ","\n ","\n\n > "," {\n padding-top: ",";\n position: relative;\n top: 5px;\n\n p:first-of-type {\n margin-top: 0;\n }\n }\n ","\n ","\n }\n"])),st,(function(e){return it[function(e){var t=e.immutable,n=e.isDisplay,r=e.signal;return e.isDirty?"isDirty":n||t?"transparent":r?"signal":"base"}(e)](e)}),Se.FS.radii("form"),nt.Z.space(-2.5),nt.Z.space(-1.5),(function(e){return!e.immutable&&function(e){var t=ot()(e.theme,"colors.signal.info",we.Z.fallbackColors.INFO);return(0,x.iv)(Fe||(Fe=b()(["\n transition: border-color ease-in-out 100ms;\n will-change: border-color;\n\n &:focus,\n &:focus-within {\n border-color: ",";\n box-shadow: 0 0 6px ",";\n outline: 0;\n\n /**\n * Disable box-shadow for Safari\n * in order to be able to tab through the form fluently\n */\n @media not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n box-shadow: none;\n }\n }\n }\n "])),t,(0,ct.DZ)(.4,t))}(e)}),(function(e){return ut(e)}),et.j,(function(e){return e.isDisplay&&nt.Z.space(-1)}),(function(e){return"inside"===e.labelPosition&&(0,x.iv)(Ve||(Ve=b()(["\n padding: "," "," "," ",";\n "])),nt.Z.space(-1),nt.Z.space(-1.7),nt.Z.space(-2),nt.Z.space(-1))}),(function(e){return e.styles})),dt=x.ZP.p.withConfig({displayName:"StyledStatedValueDescription"})(qe||(qe=b()(["\n &&& {\n ","\n }\n"])),(0,tt.Z)({fontSize:nt.Z.font(-1)})),ht=x.ZP.div.withConfig({displayName:"StyledStatedValueError"})(Ge||(Ge=b()([""]))),mt=x.ZP.div.withConfig({displayName:"StyledStatedValueOuterWrapper"})(Ke||(Ke=b()(["\n &:not(:last-child) {\n margin-bottom: ",";\n }\n ","\n"])),nt.Z.space(-.7),(function(e){return"inside"===e.labelPosition&&(0,x.iv)(Xe||(Xe=b()(["\n padding-top: ",";\n margin-bottom: 0.65rem;\n position: relative;\n "])),nt.Z.space(-1.5))})),gt=x.ZP.div.withConfig({displayName:"StyledStatedValueInnerWrapper"})($e||($e=b()(["\n &&& {\n display: flex;\n flex-wrap: wrap;\n gap: ",";\n align-items: center;\n\n ",",\n ",",\n "," {\n margin-bottom: ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n "," {\n margin-left: calc("," + ",");\n }\n ","\n ","\n }\n"])),nt.Z.space(-1.5),pt,dt,ht,nt.Z.space(-2),dt,nt.Z.space(-1),st,(function(e){return"outside"===e.labelPosition&&(0,x.iv)(Qe||(Qe=b()(["\n display: block;\n "])))}),(function(e){return"inside"===e.labelPosition&&(0,x.iv)(Je||(Je=b()(["\n padding-top: 0;\n "])))}));function vt(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 yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const bt=function(e){var t,n,r,o=e.children,a=e.description,i=e.dirty,c=e.isDisplay,s=e.error,u=e.hasValue,l=e.id,f=e.label,p=e.mandatory,d=e.mandatoryTitle,h=e.immutable,m=e.touched,g=e.signal,v=e.labelPosition,y=e.styles,b=!h&&m&&s&&Object.keys(s).length>0,w=p&&d?", ".concat(d):"",O="".concat(ye.Z.adjustedHTMLString(f)).concat(w),x=g||function(e,t,n,r){return t?we.Z.condition.DANGER:e?we.Z.condition.INFO:n&&!r?we.Z.condition.WARNING:void 0}(i,b,p,u),k={__html:"".concat(be.Z.sanitizeHtml(f)).concat(p?" *":"")},S=!c&&!h&&{htmlFor:l};return(0,Ce.jsx)(de,{children:function(e){var l=e.getRef;return(0,Ce.jsx)(mt,{labelPosition:v,children:(0,Ce.jsxs)(gt,{labelPosition:v,ref:l,label:f,children:[f&&(0,Ce.jsx)(lt,yt(yt({},S),{},{hasValue:u,dirty:i,title:O,immutable:h,isDisplay:c,signal:x,labelPosition:v,styles:null==y?void 0:y.labelStyles,children:t||(t=(0,Ce.jsx)("span",{dangerouslySetInnerHTML:k}))})),(0,Ce.jsxs)(ft,{labelPosition:v,children:[(0,Ce.jsx)(pt,{hasValue:u,immutable:h,isDisplay:c,signal:x,labelPosition:v,styles:null==y?void 0:y.valueStyles,children:o}),b&&(n||(n=(0,Ce.jsx)(ht,{children:(0,Ce.jsx)(Le,{error:s})}))),a&&(r||(r=(0,Ce.jsx)(dt,{children:a})))]})]})})}})};var wt,Ot,xt,kt=function(e){return(0,x.iv)(wt||(wt=b()(["\n color: ",";\n font-weight: ",";\n"])),at[function(e){var t=e.isDisplay,n=e.immutable,r=e.signal,o=e.hasValue;return r?"signal":o?"hasValue":t?"shade1":n?"base":"shade1"}(e)](e),(function(e){return e.dirty?Se.FS.fontWeight("bold"):Se.FS.fontWeight("regular")}))},St=function(){return(0,x.iv)(Ot||(Ot=b()(["\n padding-top: ",";\n padding-left: ",";\n"])),(function(e){var t=e.isDisplay,n=e.immutable;if(t&&n)return(0,x.iv)(xt||(xt=b()(["\n ","\n "])),nt.Z.space(-1))}),(function(e){return e.immutable&&0}))},Pt=["labelPosition"];function jt(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}const _t=function(e){var t=e.labelPosition,r=ae()(e,Pt);return(0,Ce.jsx)(bt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({styles:{labelStyles:kt,valueStyles:St},labelPosition:t||"outside-responsive"},r))};var Et,Ct,Tt,Dt=function(e){return e.signal?"signal":"shade1"},Rt=function(e){return(0,x.iv)(Et||(Et=b()(["\n color: ",";\n font-weight: ",";\n"])),at[Dt(e)](e),Se.FS.fontWeight("bold"))},Mt=function(){return(0,x.iv)(Ct||(Ct=b()(["\n padding-top: ",";\n padding-left: ",";\n"])),(function(e){var t=e.isDisplay,n=e.immutable;return n?0:t&&n?(0,x.iv)(Tt||(Tt=b()(["\n ","\n "])),nt.Z.space(-1)):void 0}),(function(e){return e.immutable&&0}))},It=["labelPosition"];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}const Nt=function(e){var t=e.labelPosition,r=ae()(e,It);return(0,Ce.jsx)(bt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?At(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):At(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({styles:{labelStyles:Rt,valueStyles:Mt},labelPosition:t||"outside"},r))};var Zt,Lt=(Zt={},n()(Zt,u.Z.EmbedType.admin,_t),n()(Zt,u.Z.EmbedType.widget,Nt),Zt);const Ft=u.Z.embedStrategyFactory({mapping:Lt});var Ut=i(35997);const Ht=(0,f.ZP)((function(e){var t,n=e.message,r=e.intl;return n&&n.text?(0,Ce.jsx)(Ze.List,{children:(0,Ce.jsx)(Ze.Item,{condition:n.negative?"danger":"base",label:(t=n.text,r.formatMessage({id:t}))})}):null}));var Bt,Wt=i(65035),zt=i(88601),Yt=(0,x.ZP)(Wt.Z).withConfig({displayName:"StyledLoginButton"})(Bt||(Bt=b()(["\n &&& {\n font-size: ",";\n border-radius: ",";\n display: flex;\n justify-content: center;\n padding: 1.25rem 0;\n width: 100%;\n margin-top: 20px;\n margin-bottom: 10px;\n\n &:not(:last-child) {\n margin-right: 0;\n }\n }\n"])),nt.Z.font(1.3),zt.Z.radii("buttonLarge")),Vt=["disabled","pending","label"];function qt(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}const Gt=function(e){var t=e.disabled,r=e.pending,o=e.label,a=ae()(e,Vt);return(0,Ce.jsx)(Yt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({disabled:t,pending:r,label:o,ink:"primary",look:"raised",type:"submit","data-cy":"btn-submit"},a))};var Kt=i(44012),Xt=i(34206);const $t=function(e){var t=e.title,n=e.subtitle;return(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)(Xt.ZP.H5,{children:(0,Ce.jsx)(Kt.Z,{id:t})}),n&&(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:n})})]})};const Qt=function(e){var t=(0,w.useState)(!1),n=H()(t,2),r=n[0],o=n[1];return[r,{onAnimationStart:function(e){"onAutoFillStart"===e.animationName&&o(!0)},onChange:function(t){e(t.target.value),o(!1)}}]};var Jt,en,tn,nn,rn,on,an,cn=(0,x.iv)(Jt||(Jt=b()(["\n align-items: center;\n cursor: ",";\n display: flex;\n"])),(function(e){return e.immutable?"not-allowed":"default"})),sn=x.ZP.label.withConfig({displayName:"StyledEditableWrapper"})(en||(en=b()(["\n &&& {\n margin: 0; /* reset Bootstrap and Ext JS */\n padding: 0; /* reset Ext JS */\n ","\n }\n"])),cn),un=(0,x.iv)(tn||(tn=b()(["\n background-color: transparent;\n border: 0;\n cursor: ",";\n flex-grow: 1;\n min-height: 2.6rem;\n min-width: 0;\n outline: 0;\n padding: 0;\n ","\n &::-ms-clear {\n display: none;\n }\n\n &::-webkit-clear-button {\n display: none;\n }\n\n &::-webkit-inner-spin-button {\n display: none;\n }\n\n &[type='number'] {\n appearance: textfield;\n }\n\n &[type='search'] {\n appearance: none;\n }\n\n &:disabled {\n -webkit-text-fill-color: ","; // Safari fix\n opacity: 1; // iOS fix\n }\n\n /* remove indicators */\n &[type='date'],\n &[type='datetime-local'],\n &[type='month'],\n &[type='time'],\n &[type='week'] {\n appearance: none;\n display: flex;\n\n /* reset margin on smaller screens */\n ::-webkit-date-and-time-value {\n ","\n }\n }\n\n // allow pointer event only on touch devices\n @media (pointer: coarse) {\n pointer-events: ",";\n }\n"])),(function(e){return e.immutable?"not-allowed":"default"}),(function(){return(0,tt.Z)({color:Se.FS.color("text")})}),Se.FS.color("text"),(function(e){return e.immutable&&"margin: unset;"}),(function(e){return e.immutable?"none":"auto"})),ln=(0,x.iv)(nn||(nn=b()(["\n display: flex;\n align-items: center;\n"]))),fn=x.ZP.div.withConfig({displayName:"StyledEditableControl"})(rn||(rn=b()(["\n &&& {\n ","\n }\n"])),ln),pn=x.ZP.span.withConfig({displayName:"StyledEditableValue"})(on||(on=b()(["\n width: 100%;\n\n && {\n //url\n [type='url'] + .input-group-addon > a {\n color: inherit; // reset bootstrap default\n }\n\n //url\n [type='tel'] + .input-group-addon > a {\n color: inherit; // reset bootstrap default\n }\n\n //date\n .date-edit {\n .input-group-addon {\n cursor: pointer;\n }\n\n input {\n z-index: 0;\n }\n\n &.disabled {\n input {\n cursor: not-allowed;\n }\n }\n\n .right-addon {\n position: relative;\n }\n\n .right-addon input {\n padding-right: 30px;\n }\n\n .reset {\n position: absolute;\n padding-right: 10px;\n padding-top: 5px;\n right: 0;\n color: #999;\n font-size: 18px;\n font-style: normal;\n cursor: pointer;\n }\n\n .reset:hover {\n color: ",";\n }\n }\n }\n"])),Se.FS.color("signal.danger")),dn=i(58129);const hn=x.ZP.div.withConfig({displayName:"StyledButtonGroup"})(an||(an=b()(["\n display: flex;\n\n &&& > "," {\n :not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n\n :not(:last-child) {\n margin-right: 0;\n border-right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n }\n"])),dn.Z);var mn,gn,vn,yn,bn,wn=x.ZP.input.withConfig({displayName:"StyledLoginFormInput"})(mn||(mn=b()(["\n /* stylelint-disable-next-line block-no-empty */\n @keyframes onAutoFillStart {\n from {\n }\n }\n\n &&&& {\n ","\n transition: background-color 50000s, color 50000s, filter 50000s;\n\n &:-webkit-autofill {\n animation-duration: 50000s;\n animation-name: onAutoFillStart;\n }\n padding-top: ",";\n padding-bottom: ",";\n }\n"])),un,nt.Z.space(-.9),nt.Z.space(-.9)),On=x.ZP.div.withConfig({displayName:"StyledLoginFormInputWrapper"})(gn||(gn=b()(["\n &&& {\n ","\n }\n"])),cn),xn=(0,x.ZP)(Wt.Z).withConfig({displayName:"StyledTransparentButton"})(vn||(vn=b()(["\n &&& {\n margin-right: 0;\n background-color: transparent;\n padding: "," 0;\n width: 100%;\n justify-content: center;\n\n &:hover {\n background-color: transparent;\n }\n }\n"])),nt.Z.space(-.1)),kn=x.ZP.div.withConfig({displayName:"StyledLoginFormWrapper"})(yn||(yn=b()(["\n "," {\n margin-top: ",";\n width: auto;\n flex-direction: column;\n\n "," {\n flex-grow: 1;\n }\n }\n"])),hn,nt.Z.space(.47),dn.Z);function Sn(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 Pn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sn(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const jn=function(e){var t=e.captchaKey,n=e.changePage,r=e.intl,o=e.login,a=e.loginPending,i=e.message,c=e.password,s=e.recaptchaActivated,u=e.setPassword,l=e.setUsername,f=e.showTitle,p=e.username,d=e.entryPage,h=Qt(l),m=H()(h,2),g=m[0],v=m[1],y=Qt(u),b=H()(y,2),O=b[0],x=b[1],S=(0,w.useRef)(),j=d===k,_=function(e){return r.formatMessage({id:e})},E=Ut.Z.usePrevious(s),C=(0,w.useCallback)(function(){var e=F()(W().mark((function e(t){var n;return W().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.preventDefault(),n=null,!s){e.next=7;break}return e.next=5,S.current.executeAsync();case 5:n=e.sent,S.current.reset();case 7:o(p,c,n);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[o,p,c,s]);(0,w.useEffect)((function(){s&&!E&&C()}),[s,E,C]);var T=!!p,D=!T;return(0,Ce.jsxs)(kn,{children:[f&&(bn||(bn=(0,Ce.jsx)($t,{title:"client.login.form.title",subtitle:"client.login.form.introduction"}))),(0,Ce.jsxs)("form",{onSubmit:C,children:[(0,Ce.jsx)(Ft,{hasValue:!!p||g,id:"login-username",label:_("client.login.form.userPlaceholder"),immutable:j,labelPosition:"outside",children:(0,Ce.jsx)(On,{children:(0,Ce.jsx)(wn,Pn({autoFocus:D,name:"user","data-cy":"login-form_user-input",required:!0,type:"text",value:p,disabled:j,onFocus:function(e){return e.target.select()}},v))})}),(0,Ce.jsx)(Ft,{hasValue:!!c||O,id:"login-password",label:_("client.login.form.passwordPlaceholder"),labelPosition:"outside",children:(0,Ce.jsx)(On,{children:(0,Ce.jsx)(wn,Pn({autoFocus:T,name:"password","data-cy":"login-form_password-input",required:!0,type:"password",value:c,onFocus:function(e){return e.target.select()}},x))})}),(0,Ce.jsx)(Ht,{message:i}),t&&s&&(0,Ce.jsx)(re,{ref:S,badge:"bottomright",size:"invisible",sitekey:t,hl:r.locale}),(0,Ce.jsx)(Gt,{disabled:a||""===p&&!g||""===c&&!O,label:_("client.login.form.button"),pending:a,"data-cy":"login-form_login-button"}),(0,Ce.jsx)(xn,{label:_("client.login.form.forgotLink"),onClick:function(){return n(P)},"data-cy":"login-form_request-button"}),j&&(0,Ce.jsx)(xn,{label:_("client.login.form.backLink"),onClick:function(){return n(k)}})]})]})};var _n={changePage:A,setUsername:N,setPassword:Z,login:v};const En=(0,p.connect)((function(e){return{username:e.login.username,password:e.login.password,message:e.loginForm.message,loginPending:e.loginForm.loginPending,captchaKey:e.login.captchaKey,recaptchaActivated:e.loginForm.recaptchaActivated,entryPage:e.login.entryPage}}),_n)((0,f.ZP)(jn));var Cn,Tn;const Dn=function(e){var t=e.entryPage,n=e.username,r=e.requestPassword,o=e.intl,a=e.showTitle,i=e.pending,c=e.changePage,s=(0,w.useState)(n||""),u=H()(s,2),l=u[0],f=u[1],p=t===k,d=function(e){return o.formatMessage({id:e})};return(0,Ce.jsxs)(kn,{children:[a&&(Cn||(Cn=(0,Ce.jsx)($t,{title:"client.login.passwordRequest.title"}))),!p&&(Tn||(Tn=(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:"client.login.passwordRequest.introduction"})}))),(0,Ce.jsxs)("form",{onSubmit:function(e){e.preventDefault(),r(l)},children:[(0,Ce.jsx)(Ft,{hasValue:Boolean(l),id:"login-username",label:d("client.login.form.userPlaceholder"),immutable:p,labelPosition:"outside",children:(0,Ce.jsx)(On,{children:(0,Ce.jsx)(wn,{name:"user",onChange:function(e){f(e.target.value)},required:!0,type:"text",value:l,disabled:p,"data-cy":"password-request_input"})})}),(0,Ce.jsx)(Gt,{disabled:!l||i,label:d("client.login.passwordRequest.button"),pending:i,"data-cy":"password-request_submit-button"}),(0,Ce.jsx)(xn,{disabled:i,label:d("client.login.passwordRequest.abortButton"),name:"abort",onClick:function(){return c(S)},"data-cy":"password-request_abort-button"})]})]})};var Rn={changePage:A,requestPassword:function(e){return{type:m,payload:{username:e}}}};const Mn=(0,p.connect)((function(e){return{username:e.login.username,pending:e.loginForm.loginPending,entryPage:e.login.entryPage}}),Rn)((0,f.ZP)(Dn));var In="INITIALIZED",An="PasswordUpdateDialog/UPDATE_OLD_PASSWORD",Nn="PasswordUpdateDialog/UPDATE_NEW_PASSWORD",Zn="PasswordUpdateDialog/SET_NEW_PASSWORD",Ln="PasswordUpdateDialog/SET_NEW_PASSWORD_VALIDATION_ERRORS",Fn="PasswordUpdateDialog/UPDATE_NEW_PASSWORD_REPEAT",Un="PasswordUpdateDialog/SAVE_PASSWORD",Hn="PasswordUpdateDialog/SAVE_PASSWORD_SUCCESS",Bn="PasswordUpdateDialog/SAVE_PASSWORD_FAILURE",Wn="PasswordUpdateDialog/VALIDATE",zn="PasswordUpdateDialog/RESET_PASSWORD_UPDATED_FAILED",Yn=function(e){return{type:An,payload:{oldPassword:e}}},Vn=function(e){return{type:Ln,payload:{errors:e}}},qn=function(e,t){return{type:Bn,payload:{errorCode:e,validationMessages:t}}},Gn="PasswordUpdateDialog/FETCH_VALIDATION_RULES",Kn="PasswordUpdateDialog/SET_VALIDATION_RULES",Xn=i(35728),$n={INVALID_CREDENTIALS:"client.login.passwordUpdate.invalidCredentials",UNEXPECTED_ERROR:"client.login.passwordUpdate.unexpectedError"};const Qn=function(e){return(0,Ce.jsx)(Ze.List,{children:(0,Ce.jsx)(Ze.Item,{condition:we.Z.condition.DANGER,children:(0,Ce.jsx)(Kt.Z,{id:(t=e.errorCode,$n[t]||"client.login.passwordUpdate.failure")})})});var t};const Jn=function(e){return(0,Ce.jsx)(Ze.List,{children:e.rules.map((function(t,n){var r=null,o=t.message;if(e.errors){var a=e.errors[t.name];!0===a?r=we.Z.condition.DANGER:"string"==typeof a?(r=we.Z.condition.DANGER,o=a):r=we.Z.condition.SUCCESS}return(0,Ce.jsx)(Ze.Item,{condition:r,label:o},n)}))})};var er,tr,nr=x.ZP.input.attrs((function(e){return{type:"password"}})).withConfig({displayName:"StyledPasswordInput"})(er||(er=b()(["\n &&&& {\n ","\n }\n"])),un),rr=x.ZP.div.withConfig({displayName:"StyledPasswordInputWrapper"})(tr||(tr=b()(["\n && {\n ","\n }\n"])),cn);const or=function(e){var t=u.Z.isInAdminEmbedded();return(0,Ce.jsx)(Ft,{hasValue:!!e.value,id:"".concat(e.name,"-input"),immutable:!0===e.readOnly,label:e.label,signal:e.value?void 0===e.valid?null:e.valid?we.Z.condition.SUCCESS:we.Z.condition.DANGER:null,labelPosition:t?"inside":"outside",children:(0,Ce.jsx)(rr,{immutable:!0===e.readOnly,children:(0,Ce.jsx)(nr,{id:"".concat(e.name,"-input"),value:e.value,onChange:function(t){return e.onChange(t.target.value)},disabled:!0===e.readOnly,immutable:!0===e.readOnly,onKeyDown:e.onKeyDown,autoFocus:e.autoFocus})})})};var ar;const ir=x.ZP.div(ar||(ar=b()(["\n "," {\n width: 100%;\n }\n"])),dn.Z);var cr,sr,ur,lr,fr;function pr(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 dr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pr(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var hr=x.ZP.div.withConfig({displayName:"StyledValidationRulesWrapper"})(cr||(cr=b()(["\n margin: 1rem;\n"])));const mr=function(e){var t=e.captchaKey,n=e.fetchValidationRules,r=e.forcedUpdate,o=e.initialized,a=e.intl,i=e.password,c=e.savePassword,s=e.showOldPasswordField,u=e.showTitle,l=e.updateNewPassword,f=e.updateNewPasswordRepeat,p=e.updateOldPassword,d=e.validationRules,h=(0,w.useRef)();(0,w.useEffect)((function(){n()}),[n]),(0,w.useEffect)((function(){d&&o()}),[d,o]);var m=function(){var e=F()(W().mark((function e(t){var n;return W().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!0!==g()){e.next=7;break}return e.next=4,h.current.executeAsync();case 4:n=e.sent,h.current.reset(),c(n);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){return!!i.newPasswordRepeat&&(i.newPassword===i.newPasswordRepeat&&!i.passwordUpdatePending)},v=function(e){return a.formatMessage({id:e})};if(!d)return sr||(sr=(0,Ce.jsx)(Xn.Z,{}));var y=i.passwordUpdatePending,b=!i.oldPassword&&s||i.passwordUpdatePending,O=!i.newPassword||i.passwordUpdatePending||i.newPasswordValidationErrors&&Object.keys(i.newPasswordValidationErrors).length>0;return(0,Ce.jsxs)(ir,{children:[u&&(ur||(ur=(0,Ce.jsx)($t,{title:"client.login.passwordUpdate.title"}))),r&&(lr||(lr=(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:"client.login.passwordUpdate.introduction"})}))),(0,Ce.jsxs)("form",{onSubmit:m,children:[!0===s&&(0,Ce.jsx)(or,dr({tabIndex:1,label:v("client.login.passwordUpdate.oldPassword"),name:"oldPassword",value:i.oldPassword,onChange:p,readOnly:y,autoFocus:!0},i.passwordUpdateFailed&&"INVALID_CREDENTIALS"===i.passwordUpdateErrorCode&&{valid:!1})),(0,Ce.jsx)(or,{tabIndex:2,label:v("client.login.passwordUpdate.newPassword"),name:"newPassword",value:i.newPassword,onChange:l,readOnly:b,autoFocus:!0!==s,valid:!O}),(0,Ce.jsx)(hr,{children:(0,Ce.jsx)(Jn,{rules:d,errors:i.newPasswordValidationErrors,rulesNeutral:!i.newPassword})}),(0,Ce.jsx)(or,{tabIndex:3,label:v("client.login.passwordUpdate.newPasswordRepeat"),name:"newPasswordRepeat",value:i.newPasswordRepeat,onChange:f,readOnly:O,valid:g()}),i.newPasswordRepeat&&i.newPassword!==i.newPasswordRepeat&&(fr||(fr=(0,Ce.jsx)(Ze.List,{children:(0,Ce.jsx)(Ze.Item,{condition:"danger",label:(0,Ce.jsx)(Kt.Z,{id:"client.login.passwordUpdate.noMatch"})})}))),!0===i.passwordUpdateFailed&&(0,Ce.jsx)(Qn,{errorCode:i.passwordUpdateErrorCode}),(0,Ce.jsx)(Gt,{pending:i.passwordUpdatePending,disabled:!1===g(),label:v("client.login.passwordUpdate.saveButton")}),t&&(0,Ce.jsx)(re,{ref:h,badge:"bottomright",size:"invisible",sitekey:t,hl:a.locale})]})]})};var gr={updateOldPassword:Yn,updateNewPassword:function(e){return{type:Nn,payload:{newPassword:e}}},updateNewPasswordRepeat:function(e){return{type:Fn,payload:{newPasswordRepeat:e}}},fetchValidationRules:function(){return{type:Gn}},savePassword:function(e){return{type:Un,payload:{captchaToken:e}}},initialized:function(){return{type:In}}};const vr=(0,p.connect)((function(e){return{password:e.passwordUpdate.password,validationRules:e.passwordUpdate.validationRules,showOldPasswordField:e.passwordUpdate.dialog.showOldPasswordField,forcedUpdate:e.passwordUpdate.dialog.forcedUpdate,captchaKey:e.login.captchaKey}}),gr)((0,f.ZP)(mr));var yr,br,wr,Or,xr,kr,Sr=i(30604),Pr="two-factor-connector/INITIALIZE",jr="two-factor-connector/SET_TWO_STEP_ACTIVE",_r="two-factor-connector/SET_SECRET",Er="two-factor-connector/SET_USER_NAME",Cr="two-factor-connector/REQUEST_SECRET",Tr="two-factor-connector/GO_TO_SECRET_VERIFICATION",Dr="two-factor-connector/GO_TO_START",Rr="two-factor-connector/GO_TO_SECRET",Mr="two-factor-connector/VERIFY_CODE",Ir="root/SUCCESS",Ar="root/SET_SETUP_SUCCESSFUL",Nr="root/GO_TO_RESULT",Zr=function(){return{type:Pr}},Lr=function(e){return{type:jr,payload:{twoFactorActive:e}}},Fr=function(e){return{type:_r,payload:{secret:e}}},Ur=function(e){return{type:Er,payload:{username:e}}},Hr=function(){return{type:Dr}},Br=function(e){return{type:Ar,payload:{setupSuccessful:e}}},Wr=i(83324),zr=x.ZP.div.withConfig({displayName:"StyledButtonWrapper"})(yr||(yr=b()(["\n display: flex;\n justify-content: flex-end;\n margin-top: ",";\n\n > "," {\n margin-right: 0;\n }\n"])),nt.Z.space(.5),dn.Z),Yr=x.ZP.div.withConfig({displayName:"StyledMessageWrapper"})(br||(br=b()(["\n display: grid;\n grid-template-columns: 9% 1fr;\n grid-column-gap: ",";\n"])),nt.Z.space(-.5)),Vr=x.ZP.span.withConfig({displayName:"StyledIconWrapper"})(wr||(wr=b()(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n\n > * {\n max-width: 100%;\n }\n"])),(function(e){return e.isSuccessful?Se.FS.color("signal.success"):Se.FS.color("signal.danger")}),nt.Z.font(10)),qr=x.ZP.div.withConfig({displayName:"StyledTextWrapper"})(Or||(Or=b()(["\n display: flex;\n align-items: center;\n"])));const Gr=function(e){var t=e.success,n=e.goToStart,r=e.setupSuccessful,o=e.intl;(0,Wr.z)(t);var a=function(e){return o.formatMessage({id:e})};return r?(0,Ce.jsxs)(Ce.Fragment,{children:[xr||(xr=(0,Ce.jsxs)(Yr,{children:[(0,Ce.jsx)(Vr,{isSuccessful:!0,children:(0,Ce.jsx)(Me.Z,{icon:"check"})}),(0,Ce.jsx)(qr,{children:(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:"client.two-factor-connector.successfulText"})})})]})),(0,Ce.jsx)(zr,{children:(0,Ce.jsx)(Wt.Z,{label:a("client.two-factor-connector.okButton"),ink:"primary",look:"raised",onClick:t})})]}):(0,Ce.jsxs)(Ce.Fragment,{children:[kr||(kr=(0,Ce.jsxs)(Yr,{children:[(0,Ce.jsx)(Vr,{isSuccessful:!1,children:(0,Ce.jsx)(Me.Z,{icon:"times"})}),(0,Ce.jsx)(qr,{children:(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:"client.two-factor-connector.errorText"})})})]})),(0,Ce.jsx)(zr,{children:(0,Ce.jsx)(Wt.Z,{label:a("client.two-factor-connector.okButton"),ink:"primary",look:"raised",onClick:n})})]})};var Kr={success:function(){return{type:Ir}},goToStart:Hr};const Xr=(0,p.connect)((function(e){return{setupSuccessful:e.twoFactorConnector.setupSuccessful}}),Kr)((0,f.ZP)(Gr));var $r,Qr=Object.defineProperty,Jr=Object.getOwnPropertySymbols,eo=Object.prototype.hasOwnProperty,to=Object.prototype.propertyIsEnumerable,no=(e,t,n)=>t in e?Qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ro=(e,t)=>{for(var n in t||(t={}))eo.call(t,n)&&no(e,n,t[n]);if(Jr)for(var n of Jr(t))to.call(t,n)&&no(e,n,t[n]);return e},oo=(e,t)=>{var n={};for(var r in e)eo.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Jr)for(var r of Jr(e))t.indexOf(r)<0&&to.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let i=[];for(let e=0;e<this.size;e++)i.push(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const c=this.addEccAndInterleave(r);if(this.drawCodewords(c),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}a(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,r){const o=e.QrSegment.makeSegments(n);return t.encodeSegments(o,r)}static encodeBinary(n,r){const o=e.QrSegment.makeBytes(n);return t.encodeSegments([o],r)}static encodeSegments(e,n,o=1,i=40,s=-1,u=!0){if(!(t.MIN_VERSION<=o&&o<=i&&i<=t.MAX_VERSION)||s<-1||s>7)throw new RangeError("Invalid value");let l,f;for(l=o;;l++){const r=8*t.getNumDataCodewords(l,n),o=c.getTotalBits(e,l);if(o<=r){f=o;break}if(l>=i)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])u&&f<=8*t.getNumDataCodewords(l,e)&&(n=e);let p=[];for(const t of e){r(t.mode.modeBits,4,p),r(t.numChars,t.mode.numCharCountBits(l),p);for(const e of t.getData())p.push(e)}a(p.length==f);const d=8*t.getNumDataCodewords(l,n);a(p.length<=d),r(0,Math.min(4,d-p.length),p),r(0,(8-p.length%8)%8,p),a(p.length%8==0);for(let e=236;p.length<d;e^=253)r(e,8,p);let h=[];for(;8*h.length<p.length;)h.push(0);return p.forEach(((e,t)=>h[t>>>3]|=e<<7-(7&t))),new t(l,n,h,s)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const r=21522^(t<<10|n);a(r>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(r,e));this.setFunctionModule(8,7,o(r,6)),this.setFunctionModule(8,8,o(r,7)),this.setFunctionModule(7,8,o(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;a(t>>>18==0);for(let e=0;e<18;e++){const n=o(t,e),r=this.size-11+e%3,a=Math.floor(e/3);this.setFunctionModule(r,a,n),this.setFunctionModule(a,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const o=Math.max(Math.abs(r),Math.abs(n)),a=e+r,i=t+n;0<=a&&a<this.size&&0<=i&&i<this.size&&this.setFunctionModule(a,i,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],i=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],c=Math.floor(t.getNumRawDataModules(n)/8),s=o-c%o,u=Math.floor(c/o);let l=[];const f=t.reedSolomonComputeDivisor(i);for(let n=0,r=0;n<o;n++){let o=e.slice(r,r+u-i+(n<s?0:1));r+=o.length;const a=t.reedSolomonComputeRemainder(o,f);n<s&&o.push(0),l.push(o.concat(a))}let p=[];for(let e=0;e<l[0].length;e++)l.forEach(((t,n)=>{(e!=u-i||n>=s)&&p.push(t[e])}));return a(p.length==c),p}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let a=0;a<2;a++){const i=t-a,c=0==(t+1&2)?this.size-1-r:r;!this.isFunction[c][i]&&n<8*e.length&&(this.modules[c][i]=o(e[n>>>3],7-(7&n)),n++)}}a(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let r=!1,o=0,a=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[n][i]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[n][i],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,a)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,o=0,a=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[i][n]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[i][n],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,a)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){const o=this.modules[n][r];o==this.modules[n][r+1]&&o==this.modules[n+1][r]&&o==this.modules[n+1][r+1]&&(e+=t.PENALTY_N2)}let n=0;for(const e of this.modules)n=e.reduce(((e,t)=>e+(t?1:0)),n);const r=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*r)/r)-1;return a(0<=o&&o<=9),e+=o*t.PENALTY_N4,a(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return a(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let o=0;o<e;o++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map((e=>0));for(const o of e){const e=o^r.shift();r.push(0),n.forEach(((n,o)=>r[o]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return a(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];a(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function o(e,t){return 0!=(e>>>t&1)}function a(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const i=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new i(i.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!i.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);r(parseInt(e.substr(n,o),10),3*o+1,t),n+=o}return new i(i.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!i.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,n=[];for(t=0;t+2<=e.length;t+=2){let o=45*i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),r(o,11,n)}return t<e.length&&r(i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new i(i.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:i.isNumeric(e)?[i.makeNumeric(e)]:i.isAlphanumeric(e)?[i.makeAlphanumeric(e)]:[i.makeBytes(i.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");r(6,3,t),r(e,21,t)}return new i(i.Mode.ECI,0,t)}static isNumeric(e){return i.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return i.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substr(n+1,2),16)),n+=2);return t}};let c=i;c.NUMERIC_REGEX=/^[0-9]*$/,c.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,c.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=c})($r||($r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})($r||($r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})($r||($r={}));var ao=$r,io={L:ao.QrCode.Ecc.LOW,M:ao.QrCode.Ecc.MEDIUM,Q:ao.QrCode.Ecc.QUARTILE,H:ao.QrCode.Ecc.HIGH},co=128,so="L",uo="#FFFFFF",lo="#000000",fo=!1;
|
|
52
|
+
*/var r=n(1024),o=n(61688);var a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,c=r.useRef,s=r.useEffect,u=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=c(null);if(null===f.current){var p={hasValue:!1,value:null};f.current=p}else p=f.current;f=u((function(){function e(e){if(!s){if(s=!0,i=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return c=t}return c=e}if(t=c,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,c=n)}var i,c,s=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var d=i(e,f[0],f[1]);return s((function(){p.hasValue=!0,p.value=d}),[d]),l(d),d}},61688:(e,t,n)=>{"use strict";e.exports=n(53250)},52798:(e,t,n)=>{"use strict";e.exports=n(50139)},28721:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o;const a=new Uint8Array(16);function i(){if(!o&&(o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(a)}const c=[];for(let e=0;e<256;++e)c.push((e+256).toString(16).slice(1));function s(e,t=0){return(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase()}const u=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const o=(e=e||{}).random||(e.rng||i)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return s(o)}},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}).apply(this,arguments)}n.d(t,{Z:()=>r})},86:(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})(e)}n.d(t,{Z:()=>r})},31599:(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})},28549:(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})},2717:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():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}).apply(this,arguments)}n.d(t,{Z:()=>r})},33417:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(28549);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},32924:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>r})},1972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(78001);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},62360:(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})(e)}n.d(t,{Z:()=>r})},78001:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(31599);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=o,i.amdD=function(){throw new Error("define cannot be used indirect")},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>"chunk-"+({85:"code-editor",198:"vendor-fontawesome",614:"vendor-icons",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"5f25929fbf6f0a034556",198:"ab9f2eea50d01a3a62a9",560:"e3d5772311dd2d78dc20",608:"3186988649a5c8a6b487",614:"acb71c89c15f40dc6b63",631:"8d55ab629611cf584826",877:"a7f934130ec5ac7a8cff"}[e]+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-:",i.l=(e,t,o,a)=>{if(n[e])n[e].push(t);else{var c,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+o){c=f;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var 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)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.j=535,i.p="/",(()=>{var e={535:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var a=i.p+i.u(t),c=new Error;i.l(a,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,c,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(s)s(i)}for(t&&t(n);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_=self.webpackChunktocco_||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.nc=void 0;var c={};return(()=>{"use strict";i.r(c),i.d(c,{app:()=>Gb});var e=i(18882),t=i(59713),n=i.n(t),r=i(45697),o=i.n(r),a=i(19743),s=i(19241),u=i(28002),l=i(65378),f=i(74806),p=i(50558),d="login/INITIALIZE",h="login/LOGIN",m="login/REQUEST_PASSWORD",g="login/CHECK_USERNAME",v=function(e,t,n,r){return{type:h,payload:{username:e,password:t,captchaToken:n,userCode:r}}},y=i(28655),b=i.n(y),w=i(1024),O=i.n(w),x=i(38205),k="USERNAME_FORM",S="LOGIN_FORM",P="PASSWORD_REQUEST",j="TWOSTEPLOGIN",_="PASSWORD_UPDATE",E="TWOSTEPLOGIN_ACTIVATION",C="login/CHANGE_PAGE",T="login/SET_ENTRY_PAGE",D="login/SET_USERNAME",R="login/SET_PASSWORD",M="login/SET_CAPTCHA_KEY",I=function(e){return{type:T,payload:{entryPage:e}}},A=function(e){return{type:C,payload:{currentPage:e}}},N=function(e){return{type:D,payload:{username:e}}},Z=function(e){return{type:R,payload:{password:e}}},L=i(48926),F=i.n(L),U=i(63038),H=i.n(U),B=i(87757),W=i.n(B),z=i(99860),Y=i.n(z);function V(){return(V=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}).apply(this,arguments)}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var G=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(q(t)),t.handleErrored=t.handleErrored.bind(q(t)),t.handleChange=t.handleChange.bind(q(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(q(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},o.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},o.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},o.executeAsync=function(){var e=this;return new Promise((function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()}))},o.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},o.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},o.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},o.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},o.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},o.componentDidMount=function(){this.explicitRender()},o.componentDidUpdate=function(){this.explicitRender()},o.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},o.delayOfCaptchaIframeRemoving=function(){var e=document.createElement("div");for(document.body.appendChild(e),e.style.display="none";this.captcha.firstChild;)e.appendChild(this.captcha.firstChild);setTimeout((function(){document.body.removeChild(e)}),5e3)},o.handleRecaptchaRef=function(e){this.captcha=e},o.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return O().createElement("div",V({},t,{ref:this.handleRecaptchaRef}))},r}(O().Component);G.displayName="ReCAPTCHA",G.propTypes={sitekey:Y().string.isRequired,onChange:Y().func,grecaptcha:Y().object,theme:Y().oneOf(["dark","light"]),type:Y().oneOf(["image","audio"]),tabindex:Y().number,onExpired:Y().func,onErrored:Y().func,size:Y().oneOf(["compact","normal","invisible"]),stoken:Y().string,hl:Y().string,badge:Y().oneOf(["bottomright","bottomleft","inline"])},G.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var K=i(9657),X=i.n(K),$=i(8679),Q=i.n($);function J(){return(J=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}).apply(this,arguments)}var ee={},te=0;var ne="onloadcallback";const re=function(e,t){return t=t||{},function(n){var r=n.displayName||n.name||"Component",o=function(r){var o,a;function i(e,t){var n;return(n=r.call(this,e,t)||this).state={},n.__scriptURL="",n}a=r,(o=i).prototype=Object.create(a.prototype),o.prototype.constructor=o,o.__proto__=a;var c=i.prototype;return c.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+te++),this.__scriptLoaderID},c.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},c.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},c.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=ee[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var n in e.observers)e.observers[n](e);delete window[t.callbackName]},c.componentDidMount=function(){var e=this,n=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),o=t,a=o.globalName,i=o.callbackName,c=o.scriptId;if(a&&void 0!==window[a]&&(ee[n]={loaded:!0,observers:{}}),ee[n]){var s=ee[n];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var u={};u[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},ee[n]={loaded:!1,observers:u};var l=document.createElement("script");for(var f in l.src=n,l.async=!0,t.attributes)l.setAttribute(f,t.attributes[f]);c&&(l.id=c);var p=function(e){if(ee[n]){var t=ee[n].observers;for(var r in t)e(t[r])&&delete t[r]}};i&&"undefined"!=typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),l.onload=function(){var e=ee[n];e&&(e.loaded=!0,p((function(t){return!i&&(t(e),!0)})))},l.onerror=function(){var e=ee[n];e&&(e.errored=!0,p((function(t){return t(e),!0})))},document.body.appendChild(l)},c.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var n=document.getElementsByTagName("script"),r=0;r<n.length;r+=1)n[r].src.indexOf(e)>-1&&n[r].parentNode&&n[r].parentNode.removeChild(n[r]);var o=ee[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete ee[e])},c.render=function(){var e=t.globalName,r=this.props,o=(r.asyncScriptOnLoad,r.forwardedRef),a=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(a[e]=void 0!==window[e]?window[e]:void 0),a.ref=o,(0,w.createElement)(n,a)},i}(w.Component),a=(0,w.forwardRef)((function(e,t){return(0,w.createElement)(o,J({},e,{forwardedRef:t}))}));return a.displayName="AsyncScriptLoader("+r+")",a.propTypes={asyncScriptOnLoad:X().func},Q()(a,n)}}((function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+ne+"&render=explicit"}),{callbackName:ne,globalName:"grecaptcha"})(G);var oe=i(6479),ae=i.n(oe),ie=i(41505),ce=i.n(ie),se=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ue=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},le=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},fe={outline:"none"},pe=function(e){function t(){var n,r;se(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=le(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)},le(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",ue({ref:this.ref,style:fe},n),e)},t}(O().Component);pe.propTypes={children:ce().oneOfType([ce().node,ce().func]).isRequired,onBlur:ce().func,onFocus:ce().func},pe.defaultProps={onBlur:function(){},onFocus:function(){}};const de=pe;var he,me,ge,ve,ye=i(70696),be=i(10535),we=i(23427),Oe=i(319),xe=i.n(Oe),ke=i(37188),Se=i(24875),Pe=(he={},n()(he,we.Z.condition.BASE,"inherit"),n()(he,we.Z.condition.DANGER,Se.FS.color("signal.danger")),n()(he,we.Z.condition.SUCCESS,Se.FS.color("signal.success")),n()(he,we.Z.condition.WARNING,Se.FS.color("signal.warning")),n()(he,we.Z.condition.INFO,Se.FS.color("signal.info")),he),je=(0,x.ZP)(ke.hc).withConfig({displayName:"StyledSignalList"})(me||(me=b()(["\n && {\n list-style-type: none;\n }\n"]))),_e=x.ZP.span.withConfig({displayName:"StyledSignalListIcon"})(ge||(ge=b()(["\n position: absolute;\n left: -1.6rem;\n text-align: left;\n"]))),Ee=(0,x.ZP)(ke.EF).withConfig({displayName:"StyledSignalListItem"})(ve||(ve=b()(["\n && {\n color: ",";\n position: relative;\n padding: 0;\n }\n"])),(function(e){return function(e){return Pe[e.condition]||"inherit"}(e)})),Ce=i(85893);const Te=function(e){return(0,Ce.jsx)(je,{as:"ul",children:O().Children.map(e.children,(function(e){return O().cloneElement(e)}))})};var De,Re,Me=i(88162),Ie=(De={},n()(De,we.Z.condition.BASE,!1),n()(De,we.Z.condition.DANGER,"times"),n()(De,we.Z.condition.SUCCESS,"check"),n()(De,we.Z.condition.WARNING,"exclamation-triangle"),n()(De,we.Z.condition.INFO,"info"),De),Ae=function(e){var t=Ie[e.condition];return t?(0,Ce.jsx)(Me.Z,{icon:t,position:we.Z.position.SOLE}):Re||(Re=(0,Ce.jsx)("i",{children:"•"}))},Ne=function(e){return(0,Ce.jsxs)(Ee,{condition:e.condition,children:[(0,Ce.jsx)(_e,{children:Ae(e)}),e.label,O().Children.map(e.children,(function(e){return O().cloneElement(e)}))]})};Ne.defaultProps={condition:we.Z.condition.BASE};const Ze={List:Te,Item:Ne};const Le=function(e){if(!e.error)return null;var t=[];return Object.keys(e.error).forEach((function(n){t.push.apply(t,xe()(e.error[n]))})),(0,Ce.jsx)(Ze.List,{children:t.map((function(e,t){return(0,Ce.jsx)(Ze.Item,{condition:"danger",label:e},t)}))})};var Fe,Ue,He,Be,We,ze,Ye,Ve,qe,Ge,Ke,Xe,$e,Qe,Je,et=i(79686),tt=i(30759),nt=i(7281),rt=i(27361),ot=i.n(rt),at={base:function(e){var t=e.theme;return ot()(t,"colors.text")},shade1:function(e){var t=e.theme;return ot()(t,"colors.textLight")},shade2:function(e){var t=e.theme;return ot()(t,"colors.textLighter")},signal:function(e){var t=e.theme,n=e.signal;return ot()(t,"colors.signal.".concat(n))},hasValue:function(e){var t=e.theme;return ot()(t,"colors.signal.info")}},it={base:function(e){var t=e.theme;return ot()(t,"colors.border")},signal:function(e){var t=e.theme,n=e.signal;return ot()(t,"colors.signal.".concat(n))},isDirty:function(e){var t=e.theme;return ot()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}},ct=i(76538),st="1.1px",ut=function(e){var t=e.isDisplay,n=e.immutable;return"cursor: ".concat(!t&&n?"not-allowed":"auto",";")},lt=x.ZP.label.withConfig({displayName:"StyledStatedValueLabel"})(Ue||(Ue=b()(["\n &&& {\n display: flex;\n width: 40%;\n flex-grow: 1;\n flex-basis: 125px;\n ","\n background-color: ",";\n pointer-events: auto;\n ","\n word-break: break-word;\n white-space: pre-wrap;\n ","\n ","\n ","\n }\n"])),(0,tt.Z)({lineHeight:Se.FS.lineHeight("dense")}),Se.FS.color("paper"),(function(e){return ut(e)}),(function(e){return"outside"===e.labelPosition&&(0,x.iv)(He||(He=b()(["\n margin-bottom: ",";\n display: block;\n width: auto;\n "])),nt.Z.space(-1.5))}),(function(e){return"inside"===e.labelPosition&&(0,x.iv)(Be||(Be=b()(["\n flex-basis: unset;\n position: absolute;\n top: 0;\n z-index: 1;\n display: inline-block;\n padding: 0 "," 0 ","; // if immutable remove left padding\n width: fit-content;\n left: ",";\n "])),nt.Z.space(-2),(function(e){return e.immutable&&"0"}),nt.Z.space(-1.8))}),(function(e){return e.styles})),ft=x.ZP.div.withConfig({displayName:"StyledInputArea"})(We||(We=b()(["\n width: 60%;\n flex-grow: 1;\n ","\n"])),(function(e){return"outside"===e.labelPosition&&(0,x.iv)(ze||(ze=b()(["\n width: auto;\n "])))})),pt=x.ZP.div.withConfig({displayName:"StyledStatedValueBox"})(Ye||(Ye=b()(["\n &&& {\n position: relative;\n height: fit-content; // prevent height getting bigger due to tall labels\n border: "," solid ",";\n border-radius: ",";\n padding: "," ",";\n ","\n ","\n\n > "," {\n padding-top: ",";\n position: relative;\n top: 5px;\n\n p:first-of-type {\n margin-top: 0;\n }\n }\n ","\n ","\n }\n"])),st,(function(e){return it[function(e){var t=e.immutable,n=e.isDisplay,r=e.signal;return e.isDirty?"isDirty":n||t?"transparent":r?"signal":"base"}(e)](e)}),Se.FS.radii("form"),nt.Z.space(-2.5),nt.Z.space(-1.5),(function(e){return!e.immutable&&function(e){var t=ot()(e.theme,"colors.signal.info",we.Z.fallbackColors.INFO);return(0,x.iv)(Fe||(Fe=b()(["\n transition: border-color ease-in-out 100ms;\n will-change: border-color;\n\n &:focus,\n &:focus-within {\n border-color: ",";\n box-shadow: 0 0 6px ",";\n outline: 0;\n\n /**\n * Disable box-shadow for Safari\n * in order to be able to tab through the form fluently\n */\n @media not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n box-shadow: none;\n }\n }\n }\n "])),t,(0,ct.DZ)(.4,t))}(e)}),(function(e){return ut(e)}),et.j,(function(e){return e.isDisplay&&nt.Z.space(-1)}),(function(e){return"inside"===e.labelPosition&&(0,x.iv)(Ve||(Ve=b()(["\n padding: "," "," "," ",";\n "])),nt.Z.space(-1),nt.Z.space(-1.7),nt.Z.space(-2),nt.Z.space(-1))}),(function(e){return e.styles})),dt=x.ZP.p.withConfig({displayName:"StyledStatedValueDescription"})(qe||(qe=b()(["\n &&& {\n ","\n }\n"])),(0,tt.Z)({fontSize:nt.Z.font(-1)})),ht=x.ZP.div.withConfig({displayName:"StyledStatedValueError"})(Ge||(Ge=b()([""]))),mt=x.ZP.div.withConfig({displayName:"StyledStatedValueOuterWrapper"})(Ke||(Ke=b()(["\n &:not(:last-child) {\n margin-bottom: ",";\n }\n ","\n"])),nt.Z.space(-.7),(function(e){return"inside"===e.labelPosition&&(0,x.iv)(Xe||(Xe=b()(["\n padding-top: ",";\n margin-bottom: 0.65rem;\n position: relative;\n "])),nt.Z.space(-1.5))})),gt=x.ZP.div.withConfig({displayName:"StyledStatedValueInnerWrapper"})($e||($e=b()(["\n &&& {\n display: flex;\n flex-wrap: wrap;\n gap: ",";\n align-items: center;\n\n ",",\n ",",\n "," {\n margin-bottom: ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n "," {\n margin-left: calc("," + ",");\n }\n ","\n ","\n }\n"])),nt.Z.space(-1.5),pt,dt,ht,nt.Z.space(-2),dt,nt.Z.space(-1),st,(function(e){return"outside"===e.labelPosition&&(0,x.iv)(Qe||(Qe=b()(["\n display: block;\n "])))}),(function(e){return"inside"===e.labelPosition&&(0,x.iv)(Je||(Je=b()(["\n padding-top: 0;\n "])))}));function vt(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 yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const bt=function(e){var t,n,r,o=e.children,a=e.description,i=e.dirty,c=e.isDisplay,s=e.error,u=e.hasValue,l=e.id,f=e.label,p=e.mandatory,d=e.mandatoryTitle,h=e.immutable,m=e.touched,g=e.signal,v=e.labelPosition,y=e.styles,b=!h&&m&&s&&Object.keys(s).length>0,w=p&&d?", ".concat(d):"",O="".concat(ye.Z.adjustedHTMLString(f)).concat(w),x=g||function(e,t,n,r){return t?we.Z.condition.DANGER:e?we.Z.condition.INFO:n&&!r?we.Z.condition.WARNING:void 0}(i,b,p,u),k={__html:"".concat(be.Z.sanitizeHtml(f)).concat(p?" *":"")},S=!c&&!h&&{htmlFor:l};return(0,Ce.jsx)(de,{children:function(e){var l=e.getRef;return(0,Ce.jsx)(mt,{labelPosition:v,children:(0,Ce.jsxs)(gt,{labelPosition:v,ref:l,label:f,children:[f&&(0,Ce.jsx)(lt,yt(yt({},S),{},{hasValue:u,dirty:i,title:O,immutable:h,isDisplay:c,signal:x,labelPosition:v,styles:null==y?void 0:y.labelStyles,children:t||(t=(0,Ce.jsx)("span",{dangerouslySetInnerHTML:k}))})),(0,Ce.jsxs)(ft,{labelPosition:v,children:[(0,Ce.jsx)(pt,{hasValue:u,immutable:h,isDisplay:c,signal:x,labelPosition:v,styles:null==y?void 0:y.valueStyles,children:o}),b&&(n||(n=(0,Ce.jsx)(ht,{children:(0,Ce.jsx)(Le,{error:s})}))),a&&(r||(r=(0,Ce.jsx)(dt,{children:a})))]})]})})}})};var wt,Ot,xt,kt=function(e){return(0,x.iv)(wt||(wt=b()(["\n color: ",";\n font-weight: ",";\n"])),at[function(e){var t=e.isDisplay,n=e.immutable,r=e.signal,o=e.hasValue;return r?"signal":o?"hasValue":t?"shade1":n?"base":"shade1"}(e)](e),(function(e){return e.dirty?Se.FS.fontWeight("bold"):Se.FS.fontWeight("regular")}))},St=function(){return(0,x.iv)(Ot||(Ot=b()(["\n padding-top: ",";\n padding-left: ",";\n"])),(function(e){var t=e.isDisplay,n=e.immutable;if(t&&n)return(0,x.iv)(xt||(xt=b()(["\n ","\n "])),nt.Z.space(-1))}),(function(e){return e.immutable&&0}))},Pt=["labelPosition"];function jt(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}const _t=function(e){var t=e.labelPosition,r=ae()(e,Pt);return(0,Ce.jsx)(bt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({styles:{labelStyles:kt,valueStyles:St},labelPosition:t||"outside-responsive"},r))};var Et,Ct,Tt,Dt=function(e){return e.signal?"signal":"shade1"},Rt=function(e){return(0,x.iv)(Et||(Et=b()(["\n color: ",";\n font-weight: ",";\n"])),at[Dt(e)](e),Se.FS.fontWeight("bold"))},Mt=function(){return(0,x.iv)(Ct||(Ct=b()(["\n padding-top: ",";\n padding-left: ",";\n"])),(function(e){var t=e.isDisplay,n=e.immutable;return n?0:t&&n?(0,x.iv)(Tt||(Tt=b()(["\n ","\n "])),nt.Z.space(-1)):void 0}),(function(e){return e.immutable&&0}))},It=["labelPosition"];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}const Nt=function(e){var t=e.labelPosition,r=ae()(e,It);return(0,Ce.jsx)(bt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?At(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):At(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({styles:{labelStyles:Rt,valueStyles:Mt},labelPosition:t||"outside"},r))};var Zt,Lt=(Zt={},n()(Zt,u.Z.EmbedType.admin,_t),n()(Zt,u.Z.EmbedType.widget,Nt),Zt);const Ft=u.Z.embedStrategyFactory({mapping:Lt});var Ut=i(35997);const Ht=(0,f.ZP)((function(e){var t,n=e.message,r=e.intl;return n&&n.text?(0,Ce.jsx)(Ze.List,{children:(0,Ce.jsx)(Ze.Item,{condition:n.negative?"danger":"base",label:(t=n.text,r.formatMessage({id:t}))})}):null}));var Bt,Wt=i(65035),zt=i(88601),Yt=(0,x.ZP)(Wt.Z).withConfig({displayName:"StyledLoginButton"})(Bt||(Bt=b()(["\n &&& {\n font-size: ",";\n border-radius: ",";\n display: flex;\n justify-content: center;\n padding: 1.25rem 0;\n width: 100%;\n margin-top: 20px;\n margin-bottom: 10px;\n\n &:not(:last-child) {\n margin-right: 0;\n }\n }\n"])),nt.Z.font(1.3),zt.Z.radii("buttonLarge")),Vt=["disabled","pending","label"];function qt(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}const Gt=function(e){var t=e.disabled,r=e.pending,o=e.label,a=ae()(e,Vt);return(0,Ce.jsx)(Yt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({disabled:t,pending:r,label:o,ink:"primary",look:"raised",type:"submit","data-cy":"btn-submit"},a))};var Kt=i(44012),Xt=i(34206);const $t=function(e){var t=e.title,n=e.subtitle;return(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)(Xt.ZP.H5,{children:(0,Ce.jsx)(Kt.Z,{id:t})}),n&&(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:n})})]})};const Qt=function(e){var t=(0,w.useState)(!1),n=H()(t,2),r=n[0],o=n[1];return[r,{onAnimationStart:function(e){"onAutoFillStart"===e.animationName&&o(!0)},onChange:function(t){e(t.target.value),o(!1)}}]};var Jt,en,tn,nn,rn,on,an,cn=(0,x.iv)(Jt||(Jt=b()(["\n align-items: center;\n cursor: ",";\n display: flex;\n"])),(function(e){return e.immutable?"not-allowed":"default"})),sn=x.ZP.label.withConfig({displayName:"StyledEditableWrapper"})(en||(en=b()(["\n &&& {\n margin: 0; /* reset Bootstrap and Ext JS */\n padding: 0; /* reset Ext JS */\n ","\n }\n"])),cn),un=(0,x.iv)(tn||(tn=b()(["\n background-color: transparent;\n border: 0;\n cursor: ",";\n flex-grow: 1;\n min-height: 2.6rem;\n min-width: 0;\n outline: 0;\n padding: 0;\n ","\n &::-ms-clear {\n display: none;\n }\n\n &::-webkit-clear-button {\n display: none;\n }\n\n &::-webkit-inner-spin-button {\n display: none;\n }\n\n &[type='number'] {\n appearance: textfield;\n }\n\n &[type='search'] {\n appearance: none;\n }\n\n &:disabled {\n -webkit-text-fill-color: ","; // Safari fix\n opacity: 1; // iOS fix\n }\n\n /* remove indicators */\n &[type='date'],\n &[type='datetime-local'],\n &[type='month'],\n &[type='time'],\n &[type='week'] {\n appearance: none;\n display: flex;\n\n /* reset margin on smaller screens */\n ::-webkit-date-and-time-value {\n ","\n }\n }\n\n // allow pointer event only on touch devices\n @media (pointer: coarse) {\n pointer-events: ",";\n }\n"])),(function(e){return e.immutable?"not-allowed":"default"}),(function(){return(0,tt.Z)({color:Se.FS.color("text")})}),Se.FS.color("text"),(function(e){return e.immutable&&"margin: unset;"}),(function(e){return e.immutable?"none":"auto"})),ln=(0,x.iv)(nn||(nn=b()(["\n display: flex;\n align-items: center;\n"]))),fn=x.ZP.div.withConfig({displayName:"StyledEditableControl"})(rn||(rn=b()(["\n &&& {\n ","\n }\n"])),ln),pn=x.ZP.span.withConfig({displayName:"StyledEditableValue"})(on||(on=b()(["\n width: 100%;\n\n && {\n //url\n [type='url'] + .input-group-addon > a {\n color: inherit; // reset bootstrap default\n }\n\n //url\n [type='tel'] + .input-group-addon > a {\n color: inherit; // reset bootstrap default\n }\n\n //date\n .date-edit {\n .input-group-addon {\n cursor: pointer;\n }\n\n input {\n z-index: 0;\n }\n\n &.disabled {\n input {\n cursor: not-allowed;\n }\n }\n\n .right-addon {\n position: relative;\n }\n\n .right-addon input {\n padding-right: 30px;\n }\n\n .reset {\n position: absolute;\n padding-right: 10px;\n padding-top: 5px;\n right: 0;\n color: #999;\n font-size: 18px;\n font-style: normal;\n cursor: pointer;\n }\n\n .reset:hover {\n color: ",";\n }\n }\n }\n"])),Se.FS.color("signal.danger")),dn=i(58129);const hn=x.ZP.div.withConfig({displayName:"StyledButtonGroup"})(an||(an=b()(["\n display: flex;\n\n &&& > "," {\n :not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n\n :not(:last-child) {\n margin-right: 0;\n border-right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n }\n"])),dn.Z);var mn,gn,vn,yn,bn,wn=x.ZP.input.withConfig({displayName:"StyledLoginFormInput"})(mn||(mn=b()(["\n /* stylelint-disable-next-line block-no-empty */\n @keyframes onAutoFillStart {\n from {\n }\n }\n\n &&&& {\n ","\n transition: background-color 50000s, color 50000s, filter 50000s;\n\n &:-webkit-autofill {\n animation-duration: 50000s;\n animation-name: onAutoFillStart;\n }\n padding-top: ",";\n padding-bottom: ",";\n }\n"])),un,nt.Z.space(-.9),nt.Z.space(-.9)),On=x.ZP.div.withConfig({displayName:"StyledLoginFormInputWrapper"})(gn||(gn=b()(["\n &&& {\n ","\n }\n"])),cn),xn=(0,x.ZP)(Wt.Z).withConfig({displayName:"StyledTransparentButton"})(vn||(vn=b()(["\n &&& {\n margin-right: 0;\n background-color: transparent;\n padding: "," 0;\n width: 100%;\n justify-content: center;\n\n &:hover {\n background-color: transparent;\n }\n }\n"])),nt.Z.space(-.1)),kn=x.ZP.div.withConfig({displayName:"StyledLoginFormWrapper"})(yn||(yn=b()(["\n "," {\n margin-top: ",";\n width: auto;\n flex-direction: column;\n\n "," {\n flex-grow: 1;\n }\n }\n"])),hn,nt.Z.space(.47),dn.Z);function Sn(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 Pn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sn(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const jn=function(e){var t=e.captchaKey,n=e.changePage,r=e.intl,o=e.login,a=e.loginPending,i=e.message,c=e.password,s=e.recaptchaActivated,u=e.setPassword,l=e.setUsername,f=e.showTitle,p=e.username,d=e.entryPage,h=Qt(l),m=H()(h,2),g=m[0],v=m[1],y=Qt(u),b=H()(y,2),O=b[0],x=b[1],S=(0,w.useRef)(),j=d===k,_=function(e){return r.formatMessage({id:e})},E=Ut.Z.usePrevious(s),C=(0,w.useCallback)(function(){var e=F()(W().mark((function e(t){var n;return W().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.preventDefault(),n=null,!s){e.next=7;break}return e.next=5,S.current.executeAsync();case 5:n=e.sent,S.current.reset();case 7:o(p,c,n);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[o,p,c,s]);(0,w.useEffect)((function(){s&&!E&&C()}),[s,E,C]);var T=!!p,D=!T;return(0,Ce.jsxs)(kn,{children:[f&&(bn||(bn=(0,Ce.jsx)($t,{title:"client.login.form.title",subtitle:"client.login.form.introduction"}))),(0,Ce.jsxs)("form",{onSubmit:C,children:[(0,Ce.jsx)(Ft,{hasValue:!!p||g,id:"login-username",label:_("client.login.form.userPlaceholder"),immutable:j,labelPosition:"outside",children:(0,Ce.jsx)(On,{children:(0,Ce.jsx)(wn,Pn({autoFocus:D,name:"user","data-cy":"login-form_user-input",required:!0,type:"text",value:p,disabled:j,onFocus:function(e){return e.target.select()}},v))})}),(0,Ce.jsx)(Ft,{hasValue:!!c||O,id:"login-password",label:_("client.login.form.passwordPlaceholder"),labelPosition:"outside",children:(0,Ce.jsx)(On,{children:(0,Ce.jsx)(wn,Pn({autoFocus:T,name:"password","data-cy":"login-form_password-input",required:!0,type:"password",value:c,onFocus:function(e){return e.target.select()}},x))})}),(0,Ce.jsx)(Ht,{message:i}),t&&s&&(0,Ce.jsx)(re,{ref:S,badge:"bottomright",size:"invisible",sitekey:t,hl:r.locale}),(0,Ce.jsx)(Gt,{disabled:a||""===p&&!g||""===c&&!O,label:_("client.login.form.button"),pending:a,"data-cy":"login-form_login-button"}),(0,Ce.jsx)(xn,{label:_("client.login.form.forgotLink"),onClick:function(){return n(P)},"data-cy":"login-form_request-button"}),j&&(0,Ce.jsx)(xn,{label:_("client.login.form.backLink"),onClick:function(){return n(k)}})]})]})};var _n={changePage:A,setUsername:N,setPassword:Z,login:v};const En=(0,p.connect)((function(e){return{username:e.login.username,password:e.login.password,message:e.loginForm.message,loginPending:e.loginForm.loginPending,captchaKey:e.login.captchaKey,recaptchaActivated:e.loginForm.recaptchaActivated,entryPage:e.login.entryPage}}),_n)((0,f.ZP)(jn));var Cn,Tn;const Dn=function(e){var t=e.entryPage,n=e.username,r=e.requestPassword,o=e.intl,a=e.showTitle,i=e.pending,c=e.changePage,s=(0,w.useState)(n||""),u=H()(s,2),l=u[0],f=u[1],p=t===k,d=function(e){return o.formatMessage({id:e})};return(0,Ce.jsxs)(kn,{children:[a&&(Cn||(Cn=(0,Ce.jsx)($t,{title:"client.login.passwordRequest.title"}))),!p&&(Tn||(Tn=(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:"client.login.passwordRequest.introduction"})}))),(0,Ce.jsxs)("form",{onSubmit:function(e){e.preventDefault(),r(l)},children:[(0,Ce.jsx)(Ft,{hasValue:Boolean(l),id:"login-username",label:d("client.login.form.userPlaceholder"),immutable:p,labelPosition:"outside",children:(0,Ce.jsx)(On,{children:(0,Ce.jsx)(wn,{name:"user",onChange:function(e){f(e.target.value)},required:!0,type:"text",value:l,disabled:p,"data-cy":"password-request_input"})})}),(0,Ce.jsx)(Gt,{disabled:!l||i,label:d("client.login.passwordRequest.button"),pending:i,"data-cy":"password-request_submit-button"}),(0,Ce.jsx)(xn,{disabled:i,label:d("client.login.passwordRequest.abortButton"),name:"abort",onClick:function(){return c(S)},"data-cy":"password-request_abort-button"})]})]})};var Rn={changePage:A,requestPassword:function(e){return{type:m,payload:{username:e}}}};const Mn=(0,p.connect)((function(e){return{username:e.login.username,pending:e.loginForm.loginPending,entryPage:e.login.entryPage}}),Rn)((0,f.ZP)(Dn));var In="INITIALIZED",An="PasswordUpdateDialog/UPDATE_OLD_PASSWORD",Nn="PasswordUpdateDialog/UPDATE_NEW_PASSWORD",Zn="PasswordUpdateDialog/SET_NEW_PASSWORD",Ln="PasswordUpdateDialog/SET_NEW_PASSWORD_VALIDATION_ERRORS",Fn="PasswordUpdateDialog/UPDATE_NEW_PASSWORD_REPEAT",Un="PasswordUpdateDialog/SAVE_PASSWORD",Hn="PasswordUpdateDialog/SAVE_PASSWORD_SUCCESS",Bn="PasswordUpdateDialog/SAVE_PASSWORD_FAILURE",Wn="PasswordUpdateDialog/VALIDATE",zn="PasswordUpdateDialog/RESET_PASSWORD_UPDATED_FAILED",Yn=function(e){return{type:An,payload:{oldPassword:e}}},Vn=function(e){return{type:Ln,payload:{errors:e}}},qn=function(e,t){return{type:Bn,payload:{errorCode:e,validationMessages:t}}},Gn="PasswordUpdateDialog/FETCH_VALIDATION_RULES",Kn="PasswordUpdateDialog/SET_VALIDATION_RULES",Xn=i(35728),$n={INVALID_CREDENTIALS:"client.login.passwordUpdate.invalidCredentials",UNEXPECTED_ERROR:"client.login.passwordUpdate.unexpectedError"};const Qn=function(e){return(0,Ce.jsx)(Ze.List,{children:(0,Ce.jsx)(Ze.Item,{condition:we.Z.condition.DANGER,children:(0,Ce.jsx)(Kt.Z,{id:(t=e.errorCode,$n[t]||"client.login.passwordUpdate.failure")})})});var t};const Jn=function(e){return(0,Ce.jsx)(Ze.List,{children:e.rules.map((function(t,n){var r=null,o=t.message;if(e.errors){var a=e.errors[t.name];!0===a?r=we.Z.condition.DANGER:"string"==typeof a?(r=we.Z.condition.DANGER,o=a):r=we.Z.condition.SUCCESS}return(0,Ce.jsx)(Ze.Item,{condition:r,label:o},n)}))})};var er,tr,nr=x.ZP.input.attrs((function(e){return{type:"password"}})).withConfig({displayName:"StyledPasswordInput"})(er||(er=b()(["\n &&&& {\n ","\n }\n"])),un),rr=x.ZP.div.withConfig({displayName:"StyledPasswordInputWrapper"})(tr||(tr=b()(["\n && {\n ","\n }\n"])),cn);const or=function(e){var t=u.Z.isInAdminEmbedded();return(0,Ce.jsx)(Ft,{hasValue:!!e.value,id:"".concat(e.name,"-input"),immutable:!0===e.readOnly,label:e.label,signal:e.value?void 0===e.valid?null:e.valid?we.Z.condition.SUCCESS:we.Z.condition.DANGER:null,labelPosition:t?"inside":"outside",children:(0,Ce.jsx)(rr,{immutable:!0===e.readOnly,children:(0,Ce.jsx)(nr,{id:"".concat(e.name,"-input"),value:e.value,onChange:function(t){return e.onChange(t.target.value)},disabled:!0===e.readOnly,immutable:!0===e.readOnly,onKeyDown:e.onKeyDown,autoFocus:e.autoFocus})})})};var ar;const ir=x.ZP.div(ar||(ar=b()(["\n "," {\n width: 100%;\n }\n"])),dn.Z);var cr,sr,ur,lr,fr;function pr(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 dr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pr(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var hr=x.ZP.div.withConfig({displayName:"StyledValidationRulesWrapper"})(cr||(cr=b()(["\n margin: 1rem;\n"])));const mr=function(e){var t=e.captchaKey,n=e.fetchValidationRules,r=e.forcedUpdate,o=e.initialized,a=e.intl,i=e.password,c=e.savePassword,s=e.showOldPasswordField,u=e.showTitle,l=e.updateNewPassword,f=e.updateNewPasswordRepeat,p=e.updateOldPassword,d=e.validationRules,h=(0,w.useRef)();(0,w.useEffect)((function(){n()}),[n]),(0,w.useEffect)((function(){d&&o()}),[d,o]);var m=function(){var e=F()(W().mark((function e(t){var n;return W().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!0!==g()){e.next=7;break}return e.next=4,h.current.executeAsync();case 4:n=e.sent,h.current.reset(),c(n);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){return!!i.newPasswordRepeat&&(i.newPassword===i.newPasswordRepeat&&!i.passwordUpdatePending)},v=function(e){return a.formatMessage({id:e})};if(!d)return sr||(sr=(0,Ce.jsx)(Xn.Z,{}));var y=i.passwordUpdatePending,b=!i.oldPassword&&s||i.passwordUpdatePending,O=!i.newPassword||i.passwordUpdatePending||i.newPasswordValidationErrors&&Object.keys(i.newPasswordValidationErrors).length>0;return(0,Ce.jsxs)(ir,{children:[u&&(ur||(ur=(0,Ce.jsx)($t,{title:"client.login.passwordUpdate.title"}))),r&&(lr||(lr=(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:"client.login.passwordUpdate.introduction"})}))),(0,Ce.jsxs)("form",{onSubmit:m,children:[!0===s&&(0,Ce.jsx)(or,dr({tabIndex:1,label:v("client.login.passwordUpdate.oldPassword"),name:"oldPassword",value:i.oldPassword,onChange:p,readOnly:y,autoFocus:!0},i.passwordUpdateFailed&&"INVALID_CREDENTIALS"===i.passwordUpdateErrorCode&&{valid:!1})),(0,Ce.jsx)(or,{tabIndex:2,label:v("client.login.passwordUpdate.newPassword"),name:"newPassword",value:i.newPassword,onChange:l,readOnly:b,autoFocus:!0!==s,valid:!O}),(0,Ce.jsx)(hr,{children:(0,Ce.jsx)(Jn,{rules:d,errors:i.newPasswordValidationErrors,rulesNeutral:!i.newPassword})}),(0,Ce.jsx)(or,{tabIndex:3,label:v("client.login.passwordUpdate.newPasswordRepeat"),name:"newPasswordRepeat",value:i.newPasswordRepeat,onChange:f,readOnly:O,valid:g()}),i.newPasswordRepeat&&i.newPassword!==i.newPasswordRepeat&&(fr||(fr=(0,Ce.jsx)(Ze.List,{children:(0,Ce.jsx)(Ze.Item,{condition:"danger",label:(0,Ce.jsx)(Kt.Z,{id:"client.login.passwordUpdate.noMatch"})})}))),!0===i.passwordUpdateFailed&&(0,Ce.jsx)(Qn,{errorCode:i.passwordUpdateErrorCode}),(0,Ce.jsx)(Gt,{pending:i.passwordUpdatePending,disabled:!1===g(),label:v("client.login.passwordUpdate.saveButton")}),t&&(0,Ce.jsx)(re,{ref:h,badge:"bottomright",size:"invisible",sitekey:t,hl:a.locale})]})]})};var gr={updateOldPassword:Yn,updateNewPassword:function(e){return{type:Nn,payload:{newPassword:e}}},updateNewPasswordRepeat:function(e){return{type:Fn,payload:{newPasswordRepeat:e}}},fetchValidationRules:function(){return{type:Gn}},savePassword:function(e){return{type:Un,payload:{captchaToken:e}}},initialized:function(){return{type:In}}};const vr=(0,p.connect)((function(e){return{password:e.passwordUpdate.password,validationRules:e.passwordUpdate.validationRules,showOldPasswordField:e.passwordUpdate.dialog.showOldPasswordField,forcedUpdate:e.passwordUpdate.dialog.forcedUpdate,captchaKey:e.login.captchaKey}}),gr)((0,f.ZP)(mr));var yr,br,wr,Or,xr,kr,Sr=i(30604),Pr="two-factor-connector/INITIALIZE",jr="two-factor-connector/SET_TWO_STEP_ACTIVE",_r="two-factor-connector/SET_SECRET",Er="two-factor-connector/SET_USER_NAME",Cr="two-factor-connector/REQUEST_SECRET",Tr="two-factor-connector/GO_TO_SECRET_VERIFICATION",Dr="two-factor-connector/GO_TO_START",Rr="two-factor-connector/GO_TO_SECRET",Mr="two-factor-connector/VERIFY_CODE",Ir="root/SUCCESS",Ar="root/SET_SETUP_SUCCESSFUL",Nr="root/GO_TO_RESULT",Zr=function(){return{type:Pr}},Lr=function(e){return{type:jr,payload:{twoFactorActive:e}}},Fr=function(e){return{type:_r,payload:{secret:e}}},Ur=function(e){return{type:Er,payload:{username:e}}},Hr=function(){return{type:Dr}},Br=function(e){return{type:Ar,payload:{setupSuccessful:e}}},Wr=i(83324),zr=x.ZP.div.withConfig({displayName:"StyledButtonWrapper"})(yr||(yr=b()(["\n display: flex;\n justify-content: flex-end;\n margin-top: ",";\n\n > "," {\n margin-right: 0;\n }\n"])),nt.Z.space(.5),dn.Z),Yr=x.ZP.div.withConfig({displayName:"StyledMessageWrapper"})(br||(br=b()(["\n display: grid;\n grid-template-columns: 9% 1fr;\n grid-column-gap: ",";\n"])),nt.Z.space(-.5)),Vr=x.ZP.span.withConfig({displayName:"StyledIconWrapper"})(wr||(wr=b()(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n\n > * {\n max-width: 100%;\n }\n"])),(function(e){return e.isSuccessful?Se.FS.color("signal.success"):Se.FS.color("signal.danger")}),nt.Z.font(10)),qr=x.ZP.div.withConfig({displayName:"StyledTextWrapper"})(Or||(Or=b()(["\n display: flex;\n align-items: center;\n"])));const Gr=function(e){var t=e.success,n=e.goToStart,r=e.setupSuccessful,o=e.intl;(0,Wr.z)(t);var a=function(e){return o.formatMessage({id:e})};return r?(0,Ce.jsxs)(Ce.Fragment,{children:[xr||(xr=(0,Ce.jsxs)(Yr,{children:[(0,Ce.jsx)(Vr,{isSuccessful:!0,children:(0,Ce.jsx)(Me.Z,{icon:"check"})}),(0,Ce.jsx)(qr,{children:(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:"client.two-factor-connector.successfulText"})})})]})),(0,Ce.jsx)(zr,{children:(0,Ce.jsx)(Wt.Z,{label:a("client.two-factor-connector.okButton"),ink:"primary",look:"raised",onClick:t})})]}):(0,Ce.jsxs)(Ce.Fragment,{children:[kr||(kr=(0,Ce.jsxs)(Yr,{children:[(0,Ce.jsx)(Vr,{isSuccessful:!1,children:(0,Ce.jsx)(Me.Z,{icon:"times"})}),(0,Ce.jsx)(qr,{children:(0,Ce.jsx)(Xt.ZP.P,{children:(0,Ce.jsx)(Kt.Z,{id:"client.two-factor-connector.errorText"})})})]})),(0,Ce.jsx)(zr,{children:(0,Ce.jsx)(Wt.Z,{label:a("client.two-factor-connector.okButton"),ink:"primary",look:"raised",onClick:n})})]})};var Kr={success:function(){return{type:Ir}},goToStart:Hr};const Xr=(0,p.connect)((function(e){return{setupSuccessful:e.twoFactorConnector.setupSuccessful}}),Kr)((0,f.ZP)(Gr));var $r,Qr=Object.defineProperty,Jr=Object.getOwnPropertySymbols,eo=Object.prototype.hasOwnProperty,to=Object.prototype.propertyIsEnumerable,no=(e,t,n)=>t in e?Qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ro=(e,t)=>{for(var n in t||(t={}))eo.call(t,n)&&no(e,n,t[n]);if(Jr)for(var n of Jr(t))to.call(t,n)&&no(e,n,t[n]);return e},oo=(e,t)=>{var n={};for(var r in e)eo.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Jr)for(var r of Jr(e))t.indexOf(r)<0&&to.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let i=[];for(let e=0;e<this.size;e++)i.push(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const c=this.addEccAndInterleave(r);if(this.drawCodewords(c),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}a(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,r){const o=e.QrSegment.makeSegments(n);return t.encodeSegments(o,r)}static encodeBinary(n,r){const o=e.QrSegment.makeBytes(n);return t.encodeSegments([o],r)}static encodeSegments(e,n,o=1,i=40,s=-1,u=!0){if(!(t.MIN_VERSION<=o&&o<=i&&i<=t.MAX_VERSION)||s<-1||s>7)throw new RangeError("Invalid value");let l,f;for(l=o;;l++){const r=8*t.getNumDataCodewords(l,n),o=c.getTotalBits(e,l);if(o<=r){f=o;break}if(l>=i)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])u&&f<=8*t.getNumDataCodewords(l,e)&&(n=e);let p=[];for(const t of e){r(t.mode.modeBits,4,p),r(t.numChars,t.mode.numCharCountBits(l),p);for(const e of t.getData())p.push(e)}a(p.length==f);const d=8*t.getNumDataCodewords(l,n);a(p.length<=d),r(0,Math.min(4,d-p.length),p),r(0,(8-p.length%8)%8,p),a(p.length%8==0);for(let e=236;p.length<d;e^=253)r(e,8,p);let h=[];for(;8*h.length<p.length;)h.push(0);return p.forEach(((e,t)=>h[t>>>3]|=e<<7-(7&t))),new t(l,n,h,s)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const r=21522^(t<<10|n);a(r>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(r,e));this.setFunctionModule(8,7,o(r,6)),this.setFunctionModule(8,8,o(r,7)),this.setFunctionModule(7,8,o(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;a(t>>>18==0);for(let e=0;e<18;e++){const n=o(t,e),r=this.size-11+e%3,a=Math.floor(e/3);this.setFunctionModule(r,a,n),this.setFunctionModule(a,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const o=Math.max(Math.abs(r),Math.abs(n)),a=e+r,i=t+n;0<=a&&a<this.size&&0<=i&&i<this.size&&this.setFunctionModule(a,i,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],i=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],c=Math.floor(t.getNumRawDataModules(n)/8),s=o-c%o,u=Math.floor(c/o);let l=[];const f=t.reedSolomonComputeDivisor(i);for(let n=0,r=0;n<o;n++){let o=e.slice(r,r+u-i+(n<s?0:1));r+=o.length;const a=t.reedSolomonComputeRemainder(o,f);n<s&&o.push(0),l.push(o.concat(a))}let p=[];for(let e=0;e<l[0].length;e++)l.forEach(((t,n)=>{(e!=u-i||n>=s)&&p.push(t[e])}));return a(p.length==c),p}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let a=0;a<2;a++){const i=t-a,c=0==(t+1&2)?this.size-1-r:r;!this.isFunction[c][i]&&n<8*e.length&&(this.modules[c][i]=o(e[n>>>3],7-(7&n)),n++)}}a(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let r=!1,o=0,a=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[n][i]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[n][i],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,a)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,o=0,a=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[i][n]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[i][n],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,a)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){const o=this.modules[n][r];o==this.modules[n][r+1]&&o==this.modules[n+1][r]&&o==this.modules[n+1][r+1]&&(e+=t.PENALTY_N2)}let n=0;for(const e of this.modules)n=e.reduce(((e,t)=>e+(t?1:0)),n);const r=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*r)/r)-1;return a(0<=o&&o<=9),e+=o*t.PENALTY_N4,a(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return a(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let o=0;o<e;o++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map((e=>0));for(const o of e){const e=o^r.shift();r.push(0),n.forEach(((n,o)=>r[o]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return a(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];a(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function o(e,t){return 0!=(e>>>t&1)}function a(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const i=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new i(i.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!i.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);r(parseInt(e.substr(n,o),10),3*o+1,t),n+=o}return new i(i.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!i.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,n=[];for(t=0;t+2<=e.length;t+=2){let o=45*i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),r(o,11,n)}return t<e.length&&r(i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new i(i.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:i.isNumeric(e)?[i.makeNumeric(e)]:i.isAlphanumeric(e)?[i.makeAlphanumeric(e)]:[i.makeBytes(i.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");r(6,3,t),r(e,21,t)}return new i(i.Mode.ECI,0,t)}static isNumeric(e){return i.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return i.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substr(n+1,2),16)),n+=2);return t}};let c=i;c.NUMERIC_REGEX=/^[0-9]*$/,c.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,c.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=c})($r||($r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})($r||($r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})($r||($r={}));var ao=$r,io={L:ao.QrCode.Ecc.LOW,M:ao.QrCode.Ecc.MEDIUM,Q:ao.QrCode.Ecc.QUARTILE,H:ao.QrCode.Ecc.HIGH},co=128,so="L",uo="#FFFFFF",lo="#000000",fo=!1;
|
|
53
53
|
/**
|
|
54
54
|
* @license qrcode.react
|
|
55
55
|
* Copyright (c) Paul O'Shannessy
|
package/dist/mailing-list.js
CHANGED
|
@@ -49,4 +49,4 @@ e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,ge
|
|
|
49
49
|
*
|
|
50
50
|
* This source code is licensed under the MIT license found in the
|
|
51
51
|
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/var r=n(1024),o=n(61688);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,c=r.useRef,u=r.useEffect,s=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=c(null);if(null===f.current){var p={hasValue:!1,value:null};f.current=p}else p=f.current;f=s((function(){function e(e){if(!u){if(u=!0,a=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return c=t}return c=e}if(t=c,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,c=n)}var a,c,u=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,o]);var d=a(e,f[0],f[1]);return u((function(){p.hasValue=!0,p.value=d}),[d]),l(d),d}},61688:(e,t,n)=>{"use strict";e.exports=n(53250)},52798:(e,t,n)=>{"use strict";e.exports=n(50139)},28721:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o;const i=new Uint8Array(16);function a(){if(!o&&(o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(i)}const c=[];for(let e=0;e<256;++e)c.push((e+256).toString(16).slice(1));function u(e,t=0){return(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase()}const s=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const o=(e=e||{}).random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return u(o)}},2851:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,o.default)(e),"object"===i(t)?(n=t.min||0,r=t.max):(n=arguments[1],r=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=n&&(void 0===r||a<=r)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};function i(e){return(i="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)}e.exports=t.default,e.exports.default=t.default},83868:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),(t=(0,o.default)(t,s)).require_display_name||t.allow_display_name){var n=e.match(l);if(n){var u=n[1];if(e=e.replace(u,"").replace(/(^<|>$)/g,""),u.endsWith(" ")&&(u=u.slice(0,-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;if(!(t.split('"').length===t.split('\\"').length))return!1}return!0}(u))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),y=v.pop(),g=y.toLowerCase();if(t.host_blacklist.includes(g))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(g))return!1;var b=v.join("@");if(t.domain_specific_validation&&("gmail.com"===g||"googlemail.com"===g)){var w=(b=b.toLowerCase()).split("+")[0];if(!(0,i.default)(w.replace(/\./g,""),{min:6,max:30}))return!1;for(var O=w.split("."),x=0;x<O.length;x++)if(!p.test(O[x]))return!1}if(!(!1!==t.ignore_max_length||(0,i.default)(b,{max:64})&&(0,i.default)(y,{max:254})))return!1;if(!(0,a.default)(y,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length})){if(!t.allow_ip_domain)return!1;if(!(0,c.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var k=y.slice(1,-1);if(0===k.length||!(0,c.default)(k))return!1}}if('"'===b[0])return b=b.slice(1,b.length-1),t.allow_utf8_local_part?m.test(b):d.test(b);for(var S=t.allow_utf8_local_part?h:f,P=b.split("."),j=0;j<P.length;j++)if(!S.test(P[j]))return!1;if(t.blacklisted_chars&&-1!==b.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var r=u(n(65571)),o=u(n(84808)),i=u(n(2851)),a=u(n(10221)),c=u(n(61028));function u(e){return e&&e.__esModule?e:{default:e}}var s={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},l=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,d=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,h=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default},10221:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,o.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var n=e.split("."),i=n[n.length-1];if(t.require_tld){if(n.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/\s/.test(i))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(i))return!1;return n.every((function(e){return!(e.length>63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var r=i(n(65571)),o=i(n(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};e.exports=t.default,e.exports.default=t.default},61028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(n=String(n)))return e(t,4)||e(t,6);if("4"===n)return c.test(t);if("6"===n)return s.test(t);return!1};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(i,"[.]){3}").concat(i),c=new RegExp("^".concat(a,"$")),u="(?:[0-9a-fA-F]{1,4})",s=new RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(a,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(a,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(a,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(a,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(a,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(a,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(a,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default},66823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,a.default)(t,s)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var n,c,p,d,h,m,v,y;if(v=e.split("#"),e=v.shift(),v=e.split("?"),e=v.shift(),(v=e.split("://")).length>1){if(n=v.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(n))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;v[0]=e.slice(2)}}if(""===(e=v.join("://")))return!1;if(v=e.split("/"),""===(e=v.shift())&&!t.require_host)return!0;if((v=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===v[0])return!1;if((c=v.shift()).indexOf(":")>=0&&c.split(":").length>2)return!1;var g=c.split(":"),b=(k=2,function(e){if(Array.isArray(e))return e}(x=g)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){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||null==c.return||c.return()}finally{if(o)throw i}}return n}}(x,k)||function(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}(x,k)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w=b[0],O=b[1];if(""===w&&""===O)return!1}var x,k;d=v.join("@"),m=null,y=null;var S=d.match(l);S?(p="",y=S[1],m=S[2]||null):(v=d.split(":"),p=v.shift(),v.length&&(m=v.join(":")));if(null!==m&&m.length>0){if(h=parseInt(m,10),!/^[0-9]+$/.test(m)||h<=0||h>65535)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return f(p,t.host_whitelist);if(""===p&&!t.require_host)return!0;if(!((0,i.default)(p)||(0,o.default)(p,t)||y&&(0,i.default)(y,6)))return!1;if(p=p||y,t.host_blacklist&&f(p,t.host_blacklist))return!1;return!0};var r=c(n(65571)),o=c(n(10221)),i=c(n(61028)),a=c(n(84808));function c(e){return e&&e.__esModule?e:{default:e}}function u(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}var s={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e===r||(o=r,"[object RegExp]"===Object.prototype.toString.call(o)&&r.test(e)))return!0}var o;return!1}e.exports=t.default,e.exports.default=t.default},65571:(e,t)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=n(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},84808:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default},54545:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var 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};const o=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var o=void 0===t?"undefined":r(t);if(o!==(void 0===n?"undefined":r(n)))return!1;if("object"===o){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var c=Object.keys(t),u=Object.keys(n);return c.length===u.length&&c.every((function(r){return e(t[r],n[r])}))}return!1}},30670:e=>{"use strict";e.exports=function(){}},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}).apply(this,arguments)}n.d(t,{Z:()=>r})},74511:(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})},99589:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},30927:(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})},79823:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(79913);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},69643:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(11826);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){u=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw a}}}}},58514:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(32173),o=n(36716),i=n(67571);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},78819:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(79913);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},32173:(e,t,n)=>{"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:()=>r})},30263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1413);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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},36716:(e,t,n)=>{"use strict";function r(){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}}n.d(t,{Z:()=>r})},67571:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(86),o=n(99589);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},1413:(e,t,n)=>{"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:()=>r})},76633:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(86);function o(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},79913:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(86),o=n(76633);function i(e){var t=(0,o.Z)(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},86:(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})(e)}n.d(t,{Z:()=>r})},11826:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74511);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}}},31599:(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})},1165:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(31599);function o(e){if(Array.isArray(e))return(0,r.Z)(e)}},57693:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},84311:(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})},51144:(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),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:()=>o})},39068:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(40477),o=n(56158),i=n(82884);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},28549:(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})},2717:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():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}).apply(this,arguments)}n.d(t,{Z:()=>r})},40477:(e,t,n)=>{"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:()=>r})},49027:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(73757);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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},56158:(e,t,n)=>{"use strict";function r(){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}}n.d(t,{Z:()=>r})},96092:(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})},24328:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},33417:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(28549);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},32924:(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})},82884:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(62360),o=n(57693);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},73757:(e,t,n)=>{"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:()=>r})},1972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(78001);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var 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,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},86578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(1165),o=n(96092),i=n(78001),a=n(24328);function c(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},62360:(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})(e)}n.d(t,{Z:()=>r})},78001:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(31599);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}}}},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=>"chunk-"+({85:"code-editor",107:"actions",141:"docs-actions",198:"vendor-fontawesome",614:"vendor-icons",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"5f25929fbf6f0a034556",107:"4a872cc992b529f9a5ca",141:"da4836ddc13cd703f975",198:"ab9f2eea50d01a3a62a9",240:"69ce886a2af9c1908597",419:"78b18e55518e3beea977",560:"e3d5772311dd2d78dc20",608:"3186988649a5c8a6b487",614:"bba861a36d31d54c5c6b",631:"8d55ab629611cf584826",690:"95f3e2d1df8802653171",877:"a7f934130ec5ac7a8cff"}[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-:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var c,u;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var f=s[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+o){c=f;break}}c||(u=!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),u&&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,u]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in c)a.o(c,r)&&(a.m[r]=c[r]);if(u)u(a)}for(t&&t(n);s<i.length;s++)o=i[s],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_=self.webpackChunktocco_||[];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),a.d(c,{app:()=>Je});var e,t=a(18882),n=a(59713),r=a.n(n),o=a(45697),i=a.n(o),u=a(19241),s=a(81749),l=a(28002),f=a(65378),p=a(74806),d=a(50558),h=a(87757),m=a.n(h),v=a(27361),y=a.n(v),g=a(81719),b=a(122),w=a(41609),O=a.n(w),x=a(18446),k=a.n(x),S=a(35937),P=a.n(S),j=a(1024),E=a.n(j),_=a(56746),D=a(50600),C=a(45327),T=a(19743),Z=a(1825),R=a(82910),A=a(30604),M=a(97890),I=a(35997),N=a(47369),F="SET_ENTITY_NAME",L="SET_FORM_BASE",H="SET_SCROLL_BEHAVIOUR",U="root/SET_APP_ID",B=function(e){return{type:L,payload:{formBase:e}}},W=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return N.Z.getDispatchActions(e,V,t)},V=[{name:"entityName",action:function(e){return{type:F,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:B,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:B,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:H,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:U,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],z=a(58267),q=a(34857),Y=a(81770),G=a(6766),K=(e={},r()(e,G.zg,Y.Z.singleTransferReducer("formTouched")),r()(e,G.zJ,Y.Z.singleTransferReducer("detailParams")),e),$={detailParams:void 0,formTouched:!1};function X(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 Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=Q({},e)})),e.relations.forEach((function(e){t[e.relationName]=Q({type:"relation"},e)})),t};function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J;return m().mark((function n(){var r;return m().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,q.RE)(g.Z.requestSaga,"entities/".concat(e,"/model"));case 2:return r=n.sent,n.next=5,(0,q.RE)(t,r.body);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)}))()}var te={CREATE:"create",UPDATE:"update"};const ne=function(e){return void 0===e?te.CREATE:te.UPDATE};const re=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 oe=function(e,t){return 0!==t.length||(!e||isNaN(e))};var ie=m().mark(le),ae=m().mark(fe),ce=m().mark(de),ue=function(e){return e.entityBrowser},se=function(e){return e.input};function le(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.$6)([(0,q.Fm)(G.tQ,pe),(0,q.Fm)(G.eI,fe)]);case 2:case"end":return e.stop()}}),ie)}function fe(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.gz)(G.Ek(void 0));case 2:case"end":return e.stop()}}),ae)}function pe(e){var t=e.payload;return m().mark((function e(){var n,r,o,i,a,c,u,s,l,f,p,d,h,v;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.RE)(re,t.url);case 2:return n=e.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,e.next=8,(0,q.Ys)(ue);case 8:return a=e.sent,c=a.entityName,u=a.formBase,e.next=13,(0,q.RE)(ne,o);case 13:if(s=e.sent,l=c,f=u,!(r&&r.length>0)){e.next=21;break}return e.next=19,(0,q.RE)(de,c,r);case 19:l=e.sent,f="".concat(u,"_").concat(l);case 21:return e.next=23,(0,q.Ys)(se);case 23:return p=e.sent,d=p.initialKey,e.next=27,(0,q.RE)(oe,d,r);case 27:return h=e.sent,v={mode:s,entityId:o,entityName:l,formName:f,parentUrl:i,showBackButton:h},e.next=31,(0,q.gz)(G.Ek(v));case 31:case"end":return e.stop()}}),e)}))()}function de(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,q.RE)(ee,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,q.RE)(ee,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()}}),ce)}var he=m().mark(me);function me(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.$6)([(0,q.rM)(le)]);case 2:case"end":return e.stop()}}),he)}const ve=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$,t=arguments.length>1?arguments[1]:void 0,n=K[t.type];return n?n(e,t):e};var ye;function ge(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 be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var we=(ye={},r()(ye,F,Y.Z.singleTransferReducer("entityName")),r()(ye,L,(function(e,t){var n=t.payload.formBase;return n?be(be({},e),{},{formBase:n}):be({},e)})),r()(ye,H,Y.Z.singleTransferReducer("scrollBehaviour")),r()(ye,U,Y.Z.singleTransferReducer("appId")),ye),Oe={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var xe=m().mark(Se),ke=m().mark(Pe);function Se(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.$6)([(0,q.RE)(Pe)]);case 2:case"end":return e.stop()}}),xe)}function Pe(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.qn)(t.Z.INPUT_INITIALIZED);case 2:return e.next=4,(0,q.gz)(R.Z.doSessionCheck());case 4:case"end":return e.stop()}}),ke)}var je=m().mark(Ee);function Ee(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.$6)([(0,q.rM)(Se)]);case 2:case"end":return e.stop()}}),je)}const _e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oe,t=arguments.length>1?arguments[1]:void 0,n=we[t.type];return n?n(e,t):e},De={detail:ve,form:z.Z,entityBrowser:_e};var Ce,Te,Ze=[Ee,me],Re=a(85893);function Ae(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 Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ie="entity-browser",Ne=["onVisibilityStatusChange"],Fe=E().lazy((function(){return Promise.all([a.e(419),a.e(141),a.e(240),a.e(690),a.e(614)]).then(a.bind(a,83432))})),Le=function(){return Ce||(Ce=(0,Re.jsx)(j.Suspense,{fallback:"",children:(0,Re.jsx)(Fe,{})}))},He=function(e,n,r,o){n=Me(Me({},n),{},{id:e}),l.Z.setInputEnvs(n);var i=t.Z.createStore(De,Ze,n,Ie);u.Z.addToStore(i,(function(e){return t.Z.getEvents(Ne,e.input)})),D.Z.addToStore(i),C.Z.dynamicActionsAddToStore(i),T.Z.addToStore(i,!0,["console","remote","notification"]),A.Z.addToStore(i,!0),R.Z.addToStore(i);var a=Z.Z.createHistory(i,n.memoryHistory);!function(e,t){var n=t.initialKey;if(n&&!isNaN(n)&&!e.location.pathname.match(/\/detail\/[0-9]*/)){var r="/detail/".concat(n);e.push(r)}var o=t.initialAction;if(o&&o.name){var i="/action/".concat(o.name,"?").concat(M.Z.toQueryString(o.properties));e.push(i)}}(a,n);var c=(0,Re.jsx)(_.F0,{history:a,children:Te||(Te=(0,Re.jsx)(Le,{}))});return t.Z.createApp(Ie,c,i,{input:n,actions:W(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},Ue=function(e){var n=t.Z.useApp({initApp:He,props:e,packageName:Ie}),r=n.component,o=n.store,i=I.Z.usePrevious(e);return I.Z.useDidUpdate((function(){var t=P()(e,(function(e,t){return!k()(e,i[t])}));O()(t)||W(t,!1).forEach((function(e){o.dispatch(e)}))}),[e]),(0,Re.jsx)(Re.Fragment,{children:r})};Ue.propTypes=Me({entityName:i().string.isRequired,searchFormType:s.b,formBase:i().string,limit:i().number,preselectedSearchFields:i().array,searchFilters:i().arrayOf(i().string),simpleSearchFields:i().string,initialKey:i().string,initialAction:i().shape({name:i().string,properties:i().objectOf(i().object)}),businessUnit:i().string,memoryHistory:i().bool,backendUrl:i().string,scrollBehaviour:i().oneOf(["none","inline"]),appContext:f.Z.propTypes,modifyFormDefinition:i().func,modifyEntityPaths:i().func,disableDetailView:i().bool,reportIds:i().arrayOf(i().string),customActionEventHandlers:i().objectOf(i().objectOf(i().func))},u.Z.createPropTypes(Ne));const Be=Ue;t.Z.createBundleableApp(Ie,He,Ue);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){r()(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}const ze=function(e){var t=e.searchFilters,n=e.searchFormType,r=e.limit,o=e.backendUrl,i=e.businessUnit,a=e.appContext,c=e.reportIds,u=e.onVisibilityStatusChange;return(0,Re.jsx)(Be,{entityName:"Event",formBase:"Mailing_list",searchFilters:t,limit:r,modifyFormDefinition:function(t,n){return function(e,t,n){var r=t.parent,o=t.entityName,i=t.entityId,a=n.showEmailAction,c=n.appContext;return m().mark((function t(){var n,u;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("Mailing_list_detail_relUser_list"!==e.id){t.next=4;break}return n=e,n=a?b.Z.adjustActions(n,"mailing-list-mail-action",(function(e){return Ve(Ve({},e),{},{properties:Ve(Ve({},e.properties),{},{widgetKey:c.widgetConfigKey,eventKey:r.key})})})):b.Z.removeActions(n,["mailing-list-mail-action"]),t.abrupt("return",n);case 4:if("Mailing_list_User_detail"!==e.id||!i){t.next=11;break}return t.next=7,g.Z.fetchEntity(o,i,{paths:["publish_detail"]});case 7:if(u=t.sent,y()(u,["paths","publish_detail","value"])){t.next=11;break}return t.abrupt("return",b.Z.removeBoxes(e,["address_information","communication_information"]));case 11:return t.abrupt("return",e);case 12:case"end":return t.stop()}}),t)}))()}(t,n,e)},backendUrl:o,businessUnit:i,appContext:a,searchFormType:n,reportIds:c,onVisibilityStatusChange:u})};const qe=(0,d.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,onVisibilityStatusChange:e.input.onVisibilityStatusChange}}),{})((0,p.ZP)(ze));var Ye;function Ge(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}var Ke="mailing-list",$e=["onVisibilityStatusChange"],Xe=function(e,n,r,o){l.Z.setInputEnvs(n);var i=Ye||(Ye=(0,Re.jsx)(qe,{})),a=t.Z.createStore({},null,n,Ke);return u.Z.addToStore(a,(function(e){return t.Z.getEvents($e,e.input)})),t.Z.createApp(Ke,i,a,{input:n,events:r,actions:[],publicPath:o,textResourceModules:["component","common","actions",Ke]})},Qe=function(e){return t.Z.useApp({initApp:Xe,props:e,packageName:Ke}).component};Qe.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({searchFormType:s.b,searchFilters:i().arrayOf(i().string),limit:i().number,backendUrl:i().string,businessUnit:i().string,appContext:f.Z.propTypes.isRequired,reportIds:i().arrayOf(i().string),allowEmail:i().bool},u.Z.createPropTypes($e));var Je=t.Z.createBundleableApp(Ke,Xe,Qe);t.Z.registerAppInRegistry(Je.name,Je.init)})(),c})()));
|
|
52
|
+
*/var r=n(1024),o=n(61688);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,c=r.useRef,u=r.useEffect,s=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=c(null);if(null===f.current){var p={hasValue:!1,value:null};f.current=p}else p=f.current;f=s((function(){function e(e){if(!u){if(u=!0,a=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return c=t}return c=e}if(t=c,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,c=n)}var a,c,u=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,o]);var d=a(e,f[0],f[1]);return u((function(){p.hasValue=!0,p.value=d}),[d]),l(d),d}},61688:(e,t,n)=>{"use strict";e.exports=n(53250)},52798:(e,t,n)=>{"use strict";e.exports=n(50139)},28721:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o;const i=new Uint8Array(16);function a(){if(!o&&(o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(i)}const c=[];for(let e=0;e<256;++e)c.push((e+256).toString(16).slice(1));function u(e,t=0){return(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase()}const s=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const o=(e=e||{}).random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return u(o)}},2851:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,o.default)(e),"object"===i(t)?(n=t.min||0,r=t.max):(n=arguments[1],r=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=n&&(void 0===r||a<=r)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};function i(e){return(i="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)}e.exports=t.default,e.exports.default=t.default},83868:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),(t=(0,o.default)(t,s)).require_display_name||t.allow_display_name){var n=e.match(l);if(n){var u=n[1];if(e=e.replace(u,"").replace(/(^<|>$)/g,""),u.endsWith(" ")&&(u=u.slice(0,-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;if(!(t.split('"').length===t.split('\\"').length))return!1}return!0}(u))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),y=v.pop(),g=y.toLowerCase();if(t.host_blacklist.includes(g))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(g))return!1;var b=v.join("@");if(t.domain_specific_validation&&("gmail.com"===g||"googlemail.com"===g)){var w=(b=b.toLowerCase()).split("+")[0];if(!(0,i.default)(w.replace(/\./g,""),{min:6,max:30}))return!1;for(var O=w.split("."),x=0;x<O.length;x++)if(!p.test(O[x]))return!1}if(!(!1!==t.ignore_max_length||(0,i.default)(b,{max:64})&&(0,i.default)(y,{max:254})))return!1;if(!(0,a.default)(y,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length})){if(!t.allow_ip_domain)return!1;if(!(0,c.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var k=y.slice(1,-1);if(0===k.length||!(0,c.default)(k))return!1}}if('"'===b[0])return b=b.slice(1,b.length-1),t.allow_utf8_local_part?m.test(b):d.test(b);for(var S=t.allow_utf8_local_part?h:f,P=b.split("."),j=0;j<P.length;j++)if(!S.test(P[j]))return!1;if(t.blacklisted_chars&&-1!==b.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var r=u(n(65571)),o=u(n(84808)),i=u(n(2851)),a=u(n(10221)),c=u(n(61028));function u(e){return e&&e.__esModule?e:{default:e}}var s={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},l=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,d=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,h=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default},10221:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,o.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var n=e.split("."),i=n[n.length-1];if(t.require_tld){if(n.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/\s/.test(i))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(i))return!1;return n.every((function(e){return!(e.length>63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var r=i(n(65571)),o=i(n(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};e.exports=t.default,e.exports.default=t.default},61028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(n=String(n)))return e(t,4)||e(t,6);if("4"===n)return c.test(t);if("6"===n)return s.test(t);return!1};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(i,"[.]){3}").concat(i),c=new RegExp("^".concat(a,"$")),u="(?:[0-9a-fA-F]{1,4})",s=new RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(a,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(a,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(a,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(a,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(a,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(a,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(a,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default},66823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,a.default)(t,s)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var n,c,p,d,h,m,v,y;if(v=e.split("#"),e=v.shift(),v=e.split("?"),e=v.shift(),(v=e.split("://")).length>1){if(n=v.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(n))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;v[0]=e.slice(2)}}if(""===(e=v.join("://")))return!1;if(v=e.split("/"),""===(e=v.shift())&&!t.require_host)return!0;if((v=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===v[0])return!1;if((c=v.shift()).indexOf(":")>=0&&c.split(":").length>2)return!1;var g=c.split(":"),b=(k=2,function(e){if(Array.isArray(e))return e}(x=g)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){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||null==c.return||c.return()}finally{if(o)throw i}}return n}}(x,k)||function(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}(x,k)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w=b[0],O=b[1];if(""===w&&""===O)return!1}var x,k;d=v.join("@"),m=null,y=null;var S=d.match(l);S?(p="",y=S[1],m=S[2]||null):(v=d.split(":"),p=v.shift(),v.length&&(m=v.join(":")));if(null!==m&&m.length>0){if(h=parseInt(m,10),!/^[0-9]+$/.test(m)||h<=0||h>65535)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return f(p,t.host_whitelist);if(""===p&&!t.require_host)return!0;if(!((0,i.default)(p)||(0,o.default)(p,t)||y&&(0,i.default)(y,6)))return!1;if(p=p||y,t.host_blacklist&&f(p,t.host_blacklist))return!1;return!0};var r=c(n(65571)),o=c(n(10221)),i=c(n(61028)),a=c(n(84808));function c(e){return e&&e.__esModule?e:{default:e}}function u(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}var s={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e===r||(o=r,"[object RegExp]"===Object.prototype.toString.call(o)&&r.test(e)))return!0}var o;return!1}e.exports=t.default,e.exports.default=t.default},65571:(e,t)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=n(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},84808:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default},54545:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var 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};const o=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var o=void 0===t?"undefined":r(t);if(o!==(void 0===n?"undefined":r(n)))return!1;if("object"===o){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var c=Object.keys(t),u=Object.keys(n);return c.length===u.length&&c.every((function(r){return e(t[r],n[r])}))}return!1}},30670:e=>{"use strict";e.exports=function(){}},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}).apply(this,arguments)}n.d(t,{Z:()=>r})},74511:(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})},99589:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},30927:(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})},79823:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(79913);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},69643:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(11826);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){u=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw a}}}}},58514:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(32173),o=n(36716),i=n(67571);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},78819:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(79913);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},32173:(e,t,n)=>{"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:()=>r})},30263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1413);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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},36716:(e,t,n)=>{"use strict";function r(){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}}n.d(t,{Z:()=>r})},67571:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(86),o=n(99589);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},1413:(e,t,n)=>{"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:()=>r})},76633:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(86);function o(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},79913:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(86),o=n(76633);function i(e){var t=(0,o.Z)(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},86:(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})(e)}n.d(t,{Z:()=>r})},11826:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74511);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}}},31599:(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})},1165:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(31599);function o(e){if(Array.isArray(e))return(0,r.Z)(e)}},57693:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},84311:(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})},51144:(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),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:()=>o})},39068:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(40477),o=n(56158),i=n(82884);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},28549:(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})},2717:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():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}).apply(this,arguments)}n.d(t,{Z:()=>r})},40477:(e,t,n)=>{"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:()=>r})},49027:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(73757);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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},56158:(e,t,n)=>{"use strict";function r(){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}}n.d(t,{Z:()=>r})},96092:(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})},24328:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},33417:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(28549);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},32924:(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})},82884:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(62360),o=n(57693);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},73757:(e,t,n)=>{"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:()=>r})},1972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(78001);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var 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,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},86578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(1165),o=n(96092),i=n(78001),a=n(24328);function c(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},62360:(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})(e)}n.d(t,{Z:()=>r})},78001:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(31599);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}}}},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=>"chunk-"+({85:"code-editor",107:"actions",141:"docs-actions",198:"vendor-fontawesome",614:"vendor-icons",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"5f25929fbf6f0a034556",107:"508dab5bc0846a1f2d5e",141:"aa027dff2b08c06ea0f0",198:"ab9f2eea50d01a3a62a9",240:"d8ff72fa4d9b0f76d2f8",419:"78b18e55518e3beea977",430:"1cae45fc5b5476173dff",560:"e3d5772311dd2d78dc20",608:"3186988649a5c8a6b487",614:"acb71c89c15f40dc6b63",631:"8d55ab629611cf584826",877:"a7f934130ec5ac7a8cff"}[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-:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var c,u;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var f=s[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+o){c=f;break}}c||(u=!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),u&&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,u]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in c)a.o(c,r)&&(a.m[r]=c[r]);if(u)u(a)}for(t&&t(n);s<i.length;s++)o=i[s],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_=self.webpackChunktocco_||[];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),a.d(c,{app:()=>Je});var e,t=a(18882),n=a(59713),r=a.n(n),o=a(45697),i=a.n(o),u=a(19241),s=a(81749),l=a(28002),f=a(65378),p=a(74806),d=a(50558),h=a(87757),m=a.n(h),v=a(27361),y=a.n(v),g=a(81719),b=a(122),w=a(41609),O=a.n(w),x=a(18446),k=a.n(x),S=a(35937),P=a.n(S),j=a(1024),E=a.n(j),_=a(56746),D=a(50600),C=a(45327),T=a(19743),Z=a(1825),R=a(82910),A=a(30604),M=a(97890),I=a(35997),N=a(47369),F="SET_ENTITY_NAME",L="SET_FORM_BASE",H="SET_SCROLL_BEHAVIOUR",U="root/SET_APP_ID",B=function(e){return{type:L,payload:{formBase:e}}},W=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return N.Z.getDispatchActions(e,V,t)},V=[{name:"entityName",action:function(e){return{type:F,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:B,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:B,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:H,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:U,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],z=a(58267),q=a(34857),Y=a(81770),G=a(6766),K=(e={},r()(e,G.zg,Y.Z.singleTransferReducer("formTouched")),r()(e,G.zJ,Y.Z.singleTransferReducer("detailParams")),e),$={detailParams:void 0,formTouched:!1};function X(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 Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=Q({},e)})),e.relations.forEach((function(e){t[e.relationName]=Q({type:"relation"},e)})),t};function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J;return m().mark((function n(){var r;return m().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,q.RE)(g.Z.requestSaga,"entities/".concat(e,"/model"));case 2:return r=n.sent,n.next=5,(0,q.RE)(t,r.body);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)}))()}var te={CREATE:"create",UPDATE:"update"};const ne=function(e){return void 0===e?te.CREATE:te.UPDATE};const re=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 oe=function(e,t){return 0!==t.length||(!e||isNaN(e))};var ie=m().mark(le),ae=m().mark(fe),ce=m().mark(de),ue=function(e){return e.entityBrowser},se=function(e){return e.input};function le(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.$6)([(0,q.Fm)(G.tQ,pe),(0,q.Fm)(G.eI,fe)]);case 2:case"end":return e.stop()}}),ie)}function fe(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.gz)(G.Ek(void 0));case 2:case"end":return e.stop()}}),ae)}function pe(e){var t=e.payload;return m().mark((function e(){var n,r,o,i,a,c,u,s,l,f,p,d,h,v;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.RE)(re,t.url);case 2:return n=e.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,e.next=8,(0,q.Ys)(ue);case 8:return a=e.sent,c=a.entityName,u=a.formBase,e.next=13,(0,q.RE)(ne,o);case 13:if(s=e.sent,l=c,f=u,!(r&&r.length>0)){e.next=21;break}return e.next=19,(0,q.RE)(de,c,r);case 19:l=e.sent,f="".concat(u,"_").concat(l);case 21:return e.next=23,(0,q.Ys)(se);case 23:return p=e.sent,d=p.initialKey,e.next=27,(0,q.RE)(oe,d,r);case 27:return h=e.sent,v={mode:s,entityId:o,entityName:l,formName:f,parentUrl:i,showBackButton:h},e.next=31,(0,q.gz)(G.Ek(v));case 31:case"end":return e.stop()}}),e)}))()}function de(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,q.RE)(ee,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,q.RE)(ee,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()}}),ce)}var he=m().mark(me);function me(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.$6)([(0,q.rM)(le)]);case 2:case"end":return e.stop()}}),he)}const ve=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$,t=arguments.length>1?arguments[1]:void 0,n=K[t.type];return n?n(e,t):e};var ye;function ge(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 be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var we=(ye={},r()(ye,F,Y.Z.singleTransferReducer("entityName")),r()(ye,L,(function(e,t){var n=t.payload.formBase;return n?be(be({},e),{},{formBase:n}):be({},e)})),r()(ye,H,Y.Z.singleTransferReducer("scrollBehaviour")),r()(ye,U,Y.Z.singleTransferReducer("appId")),ye),Oe={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var xe=m().mark(Se),ke=m().mark(Pe);function Se(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.$6)([(0,q.RE)(Pe)]);case 2:case"end":return e.stop()}}),xe)}function Pe(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.qn)(t.Z.INPUT_INITIALIZED);case 2:return e.next=4,(0,q.gz)(R.Z.doSessionCheck());case 4:case"end":return e.stop()}}),ke)}var je=m().mark(Ee);function Ee(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,q.$6)([(0,q.rM)(Se)]);case 2:case"end":return e.stop()}}),je)}const _e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oe,t=arguments.length>1?arguments[1]:void 0,n=we[t.type];return n?n(e,t):e},De={detail:ve,form:z.Z,entityBrowser:_e};var Ce,Te,Ze=[Ee,me],Re=a(85893);function Ae(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 Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ie="entity-browser",Ne=["onVisibilityStatusChange"],Fe=E().lazy((function(){return Promise.all([a.e(419),a.e(141),a.e(240),a.e(430),a.e(614)]).then(a.bind(a,83432))})),Le=function(){return Ce||(Ce=(0,Re.jsx)(j.Suspense,{fallback:"",children:(0,Re.jsx)(Fe,{})}))},He=function(e,n,r,o){n=Me(Me({},n),{},{id:e}),l.Z.setInputEnvs(n);var i=t.Z.createStore(De,Ze,n,Ie);u.Z.addToStore(i,(function(e){return t.Z.getEvents(Ne,e.input)})),D.Z.addToStore(i),C.Z.dynamicActionsAddToStore(i),T.Z.addToStore(i,!0,["console","remote","notification"]),A.Z.addToStore(i,!0),R.Z.addToStore(i);var a=Z.Z.createHistory(i,n.memoryHistory);!function(e,t){var n=t.initialKey;if(n&&!isNaN(n)&&!e.location.pathname.match(/\/detail\/[0-9]*/)){var r="/detail/".concat(n);e.push(r)}var o=t.initialAction;if(o&&o.name){var i="/action/".concat(o.name,"?").concat(M.Z.toQueryString(o.properties));e.push(i)}}(a,n);var c=(0,Re.jsx)(_.F0,{history:a,children:Te||(Te=(0,Re.jsx)(Le,{}))});return t.Z.createApp(Ie,c,i,{input:n,actions:W(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},Ue=function(e){var n=t.Z.useApp({initApp:He,props:e,packageName:Ie}),r=n.component,o=n.store,i=I.Z.usePrevious(e);return I.Z.useDidUpdate((function(){var t=P()(e,(function(e,t){return!k()(e,i[t])}));O()(t)||W(t,!1).forEach((function(e){o.dispatch(e)}))}),[e]),(0,Re.jsx)(Re.Fragment,{children:r})};Ue.propTypes=Me({entityName:i().string.isRequired,searchFormType:s.b,formBase:i().string,limit:i().number,preselectedSearchFields:i().array,searchFilters:i().arrayOf(i().string),simpleSearchFields:i().string,initialKey:i().string,initialAction:i().shape({name:i().string,properties:i().objectOf(i().object)}),businessUnit:i().string,memoryHistory:i().bool,backendUrl:i().string,scrollBehaviour:i().oneOf(["none","inline"]),appContext:f.Z.propTypes,modifyFormDefinition:i().func,modifyEntityPaths:i().func,disableDetailView:i().bool,reportIds:i().arrayOf(i().string),customActionEventHandlers:i().objectOf(i().objectOf(i().func))},u.Z.createPropTypes(Ne));const Be=Ue;t.Z.createBundleableApp(Ie,He,Ue);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){r()(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}const ze=function(e){var t=e.searchFilters,n=e.searchFormType,r=e.limit,o=e.backendUrl,i=e.businessUnit,a=e.appContext,c=e.reportIds,u=e.onVisibilityStatusChange;return(0,Re.jsx)(Be,{entityName:"Event",formBase:"Mailing_list",searchFilters:t,limit:r,modifyFormDefinition:function(t,n){return function(e,t,n){var r=t.parent,o=t.entityName,i=t.entityId,a=n.showEmailAction,c=n.appContext;return m().mark((function t(){var n,u;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("Mailing_list_detail_relUser_list"!==e.id){t.next=4;break}return n=e,n=a?b.Z.adjustActions(n,"mailing-list-mail-action",(function(e){return Ve(Ve({},e),{},{properties:Ve(Ve({},e.properties),{},{widgetKey:c.widgetConfigKey,eventKey:r.key})})})):b.Z.removeActions(n,["mailing-list-mail-action"]),t.abrupt("return",n);case 4:if("Mailing_list_User_detail"!==e.id||!i){t.next=11;break}return t.next=7,g.Z.fetchEntity(o,i,{paths:["publish_detail"]});case 7:if(u=t.sent,y()(u,["paths","publish_detail","value"])){t.next=11;break}return t.abrupt("return",b.Z.removeBoxes(e,["address_information","communication_information"]));case 11:return t.abrupt("return",e);case 12:case"end":return t.stop()}}),t)}))()}(t,n,e)},backendUrl:o,businessUnit:i,appContext:a,searchFormType:n,reportIds:c,onVisibilityStatusChange:u})};const qe=(0,d.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,onVisibilityStatusChange:e.input.onVisibilityStatusChange}}),{})((0,p.ZP)(ze));var Ye;function Ge(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}var Ke="mailing-list",$e=["onVisibilityStatusChange"],Xe=function(e,n,r,o){l.Z.setInputEnvs(n);var i=Ye||(Ye=(0,Re.jsx)(qe,{})),a=t.Z.createStore({},null,n,Ke);return u.Z.addToStore(a,(function(e){return t.Z.getEvents($e,e.input)})),t.Z.createApp(Ke,i,a,{input:n,events:r,actions:[],publicPath:o,textResourceModules:["component","common","actions",Ke]})},Qe=function(e){return t.Z.useApp({initApp:Xe,props:e,packageName:Ke}).component};Qe.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({searchFormType:s.b,searchFilters:i().arrayOf(i().string),limit:i().number,backendUrl:i().string,businessUnit:i().string,appContext:f.Z.propTypes.isRequired,reportIds:i().arrayOf(i().string),allowEmail:i().bool},u.Z.createPropTypes($e));var Je=t.Z.createBundleableApp(Ke,Xe,Qe);t.Z.registerAppInRegistry(Je.name,Je.init)})(),c})()));
|