tocco-widget-bundle 3.8.1 → 3.8.2

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/dist/wage-view.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,s=r.useEffect,u=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=c(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=u((function(){function e(e){if(!s){if(s=!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,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 f=a(e,d[0],d[1]);return s((function(){p.hasValue=!0,p.value=f}),[f]),l(f),f}},61688:(e,t,n)=>{"use strict";e.exports=n(53250)},52798:(e,t,n)=>{"use strict";e.exports=n(50139)},93744:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},13653:(e,t,n)=>{"use strict";let r;n.d(t,{Z:()=>i});const o=new Uint8Array(16);function i(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},3958:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});const r=[];for(let e=0;e<256;++e)r.push((e+256).toString(16).slice(1));function o(e,t=0){return(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase()}},72045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(93744),o=n(13653),i=n(3958);const a=function(e,t,n){if(r.Z.randomUUID&&!t&&!e)return r.Z.randomUUID();const a=(e=e||{}).random||(e.rng||o.Z)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=a[e];return t}return(0,i.S)(a)}},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},i(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,c.default)(t,u)).require_display_name||t.allow_display_name){var n=e.match(l);if(n){var s=n[1];if(e=e.replace(s,"").replace(/(^<|>$)/g,""),s.endsWith(" ")&&(s=s.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}(s))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>v)return!1;var g=e.split("@"),y=g.pop(),b=y.toLowerCase();if(t.host_blacklist.includes(b))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(b))return!1;var w=g.join("@");if(t.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){var O=(w=w.toLowerCase()).split("+")[0];if(!(0,o.default)(O.replace(/\./g,""),{min:6,max:30}))return!1;for(var x=O.split("."),k=0;k<x.length;k++)if(!p.test(x[k]))return!1}if(!(!1!==t.ignore_max_length||(0,o.default)(w,{max:64})&&(0,o.default)(y,{max:254})))return!1;if(!(0,i.default)(y,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,a.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var S=y.slice(1,-1);if(0===S.length||!(0,a.default)(S))return!1}}if('"'===w[0])return w=w.slice(1,w.length-1),t.allow_utf8_local_part?m.test(w):f.test(w);for(var Z=t.allow_utf8_local_part?h:d,P=w.split("."),j=0;j<P.length;j++)if(!Z.test(P[j]))return!1;if(t.blacklisted_chars&&-1!==w.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var r=s(n(65571)),o=s(n(2851)),i=s(n(10221)),a=s(n(61028)),c=s(n(84808));function s(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,allow_underscores:!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,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,f=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,h=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\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,v=254;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 u.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,"$")),s="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(s,":){7}(?:").concat(s,"|:)|")+"(?:".concat(s,":){6}(?:").concat(a,"|:").concat(s,"|:)|")+"(?:".concat(s,":){5}(?::").concat(a,"|(:").concat(s,"){1,2}|:)|")+"(?:".concat(s,":){4}(?:(:").concat(s,"){0,1}:").concat(a,"|(:").concat(s,"){1,3}|:)|")+"(?:".concat(s,":){3}(?:(:").concat(s,"){0,2}:").concat(a,"|(:").concat(s,"){1,4}|:)|")+"(?:".concat(s,":){2}(?:(:").concat(s,"){0,3}:").concat(a,"|(:").concat(s,"){1,5}|:)|")+"(?:".concat(s,":){1}(?:(:").concat(s,"){0,4}:").concat(a,"|(:").concat(s,"){1,6}|:)|")+"(?::((?::".concat(s,"){0,5}:").concat(a,"|(?::").concat(s,"){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,u)).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,f,h,m,v,g;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 y=c.split(":"),b=(k=2,function(e){if(Array.isArray(e))return e}(x=y)||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 s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(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;f=v.join("@"),m=null,g=null;var S=f.match(l);S?(p="",g=S[1],m=S[2]||null):(p=(v=f.split(":")).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 d(p,t.host_whitelist);if(""===p&&!t.require_host)return!0;if(!((0,i.default)(p)||(0,o.default)(p,t)||g&&(0,i.default)(g,6)))return!1;if(p=p||g,t.host_blacklist&&d(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u={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 d(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},n(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),s=Object.keys(n);return c.length===s.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},17061:(e,t,n)=>{var r=n(18698).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),c=new E(r||[]);return a(i,"_invoke",{value:S(e,n,c)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h={};function m(){}function v(){}function g(){}var y={};d(y,s,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(_([])));w&&w!==n&&i.call(w,s)&&(y=w);var O=g.prototype=m.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,a,c,s){var u=f(e[o],e,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==r(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,c,s)}),(function(e){n("throw",e,c,s)})):t.resolve(d).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,s)}))}s(u.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function S(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return D()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=Z(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function Z(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,Z(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function _(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:D}}function D(){return{value:void 0,done:!0}}return v.prototype=g,a(O,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:v,configurable:!0}),v.displayName=d(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,d(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},x(k.prototype),d(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new k(p(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(O),d(O,l,"Generator"),d(O,s,(function(){return this})),d(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=_,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},18698:e=>{function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},64687:(e,t,n)=>{var r=n(17061)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},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},30907:(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})},83878:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},45057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(30907);function o(e){if(Array.isArray(e))return(0,r.Z)(e)}},97326:(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})},15861:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>o})},15671:(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})},43144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(49142);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}},4942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(49142);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}},61120:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:()=>r})},60136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(89611);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)}},59199:(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})},31902:(e,t,n)=>{"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}n.d(t,{Z:()=>r})},25267:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},42786:(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})},44925:(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})},82963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71002),o=n(97326);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)}},89611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},93324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(83878),o=n(31902),i=n(40181),a=n(25267);function c(e,t){return(0,r.Z)(e)||(0,o.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},30168:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},89062:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(45057),o=n(59199),i=n(40181),a=n(42786);function c(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},49142:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(71002);function o(e){var t=function(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)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},71002:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},40181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(30907);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}}},88301:(e,t,n)=>{"use strict";n.d(t,{JB:()=>r});function r(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}Math.min,Math.max;const o=["top","right","bottom","left"];o.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[])},55863:(e,t,n)=>{"use strict";n.d(t,{Me:()=>w});n(88301);function r(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function o(e){if(null==e)return window;if(!r(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return o(e).getComputedStyle(e)}function a(e){return r(e)?"":e?(e.nodeName||"").toLowerCase():""}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function s(e){return e instanceof o(e).HTMLElement}function u(e){return e instanceof o(e).Element}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function d(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=i(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function p(){return!/^((?!chrome|android).)*safari/i.test(c())}function f(e){return["html","body","#document"].includes(a(e))}Math.min,Math.max;const h=Math.round;function m(e,t,n){var r,i,a,c;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let d=1,f=1;t&&s(e)&&(d=e.offsetWidth>0&&h(l.width)/e.offsetWidth||1,f=e.offsetHeight>0&&h(l.height)/e.offsetHeight||1);const m=u(e)?o(e):window,v=!p()&&n,g=(l.left+(v&&null!=(r=null==(i=m.visualViewport)?void 0:i.offsetLeft)?r:0))/d,y=(l.top+(v&&null!=(a=null==(c=m.visualViewport)?void 0:c.offsetTop)?a:0))/f,b=l.width/d,w=l.height/f;return{width:b,height:w,top:y,right:g+b,bottom:y+w,left:g,x:g,y}}function v(e){return(t=e,(t instanceof o(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function g(e){if("html"===a(e))return e;const t=e.assignedSlot||e.parentNode||(l(e)?e.host:null)||v(e);return l(t)?t.host:t}function y(e){const t=g(e);return f(t)?e.ownerDocument.body:s(t)&&d(t)?t:y(t)}function b(e,t){var n;void 0===t&&(t=[]);const r=y(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=o(r),c=i?[a].concat(a.visualViewport||[],d(r)?r:[]):r,s=t.concat(c);return i?s:s.concat(b(c))}function w(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,s=o&&!c,l=s||i?[...u(e)?b(e):e.contextElement?b(e.contextElement):[],...b(t)]:[];l.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let d,p=null;if(a){let r=!0;p=new ResizeObserver((()=>{r||n(),r=!1})),u(e)&&!c&&p.observe(e),u(e)||!e.contextElement||c||p.observe(e.contextElement),p.observe(t)}let f=c?m(e):null;return c&&function t(){const r=m(e);!f||r.x===f.x&&r.y===f.y&&r.width===f.width&&r.height===f.height||n(),f=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach((e=>{s&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(d)}}},34709:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},36398:(e,t,n)=>{"use strict";function r(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}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},r(e)}n.d(t,{Z:()=>r})},12902:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[q]}function i(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===G}(e)||Array.isArray(e)||!!e[Y]||!!(null===(t=e.constructor)||void 0===t?void 0:t[Y])||p(e)||f(e))}function a(e,t,n){void 0===n&&(n=!1),0===c(e)?(n?Object.keys:K)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function c(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:f(e)?3:0}function s(e,t){return 2===c(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===c(e)?e.get(t):e[t]}function l(e,t,n){var r=c(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return B&&e instanceof Map}function f(e){return W&&e instanceof Set}function h(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=$(e);delete t[q];for(var n=K(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function v(e,t){return void 0===t&&(t=!1),y(e)||o(e)||!i(e)||(c(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&a(e,(function(e,t){return v(t,!0)}),!0)),e}function g(){r(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=X[e];return t||r(18,e),t}function w(e,t){X[e]||(X[e]=t)}function O(){return H}function x(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function k(e){S(e),e.p.forEach(P),e.p=null}function S(e){e===H&&(H=e.l)}function Z(e){return H={p:[],l:H,h:e,m:!0,_:0}}function P(e){var t=e[q];0===t.i||1===t.i?t.j():t.g=!0}function j(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||b("ES5").S(t,e,o),o?(n[q].P&&(k(t),r(4)),i(e)&&(e=E(t,e),t.l||D(t,e)),t.u&&b("Patches").M(n[q].t,e,t.u,t.s)):e=E(t,n,[]),k(t),t.u&&t.v(t.u,t.s),e!==z?e:void 0}function E(e,t,n){if(y(t))return t;var r=t[q];if(!r)return a(t,(function(o,i){return _(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return D(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=m(r.k):r.o,i=o,c=!1;3===r.i&&(i=new Set(o),o.clear(),c=!0),a(i,(function(t,i){return _(e,r,o,t,i,n,c)})),D(e,o,!1),n&&e.u&&b("Patches").N(r,n,e.u,e.s)}return r.o}function _(e,t,n,r,a,c,u){if(o(a)){var d=E(e,a,c&&t&&3!==t.i&&!s(t.R,r)?c.concat(r):void 0);if(l(n,r,d),!o(d))return;e.m=!1}else u&&n.add(a);if(i(a)&&!y(a)){if(!e.h.D&&e._<1)return;E(e,a),t&&t.A.l||D(e,a)}}function D(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&v(t,n)}function C(e,t){var n=e[q];return(n?h(n):e)[t]}function T(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function R(e){e.P||(e.P=!0,e.l&&R(e.l))}function A(e){e.o||(e.o=m(e.t))}function I(e,t,n){var r=p(t)?b("MapSet").F(t,n):f(t)?b("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:O(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Q;n&&(o=[r],i=J);var a=Proxy.revocable(o,i),c=a.revoke,s=a.proxy;return r.k=s,r.j=c,s}(t,n):b("ES5").J(t,n);return(n?n.A:O()).p.push(r),r}function M(e){return o(e)||r(22,e),function e(t){if(!i(t))return t;var n,r=t[q],o=c(t);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=N(t,o),r.I=!1}else n=N(t,o);return a(n,(function(t,o){r&&u(r.t,t)===o||l(n,t,e(o))})),3===o?new Set(n):n}(e)}function N(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function F(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[q];return Q.get(t,e)},set:function(t){var n=this[q];Q.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][q];if(!o.P)switch(o.i){case 5:r(o)&&R(o);break;case 4:n(o)&&R(o)}}}function n(e){for(var t=e.t,n=e.k,r=K(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==q){var a=t[i];if(void 0===a&&!s(t,i))return!0;var c=n[i],u=c&&c[q];if(u?u.t!==a:!d(c,a))return!0}}var l=!!t[q];return r.length!==K(t).length+(l?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var i={};w("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=$(n);delete i[q];for(var a=K(i),c=0;c<a.length;c++){var s=a[c];i[s]=e(s,t||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:O(),P:!1,I:!1,R:{},l:n,t,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,q,{value:i,writable:!0}),o},S:function(e,n,i){i?o(n)&&n[q].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[q];if(n){var o=n.t,i=n.k,c=n.R,u=n.i;if(4===u)a(i,(function(t){t!==q&&(void 0!==o[t]||s(o,t)?c[t]||e(i[t]):(c[t]=!0,R(n)))})),a(o,(function(e){void 0!==i[e]||s(i,e)||(c[e]=!1,R(n))}));else if(5===u){if(r(n)&&(R(n),c.length=!0),i.length<o.length)for(var l=i.length;l<o.length;l++)c[l]=!1;else for(var d=o.length;d<i.length;d++)c[d]=!0;for(var p=Math.min(i.length,o.length),f=0;f<p;f++)i.hasOwnProperty(f)||(c[f]=!0),void 0===c[f]&&e(i[f])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.d(t,{pV:()=>F});var L,H,U="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),B="undefined"!=typeof Map,W="undefined"!=typeof Set,V="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,z=U?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),Y=U?Symbol.for("immer-draftable"):"__$immer_draftable",q=U?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),K="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,$=Object.getOwnPropertyDescriptors||function(e){var t={};return K(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},X={},Q={get:function(e,t){if(t===q)return e;var n=h(e);if(!s(n,t))return function(e,t,n){var r,o=T(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!i(r)?r:r===C(e.t,t)?(A(e),e.o[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=T(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=C(h(e),t),i=null==o?void 0:o[q];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(d(n,o)&&(void 0!==n||s(e.t,t)))return!0;A(e),R(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==C(e.t,t)||t in e.t?(e.R[t]=!1,A(e),R(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},J={};a(Q,(function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,n){return Q.set.call(this,e[0],t,n,e[0])};var ee=function(){function e(e){var t=this;this.O=V,this.D=!0,this.produce=function(e,n,o){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var c=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return c.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(o))}))}}var s;if("function"!=typeof n&&r(6),void 0!==o&&"function"!=typeof o&&r(7),i(e)){var u=Z(t),l=I(t,e,void 0),d=!0;try{s=n(l),d=!1}finally{d?k(u):S(u)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(e){return x(u,o),j(e,u)}),(function(e){throw k(u),e})):(x(u,o),j(s,u))}if(!e||"object"!=typeof e){if(void 0===(s=n(e))&&(s=e),s===z&&(s=void 0),t.D&&v(s,!0),o){var p=[],f=[];b("Patches").M(e,s,p,f),o(p,f)}return s}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||r(8),o(e)&&(e=M(e));var t=Z(this),n=I(this,e,void 0);return n[q].C=!0,S(t),n},t.finishDraft=function(e,t){var n=(e&&e[q]).A;return x(n,t),j(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!V&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),te=new ee;te.produce,te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te)},4389:(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})},45795:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(19289),o=n(91009);function i(e,t,n){return i=(0,o.Z)()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&(0,r.Z)(i,n.prototype),i},i.apply(null,arguments)}},3677:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},98203:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:()=>r})},27953:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(19289);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},18143:(e,t,n)=>{"use strict";function r(e){return-1!==Function.toString.call(e).indexOf("[native code]")}n.d(t,{Z:()=>r})},91009:(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})},19289:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},61180:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(98203),o=n(19289),i=n(18143),a=n(45795);function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||!(0,i.Z)(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return(0,a.Z)(e,arguments,(0,r.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.Z)(n,e)},c(e)}},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})},52595:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}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},r.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)},r(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})},1865:(e,t,n)=>{"use strict";function r(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}}n.d(t,{Z:()=>r})},46816:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},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}},50090:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(31313);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},31313:(e,t,n)=>{"use strict";function r(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}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},r(e,t)}n.d(t,{Z:()=>r})},98994:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(52595),o=n(1865),i=n(78001),a=n(46816);function c(e,t){return(0,r.Z)(e)||(0,o.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},9192:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},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},r(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}}},88919:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(1024),o=n(30314),i=n(46076);function a(){return a=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},a.apply(this,arguments)}const c=["onUpdate","onRepositioned","renderElement","renderElementTag","renderElementTo","renderTarget","className","id","style"];class s extends r.Component{constructor(...e){super(...e),this._targetNode=r.createRef(),this._elementNode=r.createRef(),this._elementParentNode=null,this._tetherInstance=null}componentDidMount(){this._createContainer(),this.forceUpdate()}componentDidUpdate(e){if(e.renderElementTag===this.props.renderElementTag&&e.renderElementTo===this.props.renderElementTo||this._createContainer(),this._elementParentNode&&e.className!==this.props.className){const t=(e.className||"").split(" ").filter((e=>e.length>0)),n=(this.props.className||"").split(" ").filter((e=>e.length>0));this._elementParentNode.classList.remove(...t),this._elementParentNode.classList.add(...n)}this._update()}componentWillUnmount(){this._destroy()}getTetherInstance(){return this._tetherInstance}disable(){var e;null==(e=this._tetherInstance)||e.disable()}enable(){var e;null==(e=this._tetherInstance)||e.enable()}on(e,t,n){this._tetherInstance.on(e,t,n)}once(e,t,n){this._tetherInstance.once(e,t,n)}off(e,t){this._tetherInstance.off(e,t)}position(){var e;null==(e=this._tetherInstance)||e.position()}_runRenders(){let e="function"==typeof this.props.renderTarget?this.props.renderTarget(this._targetNode):null,t="function"==typeof this.props.renderElement?this.props.renderElement(this._elementNode):null;return(0,r.isValidElement)(e)||(e=null),(0,r.isValidElement)(t)||(t=null),{targetComponent:e,elementComponent:t}}_createTetherInstance(e){this._tetherInstance&&this._destroy(),this._tetherInstance=new i(e),this._registerEventListeners()}_destroyTetherInstance(){this._tetherInstance&&(this._tetherInstance.destroy(),this._tetherInstance=null)}_registerEventListeners(){this.on("update",((...e)=>this.props.onUpdate&&this.props.onUpdate.apply(this,e))),this.on("repositioned",((...e)=>this.props.onRepositioned&&this.props.onRepositioned.apply(this,e)))}get _renderNode(){const{renderElementTo:e}=this.props;return"string"==typeof e?document.querySelector(e):e||document.body}_destroy(){this._destroyTetherInstance(),this._removeContainer()}_createContainer(){this._removeContainer();const{renderElementTag:e="div",className:t}=this.props;this._elementParentNode=document.createElement(e),this._elementParentNode.className=t||""}_addContainerToDOM(){this._elementParentNode&&this._renderNode&&this._elementParentNode.parentNode!==this._renderNode&&this._renderNode.append(this._elementParentNode)}_removeContainer(){this._elementParentNode&&this._elementParentNode.parentNode&&this._elementParentNode.remove()}_update(){this._elementNode.current&&this._targetNode.current?this._updateTether():this._destroy()}_updateTether(){var e;const t=this.props,{id:n,style:r}=t,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(t,c),i=a({target:this._targetNode.current,element:this._elementParentNode},o),s=n||"";if(this._elementParentNode&&this._elementParentNode.id!==s&&(this._elementParentNode.id=s),this._elementParentNode&&r){const e=this._elementParentNode.style;for(const t in r)if(e[t]!==r[t]){let n=r[t];n&&(e[t]=n)}}this._addContainerToDOM(),this._tetherInstance?this._tetherInstance.setOptions(i):this._createTetherInstance(i),null==(e=this._tetherInstance)||e.position()}render(){const{targetComponent:e,elementComponent:t}=this._runRenders();return e?r.createElement(r.Fragment,null,e,t&&this._elementParentNode&&o.createPortal(t,this._elementParentNode)):null}}},37366:(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})},64727:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(37366);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}},27563:(e,t,n)=>{"use strict";n.d(t,{Ab:()=>a,Fr:()=>c,G$:()=>i,K$:()=>u,MS:()=>r,h5:()=>s,lK:()=>l,uj:()=>o});var r="-ms-",o="-moz-",i="-webkit-",a="comm",c="rule",s="decl",u="@import",l="@keyframes"},88160:(e,t,n)=>{"use strict";n.d(t,{cD:()=>i,qR:()=>o});var r=n(26686);function o(e){var t=(0,r.Ei)(e);return function(n,r,o,i){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,i)||"";return a}}function i(e){return function(t){t.root||(t=t.return)&&e(t)}}},92190:(e,t,n)=>{"use strict";n.d(t,{MY:()=>a});var r=n(27563),o=n(26686),i=n(46411);function a(e){return(0,i.cE)(c("",null,null,null,[""],e=(0,i.un)(e),0,[0],e))}function c(e,t,n,r,a,d,p,f,h){for(var m=0,v=0,g=p,y=0,b=0,w=0,O=1,x=1,k=1,S=0,Z="",P=a,j=d,E=r,_=Z;x;)switch(w=S,S=(0,i.lp)()){case 40:if(108!=w&&58==(0,o.uO)(_,g-1)){-1!=(0,o.Cw)(_+=(0,o.gx)((0,i.iF)(S),"&","&\f"),"&\f")&&(k=-1);break}case 34:case 39:case 91:_+=(0,i.iF)(S);break;case 9:case 10:case 13:case 32:_+=(0,i.Qb)(w);break;case 92:_+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,o.R3)(u((0,i.q6)((0,i.lp)(),(0,i.Ud)()),t,n),h);break;default:_+="/"}break;case 123*O:f[m++]=(0,o.to)(_)*k;case 125*O:case 59:case 0:switch(S){case 0:case 125:x=0;case 59+v:b>0&&(0,o.to)(_)-g&&(0,o.R3)(b>32?l(_+";",r,n,g-1):l((0,o.gx)(_," ","")+";",r,n,g-2),h);break;case 59:_+=";";default:if((0,o.R3)(E=s(_,t,n,m,v,a,f,Z,P=[],j=[],g),d),123===S)if(0===v)c(_,t,E,E,P,d,g,f,j);else switch(99===y&&110===(0,o.uO)(_,3)?100:y){case 100:case 109:case 115:c(e,E,E,r&&(0,o.R3)(s(e,E,E,0,0,a,f,Z,a,P=[],g),j),a,j,g,f,r?P:j);break;default:c(_,E,E,E,[""],j,0,f,j)}}m=v=b=0,O=k=1,Z=_="",g=p;break;case 58:g=1+(0,o.to)(_),b=w;default:if(O<1)if(123==S)--O;else if(125==S&&0==O++&&125==(0,i.mp)())continue;switch(_+=(0,o.Dp)(S),S*O){case 38:k=v>0?1:(_+="\f",-1);break;case 44:f[m++]=((0,o.to)(_)-1)*k,k=1;break;case 64:45===(0,i.fj)()&&(_+=(0,i.iF)((0,i.lp)())),y=(0,i.fj)(),v=g=(0,o.to)(Z=_+=(0,i.QU)((0,i.Ud)())),S++;break;case 45:45===w&&2==(0,o.to)(_)&&(O=0)}}return d}function s(e,t,n,a,c,s,u,l,d,p,f){for(var h=c-1,m=0===c?s:[""],v=(0,o.Ei)(m),g=0,y=0,b=0;g<a;++g)for(var w=0,O=(0,o.tb)(e,h+1,h=(0,o.Wn)(y=u[g])),x=e;w<v;++w)(x=(0,o.fy)(y>0?m[w]+" "+O:(0,o.gx)(O,/&\f/g,m[w])))&&(d[b++]=x);return(0,i.dH)(e,t,n,0===c?r.Fr:l,d,p,f)}function u(e,t,n){return(0,i.dH)(e,t,n,r.Ab,(0,o.Dp)((0,i.Tb)()),(0,o.tb)(e,2,-2),0)}function l(e,t,n,a){return(0,i.dH)(e,t,n,r.h5,(0,o.tb)(e,0,a),(0,o.tb)(e,a+1,-1),a)}},20211:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,q:()=>i});var r=n(27563),o=n(26686);function i(e,t){for(var n="",r=(0,o.Ei)(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.lK:return e.return=e.value+"{"+i(e.children,a)+"}";case r.Fr:e.value=e.props.join(",")}return(0,o.to)(n=i(e.children,a))?e.return=e.value+"{"+n+"}":""}},46411:(e,t,n)=>{"use strict";n.d(t,{FK:()=>c,JG:()=>d,QU:()=>P,Qb:()=>x,Tb:()=>p,Ud:()=>v,cE:()=>w,dH:()=>l,fj:()=>m,iF:()=>O,kq:()=>k,lp:()=>h,mp:()=>f,q6:()=>Z,r:()=>y,tP:()=>g,un:()=>b});var r=n(26686),o=1,i=1,a=0,c=0,s=0,u="";function l(e,t,n,r,a,c,s){return{value:e,root:t,parent:n,type:r,props:a,children:c,line:o,column:i,length:s,return:""}}function d(e,t){return(0,r.f0)(l("",null,null,"",null,null,0),e,{length:-e.length},t)}function p(){return s}function f(){return s=c>0?(0,r.uO)(u,--c):0,i--,10===s&&(i=1,o--),s}function h(){return s=c<a?(0,r.uO)(u,c++):0,i++,10===s&&(i=1,o++),s}function m(){return(0,r.uO)(u,c)}function v(){return c}function g(e,t){return(0,r.tb)(u,e,t)}function y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function b(e){return o=i=1,a=(0,r.to)(u=e),c=0,[]}function w(e){return u="",e}function O(e){return(0,r.fy)(g(c-1,S(91===e?e+2:40===e?e+1:e)))}function x(e){for(;(s=m())&&s<33;)h();return y(e)>2||y(s)>3?"":" "}function k(e,t){for(;--t&&h()&&!(s<48||s>102||s>57&&s<65||s>70&&s<97););return g(e,v()+(t<6&&32==m()&&32==h()))}function S(e){for(;h();)switch(s){case e:return c;case 34:case 39:34!==e&&39!==e&&S(s);break;case 40:41===e&&S(e);break;case 92:h()}return c}function Z(e,t){for(;h()&&e+s!==57&&(e+s!==84||47!==m()););return"/*"+g(t,c-1)+"*"+(0,r.Dp)(47===e?e:h())}function P(e){for(;!y(m());)h();return g(e,c)}},26686:(e,t,n)=>{"use strict";n.d(t,{$e:()=>v,Cw:()=>l,Dp:()=>o,EQ:()=>s,Ei:()=>h,R3:()=>m,Wn:()=>r,f0:()=>i,fy:()=>c,gx:()=>u,tb:()=>p,to:()=>f,uO:()=>d,vp:()=>a});var r=Math.abs,o=String.fromCharCode,i=Object.assign;function a(e,t){return 45^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3):0}function c(e){return e.trim()}function s(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function d(e,t){return 0|e.charCodeAt(t)}function p(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function m(e,t){return t.push(e),e}function v(e,t){return e.map(t).join("")}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdD=function(){throw new Error("define cannot be used indirect")},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>"chunk-"+({85:"code-editor",107:"actions",141:"docs-actions",198:"vendor-fontawesome",614:"vendor-icons",698:"phone-formatter",802:"html-editor",877:"vendor-libphonenumber-js"}[e]||e)+"."+{44:"d33f519954d51e81456f",76:"20117c2b30ca177f48ca",85:"1487c681dedf3e94f469",107:"c18b6f934d776da47f99",141:"bb45a16837847162177e",164:"23a53bc127505fe325b9",198:"e2ad8562eb1ead40e8f5",226:"c0c6010555c00f679353",240:"2961e1fcf8a733e2632c",251:"e138cb5cdff71c79d01f",461:"33f06e4ee1487ff88d9f",467:"291e22616b2fc64f4fa8",557:"d67b1992e4dca459bf67",608:"806cf5d74d793ba97514",614:"c8320a296d7fa0408f08",631:"2abce73ce650f0d25aa4",654:"7da1681d530185de2813",698:"7a192e3f1c43b21a1ea8",788:"ca3c60f0335bbabab4e7",802:"4c8339dd1c86b5602018",830:"94901f79652a38c273db",877:"e7723bb32099f2a8fd86"}[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,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+o){c=d;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var p=(t,r)=>{c.onerror=c.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.j=272,a.p="/",(()=>{var e={272:0,654:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=a.p+a.u(t),c=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,c,s]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in c)a.o(c,r)&&(a.m[r]=c[r]);if(s)s(a)}for(t&&t(n);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_=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:()=>qe});var e,t=a(38378),n=a(4942),r=a(45697),o=a.n(r),i=a(97722),s=a(81749),u=a(21276),l=a(44362),d=a(74806),p=a(50558),f=a(41609),h=a.n(f),m=a(18446),v=a.n(m),g=a(35937),y=a.n(g),b=a(1024),w=a.n(b),O=a(56746),x=a(54563),k=a(9538),S=a(37695),Z=a(1825),P=a(82910),j=a(44845),E=a(97890),_=a(6770),D=a(47369),C="SET_ENTITY_NAME",T="SET_FORM_BASE",R="SET_SCROLL_BEHAVIOUR",A="root/SET_APP_ID",I=function(e){return{type:T,payload:{formBase:e}}},M=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return D.Z.getDispatchActions(e,N,t)},N=[{name:"entityName",action:function(e){return{type:C,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:I,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:I,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:R,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:A,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],F=a(58267),L=a(64687),H=a.n(L),U=a(24970),B=a(78907),W=a(6766),V=(e={},(0,n.Z)(e,W.zg,B.Z.singleTransferReducer("formTouched")),(0,n.Z)(e,W.zJ,B.Z.singleTransferReducer("detailParams")),e),z={detailParams:void 0,formTouched:!1};var Y=a(72007);function q(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 G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?q(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=G({},e)})),e.relations.forEach((function(e){t[e.relationName]=G({type:"relation"},e)})),t};function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K;return H().mark((function n(){var r;return H().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,U.RE)(Y.Z.requestSaga,"entities/".concat(e,"/model"));case 2:return r=n.sent,n.next=5,(0,U.RE)(t,r.body);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)}))()}var X={CREATE:"create",UPDATE:"update"};const Q={modes:X,getMode:function(e){return void 0===e?X.CREATE:X.UPDATE}};const J=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 ee=function(e,t){return 0!==t.length||(!e||isNaN(e))};var te=H().mark(ae),ne=H().mark(ce),re=H().mark(ue),oe=function(e){return e.entityBrowser},ie=function(e){return e.input};function ae(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.$6)([(0,U.Fm)(W.tQ,se),(0,U.Fm)(W.eI,ce)]);case 2:case"end":return e.stop()}}),te)}function ce(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.gz)(W.Ek(void 0));case 2:case"end":return e.stop()}}),ne)}function se(e){var t=e.payload;return H().mark((function e(){var n,r,o,i,a,c,s,u,l,d,p,f,h,m;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.RE)(J,t.url);case 2:return n=e.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,e.next=8,(0,U.Ys)(oe);case 8:return a=e.sent,c=a.entityName,s=a.formBase,e.next=13,(0,U.RE)(Q.getMode,o);case 13:if(u=e.sent,l=c,d=s,!(r&&r.length>0)){e.next=21;break}return e.next=19,(0,U.RE)(ue,c,r);case 19:l=e.sent,d="".concat(s,"_").concat(l);case 21:return e.next=23,(0,U.Ys)(ie);case 23:return p=e.sent,f=p.initialKey,e.next=27,(0,U.RE)(ee,f,r);case 27:return h=e.sent,m={mode:u,entityId:o,entityName:l,formName:d,parentUrl:i,showBackButton:h},e.next=31,(0,U.gz)(W.Ek(m));case 31:case"end":return e.stop()}}),e)}))()}function ue(e,t){var n,r,o,i,a;return H().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=e,c.next=3,(0,U.RE)($,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,U.RE)($,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()}}),re)}var le=H().mark(de);function de(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.$6)([(0,U.rM)(ae)]);case 2:case"end":return e.stop()}}),le)}const pe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0,n=V[t.type];return n?n(e,t):e};var fe;function he(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 r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ve=(fe={},(0,n.Z)(fe,C,B.Z.singleTransferReducer("entityName")),(0,n.Z)(fe,T,(function(e,t){var n=t.payload.formBase;return n?me(me({},e),{},{formBase:n}):me({},e)})),(0,n.Z)(fe,R,B.Z.singleTransferReducer("scrollBehaviour")),(0,n.Z)(fe,A,B.Z.singleTransferReducer("appId")),fe),ge={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var ye=H().mark(we),be=H().mark(Oe);function we(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.$6)([(0,U.RE)(Oe)]);case 2:case"end":return e.stop()}}),ye)}function Oe(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.qn)(t.Z.INPUT_INITIALIZED);case 2:return e.next=4,(0,U.gz)(P.Z.doSessionCheck());case 4:case"end":return e.stop()}}),be)}var xe=H().mark(ke);function ke(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.$6)([(0,U.rM)(we)]);case 2:case"end":return e.stop()}}),xe)}const Se=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ge,t=arguments.length>1?arguments[1]:void 0,n=ve[t.type];return n?n(e,t):e},Ze={detail:pe,form:F.Z,entityBrowser:Se};var Pe,je,Ee=[ke,de],_e=a(85893);function De(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 Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Te="entity-browser",Re=["onVisibilityStatusChange"],Ae=w().lazy((function(){return Promise.all([a.e(461),a.e(830),a.e(240),a.e(467),a.e(44)]).then(a.bind(a,3044))})),Ie=function(){return Pe||(Pe=(0,_e.jsx)(b.Suspense,{fallback:"",children:(0,_e.jsx)(Ae,{})}))},Me=function(e,n,r,o){n=Ce(Ce({},n),{},{id:e}),u.Z.setInputEnvs(n);var a=t.Z.createStore(Ze,Ee,n,Te);i.Z.addToStore(a,(function(e){return t.Z.getEvents(Re,e.input)})),x.Z.addToStore(a),k.Z.dynamicActionsAddToStore(a),S.Z.addToStore(a,!0,["console","remote","notification"]),j.Z.addToStore(a,!0),P.Z.addToStore(a);var c=Z.Z.createHistory(a,n.memoryHistory);!function(e,t){var n=t.initialKey;if(n&&!isNaN(n)&&!e.location.pathname.match(/\/detail\/[0-9]*/)){var r="/detail/".concat(n);e.push(r)}var o=t.initialAction;if(o&&o.name){var i="/action/".concat(o.name,"?").concat(E.Z.toQueryString(o.properties));e.push(i)}}(c,n);var s=(0,_e.jsx)(O.F0,{history:c,children:je||(je=(0,_e.jsx)(Ie,{}))});return t.Z.createApp(Te,s,a,{input:n,actions:M(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},Ne=function(e){var n=t.Z.useApp({initApp:Me,props:e,packageName:Te}),r=n.component,o=n.store,i=_.Z.usePrevious(e);return _.Z.useDidUpdate((function(){var t=y()(e,(function(e,t){return!v()(e,i[t])}));h()(t)||M(t,!1).forEach((function(e){o.dispatch(e)}))}),[e]),(0,_e.jsx)(_e.Fragment,{children:r})};Ne.propTypes=Ce({entityName:o().string.isRequired,searchFormType:s.b,formBase:o().string,limit:o().oneOfType([o().number,o().string]),preselectedSearchFields:o().array,searchFilters:o().arrayOf(o().string),simpleSearchFields:o().string,initialKey:o().string,initialAction:o().shape({name:o().string,properties:o().objectOf(o().object)}),businessUnit:o().string,memoryHistory:o().bool,backendUrl:o().string,scrollBehaviour:o().oneOf(["none","inline"]),appContext:l.Z.propTypes,modifyFormDefinition:o().func,modifyEntityPaths:o().func,disableDetailView:o().bool,reportIds:o().arrayOf(o().string),customActionEventHandlers:o().objectOf(o().objectOf(o().func))},i.Z.createPropTypes(Re));const Fe=Ne;t.Z.createBundleableApp(Te,Me,Ne);var Le=a(48901);const He=function(e){var t=e.allowCreate,n=e.reportIds,r=e.searchFilters,o=e.searchFormType,i=e.limit,a=e.backendUrl,c=e.businessUnit,s=e.appContext,u=e.onVisibilityStatusChange,l=e.intl;return(0,_e.jsx)(Fe,{entityName:"Wage",formBase:"Wage_view",searchFormType:o,searchFilters:r,limit:i,modifyFormDefinition:function(e){return function(e,t,n){return t?Le.Z.addCreate(e,n):Le.Z.removeActions(e,["new","copy"])}(e,t,l)},backendUrl:a,businessUnit:c,appContext:s,reportIds:n,onVisibilityStatusChange:u})};const Ue=(0,p.connect)((function(e){return{reportIds:e.input.reportIds,allowCreate:e.input.allowCreate,searchFilters:e.input.searchFilters,limit:e.input.limit,backendUrl:e.input.backendUrl,businessUnit:e.input.businessUnit,appContext:e.input.appContext,searchFormType:e.input.searchFormType,onVisibilityStatusChange:e.input.onVisibilityStatusChange}}),{})((0,d.ZP)(He));var Be;function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ve="wage-view",ze=function(e,n,r,o){u.Z.setInputEnvs(n);var i=Be||(Be=(0,_e.jsx)(Ue,{})),a=t.Z.createStore({},null,n,Ve);return t.Z.createApp(Ve,i,a,{input:n,events:r,actions:[],publicPath:o,textResourceModules:["component","common","actions",Ve]})},Ye=function(e){var n=t.Z.useApp({initApp:ze,props:e,packageName:Ve}).component;return(0,_e.jsx)(_e.Fragment,{children:n})};Ye.propTypes=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?We(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({allowCreate:o().bool,reportIds:o().arrayOf(o().string).isRequired,searchFilters:o().arrayOf(o().string),searchFormType:s.b,limit:o().oneOfType([o().number,o().string]),backendUrl:o().string,businessUnit:o().string,appContext:l.Z.propTypes.isRequired},i.Z.createPropTypes(["onVisibilityStatusChange"]));var qe=t.Z.createBundleableApp(Ve,ze,Ye);t.Z.registerAppInRegistry(qe.name,qe.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,s=r.useEffect,u=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=c(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=u((function(){function e(e){if(!s){if(s=!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,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 f=a(e,d[0],d[1]);return s((function(){p.hasValue=!0,p.value=f}),[f]),l(f),f}},61688:(e,t,n)=>{"use strict";e.exports=n(53250)},52798:(e,t,n)=>{"use strict";e.exports=n(50139)},93744:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},13653:(e,t,n)=>{"use strict";let r;n.d(t,{Z:()=>i});const o=new Uint8Array(16);function i(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},3958:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});const r=[];for(let e=0;e<256;++e)r.push((e+256).toString(16).slice(1));function o(e,t=0){return(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase()}},72045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(93744),o=n(13653),i=n(3958);const a=function(e,t,n){if(r.Z.randomUUID&&!t&&!e)return r.Z.randomUUID();const a=(e=e||{}).random||(e.rng||o.Z)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=a[e];return t}return(0,i.S)(a)}},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},i(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,c.default)(t,u)).require_display_name||t.allow_display_name){var n=e.match(l);if(n){var s=n[1];if(e=e.replace(s,"").replace(/(^<|>$)/g,""),s.endsWith(" ")&&(s=s.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}(s))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>v)return!1;var g=e.split("@"),y=g.pop(),b=y.toLowerCase();if(t.host_blacklist.includes(b))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(b))return!1;var w=g.join("@");if(t.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){var O=(w=w.toLowerCase()).split("+")[0];if(!(0,o.default)(O.replace(/\./g,""),{min:6,max:30}))return!1;for(var x=O.split("."),k=0;k<x.length;k++)if(!p.test(x[k]))return!1}if(!(!1!==t.ignore_max_length||(0,o.default)(w,{max:64})&&(0,o.default)(y,{max:254})))return!1;if(!(0,i.default)(y,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,a.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var S=y.slice(1,-1);if(0===S.length||!(0,a.default)(S))return!1}}if('"'===w[0])return w=w.slice(1,w.length-1),t.allow_utf8_local_part?m.test(w):f.test(w);for(var Z=t.allow_utf8_local_part?h:d,P=w.split("."),j=0;j<P.length;j++)if(!Z.test(P[j]))return!1;if(t.blacklisted_chars&&-1!==w.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var r=s(n(65571)),o=s(n(2851)),i=s(n(10221)),a=s(n(61028)),c=s(n(84808));function s(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,allow_underscores:!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,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,p=/^[a-z\d]+$/,f=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,h=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\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,v=254;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 u.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,"$")),s="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(s,":){7}(?:").concat(s,"|:)|")+"(?:".concat(s,":){6}(?:").concat(a,"|:").concat(s,"|:)|")+"(?:".concat(s,":){5}(?::").concat(a,"|(:").concat(s,"){1,2}|:)|")+"(?:".concat(s,":){4}(?:(:").concat(s,"){0,1}:").concat(a,"|(:").concat(s,"){1,3}|:)|")+"(?:".concat(s,":){3}(?:(:").concat(s,"){0,2}:").concat(a,"|(:").concat(s,"){1,4}|:)|")+"(?:".concat(s,":){2}(?:(:").concat(s,"){0,3}:").concat(a,"|(:").concat(s,"){1,5}|:)|")+"(?:".concat(s,":){1}(?:(:").concat(s,"){0,4}:").concat(a,"|(:").concat(s,"){1,6}|:)|")+"(?::((?::".concat(s,"){0,5}:").concat(a,"|(?::").concat(s,"){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,u)).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,f,h,m,v,g;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 y=c.split(":"),b=(k=2,function(e){if(Array.isArray(e))return e}(x=y)||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 s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(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;f=v.join("@"),m=null,g=null;var S=f.match(l);S?(p="",g=S[1],m=S[2]||null):(p=(v=f.split(":")).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 d(p,t.host_whitelist);if(""===p&&!t.require_host)return!0;if(!((0,i.default)(p)||(0,o.default)(p,t)||g&&(0,i.default)(g,6)))return!1;if(p=p||g,t.host_blacklist&&d(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u={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 d(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},n(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),s=Object.keys(n);return c.length===s.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},17061:(e,t,n)=>{var r=n(18698).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),c=new E(r||[]);return a(i,"_invoke",{value:S(e,n,c)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h={};function m(){}function v(){}function g(){}var y={};d(y,s,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(_([])));w&&w!==n&&i.call(w,s)&&(y=w);var O=g.prototype=m.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,a,c,s){var u=f(e[o],e,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==r(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,c,s)}),(function(e){n("throw",e,c,s)})):t.resolve(d).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,s)}))}s(u.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function S(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return D()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=Z(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function Z(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,Z(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function _(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:D}}function D(){return{value:void 0,done:!0}}return v.prototype=g,a(O,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:v,configurable:!0}),v.displayName=d(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,d(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},x(k.prototype),d(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new k(p(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(O),d(O,l,"Generator"),d(O,s,(function(){return this})),d(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=_,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},18698:e=>{function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},64687:(e,t,n)=>{var r=n(17061)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},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},30907:(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})},83878:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},45057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(30907);function o(e){if(Array.isArray(e))return(0,r.Z)(e)}},97326:(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})},15861:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>o})},15671:(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})},43144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(49142);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}},4942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(49142);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}},61120:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:()=>r})},60136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(89611);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)}},59199:(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})},31902:(e,t,n)=>{"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}n.d(t,{Z:()=>r})},25267:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},42786:(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})},44925:(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})},82963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71002),o=n(97326);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)}},89611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},93324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(83878),o=n(31902),i=n(40181),a=n(25267);function c(e,t){return(0,r.Z)(e)||(0,o.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},30168:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},89062:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(45057),o=n(59199),i=n(40181),a=n(42786);function c(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},49142:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(71002);function o(e){var t=function(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)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},71002:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},40181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(30907);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}}},88301:(e,t,n)=>{"use strict";n.d(t,{JB:()=>r});function r(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}Math.min,Math.max;const o=["top","right","bottom","left"];o.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[])},55863:(e,t,n)=>{"use strict";n.d(t,{Me:()=>w});n(88301);function r(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function o(e){if(null==e)return window;if(!r(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return o(e).getComputedStyle(e)}function a(e){return r(e)?"":e?(e.nodeName||"").toLowerCase():""}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function s(e){return e instanceof o(e).HTMLElement}function u(e){return e instanceof o(e).Element}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function d(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=i(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function p(){return!/^((?!chrome|android).)*safari/i.test(c())}function f(e){return["html","body","#document"].includes(a(e))}Math.min,Math.max;const h=Math.round;function m(e,t,n){var r,i,a,c;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let d=1,f=1;t&&s(e)&&(d=e.offsetWidth>0&&h(l.width)/e.offsetWidth||1,f=e.offsetHeight>0&&h(l.height)/e.offsetHeight||1);const m=u(e)?o(e):window,v=!p()&&n,g=(l.left+(v&&null!=(r=null==(i=m.visualViewport)?void 0:i.offsetLeft)?r:0))/d,y=(l.top+(v&&null!=(a=null==(c=m.visualViewport)?void 0:c.offsetTop)?a:0))/f,b=l.width/d,w=l.height/f;return{width:b,height:w,top:y,right:g+b,bottom:y+w,left:g,x:g,y}}function v(e){return(t=e,(t instanceof o(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function g(e){if("html"===a(e))return e;const t=e.assignedSlot||e.parentNode||(l(e)?e.host:null)||v(e);return l(t)?t.host:t}function y(e){const t=g(e);return f(t)?e.ownerDocument.body:s(t)&&d(t)?t:y(t)}function b(e,t){var n;void 0===t&&(t=[]);const r=y(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=o(r),c=i?[a].concat(a.visualViewport||[],d(r)?r:[]):r,s=t.concat(c);return i?s:s.concat(b(c))}function w(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,s=o&&!c,l=s||i?[...u(e)?b(e):e.contextElement?b(e.contextElement):[],...b(t)]:[];l.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let d,p=null;if(a){let r=!0;p=new ResizeObserver((()=>{r||n(),r=!1})),u(e)&&!c&&p.observe(e),u(e)||!e.contextElement||c||p.observe(e.contextElement),p.observe(t)}let f=c?m(e):null;return c&&function t(){const r=m(e);!f||r.x===f.x&&r.y===f.y&&r.width===f.width&&r.height===f.height||n(),f=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach((e=>{s&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(d)}}},34709:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},36398:(e,t,n)=>{"use strict";function r(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}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},r(e)}n.d(t,{Z:()=>r})},12902:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[q]}function i(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===G}(e)||Array.isArray(e)||!!e[Y]||!!(null===(t=e.constructor)||void 0===t?void 0:t[Y])||p(e)||f(e))}function a(e,t,n){void 0===n&&(n=!1),0===c(e)?(n?Object.keys:K)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function c(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:f(e)?3:0}function s(e,t){return 2===c(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===c(e)?e.get(t):e[t]}function l(e,t,n){var r=c(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return B&&e instanceof Map}function f(e){return W&&e instanceof Set}function h(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=$(e);delete t[q];for(var n=K(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function v(e,t){return void 0===t&&(t=!1),y(e)||o(e)||!i(e)||(c(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&a(e,(function(e,t){return v(t,!0)}),!0)),e}function g(){r(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=X[e];return t||r(18,e),t}function w(e,t){X[e]||(X[e]=t)}function O(){return H}function x(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function k(e){S(e),e.p.forEach(P),e.p=null}function S(e){e===H&&(H=e.l)}function Z(e){return H={p:[],l:H,h:e,m:!0,_:0}}function P(e){var t=e[q];0===t.i||1===t.i?t.j():t.g=!0}function j(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||b("ES5").S(t,e,o),o?(n[q].P&&(k(t),r(4)),i(e)&&(e=E(t,e),t.l||D(t,e)),t.u&&b("Patches").M(n[q].t,e,t.u,t.s)):e=E(t,n,[]),k(t),t.u&&t.v(t.u,t.s),e!==z?e:void 0}function E(e,t,n){if(y(t))return t;var r=t[q];if(!r)return a(t,(function(o,i){return _(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return D(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=m(r.k):r.o,i=o,c=!1;3===r.i&&(i=new Set(o),o.clear(),c=!0),a(i,(function(t,i){return _(e,r,o,t,i,n,c)})),D(e,o,!1),n&&e.u&&b("Patches").N(r,n,e.u,e.s)}return r.o}function _(e,t,n,r,a,c,u){if(o(a)){var d=E(e,a,c&&t&&3!==t.i&&!s(t.R,r)?c.concat(r):void 0);if(l(n,r,d),!o(d))return;e.m=!1}else u&&n.add(a);if(i(a)&&!y(a)){if(!e.h.D&&e._<1)return;E(e,a),t&&t.A.l||D(e,a)}}function D(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&v(t,n)}function C(e,t){var n=e[q];return(n?h(n):e)[t]}function T(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function R(e){e.P||(e.P=!0,e.l&&R(e.l))}function A(e){e.o||(e.o=m(e.t))}function I(e,t,n){var r=p(t)?b("MapSet").F(t,n):f(t)?b("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:O(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Q;n&&(o=[r],i=J);var a=Proxy.revocable(o,i),c=a.revoke,s=a.proxy;return r.k=s,r.j=c,s}(t,n):b("ES5").J(t,n);return(n?n.A:O()).p.push(r),r}function M(e){return o(e)||r(22,e),function e(t){if(!i(t))return t;var n,r=t[q],o=c(t);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=N(t,o),r.I=!1}else n=N(t,o);return a(n,(function(t,o){r&&u(r.t,t)===o||l(n,t,e(o))})),3===o?new Set(n):n}(e)}function N(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function F(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[q];return Q.get(t,e)},set:function(t){var n=this[q];Q.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][q];if(!o.P)switch(o.i){case 5:r(o)&&R(o);break;case 4:n(o)&&R(o)}}}function n(e){for(var t=e.t,n=e.k,r=K(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==q){var a=t[i];if(void 0===a&&!s(t,i))return!0;var c=n[i],u=c&&c[q];if(u?u.t!==a:!d(c,a))return!0}}var l=!!t[q];return r.length!==K(t).length+(l?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var i={};w("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=$(n);delete i[q];for(var a=K(i),c=0;c<a.length;c++){var s=a[c];i[s]=e(s,t||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:O(),P:!1,I:!1,R:{},l:n,t,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,q,{value:i,writable:!0}),o},S:function(e,n,i){i?o(n)&&n[q].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[q];if(n){var o=n.t,i=n.k,c=n.R,u=n.i;if(4===u)a(i,(function(t){t!==q&&(void 0!==o[t]||s(o,t)?c[t]||e(i[t]):(c[t]=!0,R(n)))})),a(o,(function(e){void 0!==i[e]||s(i,e)||(c[e]=!1,R(n))}));else if(5===u){if(r(n)&&(R(n),c.length=!0),i.length<o.length)for(var l=i.length;l<o.length;l++)c[l]=!1;else for(var d=o.length;d<i.length;d++)c[d]=!0;for(var p=Math.min(i.length,o.length),f=0;f<p;f++)i.hasOwnProperty(f)||(c[f]=!0),void 0===c[f]&&e(i[f])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.d(t,{pV:()=>F});var L,H,U="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),B="undefined"!=typeof Map,W="undefined"!=typeof Set,V="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,z=U?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),Y=U?Symbol.for("immer-draftable"):"__$immer_draftable",q=U?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),K="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,$=Object.getOwnPropertyDescriptors||function(e){var t={};return K(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},X={},Q={get:function(e,t){if(t===q)return e;var n=h(e);if(!s(n,t))return function(e,t,n){var r,o=T(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!i(r)?r:r===C(e.t,t)?(A(e),e.o[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=T(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=C(h(e),t),i=null==o?void 0:o[q];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(d(n,o)&&(void 0!==n||s(e.t,t)))return!0;A(e),R(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==C(e.t,t)||t in e.t?(e.R[t]=!1,A(e),R(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},J={};a(Q,(function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,n){return Q.set.call(this,e[0],t,n,e[0])};var ee=function(){function e(e){var t=this;this.O=V,this.D=!0,this.produce=function(e,n,o){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var c=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return c.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(o))}))}}var s;if("function"!=typeof n&&r(6),void 0!==o&&"function"!=typeof o&&r(7),i(e)){var u=Z(t),l=I(t,e,void 0),d=!0;try{s=n(l),d=!1}finally{d?k(u):S(u)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(e){return x(u,o),j(e,u)}),(function(e){throw k(u),e})):(x(u,o),j(s,u))}if(!e||"object"!=typeof e){if(void 0===(s=n(e))&&(s=e),s===z&&(s=void 0),t.D&&v(s,!0),o){var p=[],f=[];b("Patches").M(e,s,p,f),o(p,f)}return s}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||r(8),o(e)&&(e=M(e));var t=Z(this),n=I(this,e,void 0);return n[q].C=!0,S(t),n},t.finishDraft=function(e,t){var n=(e&&e[q]).A;return x(n,t),j(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!V&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),te=new ee;te.produce,te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te)},4389:(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})},45795:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(19289),o=n(91009);function i(e,t,n){return i=(0,o.Z)()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&(0,r.Z)(i,n.prototype),i},i.apply(null,arguments)}},3677:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},98203:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:()=>r})},27953:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(19289);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},18143:(e,t,n)=>{"use strict";function r(e){return-1!==Function.toString.call(e).indexOf("[native code]")}n.d(t,{Z:()=>r})},91009:(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})},19289:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},61180:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(98203),o=n(19289),i=n(18143),a=n(45795);function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||!(0,i.Z)(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return(0,a.Z)(e,arguments,(0,r.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.Z)(n,e)},c(e)}},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})},52595:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}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},r.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)},r(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})},1865:(e,t,n)=>{"use strict";function r(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}}n.d(t,{Z:()=>r})},46816:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},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}},50090:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(31313);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},31313:(e,t,n)=>{"use strict";function r(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}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},r(e,t)}n.d(t,{Z:()=>r})},98994:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(52595),o=n(1865),i=n(78001),a=n(46816);function c(e,t){return(0,r.Z)(e)||(0,o.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},9192:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},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},r(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}}},88919:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(1024),o=n(30314),i=n(46076);function a(){return a=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},a.apply(this,arguments)}const c=["onUpdate","onRepositioned","renderElement","renderElementTag","renderElementTo","renderTarget","className","id","style"];class s extends r.Component{constructor(...e){super(...e),this._targetNode=r.createRef(),this._elementNode=r.createRef(),this._elementParentNode=null,this._tetherInstance=null}componentDidMount(){this._createContainer(),this.forceUpdate()}componentDidUpdate(e){if(e.renderElementTag===this.props.renderElementTag&&e.renderElementTo===this.props.renderElementTo||this._createContainer(),this._elementParentNode&&e.className!==this.props.className){const t=(e.className||"").split(" ").filter((e=>e.length>0)),n=(this.props.className||"").split(" ").filter((e=>e.length>0));this._elementParentNode.classList.remove(...t),this._elementParentNode.classList.add(...n)}this._update()}componentWillUnmount(){this._destroy()}getTetherInstance(){return this._tetherInstance}disable(){var e;null==(e=this._tetherInstance)||e.disable()}enable(){var e;null==(e=this._tetherInstance)||e.enable()}on(e,t,n){this._tetherInstance.on(e,t,n)}once(e,t,n){this._tetherInstance.once(e,t,n)}off(e,t){this._tetherInstance.off(e,t)}position(){var e;null==(e=this._tetherInstance)||e.position()}_runRenders(){let e="function"==typeof this.props.renderTarget?this.props.renderTarget(this._targetNode):null,t="function"==typeof this.props.renderElement?this.props.renderElement(this._elementNode):null;return(0,r.isValidElement)(e)||(e=null),(0,r.isValidElement)(t)||(t=null),{targetComponent:e,elementComponent:t}}_createTetherInstance(e){this._tetherInstance&&this._destroy(),this._tetherInstance=new i(e),this._registerEventListeners()}_destroyTetherInstance(){this._tetherInstance&&(this._tetherInstance.destroy(),this._tetherInstance=null)}_registerEventListeners(){this.on("update",((...e)=>this.props.onUpdate&&this.props.onUpdate.apply(this,e))),this.on("repositioned",((...e)=>this.props.onRepositioned&&this.props.onRepositioned.apply(this,e)))}get _renderNode(){const{renderElementTo:e}=this.props;return"string"==typeof e?document.querySelector(e):e||document.body}_destroy(){this._destroyTetherInstance(),this._removeContainer()}_createContainer(){this._removeContainer();const{renderElementTag:e="div",className:t}=this.props;this._elementParentNode=document.createElement(e),this._elementParentNode.className=t||""}_addContainerToDOM(){this._elementParentNode&&this._renderNode&&this._elementParentNode.parentNode!==this._renderNode&&this._renderNode.append(this._elementParentNode)}_removeContainer(){this._elementParentNode&&this._elementParentNode.parentNode&&this._elementParentNode.remove()}_update(){this._elementNode.current&&this._targetNode.current?this._updateTether():this._destroy()}_updateTether(){var e;const t=this.props,{id:n,style:r}=t,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(t,c),i=a({target:this._targetNode.current,element:this._elementParentNode},o),s=n||"";if(this._elementParentNode&&this._elementParentNode.id!==s&&(this._elementParentNode.id=s),this._elementParentNode&&r){const e=this._elementParentNode.style;for(const t in r)if(e[t]!==r[t]){let n=r[t];n&&(e[t]=n)}}this._addContainerToDOM(),this._tetherInstance?this._tetherInstance.setOptions(i):this._createTetherInstance(i),null==(e=this._tetherInstance)||e.position()}render(){const{targetComponent:e,elementComponent:t}=this._runRenders();return e?r.createElement(r.Fragment,null,e,t&&this._elementParentNode&&o.createPortal(t,this._elementParentNode)):null}}},37366:(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})},64727:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(37366);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}},27563:(e,t,n)=>{"use strict";n.d(t,{Ab:()=>a,Fr:()=>c,G$:()=>i,K$:()=>u,MS:()=>r,h5:()=>s,lK:()=>l,uj:()=>o});var r="-ms-",o="-moz-",i="-webkit-",a="comm",c="rule",s="decl",u="@import",l="@keyframes"},88160:(e,t,n)=>{"use strict";n.d(t,{cD:()=>i,qR:()=>o});var r=n(26686);function o(e){var t=(0,r.Ei)(e);return function(n,r,o,i){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,i)||"";return a}}function i(e){return function(t){t.root||(t=t.return)&&e(t)}}},92190:(e,t,n)=>{"use strict";n.d(t,{MY:()=>a});var r=n(27563),o=n(26686),i=n(46411);function a(e){return(0,i.cE)(c("",null,null,null,[""],e=(0,i.un)(e),0,[0],e))}function c(e,t,n,r,a,d,p,f,h){for(var m=0,v=0,g=p,y=0,b=0,w=0,O=1,x=1,k=1,S=0,Z="",P=a,j=d,E=r,_=Z;x;)switch(w=S,S=(0,i.lp)()){case 40:if(108!=w&&58==(0,o.uO)(_,g-1)){-1!=(0,o.Cw)(_+=(0,o.gx)((0,i.iF)(S),"&","&\f"),"&\f")&&(k=-1);break}case 34:case 39:case 91:_+=(0,i.iF)(S);break;case 9:case 10:case 13:case 32:_+=(0,i.Qb)(w);break;case 92:_+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,o.R3)(u((0,i.q6)((0,i.lp)(),(0,i.Ud)()),t,n),h);break;default:_+="/"}break;case 123*O:f[m++]=(0,o.to)(_)*k;case 125*O:case 59:case 0:switch(S){case 0:case 125:x=0;case 59+v:b>0&&(0,o.to)(_)-g&&(0,o.R3)(b>32?l(_+";",r,n,g-1):l((0,o.gx)(_," ","")+";",r,n,g-2),h);break;case 59:_+=";";default:if((0,o.R3)(E=s(_,t,n,m,v,a,f,Z,P=[],j=[],g),d),123===S)if(0===v)c(_,t,E,E,P,d,g,f,j);else switch(99===y&&110===(0,o.uO)(_,3)?100:y){case 100:case 109:case 115:c(e,E,E,r&&(0,o.R3)(s(e,E,E,0,0,a,f,Z,a,P=[],g),j),a,j,g,f,r?P:j);break;default:c(_,E,E,E,[""],j,0,f,j)}}m=v=b=0,O=k=1,Z=_="",g=p;break;case 58:g=1+(0,o.to)(_),b=w;default:if(O<1)if(123==S)--O;else if(125==S&&0==O++&&125==(0,i.mp)())continue;switch(_+=(0,o.Dp)(S),S*O){case 38:k=v>0?1:(_+="\f",-1);break;case 44:f[m++]=((0,o.to)(_)-1)*k,k=1;break;case 64:45===(0,i.fj)()&&(_+=(0,i.iF)((0,i.lp)())),y=(0,i.fj)(),v=g=(0,o.to)(Z=_+=(0,i.QU)((0,i.Ud)())),S++;break;case 45:45===w&&2==(0,o.to)(_)&&(O=0)}}return d}function s(e,t,n,a,c,s,u,l,d,p,f){for(var h=c-1,m=0===c?s:[""],v=(0,o.Ei)(m),g=0,y=0,b=0;g<a;++g)for(var w=0,O=(0,o.tb)(e,h+1,h=(0,o.Wn)(y=u[g])),x=e;w<v;++w)(x=(0,o.fy)(y>0?m[w]+" "+O:(0,o.gx)(O,/&\f/g,m[w])))&&(d[b++]=x);return(0,i.dH)(e,t,n,0===c?r.Fr:l,d,p,f)}function u(e,t,n){return(0,i.dH)(e,t,n,r.Ab,(0,o.Dp)((0,i.Tb)()),(0,o.tb)(e,2,-2),0)}function l(e,t,n,a){return(0,i.dH)(e,t,n,r.h5,(0,o.tb)(e,0,a),(0,o.tb)(e,a+1,-1),a)}},20211:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,q:()=>i});var r=n(27563),o=n(26686);function i(e,t){for(var n="",r=(0,o.Ei)(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.lK:return e.return=e.value+"{"+i(e.children,a)+"}";case r.Fr:e.value=e.props.join(",")}return(0,o.to)(n=i(e.children,a))?e.return=e.value+"{"+n+"}":""}},46411:(e,t,n)=>{"use strict";n.d(t,{FK:()=>c,JG:()=>d,QU:()=>P,Qb:()=>x,Tb:()=>p,Ud:()=>v,cE:()=>w,dH:()=>l,fj:()=>m,iF:()=>O,kq:()=>k,lp:()=>h,mp:()=>f,q6:()=>Z,r:()=>y,tP:()=>g,un:()=>b});var r=n(26686),o=1,i=1,a=0,c=0,s=0,u="";function l(e,t,n,r,a,c,s){return{value:e,root:t,parent:n,type:r,props:a,children:c,line:o,column:i,length:s,return:""}}function d(e,t){return(0,r.f0)(l("",null,null,"",null,null,0),e,{length:-e.length},t)}function p(){return s}function f(){return s=c>0?(0,r.uO)(u,--c):0,i--,10===s&&(i=1,o--),s}function h(){return s=c<a?(0,r.uO)(u,c++):0,i++,10===s&&(i=1,o++),s}function m(){return(0,r.uO)(u,c)}function v(){return c}function g(e,t){return(0,r.tb)(u,e,t)}function y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function b(e){return o=i=1,a=(0,r.to)(u=e),c=0,[]}function w(e){return u="",e}function O(e){return(0,r.fy)(g(c-1,S(91===e?e+2:40===e?e+1:e)))}function x(e){for(;(s=m())&&s<33;)h();return y(e)>2||y(s)>3?"":" "}function k(e,t){for(;--t&&h()&&!(s<48||s>102||s>57&&s<65||s>70&&s<97););return g(e,v()+(t<6&&32==m()&&32==h()))}function S(e){for(;h();)switch(s){case e:return c;case 34:case 39:34!==e&&39!==e&&S(s);break;case 40:41===e&&S(e);break;case 92:h()}return c}function Z(e,t){for(;h()&&e+s!==57&&(e+s!==84||47!==m()););return"/*"+g(t,c-1)+"*"+(0,r.Dp)(47===e?e:h())}function P(e){for(;!y(m());)h();return g(e,c)}},26686:(e,t,n)=>{"use strict";n.d(t,{$e:()=>v,Cw:()=>l,Dp:()=>o,EQ:()=>s,Ei:()=>h,R3:()=>m,Wn:()=>r,f0:()=>i,fy:()=>c,gx:()=>u,tb:()=>p,to:()=>f,uO:()=>d,vp:()=>a});var r=Math.abs,o=String.fromCharCode,i=Object.assign;function a(e,t){return 45^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3):0}function c(e){return e.trim()}function s(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function d(e,t){return 0|e.charCodeAt(t)}function p(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function m(e,t){return t.push(e),e}function v(e,t){return e.map(t).join("")}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdD=function(){throw new Error("define cannot be used indirect")},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>"chunk-"+({85:"code-editor",107:"actions",141:"docs-actions",198:"vendor-fontawesome",614:"vendor-icons",698:"phone-formatter",802:"html-editor",877:"vendor-libphonenumber-js"}[e]||e)+"."+{44:"a29275b3592772145981",85:"1487c681dedf3e94f469",107:"54e9c2e0421655b55c66",141:"67cc387d3780b6b733f6",164:"fc7cc5a4f904dc7ca7af",198:"e2ad8562eb1ead40e8f5",226:"c0c6010555c00f679353",240:"2961e1fcf8a733e2632c",251:"e138cb5cdff71c79d01f",290:"cda9d5171ac2b3471621",385:"049d857b78b3b2c497be",461:"33f06e4ee1487ff88d9f",557:"d67b1992e4dca459bf67",608:"806cf5d74d793ba97514",614:"c8320a296d7fa0408f08",631:"2abce73ce650f0d25aa4",654:"7da1681d530185de2813",698:"7a192e3f1c43b21a1ea8",788:"ca3c60f0335bbabab4e7",802:"4c8339dd1c86b5602018",877:"e7723bb32099f2a8fd86",912:"c579e06d001c1a52ba91"}[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,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+o){c=d;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var p=(t,r)=>{c.onerror=c.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.j=272,a.p="/",(()=>{var e={272:0,654:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=a.p+a.u(t),c=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,c,s]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in c)a.o(c,r)&&(a.m[r]=c[r]);if(s)s(a)}for(t&&t(n);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_=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:()=>qe});var e,t=a(38378),n=a(4942),r=a(45697),o=a.n(r),i=a(97722),s=a(81749),u=a(21276),l=a(44362),d=a(74806),p=a(50558),f=a(41609),h=a.n(f),m=a(18446),v=a.n(m),g=a(35937),y=a.n(g),b=a(1024),w=a.n(b),O=a(56746),x=a(54563),k=a(9538),S=a(37695),Z=a(1825),P=a(82910),j=a(44845),E=a(97890),_=a(6770),D=a(47369),C="SET_ENTITY_NAME",T="SET_FORM_BASE",R="SET_SCROLL_BEHAVIOUR",A="root/SET_APP_ID",I=function(e){return{type:T,payload:{formBase:e}}},M=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return D.Z.getDispatchActions(e,N,t)},N=[{name:"entityName",action:function(e){return{type:C,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:I,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:I,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:R,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:A,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],F=a(58267),L=a(64687),H=a.n(L),U=a(24970),B=a(78907),W=a(6766),V=(e={},(0,n.Z)(e,W.zg,B.Z.singleTransferReducer("formTouched")),(0,n.Z)(e,W.zJ,B.Z.singleTransferReducer("detailParams")),e),z={detailParams:void 0,formTouched:!1};var Y=a(72007);function q(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 G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?q(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=G({},e)})),e.relations.forEach((function(e){t[e.relationName]=G({type:"relation"},e)})),t};function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K;return H().mark((function n(){var r;return H().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,U.RE)(Y.Z.requestSaga,"entities/".concat(e,"/model"));case 2:return r=n.sent,n.next=5,(0,U.RE)(t,r.body);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)}))()}var X={CREATE:"create",UPDATE:"update"};const Q={modes:X,getMode:function(e){return void 0===e?X.CREATE:X.UPDATE}};const J=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 ee=function(e,t){return 0!==t.length||(!e||isNaN(e))};var te=H().mark(ae),ne=H().mark(ce),re=H().mark(ue),oe=function(e){return e.entityBrowser},ie=function(e){return e.input};function ae(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.$6)([(0,U.Fm)(W.tQ,se),(0,U.Fm)(W.eI,ce)]);case 2:case"end":return e.stop()}}),te)}function ce(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.gz)(W.Ek(void 0));case 2:case"end":return e.stop()}}),ne)}function se(e){var t=e.payload;return H().mark((function e(){var n,r,o,i,a,c,s,u,l,d,p,f,h,m;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.RE)(J,t.url);case 2:return n=e.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,e.next=8,(0,U.Ys)(oe);case 8:return a=e.sent,c=a.entityName,s=a.formBase,e.next=13,(0,U.RE)(Q.getMode,o);case 13:if(u=e.sent,l=c,d=s,!(r&&r.length>0)){e.next=21;break}return e.next=19,(0,U.RE)(ue,c,r);case 19:l=e.sent,d="".concat(s,"_").concat(l);case 21:return e.next=23,(0,U.Ys)(ie);case 23:return p=e.sent,f=p.initialKey,e.next=27,(0,U.RE)(ee,f,r);case 27:return h=e.sent,m={mode:u,entityId:o,entityName:l,formName:d,parentUrl:i,showBackButton:h},e.next=31,(0,U.gz)(W.Ek(m));case 31:case"end":return e.stop()}}),e)}))()}function ue(e,t){var n,r,o,i,a;return H().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=e,c.next=3,(0,U.RE)($,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,U.RE)($,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()}}),re)}var le=H().mark(de);function de(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.$6)([(0,U.rM)(ae)]);case 2:case"end":return e.stop()}}),le)}const pe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0,n=V[t.type];return n?n(e,t):e};var fe;function he(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 r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ve=(fe={},(0,n.Z)(fe,C,B.Z.singleTransferReducer("entityName")),(0,n.Z)(fe,T,(function(e,t){var n=t.payload.formBase;return n?me(me({},e),{},{formBase:n}):me({},e)})),(0,n.Z)(fe,R,B.Z.singleTransferReducer("scrollBehaviour")),(0,n.Z)(fe,A,B.Z.singleTransferReducer("appId")),fe),ge={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var ye=H().mark(we),be=H().mark(Oe);function we(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.$6)([(0,U.RE)(Oe)]);case 2:case"end":return e.stop()}}),ye)}function Oe(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.qn)(t.Z.INPUT_INITIALIZED);case 2:return e.next=4,(0,U.gz)(P.Z.doSessionCheck());case 4:case"end":return e.stop()}}),be)}var xe=H().mark(ke);function ke(){return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,U.$6)([(0,U.rM)(we)]);case 2:case"end":return e.stop()}}),xe)}const Se=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ge,t=arguments.length>1?arguments[1]:void 0,n=ve[t.type];return n?n(e,t):e},Ze={detail:pe,form:F.Z,entityBrowser:Se};var Pe,je,Ee=[ke,de],_e=a(85893);function De(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 Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Te="entity-browser",Re=["onVisibilityStatusChange"],Ae=w().lazy((function(){return Promise.all([a.e(461),a.e(912),a.e(240),a.e(290),a.e(44)]).then(a.bind(a,3044))})),Ie=function(){return Pe||(Pe=(0,_e.jsx)(b.Suspense,{fallback:"",children:(0,_e.jsx)(Ae,{})}))},Me=function(e,n,r,o){n=Ce(Ce({},n),{},{id:e}),u.Z.setInputEnvs(n);var a=t.Z.createStore(Ze,Ee,n,Te);i.Z.addToStore(a,(function(e){return t.Z.getEvents(Re,e.input)})),x.Z.addToStore(a),k.Z.dynamicActionsAddToStore(a),S.Z.addToStore(a,!0,["console","remote","notification"]),j.Z.addToStore(a,!0),P.Z.addToStore(a);var c=Z.Z.createHistory(a,n.memoryHistory);!function(e,t){var n=t.initialKey;if(n&&!isNaN(n)&&!e.location.pathname.match(/\/detail\/[0-9]*/)){var r="/detail/".concat(n);e.push(r)}var o=t.initialAction;if(o&&o.name){var i="/action/".concat(o.name,"?").concat(E.Z.toQueryString(o.properties));e.push(i)}}(c,n);var s=(0,_e.jsx)(O.F0,{history:c,children:je||(je=(0,_e.jsx)(Ie,{}))});return t.Z.createApp(Te,s,a,{input:n,actions:M(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},Ne=function(e){var n=t.Z.useApp({initApp:Me,props:e,packageName:Te}),r=n.component,o=n.store,i=_.Z.usePrevious(e);return _.Z.useDidUpdate((function(){var t=y()(e,(function(e,t){return!v()(e,i[t])}));h()(t)||M(t,!1).forEach((function(e){o.dispatch(e)}))}),[e]),(0,_e.jsx)(_e.Fragment,{children:r})};Ne.propTypes=Ce({entityName:o().string.isRequired,searchFormType:s.b,formBase:o().string,limit:o().oneOfType([o().number,o().string]),preselectedSearchFields:o().array,searchFilters:o().arrayOf(o().string),simpleSearchFields:o().string,initialKey:o().string,initialAction:o().shape({name:o().string,properties:o().objectOf(o().object)}),businessUnit:o().string,memoryHistory:o().bool,backendUrl:o().string,scrollBehaviour:o().oneOf(["none","inline"]),appContext:l.Z.propTypes,modifyFormDefinition:o().func,modifyEntityPaths:o().func,disableDetailView:o().bool,reportIds:o().arrayOf(o().string),customActionEventHandlers:o().objectOf(o().objectOf(o().func))},i.Z.createPropTypes(Re));const Fe=Ne;t.Z.createBundleableApp(Te,Me,Ne);var Le=a(48901);const He=function(e){var t=e.allowCreate,n=e.reportIds,r=e.searchFilters,o=e.searchFormType,i=e.limit,a=e.backendUrl,c=e.businessUnit,s=e.appContext,u=e.onVisibilityStatusChange,l=e.intl;return(0,_e.jsx)(Fe,{entityName:"Wage",formBase:"Wage_view",searchFormType:o,searchFilters:r,limit:i,modifyFormDefinition:function(e){return function(e,t,n){return t?Le.Z.addCreate(e,n):Le.Z.removeActions(e,["new","copy"])}(e,t,l)},backendUrl:a,businessUnit:c,appContext:s,reportIds:n,onVisibilityStatusChange:u})};const Ue=(0,p.connect)((function(e){return{reportIds:e.input.reportIds,allowCreate:e.input.allowCreate,searchFilters:e.input.searchFilters,limit:e.input.limit,backendUrl:e.input.backendUrl,businessUnit:e.input.businessUnit,appContext:e.input.appContext,searchFormType:e.input.searchFormType,onVisibilityStatusChange:e.input.onVisibilityStatusChange}}),{})((0,d.ZP)(He));var Be;function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ve="wage-view",ze=function(e,n,r,o){u.Z.setInputEnvs(n);var i=Be||(Be=(0,_e.jsx)(Ue,{})),a=t.Z.createStore({},null,n,Ve);return t.Z.createApp(Ve,i,a,{input:n,events:r,actions:[],publicPath:o,textResourceModules:["component","common","actions",Ve]})},Ye=function(e){var n=t.Z.useApp({initApp:ze,props:e,packageName:Ve}).component;return(0,_e.jsx)(_e.Fragment,{children:n})};Ye.propTypes=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?We(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({allowCreate:o().bool,reportIds:o().arrayOf(o().string).isRequired,searchFilters:o().arrayOf(o().string),searchFormType:s.b,limit:o().oneOfType([o().number,o().string]),backendUrl:o().string,businessUnit:o().string,appContext:l.Z.propTypes.isRequired},i.Z.createPropTypes(["onVisibilityStatusChange"]));var qe=t.Z.createBundleableApp(Ve,ze,Ye);t.Z.registerAppInRegistry(qe.name,qe.init)})(),c})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tocco-widget-bundle",
3
- "version": "3.8.1",
3
+ "version": "3.8.2",
4
4
  "description": "",
5
5
  "license": "AGPL-3.0+",
6
6
  "scripts": {
@@ -1,8 +0,0 @@
1
- (self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[164],{47556:(e,t,r)=>{var n=r(88668),o=r(47443),i=r(1196),s=r(29932),a=r(7518),c=r(74757),l=Math.min;e.exports=function(e,t,r){for(var h=r?i:o,u=e[0].length,d=e.length,p=d,f=Array(d),g=1/0,m=[];p--;){var v=e[p];p&&t&&(v=s(v,a(t))),g=l(v.length,g),f[p]=!r&&(t||u>=120&&v.length>=120)?new n(p&&v):void 0}v=e[0];var E=-1,w=f[0];e:for(;++E<u&&m.length<g;){var y=v[E],C=t?t(y):y;if(y=r||0!==y?y:0,!(w?c(w,C):h(m,C,r))){for(p=d;--p;){var R=f[p];if(!(R?c(R,C):h(e[p],C,r)))continue e}w&&w.push(C),m.push(y)}}return m}},24387:(e,t,r)=>{var n=r(29246);e.exports=function(e){return n(e)?e:[]}},71843:(e,t,r)=>{var n=r(29932),o=r(47556),i=r(67206),s=r(5976),a=r(24387),c=r(10928),l=s((function(e){var t=c(e),r=n(e,a);return t===c(r)?t=void 0:r.pop(),r.length&&r[0]===e[0]?o(r,i(t,2)):[]}));e.exports=l},77043:(e,t,r)=>{var n=r(21078),o=r(67206),i=r(5976),s=r(45652),a=r(29246),c=r(10928),l=i((function(e){var t=c(e);return a(t)&&(t=void 0),s(n(e,1,a,!0),o(t,2))}));e.exports=l},84059:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>I});var n,o=r(1024),i=r.n(o),s=Object.defineProperty,a=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&h(e,r,t[r]);if(a)for(var r of a(t))l.call(t,r)&&h(e,r,t[r]);return e},d=(e,t)=>{var r={};for(var n in e)c.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&a)for(var n of a(e))t.indexOf(n)<0&&l.call(e,n)&&(r[n]=e[n]);return r};(e=>{const t=class{constructor(e,r,n,o){if(this.version=e,this.errorCorrectionLevel=r,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 s=[];for(let e=0;e<this.size;e++)s.push(!1);for(let e=0;e<this.size;e++)this.modules.push(s.slice()),this.isFunction.push(s.slice());this.drawFunctionPatterns();const a=this.addEccAndInterleave(n);if(this.drawCodewords(a),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const r=this.getPenaltyScore();r<e&&(o=t,e=r),this.applyMask(t)}}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(r,n){const o=e.QrSegment.makeSegments(r);return t.encodeSegments(o,n)}static encodeBinary(r,n){const o=e.QrSegment.makeBytes(r);return t.encodeSegments([o],n)}static encodeSegments(e,r,o=1,s=40,c=-1,l=!0){if(!(t.MIN_VERSION<=o&&o<=s&&s<=t.MAX_VERSION)||c<-1||c>7)throw new RangeError("Invalid value");let h,u;for(h=o;;h++){const n=8*t.getNumDataCodewords(h,r),o=a.getTotalBits(e,h);if(o<=n){u=o;break}if(h>=s)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])l&&u<=8*t.getNumDataCodewords(h,e)&&(r=e);let d=[];for(const t of e){n(t.mode.modeBits,4,d),n(t.numChars,t.mode.numCharCountBits(h),d);for(const e of t.getData())d.push(e)}i(d.length==u);const p=8*t.getNumDataCodewords(h,r);i(d.length<=p),n(0,Math.min(4,p-d.length),d),n(0,(8-d.length%8)%8,d),i(d.length%8==0);for(let e=236;d.length<p;e^=253)n(e,8,d);let f=[];for(;8*f.length<d.length;)f.push(0);return d.forEach(((e,t)=>f[t>>>3]|=e<<7-(7&t))),new t(h,r,f,c)}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 r=0;r<t;r++)for(let n=0;n<t;n++)0==r&&0==n||0==r&&n==t-1||r==t-1&&0==n||this.drawAlignmentPattern(e[r],e[n]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let r=t;for(let e=0;e<10;e++)r=r<<1^1335*(r>>>9);const n=21522^(t<<10|r);i(n>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(n,e));this.setFunctionModule(8,7,o(n,6)),this.setFunctionModule(8,8,o(n,7)),this.setFunctionModule(7,8,o(n,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(n,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(n,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(n,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;i(t>>>18==0);for(let e=0;e<18;e++){const r=o(t,e),n=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(n,i,r),this.setFunctionModule(i,n,r)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){const o=Math.max(Math.abs(n),Math.abs(r)),i=e+n,s=t+r;0<=i&&i<this.size&&0<=s&&s<this.size&&this.setFunctionModule(i,s,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!=Math.max(Math.abs(n),Math.abs(r)))}setFunctionModule(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}addEccAndInterleave(e){const r=this.version,n=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(r,n))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][r],s=t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][r],a=Math.floor(t.getNumRawDataModules(r)/8),c=o-a%o,l=Math.floor(a/o);let h=[];const u=t.reedSolomonComputeDivisor(s);for(let r=0,n=0;r<o;r++){let o=e.slice(n,n+l-s+(r<c?0:1));n+=o.length;const i=t.reedSolomonComputeRemainder(o,u);r<c&&o.push(0),h.push(o.concat(i))}let d=[];for(let e=0;e<h[0].length;e++)h.forEach(((t,r)=>{(e!=l-s||r>=c)&&d.push(t[e])}));return i(d.length==a),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let r=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let n=0;n<this.size;n++)for(let i=0;i<2;i++){const s=t-i,a=0==(t+1&2)?this.size-1-n:n;!this.isFunction[a][s]&&r<8*e.length&&(this.modules[a][s]=o(e[r>>>3],7-(7&r)),r++)}}i(r==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 r=0;r<this.size;r++){let n;switch(e){case 0:n=(r+t)%2==0;break;case 1:n=t%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+t)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:n=r*t%2+r*t%3==0;break;case 6:n=(r*t%2+r*t%3)%2==0;break;case 7:n=((r+t)%2+r*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][r]&&n&&(this.modules[t][r]=!this.modules[t][r])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let n=!1,o=0,i=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[r][s]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),n||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),n=this.modules[r][s],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,i)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let n=!1,o=0,i=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[s][r]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),n||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),n=this.modules[s][r],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,i)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let n=0;n<this.size-1;n++){const o=this.modules[r][n];o==this.modules[r][n+1]&&o==this.modules[r+1][n]&&o==this.modules[r+1][n+1]&&(e+=t.PENALTY_N2)}let r=0;for(const e of this.modules)r=e.reduce(((e,t)=>e+(t?1:0)),r);const n=this.size*this.size,o=Math.ceil(Math.abs(20*r-10*n)/n)-1;return i(0<=o&&o<=9),e+=o*t.PENALTY_N4,i(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 r=[6];for(let n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let r=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;r-=(25*t-10)*t-55,e>=7&&(r-=36)}return i(208<=r&&r<=29648),r}static getNumDataCodewords(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let r=[];for(let t=0;t<e-1;t++)r.push(0);r.push(1);let n=1;for(let o=0;o<e;o++){for(let e=0;e<r.length;e++)r[e]=t.reedSolomonMultiply(r[e],n),e+1<r.length&&(r[e]^=r[e+1]);n=t.reedSolomonMultiply(n,2)}return r}static reedSolomonComputeRemainder(e,r){let n=r.map((e=>0));for(const o of e){const e=o^n.shift();n.push(0),r.forEach(((r,o)=>n[o]^=t.reedSolomonMultiply(r,e)))}return n}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let r=0;for(let n=7;n>=0;n--)r=r<<1^285*(r>>>7),r^=(t>>>n&1)*e;return i(r>>>8==0),r}finderPenaltyCountPatterns(e){const t=e[1];i(t<=3*this.size);const r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let r=t;function n(e,t,r){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let n=t-1;n>=0;n--)r.push(e>>>n&1)}function o(e,t){return 0!=(e>>>t&1)}function i(e){if(!e)throw new Error("Assertion error")}r.MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.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]],r.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=r;const s=class{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(e){let t=[];for(const r of e)n(r,8,t);return new s(s.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!s.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let r=0;r<e.length;){const o=Math.min(e.length-r,3);n(parseInt(e.substr(r,o),10),3*o+1,t),r+=o}return new s(s.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!s.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,r=[];for(t=0;t+2<=e.length;t+=2){let o=45*s.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=s.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),n(o,11,r)}return t<e.length&&n(s.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,r),new s(s.Mode.ALPHANUMERIC,e.length,r)}static makeSegments(e){return""==e?[]:s.isNumeric(e)?[s.makeNumeric(e)]:s.isAlphanumeric(e)?[s.makeAlphanumeric(e)]:[s.makeBytes(s.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)n(e,8,t);else if(e<16384)n(2,2,t),n(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");n(6,3,t),n(e,21,t)}return new s(s.Mode.ECI,0,t)}static isNumeric(e){return s.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return s.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let r=0;for(const n of e){const e=n.mode.numCharCountBits(t);if(n.numChars>=1<<e)return 1/0;r+=4+e+n.bitData.length}return r}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substr(r+1,2),16)),r+=2);return t}};let a=s;a.NUMERIC_REGEX=/^[0-9]*$/,a.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,a.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=a})(n||(n={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let r=t;r.LOW=new t(0,1),r.MEDIUM=new t(1,0),r.QUARTILE=new t(2,3),r.HIGH=new t(3,2),e.Ecc=r})(t=e.QrCode||(e.QrCode={}))})(n||(n={})),(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 r=t;r.NUMERIC=new t(1,[10,12,14]),r.ALPHANUMERIC=new t(2,[9,11,13]),r.BYTE=new t(4,[8,16,16]),r.KANJI=new t(8,[8,10,12]),r.ECI=new t(7,[0,0,0]),e.Mode=r})(t=e.QrSegment||(e.QrSegment={}))})(n||(n={}));var p=n,f={L:p.QrCode.Ecc.LOW,M:p.QrCode.Ecc.MEDIUM,Q:p.QrCode.Ecc.QUARTILE,H:p.QrCode.Ecc.HIGH},g=128,m="L",v="#FFFFFF",E="#000000",w=!1,y=4,C=.1;
2
- /**
3
- * @license qrcode.react
4
- * Copyright (c) Paul O'Shannessy
5
- * SPDX-License-Identifier: ISC
6
- */function R(e,t=0){const r=[];return e.forEach((function(e,n){let o=null;e.forEach((function(i,s){if(!i&&null!==o)return r.push(`M${o+t} ${n+t}h${s-o}v1H${o+t}z`),void(o=null);if(s!==e.length-1)i&&null===o&&(o=s);else{if(!i)return;null===o?r.push(`M${s+t},${n+t} h1v1H${s+t}z`):r.push(`M${o+t},${n+t} h${s+1-o}v1H${o+t}z`)}}))})),r.join("")}function b(e,t){return e.slice().map(((e,r)=>r<t.y||r>=t.y+t.h?e:e.map(((e,r)=>(r<t.x||r>=t.x+t.w)&&e))))}function M(e,t,r,n){if(null==n)return null;const o=r?y:0,i=e.length+2*o,s=Math.floor(t*C),a=i/t,c=(n.width||s)*a,l=(n.height||s)*a,h=null==n.x?e.length/2-c/2:n.x*a,u=null==n.y?e.length/2-l/2:n.y*a;let d=null;if(n.excavate){let e=Math.floor(h),t=Math.floor(u);d={x:e,y:t,w:Math.ceil(c+h-e),h:Math.ceil(l+u-t)}}return{x:h,y:u,h:l,w:c,excavation:d}}var _=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function O(e){const t=e,{value:r,size:n=g,level:s=m,bgColor:a=v,fgColor:c=E,includeMargin:l=w,style:h,imageSettings:C}=t,O=d(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),x=null==C?void 0:C.src,I=(0,o.useRef)(null),N=(0,o.useRef)(null),[A,P]=(0,o.useState)(!1);(0,o.useEffect)((()=>{if(null!=I.current){const e=I.current,t=e.getContext("2d");if(!t)return;let o=p.QrCode.encodeText(r,f[s]).getModules();const i=l?y:0,h=o.length+2*i,u=M(o,n,l,C),d=N.current,g=null!=u&&null!==d&&d.complete&&0!==d.naturalHeight&&0!==d.naturalWidth;g&&null!=u.excavation&&(o=b(o,u.excavation));const m=window.devicePixelRatio||1;e.height=e.width=n*m;const v=n/h*m;t.scale(v,v),t.fillStyle=a,t.fillRect(0,0,h,h),t.fillStyle=c,_?t.fill(new Path2D(R(o,i))):o.forEach((function(e,r){e.forEach((function(e,n){e&&t.fillRect(n+i,r+i,1,1)}))})),g&&t.drawImage(d,u.x+i,u.y+i,u.w,u.h)}})),(0,o.useEffect)((()=>{P(!1)}),[x]);const S=u({height:n,width:n},h);let L=null;return null!=x&&(L=i().createElement("img",{src:x,key:x,style:{display:"none"},onLoad:()=>{P(!0)},ref:N})),i().createElement(i().Fragment,null,i().createElement("canvas",u({style:S,height:n,width:n,ref:I},O)),L)}function x(e){const t=e,{value:r,size:n=g,level:o=m,bgColor:s=v,fgColor:a=E,includeMargin:c=w,imageSettings:l}=t,h=d(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let C=p.QrCode.encodeText(r,f[o]).getModules();const _=c?y:0,O=C.length+2*_,x=M(C,n,c,l);let I=null;null!=l&&null!=x&&(null!=x.excavation&&(C=b(C,x.excavation)),I=i().createElement("image",{xlinkHref:l.src,height:x.h,width:x.w,x:x.x+_,y:x.y+_,preserveAspectRatio:"none"}));const N=R(C,_);return i().createElement("svg",u({height:n,width:n,viewBox:`0 0 ${O} ${O}`},h),i().createElement("path",{fill:s,d:`M0,0 h${O}v${O}H0z`,shapeRendering:"crispEdges"}),i().createElement("path",{fill:a,d:N,shapeRendering:"crispEdges"}),I)}var I=e=>{const t=e,{renderAs:r}=t,n=d(t,["renderAs"]);return"svg"===r?i().createElement(x,u({},n)):i().createElement(O,u({},n))}},60046:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(1024),o=r(9657),i=r.n(o),s=r(8679),a=r.n(s);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}var l={},h=0;function u(e,t){return t=t||{},function(r){var o=r.displayName||r.name||"Component",s=function(o){var i,s;function a(e,t){var r;return(r=o.call(this,e,t)||this).state={},r.__scriptURL="",r}s=o,(i=a).prototype=Object.create(s.prototype),i.prototype.constructor=i,i.__proto__=s;var c=a.prototype;return c.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+h++),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=l[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var r in e.observers)e.observers[r](e);delete window[t.callbackName]},c.componentDidMount=function(){var e=this,r=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),o=t,i=o.globalName,s=o.callbackName,a=o.scriptId;if(i&&void 0!==window[i]&&(l[r]={loaded:!0,observers:{}}),l[r]){var c=l[r];return c&&(c.loaded||c.errored)?void this.asyncScriptLoaderHandleLoad(c):void(c.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var h={};h[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},l[r]={loaded:!1,observers:h};var u=document.createElement("script");for(var d in u.src=r,u.async=!0,t.attributes)u.setAttribute(d,t.attributes[d]);a&&(u.id=a);var p=function(e){if(l[r]){var t=l[r].observers;for(var n in t)e(t[n])&&delete t[n]}};s&&"undefined"!=typeof window&&(window[s]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=l[r];e&&(e.loaded=!0,p((function(t){return!s&&(t(e),!0)})))},u.onerror=function(){var e=l[r];e&&(e.errored=!0,p((function(t){return t(e),!0})))},document.body.appendChild(u)},c.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var r=document.getElementsByTagName("script"),n=0;n<r.length;n+=1)r[n].src.indexOf(e)>-1&&r[n].parentNode&&r[n].parentNode.removeChild(r[n]);var o=l[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete l[e])},c.render=function(){var e=t.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),s=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(o,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(s[e]=void 0!==window[e]?window[e]:void 0),s.ref=i,(0,n.createElement)(r,s)},a}(n.Component),u=(0,n.forwardRef)((function(e,t){return(0,n.createElement)(s,c({},e,{forwardedRef:t}))}));return u.displayName="AsyncScriptLoader("+o+")",u.propTypes={asyncScriptOnLoad:i().func},a()(u,r)}}},36104:(e,t,r)=>{"use strict";var n=r(82637);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,s){if(s!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},9657:(e,t,r)=>{e.exports=r(36104)()},82637:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64529:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(30763);r(61645);const o=n.Z},30763:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(61645),o=r(60046),i="onloadcallback";function s(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}const a=(0,o.Z)((function(){var e=s(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+i+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+i+"&render=explicit"}),{callbackName:i,globalName:"grecaptcha",attributes:s().nonce?{nonce:s().nonce}:{}})(n.Z)},61645:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n=r(1024),o=r(99860),i=r.n(o),s=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}var h=function(e){var t,r;function o(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(c(t)),t.handleErrored=t.handleErrored.bind(c(t)),t.handleChange=t.handleChange.bind(c(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(c(t)),t}r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,l(t,r);var i=o.prototype;return i.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},i.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise((function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()}))},i.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},i.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{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,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.handleRecaptchaRef=function(e){this.captcha=e},i.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,e.isolated,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,s));return n.createElement("div",a({},t,{ref:this.handleRecaptchaRef}))},o}(n.Component);h.displayName="ReCAPTCHA",h.propTypes={sitekey:i().string.isRequired,onChange:i().func,grecaptcha:i().object,theme:i().oneOf(["dark","light"]),type:i().oneOf(["image","audio"]),tabindex:i().number,onExpired:i().func,onErrored:i().func,size:i().oneOf(["compact","normal","invisible"]),stoken:i().string,hl:i().string,badge:i().oneOf(["bottomright","bottomleft","inline"]),isolated:i().bool},h.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"}},93485:(e,t,r)=>{"use strict";var n=r(34072);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,s){if(s!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},99860:(e,t,r)=>{e.exports=r(93485)()},34072:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},31955:(e,t,r)=>{"use strict";
7
- /*! js-cookie v3.0.5 | MIT */
8
- function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}r.d(t,{Z:()=>o});var o=function e(t,r){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=n({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in i)i[a]&&(s+="; "+a,!0!==i[a]&&(s+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+s}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(n[a]=t.read(s,a),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){o(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}}]);