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