@everymatrix/player-consents 1.60.2 → 1.61.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.
@@ -1,11 +1,11 @@
1
- import { n as q, s as Je, a as Mr, r as At, i as wr, c as Ht, S as Pt, b as Bt, d as j, e as L, f as S, g as rt, h as E, j as X, k as Nr, l as N, m as Ar, o as Hr, p as nt, q as J, t as me, u as pe, v as K, w as Qe, x as he, y as G, z as Pr, H as Ot, A as Br, B as Or, C as Ir, D as jr } from "./GeneralAnimationLoading-ZTNd0X9B.js";
1
+ import { n as X, s as Je, a as Mr, r as Ht, i as Nr, c as Pt, S as Bt, b as zt, d as j, e as L, f as w, g as rt, h as k, j as V, k as Ar, l as A, m as Hr, o as Pr, p as nt, q as J, t as pe, u as ge, v as K, w as Qe, x as he, y as q, z as Br, H as Ot, A as zr, B as Or, C as Ir, D as jr } from "./GeneralAnimationLoading-ZTNd0X9B.js";
2
2
  const Y = [];
3
3
  function Lr(e, t) {
4
4
  return {
5
5
  subscribe: Me(e, t).subscribe
6
6
  };
7
7
  }
8
- function Me(e, t = q) {
8
+ function Me(e, t = X) {
9
9
  let r;
10
10
  const n = /* @__PURE__ */ new Set();
11
11
  function i(s) {
@@ -23,9 +23,9 @@ function Me(e, t = q) {
23
23
  function o(s) {
24
24
  i(s(e));
25
25
  }
26
- function a(s, h = q) {
26
+ function a(s, h = X) {
27
27
  const u = [s, h];
28
- return n.add(u), n.size === 1 && (r = t(i, o) || q), s(e), () => {
28
+ return n.add(u), n.size === 1 && (r = t(i, o) || X), s(e), () => {
29
29
  n.delete(u), n.size === 0 && r && (r(), r = null);
30
30
  };
31
31
  }
@@ -39,26 +39,26 @@ function ne(e, t, r) {
39
39
  return Lr(r, (a, s) => {
40
40
  let h = !1;
41
41
  const u = [];
42
- let l = 0, d = q;
43
- const g = () => {
42
+ let l = 0, d = X;
43
+ const m = () => {
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 = wr(f) ? f : q;
49
- }, v = i.map(
50
- (f, m) => Mr(
48
+ o ? a(f) : d = Nr(f) ? f : X;
49
+ }, b = i.map(
50
+ (f, p) => Mr(
51
51
  f,
52
52
  (C) => {
53
- u[m] = C, l &= ~(1 << m), h && g();
53
+ u[p] = C, l &= ~(1 << p), h && m();
54
54
  },
55
55
  () => {
56
- l |= 1 << m;
56
+ l |= 1 << p;
57
57
  }
58
58
  )
59
59
  );
60
- return h = !0, g(), function() {
61
- At(v), d(), h = !1;
60
+ return h = !0, m(), function() {
61
+ Ht(b), d(), h = !1;
62
62
  };
63
63
  });
64
64
  }
@@ -66,24 +66,24 @@ function Rr(e) {
66
66
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
67
67
  }
68
68
  var Ur = function(t) {
69
- return Dr(t) && !Gr(t);
69
+ return Dr(t) && !qr(t);
70
70
  };
71
71
  function Dr(e) {
72
72
  return !!e && typeof e == "object";
73
73
  }
74
- function Gr(e) {
74
+ function qr(e) {
75
75
  var t = Object.prototype.toString.call(e);
76
- return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
76
+ return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
77
77
  }
78
- var Fr = typeof Symbol == "function" && Symbol.for, Vr = Fr ? Symbol.for("react.element") : 60103;
79
- function Xr(e) {
80
- return e.$$typeof === Vr;
78
+ var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
79
+ function Vr(e) {
80
+ return e.$$typeof === Fr;
81
81
  }
82
- function qr(e) {
82
+ function Xr(e) {
83
83
  return Array.isArray(e) ? [] : {};
84
84
  }
85
85
  function de(e, t) {
86
- return t.clone !== !1 && t.isMergeableObject(e) ? $(qr(e), e, t) : e;
86
+ return t.clone !== !1 && t.isMergeableObject(e) ? $(Xr(e), e, t) : e;
87
87
  }
88
88
  function Wr(e, t, r) {
89
89
  return e.concat(t).map(function(n) {
@@ -158,7 +158,7 @@ var Ue = function(e, t) {
158
158
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
159
159
  }, Ue(e, t);
160
160
  };
161
- function we(e, t) {
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
  Ue(e, t);
@@ -167,15 +167,15 @@ function we(e, t) {
167
167
  }
168
168
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
169
169
  }
170
- var A = function() {
171
- return A = Object.assign || function(t) {
170
+ var H = function() {
171
+ return H = 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
- }, A.apply(this, arguments);
178
+ }, H.apply(this, arguments);
179
179
  };
180
180
  function tn(e, t) {
181
181
  var r = {};
@@ -186,7 +186,7 @@ function tn(e, t) {
186
186
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
187
187
  return r;
188
188
  }
189
- function Be(e, t, r) {
189
+ function ze(e, t, r) {
190
190
  if (arguments.length === 2)
191
191
  for (var n = 0, i = t.length, o; n < i; n++)
192
192
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -244,49 +244,49 @@ var sn = function() {
244
244
  (function(e) {
245
245
  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";
246
246
  })(M || (M = {}));
247
- var P;
247
+ var B;
248
248
  (function(e) {
249
249
  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";
250
- })(P || (P = {}));
250
+ })(B || (B = {}));
251
251
  var ee;
252
252
  (function(e) {
253
253
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
254
254
  })(ee || (ee = {}));
255
255
  function ot(e) {
256
- return e.type === P.literal;
256
+ return e.type === B.literal;
257
257
  }
258
258
  function un(e) {
259
- return e.type === P.argument;
259
+ return e.type === B.argument;
260
260
  }
261
261
  function Rt(e) {
262
- return e.type === P.number;
262
+ return e.type === B.number;
263
263
  }
264
264
  function Ut(e) {
265
- return e.type === P.date;
265
+ return e.type === B.date;
266
266
  }
267
267
  function Dt(e) {
268
- return e.type === P.time;
268
+ return e.type === B.time;
269
269
  }
270
- function Gt(e) {
271
- return e.type === P.select;
270
+ function qt(e) {
271
+ return e.type === B.select;
272
272
  }
273
- function Ft(e) {
274
- return e.type === P.plural;
273
+ function Gt(e) {
274
+ return e.type === B.plural;
275
275
  }
276
276
  function hn(e) {
277
- return e.type === P.pound;
277
+ return e.type === B.pound;
278
278
  }
279
- function Vt(e) {
280
- return e.type === P.tag;
279
+ function Ft(e) {
280
+ return e.type === B.tag;
281
281
  }
282
- function Xt(e) {
282
+ function Vt(e) {
283
283
  return !!(e && typeof e == "object" && e.type === ee.number);
284
284
  }
285
285
  function De(e) {
286
286
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
287
287
  }
288
- var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
289
- function gn(e) {
288
+ var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
289
+ function mn(e) {
290
290
  var t = {};
291
291
  return e.replace(dn, function(r) {
292
292
  var n = r.length;
@@ -377,12 +377,12 @@ function gn(e) {
377
377
  return "";
378
378
  }), t;
379
379
  }
380
- var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
381
- function pn(e) {
380
+ var pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
381
+ function gn(e) {
382
382
  if (e.length === 0)
383
383
  throw new Error("Number skeleton cannot be empty");
384
- for (var t = e.split(mn).filter(function(g) {
385
- return g.length > 0;
384
+ for (var t = e.split(pn).filter(function(m) {
385
+ return m.length > 0;
386
386
  }), r = [], n = 0, i = t; n < i.length; n++) {
387
387
  var o = i[n], a = o.split("/");
388
388
  if (a.length === 0)
@@ -446,7 +446,7 @@ function Jt(e) {
446
446
  };
447
447
  }
448
448
  }
449
- function bn(e) {
449
+ function vn(e) {
450
450
  var t;
451
451
  if (e[0] === "E" && e[1] === "E" ? (t = {
452
452
  notation: "engineering"
@@ -464,7 +464,7 @@ function lt(e) {
464
464
  var t = {}, r = Jt(e);
465
465
  return r || t;
466
466
  }
467
- function vn(e) {
467
+ function bn(e) {
468
468
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
469
469
  var i = n[r];
470
470
  switch (i.stem) {
@@ -499,13 +499,13 @@ function vn(e) {
499
499
  t.notation = "compact", t.compactDisplay = "long";
500
500
  continue;
501
501
  case "scientific":
502
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
503
- return A(A({}, h), lt(u));
502
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
503
+ return H(H({}, h), lt(u));
504
504
  }, {}));
505
505
  continue;
506
506
  case "engineering":
507
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
508
- return A(A({}, h), lt(u));
507
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
508
+ return H(H({}, h), lt(u));
509
509
  }, {}));
510
510
  continue;
511
511
  case "notation-simple":
@@ -550,13 +550,13 @@ function vn(e) {
550
550
  case "integer-width":
551
551
  if (i.options.length > 1)
552
552
  throw new RangeError("integer-width stems only accept a single optional option");
553
- i.options[0].replace(_n, function(h, u, l, d, g, v) {
553
+ i.options[0].replace(_n, function(h, u, l, d, m, b) {
554
554
  if (u)
555
555
  t.minimumIntegerDigits = l.length;
556
556
  else {
557
- if (d && g)
557
+ if (d && m)
558
558
  throw new Error("We currently do not support maximum integer digits");
559
- if (v)
559
+ if (b)
560
560
  throw new Error("We currently do not support exact integer digits");
561
561
  }
562
562
  return "";
@@ -570,21 +570,21 @@ function vn(e) {
570
570
  if (at.test(i.stem)) {
571
571
  if (i.options.length > 1)
572
572
  throw new RangeError("Fraction-precision stems only accept a single optional option");
573
- i.stem.replace(at, function(h, u, l, d, g, v) {
574
- return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : g && v ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
573
+ i.stem.replace(at, function(h, u, l, d, m, b) {
574
+ return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
575
575
  });
576
576
  var o = i.options[0];
577
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), st(o)));
577
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), st(o)));
578
578
  continue;
579
579
  }
580
580
  if (Wt.test(i.stem)) {
581
- t = A(A({}, t), st(i.stem));
581
+ t = H(H({}, t), st(i.stem));
582
582
  continue;
583
583
  }
584
584
  var a = Jt(i.stem);
585
- a && (t = A(A({}, t), a));
586
- var s = bn(i.stem);
587
- s && (t = A(A({}, t), s));
585
+ a && (t = H(H({}, t), a));
586
+ var s = vn(i.stem);
587
+ s && (t = H(H({}, t), s));
588
588
  }
589
589
  return t;
590
590
  }
@@ -2009,7 +2009,7 @@ function yn(e, t) {
2009
2009
  if (i === "j") {
2010
2010
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2011
2011
  o++, n++;
2012
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = kn(t);
2012
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
2013
2013
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2014
2014
  r += h;
2015
2015
  for (; a-- > 0; )
@@ -2019,7 +2019,7 @@ function yn(e, t) {
2019
2019
  }
2020
2020
  return r;
2021
2021
  }
2022
- function kn(e) {
2022
+ function En(e) {
2023
2023
  var t = e.hourCycle;
2024
2024
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2025
2025
  e.hourCycles && // @ts-ignore
@@ -2041,20 +2041,20 @@ function kn(e) {
2041
2041
  var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2042
2042
  return i[0];
2043
2043
  }
2044
- var je, En = new RegExp("^".concat(qt.source, "*")), Cn = new RegExp("".concat(qt.source, "*$"));
2045
- function w(e, t) {
2044
+ var je, kn = new RegExp("^".concat(Xt.source, "*")), Cn = new RegExp("".concat(Xt.source, "*$"));
2045
+ function N(e, t) {
2046
2046
  return { start: e, end: t };
2047
2047
  }
2048
- var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, zn = !!Object.fromEntries, Tn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, An = Nn ? Number.isSafeInteger : function(e) {
2048
+ var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, xn = !!Object.fromEntries, Tn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Hn = An ? Number.isSafeInteger : function(e) {
2049
2049
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2050
- }, Ge = !0;
2050
+ }, qe = !0;
2051
2051
  try {
2052
- var Hn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2053
- Ge = ((je = Hn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
2052
+ var Pn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2053
+ qe = ((je = Pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
2054
2054
  } catch {
2055
- Ge = !1;
2055
+ qe = !1;
2056
2056
  }
2057
- var ct = Sn ? (
2057
+ var ct = wn ? (
2058
2058
  // Native
2059
2059
  function(t, r, n) {
2060
2060
  return t.startsWith(r, n);
@@ -2064,7 +2064,7 @@ var ct = Sn ? (
2064
2064
  function(t, r, n) {
2065
2065
  return t.slice(n, n + r.length) === r;
2066
2066
  }
2067
- ), Fe = xn ? String.fromCodePoint : (
2067
+ ), Ge = Sn ? String.fromCodePoint : (
2068
2068
  // IE11
2069
2069
  function() {
2070
2070
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2078,7 +2078,7 @@ var ct = Sn ? (
2078
2078
  }
2079
2079
  ), ut = (
2080
2080
  // native
2081
- zn ? Object.fromEntries : (
2081
+ xn ? Object.fromEntries : (
2082
2082
  // Ponyfill
2083
2083
  function(t) {
2084
2084
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2102,7 +2102,7 @@ var ct = Sn ? (
2102
2102
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2103
2103
  }
2104
2104
  }
2105
- ), Pn = Mn ? (
2105
+ ), Bn = Mn ? (
2106
2106
  // Native
2107
2107
  function(t) {
2108
2108
  return t.trimStart();
@@ -2110,9 +2110,9 @@ var ct = Sn ? (
2110
2110
  ) : (
2111
2111
  // Ponyfill
2112
2112
  function(t) {
2113
- return t.replace(En, "");
2113
+ return t.replace(kn, "");
2114
2114
  }
2115
- ), Bn = wn ? (
2115
+ ), zn = Nn ? (
2116
2116
  // Native
2117
2117
  function(t) {
2118
2118
  return t.trimEnd();
@@ -2126,24 +2126,24 @@ var ct = Sn ? (
2126
2126
  function Yt(e, t) {
2127
2127
  return new RegExp(e, t);
2128
2128
  }
2129
- var Ve;
2130
- if (Ge) {
2129
+ var Fe;
2130
+ if (qe) {
2131
2131
  var ht = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2132
- Ve = function(t, r) {
2132
+ Fe = function(t, r) {
2133
2133
  var n;
2134
2134
  ht.lastIndex = r;
2135
2135
  var i = ht.exec(t);
2136
2136
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2137
2137
  };
2138
2138
  } else
2139
- Ve = function(t, r) {
2139
+ Fe = function(t, r) {
2140
2140
  for (var n = []; ; ) {
2141
2141
  var i = Qt(t, r);
2142
2142
  if (i === void 0 || Kt(i) || Ln(i))
2143
2143
  break;
2144
2144
  n.push(i), r += i >= 65536 ? 2 : 1;
2145
2145
  }
2146
- return Fe.apply(void 0, n);
2146
+ return Ge.apply(void 0, n);
2147
2147
  };
2148
2148
  var On = (
2149
2149
  /** @class */
@@ -2169,14 +2169,14 @@ var On = (
2169
2169
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2170
2170
  var s = this.clonePosition();
2171
2171
  this.bump(), i.push({
2172
- type: P.pound,
2173
- location: w(s, this.clonePosition())
2172
+ type: B.pound,
2173
+ location: N(s, this.clonePosition())
2174
2174
  });
2175
2175
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2176
2176
  if (n)
2177
2177
  break;
2178
- return this.error(M.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2179
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
2178
+ return this.error(M.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2179
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2180
2180
  var a = this.parseTag(t, r);
2181
2181
  if (a.err)
2182
2182
  return a;
@@ -2197,9 +2197,9 @@ var On = (
2197
2197
  if (this.bumpSpace(), this.bumpIf("/>"))
2198
2198
  return {
2199
2199
  val: {
2200
- type: P.literal,
2200
+ type: B.literal,
2201
2201
  value: "<".concat(i, "/>"),
2202
- location: w(n, this.clonePosition())
2202
+ location: N(n, this.clonePosition())
2203
2203
  },
2204
2204
  err: null
2205
2205
  };
@@ -2209,22 +2209,22 @@ var On = (
2209
2209
  return o;
2210
2210
  var a = o.val, s = this.clonePosition();
2211
2211
  if (this.bumpIf("</")) {
2212
- if (this.isEOF() || !Xe(this.char()))
2213
- return this.error(M.INVALID_TAG, w(s, this.clonePosition()));
2212
+ if (this.isEOF() || !Ve(this.char()))
2213
+ return this.error(M.INVALID_TAG, N(s, this.clonePosition()));
2214
2214
  var h = this.clonePosition(), u = this.parseTagName();
2215
- return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2215
+ return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2216
2216
  val: {
2217
- type: P.tag,
2217
+ type: B.tag,
2218
2218
  value: i,
2219
2219
  children: a,
2220
- location: w(n, this.clonePosition())
2220
+ location: N(n, this.clonePosition())
2221
2221
  },
2222
2222
  err: null
2223
- } : this.error(M.INVALID_TAG, w(s, this.clonePosition())));
2223
+ } : this.error(M.INVALID_TAG, N(s, this.clonePosition())));
2224
2224
  } else
2225
- return this.error(M.UNCLOSED_TAG, w(n, this.clonePosition()));
2225
+ return this.error(M.UNCLOSED_TAG, N(n, this.clonePosition()));
2226
2226
  } else
2227
- return this.error(M.INVALID_TAG, w(n, this.clonePosition()));
2227
+ return this.error(M.INVALID_TAG, N(n, this.clonePosition()));
2228
2228
  }, e.prototype.parseTagName = function() {
2229
2229
  var t = this.offset();
2230
2230
  for (this.bump(); !this.isEOF() && jn(this.char()); )
@@ -2249,9 +2249,9 @@ var On = (
2249
2249
  }
2250
2250
  break;
2251
2251
  }
2252
- var h = w(n, this.clonePosition());
2252
+ var h = N(n, this.clonePosition());
2253
2253
  return {
2254
- val: { type: P.literal, value: i, location: h },
2254
+ val: { type: B.literal, value: i, location: h },
2255
2255
  err: null
2256
2256
  };
2257
2257
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2290,49 +2290,49 @@ var On = (
2290
2290
  r.push(n);
2291
2291
  this.bump();
2292
2292
  }
2293
- return Fe.apply(void 0, r);
2293
+ return Ge.apply(void 0, r);
2294
2294
  }, e.prototype.tryParseUnquoted = function(t, r) {
2295
2295
  if (this.isEOF())
2296
2296
  return null;
2297
2297
  var n = this.char();
2298
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2298
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2299
2299
  }, e.prototype.parseArgument = function(t, r) {
2300
2300
  var n = this.clonePosition();
2301
2301
  if (this.bump(), this.bumpSpace(), this.isEOF())
2302
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
2302
+ return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2303
2303
  if (this.char() === 125)
2304
- return this.bump(), this.error(M.EMPTY_ARGUMENT, w(n, this.clonePosition()));
2304
+ return this.bump(), this.error(M.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2305
2305
  var i = this.parseIdentifierIfPossible().value;
2306
2306
  if (!i)
2307
- return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2307
+ return this.error(M.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2308
2308
  if (this.bumpSpace(), this.isEOF())
2309
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
2309
+ return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2310
2310
  switch (this.char()) {
2311
2311
  case 125:
2312
2312
  return this.bump(), {
2313
2313
  val: {
2314
- type: P.argument,
2314
+ type: B.argument,
2315
2315
  // value does not include the opening and closing braces.
2316
2316
  value: i,
2317
- location: w(n, this.clonePosition())
2317
+ location: N(n, this.clonePosition())
2318
2318
  },
2319
2319
  err: null
2320
2320
  };
2321
2321
  case 44:
2322
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2322
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2323
2323
  default:
2324
- return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2324
+ return this.error(M.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2325
2325
  }
2326
2326
  }, e.prototype.parseIdentifierIfPossible = function() {
2327
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
2327
+ var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
2328
2328
  this.bumpTo(i);
2329
- var o = this.clonePosition(), a = w(t, o);
2329
+ var o = this.clonePosition(), a = N(t, o);
2330
2330
  return { value: n, location: a };
2331
2331
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2332
2332
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2333
2333
  switch (s) {
2334
2334
  case "":
2335
- return this.error(M.EXPECT_ARGUMENT_TYPE, w(a, h));
2335
+ return this.error(M.EXPECT_ARGUMENT_TYPE, N(a, h));
2336
2336
  case "number":
2337
2337
  case "date":
2338
2338
  case "time": {
@@ -2343,46 +2343,46 @@ var On = (
2343
2343
  var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2344
2344
  if (d.err)
2345
2345
  return d;
2346
- var g = Bn(d.val);
2347
- if (g.length === 0)
2348
- return this.error(M.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
2349
- var v = w(l, this.clonePosition());
2350
- u = { style: g, styleLocation: v };
2346
+ var m = zn(d.val);
2347
+ if (m.length === 0)
2348
+ return this.error(M.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2349
+ var b = N(l, this.clonePosition());
2350
+ u = { style: m, styleLocation: b };
2351
2351
  }
2352
2352
  var f = this.tryParseArgumentClose(i);
2353
2353
  if (f.err)
2354
2354
  return f;
2355
- var m = w(i, this.clonePosition());
2355
+ var p = N(i, this.clonePosition());
2356
2356
  if (u && ct(u?.style, "::", 0)) {
2357
- var C = Pn(u.style.slice(2));
2357
+ var C = Bn(u.style.slice(2));
2358
2358
  if (s === "number") {
2359
2359
  var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
2360
2360
  return d.err ? d : {
2361
- val: { type: P.number, value: n, location: m, style: d.val },
2361
+ val: { type: B.number, value: n, location: p, style: d.val },
2362
2362
  err: null
2363
2363
  };
2364
2364
  } else {
2365
2365
  if (C.length === 0)
2366
- return this.error(M.EXPECT_DATE_TIME_SKELETON, m);
2366
+ return this.error(M.EXPECT_DATE_TIME_SKELETON, p);
2367
2367
  var _ = C;
2368
2368
  this.locale && (_ = yn(C, this.locale));
2369
- var g = {
2369
+ var m = {
2370
2370
  type: ee.dateTime,
2371
2371
  pattern: _,
2372
2372
  location: u.styleLocation,
2373
- parsedOptions: this.shouldParseSkeletons ? gn(_) : {}
2374
- }, b = s === "date" ? P.date : P.time;
2373
+ parsedOptions: this.shouldParseSkeletons ? mn(_) : {}
2374
+ }, v = s === "date" ? B.date : B.time;
2375
2375
  return {
2376
- val: { type: b, value: n, location: m, style: g },
2376
+ val: { type: v, value: n, location: p, style: m },
2377
2377
  err: null
2378
2378
  };
2379
2379
  }
2380
2380
  }
2381
2381
  return {
2382
2382
  val: {
2383
- type: s === "number" ? P.number : s === "date" ? P.date : P.time,
2383
+ type: s === "number" ? B.number : s === "date" ? B.date : B.time,
2384
2384
  value: n,
2385
- location: m,
2385
+ location: p,
2386
2386
  style: (o = u?.style) !== null && o !== void 0 ? o : null
2387
2387
  },
2388
2388
  err: null
@@ -2391,41 +2391,41 @@ var On = (
2391
2391
  case "plural":
2392
2392
  case "selectordinal":
2393
2393
  case "select": {
2394
- var x = this.clonePosition();
2394
+ var S = this.clonePosition();
2395
2395
  if (this.bumpSpace(), !this.bumpIf(","))
2396
- return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, w(x, A({}, x)));
2396
+ return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, N(S, H({}, S)));
2397
2397
  this.bumpSpace();
2398
- var H = this.parseIdentifierIfPossible(), k = 0;
2399
- if (s !== "select" && H.value === "offset") {
2398
+ var P = this.parseIdentifierIfPossible(), E = 0;
2399
+ if (s !== "select" && P.value === "offset") {
2400
2400
  if (!this.bumpIf(":"))
2401
- return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
2401
+ return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2402
2402
  this.bumpSpace();
2403
2403
  var d = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2404
2404
  if (d.err)
2405
2405
  return d;
2406
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), k = d.val;
2406
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), E = d.val;
2407
2407
  }
2408
- var B = this.tryParsePluralOrSelectOptions(t, s, r, H);
2409
- if (B.err)
2410
- return B;
2408
+ var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
2409
+ if (z.err)
2410
+ return z;
2411
2411
  var f = this.tryParseArgumentClose(i);
2412
2412
  if (f.err)
2413
2413
  return f;
2414
- var O = w(i, this.clonePosition());
2414
+ var O = N(i, this.clonePosition());
2415
2415
  return s === "select" ? {
2416
2416
  val: {
2417
- type: P.select,
2417
+ type: B.select,
2418
2418
  value: n,
2419
- options: ut(B.val),
2419
+ options: ut(z.val),
2420
2420
  location: O
2421
2421
  },
2422
2422
  err: null
2423
2423
  } : {
2424
2424
  val: {
2425
- type: P.plural,
2425
+ type: B.plural,
2426
2426
  value: n,
2427
- options: ut(B.val),
2428
- offset: k,
2427
+ options: ut(z.val),
2428
+ offset: E,
2429
2429
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2430
2430
  location: O
2431
2431
  },
@@ -2433,10 +2433,10 @@ var On = (
2433
2433
  };
2434
2434
  }
2435
2435
  default:
2436
- return this.error(M.INVALID_ARGUMENT_TYPE, w(a, h));
2436
+ return this.error(M.INVALID_ARGUMENT_TYPE, N(a, h));
2437
2437
  }
2438
2438
  }, e.prototype.tryParseArgumentClose = function(t) {
2439
- return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2439
+ return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2440
2440
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2441
2441
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2442
2442
  var n = this.char();
@@ -2445,7 +2445,7 @@ var On = (
2445
2445
  this.bump();
2446
2446
  var i = this.clonePosition();
2447
2447
  if (!this.bumpUntil("'"))
2448
- return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
2448
+ return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2449
2449
  this.bump();
2450
2450
  break;
2451
2451
  }
@@ -2475,7 +2475,7 @@ var On = (
2475
2475
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2476
2476
  var n = [];
2477
2477
  try {
2478
- n = pn(t);
2478
+ n = gn(t);
2479
2479
  } catch {
2480
2480
  return this.error(M.INVALID_NUMBER_SKELETON, r);
2481
2481
  }
@@ -2484,7 +2484,7 @@ var On = (
2484
2484
  type: ee.number,
2485
2485
  tokens: n,
2486
2486
  location: r,
2487
- parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
2487
+ parsedOptions: this.shouldParseSkeletons ? bn(n) : {}
2488
2488
  },
2489
2489
  err: null
2490
2490
  };
@@ -2493,34 +2493,34 @@ var On = (
2493
2493
  if (u.length === 0) {
2494
2494
  var d = this.clonePosition();
2495
2495
  if (r !== "select" && this.bumpIf("=")) {
2496
- var g = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2497
- if (g.err)
2498
- return g;
2499
- l = w(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
2496
+ var m = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2497
+ if (m.err)
2498
+ return m;
2499
+ l = N(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
2500
2500
  } else
2501
2501
  break;
2502
2502
  }
2503
2503
  if (h.has(u))
2504
2504
  return this.error(r === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2505
2505
  u === "other" && (a = !0), this.bumpSpace();
2506
- var v = this.clonePosition();
2506
+ var b = this.clonePosition();
2507
2507
  if (!this.bumpIf("{"))
2508
- return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
2508
+ return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2509
2509
  var f = this.parseMessage(t + 1, r, n);
2510
2510
  if (f.err)
2511
2511
  return f;
2512
- var m = this.tryParseArgumentClose(v);
2513
- if (m.err)
2514
- return m;
2512
+ var p = this.tryParseArgumentClose(b);
2513
+ if (p.err)
2514
+ return p;
2515
2515
  s.push([
2516
2516
  u,
2517
2517
  {
2518
2518
  value: f.val,
2519
- location: w(v, this.clonePosition())
2519
+ location: N(b, this.clonePosition())
2520
2520
  }
2521
2521
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2522
2522
  }
2523
- return s.length === 0 ? this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(M.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2523
+ return s.length === 0 ? this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(M.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2524
2524
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2525
2525
  var n = 1, i = this.clonePosition();
2526
2526
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2531,8 +2531,8 @@ var On = (
2531
2531
  else
2532
2532
  break;
2533
2533
  }
2534
- var h = w(i, this.clonePosition());
2535
- return o ? (a *= n, An(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2534
+ var h = N(i, this.clonePosition());
2535
+ return o ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2536
2536
  }, e.prototype.offset = function() {
2537
2537
  return this.position.offset;
2538
2538
  }, e.prototype.isEOF = function() {
@@ -2598,11 +2598,11 @@ var On = (
2598
2598
  }, e;
2599
2599
  }()
2600
2600
  );
2601
- function Xe(e) {
2601
+ function Ve(e) {
2602
2602
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2603
2603
  }
2604
2604
  function In(e) {
2605
- return Xe(e) || e === 47;
2605
+ return Ve(e) || e === 47;
2606
2606
  }
2607
2607
  function jn(e) {
2608
2608
  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;
@@ -2613,32 +2613,32 @@ function Kt(e) {
2613
2613
  function Ln(e) {
2614
2614
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
2615
2615
  }
2616
- function qe(e) {
2616
+ function Xe(e) {
2617
2617
  e.forEach(function(t) {
2618
- if (delete t.location, Gt(t) || Ft(t))
2618
+ if (delete t.location, qt(t) || Gt(t))
2619
2619
  for (var r in t.options)
2620
- delete t.options[r].location, qe(t.options[r].value);
2620
+ delete t.options[r].location, Xe(t.options[r].value);
2621
2621
  else
2622
- Rt(t) && Xt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : Vt(t) && qe(t.children);
2622
+ Rt(t) && Vt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : Ft(t) && Xe(t.children);
2623
2623
  });
2624
2624
  }
2625
2625
  function Rn(e, t) {
2626
- t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2626
+ t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2627
2627
  var r = new On(e, t).parse();
2628
2628
  if (r.err) {
2629
2629
  var n = SyntaxError(M[r.err.kind]);
2630
2630
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2631
2631
  }
2632
- return t?.captureLocation || qe(r.val), r.val;
2632
+ return t?.captureLocation || Xe(r.val), r.val;
2633
2633
  }
2634
2634
  var te;
2635
2635
  (function(e) {
2636
2636
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2637
2637
  })(te || (te = {}));
2638
- var Ne = (
2638
+ var Ae = (
2639
2639
  /** @class */
2640
2640
  function(e) {
2641
- we(t, e);
2641
+ Ne(t, e);
2642
2642
  function t(r, n, i) {
2643
2643
  var o = e.call(this, r) || this;
2644
2644
  return o.code = n, o.originalMessage = i, o;
@@ -2650,44 +2650,44 @@ var Ne = (
2650
2650
  ), dt = (
2651
2651
  /** @class */
2652
2652
  function(e) {
2653
- we(t, e);
2653
+ Ne(t, e);
2654
2654
  function t(r, n, i, o) {
2655
2655
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
2656
2656
  }
2657
2657
  return t;
2658
- }(Ne)
2658
+ }(Ae)
2659
2659
  ), Un = (
2660
2660
  /** @class */
2661
2661
  function(e) {
2662
- we(t, e);
2662
+ Ne(t, e);
2663
2663
  function t(r, n, i) {
2664
2664
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
2665
2665
  }
2666
2666
  return t;
2667
- }(Ne)
2667
+ }(Ae)
2668
2668
  ), Dn = (
2669
2669
  /** @class */
2670
2670
  function(e) {
2671
- we(t, e);
2671
+ Ne(t, e);
2672
2672
  function t(r, n) {
2673
2673
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
2674
2674
  }
2675
2675
  return t;
2676
- }(Ne)
2676
+ }(Ae)
2677
2677
  ), D;
2678
2678
  (function(e) {
2679
2679
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2680
2680
  })(D || (D = {}));
2681
- function Gn(e) {
2681
+ function qn(e) {
2682
2682
  return e.length < 2 ? e : e.reduce(function(t, r) {
2683
2683
  var n = t[t.length - 1];
2684
2684
  return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
2685
2685
  }, []);
2686
2686
  }
2687
- function Fn(e) {
2687
+ function Gn(e) {
2688
2688
  return typeof e == "function";
2689
2689
  }
2690
- function Se(e, t, r, n, i, o, a) {
2690
+ function we(e, t, r, n, i, o, a) {
2691
2691
  if (e.length === 1 && ot(e[0]))
2692
2692
  return [
2693
2693
  {
@@ -2714,86 +2714,86 @@ function Se(e, t, r, n, i, o, a) {
2714
2714
  var d = l.value;
2715
2715
  if (!(i && d in i))
2716
2716
  throw new Dn(d, a);
2717
- var g = i[d];
2717
+ var m = i[d];
2718
2718
  if (un(l)) {
2719
- (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
2720
- type: typeof g == "string" ? D.literal : D.object,
2721
- value: g
2719
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
2720
+ type: typeof m == "string" ? D.literal : D.object,
2721
+ value: m
2722
2722
  });
2723
2723
  continue;
2724
2724
  }
2725
2725
  if (Ut(l)) {
2726
- var v = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
2726
+ var b = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
2727
2727
  s.push({
2728
2728
  type: D.literal,
2729
- value: r.getDateTimeFormat(t, v).format(g)
2729
+ value: r.getDateTimeFormat(t, b).format(m)
2730
2730
  });
2731
2731
  continue;
2732
2732
  }
2733
2733
  if (Dt(l)) {
2734
- var v = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
2734
+ var b = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
2735
2735
  s.push({
2736
2736
  type: D.literal,
2737
- value: r.getDateTimeFormat(t, v).format(g)
2737
+ value: r.getDateTimeFormat(t, b).format(m)
2738
2738
  });
2739
2739
  continue;
2740
2740
  }
2741
2741
  if (Rt(l)) {
2742
- var v = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
2743
- v && v.scale && (g = g * (v.scale || 1)), s.push({
2742
+ var b = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
2743
+ b && b.scale && (m = m * (b.scale || 1)), s.push({
2744
2744
  type: D.literal,
2745
- value: r.getNumberFormat(t, v).format(g)
2745
+ value: r.getNumberFormat(t, b).format(m)
2746
2746
  });
2747
2747
  continue;
2748
2748
  }
2749
- if (Vt(l)) {
2750
- var f = l.children, m = l.value, C = i[m];
2751
- if (!Fn(C))
2752
- throw new Un(m, "function", a);
2753
- var _ = Se(f, t, r, n, i, o), b = C(_.map(function(k) {
2754
- return k.value;
2749
+ if (Ft(l)) {
2750
+ var f = l.children, p = l.value, C = i[p];
2751
+ if (!Gn(C))
2752
+ throw new Un(p, "function", a);
2753
+ var _ = we(f, t, r, n, i, o), v = C(_.map(function(E) {
2754
+ return E.value;
2755
2755
  }));
2756
- Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(k) {
2756
+ Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(E) {
2757
2757
  return {
2758
- type: typeof k == "string" ? D.literal : D.object,
2759
- value: k
2758
+ type: typeof E == "string" ? D.literal : D.object,
2759
+ value: E
2760
2760
  };
2761
2761
  }));
2762
2762
  }
2763
- if (Gt(l)) {
2764
- var x = l.options[g] || l.options.other;
2765
- if (!x)
2766
- throw new dt(l.value, g, Object.keys(l.options), a);
2767
- s.push.apply(s, Se(x.value, t, r, n, i));
2763
+ if (qt(l)) {
2764
+ var S = l.options[m] || l.options.other;
2765
+ if (!S)
2766
+ throw new dt(l.value, m, Object.keys(l.options), a);
2767
+ s.push.apply(s, we(S.value, t, r, n, i));
2768
2768
  continue;
2769
2769
  }
2770
- if (Ft(l)) {
2771
- var x = l.options["=".concat(g)];
2772
- if (!x) {
2770
+ if (Gt(l)) {
2771
+ var S = l.options["=".concat(m)];
2772
+ if (!S) {
2773
2773
  if (!Intl.PluralRules)
2774
- throw new Ne(`Intl.PluralRules is not available in this environment.
2774
+ throw new Ae(`Intl.PluralRules is not available in this environment.
2775
2775
  Try polyfilling it using "@formatjs/intl-pluralrules"
2776
2776
  `, te.MISSING_INTL_API, a);
2777
- var H = r.getPluralRules(t, { type: l.pluralType }).select(g - (l.offset || 0));
2778
- x = l.options[H] || l.options.other;
2777
+ var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
2778
+ S = l.options[P] || l.options.other;
2779
2779
  }
2780
- if (!x)
2781
- throw new dt(l.value, g, Object.keys(l.options), a);
2782
- s.push.apply(s, Se(x.value, t, r, n, i, g - (l.offset || 0)));
2780
+ if (!S)
2781
+ throw new dt(l.value, m, Object.keys(l.options), a);
2782
+ s.push.apply(s, we(S.value, t, r, n, i, m - (l.offset || 0)));
2783
2783
  continue;
2784
2784
  }
2785
2785
  }
2786
- return Gn(s);
2786
+ return qn(s);
2787
2787
  }
2788
- function Vn(e, t) {
2789
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2790
- return r[n] = A(A({}, e[n]), t[n] || {}), r;
2788
+ function Fn(e, t) {
2789
+ return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2790
+ return r[n] = H(H({}, e[n]), t[n] || {}), r;
2791
2791
  }, {})) : e;
2792
2792
  }
2793
- function Xn(e, t) {
2793
+ function Vn(e, t) {
2794
2794
  return t ? Object.keys(e).reduce(function(r, n) {
2795
- return r[n] = Vn(e[n], t[n]), r;
2796
- }, A({}, e)) : e;
2795
+ return r[n] = Fn(e[n], t[n]), r;
2796
+ }, H({}, e)) : e;
2797
2797
  }
2798
2798
  function Le(e) {
2799
2799
  return {
@@ -2809,7 +2809,7 @@ function Le(e) {
2809
2809
  }
2810
2810
  };
2811
2811
  }
2812
- function qn(e) {
2812
+ function Xn(e) {
2813
2813
  return e === void 0 && (e = {
2814
2814
  number: {},
2815
2815
  dateTime: {},
@@ -2818,7 +2818,7 @@ function qn(e) {
2818
2818
  getNumberFormat: Oe(function() {
2819
2819
  for (var t, r = [], n = 0; n < arguments.length; n++)
2820
2820
  r[n] = arguments[n];
2821
- return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
2821
+ return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
2822
2822
  }, {
2823
2823
  cache: Le(e.number),
2824
2824
  strategy: Ie.variadic
@@ -2826,7 +2826,7 @@ function qn(e) {
2826
2826
  getDateTimeFormat: Oe(function() {
2827
2827
  for (var t, r = [], n = 0; n < arguments.length; n++)
2828
2828
  r[n] = arguments[n];
2829
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
2829
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
2830
2830
  }, {
2831
2831
  cache: Le(e.dateTime),
2832
2832
  strategy: Ie.variadic
@@ -2834,7 +2834,7 @@ function qn(e) {
2834
2834
  getPluralRules: Oe(function() {
2835
2835
  for (var t, r = [], n = 0; n < arguments.length; n++)
2836
2836
  r[n] = arguments[n];
2837
- return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
2837
+ return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
2838
2838
  }, {
2839
2839
  cache: Le(e.pluralRules),
2840
2840
  strategy: Ie.variadic
@@ -2855,12 +2855,12 @@ var Wn = (
2855
2855
  var u = o.formatToParts(h);
2856
2856
  if (u.length === 1)
2857
2857
  return u[0].value;
2858
- var l = u.reduce(function(d, g) {
2859
- return !d.length || g.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(g.value) : d[d.length - 1] += g.value, d;
2858
+ var l = u.reduce(function(d, m) {
2859
+ return !d.length || m.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
2860
2860
  }, []);
2861
2861
  return l.length <= 1 ? l[0] || "" : l;
2862
2862
  }, this.formatToParts = function(h) {
2863
- return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2863
+ return we(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2864
2864
  }, this.resolvedOptions = function() {
2865
2865
  var h;
2866
2866
  return {
@@ -2874,12 +2874,12 @@ var Wn = (
2874
2874
  var a = i || {};
2875
2875
  a.formatters;
2876
2876
  var s = tn(a, ["formatters"]);
2877
- this.ast = e.__parse(t, A(A({}, s), { locale: this.resolvedLocale }));
2877
+ this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
2878
2878
  } else
2879
2879
  this.ast = t;
2880
2880
  if (!Array.isArray(this.ast))
2881
2881
  throw new TypeError("A message must be provided as a String or AST.");
2882
- this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
2882
+ this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
2883
2883
  }
2884
2884
  return Object.defineProperty(e, "defaultLocale", {
2885
2885
  get: function() {
@@ -2979,7 +2979,7 @@ const Z = {}, Jn = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][
2979
2979
  return;
2980
2980
  if (t in Z && e in Z[t])
2981
2981
  return Z[t][e];
2982
- const r = Ae(t);
2982
+ const r = He(t);
2983
2983
  for (let n = 0; n < r.length; n++) {
2984
2984
  const i = r[n], o = Yn(i, e);
2985
2985
  if (o)
@@ -3003,7 +3003,7 @@ function Yn(e, t) {
3003
3003
  function Kn(e) {
3004
3004
  if (e == null)
3005
3005
  return;
3006
- const t = Ae(e);
3006
+ const t = He(e);
3007
3007
  for (let r = 0; r < t.length; r++) {
3008
3008
  const n = t[r];
3009
3009
  if (er(n))
@@ -3018,21 +3018,21 @@ ne(
3018
3018
  ([e]) => Object.keys(e)
3019
3019
  );
3020
3020
  fe.subscribe((e) => Ye = e);
3021
- const xe = {};
3021
+ const Se = {};
3022
3022
  function $n(e, t) {
3023
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3023
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3024
3024
  }
3025
3025
  function rr(e) {
3026
- return xe[e];
3026
+ return Se[e];
3027
3027
  }
3028
3028
  function ei(e) {
3029
- return Ae(e).map((t) => {
3029
+ return He(e).map((t) => {
3030
3030
  const r = rr(t);
3031
3031
  return [t, r ? [...r] : []];
3032
3032
  }).filter(([, t]) => t.length > 0);
3033
3033
  }
3034
3034
  function We(e) {
3035
- return e == null ? !1 : Ae(e).some(
3035
+ return e == null ? !1 : He(e).some(
3036
3036
  (t) => {
3037
3037
  var r;
3038
3038
  return (r = rr(t)) == null ? void 0 : r.size;
@@ -3100,27 +3100,27 @@ function re() {
3100
3100
  return ii;
3101
3101
  }
3102
3102
  const Re = Me(!1);
3103
- var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3103
+ var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3104
3104
  for (var r in t || (t = {}))
3105
- li.call(t, r) && mt(e, r, t[r]);
3106
- if (gt)
3107
- for (var r of gt(t))
3108
- ci.call(t, r) && mt(e, r, t[r]);
3105
+ li.call(t, r) && pt(e, r, t[r]);
3106
+ if (mt)
3107
+ for (var r of mt(t))
3108
+ ci.call(t, r) && pt(e, r, t[r]);
3109
3109
  return e;
3110
3110
  }, hi = (e, t) => ai(e, si(t));
3111
3111
  let Ze;
3112
- const ze = Me(null);
3113
- function pt(e) {
3112
+ const xe = Me(null);
3113
+ function gt(e) {
3114
3114
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3115
3115
  }
3116
- function Ae(e, t = re().fallbackLocale) {
3117
- const r = pt(e);
3118
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3116
+ function He(e, t = re().fallbackLocale) {
3117
+ const r = gt(e);
3118
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3119
3119
  }
3120
3120
  function Q() {
3121
3121
  return Ze ?? void 0;
3122
3122
  }
3123
- ze.subscribe((e) => {
3123
+ xe.subscribe((e) => {
3124
3124
  Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3125
3125
  });
3126
3126
  const di = (e) => {
@@ -3131,22 +3131,22 @@ const di = (e) => {
3131
3131
  () => Re.set(!0),
3132
3132
  t
3133
3133
  ) : Re.set(!0), nr(e).then(() => {
3134
- ze.set(e);
3134
+ xe.set(e);
3135
3135
  }).finally(() => {
3136
3136
  clearTimeout(r), Re.set(!1);
3137
3137
  });
3138
3138
  }
3139
- return ze.set(e);
3140
- }, ie = hi(ui({}, ze), {
3139
+ return xe.set(e);
3140
+ }, ie = hi(ui({}, xe), {
3141
3141
  set: di
3142
- }), He = (e) => {
3142
+ }), Pe = (e) => {
3143
3143
  const t = /* @__PURE__ */ Object.create(null);
3144
3144
  return (n) => {
3145
3145
  const i = JSON.stringify(n);
3146
3146
  return i in t ? t[i] : t[i] = e(n);
3147
3147
  };
3148
3148
  };
3149
- var gi = Object.defineProperty, Te = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
3149
+ var mi = Object.defineProperty, Te = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
3150
3150
  for (var r in t || (t = {}))
3151
3151
  ir.call(t, r) && ft(e, r, t[r]);
3152
3152
  if (Te)
@@ -3162,33 +3162,33 @@ var gi = Object.defineProperty, Te = Object.getOwnPropertySymbols, ir = Object.p
3162
3162
  t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
3163
3163
  return r;
3164
3164
  };
3165
- const ge = (e, t) => {
3165
+ const me = (e, t) => {
3166
3166
  const { formats: r } = re();
3167
3167
  if (e in r && t in r[e])
3168
3168
  return r[e][t];
3169
3169
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3170
- }, mi = He(
3170
+ }, pi = Pe(
3171
3171
  (e) => {
3172
3172
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3173
3173
  if (r == null)
3174
3174
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3175
- return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
3175
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3176
3176
  }
3177
- ), pi = He(
3177
+ ), gi = Pe(
3178
3178
  (e) => {
3179
3179
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3180
3180
  if (r == null)
3181
3181
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3182
- return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
3182
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3183
3183
  }
3184
- ), fi = He(
3184
+ ), fi = Pe(
3185
3185
  (e) => {
3186
3186
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3187
3187
  if (r == null)
3188
3188
  throw new Error(
3189
3189
  '[svelte-i18n] A "locale" must be set to format time values'
3190
3190
  );
3191
- return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
3191
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3192
3192
  }
3193
3193
  ), _i = (e = {}) => {
3194
3194
  var t = e, {
@@ -3196,27 +3196,27 @@ const ge = (e, t) => {
3196
3196
  } = t, n = oe(t, [
3197
3197
  "locale"
3198
3198
  ]);
3199
- return mi(Ke({ locale: r }, n));
3200
- }, bi = (e = {}) => {
3199
+ return pi(Ke({ locale: r }, n));
3200
+ }, vi = (e = {}) => {
3201
3201
  var t = e, {
3202
3202
  locale: r = Q()
3203
3203
  } = t, n = oe(t, [
3204
3204
  "locale"
3205
3205
  ]);
3206
- return pi(Ke({ locale: r }, n));
3207
- }, vi = (e = {}) => {
3206
+ return gi(Ke({ locale: r }, n));
3207
+ }, bi = (e = {}) => {
3208
3208
  var t = e, {
3209
3209
  locale: r = Q()
3210
3210
  } = t, n = oe(t, [
3211
3211
  "locale"
3212
3212
  ]);
3213
3213
  return fi(Ke({ locale: r }, n));
3214
- }, yi = He(
3214
+ }, yi = Pe(
3215
3215
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3216
3216
  (e, t = Q()) => new Wn(e, t, re().formats, {
3217
3217
  ignoreTag: re().ignoreTag
3218
3218
  })
3219
- ), ki = (e, t = {}) => {
3219
+ ), Ei = (e, t = {}) => {
3220
3220
  var r, n, i, o;
3221
3221
  let a = t;
3222
3222
  typeof e == "object" && (a = e, e = a.id);
@@ -3241,25 +3241,25 @@ const ge = (e, t) => {
3241
3241
  let d = l;
3242
3242
  try {
3243
3243
  d = yi(l, h).format(s);
3244
- } catch (g) {
3245
- g instanceof Error && console.warn(
3244
+ } catch (m) {
3245
+ m instanceof Error && console.warn(
3246
3246
  `[svelte-i18n] Message "${e}" has syntax error:`,
3247
- g.message
3247
+ m.message
3248
3248
  );
3249
3249
  }
3250
3250
  return d;
3251
- }, Ei = (e, t) => vi(t).format(e), Ci = (e, t) => bi(t).format(e), Si = (e, t) => _i(t).format(e), xi = (e, t = Q()) => $t(e, t), zi = ne([ie, fe], () => ki);
3252
- ne([ie], () => Ei);
3251
+ }, ki = (e, t) => bi(t).format(e), Ci = (e, t) => vi(t).format(e), wi = (e, t) => _i(t).format(e), Si = (e, t = Q()) => $t(e, t), xi = ne([ie, fe], () => Ei);
3252
+ ne([ie], () => ki);
3253
3253
  ne([ie], () => Ci);
3254
- ne([ie], () => Si);
3255
- ne([ie, fe], () => xi);
3254
+ ne([ie], () => wi);
3255
+ ne([ie, fe], () => Si);
3256
3256
  function _t(e, t) {
3257
3257
  tr(e, t);
3258
3258
  }
3259
3259
  function Ti(e) {
3260
3260
  ie.set(e);
3261
3261
  }
3262
- const bt = {
3262
+ const vt = {
3263
3263
  en: {
3264
3264
  invalidUrl: "Failed to construct 'URL': Invalid URL",
3265
3265
  fetchConsentsError: "Error: Could not fetch consents.",
@@ -3839,29 +3839,29 @@ function Mi(e) {
3839
3839
  let t, r;
3840
3840
  return {
3841
3841
  c() {
3842
- t = rt("svg"), r = rt("path"), E(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"), E(t, "xmlns", "http://www.w3.org/2000/svg"), E(t, "viewBox", "0 0 512 512");
3842
+ t = rt("svg"), r = rt("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");
3843
3843
  },
3844
3844
  m(n, i) {
3845
- L(n, t, i), S(t, r);
3845
+ L(n, t, i), w(t, r);
3846
3846
  },
3847
- p: q,
3848
- i: q,
3849
- o: q,
3847
+ p: X,
3848
+ i: X,
3849
+ o: X,
3850
3850
  d(n) {
3851
3851
  n && j(t);
3852
3852
  }
3853
3853
  };
3854
3854
  }
3855
- class wi extends Pt {
3855
+ class Ni extends Bt {
3856
3856
  constructor(t) {
3857
- super(), Bt(this, t, null, Mi, Je, {});
3857
+ super(), zt(this, t, null, Mi, Je, {});
3858
3858
  }
3859
3859
  }
3860
- customElements.define("circle-exclamation-icon", Ht(wi, {}, [], [], !0));
3861
- function Ni(e) {
3862
- Nr(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}');
3860
+ customElements.define("circle-exclamation-icon", Pt(Ni, {}, [], [], !0));
3861
+ function Ai(e) {
3862
+ Ar(e, "svelte-1w14oq2", '.DisplayNone.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{display:none}.ContainerCenter.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{margin-bottom:30px}.AccordionHeader.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{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-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{margin-bottom:10px}.AccordionContent.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{display:block;padding:10px 0}.AccordionContent.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2:last-of-type{padding-bottom:0}.ConsentItem.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2:last-of-type{margin-bottom:0}.ConsentItem.svelte-1w14oq2 .ConsentName.svelte-1w14oq2.svelte-1w14oq2{margin:0}.ConsentItem.svelte-1w14oq2 .ConsentDescription.svelte-1w14oq2.svelte-1w14oq2{font-size:0.8rem}.ToggleSwitch.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{width:53px;height:30px}.ToggleSwitch.Big.svelte-1w14oq2 .Slider.svelte-1w14oq2.svelte-1w14oq2:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-1w14oq2 input.svelte-1w14oq2:checked+.Slider.svelte-1w14oq2:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2.svelte-1w14oq2{opacity:0;width:0;height:0}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2:checked+.Slider.svelte-1w14oq2{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2:disabled+.Slider.svelte-1w14oq2{opacity:0.1}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2:checked+.Slider.svelte-1w14oq2:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2:focus+.Slider.svelte-1w14oq2{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1w14oq2 .Slider.svelte-1w14oq2.svelte-1w14oq2{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-1w14oq2 .Slider.svelte-1w14oq2.svelte-1w14oq2: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-1w14oq2 .Slider.Round.svelte-1w14oq2.svelte-1w14oq2{border-radius:34px}.ToggleSwitch.svelte-1w14oq2 .Slider.Round.svelte-1w14oq2.svelte-1w14oq2:before{border-radius:50%}.SaveConsentsButton.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{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-1w14oq2.svelte-1w14oq2.svelte-1w14oq2:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-1w14oq2 circle-exclamation-icon.svelte-1w14oq2.svelte-1w14oq2{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox.svelte-1w14oq2.svelte-1w14oq2{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__wrapper.svelte-1w14oq2.svelte-1w14oq2{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-1w14oq2.svelte-1w14oq2{position:relative}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__input.svelte-1w14oq2.svelte-1w14oq2{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));width:46px}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__label.svelte-1w14oq2.svelte-1w14oq2{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-1w14oq2 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-1w14oq2.svelte-1w14oq2{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__error-message.svelte-1w14oq2.svelte-1w14oq2{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-1w14oq2.svelte-1w14oq2{width:16px;height:auto}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__tooltip.svelte-1w14oq2.svelte-1w14oq2{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-1w14oq2 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-1w14oq2.svelte-1w14oq2{opacity:1}');
3863
3863
  }
3864
- function vt(e, t, r) {
3864
+ function bt(e, t, r) {
3865
3865
  const n = e.slice();
3866
3866
  return n[64] = t[r], n;
3867
3867
  }
@@ -3869,26 +3869,26 @@ function yt(e, t, r) {
3869
3869
  const n = e.slice();
3870
3870
  return n[61] = t[r], n[62] = t, n[63] = r, n;
3871
3871
  }
3872
- function kt(e, t, r) {
3872
+ function Et(e, t, r) {
3873
3873
  const n = e.slice();
3874
3874
  return n[64] = t[r], n;
3875
3875
  }
3876
- function Ai(e) {
3876
+ function Hi(e) {
3877
3877
  let t, r, n = K(
3878
3878
  /*playerConsents*/
3879
3879
  e[9]
3880
3880
  ), i = [];
3881
3881
  for (let o = 0; o < n.length; o += 1)
3882
- i[o] = Et(vt(e, n, o));
3882
+ i[o] = kt(bt(e, n, o));
3883
3883
  return {
3884
3884
  c() {
3885
- t = N("div"), r = N("form");
3885
+ t = A("div"), r = A("form");
3886
3886
  for (let o = 0; o < i.length; o += 1)
3887
3887
  i[o].c();
3888
- E(r, "class", "checkbox svelte-1kygizb"), E(t, "class", "legacyStyle");
3888
+ k(r, "class", "checkbox svelte-1w14oq2"), k(t, "class", "legacyStyle");
3889
3889
  },
3890
3890
  m(o, a) {
3891
- L(o, t, a), S(t, r);
3891
+ L(o, t, a), w(t, r);
3892
3892
  for (let s = 0; s < i.length; s += 1)
3893
3893
  i[s] && i[s].m(r, null);
3894
3894
  e[31](r);
@@ -3902,8 +3902,8 @@ function Ai(e) {
3902
3902
  );
3903
3903
  let s;
3904
3904
  for (s = 0; s < n.length; s += 1) {
3905
- const h = vt(o, n, s);
3906
- i[s] ? i[s].p(h, a) : (i[s] = Et(h), i[s].c(), i[s].m(r, null));
3905
+ const h = bt(o, n, s);
3906
+ i[s] ? i[s].p(h, a) : (i[s] = kt(h), i[s].c(), i[s].m(r, null));
3907
3907
  }
3908
3908
  for (; s < i.length; s += 1)
3909
3909
  i[s].d(1);
@@ -3915,7 +3915,7 @@ function Ai(e) {
3915
3915
  }
3916
3916
  };
3917
3917
  }
3918
- function Hi(e) {
3918
+ function Pi(e) {
3919
3919
  let t = (
3920
3920
  /*$_*/
3921
3921
  e[16]("title") || /*$_*/
@@ -3923,81 +3923,81 @@ function Hi(e) {
3923
3923
  ), r, n, i, o = (
3924
3924
  /*$_*/
3925
3925
  (e[16]("saveButtonContent") || "Save Consents") + ""
3926
- ), a, s, h, u, l, d = t && Ct(e), g = K(
3926
+ ), a, s, h, u, l, d = t && Ct(e), m = K(
3927
3927
  /*consentsCategories*/
3928
3928
  e[8]
3929
- ), v = [];
3930
- for (let m = 0; m < g.length; m += 1)
3931
- v[m] = wt(yt(e, g, m));
3929
+ ), b = [];
3930
+ for (let p = 0; p < m.length; p += 1)
3931
+ b[p] = Nt(yt(e, m, p));
3932
3932
  let f = (
3933
3933
  /*errorMessage*/
3934
- e[6] && Nt(e)
3934
+ e[6] && At(e)
3935
3935
  );
3936
3936
  return {
3937
3937
  c() {
3938
- d && d.c(), r = G();
3939
- for (let m = 0; m < v.length; m += 1)
3940
- v[m].c();
3941
- n = G(), i = N("button"), s = G(), f && f.c(), h = Pr(), E(i, "class", "SaveConsentsButton svelte-1kygizb"), i.disabled = a = !/*isValid*/
3938
+ d && d.c(), r = q();
3939
+ for (let p = 0; p < b.length; p += 1)
3940
+ b[p].c();
3941
+ n = q(), i = A("button"), s = q(), f && f.c(), h = Br(), k(i, "class", "SaveConsentsButton svelte-1w14oq2"), i.disabled = a = !/*isValid*/
3942
3942
  e[14];
3943
3943
  },
3944
- m(m, C) {
3945
- d && d.m(m, C), L(m, r, C);
3946
- for (let _ = 0; _ < v.length; _ += 1)
3947
- v[_] && v[_].m(m, C);
3948
- L(m, n, C), L(m, i, C), i.innerHTML = o, L(m, s, C), f && f.m(m, C), L(m, h, C), u || (l = he(
3944
+ m(p, C) {
3945
+ d && d.m(p, C), L(p, r, C);
3946
+ for (let _ = 0; _ < b.length; _ += 1)
3947
+ b[_] && b[_].m(p, C);
3948
+ L(p, n, C), L(p, i, C), i.innerHTML = o, L(p, s, C), f && f.m(p, C), L(p, h, C), u || (l = he(
3949
3949
  i,
3950
3950
  "click",
3951
3951
  /*saveChanges*/
3952
3952
  e[17]
3953
3953
  ), u = !0);
3954
3954
  },
3955
- p(m, C) {
3955
+ p(p, C) {
3956
3956
  if (C[0] & /*$_*/
3957
3957
  65536 && (t = /*$_*/
3958
- m[16]("title") || /*$_*/
3959
- m[16]("description")), t ? d ? d.p(m, C) : (d = Ct(m), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
3958
+ p[16]("title") || /*$_*/
3959
+ p[16]("description")), t ? d ? d.p(p, C) : (d = Ct(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
3960
3960
  867088) {
3961
- g = K(
3961
+ m = K(
3962
3962
  /*consentsCategories*/
3963
- m[8]
3963
+ p[8]
3964
3964
  );
3965
3965
  let _;
3966
- for (_ = 0; _ < g.length; _ += 1) {
3967
- const b = yt(m, g, _);
3968
- v[_] ? v[_].p(b, C) : (v[_] = wt(b), v[_].c(), v[_].m(n.parentNode, n));
3966
+ for (_ = 0; _ < m.length; _ += 1) {
3967
+ const v = yt(p, m, _);
3968
+ b[_] ? b[_].p(v, C) : (b[_] = Nt(v), b[_].c(), b[_].m(n.parentNode, n));
3969
3969
  }
3970
- for (; _ < v.length; _ += 1)
3971
- v[_].d(1);
3972
- v.length = g.length;
3970
+ for (; _ < b.length; _ += 1)
3971
+ b[_].d(1);
3972
+ b.length = m.length;
3973
3973
  }
3974
3974
  C[0] & /*$_*/
3975
3975
  65536 && o !== (o = /*$_*/
3976
- (m[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
3976
+ (p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
3977
3977
  16384 && a !== (a = !/*isValid*/
3978
- m[14]) && (i.disabled = a), /*errorMessage*/
3979
- m[6] ? f ? f.p(m, C) : (f = Nt(m), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
3978
+ p[14]) && (i.disabled = a), /*errorMessage*/
3979
+ p[6] ? f ? f.p(p, C) : (f = At(p), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
3980
3980
  },
3981
- d(m) {
3982
- m && (j(r), j(n), j(i), j(s), j(h)), d && d.d(m), Qe(v, m), f && f.d(m), u = !1, l();
3981
+ d(p) {
3982
+ p && (j(r), j(n), j(i), j(s), j(h)), d && d.d(p), Qe(b, p), f && f.d(p), u = !1, l();
3983
3983
  }
3984
3984
  };
3985
3985
  }
3986
- function Pi(e) {
3986
+ function Bi(e) {
3987
3987
  let t, r, n;
3988
3988
  return {
3989
3989
  c() {
3990
- t = N("div"), r = N("strong"), n = pe(
3990
+ t = A("div"), r = A("strong"), n = ge(
3991
3991
  /*fatalError*/
3992
3992
  e[7]
3993
- ), E(r, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ContainerCenter svelte-1kygizb");
3993
+ ), k(r, "class", "ErrorMessage svelte-1w14oq2"), k(t, "class", "ContainerCenter svelte-1w14oq2");
3994
3994
  },
3995
3995
  m(i, o) {
3996
- L(i, t, o), S(t, r), S(r, n);
3996
+ L(i, t, o), w(t, r), w(r, n);
3997
3997
  },
3998
3998
  p(i, o) {
3999
3999
  o[0] & /*fatalError*/
4000
- 128 && me(
4000
+ 128 && pe(
4001
4001
  n,
4002
4002
  /*fatalError*/
4003
4003
  i[7]
@@ -4008,11 +4008,11 @@ function Pi(e) {
4008
4008
  }
4009
4009
  };
4010
4010
  }
4011
- function Bi(e) {
4011
+ function zi(e) {
4012
4012
  let t;
4013
4013
  return {
4014
4014
  c() {
4015
- t = N("general-animation-loading"), J(
4015
+ t = A("general-animation-loading"), J(
4016
4016
  t,
4017
4017
  "clientstyling",
4018
4018
  /*clientstyling*/
@@ -4058,7 +4058,7 @@ function Bi(e) {
4058
4058
  }
4059
4059
  };
4060
4060
  }
4061
- function Et(e) {
4061
+ function kt(e) {
4062
4062
  let t, r, n, i, o, a, s, h, u = (
4063
4063
  /*$_*/
4064
4064
  (e[16](`${/*consent*/
@@ -4067,50 +4067,50 @@ function Et(e) {
4067
4067
  ), l = (
4068
4068
  /*consent*/
4069
4069
  e[64].mustAccept ? " *" : ""
4070
- ), d, g, v, f, m, C, _, b, x;
4071
- function H(...k) {
4070
+ ), d, m, b, f, p, C, _, v, S;
4071
+ function P(...E) {
4072
4072
  return (
4073
4073
  /*input_handler_1*/
4074
4074
  e[30](
4075
4075
  /*consent*/
4076
4076
  e[64],
4077
- ...k
4077
+ ...E
4078
4078
  )
4079
4079
  );
4080
4080
  }
4081
4081
  return {
4082
4082
  c() {
4083
- t = N("div"), r = N("input"), o = G(), a = N("label"), s = N("div"), h = new Ot(!1), d = pe(l), v = G(), f = N("small"), C = G(), E(r, "class", "checkbox__input svelte-1kygizb"), E(r, "type", "checkbox"), r.checked = n = /*consent*/
4084
- e[64].status === "1", E(r, "id", i = `${/*consent*/
4085
- e[64].tagCode}__input`), h.a = d, E(s, "class", "checkbox__label-text svelte-1kygizb"), E(a, "class", "checkbox__label svelte-1kygizb"), E(a, "for", g = `${/*consent*/
4086
- e[64].tagCode}__input`), E(f, "class", "checkbox__error-message svelte-1kygizb"), E(f, "id", m = "checkBoxError__" + /*consent*/
4087
- e[64].tagCode), E(t, "class", _ = "checkbox__wrapper " + /*consent*/
4088
- e[64].tagCode + "__input svelte-1kygizb");
4083
+ t = A("div"), r = A("input"), o = q(), a = A("label"), s = A("div"), h = new Ot(!1), d = ge(l), b = q(), f = A("small"), C = q(), k(r, "class", "checkbox__input svelte-1w14oq2"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4084
+ e[64].status === "1", k(r, "id", i = `${/*consent*/
4085
+ e[64].tagCode}__input`), h.a = d, k(s, "class", "checkbox__label-text svelte-1w14oq2"), k(a, "class", "checkbox__label svelte-1w14oq2"), k(a, "for", m = `${/*consent*/
4086
+ e[64].tagCode}__input`), k(f, "class", "checkbox__error-message svelte-1w14oq2"), k(f, "id", p = "checkBoxError__" + /*consent*/
4087
+ e[64].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4088
+ e[64].tagCode + "__input svelte-1w14oq2");
4089
4089
  },
4090
- m(k, B) {
4091
- L(k, t, B), S(t, r), S(t, o), S(t, a), S(a, s), h.m(u, s), S(s, d), S(t, v), S(t, f), S(t, C), b || (x = he(r, "input", H), b = !0);
4090
+ m(E, z) {
4091
+ L(E, t, z), w(t, r), w(t, o), w(t, a), w(a, s), h.m(u, s), w(s, d), w(t, b), w(t, f), w(t, C), v || (S = he(r, "input", P), v = !0);
4092
4092
  },
4093
- p(k, B) {
4094
- e = k, B[0] & /*playerConsents*/
4093
+ p(E, z) {
4094
+ e = E, z[0] & /*playerConsents*/
4095
4095
  512 && n !== (n = /*consent*/
4096
- e[64].status === "1") && (r.checked = n), B[0] & /*playerConsents*/
4096
+ e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4097
4097
  512 && i !== (i = `${/*consent*/
4098
- e[64].tagCode}__input`) && E(r, "id", i), B[0] & /*$_, playerConsents*/
4098
+ e[64].tagCode}__input`) && k(r, "id", i), z[0] & /*$_, playerConsents*/
4099
4099
  66048 && u !== (u = /*$_*/
4100
4100
  (e[16](`${/*consent*/
4101
4101
  e[64].tagCode}__description`) || /*consent*/
4102
- e[64].tagCode) + "") && h.p(u), B[0] & /*playerConsents*/
4102
+ e[64].tagCode) + "") && h.p(u), z[0] & /*playerConsents*/
4103
4103
  512 && l !== (l = /*consent*/
4104
- e[64].mustAccept ? " *" : "") && me(d, l), B[0] & /*playerConsents*/
4105
- 512 && g !== (g = `${/*consent*/
4106
- e[64].tagCode}__input`) && E(a, "for", g), B[0] & /*playerConsents*/
4107
- 512 && m !== (m = "checkBoxError__" + /*consent*/
4108
- e[64].tagCode) && E(f, "id", m), B[0] & /*playerConsents*/
4104
+ e[64].mustAccept ? " *" : "") && pe(d, l), z[0] & /*playerConsents*/
4105
+ 512 && m !== (m = `${/*consent*/
4106
+ e[64].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4107
+ 512 && p !== (p = "checkBoxError__" + /*consent*/
4108
+ e[64].tagCode) && k(f, "id", p), z[0] & /*playerConsents*/
4109
4109
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4110
- e[64].tagCode + "__input svelte-1kygizb") && E(t, "class", _);
4110
+ e[64].tagCode + "__input svelte-1w14oq2") && k(t, "class", _);
4111
4111
  },
4112
- d(k) {
4113
- k && j(t), b = !1, x();
4112
+ d(E) {
4113
+ E && j(t), v = !1, S();
4114
4114
  }
4115
4115
  };
4116
4116
  }
@@ -4121,75 +4121,75 @@ function Ct(e) {
4121
4121
  ), n, i = (
4122
4122
  /*$_*/
4123
4123
  e[16]("description")
4124
- ), o = r && St(e), a = i && xt(e);
4124
+ ), o = r && wt(e), a = i && St(e);
4125
4125
  return {
4126
4126
  c() {
4127
- t = N("div"), o && o.c(), n = G(), a && a.c(), E(t, "class", "PlayerConsentsHeader svelte-1kygizb");
4127
+ t = A("div"), o && o.c(), n = q(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-1w14oq2");
4128
4128
  },
4129
4129
  m(s, h) {
4130
- L(s, t, h), o && o.m(t, null), S(t, n), a && a.m(t, null);
4130
+ L(s, t, h), o && o.m(t, null), w(t, n), a && a.m(t, null);
4131
4131
  },
4132
4132
  p(s, h) {
4133
4133
  h[0] & /*$_*/
4134
4134
  65536 && (r = /*$_*/
4135
- s[16]("title")), r ? o ? o.p(s, h) : (o = St(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4135
+ s[16]("title")), r ? o ? o.p(s, h) : (o = wt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4136
4136
  65536 && (i = /*$_*/
4137
- s[16]("description")), i ? a ? a.p(s, h) : (a = xt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4137
+ s[16]("description")), i ? a ? a.p(s, h) : (a = St(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4138
4138
  },
4139
4139
  d(s) {
4140
4140
  s && j(t), o && o.d(), a && a.d();
4141
4141
  }
4142
4142
  };
4143
4143
  }
4144
- function St(e) {
4144
+ function wt(e) {
4145
4145
  let t, r = (
4146
4146
  /*$_*/
4147
4147
  e[16]("title") + ""
4148
4148
  ), n;
4149
4149
  return {
4150
4150
  c() {
4151
- t = N("h2"), n = pe(r), E(t, "class", "PlayerConsentsTitle");
4151
+ t = A("h2"), n = ge(r), k(t, "class", "PlayerConsentsTitle");
4152
4152
  },
4153
4153
  m(i, o) {
4154
- L(i, t, o), S(t, n);
4154
+ L(i, t, o), w(t, n);
4155
4155
  },
4156
4156
  p(i, o) {
4157
4157
  o[0] & /*$_*/
4158
4158
  65536 && r !== (r = /*$_*/
4159
- i[16]("title") + "") && me(n, r);
4159
+ i[16]("title") + "") && pe(n, r);
4160
4160
  },
4161
4161
  d(i) {
4162
4162
  i && j(t);
4163
4163
  }
4164
4164
  };
4165
4165
  }
4166
- function xt(e) {
4166
+ function St(e) {
4167
4167
  let t, r = (
4168
4168
  /*$_*/
4169
4169
  e[16]("description") + ""
4170
4170
  ), n;
4171
4171
  return {
4172
4172
  c() {
4173
- t = N("p"), n = pe(r), E(t, "class", "PlayerConsentsDescription");
4173
+ t = A("p"), n = ge(r), k(t, "class", "PlayerConsentsDescription");
4174
4174
  },
4175
4175
  m(i, o) {
4176
- L(i, t, o), S(t, n);
4176
+ L(i, t, o), w(t, n);
4177
4177
  },
4178
4178
  p(i, o) {
4179
4179
  o[0] & /*$_*/
4180
4180
  65536 && r !== (r = /*$_*/
4181
- i[16]("description") + "") && me(n, r);
4181
+ i[16]("description") + "") && pe(n, r);
4182
4182
  },
4183
4183
  d(i) {
4184
4184
  i && j(t);
4185
4185
  }
4186
4186
  };
4187
4187
  }
4188
- function zt(e) {
4188
+ function xt(e) {
4189
4189
  let t;
4190
4190
  return {
4191
4191
  c() {
4192
- t = N("sup"), t.textContent = "*", E(t, "class", "ConsentRequired svelte-1kygizb");
4192
+ t = A("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-1w14oq2");
4193
4193
  },
4194
4194
  m(r, n) {
4195
4195
  L(r, t, n);
@@ -4208,7 +4208,7 @@ function Tt(e) {
4208
4208
  );
4209
4209
  return {
4210
4210
  c() {
4211
- t = N("p"), E(t, "class", "ConsentDescription svelte-1kygizb");
4211
+ t = A("p"), k(t, "class", "ConsentDescription svelte-1w14oq2");
4212
4212
  },
4213
4213
  m(n, i) {
4214
4214
  L(n, t, i), t.innerHTML = r;
@@ -4231,71 +4231,71 @@ function Mt(e) {
4231
4231
  (e[16](`${/*consent*/
4232
4232
  e[64].tagCode}__name`) || /*consent*/
4233
4233
  e[64].friendlyName) + ""
4234
- ), a, s, h, u, l, d, g, v, f, m, C, _ = (
4234
+ ), a, s, h, u, l, d, m, b, f, p, C, _ = (
4235
4235
  /*consent*/
4236
- e[64].mustAccept === !0 && zt()
4237
- ), b = (
4236
+ e[64].mustAccept === !0 && xt()
4237
+ ), v = (
4238
4238
  /*displayconsentdescription*/
4239
4239
  e[4] === "true" && Tt(e)
4240
4240
  );
4241
- function x(...H) {
4241
+ function S(...P) {
4242
4242
  return (
4243
4243
  /*input_handler*/
4244
4244
  e[29](
4245
4245
  /*consent*/
4246
4246
  e[64],
4247
- ...H
4247
+ ...P
4248
4248
  )
4249
4249
  );
4250
4250
  }
4251
4251
  return {
4252
4252
  c() {
4253
- t = N("div"), r = N("div"), n = N("h4"), i = new Ot(!1), a = G(), _ && _.c(), s = G(), b && b.c(), h = G(), u = N("label"), l = N("input"), v = G(), f = N("span"), i.a = a, E(n, "class", "ConsentName svelte-1kygizb"), E(r, "class", "ConsentContent"), E(l, "type", "checkbox"), l.disabled = d = /*consent*/
4253
+ t = A("div"), r = A("div"), n = A("h4"), i = new Ot(!1), a = q(), _ && _.c(), s = q(), v && v.c(), h = q(), u = A("label"), l = A("input"), b = q(), f = A("span"), i.a = a, k(n, "class", "ConsentName svelte-1w14oq2"), k(r, "class", "ConsentContent"), k(l, "type", "checkbox"), l.disabled = d = /*consent*/
4254
4254
  e[64].mustAccept === !0 && /*initialConsentsState*/
4255
4255
  e[12][
4256
4256
  /*consent*/
4257
4257
  e[64].tagCode
4258
- ] === !0, l.checked = g = /*consentsState*/
4258
+ ] === !0, l.checked = m = /*consentsState*/
4259
4259
  e[13][
4260
4260
  /*consent*/
4261
4261
  e[64].tagCode
4262
- ], E(l, "class", "svelte-1kygizb"), E(f, "class", "Slider Round svelte-1kygizb"), E(u, "class", "ToggleSwitch svelte-1kygizb"), E(t, "class", "ConsentItem svelte-1kygizb");
4262
+ ], k(l, "class", "svelte-1w14oq2"), k(f, "class", "Slider Round svelte-1w14oq2"), k(u, "class", "ToggleSwitch svelte-1w14oq2"), k(t, "class", "ConsentItem svelte-1w14oq2");
4263
4263
  },
4264
- m(H, k) {
4265
- L(H, t, k), S(t, r), S(r, n), i.m(o, n), S(n, a), _ && _.m(n, null), S(r, s), b && b.m(r, null), S(t, h), S(t, u), S(u, l), S(u, v), S(u, f), m || (C = he(l, "input", x), m = !0);
4264
+ m(P, E) {
4265
+ L(P, t, E), w(t, r), w(r, n), i.m(o, n), w(n, a), _ && _.m(n, null), w(r, s), v && v.m(r, null), w(t, h), w(t, u), w(u, l), w(u, b), w(u, f), p || (C = he(l, "input", S), p = !0);
4266
4266
  },
4267
- p(H, k) {
4268
- e = H, k[0] & /*$_, playerConsents, consentsCategories*/
4267
+ p(P, E) {
4268
+ e = P, E[0] & /*$_, playerConsents, consentsCategories*/
4269
4269
  66304 && o !== (o = /*$_*/
4270
4270
  (e[16](`${/*consent*/
4271
4271
  e[64].tagCode}__name`) || /*consent*/
4272
4272
  e[64].friendlyName) + "") && i.p(o), /*consent*/
4273
- e[64].mustAccept === !0 ? _ || (_ = zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4274
- e[4] === "true" ? b ? b.p(e, k) : (b = Tt(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4273
+ e[64].mustAccept === !0 ? _ || (_ = xt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4274
+ e[4] === "true" ? v ? v.p(e, E) : (v = Tt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4275
4275
  4864 && d !== (d = /*consent*/
4276
4276
  e[64].mustAccept === !0 && /*initialConsentsState*/
4277
4277
  e[12][
4278
4278
  /*consent*/
4279
4279
  e[64].tagCode
4280
- ] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
4281
- 8960 && g !== (g = /*consentsState*/
4280
+ ] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4281
+ 8960 && m !== (m = /*consentsState*/
4282
4282
  e[13][
4283
4283
  /*consent*/
4284
4284
  e[64].tagCode
4285
- ]) && (l.checked = g);
4285
+ ]) && (l.checked = m);
4286
4286
  },
4287
- d(H) {
4288
- H && j(t), _ && _.d(), b && b.d(), m = !1, C();
4287
+ d(P) {
4288
+ P && j(t), _ && _.d(), v && v.d(), p = !1, C();
4289
4289
  }
4290
4290
  };
4291
4291
  }
4292
- function wt(e) {
4292
+ function Nt(e) {
4293
4293
  let t, r, n, i = (
4294
4294
  /*$_*/
4295
4295
  (e[16](`${/*category*/
4296
4296
  e[61].categoryTagCode}__category`) || /*category*/
4297
4297
  e[61].friendlyName) + ""
4298
- ), o, a, s, h, u, l, d, g, v;
4298
+ ), o, a, s, h, u, l, d, m, b;
4299
4299
  function f() {
4300
4300
  e[26].call(
4301
4301
  s,
@@ -4303,7 +4303,7 @@ function wt(e) {
4303
4303
  e[61]
4304
4304
  );
4305
4305
  }
4306
- function m() {
4306
+ function p() {
4307
4307
  return (
4308
4308
  /*change_handler*/
4309
4309
  e[27](
@@ -4312,88 +4312,88 @@ function wt(e) {
4312
4312
  )
4313
4313
  );
4314
4314
  }
4315
- function C(...x) {
4315
+ function C(...S) {
4316
4316
  return (
4317
4317
  /*func*/
4318
4318
  e[28](
4319
4319
  /*category*/
4320
4320
  e[61],
4321
- ...x
4321
+ ...S
4322
4322
  )
4323
4323
  );
4324
4324
  }
4325
4325
  let _ = K(
4326
4326
  /*playerConsents*/
4327
4327
  e[9].filter(C)
4328
- ), b = [];
4329
- for (let x = 0; x < _.length; x += 1)
4330
- b[x] = Mt(kt(e, _, x));
4328
+ ), v = [];
4329
+ for (let S = 0; S < _.length; S += 1)
4330
+ v[S] = Mt(Et(e, _, S));
4331
4331
  return {
4332
4332
  c() {
4333
- 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");
4334
- for (let x = 0; x < b.length; x += 1)
4335
- b[x].c();
4336
- E(s, "type", "checkbox"), E(s, "class", "svelte-1kygizb"), E(u, "class", "Slider Round svelte-1kygizb"), E(a, "class", "ToggleSwitch Big svelte-1kygizb"), E(r, "class", "AccordionHeader svelte-1kygizb"), E(d, "class", "AccordionContent svelte-1kygizb"), E(t, "class", "AccordionItem svelte-1kygizb");
4333
+ t = A("div"), r = A("div"), n = A("h3"), o = q(), a = A("label"), s = A("input"), h = q(), u = A("span"), l = q(), d = A("div");
4334
+ for (let S = 0; S < v.length; S += 1)
4335
+ v[S].c();
4336
+ k(s, "type", "checkbox"), k(s, "class", "svelte-1w14oq2"), k(u, "class", "Slider Round svelte-1w14oq2"), k(a, "class", "ToggleSwitch Big svelte-1w14oq2"), k(r, "class", "AccordionHeader svelte-1w14oq2"), k(d, "class", "AccordionContent svelte-1w14oq2"), k(t, "class", "AccordionItem svelte-1w14oq2");
4337
4337
  },
4338
- m(x, H) {
4339
- L(x, t, H), S(t, r), S(r, n), n.innerHTML = i, S(r, o), S(r, a), S(a, s), s.checked = /*categoryToggle*/
4338
+ m(S, P) {
4339
+ L(S, t, P), w(t, r), w(r, n), n.innerHTML = i, w(r, o), w(r, a), w(a, s), s.checked = /*categoryToggle*/
4340
4340
  e[11][
4341
4341
  /*category*/
4342
4342
  e[61].categoryTagCode
4343
- ], S(a, h), S(a, u), S(t, l), S(t, d);
4344
- for (let k = 0; k < b.length; k += 1)
4345
- b[k] && b[k].m(d, null);
4346
- g || (v = [
4343
+ ], w(a, h), w(a, u), w(t, l), w(t, d);
4344
+ for (let E = 0; E < v.length; E += 1)
4345
+ v[E] && v[E].m(d, null);
4346
+ m || (b = [
4347
4347
  he(s, "change", f),
4348
- he(s, "change", m)
4349
- ], g = !0);
4348
+ he(s, "change", p)
4349
+ ], m = !0);
4350
4350
  },
4351
- p(x, H) {
4352
- if (e = x, H[0] & /*$_, consentsCategories*/
4351
+ p(S, P) {
4352
+ if (e = S, P[0] & /*$_, consentsCategories*/
4353
4353
  65792 && i !== (i = /*$_*/
4354
4354
  (e[16](`${/*category*/
4355
4355
  e[61].categoryTagCode}__category`) || /*category*/
4356
- e[61].friendlyName) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
4356
+ e[61].friendlyName) + "") && (n.innerHTML = i), P[0] & /*categoryToggle, consentsCategories*/
4357
4357
  2304 && (s.checked = /*categoryToggle*/
4358
4358
  e[11][
4359
4359
  /*category*/
4360
4360
  e[61].categoryTagCode
4361
- ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4361
+ ]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4362
4362
  602896) {
4363
4363
  _ = K(
4364
4364
  /*playerConsents*/
4365
4365
  e[9].filter(C)
4366
4366
  );
4367
- let k;
4368
- for (k = 0; k < _.length; k += 1) {
4369
- const B = kt(e, _, k);
4370
- b[k] ? b[k].p(B, H) : (b[k] = Mt(B), b[k].c(), b[k].m(d, null));
4367
+ let E;
4368
+ for (E = 0; E < _.length; E += 1) {
4369
+ const z = Et(e, _, E);
4370
+ v[E] ? v[E].p(z, P) : (v[E] = Mt(z), v[E].c(), v[E].m(d, null));
4371
4371
  }
4372
- for (; k < b.length; k += 1)
4373
- b[k].d(1);
4374
- b.length = _.length;
4372
+ for (; E < v.length; E += 1)
4373
+ v[E].d(1);
4374
+ v.length = _.length;
4375
4375
  }
4376
4376
  },
4377
- d(x) {
4378
- x && j(t), Qe(b, x), g = !1, At(v);
4377
+ d(S) {
4378
+ S && j(t), Qe(v, S), m = !1, Ht(b);
4379
4379
  }
4380
4380
  };
4381
4381
  }
4382
- function Nt(e) {
4382
+ function At(e) {
4383
4383
  let t, r, n, i, o;
4384
4384
  return {
4385
4385
  c() {
4386
- t = N("div"), r = N("circle-exclamation-icon"), n = G(), i = N("strong"), o = pe(
4386
+ t = A("div"), r = A("circle-exclamation-icon"), n = q(), i = A("strong"), o = ge(
4387
4387
  /*errorMessage*/
4388
4388
  e[6]
4389
- ), J(r, "class", "svelte-1kygizb"), E(i, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ConsentErrorContainer svelte-1kygizb");
4389
+ ), J(r, "class", "svelte-1w14oq2"), k(i, "class", "ErrorMessage svelte-1w14oq2"), k(t, "class", "ConsentErrorContainer svelte-1w14oq2");
4390
4390
  },
4391
4391
  m(a, s) {
4392
- L(a, t, s), S(t, r), S(t, n), S(t, i), S(i, o);
4392
+ L(a, t, s), w(t, r), w(t, n), w(t, i), w(i, o);
4393
4393
  },
4394
4394
  p(a, s) {
4395
4395
  s[0] & /*errorMessage*/
4396
- 64 && me(
4396
+ 64 && pe(
4397
4397
  o,
4398
4398
  /*errorMessage*/
4399
4399
  a[6]
@@ -4411,34 +4411,34 @@ function Oi(e) {
4411
4411
  /*isLoading*/
4412
4412
  a[10]
4413
4413
  )
4414
- return Bi;
4414
+ return zi;
4415
4415
  if (
4416
4416
  /*fatalError*/
4417
4417
  a[7]
4418
4418
  )
4419
- return Pi;
4419
+ return Bi;
4420
4420
  if (
4421
4421
  /*session*/
4422
4422
  a[0]
4423
4423
  )
4424
- return Hi;
4424
+ return Pi;
4425
4425
  if (!/*session*/
4426
4426
  a[0])
4427
- return Ai;
4427
+ return Hi;
4428
4428
  }
4429
4429
  let i = n(e), o = i && i(e);
4430
4430
  return {
4431
4431
  c() {
4432
- t = N("div"), r = N("div"), o && o.c(), E(r, "class", "ConsentsContainer svelte-1kygizb"), E(t, "class", Br("") + " svelte-1kygizb");
4432
+ t = A("div"), r = A("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-1w14oq2"), k(t, "class", zr("") + " svelte-1w14oq2");
4433
4433
  },
4434
4434
  m(a, s) {
4435
- L(a, t, s), S(t, r), o && o.m(r, null), e[32](r);
4435
+ L(a, t, s), w(t, r), o && o.m(r, null), e[32](r);
4436
4436
  },
4437
4437
  p(a, s) {
4438
4438
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
4439
4439
  },
4440
- i: q,
4441
- o: q,
4440
+ i: X,
4441
+ o: X,
4442
4442
  d(a) {
4443
4443
  a && j(t), o && o.d(), e[32](null);
4444
4444
  }
@@ -4446,62 +4446,62 @@ function Oi(e) {
4446
4446
  }
4447
4447
  function Ii(e, t, r) {
4448
4448
  let n;
4449
- Ar(e, zi, (c) => r(16, n = c));
4450
- 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: v = "false" } = t, f, m = !1, C = !1, _ = "", b = "", x = "", H = "", k = [], B = [], O = [], ae = !0, _e = !0, F = {}, be = {}, W = {}, U = {}, se, ve, R = {
4449
+ Hr(e, xi, (c) => r(16, n = c));
4450
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: b = "false" } = t, f, p = !1, C = !1, _ = "", v = "", S = "", P = "", E = [], z = [], O = [], ae = !0, _e = !0, G = {}, ve = {}, W = {}, U = {}, se, be, R = {
4451
4451
  none: { key: "0", value: "None" },
4452
4452
  accepted: { key: "1", value: "Accepted" },
4453
4453
  expired: { key: "2", value: "Expired" },
4454
4454
  denied: { key: "3", value: "Denied" },
4455
4455
  suspended: { key: "4", value: "Suspended" }
4456
4456
  }, ye = !1;
4457
- Object.keys(bt).forEach((c) => {
4458
- _t(c, bt[c]);
4457
+ Object.keys(vt).forEach((c) => {
4458
+ _t(c, vt[c]);
4459
4459
  });
4460
4460
  const ar = () => {
4461
4461
  Ti(l);
4462
4462
  }, sr = () => {
4463
- let c = new URL(g);
4464
- fetch(c.href).then((p) => p.json()).then((p) => {
4465
- Object.keys(p).forEach((T) => {
4466
- _t(T, p[T]);
4463
+ let c = new URL(m);
4464
+ fetch(c.href).then((g) => g.json()).then((g) => {
4465
+ Object.keys(g).forEach((T) => {
4466
+ _t(T, g[T]);
4467
4467
  });
4468
- }).catch((p) => {
4469
- console.log(p);
4468
+ }).catch((g) => {
4469
+ console.log(g);
4470
4470
  });
4471
4471
  }, lr = () => {
4472
- i && (_ = i, C = !0), o && (b = o);
4473
- }, ke = (c, p = !1) => {
4474
- p ? r(7, H = c) : (mr(), r(6, x = c));
4475
- }, le = async (c, p, T, y = !1) => {
4472
+ i && (_ = i, C = !0), o && (v = o);
4473
+ }, Ee = (c, g = !1) => {
4474
+ g ? r(7, P = c) : (pr(), r(6, S = c));
4475
+ }, le = async (c, g, T, y = !1) => {
4476
4476
  try {
4477
- const z = await fetch(c, T);
4478
- if (!z.ok)
4479
- throw new Error(n(p));
4480
- const I = await z.json();
4481
- return C ? I : I.filter((V) => V.showOnRegister === !0);
4482
- } catch (z) {
4483
- throw ke(
4484
- z instanceof TypeError ? n(p) : z.message,
4477
+ const x = await fetch(c, T);
4478
+ if (!x.ok)
4479
+ throw new Error(n(g));
4480
+ const I = await x.json();
4481
+ return C ? I : I.filter((F) => F.showOnRegister === !0);
4482
+ } catch (x) {
4483
+ throw Ee(
4484
+ x instanceof TypeError ? n(g) : x.message,
4485
4485
  y
4486
- ), z;
4486
+ ), x;
4487
4487
  }
4488
4488
  }, cr = async () => {
4489
4489
  try {
4490
- let c = [], p = [];
4491
- if (C ? [c, p] = await $e() : c = await $e(), r(10, ae = !1), B = [...c], r(8, k = hr(B).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, F = dr(k)), be = { ...F }, r(9, O = [...p]), B.forEach((T) => {
4492
- let y = O.find((z) => z.tagCode === T.tagCode);
4490
+ let c = [], g = [];
4491
+ if (C ? [c, g] = await $e() : c = await $e(), r(10, ae = !1), z = [...c], r(8, E = hr(z).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = dr(E)), ve = { ...G }, r(9, O = [...g]), z.forEach((T) => {
4492
+ let y = O.find((x) => x.tagCode === T.tagCode);
4493
4493
  y || (y = {
4494
4494
  ...T,
4495
4495
  status: R.denied.value
4496
4496
  }, O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
4497
- }), v === "true") {
4497
+ }), b === "true") {
4498
4498
  if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
4499
4499
  return;
4500
- ke(n("wrongModalConfig"), !0);
4500
+ Ee(n("wrongModalConfig"), !0);
4501
4501
  }
4502
- gr();
4502
+ mr();
4503
4503
  } catch (c) {
4504
- throw r(10, ae = !1), ke(
4504
+ throw r(10, ae = !1), Ee(
4505
4505
  c instanceof TypeError ? n("invalidUrl") : c.message,
4506
4506
  !0
4507
4507
  ), c;
@@ -4510,10 +4510,10 @@ function Ii(e, t, r) {
4510
4510
  const c = new URL(`${a}/api/v1/gm/consents`);
4511
4511
  if (c.searchParams.append("Status", "Active"), !C)
4512
4512
  return await le(c.href, "fetchConsentsError", { method: "GET" }, !0);
4513
- const p = new URL(`${a}/api/v1/gm/user-consents/${b}`);
4513
+ const g = new URL(`${a}/api/v1/gm/user-consents/${v}`);
4514
4514
  return await Promise.all([
4515
4515
  le(c.href, "fetchConsentsError", { method: "GET" }, !0),
4516
- le(p.href, "fetchPlayerConsentsError", {
4516
+ le(g.href, "fetchPlayerConsentsError", {
4517
4517
  method: "GET",
4518
4518
  headers: {
4519
4519
  "X-SessionId": _,
@@ -4523,87 +4523,87 @@ function Ii(e, t, r) {
4523
4523
  ]);
4524
4524
  }, ur = () => {
4525
4525
  ye = !1;
4526
- const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
4526
+ const c = new URL(`${a}/api/v2/gm/legislation/consents`), g = {
4527
4527
  "Content-Type": "application/json",
4528
4528
  Accept: "application/json"
4529
- }, T = { method: "GET", headers: p };
4530
- fetch(c.href, T).then((y) => y.ok ? y.json() : (ye = !0, y.json().then((z) => (console.error(z), Ee(z))))).then((y) => {
4529
+ }, T = { method: "GET", headers: g };
4530
+ fetch(c.href, T).then((y) => y.ok ? y.json() : (ye = !0, y.json().then((x) => (console.error(x), ke(x))))).then((y) => {
4531
4531
  if (!ye) {
4532
- if (B = y, localStorage.getItem("playerConsents")) {
4532
+ if (z = y, localStorage.getItem("playerConsents")) {
4533
4533
  try {
4534
4534
  r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
4535
- } catch (z) {
4536
- return console.error(z), Ee(z);
4535
+ } catch (x) {
4536
+ return console.error(x), ke(x);
4537
4537
  }
4538
4538
  return;
4539
4539
  }
4540
- return r(9, O = B.map((z) => ({
4541
- id: z.id,
4540
+ return r(9, O = z.map((x) => ({
4541
+ id: x.id,
4542
4542
  status: R.denied.key,
4543
- friendlyName: z.friendlyName,
4544
- tagCode: z.tagCode,
4543
+ friendlyName: x.friendlyName,
4544
+ tagCode: x.tagCode,
4545
4545
  selected: null,
4546
- mustAccept: z.mustAccept
4546
+ mustAccept: x.mustAccept
4547
4547
  }))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
4548
4548
  }
4549
- }).catch((y) => (console.error(y), Ee(y))).finally(() => {
4549
+ }).catch((y) => (console.error(y), ke(y))).finally(() => {
4550
4550
  r(10, ae = !1);
4551
4551
  });
4552
4552
  }, hr = (c) => {
4553
- const p = /* @__PURE__ */ new Map();
4553
+ const g = /* @__PURE__ */ new Map();
4554
4554
  return c.forEach((T) => {
4555
- p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
4556
- }), Array.from(p.values());
4555
+ g.has(T.category.categoryTagCode) || g.set(T.category.categoryTagCode, T.category);
4556
+ }), Array.from(g.values());
4557
4557
  }, dr = (c) => {
4558
- const p = localStorage.getItem("categoryToggle" + b);
4559
- if (p === null) {
4558
+ const g = localStorage.getItem("categoryToggle" + v);
4559
+ if (g === null) {
4560
4560
  const T = c.reduce(
4561
- (y, z) => (y[z.categoryTagCode] = !1, y),
4561
+ (y, x) => (y[x.categoryTagCode] = !1, y),
4562
4562
  {}
4563
4563
  );
4564
- return localStorage.setItem("categoryToggle" + b, JSON.stringify(T)), T;
4564
+ return localStorage.setItem("categoryToggle" + v, JSON.stringify(T)), T;
4565
4565
  } else
4566
- return JSON.parse(p);
4567
- }, gr = () => {
4566
+ return JSON.parse(g);
4567
+ }, mr = () => {
4568
4568
  O.forEach((c) => {
4569
4569
  r(12, W[c.tagCode] = c.status === R.accepted.value, W);
4570
4570
  }), r(13, U = { ...W });
4571
- }, mr = () => {
4572
- r(13, U = { ...W }), r(11, F = { ...be });
4573
- }, pr = async () => {
4571
+ }, pr = () => {
4572
+ r(13, U = { ...W }), r(11, G = { ...ve });
4573
+ }, gr = async () => {
4574
4574
  if (!_e)
4575
4575
  return;
4576
4576
  _e = !1;
4577
- const c = [], p = [];
4577
+ const c = [], g = [];
4578
4578
  if (Object.keys(U).forEach((y) => {
4579
- const z = O.find((I) => I.tagCode === y);
4580
- U[y] !== W[y] && (z ? c.push({
4579
+ const x = O.find((I) => I.tagCode === y);
4580
+ U[y] !== W[y] && (x ? c.push({
4581
4581
  tagCode: y,
4582
4582
  status: U[y] ? R.accepted.value : R.denied.value
4583
- }) : p.push({
4583
+ }) : g.push({
4584
4584
  tagCode: y,
4585
4585
  status: U[y] ? R.accepted.value : R.denied.value
4586
4586
  }));
4587
4587
  }), !C) {
4588
- localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), be = { ...F }, window.postMessage(
4588
+ localStorage.setItem("categoryToggle" + v, JSON.stringify(G)), ve = { ...G }, window.postMessage(
4589
4589
  {
4590
4590
  type: "NewPlayerConsentData",
4591
- data: JSON.stringify(p)
4591
+ data: JSON.stringify(g)
4592
4592
  },
4593
4593
  window.location.href
4594
4594
  ), _e = !0;
4595
4595
  return;
4596
4596
  }
4597
- const T = new URL(`${a}/api/v1/gm/user-consents/${b}`);
4597
+ const T = new URL(`${a}/api/v1/gm/user-consents/${v}`);
4598
4598
  try {
4599
4599
  const y = await Promise.allSettled([
4600
- p.length > 0 && le(T.href, "updateConsentsError", {
4600
+ g.length > 0 && le(T.href, "updateConsentsError", {
4601
4601
  method: "POST",
4602
4602
  headers: {
4603
4603
  "X-SessionId": _,
4604
4604
  "Content-Type": "application/json"
4605
4605
  },
4606
- body: JSON.stringify({ userConsents: p })
4606
+ body: JSON.stringify({ userConsents: g })
4607
4607
  }),
4608
4608
  c.length > 0 && le(T.href, "updateConsentsError", {
4609
4609
  method: "PATCH",
@@ -4614,12 +4614,12 @@ function Ii(e, t, r) {
4614
4614
  body: JSON.stringify({ userConsents: c })
4615
4615
  })
4616
4616
  ]);
4617
- y.forEach((z, I) => {
4618
- if (z.status === "rejected" || z.value.ok === !1) {
4619
- const V = I < p.length ? p[I] : c[I - p.length];
4620
- r(13, U[V.tagCode] = W[V.tagCode], U);
4617
+ y.forEach((x, I) => {
4618
+ if (x.status === "rejected" || x.value.ok === !1) {
4619
+ const F = I < g.length ? g[I] : c[I - g.length];
4620
+ r(13, U[F.tagCode] = W[F.tagCode], U);
4621
4621
  }
4622
- }), y.every((z) => z.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), be = { ...F }, window.postMessage(
4622
+ }), y.every((x) => x.status === "fulfilled") && (localStorage.setItem("categoryToggle" + v, JSON.stringify(G)), ve = { ...G }, window.postMessage(
4623
4623
  {
4624
4624
  type: "PlayerConsentUpdated",
4625
4625
  success: !0
@@ -4627,7 +4627,7 @@ function Ii(e, t, r) {
4627
4627
  window.location.href
4628
4628
  ), r(12, W = { ...U }));
4629
4629
  } catch (y) {
4630
- ke(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
4630
+ Ee(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
4631
4631
  {
4632
4632
  type: "PlayerConsentUpdated",
4633
4633
  success: !1
@@ -4638,55 +4638,55 @@ function Ii(e, t, r) {
4638
4638
  _e = !0, r(14, se = !1);
4639
4639
  }
4640
4640
  }, fr = (c) => {
4641
- const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
4641
+ const g = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
4642
4642
  "Content-Type": "application/json",
4643
4643
  Accept: "application/json"
4644
4644
  }, y = {
4645
4645
  playerConsents: O,
4646
4646
  registrationId: c
4647
- }, z = {
4647
+ }, x = {
4648
4648
  method: "POST",
4649
4649
  body: JSON.stringify(y),
4650
4650
  headers: T
4651
4651
  };
4652
- fetch(p.href, z).then((I) => {
4652
+ fetch(g.href, x).then((I) => {
4653
4653
  I.ok || (ye = !0);
4654
- }).catch((I) => (console.error(I), Ee(I))).finally(() => {
4654
+ }).catch((I) => (console.error(I), ke(I))).finally(() => {
4655
4655
  r(10, ae = !1);
4656
4656
  });
4657
4657
  }, et = (c) => {
4658
- O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
4659
- p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = F[c] || !1, U);
4658
+ O.filter((g) => g.category.categoryTagCode === c).forEach((g) => {
4659
+ g.status = g.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[g.tagCode] = G[c] || !1, U);
4660
4660
  }), r(14, se = tt());
4661
- }, Pe = (c, p, T) => {
4662
- const y = O.find((V) => V.id === T), z = p ? "value" : "key";
4661
+ }, Be = (c, g, T) => {
4662
+ const y = O.find((F) => F.id === T), x = g ? "value" : "key";
4663
4663
  let I;
4664
- if (!p && y.mustAccept) {
4665
- const V = Array.from(ve.children);
4666
- for (const ce of V)
4664
+ if (!g && y.mustAccept) {
4665
+ const F = Array.from(be.children);
4666
+ for (const ce of F)
4667
4667
  if (I = Array.from(ce.children).find((Tr) => Tr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
4668
4668
  break;
4669
4669
  }
4670
- if (y.status === R.accepted[z] ? (y.status = R.denied[z], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[z], I && (I.innerHTML = "")), p) {
4670
+ if (y.status === R.accepted[x] ? (y.status = R.denied[x], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[x], I && (I.innerHTML = "")), g) {
4671
4671
  r(13, U[y.tagCode] = !U[y.tagCode], U);
4672
- const V = O.filter((ce) => ce.category.categoryTagCode === p.categoryTagCode).every((ce) => ce.status !== R.denied.value);
4673
- r(11, F[p.categoryTagCode] = V, F);
4672
+ const F = O.filter((ce) => ce.category.categoryTagCode === g.categoryTagCode).every((ce) => ce.status !== R.denied.value);
4673
+ r(11, G[g.categoryTagCode] = F, G);
4674
4674
  }
4675
4675
  _r();
4676
- }, _r = ((c, p) => {
4676
+ }, _r = ((c, g) => {
4677
4677
  let T;
4678
4678
  return function(...y) {
4679
- const z = this;
4679
+ const x = this;
4680
4680
  clearTimeout(T), T = setTimeout(
4681
4681
  () => {
4682
- c.apply(z, y);
4682
+ c.apply(x, y);
4683
4683
  },
4684
- p
4684
+ g
4685
4685
  );
4686
4686
  };
4687
- })(() => br(), 500), br = () => {
4687
+ })(() => vr(), 500), vr = () => {
4688
4688
  r(14, se = tt()), i || (window.postMessage({ type: "isConsentsValid", isValid: se }), localStorage.setItem("playerConsents", JSON.stringify(O)));
4689
- }, tt = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Ee = (c) => {
4689
+ }, tt = () => O.filter((g) => O.some((T) => g.tagCode === T.tagCode && T.mustAccept && (g.status === R.denied.key || g.status === R.denied.value))).length === 0, ke = (c) => {
4690
4690
  window.postMessage(
4691
4691
  {
4692
4692
  type: "WidgetNotification",
@@ -4694,46 +4694,46 @@ function Ii(e, t, r) {
4694
4694
  },
4695
4695
  window.location.href
4696
4696
  );
4697
- }, vr = (c) => {
4697
+ }, br = (c) => {
4698
4698
  c.data && c.data.type !== "setUpPlayerConsents" || fr(c.data.registerid);
4699
4699
  };
4700
- Hr(() => {
4700
+ Pr(() => {
4701
4701
  setTimeout(
4702
4702
  () => {
4703
- r(25, m = !0);
4703
+ r(25, p = !0);
4704
4704
  },
4705
4705
  50
4706
4706
  );
4707
- const c = (p) => vr(p);
4707
+ const c = (g) => br(g);
4708
4708
  return window.addEventListener("message", c), () => {
4709
4709
  window.removeEventListener("message", c);
4710
4710
  };
4711
4711
  });
4712
4712
  function yr(c) {
4713
- F[c.categoryTagCode] = this.checked, r(11, F);
4713
+ G[c.categoryTagCode] = this.checked, r(11, G);
4714
4714
  }
4715
- const kr = (c) => et(c.categoryTagCode), Er = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Cr = (c, p) => Pe(p, c.category, c.id), Sr = (c, p) => Pe(p, null, c.id);
4716
- function xr(c) {
4715
+ const Er = (c) => et(c.categoryTagCode), kr = (c, g) => g.category.categoryTagCode === c.categoryTagCode, Cr = (c, g) => Be(g, c.category, c.id), wr = (c, g) => Be(g, null, c.id);
4716
+ function Sr(c) {
4717
4717
  nt[c ? "unshift" : "push"](() => {
4718
- ve = c, r(15, ve);
4718
+ be = c, r(15, be);
4719
4719
  });
4720
4720
  }
4721
- function zr(c) {
4721
+ function xr(c) {
4722
4722
  nt[c ? "unshift" : "push"](() => {
4723
4723
  f = c, r(5, f);
4724
4724
  });
4725
4725
  }
4726
4726
  return e.$$set = (c) => {
4727
- "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, v = c.modalconsents);
4727
+ "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, b = c.modalconsents);
4728
4728
  }, e.$$.update = () => {
4729
4729
  e.$$.dirty[0] & /*isMounted, session*/
4730
- 33554433 && m && i && (lr(), cr()), e.$$.dirty[0] & /*session*/
4730
+ 33554433 && p && i && (lr(), cr()), e.$$.dirty[0] & /*session*/
4731
4731
  1 && (i || ur()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4732
4732
  34 && s && f && Or(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4733
4733
  36 && h && f && Ir(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4734
4734
  40 && f && jr(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
4735
4735
  4194304 && l && ar(), e.$$.dirty[0] & /*translationurl*/
4736
- 8388608 && g && sr();
4736
+ 8388608 && m && sr();
4737
4737
  }, [
4738
4738
  i,
4739
4739
  s,
@@ -4741,38 +4741,38 @@ function Ii(e, t, r) {
4741
4741
  u,
4742
4742
  d,
4743
4743
  f,
4744
- x,
4745
- H,
4746
- k,
4744
+ S,
4745
+ P,
4746
+ E,
4747
4747
  O,
4748
4748
  ae,
4749
- F,
4749
+ G,
4750
4750
  W,
4751
4751
  U,
4752
4752
  se,
4753
- ve,
4753
+ be,
4754
4754
  n,
4755
- pr,
4755
+ gr,
4756
4756
  et,
4757
- Pe,
4757
+ Be,
4758
4758
  o,
4759
4759
  a,
4760
4760
  l,
4761
- g,
4762
- v,
4763
4761
  m,
4762
+ b,
4763
+ p,
4764
4764
  yr,
4765
- kr,
4766
4765
  Er,
4766
+ kr,
4767
4767
  Cr,
4768
+ wr,
4768
4769
  Sr,
4769
- xr,
4770
- zr
4770
+ xr
4771
4771
  ];
4772
4772
  }
4773
- class ji extends Pt {
4773
+ class ji extends Bt {
4774
4774
  constructor(t) {
4775
- super(), Bt(
4775
+ super(), zt(
4776
4776
  this,
4777
4777
  t,
4778
4778
  Ii,
@@ -4790,7 +4790,7 @@ class ji extends Pt {
4790
4790
  translationurl: 23,
4791
4791
  modalconsents: 24
4792
4792
  },
4793
- Ni,
4793
+ Ai,
4794
4794
  [-1, -1, -1]
4795
4795
  );
4796
4796
  }
@@ -4798,64 +4798,64 @@ class ji extends Pt {
4798
4798
  return this.$$.ctx[0];
4799
4799
  }
4800
4800
  set session(t) {
4801
- this.$$set({ session: t }), X();
4801
+ this.$$set({ session: t }), V();
4802
4802
  }
4803
4803
  get userid() {
4804
4804
  return this.$$.ctx[20];
4805
4805
  }
4806
4806
  set userid(t) {
4807
- this.$$set({ userid: t }), X();
4807
+ this.$$set({ userid: t }), V();
4808
4808
  }
4809
4809
  get endpoint() {
4810
4810
  return this.$$.ctx[21];
4811
4811
  }
4812
4812
  set endpoint(t) {
4813
- this.$$set({ endpoint: t }), X();
4813
+ this.$$set({ endpoint: t }), V();
4814
4814
  }
4815
4815
  get clientstyling() {
4816
4816
  return this.$$.ctx[1];
4817
4817
  }
4818
4818
  set clientstyling(t) {
4819
- this.$$set({ clientstyling: t }), X();
4819
+ this.$$set({ clientstyling: t }), V();
4820
4820
  }
4821
4821
  get clientstylingurl() {
4822
4822
  return this.$$.ctx[2];
4823
4823
  }
4824
4824
  set clientstylingurl(t) {
4825
- this.$$set({ clientstylingurl: t }), X();
4825
+ this.$$set({ clientstylingurl: t }), V();
4826
4826
  }
4827
4827
  get mbsource() {
4828
4828
  return this.$$.ctx[3];
4829
4829
  }
4830
4830
  set mbsource(t) {
4831
- this.$$set({ mbsource: t }), X();
4831
+ this.$$set({ mbsource: t }), V();
4832
4832
  }
4833
4833
  get lang() {
4834
4834
  return this.$$.ctx[22];
4835
4835
  }
4836
4836
  set lang(t) {
4837
- this.$$set({ lang: t }), X();
4837
+ this.$$set({ lang: t }), V();
4838
4838
  }
4839
4839
  get displayconsentdescription() {
4840
4840
  return this.$$.ctx[4];
4841
4841
  }
4842
4842
  set displayconsentdescription(t) {
4843
- this.$$set({ displayconsentdescription: t }), X();
4843
+ this.$$set({ displayconsentdescription: t }), V();
4844
4844
  }
4845
4845
  get translationurl() {
4846
4846
  return this.$$.ctx[23];
4847
4847
  }
4848
4848
  set translationurl(t) {
4849
- this.$$set({ translationurl: t }), X();
4849
+ this.$$set({ translationurl: t }), V();
4850
4850
  }
4851
4851
  get modalconsents() {
4852
4852
  return this.$$.ctx[24];
4853
4853
  }
4854
4854
  set modalconsents(t) {
4855
- this.$$set({ modalconsents: t }), X();
4855
+ this.$$set({ modalconsents: t }), V();
4856
4856
  }
4857
4857
  }
4858
- Ht(ji, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
4858
+ Pt(ji, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
4859
4859
  export {
4860
4860
  ji as P
4861
4861
  };