@everymatrix/player-consents 1.59.2 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerConsents-DAjj2l81.cjs → PlayerConsents-Dl0Aiebh.cjs} +3 -3
- package/components/{PlayerConsents-Bvhxca3p.js → PlayerConsents-Dn3kBlLt.js} +551 -551
- package/components/{PlayerConsents-f416QJ42.js → PlayerConsents-be8DpBFC.js} +545 -545
- package/es2015/player-consents.cjs +1 -1
- package/es2015/player-consents.js +1 -1
- package/esnext/player-consents.js +1 -1
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as q, s as Ar, r as Bt, a as Qe, i as Hr, c as Ot, S as It, b as jt, d as ot, e as k, f as j, g as x, h as L, j as X, k as Pr, l as N, m as Br, o as Or, p as Ir, q as jr, t as at, u as Lr, v as Rr, w as $, x as Ye, y as G, z as Ur, A as de, B as pe, C as fe, D as Q, H as Lt } from "./GeneralAnimationLoading-BMZE178n.js";
|
|
2
2
|
const K = [];
|
|
3
3
|
function Dr(e, t) {
|
|
4
4
|
return {
|
|
5
|
-
subscribe:
|
|
5
|
+
subscribe: we(e, t).subscribe
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function we(e, t = q) {
|
|
9
9
|
let r;
|
|
10
10
|
const n = /* @__PURE__ */ new Set();
|
|
11
11
|
function i(s) {
|
|
@@ -23,9 +23,9 @@ function Ne(e, t = X) {
|
|
|
23
23
|
function o(s) {
|
|
24
24
|
i(s(e));
|
|
25
25
|
}
|
|
26
|
-
function a(s, h =
|
|
26
|
+
function a(s, h = q) {
|
|
27
27
|
const u = [s, h];
|
|
28
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
28
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || q), s(e), () => {
|
|
29
29
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
30
30
|
};
|
|
31
31
|
}
|
|
@@ -39,55 +39,55 @@ function ie(e, t, r) {
|
|
|
39
39
|
return Dr(r, (a, s) => {
|
|
40
40
|
let h = !1;
|
|
41
41
|
const u = [];
|
|
42
|
-
let l = 0, d =
|
|
43
|
-
const
|
|
42
|
+
let l = 0, d = q;
|
|
43
|
+
const g = () => {
|
|
44
44
|
if (l)
|
|
45
45
|
return;
|
|
46
46
|
d();
|
|
47
47
|
const f = t(n ? u[0] : u, a, s);
|
|
48
|
-
o ? a(f) : d =
|
|
48
|
+
o ? a(f) : d = Hr(f) ? f : q;
|
|
49
49
|
}, b = i.map(
|
|
50
|
-
(f,
|
|
50
|
+
(f, m) => Ar(
|
|
51
51
|
f,
|
|
52
52
|
(S) => {
|
|
53
|
-
u[
|
|
53
|
+
u[m] = S, l &= ~(1 << m), h && g();
|
|
54
54
|
},
|
|
55
55
|
() => {
|
|
56
|
-
l |= 1 <<
|
|
56
|
+
l |= 1 << m;
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
59
|
);
|
|
60
|
-
return h = !0,
|
|
61
|
-
|
|
60
|
+
return h = !0, g(), function() {
|
|
61
|
+
Bt(b), d(), h = !1;
|
|
62
62
|
};
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Gr(e) {
|
|
66
66
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
return
|
|
68
|
+
var Fr = function(t) {
|
|
69
|
+
return Vr(t) && !Xr(t);
|
|
70
70
|
};
|
|
71
|
-
function
|
|
71
|
+
function Vr(e) {
|
|
72
72
|
return !!e && typeof e == "object";
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Xr(e) {
|
|
75
75
|
var t = Object.prototype.toString.call(e);
|
|
76
76
|
return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var qr = typeof Symbol == "function" && Symbol.for, Wr = qr ? Symbol.for("react.element") : 60103;
|
|
79
79
|
function Zr(e) {
|
|
80
80
|
return e.$$typeof === Wr;
|
|
81
81
|
}
|
|
82
82
|
function Jr(e) {
|
|
83
83
|
return Array.isArray(e) ? [] : {};
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function ge(e, t) {
|
|
86
86
|
return t.clone !== !1 && t.isMergeableObject(e) ? ee(Jr(e), e, t) : e;
|
|
87
87
|
}
|
|
88
88
|
function Qr(e, t, r) {
|
|
89
89
|
return e.concat(t).map(function(n) {
|
|
90
|
-
return
|
|
90
|
+
return ge(n, r);
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
function Yr(e, t) {
|
|
@@ -117,15 +117,15 @@ function $r(e, t) {
|
|
|
117
117
|
function en(e, t, r) {
|
|
118
118
|
var n = {};
|
|
119
119
|
return r.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
120
|
-
n[i] =
|
|
120
|
+
n[i] = ge(e[i], r);
|
|
121
121
|
}), st(t).forEach(function(i) {
|
|
122
|
-
$r(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] =
|
|
122
|
+
$r(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
|
|
123
123
|
}), n;
|
|
124
124
|
}
|
|
125
125
|
function ee(e, t, r) {
|
|
126
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject ||
|
|
126
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = ge;
|
|
127
127
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
128
|
-
return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) :
|
|
128
|
+
return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ge(t, r);
|
|
129
129
|
}
|
|
130
130
|
ee.all = function(t, r) {
|
|
131
131
|
if (!Array.isArray(t))
|
|
@@ -135,7 +135,7 @@ ee.all = function(t, r) {
|
|
|
135
135
|
}, {});
|
|
136
136
|
};
|
|
137
137
|
var tn = ee, rn = tn;
|
|
138
|
-
const nn = /* @__PURE__ */
|
|
138
|
+
const nn = /* @__PURE__ */ Gr(rn);
|
|
139
139
|
/*! *****************************************************************************
|
|
140
140
|
Copyright (c) Microsoft Corporation.
|
|
141
141
|
|
|
@@ -158,7 +158,7 @@ var De = function(e, t) {
|
|
|
158
158
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
159
159
|
}, De(e, t);
|
|
160
160
|
};
|
|
161
|
-
function
|
|
161
|
+
function Ne(e, t) {
|
|
162
162
|
if (typeof t != "function" && t !== null)
|
|
163
163
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
164
164
|
De(e, t);
|
|
@@ -167,15 +167,15 @@ function Ae(e, t) {
|
|
|
167
167
|
}
|
|
168
168
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
169
169
|
}
|
|
170
|
-
var
|
|
171
|
-
return
|
|
170
|
+
var A = function() {
|
|
171
|
+
return A = Object.assign || function(t) {
|
|
172
172
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
173
173
|
r = arguments[n];
|
|
174
174
|
for (var o in r)
|
|
175
175
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
176
176
|
}
|
|
177
177
|
return t;
|
|
178
|
-
},
|
|
178
|
+
}, A.apply(this, arguments);
|
|
179
179
|
};
|
|
180
180
|
function on(e, t) {
|
|
181
181
|
var r = {};
|
|
@@ -242,55 +242,55 @@ var hn = {
|
|
|
242
242
|
}, je = {
|
|
243
243
|
variadic: ln,
|
|
244
244
|
monadic: cn
|
|
245
|
-
},
|
|
245
|
+
}, T;
|
|
246
246
|
(function(e) {
|
|
247
247
|
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";
|
|
248
|
-
})(
|
|
249
|
-
var
|
|
248
|
+
})(T || (T = {}));
|
|
249
|
+
var P;
|
|
250
250
|
(function(e) {
|
|
251
251
|
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";
|
|
252
|
-
})(
|
|
252
|
+
})(P || (P = {}));
|
|
253
253
|
var te;
|
|
254
254
|
(function(e) {
|
|
255
255
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
256
256
|
})(te || (te = {}));
|
|
257
257
|
function lt(e) {
|
|
258
|
-
return e.type ===
|
|
258
|
+
return e.type === P.literal;
|
|
259
259
|
}
|
|
260
260
|
function dn(e) {
|
|
261
|
-
return e.type ===
|
|
262
|
-
}
|
|
263
|
-
function qt(e) {
|
|
264
|
-
return e.type === B.number;
|
|
261
|
+
return e.type === P.argument;
|
|
265
262
|
}
|
|
266
263
|
function Gt(e) {
|
|
267
|
-
return e.type ===
|
|
264
|
+
return e.type === P.number;
|
|
268
265
|
}
|
|
269
266
|
function Ft(e) {
|
|
270
|
-
return e.type ===
|
|
267
|
+
return e.type === P.date;
|
|
271
268
|
}
|
|
272
269
|
function Vt(e) {
|
|
273
|
-
return e.type ===
|
|
270
|
+
return e.type === P.time;
|
|
274
271
|
}
|
|
275
272
|
function Xt(e) {
|
|
276
|
-
return e.type ===
|
|
273
|
+
return e.type === P.select;
|
|
274
|
+
}
|
|
275
|
+
function qt(e) {
|
|
276
|
+
return e.type === P.plural;
|
|
277
277
|
}
|
|
278
|
-
function
|
|
279
|
-
return e.type ===
|
|
278
|
+
function gn(e) {
|
|
279
|
+
return e.type === P.pound;
|
|
280
280
|
}
|
|
281
281
|
function Wt(e) {
|
|
282
|
-
return e.type ===
|
|
282
|
+
return e.type === P.tag;
|
|
283
283
|
}
|
|
284
284
|
function Zt(e) {
|
|
285
285
|
return !!(e && typeof e == "object" && e.type === te.number);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Ge(e) {
|
|
288
288
|
return !!(e && typeof e == "object" && e.type === te.dateTime);
|
|
289
289
|
}
|
|
290
|
-
var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
290
|
+
var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
|
|
291
291
|
function pn(e) {
|
|
292
292
|
var t = {};
|
|
293
|
-
return e.replace(
|
|
293
|
+
return e.replace(mn, function(r) {
|
|
294
294
|
var n = r.length;
|
|
295
295
|
switch (r[0]) {
|
|
296
296
|
case "G":
|
|
@@ -383,8 +383,8 @@ var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
383
383
|
function _n(e) {
|
|
384
384
|
if (e.length === 0)
|
|
385
385
|
throw new Error("Number skeleton cannot be empty");
|
|
386
|
-
for (var t = e.split(fn).filter(function(
|
|
387
|
-
return
|
|
386
|
+
for (var t = e.split(fn).filter(function(g) {
|
|
387
|
+
return g.length > 0;
|
|
388
388
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
389
389
|
var o = i[n], a = o.split("/");
|
|
390
390
|
if (a.length === 0)
|
|
@@ -401,7 +401,7 @@ function _n(e) {
|
|
|
401
401
|
function bn(e) {
|
|
402
402
|
return e.replace(/^(.*?)-/, "");
|
|
403
403
|
}
|
|
404
|
-
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
404
|
+
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
405
405
|
function ut(e) {
|
|
406
406
|
var t = {};
|
|
407
407
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
|
|
@@ -448,7 +448,7 @@ function Kt(e) {
|
|
|
448
448
|
};
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function vn(e) {
|
|
452
452
|
var t;
|
|
453
453
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
454
454
|
notation: "engineering"
|
|
@@ -466,7 +466,7 @@ function ht(e) {
|
|
|
466
466
|
var t = {}, r = Kt(e);
|
|
467
467
|
return r || t;
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function kn(e) {
|
|
470
470
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
471
471
|
var i = n[r];
|
|
472
472
|
switch (i.stem) {
|
|
@@ -501,13 +501,13 @@ function En(e) {
|
|
|
501
501
|
t.notation = "compact", t.compactDisplay = "long";
|
|
502
502
|
continue;
|
|
503
503
|
case "scientific":
|
|
504
|
-
t =
|
|
505
|
-
return
|
|
504
|
+
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
505
|
+
return A(A({}, h), ht(u));
|
|
506
506
|
}, {}));
|
|
507
507
|
continue;
|
|
508
508
|
case "engineering":
|
|
509
|
-
t =
|
|
510
|
-
return
|
|
509
|
+
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
510
|
+
return A(A({}, h), ht(u));
|
|
511
511
|
}, {}));
|
|
512
512
|
continue;
|
|
513
513
|
case "notation-simple":
|
|
@@ -552,11 +552,11 @@ function En(e) {
|
|
|
552
552
|
case "integer-width":
|
|
553
553
|
if (i.options.length > 1)
|
|
554
554
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
555
|
-
i.options[0].replace(
|
|
555
|
+
i.options[0].replace(yn, function(h, u, l, d, g, b) {
|
|
556
556
|
if (u)
|
|
557
557
|
t.minimumIntegerDigits = l.length;
|
|
558
558
|
else {
|
|
559
|
-
if (d &&
|
|
559
|
+
if (d && g)
|
|
560
560
|
throw new Error("We currently do not support maximum integer digits");
|
|
561
561
|
if (b)
|
|
562
562
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -572,21 +572,21 @@ function En(e) {
|
|
|
572
572
|
if (ct.test(i.stem)) {
|
|
573
573
|
if (i.options.length > 1)
|
|
574
574
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
575
|
-
i.stem.replace(ct, function(h, u, l, d,
|
|
576
|
-
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length :
|
|
575
|
+
i.stem.replace(ct, function(h, u, l, d, g, b) {
|
|
576
|
+
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : g && b ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
577
577
|
});
|
|
578
578
|
var o = i.options[0];
|
|
579
|
-
o === "w" ? t =
|
|
579
|
+
o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), ut(o)));
|
|
580
580
|
continue;
|
|
581
581
|
}
|
|
582
582
|
if (Qt.test(i.stem)) {
|
|
583
|
-
t =
|
|
583
|
+
t = A(A({}, t), ut(i.stem));
|
|
584
584
|
continue;
|
|
585
585
|
}
|
|
586
586
|
var a = Kt(i.stem);
|
|
587
|
-
a && (t =
|
|
588
|
-
var s =
|
|
589
|
-
s && (t =
|
|
587
|
+
a && (t = A(A({}, t), a));
|
|
588
|
+
var s = vn(i.stem);
|
|
589
|
+
s && (t = A(A({}, t), s));
|
|
590
590
|
}
|
|
591
591
|
return t;
|
|
592
592
|
}
|
|
@@ -2005,7 +2005,7 @@ var Se = {
|
|
|
2005
2005
|
"h"
|
|
2006
2006
|
]
|
|
2007
2007
|
};
|
|
2008
|
-
function
|
|
2008
|
+
function En(e, t) {
|
|
2009
2009
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2010
2010
|
var i = e.charAt(n);
|
|
2011
2011
|
if (i === "j") {
|
|
@@ -2044,19 +2044,19 @@ function Cn(e) {
|
|
|
2044
2044
|
return i[0];
|
|
2045
2045
|
}
|
|
2046
2046
|
var Le, Sn = new RegExp("^".concat(Jt.source, "*")), xn = new RegExp("".concat(Jt.source, "*$"));
|
|
2047
|
-
function
|
|
2047
|
+
function w(e, t) {
|
|
2048
2048
|
return { start: e, end: t };
|
|
2049
2049
|
}
|
|
2050
|
-
var
|
|
2050
|
+
var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Tn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, An = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Pn = Hn ? Number.isSafeInteger : function(e) {
|
|
2051
2051
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2052
|
-
},
|
|
2052
|
+
}, Fe = !0;
|
|
2053
2053
|
try {
|
|
2054
|
-
var
|
|
2055
|
-
|
|
2054
|
+
var Bn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2055
|
+
Fe = ((Le = Bn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
|
|
2056
2056
|
} catch {
|
|
2057
|
-
|
|
2057
|
+
Fe = !1;
|
|
2058
2058
|
}
|
|
2059
|
-
var dt =
|
|
2059
|
+
var dt = zn ? (
|
|
2060
2060
|
// Native
|
|
2061
2061
|
function(t, r, n) {
|
|
2062
2062
|
return t.startsWith(r, n);
|
|
@@ -2066,7 +2066,7 @@ var dt = Mn ? (
|
|
|
2066
2066
|
function(t, r, n) {
|
|
2067
2067
|
return t.slice(n, n + r.length) === r;
|
|
2068
2068
|
}
|
|
2069
|
-
),
|
|
2069
|
+
), Ve = Mn ? String.fromCodePoint : (
|
|
2070
2070
|
// IE11
|
|
2071
2071
|
function() {
|
|
2072
2072
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2078,9 +2078,9 @@ var dt = Mn ? (
|
|
|
2078
2078
|
}
|
|
2079
2079
|
return n;
|
|
2080
2080
|
}
|
|
2081
|
-
),
|
|
2081
|
+
), gt = (
|
|
2082
2082
|
// native
|
|
2083
|
-
|
|
2083
|
+
Tn ? Object.fromEntries : (
|
|
2084
2084
|
// Ponyfill
|
|
2085
2085
|
function(t) {
|
|
2086
2086
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2090,7 +2090,7 @@ var dt = Mn ? (
|
|
|
2090
2090
|
return r;
|
|
2091
2091
|
}
|
|
2092
2092
|
)
|
|
2093
|
-
), $t =
|
|
2093
|
+
), $t = wn ? (
|
|
2094
2094
|
// Native
|
|
2095
2095
|
function(t, r) {
|
|
2096
2096
|
return t.codePointAt(r);
|
|
@@ -2104,7 +2104,7 @@ var dt = Mn ? (
|
|
|
2104
2104
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2105
2105
|
}
|
|
2106
2106
|
}
|
|
2107
|
-
), On =
|
|
2107
|
+
), On = Nn ? (
|
|
2108
2108
|
// Native
|
|
2109
2109
|
function(t) {
|
|
2110
2110
|
return t.trimStart();
|
|
@@ -2114,7 +2114,7 @@ var dt = Mn ? (
|
|
|
2114
2114
|
function(t) {
|
|
2115
2115
|
return t.replace(Sn, "");
|
|
2116
2116
|
}
|
|
2117
|
-
), In =
|
|
2117
|
+
), In = An ? (
|
|
2118
2118
|
// Native
|
|
2119
2119
|
function(t) {
|
|
2120
2120
|
return t.trimEnd();
|
|
@@ -2128,24 +2128,24 @@ var dt = Mn ? (
|
|
|
2128
2128
|
function er(e, t) {
|
|
2129
2129
|
return new RegExp(e, t);
|
|
2130
2130
|
}
|
|
2131
|
-
var
|
|
2132
|
-
if (
|
|
2133
|
-
var
|
|
2134
|
-
|
|
2131
|
+
var Xe;
|
|
2132
|
+
if (Fe) {
|
|
2133
|
+
var mt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2134
|
+
Xe = function(t, r) {
|
|
2135
2135
|
var n;
|
|
2136
|
-
|
|
2137
|
-
var i =
|
|
2136
|
+
mt.lastIndex = r;
|
|
2137
|
+
var i = mt.exec(t);
|
|
2138
2138
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2139
2139
|
};
|
|
2140
2140
|
} else
|
|
2141
|
-
|
|
2141
|
+
Xe = function(t, r) {
|
|
2142
2142
|
for (var n = []; ; ) {
|
|
2143
2143
|
var i = $t(t, r);
|
|
2144
2144
|
if (i === void 0 || tr(i) || Un(i))
|
|
2145
2145
|
break;
|
|
2146
2146
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2147
2147
|
}
|
|
2148
|
-
return
|
|
2148
|
+
return Ve.apply(void 0, n);
|
|
2149
2149
|
};
|
|
2150
2150
|
var jn = (
|
|
2151
2151
|
/** @class */
|
|
@@ -2171,14 +2171,14 @@ var jn = (
|
|
|
2171
2171
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2172
2172
|
var s = this.clonePosition();
|
|
2173
2173
|
this.bump(), i.push({
|
|
2174
|
-
type:
|
|
2175
|
-
location:
|
|
2174
|
+
type: P.pound,
|
|
2175
|
+
location: w(s, this.clonePosition())
|
|
2176
2176
|
});
|
|
2177
2177
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2178
2178
|
if (n)
|
|
2179
2179
|
break;
|
|
2180
|
-
return this.error(
|
|
2181
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2180
|
+
return this.error(T.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
2181
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
2182
2182
|
var a = this.parseTag(t, r);
|
|
2183
2183
|
if (a.err)
|
|
2184
2184
|
return a;
|
|
@@ -2199,9 +2199,9 @@ var jn = (
|
|
|
2199
2199
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2200
2200
|
return {
|
|
2201
2201
|
val: {
|
|
2202
|
-
type:
|
|
2202
|
+
type: P.literal,
|
|
2203
2203
|
value: "<".concat(i, "/>"),
|
|
2204
|
-
location:
|
|
2204
|
+
location: w(n, this.clonePosition())
|
|
2205
2205
|
},
|
|
2206
2206
|
err: null
|
|
2207
2207
|
};
|
|
@@ -2211,22 +2211,22 @@ var jn = (
|
|
|
2211
2211
|
return o;
|
|
2212
2212
|
var a = o.val, s = this.clonePosition();
|
|
2213
2213
|
if (this.bumpIf("</")) {
|
|
2214
|
-
if (this.isEOF() || !
|
|
2215
|
-
return this.error(
|
|
2214
|
+
if (this.isEOF() || !qe(this.char()))
|
|
2215
|
+
return this.error(T.INVALID_TAG, w(s, this.clonePosition()));
|
|
2216
2216
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2217
|
-
return i !== u ? this.error(
|
|
2217
|
+
return i !== u ? this.error(T.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2218
2218
|
val: {
|
|
2219
|
-
type:
|
|
2219
|
+
type: P.tag,
|
|
2220
2220
|
value: i,
|
|
2221
2221
|
children: a,
|
|
2222
|
-
location:
|
|
2222
|
+
location: w(n, this.clonePosition())
|
|
2223
2223
|
},
|
|
2224
2224
|
err: null
|
|
2225
|
-
} : this.error(
|
|
2225
|
+
} : this.error(T.INVALID_TAG, w(s, this.clonePosition())));
|
|
2226
2226
|
} else
|
|
2227
|
-
return this.error(
|
|
2227
|
+
return this.error(T.UNCLOSED_TAG, w(n, this.clonePosition()));
|
|
2228
2228
|
} else
|
|
2229
|
-
return this.error(
|
|
2229
|
+
return this.error(T.INVALID_TAG, w(n, this.clonePosition()));
|
|
2230
2230
|
}, e.prototype.parseTagName = function() {
|
|
2231
2231
|
var t = this.offset();
|
|
2232
2232
|
for (this.bump(); !this.isEOF() && Rn(this.char()); )
|
|
@@ -2251,9 +2251,9 @@ var jn = (
|
|
|
2251
2251
|
}
|
|
2252
2252
|
break;
|
|
2253
2253
|
}
|
|
2254
|
-
var h =
|
|
2254
|
+
var h = w(n, this.clonePosition());
|
|
2255
2255
|
return {
|
|
2256
|
-
val: { type:
|
|
2256
|
+
val: { type: P.literal, value: i, location: h },
|
|
2257
2257
|
err: null
|
|
2258
2258
|
};
|
|
2259
2259
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2292,49 +2292,49 @@ var jn = (
|
|
|
2292
2292
|
r.push(n);
|
|
2293
2293
|
this.bump();
|
|
2294
2294
|
}
|
|
2295
|
-
return
|
|
2295
|
+
return Ve.apply(void 0, r);
|
|
2296
2296
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2297
2297
|
if (this.isEOF())
|
|
2298
2298
|
return null;
|
|
2299
2299
|
var n = this.char();
|
|
2300
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2300
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
|
|
2301
2301
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2302
2302
|
var n = this.clonePosition();
|
|
2303
2303
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2304
|
-
return this.error(
|
|
2304
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
2305
2305
|
if (this.char() === 125)
|
|
2306
|
-
return this.bump(), this.error(
|
|
2306
|
+
return this.bump(), this.error(T.EMPTY_ARGUMENT, w(n, this.clonePosition()));
|
|
2307
2307
|
var i = this.parseIdentifierIfPossible().value;
|
|
2308
2308
|
if (!i)
|
|
2309
|
-
return this.error(
|
|
2309
|
+
return this.error(T.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
2310
2310
|
if (this.bumpSpace(), this.isEOF())
|
|
2311
|
-
return this.error(
|
|
2311
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
2312
2312
|
switch (this.char()) {
|
|
2313
2313
|
case 125:
|
|
2314
2314
|
return this.bump(), {
|
|
2315
2315
|
val: {
|
|
2316
|
-
type:
|
|
2316
|
+
type: P.argument,
|
|
2317
2317
|
// value does not include the opening and closing braces.
|
|
2318
2318
|
value: i,
|
|
2319
|
-
location:
|
|
2319
|
+
location: w(n, this.clonePosition())
|
|
2320
2320
|
},
|
|
2321
2321
|
err: null
|
|
2322
2322
|
};
|
|
2323
2323
|
case 44:
|
|
2324
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2324
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2325
2325
|
default:
|
|
2326
|
-
return this.error(
|
|
2326
|
+
return this.error(T.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
2327
2327
|
}
|
|
2328
2328
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2329
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2329
|
+
var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
|
|
2330
2330
|
this.bumpTo(i);
|
|
2331
|
-
var o = this.clonePosition(), a =
|
|
2331
|
+
var o = this.clonePosition(), a = w(t, o);
|
|
2332
2332
|
return { value: n, location: a };
|
|
2333
2333
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2334
2334
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2335
2335
|
switch (s) {
|
|
2336
2336
|
case "":
|
|
2337
|
-
return this.error(
|
|
2337
|
+
return this.error(T.EXPECT_ARGUMENT_TYPE, w(a, h));
|
|
2338
2338
|
case "number":
|
|
2339
2339
|
case "date":
|
|
2340
2340
|
case "time": {
|
|
@@ -2345,46 +2345,46 @@ var jn = (
|
|
|
2345
2345
|
var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
2346
2346
|
if (d.err)
|
|
2347
2347
|
return d;
|
|
2348
|
-
var
|
|
2349
|
-
if (
|
|
2350
|
-
return this.error(
|
|
2351
|
-
var b =
|
|
2352
|
-
u = { style:
|
|
2348
|
+
var g = In(d.val);
|
|
2349
|
+
if (g.length === 0)
|
|
2350
|
+
return this.error(T.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
2351
|
+
var b = w(l, this.clonePosition());
|
|
2352
|
+
u = { style: g, styleLocation: b };
|
|
2353
2353
|
}
|
|
2354
2354
|
var f = this.tryParseArgumentClose(i);
|
|
2355
2355
|
if (f.err)
|
|
2356
2356
|
return f;
|
|
2357
|
-
var
|
|
2357
|
+
var m = w(i, this.clonePosition());
|
|
2358
2358
|
if (u && dt(u?.style, "::", 0)) {
|
|
2359
2359
|
var S = On(u.style.slice(2));
|
|
2360
2360
|
if (s === "number") {
|
|
2361
2361
|
var d = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
2362
2362
|
return d.err ? d : {
|
|
2363
|
-
val: { type:
|
|
2363
|
+
val: { type: P.number, value: n, location: m, style: d.val },
|
|
2364
2364
|
err: null
|
|
2365
2365
|
};
|
|
2366
2366
|
} else {
|
|
2367
2367
|
if (S.length === 0)
|
|
2368
|
-
return this.error(
|
|
2368
|
+
return this.error(T.EXPECT_DATE_TIME_SKELETON, m);
|
|
2369
2369
|
var _ = S;
|
|
2370
|
-
this.locale && (_ =
|
|
2371
|
-
var
|
|
2370
|
+
this.locale && (_ = En(S, this.locale));
|
|
2371
|
+
var g = {
|
|
2372
2372
|
type: te.dateTime,
|
|
2373
2373
|
pattern: _,
|
|
2374
2374
|
location: u.styleLocation,
|
|
2375
2375
|
parsedOptions: this.shouldParseSkeletons ? pn(_) : {}
|
|
2376
|
-
},
|
|
2376
|
+
}, y = s === "date" ? P.date : P.time;
|
|
2377
2377
|
return {
|
|
2378
|
-
val: { type:
|
|
2378
|
+
val: { type: y, value: n, location: m, style: g },
|
|
2379
2379
|
err: null
|
|
2380
2380
|
};
|
|
2381
2381
|
}
|
|
2382
2382
|
}
|
|
2383
2383
|
return {
|
|
2384
2384
|
val: {
|
|
2385
|
-
type: s === "number" ?
|
|
2385
|
+
type: s === "number" ? P.number : s === "date" ? P.date : P.time,
|
|
2386
2386
|
value: n,
|
|
2387
|
-
location:
|
|
2387
|
+
location: m,
|
|
2388
2388
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
2389
2389
|
},
|
|
2390
2390
|
err: null
|
|
@@ -2395,39 +2395,39 @@ var jn = (
|
|
|
2395
2395
|
case "select": {
|
|
2396
2396
|
var C = this.clonePosition();
|
|
2397
2397
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2398
|
-
return this.error(
|
|
2398
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, w(C, A({}, C)));
|
|
2399
2399
|
this.bumpSpace();
|
|
2400
|
-
var
|
|
2401
|
-
if (s !== "select" &&
|
|
2400
|
+
var H = this.parseIdentifierIfPossible(), E = 0;
|
|
2401
|
+
if (s !== "select" && H.value === "offset") {
|
|
2402
2402
|
if (!this.bumpIf(":"))
|
|
2403
|
-
return this.error(
|
|
2403
|
+
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
2404
2404
|
this.bumpSpace();
|
|
2405
|
-
var d = this.tryParseDecimalInteger(
|
|
2405
|
+
var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2406
2406
|
if (d.err)
|
|
2407
2407
|
return d;
|
|
2408
|
-
this.bumpSpace(),
|
|
2408
|
+
this.bumpSpace(), H = this.parseIdentifierIfPossible(), E = d.val;
|
|
2409
2409
|
}
|
|
2410
|
-
var
|
|
2411
|
-
if (
|
|
2412
|
-
return
|
|
2410
|
+
var B = this.tryParsePluralOrSelectOptions(t, s, r, H);
|
|
2411
|
+
if (B.err)
|
|
2412
|
+
return B;
|
|
2413
2413
|
var f = this.tryParseArgumentClose(i);
|
|
2414
2414
|
if (f.err)
|
|
2415
2415
|
return f;
|
|
2416
|
-
var W =
|
|
2416
|
+
var W = w(i, this.clonePosition());
|
|
2417
2417
|
return s === "select" ? {
|
|
2418
2418
|
val: {
|
|
2419
|
-
type:
|
|
2419
|
+
type: P.select,
|
|
2420
2420
|
value: n,
|
|
2421
|
-
options:
|
|
2421
|
+
options: gt(B.val),
|
|
2422
2422
|
location: W
|
|
2423
2423
|
},
|
|
2424
2424
|
err: null
|
|
2425
2425
|
} : {
|
|
2426
2426
|
val: {
|
|
2427
|
-
type:
|
|
2427
|
+
type: P.plural,
|
|
2428
2428
|
value: n,
|
|
2429
|
-
options:
|
|
2430
|
-
offset:
|
|
2429
|
+
options: gt(B.val),
|
|
2430
|
+
offset: E,
|
|
2431
2431
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2432
2432
|
location: W
|
|
2433
2433
|
},
|
|
@@ -2435,10 +2435,10 @@ var jn = (
|
|
|
2435
2435
|
};
|
|
2436
2436
|
}
|
|
2437
2437
|
default:
|
|
2438
|
-
return this.error(
|
|
2438
|
+
return this.error(T.INVALID_ARGUMENT_TYPE, w(a, h));
|
|
2439
2439
|
}
|
|
2440
2440
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2441
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2441
|
+
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2442
2442
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2443
2443
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2444
2444
|
var n = this.char();
|
|
@@ -2447,7 +2447,7 @@ var jn = (
|
|
|
2447
2447
|
this.bump();
|
|
2448
2448
|
var i = this.clonePosition();
|
|
2449
2449
|
if (!this.bumpUntil("'"))
|
|
2450
|
-
return this.error(
|
|
2450
|
+
return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
|
|
2451
2451
|
this.bump();
|
|
2452
2452
|
break;
|
|
2453
2453
|
}
|
|
@@ -2479,14 +2479,14 @@ var jn = (
|
|
|
2479
2479
|
try {
|
|
2480
2480
|
n = _n(t);
|
|
2481
2481
|
} catch {
|
|
2482
|
-
return this.error(
|
|
2482
|
+
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
2483
2483
|
}
|
|
2484
2484
|
return {
|
|
2485
2485
|
val: {
|
|
2486
2486
|
type: te.number,
|
|
2487
2487
|
tokens: n,
|
|
2488
2488
|
location: r,
|
|
2489
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2489
|
+
parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
|
|
2490
2490
|
},
|
|
2491
2491
|
err: null
|
|
2492
2492
|
};
|
|
@@ -2495,34 +2495,34 @@ var jn = (
|
|
|
2495
2495
|
if (u.length === 0) {
|
|
2496
2496
|
var d = this.clonePosition();
|
|
2497
2497
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2498
|
-
var
|
|
2499
|
-
if (
|
|
2500
|
-
return
|
|
2501
|
-
l =
|
|
2498
|
+
var g = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2499
|
+
if (g.err)
|
|
2500
|
+
return g;
|
|
2501
|
+
l = w(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
|
|
2502
2502
|
} else
|
|
2503
2503
|
break;
|
|
2504
2504
|
}
|
|
2505
2505
|
if (h.has(u))
|
|
2506
|
-
return this.error(r === "select" ?
|
|
2506
|
+
return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2507
2507
|
u === "other" && (a = !0), this.bumpSpace();
|
|
2508
2508
|
var b = this.clonePosition();
|
|
2509
2509
|
if (!this.bumpIf("{"))
|
|
2510
|
-
return this.error(r === "select" ?
|
|
2510
|
+
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
2511
2511
|
var f = this.parseMessage(t + 1, r, n);
|
|
2512
2512
|
if (f.err)
|
|
2513
2513
|
return f;
|
|
2514
|
-
var
|
|
2515
|
-
if (
|
|
2516
|
-
return
|
|
2514
|
+
var m = this.tryParseArgumentClose(b);
|
|
2515
|
+
if (m.err)
|
|
2516
|
+
return m;
|
|
2517
2517
|
s.push([
|
|
2518
2518
|
u,
|
|
2519
2519
|
{
|
|
2520
2520
|
value: f.val,
|
|
2521
|
-
location:
|
|
2521
|
+
location: w(b, this.clonePosition())
|
|
2522
2522
|
}
|
|
2523
2523
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
2524
2524
|
}
|
|
2525
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
2525
|
+
return s.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(T.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
2526
2526
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2527
2527
|
var n = 1, i = this.clonePosition();
|
|
2528
2528
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2533,8 +2533,8 @@ var jn = (
|
|
|
2533
2533
|
else
|
|
2534
2534
|
break;
|
|
2535
2535
|
}
|
|
2536
|
-
var h =
|
|
2537
|
-
return o ? (a *= n,
|
|
2536
|
+
var h = w(i, this.clonePosition());
|
|
2537
|
+
return o ? (a *= n, Pn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
2538
2538
|
}, e.prototype.offset = function() {
|
|
2539
2539
|
return this.position.offset;
|
|
2540
2540
|
}, e.prototype.isEOF = function() {
|
|
@@ -2600,11 +2600,11 @@ var jn = (
|
|
|
2600
2600
|
}, e;
|
|
2601
2601
|
}()
|
|
2602
2602
|
);
|
|
2603
|
-
function
|
|
2603
|
+
function qe(e) {
|
|
2604
2604
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2605
2605
|
}
|
|
2606
2606
|
function Ln(e) {
|
|
2607
|
-
return
|
|
2607
|
+
return qe(e) || e === 47;
|
|
2608
2608
|
}
|
|
2609
2609
|
function Rn(e) {
|
|
2610
2610
|
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;
|
|
@@ -2617,18 +2617,18 @@ function Un(e) {
|
|
|
2617
2617
|
}
|
|
2618
2618
|
function We(e) {
|
|
2619
2619
|
e.forEach(function(t) {
|
|
2620
|
-
if (delete t.location,
|
|
2620
|
+
if (delete t.location, Xt(t) || qt(t))
|
|
2621
2621
|
for (var r in t.options)
|
|
2622
2622
|
delete t.options[r].location, We(t.options[r].value);
|
|
2623
2623
|
else
|
|
2624
|
-
|
|
2624
|
+
Gt(t) && Zt(t.style) || (Ft(t) || Vt(t)) && Ge(t.style) ? delete t.style.location : Wt(t) && We(t.children);
|
|
2625
2625
|
});
|
|
2626
2626
|
}
|
|
2627
2627
|
function Dn(e, t) {
|
|
2628
|
-
t === void 0 && (t = {}), t =
|
|
2628
|
+
t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
2629
2629
|
var r = new jn(e, t).parse();
|
|
2630
2630
|
if (r.err) {
|
|
2631
|
-
var n = SyntaxError(
|
|
2631
|
+
var n = SyntaxError(T[r.err.kind]);
|
|
2632
2632
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
2633
2633
|
}
|
|
2634
2634
|
return t?.captureLocation || We(r.val), r.val;
|
|
@@ -2637,10 +2637,10 @@ var re;
|
|
|
2637
2637
|
(function(e) {
|
|
2638
2638
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
2639
2639
|
})(re || (re = {}));
|
|
2640
|
-
var
|
|
2640
|
+
var Ae = (
|
|
2641
2641
|
/** @class */
|
|
2642
2642
|
function(e) {
|
|
2643
|
-
|
|
2643
|
+
Ne(t, e);
|
|
2644
2644
|
function t(r, n, i) {
|
|
2645
2645
|
var o = e.call(this, r) || this;
|
|
2646
2646
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -2652,41 +2652,41 @@ var He = (
|
|
|
2652
2652
|
), pt = (
|
|
2653
2653
|
/** @class */
|
|
2654
2654
|
function(e) {
|
|
2655
|
-
|
|
2655
|
+
Ne(t, e);
|
|
2656
2656
|
function t(r, n, i, o) {
|
|
2657
2657
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
|
|
2658
2658
|
}
|
|
2659
2659
|
return t;
|
|
2660
|
-
}(
|
|
2661
|
-
),
|
|
2660
|
+
}(Ae)
|
|
2661
|
+
), Gn = (
|
|
2662
2662
|
/** @class */
|
|
2663
2663
|
function(e) {
|
|
2664
|
-
|
|
2664
|
+
Ne(t, e);
|
|
2665
2665
|
function t(r, n, i) {
|
|
2666
2666
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
|
|
2667
2667
|
}
|
|
2668
2668
|
return t;
|
|
2669
|
-
}(
|
|
2670
|
-
),
|
|
2669
|
+
}(Ae)
|
|
2670
|
+
), Fn = (
|
|
2671
2671
|
/** @class */
|
|
2672
2672
|
function(e) {
|
|
2673
|
-
|
|
2673
|
+
Ne(t, e);
|
|
2674
2674
|
function t(r, n) {
|
|
2675
2675
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
|
|
2676
2676
|
}
|
|
2677
2677
|
return t;
|
|
2678
|
-
}(
|
|
2678
|
+
}(Ae)
|
|
2679
2679
|
), D;
|
|
2680
2680
|
(function(e) {
|
|
2681
2681
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
2682
2682
|
})(D || (D = {}));
|
|
2683
|
-
function
|
|
2683
|
+
function Vn(e) {
|
|
2684
2684
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
2685
2685
|
var n = t[t.length - 1];
|
|
2686
2686
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
2687
2687
|
}, []);
|
|
2688
2688
|
}
|
|
2689
|
-
function
|
|
2689
|
+
function Xn(e) {
|
|
2690
2690
|
return typeof e == "function";
|
|
2691
2691
|
}
|
|
2692
2692
|
function xe(e, t, r, n, i, o, a) {
|
|
@@ -2706,7 +2706,7 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
2706
2706
|
});
|
|
2707
2707
|
continue;
|
|
2708
2708
|
}
|
|
2709
|
-
if (
|
|
2709
|
+
if (gn(l)) {
|
|
2710
2710
|
typeof o == "number" && s.push({
|
|
2711
2711
|
type: D.literal,
|
|
2712
2712
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -2715,87 +2715,87 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
var d = l.value;
|
|
2717
2717
|
if (!(i && d in i))
|
|
2718
|
-
throw new
|
|
2719
|
-
var
|
|
2718
|
+
throw new Fn(d, a);
|
|
2719
|
+
var g = i[d];
|
|
2720
2720
|
if (dn(l)) {
|
|
2721
|
-
(!
|
|
2722
|
-
type: typeof
|
|
2723
|
-
value:
|
|
2721
|
+
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
|
|
2722
|
+
type: typeof g == "string" ? D.literal : D.object,
|
|
2723
|
+
value: g
|
|
2724
2724
|
});
|
|
2725
2725
|
continue;
|
|
2726
2726
|
}
|
|
2727
|
-
if (
|
|
2728
|
-
var b = typeof l.style == "string" ? n.date[l.style] :
|
|
2727
|
+
if (Ft(l)) {
|
|
2728
|
+
var b = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
|
|
2729
2729
|
s.push({
|
|
2730
2730
|
type: D.literal,
|
|
2731
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
2731
|
+
value: r.getDateTimeFormat(t, b).format(g)
|
|
2732
2732
|
});
|
|
2733
2733
|
continue;
|
|
2734
2734
|
}
|
|
2735
|
-
if (
|
|
2736
|
-
var b = typeof l.style == "string" ? n.time[l.style] :
|
|
2735
|
+
if (Vt(l)) {
|
|
2736
|
+
var b = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
2737
2737
|
s.push({
|
|
2738
2738
|
type: D.literal,
|
|
2739
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
2739
|
+
value: r.getDateTimeFormat(t, b).format(g)
|
|
2740
2740
|
});
|
|
2741
2741
|
continue;
|
|
2742
2742
|
}
|
|
2743
|
-
if (
|
|
2743
|
+
if (Gt(l)) {
|
|
2744
2744
|
var b = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
|
|
2745
|
-
b && b.scale && (
|
|
2745
|
+
b && b.scale && (g = g * (b.scale || 1)), s.push({
|
|
2746
2746
|
type: D.literal,
|
|
2747
|
-
value: r.getNumberFormat(t, b).format(
|
|
2747
|
+
value: r.getNumberFormat(t, b).format(g)
|
|
2748
2748
|
});
|
|
2749
2749
|
continue;
|
|
2750
2750
|
}
|
|
2751
2751
|
if (Wt(l)) {
|
|
2752
|
-
var f = l.children,
|
|
2753
|
-
if (!
|
|
2754
|
-
throw new
|
|
2755
|
-
var _ = xe(f, t, r, n, i, o),
|
|
2756
|
-
return
|
|
2752
|
+
var f = l.children, m = l.value, S = i[m];
|
|
2753
|
+
if (!Xn(S))
|
|
2754
|
+
throw new Gn(m, "function", a);
|
|
2755
|
+
var _ = xe(f, t, r, n, i, o), y = S(_.map(function(E) {
|
|
2756
|
+
return E.value;
|
|
2757
2757
|
}));
|
|
2758
|
-
Array.isArray(
|
|
2758
|
+
Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(E) {
|
|
2759
2759
|
return {
|
|
2760
|
-
type: typeof
|
|
2761
|
-
value:
|
|
2760
|
+
type: typeof E == "string" ? D.literal : D.object,
|
|
2761
|
+
value: E
|
|
2762
2762
|
};
|
|
2763
2763
|
}));
|
|
2764
2764
|
}
|
|
2765
|
-
if (
|
|
2766
|
-
var C = l.options[
|
|
2765
|
+
if (Xt(l)) {
|
|
2766
|
+
var C = l.options[g] || l.options.other;
|
|
2767
2767
|
if (!C)
|
|
2768
|
-
throw new pt(l.value,
|
|
2768
|
+
throw new pt(l.value, g, Object.keys(l.options), a);
|
|
2769
2769
|
s.push.apply(s, xe(C.value, t, r, n, i));
|
|
2770
2770
|
continue;
|
|
2771
2771
|
}
|
|
2772
|
-
if (
|
|
2773
|
-
var C = l.options["=".concat(
|
|
2772
|
+
if (qt(l)) {
|
|
2773
|
+
var C = l.options["=".concat(g)];
|
|
2774
2774
|
if (!C) {
|
|
2775
2775
|
if (!Intl.PluralRules)
|
|
2776
|
-
throw new
|
|
2776
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
2777
2777
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
2778
2778
|
`, re.MISSING_INTL_API, a);
|
|
2779
|
-
var
|
|
2780
|
-
C = l.options[
|
|
2779
|
+
var H = r.getPluralRules(t, { type: l.pluralType }).select(g - (l.offset || 0));
|
|
2780
|
+
C = l.options[H] || l.options.other;
|
|
2781
2781
|
}
|
|
2782
2782
|
if (!C)
|
|
2783
|
-
throw new pt(l.value,
|
|
2784
|
-
s.push.apply(s, xe(C.value, t, r, n, i,
|
|
2783
|
+
throw new pt(l.value, g, Object.keys(l.options), a);
|
|
2784
|
+
s.push.apply(s, xe(C.value, t, r, n, i, g - (l.offset || 0)));
|
|
2785
2785
|
continue;
|
|
2786
2786
|
}
|
|
2787
2787
|
}
|
|
2788
|
-
return
|
|
2788
|
+
return Vn(s);
|
|
2789
2789
|
}
|
|
2790
|
-
function
|
|
2791
|
-
return t ?
|
|
2792
|
-
return r[n] =
|
|
2790
|
+
function qn(e, t) {
|
|
2791
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
2792
|
+
return r[n] = A(A({}, e[n]), t[n] || {}), r;
|
|
2793
2793
|
}, {})) : e;
|
|
2794
2794
|
}
|
|
2795
2795
|
function Wn(e, t) {
|
|
2796
2796
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
2797
|
-
return r[n] =
|
|
2798
|
-
},
|
|
2797
|
+
return r[n] = qn(e[n], t[n]), r;
|
|
2798
|
+
}, A({}, e)) : e;
|
|
2799
2799
|
}
|
|
2800
2800
|
function Re(e) {
|
|
2801
2801
|
return {
|
|
@@ -2857,8 +2857,8 @@ var Jn = (
|
|
|
2857
2857
|
var u = o.formatToParts(h);
|
|
2858
2858
|
if (u.length === 1)
|
|
2859
2859
|
return u[0].value;
|
|
2860
|
-
var l = u.reduce(function(d,
|
|
2861
|
-
return !d.length ||
|
|
2860
|
+
var l = u.reduce(function(d, g) {
|
|
2861
|
+
return !d.length || g.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(g.value) : d[d.length - 1] += g.value, d;
|
|
2862
2862
|
}, []);
|
|
2863
2863
|
return l.length <= 1 ? l[0] || "" : l;
|
|
2864
2864
|
}, this.formatToParts = function(h) {
|
|
@@ -2876,7 +2876,7 @@ var Jn = (
|
|
|
2876
2876
|
var a = i || {};
|
|
2877
2877
|
a.formatters;
|
|
2878
2878
|
var s = on(a, ["formatters"]);
|
|
2879
|
-
this.ast = e.__parse(t,
|
|
2879
|
+
this.ast = e.__parse(t, A(A({}, s), { locale: this.resolvedLocale }));
|
|
2880
2880
|
} else
|
|
2881
2881
|
this.ast = t;
|
|
2882
2882
|
if (!Array.isArray(this.ast))
|
|
@@ -2981,7 +2981,7 @@ const J = {}, Yn = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
|
|
|
2981
2981
|
return;
|
|
2982
2982
|
if (t in J && e in J[t])
|
|
2983
2983
|
return J[t][e];
|
|
2984
|
-
const r =
|
|
2984
|
+
const r = He(t);
|
|
2985
2985
|
for (let n = 0; n < r.length; n++) {
|
|
2986
2986
|
const i = r[n], o = $n(i, e);
|
|
2987
2987
|
if (o)
|
|
@@ -2989,7 +2989,7 @@ const J = {}, Yn = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
|
|
|
2989
2989
|
}
|
|
2990
2990
|
};
|
|
2991
2991
|
let et;
|
|
2992
|
-
const _e =
|
|
2992
|
+
const _e = we({});
|
|
2993
2993
|
function Kn(e) {
|
|
2994
2994
|
return et[e] || null;
|
|
2995
2995
|
}
|
|
@@ -3005,7 +3005,7 @@ function $n(e, t) {
|
|
|
3005
3005
|
function ei(e) {
|
|
3006
3006
|
if (e == null)
|
|
3007
3007
|
return;
|
|
3008
|
-
const t =
|
|
3008
|
+
const t = He(e);
|
|
3009
3009
|
for (let r = 0; r < t.length; r++) {
|
|
3010
3010
|
const n = t[r];
|
|
3011
3011
|
if (nr(n))
|
|
@@ -3020,21 +3020,21 @@ ie(
|
|
|
3020
3020
|
([e]) => Object.keys(e)
|
|
3021
3021
|
);
|
|
3022
3022
|
_e.subscribe((e) => et = e);
|
|
3023
|
-
const
|
|
3023
|
+
const ze = {};
|
|
3024
3024
|
function ti(e, t) {
|
|
3025
|
-
|
|
3025
|
+
ze[e].delete(t), ze[e].size === 0 && delete ze[e];
|
|
3026
3026
|
}
|
|
3027
3027
|
function or(e) {
|
|
3028
|
-
return
|
|
3028
|
+
return ze[e];
|
|
3029
3029
|
}
|
|
3030
3030
|
function ri(e) {
|
|
3031
|
-
return
|
|
3031
|
+
return He(e).map((t) => {
|
|
3032
3032
|
const r = or(t);
|
|
3033
3033
|
return [t, r ? [...r] : []];
|
|
3034
3034
|
}).filter(([, t]) => t.length > 0);
|
|
3035
3035
|
}
|
|
3036
3036
|
function Ze(e) {
|
|
3037
|
-
return e == null ? !1 :
|
|
3037
|
+
return e == null ? !1 : He(e).some(
|
|
3038
3038
|
(t) => {
|
|
3039
3039
|
var r;
|
|
3040
3040
|
return (r = or(t)) == null ? void 0 : r.size;
|
|
@@ -3101,7 +3101,7 @@ const ii = {
|
|
|
3101
3101
|
function ne() {
|
|
3102
3102
|
return ai;
|
|
3103
3103
|
}
|
|
3104
|
-
const Ue =
|
|
3104
|
+
const Ue = we(!1);
|
|
3105
3105
|
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) => {
|
|
3106
3106
|
for (var r in t || (t = {}))
|
|
3107
3107
|
ui.call(t, r) && _t(e, r, t[r]);
|
|
@@ -3109,23 +3109,23 @@ var si = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwn
|
|
|
3109
3109
|
for (var r of ft(t))
|
|
3110
3110
|
hi.call(t, r) && _t(e, r, t[r]);
|
|
3111
3111
|
return e;
|
|
3112
|
-
},
|
|
3112
|
+
}, gi = (e, t) => li(e, ci(t));
|
|
3113
3113
|
let Je;
|
|
3114
|
-
const
|
|
3114
|
+
const Me = we(null);
|
|
3115
3115
|
function bt(e) {
|
|
3116
3116
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3117
3117
|
}
|
|
3118
|
-
function
|
|
3118
|
+
function He(e, t = ne().fallbackLocale) {
|
|
3119
3119
|
const r = bt(e);
|
|
3120
3120
|
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
3121
3121
|
}
|
|
3122
3122
|
function Y() {
|
|
3123
3123
|
return Je ?? void 0;
|
|
3124
3124
|
}
|
|
3125
|
-
|
|
3125
|
+
Me.subscribe((e) => {
|
|
3126
3126
|
Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3127
3127
|
});
|
|
3128
|
-
const
|
|
3128
|
+
const mi = (e) => {
|
|
3129
3129
|
if (e && ei(e) && Ze(e)) {
|
|
3130
3130
|
const { loadingDelay: t } = ne();
|
|
3131
3131
|
let r;
|
|
@@ -3133,87 +3133,87 @@ const gi = (e) => {
|
|
|
3133
3133
|
() => Ue.set(!0),
|
|
3134
3134
|
t
|
|
3135
3135
|
) : Ue.set(!0), ar(e).then(() => {
|
|
3136
|
-
|
|
3136
|
+
Me.set(e);
|
|
3137
3137
|
}).finally(() => {
|
|
3138
3138
|
clearTimeout(r), Ue.set(!1);
|
|
3139
3139
|
});
|
|
3140
3140
|
}
|
|
3141
|
-
return
|
|
3142
|
-
}, oe =
|
|
3143
|
-
set:
|
|
3144
|
-
}),
|
|
3141
|
+
return Me.set(e);
|
|
3142
|
+
}, oe = gi(di({}, Me), {
|
|
3143
|
+
set: mi
|
|
3144
|
+
}), Pe = (e) => {
|
|
3145
3145
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3146
3146
|
return (n) => {
|
|
3147
3147
|
const i = JSON.stringify(n);
|
|
3148
3148
|
return i in t ? t[i] : t[i] = e(n);
|
|
3149
3149
|
};
|
|
3150
3150
|
};
|
|
3151
|
-
var pi = Object.defineProperty,
|
|
3151
|
+
var pi = Object.defineProperty, Te = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
3152
3152
|
for (var r in t || (t = {}))
|
|
3153
|
-
sr.call(t, r) &&
|
|
3154
|
-
if (
|
|
3155
|
-
for (var r of
|
|
3156
|
-
lr.call(t, r) &&
|
|
3153
|
+
sr.call(t, r) && yt(e, r, t[r]);
|
|
3154
|
+
if (Te)
|
|
3155
|
+
for (var r of Te(t))
|
|
3156
|
+
lr.call(t, r) && yt(e, r, t[r]);
|
|
3157
3157
|
return e;
|
|
3158
3158
|
}, ae = (e, t) => {
|
|
3159
3159
|
var r = {};
|
|
3160
3160
|
for (var n in e)
|
|
3161
3161
|
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3162
|
-
if (e != null &&
|
|
3163
|
-
for (var n of
|
|
3162
|
+
if (e != null && Te)
|
|
3163
|
+
for (var n of Te(e))
|
|
3164
3164
|
t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
|
|
3165
3165
|
return r;
|
|
3166
3166
|
};
|
|
3167
|
-
const
|
|
3167
|
+
const me = (e, t) => {
|
|
3168
3168
|
const { formats: r } = ne();
|
|
3169
3169
|
if (e in r && t in r[e])
|
|
3170
3170
|
return r[e][t];
|
|
3171
3171
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3172
|
-
}, fi =
|
|
3172
|
+
}, fi = Pe(
|
|
3173
3173
|
(e) => {
|
|
3174
3174
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
3175
3175
|
if (r == null)
|
|
3176
3176
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3177
|
-
return n && (i =
|
|
3177
|
+
return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
|
|
3178
3178
|
}
|
|
3179
|
-
), _i =
|
|
3179
|
+
), _i = Pe(
|
|
3180
3180
|
(e) => {
|
|
3181
3181
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
3182
3182
|
if (r == null)
|
|
3183
3183
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3184
|
-
return n ? i =
|
|
3184
|
+
return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3185
3185
|
}
|
|
3186
|
-
), bi =
|
|
3186
|
+
), bi = Pe(
|
|
3187
3187
|
(e) => {
|
|
3188
3188
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
3189
3189
|
if (r == null)
|
|
3190
3190
|
throw new Error(
|
|
3191
3191
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3192
3192
|
);
|
|
3193
|
-
return n ? i =
|
|
3193
|
+
return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3194
3194
|
}
|
|
3195
|
-
),
|
|
3195
|
+
), yi = (e = {}) => {
|
|
3196
3196
|
var t = e, {
|
|
3197
3197
|
locale: r = Y()
|
|
3198
3198
|
} = t, n = ae(t, [
|
|
3199
3199
|
"locale"
|
|
3200
3200
|
]);
|
|
3201
3201
|
return fi(tt({ locale: r }, n));
|
|
3202
|
-
},
|
|
3202
|
+
}, vi = (e = {}) => {
|
|
3203
3203
|
var t = e, {
|
|
3204
3204
|
locale: r = Y()
|
|
3205
3205
|
} = t, n = ae(t, [
|
|
3206
3206
|
"locale"
|
|
3207
3207
|
]);
|
|
3208
3208
|
return _i(tt({ locale: r }, n));
|
|
3209
|
-
},
|
|
3209
|
+
}, ki = (e = {}) => {
|
|
3210
3210
|
var t = e, {
|
|
3211
3211
|
locale: r = Y()
|
|
3212
3212
|
} = t, n = ae(t, [
|
|
3213
3213
|
"locale"
|
|
3214
3214
|
]);
|
|
3215
3215
|
return bi(tt({ locale: r }, n));
|
|
3216
|
-
},
|
|
3216
|
+
}, Ei = Pe(
|
|
3217
3217
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3218
3218
|
(e, t = Y()) => new Jn(e, t, ne().formats, {
|
|
3219
3219
|
ignoreTag: ne().ignoreTag
|
|
@@ -3242,26 +3242,26 @@ const ge = (e, t) => {
|
|
|
3242
3242
|
return l;
|
|
3243
3243
|
let d = l;
|
|
3244
3244
|
try {
|
|
3245
|
-
d =
|
|
3246
|
-
} catch (
|
|
3247
|
-
|
|
3245
|
+
d = Ei(l, h).format(s);
|
|
3246
|
+
} catch (g) {
|
|
3247
|
+
g instanceof Error && console.warn(
|
|
3248
3248
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3249
|
-
|
|
3249
|
+
g.message
|
|
3250
3250
|
);
|
|
3251
3251
|
}
|
|
3252
3252
|
return d;
|
|
3253
|
-
}, Si = (e, t) =>
|
|
3253
|
+
}, Si = (e, t) => ki(t).format(e), xi = (e, t) => vi(t).format(e), zi = (e, t) => yi(t).format(e), Mi = (e, t = Y()) => rr(e, t), Ti = ie([oe, _e], () => Ci);
|
|
3254
3254
|
ie([oe], () => Si);
|
|
3255
3255
|
ie([oe], () => xi);
|
|
3256
|
-
ie([oe], () =>
|
|
3257
|
-
ie([oe, _e], () =>
|
|
3258
|
-
function
|
|
3256
|
+
ie([oe], () => zi);
|
|
3257
|
+
ie([oe, _e], () => Mi);
|
|
3258
|
+
function vt(e, t) {
|
|
3259
3259
|
ir(e, t);
|
|
3260
3260
|
}
|
|
3261
|
-
function
|
|
3261
|
+
function wi(e) {
|
|
3262
3262
|
oe.set(e);
|
|
3263
3263
|
}
|
|
3264
|
-
const
|
|
3264
|
+
const kt = {
|
|
3265
3265
|
en: {
|
|
3266
3266
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
3267
3267
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -3837,33 +3837,33 @@ if (typeof window < "u") {
|
|
|
3837
3837
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
3838
3838
|
});
|
|
3839
3839
|
}
|
|
3840
|
-
function
|
|
3840
|
+
function Ni(e) {
|
|
3841
3841
|
let t, r;
|
|
3842
3842
|
return {
|
|
3843
3843
|
c() {
|
|
3844
|
-
t = ot("svg"), r = ot("path"),
|
|
3844
|
+
t = ot("svg"), r = ot("path"), k(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"), k(t, "xmlns", "http://www.w3.org/2000/svg"), k(t, "viewBox", "0 0 512 512");
|
|
3845
3845
|
},
|
|
3846
3846
|
m(n, i) {
|
|
3847
3847
|
j(n, t, i), x(t, r);
|
|
3848
3848
|
},
|
|
3849
|
-
p:
|
|
3850
|
-
i:
|
|
3851
|
-
o:
|
|
3849
|
+
p: q,
|
|
3850
|
+
i: q,
|
|
3851
|
+
o: q,
|
|
3852
3852
|
d(n) {
|
|
3853
3853
|
n && L(t);
|
|
3854
3854
|
}
|
|
3855
3855
|
};
|
|
3856
3856
|
}
|
|
3857
|
-
class
|
|
3857
|
+
class Ai extends It {
|
|
3858
3858
|
constructor(t) {
|
|
3859
|
-
super(), jt(this, t, null,
|
|
3859
|
+
super(), jt(this, t, null, Ni, Qe, {});
|
|
3860
3860
|
}
|
|
3861
3861
|
}
|
|
3862
|
-
customElements.define("circle-exclamation-icon", Ot(
|
|
3863
|
-
function
|
|
3864
|
-
|
|
3862
|
+
customElements.define("circle-exclamation-icon", Ot(Ai, {}, [], [], !0));
|
|
3863
|
+
function Hi(e) {
|
|
3864
|
+
Pr(e, "svelte-1kygizb", '.DisplayNone.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:none}.ContainerCenter.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{margin-bottom:30px}.AccordionHeader.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{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-1kygizb.svelte-1kygizb.svelte-1kygizb{margin-bottom:10px}.AccordionContent.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:block;padding:10px 0}.AccordionContent.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:last-of-type{padding-bottom:0}.ConsentItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:last-of-type{margin-bottom:0}.ConsentItem.svelte-1kygizb .ConsentName.svelte-1kygizb.svelte-1kygizb{margin:0}.ConsentItem.svelte-1kygizb .ConsentDescription.svelte-1kygizb.svelte-1kygizb{font-size:0.8rem}.ToggleSwitch.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{width:53px;height:30px}.ToggleSwitch.Big.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb.svelte-1kygizb{opacity:0;width:0;height:0}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:disabled+.Slider.svelte-1kygizb{opacity:0.1}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:focus+.Slider.svelte-1kygizb{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb{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-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb: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-1kygizb .Slider.Round.svelte-1kygizb.svelte-1kygizb{border-radius:34px}.ToggleSwitch.svelte-1kygizb .Slider.Round.svelte-1kygizb.svelte-1kygizb:before{border-radius:50%}.SaveConsentsButton.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{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-1kygizb.svelte-1kygizb.svelte-1kygizb:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-1kygizb circle-exclamation-icon.svelte-1kygizb.svelte-1kygizb{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox.svelte-1kygizb.svelte-1kygizb{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__wrapper.svelte-1kygizb.svelte-1kygizb{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-1kygizb.svelte-1kygizb{position:relative}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__input.svelte-1kygizb.svelte-1kygizb{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__label.svelte-1kygizb.svelte-1kygizb{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-1kygizb .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-1kygizb.svelte-1kygizb{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__error-message.svelte-1kygizb.svelte-1kygizb{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-1kygizb.svelte-1kygizb{width:16px;height:auto}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip.svelte-1kygizb.svelte-1kygizb{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-1kygizb .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-1kygizb.svelte-1kygizb{opacity:1}');
|
|
3865
3865
|
}
|
|
3866
|
-
function
|
|
3866
|
+
function Et(e, t, r) {
|
|
3867
3867
|
const n = e.slice();
|
|
3868
3868
|
return n[64] = t[r], n;
|
|
3869
3869
|
}
|
|
@@ -3875,19 +3875,19 @@ function St(e, t, r) {
|
|
|
3875
3875
|
const n = e.slice();
|
|
3876
3876
|
return n[64] = t[r], n;
|
|
3877
3877
|
}
|
|
3878
|
-
function
|
|
3878
|
+
function Pi(e) {
|
|
3879
3879
|
let t, r, n = $(
|
|
3880
3880
|
/*playerConsents*/
|
|
3881
3881
|
e[9]
|
|
3882
3882
|
), i = [];
|
|
3883
3883
|
for (let o = 0; o < n.length; o += 1)
|
|
3884
|
-
i[o] = xt(
|
|
3884
|
+
i[o] = xt(Et(e, n, o));
|
|
3885
3885
|
return {
|
|
3886
3886
|
c() {
|
|
3887
|
-
t =
|
|
3887
|
+
t = N("div"), r = N("form");
|
|
3888
3888
|
for (let o = 0; o < i.length; o += 1)
|
|
3889
3889
|
i[o].c();
|
|
3890
|
-
|
|
3890
|
+
k(r, "class", "checkbox svelte-1kygizb"), k(t, "class", "legacyStyle");
|
|
3891
3891
|
},
|
|
3892
3892
|
m(o, a) {
|
|
3893
3893
|
j(o, t, a), x(t, r);
|
|
@@ -3904,7 +3904,7 @@ function Bi(e) {
|
|
|
3904
3904
|
);
|
|
3905
3905
|
let s;
|
|
3906
3906
|
for (s = 0; s < n.length; s += 1) {
|
|
3907
|
-
const h =
|
|
3907
|
+
const h = Et(o, n, s);
|
|
3908
3908
|
i[s] ? i[s].p(h, a) : (i[s] = xt(h), i[s].c(), i[s].m(r, null));
|
|
3909
3909
|
}
|
|
3910
3910
|
for (; s < i.length; s += 1)
|
|
@@ -3917,7 +3917,7 @@ function Bi(e) {
|
|
|
3917
3917
|
}
|
|
3918
3918
|
};
|
|
3919
3919
|
}
|
|
3920
|
-
function
|
|
3920
|
+
function Bi(e) {
|
|
3921
3921
|
let t = (
|
|
3922
3922
|
/*$_*/
|
|
3923
3923
|
e[16]("title") || /*$_*/
|
|
@@ -3925,63 +3925,63 @@ function zi(e) {
|
|
|
3925
3925
|
), r, n, i, o = (
|
|
3926
3926
|
/*$_*/
|
|
3927
3927
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
3928
|
-
), a, s, h, u, l, d = t &&
|
|
3928
|
+
), a, s, h, u, l, d = t && zt(e), g = $(
|
|
3929
3929
|
/*consentsCategories*/
|
|
3930
3930
|
e[8]
|
|
3931
3931
|
), b = [];
|
|
3932
|
-
for (let
|
|
3933
|
-
b[
|
|
3932
|
+
for (let m = 0; m < g.length; m += 1)
|
|
3933
|
+
b[m] = Ht(Ct(e, g, m));
|
|
3934
3934
|
let f = (
|
|
3935
3935
|
/*errorMessage*/
|
|
3936
|
-
e[6] &&
|
|
3936
|
+
e[6] && Pt(e)
|
|
3937
3937
|
);
|
|
3938
3938
|
return {
|
|
3939
3939
|
c() {
|
|
3940
|
-
d && d.c(), r =
|
|
3941
|
-
for (let
|
|
3942
|
-
b[
|
|
3943
|
-
n =
|
|
3940
|
+
d && d.c(), r = G();
|
|
3941
|
+
for (let m = 0; m < b.length; m += 1)
|
|
3942
|
+
b[m].c();
|
|
3943
|
+
n = G(), i = N("button"), s = G(), f && f.c(), h = Ur(), k(i, "class", "SaveConsentsButton svelte-1kygizb"), i.disabled = a = !/*isValid*/
|
|
3944
3944
|
e[14];
|
|
3945
3945
|
},
|
|
3946
|
-
m(
|
|
3947
|
-
d && d.m(
|
|
3946
|
+
m(m, S) {
|
|
3947
|
+
d && d.m(m, S), j(m, r, S);
|
|
3948
3948
|
for (let _ = 0; _ < b.length; _ += 1)
|
|
3949
|
-
b[_] && b[_].m(
|
|
3950
|
-
j(
|
|
3949
|
+
b[_] && b[_].m(m, S);
|
|
3950
|
+
j(m, n, S), j(m, i, S), i.innerHTML = o, j(m, s, S), f && f.m(m, S), j(m, h, S), u || (l = de(
|
|
3951
3951
|
i,
|
|
3952
3952
|
"click",
|
|
3953
3953
|
/*saveChanges*/
|
|
3954
3954
|
e[17]
|
|
3955
3955
|
), u = !0);
|
|
3956
3956
|
},
|
|
3957
|
-
p(
|
|
3957
|
+
p(m, S) {
|
|
3958
3958
|
if (S[0] & /*$_*/
|
|
3959
3959
|
65536 && (t = /*$_*/
|
|
3960
|
-
|
|
3961
|
-
|
|
3960
|
+
m[16]("title") || /*$_*/
|
|
3961
|
+
m[16]("description")), t ? d ? d.p(m, S) : (d = zt(m), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
|
|
3962
3962
|
867088) {
|
|
3963
|
-
|
|
3963
|
+
g = $(
|
|
3964
3964
|
/*consentsCategories*/
|
|
3965
|
-
|
|
3965
|
+
m[8]
|
|
3966
3966
|
);
|
|
3967
3967
|
let _;
|
|
3968
|
-
for (_ = 0; _ <
|
|
3969
|
-
const
|
|
3970
|
-
b[_] ? b[_].p(
|
|
3968
|
+
for (_ = 0; _ < g.length; _ += 1) {
|
|
3969
|
+
const y = Ct(m, g, _);
|
|
3970
|
+
b[_] ? b[_].p(y, S) : (b[_] = Ht(y), b[_].c(), b[_].m(n.parentNode, n));
|
|
3971
3971
|
}
|
|
3972
3972
|
for (; _ < b.length; _ += 1)
|
|
3973
3973
|
b[_].d(1);
|
|
3974
|
-
b.length =
|
|
3974
|
+
b.length = g.length;
|
|
3975
3975
|
}
|
|
3976
3976
|
S[0] & /*$_*/
|
|
3977
3977
|
65536 && o !== (o = /*$_*/
|
|
3978
|
-
(
|
|
3978
|
+
(m[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
|
|
3979
3979
|
16384 && a !== (a = !/*isValid*/
|
|
3980
|
-
|
|
3981
|
-
|
|
3980
|
+
m[14]) && (i.disabled = a), /*errorMessage*/
|
|
3981
|
+
m[6] ? f ? f.p(m, S) : (f = Pt(m), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
|
|
3982
3982
|
},
|
|
3983
|
-
d(
|
|
3984
|
-
|
|
3983
|
+
d(m) {
|
|
3984
|
+
m && (L(r), L(n), L(i), L(s), L(h)), d && d.d(m), Ye(b, m), f && f.d(m), u = !1, l();
|
|
3985
3985
|
}
|
|
3986
3986
|
};
|
|
3987
3987
|
}
|
|
@@ -3989,10 +3989,10 @@ function Oi(e) {
|
|
|
3989
3989
|
let t, r, n;
|
|
3990
3990
|
return {
|
|
3991
3991
|
c() {
|
|
3992
|
-
t =
|
|
3992
|
+
t = N("div"), r = N("strong"), n = pe(
|
|
3993
3993
|
/*fatalError*/
|
|
3994
3994
|
e[7]
|
|
3995
|
-
),
|
|
3995
|
+
), k(r, "class", "ErrorMessage svelte-1kygizb"), k(t, "class", "ContainerCenter svelte-1kygizb");
|
|
3996
3996
|
},
|
|
3997
3997
|
m(i, o) {
|
|
3998
3998
|
j(i, t, o), x(t, r), x(r, n);
|
|
@@ -4014,7 +4014,7 @@ function Ii(e) {
|
|
|
4014
4014
|
let t;
|
|
4015
4015
|
return {
|
|
4016
4016
|
c() {
|
|
4017
|
-
t =
|
|
4017
|
+
t = N("general-animation-loading"), Q(
|
|
4018
4018
|
t,
|
|
4019
4019
|
"clientstyling",
|
|
4020
4020
|
/*clientstyling*/
|
|
@@ -4069,64 +4069,64 @@ function xt(e) {
|
|
|
4069
4069
|
), l = (
|
|
4070
4070
|
/*consent*/
|
|
4071
4071
|
e[64].mustAccept ? " *" : ""
|
|
4072
|
-
), d,
|
|
4073
|
-
function
|
|
4072
|
+
), d, g, b, f, m, S, _, y, C;
|
|
4073
|
+
function H(...E) {
|
|
4074
4074
|
return (
|
|
4075
4075
|
/*input_handler_1*/
|
|
4076
4076
|
e[30](
|
|
4077
4077
|
/*consent*/
|
|
4078
4078
|
e[64],
|
|
4079
|
-
...
|
|
4079
|
+
...E
|
|
4080
4080
|
)
|
|
4081
4081
|
);
|
|
4082
4082
|
}
|
|
4083
4083
|
return {
|
|
4084
4084
|
c() {
|
|
4085
|
-
t =
|
|
4086
|
-
e[64].status === "1",
|
|
4087
|
-
e[64].tagCode}__input`), h.a = d,
|
|
4088
|
-
e[64].tagCode}__input`),
|
|
4089
|
-
e[64].tagCode),
|
|
4090
|
-
e[64].tagCode + "__input svelte-
|
|
4085
|
+
t = N("div"), r = N("input"), o = G(), a = N("label"), s = N("div"), h = new Lt(!1), d = pe(l), b = G(), f = N("small"), S = G(), k(r, "class", "checkbox__input svelte-1kygizb"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
|
|
4086
|
+
e[64].status === "1", k(r, "id", i = `${/*consent*/
|
|
4087
|
+
e[64].tagCode}__input`), h.a = d, k(s, "class", "checkbox__label-text svelte-1kygizb"), k(a, "class", "checkbox__label svelte-1kygizb"), k(a, "for", g = `${/*consent*/
|
|
4088
|
+
e[64].tagCode}__input`), k(f, "class", "checkbox__error-message svelte-1kygizb"), k(f, "id", m = "checkBoxError__" + /*consent*/
|
|
4089
|
+
e[64].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
4090
|
+
e[64].tagCode + "__input svelte-1kygizb");
|
|
4091
4091
|
},
|
|
4092
|
-
m(
|
|
4093
|
-
j(
|
|
4092
|
+
m(E, B) {
|
|
4093
|
+
j(E, t, B), x(t, r), x(t, o), x(t, a), x(a, s), h.m(u, s), x(s, d), x(t, b), x(t, f), x(t, S), y || (C = de(r, "input", H), y = !0);
|
|
4094
4094
|
},
|
|
4095
|
-
p(
|
|
4096
|
-
e =
|
|
4095
|
+
p(E, B) {
|
|
4096
|
+
e = E, B[0] & /*playerConsents*/
|
|
4097
4097
|
512 && n !== (n = /*consent*/
|
|
4098
|
-
e[64].status === "1") && (r.checked = n),
|
|
4098
|
+
e[64].status === "1") && (r.checked = n), B[0] & /*playerConsents*/
|
|
4099
4099
|
512 && i !== (i = `${/*consent*/
|
|
4100
|
-
e[64].tagCode}__input`) &&
|
|
4100
|
+
e[64].tagCode}__input`) && k(r, "id", i), B[0] & /*$_, playerConsents*/
|
|
4101
4101
|
66048 && u !== (u = /*$_*/
|
|
4102
4102
|
(e[16](`${/*consent*/
|
|
4103
4103
|
e[64].tagCode}__description`) || /*consent*/
|
|
4104
|
-
e[64].tagCode) + "") && h.p(u),
|
|
4104
|
+
e[64].tagCode) + "") && h.p(u), B[0] & /*playerConsents*/
|
|
4105
4105
|
512 && l !== (l = /*consent*/
|
|
4106
|
-
e[64].mustAccept ? " *" : "") && fe(d, l),
|
|
4107
|
-
512 &&
|
|
4108
|
-
e[64].tagCode}__input`) &&
|
|
4109
|
-
512 &&
|
|
4110
|
-
e[64].tagCode) &&
|
|
4106
|
+
e[64].mustAccept ? " *" : "") && fe(d, l), B[0] & /*playerConsents*/
|
|
4107
|
+
512 && g !== (g = `${/*consent*/
|
|
4108
|
+
e[64].tagCode}__input`) && k(a, "for", g), B[0] & /*playerConsents*/
|
|
4109
|
+
512 && m !== (m = "checkBoxError__" + /*consent*/
|
|
4110
|
+
e[64].tagCode) && k(f, "id", m), B[0] & /*playerConsents*/
|
|
4111
4111
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
4112
|
-
e[64].tagCode + "__input svelte-
|
|
4112
|
+
e[64].tagCode + "__input svelte-1kygizb") && k(t, "class", _);
|
|
4113
4113
|
},
|
|
4114
|
-
d(
|
|
4115
|
-
|
|
4114
|
+
d(E) {
|
|
4115
|
+
E && L(t), y = !1, C();
|
|
4116
4116
|
}
|
|
4117
4117
|
};
|
|
4118
4118
|
}
|
|
4119
|
-
function
|
|
4119
|
+
function zt(e) {
|
|
4120
4120
|
let t, r = (
|
|
4121
4121
|
/*$_*/
|
|
4122
4122
|
e[16]("title")
|
|
4123
4123
|
), n, i = (
|
|
4124
4124
|
/*$_*/
|
|
4125
4125
|
e[16]("description")
|
|
4126
|
-
), o = r &&
|
|
4126
|
+
), o = r && Mt(e), a = i && Tt(e);
|
|
4127
4127
|
return {
|
|
4128
4128
|
c() {
|
|
4129
|
-
t =
|
|
4129
|
+
t = N("div"), o && o.c(), n = G(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-1kygizb");
|
|
4130
4130
|
},
|
|
4131
4131
|
m(s, h) {
|
|
4132
4132
|
j(s, t, h), o && o.m(t, null), x(t, n), a && a.m(t, null);
|
|
@@ -4134,23 +4134,23 @@ function Mt(e) {
|
|
|
4134
4134
|
p(s, h) {
|
|
4135
4135
|
h[0] & /*$_*/
|
|
4136
4136
|
65536 && (r = /*$_*/
|
|
4137
|
-
s[16]("title")), r ? o ? o.p(s, h) : (o =
|
|
4137
|
+
s[16]("title")), r ? o ? o.p(s, h) : (o = Mt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
|
|
4138
4138
|
65536 && (i = /*$_*/
|
|
4139
|
-
s[16]("description")), i ? a ? a.p(s, h) : (a =
|
|
4139
|
+
s[16]("description")), i ? a ? a.p(s, h) : (a = Tt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4140
4140
|
},
|
|
4141
4141
|
d(s) {
|
|
4142
4142
|
s && L(t), o && o.d(), a && a.d();
|
|
4143
4143
|
}
|
|
4144
4144
|
};
|
|
4145
4145
|
}
|
|
4146
|
-
function
|
|
4146
|
+
function Mt(e) {
|
|
4147
4147
|
let t, r = (
|
|
4148
4148
|
/*$_*/
|
|
4149
4149
|
e[16]("title") + ""
|
|
4150
4150
|
), n;
|
|
4151
4151
|
return {
|
|
4152
4152
|
c() {
|
|
4153
|
-
t =
|
|
4153
|
+
t = N("h2"), n = pe(r), k(t, "class", "PlayerConsentsTitle");
|
|
4154
4154
|
},
|
|
4155
4155
|
m(i, o) {
|
|
4156
4156
|
j(i, t, o), x(t, n);
|
|
@@ -4165,14 +4165,14 @@ function Tt(e) {
|
|
|
4165
4165
|
}
|
|
4166
4166
|
};
|
|
4167
4167
|
}
|
|
4168
|
-
function
|
|
4168
|
+
function Tt(e) {
|
|
4169
4169
|
let t, r = (
|
|
4170
4170
|
/*$_*/
|
|
4171
4171
|
e[16]("description") + ""
|
|
4172
4172
|
), n;
|
|
4173
4173
|
return {
|
|
4174
4174
|
c() {
|
|
4175
|
-
t =
|
|
4175
|
+
t = N("p"), n = pe(r), k(t, "class", "PlayerConsentsDescription");
|
|
4176
4176
|
},
|
|
4177
4177
|
m(i, o) {
|
|
4178
4178
|
j(i, t, o), x(t, n);
|
|
@@ -4187,11 +4187,11 @@ function wt(e) {
|
|
|
4187
4187
|
}
|
|
4188
4188
|
};
|
|
4189
4189
|
}
|
|
4190
|
-
function
|
|
4190
|
+
function wt(e) {
|
|
4191
4191
|
let t;
|
|
4192
4192
|
return {
|
|
4193
4193
|
c() {
|
|
4194
|
-
t =
|
|
4194
|
+
t = N("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-1kygizb");
|
|
4195
4195
|
},
|
|
4196
4196
|
m(r, n) {
|
|
4197
4197
|
j(r, t, n);
|
|
@@ -4201,7 +4201,7 @@ function Nt(e) {
|
|
|
4201
4201
|
}
|
|
4202
4202
|
};
|
|
4203
4203
|
}
|
|
4204
|
-
function
|
|
4204
|
+
function Nt(e) {
|
|
4205
4205
|
let t, r = (
|
|
4206
4206
|
/*$_*/
|
|
4207
4207
|
(e[16](`${/*consent*/
|
|
@@ -4210,7 +4210,7 @@ function At(e) {
|
|
|
4210
4210
|
);
|
|
4211
4211
|
return {
|
|
4212
4212
|
c() {
|
|
4213
|
-
t =
|
|
4213
|
+
t = N("p"), k(t, "class", "ConsentDescription svelte-1kygizb");
|
|
4214
4214
|
},
|
|
4215
4215
|
m(n, i) {
|
|
4216
4216
|
j(n, t, i), t.innerHTML = r;
|
|
@@ -4227,77 +4227,77 @@ function At(e) {
|
|
|
4227
4227
|
}
|
|
4228
4228
|
};
|
|
4229
4229
|
}
|
|
4230
|
-
function
|
|
4230
|
+
function At(e) {
|
|
4231
4231
|
let t, r, n, i, o = (
|
|
4232
4232
|
/*$_*/
|
|
4233
4233
|
(e[16](`${/*consent*/
|
|
4234
4234
|
e[64].tagCode}__name`) || /*consent*/
|
|
4235
4235
|
e[64].friendlyName) + ""
|
|
4236
|
-
), a, s, h, u, l, d,
|
|
4236
|
+
), a, s, h, u, l, d, g, b, f, m, S, _ = (
|
|
4237
4237
|
/*consent*/
|
|
4238
|
-
e[64].mustAccept === !0 &&
|
|
4239
|
-
),
|
|
4238
|
+
e[64].mustAccept === !0 && wt()
|
|
4239
|
+
), y = (
|
|
4240
4240
|
/*displayconsentdescription*/
|
|
4241
|
-
e[4] === "true" &&
|
|
4241
|
+
e[4] === "true" && Nt(e)
|
|
4242
4242
|
);
|
|
4243
|
-
function C(...
|
|
4243
|
+
function C(...H) {
|
|
4244
4244
|
return (
|
|
4245
4245
|
/*input_handler*/
|
|
4246
4246
|
e[29](
|
|
4247
4247
|
/*consent*/
|
|
4248
4248
|
e[64],
|
|
4249
|
-
...
|
|
4249
|
+
...H
|
|
4250
4250
|
)
|
|
4251
4251
|
);
|
|
4252
4252
|
}
|
|
4253
4253
|
return {
|
|
4254
4254
|
c() {
|
|
4255
|
-
t =
|
|
4255
|
+
t = N("div"), r = N("div"), n = N("h4"), i = new Lt(!1), a = G(), _ && _.c(), s = G(), y && y.c(), h = G(), u = N("label"), l = N("input"), b = G(), f = N("span"), i.a = a, k(n, "class", "ConsentName svelte-1kygizb"), k(r, "class", "ConsentContent"), k(l, "type", "checkbox"), l.disabled = d = /*consent*/
|
|
4256
4256
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
4257
4257
|
e[12][
|
|
4258
4258
|
/*consent*/
|
|
4259
4259
|
e[64].tagCode
|
|
4260
|
-
] === !0, l.checked =
|
|
4260
|
+
] === !0, l.checked = g = /*consentsState*/
|
|
4261
4261
|
e[13][
|
|
4262
4262
|
/*consent*/
|
|
4263
4263
|
e[64].tagCode
|
|
4264
|
-
],
|
|
4264
|
+
], k(l, "class", "svelte-1kygizb"), k(f, "class", "Slider Round svelte-1kygizb"), k(u, "class", "ToggleSwitch svelte-1kygizb"), k(t, "class", "ConsentItem svelte-1kygizb");
|
|
4265
4265
|
},
|
|
4266
|
-
m(
|
|
4267
|
-
j(
|
|
4266
|
+
m(H, E) {
|
|
4267
|
+
j(H, t, E), x(t, r), x(r, n), i.m(o, n), x(n, a), _ && _.m(n, null), x(r, s), y && y.m(r, null), x(t, h), x(t, u), x(u, l), x(u, b), x(u, f), m || (S = de(l, "input", C), m = !0);
|
|
4268
4268
|
},
|
|
4269
|
-
p(
|
|
4270
|
-
e =
|
|
4269
|
+
p(H, E) {
|
|
4270
|
+
e = H, E[0] & /*$_, playerConsents, consentsCategories*/
|
|
4271
4271
|
66304 && o !== (o = /*$_*/
|
|
4272
4272
|
(e[16](`${/*consent*/
|
|
4273
4273
|
e[64].tagCode}__name`) || /*consent*/
|
|
4274
4274
|
e[64].friendlyName) + "") && i.p(o), /*consent*/
|
|
4275
|
-
e[64].mustAccept === !0 ? _ || (_ =
|
|
4276
|
-
e[4] === "true" ?
|
|
4275
|
+
e[64].mustAccept === !0 ? _ || (_ = wt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
4276
|
+
e[4] === "true" ? y ? y.p(e, E) : (y = Nt(e), y.c(), y.m(r, null)) : y && (y.d(1), y = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
|
|
4277
4277
|
4864 && d !== (d = /*consent*/
|
|
4278
4278
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
4279
4279
|
e[12][
|
|
4280
4280
|
/*consent*/
|
|
4281
4281
|
e[64].tagCode
|
|
4282
|
-
] === !0) && (l.disabled = d),
|
|
4283
|
-
8960 &&
|
|
4282
|
+
] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
4283
|
+
8960 && g !== (g = /*consentsState*/
|
|
4284
4284
|
e[13][
|
|
4285
4285
|
/*consent*/
|
|
4286
4286
|
e[64].tagCode
|
|
4287
|
-
]) && (l.checked =
|
|
4287
|
+
]) && (l.checked = g);
|
|
4288
4288
|
},
|
|
4289
|
-
d(
|
|
4290
|
-
|
|
4289
|
+
d(H) {
|
|
4290
|
+
H && L(t), _ && _.d(), y && y.d(), m = !1, S();
|
|
4291
4291
|
}
|
|
4292
4292
|
};
|
|
4293
4293
|
}
|
|
4294
|
-
function
|
|
4294
|
+
function Ht(e) {
|
|
4295
4295
|
let t, r, n, i = (
|
|
4296
4296
|
/*$_*/
|
|
4297
4297
|
(e[16](`${/*category*/
|
|
4298
4298
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
4299
4299
|
e[61].friendlyName) + ""
|
|
4300
|
-
), o, a, s, h, u, l, d,
|
|
4300
|
+
), o, a, s, h, u, l, d, g, b;
|
|
4301
4301
|
function f() {
|
|
4302
4302
|
e[26].call(
|
|
4303
4303
|
s,
|
|
@@ -4305,7 +4305,7 @@ function Pt(e) {
|
|
|
4305
4305
|
e[61]
|
|
4306
4306
|
);
|
|
4307
4307
|
}
|
|
4308
|
-
function
|
|
4308
|
+
function m() {
|
|
4309
4309
|
return (
|
|
4310
4310
|
/*change_handler*/
|
|
4311
4311
|
e[27](
|
|
@@ -4327,68 +4327,68 @@ function Pt(e) {
|
|
|
4327
4327
|
let _ = $(
|
|
4328
4328
|
/*playerConsents*/
|
|
4329
4329
|
e[9].filter(S)
|
|
4330
|
-
),
|
|
4330
|
+
), y = [];
|
|
4331
4331
|
for (let C = 0; C < _.length; C += 1)
|
|
4332
|
-
|
|
4332
|
+
y[C] = At(St(e, _, C));
|
|
4333
4333
|
return {
|
|
4334
4334
|
c() {
|
|
4335
|
-
t =
|
|
4336
|
-
for (let C = 0; C <
|
|
4337
|
-
|
|
4338
|
-
|
|
4335
|
+
t = N("div"), r = N("div"), n = N("h3"), o = G(), a = N("label"), s = N("input"), h = G(), u = N("span"), l = G(), d = N("div");
|
|
4336
|
+
for (let C = 0; C < y.length; C += 1)
|
|
4337
|
+
y[C].c();
|
|
4338
|
+
k(s, "type", "checkbox"), k(s, "class", "svelte-1kygizb"), k(u, "class", "Slider Round svelte-1kygizb"), k(a, "class", "ToggleSwitch Big svelte-1kygizb"), k(r, "class", "AccordionHeader svelte-1kygizb"), k(d, "class", "AccordionContent svelte-1kygizb"), k(t, "class", "AccordionItem svelte-1kygizb");
|
|
4339
4339
|
},
|
|
4340
|
-
m(C,
|
|
4341
|
-
j(C, t,
|
|
4340
|
+
m(C, H) {
|
|
4341
|
+
j(C, t, H), x(t, r), x(r, n), n.innerHTML = i, x(r, o), x(r, a), x(a, s), s.checked = /*categoryToggle*/
|
|
4342
4342
|
e[11][
|
|
4343
4343
|
/*category*/
|
|
4344
4344
|
e[61].categoryTagCode
|
|
4345
4345
|
], x(a, h), x(a, u), x(t, l), x(t, d);
|
|
4346
|
-
for (let
|
|
4347
|
-
|
|
4348
|
-
|
|
4346
|
+
for (let E = 0; E < y.length; E += 1)
|
|
4347
|
+
y[E] && y[E].m(d, null);
|
|
4348
|
+
g || (b = [
|
|
4349
4349
|
de(s, "change", f),
|
|
4350
|
-
de(s, "change",
|
|
4351
|
-
],
|
|
4350
|
+
de(s, "change", m)
|
|
4351
|
+
], g = !0);
|
|
4352
4352
|
},
|
|
4353
|
-
p(C,
|
|
4354
|
-
if (e = C,
|
|
4353
|
+
p(C, H) {
|
|
4354
|
+
if (e = C, H[0] & /*$_, consentsCategories*/
|
|
4355
4355
|
65792 && i !== (i = /*$_*/
|
|
4356
4356
|
(e[16](`${/*category*/
|
|
4357
4357
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
4358
|
-
e[61].friendlyName) + "") && (n.innerHTML = i),
|
|
4358
|
+
e[61].friendlyName) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
|
|
4359
4359
|
2304 && (s.checked = /*categoryToggle*/
|
|
4360
4360
|
e[11][
|
|
4361
4361
|
/*category*/
|
|
4362
4362
|
e[61].categoryTagCode
|
|
4363
|
-
]),
|
|
4363
|
+
]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
|
|
4364
4364
|
602896) {
|
|
4365
4365
|
_ = $(
|
|
4366
4366
|
/*playerConsents*/
|
|
4367
4367
|
e[9].filter(S)
|
|
4368
4368
|
);
|
|
4369
|
-
let
|
|
4370
|
-
for (
|
|
4371
|
-
const
|
|
4372
|
-
|
|
4369
|
+
let E;
|
|
4370
|
+
for (E = 0; E < _.length; E += 1) {
|
|
4371
|
+
const B = St(e, _, E);
|
|
4372
|
+
y[E] ? y[E].p(B, H) : (y[E] = At(B), y[E].c(), y[E].m(d, null));
|
|
4373
4373
|
}
|
|
4374
|
-
for (;
|
|
4375
|
-
|
|
4376
|
-
|
|
4374
|
+
for (; E < y.length; E += 1)
|
|
4375
|
+
y[E].d(1);
|
|
4376
|
+
y.length = _.length;
|
|
4377
4377
|
}
|
|
4378
4378
|
},
|
|
4379
4379
|
d(C) {
|
|
4380
|
-
C && L(t), Ye(
|
|
4380
|
+
C && L(t), Ye(y, C), g = !1, Bt(b);
|
|
4381
4381
|
}
|
|
4382
4382
|
};
|
|
4383
4383
|
}
|
|
4384
|
-
function
|
|
4384
|
+
function Pt(e) {
|
|
4385
4385
|
let t, r, n, i, o;
|
|
4386
4386
|
return {
|
|
4387
4387
|
c() {
|
|
4388
|
-
t =
|
|
4388
|
+
t = N("div"), r = N("circle-exclamation-icon"), n = G(), i = N("strong"), o = pe(
|
|
4389
4389
|
/*errorMessage*/
|
|
4390
4390
|
e[6]
|
|
4391
|
-
), Q(r, "class", "svelte-
|
|
4391
|
+
), Q(r, "class", "svelte-1kygizb"), k(i, "class", "ErrorMessage svelte-1kygizb"), k(t, "class", "ConsentErrorContainer svelte-1kygizb");
|
|
4392
4392
|
},
|
|
4393
4393
|
m(a, s) {
|
|
4394
4394
|
j(a, t, s), x(t, r), x(t, n), x(t, i), x(i, o);
|
|
@@ -4423,15 +4423,15 @@ function ji(e) {
|
|
|
4423
4423
|
/*session*/
|
|
4424
4424
|
a[0]
|
|
4425
4425
|
)
|
|
4426
|
-
return
|
|
4426
|
+
return Bi;
|
|
4427
4427
|
if (!/*session*/
|
|
4428
4428
|
a[0])
|
|
4429
|
-
return
|
|
4429
|
+
return Pi;
|
|
4430
4430
|
}
|
|
4431
4431
|
let i = n(e), o = i && i(e);
|
|
4432
4432
|
return {
|
|
4433
4433
|
c() {
|
|
4434
|
-
t =
|
|
4434
|
+
t = N("div"), r = N("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-1kygizb"), k(t, "class", jr("") + " svelte-1kygizb");
|
|
4435
4435
|
},
|
|
4436
4436
|
m(a, s) {
|
|
4437
4437
|
j(a, t, s), x(t, r), o && o.m(r, null), e[32](r);
|
|
@@ -4439,8 +4439,8 @@ function ji(e) {
|
|
|
4439
4439
|
p(a, s) {
|
|
4440
4440
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
4441
4441
|
},
|
|
4442
|
-
i:
|
|
4443
|
-
o:
|
|
4442
|
+
i: q,
|
|
4443
|
+
o: q,
|
|
4444
4444
|
d(a) {
|
|
4445
4445
|
a && L(t), o && o.d(), e[32](null);
|
|
4446
4446
|
}
|
|
@@ -4448,62 +4448,62 @@ function ji(e) {
|
|
|
4448
4448
|
}
|
|
4449
4449
|
function Li(e, t, r) {
|
|
4450
4450
|
let n;
|
|
4451
|
-
|
|
4452
|
-
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:
|
|
4451
|
+
Br(e, Ti, (c) => r(16, n = c));
|
|
4452
|
+
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: g = "" } = t, { modalconsents: b = "false" } = t, f, m, S = !1, _ = !1, y = "", C = "", H = "", E = "", B = [], W = [], O = [], se = !0, be = !0, F = {}, ye = {}, Z = {}, U = {}, le, ve, R = {
|
|
4453
4453
|
none: { key: "0", value: "None" },
|
|
4454
4454
|
accepted: { key: "1", value: "Accepted" },
|
|
4455
4455
|
expired: { key: "2", value: "Expired" },
|
|
4456
4456
|
denied: { key: "3", value: "Denied" },
|
|
4457
4457
|
suspended: { key: "4", value: "Suspended" }
|
|
4458
|
-
},
|
|
4459
|
-
Object.keys(
|
|
4460
|
-
|
|
4458
|
+
}, ke = !1;
|
|
4459
|
+
Object.keys(kt).forEach((c) => {
|
|
4460
|
+
vt(c, kt[c]);
|
|
4461
4461
|
});
|
|
4462
4462
|
const cr = () => {
|
|
4463
|
-
|
|
4463
|
+
wi(l);
|
|
4464
4464
|
}, ur = () => {
|
|
4465
|
-
let c = new URL(
|
|
4465
|
+
let c = new URL(g);
|
|
4466
4466
|
fetch(c.href).then((p) => p.json()).then((p) => {
|
|
4467
|
-
Object.keys(p).forEach((
|
|
4468
|
-
|
|
4467
|
+
Object.keys(p).forEach((M) => {
|
|
4468
|
+
vt(M, p[M]);
|
|
4469
4469
|
});
|
|
4470
4470
|
}).catch((p) => {
|
|
4471
4471
|
console.log(p);
|
|
4472
4472
|
});
|
|
4473
4473
|
}, hr = () => {
|
|
4474
|
-
i && (
|
|
4475
|
-
},
|
|
4476
|
-
p ? r(7,
|
|
4477
|
-
}, ce = async (c, p,
|
|
4474
|
+
i && (y = i, _ = !0), o && (C = o);
|
|
4475
|
+
}, Ee = (c, p = !1) => {
|
|
4476
|
+
p ? r(7, E = c) : (_r(), r(6, H = c));
|
|
4477
|
+
}, ce = async (c, p, M, v = !1) => {
|
|
4478
4478
|
try {
|
|
4479
|
-
const
|
|
4480
|
-
if (!
|
|
4479
|
+
const z = await fetch(c, M);
|
|
4480
|
+
if (!z.ok)
|
|
4481
4481
|
throw new Error(n(p));
|
|
4482
|
-
const I = await
|
|
4483
|
-
return _ ? I : I.filter((
|
|
4484
|
-
} catch (
|
|
4485
|
-
throw
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
),
|
|
4482
|
+
const I = await z.json();
|
|
4483
|
+
return _ ? I : I.filter((V) => V.showOnRegister === !0);
|
|
4484
|
+
} catch (z) {
|
|
4485
|
+
throw Ee(
|
|
4486
|
+
z instanceof TypeError ? n(p) : z.message,
|
|
4487
|
+
v
|
|
4488
|
+
), z;
|
|
4489
4489
|
}
|
|
4490
4490
|
}, dr = async () => {
|
|
4491
4491
|
try {
|
|
4492
4492
|
let c = [], p = [];
|
|
4493
|
-
if (_ ? [c, p] = await rt() : c = await rt(), r(10, se = !1), W = [...c], r(8,
|
|
4494
|
-
let
|
|
4495
|
-
|
|
4496
|
-
...
|
|
4493
|
+
if (_ ? [c, p] = await rt() : c = await rt(), r(10, se = !1), W = [...c], r(8, B = mr(W).sort((M, v) => M.categoryTagCode.localeCompare(v.categoryTagCode))), r(11, F = pr(B)), ye = { ...F }, r(9, O = [...p]), W.forEach((M) => {
|
|
4494
|
+
let v = O.find((z) => z.tagCode === M.tagCode);
|
|
4495
|
+
v || (v = {
|
|
4496
|
+
...M,
|
|
4497
4497
|
status: R.denied.value
|
|
4498
|
-
}, O.push(
|
|
4498
|
+
}, O.push(v)), v.description = M.description, v.orderNumber = M.orderNumber;
|
|
4499
4499
|
}), b === "true") {
|
|
4500
|
-
if (r(9, O = O.filter((
|
|
4500
|
+
if (r(9, O = O.filter((M) => M.status === R.expired.value)), O.length !== 0)
|
|
4501
4501
|
return;
|
|
4502
|
-
|
|
4502
|
+
Ee(n("wrongModalConfig"), !0);
|
|
4503
4503
|
}
|
|
4504
4504
|
fr();
|
|
4505
4505
|
} catch (c) {
|
|
4506
|
-
throw r(10, se = !1),
|
|
4506
|
+
throw r(10, se = !1), Ee(
|
|
4507
4507
|
c instanceof TypeError ? n("invalidUrl") : c.message,
|
|
4508
4508
|
!0
|
|
4509
4509
|
), c;
|
|
@@ -4518,52 +4518,52 @@ function Li(e, t, r) {
|
|
|
4518
4518
|
ce(p.href, "fetchPlayerConsentsError", {
|
|
4519
4519
|
method: "GET",
|
|
4520
4520
|
headers: {
|
|
4521
|
-
"X-SessionId":
|
|
4521
|
+
"X-SessionId": y,
|
|
4522
4522
|
"Content-Type": "application/json"
|
|
4523
4523
|
}
|
|
4524
4524
|
})
|
|
4525
4525
|
]);
|
|
4526
|
-
},
|
|
4527
|
-
|
|
4526
|
+
}, gr = () => {
|
|
4527
|
+
ke = !1;
|
|
4528
4528
|
const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
|
|
4529
4529
|
"Content-Type": "application/json",
|
|
4530
4530
|
Accept: "application/json"
|
|
4531
|
-
},
|
|
4532
|
-
fetch(c.href,
|
|
4533
|
-
if (!
|
|
4534
|
-
if (W =
|
|
4531
|
+
}, M = { method: "GET", headers: p };
|
|
4532
|
+
fetch(c.href, M).then((v) => v.ok ? v.json() : (ke = !0, v.json().then((z) => (console.error(z), Ce(z))))).then((v) => {
|
|
4533
|
+
if (!ke) {
|
|
4534
|
+
if (W = v, localStorage.getItem("playerConsents")) {
|
|
4535
4535
|
try {
|
|
4536
4536
|
r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
|
|
4537
|
-
} catch (
|
|
4538
|
-
return console.error(
|
|
4537
|
+
} catch (z) {
|
|
4538
|
+
return console.error(z), Ce(z);
|
|
4539
4539
|
}
|
|
4540
4540
|
return;
|
|
4541
4541
|
}
|
|
4542
|
-
return r(9, O = W.map((
|
|
4543
|
-
id:
|
|
4542
|
+
return r(9, O = W.map((z) => ({
|
|
4543
|
+
id: z.id,
|
|
4544
4544
|
status: R.denied.key,
|
|
4545
|
-
friendlyName:
|
|
4546
|
-
tagCode:
|
|
4545
|
+
friendlyName: z.friendlyName,
|
|
4546
|
+
tagCode: z.tagCode,
|
|
4547
4547
|
selected: null,
|
|
4548
|
-
mustAccept:
|
|
4548
|
+
mustAccept: z.mustAccept
|
|
4549
4549
|
}))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
|
|
4550
4550
|
}
|
|
4551
|
-
}).catch((
|
|
4551
|
+
}).catch((v) => (console.error(v), Ce(v))).finally(() => {
|
|
4552
4552
|
r(10, se = !1);
|
|
4553
4553
|
});
|
|
4554
|
-
},
|
|
4554
|
+
}, mr = (c) => {
|
|
4555
4555
|
const p = /* @__PURE__ */ new Map();
|
|
4556
|
-
return c.forEach((
|
|
4557
|
-
p.has(
|
|
4556
|
+
return c.forEach((M) => {
|
|
4557
|
+
p.has(M.category.categoryTagCode) || p.set(M.category.categoryTagCode, M.category);
|
|
4558
4558
|
}), Array.from(p.values());
|
|
4559
4559
|
}, pr = (c) => {
|
|
4560
4560
|
const p = localStorage.getItem("categoryToggle" + C);
|
|
4561
4561
|
if (p === null) {
|
|
4562
|
-
const
|
|
4563
|
-
(
|
|
4562
|
+
const M = c.reduce(
|
|
4563
|
+
(v, z) => (v[z.categoryTagCode] = !1, v),
|
|
4564
4564
|
{}
|
|
4565
4565
|
);
|
|
4566
|
-
return localStorage.setItem("categoryToggle" + C, JSON.stringify(
|
|
4566
|
+
return localStorage.setItem("categoryToggle" + C, JSON.stringify(M)), M;
|
|
4567
4567
|
} else
|
|
4568
4568
|
return JSON.parse(p);
|
|
4569
4569
|
}, fr = () => {
|
|
@@ -4571,23 +4571,23 @@ function Li(e, t, r) {
|
|
|
4571
4571
|
r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
|
|
4572
4572
|
}), r(13, U = { ...Z });
|
|
4573
4573
|
}, _r = () => {
|
|
4574
|
-
r(13, U = { ...Z }), r(11,
|
|
4574
|
+
r(13, U = { ...Z }), r(11, F = { ...ye });
|
|
4575
4575
|
}, br = async () => {
|
|
4576
4576
|
if (!be)
|
|
4577
4577
|
return;
|
|
4578
4578
|
be = !1;
|
|
4579
4579
|
const c = [], p = [];
|
|
4580
|
-
if (Object.keys(U).forEach((
|
|
4581
|
-
const
|
|
4582
|
-
U[
|
|
4583
|
-
tagCode:
|
|
4584
|
-
status: U[
|
|
4580
|
+
if (Object.keys(U).forEach((v) => {
|
|
4581
|
+
const z = O.find((I) => I.tagCode === v);
|
|
4582
|
+
U[v] !== Z[v] && (z ? c.push({
|
|
4583
|
+
tagCode: v,
|
|
4584
|
+
status: U[v] ? R.accepted.value : R.denied.value
|
|
4585
4585
|
}) : p.push({
|
|
4586
|
-
tagCode:
|
|
4587
|
-
status: U[
|
|
4586
|
+
tagCode: v,
|
|
4587
|
+
status: U[v] ? R.accepted.value : R.denied.value
|
|
4588
4588
|
}));
|
|
4589
4589
|
}), !_) {
|
|
4590
|
-
localStorage.setItem("categoryToggle" + C, JSON.stringify(
|
|
4590
|
+
localStorage.setItem("categoryToggle" + C, JSON.stringify(F)), ye = { ...F }, window.postMessage(
|
|
4591
4591
|
{
|
|
4592
4592
|
type: "NewPlayerConsentData",
|
|
4593
4593
|
data: JSON.stringify(p)
|
|
@@ -4596,40 +4596,40 @@ function Li(e, t, r) {
|
|
|
4596
4596
|
), be = !0;
|
|
4597
4597
|
return;
|
|
4598
4598
|
}
|
|
4599
|
-
const
|
|
4599
|
+
const M = new URL(`${a}/api/v1/gm/user-consents/${C}`);
|
|
4600
4600
|
try {
|
|
4601
|
-
const
|
|
4602
|
-
p.length > 0 && ce(
|
|
4601
|
+
const v = await Promise.allSettled([
|
|
4602
|
+
p.length > 0 && ce(M.href, "updateConsentsError", {
|
|
4603
4603
|
method: "POST",
|
|
4604
4604
|
headers: {
|
|
4605
|
-
"X-SessionId":
|
|
4605
|
+
"X-SessionId": y,
|
|
4606
4606
|
"Content-Type": "application/json"
|
|
4607
4607
|
},
|
|
4608
4608
|
body: JSON.stringify({ userConsents: p })
|
|
4609
4609
|
}),
|
|
4610
|
-
c.length > 0 && ce(
|
|
4610
|
+
c.length > 0 && ce(M.href, "updateConsentsError", {
|
|
4611
4611
|
method: "PATCH",
|
|
4612
4612
|
headers: {
|
|
4613
|
-
"X-SessionId":
|
|
4613
|
+
"X-SessionId": y,
|
|
4614
4614
|
"Content-Type": "application/json"
|
|
4615
4615
|
},
|
|
4616
4616
|
body: JSON.stringify({ userConsents: c })
|
|
4617
4617
|
})
|
|
4618
4618
|
]);
|
|
4619
|
-
|
|
4620
|
-
if (
|
|
4621
|
-
const
|
|
4622
|
-
r(13, U[
|
|
4619
|
+
v.forEach((z, I) => {
|
|
4620
|
+
if (z.status === "rejected" || z.value.ok === !1) {
|
|
4621
|
+
const V = I < p.length ? p[I] : c[I - p.length];
|
|
4622
|
+
r(13, U[V.tagCode] = Z[V.tagCode], U);
|
|
4623
4623
|
}
|
|
4624
|
-
}),
|
|
4624
|
+
}), v.every((z) => z.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(F)), ye = { ...F }, window.postMessage(
|
|
4625
4625
|
{
|
|
4626
4626
|
type: "PlayerConsentUpdated",
|
|
4627
4627
|
success: !0
|
|
4628
4628
|
},
|
|
4629
4629
|
window.location.href
|
|
4630
4630
|
), r(12, Z = { ...U }));
|
|
4631
|
-
} catch (
|
|
4632
|
-
|
|
4631
|
+
} catch (v) {
|
|
4632
|
+
Ee(v instanceof TypeError ? n("saveChangesError") : v.message), window.postMessage(
|
|
4633
4633
|
{
|
|
4634
4634
|
type: "PlayerConsentUpdated",
|
|
4635
4635
|
success: !1
|
|
@@ -4639,56 +4639,56 @@ function Li(e, t, r) {
|
|
|
4639
4639
|
} finally {
|
|
4640
4640
|
be = !0, r(14, le = !1);
|
|
4641
4641
|
}
|
|
4642
|
-
},
|
|
4643
|
-
const p = new URL(`${a}/api/v2/gm/legislation/consents`),
|
|
4642
|
+
}, yr = (c) => {
|
|
4643
|
+
const p = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
|
|
4644
4644
|
"Content-Type": "application/json",
|
|
4645
4645
|
Accept: "application/json"
|
|
4646
|
-
},
|
|
4646
|
+
}, v = {
|
|
4647
4647
|
playerConsents: O,
|
|
4648
4648
|
registrationId: c
|
|
4649
|
-
},
|
|
4649
|
+
}, z = {
|
|
4650
4650
|
method: "POST",
|
|
4651
|
-
body: JSON.stringify(
|
|
4652
|
-
headers:
|
|
4651
|
+
body: JSON.stringify(v),
|
|
4652
|
+
headers: M
|
|
4653
4653
|
};
|
|
4654
|
-
fetch(p.href,
|
|
4655
|
-
I.ok || (
|
|
4654
|
+
fetch(p.href, z).then((I) => {
|
|
4655
|
+
I.ok || (ke = !0);
|
|
4656
4656
|
}).catch((I) => (console.error(I), Ce(I))).finally(() => {
|
|
4657
4657
|
r(10, se = !1);
|
|
4658
4658
|
});
|
|
4659
4659
|
}, nt = (c) => {
|
|
4660
4660
|
O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
|
|
4661
|
-
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] =
|
|
4661
|
+
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = F[c] || !1, U);
|
|
4662
4662
|
}), r(14, le = it());
|
|
4663
|
-
},
|
|
4664
|
-
const
|
|
4663
|
+
}, Be = (c, p, M) => {
|
|
4664
|
+
const v = O.find((V) => V.id === M), z = p ? "value" : "key";
|
|
4665
4665
|
let I;
|
|
4666
|
-
if (!p &&
|
|
4667
|
-
const
|
|
4668
|
-
for (const ue of
|
|
4669
|
-
if (I = Array.from(ue.children).find((
|
|
4666
|
+
if (!p && v.mustAccept) {
|
|
4667
|
+
const V = Array.from(ve.children);
|
|
4668
|
+
for (const ue of V)
|
|
4669
|
+
if (I = Array.from(ue.children).find((Nr) => Nr.getAttribute("id") === `checkBoxError__${v.tagCode}`), I)
|
|
4670
4670
|
break;
|
|
4671
4671
|
}
|
|
4672
|
-
if (
|
|
4673
|
-
r(13, U[
|
|
4674
|
-
const
|
|
4675
|
-
r(11,
|
|
4672
|
+
if (v.status === R.accepted[z] ? (v.status = R.denied[z], I && (I.innerHTML = n("requiredError"))) : (v.status = R.accepted[z], I && (I.innerHTML = "")), p) {
|
|
4673
|
+
r(13, U[v.tagCode] = !U[v.tagCode], U);
|
|
4674
|
+
const V = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
|
|
4675
|
+
r(11, F[p.categoryTagCode] = V, F);
|
|
4676
4676
|
}
|
|
4677
|
-
|
|
4678
|
-
},
|
|
4679
|
-
let
|
|
4680
|
-
return function(...
|
|
4681
|
-
const
|
|
4682
|
-
clearTimeout(
|
|
4677
|
+
vr();
|
|
4678
|
+
}, vr = ((c, p) => {
|
|
4679
|
+
let M;
|
|
4680
|
+
return function(...v) {
|
|
4681
|
+
const z = this;
|
|
4682
|
+
clearTimeout(M), M = setTimeout(
|
|
4683
4683
|
() => {
|
|
4684
|
-
c.apply(
|
|
4684
|
+
c.apply(z, v);
|
|
4685
4685
|
},
|
|
4686
4686
|
p
|
|
4687
4687
|
);
|
|
4688
4688
|
};
|
|
4689
|
-
})(() =>
|
|
4689
|
+
})(() => kr(), 500), kr = () => {
|
|
4690
4690
|
r(14, le = it()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
|
|
4691
|
-
}, it = () => O.filter((p) => O.some((
|
|
4691
|
+
}, it = () => O.filter((p) => O.some((M) => p.tagCode === M.tagCode && M.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Ce = (c) => {
|
|
4692
4692
|
window.postMessage(
|
|
4693
4693
|
{
|
|
4694
4694
|
type: "WidgetNotification",
|
|
@@ -4696,8 +4696,8 @@ function Li(e, t, r) {
|
|
|
4696
4696
|
},
|
|
4697
4697
|
window.location.href
|
|
4698
4698
|
);
|
|
4699
|
-
},
|
|
4700
|
-
c.data && c.data.type !== "setUpPlayerConsents" ||
|
|
4699
|
+
}, Er = (c) => {
|
|
4700
|
+
c.data && c.data.type !== "setUpPlayerConsents" || yr(c.data.registerid);
|
|
4701
4701
|
};
|
|
4702
4702
|
Or(() => {
|
|
4703
4703
|
setTimeout(
|
|
@@ -4706,36 +4706,36 @@ function Li(e, t, r) {
|
|
|
4706
4706
|
},
|
|
4707
4707
|
50
|
|
4708
4708
|
);
|
|
4709
|
-
const c = (p) =>
|
|
4709
|
+
const c = (p) => Er(p);
|
|
4710
4710
|
return window.addEventListener("message", c), () => {
|
|
4711
|
-
window.emMessageBus &&
|
|
4711
|
+
window.emMessageBus && m && m.unsubscribe(), window.removeEventListener("message", c);
|
|
4712
4712
|
};
|
|
4713
4713
|
});
|
|
4714
4714
|
function Cr(c) {
|
|
4715
|
-
|
|
4715
|
+
F[c.categoryTagCode] = this.checked, r(11, F);
|
|
4716
4716
|
}
|
|
4717
|
-
const Sr = (c) => nt(c.categoryTagCode), xr = (c, p) => p.category.categoryTagCode === c.categoryTagCode,
|
|
4718
|
-
function
|
|
4717
|
+
const Sr = (c) => nt(c.categoryTagCode), xr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, zr = (c, p) => Be(p, c.category, c.id), Mr = (c, p) => Be(p, null, c.id);
|
|
4718
|
+
function Tr(c) {
|
|
4719
4719
|
at[c ? "unshift" : "push"](() => {
|
|
4720
|
-
|
|
4720
|
+
ve = c, r(15, ve);
|
|
4721
4721
|
});
|
|
4722
4722
|
}
|
|
4723
|
-
function
|
|
4723
|
+
function wr(c) {
|
|
4724
4724
|
at[c ? "unshift" : "push"](() => {
|
|
4725
4725
|
f = c, r(5, f);
|
|
4726
4726
|
});
|
|
4727
4727
|
}
|
|
4728
4728
|
return e.$$set = (c) => {
|
|
4729
|
-
"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,
|
|
4729
|
+
"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, g = c.translationurl), "modalconsents" in c && r(24, b = c.modalconsents);
|
|
4730
4730
|
}, e.$$.update = () => {
|
|
4731
4731
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
4732
4732
|
33554433 && S && i && (hr(), dr()), e.$$.dirty[0] & /*session*/
|
|
4733
|
-
1 && (i ||
|
|
4733
|
+
1 && (i || gr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4734
4734
|
34 && s && f && Lr(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4735
4735
|
36 && h && f && Ir(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4736
4736
|
40 && f && Rr(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
4737
4737
|
4194304 && l && cr(), e.$$.dirty[0] & /*translationurl*/
|
|
4738
|
-
8388608 &&
|
|
4738
|
+
8388608 && g && ur();
|
|
4739
4739
|
}, [
|
|
4740
4740
|
i,
|
|
4741
4741
|
s,
|
|
@@ -4743,33 +4743,33 @@ function Li(e, t, r) {
|
|
|
4743
4743
|
u,
|
|
4744
4744
|
d,
|
|
4745
4745
|
f,
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4746
|
+
H,
|
|
4747
|
+
E,
|
|
4748
|
+
B,
|
|
4749
4749
|
O,
|
|
4750
4750
|
se,
|
|
4751
|
-
|
|
4751
|
+
F,
|
|
4752
4752
|
Z,
|
|
4753
4753
|
U,
|
|
4754
4754
|
le,
|
|
4755
|
-
|
|
4755
|
+
ve,
|
|
4756
4756
|
n,
|
|
4757
4757
|
br,
|
|
4758
4758
|
nt,
|
|
4759
|
-
|
|
4759
|
+
Be,
|
|
4760
4760
|
o,
|
|
4761
4761
|
a,
|
|
4762
4762
|
l,
|
|
4763
|
-
|
|
4763
|
+
g,
|
|
4764
4764
|
b,
|
|
4765
4765
|
S,
|
|
4766
4766
|
Cr,
|
|
4767
4767
|
Sr,
|
|
4768
4768
|
xr,
|
|
4769
|
+
zr,
|
|
4769
4770
|
Mr,
|
|
4770
4771
|
Tr,
|
|
4771
|
-
wr
|
|
4772
|
-
Nr
|
|
4772
|
+
wr
|
|
4773
4773
|
];
|
|
4774
4774
|
}
|
|
4775
4775
|
class Ri extends It {
|
|
@@ -4792,7 +4792,7 @@ class Ri extends It {
|
|
|
4792
4792
|
translationurl: 23,
|
|
4793
4793
|
modalconsents: 24
|
|
4794
4794
|
},
|
|
4795
|
-
|
|
4795
|
+
Hi,
|
|
4796
4796
|
[-1, -1, -1]
|
|
4797
4797
|
);
|
|
4798
4798
|
}
|
|
@@ -4800,61 +4800,61 @@ class Ri extends It {
|
|
|
4800
4800
|
return this.$$.ctx[0];
|
|
4801
4801
|
}
|
|
4802
4802
|
set session(t) {
|
|
4803
|
-
this.$$set({ session: t }),
|
|
4803
|
+
this.$$set({ session: t }), X();
|
|
4804
4804
|
}
|
|
4805
4805
|
get userid() {
|
|
4806
4806
|
return this.$$.ctx[20];
|
|
4807
4807
|
}
|
|
4808
4808
|
set userid(t) {
|
|
4809
|
-
this.$$set({ userid: t }),
|
|
4809
|
+
this.$$set({ userid: t }), X();
|
|
4810
4810
|
}
|
|
4811
4811
|
get endpoint() {
|
|
4812
4812
|
return this.$$.ctx[21];
|
|
4813
4813
|
}
|
|
4814
4814
|
set endpoint(t) {
|
|
4815
|
-
this.$$set({ endpoint: t }),
|
|
4815
|
+
this.$$set({ endpoint: t }), X();
|
|
4816
4816
|
}
|
|
4817
4817
|
get clientstyling() {
|
|
4818
4818
|
return this.$$.ctx[1];
|
|
4819
4819
|
}
|
|
4820
4820
|
set clientstyling(t) {
|
|
4821
|
-
this.$$set({ clientstyling: t }),
|
|
4821
|
+
this.$$set({ clientstyling: t }), X();
|
|
4822
4822
|
}
|
|
4823
4823
|
get clientstylingurl() {
|
|
4824
4824
|
return this.$$.ctx[2];
|
|
4825
4825
|
}
|
|
4826
4826
|
set clientstylingurl(t) {
|
|
4827
|
-
this.$$set({ clientstylingurl: t }),
|
|
4827
|
+
this.$$set({ clientstylingurl: t }), X();
|
|
4828
4828
|
}
|
|
4829
4829
|
get mbsource() {
|
|
4830
4830
|
return this.$$.ctx[3];
|
|
4831
4831
|
}
|
|
4832
4832
|
set mbsource(t) {
|
|
4833
|
-
this.$$set({ mbsource: t }),
|
|
4833
|
+
this.$$set({ mbsource: t }), X();
|
|
4834
4834
|
}
|
|
4835
4835
|
get lang() {
|
|
4836
4836
|
return this.$$.ctx[22];
|
|
4837
4837
|
}
|
|
4838
4838
|
set lang(t) {
|
|
4839
|
-
this.$$set({ lang: t }),
|
|
4839
|
+
this.$$set({ lang: t }), X();
|
|
4840
4840
|
}
|
|
4841
4841
|
get displayconsentdescription() {
|
|
4842
4842
|
return this.$$.ctx[4];
|
|
4843
4843
|
}
|
|
4844
4844
|
set displayconsentdescription(t) {
|
|
4845
|
-
this.$$set({ displayconsentdescription: t }),
|
|
4845
|
+
this.$$set({ displayconsentdescription: t }), X();
|
|
4846
4846
|
}
|
|
4847
4847
|
get translationurl() {
|
|
4848
4848
|
return this.$$.ctx[23];
|
|
4849
4849
|
}
|
|
4850
4850
|
set translationurl(t) {
|
|
4851
|
-
this.$$set({ translationurl: t }),
|
|
4851
|
+
this.$$set({ translationurl: t }), X();
|
|
4852
4852
|
}
|
|
4853
4853
|
get modalconsents() {
|
|
4854
4854
|
return this.$$.ctx[24];
|
|
4855
4855
|
}
|
|
4856
4856
|
set modalconsents(t) {
|
|
4857
|
-
this.$$set({ modalconsents: t }),
|
|
4857
|
+
this.$$set({ modalconsents: t }), X();
|
|
4858
4858
|
}
|
|
4859
4859
|
}
|
|
4860
4860
|
Ot(Ri, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|