@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.
- package/dist/cjs/checkbox-group-input_13.cjs.entry.js +784 -778
- package/dist/esm/checkbox-group-input_13.entry.js +784 -778
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/{p-fb47e4cb.entry.js → p-7cdd3034.entry.js} +61 -61
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
- 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
- /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
- /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
- /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
- /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
- /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
- /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
- /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
- /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
|
@@ -24,7 +24,8 @@ const TRANSLATIONS$1 = {
|
|
|
24
24
|
"MustContainCapital": "Password must include a capital letter",
|
|
25
25
|
"MustIncludePunctation": "Password must include punctuation",
|
|
26
26
|
"OnlyNumbers": "Should contains only numbers.",
|
|
27
|
-
"InvalidFieldSize": "The length must be exactly 11 digits."
|
|
27
|
+
"InvalidFieldSize": "The length must be exactly 11 digits.",
|
|
28
|
+
"InvalidDocumentNumber": "Only numerical characters are allowed."
|
|
28
29
|
},
|
|
29
30
|
"hu": {
|
|
30
31
|
"dateError": "A választott dátumnak {min} és {max} között kell lennie",
|
|
@@ -43,7 +44,8 @@ const TRANSLATIONS$1 = {
|
|
|
43
44
|
"MustContainCapital": "A jelszónak tartalmaznia kell egy nagybetűt",
|
|
44
45
|
"MustIncludePunctation": "A jelszónak tartalmaznia kell írásjelet",
|
|
45
46
|
"OnlyNumbers": "Csak számokat kell tartalmaznia.",
|
|
46
|
-
"InvalidFieldSize": "A hosszúságnak pontosan 11 számjegynek kell lennie."
|
|
47
|
+
"InvalidFieldSize": "A hosszúságnak pontosan 11 számjegynek kell lennie.",
|
|
48
|
+
"InvalidDocumentNumber": "Csak számjegyek engedélyezettek.",
|
|
47
49
|
},
|
|
48
50
|
"hr": {
|
|
49
51
|
"dateError": "Odabrani datum treba biti između {min} i {max}",
|
|
@@ -63,7 +65,8 @@ const TRANSLATIONS$1 = {
|
|
|
63
65
|
"MustContainCapital": "Lozinka mora sadržavati veliko slovo",
|
|
64
66
|
"MustIncludePunctation": "Lozinka mora sadržavati barem jedan znak",
|
|
65
67
|
"OnlyNumbers": "Treba sadržavati samo brojeve.",
|
|
66
|
-
"InvalidFieldSize": "Dužina mora biti točno 11 znamenki."
|
|
68
|
+
"InvalidFieldSize": "Dužina mora biti točno 11 znamenki.",
|
|
69
|
+
"InvalidDocumentNumber": "Dopušteni su samo numerički znakovi."
|
|
67
70
|
},
|
|
68
71
|
"tr": {
|
|
69
72
|
"dateError": "Seçilen tarih {min} ve {max} arasında olmalıdır",
|
|
@@ -83,7 +86,8 @@ const TRANSLATIONS$1 = {
|
|
|
83
86
|
"MustContainCapital": "büyük harf içermelidir",
|
|
84
87
|
"MustIncludePunctation": "noktalama işareti içermelidir",
|
|
85
88
|
"OnlyNumbers": "Sadece sayılar içermelidir.",
|
|
86
|
-
"InvalidFieldSize": "Uzunluk tam olarak 11 rakam olmalıdır."
|
|
89
|
+
"InvalidFieldSize": "Uzunluk tam olarak 11 rakam olmalıdır.",
|
|
90
|
+
"InvalidDocumentNumber": "Sadece sayısal karakterlere izin verilir."
|
|
87
91
|
},
|
|
88
92
|
"pt-br": {
|
|
89
93
|
"dateError": "A data selecionada deve estar entre {min} e {max}",
|
|
@@ -103,7 +107,8 @@ const TRANSLATIONS$1 = {
|
|
|
103
107
|
"MustContainCapital": "A senha deve incluir uma letra maiúscula",
|
|
104
108
|
"MustIncludePunctation": "A senha deve incluir um sinal de pontuação",
|
|
105
109
|
"OnlyNumbers": "Deve conter apenas números",
|
|
106
|
-
"InvalidFieldSize": "O comprimento deve ser exatamente 11 dígitos."
|
|
110
|
+
"InvalidFieldSize": "O comprimento deve ser exatamente 11 dígitos.",
|
|
111
|
+
"InvalidDocumentNumber": "Apenas caracteres numéricos são permitidos."
|
|
107
112
|
},
|
|
108
113
|
"es-mx": {
|
|
109
114
|
"dateError": "La fecha seleccionada debe ser entre {min} y {max}",
|
|
@@ -123,7 +128,8 @@ const TRANSLATIONS$1 = {
|
|
|
123
128
|
"MustContainCapital": "La contraseña debe incluir una letra mayúscula",
|
|
124
129
|
"MustIncludePunctation": "La contraseña debe incluir un signo de puntuación",
|
|
125
130
|
"OnlyNumbers": "Solo debe contener números",
|
|
126
|
-
"InvalidFieldSize": "La longitud debe ser exactamente de 11 dígitos."
|
|
131
|
+
"InvalidFieldSize": "La longitud debe ser exactamente de 11 dígitos.",
|
|
132
|
+
"InvalidDocumentNumber": "Solo se permiten caracteres numéricos."
|
|
127
133
|
}
|
|
128
134
|
};
|
|
129
135
|
const translate$2 = (key, customLang, values) => {
|
|
@@ -161,7 +167,7 @@ const tooltipIconSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD
|
|
|
161
167
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
162
168
|
*/
|
|
163
169
|
|
|
164
|
-
function defineCustomElement(CustomElement, version = '24.5.
|
|
170
|
+
function defineCustomElement(CustomElement, version = '24.5.11') {
|
|
165
171
|
Object.defineProperty(CustomElement, 'version', {
|
|
166
172
|
get() {
|
|
167
173
|
return version;
|
|
@@ -222,7 +228,7 @@ const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
|
|
|
222
228
|
* Copyright 2017 Google LLC
|
|
223
229
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
224
230
|
*/
|
|
225
|
-
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,$$
|
|
231
|
+
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};
|
|
226
232
|
|
|
227
233
|
/**
|
|
228
234
|
* @license
|
|
@@ -32285,7 +32291,7 @@ function _t$1(t, e, n) {
|
|
|
32285
32291
|
t.$$.on_destroy.push(D$1(e, n));
|
|
32286
32292
|
}
|
|
32287
32293
|
function gt$1(t) {
|
|
32288
|
-
return t
|
|
32294
|
+
return t;
|
|
32289
32295
|
}
|
|
32290
32296
|
function G(t, e) {
|
|
32291
32297
|
t.appendChild(e);
|
|
@@ -32294,7 +32300,7 @@ function I(t, e, n) {
|
|
|
32294
32300
|
const s = F(t);
|
|
32295
32301
|
if (!s.getElementById(e)) {
|
|
32296
32302
|
const i = w$1("style");
|
|
32297
|
-
i.id = e, i.textContent = n, J
|
|
32303
|
+
i.id = e, i.textContent = n, J(s, i);
|
|
32298
32304
|
}
|
|
32299
32305
|
}
|
|
32300
32306
|
function F(t) {
|
|
@@ -32307,14 +32313,14 @@ function F(t) {
|
|
|
32307
32313
|
e
|
|
32308
32314
|
) : t.ownerDocument;
|
|
32309
32315
|
}
|
|
32310
|
-
function J
|
|
32316
|
+
function J(t, e) {
|
|
32311
32317
|
return G(
|
|
32312
32318
|
/** @type {Document} */
|
|
32313
32319
|
t.head || t,
|
|
32314
32320
|
e
|
|
32315
32321
|
), e.sheet;
|
|
32316
32322
|
}
|
|
32317
|
-
function
|
|
32323
|
+
function k(t, e, n) {
|
|
32318
32324
|
t.insertBefore(e, n || null);
|
|
32319
32325
|
}
|
|
32320
32326
|
function y(t) {
|
|
@@ -32356,7 +32362,7 @@ function Et$1(t, e) {
|
|
|
32356
32362
|
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
|
32357
32363
|
e);
|
|
32358
32364
|
}
|
|
32359
|
-
class Lt {
|
|
32365
|
+
class Lt$1 {
|
|
32360
32366
|
/**
|
|
32361
32367
|
* @private
|
|
32362
32368
|
* @default false
|
|
@@ -32411,7 +32417,7 @@ class Lt {
|
|
|
32411
32417
|
* @returns {void} */
|
|
32412
32418
|
i(e) {
|
|
32413
32419
|
for (let n = 0; n < this.n.length; n += 1)
|
|
32414
|
-
|
|
32420
|
+
k(this.t, this.n[n], e);
|
|
32415
32421
|
}
|
|
32416
32422
|
/**
|
|
32417
32423
|
* @param {string} html
|
|
@@ -32426,7 +32432,7 @@ class Lt {
|
|
|
32426
32432
|
this.n.forEach(y);
|
|
32427
32433
|
}
|
|
32428
32434
|
}
|
|
32429
|
-
function K
|
|
32435
|
+
function K(t) {
|
|
32430
32436
|
const e = {};
|
|
32431
32437
|
return t.childNodes.forEach(
|
|
32432
32438
|
/** @param {Element} node */
|
|
@@ -32439,23 +32445,23 @@ let g;
|
|
|
32439
32445
|
function m(t) {
|
|
32440
32446
|
g = t;
|
|
32441
32447
|
}
|
|
32442
|
-
function Q() {
|
|
32448
|
+
function Q$1() {
|
|
32443
32449
|
if (!g)
|
|
32444
32450
|
throw new Error("Function called outside component initialization");
|
|
32445
32451
|
return g;
|
|
32446
32452
|
}
|
|
32447
32453
|
function W(t) {
|
|
32448
|
-
Q().$$.on_mount.push(t);
|
|
32454
|
+
Q$1().$$.on_mount.push(t);
|
|
32449
32455
|
}
|
|
32450
32456
|
const h = [], E = [];
|
|
32451
|
-
let
|
|
32457
|
+
let $$1 = [];
|
|
32452
32458
|
const j = [], X = /* @__PURE__ */ Promise.resolve();
|
|
32453
32459
|
let L = !1;
|
|
32454
32460
|
function Y$1() {
|
|
32455
32461
|
L || (L = !0, X.then(_));
|
|
32456
32462
|
}
|
|
32457
|
-
function
|
|
32458
|
-
|
|
32463
|
+
function v(t) {
|
|
32464
|
+
$$1.push(t);
|
|
32459
32465
|
}
|
|
32460
32466
|
const x = /* @__PURE__ */ new Set();
|
|
32461
32467
|
let a = 0;
|
|
@@ -32467,51 +32473,51 @@ function _() {
|
|
|
32467
32473
|
try {
|
|
32468
32474
|
for (; a < h.length; ) {
|
|
32469
32475
|
const e = h[a];
|
|
32470
|
-
a++, m(e), Z(e.$$);
|
|
32476
|
+
a++, m(e), Z$1(e.$$);
|
|
32471
32477
|
}
|
|
32472
32478
|
} catch (e) {
|
|
32473
32479
|
throw h.length = 0, a = 0, e;
|
|
32474
32480
|
}
|
|
32475
32481
|
for (m(null), h.length = 0, a = 0; E.length; )
|
|
32476
32482
|
E.pop()();
|
|
32477
|
-
for (let e = 0; e <
|
|
32478
|
-
const n =
|
|
32483
|
+
for (let e = 0; e < $$1.length; e += 1) {
|
|
32484
|
+
const n = $$1[e];
|
|
32479
32485
|
x.has(n) || (x.add(n), n());
|
|
32480
32486
|
}
|
|
32481
|
-
|
|
32487
|
+
$$1.length = 0;
|
|
32482
32488
|
} while (h.length);
|
|
32483
32489
|
for (; j.length; )
|
|
32484
32490
|
j.pop()();
|
|
32485
32491
|
L = !1, x.clear(), m(t);
|
|
32486
32492
|
}
|
|
32487
|
-
function Z(t) {
|
|
32493
|
+
function Z$1(t) {
|
|
32488
32494
|
if (t.fragment !== null) {
|
|
32489
32495
|
t.update(), p(t.before_update);
|
|
32490
32496
|
const e = t.dirty;
|
|
32491
|
-
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(
|
|
32497
|
+
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(v);
|
|
32492
32498
|
}
|
|
32493
32499
|
}
|
|
32494
|
-
function tt
|
|
32500
|
+
function tt(t) {
|
|
32495
32501
|
const e = [], n = [];
|
|
32496
|
-
|
|
32502
|
+
$$1.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $$1 = e;
|
|
32497
32503
|
}
|
|
32498
|
-
const et
|
|
32504
|
+
const et = /* @__PURE__ */ new Set();
|
|
32499
32505
|
function nt(t, e) {
|
|
32500
|
-
t && t.i && (et
|
|
32506
|
+
t && t.i && (et.delete(t), t.i(e));
|
|
32501
32507
|
}
|
|
32502
|
-
function
|
|
32508
|
+
function vt$1(t) {
|
|
32503
32509
|
return t?.length !== void 0 ? t : Array.from(t);
|
|
32504
32510
|
}
|
|
32505
32511
|
function st$1(t, e, n) {
|
|
32506
32512
|
const { fragment: s, after_update: i } = t.$$;
|
|
32507
|
-
s && s.m(e, n),
|
|
32513
|
+
s && s.m(e, n), v(() => {
|
|
32508
32514
|
const r = t.$$.on_mount.map(M).filter(O);
|
|
32509
32515
|
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
|
|
32510
|
-
}), i.forEach(
|
|
32516
|
+
}), i.forEach(v);
|
|
32511
32517
|
}
|
|
32512
|
-
function it(t, e) {
|
|
32518
|
+
function it$1(t, e) {
|
|
32513
32519
|
const n = t.$$;
|
|
32514
|
-
n.fragment !== null && (tt
|
|
32520
|
+
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 = []);
|
|
32515
32521
|
}
|
|
32516
32522
|
function rt(t, e) {
|
|
32517
32523
|
t.$$.dirty[0] === -1 && (h.push(t), Y$1(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
@@ -32605,7 +32611,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
|
|
|
32605
32611
|
* @param {HTMLElement} [anchor]
|
|
32606
32612
|
*/
|
|
32607
32613
|
m: function(c, u) {
|
|
32608
|
-
|
|
32614
|
+
k(c, r, u);
|
|
32609
32615
|
},
|
|
32610
32616
|
d: function(c) {
|
|
32611
32617
|
c && y(r);
|
|
@@ -32615,7 +32621,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
|
|
|
32615
32621
|
};
|
|
32616
32622
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
32617
32623
|
return;
|
|
32618
|
-
const e = {}, n = K
|
|
32624
|
+
const e = {}, n = K(this);
|
|
32619
32625
|
for (const i of this.$$s)
|
|
32620
32626
|
i in n && (e[i] = [t(i)]);
|
|
32621
32627
|
for (const i of this.attributes) {
|
|
@@ -32702,7 +32708,7 @@ function b(t, e, n, s) {
|
|
|
32702
32708
|
return e;
|
|
32703
32709
|
}
|
|
32704
32710
|
}
|
|
32705
|
-
function ot(t, e, n, s, i, r) {
|
|
32711
|
+
function ot$1(t, e, n, s, i, r) {
|
|
32706
32712
|
let o = class extends H$1 {
|
|
32707
32713
|
constructor() {
|
|
32708
32714
|
super(t, n, i), this.$$p_d = e;
|
|
@@ -32750,7 +32756,7 @@ class lt$1 {
|
|
|
32750
32756
|
$$set = void 0;
|
|
32751
32757
|
/** @returns {void} */
|
|
32752
32758
|
$destroy() {
|
|
32753
|
-
it(this, 1), this.$destroy = d;
|
|
32759
|
+
it$1(this, 1), this.$destroy = d;
|
|
32754
32760
|
}
|
|
32755
32761
|
/**
|
|
32756
32762
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -32792,7 +32798,7 @@ function dt$1(t, e) {
|
|
|
32792
32798
|
console.error("There was an error while trying to load client styling from URL", s);
|
|
32793
32799
|
});
|
|
32794
32800
|
}
|
|
32795
|
-
function at(t, e, n) {
|
|
32801
|
+
function at$1(t, e, n) {
|
|
32796
32802
|
if (window.emMessageBus) {
|
|
32797
32803
|
const s = document.createElement("style");
|
|
32798
32804
|
window.emMessageBus.subscribe(e, (i) => {
|
|
@@ -32810,7 +32816,7 @@ function $t$1(t) {
|
|
|
32810
32816
|
e = w$1("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
32811
32817
|
},
|
|
32812
32818
|
m(n, s) {
|
|
32813
|
-
|
|
32819
|
+
k(n, e, s), t[4](e);
|
|
32814
32820
|
},
|
|
32815
32821
|
p: d,
|
|
32816
32822
|
i: d,
|
|
@@ -32835,7 +32841,7 @@ function mt$1(t, e, n) {
|
|
|
32835
32841
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
32836
32842
|
3 && s && o && ft$1(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
32837
32843
|
5 && i && o && dt$1(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
32838
|
-
9 && r && o && at(o, `${r}.Style`);
|
|
32844
|
+
9 && r && o && at$1(o, `${r}.Style`);
|
|
32839
32845
|
}, [
|
|
32840
32846
|
o,
|
|
32841
32847
|
s,
|
|
@@ -32879,29 +32885,29 @@ class R extends lt$1 {
|
|
|
32879
32885
|
this.$$set({ mbsource: e }), _();
|
|
32880
32886
|
}
|
|
32881
32887
|
}
|
|
32882
|
-
ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
32883
|
-
const
|
|
32888
|
+
ot$1(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
32889
|
+
const kt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32884
32890
|
__proto__: null,
|
|
32885
32891
|
default: R
|
|
32886
32892
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32887
32893
|
|
|
32888
|
-
const
|
|
32894
|
+
const GeneralAnimationLoadingZTNd0X9B = /*#__PURE__*/Object.freeze({
|
|
32889
32895
|
__proto__: null,
|
|
32890
|
-
A:
|
|
32891
|
-
B:
|
|
32892
|
-
C:
|
|
32893
|
-
D:
|
|
32894
|
-
G:
|
|
32895
|
-
H: Lt,
|
|
32896
|
+
A: gt$1,
|
|
32897
|
+
B: ft$1,
|
|
32898
|
+
C: dt$1,
|
|
32899
|
+
D: at$1,
|
|
32900
|
+
G: kt$1,
|
|
32901
|
+
H: Lt$1,
|
|
32896
32902
|
S: lt$1,
|
|
32897
|
-
a:
|
|
32903
|
+
a: D$1,
|
|
32898
32904
|
b: ct$1,
|
|
32899
|
-
c: ot,
|
|
32900
|
-
d:
|
|
32901
|
-
e:
|
|
32902
|
-
f:
|
|
32903
|
-
g:
|
|
32904
|
-
h:
|
|
32905
|
+
c: ot$1,
|
|
32906
|
+
d: y,
|
|
32907
|
+
e: k,
|
|
32908
|
+
f: G,
|
|
32909
|
+
g: V,
|
|
32910
|
+
h: B$1,
|
|
32905
32911
|
i: O,
|
|
32906
32912
|
j: _,
|
|
32907
32913
|
k: I,
|
|
@@ -32909,37 +32915,37 @@ const GeneralAnimationLoadingBMZE178n = /*#__PURE__*/Object.freeze({
|
|
|
32909
32915
|
m: _t$1,
|
|
32910
32916
|
n: d,
|
|
32911
32917
|
o: W,
|
|
32912
|
-
p:
|
|
32913
|
-
q:
|
|
32918
|
+
p: E,
|
|
32919
|
+
q: xt$1,
|
|
32914
32920
|
r: p,
|
|
32915
|
-
s:
|
|
32916
|
-
t:
|
|
32917
|
-
u:
|
|
32918
|
-
v:
|
|
32919
|
-
w:
|
|
32920
|
-
x:
|
|
32921
|
+
s: z,
|
|
32922
|
+
t: Et$1,
|
|
32923
|
+
u: P,
|
|
32924
|
+
v: vt$1,
|
|
32925
|
+
w: bt$1,
|
|
32926
|
+
x: wt$1,
|
|
32921
32927
|
y: pt$1,
|
|
32922
32928
|
z: yt$1
|
|
32923
32929
|
});
|
|
32924
32930
|
|
|
32925
|
-
const
|
|
32926
|
-
function
|
|
32931
|
+
const Y = [];
|
|
32932
|
+
function Lr(e, t) {
|
|
32927
32933
|
return {
|
|
32928
|
-
subscribe:
|
|
32934
|
+
subscribe: we(e, t).subscribe
|
|
32929
32935
|
};
|
|
32930
32936
|
}
|
|
32931
|
-
function
|
|
32937
|
+
function we(e, t = d) {
|
|
32932
32938
|
let r;
|
|
32933
32939
|
const n = /* @__PURE__ */ new Set();
|
|
32934
32940
|
function i(s) {
|
|
32935
32941
|
if (z(e, s) && (e = s, r)) {
|
|
32936
|
-
const h = !
|
|
32942
|
+
const h = !Y.length;
|
|
32937
32943
|
for (const u of n)
|
|
32938
|
-
u[1](),
|
|
32944
|
+
u[1](), Y.push(u, e);
|
|
32939
32945
|
if (h) {
|
|
32940
|
-
for (let u = 0; u <
|
|
32941
|
-
|
|
32942
|
-
|
|
32946
|
+
for (let u = 0; u < Y.length; u += 2)
|
|
32947
|
+
Y[u][0](Y[u + 1]);
|
|
32948
|
+
Y.length = 0;
|
|
32943
32949
|
}
|
|
32944
32950
|
}
|
|
32945
32951
|
}
|
|
@@ -32954,12 +32960,12 @@ function Ne(e, t = d) {
|
|
|
32954
32960
|
}
|
|
32955
32961
|
return { set: i, update: o, subscribe: a };
|
|
32956
32962
|
}
|
|
32957
|
-
function
|
|
32963
|
+
function ne(e, t, r) {
|
|
32958
32964
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
32959
32965
|
if (!i.every(Boolean))
|
|
32960
32966
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
32961
32967
|
const o = t.length < 2;
|
|
32962
|
-
return
|
|
32968
|
+
return Lr(r, (a, s) => {
|
|
32963
32969
|
let h = !1;
|
|
32964
32970
|
const u = [];
|
|
32965
32971
|
let l = 0, d$1 = d;
|
|
@@ -32969,11 +32975,11 @@ function ie(e, t, r) {
|
|
|
32969
32975
|
d$1();
|
|
32970
32976
|
const f = t(n ? u[0] : u, a, s);
|
|
32971
32977
|
o ? a(f) : d$1 = O(f) ? f : d;
|
|
32972
|
-
},
|
|
32978
|
+
}, v = i.map(
|
|
32973
32979
|
(f, g) => D$1(
|
|
32974
32980
|
f,
|
|
32975
|
-
(
|
|
32976
|
-
u[g] =
|
|
32981
|
+
(C) => {
|
|
32982
|
+
u[g] = C, l &= ~(1 << g), h && m();
|
|
32977
32983
|
},
|
|
32978
32984
|
() => {
|
|
32979
32985
|
l |= 1 << g;
|
|
@@ -32981,84 +32987,84 @@ function ie(e, t, r) {
|
|
|
32981
32987
|
)
|
|
32982
32988
|
);
|
|
32983
32989
|
return h = !0, m(), function() {
|
|
32984
|
-
p(
|
|
32990
|
+
p(v), d$1(), h = !1;
|
|
32985
32991
|
};
|
|
32986
32992
|
});
|
|
32987
32993
|
}
|
|
32988
|
-
function
|
|
32994
|
+
function Rr(e) {
|
|
32989
32995
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
32990
32996
|
}
|
|
32991
|
-
var
|
|
32992
|
-
return
|
|
32997
|
+
var Ur = function(t) {
|
|
32998
|
+
return Dr(t) && !qr(t);
|
|
32993
32999
|
};
|
|
32994
|
-
function
|
|
33000
|
+
function Dr(e) {
|
|
32995
33001
|
return !!e && typeof e == "object";
|
|
32996
33002
|
}
|
|
32997
|
-
function
|
|
33003
|
+
function qr(e) {
|
|
32998
33004
|
var t = Object.prototype.toString.call(e);
|
|
32999
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
33005
|
+
return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
|
|
33000
33006
|
}
|
|
33001
|
-
var
|
|
33002
|
-
function
|
|
33003
|
-
return e.$$typeof ===
|
|
33007
|
+
var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
|
|
33008
|
+
function Vr(e) {
|
|
33009
|
+
return e.$$typeof === Fr;
|
|
33004
33010
|
}
|
|
33005
|
-
function
|
|
33011
|
+
function Xr(e) {
|
|
33006
33012
|
return Array.isArray(e) ? [] : {};
|
|
33007
33013
|
}
|
|
33008
|
-
function
|
|
33009
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
33014
|
+
function de(e, t) {
|
|
33015
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? $(Xr(e), e, t) : e;
|
|
33010
33016
|
}
|
|
33011
|
-
function
|
|
33017
|
+
function Wr(e, t, r) {
|
|
33012
33018
|
return e.concat(t).map(function(n) {
|
|
33013
|
-
return
|
|
33019
|
+
return de(n, r);
|
|
33014
33020
|
});
|
|
33015
33021
|
}
|
|
33016
|
-
function
|
|
33022
|
+
function Zr(e, t) {
|
|
33017
33023
|
if (!t.customMerge)
|
|
33018
|
-
return
|
|
33024
|
+
return $;
|
|
33019
33025
|
var r = t.customMerge(e);
|
|
33020
|
-
return typeof r == "function" ? r :
|
|
33026
|
+
return typeof r == "function" ? r : $;
|
|
33021
33027
|
}
|
|
33022
|
-
function
|
|
33028
|
+
function Jr(e) {
|
|
33023
33029
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
33024
33030
|
return Object.propertyIsEnumerable.call(e, t);
|
|
33025
33031
|
}) : [];
|
|
33026
33032
|
}
|
|
33027
|
-
function
|
|
33028
|
-
return Object.keys(e).concat(
|
|
33033
|
+
function it(e) {
|
|
33034
|
+
return Object.keys(e).concat(Jr(e));
|
|
33029
33035
|
}
|
|
33030
|
-
function
|
|
33036
|
+
function It(e, t) {
|
|
33031
33037
|
try {
|
|
33032
33038
|
return t in e;
|
|
33033
33039
|
} catch {
|
|
33034
33040
|
return !1;
|
|
33035
33041
|
}
|
|
33036
33042
|
}
|
|
33037
|
-
function
|
|
33038
|
-
return
|
|
33043
|
+
function Qr(e, t) {
|
|
33044
|
+
return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
33039
33045
|
}
|
|
33040
|
-
function
|
|
33046
|
+
function Yr(e, t, r) {
|
|
33041
33047
|
var n = {};
|
|
33042
|
-
return r.isMergeableObject(e) &&
|
|
33043
|
-
n[i] =
|
|
33044
|
-
}),
|
|
33045
|
-
|
|
33048
|
+
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
33049
|
+
n[i] = de(e[i], r);
|
|
33050
|
+
}), it(t).forEach(function(i) {
|
|
33051
|
+
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));
|
|
33046
33052
|
}), n;
|
|
33047
33053
|
}
|
|
33048
|
-
function
|
|
33049
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
33054
|
+
function $(e, t, r) {
|
|
33055
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = de;
|
|
33050
33056
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
33051
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
33057
|
+
return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : de(t, r);
|
|
33052
33058
|
}
|
|
33053
|
-
|
|
33059
|
+
$.all = function(t, r) {
|
|
33054
33060
|
if (!Array.isArray(t))
|
|
33055
33061
|
throw new Error("first argument should be an array");
|
|
33056
33062
|
return t.reduce(function(n, i) {
|
|
33057
|
-
return
|
|
33063
|
+
return $(n, i, r);
|
|
33058
33064
|
}, {});
|
|
33059
33065
|
};
|
|
33060
|
-
var
|
|
33061
|
-
const
|
|
33066
|
+
var Kr = $, $r = Kr;
|
|
33067
|
+
const en = /* @__PURE__ */ Rr($r);
|
|
33062
33068
|
/*! *****************************************************************************
|
|
33063
33069
|
Copyright (c) Microsoft Corporation.
|
|
33064
33070
|
|
|
@@ -33073,18 +33079,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
33073
33079
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
33074
33080
|
PERFORMANCE OF THIS SOFTWARE.
|
|
33075
33081
|
***************************************************************************** */
|
|
33076
|
-
var
|
|
33077
|
-
return
|
|
33082
|
+
var Ue = function(e, t) {
|
|
33083
|
+
return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
33078
33084
|
r.__proto__ = n;
|
|
33079
33085
|
} || function(r, n) {
|
|
33080
33086
|
for (var i in n)
|
|
33081
33087
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
33082
|
-
},
|
|
33088
|
+
}, Ue(e, t);
|
|
33083
33089
|
};
|
|
33084
|
-
function
|
|
33090
|
+
function Ne(e, t) {
|
|
33085
33091
|
if (typeof t != "function" && t !== null)
|
|
33086
33092
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
33087
|
-
|
|
33093
|
+
Ue(e, t);
|
|
33088
33094
|
function r() {
|
|
33089
33095
|
this.constructor = e;
|
|
33090
33096
|
}
|
|
@@ -33100,7 +33106,7 @@ var H = function() {
|
|
|
33100
33106
|
return t;
|
|
33101
33107
|
}, H.apply(this, arguments);
|
|
33102
33108
|
};
|
|
33103
|
-
function
|
|
33109
|
+
function tn(e, t) {
|
|
33104
33110
|
var r = {};
|
|
33105
33111
|
for (var n in e)
|
|
33106
33112
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -33109,62 +33115,60 @@ function on(e, t) {
|
|
|
33109
33115
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
33110
33116
|
return r;
|
|
33111
33117
|
}
|
|
33112
|
-
function
|
|
33118
|
+
function ze(e, t, r) {
|
|
33113
33119
|
if (arguments.length === 2)
|
|
33114
33120
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
33115
33121
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
33116
33122
|
return e.concat(o || t);
|
|
33117
33123
|
}
|
|
33118
|
-
function
|
|
33119
|
-
var r = t && t.cache ? t.cache :
|
|
33124
|
+
function Oe(e, t) {
|
|
33125
|
+
var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : on;
|
|
33120
33126
|
return i(e, {
|
|
33121
33127
|
cache: r,
|
|
33122
33128
|
serializer: n
|
|
33123
33129
|
});
|
|
33124
33130
|
}
|
|
33125
|
-
function
|
|
33131
|
+
function rn(e) {
|
|
33126
33132
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
33127
33133
|
}
|
|
33128
|
-
function
|
|
33129
|
-
var i =
|
|
33134
|
+
function nn(e, t, r, n) {
|
|
33135
|
+
var i = rn(n) ? n : r(n), o = t.get(i);
|
|
33130
33136
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
33131
33137
|
}
|
|
33132
|
-
function
|
|
33138
|
+
function jt(e, t, r) {
|
|
33133
33139
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
33134
33140
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
33135
33141
|
}
|
|
33136
|
-
function
|
|
33142
|
+
function Lt(e, t, r, n, i) {
|
|
33137
33143
|
return r.bind(t, e, n, i);
|
|
33138
33144
|
}
|
|
33139
|
-
function
|
|
33140
|
-
var r = e.length === 1 ?
|
|
33141
|
-
return
|
|
33142
|
-
}
|
|
33143
|
-
function ln(e, t) {
|
|
33144
|
-
return Ke(e, this, Dt, t.cache.create(), t.serializer);
|
|
33145
|
+
function on(e, t) {
|
|
33146
|
+
var r = e.length === 1 ? nn : jt;
|
|
33147
|
+
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
33145
33148
|
}
|
|
33146
|
-
function
|
|
33147
|
-
return
|
|
33149
|
+
function an(e, t) {
|
|
33150
|
+
return Lt(e, this, jt, t.cache.create(), t.serializer);
|
|
33148
33151
|
}
|
|
33149
|
-
var
|
|
33152
|
+
var sn = function() {
|
|
33150
33153
|
return JSON.stringify(arguments);
|
|
33151
|
-
}
|
|
33152
|
-
|
|
33153
|
-
|
|
33154
|
-
|
|
33155
|
-
|
|
33156
|
-
|
|
33157
|
-
|
|
33158
|
-
|
|
33159
|
-
|
|
33160
|
-
|
|
33161
|
-
|
|
33154
|
+
}, ln = (
|
|
33155
|
+
/** @class */
|
|
33156
|
+
function() {
|
|
33157
|
+
function e() {
|
|
33158
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
33159
|
+
}
|
|
33160
|
+
return e.prototype.get = function(t) {
|
|
33161
|
+
return this.cache[t];
|
|
33162
|
+
}, e.prototype.set = function(t, r) {
|
|
33163
|
+
this.cache[t] = r;
|
|
33164
|
+
}, e;
|
|
33165
|
+
}()
|
|
33166
|
+
), cn = {
|
|
33162
33167
|
create: function() {
|
|
33163
|
-
return new
|
|
33168
|
+
return new ln();
|
|
33164
33169
|
}
|
|
33165
|
-
},
|
|
33166
|
-
variadic:
|
|
33167
|
-
monadic: cn
|
|
33170
|
+
}, Ie = {
|
|
33171
|
+
variadic: an
|
|
33168
33172
|
}, w;
|
|
33169
33173
|
(function(e) {
|
|
33170
33174
|
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";
|
|
@@ -33173,47 +33177,47 @@ var B;
|
|
|
33173
33177
|
(function(e) {
|
|
33174
33178
|
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";
|
|
33175
33179
|
})(B || (B = {}));
|
|
33176
|
-
var
|
|
33180
|
+
var ee;
|
|
33177
33181
|
(function(e) {
|
|
33178
33182
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
33179
|
-
})(
|
|
33180
|
-
function
|
|
33183
|
+
})(ee || (ee = {}));
|
|
33184
|
+
function ot(e) {
|
|
33181
33185
|
return e.type === B.literal;
|
|
33182
33186
|
}
|
|
33183
|
-
function
|
|
33187
|
+
function un(e) {
|
|
33184
33188
|
return e.type === B.argument;
|
|
33185
33189
|
}
|
|
33186
|
-
function
|
|
33190
|
+
function Rt(e) {
|
|
33187
33191
|
return e.type === B.number;
|
|
33188
33192
|
}
|
|
33189
|
-
function
|
|
33193
|
+
function Ut(e) {
|
|
33190
33194
|
return e.type === B.date;
|
|
33191
33195
|
}
|
|
33192
|
-
function
|
|
33196
|
+
function Dt(e) {
|
|
33193
33197
|
return e.type === B.time;
|
|
33194
33198
|
}
|
|
33195
|
-
function
|
|
33199
|
+
function qt(e) {
|
|
33196
33200
|
return e.type === B.select;
|
|
33197
33201
|
}
|
|
33198
|
-
function
|
|
33202
|
+
function Gt(e) {
|
|
33199
33203
|
return e.type === B.plural;
|
|
33200
33204
|
}
|
|
33201
|
-
function
|
|
33205
|
+
function hn(e) {
|
|
33202
33206
|
return e.type === B.pound;
|
|
33203
33207
|
}
|
|
33204
|
-
function
|
|
33208
|
+
function Ft(e) {
|
|
33205
33209
|
return e.type === B.tag;
|
|
33206
33210
|
}
|
|
33207
|
-
function
|
|
33208
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
33211
|
+
function Vt(e) {
|
|
33212
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
33209
33213
|
}
|
|
33210
|
-
function
|
|
33211
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
33214
|
+
function De(e) {
|
|
33215
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
33212
33216
|
}
|
|
33213
|
-
var
|
|
33214
|
-
function
|
|
33217
|
+
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;
|
|
33218
|
+
function mn(e) {
|
|
33215
33219
|
var t = {};
|
|
33216
|
-
return e.replace(
|
|
33220
|
+
return e.replace(dn, function(r) {
|
|
33217
33221
|
var n = r.length;
|
|
33218
33222
|
switch (r[0]) {
|
|
33219
33223
|
case "G":
|
|
@@ -33302,11 +33306,11 @@ function pn(e) {
|
|
|
33302
33306
|
return "";
|
|
33303
33307
|
}), t;
|
|
33304
33308
|
}
|
|
33305
|
-
var
|
|
33306
|
-
function
|
|
33309
|
+
var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
33310
|
+
function pn(e) {
|
|
33307
33311
|
if (e.length === 0)
|
|
33308
33312
|
throw new Error("Number skeleton cannot be empty");
|
|
33309
|
-
for (var t = e.split(
|
|
33313
|
+
for (var t = e.split(gn).filter(function(m) {
|
|
33310
33314
|
return m.length > 0;
|
|
33311
33315
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
33312
33316
|
var o = i[n], a = o.split("/");
|
|
@@ -33321,17 +33325,17 @@ function _n(e) {
|
|
|
33321
33325
|
}
|
|
33322
33326
|
return r;
|
|
33323
33327
|
}
|
|
33324
|
-
function
|
|
33328
|
+
function fn(e) {
|
|
33325
33329
|
return e.replace(/^(.*?)-/, "");
|
|
33326
33330
|
}
|
|
33327
|
-
var
|
|
33328
|
-
function
|
|
33331
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
|
|
33332
|
+
function st(e) {
|
|
33329
33333
|
var t = {};
|
|
33330
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
33334
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
|
|
33331
33335
|
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)), "";
|
|
33332
33336
|
}), t;
|
|
33333
33337
|
}
|
|
33334
|
-
function
|
|
33338
|
+
function Jt(e) {
|
|
33335
33339
|
switch (e) {
|
|
33336
33340
|
case "sign-auto":
|
|
33337
33341
|
return {
|
|
@@ -33371,7 +33375,7 @@ function Kt(e) {
|
|
|
33371
33375
|
};
|
|
33372
33376
|
}
|
|
33373
33377
|
}
|
|
33374
|
-
function
|
|
33378
|
+
function bn(e) {
|
|
33375
33379
|
var t;
|
|
33376
33380
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
33377
33381
|
notation: "engineering"
|
|
@@ -33379,17 +33383,17 @@ function yn(e) {
|
|
|
33379
33383
|
notation: "scientific"
|
|
33380
33384
|
}, e = e.slice(1)), t) {
|
|
33381
33385
|
var r = e.slice(0, 2);
|
|
33382
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
33386
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
|
|
33383
33387
|
throw new Error("Malformed concise eng/scientific notation");
|
|
33384
33388
|
t.minimumIntegerDigits = e.length;
|
|
33385
33389
|
}
|
|
33386
33390
|
return t;
|
|
33387
33391
|
}
|
|
33388
|
-
function
|
|
33389
|
-
var t = {}, r =
|
|
33392
|
+
function lt(e) {
|
|
33393
|
+
var t = {}, r = Jt(e);
|
|
33390
33394
|
return r || t;
|
|
33391
33395
|
}
|
|
33392
|
-
function
|
|
33396
|
+
function vn(e) {
|
|
33393
33397
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
33394
33398
|
var i = n[r];
|
|
33395
33399
|
switch (i.stem) {
|
|
@@ -33413,7 +33417,7 @@ function En(e) {
|
|
|
33413
33417
|
continue;
|
|
33414
33418
|
case "measure-unit":
|
|
33415
33419
|
case "unit":
|
|
33416
|
-
t.style = "unit", t.unit =
|
|
33420
|
+
t.style = "unit", t.unit = fn(i.options[0]);
|
|
33417
33421
|
continue;
|
|
33418
33422
|
case "compact-short":
|
|
33419
33423
|
case "K":
|
|
@@ -33425,12 +33429,12 @@ function En(e) {
|
|
|
33425
33429
|
continue;
|
|
33426
33430
|
case "scientific":
|
|
33427
33431
|
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
33428
|
-
return H(H({}, h),
|
|
33432
|
+
return H(H({}, h), lt(u));
|
|
33429
33433
|
}, {}));
|
|
33430
33434
|
continue;
|
|
33431
33435
|
case "engineering":
|
|
33432
33436
|
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
33433
|
-
return H(H({}, h),
|
|
33437
|
+
return H(H({}, h), lt(u));
|
|
33434
33438
|
}, {}));
|
|
33435
33439
|
continue;
|
|
33436
33440
|
case "notation-simple":
|
|
@@ -33475,45 +33479,45 @@ function En(e) {
|
|
|
33475
33479
|
case "integer-width":
|
|
33476
33480
|
if (i.options.length > 1)
|
|
33477
33481
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
33478
|
-
i.options[0].replace(
|
|
33482
|
+
i.options[0].replace(_n, function(h, u, l, d, m, v) {
|
|
33479
33483
|
if (u)
|
|
33480
33484
|
t.minimumIntegerDigits = l.length;
|
|
33481
33485
|
else {
|
|
33482
33486
|
if (d && m)
|
|
33483
33487
|
throw new Error("We currently do not support maximum integer digits");
|
|
33484
|
-
if (
|
|
33488
|
+
if (v)
|
|
33485
33489
|
throw new Error("We currently do not support exact integer digits");
|
|
33486
33490
|
}
|
|
33487
33491
|
return "";
|
|
33488
33492
|
});
|
|
33489
33493
|
continue;
|
|
33490
33494
|
}
|
|
33491
|
-
if (
|
|
33495
|
+
if (Zt.test(i.stem)) {
|
|
33492
33496
|
t.minimumIntegerDigits = i.stem.length;
|
|
33493
33497
|
continue;
|
|
33494
33498
|
}
|
|
33495
|
-
if (
|
|
33499
|
+
if (at.test(i.stem)) {
|
|
33496
33500
|
if (i.options.length > 1)
|
|
33497
33501
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
33498
|
-
i.stem.replace(
|
|
33499
|
-
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m &&
|
|
33502
|
+
i.stem.replace(at, function(h, u, l, d, m, v) {
|
|
33503
|
+
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), "";
|
|
33500
33504
|
});
|
|
33501
33505
|
var o = i.options[0];
|
|
33502
|
-
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t),
|
|
33506
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), st(o)));
|
|
33503
33507
|
continue;
|
|
33504
33508
|
}
|
|
33505
|
-
if (
|
|
33506
|
-
t = H(H({}, t),
|
|
33509
|
+
if (Wt.test(i.stem)) {
|
|
33510
|
+
t = H(H({}, t), st(i.stem));
|
|
33507
33511
|
continue;
|
|
33508
33512
|
}
|
|
33509
|
-
var a =
|
|
33513
|
+
var a = Jt(i.stem);
|
|
33510
33514
|
a && (t = H(H({}, t), a));
|
|
33511
|
-
var s =
|
|
33515
|
+
var s = bn(i.stem);
|
|
33512
33516
|
s && (t = H(H({}, t), s));
|
|
33513
33517
|
}
|
|
33514
33518
|
return t;
|
|
33515
33519
|
}
|
|
33516
|
-
var
|
|
33520
|
+
var Ce = {
|
|
33517
33521
|
"001": [
|
|
33518
33522
|
"H",
|
|
33519
33523
|
"h"
|
|
@@ -34928,13 +34932,13 @@ var Se = {
|
|
|
34928
34932
|
"h"
|
|
34929
34933
|
]
|
|
34930
34934
|
};
|
|
34931
|
-
function
|
|
34935
|
+
function yn(e, t) {
|
|
34932
34936
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
34933
34937
|
var i = e.charAt(n);
|
|
34934
34938
|
if (i === "j") {
|
|
34935
34939
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
34936
34940
|
o++, n++;
|
|
34937
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
34941
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
|
|
34938
34942
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
34939
34943
|
r += h;
|
|
34940
34944
|
for (; a-- > 0; )
|
|
@@ -34944,7 +34948,7 @@ function kn(e, t) {
|
|
|
34944
34948
|
}
|
|
34945
34949
|
return r;
|
|
34946
34950
|
}
|
|
34947
|
-
function
|
|
34951
|
+
function En(e) {
|
|
34948
34952
|
var t = e.hourCycle;
|
|
34949
34953
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
34950
34954
|
e.hourCycles && // @ts-ignore
|
|
@@ -34963,23 +34967,23 @@ function Cn(e) {
|
|
|
34963
34967
|
}
|
|
34964
34968
|
var r = e.language, n;
|
|
34965
34969
|
r !== "root" && (n = e.maximize().region);
|
|
34966
|
-
var i =
|
|
34970
|
+
var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
|
|
34967
34971
|
return i[0];
|
|
34968
34972
|
}
|
|
34969
|
-
var
|
|
34973
|
+
var je, kn = new RegExp("^".concat(Xt.source, "*")), Cn = new RegExp("".concat(Xt.source, "*$"));
|
|
34970
34974
|
function N(e, t) {
|
|
34971
34975
|
return { start: e, end: t };
|
|
34972
34976
|
}
|
|
34973
|
-
var
|
|
34977
|
+
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) {
|
|
34974
34978
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
34975
|
-
},
|
|
34979
|
+
}, qe = !0;
|
|
34976
34980
|
try {
|
|
34977
|
-
var
|
|
34978
|
-
|
|
34981
|
+
var Pn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
34982
|
+
qe = ((je = Pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
34979
34983
|
} catch {
|
|
34980
|
-
|
|
34984
|
+
qe = !1;
|
|
34981
34985
|
}
|
|
34982
|
-
var
|
|
34986
|
+
var ct = Sn ? (
|
|
34983
34987
|
// Native
|
|
34984
34988
|
function(t, r, n) {
|
|
34985
34989
|
return t.startsWith(r, n);
|
|
@@ -34989,7 +34993,7 @@ var dt = Mn ? (
|
|
|
34989
34993
|
function(t, r, n) {
|
|
34990
34994
|
return t.slice(n, n + r.length) === r;
|
|
34991
34995
|
}
|
|
34992
|
-
),
|
|
34996
|
+
), Ge = xn ? String.fromCodePoint : (
|
|
34993
34997
|
// IE11
|
|
34994
34998
|
function() {
|
|
34995
34999
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -35001,9 +35005,9 @@ var dt = Mn ? (
|
|
|
35001
35005
|
}
|
|
35002
35006
|
return n;
|
|
35003
35007
|
}
|
|
35004
|
-
),
|
|
35008
|
+
), ut = (
|
|
35005
35009
|
// native
|
|
35006
|
-
|
|
35010
|
+
Tn ? Object.fromEntries : (
|
|
35007
35011
|
// Ponyfill
|
|
35008
35012
|
function(t) {
|
|
35009
35013
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -35013,7 +35017,7 @@ var dt = Mn ? (
|
|
|
35013
35017
|
return r;
|
|
35014
35018
|
}
|
|
35015
35019
|
)
|
|
35016
|
-
),
|
|
35020
|
+
), Qt = Mn ? (
|
|
35017
35021
|
// Native
|
|
35018
35022
|
function(t, r) {
|
|
35019
35023
|
return t.codePointAt(r);
|
|
@@ -35027,7 +35031,7 @@ var dt = Mn ? (
|
|
|
35027
35031
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
35028
35032
|
}
|
|
35029
35033
|
}
|
|
35030
|
-
),
|
|
35034
|
+
), Bn = wn ? (
|
|
35031
35035
|
// Native
|
|
35032
35036
|
function(t) {
|
|
35033
35037
|
return t.trimStart();
|
|
@@ -35035,9 +35039,9 @@ var dt = Mn ? (
|
|
|
35035
35039
|
) : (
|
|
35036
35040
|
// Ponyfill
|
|
35037
35041
|
function(t) {
|
|
35038
|
-
return t.replace(
|
|
35042
|
+
return t.replace(kn, "");
|
|
35039
35043
|
}
|
|
35040
|
-
),
|
|
35044
|
+
), zn = Nn ? (
|
|
35041
35045
|
// Native
|
|
35042
35046
|
function(t) {
|
|
35043
35047
|
return t.trimEnd();
|
|
@@ -35045,32 +35049,32 @@ var dt = Mn ? (
|
|
|
35045
35049
|
) : (
|
|
35046
35050
|
// Ponyfill
|
|
35047
35051
|
function(t) {
|
|
35048
|
-
return t.replace(
|
|
35052
|
+
return t.replace(Cn, "");
|
|
35049
35053
|
}
|
|
35050
35054
|
);
|
|
35051
|
-
function
|
|
35055
|
+
function Yt(e, t) {
|
|
35052
35056
|
return new RegExp(e, t);
|
|
35053
35057
|
}
|
|
35054
|
-
var
|
|
35055
|
-
if (
|
|
35056
|
-
var
|
|
35057
|
-
|
|
35058
|
+
var Fe;
|
|
35059
|
+
if (qe) {
|
|
35060
|
+
var ht = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
35061
|
+
Fe = function(t, r) {
|
|
35058
35062
|
var n;
|
|
35059
|
-
|
|
35060
|
-
var i =
|
|
35063
|
+
ht.lastIndex = r;
|
|
35064
|
+
var i = ht.exec(t);
|
|
35061
35065
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
35062
35066
|
};
|
|
35063
35067
|
} else
|
|
35064
|
-
|
|
35068
|
+
Fe = function(t, r) {
|
|
35065
35069
|
for (var n = []; ; ) {
|
|
35066
|
-
var i =
|
|
35067
|
-
if (i === void 0 ||
|
|
35070
|
+
var i = Qt(t, r);
|
|
35071
|
+
if (i === void 0 || Kt(i) || Ln(i))
|
|
35068
35072
|
break;
|
|
35069
35073
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
35070
35074
|
}
|
|
35071
|
-
return
|
|
35075
|
+
return Ge.apply(void 0, n);
|
|
35072
35076
|
};
|
|
35073
|
-
var
|
|
35077
|
+
var On = (
|
|
35074
35078
|
/** @class */
|
|
35075
35079
|
function() {
|
|
35076
35080
|
function e(t, r) {
|
|
@@ -35101,7 +35105,7 @@ var jn = (
|
|
|
35101
35105
|
if (n)
|
|
35102
35106
|
break;
|
|
35103
35107
|
return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
|
|
35104
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
35108
|
+
} else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
|
|
35105
35109
|
var a = this.parseTag(t, r);
|
|
35106
35110
|
if (a.err)
|
|
35107
35111
|
return a;
|
|
@@ -35134,7 +35138,7 @@ var jn = (
|
|
|
35134
35138
|
return o;
|
|
35135
35139
|
var a = o.val, s = this.clonePosition();
|
|
35136
35140
|
if (this.bumpIf("</")) {
|
|
35137
|
-
if (this.isEOF() || !
|
|
35141
|
+
if (this.isEOF() || !Ve(this.char()))
|
|
35138
35142
|
return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
|
|
35139
35143
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
35140
35144
|
return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -35152,7 +35156,7 @@ var jn = (
|
|
|
35152
35156
|
return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
|
|
35153
35157
|
}, e.prototype.parseTagName = function() {
|
|
35154
35158
|
var t = this.offset();
|
|
35155
|
-
for (this.bump(); !this.isEOF() &&
|
|
35159
|
+
for (this.bump(); !this.isEOF() && jn(this.char()); )
|
|
35156
35160
|
this.bump();
|
|
35157
35161
|
return this.message.slice(t, this.offset());
|
|
35158
35162
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -35181,7 +35185,7 @@ var jn = (
|
|
|
35181
35185
|
};
|
|
35182
35186
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
35183
35187
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
35184
|
-
!
|
|
35188
|
+
!In(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
35185
35189
|
}, e.prototype.tryParseQuote = function(t) {
|
|
35186
35190
|
if (this.isEOF() || this.char() !== 39)
|
|
35187
35191
|
return null;
|
|
@@ -35215,12 +35219,12 @@ var jn = (
|
|
|
35215
35219
|
r.push(n);
|
|
35216
35220
|
this.bump();
|
|
35217
35221
|
}
|
|
35218
|
-
return
|
|
35222
|
+
return Ge.apply(void 0, r);
|
|
35219
35223
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
35220
35224
|
if (this.isEOF())
|
|
35221
35225
|
return null;
|
|
35222
35226
|
var n = this.char();
|
|
35223
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
35227
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
35224
35228
|
}, e.prototype.parseArgument = function(t, r) {
|
|
35225
35229
|
var n = this.clonePosition();
|
|
35226
35230
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -35249,7 +35253,7 @@ var jn = (
|
|
|
35249
35253
|
return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
|
|
35250
35254
|
}
|
|
35251
35255
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
35252
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
35256
|
+
var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
|
|
35253
35257
|
this.bumpTo(i);
|
|
35254
35258
|
var o = this.clonePosition(), a = N(t, o);
|
|
35255
35259
|
return { value: n, location: a };
|
|
@@ -35268,37 +35272,37 @@ var jn = (
|
|
|
35268
35272
|
var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
35269
35273
|
if (d.err)
|
|
35270
35274
|
return d;
|
|
35271
|
-
var m =
|
|
35275
|
+
var m = zn(d.val);
|
|
35272
35276
|
if (m.length === 0)
|
|
35273
35277
|
return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
|
|
35274
|
-
var
|
|
35275
|
-
u = { style: m, styleLocation:
|
|
35278
|
+
var v = N(l, this.clonePosition());
|
|
35279
|
+
u = { style: m, styleLocation: v };
|
|
35276
35280
|
}
|
|
35277
35281
|
var f = this.tryParseArgumentClose(i);
|
|
35278
35282
|
if (f.err)
|
|
35279
35283
|
return f;
|
|
35280
35284
|
var g = N(i, this.clonePosition());
|
|
35281
|
-
if (u &&
|
|
35282
|
-
var
|
|
35285
|
+
if (u && ct(u?.style, "::", 0)) {
|
|
35286
|
+
var C = Bn(u.style.slice(2));
|
|
35283
35287
|
if (s === "number") {
|
|
35284
|
-
var d = this.parseNumberSkeletonFromString(
|
|
35288
|
+
var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
35285
35289
|
return d.err ? d : {
|
|
35286
35290
|
val: { type: B.number, value: n, location: g, style: d.val },
|
|
35287
35291
|
err: null
|
|
35288
35292
|
};
|
|
35289
35293
|
} else {
|
|
35290
|
-
if (
|
|
35294
|
+
if (C.length === 0)
|
|
35291
35295
|
return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
|
|
35292
|
-
var _ =
|
|
35293
|
-
this.locale && (_ =
|
|
35296
|
+
var _ = C;
|
|
35297
|
+
this.locale && (_ = yn(C, this.locale));
|
|
35294
35298
|
var m = {
|
|
35295
|
-
type:
|
|
35299
|
+
type: ee.dateTime,
|
|
35296
35300
|
pattern: _,
|
|
35297
35301
|
location: u.styleLocation,
|
|
35298
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
35299
|
-
},
|
|
35302
|
+
parsedOptions: this.shouldParseSkeletons ? mn(_) : {}
|
|
35303
|
+
}, b = s === "date" ? B.date : B.time;
|
|
35300
35304
|
return {
|
|
35301
|
-
val: { type:
|
|
35305
|
+
val: { type: b, value: n, location: g, style: m },
|
|
35302
35306
|
err: null
|
|
35303
35307
|
};
|
|
35304
35308
|
}
|
|
@@ -35316,11 +35320,11 @@ var jn = (
|
|
|
35316
35320
|
case "plural":
|
|
35317
35321
|
case "selectordinal":
|
|
35318
35322
|
case "select": {
|
|
35319
|
-
var
|
|
35323
|
+
var x = this.clonePosition();
|
|
35320
35324
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
35321
|
-
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(
|
|
35325
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x, H({}, x)));
|
|
35322
35326
|
this.bumpSpace();
|
|
35323
|
-
var P = this.parseIdentifierIfPossible(),
|
|
35327
|
+
var P = this.parseIdentifierIfPossible(), E = 0;
|
|
35324
35328
|
if (s !== "select" && P.value === "offset") {
|
|
35325
35329
|
if (!this.bumpIf(":"))
|
|
35326
35330
|
return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
|
|
@@ -35328,7 +35332,7 @@ var jn = (
|
|
|
35328
35332
|
var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
35329
35333
|
if (d.err)
|
|
35330
35334
|
return d;
|
|
35331
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(),
|
|
35335
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), E = d.val;
|
|
35332
35336
|
}
|
|
35333
35337
|
var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
|
|
35334
35338
|
if (z.err)
|
|
@@ -35336,23 +35340,23 @@ var jn = (
|
|
|
35336
35340
|
var f = this.tryParseArgumentClose(i);
|
|
35337
35341
|
if (f.err)
|
|
35338
35342
|
return f;
|
|
35339
|
-
var
|
|
35343
|
+
var O = N(i, this.clonePosition());
|
|
35340
35344
|
return s === "select" ? {
|
|
35341
35345
|
val: {
|
|
35342
35346
|
type: B.select,
|
|
35343
35347
|
value: n,
|
|
35344
|
-
options:
|
|
35345
|
-
location:
|
|
35348
|
+
options: ut(z.val),
|
|
35349
|
+
location: O
|
|
35346
35350
|
},
|
|
35347
35351
|
err: null
|
|
35348
35352
|
} : {
|
|
35349
35353
|
val: {
|
|
35350
35354
|
type: B.plural,
|
|
35351
35355
|
value: n,
|
|
35352
|
-
options:
|
|
35353
|
-
offset:
|
|
35356
|
+
options: ut(z.val),
|
|
35357
|
+
offset: E,
|
|
35354
35358
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
35355
|
-
location:
|
|
35359
|
+
location: O
|
|
35356
35360
|
},
|
|
35357
35361
|
err: null
|
|
35358
35362
|
};
|
|
@@ -35400,16 +35404,16 @@ var jn = (
|
|
|
35400
35404
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
35401
35405
|
var n = [];
|
|
35402
35406
|
try {
|
|
35403
|
-
n =
|
|
35407
|
+
n = pn(t);
|
|
35404
35408
|
} catch {
|
|
35405
35409
|
return this.error(w.INVALID_NUMBER_SKELETON, r);
|
|
35406
35410
|
}
|
|
35407
35411
|
return {
|
|
35408
35412
|
val: {
|
|
35409
|
-
type:
|
|
35413
|
+
type: ee.number,
|
|
35410
35414
|
tokens: n,
|
|
35411
35415
|
location: r,
|
|
35412
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
35416
|
+
parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
|
|
35413
35417
|
},
|
|
35414
35418
|
err: null
|
|
35415
35419
|
};
|
|
@@ -35428,20 +35432,20 @@ var jn = (
|
|
|
35428
35432
|
if (h.has(u))
|
|
35429
35433
|
return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
35430
35434
|
u === "other" && (a = !0), this.bumpSpace();
|
|
35431
|
-
var
|
|
35435
|
+
var v = this.clonePosition();
|
|
35432
35436
|
if (!this.bumpIf("{"))
|
|
35433
35437
|
return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
|
|
35434
35438
|
var f = this.parseMessage(t + 1, r, n);
|
|
35435
35439
|
if (f.err)
|
|
35436
35440
|
return f;
|
|
35437
|
-
var g = this.tryParseArgumentClose(
|
|
35441
|
+
var g = this.tryParseArgumentClose(v);
|
|
35438
35442
|
if (g.err)
|
|
35439
35443
|
return g;
|
|
35440
35444
|
s.push([
|
|
35441
35445
|
u,
|
|
35442
35446
|
{
|
|
35443
35447
|
value: f.val,
|
|
35444
|
-
location: N(
|
|
35448
|
+
location: N(v, this.clonePosition())
|
|
35445
35449
|
}
|
|
35446
35450
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
35447
35451
|
}
|
|
@@ -35457,7 +35461,7 @@ var jn = (
|
|
|
35457
35461
|
break;
|
|
35458
35462
|
}
|
|
35459
35463
|
var h = N(i, this.clonePosition());
|
|
35460
|
-
return o ? (a *= n,
|
|
35464
|
+
return o ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
35461
35465
|
}, e.prototype.offset = function() {
|
|
35462
35466
|
return this.position.offset;
|
|
35463
35467
|
}, e.prototype.isEOF = function() {
|
|
@@ -35472,7 +35476,7 @@ var jn = (
|
|
|
35472
35476
|
var t = this.position.offset;
|
|
35473
35477
|
if (t >= this.message.length)
|
|
35474
35478
|
throw Error("out of bound");
|
|
35475
|
-
var r =
|
|
35479
|
+
var r = Qt(this.message, t);
|
|
35476
35480
|
if (r === void 0)
|
|
35477
35481
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
35478
35482
|
return r;
|
|
@@ -35491,7 +35495,7 @@ var jn = (
|
|
|
35491
35495
|
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);
|
|
35492
35496
|
}
|
|
35493
35497
|
}, e.prototype.bumpIf = function(t) {
|
|
35494
|
-
if (
|
|
35498
|
+
if (ct(this.message, t, this.offset())) {
|
|
35495
35499
|
for (var r = 0; r < t.length; r++)
|
|
35496
35500
|
this.bump();
|
|
35497
35501
|
return !0;
|
|
@@ -35513,7 +35517,7 @@ var jn = (
|
|
|
35513
35517
|
break;
|
|
35514
35518
|
}
|
|
35515
35519
|
}, e.prototype.bumpSpace = function() {
|
|
35516
|
-
for (; !this.isEOF() &&
|
|
35520
|
+
for (; !this.isEOF() && Kt(this.char()); )
|
|
35517
35521
|
this.bump();
|
|
35518
35522
|
}, e.prototype.peek = function() {
|
|
35519
35523
|
if (this.isEOF())
|
|
@@ -35523,47 +35527,47 @@ var jn = (
|
|
|
35523
35527
|
}, e;
|
|
35524
35528
|
}()
|
|
35525
35529
|
);
|
|
35526
|
-
function
|
|
35530
|
+
function Ve(e) {
|
|
35527
35531
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
35528
35532
|
}
|
|
35529
|
-
function
|
|
35530
|
-
return
|
|
35533
|
+
function In(e) {
|
|
35534
|
+
return Ve(e) || e === 47;
|
|
35531
35535
|
}
|
|
35532
|
-
function
|
|
35536
|
+
function jn(e) {
|
|
35533
35537
|
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;
|
|
35534
35538
|
}
|
|
35535
|
-
function
|
|
35539
|
+
function Kt(e) {
|
|
35536
35540
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
35537
35541
|
}
|
|
35538
|
-
function
|
|
35542
|
+
function Ln(e) {
|
|
35539
35543
|
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;
|
|
35540
35544
|
}
|
|
35541
|
-
function
|
|
35545
|
+
function Xe(e) {
|
|
35542
35546
|
e.forEach(function(t) {
|
|
35543
|
-
if (delete t.location,
|
|
35547
|
+
if (delete t.location, qt(t) || Gt(t))
|
|
35544
35548
|
for (var r in t.options)
|
|
35545
|
-
delete t.options[r].location,
|
|
35549
|
+
delete t.options[r].location, Xe(t.options[r].value);
|
|
35546
35550
|
else
|
|
35547
|
-
|
|
35551
|
+
Rt(t) && Vt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : Ft(t) && Xe(t.children);
|
|
35548
35552
|
});
|
|
35549
35553
|
}
|
|
35550
|
-
function
|
|
35554
|
+
function Rn(e, t) {
|
|
35551
35555
|
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
35552
|
-
var r = new
|
|
35556
|
+
var r = new On(e, t).parse();
|
|
35553
35557
|
if (r.err) {
|
|
35554
35558
|
var n = SyntaxError(w[r.err.kind]);
|
|
35555
35559
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
35556
35560
|
}
|
|
35557
|
-
return t?.captureLocation ||
|
|
35561
|
+
return t?.captureLocation || Xe(r.val), r.val;
|
|
35558
35562
|
}
|
|
35559
|
-
var
|
|
35563
|
+
var te;
|
|
35560
35564
|
(function(e) {
|
|
35561
35565
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
35562
|
-
})(
|
|
35563
|
-
var
|
|
35566
|
+
})(te || (te = {}));
|
|
35567
|
+
var Ae = (
|
|
35564
35568
|
/** @class */
|
|
35565
35569
|
function(e) {
|
|
35566
|
-
|
|
35570
|
+
Ne(t, e);
|
|
35567
35571
|
function t(r, n, i) {
|
|
35568
35572
|
var o = e.call(this, r) || this;
|
|
35569
35573
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -35572,48 +35576,48 @@ var He = (
|
|
|
35572
35576
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
35573
35577
|
}, t;
|
|
35574
35578
|
}(Error)
|
|
35575
|
-
),
|
|
35579
|
+
), dt = (
|
|
35576
35580
|
/** @class */
|
|
35577
35581
|
function(e) {
|
|
35578
|
-
|
|
35582
|
+
Ne(t, e);
|
|
35579
35583
|
function t(r, n, i, o) {
|
|
35580
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
35584
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
|
35581
35585
|
}
|
|
35582
35586
|
return t;
|
|
35583
|
-
}(
|
|
35584
|
-
),
|
|
35587
|
+
}(Ae)
|
|
35588
|
+
), Un = (
|
|
35585
35589
|
/** @class */
|
|
35586
35590
|
function(e) {
|
|
35587
|
-
|
|
35591
|
+
Ne(t, e);
|
|
35588
35592
|
function t(r, n, i) {
|
|
35589
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
35593
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
|
35590
35594
|
}
|
|
35591
35595
|
return t;
|
|
35592
|
-
}(
|
|
35593
|
-
),
|
|
35596
|
+
}(Ae)
|
|
35597
|
+
), Dn = (
|
|
35594
35598
|
/** @class */
|
|
35595
35599
|
function(e) {
|
|
35596
|
-
|
|
35600
|
+
Ne(t, e);
|
|
35597
35601
|
function t(r, n) {
|
|
35598
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
35602
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
|
35599
35603
|
}
|
|
35600
35604
|
return t;
|
|
35601
|
-
}(
|
|
35605
|
+
}(Ae)
|
|
35602
35606
|
), D;
|
|
35603
35607
|
(function(e) {
|
|
35604
35608
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
35605
35609
|
})(D || (D = {}));
|
|
35606
|
-
function
|
|
35610
|
+
function qn(e) {
|
|
35607
35611
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
35608
35612
|
var n = t[t.length - 1];
|
|
35609
35613
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
35610
35614
|
}, []);
|
|
35611
35615
|
}
|
|
35612
|
-
function
|
|
35616
|
+
function Gn(e) {
|
|
35613
35617
|
return typeof e == "function";
|
|
35614
35618
|
}
|
|
35615
|
-
function
|
|
35616
|
-
if (e.length === 1 &&
|
|
35619
|
+
function Se(e, t, r, n, i, o, a) {
|
|
35620
|
+
if (e.length === 1 && ot(e[0]))
|
|
35617
35621
|
return [
|
|
35618
35622
|
{
|
|
35619
35623
|
type: D.literal,
|
|
@@ -35622,14 +35626,14 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
35622
35626
|
];
|
|
35623
35627
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
35624
35628
|
var l = u[h];
|
|
35625
|
-
if (
|
|
35629
|
+
if (ot(l)) {
|
|
35626
35630
|
s.push({
|
|
35627
35631
|
type: D.literal,
|
|
35628
35632
|
value: l.value
|
|
35629
35633
|
});
|
|
35630
35634
|
continue;
|
|
35631
35635
|
}
|
|
35632
|
-
if (
|
|
35636
|
+
if (hn(l)) {
|
|
35633
35637
|
typeof o == "number" && s.push({
|
|
35634
35638
|
type: D.literal,
|
|
35635
35639
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -35638,89 +35642,89 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
35638
35642
|
}
|
|
35639
35643
|
var d = l.value;
|
|
35640
35644
|
if (!(i && d in i))
|
|
35641
|
-
throw new
|
|
35645
|
+
throw new Dn(d, a);
|
|
35642
35646
|
var m = i[d];
|
|
35643
|
-
if (
|
|
35647
|
+
if (un(l)) {
|
|
35644
35648
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
35645
35649
|
type: typeof m == "string" ? D.literal : D.object,
|
|
35646
35650
|
value: m
|
|
35647
35651
|
});
|
|
35648
35652
|
continue;
|
|
35649
35653
|
}
|
|
35650
|
-
if (
|
|
35651
|
-
var
|
|
35654
|
+
if (Ut(l)) {
|
|
35655
|
+
var v = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
|
|
35652
35656
|
s.push({
|
|
35653
35657
|
type: D.literal,
|
|
35654
|
-
value: r.getDateTimeFormat(t,
|
|
35658
|
+
value: r.getDateTimeFormat(t, v).format(m)
|
|
35655
35659
|
});
|
|
35656
35660
|
continue;
|
|
35657
35661
|
}
|
|
35658
|
-
if (
|
|
35659
|
-
var
|
|
35662
|
+
if (Dt(l)) {
|
|
35663
|
+
var v = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
35660
35664
|
s.push({
|
|
35661
35665
|
type: D.literal,
|
|
35662
|
-
value: r.getDateTimeFormat(t,
|
|
35666
|
+
value: r.getDateTimeFormat(t, v).format(m)
|
|
35663
35667
|
});
|
|
35664
35668
|
continue;
|
|
35665
35669
|
}
|
|
35666
|
-
if (
|
|
35667
|
-
var
|
|
35668
|
-
|
|
35670
|
+
if (Rt(l)) {
|
|
35671
|
+
var v = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
|
|
35672
|
+
v && v.scale && (m = m * (v.scale || 1)), s.push({
|
|
35669
35673
|
type: D.literal,
|
|
35670
|
-
value: r.getNumberFormat(t,
|
|
35674
|
+
value: r.getNumberFormat(t, v).format(m)
|
|
35671
35675
|
});
|
|
35672
35676
|
continue;
|
|
35673
35677
|
}
|
|
35674
|
-
if (
|
|
35675
|
-
var f = l.children, g = l.value,
|
|
35676
|
-
if (!
|
|
35677
|
-
throw new
|
|
35678
|
-
var _ =
|
|
35679
|
-
return
|
|
35678
|
+
if (Ft(l)) {
|
|
35679
|
+
var f = l.children, g = l.value, C = i[g];
|
|
35680
|
+
if (!Gn(C))
|
|
35681
|
+
throw new Un(g, "function", a);
|
|
35682
|
+
var _ = Se(f, t, r, n, i, o), b = C(_.map(function(E) {
|
|
35683
|
+
return E.value;
|
|
35680
35684
|
}));
|
|
35681
|
-
Array.isArray(
|
|
35685
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(E) {
|
|
35682
35686
|
return {
|
|
35683
|
-
type: typeof
|
|
35684
|
-
value:
|
|
35687
|
+
type: typeof E == "string" ? D.literal : D.object,
|
|
35688
|
+
value: E
|
|
35685
35689
|
};
|
|
35686
35690
|
}));
|
|
35687
35691
|
}
|
|
35688
|
-
if (
|
|
35689
|
-
var
|
|
35690
|
-
if (!
|
|
35691
|
-
throw new
|
|
35692
|
-
s.push.apply(s,
|
|
35692
|
+
if (qt(l)) {
|
|
35693
|
+
var x = l.options[m] || l.options.other;
|
|
35694
|
+
if (!x)
|
|
35695
|
+
throw new dt(l.value, m, Object.keys(l.options), a);
|
|
35696
|
+
s.push.apply(s, Se(x.value, t, r, n, i));
|
|
35693
35697
|
continue;
|
|
35694
35698
|
}
|
|
35695
|
-
if (
|
|
35696
|
-
var
|
|
35697
|
-
if (!
|
|
35699
|
+
if (Gt(l)) {
|
|
35700
|
+
var x = l.options["=".concat(m)];
|
|
35701
|
+
if (!x) {
|
|
35698
35702
|
if (!Intl.PluralRules)
|
|
35699
|
-
throw new
|
|
35703
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
35700
35704
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
35701
|
-
`,
|
|
35705
|
+
`, te.MISSING_INTL_API, a);
|
|
35702
35706
|
var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
35703
|
-
|
|
35707
|
+
x = l.options[P] || l.options.other;
|
|
35704
35708
|
}
|
|
35705
|
-
if (!
|
|
35706
|
-
throw new
|
|
35707
|
-
s.push.apply(s,
|
|
35709
|
+
if (!x)
|
|
35710
|
+
throw new dt(l.value, m, Object.keys(l.options), a);
|
|
35711
|
+
s.push.apply(s, Se(x.value, t, r, n, i, m - (l.offset || 0)));
|
|
35708
35712
|
continue;
|
|
35709
35713
|
}
|
|
35710
35714
|
}
|
|
35711
|
-
return
|
|
35715
|
+
return qn(s);
|
|
35712
35716
|
}
|
|
35713
|
-
function
|
|
35717
|
+
function Fn(e, t) {
|
|
35714
35718
|
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
35715
35719
|
return r[n] = H(H({}, e[n]), t[n] || {}), r;
|
|
35716
35720
|
}, {})) : e;
|
|
35717
35721
|
}
|
|
35718
|
-
function
|
|
35722
|
+
function Vn(e, t) {
|
|
35719
35723
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
35720
|
-
return r[n] =
|
|
35724
|
+
return r[n] = Fn(e[n], t[n]), r;
|
|
35721
35725
|
}, H({}, e)) : e;
|
|
35722
35726
|
}
|
|
35723
|
-
function
|
|
35727
|
+
function Le(e) {
|
|
35724
35728
|
return {
|
|
35725
35729
|
create: function() {
|
|
35726
35730
|
return {
|
|
@@ -35734,39 +35738,39 @@ function Re(e) {
|
|
|
35734
35738
|
}
|
|
35735
35739
|
};
|
|
35736
35740
|
}
|
|
35737
|
-
function
|
|
35741
|
+
function Xn(e) {
|
|
35738
35742
|
return e === void 0 && (e = {
|
|
35739
35743
|
number: {},
|
|
35740
35744
|
dateTime: {},
|
|
35741
35745
|
pluralRules: {}
|
|
35742
35746
|
}), {
|
|
35743
|
-
getNumberFormat:
|
|
35747
|
+
getNumberFormat: Oe(function() {
|
|
35744
35748
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35745
35749
|
r[n] = arguments[n];
|
|
35746
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
35750
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
|
|
35747
35751
|
}, {
|
|
35748
|
-
cache:
|
|
35749
|
-
strategy:
|
|
35752
|
+
cache: Le(e.number),
|
|
35753
|
+
strategy: Ie.variadic
|
|
35750
35754
|
}),
|
|
35751
|
-
getDateTimeFormat:
|
|
35755
|
+
getDateTimeFormat: Oe(function() {
|
|
35752
35756
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35753
35757
|
r[n] = arguments[n];
|
|
35754
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
35758
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
|
|
35755
35759
|
}, {
|
|
35756
|
-
cache:
|
|
35757
|
-
strategy:
|
|
35760
|
+
cache: Le(e.dateTime),
|
|
35761
|
+
strategy: Ie.variadic
|
|
35758
35762
|
}),
|
|
35759
|
-
getPluralRules:
|
|
35763
|
+
getPluralRules: Oe(function() {
|
|
35760
35764
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35761
35765
|
r[n] = arguments[n];
|
|
35762
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
35766
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
|
|
35763
35767
|
}, {
|
|
35764
|
-
cache:
|
|
35765
|
-
strategy:
|
|
35768
|
+
cache: Le(e.pluralRules),
|
|
35769
|
+
strategy: Ie.variadic
|
|
35766
35770
|
})
|
|
35767
35771
|
};
|
|
35768
35772
|
}
|
|
35769
|
-
var
|
|
35773
|
+
var Wn = (
|
|
35770
35774
|
/** @class */
|
|
35771
35775
|
function() {
|
|
35772
35776
|
function e(t, r, n, i) {
|
|
@@ -35785,7 +35789,7 @@ var Jn = (
|
|
|
35785
35789
|
}, []);
|
|
35786
35790
|
return l.length <= 1 ? l[0] || "" : l;
|
|
35787
35791
|
}, this.formatToParts = function(h) {
|
|
35788
|
-
return
|
|
35792
|
+
return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
35789
35793
|
}, this.resolvedOptions = function() {
|
|
35790
35794
|
var h;
|
|
35791
35795
|
return {
|
|
@@ -35797,13 +35801,13 @@ var Jn = (
|
|
|
35797
35801
|
if (this.message = t, !e.__parse)
|
|
35798
35802
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
35799
35803
|
var a = i || {};
|
|
35800
|
-
var s =
|
|
35804
|
+
var s = tn(a, ["formatters"]);
|
|
35801
35805
|
this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
|
|
35802
35806
|
} else
|
|
35803
35807
|
this.ast = t;
|
|
35804
35808
|
if (!Array.isArray(this.ast))
|
|
35805
35809
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
35806
|
-
this.formats =
|
|
35810
|
+
this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
|
|
35807
35811
|
}
|
|
35808
35812
|
return Object.defineProperty(e, "defaultLocale", {
|
|
35809
35813
|
get: function() {
|
|
@@ -35816,7 +35820,7 @@ var Jn = (
|
|
|
35816
35820
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
35817
35821
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
35818
35822
|
}
|
|
35819
|
-
}, e.__parse =
|
|
35823
|
+
}, e.__parse = Rn, e.formats = {
|
|
35820
35824
|
number: {
|
|
35821
35825
|
integer: {
|
|
35822
35826
|
maximumFractionDigits: 0
|
|
@@ -35877,7 +35881,7 @@ var Jn = (
|
|
|
35877
35881
|
}, e;
|
|
35878
35882
|
}()
|
|
35879
35883
|
);
|
|
35880
|
-
function
|
|
35884
|
+
function Zn(e, t) {
|
|
35881
35885
|
if (t == null)
|
|
35882
35886
|
return;
|
|
35883
35887
|
if (t in e)
|
|
@@ -35898,92 +35902,92 @@ function Qn(e, t) {
|
|
|
35898
35902
|
n = void 0;
|
|
35899
35903
|
return n;
|
|
35900
35904
|
}
|
|
35901
|
-
const
|
|
35905
|
+
const Z = {}, Jn = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), $t = (e, t) => {
|
|
35902
35906
|
if (t == null)
|
|
35903
35907
|
return;
|
|
35904
|
-
if (t in
|
|
35905
|
-
return
|
|
35906
|
-
const r =
|
|
35908
|
+
if (t in Z && e in Z[t])
|
|
35909
|
+
return Z[t][e];
|
|
35910
|
+
const r = He(t);
|
|
35907
35911
|
for (let n = 0; n < r.length; n++) {
|
|
35908
|
-
const i = r[n], o =
|
|
35912
|
+
const i = r[n], o = Yn(i, e);
|
|
35909
35913
|
if (o)
|
|
35910
|
-
return
|
|
35914
|
+
return Jn(e, t, o);
|
|
35911
35915
|
}
|
|
35912
35916
|
};
|
|
35913
|
-
let
|
|
35914
|
-
const
|
|
35915
|
-
function
|
|
35916
|
-
return
|
|
35917
|
+
let Ye;
|
|
35918
|
+
const fe = we({});
|
|
35919
|
+
function Qn(e) {
|
|
35920
|
+
return Ye[e] || null;
|
|
35917
35921
|
}
|
|
35918
|
-
function
|
|
35919
|
-
return e in
|
|
35922
|
+
function er(e) {
|
|
35923
|
+
return e in Ye;
|
|
35920
35924
|
}
|
|
35921
|
-
function
|
|
35922
|
-
if (!
|
|
35925
|
+
function Yn(e, t) {
|
|
35926
|
+
if (!er(e))
|
|
35923
35927
|
return null;
|
|
35924
|
-
const r =
|
|
35925
|
-
return
|
|
35928
|
+
const r = Qn(e);
|
|
35929
|
+
return Zn(r, t);
|
|
35926
35930
|
}
|
|
35927
|
-
function
|
|
35931
|
+
function Kn(e) {
|
|
35928
35932
|
if (e == null)
|
|
35929
35933
|
return;
|
|
35930
|
-
const t =
|
|
35934
|
+
const t = He(e);
|
|
35931
35935
|
for (let r = 0; r < t.length; r++) {
|
|
35932
35936
|
const n = t[r];
|
|
35933
|
-
if (
|
|
35937
|
+
if (er(n))
|
|
35934
35938
|
return n;
|
|
35935
35939
|
}
|
|
35936
35940
|
}
|
|
35937
|
-
function
|
|
35938
|
-
delete
|
|
35941
|
+
function tr(e, ...t) {
|
|
35942
|
+
delete Z[e], fe.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
|
|
35939
35943
|
}
|
|
35940
|
-
|
|
35941
|
-
[
|
|
35944
|
+
ne(
|
|
35945
|
+
[fe],
|
|
35942
35946
|
([e]) => Object.keys(e)
|
|
35943
35947
|
);
|
|
35944
|
-
|
|
35945
|
-
const
|
|
35946
|
-
function
|
|
35947
|
-
|
|
35948
|
+
fe.subscribe((e) => Ye = e);
|
|
35949
|
+
const xe = {};
|
|
35950
|
+
function $n(e, t) {
|
|
35951
|
+
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
35948
35952
|
}
|
|
35949
|
-
function
|
|
35950
|
-
return
|
|
35953
|
+
function rr(e) {
|
|
35954
|
+
return xe[e];
|
|
35951
35955
|
}
|
|
35952
|
-
function
|
|
35953
|
-
return
|
|
35954
|
-
const r =
|
|
35956
|
+
function ei(e) {
|
|
35957
|
+
return He(e).map((t) => {
|
|
35958
|
+
const r = rr(t);
|
|
35955
35959
|
return [t, r ? [...r] : []];
|
|
35956
35960
|
}).filter(([, t]) => t.length > 0);
|
|
35957
35961
|
}
|
|
35958
|
-
function
|
|
35959
|
-
return e == null ? !1 :
|
|
35962
|
+
function We(e) {
|
|
35963
|
+
return e == null ? !1 : He(e).some(
|
|
35960
35964
|
(t) => {
|
|
35961
35965
|
var r;
|
|
35962
|
-
return (r =
|
|
35966
|
+
return (r = rr(t)) == null ? void 0 : r.size;
|
|
35963
35967
|
}
|
|
35964
35968
|
);
|
|
35965
35969
|
}
|
|
35966
|
-
function
|
|
35970
|
+
function ti(e, t) {
|
|
35967
35971
|
return Promise.all(
|
|
35968
|
-
t.map((n) => (
|
|
35969
|
-
).then((n) =>
|
|
35970
|
-
}
|
|
35971
|
-
const
|
|
35972
|
-
function
|
|
35973
|
-
if (!
|
|
35974
|
-
return e in
|
|
35975
|
-
const t =
|
|
35976
|
-
return
|
|
35972
|
+
t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
|
|
35973
|
+
).then((n) => tr(e, ...n));
|
|
35974
|
+
}
|
|
35975
|
+
const ue = {};
|
|
35976
|
+
function nr(e) {
|
|
35977
|
+
if (!We(e))
|
|
35978
|
+
return e in ue ? ue[e] : Promise.resolve();
|
|
35979
|
+
const t = ei(e);
|
|
35980
|
+
return ue[e] = Promise.all(
|
|
35977
35981
|
t.map(
|
|
35978
|
-
([r, n]) =>
|
|
35982
|
+
([r, n]) => ti(r, n)
|
|
35979
35983
|
)
|
|
35980
35984
|
).then(() => {
|
|
35981
|
-
if (
|
|
35982
|
-
return
|
|
35983
|
-
delete
|
|
35984
|
-
}),
|
|
35985
|
+
if (We(e))
|
|
35986
|
+
return nr(e);
|
|
35987
|
+
delete ue[e];
|
|
35988
|
+
}), ue[e];
|
|
35985
35989
|
}
|
|
35986
|
-
const
|
|
35990
|
+
const ri = {
|
|
35987
35991
|
number: {
|
|
35988
35992
|
scientific: { notation: "scientific" },
|
|
35989
35993
|
engineering: { notation: "engineering" },
|
|
@@ -36012,150 +36016,150 @@ const ii = {
|
|
|
36012
36016
|
timeZoneName: "short"
|
|
36013
36017
|
}
|
|
36014
36018
|
}
|
|
36015
|
-
},
|
|
36019
|
+
}, ni = {
|
|
36016
36020
|
fallbackLocale: null,
|
|
36017
36021
|
loadingDelay: 200,
|
|
36018
|
-
formats:
|
|
36022
|
+
formats: ri,
|
|
36019
36023
|
warnOnMissingMessages: !0,
|
|
36020
36024
|
handleMissingMessage: void 0,
|
|
36021
36025
|
ignoreTag: !0
|
|
36022
|
-
},
|
|
36023
|
-
function
|
|
36024
|
-
return
|
|
36026
|
+
}, ii = ni;
|
|
36027
|
+
function re() {
|
|
36028
|
+
return ii;
|
|
36025
36029
|
}
|
|
36026
|
-
const
|
|
36027
|
-
var
|
|
36030
|
+
const Re = we(!1);
|
|
36031
|
+
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) => {
|
|
36028
36032
|
for (var r in t || (t = {}))
|
|
36029
|
-
|
|
36030
|
-
if (
|
|
36031
|
-
for (var r of
|
|
36032
|
-
|
|
36033
|
+
li.call(t, r) && gt(e, r, t[r]);
|
|
36034
|
+
if (mt)
|
|
36035
|
+
for (var r of mt(t))
|
|
36036
|
+
ci.call(t, r) && gt(e, r, t[r]);
|
|
36033
36037
|
return e;
|
|
36034
|
-
},
|
|
36035
|
-
let
|
|
36036
|
-
const Te =
|
|
36037
|
-
function
|
|
36038
|
+
}, hi = (e, t) => ai(e, si(t));
|
|
36039
|
+
let Ze;
|
|
36040
|
+
const Te = we(null);
|
|
36041
|
+
function pt(e) {
|
|
36038
36042
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
36039
36043
|
}
|
|
36040
|
-
function
|
|
36041
|
-
const r =
|
|
36042
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
36044
|
+
function He(e, t = re().fallbackLocale) {
|
|
36045
|
+
const r = pt(e);
|
|
36046
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
|
|
36043
36047
|
}
|
|
36044
|
-
function
|
|
36045
|
-
return
|
|
36048
|
+
function Q() {
|
|
36049
|
+
return Ze ?? void 0;
|
|
36046
36050
|
}
|
|
36047
36051
|
Te.subscribe((e) => {
|
|
36048
|
-
|
|
36052
|
+
Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
36049
36053
|
});
|
|
36050
|
-
const
|
|
36051
|
-
if (e &&
|
|
36052
|
-
const { loadingDelay: t } =
|
|
36054
|
+
const di = (e) => {
|
|
36055
|
+
if (e && Kn(e) && We(e)) {
|
|
36056
|
+
const { loadingDelay: t } = re();
|
|
36053
36057
|
let r;
|
|
36054
|
-
return typeof window < "u" &&
|
|
36055
|
-
() =>
|
|
36058
|
+
return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
|
|
36059
|
+
() => Re.set(!0),
|
|
36056
36060
|
t
|
|
36057
|
-
) :
|
|
36061
|
+
) : Re.set(!0), nr(e).then(() => {
|
|
36058
36062
|
Te.set(e);
|
|
36059
36063
|
}).finally(() => {
|
|
36060
|
-
clearTimeout(r),
|
|
36064
|
+
clearTimeout(r), Re.set(!1);
|
|
36061
36065
|
});
|
|
36062
36066
|
}
|
|
36063
36067
|
return Te.set(e);
|
|
36064
|
-
},
|
|
36065
|
-
set:
|
|
36066
|
-
}),
|
|
36068
|
+
}, ie = hi(ui({}, Te), {
|
|
36069
|
+
set: di
|
|
36070
|
+
}), Pe = (e) => {
|
|
36067
36071
|
const t = /* @__PURE__ */ Object.create(null);
|
|
36068
36072
|
return (n) => {
|
|
36069
36073
|
const i = JSON.stringify(n);
|
|
36070
36074
|
return i in t ? t[i] : t[i] = e(n);
|
|
36071
36075
|
};
|
|
36072
36076
|
};
|
|
36073
|
-
var
|
|
36077
|
+
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) => {
|
|
36074
36078
|
for (var r in t || (t = {}))
|
|
36075
|
-
|
|
36076
|
-
if (
|
|
36077
|
-
for (var r of
|
|
36078
|
-
|
|
36079
|
+
ir.call(t, r) && ft(e, r, t[r]);
|
|
36080
|
+
if (Me)
|
|
36081
|
+
for (var r of Me(t))
|
|
36082
|
+
or.call(t, r) && ft(e, r, t[r]);
|
|
36079
36083
|
return e;
|
|
36080
|
-
},
|
|
36084
|
+
}, oe = (e, t) => {
|
|
36081
36085
|
var r = {};
|
|
36082
36086
|
for (var n in e)
|
|
36083
|
-
|
|
36084
|
-
if (e != null &&
|
|
36085
|
-
for (var n of
|
|
36086
|
-
t.indexOf(n) < 0 &&
|
|
36087
|
+
ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
36088
|
+
if (e != null && Me)
|
|
36089
|
+
for (var n of Me(e))
|
|
36090
|
+
t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
|
|
36087
36091
|
return r;
|
|
36088
36092
|
};
|
|
36089
|
-
const
|
|
36090
|
-
const { formats: r } =
|
|
36093
|
+
const me = (e, t) => {
|
|
36094
|
+
const { formats: r } = re();
|
|
36091
36095
|
if (e in r && t in r[e])
|
|
36092
36096
|
return r[e][t];
|
|
36093
36097
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
36094
|
-
},
|
|
36098
|
+
}, gi = Pe(
|
|
36095
36099
|
(e) => {
|
|
36096
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36100
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
36097
36101
|
if (r == null)
|
|
36098
36102
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
36099
|
-
return n && (i =
|
|
36103
|
+
return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
|
|
36100
36104
|
}
|
|
36101
|
-
),
|
|
36105
|
+
), pi = Pe(
|
|
36102
36106
|
(e) => {
|
|
36103
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36107
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
36104
36108
|
if (r == null)
|
|
36105
36109
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
36106
|
-
return n ? i =
|
|
36110
|
+
return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
36107
36111
|
}
|
|
36108
|
-
),
|
|
36112
|
+
), fi = Pe(
|
|
36109
36113
|
(e) => {
|
|
36110
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36114
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
36111
36115
|
if (r == null)
|
|
36112
36116
|
throw new Error(
|
|
36113
36117
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
36114
36118
|
);
|
|
36115
|
-
return n ? i =
|
|
36119
|
+
return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
36116
36120
|
}
|
|
36117
|
-
),
|
|
36121
|
+
), _i = (e = {}) => {
|
|
36118
36122
|
var t = e, {
|
|
36119
|
-
locale: r =
|
|
36120
|
-
} = t, n =
|
|
36123
|
+
locale: r = Q()
|
|
36124
|
+
} = t, n = oe(t, [
|
|
36121
36125
|
"locale"
|
|
36122
36126
|
]);
|
|
36123
|
-
return
|
|
36124
|
-
},
|
|
36127
|
+
return gi(Ke({ locale: r }, n));
|
|
36128
|
+
}, bi = (e = {}) => {
|
|
36125
36129
|
var t = e, {
|
|
36126
|
-
locale: r =
|
|
36127
|
-
} = t, n =
|
|
36130
|
+
locale: r = Q()
|
|
36131
|
+
} = t, n = oe(t, [
|
|
36128
36132
|
"locale"
|
|
36129
36133
|
]);
|
|
36130
|
-
return
|
|
36131
|
-
},
|
|
36134
|
+
return pi(Ke({ locale: r }, n));
|
|
36135
|
+
}, vi = (e = {}) => {
|
|
36132
36136
|
var t = e, {
|
|
36133
|
-
locale: r =
|
|
36134
|
-
} = t, n =
|
|
36137
|
+
locale: r = Q()
|
|
36138
|
+
} = t, n = oe(t, [
|
|
36135
36139
|
"locale"
|
|
36136
36140
|
]);
|
|
36137
|
-
return
|
|
36138
|
-
},
|
|
36141
|
+
return fi(Ke({ locale: r }, n));
|
|
36142
|
+
}, yi = Pe(
|
|
36139
36143
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
36140
|
-
(e, t =
|
|
36141
|
-
ignoreTag:
|
|
36144
|
+
(e, t = Q()) => new Wn(e, t, re().formats, {
|
|
36145
|
+
ignoreTag: re().ignoreTag
|
|
36142
36146
|
})
|
|
36143
|
-
),
|
|
36147
|
+
), Ei = (e, t = {}) => {
|
|
36144
36148
|
var r, n, i, o;
|
|
36145
36149
|
let a = t;
|
|
36146
36150
|
typeof e == "object" && (a = e, e = a.id);
|
|
36147
36151
|
const {
|
|
36148
36152
|
values: s,
|
|
36149
|
-
locale: h =
|
|
36153
|
+
locale: h = Q(),
|
|
36150
36154
|
default: u
|
|
36151
36155
|
} = a;
|
|
36152
36156
|
if (h == null)
|
|
36153
36157
|
throw new Error(
|
|
36154
36158
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
36155
36159
|
);
|
|
36156
|
-
let l =
|
|
36160
|
+
let l = $t(e, h);
|
|
36157
36161
|
if (!l)
|
|
36158
|
-
l = (o = (i = (n = (r =
|
|
36162
|
+
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;
|
|
36159
36163
|
else if (typeof l != "string")
|
|
36160
36164
|
return console.warn(
|
|
36161
36165
|
`[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.`
|
|
@@ -36164,7 +36168,7 @@ const ge = (e, t) => {
|
|
|
36164
36168
|
return l;
|
|
36165
36169
|
let d = l;
|
|
36166
36170
|
try {
|
|
36167
|
-
d =
|
|
36171
|
+
d = yi(l, h).format(s);
|
|
36168
36172
|
} catch (m) {
|
|
36169
36173
|
m instanceof Error && console.warn(
|
|
36170
36174
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -36172,18 +36176,18 @@ const ge = (e, t) => {
|
|
|
36172
36176
|
);
|
|
36173
36177
|
}
|
|
36174
36178
|
return d;
|
|
36175
|
-
},
|
|
36176
|
-
|
|
36177
|
-
|
|
36178
|
-
|
|
36179
|
-
|
|
36180
|
-
function
|
|
36181
|
-
|
|
36182
|
-
}
|
|
36183
|
-
function
|
|
36184
|
-
|
|
36185
|
-
}
|
|
36186
|
-
const
|
|
36179
|
+
}, 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);
|
|
36180
|
+
ne([ie], () => ki);
|
|
36181
|
+
ne([ie], () => Ci);
|
|
36182
|
+
ne([ie], () => Si);
|
|
36183
|
+
ne([ie, fe], () => xi);
|
|
36184
|
+
function _t(e, t) {
|
|
36185
|
+
tr(e, t);
|
|
36186
|
+
}
|
|
36187
|
+
function Mi(e) {
|
|
36188
|
+
ie.set(e);
|
|
36189
|
+
}
|
|
36190
|
+
const bt = {
|
|
36187
36191
|
en: {
|
|
36188
36192
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
36189
36193
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -36755,18 +36759,18 @@ if (typeof window < "u") {
|
|
|
36755
36759
|
}
|
|
36756
36760
|
};
|
|
36757
36761
|
};
|
|
36758
|
-
customElements.define = e(customElements.define), Promise.resolve().then(function () { return
|
|
36762
|
+
customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingZTNd0X9B; }).then((t) => t.G).then(({ default: t }) => {
|
|
36759
36763
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
36760
36764
|
});
|
|
36761
36765
|
}
|
|
36762
|
-
function
|
|
36766
|
+
function wi(e) {
|
|
36763
36767
|
let t, r;
|
|
36764
36768
|
return {
|
|
36765
36769
|
c() {
|
|
36766
36770
|
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");
|
|
36767
36771
|
},
|
|
36768
36772
|
m(n, i) {
|
|
36769
|
-
|
|
36773
|
+
k(n, t, i), G(t, r);
|
|
36770
36774
|
},
|
|
36771
36775
|
p: d,
|
|
36772
36776
|
i: d,
|
|
@@ -36776,34 +36780,34 @@ function Ai(e) {
|
|
|
36776
36780
|
}
|
|
36777
36781
|
};
|
|
36778
36782
|
}
|
|
36779
|
-
class
|
|
36783
|
+
class Ni extends lt$1 {
|
|
36780
36784
|
constructor(t) {
|
|
36781
|
-
super(), ct$1(this, t, null,
|
|
36785
|
+
super(), ct$1(this, t, null, wi, z, {});
|
|
36782
36786
|
}
|
|
36783
36787
|
}
|
|
36784
|
-
customElements.define("circle-exclamation-icon", ot(
|
|
36785
|
-
function
|
|
36788
|
+
customElements.define("circle-exclamation-icon", ot$1(Ni, {}, [], [], !0));
|
|
36789
|
+
function Ai(e) {
|
|
36786
36790
|
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}');
|
|
36787
36791
|
}
|
|
36788
|
-
function
|
|
36792
|
+
function vt(e, t, r) {
|
|
36789
36793
|
const n = e.slice();
|
|
36790
36794
|
return n[64] = t[r], n;
|
|
36791
36795
|
}
|
|
36792
|
-
function
|
|
36796
|
+
function yt(e, t, r) {
|
|
36793
36797
|
const n = e.slice();
|
|
36794
36798
|
return n[61] = t[r], n[62] = t, n[63] = r, n;
|
|
36795
36799
|
}
|
|
36796
|
-
function
|
|
36800
|
+
function Et(e, t, r) {
|
|
36797
36801
|
const n = e.slice();
|
|
36798
36802
|
return n[64] = t[r], n;
|
|
36799
36803
|
}
|
|
36800
|
-
function
|
|
36801
|
-
let t, r, n =
|
|
36804
|
+
function Hi(e) {
|
|
36805
|
+
let t, r, n = vt$1(
|
|
36802
36806
|
/*playerConsents*/
|
|
36803
36807
|
e[9]
|
|
36804
36808
|
), i = [];
|
|
36805
36809
|
for (let o = 0; o < n.length; o += 1)
|
|
36806
|
-
i[o] =
|
|
36810
|
+
i[o] = kt(vt(e, n, o));
|
|
36807
36811
|
return {
|
|
36808
36812
|
c() {
|
|
36809
36813
|
t = w$1("div"), r = w$1("form");
|
|
@@ -36812,7 +36816,7 @@ function Bi(e) {
|
|
|
36812
36816
|
B$1(r, "class", "checkbox svelte-ltb9q9"), B$1(t, "class", "legacyStyle");
|
|
36813
36817
|
},
|
|
36814
36818
|
m(o, a) {
|
|
36815
|
-
|
|
36819
|
+
k(o, t, a), G(t, r);
|
|
36816
36820
|
for (let s = 0; s < i.length; s += 1)
|
|
36817
36821
|
i[s] && i[s].m(r, null);
|
|
36818
36822
|
e[31](r);
|
|
@@ -36820,14 +36824,14 @@ function Bi(e) {
|
|
|
36820
36824
|
p(o, a) {
|
|
36821
36825
|
if (a[0] & /*playerConsents, $_, handleInput*/
|
|
36822
36826
|
590336) {
|
|
36823
|
-
n =
|
|
36827
|
+
n = vt$1(
|
|
36824
36828
|
/*playerConsents*/
|
|
36825
36829
|
o[9]
|
|
36826
36830
|
);
|
|
36827
36831
|
let s;
|
|
36828
36832
|
for (s = 0; s < n.length; s += 1) {
|
|
36829
|
-
const h =
|
|
36830
|
-
i[s] ? i[s].p(h, a) : (i[s] =
|
|
36833
|
+
const h = vt(o, n, s);
|
|
36834
|
+
i[s] ? i[s].p(h, a) : (i[s] = kt(h), i[s].c(), i[s].m(r, null));
|
|
36831
36835
|
}
|
|
36832
36836
|
for (; s < i.length; s += 1)
|
|
36833
36837
|
i[s].d(1);
|
|
@@ -36839,7 +36843,7 @@ function Bi(e) {
|
|
|
36839
36843
|
}
|
|
36840
36844
|
};
|
|
36841
36845
|
}
|
|
36842
|
-
function
|
|
36846
|
+
function Pi(e) {
|
|
36843
36847
|
let t = (
|
|
36844
36848
|
/*$_*/
|
|
36845
36849
|
e[16]("title") || /*$_*/
|
|
@@ -36847,67 +36851,67 @@ function zi(e) {
|
|
|
36847
36851
|
), r, n, i, o = (
|
|
36848
36852
|
/*$_*/
|
|
36849
36853
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
36850
|
-
), a, s, h, u, l, d = t &&
|
|
36854
|
+
), a, s, h, u, l, d = t && Ct(e), m = vt$1(
|
|
36851
36855
|
/*consentsCategories*/
|
|
36852
36856
|
e[8]
|
|
36853
|
-
),
|
|
36857
|
+
), v = [];
|
|
36854
36858
|
for (let g = 0; g < m.length; g += 1)
|
|
36855
|
-
|
|
36859
|
+
v[g] = Nt(yt(e, m, g));
|
|
36856
36860
|
let f = (
|
|
36857
36861
|
/*errorMessage*/
|
|
36858
|
-
e[6] &&
|
|
36862
|
+
e[6] && At(e)
|
|
36859
36863
|
);
|
|
36860
36864
|
return {
|
|
36861
36865
|
c() {
|
|
36862
36866
|
d && d.c(), r = pt$1();
|
|
36863
|
-
for (let g = 0; g <
|
|
36864
|
-
|
|
36867
|
+
for (let g = 0; g < v.length; g += 1)
|
|
36868
|
+
v[g].c();
|
|
36865
36869
|
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*/
|
|
36866
36870
|
e[14];
|
|
36867
36871
|
},
|
|
36868
|
-
m(g,
|
|
36869
|
-
d && d.m(g,
|
|
36870
|
-
for (let _ = 0; _ <
|
|
36871
|
-
|
|
36872
|
-
|
|
36872
|
+
m(g, C) {
|
|
36873
|
+
d && d.m(g, C), k(g, r, C);
|
|
36874
|
+
for (let _ = 0; _ < v.length; _ += 1)
|
|
36875
|
+
v[_] && v[_].m(g, C);
|
|
36876
|
+
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(
|
|
36873
36877
|
i,
|
|
36874
36878
|
"click",
|
|
36875
36879
|
/*saveChanges*/
|
|
36876
36880
|
e[17]
|
|
36877
36881
|
), u = !0);
|
|
36878
36882
|
},
|
|
36879
|
-
p(g,
|
|
36880
|
-
if (
|
|
36883
|
+
p(g, C) {
|
|
36884
|
+
if (C[0] & /*$_*/
|
|
36881
36885
|
65536 && (t = /*$_*/
|
|
36882
36886
|
g[16]("title") || /*$_*/
|
|
36883
|
-
g[16]("description")), t ? d ? d.p(g,
|
|
36887
|
+
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*/
|
|
36884
36888
|
867088) {
|
|
36885
|
-
m =
|
|
36889
|
+
m = vt$1(
|
|
36886
36890
|
/*consentsCategories*/
|
|
36887
36891
|
g[8]
|
|
36888
36892
|
);
|
|
36889
36893
|
let _;
|
|
36890
36894
|
for (_ = 0; _ < m.length; _ += 1) {
|
|
36891
|
-
const
|
|
36892
|
-
|
|
36895
|
+
const b = yt(g, m, _);
|
|
36896
|
+
v[_] ? v[_].p(b, C) : (v[_] = Nt(b), v[_].c(), v[_].m(n.parentNode, n));
|
|
36893
36897
|
}
|
|
36894
|
-
for (; _ <
|
|
36895
|
-
|
|
36896
|
-
|
|
36898
|
+
for (; _ < v.length; _ += 1)
|
|
36899
|
+
v[_].d(1);
|
|
36900
|
+
v.length = m.length;
|
|
36897
36901
|
}
|
|
36898
|
-
|
|
36902
|
+
C[0] & /*$_*/
|
|
36899
36903
|
65536 && o !== (o = /*$_*/
|
|
36900
|
-
(g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o),
|
|
36904
|
+
(g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
|
|
36901
36905
|
16384 && a !== (a = !/*isValid*/
|
|
36902
36906
|
g[14]) && (i.disabled = a), /*errorMessage*/
|
|
36903
|
-
g[6] ? f ? f.p(g,
|
|
36907
|
+
g[6] ? f ? f.p(g, C) : (f = At(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
|
|
36904
36908
|
},
|
|
36905
36909
|
d(g) {
|
|
36906
|
-
g && (y(r), y(n), y(i), y(s), y(h)), d && d.d(g), bt$1(
|
|
36910
|
+
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();
|
|
36907
36911
|
}
|
|
36908
36912
|
};
|
|
36909
36913
|
}
|
|
36910
|
-
function
|
|
36914
|
+
function Bi(e) {
|
|
36911
36915
|
let t, r, n;
|
|
36912
36916
|
return {
|
|
36913
36917
|
c() {
|
|
@@ -36917,7 +36921,7 @@ function Oi(e) {
|
|
|
36917
36921
|
), B$1(r, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ContainerCenter svelte-ltb9q9");
|
|
36918
36922
|
},
|
|
36919
36923
|
m(i, o) {
|
|
36920
|
-
|
|
36924
|
+
k(i, t, o), G(t, r), G(r, n);
|
|
36921
36925
|
},
|
|
36922
36926
|
p(i, o) {
|
|
36923
36927
|
o[0] & /*fatalError*/
|
|
@@ -36932,7 +36936,7 @@ function Oi(e) {
|
|
|
36932
36936
|
}
|
|
36933
36937
|
};
|
|
36934
36938
|
}
|
|
36935
|
-
function
|
|
36939
|
+
function zi(e) {
|
|
36936
36940
|
let t;
|
|
36937
36941
|
return {
|
|
36938
36942
|
c() {
|
|
@@ -36954,7 +36958,7 @@ function Ii(e) {
|
|
|
36954
36958
|
);
|
|
36955
36959
|
},
|
|
36956
36960
|
m(r, n) {
|
|
36957
|
-
|
|
36961
|
+
k(r, t, n);
|
|
36958
36962
|
},
|
|
36959
36963
|
p(r, n) {
|
|
36960
36964
|
n[0] & /*clientstyling*/
|
|
@@ -36982,7 +36986,7 @@ function Ii(e) {
|
|
|
36982
36986
|
}
|
|
36983
36987
|
};
|
|
36984
36988
|
}
|
|
36985
|
-
function
|
|
36989
|
+
function kt(e) {
|
|
36986
36990
|
let t, r, n, i, o, a, s, h, u = (
|
|
36987
36991
|
/*$_*/
|
|
36988
36992
|
(e[16](`${/*consent*/
|
|
@@ -36991,31 +36995,31 @@ function xt(e) {
|
|
|
36991
36995
|
), l = (
|
|
36992
36996
|
/*consent*/
|
|
36993
36997
|
e[64].mustAccept ? " *" : ""
|
|
36994
|
-
), d, m,
|
|
36995
|
-
function P$1(...
|
|
36998
|
+
), d, m, v, f, g, C, _, b, x;
|
|
36999
|
+
function P$1(...E) {
|
|
36996
37000
|
return (
|
|
36997
37001
|
/*input_handler_1*/
|
|
36998
37002
|
e[30](
|
|
36999
37003
|
/*consent*/
|
|
37000
37004
|
e[64],
|
|
37001
|
-
...
|
|
37005
|
+
...E
|
|
37002
37006
|
)
|
|
37003
37007
|
);
|
|
37004
37008
|
}
|
|
37005
37009
|
return {
|
|
37006
37010
|
c() {
|
|
37007
|
-
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),
|
|
37011
|
+
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*/
|
|
37008
37012
|
e[64].status === "1", B$1(r, "id", i = `${/*consent*/
|
|
37009
37013
|
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*/
|
|
37010
37014
|
e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id", g = "checkBoxError__" + /*consent*/
|
|
37011
37015
|
e[64].tagCode), B$1(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
37012
37016
|
e[64].tagCode + "__input svelte-ltb9q9");
|
|
37013
37017
|
},
|
|
37014
|
-
m(
|
|
37015
|
-
|
|
37018
|
+
m(E, z) {
|
|
37019
|
+
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);
|
|
37016
37020
|
},
|
|
37017
|
-
p(
|
|
37018
|
-
e =
|
|
37021
|
+
p(E, z) {
|
|
37022
|
+
e = E, z[0] & /*playerConsents*/
|
|
37019
37023
|
512 && n !== (n = /*consent*/
|
|
37020
37024
|
e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
|
|
37021
37025
|
512 && i !== (i = `${/*consent*/
|
|
@@ -37033,39 +37037,39 @@ function xt(e) {
|
|
|
37033
37037
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
37034
37038
|
e[64].tagCode + "__input svelte-ltb9q9") && B$1(t, "class", _);
|
|
37035
37039
|
},
|
|
37036
|
-
d(
|
|
37037
|
-
|
|
37040
|
+
d(E) {
|
|
37041
|
+
E && y(t), b = !1, x();
|
|
37038
37042
|
}
|
|
37039
37043
|
};
|
|
37040
37044
|
}
|
|
37041
|
-
function
|
|
37045
|
+
function Ct(e) {
|
|
37042
37046
|
let t, r = (
|
|
37043
37047
|
/*$_*/
|
|
37044
37048
|
e[16]("title")
|
|
37045
37049
|
), n, i = (
|
|
37046
37050
|
/*$_*/
|
|
37047
37051
|
e[16]("description")
|
|
37048
|
-
), o = r &&
|
|
37052
|
+
), o = r && St(e), a = i && xt(e);
|
|
37049
37053
|
return {
|
|
37050
37054
|
c() {
|
|
37051
37055
|
t = w$1("div"), o && o.c(), n = pt$1(), a && a.c(), B$1(t, "class", "PlayerConsentsHeader svelte-ltb9q9");
|
|
37052
37056
|
},
|
|
37053
37057
|
m(s, h) {
|
|
37054
|
-
|
|
37058
|
+
k(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
|
|
37055
37059
|
},
|
|
37056
37060
|
p(s, h) {
|
|
37057
37061
|
h[0] & /*$_*/
|
|
37058
37062
|
65536 && (r = /*$_*/
|
|
37059
|
-
s[16]("title")), r ? o ? o.p(s, h) : (o =
|
|
37063
|
+
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] & /*$_*/
|
|
37060
37064
|
65536 && (i = /*$_*/
|
|
37061
|
-
s[16]("description")), i ? a ? a.p(s, h) : (a =
|
|
37065
|
+
s[16]("description")), i ? a ? a.p(s, h) : (a = xt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
37062
37066
|
},
|
|
37063
37067
|
d(s) {
|
|
37064
37068
|
s && y(t), o && o.d(), a && a.d();
|
|
37065
37069
|
}
|
|
37066
37070
|
};
|
|
37067
37071
|
}
|
|
37068
|
-
function
|
|
37072
|
+
function St(e) {
|
|
37069
37073
|
let t, r = (
|
|
37070
37074
|
/*$_*/
|
|
37071
37075
|
e[16]("title") + ""
|
|
@@ -37075,7 +37079,7 @@ function Tt(e) {
|
|
|
37075
37079
|
t = w$1("h2"), n = P(r), B$1(t, "class", "PlayerConsentsTitle");
|
|
37076
37080
|
},
|
|
37077
37081
|
m(i, o) {
|
|
37078
|
-
|
|
37082
|
+
k(i, t, o), G(t, n);
|
|
37079
37083
|
},
|
|
37080
37084
|
p(i, o) {
|
|
37081
37085
|
o[0] & /*$_*/
|
|
@@ -37087,7 +37091,7 @@ function Tt(e) {
|
|
|
37087
37091
|
}
|
|
37088
37092
|
};
|
|
37089
37093
|
}
|
|
37090
|
-
function
|
|
37094
|
+
function xt(e) {
|
|
37091
37095
|
let t, r = (
|
|
37092
37096
|
/*$_*/
|
|
37093
37097
|
e[16]("description") + ""
|
|
@@ -37097,7 +37101,7 @@ function wt(e) {
|
|
|
37097
37101
|
t = w$1("p"), n = P(r), B$1(t, "class", "PlayerConsentsDescription");
|
|
37098
37102
|
},
|
|
37099
37103
|
m(i, o) {
|
|
37100
|
-
|
|
37104
|
+
k(i, t, o), G(t, n);
|
|
37101
37105
|
},
|
|
37102
37106
|
p(i, o) {
|
|
37103
37107
|
o[0] & /*$_*/
|
|
@@ -37109,21 +37113,21 @@ function wt(e) {
|
|
|
37109
37113
|
}
|
|
37110
37114
|
};
|
|
37111
37115
|
}
|
|
37112
|
-
function
|
|
37116
|
+
function Tt(e) {
|
|
37113
37117
|
let t;
|
|
37114
37118
|
return {
|
|
37115
37119
|
c() {
|
|
37116
37120
|
t = w$1("sup"), t.textContent = "*", B$1(t, "class", "ConsentRequired svelte-ltb9q9");
|
|
37117
37121
|
},
|
|
37118
37122
|
m(r, n) {
|
|
37119
|
-
|
|
37123
|
+
k(r, t, n);
|
|
37120
37124
|
},
|
|
37121
37125
|
d(r) {
|
|
37122
37126
|
r && y(t);
|
|
37123
37127
|
}
|
|
37124
37128
|
};
|
|
37125
37129
|
}
|
|
37126
|
-
function
|
|
37130
|
+
function Mt(e) {
|
|
37127
37131
|
let t, r = (
|
|
37128
37132
|
/*$_*/
|
|
37129
37133
|
(e[16](`${/*consent*/
|
|
@@ -37135,7 +37139,7 @@ function At(e) {
|
|
|
37135
37139
|
t = w$1("p"), B$1(t, "class", "ConsentDescription svelte-ltb9q9");
|
|
37136
37140
|
},
|
|
37137
37141
|
m(n, i) {
|
|
37138
|
-
|
|
37142
|
+
k(n, t, i), t.innerHTML = r;
|
|
37139
37143
|
},
|
|
37140
37144
|
p(n, i) {
|
|
37141
37145
|
i[0] & /*$_, playerConsents, consentsCategories*/
|
|
@@ -37149,20 +37153,20 @@ function At(e) {
|
|
|
37149
37153
|
}
|
|
37150
37154
|
};
|
|
37151
37155
|
}
|
|
37152
|
-
function
|
|
37156
|
+
function wt(e) {
|
|
37153
37157
|
let t, r, n, i, o = (
|
|
37154
37158
|
/*$_*/
|
|
37155
37159
|
(e[16](`${/*consent*/
|
|
37156
37160
|
e[64].tagCode}__name`) || /*consent*/
|
|
37157
37161
|
e[64].friendlyName) + ""
|
|
37158
|
-
), a, s, h, u, l, d, m,
|
|
37162
|
+
), a, s, h, u, l, d, m, v, f, g, C, _ = (
|
|
37159
37163
|
/*consent*/
|
|
37160
|
-
e[64].mustAccept === !0 &&
|
|
37161
|
-
),
|
|
37164
|
+
e[64].mustAccept === !0 && Tt()
|
|
37165
|
+
), b = (
|
|
37162
37166
|
/*displayconsentdescription*/
|
|
37163
|
-
e[4] === "true" &&
|
|
37167
|
+
e[4] === "true" && Mt(e)
|
|
37164
37168
|
);
|
|
37165
|
-
function
|
|
37169
|
+
function x(...P) {
|
|
37166
37170
|
return (
|
|
37167
37171
|
/*input_handler*/
|
|
37168
37172
|
e[29](
|
|
@@ -37174,7 +37178,7 @@ function Ht(e) {
|
|
|
37174
37178
|
}
|
|
37175
37179
|
return {
|
|
37176
37180
|
c() {
|
|
37177
|
-
t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt(!1), a = pt$1(), _ && _.c(), s = pt$1(),
|
|
37181
|
+
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*/
|
|
37178
37182
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
37179
37183
|
e[12][
|
|
37180
37184
|
/*consent*/
|
|
@@ -37185,23 +37189,23 @@ function Ht(e) {
|
|
|
37185
37189
|
e[64].tagCode
|
|
37186
37190
|
], 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");
|
|
37187
37191
|
},
|
|
37188
|
-
m(P,
|
|
37189
|
-
|
|
37192
|
+
m(P, E) {
|
|
37193
|
+
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);
|
|
37190
37194
|
},
|
|
37191
|
-
p(P,
|
|
37192
|
-
e = P,
|
|
37195
|
+
p(P, E) {
|
|
37196
|
+
e = P, E[0] & /*$_, playerConsents, consentsCategories*/
|
|
37193
37197
|
66304 && o !== (o = /*$_*/
|
|
37194
37198
|
(e[16](`${/*consent*/
|
|
37195
37199
|
e[64].tagCode}__name`) || /*consent*/
|
|
37196
37200
|
e[64].friendlyName) + "") && i.p(o), /*consent*/
|
|
37197
|
-
e[64].mustAccept === !0 ? _ || (_ =
|
|
37198
|
-
e[4] === "true" ?
|
|
37201
|
+
e[64].mustAccept === !0 ? _ || (_ = Tt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
37202
|
+
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*/
|
|
37199
37203
|
4864 && d !== (d = /*consent*/
|
|
37200
37204
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
37201
37205
|
e[12][
|
|
37202
37206
|
/*consent*/
|
|
37203
37207
|
e[64].tagCode
|
|
37204
|
-
] === !0) && (l.disabled = d),
|
|
37208
|
+
] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
37205
37209
|
8960 && m !== (m = /*consentsState*/
|
|
37206
37210
|
e[13][
|
|
37207
37211
|
/*consent*/
|
|
@@ -37209,17 +37213,17 @@ function Ht(e) {
|
|
|
37209
37213
|
]) && (l.checked = m);
|
|
37210
37214
|
},
|
|
37211
37215
|
d(P) {
|
|
37212
|
-
P && y(t), _ && _.d(),
|
|
37216
|
+
P && y(t), _ && _.d(), b && b.d(), g = !1, C();
|
|
37213
37217
|
}
|
|
37214
37218
|
};
|
|
37215
37219
|
}
|
|
37216
|
-
function
|
|
37220
|
+
function Nt(e) {
|
|
37217
37221
|
let t, r, n, i = (
|
|
37218
37222
|
/*$_*/
|
|
37219
37223
|
(e[16](`${/*category*/
|
|
37220
37224
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
37221
37225
|
e[61].friendlyName) + ""
|
|
37222
|
-
), o, a, s, h, u, l, d, m,
|
|
37226
|
+
), o, a, s, h, u, l, d, m, v;
|
|
37223
37227
|
function f() {
|
|
37224
37228
|
e[26].call(
|
|
37225
37229
|
s,
|
|
@@ -37236,44 +37240,44 @@ function Pt(e) {
|
|
|
37236
37240
|
)
|
|
37237
37241
|
);
|
|
37238
37242
|
}
|
|
37239
|
-
function
|
|
37243
|
+
function C(...x) {
|
|
37240
37244
|
return (
|
|
37241
37245
|
/*func*/
|
|
37242
37246
|
e[28](
|
|
37243
37247
|
/*category*/
|
|
37244
37248
|
e[61],
|
|
37245
|
-
...
|
|
37249
|
+
...x
|
|
37246
37250
|
)
|
|
37247
37251
|
);
|
|
37248
37252
|
}
|
|
37249
|
-
let _ =
|
|
37253
|
+
let _ = vt$1(
|
|
37250
37254
|
/*playerConsents*/
|
|
37251
|
-
e[9].filter(
|
|
37252
|
-
),
|
|
37253
|
-
for (let
|
|
37254
|
-
|
|
37255
|
+
e[9].filter(C)
|
|
37256
|
+
), b = [];
|
|
37257
|
+
for (let x = 0; x < _.length; x += 1)
|
|
37258
|
+
b[x] = wt(Et(e, _, x));
|
|
37255
37259
|
return {
|
|
37256
37260
|
c() {
|
|
37257
37261
|
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");
|
|
37258
|
-
for (let
|
|
37259
|
-
|
|
37262
|
+
for (let x = 0; x < b.length; x += 1)
|
|
37263
|
+
b[x].c();
|
|
37260
37264
|
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");
|
|
37261
37265
|
},
|
|
37262
|
-
m(
|
|
37263
|
-
|
|
37266
|
+
m(x, P) {
|
|
37267
|
+
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*/
|
|
37264
37268
|
e[11][
|
|
37265
37269
|
/*category*/
|
|
37266
37270
|
e[61].categoryTagCode
|
|
37267
37271
|
], G(a, h), G(a, u), G(t, l), G(t, d);
|
|
37268
|
-
for (let
|
|
37269
|
-
|
|
37270
|
-
m || (
|
|
37272
|
+
for (let E = 0; E < b.length; E += 1)
|
|
37273
|
+
b[E] && b[E].m(d, null);
|
|
37274
|
+
m || (v = [
|
|
37271
37275
|
wt$1(s, "change", f),
|
|
37272
37276
|
wt$1(s, "change", g)
|
|
37273
37277
|
], m = !0);
|
|
37274
37278
|
},
|
|
37275
|
-
p(
|
|
37276
|
-
if (e =
|
|
37279
|
+
p(x, P) {
|
|
37280
|
+
if (e = x, P[0] & /*$_, consentsCategories*/
|
|
37277
37281
|
65792 && i !== (i = /*$_*/
|
|
37278
37282
|
(e[16](`${/*category*/
|
|
37279
37283
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
@@ -37284,26 +37288,26 @@ function Pt(e) {
|
|
|
37284
37288
|
e[61].categoryTagCode
|
|
37285
37289
|
]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
|
|
37286
37290
|
602896) {
|
|
37287
|
-
_ =
|
|
37291
|
+
_ = vt$1(
|
|
37288
37292
|
/*playerConsents*/
|
|
37289
|
-
e[9].filter(
|
|
37293
|
+
e[9].filter(C)
|
|
37290
37294
|
);
|
|
37291
|
-
let
|
|
37292
|
-
for (
|
|
37293
|
-
const z =
|
|
37294
|
-
|
|
37295
|
+
let E;
|
|
37296
|
+
for (E = 0; E < _.length; E += 1) {
|
|
37297
|
+
const z = Et(e, _, E);
|
|
37298
|
+
b[E] ? b[E].p(z, P) : (b[E] = wt(z), b[E].c(), b[E].m(d, null));
|
|
37295
37299
|
}
|
|
37296
|
-
for (;
|
|
37297
|
-
|
|
37298
|
-
|
|
37300
|
+
for (; E < b.length; E += 1)
|
|
37301
|
+
b[E].d(1);
|
|
37302
|
+
b.length = _.length;
|
|
37299
37303
|
}
|
|
37300
37304
|
},
|
|
37301
|
-
d(
|
|
37302
|
-
|
|
37305
|
+
d(x) {
|
|
37306
|
+
x && y(t), bt$1(b, x), m = !1, p(v);
|
|
37303
37307
|
}
|
|
37304
37308
|
};
|
|
37305
37309
|
}
|
|
37306
|
-
function
|
|
37310
|
+
function At(e) {
|
|
37307
37311
|
let t, r, n, i, o;
|
|
37308
37312
|
return {
|
|
37309
37313
|
c() {
|
|
@@ -37313,7 +37317,7 @@ function Bt(e) {
|
|
|
37313
37317
|
), xt$1(r, "class", "svelte-ltb9q9"), B$1(i, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ConsentErrorContainer svelte-ltb9q9");
|
|
37314
37318
|
},
|
|
37315
37319
|
m(a, s) {
|
|
37316
|
-
|
|
37320
|
+
k(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
|
|
37317
37321
|
},
|
|
37318
37322
|
p(a, s) {
|
|
37319
37323
|
s[0] & /*errorMessage*/
|
|
@@ -37328,27 +37332,27 @@ function Bt(e) {
|
|
|
37328
37332
|
}
|
|
37329
37333
|
};
|
|
37330
37334
|
}
|
|
37331
|
-
function
|
|
37335
|
+
function Oi(e) {
|
|
37332
37336
|
let t, r;
|
|
37333
37337
|
function n(a, s) {
|
|
37334
37338
|
if (
|
|
37335
37339
|
/*isLoading*/
|
|
37336
37340
|
a[10]
|
|
37337
37341
|
)
|
|
37338
|
-
return
|
|
37342
|
+
return zi;
|
|
37339
37343
|
if (
|
|
37340
37344
|
/*fatalError*/
|
|
37341
37345
|
a[7]
|
|
37342
37346
|
)
|
|
37343
|
-
return
|
|
37347
|
+
return Bi;
|
|
37344
37348
|
if (
|
|
37345
37349
|
/*session*/
|
|
37346
37350
|
a[0]
|
|
37347
37351
|
)
|
|
37348
|
-
return
|
|
37352
|
+
return Pi;
|
|
37349
37353
|
if (!/*session*/
|
|
37350
37354
|
a[0])
|
|
37351
|
-
return
|
|
37355
|
+
return Hi;
|
|
37352
37356
|
}
|
|
37353
37357
|
let i = n(e), o = i && i(e);
|
|
37354
37358
|
return {
|
|
@@ -37356,7 +37360,7 @@ function ji(e) {
|
|
|
37356
37360
|
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");
|
|
37357
37361
|
},
|
|
37358
37362
|
m(a, s) {
|
|
37359
|
-
|
|
37363
|
+
k(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
|
|
37360
37364
|
},
|
|
37361
37365
|
p(a, s) {
|
|
37362
37366
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
@@ -37368,190 +37372,190 @@ function ji(e) {
|
|
|
37368
37372
|
}
|
|
37369
37373
|
};
|
|
37370
37374
|
}
|
|
37371
|
-
function
|
|
37375
|
+
function Ii(e, t, r) {
|
|
37372
37376
|
let n;
|
|
37373
|
-
_t$1(e,
|
|
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:
|
|
37377
|
+
_t$1(e, Ti, (c) => r(16, n = c));
|
|
37378
|
+
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 = {
|
|
37375
37379
|
none: { key: "0", value: "None" },
|
|
37376
37380
|
accepted: { key: "1", value: "Accepted" },
|
|
37377
37381
|
expired: { key: "2", value: "Expired" },
|
|
37378
37382
|
denied: { key: "3", value: "Denied" },
|
|
37379
37383
|
suspended: { key: "4", value: "Suspended" }
|
|
37380
|
-
},
|
|
37381
|
-
Object.keys(
|
|
37382
|
-
|
|
37384
|
+
}, ye = !1;
|
|
37385
|
+
Object.keys(bt).forEach((c) => {
|
|
37386
|
+
_t(c, bt[c]);
|
|
37383
37387
|
});
|
|
37384
|
-
const
|
|
37385
|
-
|
|
37386
|
-
},
|
|
37388
|
+
const ar = () => {
|
|
37389
|
+
Mi(l);
|
|
37390
|
+
}, sr = () => {
|
|
37387
37391
|
let c = new URL(m);
|
|
37388
37392
|
fetch(c.href).then((p) => p.json()).then((p) => {
|
|
37389
|
-
Object.keys(p).forEach((
|
|
37390
|
-
|
|
37393
|
+
Object.keys(p).forEach((M) => {
|
|
37394
|
+
_t(M, p[M]);
|
|
37391
37395
|
});
|
|
37392
37396
|
}).catch((p) => {
|
|
37393
37397
|
console.log(p);
|
|
37394
37398
|
});
|
|
37395
|
-
},
|
|
37396
|
-
i && (
|
|
37397
|
-
},
|
|
37398
|
-
p ? r(7,
|
|
37399
|
-
},
|
|
37399
|
+
}, lr = () => {
|
|
37400
|
+
i && (_ = i, C = !0), o && (b = o);
|
|
37401
|
+
}, Ee = (c, p = !1) => {
|
|
37402
|
+
p ? r(7, P = c) : (gr(), r(6, x = c));
|
|
37403
|
+
}, le = async (c, p, M, y = !1) => {
|
|
37400
37404
|
try {
|
|
37401
|
-
const
|
|
37402
|
-
if (!
|
|
37405
|
+
const T = await fetch(c, M);
|
|
37406
|
+
if (!T.ok)
|
|
37403
37407
|
throw new Error(n(p));
|
|
37404
|
-
const I = await
|
|
37405
|
-
return
|
|
37406
|
-
} catch (
|
|
37407
|
-
throw
|
|
37408
|
-
|
|
37408
|
+
const I = await T.json();
|
|
37409
|
+
return C ? I : I.filter((F) => F.showOnRegister === !0);
|
|
37410
|
+
} catch (T) {
|
|
37411
|
+
throw Ee(
|
|
37412
|
+
T instanceof TypeError ? n(p) : T.message,
|
|
37409
37413
|
y
|
|
37410
|
-
),
|
|
37414
|
+
), T;
|
|
37411
37415
|
}
|
|
37412
|
-
},
|
|
37416
|
+
}, cr = async () => {
|
|
37413
37417
|
try {
|
|
37414
37418
|
let c = [], p = [];
|
|
37415
|
-
if (
|
|
37416
|
-
let y = O.find((
|
|
37419
|
+
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) => {
|
|
37420
|
+
let y = O.find((T) => T.tagCode === M.tagCode);
|
|
37417
37421
|
y || (y = {
|
|
37418
|
-
...
|
|
37422
|
+
...M,
|
|
37419
37423
|
status: R.denied.value
|
|
37420
|
-
}, O.push(y)), y.description =
|
|
37421
|
-
}),
|
|
37422
|
-
if (r(9, O = O.filter((
|
|
37424
|
+
}, O.push(y)), y.description = M.description, y.orderNumber = M.orderNumber;
|
|
37425
|
+
}), v === "true") {
|
|
37426
|
+
if (r(9, O = O.filter((M) => M.status === R.expired.value)), O.length !== 0)
|
|
37423
37427
|
return;
|
|
37424
|
-
|
|
37428
|
+
Ee(n("wrongModalConfig"), !0);
|
|
37425
37429
|
}
|
|
37426
|
-
|
|
37430
|
+
mr();
|
|
37427
37431
|
} catch (c) {
|
|
37428
|
-
throw r(10,
|
|
37432
|
+
throw r(10, ae = !1), Ee(
|
|
37429
37433
|
c instanceof TypeError ? n("invalidUrl") : c.message,
|
|
37430
37434
|
!0
|
|
37431
37435
|
), c;
|
|
37432
37436
|
}
|
|
37433
|
-
},
|
|
37437
|
+
}, $e = async () => {
|
|
37434
37438
|
const c = new URL(`${a}/api/v1/gm/consents`);
|
|
37435
|
-
if (c.searchParams.append("Status", "Active"), !
|
|
37436
|
-
return await
|
|
37437
|
-
const p = new URL(`${a}/api/v1/gm/user-consents/${
|
|
37439
|
+
if (c.searchParams.append("Status", "Active"), !C)
|
|
37440
|
+
return await le(c.href, "fetchConsentsError", { method: "GET" }, !0);
|
|
37441
|
+
const p = new URL(`${a}/api/v1/gm/user-consents/${b}`);
|
|
37438
37442
|
return await Promise.all([
|
|
37439
|
-
|
|
37440
|
-
|
|
37443
|
+
le(c.href, "fetchConsentsError", { method: "GET" }, !0),
|
|
37444
|
+
le(p.href, "fetchPlayerConsentsError", {
|
|
37441
37445
|
method: "GET",
|
|
37442
37446
|
headers: {
|
|
37443
|
-
"X-SessionId":
|
|
37447
|
+
"X-SessionId": _,
|
|
37444
37448
|
"Content-Type": "application/json"
|
|
37445
37449
|
}
|
|
37446
37450
|
})
|
|
37447
37451
|
]);
|
|
37448
|
-
},
|
|
37449
|
-
|
|
37452
|
+
}, ur = () => {
|
|
37453
|
+
ye = !1;
|
|
37450
37454
|
const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
|
|
37451
37455
|
"Content-Type": "application/json",
|
|
37452
37456
|
Accept: "application/json"
|
|
37453
|
-
},
|
|
37454
|
-
fetch(c.href,
|
|
37455
|
-
if (!
|
|
37456
|
-
if (
|
|
37457
|
+
}, M = { method: "GET", headers: p };
|
|
37458
|
+
fetch(c.href, M).then((y) => y.ok ? y.json() : (ye = !0, y.json().then((T) => (console.error(T), ke(T))))).then((y) => {
|
|
37459
|
+
if (!ye) {
|
|
37460
|
+
if (z = y, localStorage.getItem("playerConsents")) {
|
|
37457
37461
|
try {
|
|
37458
37462
|
r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
|
|
37459
|
-
} catch (
|
|
37460
|
-
return console.error(
|
|
37463
|
+
} catch (T) {
|
|
37464
|
+
return console.error(T), ke(T);
|
|
37461
37465
|
}
|
|
37462
37466
|
return;
|
|
37463
37467
|
}
|
|
37464
|
-
return r(9, O =
|
|
37465
|
-
id:
|
|
37468
|
+
return r(9, O = z.map((T) => ({
|
|
37469
|
+
id: T.id,
|
|
37466
37470
|
status: R.denied.key,
|
|
37467
|
-
friendlyName:
|
|
37468
|
-
tagCode:
|
|
37471
|
+
friendlyName: T.friendlyName,
|
|
37472
|
+
tagCode: T.tagCode,
|
|
37469
37473
|
selected: null,
|
|
37470
|
-
mustAccept:
|
|
37474
|
+
mustAccept: T.mustAccept
|
|
37471
37475
|
}))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
|
|
37472
37476
|
}
|
|
37473
|
-
}).catch((y) => (console.error(y),
|
|
37474
|
-
r(10,
|
|
37477
|
+
}).catch((y) => (console.error(y), ke(y))).finally(() => {
|
|
37478
|
+
r(10, ae = !1);
|
|
37475
37479
|
});
|
|
37476
|
-
},
|
|
37480
|
+
}, hr = (c) => {
|
|
37477
37481
|
const p = /* @__PURE__ */ new Map();
|
|
37478
|
-
return c.forEach((
|
|
37479
|
-
p.has(
|
|
37482
|
+
return c.forEach((M) => {
|
|
37483
|
+
p.has(M.category.categoryTagCode) || p.set(M.category.categoryTagCode, M.category);
|
|
37480
37484
|
}), Array.from(p.values());
|
|
37481
|
-
},
|
|
37482
|
-
const p = localStorage.getItem("categoryToggle" +
|
|
37485
|
+
}, dr = (c) => {
|
|
37486
|
+
const p = localStorage.getItem("categoryToggle" + b);
|
|
37483
37487
|
if (p === null) {
|
|
37484
|
-
const
|
|
37485
|
-
(y,
|
|
37488
|
+
const M = c.reduce(
|
|
37489
|
+
(y, T) => (y[T.categoryTagCode] = !1, y),
|
|
37486
37490
|
{}
|
|
37487
37491
|
);
|
|
37488
|
-
return localStorage.setItem("categoryToggle" +
|
|
37492
|
+
return localStorage.setItem("categoryToggle" + b, JSON.stringify(M)), M;
|
|
37489
37493
|
} else
|
|
37490
37494
|
return JSON.parse(p);
|
|
37491
|
-
},
|
|
37495
|
+
}, mr = () => {
|
|
37492
37496
|
O.forEach((c) => {
|
|
37493
|
-
r(12,
|
|
37494
|
-
}), r(13, U = { ...
|
|
37495
|
-
},
|
|
37496
|
-
r(13, U = { ...
|
|
37497
|
-
},
|
|
37498
|
-
if (!
|
|
37497
|
+
r(12, W$1[c.tagCode] = c.status === R.accepted.value, W$1);
|
|
37498
|
+
}), r(13, U = { ...W$1 });
|
|
37499
|
+
}, gr = () => {
|
|
37500
|
+
r(13, U = { ...W$1 }), r(11, G = { ...be });
|
|
37501
|
+
}, pr = async () => {
|
|
37502
|
+
if (!_e)
|
|
37499
37503
|
return;
|
|
37500
|
-
|
|
37504
|
+
_e = !1;
|
|
37501
37505
|
const c = [], p = [];
|
|
37502
37506
|
if (Object.keys(U).forEach((y) => {
|
|
37503
|
-
const
|
|
37504
|
-
U[y] !==
|
|
37507
|
+
const T = O.find((I) => I.tagCode === y);
|
|
37508
|
+
U[y] !== W$1[y] && (T ? c.push({
|
|
37505
37509
|
tagCode: y,
|
|
37506
37510
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
37507
37511
|
}) : p.push({
|
|
37508
37512
|
tagCode: y,
|
|
37509
37513
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
37510
37514
|
}));
|
|
37511
|
-
}), !
|
|
37512
|
-
localStorage.setItem("categoryToggle" +
|
|
37515
|
+
}), !C) {
|
|
37516
|
+
localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
|
|
37513
37517
|
{
|
|
37514
37518
|
type: "NewPlayerConsentData",
|
|
37515
37519
|
data: JSON.stringify(p)
|
|
37516
37520
|
},
|
|
37517
37521
|
window.location.href
|
|
37518
|
-
),
|
|
37522
|
+
), _e = !0;
|
|
37519
37523
|
return;
|
|
37520
37524
|
}
|
|
37521
|
-
const
|
|
37525
|
+
const M = new URL(`${a}/api/v1/gm/user-consents/${b}`);
|
|
37522
37526
|
try {
|
|
37523
37527
|
const y = await Promise.allSettled([
|
|
37524
|
-
p.length > 0 &&
|
|
37528
|
+
p.length > 0 && le(M.href, "updateConsentsError", {
|
|
37525
37529
|
method: "POST",
|
|
37526
37530
|
headers: {
|
|
37527
|
-
"X-SessionId":
|
|
37531
|
+
"X-SessionId": _,
|
|
37528
37532
|
"Content-Type": "application/json"
|
|
37529
37533
|
},
|
|
37530
37534
|
body: JSON.stringify({ userConsents: p })
|
|
37531
37535
|
}),
|
|
37532
|
-
c.length > 0 &&
|
|
37536
|
+
c.length > 0 && le(M.href, "updateConsentsError", {
|
|
37533
37537
|
method: "PATCH",
|
|
37534
37538
|
headers: {
|
|
37535
|
-
"X-SessionId":
|
|
37539
|
+
"X-SessionId": _,
|
|
37536
37540
|
"Content-Type": "application/json"
|
|
37537
37541
|
},
|
|
37538
37542
|
body: JSON.stringify({ userConsents: c })
|
|
37539
37543
|
})
|
|
37540
37544
|
]);
|
|
37541
|
-
y.forEach((
|
|
37542
|
-
if (
|
|
37545
|
+
y.forEach((T, I) => {
|
|
37546
|
+
if (T.status === "rejected" || T.value.ok === !1) {
|
|
37543
37547
|
const F = I < p.length ? p[I] : c[I - p.length];
|
|
37544
|
-
r(13, U[F.tagCode] =
|
|
37548
|
+
r(13, U[F.tagCode] = W$1[F.tagCode], U);
|
|
37545
37549
|
}
|
|
37546
|
-
}), y.every((
|
|
37550
|
+
}), y.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
|
|
37547
37551
|
{
|
|
37548
37552
|
type: "PlayerConsentUpdated",
|
|
37549
37553
|
success: !0
|
|
37550
37554
|
},
|
|
37551
37555
|
window.location.href
|
|
37552
|
-
), r(12,
|
|
37556
|
+
), r(12, W$1 = { ...U }));
|
|
37553
37557
|
} catch (y) {
|
|
37554
|
-
|
|
37558
|
+
Ee(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
|
|
37555
37559
|
{
|
|
37556
37560
|
type: "PlayerConsentUpdated",
|
|
37557
37561
|
success: !1
|
|
@@ -37559,58 +37563,58 @@ function Li(e, t, r) {
|
|
|
37559
37563
|
window.location.href
|
|
37560
37564
|
);
|
|
37561
37565
|
} finally {
|
|
37562
|
-
|
|
37566
|
+
_e = !0, r(14, se = !1);
|
|
37563
37567
|
}
|
|
37564
|
-
},
|
|
37565
|
-
const p = new URL(`${a}/api/v2/gm/legislation/consents`),
|
|
37568
|
+
}, fr = (c) => {
|
|
37569
|
+
const p = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
|
|
37566
37570
|
"Content-Type": "application/json",
|
|
37567
37571
|
Accept: "application/json"
|
|
37568
37572
|
}, y = {
|
|
37569
37573
|
playerConsents: O,
|
|
37570
37574
|
registrationId: c
|
|
37571
|
-
},
|
|
37575
|
+
}, T = {
|
|
37572
37576
|
method: "POST",
|
|
37573
37577
|
body: JSON.stringify(y),
|
|
37574
|
-
headers:
|
|
37578
|
+
headers: M
|
|
37575
37579
|
};
|
|
37576
|
-
fetch(p.href,
|
|
37577
|
-
I.ok || (
|
|
37578
|
-
}).catch((I) => (console.error(I),
|
|
37579
|
-
r(10,
|
|
37580
|
+
fetch(p.href, T).then((I) => {
|
|
37581
|
+
I.ok || (ye = !0);
|
|
37582
|
+
}).catch((I) => (console.error(I), ke(I))).finally(() => {
|
|
37583
|
+
r(10, ae = !1);
|
|
37580
37584
|
});
|
|
37581
|
-
},
|
|
37585
|
+
}, et = (c) => {
|
|
37582
37586
|
O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
|
|
37583
37587
|
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = G[c] || !1, U);
|
|
37584
|
-
}), r(14,
|
|
37585
|
-
},
|
|
37586
|
-
const y = O.find((F) => F.id ===
|
|
37588
|
+
}), r(14, se = tt());
|
|
37589
|
+
}, Be = (c, p, M) => {
|
|
37590
|
+
const y = O.find((F) => F.id === M), T = p ? "value" : "key";
|
|
37587
37591
|
let I;
|
|
37588
37592
|
if (!p && y.mustAccept) {
|
|
37589
|
-
const F = Array.from(
|
|
37590
|
-
for (const
|
|
37591
|
-
if (I = Array.from(
|
|
37593
|
+
const F = Array.from(ve.children);
|
|
37594
|
+
for (const ce of F)
|
|
37595
|
+
if (I = Array.from(ce.children).find((Mr) => Mr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
|
|
37592
37596
|
break;
|
|
37593
37597
|
}
|
|
37594
|
-
if (y.status === R.accepted[
|
|
37598
|
+
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) {
|
|
37595
37599
|
r(13, U[y.tagCode] = !U[y.tagCode], U);
|
|
37596
|
-
const F = O.filter((
|
|
37600
|
+
const F = O.filter((ce) => ce.category.categoryTagCode === p.categoryTagCode).every((ce) => ce.status !== R.denied.value);
|
|
37597
37601
|
r(11, G[p.categoryTagCode] = F, G);
|
|
37598
37602
|
}
|
|
37599
|
-
|
|
37600
|
-
},
|
|
37601
|
-
let
|
|
37603
|
+
_r();
|
|
37604
|
+
}, _r = ((c, p) => {
|
|
37605
|
+
let M;
|
|
37602
37606
|
return function(...y) {
|
|
37603
|
-
const
|
|
37604
|
-
clearTimeout(
|
|
37607
|
+
const T = this;
|
|
37608
|
+
clearTimeout(M), M = setTimeout(
|
|
37605
37609
|
() => {
|
|
37606
|
-
c.apply(
|
|
37610
|
+
c.apply(T, y);
|
|
37607
37611
|
},
|
|
37608
37612
|
p
|
|
37609
37613
|
);
|
|
37610
37614
|
};
|
|
37611
|
-
})(() =>
|
|
37612
|
-
r(14,
|
|
37613
|
-
},
|
|
37615
|
+
})(() => br(), 500), br = () => {
|
|
37616
|
+
r(14, se = tt()), i || (window.postMessage({ type: "isConsentsValid", isValid: se }), localStorage.setItem("playerConsents", JSON.stringify(O)));
|
|
37617
|
+
}, 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) => {
|
|
37614
37618
|
window.postMessage(
|
|
37615
37619
|
{
|
|
37616
37620
|
type: "WidgetNotification",
|
|
@@ -37618,46 +37622,46 @@ function Li(e, t, r) {
|
|
|
37618
37622
|
},
|
|
37619
37623
|
window.location.href
|
|
37620
37624
|
);
|
|
37621
|
-
},
|
|
37622
|
-
c.data && c.data.type !== "setUpPlayerConsents" ||
|
|
37625
|
+
}, vr = (c) => {
|
|
37626
|
+
c.data && c.data.type !== "setUpPlayerConsents" || fr(c.data.registerid);
|
|
37623
37627
|
};
|
|
37624
37628
|
W(() => {
|
|
37625
37629
|
setTimeout(
|
|
37626
37630
|
() => {
|
|
37627
|
-
r(25,
|
|
37631
|
+
r(25, g = !0);
|
|
37628
37632
|
},
|
|
37629
37633
|
50
|
|
37630
37634
|
);
|
|
37631
|
-
const c = (p) =>
|
|
37635
|
+
const c = (p) => vr(p);
|
|
37632
37636
|
return window.addEventListener("message", c), () => {
|
|
37633
|
-
window.
|
|
37637
|
+
window.removeEventListener("message", c);
|
|
37634
37638
|
};
|
|
37635
37639
|
});
|
|
37636
|
-
function
|
|
37640
|
+
function yr(c) {
|
|
37637
37641
|
G[c.categoryTagCode] = this.checked, r(11, G);
|
|
37638
37642
|
}
|
|
37639
|
-
const
|
|
37640
|
-
function
|
|
37643
|
+
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);
|
|
37644
|
+
function xr(c) {
|
|
37641
37645
|
E[c ? "unshift" : "push"](() => {
|
|
37642
|
-
|
|
37646
|
+
ve = c, r(15, ve);
|
|
37643
37647
|
});
|
|
37644
37648
|
}
|
|
37645
|
-
function
|
|
37649
|
+
function Tr(c) {
|
|
37646
37650
|
E[c ? "unshift" : "push"](() => {
|
|
37647
37651
|
f = c, r(5, f);
|
|
37648
37652
|
});
|
|
37649
37653
|
}
|
|
37650
37654
|
return e.$$set = (c) => {
|
|
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,
|
|
37655
|
+
"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);
|
|
37652
37656
|
}, e.$$.update = () => {
|
|
37653
37657
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
37654
|
-
33554433 &&
|
|
37655
|
-
1 && (i ||
|
|
37658
|
+
33554433 && g && i && (lr(), cr()), e.$$.dirty[0] & /*session*/
|
|
37659
|
+
1 && (i || ur()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
37656
37660
|
34 && s && f && ft$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
37657
37661
|
36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
37658
|
-
40 && f && at(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
37659
|
-
4194304 && l &&
|
|
37660
|
-
8388608 && m &&
|
|
37662
|
+
40 && f && at$1(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
37663
|
+
4194304 && l && ar(), e.$$.dirty[0] & /*translationurl*/
|
|
37664
|
+
8388608 && m && sr();
|
|
37661
37665
|
}, [
|
|
37662
37666
|
i,
|
|
37663
37667
|
s,
|
|
@@ -37665,42 +37669,42 @@ function Li(e, t, r) {
|
|
|
37665
37669
|
u,
|
|
37666
37670
|
d,
|
|
37667
37671
|
f,
|
|
37672
|
+
x,
|
|
37668
37673
|
P,
|
|
37669
|
-
|
|
37670
|
-
z,
|
|
37674
|
+
E$1,
|
|
37671
37675
|
O,
|
|
37672
|
-
|
|
37676
|
+
ae,
|
|
37673
37677
|
G,
|
|
37674
|
-
|
|
37678
|
+
W$1,
|
|
37675
37679
|
U,
|
|
37676
|
-
|
|
37677
|
-
|
|
37680
|
+
se,
|
|
37681
|
+
ve,
|
|
37678
37682
|
n,
|
|
37679
|
-
|
|
37680
|
-
|
|
37681
|
-
|
|
37683
|
+
pr,
|
|
37684
|
+
et,
|
|
37685
|
+
Be,
|
|
37682
37686
|
o,
|
|
37683
37687
|
a,
|
|
37684
37688
|
l,
|
|
37685
37689
|
m,
|
|
37686
|
-
|
|
37687
|
-
|
|
37690
|
+
v,
|
|
37691
|
+
g,
|
|
37692
|
+
yr,
|
|
37693
|
+
Er,
|
|
37694
|
+
kr,
|
|
37688
37695
|
Cr,
|
|
37689
37696
|
Sr,
|
|
37690
37697
|
xr,
|
|
37691
|
-
|
|
37692
|
-
Tr,
|
|
37693
|
-
wr,
|
|
37694
|
-
Nr
|
|
37698
|
+
Tr
|
|
37695
37699
|
];
|
|
37696
37700
|
}
|
|
37697
|
-
class
|
|
37701
|
+
class ji extends lt$1 {
|
|
37698
37702
|
constructor(t) {
|
|
37699
37703
|
super(), ct$1(
|
|
37700
37704
|
this,
|
|
37701
37705
|
t,
|
|
37702
|
-
|
|
37703
|
-
|
|
37706
|
+
Ii,
|
|
37707
|
+
Oi,
|
|
37704
37708
|
z,
|
|
37705
37709
|
{
|
|
37706
37710
|
session: 0,
|
|
@@ -37714,7 +37718,7 @@ class Ri extends lt$1 {
|
|
|
37714
37718
|
translationurl: 23,
|
|
37715
37719
|
modalconsents: 24
|
|
37716
37720
|
},
|
|
37717
|
-
|
|
37721
|
+
Ai,
|
|
37718
37722
|
[-1, -1, -1]
|
|
37719
37723
|
);
|
|
37720
37724
|
}
|
|
@@ -37779,7 +37783,7 @@ class Ri extends lt$1 {
|
|
|
37779
37783
|
this.$$set({ modalconsents: t }), _();
|
|
37780
37784
|
}
|
|
37781
37785
|
}
|
|
37782
|
-
ot(
|
|
37786
|
+
ot$1(ji, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|
|
37783
37787
|
|
|
37784
37788
|
function r(t) {
|
|
37785
37789
|
return function(...n) {
|
|
@@ -37793,7 +37797,7 @@ function r(t) {
|
|
|
37793
37797
|
};
|
|
37794
37798
|
}
|
|
37795
37799
|
customElements.define = r(customElements.define);
|
|
37796
|
-
!customElements.get("player-consents") && customElements.define("player-consents",
|
|
37800
|
+
!customElements.get("player-consents") && customElements.define("player-consents", ji.element);
|
|
37797
37801
|
|
|
37798
37802
|
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}";
|
|
37799
37803
|
const GeneralRegistrationStyle0 = generalRegistrationCss;
|
|
@@ -45455,8 +45459,10 @@ const TelInput = class {
|
|
|
45455
45459
|
if (this.action.split(" ")[0] == 'GET') {
|
|
45456
45460
|
const endpoint = this.action.split(" ")[1];
|
|
45457
45461
|
return this.getPhoneCodes(endpoint).then((options) => {
|
|
45458
|
-
this.phoneCodesOptions = options.phoneCodes.map(code => {
|
|
45459
|
-
return
|
|
45462
|
+
this.phoneCodesOptions = options.phoneCodes.map((code) => {
|
|
45463
|
+
return typeof code === "object" && code.Prefix
|
|
45464
|
+
? { label: code.Prefix, value: code.Prefix }
|
|
45465
|
+
: { label: code, value: code };
|
|
45460
45466
|
});
|
|
45461
45467
|
});
|
|
45462
45468
|
}
|
|
@@ -45530,8 +45536,8 @@ const TelInput = class {
|
|
|
45530
45536
|
if (this.touched) {
|
|
45531
45537
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
45532
45538
|
}
|
|
45533
|
-
return index.h("div", { key: '
|
|
45534
|
-
index.h("img", { key: '
|
|
45539
|
+
return index.h("div", { key: 'c301ee1d0c8c256a5f85275d0693c62c7098a537', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '4e3b00c3df0e3cd225fcaad8b53dd715a74da455', class: 'tel__wrapper--flex-label' }, index.h("label", { key: 'd7a0c5e439a49a42acf0ca8d65bd91abcea5ca87', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: '6ab717e5c3ca495fb5e840a7f7f071b9cb791b54', class: 'tel__wrapper--relative' }, this.tooltip &&
|
|
45540
|
+
index.h("img", { key: '54d9bc2283e91af42aca08340e55c404d57cc690', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("div", { key: '7ef8e2f8c5bdcfd228a1ca5debe0de39a066ded0', class: `tel__wrapper--flex ${invalidClass}` }, index.h("vaadin-combo-box", { key: 'b182d7bc2242f9d2f604360b372a29ebfbae8ca7', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), index.h("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 })), index.h("small", { key: '3b427400644daa103a48429d7cf1e139ac6fa73d', class: 'tel__error-message' }, this.errorMessage));
|
|
45535
45541
|
}
|
|
45536
45542
|
static get watchers() { return {
|
|
45537
45543
|
"clientStyling": ["handleStylingChange"],
|