@everymatrix/general-registration 1.57.0 → 1.59.0

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.
Files changed (17) hide show
  1. package/dist/cjs/checkbox-group-input_13.cjs.entry.js +784 -778
  2. package/dist/esm/checkbox-group-input_13.entry.js +784 -778
  3. package/dist/general-registration/general-registration.esm.js +1 -1
  4. package/dist/general-registration/{p-fb47e4cb.entry.js → p-7cdd3034.entry.js} +61 -61
  5. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
  6. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
  7. package/package.json +1 -1
  8. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
  9. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
  10. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  11. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
  12. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/main.d.ts +0 -0
  13. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/preview.d.ts +0 -0
  14. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
  15. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  16. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  17. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -20,7 +20,8 @@ const TRANSLATIONS$1 = {
20
20
  "MustContainCapital": "Password must include a capital letter",
21
21
  "MustIncludePunctation": "Password must include punctuation",
22
22
  "OnlyNumbers": "Should contains only numbers.",
23
- "InvalidFieldSize": "The length must be exactly 11 digits."
23
+ "InvalidFieldSize": "The length must be exactly 11 digits.",
24
+ "InvalidDocumentNumber": "Only numerical characters are allowed."
24
25
  },
25
26
  "hu": {
26
27
  "dateError": "A választott dátumnak {min} és {max} között kell lennie",
@@ -39,7 +40,8 @@ const TRANSLATIONS$1 = {
39
40
  "MustContainCapital": "A jelszónak tartalmaznia kell egy nagybetűt",
40
41
  "MustIncludePunctation": "A jelszónak tartalmaznia kell írásjelet",
41
42
  "OnlyNumbers": "Csak számokat kell tartalmaznia.",
42
- "InvalidFieldSize": "A hosszúságnak pontosan 11 számjegynek kell lennie."
43
+ "InvalidFieldSize": "A hosszúságnak pontosan 11 számjegynek kell lennie.",
44
+ "InvalidDocumentNumber": "Csak számjegyek engedélyezettek.",
43
45
  },
44
46
  "hr": {
45
47
  "dateError": "Odabrani datum treba biti između {min} i {max}",
@@ -59,7 +61,8 @@ const TRANSLATIONS$1 = {
59
61
  "MustContainCapital": "Lozinka mora sadržavati veliko slovo",
60
62
  "MustIncludePunctation": "Lozinka mora sadržavati barem jedan znak",
61
63
  "OnlyNumbers": "Treba sadržavati samo brojeve.",
62
- "InvalidFieldSize": "Dužina mora biti točno 11 znamenki."
64
+ "InvalidFieldSize": "Dužina mora biti točno 11 znamenki.",
65
+ "InvalidDocumentNumber": "Dopušteni su samo numerički znakovi."
63
66
  },
64
67
  "tr": {
65
68
  "dateError": "Seçilen tarih {min} ve {max} arasında olmalıdır",
@@ -79,7 +82,8 @@ const TRANSLATIONS$1 = {
79
82
  "MustContainCapital": "büyük harf içermelidir",
80
83
  "MustIncludePunctation": "noktalama işareti içermelidir",
81
84
  "OnlyNumbers": "Sadece sayılar içermelidir.",
82
- "InvalidFieldSize": "Uzunluk tam olarak 11 rakam olmalıdır."
85
+ "InvalidFieldSize": "Uzunluk tam olarak 11 rakam olmalıdır.",
86
+ "InvalidDocumentNumber": "Sadece sayısal karakterlere izin verilir."
83
87
  },
84
88
  "pt-br": {
85
89
  "dateError": "A data selecionada deve estar entre {min} e {max}",
@@ -99,7 +103,8 @@ const TRANSLATIONS$1 = {
99
103
  "MustContainCapital": "A senha deve incluir uma letra maiúscula",
100
104
  "MustIncludePunctation": "A senha deve incluir um sinal de pontuação",
101
105
  "OnlyNumbers": "Deve conter apenas números",
102
- "InvalidFieldSize": "O comprimento deve ser exatamente 11 dígitos."
106
+ "InvalidFieldSize": "O comprimento deve ser exatamente 11 dígitos.",
107
+ "InvalidDocumentNumber": "Apenas caracteres numéricos são permitidos."
103
108
  },
104
109
  "es-mx": {
105
110
  "dateError": "La fecha seleccionada debe ser entre {min} y {max}",
@@ -119,7 +124,8 @@ const TRANSLATIONS$1 = {
119
124
  "MustContainCapital": "La contraseña debe incluir una letra mayúscula",
120
125
  "MustIncludePunctation": "La contraseña debe incluir un signo de puntuación",
121
126
  "OnlyNumbers": "Solo debe contener números",
122
- "InvalidFieldSize": "La longitud debe ser exactamente de 11 dígitos."
127
+ "InvalidFieldSize": "La longitud debe ser exactamente de 11 dígitos.",
128
+ "InvalidDocumentNumber": "Solo se permiten caracteres numéricos."
123
129
  }
124
130
  };
125
131
  const translate$2 = (key, customLang, values) => {
@@ -157,7 +163,7 @@ const tooltipIconSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD
157
163
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
158
164
  */
159
165
 
160
- function defineCustomElement(CustomElement, version = '24.5.10') {
166
+ function defineCustomElement(CustomElement, version = '24.5.11') {
161
167
  Object.defineProperty(CustomElement, 'version', {
162
168
  get() {
163
169
  return version;
@@ -218,7 +224,7 @@ const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
218
224
  * Copyright 2017 Google LLC
219
225
  * SPDX-License-Identifier: BSD-3-Clause
220
226
  */
221
- const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$1,n=`<${o}>`,r$2=document,l=()=>r$2.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A=new WeakMap,C=r$2.createTreeWalker(r$2,129);function P$1(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$2.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$2).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$2,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N$1(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j$1=t.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
227
+ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$1,n=`<${o}>`,r$2=document,l=()=>r$2.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$2=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A=new WeakMap,C=r$2.createTreeWalker(r$2,129);function P$1(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$2.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$2).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$2,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N$1(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j$1=t.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
222
228
 
223
229
  /**
224
230
  * @license
@@ -32281,7 +32287,7 @@ function _t$1(t, e, n) {
32281
32287
  t.$$.on_destroy.push(D$1(e, n));
32282
32288
  }
32283
32289
  function gt$1(t) {
32284
- return t ?? "";
32290
+ return t;
32285
32291
  }
32286
32292
  function G(t, e) {
32287
32293
  t.appendChild(e);
@@ -32290,7 +32296,7 @@ function I(t, e, n) {
32290
32296
  const s = F(t);
32291
32297
  if (!s.getElementById(e)) {
32292
32298
  const i = w$1("style");
32293
- i.id = e, i.textContent = n, J$1(s, i);
32299
+ i.id = e, i.textContent = n, J(s, i);
32294
32300
  }
32295
32301
  }
32296
32302
  function F(t) {
@@ -32303,14 +32309,14 @@ function F(t) {
32303
32309
  e
32304
32310
  ) : t.ownerDocument;
32305
32311
  }
32306
- function J$1(t, e) {
32312
+ function J(t, e) {
32307
32313
  return G(
32308
32314
  /** @type {Document} */
32309
32315
  t.head || t,
32310
32316
  e
32311
32317
  ), e.sheet;
32312
32318
  }
32313
- function v(t, e, n) {
32319
+ function k(t, e, n) {
32314
32320
  t.insertBefore(e, n || null);
32315
32321
  }
32316
32322
  function y(t) {
@@ -32352,7 +32358,7 @@ function Et$1(t, e) {
32352
32358
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
32353
32359
  e);
32354
32360
  }
32355
- class Lt {
32361
+ class Lt$1 {
32356
32362
  /**
32357
32363
  * @private
32358
32364
  * @default false
@@ -32407,7 +32413,7 @@ class Lt {
32407
32413
  * @returns {void} */
32408
32414
  i(e) {
32409
32415
  for (let n = 0; n < this.n.length; n += 1)
32410
- v(this.t, this.n[n], e);
32416
+ k(this.t, this.n[n], e);
32411
32417
  }
32412
32418
  /**
32413
32419
  * @param {string} html
@@ -32422,7 +32428,7 @@ class Lt {
32422
32428
  this.n.forEach(y);
32423
32429
  }
32424
32430
  }
32425
- function K$1(t) {
32431
+ function K(t) {
32426
32432
  const e = {};
32427
32433
  return t.childNodes.forEach(
32428
32434
  /** @param {Element} node */
@@ -32435,23 +32441,23 @@ let g;
32435
32441
  function m(t) {
32436
32442
  g = t;
32437
32443
  }
32438
- function Q() {
32444
+ function Q$1() {
32439
32445
  if (!g)
32440
32446
  throw new Error("Function called outside component initialization");
32441
32447
  return g;
32442
32448
  }
32443
32449
  function W(t) {
32444
- Q().$$.on_mount.push(t);
32450
+ Q$1().$$.on_mount.push(t);
32445
32451
  }
32446
32452
  const h = [], E = [];
32447
- let $ = [];
32453
+ let $$1 = [];
32448
32454
  const j = [], X = /* @__PURE__ */ Promise.resolve();
32449
32455
  let L = !1;
32450
32456
  function Y$1() {
32451
32457
  L || (L = !0, X.then(_));
32452
32458
  }
32453
- function k(t) {
32454
- $.push(t);
32459
+ function v(t) {
32460
+ $$1.push(t);
32455
32461
  }
32456
32462
  const x = /* @__PURE__ */ new Set();
32457
32463
  let a = 0;
@@ -32463,51 +32469,51 @@ function _() {
32463
32469
  try {
32464
32470
  for (; a < h.length; ) {
32465
32471
  const e = h[a];
32466
- a++, m(e), Z(e.$$);
32472
+ a++, m(e), Z$1(e.$$);
32467
32473
  }
32468
32474
  } catch (e) {
32469
32475
  throw h.length = 0, a = 0, e;
32470
32476
  }
32471
32477
  for (m(null), h.length = 0, a = 0; E.length; )
32472
32478
  E.pop()();
32473
- for (let e = 0; e < $.length; e += 1) {
32474
- const n = $[e];
32479
+ for (let e = 0; e < $$1.length; e += 1) {
32480
+ const n = $$1[e];
32475
32481
  x.has(n) || (x.add(n), n());
32476
32482
  }
32477
- $.length = 0;
32483
+ $$1.length = 0;
32478
32484
  } while (h.length);
32479
32485
  for (; j.length; )
32480
32486
  j.pop()();
32481
32487
  L = !1, x.clear(), m(t);
32482
32488
  }
32483
- function Z(t) {
32489
+ function Z$1(t) {
32484
32490
  if (t.fragment !== null) {
32485
32491
  t.update(), p(t.before_update);
32486
32492
  const e = t.dirty;
32487
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
32493
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(v);
32488
32494
  }
32489
32495
  }
32490
- function tt$1(t) {
32496
+ function tt(t) {
32491
32497
  const e = [], n = [];
32492
- $.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $ = e;
32498
+ $$1.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $$1 = e;
32493
32499
  }
32494
- const et$1 = /* @__PURE__ */ new Set();
32500
+ const et = /* @__PURE__ */ new Set();
32495
32501
  function nt(t, e) {
32496
- t && t.i && (et$1.delete(t), t.i(e));
32502
+ t && t.i && (et.delete(t), t.i(e));
32497
32503
  }
32498
- function kt$1(t) {
32504
+ function vt$1(t) {
32499
32505
  return t?.length !== void 0 ? t : Array.from(t);
32500
32506
  }
32501
32507
  function st$1(t, e, n) {
32502
32508
  const { fragment: s, after_update: i } = t.$$;
32503
- s && s.m(e, n), k(() => {
32509
+ s && s.m(e, n), v(() => {
32504
32510
  const r = t.$$.on_mount.map(M).filter(O);
32505
32511
  t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
32506
- }), i.forEach(k);
32512
+ }), i.forEach(v);
32507
32513
  }
32508
- function it(t, e) {
32514
+ function it$1(t, e) {
32509
32515
  const n = t.$$;
32510
- n.fragment !== null && (tt$1(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
32516
+ n.fragment !== null && (tt(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
32511
32517
  }
32512
32518
  function rt(t, e) {
32513
32519
  t.$$.dirty[0] === -1 && (h.push(t), Y$1(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
@@ -32601,7 +32607,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
32601
32607
  * @param {HTMLElement} [anchor]
32602
32608
  */
32603
32609
  m: function(c, u) {
32604
- v(c, r, u);
32610
+ k(c, r, u);
32605
32611
  },
32606
32612
  d: function(c) {
32607
32613
  c && y(r);
@@ -32611,7 +32617,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
32611
32617
  };
32612
32618
  if (await Promise.resolve(), !this.$$cn || this.$$c)
32613
32619
  return;
32614
- const e = {}, n = K$1(this);
32620
+ const e = {}, n = K(this);
32615
32621
  for (const i of this.$$s)
32616
32622
  i in n && (e[i] = [t(i)]);
32617
32623
  for (const i of this.attributes) {
@@ -32698,7 +32704,7 @@ function b(t, e, n, s) {
32698
32704
  return e;
32699
32705
  }
32700
32706
  }
32701
- function ot(t, e, n, s, i, r) {
32707
+ function ot$1(t, e, n, s, i, r) {
32702
32708
  let o = class extends H$1 {
32703
32709
  constructor() {
32704
32710
  super(t, n, i), this.$$p_d = e;
@@ -32746,7 +32752,7 @@ class lt$1 {
32746
32752
  $$set = void 0;
32747
32753
  /** @returns {void} */
32748
32754
  $destroy() {
32749
- it(this, 1), this.$destroy = d;
32755
+ it$1(this, 1), this.$destroy = d;
32750
32756
  }
32751
32757
  /**
32752
32758
  * @template {Extract<keyof Events, string>} K
@@ -32788,7 +32794,7 @@ function dt$1(t, e) {
32788
32794
  console.error("There was an error while trying to load client styling from URL", s);
32789
32795
  });
32790
32796
  }
32791
- function at(t, e, n) {
32797
+ function at$1(t, e, n) {
32792
32798
  if (window.emMessageBus) {
32793
32799
  const s = document.createElement("style");
32794
32800
  window.emMessageBus.subscribe(e, (i) => {
@@ -32806,7 +32812,7 @@ function $t$1(t) {
32806
32812
  e = w$1("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
32807
32813
  },
32808
32814
  m(n, s) {
32809
- v(n, e, s), t[4](e);
32815
+ k(n, e, s), t[4](e);
32810
32816
  },
32811
32817
  p: d,
32812
32818
  i: d,
@@ -32831,7 +32837,7 @@ function mt$1(t, e, n) {
32831
32837
  t.$$.dirty & /*clientstyling, customStylingContainer*/
32832
32838
  3 && s && o && ft$1(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
32833
32839
  5 && i && o && dt$1(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
32834
- 9 && r && o && at(o, `${r}.Style`);
32840
+ 9 && r && o && at$1(o, `${r}.Style`);
32835
32841
  }, [
32836
32842
  o,
32837
32843
  s,
@@ -32875,29 +32881,29 @@ class R extends lt$1 {
32875
32881
  this.$$set({ mbsource: e }), _();
32876
32882
  }
32877
32883
  }
32878
- ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
32879
- const vt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32884
+ ot$1(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
32885
+ const kt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32880
32886
  __proto__: null,
32881
32887
  default: R
32882
32888
  }, Symbol.toStringTag, { value: "Module" }));
32883
32889
 
32884
- const GeneralAnimationLoadingBMZE178n = /*#__PURE__*/Object.freeze({
32890
+ const GeneralAnimationLoadingZTNd0X9B = /*#__PURE__*/Object.freeze({
32885
32891
  __proto__: null,
32886
- A: wt$1,
32887
- B: P,
32888
- C: Et$1,
32889
- D: xt$1,
32890
- G: vt$1,
32891
- H: Lt,
32892
+ A: gt$1,
32893
+ B: ft$1,
32894
+ C: dt$1,
32895
+ D: at$1,
32896
+ G: kt$1,
32897
+ H: Lt$1,
32892
32898
  S: lt$1,
32893
- a: z,
32899
+ a: D$1,
32894
32900
  b: ct$1,
32895
- c: ot,
32896
- d: V,
32897
- e: B$1,
32898
- f: v,
32899
- g: G,
32900
- h: y,
32901
+ c: ot$1,
32902
+ d: y,
32903
+ e: k,
32904
+ f: G,
32905
+ g: V,
32906
+ h: B$1,
32901
32907
  i: O,
32902
32908
  j: _,
32903
32909
  k: I,
@@ -32905,37 +32911,37 @@ const GeneralAnimationLoadingBMZE178n = /*#__PURE__*/Object.freeze({
32905
32911
  m: _t$1,
32906
32912
  n: d,
32907
32913
  o: W,
32908
- p: dt$1,
32909
- q: gt$1,
32914
+ p: E,
32915
+ q: xt$1,
32910
32916
  r: p,
32911
- s: D$1,
32912
- t: E,
32913
- u: ft$1,
32914
- v: at,
32915
- w: kt$1,
32916
- x: bt$1,
32917
+ s: z,
32918
+ t: Et$1,
32919
+ u: P,
32920
+ v: vt$1,
32921
+ w: bt$1,
32922
+ x: wt$1,
32917
32923
  y: pt$1,
32918
32924
  z: yt$1
32919
32925
  });
32920
32926
 
32921
- const K = [];
32922
- function Dr(e, t) {
32927
+ const Y = [];
32928
+ function Lr(e, t) {
32923
32929
  return {
32924
- subscribe: Ne(e, t).subscribe
32930
+ subscribe: we(e, t).subscribe
32925
32931
  };
32926
32932
  }
32927
- function Ne(e, t = d) {
32933
+ function we(e, t = d) {
32928
32934
  let r;
32929
32935
  const n = /* @__PURE__ */ new Set();
32930
32936
  function i(s) {
32931
32937
  if (z(e, s) && (e = s, r)) {
32932
- const h = !K.length;
32938
+ const h = !Y.length;
32933
32939
  for (const u of n)
32934
- u[1](), K.push(u, e);
32940
+ u[1](), Y.push(u, e);
32935
32941
  if (h) {
32936
- for (let u = 0; u < K.length; u += 2)
32937
- K[u][0](K[u + 1]);
32938
- K.length = 0;
32942
+ for (let u = 0; u < Y.length; u += 2)
32943
+ Y[u][0](Y[u + 1]);
32944
+ Y.length = 0;
32939
32945
  }
32940
32946
  }
32941
32947
  }
@@ -32950,12 +32956,12 @@ function Ne(e, t = d) {
32950
32956
  }
32951
32957
  return { set: i, update: o, subscribe: a };
32952
32958
  }
32953
- function ie(e, t, r) {
32959
+ function ne(e, t, r) {
32954
32960
  const n = !Array.isArray(e), i = n ? [e] : e;
32955
32961
  if (!i.every(Boolean))
32956
32962
  throw new Error("derived() expects stores as input, got a falsy value");
32957
32963
  const o = t.length < 2;
32958
- return Dr(r, (a, s) => {
32964
+ return Lr(r, (a, s) => {
32959
32965
  let h = !1;
32960
32966
  const u = [];
32961
32967
  let l = 0, d$1 = d;
@@ -32965,11 +32971,11 @@ function ie(e, t, r) {
32965
32971
  d$1();
32966
32972
  const f = t(n ? u[0] : u, a, s);
32967
32973
  o ? a(f) : d$1 = O(f) ? f : d;
32968
- }, b = i.map(
32974
+ }, v = i.map(
32969
32975
  (f, g) => D$1(
32970
32976
  f,
32971
- (S) => {
32972
- u[g] = S, l &= ~(1 << g), h && m();
32977
+ (C) => {
32978
+ u[g] = C, l &= ~(1 << g), h && m();
32973
32979
  },
32974
32980
  () => {
32975
32981
  l |= 1 << g;
@@ -32977,84 +32983,84 @@ function ie(e, t, r) {
32977
32983
  )
32978
32984
  );
32979
32985
  return h = !0, m(), function() {
32980
- p(b), d$1(), h = !1;
32986
+ p(v), d$1(), h = !1;
32981
32987
  };
32982
32988
  });
32983
32989
  }
32984
- function qr(e) {
32990
+ function Rr(e) {
32985
32991
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
32986
32992
  }
32987
- var Gr = function(t) {
32988
- return Fr(t) && !Vr(t);
32993
+ var Ur = function(t) {
32994
+ return Dr(t) && !qr(t);
32989
32995
  };
32990
- function Fr(e) {
32996
+ function Dr(e) {
32991
32997
  return !!e && typeof e == "object";
32992
32998
  }
32993
- function Vr(e) {
32999
+ function qr(e) {
32994
33000
  var t = Object.prototype.toString.call(e);
32995
- return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
33001
+ return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
32996
33002
  }
32997
- var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
32998
- function Zr(e) {
32999
- return e.$$typeof === Wr;
33003
+ var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
33004
+ function Vr(e) {
33005
+ return e.$$typeof === Fr;
33000
33006
  }
33001
- function Jr(e) {
33007
+ function Xr(e) {
33002
33008
  return Array.isArray(e) ? [] : {};
33003
33009
  }
33004
- function me(e, t) {
33005
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Jr(e), e, t) : e;
33010
+ function de(e, t) {
33011
+ return t.clone !== !1 && t.isMergeableObject(e) ? $(Xr(e), e, t) : e;
33006
33012
  }
33007
- function Qr(e, t, r) {
33013
+ function Wr(e, t, r) {
33008
33014
  return e.concat(t).map(function(n) {
33009
- return me(n, r);
33015
+ return de(n, r);
33010
33016
  });
33011
33017
  }
33012
- function Yr(e, t) {
33018
+ function Zr(e, t) {
33013
33019
  if (!t.customMerge)
33014
- return ee;
33020
+ return $;
33015
33021
  var r = t.customMerge(e);
33016
- return typeof r == "function" ? r : ee;
33022
+ return typeof r == "function" ? r : $;
33017
33023
  }
33018
- function Kr(e) {
33024
+ function Jr(e) {
33019
33025
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
33020
33026
  return Object.propertyIsEnumerable.call(e, t);
33021
33027
  }) : [];
33022
33028
  }
33023
- function st(e) {
33024
- return Object.keys(e).concat(Kr(e));
33029
+ function it(e) {
33030
+ return Object.keys(e).concat(Jr(e));
33025
33031
  }
33026
- function Rt(e, t) {
33032
+ function It(e, t) {
33027
33033
  try {
33028
33034
  return t in e;
33029
33035
  } catch {
33030
33036
  return !1;
33031
33037
  }
33032
33038
  }
33033
- function $r(e, t) {
33034
- return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
33039
+ function Qr(e, t) {
33040
+ return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
33035
33041
  }
33036
- function en(e, t, r) {
33042
+ function Yr(e, t, r) {
33037
33043
  var n = {};
33038
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
33039
- n[i] = me(e[i], r);
33040
- }), st(t).forEach(function(i) {
33041
- $r(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
33044
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
33045
+ n[i] = de(e[i], r);
33046
+ }), it(t).forEach(function(i) {
33047
+ Qr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
33042
33048
  }), n;
33043
33049
  }
33044
- function ee(e, t, r) {
33045
- r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = me;
33050
+ function $(e, t, r) {
33051
+ r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = de;
33046
33052
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
33047
- return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : me(t, r);
33053
+ return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : de(t, r);
33048
33054
  }
33049
- ee.all = function(t, r) {
33055
+ $.all = function(t, r) {
33050
33056
  if (!Array.isArray(t))
33051
33057
  throw new Error("first argument should be an array");
33052
33058
  return t.reduce(function(n, i) {
33053
- return ee(n, i, r);
33059
+ return $(n, i, r);
33054
33060
  }, {});
33055
33061
  };
33056
- var tn = ee, rn = tn;
33057
- const nn = /* @__PURE__ */ qr(rn);
33062
+ var Kr = $, $r = Kr;
33063
+ const en = /* @__PURE__ */ Rr($r);
33058
33064
  /*! *****************************************************************************
33059
33065
  Copyright (c) Microsoft Corporation.
33060
33066
 
@@ -33069,18 +33075,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
33069
33075
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
33070
33076
  PERFORMANCE OF THIS SOFTWARE.
33071
33077
  ***************************************************************************** */
33072
- var De = function(e, t) {
33073
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
33078
+ var Ue = function(e, t) {
33079
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
33074
33080
  r.__proto__ = n;
33075
33081
  } || function(r, n) {
33076
33082
  for (var i in n)
33077
33083
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
33078
- }, De(e, t);
33084
+ }, Ue(e, t);
33079
33085
  };
33080
- function Ae(e, t) {
33086
+ function Ne(e, t) {
33081
33087
  if (typeof t != "function" && t !== null)
33082
33088
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
33083
- De(e, t);
33089
+ Ue(e, t);
33084
33090
  function r() {
33085
33091
  this.constructor = e;
33086
33092
  }
@@ -33096,7 +33102,7 @@ var H = function() {
33096
33102
  return t;
33097
33103
  }, H.apply(this, arguments);
33098
33104
  };
33099
- function on(e, t) {
33105
+ function tn(e, t) {
33100
33106
  var r = {};
33101
33107
  for (var n in e)
33102
33108
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -33105,62 +33111,60 @@ function on(e, t) {
33105
33111
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
33106
33112
  return r;
33107
33113
  }
33108
- function Oe(e, t, r) {
33114
+ function ze(e, t, r) {
33109
33115
  if (arguments.length === 2)
33110
33116
  for (var n = 0, i = t.length, o; n < i; n++)
33111
33117
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
33112
33118
  return e.concat(o || t);
33113
33119
  }
33114
- function Ie(e, t) {
33115
- var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : sn;
33120
+ function Oe(e, t) {
33121
+ var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : on;
33116
33122
  return i(e, {
33117
33123
  cache: r,
33118
33124
  serializer: n
33119
33125
  });
33120
33126
  }
33121
- function an(e) {
33127
+ function rn(e) {
33122
33128
  return e == null || typeof e == "number" || typeof e == "boolean";
33123
33129
  }
33124
- function Ut(e, t, r, n) {
33125
- var i = an(n) ? n : r(n), o = t.get(i);
33130
+ function nn(e, t, r, n) {
33131
+ var i = rn(n) ? n : r(n), o = t.get(i);
33126
33132
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
33127
33133
  }
33128
- function Dt(e, t, r) {
33134
+ function jt(e, t, r) {
33129
33135
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
33130
33136
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
33131
33137
  }
33132
- function Ke(e, t, r, n, i) {
33138
+ function Lt(e, t, r, n, i) {
33133
33139
  return r.bind(t, e, n, i);
33134
33140
  }
33135
- function sn(e, t) {
33136
- var r = e.length === 1 ? Ut : Dt;
33137
- return Ke(e, this, r, t.cache.create(), t.serializer);
33138
- }
33139
- function ln(e, t) {
33140
- return Ke(e, this, Dt, t.cache.create(), t.serializer);
33141
+ function on(e, t) {
33142
+ var r = e.length === 1 ? nn : jt;
33143
+ return Lt(e, this, r, t.cache.create(), t.serializer);
33141
33144
  }
33142
- function cn(e, t) {
33143
- return Ke(e, this, Ut, t.cache.create(), t.serializer);
33145
+ function an(e, t) {
33146
+ return Lt(e, this, jt, t.cache.create(), t.serializer);
33144
33147
  }
33145
- var un = function() {
33148
+ var sn = function() {
33146
33149
  return JSON.stringify(arguments);
33147
- };
33148
- function $e() {
33149
- this.cache = /* @__PURE__ */ Object.create(null);
33150
- }
33151
- $e.prototype.get = function(e) {
33152
- return this.cache[e];
33153
- };
33154
- $e.prototype.set = function(e, t) {
33155
- this.cache[e] = t;
33156
- };
33157
- var hn = {
33150
+ }, ln = (
33151
+ /** @class */
33152
+ function() {
33153
+ function e() {
33154
+ this.cache = /* @__PURE__ */ Object.create(null);
33155
+ }
33156
+ return e.prototype.get = function(t) {
33157
+ return this.cache[t];
33158
+ }, e.prototype.set = function(t, r) {
33159
+ this.cache[t] = r;
33160
+ }, e;
33161
+ }()
33162
+ ), cn = {
33158
33163
  create: function() {
33159
- return new $e();
33164
+ return new ln();
33160
33165
  }
33161
- }, je = {
33162
- variadic: ln,
33163
- monadic: cn
33166
+ }, Ie = {
33167
+ variadic: an
33164
33168
  }, w;
33165
33169
  (function(e) {
33166
33170
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -33169,47 +33173,47 @@ var B;
33169
33173
  (function(e) {
33170
33174
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
33171
33175
  })(B || (B = {}));
33172
- var te;
33176
+ var ee;
33173
33177
  (function(e) {
33174
33178
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
33175
- })(te || (te = {}));
33176
- function lt(e) {
33179
+ })(ee || (ee = {}));
33180
+ function ot(e) {
33177
33181
  return e.type === B.literal;
33178
33182
  }
33179
- function dn(e) {
33183
+ function un(e) {
33180
33184
  return e.type === B.argument;
33181
33185
  }
33182
- function qt(e) {
33186
+ function Rt(e) {
33183
33187
  return e.type === B.number;
33184
33188
  }
33185
- function Gt(e) {
33189
+ function Ut(e) {
33186
33190
  return e.type === B.date;
33187
33191
  }
33188
- function Ft(e) {
33192
+ function Dt(e) {
33189
33193
  return e.type === B.time;
33190
33194
  }
33191
- function Vt(e) {
33195
+ function qt(e) {
33192
33196
  return e.type === B.select;
33193
33197
  }
33194
- function Xt(e) {
33198
+ function Gt(e) {
33195
33199
  return e.type === B.plural;
33196
33200
  }
33197
- function mn(e) {
33201
+ function hn(e) {
33198
33202
  return e.type === B.pound;
33199
33203
  }
33200
- function Wt(e) {
33204
+ function Ft(e) {
33201
33205
  return e.type === B.tag;
33202
33206
  }
33203
- function Zt(e) {
33204
- return !!(e && typeof e == "object" && e.type === te.number);
33207
+ function Vt(e) {
33208
+ return !!(e && typeof e == "object" && e.type === ee.number);
33205
33209
  }
33206
- function qe(e) {
33207
- return !!(e && typeof e == "object" && e.type === te.dateTime);
33210
+ function De(e) {
33211
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
33208
33212
  }
33209
- var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
33210
- function pn(e) {
33213
+ var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
33214
+ function mn(e) {
33211
33215
  var t = {};
33212
- return e.replace(gn, function(r) {
33216
+ return e.replace(dn, function(r) {
33213
33217
  var n = r.length;
33214
33218
  switch (r[0]) {
33215
33219
  case "G":
@@ -33298,11 +33302,11 @@ function pn(e) {
33298
33302
  return "";
33299
33303
  }), t;
33300
33304
  }
33301
- var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
33302
- function _n(e) {
33305
+ var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
33306
+ function pn(e) {
33303
33307
  if (e.length === 0)
33304
33308
  throw new Error("Number skeleton cannot be empty");
33305
- for (var t = e.split(fn).filter(function(m) {
33309
+ for (var t = e.split(gn).filter(function(m) {
33306
33310
  return m.length > 0;
33307
33311
  }), r = [], n = 0, i = t; n < i.length; n++) {
33308
33312
  var o = i[n], a = o.split("/");
@@ -33317,17 +33321,17 @@ function _n(e) {
33317
33321
  }
33318
33322
  return r;
33319
33323
  }
33320
- function bn(e) {
33324
+ function fn(e) {
33321
33325
  return e.replace(/^(.*?)-/, "");
33322
33326
  }
33323
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
33324
- function ut(e) {
33327
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
33328
+ function st(e) {
33325
33329
  var t = {};
33326
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
33330
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
33327
33331
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
33328
33332
  }), t;
33329
33333
  }
33330
- function Kt(e) {
33334
+ function Jt(e) {
33331
33335
  switch (e) {
33332
33336
  case "sign-auto":
33333
33337
  return {
@@ -33367,7 +33371,7 @@ function Kt(e) {
33367
33371
  };
33368
33372
  }
33369
33373
  }
33370
- function yn(e) {
33374
+ function bn(e) {
33371
33375
  var t;
33372
33376
  if (e[0] === "E" && e[1] === "E" ? (t = {
33373
33377
  notation: "engineering"
@@ -33375,17 +33379,17 @@ function yn(e) {
33375
33379
  notation: "scientific"
33376
33380
  }, e = e.slice(1)), t) {
33377
33381
  var r = e.slice(0, 2);
33378
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
33382
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
33379
33383
  throw new Error("Malformed concise eng/scientific notation");
33380
33384
  t.minimumIntegerDigits = e.length;
33381
33385
  }
33382
33386
  return t;
33383
33387
  }
33384
- function ht(e) {
33385
- var t = {}, r = Kt(e);
33388
+ function lt(e) {
33389
+ var t = {}, r = Jt(e);
33386
33390
  return r || t;
33387
33391
  }
33388
- function En(e) {
33392
+ function vn(e) {
33389
33393
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
33390
33394
  var i = n[r];
33391
33395
  switch (i.stem) {
@@ -33409,7 +33413,7 @@ function En(e) {
33409
33413
  continue;
33410
33414
  case "measure-unit":
33411
33415
  case "unit":
33412
- t.style = "unit", t.unit = bn(i.options[0]);
33416
+ t.style = "unit", t.unit = fn(i.options[0]);
33413
33417
  continue;
33414
33418
  case "compact-short":
33415
33419
  case "K":
@@ -33421,12 +33425,12 @@ function En(e) {
33421
33425
  continue;
33422
33426
  case "scientific":
33423
33427
  t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
33424
- return H(H({}, h), ht(u));
33428
+ return H(H({}, h), lt(u));
33425
33429
  }, {}));
33426
33430
  continue;
33427
33431
  case "engineering":
33428
33432
  t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
33429
- return H(H({}, h), ht(u));
33433
+ return H(H({}, h), lt(u));
33430
33434
  }, {}));
33431
33435
  continue;
33432
33436
  case "notation-simple":
@@ -33471,45 +33475,45 @@ function En(e) {
33471
33475
  case "integer-width":
33472
33476
  if (i.options.length > 1)
33473
33477
  throw new RangeError("integer-width stems only accept a single optional option");
33474
- i.options[0].replace(vn, function(h, u, l, d, m, b) {
33478
+ i.options[0].replace(_n, function(h, u, l, d, m, v) {
33475
33479
  if (u)
33476
33480
  t.minimumIntegerDigits = l.length;
33477
33481
  else {
33478
33482
  if (d && m)
33479
33483
  throw new Error("We currently do not support maximum integer digits");
33480
- if (b)
33484
+ if (v)
33481
33485
  throw new Error("We currently do not support exact integer digits");
33482
33486
  }
33483
33487
  return "";
33484
33488
  });
33485
33489
  continue;
33486
33490
  }
33487
- if (Yt.test(i.stem)) {
33491
+ if (Zt.test(i.stem)) {
33488
33492
  t.minimumIntegerDigits = i.stem.length;
33489
33493
  continue;
33490
33494
  }
33491
- if (ct.test(i.stem)) {
33495
+ if (at.test(i.stem)) {
33492
33496
  if (i.options.length > 1)
33493
33497
  throw new RangeError("Fraction-precision stems only accept a single optional option");
33494
- i.stem.replace(ct, function(h, u, l, d, m, b) {
33495
- return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
33498
+ i.stem.replace(at, function(h, u, l, d, m, v) {
33499
+ return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
33496
33500
  });
33497
33501
  var o = i.options[0];
33498
- o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), ut(o)));
33502
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), st(o)));
33499
33503
  continue;
33500
33504
  }
33501
- if (Qt.test(i.stem)) {
33502
- t = H(H({}, t), ut(i.stem));
33505
+ if (Wt.test(i.stem)) {
33506
+ t = H(H({}, t), st(i.stem));
33503
33507
  continue;
33504
33508
  }
33505
- var a = Kt(i.stem);
33509
+ var a = Jt(i.stem);
33506
33510
  a && (t = H(H({}, t), a));
33507
- var s = yn(i.stem);
33511
+ var s = bn(i.stem);
33508
33512
  s && (t = H(H({}, t), s));
33509
33513
  }
33510
33514
  return t;
33511
33515
  }
33512
- var Se = {
33516
+ var Ce = {
33513
33517
  "001": [
33514
33518
  "H",
33515
33519
  "h"
@@ -34924,13 +34928,13 @@ var Se = {
34924
34928
  "h"
34925
34929
  ]
34926
34930
  };
34927
- function kn(e, t) {
34931
+ function yn(e, t) {
34928
34932
  for (var r = "", n = 0; n < e.length; n++) {
34929
34933
  var i = e.charAt(n);
34930
34934
  if (i === "j") {
34931
34935
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
34932
34936
  o++, n++;
34933
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
34937
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
34934
34938
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
34935
34939
  r += h;
34936
34940
  for (; a-- > 0; )
@@ -34940,7 +34944,7 @@ function kn(e, t) {
34940
34944
  }
34941
34945
  return r;
34942
34946
  }
34943
- function Cn(e) {
34947
+ function En(e) {
34944
34948
  var t = e.hourCycle;
34945
34949
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
34946
34950
  e.hourCycles && // @ts-ignore
@@ -34959,23 +34963,23 @@ function Cn(e) {
34959
34963
  }
34960
34964
  var r = e.language, n;
34961
34965
  r !== "root" && (n = e.maximize().region);
34962
- var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
34966
+ var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
34963
34967
  return i[0];
34964
34968
  }
34965
- var Le, Sn = new RegExp("^".concat(Jt.source, "*")), xn = new RegExp("".concat(Jt.source, "*$"));
34969
+ var je, kn = new RegExp("^".concat(Xt.source, "*")), Cn = new RegExp("".concat(Xt.source, "*$"));
34966
34970
  function N(e, t) {
34967
34971
  return { start: e, end: t };
34968
34972
  }
34969
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, wn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, Bn = Pn ? Number.isSafeInteger : function(e) {
34973
+ var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, Tn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, wn = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Hn = An ? Number.isSafeInteger : function(e) {
34970
34974
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
34971
- }, Ge = !0;
34975
+ }, qe = !0;
34972
34976
  try {
34973
- var zn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
34974
- Ge = ((Le = zn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
34977
+ var Pn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
34978
+ qe = ((je = Pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
34975
34979
  } catch {
34976
- Ge = !1;
34980
+ qe = !1;
34977
34981
  }
34978
- var dt = Mn ? (
34982
+ var ct = Sn ? (
34979
34983
  // Native
34980
34984
  function(t, r, n) {
34981
34985
  return t.startsWith(r, n);
@@ -34985,7 +34989,7 @@ var dt = Mn ? (
34985
34989
  function(t, r, n) {
34986
34990
  return t.slice(n, n + r.length) === r;
34987
34991
  }
34988
- ), Fe = Tn ? String.fromCodePoint : (
34992
+ ), Ge = xn ? String.fromCodePoint : (
34989
34993
  // IE11
34990
34994
  function() {
34991
34995
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -34997,9 +35001,9 @@ var dt = Mn ? (
34997
35001
  }
34998
35002
  return n;
34999
35003
  }
35000
- ), mt = (
35004
+ ), ut = (
35001
35005
  // native
35002
- wn ? Object.fromEntries : (
35006
+ Tn ? Object.fromEntries : (
35003
35007
  // Ponyfill
35004
35008
  function(t) {
35005
35009
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -35009,7 +35013,7 @@ var dt = Mn ? (
35009
35013
  return r;
35010
35014
  }
35011
35015
  )
35012
- ), $t = Nn ? (
35016
+ ), Qt = Mn ? (
35013
35017
  // Native
35014
35018
  function(t, r) {
35015
35019
  return t.codePointAt(r);
@@ -35023,7 +35027,7 @@ var dt = Mn ? (
35023
35027
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
35024
35028
  }
35025
35029
  }
35026
- ), On = An ? (
35030
+ ), Bn = wn ? (
35027
35031
  // Native
35028
35032
  function(t) {
35029
35033
  return t.trimStart();
@@ -35031,9 +35035,9 @@ var dt = Mn ? (
35031
35035
  ) : (
35032
35036
  // Ponyfill
35033
35037
  function(t) {
35034
- return t.replace(Sn, "");
35038
+ return t.replace(kn, "");
35035
35039
  }
35036
- ), In = Hn ? (
35040
+ ), zn = Nn ? (
35037
35041
  // Native
35038
35042
  function(t) {
35039
35043
  return t.trimEnd();
@@ -35041,32 +35045,32 @@ var dt = Mn ? (
35041
35045
  ) : (
35042
35046
  // Ponyfill
35043
35047
  function(t) {
35044
- return t.replace(xn, "");
35048
+ return t.replace(Cn, "");
35045
35049
  }
35046
35050
  );
35047
- function er(e, t) {
35051
+ function Yt(e, t) {
35048
35052
  return new RegExp(e, t);
35049
35053
  }
35050
- var Ve;
35051
- if (Ge) {
35052
- var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
35053
- Ve = function(t, r) {
35054
+ var Fe;
35055
+ if (qe) {
35056
+ var ht = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
35057
+ Fe = function(t, r) {
35054
35058
  var n;
35055
- gt.lastIndex = r;
35056
- var i = gt.exec(t);
35059
+ ht.lastIndex = r;
35060
+ var i = ht.exec(t);
35057
35061
  return (n = i[1]) !== null && n !== void 0 ? n : "";
35058
35062
  };
35059
35063
  } else
35060
- Ve = function(t, r) {
35064
+ Fe = function(t, r) {
35061
35065
  for (var n = []; ; ) {
35062
- var i = $t(t, r);
35063
- if (i === void 0 || tr(i) || Un(i))
35066
+ var i = Qt(t, r);
35067
+ if (i === void 0 || Kt(i) || Ln(i))
35064
35068
  break;
35065
35069
  n.push(i), r += i >= 65536 ? 2 : 1;
35066
35070
  }
35067
- return Fe.apply(void 0, n);
35071
+ return Ge.apply(void 0, n);
35068
35072
  };
35069
- var jn = (
35073
+ var On = (
35070
35074
  /** @class */
35071
35075
  function() {
35072
35076
  function e(t, r) {
@@ -35097,7 +35101,7 @@ var jn = (
35097
35101
  if (n)
35098
35102
  break;
35099
35103
  return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
35100
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
35104
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
35101
35105
  var a = this.parseTag(t, r);
35102
35106
  if (a.err)
35103
35107
  return a;
@@ -35130,7 +35134,7 @@ var jn = (
35130
35134
  return o;
35131
35135
  var a = o.val, s = this.clonePosition();
35132
35136
  if (this.bumpIf("</")) {
35133
- if (this.isEOF() || !Xe(this.char()))
35137
+ if (this.isEOF() || !Ve(this.char()))
35134
35138
  return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
35135
35139
  var h = this.clonePosition(), u = this.parseTagName();
35136
35140
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -35148,7 +35152,7 @@ var jn = (
35148
35152
  return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
35149
35153
  }, e.prototype.parseTagName = function() {
35150
35154
  var t = this.offset();
35151
- for (this.bump(); !this.isEOF() && Rn(this.char()); )
35155
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
35152
35156
  this.bump();
35153
35157
  return this.message.slice(t, this.offset());
35154
35158
  }, e.prototype.parseLiteral = function(t, r) {
@@ -35177,7 +35181,7 @@ var jn = (
35177
35181
  };
35178
35182
  }, e.prototype.tryParseLeftAngleBracket = function() {
35179
35183
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
35180
- !Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
35184
+ !In(this.peek() || 0)) ? (this.bump(), "<") : null;
35181
35185
  }, e.prototype.tryParseQuote = function(t) {
35182
35186
  if (this.isEOF() || this.char() !== 39)
35183
35187
  return null;
@@ -35211,12 +35215,12 @@ var jn = (
35211
35215
  r.push(n);
35212
35216
  this.bump();
35213
35217
  }
35214
- return Fe.apply(void 0, r);
35218
+ return Ge.apply(void 0, r);
35215
35219
  }, e.prototype.tryParseUnquoted = function(t, r) {
35216
35220
  if (this.isEOF())
35217
35221
  return null;
35218
35222
  var n = this.char();
35219
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
35223
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
35220
35224
  }, e.prototype.parseArgument = function(t, r) {
35221
35225
  var n = this.clonePosition();
35222
35226
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -35245,7 +35249,7 @@ var jn = (
35245
35249
  return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
35246
35250
  }
35247
35251
  }, e.prototype.parseIdentifierIfPossible = function() {
35248
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
35252
+ var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
35249
35253
  this.bumpTo(i);
35250
35254
  var o = this.clonePosition(), a = N(t, o);
35251
35255
  return { value: n, location: a };
@@ -35264,37 +35268,37 @@ var jn = (
35264
35268
  var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
35265
35269
  if (d.err)
35266
35270
  return d;
35267
- var m = In(d.val);
35271
+ var m = zn(d.val);
35268
35272
  if (m.length === 0)
35269
35273
  return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
35270
- var b = N(l, this.clonePosition());
35271
- u = { style: m, styleLocation: b };
35274
+ var v = N(l, this.clonePosition());
35275
+ u = { style: m, styleLocation: v };
35272
35276
  }
35273
35277
  var f = this.tryParseArgumentClose(i);
35274
35278
  if (f.err)
35275
35279
  return f;
35276
35280
  var g = N(i, this.clonePosition());
35277
- if (u && dt(u?.style, "::", 0)) {
35278
- var S = On(u.style.slice(2));
35281
+ if (u && ct(u?.style, "::", 0)) {
35282
+ var C = Bn(u.style.slice(2));
35279
35283
  if (s === "number") {
35280
- var d = this.parseNumberSkeletonFromString(S, u.styleLocation);
35284
+ var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
35281
35285
  return d.err ? d : {
35282
35286
  val: { type: B.number, value: n, location: g, style: d.val },
35283
35287
  err: null
35284
35288
  };
35285
35289
  } else {
35286
- if (S.length === 0)
35290
+ if (C.length === 0)
35287
35291
  return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
35288
- var _ = S;
35289
- this.locale && (_ = kn(S, this.locale));
35292
+ var _ = C;
35293
+ this.locale && (_ = yn(C, this.locale));
35290
35294
  var m = {
35291
- type: te.dateTime,
35295
+ type: ee.dateTime,
35292
35296
  pattern: _,
35293
35297
  location: u.styleLocation,
35294
- parsedOptions: this.shouldParseSkeletons ? pn(_) : {}
35295
- }, v = s === "date" ? B.date : B.time;
35298
+ parsedOptions: this.shouldParseSkeletons ? mn(_) : {}
35299
+ }, b = s === "date" ? B.date : B.time;
35296
35300
  return {
35297
- val: { type: v, value: n, location: g, style: m },
35301
+ val: { type: b, value: n, location: g, style: m },
35298
35302
  err: null
35299
35303
  };
35300
35304
  }
@@ -35312,11 +35316,11 @@ var jn = (
35312
35316
  case "plural":
35313
35317
  case "selectordinal":
35314
35318
  case "select": {
35315
- var C = this.clonePosition();
35319
+ var x = this.clonePosition();
35316
35320
  if (this.bumpSpace(), !this.bumpIf(","))
35317
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, H({}, C)));
35321
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x, H({}, x)));
35318
35322
  this.bumpSpace();
35319
- var P = this.parseIdentifierIfPossible(), k = 0;
35323
+ var P = this.parseIdentifierIfPossible(), E = 0;
35320
35324
  if (s !== "select" && P.value === "offset") {
35321
35325
  if (!this.bumpIf(":"))
35322
35326
  return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
@@ -35324,7 +35328,7 @@ var jn = (
35324
35328
  var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
35325
35329
  if (d.err)
35326
35330
  return d;
35327
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), k = d.val;
35331
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), E = d.val;
35328
35332
  }
35329
35333
  var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
35330
35334
  if (z.err)
@@ -35332,23 +35336,23 @@ var jn = (
35332
35336
  var f = this.tryParseArgumentClose(i);
35333
35337
  if (f.err)
35334
35338
  return f;
35335
- var W = N(i, this.clonePosition());
35339
+ var O = N(i, this.clonePosition());
35336
35340
  return s === "select" ? {
35337
35341
  val: {
35338
35342
  type: B.select,
35339
35343
  value: n,
35340
- options: mt(z.val),
35341
- location: W
35344
+ options: ut(z.val),
35345
+ location: O
35342
35346
  },
35343
35347
  err: null
35344
35348
  } : {
35345
35349
  val: {
35346
35350
  type: B.plural,
35347
35351
  value: n,
35348
- options: mt(z.val),
35349
- offset: k,
35352
+ options: ut(z.val),
35353
+ offset: E,
35350
35354
  pluralType: s === "plural" ? "cardinal" : "ordinal",
35351
- location: W
35355
+ location: O
35352
35356
  },
35353
35357
  err: null
35354
35358
  };
@@ -35396,16 +35400,16 @@ var jn = (
35396
35400
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
35397
35401
  var n = [];
35398
35402
  try {
35399
- n = _n(t);
35403
+ n = pn(t);
35400
35404
  } catch {
35401
35405
  return this.error(w.INVALID_NUMBER_SKELETON, r);
35402
35406
  }
35403
35407
  return {
35404
35408
  val: {
35405
- type: te.number,
35409
+ type: ee.number,
35406
35410
  tokens: n,
35407
35411
  location: r,
35408
- parsedOptions: this.shouldParseSkeletons ? En(n) : {}
35412
+ parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
35409
35413
  },
35410
35414
  err: null
35411
35415
  };
@@ -35424,20 +35428,20 @@ var jn = (
35424
35428
  if (h.has(u))
35425
35429
  return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
35426
35430
  u === "other" && (a = !0), this.bumpSpace();
35427
- var b = this.clonePosition();
35431
+ var v = this.clonePosition();
35428
35432
  if (!this.bumpIf("{"))
35429
35433
  return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
35430
35434
  var f = this.parseMessage(t + 1, r, n);
35431
35435
  if (f.err)
35432
35436
  return f;
35433
- var g = this.tryParseArgumentClose(b);
35437
+ var g = this.tryParseArgumentClose(v);
35434
35438
  if (g.err)
35435
35439
  return g;
35436
35440
  s.push([
35437
35441
  u,
35438
35442
  {
35439
35443
  value: f.val,
35440
- location: N(b, this.clonePosition())
35444
+ location: N(v, this.clonePosition())
35441
35445
  }
35442
35446
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
35443
35447
  }
@@ -35453,7 +35457,7 @@ var jn = (
35453
35457
  break;
35454
35458
  }
35455
35459
  var h = N(i, this.clonePosition());
35456
- return o ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
35460
+ return o ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
35457
35461
  }, e.prototype.offset = function() {
35458
35462
  return this.position.offset;
35459
35463
  }, e.prototype.isEOF = function() {
@@ -35468,7 +35472,7 @@ var jn = (
35468
35472
  var t = this.position.offset;
35469
35473
  if (t >= this.message.length)
35470
35474
  throw Error("out of bound");
35471
- var r = $t(this.message, t);
35475
+ var r = Qt(this.message, t);
35472
35476
  if (r === void 0)
35473
35477
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
35474
35478
  return r;
@@ -35487,7 +35491,7 @@ var jn = (
35487
35491
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
35488
35492
  }
35489
35493
  }, e.prototype.bumpIf = function(t) {
35490
- if (dt(this.message, t, this.offset())) {
35494
+ if (ct(this.message, t, this.offset())) {
35491
35495
  for (var r = 0; r < t.length; r++)
35492
35496
  this.bump();
35493
35497
  return !0;
@@ -35509,7 +35513,7 @@ var jn = (
35509
35513
  break;
35510
35514
  }
35511
35515
  }, e.prototype.bumpSpace = function() {
35512
- for (; !this.isEOF() && tr(this.char()); )
35516
+ for (; !this.isEOF() && Kt(this.char()); )
35513
35517
  this.bump();
35514
35518
  }, e.prototype.peek = function() {
35515
35519
  if (this.isEOF())
@@ -35519,47 +35523,47 @@ var jn = (
35519
35523
  }, e;
35520
35524
  }()
35521
35525
  );
35522
- function Xe(e) {
35526
+ function Ve(e) {
35523
35527
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
35524
35528
  }
35525
- function Ln(e) {
35526
- return Xe(e) || e === 47;
35529
+ function In(e) {
35530
+ return Ve(e) || e === 47;
35527
35531
  }
35528
- function Rn(e) {
35532
+ function jn(e) {
35529
35533
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
35530
35534
  }
35531
- function tr(e) {
35535
+ function Kt(e) {
35532
35536
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
35533
35537
  }
35534
- function Un(e) {
35538
+ function Ln(e) {
35535
35539
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
35536
35540
  }
35537
- function We(e) {
35541
+ function Xe(e) {
35538
35542
  e.forEach(function(t) {
35539
- if (delete t.location, Vt(t) || Xt(t))
35543
+ if (delete t.location, qt(t) || Gt(t))
35540
35544
  for (var r in t.options)
35541
- delete t.options[r].location, We(t.options[r].value);
35545
+ delete t.options[r].location, Xe(t.options[r].value);
35542
35546
  else
35543
- qt(t) && Zt(t.style) || (Gt(t) || Ft(t)) && qe(t.style) ? delete t.style.location : Wt(t) && We(t.children);
35547
+ Rt(t) && Vt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : Ft(t) && Xe(t.children);
35544
35548
  });
35545
35549
  }
35546
- function Dn(e, t) {
35550
+ function Rn(e, t) {
35547
35551
  t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
35548
- var r = new jn(e, t).parse();
35552
+ var r = new On(e, t).parse();
35549
35553
  if (r.err) {
35550
35554
  var n = SyntaxError(w[r.err.kind]);
35551
35555
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
35552
35556
  }
35553
- return t?.captureLocation || We(r.val), r.val;
35557
+ return t?.captureLocation || Xe(r.val), r.val;
35554
35558
  }
35555
- var re;
35559
+ var te;
35556
35560
  (function(e) {
35557
35561
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
35558
- })(re || (re = {}));
35559
- var He = (
35562
+ })(te || (te = {}));
35563
+ var Ae = (
35560
35564
  /** @class */
35561
35565
  function(e) {
35562
- Ae(t, e);
35566
+ Ne(t, e);
35563
35567
  function t(r, n, i) {
35564
35568
  var o = e.call(this, r) || this;
35565
35569
  return o.code = n, o.originalMessage = i, o;
@@ -35568,48 +35572,48 @@ var He = (
35568
35572
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
35569
35573
  }, t;
35570
35574
  }(Error)
35571
- ), pt = (
35575
+ ), dt = (
35572
35576
  /** @class */
35573
35577
  function(e) {
35574
- Ae(t, e);
35578
+ Ne(t, e);
35575
35579
  function t(r, n, i, o) {
35576
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
35580
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
35577
35581
  }
35578
35582
  return t;
35579
- }(He)
35580
- ), qn = (
35583
+ }(Ae)
35584
+ ), Un = (
35581
35585
  /** @class */
35582
35586
  function(e) {
35583
- Ae(t, e);
35587
+ Ne(t, e);
35584
35588
  function t(r, n, i) {
35585
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
35589
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
35586
35590
  }
35587
35591
  return t;
35588
- }(He)
35589
- ), Gn = (
35592
+ }(Ae)
35593
+ ), Dn = (
35590
35594
  /** @class */
35591
35595
  function(e) {
35592
- Ae(t, e);
35596
+ Ne(t, e);
35593
35597
  function t(r, n) {
35594
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
35598
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
35595
35599
  }
35596
35600
  return t;
35597
- }(He)
35601
+ }(Ae)
35598
35602
  ), D;
35599
35603
  (function(e) {
35600
35604
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
35601
35605
  })(D || (D = {}));
35602
- function Fn(e) {
35606
+ function qn(e) {
35603
35607
  return e.length < 2 ? e : e.reduce(function(t, r) {
35604
35608
  var n = t[t.length - 1];
35605
35609
  return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
35606
35610
  }, []);
35607
35611
  }
35608
- function Vn(e) {
35612
+ function Gn(e) {
35609
35613
  return typeof e == "function";
35610
35614
  }
35611
- function xe(e, t, r, n, i, o, a) {
35612
- if (e.length === 1 && lt(e[0]))
35615
+ function Se(e, t, r, n, i, o, a) {
35616
+ if (e.length === 1 && ot(e[0]))
35613
35617
  return [
35614
35618
  {
35615
35619
  type: D.literal,
@@ -35618,14 +35622,14 @@ function xe(e, t, r, n, i, o, a) {
35618
35622
  ];
35619
35623
  for (var s = [], h = 0, u = e; h < u.length; h++) {
35620
35624
  var l = u[h];
35621
- if (lt(l)) {
35625
+ if (ot(l)) {
35622
35626
  s.push({
35623
35627
  type: D.literal,
35624
35628
  value: l.value
35625
35629
  });
35626
35630
  continue;
35627
35631
  }
35628
- if (mn(l)) {
35632
+ if (hn(l)) {
35629
35633
  typeof o == "number" && s.push({
35630
35634
  type: D.literal,
35631
35635
  value: r.getNumberFormat(t).format(o)
@@ -35634,89 +35638,89 @@ function xe(e, t, r, n, i, o, a) {
35634
35638
  }
35635
35639
  var d = l.value;
35636
35640
  if (!(i && d in i))
35637
- throw new Gn(d, a);
35641
+ throw new Dn(d, a);
35638
35642
  var m = i[d];
35639
- if (dn(l)) {
35643
+ if (un(l)) {
35640
35644
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
35641
35645
  type: typeof m == "string" ? D.literal : D.object,
35642
35646
  value: m
35643
35647
  });
35644
35648
  continue;
35645
35649
  }
35646
- if (Gt(l)) {
35647
- var b = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
35650
+ if (Ut(l)) {
35651
+ var v = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
35648
35652
  s.push({
35649
35653
  type: D.literal,
35650
- value: r.getDateTimeFormat(t, b).format(m)
35654
+ value: r.getDateTimeFormat(t, v).format(m)
35651
35655
  });
35652
35656
  continue;
35653
35657
  }
35654
- if (Ft(l)) {
35655
- var b = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
35658
+ if (Dt(l)) {
35659
+ var v = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
35656
35660
  s.push({
35657
35661
  type: D.literal,
35658
- value: r.getDateTimeFormat(t, b).format(m)
35662
+ value: r.getDateTimeFormat(t, v).format(m)
35659
35663
  });
35660
35664
  continue;
35661
35665
  }
35662
- if (qt(l)) {
35663
- var b = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
35664
- b && b.scale && (m = m * (b.scale || 1)), s.push({
35666
+ if (Rt(l)) {
35667
+ var v = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
35668
+ v && v.scale && (m = m * (v.scale || 1)), s.push({
35665
35669
  type: D.literal,
35666
- value: r.getNumberFormat(t, b).format(m)
35670
+ value: r.getNumberFormat(t, v).format(m)
35667
35671
  });
35668
35672
  continue;
35669
35673
  }
35670
- if (Wt(l)) {
35671
- var f = l.children, g = l.value, S = i[g];
35672
- if (!Vn(S))
35673
- throw new qn(g, "function", a);
35674
- var _ = xe(f, t, r, n, i, o), v = S(_.map(function(k) {
35675
- return k.value;
35674
+ if (Ft(l)) {
35675
+ var f = l.children, g = l.value, C = i[g];
35676
+ if (!Gn(C))
35677
+ throw new Un(g, "function", a);
35678
+ var _ = Se(f, t, r, n, i, o), b = C(_.map(function(E) {
35679
+ return E.value;
35676
35680
  }));
35677
- Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(k) {
35681
+ Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(E) {
35678
35682
  return {
35679
- type: typeof k == "string" ? D.literal : D.object,
35680
- value: k
35683
+ type: typeof E == "string" ? D.literal : D.object,
35684
+ value: E
35681
35685
  };
35682
35686
  }));
35683
35687
  }
35684
- if (Vt(l)) {
35685
- var C = l.options[m] || l.options.other;
35686
- if (!C)
35687
- throw new pt(l.value, m, Object.keys(l.options), a);
35688
- s.push.apply(s, xe(C.value, t, r, n, i));
35688
+ if (qt(l)) {
35689
+ var x = l.options[m] || l.options.other;
35690
+ if (!x)
35691
+ throw new dt(l.value, m, Object.keys(l.options), a);
35692
+ s.push.apply(s, Se(x.value, t, r, n, i));
35689
35693
  continue;
35690
35694
  }
35691
- if (Xt(l)) {
35692
- var C = l.options["=".concat(m)];
35693
- if (!C) {
35695
+ if (Gt(l)) {
35696
+ var x = l.options["=".concat(m)];
35697
+ if (!x) {
35694
35698
  if (!Intl.PluralRules)
35695
- throw new He(`Intl.PluralRules is not available in this environment.
35699
+ throw new Ae(`Intl.PluralRules is not available in this environment.
35696
35700
  Try polyfilling it using "@formatjs/intl-pluralrules"
35697
- `, re.MISSING_INTL_API, a);
35701
+ `, te.MISSING_INTL_API, a);
35698
35702
  var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
35699
- C = l.options[P] || l.options.other;
35703
+ x = l.options[P] || l.options.other;
35700
35704
  }
35701
- if (!C)
35702
- throw new pt(l.value, m, Object.keys(l.options), a);
35703
- s.push.apply(s, xe(C.value, t, r, n, i, m - (l.offset || 0)));
35705
+ if (!x)
35706
+ throw new dt(l.value, m, Object.keys(l.options), a);
35707
+ s.push.apply(s, Se(x.value, t, r, n, i, m - (l.offset || 0)));
35704
35708
  continue;
35705
35709
  }
35706
35710
  }
35707
- return Fn(s);
35711
+ return qn(s);
35708
35712
  }
35709
- function Xn(e, t) {
35713
+ function Fn(e, t) {
35710
35714
  return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
35711
35715
  return r[n] = H(H({}, e[n]), t[n] || {}), r;
35712
35716
  }, {})) : e;
35713
35717
  }
35714
- function Wn(e, t) {
35718
+ function Vn(e, t) {
35715
35719
  return t ? Object.keys(e).reduce(function(r, n) {
35716
- return r[n] = Xn(e[n], t[n]), r;
35720
+ return r[n] = Fn(e[n], t[n]), r;
35717
35721
  }, H({}, e)) : e;
35718
35722
  }
35719
- function Re(e) {
35723
+ function Le(e) {
35720
35724
  return {
35721
35725
  create: function() {
35722
35726
  return {
@@ -35730,39 +35734,39 @@ function Re(e) {
35730
35734
  }
35731
35735
  };
35732
35736
  }
35733
- function Zn(e) {
35737
+ function Xn(e) {
35734
35738
  return e === void 0 && (e = {
35735
35739
  number: {},
35736
35740
  dateTime: {},
35737
35741
  pluralRules: {}
35738
35742
  }), {
35739
- getNumberFormat: Ie(function() {
35743
+ getNumberFormat: Oe(function() {
35740
35744
  for (var t, r = [], n = 0; n < arguments.length; n++)
35741
35745
  r[n] = arguments[n];
35742
- return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
35746
+ return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
35743
35747
  }, {
35744
- cache: Re(e.number),
35745
- strategy: je.variadic
35748
+ cache: Le(e.number),
35749
+ strategy: Ie.variadic
35746
35750
  }),
35747
- getDateTimeFormat: Ie(function() {
35751
+ getDateTimeFormat: Oe(function() {
35748
35752
  for (var t, r = [], n = 0; n < arguments.length; n++)
35749
35753
  r[n] = arguments[n];
35750
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
35754
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
35751
35755
  }, {
35752
- cache: Re(e.dateTime),
35753
- strategy: je.variadic
35756
+ cache: Le(e.dateTime),
35757
+ strategy: Ie.variadic
35754
35758
  }),
35755
- getPluralRules: Ie(function() {
35759
+ getPluralRules: Oe(function() {
35756
35760
  for (var t, r = [], n = 0; n < arguments.length; n++)
35757
35761
  r[n] = arguments[n];
35758
- return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
35762
+ return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
35759
35763
  }, {
35760
- cache: Re(e.pluralRules),
35761
- strategy: je.variadic
35764
+ cache: Le(e.pluralRules),
35765
+ strategy: Ie.variadic
35762
35766
  })
35763
35767
  };
35764
35768
  }
35765
- var Jn = (
35769
+ var Wn = (
35766
35770
  /** @class */
35767
35771
  function() {
35768
35772
  function e(t, r, n, i) {
@@ -35781,7 +35785,7 @@ var Jn = (
35781
35785
  }, []);
35782
35786
  return l.length <= 1 ? l[0] || "" : l;
35783
35787
  }, this.formatToParts = function(h) {
35784
- return xe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
35788
+ return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
35785
35789
  }, this.resolvedOptions = function() {
35786
35790
  var h;
35787
35791
  return {
@@ -35793,13 +35797,13 @@ var Jn = (
35793
35797
  if (this.message = t, !e.__parse)
35794
35798
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
35795
35799
  var a = i || {};
35796
- var s = on(a, ["formatters"]);
35800
+ var s = tn(a, ["formatters"]);
35797
35801
  this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
35798
35802
  } else
35799
35803
  this.ast = t;
35800
35804
  if (!Array.isArray(this.ast))
35801
35805
  throw new TypeError("A message must be provided as a String or AST.");
35802
- this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
35806
+ this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
35803
35807
  }
35804
35808
  return Object.defineProperty(e, "defaultLocale", {
35805
35809
  get: function() {
@@ -35812,7 +35816,7 @@ var Jn = (
35812
35816
  var r = Intl.NumberFormat.supportedLocalesOf(t);
35813
35817
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
35814
35818
  }
35815
- }, e.__parse = Dn, e.formats = {
35819
+ }, e.__parse = Rn, e.formats = {
35816
35820
  number: {
35817
35821
  integer: {
35818
35822
  maximumFractionDigits: 0
@@ -35873,7 +35877,7 @@ var Jn = (
35873
35877
  }, e;
35874
35878
  }()
35875
35879
  );
35876
- function Qn(e, t) {
35880
+ function Zn(e, t) {
35877
35881
  if (t == null)
35878
35882
  return;
35879
35883
  if (t in e)
@@ -35894,92 +35898,92 @@ function Qn(e, t) {
35894
35898
  n = void 0;
35895
35899
  return n;
35896
35900
  }
35897
- const J = {}, Yn = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), rr = (e, t) => {
35901
+ const Z = {}, Jn = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), $t = (e, t) => {
35898
35902
  if (t == null)
35899
35903
  return;
35900
- if (t in J && e in J[t])
35901
- return J[t][e];
35902
- const r = Pe(t);
35904
+ if (t in Z && e in Z[t])
35905
+ return Z[t][e];
35906
+ const r = He(t);
35903
35907
  for (let n = 0; n < r.length; n++) {
35904
- const i = r[n], o = $n(i, e);
35908
+ const i = r[n], o = Yn(i, e);
35905
35909
  if (o)
35906
- return Yn(e, t, o);
35910
+ return Jn(e, t, o);
35907
35911
  }
35908
35912
  };
35909
- let et;
35910
- const _e = Ne({});
35911
- function Kn(e) {
35912
- return et[e] || null;
35913
+ let Ye;
35914
+ const fe = we({});
35915
+ function Qn(e) {
35916
+ return Ye[e] || null;
35913
35917
  }
35914
- function nr(e) {
35915
- return e in et;
35918
+ function er(e) {
35919
+ return e in Ye;
35916
35920
  }
35917
- function $n(e, t) {
35918
- if (!nr(e))
35921
+ function Yn(e, t) {
35922
+ if (!er(e))
35919
35923
  return null;
35920
- const r = Kn(e);
35921
- return Qn(r, t);
35924
+ const r = Qn(e);
35925
+ return Zn(r, t);
35922
35926
  }
35923
- function ei(e) {
35927
+ function Kn(e) {
35924
35928
  if (e == null)
35925
35929
  return;
35926
- const t = Pe(e);
35930
+ const t = He(e);
35927
35931
  for (let r = 0; r < t.length; r++) {
35928
35932
  const n = t[r];
35929
- if (nr(n))
35933
+ if (er(n))
35930
35934
  return n;
35931
35935
  }
35932
35936
  }
35933
- function ir(e, ...t) {
35934
- delete J[e], _e.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
35937
+ function tr(e, ...t) {
35938
+ delete Z[e], fe.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
35935
35939
  }
35936
- ie(
35937
- [_e],
35940
+ ne(
35941
+ [fe],
35938
35942
  ([e]) => Object.keys(e)
35939
35943
  );
35940
- _e.subscribe((e) => et = e);
35941
- const Me = {};
35942
- function ti(e, t) {
35943
- Me[e].delete(t), Me[e].size === 0 && delete Me[e];
35944
+ fe.subscribe((e) => Ye = e);
35945
+ const xe = {};
35946
+ function $n(e, t) {
35947
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
35944
35948
  }
35945
- function or(e) {
35946
- return Me[e];
35949
+ function rr(e) {
35950
+ return xe[e];
35947
35951
  }
35948
- function ri(e) {
35949
- return Pe(e).map((t) => {
35950
- const r = or(t);
35952
+ function ei(e) {
35953
+ return He(e).map((t) => {
35954
+ const r = rr(t);
35951
35955
  return [t, r ? [...r] : []];
35952
35956
  }).filter(([, t]) => t.length > 0);
35953
35957
  }
35954
- function Ze(e) {
35955
- return e == null ? !1 : Pe(e).some(
35958
+ function We(e) {
35959
+ return e == null ? !1 : He(e).some(
35956
35960
  (t) => {
35957
35961
  var r;
35958
- return (r = or(t)) == null ? void 0 : r.size;
35962
+ return (r = rr(t)) == null ? void 0 : r.size;
35959
35963
  }
35960
35964
  );
35961
35965
  }
35962
- function ni(e, t) {
35966
+ function ti(e, t) {
35963
35967
  return Promise.all(
35964
- t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
35965
- ).then((n) => ir(e, ...n));
35966
- }
35967
- const he = {};
35968
- function ar(e) {
35969
- if (!Ze(e))
35970
- return e in he ? he[e] : Promise.resolve();
35971
- const t = ri(e);
35972
- return he[e] = Promise.all(
35968
+ t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
35969
+ ).then((n) => tr(e, ...n));
35970
+ }
35971
+ const ue = {};
35972
+ function nr(e) {
35973
+ if (!We(e))
35974
+ return e in ue ? ue[e] : Promise.resolve();
35975
+ const t = ei(e);
35976
+ return ue[e] = Promise.all(
35973
35977
  t.map(
35974
- ([r, n]) => ni(r, n)
35978
+ ([r, n]) => ti(r, n)
35975
35979
  )
35976
35980
  ).then(() => {
35977
- if (Ze(e))
35978
- return ar(e);
35979
- delete he[e];
35980
- }), he[e];
35981
+ if (We(e))
35982
+ return nr(e);
35983
+ delete ue[e];
35984
+ }), ue[e];
35981
35985
  }
35982
- const ii = {
35986
+ const ri = {
35983
35987
  number: {
35984
35988
  scientific: { notation: "scientific" },
35985
35989
  engineering: { notation: "engineering" },
@@ -36008,150 +36012,150 @@ const ii = {
36008
36012
  timeZoneName: "short"
36009
36013
  }
36010
36014
  }
36011
- }, oi = {
36015
+ }, ni = {
36012
36016
  fallbackLocale: null,
36013
36017
  loadingDelay: 200,
36014
- formats: ii,
36018
+ formats: ri,
36015
36019
  warnOnMissingMessages: !0,
36016
36020
  handleMissingMessage: void 0,
36017
36021
  ignoreTag: !0
36018
- }, ai = oi;
36019
- function ne() {
36020
- return ai;
36022
+ }, ii = ni;
36023
+ function re() {
36024
+ return ii;
36021
36025
  }
36022
- const Ue = Ne(!1);
36023
- var si = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
36026
+ const Re = we(!1);
36027
+ var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
36024
36028
  for (var r in t || (t = {}))
36025
- ui.call(t, r) && _t(e, r, t[r]);
36026
- if (ft)
36027
- for (var r of ft(t))
36028
- hi.call(t, r) && _t(e, r, t[r]);
36029
+ li.call(t, r) && gt(e, r, t[r]);
36030
+ if (mt)
36031
+ for (var r of mt(t))
36032
+ ci.call(t, r) && gt(e, r, t[r]);
36029
36033
  return e;
36030
- }, mi = (e, t) => li(e, ci(t));
36031
- let Je;
36032
- const Te = Ne(null);
36033
- function bt(e) {
36034
+ }, hi = (e, t) => ai(e, si(t));
36035
+ let Ze;
36036
+ const Te = we(null);
36037
+ function pt(e) {
36034
36038
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
36035
36039
  }
36036
- function Pe(e, t = ne().fallbackLocale) {
36037
- const r = bt(e);
36038
- return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
36040
+ function He(e, t = re().fallbackLocale) {
36041
+ const r = pt(e);
36042
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
36039
36043
  }
36040
- function Y() {
36041
- return Je ?? void 0;
36044
+ function Q() {
36045
+ return Ze ?? void 0;
36042
36046
  }
36043
36047
  Te.subscribe((e) => {
36044
- Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
36048
+ Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
36045
36049
  });
36046
- const gi = (e) => {
36047
- if (e && ei(e) && Ze(e)) {
36048
- const { loadingDelay: t } = ne();
36050
+ const di = (e) => {
36051
+ if (e && Kn(e) && We(e)) {
36052
+ const { loadingDelay: t } = re();
36049
36053
  let r;
36050
- return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
36051
- () => Ue.set(!0),
36054
+ return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
36055
+ () => Re.set(!0),
36052
36056
  t
36053
- ) : Ue.set(!0), ar(e).then(() => {
36057
+ ) : Re.set(!0), nr(e).then(() => {
36054
36058
  Te.set(e);
36055
36059
  }).finally(() => {
36056
- clearTimeout(r), Ue.set(!1);
36060
+ clearTimeout(r), Re.set(!1);
36057
36061
  });
36058
36062
  }
36059
36063
  return Te.set(e);
36060
- }, oe = mi(di({}, Te), {
36061
- set: gi
36062
- }), Be = (e) => {
36064
+ }, ie = hi(ui({}, Te), {
36065
+ set: di
36066
+ }), Pe = (e) => {
36063
36067
  const t = /* @__PURE__ */ Object.create(null);
36064
36068
  return (n) => {
36065
36069
  const i = JSON.stringify(n);
36066
36070
  return i in t ? t[i] : t[i] = e(n);
36067
36071
  };
36068
36072
  };
36069
- var pi = Object.defineProperty, we = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
36073
+ var mi = Object.defineProperty, Me = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
36070
36074
  for (var r in t || (t = {}))
36071
- sr.call(t, r) && vt(e, r, t[r]);
36072
- if (we)
36073
- for (var r of we(t))
36074
- lr.call(t, r) && vt(e, r, t[r]);
36075
+ ir.call(t, r) && ft(e, r, t[r]);
36076
+ if (Me)
36077
+ for (var r of Me(t))
36078
+ or.call(t, r) && ft(e, r, t[r]);
36075
36079
  return e;
36076
- }, ae = (e, t) => {
36080
+ }, oe = (e, t) => {
36077
36081
  var r = {};
36078
36082
  for (var n in e)
36079
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
36080
- if (e != null && we)
36081
- for (var n of we(e))
36082
- t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
36083
+ ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
36084
+ if (e != null && Me)
36085
+ for (var n of Me(e))
36086
+ t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
36083
36087
  return r;
36084
36088
  };
36085
- const ge = (e, t) => {
36086
- const { formats: r } = ne();
36089
+ const me = (e, t) => {
36090
+ const { formats: r } = re();
36087
36091
  if (e in r && t in r[e])
36088
36092
  return r[e][t];
36089
36093
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
36090
- }, fi = Be(
36094
+ }, gi = Pe(
36091
36095
  (e) => {
36092
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
36096
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
36093
36097
  if (r == null)
36094
36098
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
36095
- return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
36099
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
36096
36100
  }
36097
- ), _i = Be(
36101
+ ), pi = Pe(
36098
36102
  (e) => {
36099
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
36103
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
36100
36104
  if (r == null)
36101
36105
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
36102
- return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
36106
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
36103
36107
  }
36104
- ), bi = Be(
36108
+ ), fi = Pe(
36105
36109
  (e) => {
36106
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
36110
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
36107
36111
  if (r == null)
36108
36112
  throw new Error(
36109
36113
  '[svelte-i18n] A "locale" must be set to format time values'
36110
36114
  );
36111
- return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
36115
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
36112
36116
  }
36113
- ), vi = (e = {}) => {
36117
+ ), _i = (e = {}) => {
36114
36118
  var t = e, {
36115
- locale: r = Y()
36116
- } = t, n = ae(t, [
36119
+ locale: r = Q()
36120
+ } = t, n = oe(t, [
36117
36121
  "locale"
36118
36122
  ]);
36119
- return fi(tt({ locale: r }, n));
36120
- }, yi = (e = {}) => {
36123
+ return gi(Ke({ locale: r }, n));
36124
+ }, bi = (e = {}) => {
36121
36125
  var t = e, {
36122
- locale: r = Y()
36123
- } = t, n = ae(t, [
36126
+ locale: r = Q()
36127
+ } = t, n = oe(t, [
36124
36128
  "locale"
36125
36129
  ]);
36126
- return _i(tt({ locale: r }, n));
36127
- }, Ei = (e = {}) => {
36130
+ return pi(Ke({ locale: r }, n));
36131
+ }, vi = (e = {}) => {
36128
36132
  var t = e, {
36129
- locale: r = Y()
36130
- } = t, n = ae(t, [
36133
+ locale: r = Q()
36134
+ } = t, n = oe(t, [
36131
36135
  "locale"
36132
36136
  ]);
36133
- return bi(tt({ locale: r }, n));
36134
- }, ki = Be(
36137
+ return fi(Ke({ locale: r }, n));
36138
+ }, yi = Pe(
36135
36139
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
36136
- (e, t = Y()) => new Jn(e, t, ne().formats, {
36137
- ignoreTag: ne().ignoreTag
36140
+ (e, t = Q()) => new Wn(e, t, re().formats, {
36141
+ ignoreTag: re().ignoreTag
36138
36142
  })
36139
- ), Ci = (e, t = {}) => {
36143
+ ), Ei = (e, t = {}) => {
36140
36144
  var r, n, i, o;
36141
36145
  let a = t;
36142
36146
  typeof e == "object" && (a = e, e = a.id);
36143
36147
  const {
36144
36148
  values: s,
36145
- locale: h = Y(),
36149
+ locale: h = Q(),
36146
36150
  default: u
36147
36151
  } = a;
36148
36152
  if (h == null)
36149
36153
  throw new Error(
36150
36154
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
36151
36155
  );
36152
- let l = rr(e, h);
36156
+ let l = $t(e, h);
36153
36157
  if (!l)
36154
- l = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
36158
+ l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
36155
36159
  else if (typeof l != "string")
36156
36160
  return console.warn(
36157
36161
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -36160,7 +36164,7 @@ const ge = (e, t) => {
36160
36164
  return l;
36161
36165
  let d = l;
36162
36166
  try {
36163
- d = ki(l, h).format(s);
36167
+ d = yi(l, h).format(s);
36164
36168
  } catch (m) {
36165
36169
  m instanceof Error && console.warn(
36166
36170
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -36168,18 +36172,18 @@ const ge = (e, t) => {
36168
36172
  );
36169
36173
  }
36170
36174
  return d;
36171
- }, Si = (e, t) => Ei(t).format(e), xi = (e, t) => yi(t).format(e), Mi = (e, t) => vi(t).format(e), Ti = (e, t = Y()) => rr(e, t), wi = ie([oe, _e], () => Ci);
36172
- ie([oe], () => Si);
36173
- ie([oe], () => xi);
36174
- ie([oe], () => Mi);
36175
- ie([oe, _e], () => Ti);
36176
- function yt(e, t) {
36177
- ir(e, t);
36178
- }
36179
- function Ni(e) {
36180
- oe.set(e);
36181
- }
36182
- const Et = {
36175
+ }, ki = (e, t) => vi(t).format(e), Ci = (e, t) => bi(t).format(e), Si = (e, t) => _i(t).format(e), xi = (e, t = Q()) => $t(e, t), Ti = ne([ie, fe], () => Ei);
36176
+ ne([ie], () => ki);
36177
+ ne([ie], () => Ci);
36178
+ ne([ie], () => Si);
36179
+ ne([ie, fe], () => xi);
36180
+ function _t(e, t) {
36181
+ tr(e, t);
36182
+ }
36183
+ function Mi(e) {
36184
+ ie.set(e);
36185
+ }
36186
+ const bt = {
36183
36187
  en: {
36184
36188
  invalidUrl: "Failed to construct 'URL': Invalid URL",
36185
36189
  fetchConsentsError: "Error: Could not fetch consents.",
@@ -36751,18 +36755,18 @@ if (typeof window < "u") {
36751
36755
  }
36752
36756
  };
36753
36757
  };
36754
- customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingBMZE178n; }).then((t) => t.G).then(({ default: t }) => {
36758
+ customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingZTNd0X9B; }).then((t) => t.G).then(({ default: t }) => {
36755
36759
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
36756
36760
  });
36757
36761
  }
36758
- function Ai(e) {
36762
+ function wi(e) {
36759
36763
  let t, r;
36760
36764
  return {
36761
36765
  c() {
36762
36766
  t = V("svg"), r = V("path"), B$1(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), B$1(t, "xmlns", "http://www.w3.org/2000/svg"), B$1(t, "viewBox", "0 0 512 512");
36763
36767
  },
36764
36768
  m(n, i) {
36765
- v(n, t, i), G(t, r);
36769
+ k(n, t, i), G(t, r);
36766
36770
  },
36767
36771
  p: d,
36768
36772
  i: d,
@@ -36772,34 +36776,34 @@ function Ai(e) {
36772
36776
  }
36773
36777
  };
36774
36778
  }
36775
- class Hi extends lt$1 {
36779
+ class Ni extends lt$1 {
36776
36780
  constructor(t) {
36777
- super(), ct$1(this, t, null, Ai, z, {});
36781
+ super(), ct$1(this, t, null, wi, z, {});
36778
36782
  }
36779
36783
  }
36780
- customElements.define("circle-exclamation-icon", ot(Hi, {}, [], [], !0));
36781
- function Pi(e) {
36784
+ customElements.define("circle-exclamation-icon", ot$1(Ni, {}, [], [], !0));
36785
+ function Ai(e) {
36782
36786
  I(e, "svelte-ltb9q9", '.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}');
36783
36787
  }
36784
- function kt(e, t, r) {
36788
+ function vt(e, t, r) {
36785
36789
  const n = e.slice();
36786
36790
  return n[64] = t[r], n;
36787
36791
  }
36788
- function Ct(e, t, r) {
36792
+ function yt(e, t, r) {
36789
36793
  const n = e.slice();
36790
36794
  return n[61] = t[r], n[62] = t, n[63] = r, n;
36791
36795
  }
36792
- function St(e, t, r) {
36796
+ function Et(e, t, r) {
36793
36797
  const n = e.slice();
36794
36798
  return n[64] = t[r], n;
36795
36799
  }
36796
- function Bi(e) {
36797
- let t, r, n = kt$1(
36800
+ function Hi(e) {
36801
+ let t, r, n = vt$1(
36798
36802
  /*playerConsents*/
36799
36803
  e[9]
36800
36804
  ), i = [];
36801
36805
  for (let o = 0; o < n.length; o += 1)
36802
- i[o] = xt(kt(e, n, o));
36806
+ i[o] = kt(vt(e, n, o));
36803
36807
  return {
36804
36808
  c() {
36805
36809
  t = w$1("div"), r = w$1("form");
@@ -36808,7 +36812,7 @@ function Bi(e) {
36808
36812
  B$1(r, "class", "checkbox svelte-ltb9q9"), B$1(t, "class", "legacyStyle");
36809
36813
  },
36810
36814
  m(o, a) {
36811
- v(o, t, a), G(t, r);
36815
+ k(o, t, a), G(t, r);
36812
36816
  for (let s = 0; s < i.length; s += 1)
36813
36817
  i[s] && i[s].m(r, null);
36814
36818
  e[31](r);
@@ -36816,14 +36820,14 @@ function Bi(e) {
36816
36820
  p(o, a) {
36817
36821
  if (a[0] & /*playerConsents, $_, handleInput*/
36818
36822
  590336) {
36819
- n = kt$1(
36823
+ n = vt$1(
36820
36824
  /*playerConsents*/
36821
36825
  o[9]
36822
36826
  );
36823
36827
  let s;
36824
36828
  for (s = 0; s < n.length; s += 1) {
36825
- const h = kt(o, n, s);
36826
- i[s] ? i[s].p(h, a) : (i[s] = xt(h), i[s].c(), i[s].m(r, null));
36829
+ const h = vt(o, n, s);
36830
+ i[s] ? i[s].p(h, a) : (i[s] = kt(h), i[s].c(), i[s].m(r, null));
36827
36831
  }
36828
36832
  for (; s < i.length; s += 1)
36829
36833
  i[s].d(1);
@@ -36835,7 +36839,7 @@ function Bi(e) {
36835
36839
  }
36836
36840
  };
36837
36841
  }
36838
- function zi(e) {
36842
+ function Pi(e) {
36839
36843
  let t = (
36840
36844
  /*$_*/
36841
36845
  e[16]("title") || /*$_*/
@@ -36843,67 +36847,67 @@ function zi(e) {
36843
36847
  ), r, n, i, o = (
36844
36848
  /*$_*/
36845
36849
  (e[16]("saveButtonContent") || "Save Consents") + ""
36846
- ), a, s, h, u, l, d = t && Mt(e), m = kt$1(
36850
+ ), a, s, h, u, l, d = t && Ct(e), m = vt$1(
36847
36851
  /*consentsCategories*/
36848
36852
  e[8]
36849
- ), b = [];
36853
+ ), v = [];
36850
36854
  for (let g = 0; g < m.length; g += 1)
36851
- b[g] = Pt(Ct(e, m, g));
36855
+ v[g] = Nt(yt(e, m, g));
36852
36856
  let f = (
36853
36857
  /*errorMessage*/
36854
- e[6] && Bt(e)
36858
+ e[6] && At(e)
36855
36859
  );
36856
36860
  return {
36857
36861
  c() {
36858
36862
  d && d.c(), r = pt$1();
36859
- for (let g = 0; g < b.length; g += 1)
36860
- b[g].c();
36863
+ for (let g = 0; g < v.length; g += 1)
36864
+ v[g].c();
36861
36865
  n = pt$1(), i = w$1("button"), s = pt$1(), f && f.c(), h = yt$1(), B$1(i, "class", "SaveConsentsButton svelte-ltb9q9"), i.disabled = a = !/*isValid*/
36862
36866
  e[14];
36863
36867
  },
36864
- m(g, S) {
36865
- d && d.m(g, S), v(g, r, S);
36866
- for (let _ = 0; _ < b.length; _ += 1)
36867
- b[_] && b[_].m(g, S);
36868
- v(g, n, S), v(g, i, S), i.innerHTML = o, v(g, s, S), f && f.m(g, S), v(g, h, S), u || (l = wt$1(
36868
+ m(g, C) {
36869
+ d && d.m(g, C), k(g, r, C);
36870
+ for (let _ = 0; _ < v.length; _ += 1)
36871
+ v[_] && v[_].m(g, C);
36872
+ k(g, n, C), k(g, i, C), i.innerHTML = o, k(g, s, C), f && f.m(g, C), k(g, h, C), u || (l = wt$1(
36869
36873
  i,
36870
36874
  "click",
36871
36875
  /*saveChanges*/
36872
36876
  e[17]
36873
36877
  ), u = !0);
36874
36878
  },
36875
- p(g, S) {
36876
- if (S[0] & /*$_*/
36879
+ p(g, C) {
36880
+ if (C[0] & /*$_*/
36877
36881
  65536 && (t = /*$_*/
36878
36882
  g[16]("title") || /*$_*/
36879
- g[16]("description")), t ? d ? d.p(g, S) : (d = Mt(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
36883
+ g[16]("description")), t ? d ? d.p(g, C) : (d = Ct(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
36880
36884
  867088) {
36881
- m = kt$1(
36885
+ m = vt$1(
36882
36886
  /*consentsCategories*/
36883
36887
  g[8]
36884
36888
  );
36885
36889
  let _;
36886
36890
  for (_ = 0; _ < m.length; _ += 1) {
36887
- const v = Ct(g, m, _);
36888
- b[_] ? b[_].p(v, S) : (b[_] = Pt(v), b[_].c(), b[_].m(n.parentNode, n));
36891
+ const b = yt(g, m, _);
36892
+ v[_] ? v[_].p(b, C) : (v[_] = Nt(b), v[_].c(), v[_].m(n.parentNode, n));
36889
36893
  }
36890
- for (; _ < b.length; _ += 1)
36891
- b[_].d(1);
36892
- b.length = m.length;
36894
+ for (; _ < v.length; _ += 1)
36895
+ v[_].d(1);
36896
+ v.length = m.length;
36893
36897
  }
36894
- S[0] & /*$_*/
36898
+ C[0] & /*$_*/
36895
36899
  65536 && o !== (o = /*$_*/
36896
- (g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
36900
+ (g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
36897
36901
  16384 && a !== (a = !/*isValid*/
36898
36902
  g[14]) && (i.disabled = a), /*errorMessage*/
36899
- g[6] ? f ? f.p(g, S) : (f = Bt(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
36903
+ g[6] ? f ? f.p(g, C) : (f = At(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
36900
36904
  },
36901
36905
  d(g) {
36902
- g && (y(r), y(n), y(i), y(s), y(h)), d && d.d(g), bt$1(b, g), f && f.d(g), u = !1, l();
36906
+ g && (y(r), y(n), y(i), y(s), y(h)), d && d.d(g), bt$1(v, g), f && f.d(g), u = !1, l();
36903
36907
  }
36904
36908
  };
36905
36909
  }
36906
- function Oi(e) {
36910
+ function Bi(e) {
36907
36911
  let t, r, n;
36908
36912
  return {
36909
36913
  c() {
@@ -36913,7 +36917,7 @@ function Oi(e) {
36913
36917
  ), B$1(r, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ContainerCenter svelte-ltb9q9");
36914
36918
  },
36915
36919
  m(i, o) {
36916
- v(i, t, o), G(t, r), G(r, n);
36920
+ k(i, t, o), G(t, r), G(r, n);
36917
36921
  },
36918
36922
  p(i, o) {
36919
36923
  o[0] & /*fatalError*/
@@ -36928,7 +36932,7 @@ function Oi(e) {
36928
36932
  }
36929
36933
  };
36930
36934
  }
36931
- function Ii(e) {
36935
+ function zi(e) {
36932
36936
  let t;
36933
36937
  return {
36934
36938
  c() {
@@ -36950,7 +36954,7 @@ function Ii(e) {
36950
36954
  );
36951
36955
  },
36952
36956
  m(r, n) {
36953
- v(r, t, n);
36957
+ k(r, t, n);
36954
36958
  },
36955
36959
  p(r, n) {
36956
36960
  n[0] & /*clientstyling*/
@@ -36978,7 +36982,7 @@ function Ii(e) {
36978
36982
  }
36979
36983
  };
36980
36984
  }
36981
- function xt(e) {
36985
+ function kt(e) {
36982
36986
  let t, r, n, i, o, a, s, h, u = (
36983
36987
  /*$_*/
36984
36988
  (e[16](`${/*consent*/
@@ -36987,31 +36991,31 @@ function xt(e) {
36987
36991
  ), l = (
36988
36992
  /*consent*/
36989
36993
  e[64].mustAccept ? " *" : ""
36990
- ), d, m, b, f, g, S, _, v$1, C;
36991
- function P$1(...k) {
36994
+ ), d, m, v, f, g, C, _, b, x;
36995
+ function P$1(...E) {
36992
36996
  return (
36993
36997
  /*input_handler_1*/
36994
36998
  e[30](
36995
36999
  /*consent*/
36996
37000
  e[64],
36997
- ...k
37001
+ ...E
36998
37002
  )
36999
37003
  );
37000
37004
  }
37001
37005
  return {
37002
37006
  c() {
37003
- t = w$1("div"), r = w$1("input"), o = pt$1(), a = w$1("label"), s = w$1("div"), h = new Lt(!1), d = P(l), b = pt$1(), f = w$1("small"), S = pt$1(), B$1(r, "class", "checkbox__input svelte-ltb9q9"), B$1(r, "type", "checkbox"), r.checked = n = /*consent*/
37007
+ t = w$1("div"), r = w$1("input"), o = pt$1(), a = w$1("label"), s = w$1("div"), h = new Lt$1(!1), d = P(l), v = pt$1(), f = w$1("small"), C = pt$1(), B$1(r, "class", "checkbox__input svelte-ltb9q9"), B$1(r, "type", "checkbox"), r.checked = n = /*consent*/
37004
37008
  e[64].status === "1", B$1(r, "id", i = `${/*consent*/
37005
37009
  e[64].tagCode}__input`), h.a = d, B$1(s, "class", "checkbox__label-text svelte-ltb9q9"), B$1(a, "class", "checkbox__label svelte-ltb9q9"), B$1(a, "for", m = `${/*consent*/
37006
37010
  e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id", g = "checkBoxError__" + /*consent*/
37007
37011
  e[64].tagCode), B$1(t, "class", _ = "checkbox__wrapper " + /*consent*/
37008
37012
  e[64].tagCode + "__input svelte-ltb9q9");
37009
37013
  },
37010
- m(k, z) {
37011
- v(k, t, z), G(t, r), G(t, o), G(t, a), G(a, s), h.m(u, s), G(s, d), G(t, b), G(t, f), G(t, S), v$1 || (C = wt$1(r, "input", P$1), v$1 = !0);
37014
+ m(E, z) {
37015
+ k(E, t, z), G(t, r), G(t, o), G(t, a), G(a, s), h.m(u, s), G(s, d), G(t, v), G(t, f), G(t, C), b || (x = wt$1(r, "input", P$1), b = !0);
37012
37016
  },
37013
- p(k, z) {
37014
- e = k, z[0] & /*playerConsents*/
37017
+ p(E, z) {
37018
+ e = E, z[0] & /*playerConsents*/
37015
37019
  512 && n !== (n = /*consent*/
37016
37020
  e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
37017
37021
  512 && i !== (i = `${/*consent*/
@@ -37029,39 +37033,39 @@ function xt(e) {
37029
37033
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
37030
37034
  e[64].tagCode + "__input svelte-ltb9q9") && B$1(t, "class", _);
37031
37035
  },
37032
- d(k) {
37033
- k && y(t), v$1 = !1, C();
37036
+ d(E) {
37037
+ E && y(t), b = !1, x();
37034
37038
  }
37035
37039
  };
37036
37040
  }
37037
- function Mt(e) {
37041
+ function Ct(e) {
37038
37042
  let t, r = (
37039
37043
  /*$_*/
37040
37044
  e[16]("title")
37041
37045
  ), n, i = (
37042
37046
  /*$_*/
37043
37047
  e[16]("description")
37044
- ), o = r && Tt(e), a = i && wt(e);
37048
+ ), o = r && St(e), a = i && xt(e);
37045
37049
  return {
37046
37050
  c() {
37047
37051
  t = w$1("div"), o && o.c(), n = pt$1(), a && a.c(), B$1(t, "class", "PlayerConsentsHeader svelte-ltb9q9");
37048
37052
  },
37049
37053
  m(s, h) {
37050
- v(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
37054
+ k(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
37051
37055
  },
37052
37056
  p(s, h) {
37053
37057
  h[0] & /*$_*/
37054
37058
  65536 && (r = /*$_*/
37055
- s[16]("title")), r ? o ? o.p(s, h) : (o = Tt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
37059
+ s[16]("title")), r ? o ? o.p(s, h) : (o = St(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
37056
37060
  65536 && (i = /*$_*/
37057
- s[16]("description")), i ? a ? a.p(s, h) : (a = wt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
37061
+ s[16]("description")), i ? a ? a.p(s, h) : (a = xt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
37058
37062
  },
37059
37063
  d(s) {
37060
37064
  s && y(t), o && o.d(), a && a.d();
37061
37065
  }
37062
37066
  };
37063
37067
  }
37064
- function Tt(e) {
37068
+ function St(e) {
37065
37069
  let t, r = (
37066
37070
  /*$_*/
37067
37071
  e[16]("title") + ""
@@ -37071,7 +37075,7 @@ function Tt(e) {
37071
37075
  t = w$1("h2"), n = P(r), B$1(t, "class", "PlayerConsentsTitle");
37072
37076
  },
37073
37077
  m(i, o) {
37074
- v(i, t, o), G(t, n);
37078
+ k(i, t, o), G(t, n);
37075
37079
  },
37076
37080
  p(i, o) {
37077
37081
  o[0] & /*$_*/
@@ -37083,7 +37087,7 @@ function Tt(e) {
37083
37087
  }
37084
37088
  };
37085
37089
  }
37086
- function wt(e) {
37090
+ function xt(e) {
37087
37091
  let t, r = (
37088
37092
  /*$_*/
37089
37093
  e[16]("description") + ""
@@ -37093,7 +37097,7 @@ function wt(e) {
37093
37097
  t = w$1("p"), n = P(r), B$1(t, "class", "PlayerConsentsDescription");
37094
37098
  },
37095
37099
  m(i, o) {
37096
- v(i, t, o), G(t, n);
37100
+ k(i, t, o), G(t, n);
37097
37101
  },
37098
37102
  p(i, o) {
37099
37103
  o[0] & /*$_*/
@@ -37105,21 +37109,21 @@ function wt(e) {
37105
37109
  }
37106
37110
  };
37107
37111
  }
37108
- function Nt(e) {
37112
+ function Tt(e) {
37109
37113
  let t;
37110
37114
  return {
37111
37115
  c() {
37112
37116
  t = w$1("sup"), t.textContent = "*", B$1(t, "class", "ConsentRequired svelte-ltb9q9");
37113
37117
  },
37114
37118
  m(r, n) {
37115
- v(r, t, n);
37119
+ k(r, t, n);
37116
37120
  },
37117
37121
  d(r) {
37118
37122
  r && y(t);
37119
37123
  }
37120
37124
  };
37121
37125
  }
37122
- function At(e) {
37126
+ function Mt(e) {
37123
37127
  let t, r = (
37124
37128
  /*$_*/
37125
37129
  (e[16](`${/*consent*/
@@ -37131,7 +37135,7 @@ function At(e) {
37131
37135
  t = w$1("p"), B$1(t, "class", "ConsentDescription svelte-ltb9q9");
37132
37136
  },
37133
37137
  m(n, i) {
37134
- v(n, t, i), t.innerHTML = r;
37138
+ k(n, t, i), t.innerHTML = r;
37135
37139
  },
37136
37140
  p(n, i) {
37137
37141
  i[0] & /*$_, playerConsents, consentsCategories*/
@@ -37145,20 +37149,20 @@ function At(e) {
37145
37149
  }
37146
37150
  };
37147
37151
  }
37148
- function Ht(e) {
37152
+ function wt(e) {
37149
37153
  let t, r, n, i, o = (
37150
37154
  /*$_*/
37151
37155
  (e[16](`${/*consent*/
37152
37156
  e[64].tagCode}__name`) || /*consent*/
37153
37157
  e[64].friendlyName) + ""
37154
- ), a, s, h, u, l, d, m, b, f, g, S, _ = (
37158
+ ), a, s, h, u, l, d, m, v, f, g, C, _ = (
37155
37159
  /*consent*/
37156
- e[64].mustAccept === !0 && Nt()
37157
- ), v$1 = (
37160
+ e[64].mustAccept === !0 && Tt()
37161
+ ), b = (
37158
37162
  /*displayconsentdescription*/
37159
- e[4] === "true" && At(e)
37163
+ e[4] === "true" && Mt(e)
37160
37164
  );
37161
- function C(...P) {
37165
+ function x(...P) {
37162
37166
  return (
37163
37167
  /*input_handler*/
37164
37168
  e[29](
@@ -37170,7 +37174,7 @@ function Ht(e) {
37170
37174
  }
37171
37175
  return {
37172
37176
  c() {
37173
- t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt(!1), a = pt$1(), _ && _.c(), s = pt$1(), v$1 && v$1.c(), h = pt$1(), u = w$1("label"), l = w$1("input"), b = pt$1(), f = w$1("span"), i.a = a, B$1(n, "class", "ConsentName svelte-ltb9q9"), B$1(r, "class", "ConsentContent"), B$1(l, "type", "checkbox"), l.disabled = d = /*consent*/
37177
+ t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt$1(!1), a = pt$1(), _ && _.c(), s = pt$1(), b && b.c(), h = pt$1(), u = w$1("label"), l = w$1("input"), v = pt$1(), f = w$1("span"), i.a = a, B$1(n, "class", "ConsentName svelte-ltb9q9"), B$1(r, "class", "ConsentContent"), B$1(l, "type", "checkbox"), l.disabled = d = /*consent*/
37174
37178
  e[64].mustAccept === !0 && /*initialConsentsState*/
37175
37179
  e[12][
37176
37180
  /*consent*/
@@ -37181,23 +37185,23 @@ function Ht(e) {
37181
37185
  e[64].tagCode
37182
37186
  ], B$1(l, "class", "svelte-ltb9q9"), B$1(f, "class", "Slider Round svelte-ltb9q9"), B$1(u, "class", "ToggleSwitch svelte-ltb9q9"), B$1(t, "class", "ConsentItem svelte-ltb9q9");
37183
37187
  },
37184
- m(P, k) {
37185
- v(P, t, k), G(t, r), G(r, n), i.m(o, n), G(n, a), _ && _.m(n, null), G(r, s), v$1 && v$1.m(r, null), G(t, h), G(t, u), G(u, l), G(u, b), G(u, f), g || (S = wt$1(l, "input", C), g = !0);
37188
+ m(P, E) {
37189
+ k(P, t, E), G(t, r), G(r, n), i.m(o, n), G(n, a), _ && _.m(n, null), G(r, s), b && b.m(r, null), G(t, h), G(t, u), G(u, l), G(u, v), G(u, f), g || (C = wt$1(l, "input", x), g = !0);
37186
37190
  },
37187
- p(P, k) {
37188
- e = P, k[0] & /*$_, playerConsents, consentsCategories*/
37191
+ p(P, E) {
37192
+ e = P, E[0] & /*$_, playerConsents, consentsCategories*/
37189
37193
  66304 && o !== (o = /*$_*/
37190
37194
  (e[16](`${/*consent*/
37191
37195
  e[64].tagCode}__name`) || /*consent*/
37192
37196
  e[64].friendlyName) + "") && i.p(o), /*consent*/
37193
- e[64].mustAccept === !0 ? _ || (_ = Nt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
37194
- e[4] === "true" ? v$1 ? v$1.p(e, k) : (v$1 = At(e), v$1.c(), v$1.m(r, null)) : v$1 && (v$1.d(1), v$1 = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
37197
+ e[64].mustAccept === !0 ? _ || (_ = Tt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
37198
+ e[4] === "true" ? b ? b.p(e, E) : (b = Mt(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
37195
37199
  4864 && d !== (d = /*consent*/
37196
37200
  e[64].mustAccept === !0 && /*initialConsentsState*/
37197
37201
  e[12][
37198
37202
  /*consent*/
37199
37203
  e[64].tagCode
37200
- ] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
37204
+ ] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
37201
37205
  8960 && m !== (m = /*consentsState*/
37202
37206
  e[13][
37203
37207
  /*consent*/
@@ -37205,17 +37209,17 @@ function Ht(e) {
37205
37209
  ]) && (l.checked = m);
37206
37210
  },
37207
37211
  d(P) {
37208
- P && y(t), _ && _.d(), v$1 && v$1.d(), g = !1, S();
37212
+ P && y(t), _ && _.d(), b && b.d(), g = !1, C();
37209
37213
  }
37210
37214
  };
37211
37215
  }
37212
- function Pt(e) {
37216
+ function Nt(e) {
37213
37217
  let t, r, n, i = (
37214
37218
  /*$_*/
37215
37219
  (e[16](`${/*category*/
37216
37220
  e[61].categoryTagCode}__category`) || /*category*/
37217
37221
  e[61].friendlyName) + ""
37218
- ), o, a, s, h, u, l, d, m, b;
37222
+ ), o, a, s, h, u, l, d, m, v;
37219
37223
  function f() {
37220
37224
  e[26].call(
37221
37225
  s,
@@ -37232,44 +37236,44 @@ function Pt(e) {
37232
37236
  )
37233
37237
  );
37234
37238
  }
37235
- function S(...C) {
37239
+ function C(...x) {
37236
37240
  return (
37237
37241
  /*func*/
37238
37242
  e[28](
37239
37243
  /*category*/
37240
37244
  e[61],
37241
- ...C
37245
+ ...x
37242
37246
  )
37243
37247
  );
37244
37248
  }
37245
- let _ = kt$1(
37249
+ let _ = vt$1(
37246
37250
  /*playerConsents*/
37247
- e[9].filter(S)
37248
- ), v$1 = [];
37249
- for (let C = 0; C < _.length; C += 1)
37250
- v$1[C] = Ht(St(e, _, C));
37251
+ e[9].filter(C)
37252
+ ), b = [];
37253
+ for (let x = 0; x < _.length; x += 1)
37254
+ b[x] = wt(Et(e, _, x));
37251
37255
  return {
37252
37256
  c() {
37253
37257
  t = w$1("div"), r = w$1("div"), n = w$1("h3"), o = pt$1(), a = w$1("label"), s = w$1("input"), h = pt$1(), u = w$1("span"), l = pt$1(), d = w$1("div");
37254
- for (let C = 0; C < v$1.length; C += 1)
37255
- v$1[C].c();
37258
+ for (let x = 0; x < b.length; x += 1)
37259
+ b[x].c();
37256
37260
  B$1(s, "type", "checkbox"), B$1(s, "class", "svelte-ltb9q9"), B$1(u, "class", "Slider Round svelte-ltb9q9"), B$1(a, "class", "ToggleSwitch Big svelte-ltb9q9"), B$1(r, "class", "AccordionHeader svelte-ltb9q9"), B$1(d, "class", "AccordionContent svelte-ltb9q9"), B$1(t, "class", "AccordionItem svelte-ltb9q9");
37257
37261
  },
37258
- m(C, P) {
37259
- v(C, t, P), G(t, r), G(r, n), n.innerHTML = i, G(r, o), G(r, a), G(a, s), s.checked = /*categoryToggle*/
37262
+ m(x, P) {
37263
+ k(x, t, P), G(t, r), G(r, n), n.innerHTML = i, G(r, o), G(r, a), G(a, s), s.checked = /*categoryToggle*/
37260
37264
  e[11][
37261
37265
  /*category*/
37262
37266
  e[61].categoryTagCode
37263
37267
  ], G(a, h), G(a, u), G(t, l), G(t, d);
37264
- for (let k = 0; k < v$1.length; k += 1)
37265
- v$1[k] && v$1[k].m(d, null);
37266
- m || (b = [
37268
+ for (let E = 0; E < b.length; E += 1)
37269
+ b[E] && b[E].m(d, null);
37270
+ m || (v = [
37267
37271
  wt$1(s, "change", f),
37268
37272
  wt$1(s, "change", g)
37269
37273
  ], m = !0);
37270
37274
  },
37271
- p(C, P) {
37272
- if (e = C, P[0] & /*$_, consentsCategories*/
37275
+ p(x, P) {
37276
+ if (e = x, P[0] & /*$_, consentsCategories*/
37273
37277
  65792 && i !== (i = /*$_*/
37274
37278
  (e[16](`${/*category*/
37275
37279
  e[61].categoryTagCode}__category`) || /*category*/
@@ -37280,26 +37284,26 @@ function Pt(e) {
37280
37284
  e[61].categoryTagCode
37281
37285
  ]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
37282
37286
  602896) {
37283
- _ = kt$1(
37287
+ _ = vt$1(
37284
37288
  /*playerConsents*/
37285
- e[9].filter(S)
37289
+ e[9].filter(C)
37286
37290
  );
37287
- let k;
37288
- for (k = 0; k < _.length; k += 1) {
37289
- const z = St(e, _, k);
37290
- v$1[k] ? v$1[k].p(z, P) : (v$1[k] = Ht(z), v$1[k].c(), v$1[k].m(d, null));
37291
+ let E;
37292
+ for (E = 0; E < _.length; E += 1) {
37293
+ const z = Et(e, _, E);
37294
+ b[E] ? b[E].p(z, P) : (b[E] = wt(z), b[E].c(), b[E].m(d, null));
37291
37295
  }
37292
- for (; k < v$1.length; k += 1)
37293
- v$1[k].d(1);
37294
- v$1.length = _.length;
37296
+ for (; E < b.length; E += 1)
37297
+ b[E].d(1);
37298
+ b.length = _.length;
37295
37299
  }
37296
37300
  },
37297
- d(C) {
37298
- C && y(t), bt$1(v$1, C), m = !1, p(b);
37301
+ d(x) {
37302
+ x && y(t), bt$1(b, x), m = !1, p(v);
37299
37303
  }
37300
37304
  };
37301
37305
  }
37302
- function Bt(e) {
37306
+ function At(e) {
37303
37307
  let t, r, n, i, o;
37304
37308
  return {
37305
37309
  c() {
@@ -37309,7 +37313,7 @@ function Bt(e) {
37309
37313
  ), xt$1(r, "class", "svelte-ltb9q9"), B$1(i, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ConsentErrorContainer svelte-ltb9q9");
37310
37314
  },
37311
37315
  m(a, s) {
37312
- v(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
37316
+ k(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
37313
37317
  },
37314
37318
  p(a, s) {
37315
37319
  s[0] & /*errorMessage*/
@@ -37324,27 +37328,27 @@ function Bt(e) {
37324
37328
  }
37325
37329
  };
37326
37330
  }
37327
- function ji(e) {
37331
+ function Oi(e) {
37328
37332
  let t, r;
37329
37333
  function n(a, s) {
37330
37334
  if (
37331
37335
  /*isLoading*/
37332
37336
  a[10]
37333
37337
  )
37334
- return Ii;
37338
+ return zi;
37335
37339
  if (
37336
37340
  /*fatalError*/
37337
37341
  a[7]
37338
37342
  )
37339
- return Oi;
37343
+ return Bi;
37340
37344
  if (
37341
37345
  /*session*/
37342
37346
  a[0]
37343
37347
  )
37344
- return zi;
37348
+ return Pi;
37345
37349
  if (!/*session*/
37346
37350
  a[0])
37347
- return Bi;
37351
+ return Hi;
37348
37352
  }
37349
37353
  let i = n(e), o = i && i(e);
37350
37354
  return {
@@ -37352,7 +37356,7 @@ function ji(e) {
37352
37356
  t = w$1("div"), r = w$1("div"), o && o.c(), B$1(r, "class", "ConsentsContainer svelte-ltb9q9"), B$1(t, "class", gt$1("") + " svelte-ltb9q9");
37353
37357
  },
37354
37358
  m(a, s) {
37355
- v(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
37359
+ k(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
37356
37360
  },
37357
37361
  p(a, s) {
37358
37362
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
@@ -37364,190 +37368,190 @@ function ji(e) {
37364
37368
  }
37365
37369
  };
37366
37370
  }
37367
- function Li(e, t, r) {
37371
+ function Ii(e, t, r) {
37368
37372
  let n;
37369
- _t$1(e, wi, (c) => r(16, n = c));
37370
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: b = "false" } = t, f, g, S = !1, _ = !1, v = "", C = "", P = "", k = "", z = [], W$1 = [], O = [], se = !0, be = !0, G = {}, ve = {}, Z = {}, U = {}, le, ye, R = {
37373
+ _t$1(e, Ti, (c) => r(16, n = c));
37374
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: v = "false" } = t, f, g = !1, C = !1, _ = "", b = "", x = "", P = "", E$1 = [], z = [], O = [], ae = !0, _e = !0, G = {}, be = {}, W$1 = {}, U = {}, se, ve, R = {
37371
37375
  none: { key: "0", value: "None" },
37372
37376
  accepted: { key: "1", value: "Accepted" },
37373
37377
  expired: { key: "2", value: "Expired" },
37374
37378
  denied: { key: "3", value: "Denied" },
37375
37379
  suspended: { key: "4", value: "Suspended" }
37376
- }, Ee = !1;
37377
- Object.keys(Et).forEach((c) => {
37378
- yt(c, Et[c]);
37380
+ }, ye = !1;
37381
+ Object.keys(bt).forEach((c) => {
37382
+ _t(c, bt[c]);
37379
37383
  });
37380
- const cr = () => {
37381
- Ni(l);
37382
- }, ur = () => {
37384
+ const ar = () => {
37385
+ Mi(l);
37386
+ }, sr = () => {
37383
37387
  let c = new URL(m);
37384
37388
  fetch(c.href).then((p) => p.json()).then((p) => {
37385
- Object.keys(p).forEach((T) => {
37386
- yt(T, p[T]);
37389
+ Object.keys(p).forEach((M) => {
37390
+ _t(M, p[M]);
37387
37391
  });
37388
37392
  }).catch((p) => {
37389
37393
  console.log(p);
37390
37394
  });
37391
- }, hr = () => {
37392
- i && (v = i, _ = !0), o && (C = o);
37393
- }, ke = (c, p = !1) => {
37394
- p ? r(7, k = c) : (_r(), r(6, P = c));
37395
- }, ce = async (c, p, T, y = !1) => {
37395
+ }, lr = () => {
37396
+ i && (_ = i, C = !0), o && (b = o);
37397
+ }, Ee = (c, p = !1) => {
37398
+ p ? r(7, P = c) : (gr(), r(6, x = c));
37399
+ }, le = async (c, p, M, y = !1) => {
37396
37400
  try {
37397
- const M = await fetch(c, T);
37398
- if (!M.ok)
37401
+ const T = await fetch(c, M);
37402
+ if (!T.ok)
37399
37403
  throw new Error(n(p));
37400
- const I = await M.json();
37401
- return _ ? I : I.filter((F) => F.showOnRegister === !0);
37402
- } catch (M) {
37403
- throw ke(
37404
- M instanceof TypeError ? n(p) : M.message,
37404
+ const I = await T.json();
37405
+ return C ? I : I.filter((F) => F.showOnRegister === !0);
37406
+ } catch (T) {
37407
+ throw Ee(
37408
+ T instanceof TypeError ? n(p) : T.message,
37405
37409
  y
37406
- ), M;
37410
+ ), T;
37407
37411
  }
37408
- }, dr = async () => {
37412
+ }, cr = async () => {
37409
37413
  try {
37410
37414
  let c = [], p = [];
37411
- if (_ ? [c, p] = await rt() : c = await rt(), r(10, se = !1), W$1 = [...c], r(8, z = gr(W$1).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = pr(z)), ve = { ...G }, r(9, O = [...p]), W$1.forEach((T) => {
37412
- let y = O.find((M) => M.tagCode === T.tagCode);
37415
+ if (C ? [c, p] = await $e() : c = await $e(), r(10, ae = !1), z = [...c], r(8, E$1 = hr(z).sort((M, y) => M.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = dr(E$1)), be = { ...G }, r(9, O = [...p]), z.forEach((M) => {
37416
+ let y = O.find((T) => T.tagCode === M.tagCode);
37413
37417
  y || (y = {
37414
- ...T,
37418
+ ...M,
37415
37419
  status: R.denied.value
37416
- }, O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
37417
- }), b === "true") {
37418
- if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
37420
+ }, O.push(y)), y.description = M.description, y.orderNumber = M.orderNumber;
37421
+ }), v === "true") {
37422
+ if (r(9, O = O.filter((M) => M.status === R.expired.value)), O.length !== 0)
37419
37423
  return;
37420
- ke(n("wrongModalConfig"), !0);
37424
+ Ee(n("wrongModalConfig"), !0);
37421
37425
  }
37422
- fr();
37426
+ mr();
37423
37427
  } catch (c) {
37424
- throw r(10, se = !1), ke(
37428
+ throw r(10, ae = !1), Ee(
37425
37429
  c instanceof TypeError ? n("invalidUrl") : c.message,
37426
37430
  !0
37427
37431
  ), c;
37428
37432
  }
37429
- }, rt = async () => {
37433
+ }, $e = async () => {
37430
37434
  const c = new URL(`${a}/api/v1/gm/consents`);
37431
- if (c.searchParams.append("Status", "Active"), !_)
37432
- return await ce(c.href, "fetchConsentsError", { method: "GET" }, !0);
37433
- const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
37435
+ if (c.searchParams.append("Status", "Active"), !C)
37436
+ return await le(c.href, "fetchConsentsError", { method: "GET" }, !0);
37437
+ const p = new URL(`${a}/api/v1/gm/user-consents/${b}`);
37434
37438
  return await Promise.all([
37435
- ce(c.href, "fetchConsentsError", { method: "GET" }, !0),
37436
- ce(p.href, "fetchPlayerConsentsError", {
37439
+ le(c.href, "fetchConsentsError", { method: "GET" }, !0),
37440
+ le(p.href, "fetchPlayerConsentsError", {
37437
37441
  method: "GET",
37438
37442
  headers: {
37439
- "X-SessionId": v,
37443
+ "X-SessionId": _,
37440
37444
  "Content-Type": "application/json"
37441
37445
  }
37442
37446
  })
37443
37447
  ]);
37444
- }, mr = () => {
37445
- Ee = !1;
37448
+ }, ur = () => {
37449
+ ye = !1;
37446
37450
  const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
37447
37451
  "Content-Type": "application/json",
37448
37452
  Accept: "application/json"
37449
- }, T = { method: "GET", headers: p };
37450
- fetch(c.href, T).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((M) => (console.error(M), Ce(M))))).then((y) => {
37451
- if (!Ee) {
37452
- if (W$1 = y, localStorage.getItem("playerConsents")) {
37453
+ }, M = { method: "GET", headers: p };
37454
+ fetch(c.href, M).then((y) => y.ok ? y.json() : (ye = !0, y.json().then((T) => (console.error(T), ke(T))))).then((y) => {
37455
+ if (!ye) {
37456
+ if (z = y, localStorage.getItem("playerConsents")) {
37453
37457
  try {
37454
37458
  r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
37455
- } catch (M) {
37456
- return console.error(M), Ce(M);
37459
+ } catch (T) {
37460
+ return console.error(T), ke(T);
37457
37461
  }
37458
37462
  return;
37459
37463
  }
37460
- return r(9, O = W$1.map((M) => ({
37461
- id: M.id,
37464
+ return r(9, O = z.map((T) => ({
37465
+ id: T.id,
37462
37466
  status: R.denied.key,
37463
- friendlyName: M.friendlyName,
37464
- tagCode: M.tagCode,
37467
+ friendlyName: T.friendlyName,
37468
+ tagCode: T.tagCode,
37465
37469
  selected: null,
37466
- mustAccept: M.mustAccept
37470
+ mustAccept: T.mustAccept
37467
37471
  }))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
37468
37472
  }
37469
- }).catch((y) => (console.error(y), Ce(y))).finally(() => {
37470
- r(10, se = !1);
37473
+ }).catch((y) => (console.error(y), ke(y))).finally(() => {
37474
+ r(10, ae = !1);
37471
37475
  });
37472
- }, gr = (c) => {
37476
+ }, hr = (c) => {
37473
37477
  const p = /* @__PURE__ */ new Map();
37474
- return c.forEach((T) => {
37475
- p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
37478
+ return c.forEach((M) => {
37479
+ p.has(M.category.categoryTagCode) || p.set(M.category.categoryTagCode, M.category);
37476
37480
  }), Array.from(p.values());
37477
- }, pr = (c) => {
37478
- const p = localStorage.getItem("categoryToggle" + C);
37481
+ }, dr = (c) => {
37482
+ const p = localStorage.getItem("categoryToggle" + b);
37479
37483
  if (p === null) {
37480
- const T = c.reduce(
37481
- (y, M) => (y[M.categoryTagCode] = !1, y),
37484
+ const M = c.reduce(
37485
+ (y, T) => (y[T.categoryTagCode] = !1, y),
37482
37486
  {}
37483
37487
  );
37484
- return localStorage.setItem("categoryToggle" + C, JSON.stringify(T)), T;
37488
+ return localStorage.setItem("categoryToggle" + b, JSON.stringify(M)), M;
37485
37489
  } else
37486
37490
  return JSON.parse(p);
37487
- }, fr = () => {
37491
+ }, mr = () => {
37488
37492
  O.forEach((c) => {
37489
- r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
37490
- }), r(13, U = { ...Z });
37491
- }, _r = () => {
37492
- r(13, U = { ...Z }), r(11, G = { ...ve });
37493
- }, br = async () => {
37494
- if (!be)
37493
+ r(12, W$1[c.tagCode] = c.status === R.accepted.value, W$1);
37494
+ }), r(13, U = { ...W$1 });
37495
+ }, gr = () => {
37496
+ r(13, U = { ...W$1 }), r(11, G = { ...be });
37497
+ }, pr = async () => {
37498
+ if (!_e)
37495
37499
  return;
37496
- be = !1;
37500
+ _e = !1;
37497
37501
  const c = [], p = [];
37498
37502
  if (Object.keys(U).forEach((y) => {
37499
- const M = O.find((I) => I.tagCode === y);
37500
- U[y] !== Z[y] && (M ? c.push({
37503
+ const T = O.find((I) => I.tagCode === y);
37504
+ U[y] !== W$1[y] && (T ? c.push({
37501
37505
  tagCode: y,
37502
37506
  status: U[y] ? R.accepted.value : R.denied.value
37503
37507
  }) : p.push({
37504
37508
  tagCode: y,
37505
37509
  status: U[y] ? R.accepted.value : R.denied.value
37506
37510
  }));
37507
- }), !_) {
37508
- localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
37511
+ }), !C) {
37512
+ localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
37509
37513
  {
37510
37514
  type: "NewPlayerConsentData",
37511
37515
  data: JSON.stringify(p)
37512
37516
  },
37513
37517
  window.location.href
37514
- ), be = !0;
37518
+ ), _e = !0;
37515
37519
  return;
37516
37520
  }
37517
- const T = new URL(`${a}/api/v1/gm/user-consents/${C}`);
37521
+ const M = new URL(`${a}/api/v1/gm/user-consents/${b}`);
37518
37522
  try {
37519
37523
  const y = await Promise.allSettled([
37520
- p.length > 0 && ce(T.href, "updateConsentsError", {
37524
+ p.length > 0 && le(M.href, "updateConsentsError", {
37521
37525
  method: "POST",
37522
37526
  headers: {
37523
- "X-SessionId": v,
37527
+ "X-SessionId": _,
37524
37528
  "Content-Type": "application/json"
37525
37529
  },
37526
37530
  body: JSON.stringify({ userConsents: p })
37527
37531
  }),
37528
- c.length > 0 && ce(T.href, "updateConsentsError", {
37532
+ c.length > 0 && le(M.href, "updateConsentsError", {
37529
37533
  method: "PATCH",
37530
37534
  headers: {
37531
- "X-SessionId": v,
37535
+ "X-SessionId": _,
37532
37536
  "Content-Type": "application/json"
37533
37537
  },
37534
37538
  body: JSON.stringify({ userConsents: c })
37535
37539
  })
37536
37540
  ]);
37537
- y.forEach((M, I) => {
37538
- if (M.status === "rejected" || M.value.ok === !1) {
37541
+ y.forEach((T, I) => {
37542
+ if (T.status === "rejected" || T.value.ok === !1) {
37539
37543
  const F = I < p.length ? p[I] : c[I - p.length];
37540
- r(13, U[F.tagCode] = Z[F.tagCode], U);
37544
+ r(13, U[F.tagCode] = W$1[F.tagCode], U);
37541
37545
  }
37542
- }), y.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
37546
+ }), y.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
37543
37547
  {
37544
37548
  type: "PlayerConsentUpdated",
37545
37549
  success: !0
37546
37550
  },
37547
37551
  window.location.href
37548
- ), r(12, Z = { ...U }));
37552
+ ), r(12, W$1 = { ...U }));
37549
37553
  } catch (y) {
37550
- ke(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
37554
+ Ee(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
37551
37555
  {
37552
37556
  type: "PlayerConsentUpdated",
37553
37557
  success: !1
@@ -37555,58 +37559,58 @@ function Li(e, t, r) {
37555
37559
  window.location.href
37556
37560
  );
37557
37561
  } finally {
37558
- be = !0, r(14, le = !1);
37562
+ _e = !0, r(14, se = !1);
37559
37563
  }
37560
- }, vr = (c) => {
37561
- const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
37564
+ }, fr = (c) => {
37565
+ const p = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
37562
37566
  "Content-Type": "application/json",
37563
37567
  Accept: "application/json"
37564
37568
  }, y = {
37565
37569
  playerConsents: O,
37566
37570
  registrationId: c
37567
- }, M = {
37571
+ }, T = {
37568
37572
  method: "POST",
37569
37573
  body: JSON.stringify(y),
37570
- headers: T
37574
+ headers: M
37571
37575
  };
37572
- fetch(p.href, M).then((I) => {
37573
- I.ok || (Ee = !0);
37574
- }).catch((I) => (console.error(I), Ce(I))).finally(() => {
37575
- r(10, se = !1);
37576
+ fetch(p.href, T).then((I) => {
37577
+ I.ok || (ye = !0);
37578
+ }).catch((I) => (console.error(I), ke(I))).finally(() => {
37579
+ r(10, ae = !1);
37576
37580
  });
37577
- }, nt = (c) => {
37581
+ }, et = (c) => {
37578
37582
  O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
37579
37583
  p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = G[c] || !1, U);
37580
- }), r(14, le = it());
37581
- }, ze = (c, p, T) => {
37582
- const y = O.find((F) => F.id === T), M = p ? "value" : "key";
37584
+ }), r(14, se = tt());
37585
+ }, Be = (c, p, M) => {
37586
+ const y = O.find((F) => F.id === M), T = p ? "value" : "key";
37583
37587
  let I;
37584
37588
  if (!p && y.mustAccept) {
37585
- const F = Array.from(ye.children);
37586
- for (const ue of F)
37587
- if (I = Array.from(ue.children).find((Ar) => Ar.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
37589
+ const F = Array.from(ve.children);
37590
+ for (const ce of F)
37591
+ if (I = Array.from(ce.children).find((Mr) => Mr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
37588
37592
  break;
37589
37593
  }
37590
- if (y.status === R.accepted[M] ? (y.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[M], I && (I.innerHTML = "")), p) {
37594
+ if (y.status === R.accepted[T] ? (y.status = R.denied[T], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[T], I && (I.innerHTML = "")), p) {
37591
37595
  r(13, U[y.tagCode] = !U[y.tagCode], U);
37592
- const F = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
37596
+ const F = O.filter((ce) => ce.category.categoryTagCode === p.categoryTagCode).every((ce) => ce.status !== R.denied.value);
37593
37597
  r(11, G[p.categoryTagCode] = F, G);
37594
37598
  }
37595
- yr();
37596
- }, yr = ((c, p) => {
37597
- let T;
37599
+ _r();
37600
+ }, _r = ((c, p) => {
37601
+ let M;
37598
37602
  return function(...y) {
37599
- const M = this;
37600
- clearTimeout(T), T = setTimeout(
37603
+ const T = this;
37604
+ clearTimeout(M), M = setTimeout(
37601
37605
  () => {
37602
- c.apply(M, y);
37606
+ c.apply(T, y);
37603
37607
  },
37604
37608
  p
37605
37609
  );
37606
37610
  };
37607
- })(() => Er(), 500), Er = () => {
37608
- r(14, le = it()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
37609
- }, it = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Ce = (c) => {
37611
+ })(() => br(), 500), br = () => {
37612
+ r(14, se = tt()), i || (window.postMessage({ type: "isConsentsValid", isValid: se }), localStorage.setItem("playerConsents", JSON.stringify(O)));
37613
+ }, tt = () => O.filter((p) => O.some((M) => p.tagCode === M.tagCode && M.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, ke = (c) => {
37610
37614
  window.postMessage(
37611
37615
  {
37612
37616
  type: "WidgetNotification",
@@ -37614,46 +37618,46 @@ function Li(e, t, r) {
37614
37618
  },
37615
37619
  window.location.href
37616
37620
  );
37617
- }, kr = (c) => {
37618
- c.data && c.data.type !== "setUpPlayerConsents" || vr(c.data.registerid);
37621
+ }, vr = (c) => {
37622
+ c.data && c.data.type !== "setUpPlayerConsents" || fr(c.data.registerid);
37619
37623
  };
37620
37624
  W(() => {
37621
37625
  setTimeout(
37622
37626
  () => {
37623
- r(25, S = !0);
37627
+ r(25, g = !0);
37624
37628
  },
37625
37629
  50
37626
37630
  );
37627
- const c = (p) => kr(p);
37631
+ const c = (p) => vr(p);
37628
37632
  return window.addEventListener("message", c), () => {
37629
- window.emMessageBus && g && g.unsubscribe(), window.removeEventListener("message", c);
37633
+ window.removeEventListener("message", c);
37630
37634
  };
37631
37635
  });
37632
- function Cr(c) {
37636
+ function yr(c) {
37633
37637
  G[c.categoryTagCode] = this.checked, r(11, G);
37634
37638
  }
37635
- const Sr = (c) => nt(c.categoryTagCode), xr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Mr = (c, p) => ze(p, c.category, c.id), Tr = (c, p) => ze(p, null, c.id);
37636
- function wr(c) {
37639
+ const Er = (c) => et(c.categoryTagCode), kr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Cr = (c, p) => Be(p, c.category, c.id), Sr = (c, p) => Be(p, null, c.id);
37640
+ function xr(c) {
37637
37641
  E[c ? "unshift" : "push"](() => {
37638
- ye = c, r(15, ye);
37642
+ ve = c, r(15, ve);
37639
37643
  });
37640
37644
  }
37641
- function Nr(c) {
37645
+ function Tr(c) {
37642
37646
  E[c ? "unshift" : "push"](() => {
37643
37647
  f = c, r(5, f);
37644
37648
  });
37645
37649
  }
37646
37650
  return e.$$set = (c) => {
37647
- "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, b = c.modalconsents);
37651
+ "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, v = c.modalconsents);
37648
37652
  }, e.$$.update = () => {
37649
37653
  e.$$.dirty[0] & /*isMounted, session*/
37650
- 33554433 && S && i && (hr(), dr()), e.$$.dirty[0] & /*session*/
37651
- 1 && (i || mr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
37654
+ 33554433 && g && i && (lr(), cr()), e.$$.dirty[0] & /*session*/
37655
+ 1 && (i || ur()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
37652
37656
  34 && s && f && ft$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
37653
37657
  36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
37654
- 40 && f && at(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
37655
- 4194304 && l && cr(), e.$$.dirty[0] & /*translationurl*/
37656
- 8388608 && m && ur();
37658
+ 40 && f && at$1(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
37659
+ 4194304 && l && ar(), e.$$.dirty[0] & /*translationurl*/
37660
+ 8388608 && m && sr();
37657
37661
  }, [
37658
37662
  i,
37659
37663
  s,
@@ -37661,42 +37665,42 @@ function Li(e, t, r) {
37661
37665
  u,
37662
37666
  d,
37663
37667
  f,
37668
+ x,
37664
37669
  P,
37665
- k,
37666
- z,
37670
+ E$1,
37667
37671
  O,
37668
- se,
37672
+ ae,
37669
37673
  G,
37670
- Z,
37674
+ W$1,
37671
37675
  U,
37672
- le,
37673
- ye,
37676
+ se,
37677
+ ve,
37674
37678
  n,
37675
- br,
37676
- nt,
37677
- ze,
37679
+ pr,
37680
+ et,
37681
+ Be,
37678
37682
  o,
37679
37683
  a,
37680
37684
  l,
37681
37685
  m,
37682
- b,
37683
- S,
37686
+ v,
37687
+ g,
37688
+ yr,
37689
+ Er,
37690
+ kr,
37684
37691
  Cr,
37685
37692
  Sr,
37686
37693
  xr,
37687
- Mr,
37688
- Tr,
37689
- wr,
37690
- Nr
37694
+ Tr
37691
37695
  ];
37692
37696
  }
37693
- class Ri extends lt$1 {
37697
+ class ji extends lt$1 {
37694
37698
  constructor(t) {
37695
37699
  super(), ct$1(
37696
37700
  this,
37697
37701
  t,
37698
- Li,
37699
- ji,
37702
+ Ii,
37703
+ Oi,
37700
37704
  z,
37701
37705
  {
37702
37706
  session: 0,
@@ -37710,7 +37714,7 @@ class Ri extends lt$1 {
37710
37714
  translationurl: 23,
37711
37715
  modalconsents: 24
37712
37716
  },
37713
- Pi,
37717
+ Ai,
37714
37718
  [-1, -1, -1]
37715
37719
  );
37716
37720
  }
@@ -37775,7 +37779,7 @@ class Ri extends lt$1 {
37775
37779
  this.$$set({ modalconsents: t }), _();
37776
37780
  }
37777
37781
  }
37778
- ot(Ri, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
37782
+ ot$1(ji, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
37779
37783
 
37780
37784
  function r(t) {
37781
37785
  return function(...n) {
@@ -37789,7 +37793,7 @@ function r(t) {
37789
37793
  };
37790
37794
  }
37791
37795
  customElements.define = r(customElements.define);
37792
- !customElements.get("player-consents") && customElements.define("player-consents", Ri.element);
37796
+ !customElements.get("player-consents") && customElements.define("player-consents", ji.element);
37793
37797
 
37794
37798
  const generalRegistrationCss = "*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: \"Roboto\";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.registration__error-message {\n color: var(--emw--color-error, var(--emw--color-red, #ed0909));\n font-size: 13px;\n display: block;\n justify-content: center;\n text-align: center;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.registration__button {\n border-radius: 5px;\n background: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n border: 1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n color: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));\n text-transform: uppercase;\n font-size: 20px;\n height: 44px;\n width: 100%;\n margin: 0px auto;\n padding: 10px 20px;\n font-weight: normal;\n box-shadow: none;\n cursor: pointer;\n}\n.registration__button--disabled {\n background: var(--emw--color-gray-100, #E6E6E6);\n border: 1px solid var(--emw--color-gray-150, #828282);\n pointer-events: none;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n width: 50px;\n height: 50px;\n}\n.spinner .path {\n stroke: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}";
37795
37799
  const GeneralRegistrationStyle0 = generalRegistrationCss;
@@ -45451,8 +45455,10 @@ const TelInput = class {
45451
45455
  if (this.action.split(" ")[0] == 'GET') {
45452
45456
  const endpoint = this.action.split(" ")[1];
45453
45457
  return this.getPhoneCodes(endpoint).then((options) => {
45454
- this.phoneCodesOptions = options.phoneCodes.map(code => {
45455
- return { label: code.Prefix, value: code.Prefix };
45458
+ this.phoneCodesOptions = options.phoneCodes.map((code) => {
45459
+ return typeof code === "object" && code.Prefix
45460
+ ? { label: code.Prefix, value: code.Prefix }
45461
+ : { label: code, value: code };
45456
45462
  });
45457
45463
  });
45458
45464
  }
@@ -45526,8 +45532,8 @@ const TelInput = class {
45526
45532
  if (this.touched) {
45527
45533
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
45528
45534
  }
45529
- return h$3("div", { key: 'f0f70d8568ba083ee19f9e73e5921104f599e15f', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '8da9e1c2a6b3ca19caff07540f0218266de22bb2', class: 'tel__wrapper--flex-label' }, h$3("label", { key: 'd0d90bc96e3ea853f401bae9be3f033d4cfd9b17', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'fdf7929f51edcbea8568b35804b0d9e9a93a7249', class: 'tel__wrapper--relative' }, this.tooltip &&
45530
- h$3("img", { key: '0fbc9b5e8c5feef727caa71ef07d4ae80007e04a', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("div", { key: 'b4a11808a7ae5e5cddce47b51a51003bce3a84f8', class: `tel__wrapper--flex ${invalidClass}` }, h$3("vaadin-combo-box", { key: '2d81ff4c11e559f302a8446816f4aca0de2cfcef', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$3("input", { key: 'ab52185589bf4d52205bad4cecc9c7ecb54cd409', type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), h$3("small", { key: '6d219de32297bc2fab31995b5a33b14f2eea21d9', class: 'tel__error-message' }, this.errorMessage));
45535
+ return h$3("div", { key: 'c301ee1d0c8c256a5f85275d0693c62c7098a537', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '4e3b00c3df0e3cd225fcaad8b53dd715a74da455', class: 'tel__wrapper--flex-label' }, h$3("label", { key: 'd7a0c5e439a49a42acf0ca8d65bd91abcea5ca87', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: '6ab717e5c3ca495fb5e840a7f7f071b9cb791b54', class: 'tel__wrapper--relative' }, this.tooltip &&
45536
+ h$3("img", { key: '54d9bc2283e91af42aca08340e55c404d57cc690', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("div", { key: '7ef8e2f8c5bdcfd228a1ca5debe0de39a066ded0', class: `tel__wrapper--flex ${invalidClass}` }, h$3("vaadin-combo-box", { key: 'b182d7bc2242f9d2f604360b372a29ebfbae8ca7', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$3("input", { key: 'c0edad7e540464c2bf8f0468118ce89ec6ff7a92', type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), h$3("small", { key: '3b427400644daa103a48429d7cf1e139ac6fa73d', class: 'tel__error-message' }, this.errorMessage));
45531
45537
  }
45532
45538
  static get watchers() { return {
45533
45539
  "clientStyling": ["handleStylingChange"],