@everymatrix/player-consents 1.63.2 → 1.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@ var de = (e, t, r) => new Promise((n, i) => {
26
26
  }, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
27
27
  s((r = r.apply(e, t)).next());
28
28
  });
29
- import { n as W, s as $e, a as Ur, r as Lt, i as Dr, c as Rt, S as Ut, b as Dt, d as j, e as L, f as w, g as ct, h as k, j as V, k as qr, l as A, m as Gr, o as Fr, p as ut, q as Y, t as _e, u as ve, v as ee, w as et, x as pe, y as q, z as Vr, H as qt, A as Xr, B as Wr, C as Zr, D as Jr } from "./GeneralAnimationLoading-CAP3Fch3.js";
29
+ import { n as W, s as $e, a as Ur, r as Lt, i as Dr, c as Rt, S as Ut, b as Dt, d as j, e as L, f as S, g as ct, h as E, j as X, k as Gr, l as A, m as Fr, o as Vr, p as ut, q as Y, t as _e, u as ye, v as ee, w as et, x as pe, y as G, z as Xr, H as Gt, A as qr, B as Wr, C as Zr, D as Jr } from "./GeneralAnimationLoading-CAP3Fch3.js";
30
30
  const $ = [];
31
31
  function Qr(e, t) {
32
32
  return {
@@ -74,7 +74,7 @@ function oe(e, t, r) {
74
74
  d();
75
75
  const f = t(n ? u[0] : u, a, s);
76
76
  o ? a(f) : d = Dr(f) ? f : W;
77
- }, b = i.map(
77
+ }, v = i.map(
78
78
  (f, p) => Ur(
79
79
  f,
80
80
  (C) => {
@@ -86,7 +86,7 @@ function oe(e, t, r) {
86
86
  )
87
87
  );
88
88
  return h = !0, m(), function() {
89
- Lt(b), d(), h = !1;
89
+ Lt(v), d(), h = !1;
90
90
  };
91
91
  });
92
92
  }
@@ -132,7 +132,7 @@ function ln(e) {
132
132
  function ht(e) {
133
133
  return Object.keys(e).concat(ln(e));
134
134
  }
135
- function Gt(e, t) {
135
+ function Ft(e, t) {
136
136
  try {
137
137
  return t in e;
138
138
  } catch (r) {
@@ -140,14 +140,14 @@ function Gt(e, t) {
140
140
  }
141
141
  }
142
142
  function cn(e, t) {
143
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
143
+ return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
144
144
  }
145
145
  function un(e, t, r) {
146
146
  var n = {};
147
147
  return r.isMergeableObject(e) && ht(e).forEach(function(i) {
148
148
  n[i] = ge(e[i], r);
149
149
  }), ht(t).forEach(function(i) {
150
- cn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
150
+ cn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
151
151
  }), n;
152
152
  }
153
153
  function te(e, t, r) {
@@ -164,32 +164,32 @@ te.all = function(t, r) {
164
164
  };
165
165
  var hn = te, dn = hn;
166
166
  const mn = /* @__PURE__ */ Yr(dn);
167
- var Fe = function(e, t) {
168
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
167
+ var Ve = function(e, t) {
168
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
169
169
  r.__proto__ = n;
170
170
  } || function(r, n) {
171
171
  for (var i in n)
172
172
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
173
- }, Fe(e, t);
173
+ }, Ve(e, t);
174
174
  };
175
175
  function Be(e, t) {
176
176
  if (typeof t != "function" && t !== null)
177
177
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
178
- Fe(e, t);
178
+ Ve(e, t);
179
179
  function r() {
180
180
  this.constructor = e;
181
181
  }
182
182
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
183
183
  }
184
- var X = function() {
185
- return X = Object.assign || function(t) {
184
+ var q = function() {
185
+ return q = Object.assign || function(t) {
186
186
  for (var r, n = 1, i = arguments.length; n < i; n++) {
187
187
  r = arguments[n];
188
188
  for (var o in r)
189
189
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
190
190
  }
191
191
  return t;
192
- }, X.apply(this, arguments);
192
+ }, q.apply(this, arguments);
193
193
  };
194
194
  function pn(e, t) {
195
195
  var r = {};
@@ -207,7 +207,7 @@ function Le(e, t, r) {
207
207
  return e.concat(o || Array.prototype.slice.call(t));
208
208
  }
209
209
  function Re(e, t) {
210
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : _n;
210
+ var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : _n;
211
211
  return i(e, {
212
212
  cache: r,
213
213
  serializer: n
@@ -220,23 +220,23 @@ function fn(e, t, r, n) {
220
220
  var i = gn(n) ? n : r(n), o = t.get(i);
221
221
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
222
222
  }
223
- function Ft(e, t, r) {
223
+ function Vt(e, t, r) {
224
224
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
225
225
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
226
226
  }
227
- function Vt(e, t, r, n, i) {
227
+ function Xt(e, t, r, n, i) {
228
228
  return r.bind(t, e, n, i);
229
229
  }
230
230
  function _n(e, t) {
231
- var r = e.length === 1 ? fn : Ft;
232
- return Vt(e, this, r, t.cache.create(), t.serializer);
231
+ var r = e.length === 1 ? fn : Vt;
232
+ return Xt(e, this, r, t.cache.create(), t.serializer);
233
233
  }
234
- function vn(e, t) {
235
- return Vt(e, this, Ft, t.cache.create(), t.serializer);
234
+ function yn(e, t) {
235
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
236
236
  }
237
- var bn = function() {
237
+ var vn = function() {
238
238
  return JSON.stringify(arguments);
239
- }, yn = (
239
+ }, kn = (
240
240
  /** @class */
241
241
  function() {
242
242
  function e() {
@@ -248,12 +248,12 @@ var bn = function() {
248
248
  this.cache[t] = r;
249
249
  }, e;
250
250
  }()
251
- ), En = {
251
+ ), bn = {
252
252
  create: function() {
253
- return new yn();
253
+ return new kn();
254
254
  }
255
255
  }, Ue = {
256
- variadic: vn
256
+ variadic: yn
257
257
  }, Ne = function() {
258
258
  return Ne = Object.assign || function(t) {
259
259
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -264,10 +264,10 @@ var bn = function() {
264
264
  return t;
265
265
  }, Ne.apply(this, arguments);
266
266
  };
267
- var M;
267
+ var w;
268
268
  (function(e) {
269
269
  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";
270
- })(M || (M = {}));
270
+ })(w || (w = {}));
271
271
  var P;
272
272
  (function(e) {
273
273
  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";
@@ -279,10 +279,10 @@ var re;
279
279
  function dt(e) {
280
280
  return e.type === P.literal;
281
281
  }
282
- function kn(e) {
282
+ function En(e) {
283
283
  return e.type === P.argument;
284
284
  }
285
- function Xt(e) {
285
+ function qt(e) {
286
286
  return e.type === P.number;
287
287
  }
288
288
  function Wt(e) {
@@ -306,13 +306,13 @@ function Yt(e) {
306
306
  function Kt(e) {
307
307
  return !!(e && typeof e == "object" && e.type === re.number);
308
308
  }
309
- function Ve(e) {
309
+ function Xe(e) {
310
310
  return !!(e && typeof e == "object" && e.type === re.dateTime);
311
311
  }
312
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
313
- function Sn(e) {
312
+ var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
313
+ function xn(e) {
314
314
  var t = {};
315
- return e.replace(wn, function(r) {
315
+ return e.replace(Sn, function(r) {
316
316
  var n = r.length;
317
317
  switch (r[0]) {
318
318
  case "G":
@@ -411,11 +411,11 @@ var z = function() {
411
411
  return t;
412
412
  }, z.apply(this, arguments);
413
413
  };
414
- var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
415
- function Tn(e) {
414
+ var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
415
+ function Mn(e) {
416
416
  if (e.length === 0)
417
417
  throw new Error("Number skeleton cannot be empty");
418
- for (var t = e.split(xn).filter(function(m) {
418
+ for (var t = e.split(Tn).filter(function(m) {
419
419
  return m.length > 0;
420
420
  }), r = [], n = 0, i = t; n < i.length; n++) {
421
421
  var o = i[n], a = o.split("/");
@@ -430,7 +430,7 @@ function Tn(e) {
430
430
  }
431
431
  return r;
432
432
  }
433
- function Mn(e) {
433
+ function wn(e) {
434
434
  return e.replace(/^(.*?)-/, "");
435
435
  }
436
436
  var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
@@ -522,7 +522,7 @@ function Hn(e) {
522
522
  continue;
523
523
  case "measure-unit":
524
524
  case "unit":
525
- t.style = "unit", t.unit = Mn(i.options[0]);
525
+ t.style = "unit", t.unit = wn(i.options[0]);
526
526
  continue;
527
527
  case "compact-short":
528
528
  case "K":
@@ -584,13 +584,13 @@ function Hn(e) {
584
584
  case "integer-width":
585
585
  if (i.options.length > 1)
586
586
  throw new RangeError("integer-width stems only accept a single optional option");
587
- i.options[0].replace(Nn, function(h, u, l, d, m, b) {
587
+ i.options[0].replace(Nn, function(h, u, l, d, m, v) {
588
588
  if (u)
589
589
  t.minimumIntegerDigits = l.length;
590
590
  else {
591
591
  if (d && m)
592
592
  throw new Error("We currently do not support maximum integer digits");
593
- if (b)
593
+ if (v)
594
594
  throw new Error("We currently do not support exact integer digits");
595
595
  }
596
596
  return "";
@@ -604,8 +604,8 @@ function Hn(e) {
604
604
  if (mt.test(i.stem)) {
605
605
  if (i.options.length > 1)
606
606
  throw new RangeError("Fraction-precision stems only accept a single optional option");
607
- i.stem.replace(mt, function(h, u, l, d, m, b) {
608
- 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), "";
607
+ i.stem.replace(mt, function(h, u, l, d, m, v) {
608
+ 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), "";
609
609
  });
610
610
  var o = i.options[0];
611
611
  o === "w" ? t = z(z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = z(z({}, t), pt(o)));
@@ -622,7 +622,7 @@ function Hn(e) {
622
622
  }
623
623
  return t;
624
624
  }
625
- var xe = {
625
+ var Te = {
626
626
  "001": [
627
627
  "H",
628
628
  "h"
@@ -2072,21 +2072,21 @@ function Bn(e) {
2072
2072
  }
2073
2073
  var r = e.language, n;
2074
2074
  r !== "root" && (n = e.maximize().region);
2075
- var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
2075
+ var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
2076
2076
  return i[0];
2077
2077
  }
2078
2078
  var De, On = new RegExp("^".concat($t.source, "*")), zn = new RegExp("".concat($t.source, "*$"));
2079
2079
  function N(e, t) {
2080
2080
  return { start: e, end: t };
2081
2081
  }
2082
- var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, Ln = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Gn = qn ? Number.isSafeInteger : function(e) {
2082
+ var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, Ln = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, Fn = Gn ? Number.isSafeInteger : function(e) {
2083
2083
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2084
- }, Xe = !0;
2084
+ }, qe = !0;
2085
2085
  try {
2086
- var Fn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2087
- Xe = ((De = Fn.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2086
+ var Vn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2087
+ qe = ((De = Vn.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2088
2088
  } catch (e) {
2089
- Xe = !1;
2089
+ qe = !1;
2090
2090
  }
2091
2091
  var ft = In ? (
2092
2092
  // Native
@@ -2136,7 +2136,7 @@ var ft = In ? (
2136
2136
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2137
2137
  }
2138
2138
  }
2139
- ), Vn = Un ? (
2139
+ ), Xn = Un ? (
2140
2140
  // Native
2141
2141
  function(t) {
2142
2142
  return t.trimStart();
@@ -2146,7 +2146,7 @@ var ft = In ? (
2146
2146
  function(t) {
2147
2147
  return t.replace(On, "");
2148
2148
  }
2149
- ), Xn = Dn ? (
2149
+ ), qn = Dn ? (
2150
2150
  // Native
2151
2151
  function(t) {
2152
2152
  return t.trimEnd();
@@ -2161,12 +2161,12 @@ function ir(e, t) {
2161
2161
  return new RegExp(e, t);
2162
2162
  }
2163
2163
  var Ze;
2164
- if (Xe) {
2165
- var vt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2164
+ if (qe) {
2165
+ var yt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2166
2166
  Ze = function(t, r) {
2167
2167
  var n;
2168
- vt.lastIndex = r;
2169
- var i = vt.exec(t);
2168
+ yt.lastIndex = r;
2169
+ var i = yt.exec(t);
2170
2170
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2171
2171
  };
2172
2172
  } else
@@ -2209,7 +2209,7 @@ var Wn = (
2209
2209
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2210
2210
  if (n)
2211
2211
  break;
2212
- return this.error(M.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2212
+ return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2213
2213
  } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2214
2214
  var a = this.parseTag(t, r);
2215
2215
  if (a.err)
@@ -2244,9 +2244,9 @@ var Wn = (
2244
2244
  var a = o.val, s = this.clonePosition();
2245
2245
  if (this.bumpIf("</")) {
2246
2246
  if (this.isEOF() || !Je(this.char()))
2247
- return this.error(M.INVALID_TAG, N(s, this.clonePosition()));
2247
+ return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
2248
2248
  var h = this.clonePosition(), u = this.parseTagName();
2249
- return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2249
+ return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2250
2250
  val: {
2251
2251
  type: P.tag,
2252
2252
  value: i,
@@ -2254,11 +2254,11 @@ var Wn = (
2254
2254
  location: N(n, this.clonePosition())
2255
2255
  },
2256
2256
  err: null
2257
- } : this.error(M.INVALID_TAG, N(s, this.clonePosition())));
2257
+ } : this.error(w.INVALID_TAG, N(s, this.clonePosition())));
2258
2258
  } else
2259
- return this.error(M.UNCLOSED_TAG, N(n, this.clonePosition()));
2259
+ return this.error(w.UNCLOSED_TAG, N(n, this.clonePosition()));
2260
2260
  } else
2261
- return this.error(M.INVALID_TAG, N(n, this.clonePosition()));
2261
+ return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
2262
2262
  }, e.prototype.parseTagName = function() {
2263
2263
  var t = this.offset();
2264
2264
  for (this.bump(); !this.isEOF() && Jn(this.char()); )
@@ -2333,14 +2333,14 @@ var Wn = (
2333
2333
  }, e.prototype.parseArgument = function(t, r) {
2334
2334
  var n = this.clonePosition();
2335
2335
  if (this.bump(), this.bumpSpace(), this.isEOF())
2336
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2336
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2337
2337
  if (this.char() === 125)
2338
- return this.bump(), this.error(M.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2338
+ return this.bump(), this.error(w.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2339
2339
  var i = this.parseIdentifierIfPossible().value;
2340
2340
  if (!i)
2341
- return this.error(M.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2341
+ return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2342
2342
  if (this.bumpSpace(), this.isEOF())
2343
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2343
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2344
2344
  switch (this.char()) {
2345
2345
  case 125:
2346
2346
  return this.bump(), {
@@ -2353,9 +2353,9 @@ var Wn = (
2353
2353
  err: null
2354
2354
  };
2355
2355
  case 44:
2356
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2356
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2357
2357
  default:
2358
- return this.error(M.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2358
+ return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2359
2359
  }
2360
2360
  }, e.prototype.parseIdentifierIfPossible = function() {
2361
2361
  var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
@@ -2366,7 +2366,7 @@ var Wn = (
2366
2366
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2367
2367
  switch (s) {
2368
2368
  case "":
2369
- return this.error(M.EXPECT_ARGUMENT_TYPE, N(a, h));
2369
+ return this.error(w.EXPECT_ARGUMENT_TYPE, N(a, h));
2370
2370
  case "number":
2371
2371
  case "date":
2372
2372
  case "time": {
@@ -2377,18 +2377,18 @@ var Wn = (
2377
2377
  var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2378
2378
  if (d.err)
2379
2379
  return d;
2380
- var m = Xn(d.val);
2380
+ var m = qn(d.val);
2381
2381
  if (m.length === 0)
2382
- return this.error(M.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2383
- var b = N(l, this.clonePosition());
2384
- u = { style: m, styleLocation: b };
2382
+ return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2383
+ var v = N(l, this.clonePosition());
2384
+ u = { style: m, styleLocation: v };
2385
2385
  }
2386
2386
  var f = this.tryParseArgumentClose(i);
2387
2387
  if (f.err)
2388
2388
  return f;
2389
2389
  var p = N(i, this.clonePosition());
2390
2390
  if (u && ft(u == null ? void 0 : u.style, "::", 0)) {
2391
- var C = Vn(u.style.slice(2));
2391
+ var C = Xn(u.style.slice(2));
2392
2392
  if (s === "number") {
2393
2393
  var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
2394
2394
  return d.err ? d : {
@@ -2397,17 +2397,17 @@ var Wn = (
2397
2397
  };
2398
2398
  } else {
2399
2399
  if (C.length === 0)
2400
- return this.error(M.EXPECT_DATE_TIME_SKELETON, p);
2400
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, p);
2401
2401
  var _ = C;
2402
2402
  this.locale && (_ = Pn(C, this.locale));
2403
2403
  var m = {
2404
2404
  type: re.dateTime,
2405
2405
  pattern: _,
2406
2406
  location: u.styleLocation,
2407
- parsedOptions: this.shouldParseSkeletons ? Sn(_) : {}
2408
- }, v = s === "date" ? P.date : P.time;
2407
+ parsedOptions: this.shouldParseSkeletons ? xn(_) : {}
2408
+ }, y = s === "date" ? P.date : P.time;
2409
2409
  return {
2410
- val: { type: v, value: n, location: p, style: m },
2410
+ val: { type: y, value: n, location: p, style: m },
2411
2411
  err: null
2412
2412
  };
2413
2413
  }
@@ -2425,19 +2425,19 @@ var Wn = (
2425
2425
  case "plural":
2426
2426
  case "selectordinal":
2427
2427
  case "select": {
2428
- var S = this.clonePosition();
2428
+ var x = this.clonePosition();
2429
2429
  if (this.bumpSpace(), !this.bumpIf(","))
2430
- return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, N(S, Ne({}, S)));
2430
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x, Ne({}, x)));
2431
2431
  this.bumpSpace();
2432
- var H = this.parseIdentifierIfPossible(), E = 0;
2432
+ var H = this.parseIdentifierIfPossible(), b = 0;
2433
2433
  if (s !== "select" && H.value === "offset") {
2434
2434
  if (!this.bumpIf(":"))
2435
- return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2435
+ return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2436
2436
  this.bumpSpace();
2437
- var d = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2437
+ var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2438
2438
  if (d.err)
2439
2439
  return d;
2440
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), E = d.val;
2440
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), b = d.val;
2441
2441
  }
2442
2442
  var B = this.tryParsePluralOrSelectOptions(t, s, r, H);
2443
2443
  if (B.err)
@@ -2459,7 +2459,7 @@ var Wn = (
2459
2459
  type: P.plural,
2460
2460
  value: n,
2461
2461
  options: _t(B.val),
2462
- offset: E,
2462
+ offset: b,
2463
2463
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2464
2464
  location: O
2465
2465
  },
@@ -2467,10 +2467,10 @@ var Wn = (
2467
2467
  };
2468
2468
  }
2469
2469
  default:
2470
- return this.error(M.INVALID_ARGUMENT_TYPE, N(a, h));
2470
+ return this.error(w.INVALID_ARGUMENT_TYPE, N(a, h));
2471
2471
  }
2472
2472
  }, e.prototype.tryParseArgumentClose = function(t) {
2473
- return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2473
+ return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2474
2474
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2475
2475
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2476
2476
  var n = this.char();
@@ -2479,7 +2479,7 @@ var Wn = (
2479
2479
  this.bump();
2480
2480
  var i = this.clonePosition();
2481
2481
  if (!this.bumpUntil("'"))
2482
- return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2482
+ return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2483
2483
  this.bump();
2484
2484
  break;
2485
2485
  }
@@ -2509,9 +2509,9 @@ var Wn = (
2509
2509
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2510
2510
  var n = [];
2511
2511
  try {
2512
- n = Tn(t);
2512
+ n = Mn(t);
2513
2513
  } catch (i) {
2514
- return this.error(M.INVALID_NUMBER_SKELETON, r);
2514
+ return this.error(w.INVALID_NUMBER_SKELETON, r);
2515
2515
  }
2516
2516
  return {
2517
2517
  val: {
@@ -2527,7 +2527,7 @@ var Wn = (
2527
2527
  if (u.length === 0) {
2528
2528
  var d = this.clonePosition();
2529
2529
  if (r !== "select" && this.bumpIf("=")) {
2530
- var m = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2530
+ var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
2531
2531
  if (m.err)
2532
2532
  return m;
2533
2533
  l = N(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
@@ -2535,26 +2535,26 @@ var Wn = (
2535
2535
  break;
2536
2536
  }
2537
2537
  if (h.has(u))
2538
- return this.error(r === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2538
+ return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2539
2539
  u === "other" && (a = !0), this.bumpSpace();
2540
- var b = this.clonePosition();
2540
+ var v = this.clonePosition();
2541
2541
  if (!this.bumpIf("{"))
2542
- return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2542
+ return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2543
2543
  var f = this.parseMessage(t + 1, r, n);
2544
2544
  if (f.err)
2545
2545
  return f;
2546
- var p = this.tryParseArgumentClose(b);
2546
+ var p = this.tryParseArgumentClose(v);
2547
2547
  if (p.err)
2548
2548
  return p;
2549
2549
  s.push([
2550
2550
  u,
2551
2551
  {
2552
2552
  value: f.val,
2553
- location: N(b, this.clonePosition())
2553
+ location: N(v, this.clonePosition())
2554
2554
  }
2555
2555
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2556
2556
  }
2557
- 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 };
2557
+ 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 };
2558
2558
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2559
2559
  var n = 1, i = this.clonePosition();
2560
2560
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2566,7 +2566,7 @@ var Wn = (
2566
2566
  break;
2567
2567
  }
2568
2568
  var h = N(i, this.clonePosition());
2569
- return o ? (a *= n, Gn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2569
+ return o ? (a *= n, Fn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2570
2570
  }, e.prototype.offset = function() {
2571
2571
  return this.position.offset;
2572
2572
  }, e.prototype.isEOF = function() {
@@ -2653,14 +2653,14 @@ function Qe(e) {
2653
2653
  for (var r in t.options)
2654
2654
  delete t.options[r].location, Qe(t.options[r].value);
2655
2655
  else
2656
- Xt(t) && Kt(t.style) || (Wt(t) || Zt(t)) && Ve(t.style) ? delete t.style.location : Yt(t) && Qe(t.children);
2656
+ qt(t) && Kt(t.style) || (Wt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : Yt(t) && Qe(t.children);
2657
2657
  });
2658
2658
  }
2659
2659
  function Yn(e, t) {
2660
2660
  t === void 0 && (t = {}), t = Ne({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2661
2661
  var r = new Wn(e, t).parse();
2662
2662
  if (r.err) {
2663
- var n = SyntaxError(M[r.err.kind]);
2663
+ var n = SyntaxError(w[r.err.kind]);
2664
2664
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2665
2665
  }
2666
2666
  return t != null && t.captureLocation || Qe(r.val), r.val;
@@ -2681,7 +2681,7 @@ var Oe = (
2681
2681
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2682
2682
  }, t;
2683
2683
  }(Error)
2684
- ), bt = (
2684
+ ), vt = (
2685
2685
  /** @class */
2686
2686
  function(e) {
2687
2687
  Be(t, e);
@@ -2721,7 +2721,7 @@ function ei(e) {
2721
2721
  function ti(e) {
2722
2722
  return typeof e == "function";
2723
2723
  }
2724
- function Te(e, t, r, n, i, o, a) {
2724
+ function Me(e, t, r, n, i, o, a) {
2725
2725
  if (e.length === 1 && dt(e[0]))
2726
2726
  return [
2727
2727
  {
@@ -2749,7 +2749,7 @@ function Te(e, t, r, n, i, o, a) {
2749
2749
  if (!(i && d in i))
2750
2750
  throw new $n(d, a);
2751
2751
  var m = i[d];
2752
- if (kn(l)) {
2752
+ if (En(l)) {
2753
2753
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
2754
2754
  type: typeof m == "string" ? D.literal : D.object,
2755
2755
  value: m
@@ -2757,26 +2757,26 @@ function Te(e, t, r, n, i, o, a) {
2757
2757
  continue;
2758
2758
  }
2759
2759
  if (Wt(l)) {
2760
- var b = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
2760
+ var v = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
2761
2761
  s.push({
2762
2762
  type: D.literal,
2763
- value: r.getDateTimeFormat(t, b).format(m)
2763
+ value: r.getDateTimeFormat(t, v).format(m)
2764
2764
  });
2765
2765
  continue;
2766
2766
  }
2767
2767
  if (Zt(l)) {
2768
- var b = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
2768
+ var v = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
2769
2769
  s.push({
2770
2770
  type: D.literal,
2771
- value: r.getDateTimeFormat(t, b).format(m)
2771
+ value: r.getDateTimeFormat(t, v).format(m)
2772
2772
  });
2773
2773
  continue;
2774
2774
  }
2775
- if (Xt(l)) {
2776
- var b = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
2777
- b && b.scale && (m = m * (b.scale || 1)), s.push({
2775
+ if (qt(l)) {
2776
+ var v = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
2777
+ v && v.scale && (m = m * (v.scale || 1)), s.push({
2778
2778
  type: D.literal,
2779
- value: r.getNumberFormat(t, b).format(m)
2779
+ value: r.getNumberFormat(t, v).format(m)
2780
2780
  });
2781
2781
  continue;
2782
2782
  }
@@ -2784,52 +2784,52 @@ function Te(e, t, r, n, i, o, a) {
2784
2784
  var f = l.children, p = l.value, C = i[p];
2785
2785
  if (!ti(C))
2786
2786
  throw new Kn(p, "function", a);
2787
- var _ = Te(f, t, r, n, i, o), v = C(_.map(function(E) {
2788
- return E.value;
2787
+ var _ = Me(f, t, r, n, i, o), y = C(_.map(function(b) {
2788
+ return b.value;
2789
2789
  }));
2790
- Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(E) {
2790
+ Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(b) {
2791
2791
  return {
2792
- type: typeof E == "string" ? D.literal : D.object,
2793
- value: E
2792
+ type: typeof b == "string" ? D.literal : D.object,
2793
+ value: b
2794
2794
  };
2795
2795
  }));
2796
2796
  }
2797
2797
  if (Jt(l)) {
2798
- var S = l.options[m] || l.options.other;
2799
- if (!S)
2800
- throw new bt(l.value, m, Object.keys(l.options), a);
2801
- s.push.apply(s, Te(S.value, t, r, n, i));
2798
+ var x = l.options[m] || l.options.other;
2799
+ if (!x)
2800
+ throw new vt(l.value, m, Object.keys(l.options), a);
2801
+ s.push.apply(s, Me(x.value, t, r, n, i));
2802
2802
  continue;
2803
2803
  }
2804
2804
  if (Qt(l)) {
2805
- var S = l.options["=".concat(m)];
2806
- if (!S) {
2805
+ var x = l.options["=".concat(m)];
2806
+ if (!x) {
2807
2807
  if (!Intl.PluralRules)
2808
2808
  throw new Oe(`Intl.PluralRules is not available in this environment.
2809
2809
  Try polyfilling it using "@formatjs/intl-pluralrules"
2810
2810
  `, ne.MISSING_INTL_API, a);
2811
2811
  var H = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
2812
- S = l.options[H] || l.options.other;
2812
+ x = l.options[H] || l.options.other;
2813
2813
  }
2814
- if (!S)
2815
- throw new bt(l.value, m, Object.keys(l.options), a);
2816
- s.push.apply(s, Te(S.value, t, r, n, i, m - (l.offset || 0)));
2814
+ if (!x)
2815
+ throw new vt(l.value, m, Object.keys(l.options), a);
2816
+ s.push.apply(s, Me(x.value, t, r, n, i, m - (l.offset || 0)));
2817
2817
  continue;
2818
2818
  }
2819
2819
  }
2820
2820
  return ei(s);
2821
2821
  }
2822
2822
  function ri(e, t) {
2823
- return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2824
- return r[n] = X(X({}, e[n]), t[n] || {}), r;
2823
+ return t ? q(q(q({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2824
+ return r[n] = q(q({}, e[n]), t[n] || {}), r;
2825
2825
  }, {})) : e;
2826
2826
  }
2827
2827
  function ni(e, t) {
2828
2828
  return t ? Object.keys(e).reduce(function(r, n) {
2829
2829
  return r[n] = ri(e[n], t[n]), r;
2830
- }, X({}, e)) : e;
2830
+ }, q({}, e)) : e;
2831
2831
  }
2832
- function qe(e) {
2832
+ function Ge(e) {
2833
2833
  return {
2834
2834
  create: function() {
2835
2835
  return {
@@ -2854,7 +2854,7 @@ function ii(e) {
2854
2854
  r[n] = arguments[n];
2855
2855
  return new ((t = Intl.NumberFormat).bind.apply(t, Le([void 0], r, !1)))();
2856
2856
  }, {
2857
- cache: qe(e.number),
2857
+ cache: Ge(e.number),
2858
2858
  strategy: Ue.variadic
2859
2859
  }),
2860
2860
  getDateTimeFormat: Re(function() {
@@ -2862,7 +2862,7 @@ function ii(e) {
2862
2862
  r[n] = arguments[n];
2863
2863
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Le([void 0], r, !1)))();
2864
2864
  }, {
2865
- cache: qe(e.dateTime),
2865
+ cache: Ge(e.dateTime),
2866
2866
  strategy: Ue.variadic
2867
2867
  }),
2868
2868
  getPluralRules: Re(function() {
@@ -2870,7 +2870,7 @@ function ii(e) {
2870
2870
  r[n] = arguments[n];
2871
2871
  return new ((t = Intl.PluralRules).bind.apply(t, Le([void 0], r, !1)))();
2872
2872
  }, {
2873
- cache: qe(e.pluralRules),
2873
+ cache: Ge(e.pluralRules),
2874
2874
  strategy: Ue.variadic
2875
2875
  })
2876
2876
  };
@@ -2894,7 +2894,7 @@ var oi = (
2894
2894
  }, []);
2895
2895
  return l.length <= 1 ? l[0] || "" : l;
2896
2896
  }, this.formatToParts = function(h) {
2897
- return Te(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2897
+ return Me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2898
2898
  }, this.resolvedOptions = function() {
2899
2899
  var h;
2900
2900
  return {
@@ -2908,7 +2908,7 @@ var oi = (
2908
2908
  var a = i || {};
2909
2909
  a.formatters;
2910
2910
  var s = pn(a, ["formatters"]);
2911
- this.ast = e.__parse(t, X(X({}, s), { locale: this.resolvedLocale }));
2911
+ this.ast = e.__parse(t, q(q({}, s), { locale: this.resolvedLocale }));
2912
2912
  } else
2913
2913
  this.ast = t;
2914
2914
  if (!Array.isArray(this.ast))
@@ -3021,7 +3021,7 @@ const Q = {}, si = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][
3021
3021
  }
3022
3022
  };
3023
3023
  let tt;
3024
- const be = Pe({});
3024
+ const ve = Pe({});
3025
3025
  function li(e) {
3026
3026
  return tt[e] || null;
3027
3027
  }
@@ -3045,19 +3045,19 @@ function ui(e) {
3045
3045
  }
3046
3046
  }
3047
3047
  function lr(e, ...t) {
3048
- delete Q[e], be.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3048
+ delete Q[e], ve.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3049
3049
  }
3050
3050
  oe(
3051
- [be],
3051
+ [ve],
3052
3052
  ([e]) => Object.keys(e)
3053
3053
  );
3054
- be.subscribe((e) => tt = e);
3055
- const Me = {};
3054
+ ve.subscribe((e) => tt = e);
3055
+ const we = {};
3056
3056
  function hi(e, t) {
3057
- Me[e].delete(t), Me[e].size === 0 && delete Me[e];
3057
+ we[e].delete(t), we[e].size === 0 && delete we[e];
3058
3058
  }
3059
3059
  function cr(e) {
3060
- return Me[e];
3060
+ return we[e];
3061
3061
  }
3062
3062
  function di(e) {
3063
3063
  return ze(e).map((t) => {
@@ -3133,23 +3133,23 @@ const pi = {
3133
3133
  function ie() {
3134
3134
  return fi;
3135
3135
  }
3136
- const Ge = Pe(!1);
3137
- var _i = Object.defineProperty, vi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ki = (e, t) => {
3136
+ const Fe = Pe(!1);
3137
+ var _i = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
3138
3138
  for (var r in t || (t = {}))
3139
- yi.call(t, r) && Et(e, r, t[r]);
3140
- if (yt)
3141
- for (var r of yt(t))
3142
- Ei.call(t, r) && Et(e, r, t[r]);
3139
+ ki.call(t, r) && bt(e, r, t[r]);
3140
+ if (kt)
3141
+ for (var r of kt(t))
3142
+ bi.call(t, r) && bt(e, r, t[r]);
3143
3143
  return e;
3144
- }, Ci = (e, t) => vi(e, bi(t));
3144
+ }, Ci = (e, t) => yi(e, vi(t));
3145
3145
  let Ke;
3146
3146
  const Ae = Pe(null);
3147
- function kt(e) {
3147
+ function Et(e) {
3148
3148
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3149
3149
  }
3150
3150
  function ze(e, t = ie().fallbackLocale) {
3151
- const r = kt(e);
3152
- return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
3151
+ const r = Et(e);
3152
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
3153
3153
  }
3154
3154
  function K() {
3155
3155
  return Ke != null ? Ke : void 0;
@@ -3157,22 +3157,22 @@ function K() {
3157
3157
  Ae.subscribe((e) => {
3158
3158
  Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3159
3159
  });
3160
- const wi = (e) => {
3160
+ const Si = (e) => {
3161
3161
  if (e && ui(e) && Ye(e)) {
3162
3162
  const { loadingDelay: t } = ie();
3163
3163
  let r;
3164
3164
  return typeof window != "undefined" && K() != null && t ? r = window.setTimeout(
3165
- () => Ge.set(!0),
3165
+ () => Fe.set(!0),
3166
3166
  t
3167
- ) : Ge.set(!0), ur(e).then(() => {
3167
+ ) : Fe.set(!0), ur(e).then(() => {
3168
3168
  Ae.set(e);
3169
3169
  }).finally(() => {
3170
- clearTimeout(r), Ge.set(!1);
3170
+ clearTimeout(r), Fe.set(!1);
3171
3171
  });
3172
3172
  }
3173
3173
  return Ae.set(e);
3174
- }, ae = Ci(ki({}, Ae), {
3175
- set: wi
3174
+ }, ae = Ci(Ei({}, Ae), {
3175
+ set: Si
3176
3176
  }), Ie = (e) => {
3177
3177
  const t = /* @__PURE__ */ Object.create(null);
3178
3178
  return (n) => {
@@ -3180,7 +3180,7 @@ const wi = (e) => {
3180
3180
  return i in t ? t[i] : t[i] = e(n);
3181
3181
  };
3182
3182
  };
3183
- var Si = Object.defineProperty, He = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3183
+ var xi = Object.defineProperty, He = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3184
3184
  for (var r in t || (t = {}))
3185
3185
  hr.call(t, r) && Ct(e, r, t[r]);
3186
3186
  if (He)
@@ -3201,21 +3201,21 @@ const fe = (e, t) => {
3201
3201
  if (e in r && t in r[e])
3202
3202
  return r[e][t];
3203
3203
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3204
- }, xi = Ie(
3204
+ }, Ti = Ie(
3205
3205
  (e) => {
3206
3206
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3207
3207
  if (r == null)
3208
3208
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3209
3209
  return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
3210
3210
  }
3211
- ), Ti = Ie(
3211
+ ), Mi = Ie(
3212
3212
  (e) => {
3213
3213
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3214
3214
  if (r == null)
3215
3215
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3216
3216
  return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
3217
3217
  }
3218
- ), Mi = Ie(
3218
+ ), wi = Ie(
3219
3219
  (e) => {
3220
3220
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3221
3221
  if (r == null)
@@ -3230,21 +3230,21 @@ const fe = (e, t) => {
3230
3230
  } = t, n = se(t, [
3231
3231
  "locale"
3232
3232
  ]);
3233
- return xi(rt({ locale: r }, n));
3233
+ return Ti(rt({ locale: r }, n));
3234
3234
  }, Ai = (e = {}) => {
3235
3235
  var t = e, {
3236
3236
  locale: r = K()
3237
3237
  } = t, n = se(t, [
3238
3238
  "locale"
3239
3239
  ]);
3240
- return Ti(rt({ locale: r }, n));
3240
+ return Mi(rt({ locale: r }, n));
3241
3241
  }, Hi = (e = {}) => {
3242
3242
  var t = e, {
3243
3243
  locale: r = K()
3244
3244
  } = t, n = se(t, [
3245
3245
  "locale"
3246
3246
  ]);
3247
- return Mi(rt({ locale: r }, n));
3247
+ return wi(rt({ locale: r }, n));
3248
3248
  }, Pi = Ie(
3249
3249
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3250
3250
  (e, t = K()) => new oi(e, t, ie().formats, {
@@ -3282,18 +3282,18 @@ const fe = (e, t) => {
3282
3282
  );
3283
3283
  }
3284
3284
  return d;
3285
- }, Oi = (e, t) => Hi(t).format(e), zi = (e, t) => Ai(t).format(e), Ii = (e, t) => Ni(t).format(e), ji = (e, t = K()) => ar(e, t), Li = oe([ae, be], () => Bi);
3285
+ }, Oi = (e, t) => Hi(t).format(e), zi = (e, t) => Ai(t).format(e), Ii = (e, t) => Ni(t).format(e), ji = (e, t = K()) => ar(e, t), Li = oe([ae, ve], () => Bi);
3286
3286
  oe([ae], () => Oi);
3287
3287
  oe([ae], () => zi);
3288
3288
  oe([ae], () => Ii);
3289
- oe([ae, be], () => ji);
3290
- function wt(e, t) {
3289
+ oe([ae, ve], () => ji);
3290
+ function St(e, t) {
3291
3291
  lr(e, t);
3292
3292
  }
3293
3293
  function Ri(e) {
3294
3294
  ae.set(e);
3295
3295
  }
3296
- const St = {
3296
+ const xt = {
3297
3297
  en: {
3298
3298
  invalidUrl: "Failed to construct 'URL': Invalid URL",
3299
3299
  fetchConsentsError: "Error: Could not fetch consents.",
@@ -3873,10 +3873,10 @@ function Ui(e) {
3873
3873
  let t, r;
3874
3874
  return {
3875
3875
  c() {
3876
- t = ct("svg"), r = ct("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");
3876
+ t = ct("svg"), r = ct("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");
3877
3877
  },
3878
3878
  m(n, i) {
3879
- L(n, t, i), w(t, r);
3879
+ L(n, t, i), S(t, r);
3880
3880
  },
3881
3881
  p: W,
3882
3882
  i: W,
@@ -3892,37 +3892,37 @@ class Di extends Ut {
3892
3892
  }
3893
3893
  }
3894
3894
  customElements.define("circle-exclamation-icon", Rt(Di, {}, [], [], !0));
3895
- function qi(e) {
3896
- qr(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}');
3895
+ function Gi(e) {
3896
+ Gr(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}');
3897
3897
  }
3898
- function xt(e, t, r) {
3898
+ function Tt(e, t, r) {
3899
3899
  const n = e.slice();
3900
3900
  return n[64] = t[r], n;
3901
3901
  }
3902
- function Tt(e, t, r) {
3902
+ function Mt(e, t, r) {
3903
3903
  const n = e.slice();
3904
3904
  return n[61] = t[r], n[62] = t, n[63] = r, n;
3905
3905
  }
3906
- function Mt(e, t, r) {
3906
+ function wt(e, t, r) {
3907
3907
  const n = e.slice();
3908
3908
  return n[64] = t[r], n;
3909
3909
  }
3910
- function Gi(e) {
3910
+ function Fi(e) {
3911
3911
  let t, r, n = ee(
3912
3912
  /*playerConsents*/
3913
3913
  e[9]
3914
3914
  ), i = [];
3915
3915
  for (let o = 0; o < n.length; o += 1)
3916
- i[o] = Nt(xt(e, n, o));
3916
+ i[o] = Nt(Tt(e, n, o));
3917
3917
  return {
3918
3918
  c() {
3919
3919
  t = A("div"), r = A("form");
3920
3920
  for (let o = 0; o < i.length; o += 1)
3921
3921
  i[o].c();
3922
- k(r, "class", "checkbox svelte-1w14oq2"), k(t, "class", "legacyStyle");
3922
+ E(r, "class", "checkbox svelte-etk3ty"), E(t, "class", "legacyStyle");
3923
3923
  },
3924
3924
  m(o, a) {
3925
- L(o, t, a), w(t, r);
3925
+ L(o, t, a), S(t, r);
3926
3926
  for (let s = 0; s < i.length; s += 1)
3927
3927
  i[s] && i[s].m(r, null);
3928
3928
  e[31](r);
@@ -3936,7 +3936,7 @@ function Gi(e) {
3936
3936
  );
3937
3937
  let s;
3938
3938
  for (s = 0; s < n.length; s += 1) {
3939
- const h = xt(o, n, s);
3939
+ const h = Tt(o, n, s);
3940
3940
  i[s] ? i[s].p(h, a) : (i[s] = Nt(h), i[s].c(), i[s].m(r, null));
3941
3941
  }
3942
3942
  for (; s < i.length; s += 1)
@@ -3949,7 +3949,7 @@ function Gi(e) {
3949
3949
  }
3950
3950
  };
3951
3951
  }
3952
- function Fi(e) {
3952
+ function Vi(e) {
3953
3953
  let t = (
3954
3954
  /*$_*/
3955
3955
  e[16]("title") || /*$_*/
@@ -3960,25 +3960,25 @@ function Fi(e) {
3960
3960
  ), a, s, h, u, l, d = t && At(e), m = ee(
3961
3961
  /*consentsCategories*/
3962
3962
  e[8]
3963
- ), b = [];
3963
+ ), v = [];
3964
3964
  for (let p = 0; p < m.length; p += 1)
3965
- b[p] = It(Tt(e, m, p));
3965
+ v[p] = It(Mt(e, m, p));
3966
3966
  let f = (
3967
3967
  /*errorMessage*/
3968
3968
  e[6] && jt(e)
3969
3969
  );
3970
3970
  return {
3971
3971
  c() {
3972
- d && d.c(), r = q();
3973
- for (let p = 0; p < b.length; p += 1)
3974
- b[p].c();
3975
- n = q(), i = A("button"), s = q(), f && f.c(), h = Vr(), k(i, "class", "SaveConsentsButton svelte-1w14oq2"), i.disabled = a = !/*isValid*/
3972
+ d && d.c(), r = G();
3973
+ for (let p = 0; p < v.length; p += 1)
3974
+ v[p].c();
3975
+ n = G(), i = A("button"), s = G(), f && f.c(), h = Xr(), E(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
3976
3976
  e[14];
3977
3977
  },
3978
3978
  m(p, C) {
3979
3979
  d && d.m(p, C), L(p, r, C);
3980
- for (let _ = 0; _ < b.length; _ += 1)
3981
- b[_] && b[_].m(p, C);
3980
+ for (let _ = 0; _ < v.length; _ += 1)
3981
+ v[_] && v[_].m(p, C);
3982
3982
  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 = pe(
3983
3983
  i,
3984
3984
  "click",
@@ -3998,12 +3998,12 @@ function Fi(e) {
3998
3998
  );
3999
3999
  let _;
4000
4000
  for (_ = 0; _ < m.length; _ += 1) {
4001
- const v = Tt(p, m, _);
4002
- b[_] ? b[_].p(v, C) : (b[_] = It(v), b[_].c(), b[_].m(n.parentNode, n));
4001
+ const y = Mt(p, m, _);
4002
+ v[_] ? v[_].p(y, C) : (v[_] = It(y), v[_].c(), v[_].m(n.parentNode, n));
4003
4003
  }
4004
- for (; _ < b.length; _ += 1)
4005
- b[_].d(1);
4006
- b.length = m.length;
4004
+ for (; _ < v.length; _ += 1)
4005
+ v[_].d(1);
4006
+ v.length = m.length;
4007
4007
  }
4008
4008
  C[0] & /*$_*/
4009
4009
  65536 && o !== (o = /*$_*/
@@ -4013,21 +4013,21 @@ function Fi(e) {
4013
4013
  p[6] ? f ? f.p(p, C) : (f = jt(p), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
4014
4014
  },
4015
4015
  d(p) {
4016
- p && (j(r), j(n), j(i), j(s), j(h)), d && d.d(p), et(b, p), f && f.d(p), u = !1, l();
4016
+ p && (j(r), j(n), j(i), j(s), j(h)), d && d.d(p), et(v, p), f && f.d(p), u = !1, l();
4017
4017
  }
4018
4018
  };
4019
4019
  }
4020
- function Vi(e) {
4020
+ function Xi(e) {
4021
4021
  let t, r, n;
4022
4022
  return {
4023
4023
  c() {
4024
- t = A("div"), r = A("strong"), n = ve(
4024
+ t = A("div"), r = A("strong"), n = ye(
4025
4025
  /*fatalError*/
4026
4026
  e[7]
4027
- ), k(r, "class", "ErrorMessage svelte-1w14oq2"), k(t, "class", "ContainerCenter svelte-1w14oq2");
4027
+ ), E(r, "class", "ErrorMessage svelte-etk3ty"), E(t, "class", "ContainerCenter svelte-etk3ty");
4028
4028
  },
4029
4029
  m(i, o) {
4030
- L(i, t, o), w(t, r), w(r, n);
4030
+ L(i, t, o), S(t, r), S(r, n);
4031
4031
  },
4032
4032
  p(i, o) {
4033
4033
  o[0] & /*fatalError*/
@@ -4042,7 +4042,7 @@ function Vi(e) {
4042
4042
  }
4043
4043
  };
4044
4044
  }
4045
- function Xi(e) {
4045
+ function qi(e) {
4046
4046
  let t;
4047
4047
  return {
4048
4048
  c() {
@@ -4101,35 +4101,35 @@ function Nt(e) {
4101
4101
  ), l = (
4102
4102
  /*consent*/
4103
4103
  e[64].mustAccept ? " *" : ""
4104
- ), d, m, b, f, p, C, _, v, S;
4105
- function H(...E) {
4104
+ ), d, m, v, f, p, C, _, y, x;
4105
+ function H(...b) {
4106
4106
  return (
4107
4107
  /*input_handler_1*/
4108
4108
  e[30](
4109
4109
  /*consent*/
4110
4110
  e[64],
4111
- ...E
4111
+ ...b
4112
4112
  )
4113
4113
  );
4114
4114
  }
4115
4115
  return {
4116
4116
  c() {
4117
- t = A("div"), r = A("input"), o = q(), a = A("label"), s = A("div"), h = new qt(!1), d = ve(l), b = q(), f = A("small"), C = q(), k(r, "class", "checkbox__input svelte-1w14oq2"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4118
- e[64].status === "1", k(r, "id", i = `${/*consent*/
4119
- 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*/
4120
- e[64].tagCode}__input`), k(f, "class", "checkbox__error-message svelte-1w14oq2"), k(f, "id", p = "checkBoxError__" + /*consent*/
4121
- e[64].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4122
- e[64].tagCode + "__input svelte-1w14oq2");
4117
+ t = A("div"), r = A("input"), o = G(), a = A("label"), s = A("div"), h = new Gt(!1), d = ye(l), v = G(), f = A("small"), C = G(), E(r, "class", "checkbox__input svelte-etk3ty"), E(r, "type", "checkbox"), r.checked = n = /*consent*/
4118
+ e[64].status === "1", E(r, "id", i = `${/*consent*/
4119
+ 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*/
4120
+ e[64].tagCode}__input`), E(f, "class", "checkbox__error-message svelte-etk3ty"), E(f, "id", p = "checkBoxError__" + /*consent*/
4121
+ e[64].tagCode), E(t, "class", _ = "checkbox__wrapper " + /*consent*/
4122
+ e[64].tagCode + "__input svelte-etk3ty");
4123
4123
  },
4124
- m(E, B) {
4125
- 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 = pe(r, "input", H), v = !0);
4124
+ m(b, B) {
4125
+ 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 = pe(r, "input", H), y = !0);
4126
4126
  },
4127
- p(E, B) {
4128
- e = E, B[0] & /*playerConsents*/
4127
+ p(b, B) {
4128
+ e = b, B[0] & /*playerConsents*/
4129
4129
  512 && n !== (n = /*consent*/
4130
4130
  e[64].status === "1") && (r.checked = n), B[0] & /*playerConsents*/
4131
4131
  512 && i !== (i = `${/*consent*/
4132
- e[64].tagCode}__input`) && k(r, "id", i), B[0] & /*$_, playerConsents*/
4132
+ e[64].tagCode}__input`) && E(r, "id", i), B[0] & /*$_, playerConsents*/
4133
4133
  66048 && u !== (u = /*$_*/
4134
4134
  (e[16](`${/*consent*/
4135
4135
  e[64].tagCode}__description`) || /*consent*/
@@ -4137,14 +4137,14 @@ function Nt(e) {
4137
4137
  512 && l !== (l = /*consent*/
4138
4138
  e[64].mustAccept ? " *" : "") && _e(d, l), B[0] & /*playerConsents*/
4139
4139
  512 && m !== (m = `${/*consent*/
4140
- e[64].tagCode}__input`) && k(a, "for", m), B[0] & /*playerConsents*/
4140
+ e[64].tagCode}__input`) && E(a, "for", m), B[0] & /*playerConsents*/
4141
4141
  512 && p !== (p = "checkBoxError__" + /*consent*/
4142
- e[64].tagCode) && k(f, "id", p), B[0] & /*playerConsents*/
4142
+ e[64].tagCode) && E(f, "id", p), B[0] & /*playerConsents*/
4143
4143
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4144
- e[64].tagCode + "__input svelte-1w14oq2") && k(t, "class", _);
4144
+ e[64].tagCode + "__input svelte-etk3ty") && E(t, "class", _);
4145
4145
  },
4146
- d(E) {
4147
- E && j(t), v = !1, S();
4146
+ d(b) {
4147
+ b && j(t), y = !1, x();
4148
4148
  }
4149
4149
  };
4150
4150
  }
@@ -4158,10 +4158,10 @@ function At(e) {
4158
4158
  ), o = r && Ht(e), a = i && Pt(e);
4159
4159
  return {
4160
4160
  c() {
4161
- t = A("div"), o && o.c(), n = q(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-1w14oq2");
4161
+ t = A("div"), o && o.c(), n = G(), a && a.c(), E(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4162
4162
  },
4163
4163
  m(s, h) {
4164
- L(s, t, h), o && o.m(t, null), w(t, n), a && a.m(t, null);
4164
+ L(s, t, h), o && o.m(t, null), S(t, n), a && a.m(t, null);
4165
4165
  },
4166
4166
  p(s, h) {
4167
4167
  h[0] & /*$_*/
@@ -4182,10 +4182,10 @@ function Ht(e) {
4182
4182
  ), n;
4183
4183
  return {
4184
4184
  c() {
4185
- t = A("h2"), n = ve(r), k(t, "class", "PlayerConsentsTitle");
4185
+ t = A("h2"), n = ye(r), E(t, "class", "PlayerConsentsTitle");
4186
4186
  },
4187
4187
  m(i, o) {
4188
- L(i, t, o), w(t, n);
4188
+ L(i, t, o), S(t, n);
4189
4189
  },
4190
4190
  p(i, o) {
4191
4191
  o[0] & /*$_*/
@@ -4204,10 +4204,10 @@ function Pt(e) {
4204
4204
  ), n;
4205
4205
  return {
4206
4206
  c() {
4207
- t = A("p"), n = ve(r), k(t, "class", "PlayerConsentsDescription");
4207
+ t = A("p"), n = ye(r), E(t, "class", "PlayerConsentsDescription");
4208
4208
  },
4209
4209
  m(i, o) {
4210
- L(i, t, o), w(t, n);
4210
+ L(i, t, o), S(t, n);
4211
4211
  },
4212
4212
  p(i, o) {
4213
4213
  o[0] & /*$_*/
@@ -4223,7 +4223,7 @@ function Bt(e) {
4223
4223
  let t;
4224
4224
  return {
4225
4225
  c() {
4226
- t = A("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-1w14oq2");
4226
+ t = A("sup"), t.textContent = "*", E(t, "class", "ConsentRequired svelte-etk3ty");
4227
4227
  },
4228
4228
  m(r, n) {
4229
4229
  L(r, t, n);
@@ -4242,7 +4242,7 @@ function Ot(e) {
4242
4242
  );
4243
4243
  return {
4244
4244
  c() {
4245
- t = A("p"), k(t, "class", "ConsentDescription svelte-1w14oq2");
4245
+ t = A("p"), E(t, "class", "ConsentDescription svelte-etk3ty");
4246
4246
  },
4247
4247
  m(n, i) {
4248
4248
  L(n, t, i), t.innerHTML = r;
@@ -4265,14 +4265,14 @@ function zt(e) {
4265
4265
  (e[16](`${/*consent*/
4266
4266
  e[64].tagCode}__name`) || /*consent*/
4267
4267
  e[64].friendlyName) + ""
4268
- ), a, s, h, u, l, d, m, b, f, p, C, _ = (
4268
+ ), a, s, h, u, l, d, m, v, f, p, C, _ = (
4269
4269
  /*consent*/
4270
4270
  e[64].mustAccept === !0 && Bt()
4271
- ), v = (
4271
+ ), y = (
4272
4272
  /*displayconsentdescription*/
4273
4273
  e[4] === "true" && Ot(e)
4274
4274
  );
4275
- function S(...H) {
4275
+ function x(...H) {
4276
4276
  return (
4277
4277
  /*input_handler*/
4278
4278
  e[29](
@@ -4284,7 +4284,7 @@ function zt(e) {
4284
4284
  }
4285
4285
  return {
4286
4286
  c() {
4287
- t = A("div"), r = A("div"), n = A("h4"), i = new qt(!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*/
4287
+ t = A("div"), r = A("div"), n = A("h4"), i = new Gt(!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*/
4288
4288
  e[64].mustAccept === !0 && /*initialConsentsState*/
4289
4289
  e[12][
4290
4290
  /*consent*/
@@ -4293,25 +4293,25 @@ function zt(e) {
4293
4293
  e[13][
4294
4294
  /*consent*/
4295
4295
  e[64].tagCode
4296
- ], k(l, "class", "svelte-1w14oq2"), k(f, "class", "Slider Round svelte-1w14oq2"), k(u, "class", "ToggleSwitch svelte-1w14oq2"), k(t, "class", "ConsentItem svelte-1w14oq2");
4296
+ ], E(l, "class", "svelte-etk3ty"), E(f, "class", "Slider Round svelte-etk3ty"), E(u, "class", "ToggleSwitch svelte-etk3ty"), E(t, "class", "ConsentItem svelte-etk3ty");
4297
4297
  },
4298
- m(H, E) {
4299
- 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 = pe(l, "input", S), p = !0);
4298
+ m(H, b) {
4299
+ 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 = pe(l, "input", x), p = !0);
4300
4300
  },
4301
- p(H, E) {
4302
- e = H, E[0] & /*$_, playerConsents, consentsCategories*/
4301
+ p(H, b) {
4302
+ e = H, b[0] & /*$_, playerConsents, consentsCategories*/
4303
4303
  66304 && o !== (o = /*$_*/
4304
4304
  (e[16](`${/*consent*/
4305
4305
  e[64].tagCode}__name`) || /*consent*/
4306
4306
  e[64].friendlyName) + "") && i.p(o), /*consent*/
4307
4307
  e[64].mustAccept === !0 ? _ || (_ = Bt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4308
- e[4] === "true" ? v ? v.p(e, E) : (v = Ot(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4308
+ e[4] === "true" ? y ? y.p(e, b) : (y = Ot(e), y.c(), y.m(r, null)) : y && (y.d(1), y = null), b[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4309
4309
  4864 && d !== (d = /*consent*/
4310
4310
  e[64].mustAccept === !0 && /*initialConsentsState*/
4311
4311
  e[12][
4312
4312
  /*consent*/
4313
4313
  e[64].tagCode
4314
- ] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4314
+ ] === !0) && (l.disabled = d), b[0] & /*consentsState, playerConsents, consentsCategories*/
4315
4315
  8960 && m !== (m = /*consentsState*/
4316
4316
  e[13][
4317
4317
  /*consent*/
@@ -4319,7 +4319,7 @@ function zt(e) {
4319
4319
  ]) && (l.checked = m);
4320
4320
  },
4321
4321
  d(H) {
4322
- H && j(t), _ && _.d(), v && v.d(), p = !1, C();
4322
+ H && j(t), _ && _.d(), y && y.d(), p = !1, C();
4323
4323
  }
4324
4324
  };
4325
4325
  }
@@ -4329,7 +4329,7 @@ function It(e) {
4329
4329
  (e[16](`${/*category*/
4330
4330
  e[61].categoryTagCode}__category`) || /*category*/
4331
4331
  e[61].friendlyName) + ""
4332
- ), o, a, s, h, u, l, d, m, b;
4332
+ ), o, a, s, h, u, l, d, m, v;
4333
4333
  function f() {
4334
4334
  e[26].call(
4335
4335
  s,
@@ -4346,44 +4346,44 @@ function It(e) {
4346
4346
  )
4347
4347
  );
4348
4348
  }
4349
- function C(...S) {
4349
+ function C(...x) {
4350
4350
  return (
4351
4351
  /*func*/
4352
4352
  e[28](
4353
4353
  /*category*/
4354
4354
  e[61],
4355
- ...S
4355
+ ...x
4356
4356
  )
4357
4357
  );
4358
4358
  }
4359
4359
  let _ = ee(
4360
4360
  /*playerConsents*/
4361
4361
  e[9].filter(C)
4362
- ), v = [];
4363
- for (let S = 0; S < _.length; S += 1)
4364
- v[S] = zt(Mt(e, _, S));
4362
+ ), y = [];
4363
+ for (let x = 0; x < _.length; x += 1)
4364
+ y[x] = zt(wt(e, _, x));
4365
4365
  return {
4366
4366
  c() {
4367
- 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");
4368
- for (let S = 0; S < v.length; S += 1)
4369
- v[S].c();
4370
- 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");
4367
+ 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");
4368
+ for (let x = 0; x < y.length; x += 1)
4369
+ y[x].c();
4370
+ 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");
4371
4371
  },
4372
- m(S, H) {
4373
- 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*/
4372
+ m(x, H) {
4373
+ 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*/
4374
4374
  e[11][
4375
4375
  /*category*/
4376
4376
  e[61].categoryTagCode
4377
- ], w(a, h), w(a, u), w(t, l), w(t, d);
4378
- for (let E = 0; E < v.length; E += 1)
4379
- v[E] && v[E].m(d, null);
4380
- m || (b = [
4377
+ ], S(a, h), S(a, u), S(t, l), S(t, d);
4378
+ for (let b = 0; b < y.length; b += 1)
4379
+ y[b] && y[b].m(d, null);
4380
+ m || (v = [
4381
4381
  pe(s, "change", f),
4382
4382
  pe(s, "change", p)
4383
4383
  ], m = !0);
4384
4384
  },
4385
- p(S, H) {
4386
- if (e = S, H[0] & /*$_, consentsCategories*/
4385
+ p(x, H) {
4386
+ if (e = x, H[0] & /*$_, consentsCategories*/
4387
4387
  65792 && i !== (i = /*$_*/
4388
4388
  (e[16](`${/*category*/
4389
4389
  e[61].categoryTagCode}__category`) || /*category*/
@@ -4398,18 +4398,18 @@ function It(e) {
4398
4398
  /*playerConsents*/
4399
4399
  e[9].filter(C)
4400
4400
  );
4401
- let E;
4402
- for (E = 0; E < _.length; E += 1) {
4403
- const B = Mt(e, _, E);
4404
- v[E] ? v[E].p(B, H) : (v[E] = zt(B), v[E].c(), v[E].m(d, null));
4401
+ let b;
4402
+ for (b = 0; b < _.length; b += 1) {
4403
+ const B = wt(e, _, b);
4404
+ y[b] ? y[b].p(B, H) : (y[b] = zt(B), y[b].c(), y[b].m(d, null));
4405
4405
  }
4406
- for (; E < v.length; E += 1)
4407
- v[E].d(1);
4408
- v.length = _.length;
4406
+ for (; b < y.length; b += 1)
4407
+ y[b].d(1);
4408
+ y.length = _.length;
4409
4409
  }
4410
4410
  },
4411
- d(S) {
4412
- S && j(t), et(v, S), m = !1, Lt(b);
4411
+ d(x) {
4412
+ x && j(t), et(y, x), m = !1, Lt(v);
4413
4413
  }
4414
4414
  };
4415
4415
  }
@@ -4417,13 +4417,13 @@ function jt(e) {
4417
4417
  let t, r, n, i, o;
4418
4418
  return {
4419
4419
  c() {
4420
- t = A("div"), r = A("circle-exclamation-icon"), n = q(), i = A("strong"), o = ve(
4420
+ t = A("div"), r = A("circle-exclamation-icon"), n = G(), i = A("strong"), o = ye(
4421
4421
  /*errorMessage*/
4422
4422
  e[6]
4423
- ), Y(r, "class", "svelte-1w14oq2"), k(i, "class", "ErrorMessage svelte-1w14oq2"), k(t, "class", "ConsentErrorContainer svelte-1w14oq2");
4423
+ ), Y(r, "class", "svelte-etk3ty"), E(i, "class", "ErrorMessage svelte-etk3ty"), E(t, "class", "ConsentErrorContainer svelte-etk3ty");
4424
4424
  },
4425
4425
  m(a, s) {
4426
- L(a, t, s), w(t, r), w(t, n), w(t, i), w(i, o);
4426
+ L(a, t, s), S(t, r), S(t, n), S(t, i), S(i, o);
4427
4427
  },
4428
4428
  p(a, s) {
4429
4429
  s[0] & /*errorMessage*/
@@ -4445,28 +4445,28 @@ function Wi(e) {
4445
4445
  /*isLoading*/
4446
4446
  a[10]
4447
4447
  )
4448
- return Xi;
4448
+ return qi;
4449
4449
  if (
4450
4450
  /*fatalError*/
4451
4451
  a[7]
4452
4452
  )
4453
- return Vi;
4453
+ return Xi;
4454
4454
  if (
4455
4455
  /*session*/
4456
4456
  a[0]
4457
4457
  )
4458
- return Fi;
4458
+ return Vi;
4459
4459
  if (!/*session*/
4460
4460
  a[0])
4461
- return Gi;
4461
+ return Fi;
4462
4462
  }
4463
4463
  let i = n(e), o = i && i(e);
4464
4464
  return {
4465
4465
  c() {
4466
- t = A("div"), r = A("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-1w14oq2"), k(t, "class", Xr("") + " svelte-1w14oq2");
4466
+ t = A("div"), r = A("div"), o && o.c(), E(r, "class", "ConsentsContainer svelte-etk3ty"), E(t, "class", qr("") + " svelte-etk3ty");
4467
4467
  },
4468
4468
  m(a, s) {
4469
- L(a, t, s), w(t, r), o && o.m(r, null), e[32](r);
4469
+ L(a, t, s), S(t, r), o && o.m(r, null), e[32](r);
4470
4470
  },
4471
4471
  p(a, s) {
4472
4472
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
@@ -4480,61 +4480,61 @@ function Wi(e) {
4480
4480
  }
4481
4481
  function Zi(e, t, r) {
4482
4482
  let n;
4483
- Gr(e, Li, (c) => r(16, n = c));
4484
- 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 = [], le = !0, ye = !0, G = {}, Ee = {}, J = {}, U = {}, ce, ke, R = {
4483
+ Fr(e, Li, (c) => r(16, n = c));
4484
+ 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 = [], le = !0, ke = !0, F = {}, be = {}, J = {}, U = {}, ce, Ee, R = {
4485
4485
  none: { key: "0", value: "None" },
4486
4486
  accepted: { key: "1", value: "Accepted" },
4487
4487
  expired: { key: "2", value: "Expired" },
4488
4488
  denied: { key: "3", value: "Denied" },
4489
4489
  suspended: { key: "4", value: "Suspended" }
4490
4490
  }, Ce = !1;
4491
- Object.keys(St).forEach((c) => {
4492
- wt(c, St[c]);
4491
+ Object.keys(xt).forEach((c) => {
4492
+ St(c, xt[c]);
4493
4493
  });
4494
4494
  const mr = () => {
4495
4495
  Ri(l);
4496
4496
  }, pr = () => {
4497
4497
  let c = new URL(m);
4498
4498
  fetch(c.href).then((g) => g.json()).then((g) => {
4499
- Object.keys(g).forEach((T) => {
4500
- wt(T, g[T]);
4499
+ Object.keys(g).forEach((M) => {
4500
+ St(M, g[M]);
4501
4501
  });
4502
4502
  }).catch((g) => {
4503
4503
  console.log(g);
4504
4504
  });
4505
4505
  }, gr = () => {
4506
- i && (_ = i, C = !0), o && (v = o);
4507
- }, we = (c, g = !1) => {
4508
- g ? r(7, H = c) : (Er(), r(6, S = c));
4509
- }, ue = (c, g, T, y = !1) => de(this, null, function* () {
4506
+ i && (_ = i, C = !0), o && (y = o);
4507
+ }, Se = (c, g = !1) => {
4508
+ g ? r(7, H = c) : (br(), r(6, x = c));
4509
+ }, ue = (c, g, M, k = !1) => de(this, null, function* () {
4510
4510
  try {
4511
- const x = yield fetch(c, T);
4512
- if (!x.ok)
4511
+ const T = yield fetch(c, M);
4512
+ if (!T.ok)
4513
4513
  throw new Error(n(g));
4514
- const I = yield x.json();
4515
- return C ? I : I.filter((F) => F.showOnRegister === !0);
4516
- } catch (x) {
4517
- throw we(
4518
- x instanceof TypeError ? n(g) : x.message,
4519
- y
4520
- ), x;
4514
+ const I = yield T.json();
4515
+ return C ? I : I.filter((V) => V.showOnRegister === !0);
4516
+ } catch (T) {
4517
+ throw Se(
4518
+ T instanceof TypeError ? n(g) : T.message,
4519
+ k
4520
+ ), T;
4521
4521
  }
4522
4522
  }), fr = () => de(this, null, function* () {
4523
4523
  try {
4524
4524
  let c = [], g = [];
4525
- if (C ? [c, g] = yield nt() : c = yield nt(), r(10, le = !1), B = [...c], r(8, E = vr(B).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = br(E)), Ee = Z({}, G), r(9, O = [...g]), B.forEach((T) => {
4526
- let y = O.find((x) => x.tagCode === T.tagCode);
4527
- y || (y = lt(Z({}, T), {
4525
+ if (C ? [c, g] = yield nt() : c = yield nt(), r(10, le = !1), B = [...c], r(8, b = yr(B).sort((M, k) => M.categoryTagCode.localeCompare(k.categoryTagCode))), r(11, F = vr(b)), be = Z({}, F), r(9, O = [...g]), B.forEach((M) => {
4526
+ let k = O.find((T) => T.tagCode === M.tagCode);
4527
+ k || (k = lt(Z({}, M), {
4528
4528
  status: R.denied.value
4529
- }), O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
4530
- }), b === "true") {
4531
- if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
4529
+ }), O.push(k)), k.description = M.description, k.orderNumber = M.orderNumber;
4530
+ }), v === "true") {
4531
+ if (r(9, O = O.filter((M) => M.status === R.expired.value)), O.length !== 0)
4532
4532
  return;
4533
- we(n("wrongModalConfig"), !0);
4533
+ Se(n("wrongModalConfig"), !0);
4534
4534
  }
4535
- yr();
4535
+ kr();
4536
4536
  } catch (c) {
4537
- throw r(10, le = !1), we(
4537
+ throw r(10, le = !1), Se(
4538
4538
  c instanceof TypeError ? n("invalidUrl") : c.message,
4539
4539
  !0
4540
4540
  ), c;
@@ -4543,7 +4543,7 @@ function Zi(e, t, r) {
4543
4543
  const c = new URL(`${a}/api/v1/gm/consents`);
4544
4544
  if (c.searchParams.append("Status", "Active"), !C)
4545
4545
  return yield ue(c.href, "fetchConsentsError", { method: "GET" }, !0);
4546
- const g = new URL(`${a}/api/v1/gm/user-consents/${v}`);
4546
+ const g = new URL(`${a}/api/v1/gm/user-consents/${y}`);
4547
4547
  return yield Promise.all([
4548
4548
  ue(c.href, "fetchConsentsError", { method: "GET" }, !0),
4549
4549
  ue(g.href, "fetchPlayerConsentsError", {
@@ -4559,78 +4559,78 @@ function Zi(e, t, r) {
4559
4559
  const c = new URL(`${a}/api/v2/gm/legislation/consents`), g = {
4560
4560
  "Content-Type": "application/json",
4561
4561
  Accept: "application/json"
4562
- }, T = { method: "GET", headers: g };
4563
- fetch(c.href, T).then((y) => y.ok ? y.json() : (Ce = !0, y.json().then((x) => (console.error(x), Se(x))))).then((y) => {
4562
+ }, M = { method: "GET", headers: g };
4563
+ fetch(c.href, M).then((k) => k.ok ? k.json() : (Ce = !0, k.json().then((T) => (console.error(T), xe(T))))).then((k) => {
4564
4564
  if (!Ce) {
4565
- if (B = y, localStorage.getItem("playerConsents")) {
4565
+ if (B = k, localStorage.getItem("playerConsents")) {
4566
4566
  try {
4567
4567
  r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
4568
- } catch (x) {
4569
- return console.error(x), Se(x);
4568
+ } catch (T) {
4569
+ return console.error(T), xe(T);
4570
4570
  }
4571
4571
  return;
4572
4572
  }
4573
- return r(9, O = B.map((x) => ({
4574
- id: x.id,
4573
+ return r(9, O = B.map((T) => ({
4574
+ id: T.id,
4575
4575
  status: R.denied.key,
4576
- friendlyName: x.friendlyName,
4577
- tagCode: x.tagCode,
4576
+ friendlyName: T.friendlyName,
4577
+ tagCode: T.tagCode,
4578
4578
  selected: null,
4579
- mustAccept: x.mustAccept
4579
+ mustAccept: T.mustAccept
4580
4580
  }))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
4581
4581
  }
4582
- }).catch((y) => (console.error(y), Se(y))).finally(() => {
4582
+ }).catch((k) => (console.error(k), xe(k))).finally(() => {
4583
4583
  r(10, le = !1);
4584
4584
  });
4585
- }, vr = (c) => {
4585
+ }, yr = (c) => {
4586
4586
  const g = /* @__PURE__ */ new Map();
4587
- return c.forEach((T) => {
4588
- g.has(T.category.categoryTagCode) || g.set(T.category.categoryTagCode, T.category);
4587
+ return c.forEach((M) => {
4588
+ g.has(M.category.categoryTagCode) || g.set(M.category.categoryTagCode, M.category);
4589
4589
  }), Array.from(g.values());
4590
- }, br = (c) => {
4591
- const g = localStorage.getItem("categoryToggle" + v);
4590
+ }, vr = (c) => {
4591
+ const g = localStorage.getItem("categoryToggle" + y);
4592
4592
  if (g === null) {
4593
- const T = c.reduce(
4594
- (y, x) => (y[x.categoryTagCode] = !1, y),
4593
+ const M = c.reduce(
4594
+ (k, T) => (k[T.categoryTagCode] = !1, k),
4595
4595
  {}
4596
4596
  );
4597
- return localStorage.setItem("categoryToggle" + v, JSON.stringify(T)), T;
4597
+ return localStorage.setItem("categoryToggle" + y, JSON.stringify(M)), M;
4598
4598
  } else
4599
4599
  return JSON.parse(g);
4600
- }, yr = () => {
4600
+ }, kr = () => {
4601
4601
  O.forEach((c) => {
4602
4602
  r(12, J[c.tagCode] = c.status === R.accepted.value, J);
4603
4603
  }), r(13, U = Z({}, J));
4604
- }, Er = () => {
4605
- r(13, U = Z({}, J)), r(11, G = Z({}, Ee));
4606
- }, kr = () => de(this, null, function* () {
4607
- if (!ye)
4604
+ }, br = () => {
4605
+ r(13, U = Z({}, J)), r(11, F = Z({}, be));
4606
+ }, Er = () => de(this, null, function* () {
4607
+ if (!ke)
4608
4608
  return;
4609
- ye = !1;
4609
+ ke = !1;
4610
4610
  const c = [], g = [];
4611
- if (Object.keys(U).forEach((y) => {
4612
- const x = O.find((I) => I.tagCode === y);
4613
- U[y] !== J[y] && (x ? c.push({
4614
- tagCode: y,
4615
- status: U[y] ? R.accepted.value : R.denied.value
4611
+ if (Object.keys(U).forEach((k) => {
4612
+ const T = O.find((I) => I.tagCode === k);
4613
+ U[k] !== J[k] && (T ? c.push({
4614
+ tagCode: k,
4615
+ status: U[k] ? R.accepted.value : R.denied.value
4616
4616
  }) : g.push({
4617
- tagCode: y,
4618
- status: U[y] ? R.accepted.value : R.denied.value
4617
+ tagCode: k,
4618
+ status: U[k] ? R.accepted.value : R.denied.value
4619
4619
  }));
4620
4620
  }), !C) {
4621
- localStorage.setItem("categoryToggle" + v, JSON.stringify(G)), Ee = Z({}, G), window.postMessage(
4621
+ localStorage.setItem("categoryToggle" + y, JSON.stringify(F)), be = Z({}, F), window.postMessage(
4622
4622
  {
4623
4623
  type: "NewPlayerConsentData",
4624
4624
  data: JSON.stringify(g)
4625
4625
  },
4626
4626
  window.location.href
4627
- ), ye = !0;
4627
+ ), ke = !0;
4628
4628
  return;
4629
4629
  }
4630
- const T = new URL(`${a}/api/v1/gm/user-consents/${v}`);
4630
+ const M = new URL(`${a}/api/v1/gm/user-consents/${y}`);
4631
4631
  try {
4632
- const y = yield Promise.allSettled([
4633
- g.length > 0 && ue(T.href, "updateConsentsError", {
4632
+ const k = yield Promise.allSettled([
4633
+ g.length > 0 && ue(M.href, "updateConsentsError", {
4634
4634
  method: "POST",
4635
4635
  headers: {
4636
4636
  "X-SessionId": _,
@@ -4638,7 +4638,7 @@ function Zi(e, t, r) {
4638
4638
  },
4639
4639
  body: JSON.stringify({ userConsents: g })
4640
4640
  }),
4641
- c.length > 0 && ue(T.href, "updateConsentsError", {
4641
+ c.length > 0 && ue(M.href, "updateConsentsError", {
4642
4642
  method: "PATCH",
4643
4643
  headers: {
4644
4644
  "X-SessionId": _,
@@ -4647,20 +4647,20 @@ function Zi(e, t, r) {
4647
4647
  body: JSON.stringify({ userConsents: c })
4648
4648
  })
4649
4649
  ]);
4650
- y.forEach((x, I) => {
4651
- if (x.status === "rejected" || x.value.ok === !1) {
4652
- const F = I < g.length ? g[I] : c[I - g.length];
4653
- r(13, U[F.tagCode] = J[F.tagCode], U);
4650
+ k.forEach((T, I) => {
4651
+ if (T.status === "rejected" || T.value.ok === !1) {
4652
+ const V = I < g.length ? g[I] : c[I - g.length];
4653
+ r(13, U[V.tagCode] = J[V.tagCode], U);
4654
4654
  }
4655
- }), y.every((x) => x.status === "fulfilled") && (localStorage.setItem("categoryToggle" + v, JSON.stringify(G)), Ee = Z({}, G), window.postMessage(
4655
+ }), k.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + y, JSON.stringify(F)), be = Z({}, F), window.postMessage(
4656
4656
  {
4657
4657
  type: "PlayerConsentUpdated",
4658
4658
  success: !0
4659
4659
  },
4660
4660
  window.location.href
4661
4661
  ), r(12, J = Z({}, U)));
4662
- } catch (y) {
4663
- we(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
4662
+ } catch (k) {
4663
+ Se(k instanceof TypeError ? n("saveChangesError") : k.message), window.postMessage(
4664
4664
  {
4665
4665
  type: "PlayerConsentUpdated",
4666
4666
  success: !1
@@ -4668,58 +4668,58 @@ function Zi(e, t, r) {
4668
4668
  window.location.href
4669
4669
  );
4670
4670
  } finally {
4671
- ye = !0, r(14, ce = !1);
4671
+ ke = !0, r(14, ce = !1);
4672
4672
  }
4673
4673
  }), Cr = (c) => {
4674
- const g = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
4674
+ const g = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
4675
4675
  "Content-Type": "application/json",
4676
4676
  Accept: "application/json"
4677
- }, y = {
4677
+ }, k = {
4678
4678
  playerConsents: O,
4679
4679
  registrationId: c
4680
- }, x = {
4680
+ }, T = {
4681
4681
  method: "POST",
4682
- body: JSON.stringify(y),
4683
- headers: T
4682
+ body: JSON.stringify(k),
4683
+ headers: M
4684
4684
  };
4685
- fetch(g.href, x).then((I) => {
4685
+ fetch(g.href, T).then((I) => {
4686
4686
  I.ok || (Ce = !0);
4687
- }).catch((I) => (console.error(I), Se(I))).finally(() => {
4687
+ }).catch((I) => (console.error(I), xe(I))).finally(() => {
4688
4688
  r(10, le = !1);
4689
4689
  });
4690
4690
  }, it = (c) => {
4691
4691
  O.filter((g) => g.category.categoryTagCode === c).forEach((g) => {
4692
- g.status = g.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[g.tagCode] = G[c] || !1, U);
4692
+ g.status = g.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[g.tagCode] = F[c] || !1, U);
4693
4693
  }), r(14, ce = ot());
4694
- }, je = (c, g, T) => {
4695
- const y = O.find((F) => F.id === T), x = g ? "value" : "key";
4694
+ }, je = (c, g, M) => {
4695
+ const k = O.find((V) => V.id === M), T = g ? "value" : "key";
4696
4696
  let I;
4697
- if (!g && y.mustAccept) {
4698
- const F = Array.from(ke.children);
4699
- for (const he of F)
4700
- if (I = Array.from(he.children).find((Or) => Or.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
4697
+ if (!g && k.mustAccept) {
4698
+ const V = Array.from(Ee.children);
4699
+ for (const he of V)
4700
+ if (I = Array.from(he.children).find((Or) => Or.getAttribute("id") === `checkBoxError__${k.tagCode}`), I)
4701
4701
  break;
4702
4702
  }
4703
- 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) {
4704
- r(13, U[y.tagCode] = !U[y.tagCode], U);
4705
- const F = O.filter((he) => he.category.categoryTagCode === g.categoryTagCode).every((he) => he.status !== R.denied.value);
4706
- r(11, G[g.categoryTagCode] = F, G);
4703
+ 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) {
4704
+ r(13, U[k.tagCode] = !U[k.tagCode], U);
4705
+ const V = O.filter((he) => he.category.categoryTagCode === g.categoryTagCode).every((he) => he.status !== R.denied.value);
4706
+ r(11, F[g.categoryTagCode] = V, F);
4707
4707
  }
4708
- wr();
4709
- }, wr = ((c, g) => {
4710
- let T;
4711
- return function(...y) {
4712
- const x = this;
4713
- clearTimeout(T), T = setTimeout(
4708
+ Sr();
4709
+ }, Sr = ((c, g) => {
4710
+ let M;
4711
+ return function(...k) {
4712
+ const T = this;
4713
+ clearTimeout(M), M = setTimeout(
4714
4714
  () => {
4715
- c.apply(x, y);
4715
+ c.apply(T, k);
4716
4716
  },
4717
4717
  g
4718
4718
  );
4719
4719
  };
4720
- })(() => Sr(), 500), Sr = () => {
4720
+ })(() => xr(), 500), xr = () => {
4721
4721
  r(14, ce = ot()), i || (window.postMessage({ type: "isConsentsValid", isValid: ce }), localStorage.setItem("playerConsents", JSON.stringify(O)));
4722
- }, ot = () => O.filter((g) => O.some((T) => g.tagCode === T.tagCode && T.mustAccept && (g.status === R.denied.key || g.status === R.denied.value))).length === 0, Se = (c) => {
4722
+ }, ot = () => O.filter((g) => O.some((M) => g.tagCode === M.tagCode && M.mustAccept && (g.status === R.denied.key || g.status === R.denied.value))).length === 0, xe = (c) => {
4723
4723
  window.postMessage(
4724
4724
  {
4725
4725
  type: "WidgetNotification",
@@ -4727,28 +4727,28 @@ function Zi(e, t, r) {
4727
4727
  },
4728
4728
  window.location.href
4729
4729
  );
4730
- }, xr = (c) => {
4730
+ }, Tr = (c) => {
4731
4731
  c.data && c.data.type !== "setUpPlayerConsents" || Cr(c.data.registerid);
4732
4732
  };
4733
- Fr(() => {
4733
+ Vr(() => {
4734
4734
  setTimeout(
4735
4735
  () => {
4736
4736
  r(25, p = !0);
4737
4737
  },
4738
4738
  50
4739
4739
  );
4740
- const c = (g) => xr(g);
4740
+ const c = (g) => Tr(g);
4741
4741
  return window.addEventListener("message", c), () => {
4742
4742
  window.removeEventListener("message", c);
4743
4743
  };
4744
4744
  });
4745
- function Tr(c) {
4746
- G[c.categoryTagCode] = this.checked, r(11, G);
4745
+ function Mr(c) {
4746
+ F[c.categoryTagCode] = this.checked, r(11, F);
4747
4747
  }
4748
- const Mr = (c) => it(c.categoryTagCode), Nr = (c, g) => g.category.categoryTagCode === c.categoryTagCode, Ar = (c, g) => je(g, c.category, c.id), Hr = (c, g) => je(g, null, c.id);
4748
+ const wr = (c) => it(c.categoryTagCode), Nr = (c, g) => g.category.categoryTagCode === c.categoryTagCode, Ar = (c, g) => je(g, c.category, c.id), Hr = (c, g) => je(g, null, c.id);
4749
4749
  function Pr(c) {
4750
4750
  ut[c ? "unshift" : "push"](() => {
4751
- ke = c, r(15, ke);
4751
+ Ee = c, r(15, Ee);
4752
4752
  });
4753
4753
  }
4754
4754
  function Br(c) {
@@ -4757,7 +4757,7 @@ function Zi(e, t, r) {
4757
4757
  });
4758
4758
  }
4759
4759
  return e.$$set = (c) => {
4760
- "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);
4760
+ "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);
4761
4761
  }, e.$$.update = () => {
4762
4762
  e.$$.dirty[0] & /*isMounted, session*/
4763
4763
  33554433 && p && i && (gr(), fr()), e.$$.dirty[0] & /*session*/
@@ -4774,28 +4774,28 @@ function Zi(e, t, r) {
4774
4774
  u,
4775
4775
  d,
4776
4776
  f,
4777
- S,
4777
+ x,
4778
4778
  H,
4779
- E,
4779
+ b,
4780
4780
  O,
4781
4781
  le,
4782
- G,
4782
+ F,
4783
4783
  J,
4784
4784
  U,
4785
4785
  ce,
4786
- ke,
4786
+ Ee,
4787
4787
  n,
4788
- kr,
4788
+ Er,
4789
4789
  it,
4790
4790
  je,
4791
4791
  o,
4792
4792
  a,
4793
4793
  l,
4794
4794
  m,
4795
- b,
4795
+ v,
4796
4796
  p,
4797
- Tr,
4798
4797
  Mr,
4798
+ wr,
4799
4799
  Nr,
4800
4800
  Ar,
4801
4801
  Hr,
@@ -4823,7 +4823,7 @@ class Ji extends Ut {
4823
4823
  translationurl: 23,
4824
4824
  modalconsents: 24
4825
4825
  },
4826
- qi,
4826
+ Gi,
4827
4827
  [-1, -1, -1]
4828
4828
  );
4829
4829
  }
@@ -4831,61 +4831,61 @@ class Ji extends Ut {
4831
4831
  return this.$$.ctx[0];
4832
4832
  }
4833
4833
  set session(t) {
4834
- this.$$set({ session: t }), V();
4834
+ this.$$set({ session: t }), X();
4835
4835
  }
4836
4836
  get userid() {
4837
4837
  return this.$$.ctx[20];
4838
4838
  }
4839
4839
  set userid(t) {
4840
- this.$$set({ userid: t }), V();
4840
+ this.$$set({ userid: t }), X();
4841
4841
  }
4842
4842
  get endpoint() {
4843
4843
  return this.$$.ctx[21];
4844
4844
  }
4845
4845
  set endpoint(t) {
4846
- this.$$set({ endpoint: t }), V();
4846
+ this.$$set({ endpoint: t }), X();
4847
4847
  }
4848
4848
  get clientstyling() {
4849
4849
  return this.$$.ctx[1];
4850
4850
  }
4851
4851
  set clientstyling(t) {
4852
- this.$$set({ clientstyling: t }), V();
4852
+ this.$$set({ clientstyling: t }), X();
4853
4853
  }
4854
4854
  get clientstylingurl() {
4855
4855
  return this.$$.ctx[2];
4856
4856
  }
4857
4857
  set clientstylingurl(t) {
4858
- this.$$set({ clientstylingurl: t }), V();
4858
+ this.$$set({ clientstylingurl: t }), X();
4859
4859
  }
4860
4860
  get mbsource() {
4861
4861
  return this.$$.ctx[3];
4862
4862
  }
4863
4863
  set mbsource(t) {
4864
- this.$$set({ mbsource: t }), V();
4864
+ this.$$set({ mbsource: t }), X();
4865
4865
  }
4866
4866
  get lang() {
4867
4867
  return this.$$.ctx[22];
4868
4868
  }
4869
4869
  set lang(t) {
4870
- this.$$set({ lang: t }), V();
4870
+ this.$$set({ lang: t }), X();
4871
4871
  }
4872
4872
  get displayconsentdescription() {
4873
4873
  return this.$$.ctx[4];
4874
4874
  }
4875
4875
  set displayconsentdescription(t) {
4876
- this.$$set({ displayconsentdescription: t }), V();
4876
+ this.$$set({ displayconsentdescription: t }), X();
4877
4877
  }
4878
4878
  get translationurl() {
4879
4879
  return this.$$.ctx[23];
4880
4880
  }
4881
4881
  set translationurl(t) {
4882
- this.$$set({ translationurl: t }), V();
4882
+ this.$$set({ translationurl: t }), X();
4883
4883
  }
4884
4884
  get modalconsents() {
4885
4885
  return this.$$.ctx[24];
4886
4886
  }
4887
4887
  set modalconsents(t) {
4888
- this.$$set({ modalconsents: t }), V();
4888
+ this.$$set({ modalconsents: t }), X();
4889
4889
  }
4890
4890
  }
4891
4891
  Rt(Ji, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);