@everymatrix/player-consents 1.63.3 → 1.64.1

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,4 +1,4 @@
1
- import { n as W, s as Ye, a as Ar, r as Bt, i as Hr, c as Ot, S as zt, b as It, d as j, e as L, f as w, g as it, h as k, j as V, k as Pr, l as A, m as Br, o as Or, p as ot, q as Q, t as ge, u as fe, v as $, w as Ke, x as de, y as q, z as zr, H as jt, A as Ir, B as jr, C as Lr, D as Rr } from "./GeneralAnimationLoading-ZTNd0X9B.js";
1
+ import { n as W, s as Ye, a as Ar, r as Bt, i as Hr, c as Ot, S as zt, b as It, d as j, e as L, f as S, g as it, h as E, j as X, k as Pr, l as A, m as Br, o as Or, p as ot, q as Q, t as ge, u as fe, v as $, w as Ke, x as de, y as G, z as zr, H as jt, A as Ir, B as jr, C as Lr, D as Rr } from "./GeneralAnimationLoading-ZTNd0X9B.js";
2
2
  const K = [];
3
3
  function Ur(e, t) {
4
4
  return {
@@ -46,7 +46,7 @@ function ie(e, t, r) {
46
46
  d();
47
47
  const f = t(n ? u[0] : u, a, s);
48
48
  o ? a(f) : d = Hr(f) ? f : W;
49
- }, b = i.map(
49
+ }, v = i.map(
50
50
  (f, p) => Ar(
51
51
  f,
52
52
  (C) => {
@@ -58,26 +58,26 @@ function ie(e, t, r) {
58
58
  )
59
59
  );
60
60
  return h = !0, m(), function() {
61
- Bt(b), d(), h = !1;
61
+ Bt(v), d(), h = !1;
62
62
  };
63
63
  });
64
64
  }
65
65
  function Dr(e) {
66
66
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
67
67
  }
68
- var qr = function(t) {
69
- return Gr(t) && !Fr(t);
68
+ var Gr = function(t) {
69
+ return Fr(t) && !Vr(t);
70
70
  };
71
- function Gr(e) {
71
+ function Fr(e) {
72
72
  return !!e && typeof e == "object";
73
73
  }
74
- function Fr(e) {
74
+ function Vr(e) {
75
75
  var t = Object.prototype.toString.call(e);
76
76
  return t === "[object RegExp]" || t === "[object Date]" || Wr(e);
77
77
  }
78
- var Vr = typeof Symbol == "function" && Symbol.for, Xr = Vr ? Symbol.for("react.element") : 60103;
78
+ var Xr = typeof Symbol == "function" && Symbol.for, qr = Xr ? Symbol.for("react.element") : 60103;
79
79
  function Wr(e) {
80
- return e.$$typeof === Xr;
80
+ return e.$$typeof === qr;
81
81
  }
82
82
  function Zr(e) {
83
83
  return Array.isArray(e) ? [] : {};
@@ -123,7 +123,7 @@ function $r(e, t, r) {
123
123
  }), n;
124
124
  }
125
125
  function ee(e, t, r) {
126
- r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = me;
126
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = me;
127
127
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
128
128
  return o ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : me(t, r);
129
129
  }
@@ -136,32 +136,32 @@ ee.all = function(t, r) {
136
136
  };
137
137
  var en = ee, tn = en;
138
138
  const rn = /* @__PURE__ */ Dr(tn);
139
- var qe = function(e, t) {
140
- return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
139
+ var Ge = function(e, t) {
140
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
141
141
  r.__proto__ = n;
142
142
  } || function(r, n) {
143
143
  for (var i in n)
144
144
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
145
- }, qe(e, t);
145
+ }, Ge(e, t);
146
146
  };
147
147
  function He(e, t) {
148
148
  if (typeof t != "function" && t !== null)
149
149
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
150
- qe(e, t);
150
+ Ge(e, t);
151
151
  function r() {
152
152
  this.constructor = e;
153
153
  }
154
154
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
155
155
  }
156
- var X = function() {
157
- return X = Object.assign || function(t) {
156
+ var q = function() {
157
+ return q = Object.assign || function(t) {
158
158
  for (var r, n = 1, i = arguments.length; n < i; n++) {
159
159
  r = arguments[n];
160
160
  for (var o in r)
161
161
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
162
162
  }
163
163
  return t;
164
- }, X.apply(this, arguments);
164
+ }, q.apply(this, arguments);
165
165
  };
166
166
  function nn(e, t) {
167
167
  var r = {};
@@ -226,20 +226,20 @@ var cn = function() {
226
226
  }
227
227
  }, Le = {
228
228
  variadic: ln
229
- }, Te = function() {
230
- return Te = Object.assign || function(t) {
229
+ }, Me = function() {
230
+ return Me = Object.assign || function(t) {
231
231
  for (var r, n = 1, i = arguments.length; n < i; n++) {
232
232
  r = arguments[n];
233
233
  for (var o in r)
234
234
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
235
235
  }
236
236
  return t;
237
- }, Te.apply(this, arguments);
237
+ }, Me.apply(this, arguments);
238
238
  };
239
- var M;
239
+ var w;
240
240
  (function(e) {
241
241
  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";
242
- })(M || (M = {}));
242
+ })(w || (w = {}));
243
243
  var P;
244
244
  (function(e) {
245
245
  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";
@@ -257,28 +257,28 @@ function dn(e) {
257
257
  function Dt(e) {
258
258
  return e.type === P.number;
259
259
  }
260
- function qt(e) {
260
+ function Gt(e) {
261
261
  return e.type === P.date;
262
262
  }
263
- function Gt(e) {
263
+ function Ft(e) {
264
264
  return e.type === P.time;
265
265
  }
266
- function Ft(e) {
266
+ function Vt(e) {
267
267
  return e.type === P.select;
268
268
  }
269
- function Vt(e) {
269
+ function Xt(e) {
270
270
  return e.type === P.plural;
271
271
  }
272
272
  function mn(e) {
273
273
  return e.type === P.pound;
274
274
  }
275
- function Xt(e) {
275
+ function qt(e) {
276
276
  return e.type === P.tag;
277
277
  }
278
278
  function Wt(e) {
279
279
  return !!(e && typeof e == "object" && e.type === te.number);
280
280
  }
281
- function Ge(e) {
281
+ function Fe(e) {
282
282
  return !!(e && typeof e == "object" && e.type === te.dateTime);
283
283
  }
284
284
  var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[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;
@@ -402,10 +402,10 @@ function _n(e) {
402
402
  }
403
403
  return r;
404
404
  }
405
- function vn(e) {
405
+ function yn(e) {
406
406
  return e.replace(/^(.*?)-/, "");
407
407
  }
408
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
408
+ var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
409
409
  function ct(e) {
410
410
  var t = {};
411
411
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
@@ -452,7 +452,7 @@ function Yt(e) {
452
452
  };
453
453
  }
454
454
  }
455
- function yn(e) {
455
+ function kn(e) {
456
456
  var t;
457
457
  if (e[0] === "E" && e[1] === "E" ? (t = {
458
458
  notation: "engineering"
@@ -470,7 +470,7 @@ function ut(e) {
470
470
  var t = {}, r = Yt(e);
471
471
  return r || t;
472
472
  }
473
- function En(e) {
473
+ function bn(e) {
474
474
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
475
475
  var i = n[r];
476
476
  switch (i.stem) {
@@ -494,7 +494,7 @@ function En(e) {
494
494
  continue;
495
495
  case "measure-unit":
496
496
  case "unit":
497
- t.style = "unit", t.unit = vn(i.options[0]);
497
+ t.style = "unit", t.unit = yn(i.options[0]);
498
498
  continue;
499
499
  case "compact-short":
500
500
  case "K":
@@ -556,13 +556,13 @@ function En(e) {
556
556
  case "integer-width":
557
557
  if (i.options.length > 1)
558
558
  throw new RangeError("integer-width stems only accept a single optional option");
559
- i.options[0].replace(bn, function(h, u, l, d, m, b) {
559
+ i.options[0].replace(vn, function(h, u, l, d, m, v) {
560
560
  if (u)
561
561
  t.minimumIntegerDigits = l.length;
562
562
  else {
563
563
  if (d && m)
564
564
  throw new Error("We currently do not support maximum integer digits");
565
- if (b)
565
+ if (v)
566
566
  throw new Error("We currently do not support exact integer digits");
567
567
  }
568
568
  return "";
@@ -576,8 +576,8 @@ function En(e) {
576
576
  if (lt.test(i.stem)) {
577
577
  if (i.options.length > 1)
578
578
  throw new RangeError("Fraction-precision stems only accept a single optional option");
579
- i.stem.replace(lt, function(h, u, l, d, m, b) {
580
- 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), "";
579
+ i.stem.replace(lt, function(h, u, l, d, m, v) {
580
+ return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
581
581
  });
582
582
  var o = i.options[0];
583
583
  o === "w" ? t = z(z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = z(z({}, t), ct(o)));
@@ -589,12 +589,12 @@ function En(e) {
589
589
  }
590
590
  var a = Yt(i.stem);
591
591
  a && (t = z(z({}, t), a));
592
- var s = yn(i.stem);
592
+ var s = kn(i.stem);
593
593
  s && (t = z(z({}, t), s));
594
594
  }
595
595
  return t;
596
596
  }
597
- var we = {
597
+ var Se = {
598
598
  "001": [
599
599
  "H",
600
600
  "h"
@@ -2009,7 +2009,7 @@ var we = {
2009
2009
  "h"
2010
2010
  ]
2011
2011
  };
2012
- function kn(e, t) {
2012
+ function En(e, t) {
2013
2013
  for (var r = "", n = 0; n < e.length; n++) {
2014
2014
  var i = e.charAt(n);
2015
2015
  if (i === "j") {
@@ -2044,23 +2044,23 @@ function Cn(e) {
2044
2044
  }
2045
2045
  var r = e.language, n;
2046
2046
  r !== "root" && (n = e.maximize().region);
2047
- var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2047
+ var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
2048
2048
  return i[0];
2049
2049
  }
2050
- var Re, wn = new RegExp("^".concat(Zt.source, "*")), Sn = new RegExp("".concat(Zt.source, "*$"));
2050
+ var Re, Sn = new RegExp("^".concat(Zt.source, "*")), xn = new RegExp("".concat(Zt.source, "*$"));
2051
2051
  function N(e, t) {
2052
2052
  return { start: e, end: t };
2053
2053
  }
2054
- var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, Mn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, Bn = Pn ? Number.isSafeInteger : function(e) {
2054
+ var Tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, wn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, Bn = Pn ? Number.isSafeInteger : function(e) {
2055
2055
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2056
- }, Fe = !0;
2056
+ }, Ve = !0;
2057
2057
  try {
2058
2058
  var On = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2059
- Fe = ((Re = On.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2059
+ Ve = ((Re = On.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2060
2060
  } catch {
2061
- Fe = !1;
2061
+ Ve = !1;
2062
2062
  }
2063
- var ht = xn ? (
2063
+ var ht = Tn ? (
2064
2064
  // Native
2065
2065
  function(t, r, n) {
2066
2066
  return t.startsWith(r, n);
@@ -2070,7 +2070,7 @@ var ht = xn ? (
2070
2070
  function(t, r, n) {
2071
2071
  return t.slice(n, n + r.length) === r;
2072
2072
  }
2073
- ), Ve = Tn ? String.fromCodePoint : (
2073
+ ), Xe = Mn ? String.fromCodePoint : (
2074
2074
  // IE11
2075
2075
  function() {
2076
2076
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2084,7 +2084,7 @@ var ht = xn ? (
2084
2084
  }
2085
2085
  ), dt = (
2086
2086
  // native
2087
- Mn ? Object.fromEntries : (
2087
+ wn ? Object.fromEntries : (
2088
2088
  // Ponyfill
2089
2089
  function(t) {
2090
2090
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2116,7 +2116,7 @@ var ht = xn ? (
2116
2116
  ) : (
2117
2117
  // Ponyfill
2118
2118
  function(t) {
2119
- return t.replace(wn, "");
2119
+ return t.replace(Sn, "");
2120
2120
  }
2121
2121
  ), In = Hn ? (
2122
2122
  // Native
@@ -2126,30 +2126,30 @@ var ht = xn ? (
2126
2126
  ) : (
2127
2127
  // Ponyfill
2128
2128
  function(t) {
2129
- return t.replace(Sn, "");
2129
+ return t.replace(xn, "");
2130
2130
  }
2131
2131
  );
2132
2132
  function $t(e, t) {
2133
2133
  return new RegExp(e, t);
2134
2134
  }
2135
- var Xe;
2136
- if (Fe) {
2135
+ var qe;
2136
+ if (Ve) {
2137
2137
  var mt = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2138
- Xe = function(t, r) {
2138
+ qe = function(t, r) {
2139
2139
  var n;
2140
2140
  mt.lastIndex = r;
2141
2141
  var i = mt.exec(t);
2142
2142
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2143
2143
  };
2144
2144
  } else
2145
- Xe = function(t, r) {
2145
+ qe = function(t, r) {
2146
2146
  for (var n = []; ; ) {
2147
2147
  var i = Kt(t, r);
2148
2148
  if (i === void 0 || er(i) || Un(i))
2149
2149
  break;
2150
2150
  n.push(i), r += i >= 65536 ? 2 : 1;
2151
2151
  }
2152
- return Ve.apply(void 0, n);
2152
+ return Xe.apply(void 0, n);
2153
2153
  };
2154
2154
  var jn = (
2155
2155
  /** @class */
@@ -2181,7 +2181,7 @@ var jn = (
2181
2181
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2182
2182
  if (n)
2183
2183
  break;
2184
- return this.error(M.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2184
+ return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2185
2185
  } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
2186
2186
  var a = this.parseTag(t, r);
2187
2187
  if (a.err)
@@ -2216,9 +2216,9 @@ var jn = (
2216
2216
  var a = o.val, s = this.clonePosition();
2217
2217
  if (this.bumpIf("</")) {
2218
2218
  if (this.isEOF() || !We(this.char()))
2219
- return this.error(M.INVALID_TAG, N(s, this.clonePosition()));
2219
+ return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
2220
2220
  var h = this.clonePosition(), u = this.parseTagName();
2221
- return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2221
+ return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2222
2222
  val: {
2223
2223
  type: P.tag,
2224
2224
  value: i,
@@ -2226,11 +2226,11 @@ var jn = (
2226
2226
  location: N(n, this.clonePosition())
2227
2227
  },
2228
2228
  err: null
2229
- } : this.error(M.INVALID_TAG, N(s, this.clonePosition())));
2229
+ } : this.error(w.INVALID_TAG, N(s, this.clonePosition())));
2230
2230
  } else
2231
- return this.error(M.UNCLOSED_TAG, N(n, this.clonePosition()));
2231
+ return this.error(w.UNCLOSED_TAG, N(n, this.clonePosition()));
2232
2232
  } else
2233
- return this.error(M.INVALID_TAG, N(n, this.clonePosition()));
2233
+ return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
2234
2234
  }, e.prototype.parseTagName = function() {
2235
2235
  var t = this.offset();
2236
2236
  for (this.bump(); !this.isEOF() && Rn(this.char()); )
@@ -2296,23 +2296,23 @@ var jn = (
2296
2296
  r.push(n);
2297
2297
  this.bump();
2298
2298
  }
2299
- return Ve.apply(void 0, r);
2299
+ return Xe.apply(void 0, r);
2300
2300
  }, e.prototype.tryParseUnquoted = function(t, r) {
2301
2301
  if (this.isEOF())
2302
2302
  return null;
2303
2303
  var n = this.char();
2304
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
2304
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
2305
2305
  }, e.prototype.parseArgument = function(t, r) {
2306
2306
  var n = this.clonePosition();
2307
2307
  if (this.bump(), this.bumpSpace(), this.isEOF())
2308
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2308
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2309
2309
  if (this.char() === 125)
2310
- return this.bump(), this.error(M.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2310
+ return this.bump(), this.error(w.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2311
2311
  var i = this.parseIdentifierIfPossible().value;
2312
2312
  if (!i)
2313
- return this.error(M.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2313
+ return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2314
2314
  if (this.bumpSpace(), this.isEOF())
2315
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2315
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2316
2316
  switch (this.char()) {
2317
2317
  case 125:
2318
2318
  return this.bump(), {
@@ -2325,12 +2325,12 @@ var jn = (
2325
2325
  err: null
2326
2326
  };
2327
2327
  case 44:
2328
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2328
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2329
2329
  default:
2330
- return this.error(M.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2330
+ return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2331
2331
  }
2332
2332
  }, e.prototype.parseIdentifierIfPossible = function() {
2333
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
2333
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2334
2334
  this.bumpTo(i);
2335
2335
  var o = this.clonePosition(), a = N(t, o);
2336
2336
  return { value: n, location: a };
@@ -2338,7 +2338,7 @@ var jn = (
2338
2338
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2339
2339
  switch (s) {
2340
2340
  case "":
2341
- return this.error(M.EXPECT_ARGUMENT_TYPE, N(a, h));
2341
+ return this.error(w.EXPECT_ARGUMENT_TYPE, N(a, h));
2342
2342
  case "number":
2343
2343
  case "date":
2344
2344
  case "time": {
@@ -2351,9 +2351,9 @@ var jn = (
2351
2351
  return d;
2352
2352
  var m = In(d.val);
2353
2353
  if (m.length === 0)
2354
- return this.error(M.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2355
- var b = N(l, this.clonePosition());
2356
- u = { style: m, styleLocation: b };
2354
+ return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2355
+ var v = N(l, this.clonePosition());
2356
+ u = { style: m, styleLocation: v };
2357
2357
  }
2358
2358
  var f = this.tryParseArgumentClose(i);
2359
2359
  if (f.err)
@@ -2369,17 +2369,17 @@ var jn = (
2369
2369
  };
2370
2370
  } else {
2371
2371
  if (C.length === 0)
2372
- return this.error(M.EXPECT_DATE_TIME_SKELETON, p);
2372
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, p);
2373
2373
  var _ = C;
2374
- this.locale && (_ = kn(C, this.locale));
2374
+ this.locale && (_ = En(C, this.locale));
2375
2375
  var m = {
2376
2376
  type: te.dateTime,
2377
2377
  pattern: _,
2378
2378
  location: u.styleLocation,
2379
2379
  parsedOptions: this.shouldParseSkeletons ? gn(_) : {}
2380
- }, v = s === "date" ? P.date : P.time;
2380
+ }, y = s === "date" ? P.date : P.time;
2381
2381
  return {
2382
- val: { type: v, value: n, location: p, style: m },
2382
+ val: { type: y, value: n, location: p, style: m },
2383
2383
  err: null
2384
2384
  };
2385
2385
  }
@@ -2397,19 +2397,19 @@ var jn = (
2397
2397
  case "plural":
2398
2398
  case "selectordinal":
2399
2399
  case "select": {
2400
- var S = this.clonePosition();
2400
+ var x = this.clonePosition();
2401
2401
  if (this.bumpSpace(), !this.bumpIf(","))
2402
- return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, N(S, Te({}, S)));
2402
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x, Me({}, x)));
2403
2403
  this.bumpSpace();
2404
- var H = this.parseIdentifierIfPossible(), E = 0;
2404
+ var H = this.parseIdentifierIfPossible(), b = 0;
2405
2405
  if (s !== "select" && H.value === "offset") {
2406
2406
  if (!this.bumpIf(":"))
2407
- return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2407
+ return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2408
2408
  this.bumpSpace();
2409
- var d = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2409
+ var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2410
2410
  if (d.err)
2411
2411
  return d;
2412
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), E = d.val;
2412
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), b = d.val;
2413
2413
  }
2414
2414
  var B = this.tryParsePluralOrSelectOptions(t, s, r, H);
2415
2415
  if (B.err)
@@ -2431,7 +2431,7 @@ var jn = (
2431
2431
  type: P.plural,
2432
2432
  value: n,
2433
2433
  options: dt(B.val),
2434
- offset: E,
2434
+ offset: b,
2435
2435
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2436
2436
  location: O
2437
2437
  },
@@ -2439,10 +2439,10 @@ var jn = (
2439
2439
  };
2440
2440
  }
2441
2441
  default:
2442
- return this.error(M.INVALID_ARGUMENT_TYPE, N(a, h));
2442
+ return this.error(w.INVALID_ARGUMENT_TYPE, N(a, h));
2443
2443
  }
2444
2444
  }, e.prototype.tryParseArgumentClose = function(t) {
2445
- return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2445
+ return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2446
2446
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2447
2447
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2448
2448
  var n = this.char();
@@ -2451,7 +2451,7 @@ var jn = (
2451
2451
  this.bump();
2452
2452
  var i = this.clonePosition();
2453
2453
  if (!this.bumpUntil("'"))
2454
- return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2454
+ return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2455
2455
  this.bump();
2456
2456
  break;
2457
2457
  }
@@ -2483,14 +2483,14 @@ var jn = (
2483
2483
  try {
2484
2484
  n = _n(t);
2485
2485
  } catch {
2486
- return this.error(M.INVALID_NUMBER_SKELETON, r);
2486
+ return this.error(w.INVALID_NUMBER_SKELETON, r);
2487
2487
  }
2488
2488
  return {
2489
2489
  val: {
2490
2490
  type: te.number,
2491
2491
  tokens: n,
2492
2492
  location: r,
2493
- parsedOptions: this.shouldParseSkeletons ? En(n) : {}
2493
+ parsedOptions: this.shouldParseSkeletons ? bn(n) : {}
2494
2494
  },
2495
2495
  err: null
2496
2496
  };
@@ -2499,7 +2499,7 @@ var jn = (
2499
2499
  if (u.length === 0) {
2500
2500
  var d = this.clonePosition();
2501
2501
  if (r !== "select" && this.bumpIf("=")) {
2502
- var m = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2502
+ var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
2503
2503
  if (m.err)
2504
2504
  return m;
2505
2505
  l = N(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
@@ -2507,26 +2507,26 @@ var jn = (
2507
2507
  break;
2508
2508
  }
2509
2509
  if (h.has(u))
2510
- return this.error(r === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2510
+ return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2511
2511
  u === "other" && (a = !0), this.bumpSpace();
2512
- var b = this.clonePosition();
2512
+ var v = this.clonePosition();
2513
2513
  if (!this.bumpIf("{"))
2514
- return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2514
+ return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2515
2515
  var f = this.parseMessage(t + 1, r, n);
2516
2516
  if (f.err)
2517
2517
  return f;
2518
- var p = this.tryParseArgumentClose(b);
2518
+ var p = this.tryParseArgumentClose(v);
2519
2519
  if (p.err)
2520
2520
  return p;
2521
2521
  s.push([
2522
2522
  u,
2523
2523
  {
2524
2524
  value: f.val,
2525
- location: N(b, this.clonePosition())
2525
+ location: N(v, this.clonePosition())
2526
2526
  }
2527
2527
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2528
2528
  }
2529
- 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 };
2529
+ return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2530
2530
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2531
2531
  var n = 1, i = this.clonePosition();
2532
2532
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2621,18 +2621,18 @@ function Un(e) {
2621
2621
  }
2622
2622
  function Ze(e) {
2623
2623
  e.forEach(function(t) {
2624
- if (delete t.location, Ft(t) || Vt(t))
2624
+ if (delete t.location, Vt(t) || Xt(t))
2625
2625
  for (var r in t.options)
2626
2626
  delete t.options[r].location, Ze(t.options[r].value);
2627
2627
  else
2628
- Dt(t) && Wt(t.style) || (qt(t) || Gt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Ze(t.children);
2628
+ Dt(t) && Wt(t.style) || (Gt(t) || Ft(t)) && Fe(t.style) ? delete t.style.location : qt(t) && Ze(t.children);
2629
2629
  });
2630
2630
  }
2631
2631
  function Dn(e, t) {
2632
- t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2632
+ t === void 0 && (t = {}), t = Me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2633
2633
  var r = new jn(e, t).parse();
2634
2634
  if (r.err) {
2635
- var n = SyntaxError(M[r.err.kind]);
2635
+ var n = SyntaxError(w[r.err.kind]);
2636
2636
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2637
2637
  }
2638
2638
  return t?.captureLocation || Ze(r.val), r.val;
@@ -2662,7 +2662,7 @@ var Pe = (
2662
2662
  }
2663
2663
  return t;
2664
2664
  }(Pe)
2665
- ), qn = (
2665
+ ), Gn = (
2666
2666
  /** @class */
2667
2667
  function(e) {
2668
2668
  He(t, e);
@@ -2671,7 +2671,7 @@ var Pe = (
2671
2671
  }
2672
2672
  return t;
2673
2673
  }(Pe)
2674
- ), Gn = (
2674
+ ), Fn = (
2675
2675
  /** @class */
2676
2676
  function(e) {
2677
2677
  He(t, e);
@@ -2684,16 +2684,16 @@ var Pe = (
2684
2684
  (function(e) {
2685
2685
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2686
2686
  })(D || (D = {}));
2687
- function Fn(e) {
2687
+ function Vn(e) {
2688
2688
  return e.length < 2 ? e : e.reduce(function(t, r) {
2689
2689
  var n = t[t.length - 1];
2690
2690
  return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
2691
2691
  }, []);
2692
2692
  }
2693
- function Vn(e) {
2693
+ function Xn(e) {
2694
2694
  return typeof e == "function";
2695
2695
  }
2696
- function Se(e, t, r, n, i, o, a) {
2696
+ function xe(e, t, r, n, i, o, a) {
2697
2697
  if (e.length === 1 && st(e[0]))
2698
2698
  return [
2699
2699
  {
@@ -2719,7 +2719,7 @@ function Se(e, t, r, n, i, o, a) {
2719
2719
  }
2720
2720
  var d = l.value;
2721
2721
  if (!(i && d in i))
2722
- throw new Gn(d, a);
2722
+ throw new Fn(d, a);
2723
2723
  var m = i[d];
2724
2724
  if (dn(l)) {
2725
2725
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
@@ -2728,78 +2728,78 @@ function Se(e, t, r, n, i, o, a) {
2728
2728
  });
2729
2729
  continue;
2730
2730
  }
2731
- if (qt(l)) {
2732
- var b = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
2731
+ if (Gt(l)) {
2732
+ var v = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
2733
2733
  s.push({
2734
2734
  type: D.literal,
2735
- value: r.getDateTimeFormat(t, b).format(m)
2735
+ value: r.getDateTimeFormat(t, v).format(m)
2736
2736
  });
2737
2737
  continue;
2738
2738
  }
2739
- if (Gt(l)) {
2740
- var b = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
2739
+ if (Ft(l)) {
2740
+ var v = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
2741
2741
  s.push({
2742
2742
  type: D.literal,
2743
- value: r.getDateTimeFormat(t, b).format(m)
2743
+ value: r.getDateTimeFormat(t, v).format(m)
2744
2744
  });
2745
2745
  continue;
2746
2746
  }
2747
2747
  if (Dt(l)) {
2748
- var b = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
2749
- b && b.scale && (m = m * (b.scale || 1)), s.push({
2748
+ var v = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
2749
+ v && v.scale && (m = m * (v.scale || 1)), s.push({
2750
2750
  type: D.literal,
2751
- value: r.getNumberFormat(t, b).format(m)
2751
+ value: r.getNumberFormat(t, v).format(m)
2752
2752
  });
2753
2753
  continue;
2754
2754
  }
2755
- if (Xt(l)) {
2755
+ if (qt(l)) {
2756
2756
  var f = l.children, p = l.value, C = i[p];
2757
- if (!Vn(C))
2758
- throw new qn(p, "function", a);
2759
- var _ = Se(f, t, r, n, i, o), v = C(_.map(function(E) {
2760
- return E.value;
2757
+ if (!Xn(C))
2758
+ throw new Gn(p, "function", a);
2759
+ var _ = xe(f, t, r, n, i, o), y = C(_.map(function(b) {
2760
+ return b.value;
2761
2761
  }));
2762
- Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(E) {
2762
+ Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(b) {
2763
2763
  return {
2764
- type: typeof E == "string" ? D.literal : D.object,
2765
- value: E
2764
+ type: typeof b == "string" ? D.literal : D.object,
2765
+ value: b
2766
2766
  };
2767
2767
  }));
2768
2768
  }
2769
- if (Ft(l)) {
2770
- var S = l.options[m] || l.options.other;
2771
- if (!S)
2769
+ if (Vt(l)) {
2770
+ var x = l.options[m] || l.options.other;
2771
+ if (!x)
2772
2772
  throw new pt(l.value, m, Object.keys(l.options), a);
2773
- s.push.apply(s, Se(S.value, t, r, n, i));
2773
+ s.push.apply(s, xe(x.value, t, r, n, i));
2774
2774
  continue;
2775
2775
  }
2776
- if (Vt(l)) {
2777
- var S = l.options["=".concat(m)];
2778
- if (!S) {
2776
+ if (Xt(l)) {
2777
+ var x = l.options["=".concat(m)];
2778
+ if (!x) {
2779
2779
  if (!Intl.PluralRules)
2780
2780
  throw new Pe(`Intl.PluralRules is not available in this environment.
2781
2781
  Try polyfilling it using "@formatjs/intl-pluralrules"
2782
2782
  `, re.MISSING_INTL_API, a);
2783
2783
  var H = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
2784
- S = l.options[H] || l.options.other;
2784
+ x = l.options[H] || l.options.other;
2785
2785
  }
2786
- if (!S)
2786
+ if (!x)
2787
2787
  throw new pt(l.value, m, Object.keys(l.options), a);
2788
- s.push.apply(s, Se(S.value, t, r, n, i, m - (l.offset || 0)));
2788
+ s.push.apply(s, xe(x.value, t, r, n, i, m - (l.offset || 0)));
2789
2789
  continue;
2790
2790
  }
2791
2791
  }
2792
- return Fn(s);
2792
+ return Vn(s);
2793
2793
  }
2794
- function Xn(e, t) {
2795
- return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2796
- return r[n] = X(X({}, e[n]), t[n] || {}), r;
2794
+ function qn(e, t) {
2795
+ return t ? q(q(q({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2796
+ return r[n] = q(q({}, e[n]), t[n] || {}), r;
2797
2797
  }, {})) : e;
2798
2798
  }
2799
2799
  function Wn(e, t) {
2800
2800
  return t ? Object.keys(e).reduce(function(r, n) {
2801
- return r[n] = Xn(e[n], t[n]), r;
2802
- }, X({}, e)) : e;
2801
+ return r[n] = qn(e[n], t[n]), r;
2802
+ }, q({}, e)) : e;
2803
2803
  }
2804
2804
  function Ue(e) {
2805
2805
  return {
@@ -2866,7 +2866,7 @@ var Jn = (
2866
2866
  }, []);
2867
2867
  return l.length <= 1 ? l[0] || "" : l;
2868
2868
  }, this.formatToParts = function(h) {
2869
- return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2869
+ return xe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2870
2870
  }, this.resolvedOptions = function() {
2871
2871
  var h;
2872
2872
  return {
@@ -2880,7 +2880,7 @@ var Jn = (
2880
2880
  var a = i || {};
2881
2881
  a.formatters;
2882
2882
  var s = nn(a, ["formatters"]);
2883
- this.ast = e.__parse(t, X(X({}, s), { locale: this.resolvedLocale }));
2883
+ this.ast = e.__parse(t, q(q({}, s), { locale: this.resolvedLocale }));
2884
2884
  } else
2885
2885
  this.ast = t;
2886
2886
  if (!Array.isArray(this.ast))
@@ -3024,12 +3024,12 @@ ie(
3024
3024
  ([e]) => Object.keys(e)
3025
3025
  );
3026
3026
  _e.subscribe((e) => $e = e);
3027
- const xe = {};
3027
+ const Te = {};
3028
3028
  function ti(e, t) {
3029
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3029
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3030
3030
  }
3031
3031
  function ir(e) {
3032
- return xe[e];
3032
+ return Te[e];
3033
3033
  }
3034
3034
  function ri(e) {
3035
3035
  return Be(e).map((t) => {
@@ -3115,7 +3115,7 @@ var si = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwn
3115
3115
  return e;
3116
3116
  }, mi = (e, t) => li(e, ci(t));
3117
3117
  let Qe;
3118
- const Me = Ae(null);
3118
+ const we = Ae(null);
3119
3119
  function _t(e) {
3120
3120
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3121
3121
  }
@@ -3126,7 +3126,7 @@ function Be(e, t = ne().fallbackLocale) {
3126
3126
  function Y() {
3127
3127
  return Qe ?? void 0;
3128
3128
  }
3129
- Me.subscribe((e) => {
3129
+ we.subscribe((e) => {
3130
3130
  Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3131
3131
  });
3132
3132
  const pi = (e) => {
@@ -3137,13 +3137,13 @@ const pi = (e) => {
3137
3137
  () => De.set(!0),
3138
3138
  t
3139
3139
  ) : De.set(!0), or(e).then(() => {
3140
- Me.set(e);
3140
+ we.set(e);
3141
3141
  }).finally(() => {
3142
3142
  clearTimeout(r), De.set(!1);
3143
3143
  });
3144
3144
  }
3145
- return Me.set(e);
3146
- }, oe = mi(di({}, Me), {
3145
+ return we.set(e);
3146
+ }, oe = mi(di({}, we), {
3147
3147
  set: pi
3148
3148
  }), Oe = (e) => {
3149
3149
  const t = /* @__PURE__ */ Object.create(null);
@@ -3152,12 +3152,12 @@ const pi = (e) => {
3152
3152
  return i in t ? t[i] : t[i] = e(n);
3153
3153
  };
3154
3154
  };
3155
- var gi = Object.defineProperty, Ne = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3155
+ var gi = Object.defineProperty, Ne = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3156
3156
  for (var r in t || (t = {}))
3157
- ar.call(t, r) && vt(e, r, t[r]);
3157
+ ar.call(t, r) && yt(e, r, t[r]);
3158
3158
  if (Ne)
3159
3159
  for (var r of Ne(t))
3160
- sr.call(t, r) && vt(e, r, t[r]);
3160
+ sr.call(t, r) && yt(e, r, t[r]);
3161
3161
  return e;
3162
3162
  }, ae = (e, t) => {
3163
3163
  var r = {};
@@ -3187,7 +3187,7 @@ const pe = (e, t) => {
3187
3187
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3188
3188
  return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
3189
3189
  }
3190
- ), vi = Oe(
3190
+ ), yi = Oe(
3191
3191
  (e) => {
3192
3192
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3193
3193
  if (r == null)
@@ -3196,28 +3196,28 @@ const pe = (e, t) => {
3196
3196
  );
3197
3197
  return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
3198
3198
  }
3199
- ), bi = (e = {}) => {
3199
+ ), vi = (e = {}) => {
3200
3200
  var t = e, {
3201
3201
  locale: r = Y()
3202
3202
  } = t, n = ae(t, [
3203
3203
  "locale"
3204
3204
  ]);
3205
3205
  return fi(et({ locale: r }, n));
3206
- }, yi = (e = {}) => {
3206
+ }, ki = (e = {}) => {
3207
3207
  var t = e, {
3208
3208
  locale: r = Y()
3209
3209
  } = t, n = ae(t, [
3210
3210
  "locale"
3211
3211
  ]);
3212
3212
  return _i(et({ locale: r }, n));
3213
- }, Ei = (e = {}) => {
3213
+ }, bi = (e = {}) => {
3214
3214
  var t = e, {
3215
3215
  locale: r = Y()
3216
3216
  } = t, n = ae(t, [
3217
3217
  "locale"
3218
3218
  ]);
3219
- return vi(et({ locale: r }, n));
3220
- }, ki = Oe(
3219
+ return yi(et({ locale: r }, n));
3220
+ }, Ei = Oe(
3221
3221
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3222
3222
  (e, t = Y()) => new Jn(e, t, ne().formats, {
3223
3223
  ignoreTag: ne().ignoreTag
@@ -3246,7 +3246,7 @@ const pe = (e, t) => {
3246
3246
  return l;
3247
3247
  let d = l;
3248
3248
  try {
3249
- d = ki(l, h).format(s);
3249
+ d = Ei(l, h).format(s);
3250
3250
  } catch (m) {
3251
3251
  m instanceof Error && console.warn(
3252
3252
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3254,18 +3254,18 @@ const pe = (e, t) => {
3254
3254
  );
3255
3255
  }
3256
3256
  return d;
3257
- }, wi = (e, t) => Ei(t).format(e), Si = (e, t) => yi(t).format(e), xi = (e, t) => bi(t).format(e), Ti = (e, t = Y()) => tr(e, t), Mi = ie([oe, _e], () => Ci);
3258
- ie([oe], () => wi);
3257
+ }, Si = (e, t) => bi(t).format(e), xi = (e, t) => ki(t).format(e), Ti = (e, t) => vi(t).format(e), Mi = (e, t = Y()) => tr(e, t), wi = ie([oe, _e], () => Ci);
3259
3258
  ie([oe], () => Si);
3260
3259
  ie([oe], () => xi);
3261
- ie([oe, _e], () => Ti);
3262
- function bt(e, t) {
3260
+ ie([oe], () => Ti);
3261
+ ie([oe, _e], () => Mi);
3262
+ function vt(e, t) {
3263
3263
  nr(e, t);
3264
3264
  }
3265
3265
  function Ni(e) {
3266
3266
  oe.set(e);
3267
3267
  }
3268
- const yt = {
3268
+ const kt = {
3269
3269
  en: {
3270
3270
  invalidUrl: "Failed to construct 'URL': Invalid URL",
3271
3271
  fetchConsentsError: "Error: Could not fetch consents.",
@@ -3845,10 +3845,10 @@ function Ai(e) {
3845
3845
  let t, r;
3846
3846
  return {
3847
3847
  c() {
3848
- t = it("svg"), r = it("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");
3848
+ t = it("svg"), r = it("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");
3849
3849
  },
3850
3850
  m(n, i) {
3851
- L(n, t, i), w(t, r);
3851
+ L(n, t, i), S(t, r);
3852
3852
  },
3853
3853
  p: W,
3854
3854
  i: W,
@@ -3865,13 +3865,13 @@ class Hi extends zt {
3865
3865
  }
3866
3866
  customElements.define("circle-exclamation-icon", Ot(Hi, {}, [], [], !0));
3867
3867
  function Pi(e) {
3868
- Pr(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}');
3868
+ Pr(e, "svelte-etk3ty", '.DisplayNone.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:none}.ContainerCenter.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:30px}.AccordionHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{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-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:10px}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;padding:10px 0}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{padding-bottom:0}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{margin-bottom:0}.ConsentItem.svelte-etk3ty .ConsentName.svelte-etk3ty.svelte-etk3ty{margin:0}.ConsentItem.svelte-etk3ty .ConsentDescription.svelte-etk3ty.svelte-etk3ty{font-size:0.8rem}.ToggleSwitch.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:53px;height:30px}.ToggleSwitch.Big.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty.svelte-etk3ty{opacity:0;width:0;height:0}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:disabled+.Slider.svelte-etk3ty{opacity:0.1}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:focus+.Slider.svelte-etk3ty{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty{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-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty: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-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty{border-radius:34px}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty:before{border-radius:50%}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{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, 10px);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-etk3ty.svelte-etk3ty.svelte-etk3ty:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-etk3ty circle-exclamation-icon.svelte-etk3ty.svelte-etk3ty{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox.svelte-etk3ty.svelte-etk3ty{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-etk3ty.svelte-etk3ty{position:relative}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__input.svelte-etk3ty.svelte-etk3ty{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));width:46px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label.svelte-etk3ty.svelte-etk3ty{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-etk3ty .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-etk3ty.svelte-etk3ty{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__error-message.svelte-etk3ty.svelte-etk3ty{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-etk3ty.svelte-etk3ty{width:16px;height:auto}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.svelte-etk3ty.svelte-etk3ty{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-etk3ty .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-etk3ty.svelte-etk3ty{opacity:1}');
3869
3869
  }
3870
- function Et(e, t, r) {
3870
+ function bt(e, t, r) {
3871
3871
  const n = e.slice();
3872
3872
  return n[64] = t[r], n;
3873
3873
  }
3874
- function kt(e, t, r) {
3874
+ function Et(e, t, r) {
3875
3875
  const n = e.slice();
3876
3876
  return n[61] = t[r], n[62] = t, n[63] = r, n;
3877
3877
  }
@@ -3885,16 +3885,16 @@ function Bi(e) {
3885
3885
  e[9]
3886
3886
  ), i = [];
3887
3887
  for (let o = 0; o < n.length; o += 1)
3888
- i[o] = wt(Et(e, n, o));
3888
+ i[o] = St(bt(e, n, o));
3889
3889
  return {
3890
3890
  c() {
3891
3891
  t = A("div"), r = A("form");
3892
3892
  for (let o = 0; o < i.length; o += 1)
3893
3893
  i[o].c();
3894
- k(r, "class", "checkbox svelte-1w14oq2"), k(t, "class", "legacyStyle");
3894
+ E(r, "class", "checkbox svelte-etk3ty"), E(t, "class", "legacyStyle");
3895
3895
  },
3896
3896
  m(o, a) {
3897
- L(o, t, a), w(t, r);
3897
+ L(o, t, a), S(t, r);
3898
3898
  for (let s = 0; s < i.length; s += 1)
3899
3899
  i[s] && i[s].m(r, null);
3900
3900
  e[31](r);
@@ -3908,8 +3908,8 @@ function Bi(e) {
3908
3908
  );
3909
3909
  let s;
3910
3910
  for (s = 0; s < n.length; s += 1) {
3911
- const h = Et(o, n, s);
3912
- i[s] ? i[s].p(h, a) : (i[s] = wt(h), i[s].c(), i[s].m(r, null));
3911
+ const h = bt(o, n, s);
3912
+ i[s] ? i[s].p(h, a) : (i[s] = St(h), i[s].c(), i[s].m(r, null));
3913
3913
  }
3914
3914
  for (; s < i.length; s += 1)
3915
3915
  i[s].d(1);
@@ -3929,28 +3929,28 @@ function Oi(e) {
3929
3929
  ), r, n, i, o = (
3930
3930
  /*$_*/
3931
3931
  (e[16]("saveButtonContent") || "Save Consents") + ""
3932
- ), a, s, h, u, l, d = t && St(e), m = $(
3932
+ ), a, s, h, u, l, d = t && xt(e), m = $(
3933
3933
  /*consentsCategories*/
3934
3934
  e[8]
3935
- ), b = [];
3935
+ ), v = [];
3936
3936
  for (let p = 0; p < m.length; p += 1)
3937
- b[p] = Ht(kt(e, m, p));
3937
+ v[p] = Ht(Et(e, m, p));
3938
3938
  let f = (
3939
3939
  /*errorMessage*/
3940
3940
  e[6] && Pt(e)
3941
3941
  );
3942
3942
  return {
3943
3943
  c() {
3944
- d && d.c(), r = q();
3945
- for (let p = 0; p < b.length; p += 1)
3946
- b[p].c();
3947
- n = q(), i = A("button"), s = q(), f && f.c(), h = zr(), k(i, "class", "SaveConsentsButton svelte-1w14oq2"), i.disabled = a = !/*isValid*/
3944
+ d && d.c(), r = G();
3945
+ for (let p = 0; p < v.length; p += 1)
3946
+ v[p].c();
3947
+ n = G(), i = A("button"), s = G(), f && f.c(), h = zr(), E(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
3948
3948
  e[14];
3949
3949
  },
3950
3950
  m(p, C) {
3951
3951
  d && d.m(p, C), L(p, r, C);
3952
- for (let _ = 0; _ < b.length; _ += 1)
3953
- b[_] && b[_].m(p, C);
3952
+ for (let _ = 0; _ < v.length; _ += 1)
3953
+ v[_] && v[_].m(p, C);
3954
3954
  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 = de(
3955
3955
  i,
3956
3956
  "click",
@@ -3962,7 +3962,7 @@ function Oi(e) {
3962
3962
  if (C[0] & /*$_*/
3963
3963
  65536 && (t = /*$_*/
3964
3964
  p[16]("title") || /*$_*/
3965
- p[16]("description")), t ? d ? d.p(p, C) : (d = St(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
3965
+ p[16]("description")), t ? d ? d.p(p, C) : (d = xt(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
3966
3966
  867088) {
3967
3967
  m = $(
3968
3968
  /*consentsCategories*/
@@ -3970,12 +3970,12 @@ function Oi(e) {
3970
3970
  );
3971
3971
  let _;
3972
3972
  for (_ = 0; _ < m.length; _ += 1) {
3973
- const v = kt(p, m, _);
3974
- b[_] ? b[_].p(v, C) : (b[_] = Ht(v), b[_].c(), b[_].m(n.parentNode, n));
3973
+ const y = Et(p, m, _);
3974
+ v[_] ? v[_].p(y, C) : (v[_] = Ht(y), v[_].c(), v[_].m(n.parentNode, n));
3975
3975
  }
3976
- for (; _ < b.length; _ += 1)
3977
- b[_].d(1);
3978
- b.length = m.length;
3976
+ for (; _ < v.length; _ += 1)
3977
+ v[_].d(1);
3978
+ v.length = m.length;
3979
3979
  }
3980
3980
  C[0] & /*$_*/
3981
3981
  65536 && o !== (o = /*$_*/
@@ -3985,7 +3985,7 @@ function Oi(e) {
3985
3985
  p[6] ? f ? f.p(p, C) : (f = Pt(p), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
3986
3986
  },
3987
3987
  d(p) {
3988
- p && (j(r), j(n), j(i), j(s), j(h)), d && d.d(p), Ke(b, p), f && f.d(p), u = !1, l();
3988
+ p && (j(r), j(n), j(i), j(s), j(h)), d && d.d(p), Ke(v, p), f && f.d(p), u = !1, l();
3989
3989
  }
3990
3990
  };
3991
3991
  }
@@ -3996,10 +3996,10 @@ function zi(e) {
3996
3996
  t = A("div"), r = A("strong"), n = fe(
3997
3997
  /*fatalError*/
3998
3998
  e[7]
3999
- ), k(r, "class", "ErrorMessage svelte-1w14oq2"), k(t, "class", "ContainerCenter svelte-1w14oq2");
3999
+ ), E(r, "class", "ErrorMessage svelte-etk3ty"), E(t, "class", "ContainerCenter svelte-etk3ty");
4000
4000
  },
4001
4001
  m(i, o) {
4002
- L(i, t, o), w(t, r), w(r, n);
4002
+ L(i, t, o), S(t, r), S(r, n);
4003
4003
  },
4004
4004
  p(i, o) {
4005
4005
  o[0] & /*fatalError*/
@@ -4064,7 +4064,7 @@ function Ii(e) {
4064
4064
  }
4065
4065
  };
4066
4066
  }
4067
- function wt(e) {
4067
+ function St(e) {
4068
4068
  let t, r, n, i, o, a, s, h, u = (
4069
4069
  /*$_*/
4070
4070
  (e[16](`${/*consent*/
@@ -4073,35 +4073,35 @@ function wt(e) {
4073
4073
  ), l = (
4074
4074
  /*consent*/
4075
4075
  e[64].mustAccept ? " *" : ""
4076
- ), d, m, b, f, p, C, _, v, S;
4077
- function H(...E) {
4076
+ ), d, m, v, f, p, C, _, y, x;
4077
+ function H(...b) {
4078
4078
  return (
4079
4079
  /*input_handler_1*/
4080
4080
  e[30](
4081
4081
  /*consent*/
4082
4082
  e[64],
4083
- ...E
4083
+ ...b
4084
4084
  )
4085
4085
  );
4086
4086
  }
4087
4087
  return {
4088
4088
  c() {
4089
- t = A("div"), r = A("input"), o = q(), a = A("label"), s = A("div"), h = new jt(!1), d = fe(l), b = q(), f = A("small"), C = q(), k(r, "class", "checkbox__input svelte-1w14oq2"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4090
- e[64].status === "1", k(r, "id", i = `${/*consent*/
4091
- 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*/
4092
- e[64].tagCode}__input`), k(f, "class", "checkbox__error-message svelte-1w14oq2"), k(f, "id", p = "checkBoxError__" + /*consent*/
4093
- e[64].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4094
- e[64].tagCode + "__input svelte-1w14oq2");
4089
+ t = A("div"), r = A("input"), o = G(), a = A("label"), s = A("div"), h = new jt(!1), d = fe(l), v = G(), f = A("small"), C = G(), E(r, "class", "checkbox__input svelte-etk3ty"), E(r, "type", "checkbox"), r.checked = n = /*consent*/
4090
+ e[64].status === "1", E(r, "id", i = `${/*consent*/
4091
+ e[64].tagCode}__input`), h.a = d, E(s, "class", "checkbox__label-text svelte-etk3ty"), E(a, "class", "checkbox__label svelte-etk3ty"), E(a, "for", m = `${/*consent*/
4092
+ e[64].tagCode}__input`), E(f, "class", "checkbox__error-message svelte-etk3ty"), E(f, "id", p = "checkBoxError__" + /*consent*/
4093
+ e[64].tagCode), E(t, "class", _ = "checkbox__wrapper " + /*consent*/
4094
+ e[64].tagCode + "__input svelte-etk3ty");
4095
4095
  },
4096
- m(E, B) {
4097
- L(E, t, B), 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 = de(r, "input", H), v = !0);
4096
+ m(b, B) {
4097
+ L(b, 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), y || (x = de(r, "input", H), y = !0);
4098
4098
  },
4099
- p(E, B) {
4100
- e = E, B[0] & /*playerConsents*/
4099
+ p(b, B) {
4100
+ e = b, B[0] & /*playerConsents*/
4101
4101
  512 && n !== (n = /*consent*/
4102
4102
  e[64].status === "1") && (r.checked = n), B[0] & /*playerConsents*/
4103
4103
  512 && i !== (i = `${/*consent*/
4104
- e[64].tagCode}__input`) && k(r, "id", i), B[0] & /*$_, playerConsents*/
4104
+ e[64].tagCode}__input`) && E(r, "id", i), B[0] & /*$_, playerConsents*/
4105
4105
  66048 && u !== (u = /*$_*/
4106
4106
  (e[16](`${/*consent*/
4107
4107
  e[64].tagCode}__description`) || /*consent*/
@@ -4109,55 +4109,55 @@ function wt(e) {
4109
4109
  512 && l !== (l = /*consent*/
4110
4110
  e[64].mustAccept ? " *" : "") && ge(d, l), B[0] & /*playerConsents*/
4111
4111
  512 && m !== (m = `${/*consent*/
4112
- e[64].tagCode}__input`) && k(a, "for", m), B[0] & /*playerConsents*/
4112
+ e[64].tagCode}__input`) && E(a, "for", m), B[0] & /*playerConsents*/
4113
4113
  512 && p !== (p = "checkBoxError__" + /*consent*/
4114
- e[64].tagCode) && k(f, "id", p), B[0] & /*playerConsents*/
4114
+ e[64].tagCode) && E(f, "id", p), B[0] & /*playerConsents*/
4115
4115
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4116
- e[64].tagCode + "__input svelte-1w14oq2") && k(t, "class", _);
4116
+ e[64].tagCode + "__input svelte-etk3ty") && E(t, "class", _);
4117
4117
  },
4118
- d(E) {
4119
- E && j(t), v = !1, S();
4118
+ d(b) {
4119
+ b && j(t), y = !1, x();
4120
4120
  }
4121
4121
  };
4122
4122
  }
4123
- function St(e) {
4123
+ function xt(e) {
4124
4124
  let t, r = (
4125
4125
  /*$_*/
4126
4126
  e[16]("title")
4127
4127
  ), n, i = (
4128
4128
  /*$_*/
4129
4129
  e[16]("description")
4130
- ), o = r && xt(e), a = i && Tt(e);
4130
+ ), o = r && Tt(e), a = i && Mt(e);
4131
4131
  return {
4132
4132
  c() {
4133
- t = A("div"), o && o.c(), n = q(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-1w14oq2");
4133
+ t = A("div"), o && o.c(), n = G(), a && a.c(), E(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4134
4134
  },
4135
4135
  m(s, h) {
4136
- L(s, t, h), o && o.m(t, null), w(t, n), a && a.m(t, null);
4136
+ L(s, t, h), o && o.m(t, null), S(t, n), a && a.m(t, null);
4137
4137
  },
4138
4138
  p(s, h) {
4139
4139
  h[0] & /*$_*/
4140
4140
  65536 && (r = /*$_*/
4141
- s[16]("title")), r ? o ? o.p(s, h) : (o = xt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4141
+ s[16]("title")), r ? o ? o.p(s, h) : (o = Tt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4142
4142
  65536 && (i = /*$_*/
4143
- s[16]("description")), i ? a ? a.p(s, h) : (a = Tt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4143
+ s[16]("description")), i ? a ? a.p(s, h) : (a = Mt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4144
4144
  },
4145
4145
  d(s) {
4146
4146
  s && j(t), o && o.d(), a && a.d();
4147
4147
  }
4148
4148
  };
4149
4149
  }
4150
- function xt(e) {
4150
+ function Tt(e) {
4151
4151
  let t, r = (
4152
4152
  /*$_*/
4153
4153
  e[16]("title") + ""
4154
4154
  ), n;
4155
4155
  return {
4156
4156
  c() {
4157
- t = A("h2"), n = fe(r), k(t, "class", "PlayerConsentsTitle");
4157
+ t = A("h2"), n = fe(r), E(t, "class", "PlayerConsentsTitle");
4158
4158
  },
4159
4159
  m(i, o) {
4160
- L(i, t, o), w(t, n);
4160
+ L(i, t, o), S(t, n);
4161
4161
  },
4162
4162
  p(i, o) {
4163
4163
  o[0] & /*$_*/
@@ -4169,17 +4169,17 @@ function xt(e) {
4169
4169
  }
4170
4170
  };
4171
4171
  }
4172
- function Tt(e) {
4172
+ function Mt(e) {
4173
4173
  let t, r = (
4174
4174
  /*$_*/
4175
4175
  e[16]("description") + ""
4176
4176
  ), n;
4177
4177
  return {
4178
4178
  c() {
4179
- t = A("p"), n = fe(r), k(t, "class", "PlayerConsentsDescription");
4179
+ t = A("p"), n = fe(r), E(t, "class", "PlayerConsentsDescription");
4180
4180
  },
4181
4181
  m(i, o) {
4182
- L(i, t, o), w(t, n);
4182
+ L(i, t, o), S(t, n);
4183
4183
  },
4184
4184
  p(i, o) {
4185
4185
  o[0] & /*$_*/
@@ -4191,11 +4191,11 @@ function Tt(e) {
4191
4191
  }
4192
4192
  };
4193
4193
  }
4194
- function Mt(e) {
4194
+ function wt(e) {
4195
4195
  let t;
4196
4196
  return {
4197
4197
  c() {
4198
- t = A("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-1w14oq2");
4198
+ t = A("sup"), t.textContent = "*", E(t, "class", "ConsentRequired svelte-etk3ty");
4199
4199
  },
4200
4200
  m(r, n) {
4201
4201
  L(r, t, n);
@@ -4214,7 +4214,7 @@ function Nt(e) {
4214
4214
  );
4215
4215
  return {
4216
4216
  c() {
4217
- t = A("p"), k(t, "class", "ConsentDescription svelte-1w14oq2");
4217
+ t = A("p"), E(t, "class", "ConsentDescription svelte-etk3ty");
4218
4218
  },
4219
4219
  m(n, i) {
4220
4220
  L(n, t, i), t.innerHTML = r;
@@ -4237,14 +4237,14 @@ function At(e) {
4237
4237
  (e[16](`${/*consent*/
4238
4238
  e[64].tagCode}__name`) || /*consent*/
4239
4239
  e[64].friendlyName) + ""
4240
- ), a, s, h, u, l, d, m, b, f, p, C, _ = (
4240
+ ), a, s, h, u, l, d, m, v, f, p, C, _ = (
4241
4241
  /*consent*/
4242
- e[64].mustAccept === !0 && Mt()
4243
- ), v = (
4242
+ e[64].mustAccept === !0 && wt()
4243
+ ), y = (
4244
4244
  /*displayconsentdescription*/
4245
4245
  e[4] === "true" && Nt(e)
4246
4246
  );
4247
- function S(...H) {
4247
+ function x(...H) {
4248
4248
  return (
4249
4249
  /*input_handler*/
4250
4250
  e[29](
@@ -4256,7 +4256,7 @@ function At(e) {
4256
4256
  }
4257
4257
  return {
4258
4258
  c() {
4259
- t = A("div"), r = A("div"), n = A("h4"), i = new jt(!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*/
4259
+ t = A("div"), r = A("div"), n = A("h4"), i = new jt(!1), a = G(), _ && _.c(), s = G(), y && y.c(), h = G(), u = A("label"), l = A("input"), v = G(), f = A("span"), i.a = a, E(n, "class", "ConsentName svelte-etk3ty"), E(r, "class", "ConsentContent"), E(l, "type", "checkbox"), l.disabled = d = /*consent*/
4260
4260
  e[64].mustAccept === !0 && /*initialConsentsState*/
4261
4261
  e[12][
4262
4262
  /*consent*/
@@ -4265,25 +4265,25 @@ function At(e) {
4265
4265
  e[13][
4266
4266
  /*consent*/
4267
4267
  e[64].tagCode
4268
- ], k(l, "class", "svelte-1w14oq2"), k(f, "class", "Slider Round svelte-1w14oq2"), k(u, "class", "ToggleSwitch svelte-1w14oq2"), k(t, "class", "ConsentItem svelte-1w14oq2");
4268
+ ], E(l, "class", "svelte-etk3ty"), E(f, "class", "Slider Round svelte-etk3ty"), E(u, "class", "ToggleSwitch svelte-etk3ty"), E(t, "class", "ConsentItem svelte-etk3ty");
4269
4269
  },
4270
- m(H, E) {
4271
- L(H, 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 = de(l, "input", S), p = !0);
4270
+ m(H, b) {
4271
+ L(H, t, b), S(t, r), S(r, n), i.m(o, n), S(n, a), _ && _.m(n, null), S(r, s), y && y.m(r, null), S(t, h), S(t, u), S(u, l), S(u, v), S(u, f), p || (C = de(l, "input", x), p = !0);
4272
4272
  },
4273
- p(H, E) {
4274
- e = H, E[0] & /*$_, playerConsents, consentsCategories*/
4273
+ p(H, b) {
4274
+ e = H, b[0] & /*$_, playerConsents, consentsCategories*/
4275
4275
  66304 && o !== (o = /*$_*/
4276
4276
  (e[16](`${/*consent*/
4277
4277
  e[64].tagCode}__name`) || /*consent*/
4278
4278
  e[64].friendlyName) + "") && i.p(o), /*consent*/
4279
- e[64].mustAccept === !0 ? _ || (_ = Mt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4280
- e[4] === "true" ? v ? v.p(e, E) : (v = Nt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4279
+ e[64].mustAccept === !0 ? _ || (_ = wt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4280
+ e[4] === "true" ? y ? y.p(e, b) : (y = Nt(e), y.c(), y.m(r, null)) : y && (y.d(1), y = null), b[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4281
4281
  4864 && d !== (d = /*consent*/
4282
4282
  e[64].mustAccept === !0 && /*initialConsentsState*/
4283
4283
  e[12][
4284
4284
  /*consent*/
4285
4285
  e[64].tagCode
4286
- ] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4286
+ ] === !0) && (l.disabled = d), b[0] & /*consentsState, playerConsents, consentsCategories*/
4287
4287
  8960 && m !== (m = /*consentsState*/
4288
4288
  e[13][
4289
4289
  /*consent*/
@@ -4291,7 +4291,7 @@ function At(e) {
4291
4291
  ]) && (l.checked = m);
4292
4292
  },
4293
4293
  d(H) {
4294
- H && j(t), _ && _.d(), v && v.d(), p = !1, C();
4294
+ H && j(t), _ && _.d(), y && y.d(), p = !1, C();
4295
4295
  }
4296
4296
  };
4297
4297
  }
@@ -4301,7 +4301,7 @@ function Ht(e) {
4301
4301
  (e[16](`${/*category*/
4302
4302
  e[61].categoryTagCode}__category`) || /*category*/
4303
4303
  e[61].friendlyName) + ""
4304
- ), o, a, s, h, u, l, d, m, b;
4304
+ ), o, a, s, h, u, l, d, m, v;
4305
4305
  function f() {
4306
4306
  e[26].call(
4307
4307
  s,
@@ -4318,44 +4318,44 @@ function Ht(e) {
4318
4318
  )
4319
4319
  );
4320
4320
  }
4321
- function C(...S) {
4321
+ function C(...x) {
4322
4322
  return (
4323
4323
  /*func*/
4324
4324
  e[28](
4325
4325
  /*category*/
4326
4326
  e[61],
4327
- ...S
4327
+ ...x
4328
4328
  )
4329
4329
  );
4330
4330
  }
4331
4331
  let _ = $(
4332
4332
  /*playerConsents*/
4333
4333
  e[9].filter(C)
4334
- ), v = [];
4335
- for (let S = 0; S < _.length; S += 1)
4336
- v[S] = At(Ct(e, _, S));
4334
+ ), y = [];
4335
+ for (let x = 0; x < _.length; x += 1)
4336
+ y[x] = At(Ct(e, _, x));
4337
4337
  return {
4338
4338
  c() {
4339
- 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");
4340
- for (let S = 0; S < v.length; S += 1)
4341
- v[S].c();
4342
- 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");
4339
+ t = A("div"), r = A("div"), n = A("h3"), o = G(), a = A("label"), s = A("input"), h = G(), u = A("span"), l = G(), d = A("div");
4340
+ for (let x = 0; x < y.length; x += 1)
4341
+ y[x].c();
4342
+ E(s, "type", "checkbox"), E(s, "class", "svelte-etk3ty"), E(u, "class", "Slider Round svelte-etk3ty"), E(a, "class", "ToggleSwitch Big svelte-etk3ty"), E(r, "class", "AccordionHeader svelte-etk3ty"), E(d, "class", "AccordionContent svelte-etk3ty"), E(t, "class", "AccordionItem svelte-etk3ty");
4343
4343
  },
4344
- m(S, H) {
4345
- L(S, t, H), w(t, r), w(r, n), n.innerHTML = i, w(r, o), w(r, a), w(a, s), s.checked = /*categoryToggle*/
4344
+ m(x, H) {
4345
+ 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*/
4346
4346
  e[11][
4347
4347
  /*category*/
4348
4348
  e[61].categoryTagCode
4349
- ], w(a, h), w(a, u), w(t, l), w(t, d);
4350
- for (let E = 0; E < v.length; E += 1)
4351
- v[E] && v[E].m(d, null);
4352
- m || (b = [
4349
+ ], S(a, h), S(a, u), S(t, l), S(t, d);
4350
+ for (let b = 0; b < y.length; b += 1)
4351
+ y[b] && y[b].m(d, null);
4352
+ m || (v = [
4353
4353
  de(s, "change", f),
4354
4354
  de(s, "change", p)
4355
4355
  ], m = !0);
4356
4356
  },
4357
- p(S, H) {
4358
- if (e = S, H[0] & /*$_, consentsCategories*/
4357
+ p(x, H) {
4358
+ if (e = x, H[0] & /*$_, consentsCategories*/
4359
4359
  65792 && i !== (i = /*$_*/
4360
4360
  (e[16](`${/*category*/
4361
4361
  e[61].categoryTagCode}__category`) || /*category*/
@@ -4370,18 +4370,18 @@ function Ht(e) {
4370
4370
  /*playerConsents*/
4371
4371
  e[9].filter(C)
4372
4372
  );
4373
- let E;
4374
- for (E = 0; E < _.length; E += 1) {
4375
- const B = Ct(e, _, E);
4376
- v[E] ? v[E].p(B, H) : (v[E] = At(B), v[E].c(), v[E].m(d, null));
4373
+ let b;
4374
+ for (b = 0; b < _.length; b += 1) {
4375
+ const B = Ct(e, _, b);
4376
+ y[b] ? y[b].p(B, H) : (y[b] = At(B), y[b].c(), y[b].m(d, null));
4377
4377
  }
4378
- for (; E < v.length; E += 1)
4379
- v[E].d(1);
4380
- v.length = _.length;
4378
+ for (; b < y.length; b += 1)
4379
+ y[b].d(1);
4380
+ y.length = _.length;
4381
4381
  }
4382
4382
  },
4383
- d(S) {
4384
- S && j(t), Ke(v, S), m = !1, Bt(b);
4383
+ d(x) {
4384
+ x && j(t), Ke(y, x), m = !1, Bt(v);
4385
4385
  }
4386
4386
  };
4387
4387
  }
@@ -4389,13 +4389,13 @@ function Pt(e) {
4389
4389
  let t, r, n, i, o;
4390
4390
  return {
4391
4391
  c() {
4392
- t = A("div"), r = A("circle-exclamation-icon"), n = q(), i = A("strong"), o = fe(
4392
+ t = A("div"), r = A("circle-exclamation-icon"), n = G(), i = A("strong"), o = fe(
4393
4393
  /*errorMessage*/
4394
4394
  e[6]
4395
- ), Q(r, "class", "svelte-1w14oq2"), k(i, "class", "ErrorMessage svelte-1w14oq2"), k(t, "class", "ConsentErrorContainer svelte-1w14oq2");
4395
+ ), Q(r, "class", "svelte-etk3ty"), E(i, "class", "ErrorMessage svelte-etk3ty"), E(t, "class", "ConsentErrorContainer svelte-etk3ty");
4396
4396
  },
4397
4397
  m(a, s) {
4398
- L(a, t, s), w(t, r), w(t, n), w(t, i), w(i, o);
4398
+ L(a, t, s), S(t, r), S(t, n), S(t, i), S(i, o);
4399
4399
  },
4400
4400
  p(a, s) {
4401
4401
  s[0] & /*errorMessage*/
@@ -4435,10 +4435,10 @@ function ji(e) {
4435
4435
  let i = n(e), o = i && i(e);
4436
4436
  return {
4437
4437
  c() {
4438
- t = A("div"), r = A("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-1w14oq2"), k(t, "class", Ir("") + " svelte-1w14oq2");
4438
+ t = A("div"), r = A("div"), o && o.c(), E(r, "class", "ConsentsContainer svelte-etk3ty"), E(t, "class", Ir("") + " svelte-etk3ty");
4439
4439
  },
4440
4440
  m(a, s) {
4441
- L(a, t, s), w(t, r), o && o.m(r, null), e[32](r);
4441
+ L(a, t, s), S(t, r), o && o.m(r, null), e[32](r);
4442
4442
  },
4443
4443
  p(a, s) {
4444
4444
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
@@ -4452,62 +4452,62 @@ function ji(e) {
4452
4452
  }
4453
4453
  function Li(e, t, r) {
4454
4454
  let n;
4455
- Br(e, Mi, (c) => r(16, n = c));
4456
- 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 = "", H = "", E = [], B = [], O = [], se = !0, ve = !0, G = {}, be = {}, Z = {}, U = {}, le, ye, R = {
4455
+ Br(e, wi, (c) => r(16, n = c));
4456
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: v = "false" } = t, f, p = !1, C = !1, _ = "", y = "", x = "", H = "", b = [], B = [], O = [], se = !0, ye = !0, F = {}, ve = {}, Z = {}, U = {}, le, ke, R = {
4457
4457
  none: { key: "0", value: "None" },
4458
4458
  accepted: { key: "1", value: "Accepted" },
4459
4459
  expired: { key: "2", value: "Expired" },
4460
4460
  denied: { key: "3", value: "Denied" },
4461
4461
  suspended: { key: "4", value: "Suspended" }
4462
- }, Ee = !1;
4463
- Object.keys(yt).forEach((c) => {
4464
- bt(c, yt[c]);
4462
+ }, be = !1;
4463
+ Object.keys(kt).forEach((c) => {
4464
+ vt(c, kt[c]);
4465
4465
  });
4466
4466
  const lr = () => {
4467
4467
  Ni(l);
4468
4468
  }, cr = () => {
4469
4469
  let c = new URL(m);
4470
4470
  fetch(c.href).then((g) => g.json()).then((g) => {
4471
- Object.keys(g).forEach((T) => {
4472
- bt(T, g[T]);
4471
+ Object.keys(g).forEach((M) => {
4472
+ vt(M, g[M]);
4473
4473
  });
4474
4474
  }).catch((g) => {
4475
4475
  console.log(g);
4476
4476
  });
4477
4477
  }, ur = () => {
4478
- i && (_ = i, C = !0), o && (v = o);
4479
- }, ke = (c, g = !1) => {
4480
- g ? r(7, H = c) : (fr(), r(6, S = c));
4481
- }, ce = async (c, g, T, y = !1) => {
4478
+ i && (_ = i, C = !0), o && (y = o);
4479
+ }, Ee = (c, g = !1) => {
4480
+ g ? r(7, H = c) : (fr(), r(6, x = c));
4481
+ }, ce = async (c, g, M, k = !1) => {
4482
4482
  try {
4483
- const x = await fetch(c, T);
4484
- if (!x.ok)
4483
+ const T = await fetch(c, M);
4484
+ if (!T.ok)
4485
4485
  throw new Error(n(g));
4486
- const I = await x.json();
4487
- return C ? I : I.filter((F) => F.showOnRegister === !0);
4488
- } catch (x) {
4489
- throw ke(
4490
- x instanceof TypeError ? n(g) : x.message,
4491
- y
4492
- ), x;
4486
+ const I = await T.json();
4487
+ return C ? I : I.filter((V) => V.showOnRegister === !0);
4488
+ } catch (T) {
4489
+ throw Ee(
4490
+ T instanceof TypeError ? n(g) : T.message,
4491
+ k
4492
+ ), T;
4493
4493
  }
4494
4494
  }, hr = async () => {
4495
4495
  try {
4496
4496
  let c = [], g = [];
4497
- if (C ? [c, g] = await tt() : c = await tt(), r(10, se = !1), B = [...c], r(8, E = mr(B).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = pr(E)), be = { ...G }, r(9, O = [...g]), B.forEach((T) => {
4498
- let y = O.find((x) => x.tagCode === T.tagCode);
4499
- y || (y = {
4500
- ...T,
4497
+ if (C ? [c, g] = await tt() : c = await tt(), r(10, se = !1), B = [...c], r(8, b = mr(B).sort((M, k) => M.categoryTagCode.localeCompare(k.categoryTagCode))), r(11, F = pr(b)), ve = { ...F }, r(9, O = [...g]), B.forEach((M) => {
4498
+ let k = O.find((T) => T.tagCode === M.tagCode);
4499
+ k || (k = {
4500
+ ...M,
4501
4501
  status: R.denied.value
4502
- }, O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
4503
- }), b === "true") {
4504
- if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
4502
+ }, O.push(k)), k.description = M.description, k.orderNumber = M.orderNumber;
4503
+ }), v === "true") {
4504
+ if (r(9, O = O.filter((M) => M.status === R.expired.value)), O.length !== 0)
4505
4505
  return;
4506
- ke(n("wrongModalConfig"), !0);
4506
+ Ee(n("wrongModalConfig"), !0);
4507
4507
  }
4508
4508
  gr();
4509
4509
  } catch (c) {
4510
- throw r(10, se = !1), ke(
4510
+ throw r(10, se = !1), Ee(
4511
4511
  c instanceof TypeError ? n("invalidUrl") : c.message,
4512
4512
  !0
4513
4513
  ), c;
@@ -4516,7 +4516,7 @@ function Li(e, t, r) {
4516
4516
  const c = new URL(`${a}/api/v1/gm/consents`);
4517
4517
  if (c.searchParams.append("Status", "Active"), !C)
4518
4518
  return await ce(c.href, "fetchConsentsError", { method: "GET" }, !0);
4519
- const g = new URL(`${a}/api/v1/gm/user-consents/${v}`);
4519
+ const g = new URL(`${a}/api/v1/gm/user-consents/${y}`);
4520
4520
  return await Promise.all([
4521
4521
  ce(c.href, "fetchConsentsError", { method: "GET" }, !0),
4522
4522
  ce(g.href, "fetchPlayerConsentsError", {
@@ -4528,46 +4528,46 @@ function Li(e, t, r) {
4528
4528
  })
4529
4529
  ]);
4530
4530
  }, dr = () => {
4531
- Ee = !1;
4531
+ be = !1;
4532
4532
  const c = new URL(`${a}/api/v2/gm/legislation/consents`), g = {
4533
4533
  "Content-Type": "application/json",
4534
4534
  Accept: "application/json"
4535
- }, T = { method: "GET", headers: g };
4536
- fetch(c.href, T).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((x) => (console.error(x), Ce(x))))).then((y) => {
4537
- if (!Ee) {
4538
- if (B = y, localStorage.getItem("playerConsents")) {
4535
+ }, M = { method: "GET", headers: g };
4536
+ fetch(c.href, M).then((k) => k.ok ? k.json() : (be = !0, k.json().then((T) => (console.error(T), Ce(T))))).then((k) => {
4537
+ if (!be) {
4538
+ if (B = k, localStorage.getItem("playerConsents")) {
4539
4539
  try {
4540
4540
  r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
4541
- } catch (x) {
4542
- return console.error(x), Ce(x);
4541
+ } catch (T) {
4542
+ return console.error(T), Ce(T);
4543
4543
  }
4544
4544
  return;
4545
4545
  }
4546
- return r(9, O = B.map((x) => ({
4547
- id: x.id,
4546
+ return r(9, O = B.map((T) => ({
4547
+ id: T.id,
4548
4548
  status: R.denied.key,
4549
- friendlyName: x.friendlyName,
4550
- tagCode: x.tagCode,
4549
+ friendlyName: T.friendlyName,
4550
+ tagCode: T.tagCode,
4551
4551
  selected: null,
4552
- mustAccept: x.mustAccept
4552
+ mustAccept: T.mustAccept
4553
4553
  }))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
4554
4554
  }
4555
- }).catch((y) => (console.error(y), Ce(y))).finally(() => {
4555
+ }).catch((k) => (console.error(k), Ce(k))).finally(() => {
4556
4556
  r(10, se = !1);
4557
4557
  });
4558
4558
  }, mr = (c) => {
4559
4559
  const g = /* @__PURE__ */ new Map();
4560
- return c.forEach((T) => {
4561
- g.has(T.category.categoryTagCode) || g.set(T.category.categoryTagCode, T.category);
4560
+ return c.forEach((M) => {
4561
+ g.has(M.category.categoryTagCode) || g.set(M.category.categoryTagCode, M.category);
4562
4562
  }), Array.from(g.values());
4563
4563
  }, pr = (c) => {
4564
- const g = localStorage.getItem("categoryToggle" + v);
4564
+ const g = localStorage.getItem("categoryToggle" + y);
4565
4565
  if (g === null) {
4566
- const T = c.reduce(
4567
- (y, x) => (y[x.categoryTagCode] = !1, y),
4566
+ const M = c.reduce(
4567
+ (k, T) => (k[T.categoryTagCode] = !1, k),
4568
4568
  {}
4569
4569
  );
4570
- return localStorage.setItem("categoryToggle" + v, JSON.stringify(T)), T;
4570
+ return localStorage.setItem("categoryToggle" + y, JSON.stringify(M)), M;
4571
4571
  } else
4572
4572
  return JSON.parse(g);
4573
4573
  }, gr = () => {
@@ -4575,35 +4575,35 @@ function Li(e, t, r) {
4575
4575
  r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
4576
4576
  }), r(13, U = { ...Z });
4577
4577
  }, fr = () => {
4578
- r(13, U = { ...Z }), r(11, G = { ...be });
4578
+ r(13, U = { ...Z }), r(11, F = { ...ve });
4579
4579
  }, _r = async () => {
4580
- if (!ve)
4580
+ if (!ye)
4581
4581
  return;
4582
- ve = !1;
4582
+ ye = !1;
4583
4583
  const c = [], g = [];
4584
- if (Object.keys(U).forEach((y) => {
4585
- const x = O.find((I) => I.tagCode === y);
4586
- U[y] !== Z[y] && (x ? c.push({
4587
- tagCode: y,
4588
- status: U[y] ? R.accepted.value : R.denied.value
4584
+ if (Object.keys(U).forEach((k) => {
4585
+ const T = O.find((I) => I.tagCode === k);
4586
+ U[k] !== Z[k] && (T ? c.push({
4587
+ tagCode: k,
4588
+ status: U[k] ? R.accepted.value : R.denied.value
4589
4589
  }) : g.push({
4590
- tagCode: y,
4591
- status: U[y] ? R.accepted.value : R.denied.value
4590
+ tagCode: k,
4591
+ status: U[k] ? R.accepted.value : R.denied.value
4592
4592
  }));
4593
4593
  }), !C) {
4594
- localStorage.setItem("categoryToggle" + v, JSON.stringify(G)), be = { ...G }, window.postMessage(
4594
+ localStorage.setItem("categoryToggle" + y, JSON.stringify(F)), ve = { ...F }, window.postMessage(
4595
4595
  {
4596
4596
  type: "NewPlayerConsentData",
4597
4597
  data: JSON.stringify(g)
4598
4598
  },
4599
4599
  window.location.href
4600
- ), ve = !0;
4600
+ ), ye = !0;
4601
4601
  return;
4602
4602
  }
4603
- const T = new URL(`${a}/api/v1/gm/user-consents/${v}`);
4603
+ const M = new URL(`${a}/api/v1/gm/user-consents/${y}`);
4604
4604
  try {
4605
- const y = await Promise.allSettled([
4606
- g.length > 0 && ce(T.href, "updateConsentsError", {
4605
+ const k = await Promise.allSettled([
4606
+ g.length > 0 && ce(M.href, "updateConsentsError", {
4607
4607
  method: "POST",
4608
4608
  headers: {
4609
4609
  "X-SessionId": _,
@@ -4611,7 +4611,7 @@ function Li(e, t, r) {
4611
4611
  },
4612
4612
  body: JSON.stringify({ userConsents: g })
4613
4613
  }),
4614
- c.length > 0 && ce(T.href, "updateConsentsError", {
4614
+ c.length > 0 && ce(M.href, "updateConsentsError", {
4615
4615
  method: "PATCH",
4616
4616
  headers: {
4617
4617
  "X-SessionId": _,
@@ -4620,20 +4620,20 @@ function Li(e, t, r) {
4620
4620
  body: JSON.stringify({ userConsents: c })
4621
4621
  })
4622
4622
  ]);
4623
- y.forEach((x, I) => {
4624
- if (x.status === "rejected" || x.value.ok === !1) {
4625
- const F = I < g.length ? g[I] : c[I - g.length];
4626
- r(13, U[F.tagCode] = Z[F.tagCode], U);
4623
+ k.forEach((T, I) => {
4624
+ if (T.status === "rejected" || T.value.ok === !1) {
4625
+ const V = I < g.length ? g[I] : c[I - g.length];
4626
+ r(13, U[V.tagCode] = Z[V.tagCode], U);
4627
4627
  }
4628
- }), y.every((x) => x.status === "fulfilled") && (localStorage.setItem("categoryToggle" + v, JSON.stringify(G)), be = { ...G }, window.postMessage(
4628
+ }), k.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + y, JSON.stringify(F)), ve = { ...F }, window.postMessage(
4629
4629
  {
4630
4630
  type: "PlayerConsentUpdated",
4631
4631
  success: !0
4632
4632
  },
4633
4633
  window.location.href
4634
4634
  ), r(12, Z = { ...U }));
4635
- } catch (y) {
4636
- ke(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
4635
+ } catch (k) {
4636
+ Ee(k instanceof TypeError ? n("saveChangesError") : k.message), window.postMessage(
4637
4637
  {
4638
4638
  type: "PlayerConsentUpdated",
4639
4639
  success: !1
@@ -4641,58 +4641,58 @@ function Li(e, t, r) {
4641
4641
  window.location.href
4642
4642
  );
4643
4643
  } finally {
4644
- ve = !0, r(14, le = !1);
4644
+ ye = !0, r(14, le = !1);
4645
4645
  }
4646
- }, vr = (c) => {
4647
- const g = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
4646
+ }, yr = (c) => {
4647
+ const g = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
4648
4648
  "Content-Type": "application/json",
4649
4649
  Accept: "application/json"
4650
- }, y = {
4650
+ }, k = {
4651
4651
  playerConsents: O,
4652
4652
  registrationId: c
4653
- }, x = {
4653
+ }, T = {
4654
4654
  method: "POST",
4655
- body: JSON.stringify(y),
4656
- headers: T
4655
+ body: JSON.stringify(k),
4656
+ headers: M
4657
4657
  };
4658
- fetch(g.href, x).then((I) => {
4659
- I.ok || (Ee = !0);
4658
+ fetch(g.href, T).then((I) => {
4659
+ I.ok || (be = !0);
4660
4660
  }).catch((I) => (console.error(I), Ce(I))).finally(() => {
4661
4661
  r(10, se = !1);
4662
4662
  });
4663
4663
  }, rt = (c) => {
4664
4664
  O.filter((g) => g.category.categoryTagCode === c).forEach((g) => {
4665
- g.status = g.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[g.tagCode] = G[c] || !1, U);
4665
+ g.status = g.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[g.tagCode] = F[c] || !1, U);
4666
4666
  }), r(14, le = nt());
4667
- }, ze = (c, g, T) => {
4668
- const y = O.find((F) => F.id === T), x = g ? "value" : "key";
4667
+ }, ze = (c, g, M) => {
4668
+ const k = O.find((V) => V.id === M), T = g ? "value" : "key";
4669
4669
  let I;
4670
- if (!g && y.mustAccept) {
4671
- const F = Array.from(ye.children);
4672
- for (const ue of F)
4673
- if (I = Array.from(ue.children).find((Nr) => Nr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
4670
+ if (!g && k.mustAccept) {
4671
+ const V = Array.from(ke.children);
4672
+ for (const ue of V)
4673
+ if (I = Array.from(ue.children).find((Nr) => Nr.getAttribute("id") === `checkBoxError__${k.tagCode}`), I)
4674
4674
  break;
4675
4675
  }
4676
- 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) {
4677
- r(13, U[y.tagCode] = !U[y.tagCode], U);
4678
- const F = O.filter((ue) => ue.category.categoryTagCode === g.categoryTagCode).every((ue) => ue.status !== R.denied.value);
4679
- r(11, G[g.categoryTagCode] = F, G);
4676
+ if (k.status === R.accepted[T] ? (k.status = R.denied[T], I && (I.innerHTML = n("requiredError"))) : (k.status = R.accepted[T], I && (I.innerHTML = "")), g) {
4677
+ r(13, U[k.tagCode] = !U[k.tagCode], U);
4678
+ const V = O.filter((ue) => ue.category.categoryTagCode === g.categoryTagCode).every((ue) => ue.status !== R.denied.value);
4679
+ r(11, F[g.categoryTagCode] = V, F);
4680
4680
  }
4681
- br();
4682
- }, br = ((c, g) => {
4683
- let T;
4684
- return function(...y) {
4685
- const x = this;
4686
- clearTimeout(T), T = setTimeout(
4681
+ vr();
4682
+ }, vr = ((c, g) => {
4683
+ let M;
4684
+ return function(...k) {
4685
+ const T = this;
4686
+ clearTimeout(M), M = setTimeout(
4687
4687
  () => {
4688
- c.apply(x, y);
4688
+ c.apply(T, k);
4689
4689
  },
4690
4690
  g
4691
4691
  );
4692
4692
  };
4693
- })(() => yr(), 500), yr = () => {
4693
+ })(() => kr(), 500), kr = () => {
4694
4694
  r(14, le = nt()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
4695
- }, nt = () => O.filter((g) => O.some((T) => g.tagCode === T.tagCode && T.mustAccept && (g.status === R.denied.key || g.status === R.denied.value))).length === 0, Ce = (c) => {
4695
+ }, nt = () => O.filter((g) => O.some((M) => g.tagCode === M.tagCode && M.mustAccept && (g.status === R.denied.key || g.status === R.denied.value))).length === 0, Ce = (c) => {
4696
4696
  window.postMessage(
4697
4697
  {
4698
4698
  type: "WidgetNotification",
@@ -4700,8 +4700,8 @@ function Li(e, t, r) {
4700
4700
  },
4701
4701
  window.location.href
4702
4702
  );
4703
- }, Er = (c) => {
4704
- c.data && c.data.type !== "setUpPlayerConsents" || vr(c.data.registerid);
4703
+ }, br = (c) => {
4704
+ c.data && c.data.type !== "setUpPlayerConsents" || yr(c.data.registerid);
4705
4705
  };
4706
4706
  Or(() => {
4707
4707
  setTimeout(
@@ -4710,27 +4710,27 @@ function Li(e, t, r) {
4710
4710
  },
4711
4711
  50
4712
4712
  );
4713
- const c = (g) => Er(g);
4713
+ const c = (g) => br(g);
4714
4714
  return window.addEventListener("message", c), () => {
4715
4715
  window.removeEventListener("message", c);
4716
4716
  };
4717
4717
  });
4718
- function kr(c) {
4719
- G[c.categoryTagCode] = this.checked, r(11, G);
4718
+ function Er(c) {
4719
+ F[c.categoryTagCode] = this.checked, r(11, F);
4720
4720
  }
4721
- const Cr = (c) => rt(c.categoryTagCode), wr = (c, g) => g.category.categoryTagCode === c.categoryTagCode, Sr = (c, g) => ze(g, c.category, c.id), xr = (c, g) => ze(g, null, c.id);
4722
- function Tr(c) {
4721
+ const Cr = (c) => rt(c.categoryTagCode), Sr = (c, g) => g.category.categoryTagCode === c.categoryTagCode, xr = (c, g) => ze(g, c.category, c.id), Tr = (c, g) => ze(g, null, c.id);
4722
+ function Mr(c) {
4723
4723
  ot[c ? "unshift" : "push"](() => {
4724
- ye = c, r(15, ye);
4724
+ ke = c, r(15, ke);
4725
4725
  });
4726
4726
  }
4727
- function Mr(c) {
4727
+ function wr(c) {
4728
4728
  ot[c ? "unshift" : "push"](() => {
4729
4729
  f = c, r(5, f);
4730
4730
  });
4731
4731
  }
4732
4732
  return e.$$set = (c) => {
4733
- "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);
4733
+ "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, v = c.modalconsents);
4734
4734
  }, e.$$.update = () => {
4735
4735
  e.$$.dirty[0] & /*isMounted, session*/
4736
4736
  33554433 && p && i && (ur(), hr()), e.$$.dirty[0] & /*session*/
@@ -4747,16 +4747,16 @@ function Li(e, t, r) {
4747
4747
  u,
4748
4748
  d,
4749
4749
  f,
4750
- S,
4750
+ x,
4751
4751
  H,
4752
- E,
4752
+ b,
4753
4753
  O,
4754
4754
  se,
4755
- G,
4755
+ F,
4756
4756
  Z,
4757
4757
  U,
4758
4758
  le,
4759
- ye,
4759
+ ke,
4760
4760
  n,
4761
4761
  _r,
4762
4762
  rt,
@@ -4765,15 +4765,15 @@ function Li(e, t, r) {
4765
4765
  a,
4766
4766
  l,
4767
4767
  m,
4768
- b,
4768
+ v,
4769
4769
  p,
4770
- kr,
4770
+ Er,
4771
4771
  Cr,
4772
- wr,
4773
4772
  Sr,
4774
4773
  xr,
4775
4774
  Tr,
4776
- Mr
4775
+ Mr,
4776
+ wr
4777
4777
  ];
4778
4778
  }
4779
4779
  class Ri extends zt {
@@ -4804,61 +4804,61 @@ class Ri extends zt {
4804
4804
  return this.$$.ctx[0];
4805
4805
  }
4806
4806
  set session(t) {
4807
- this.$$set({ session: t }), V();
4807
+ this.$$set({ session: t }), X();
4808
4808
  }
4809
4809
  get userid() {
4810
4810
  return this.$$.ctx[20];
4811
4811
  }
4812
4812
  set userid(t) {
4813
- this.$$set({ userid: t }), V();
4813
+ this.$$set({ userid: t }), X();
4814
4814
  }
4815
4815
  get endpoint() {
4816
4816
  return this.$$.ctx[21];
4817
4817
  }
4818
4818
  set endpoint(t) {
4819
- this.$$set({ endpoint: t }), V();
4819
+ this.$$set({ endpoint: t }), X();
4820
4820
  }
4821
4821
  get clientstyling() {
4822
4822
  return this.$$.ctx[1];
4823
4823
  }
4824
4824
  set clientstyling(t) {
4825
- this.$$set({ clientstyling: t }), V();
4825
+ this.$$set({ clientstyling: t }), X();
4826
4826
  }
4827
4827
  get clientstylingurl() {
4828
4828
  return this.$$.ctx[2];
4829
4829
  }
4830
4830
  set clientstylingurl(t) {
4831
- this.$$set({ clientstylingurl: t }), V();
4831
+ this.$$set({ clientstylingurl: t }), X();
4832
4832
  }
4833
4833
  get mbsource() {
4834
4834
  return this.$$.ctx[3];
4835
4835
  }
4836
4836
  set mbsource(t) {
4837
- this.$$set({ mbsource: t }), V();
4837
+ this.$$set({ mbsource: t }), X();
4838
4838
  }
4839
4839
  get lang() {
4840
4840
  return this.$$.ctx[22];
4841
4841
  }
4842
4842
  set lang(t) {
4843
- this.$$set({ lang: t }), V();
4843
+ this.$$set({ lang: t }), X();
4844
4844
  }
4845
4845
  get displayconsentdescription() {
4846
4846
  return this.$$.ctx[4];
4847
4847
  }
4848
4848
  set displayconsentdescription(t) {
4849
- this.$$set({ displayconsentdescription: t }), V();
4849
+ this.$$set({ displayconsentdescription: t }), X();
4850
4850
  }
4851
4851
  get translationurl() {
4852
4852
  return this.$$.ctx[23];
4853
4853
  }
4854
4854
  set translationurl(t) {
4855
- this.$$set({ translationurl: t }), V();
4855
+ this.$$set({ translationurl: t }), X();
4856
4856
  }
4857
4857
  get modalconsents() {
4858
4858
  return this.$$.ctx[24];
4859
4859
  }
4860
4860
  set modalconsents(t) {
4861
- this.$$set({ modalconsents: t }), V();
4861
+ this.$$set({ modalconsents: t }), X();
4862
4862
  }
4863
4863
  }
4864
4864
  Ot(Ri, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);