@everymatrix/player-consents 1.59.1 → 1.59.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var Br = Object.defineProperty, zr = Object.defineProperties;
1
+ var Pr = Object.defineProperty, Br = Object.defineProperties;
2
2
  var Or = Object.getOwnPropertyDescriptors;
3
3
  var it = Object.getOwnPropertySymbols;
4
4
  var Ir = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
- var ot = (e, t, r) => t in e ? Br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
5
+ var ot = (e, t, r) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
7
  Ir.call(t, r) && ot(e, r, t[r]);
8
8
  if (it)
9
9
  for (var r of it(t))
10
10
  jr.call(t, r) && ot(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => zr(e, Or(t));
12
+ }, at = (e, t) => Br(e, Or(t));
13
13
  var he = (e, t, r) => new Promise((n, i) => {
14
14
  var o = (h) => {
15
15
  try {
@@ -26,14 +26,14 @@ var he = (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 X, s as Ye, a as Lr, r as It, i as Rr, c as jt, S as Lt, b as Rt, d as j, e as L, f as S, g as st, h as k, j as V, k as Ur, l as A, m as Dr, o as qr, p as lt, q as Q, t as fe, u as _e, v as $, w as Ke, x as me, y as q, z as Gr, H as Ut, A as Fr, B as Vr, C as Xr, D as Wr } from "./GeneralAnimationLoading-CAP3Fch3.js";
29
+ import { n as q, s as Ye, a as Lr, r as It, i as Rr, c as jt, S as Lt, b as Rt, d as j, e as L, f as S, g as st, h as E, j as X, k as Ur, l as N, m as Dr, o as Gr, p as lt, q as Q, t as fe, u as _e, v as $, w as Ke, x as ge, y as G, z as Fr, H as Ut, A as Vr, B as Xr, C as qr, D as Wr } from "./GeneralAnimationLoading-CAP3Fch3.js";
30
30
  const K = [];
31
31
  function Zr(e, t) {
32
32
  return {
33
- subscribe: Ae(e, t).subscribe
33
+ subscribe: Ne(e, t).subscribe
34
34
  };
35
35
  }
36
- function Ae(e, t = X) {
36
+ function Ne(e, t = q) {
37
37
  let r;
38
38
  const n = /* @__PURE__ */ new Set();
39
39
  function i(s) {
@@ -51,9 +51,9 @@ function Ae(e, t = X) {
51
51
  function o(s) {
52
52
  i(s(e));
53
53
  }
54
- function a(s, h = X) {
54
+ function a(s, h = q) {
55
55
  const u = [s, h];
56
- return n.add(u), n.size === 1 && (r = t(i, o) || X), s(e), () => {
56
+ return n.add(u), n.size === 1 && (r = t(i, o) || q), s(e), () => {
57
57
  n.delete(u), n.size === 0 && r && (r(), r = null);
58
58
  };
59
59
  }
@@ -67,25 +67,25 @@ function ie(e, t, r) {
67
67
  return Zr(r, (a, s) => {
68
68
  let h = !1;
69
69
  const u = [];
70
- let l = 0, d = X;
71
- const m = () => {
70
+ let l = 0, d = q;
71
+ const g = () => {
72
72
  if (l)
73
73
  return;
74
74
  d();
75
75
  const f = t(n ? u[0] : u, a, s);
76
- o ? a(f) : d = Rr(f) ? f : X;
76
+ o ? a(f) : d = Rr(f) ? f : q;
77
77
  }, v = i.map(
78
- (f, g) => Lr(
78
+ (f, m) => Lr(
79
79
  f,
80
80
  (C) => {
81
- u[g] = C, l &= ~(1 << g), h && m();
81
+ u[m] = C, l &= ~(1 << m), h && g();
82
82
  },
83
83
  () => {
84
- l |= 1 << g;
84
+ l |= 1 << m;
85
85
  }
86
86
  )
87
87
  );
88
- return h = !0, m(), function() {
88
+ return h = !0, g(), function() {
89
89
  It(v), d(), h = !1;
90
90
  };
91
91
  });
@@ -110,12 +110,12 @@ function tn(e) {
110
110
  function rn(e) {
111
111
  return Array.isArray(e) ? [] : {};
112
112
  }
113
- function ge(e, t) {
113
+ function me(e, t) {
114
114
  return t.clone !== !1 && t.isMergeableObject(e) ? ee(rn(e), e, t) : e;
115
115
  }
116
116
  function nn(e, t, r) {
117
117
  return e.concat(t).map(function(n) {
118
- return ge(n, r);
118
+ return me(n, r);
119
119
  });
120
120
  }
121
121
  function on(e, t) {
@@ -145,15 +145,15 @@ function sn(e, t) {
145
145
  function ln(e, t, r) {
146
146
  var n = {};
147
147
  return r.isMergeableObject(e) && ct(e).forEach(function(i) {
148
- n[i] = ge(e[i], r);
148
+ n[i] = me(e[i], r);
149
149
  }), ct(t).forEach(function(i) {
150
- sn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
150
+ sn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
151
151
  }), n;
152
152
  }
153
153
  function ee(e, t, r) {
154
- r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = ge;
154
+ r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = me;
155
155
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
156
- return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : ge(t, r);
156
+ return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : me(t, r);
157
157
  }
158
158
  ee.all = function(t, r) {
159
159
  if (!Array.isArray(t))
@@ -178,32 +178,32 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
178
178
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
179
179
  PERFORMANCE OF THIS SOFTWARE.
180
180
  ***************************************************************************** */
181
- var qe = function(e, t) {
182
- return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
181
+ var Ge = function(e, t) {
182
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
183
183
  r.__proto__ = n;
184
184
  } || function(r, n) {
185
185
  for (var i in n)
186
186
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
187
- }, qe(e, t);
187
+ }, Ge(e, t);
188
188
  };
189
- function He(e, t) {
189
+ function Ae(e, t) {
190
190
  if (typeof t != "function" && t !== null)
191
191
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
192
- qe(e, t);
192
+ Ge(e, t);
193
193
  function r() {
194
194
  this.constructor = e;
195
195
  }
196
196
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
197
197
  }
198
- var H = function() {
199
- return H = Object.assign || function(t) {
198
+ var A = function() {
199
+ return A = Object.assign || function(t) {
200
200
  for (var r, n = 1, i = arguments.length; n < i; n++) {
201
201
  r = arguments[n];
202
202
  for (var o in r)
203
203
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
204
204
  }
205
205
  return t;
206
- }, H.apply(this, arguments);
206
+ }, A.apply(this, arguments);
207
207
  };
208
208
  function dn(e, t) {
209
209
  var r = {};
@@ -227,26 +227,26 @@ function je(e, t) {
227
227
  serializer: n
228
228
  });
229
229
  }
230
- function mn(e) {
230
+ function gn(e) {
231
231
  return e == null || typeof e == "number" || typeof e == "boolean";
232
232
  }
233
- function gn(e, t, r, n) {
234
- var i = mn(n) ? n : r(n), o = t.get(i);
233
+ function mn(e, t, r, n) {
234
+ var i = gn(n) ? n : r(n), o = t.get(i);
235
235
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
236
236
  }
237
- function qt(e, t, r) {
237
+ function Gt(e, t, r) {
238
238
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
239
239
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
240
240
  }
241
- function Gt(e, t, r, n, i) {
241
+ function Ft(e, t, r, n, i) {
242
242
  return r.bind(t, e, n, i);
243
243
  }
244
244
  function pn(e, t) {
245
- var r = e.length === 1 ? gn : qt;
246
- return Gt(e, this, r, t.cache.create(), t.serializer);
245
+ var r = e.length === 1 ? mn : Gt;
246
+ return Ft(e, this, r, t.cache.create(), t.serializer);
247
247
  }
248
248
  function fn(e, t) {
249
- return Gt(e, this, qt, t.cache.create(), t.serializer);
249
+ return Ft(e, this, Gt, t.cache.create(), t.serializer);
250
250
  }
251
251
  var _n = function() {
252
252
  return JSON.stringify(arguments);
@@ -268,55 +268,55 @@ var _n = function() {
268
268
  }
269
269
  }, Le = {
270
270
  variadic: fn
271
- }, w;
271
+ }, M;
272
272
  (function(e) {
273
273
  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";
274
- })(w || (w = {}));
275
- var B;
274
+ })(M || (M = {}));
275
+ var P;
276
276
  (function(e) {
277
277
  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";
278
- })(B || (B = {}));
278
+ })(P || (P = {}));
279
279
  var te;
280
280
  (function(e) {
281
281
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
282
282
  })(te || (te = {}));
283
283
  function ut(e) {
284
- return e.type === B.literal;
284
+ return e.type === P.literal;
285
285
  }
286
286
  function yn(e) {
287
- return e.type === B.argument;
288
- }
289
- function Ft(e) {
290
- return e.type === B.number;
287
+ return e.type === P.argument;
291
288
  }
292
289
  function Vt(e) {
293
- return e.type === B.date;
290
+ return e.type === P.number;
294
291
  }
295
292
  function Xt(e) {
296
- return e.type === B.time;
293
+ return e.type === P.date;
294
+ }
295
+ function qt(e) {
296
+ return e.type === P.time;
297
297
  }
298
298
  function Wt(e) {
299
- return e.type === B.select;
299
+ return e.type === P.select;
300
300
  }
301
301
  function Zt(e) {
302
- return e.type === B.plural;
302
+ return e.type === P.plural;
303
303
  }
304
- function En(e) {
305
- return e.type === B.pound;
304
+ function kn(e) {
305
+ return e.type === P.pound;
306
306
  }
307
307
  function Jt(e) {
308
- return e.type === B.tag;
308
+ return e.type === P.tag;
309
309
  }
310
310
  function Qt(e) {
311
311
  return !!(e && typeof e == "object" && e.type === te.number);
312
312
  }
313
- function Ge(e) {
313
+ function Fe(e) {
314
314
  return !!(e && typeof e == "object" && e.type === te.dateTime);
315
315
  }
316
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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;
316
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
317
317
  function Cn(e) {
318
318
  var t = {};
319
- return e.replace(kn, function(r) {
319
+ return e.replace(En, function(r) {
320
320
  var n = r.length;
321
321
  switch (r[0]) {
322
322
  case "G":
@@ -409,8 +409,8 @@ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
409
409
  function xn(e) {
410
410
  if (e.length === 0)
411
411
  throw new Error("Number skeleton cannot be empty");
412
- for (var t = e.split(Sn).filter(function(m) {
413
- return m.length > 0;
412
+ for (var t = e.split(Sn).filter(function(g) {
413
+ return g.length > 0;
414
414
  }), r = [], n = 0, i = t; n < i.length; n++) {
415
415
  var o = i[n], a = o.split("/");
416
416
  if (a.length === 0)
@@ -424,10 +424,10 @@ function xn(e) {
424
424
  }
425
425
  return r;
426
426
  }
427
- function Tn(e) {
427
+ function zn(e) {
428
428
  return e.replace(/^(.*?)-/, "");
429
429
  }
430
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
430
+ var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
431
431
  function dt(e) {
432
432
  var t = {};
433
433
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
@@ -474,7 +474,7 @@ function er(e) {
474
474
  };
475
475
  }
476
476
  }
477
- function wn(e) {
477
+ function Mn(e) {
478
478
  var t;
479
479
  if (e[0] === "E" && e[1] === "E" ? (t = {
480
480
  notation: "engineering"
@@ -488,11 +488,11 @@ function wn(e) {
488
488
  }
489
489
  return t;
490
490
  }
491
- function mt(e) {
491
+ function gt(e) {
492
492
  var t = {}, r = er(e);
493
493
  return r || t;
494
494
  }
495
- function Nn(e) {
495
+ function wn(e) {
496
496
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
497
497
  var i = n[r];
498
498
  switch (i.stem) {
@@ -516,7 +516,7 @@ function Nn(e) {
516
516
  continue;
517
517
  case "measure-unit":
518
518
  case "unit":
519
- t.style = "unit", t.unit = Tn(i.options[0]);
519
+ t.style = "unit", t.unit = zn(i.options[0]);
520
520
  continue;
521
521
  case "compact-short":
522
522
  case "K":
@@ -527,13 +527,13 @@ function Nn(e) {
527
527
  t.notation = "compact", t.compactDisplay = "long";
528
528
  continue;
529
529
  case "scientific":
530
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
531
- return H(H({}, h), mt(u));
530
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
531
+ return A(A({}, h), gt(u));
532
532
  }, {}));
533
533
  continue;
534
534
  case "engineering":
535
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
536
- return H(H({}, h), mt(u));
535
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
536
+ return A(A({}, h), gt(u));
537
537
  }, {}));
538
538
  continue;
539
539
  case "notation-simple":
@@ -578,11 +578,11 @@ function Nn(e) {
578
578
  case "integer-width":
579
579
  if (i.options.length > 1)
580
580
  throw new RangeError("integer-width stems only accept a single optional option");
581
- i.options[0].replace(Mn, function(h, u, l, d, m, v) {
581
+ i.options[0].replace(Tn, function(h, u, l, d, g, v) {
582
582
  if (u)
583
583
  t.minimumIntegerDigits = l.length;
584
584
  else {
585
- if (d && m)
585
+ if (d && g)
586
586
  throw new Error("We currently do not support maximum integer digits");
587
587
  if (v)
588
588
  throw new Error("We currently do not support exact integer digits");
@@ -598,21 +598,21 @@ function Nn(e) {
598
598
  if (ht.test(i.stem)) {
599
599
  if (i.options.length > 1)
600
600
  throw new RangeError("Fraction-precision stems only accept a single optional option");
601
- i.stem.replace(ht, function(h, u, l, d, m, v) {
602
- 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), "";
601
+ i.stem.replace(ht, function(h, u, l, d, g, v) {
602
+ return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : g && v ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
603
603
  });
604
604
  var o = i.options[0];
605
- o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), dt(o)));
605
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), dt(o)));
606
606
  continue;
607
607
  }
608
608
  if (Kt.test(i.stem)) {
609
- t = H(H({}, t), dt(i.stem));
609
+ t = A(A({}, t), dt(i.stem));
610
610
  continue;
611
611
  }
612
612
  var a = er(i.stem);
613
- a && (t = H(H({}, t), a));
614
- var s = wn(i.stem);
615
- s && (t = H(H({}, t), s));
613
+ a && (t = A(A({}, t), a));
614
+ var s = Mn(i.stem);
615
+ s && (t = A(A({}, t), s));
616
616
  }
617
617
  return t;
618
618
  }
@@ -2031,13 +2031,13 @@ var xe = {
2031
2031
  "h"
2032
2032
  ]
2033
2033
  };
2034
- function An(e, t) {
2034
+ function Nn(e, t) {
2035
2035
  for (var r = "", n = 0; n < e.length; n++) {
2036
2036
  var i = e.charAt(n);
2037
2037
  if (i === "j") {
2038
2038
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2039
2039
  o++, n++;
2040
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Hn(t);
2040
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = An(t);
2041
2041
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2042
2042
  r += h;
2043
2043
  for (; a-- > 0; )
@@ -2047,7 +2047,7 @@ function An(e, t) {
2047
2047
  }
2048
2048
  return r;
2049
2049
  }
2050
- function Hn(e) {
2050
+ function An(e) {
2051
2051
  var t = e.hourCycle;
2052
2052
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2053
2053
  e.hourCycles && // @ts-ignore
@@ -2069,20 +2069,20 @@ function Hn(e) {
2069
2069
  var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
2070
2070
  return i[0];
2071
2071
  }
2072
- var Re, Pn = new RegExp("^".concat(Yt.source, "*")), Bn = new RegExp("".concat(Yt.source, "*$"));
2073
- function N(e, t) {
2072
+ var Re, Hn = new RegExp("^".concat(Yt.source, "*")), Pn = new RegExp("".concat(Yt.source, "*$"));
2073
+ function w(e, t) {
2074
2074
  return { start: e, end: t };
2075
2075
  }
2076
- var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
2076
+ var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
2077
2077
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2078
- }, Fe = !0;
2078
+ }, Ve = !0;
2079
2079
  try {
2080
- var qn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2081
- Fe = ((Re = qn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2080
+ var Gn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2081
+ Ve = ((Re = Gn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2082
2082
  } catch (e) {
2083
- Fe = !1;
2083
+ Ve = !1;
2084
2084
  }
2085
- var gt = zn ? (
2085
+ var mt = Bn ? (
2086
2086
  // Native
2087
2087
  function(t, r, n) {
2088
2088
  return t.startsWith(r, n);
@@ -2092,7 +2092,7 @@ var gt = zn ? (
2092
2092
  function(t, r, n) {
2093
2093
  return t.slice(n, n + r.length) === r;
2094
2094
  }
2095
- ), Ve = On ? String.fromCodePoint : (
2095
+ ), Xe = On ? String.fromCodePoint : (
2096
2096
  // IE11
2097
2097
  function() {
2098
2098
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2130,7 +2130,7 @@ var gt = zn ? (
2130
2130
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2131
2131
  }
2132
2132
  }
2133
- ), Gn = Ln ? (
2133
+ ), Fn = Ln ? (
2134
2134
  // Native
2135
2135
  function(t) {
2136
2136
  return t.trimStart();
@@ -2138,9 +2138,9 @@ var gt = zn ? (
2138
2138
  ) : (
2139
2139
  // Ponyfill
2140
2140
  function(t) {
2141
- return t.replace(Pn, "");
2141
+ return t.replace(Hn, "");
2142
2142
  }
2143
- ), Fn = Rn ? (
2143
+ ), Vn = Rn ? (
2144
2144
  // Native
2145
2145
  function(t) {
2146
2146
  return t.trimEnd();
@@ -2148,32 +2148,32 @@ var gt = zn ? (
2148
2148
  ) : (
2149
2149
  // Ponyfill
2150
2150
  function(t) {
2151
- return t.replace(Bn, "");
2151
+ return t.replace(Pn, "");
2152
2152
  }
2153
2153
  );
2154
2154
  function rr(e, t) {
2155
2155
  return new RegExp(e, t);
2156
2156
  }
2157
- var Xe;
2158
- if (Fe) {
2157
+ var qe;
2158
+ if (Ve) {
2159
2159
  var ft = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2160
- Xe = function(t, r) {
2160
+ qe = function(t, r) {
2161
2161
  var n;
2162
2162
  ft.lastIndex = r;
2163
2163
  var i = ft.exec(t);
2164
2164
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2165
2165
  };
2166
2166
  } else
2167
- Xe = function(t, r) {
2167
+ qe = function(t, r) {
2168
2168
  for (var n = []; ; ) {
2169
2169
  var i = tr(t, r);
2170
2170
  if (i === void 0 || nr(i) || Zn(i))
2171
2171
  break;
2172
2172
  n.push(i), r += i >= 65536 ? 2 : 1;
2173
2173
  }
2174
- return Ve.apply(void 0, n);
2174
+ return Xe.apply(void 0, n);
2175
2175
  };
2176
- var Vn = (
2176
+ var Xn = (
2177
2177
  /** @class */
2178
2178
  function() {
2179
2179
  function e(t, r) {
@@ -2197,13 +2197,13 @@ var Vn = (
2197
2197
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2198
2198
  var s = this.clonePosition();
2199
2199
  this.bump(), i.push({
2200
- type: B.pound,
2201
- location: N(s, this.clonePosition())
2200
+ type: P.pound,
2201
+ location: w(s, this.clonePosition())
2202
2202
  });
2203
2203
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2204
2204
  if (n)
2205
2205
  break;
2206
- return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2206
+ return this.error(M.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2207
2207
  } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
2208
2208
  var a = this.parseTag(t, r);
2209
2209
  if (a.err)
@@ -2225,9 +2225,9 @@ var Vn = (
2225
2225
  if (this.bumpSpace(), this.bumpIf("/>"))
2226
2226
  return {
2227
2227
  val: {
2228
- type: B.literal,
2228
+ type: P.literal,
2229
2229
  value: "<".concat(i, "/>"),
2230
- location: N(n, this.clonePosition())
2230
+ location: w(n, this.clonePosition())
2231
2231
  },
2232
2232
  err: null
2233
2233
  };
@@ -2238,21 +2238,21 @@ var Vn = (
2238
2238
  var a = o.val, s = this.clonePosition();
2239
2239
  if (this.bumpIf("</")) {
2240
2240
  if (this.isEOF() || !We(this.char()))
2241
- return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
2241
+ return this.error(M.INVALID_TAG, w(s, this.clonePosition()));
2242
2242
  var h = this.clonePosition(), u = this.parseTagName();
2243
- return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2243
+ return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2244
2244
  val: {
2245
- type: B.tag,
2245
+ type: P.tag,
2246
2246
  value: i,
2247
2247
  children: a,
2248
- location: N(n, this.clonePosition())
2248
+ location: w(n, this.clonePosition())
2249
2249
  },
2250
2250
  err: null
2251
- } : this.error(w.INVALID_TAG, N(s, this.clonePosition())));
2251
+ } : this.error(M.INVALID_TAG, w(s, this.clonePosition())));
2252
2252
  } else
2253
- return this.error(w.UNCLOSED_TAG, N(n, this.clonePosition()));
2253
+ return this.error(M.UNCLOSED_TAG, w(n, this.clonePosition()));
2254
2254
  } else
2255
- return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
2255
+ return this.error(M.INVALID_TAG, w(n, this.clonePosition()));
2256
2256
  }, e.prototype.parseTagName = function() {
2257
2257
  var t = this.offset();
2258
2258
  for (this.bump(); !this.isEOF() && Wn(this.char()); )
@@ -2277,14 +2277,14 @@ var Vn = (
2277
2277
  }
2278
2278
  break;
2279
2279
  }
2280
- var h = N(n, this.clonePosition());
2280
+ var h = w(n, this.clonePosition());
2281
2281
  return {
2282
- val: { type: B.literal, value: i, location: h },
2282
+ val: { type: P.literal, value: i, location: h },
2283
2283
  err: null
2284
2284
  };
2285
2285
  }, e.prototype.tryParseLeftAngleBracket = function() {
2286
2286
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2287
- !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2287
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2288
2288
  }, e.prototype.tryParseQuote = function(t) {
2289
2289
  if (this.isEOF() || this.char() !== 39)
2290
2290
  return null;
@@ -2318,49 +2318,49 @@ var Vn = (
2318
2318
  r.push(n);
2319
2319
  this.bump();
2320
2320
  }
2321
- return Ve.apply(void 0, r);
2321
+ return Xe.apply(void 0, r);
2322
2322
  }, e.prototype.tryParseUnquoted = function(t, r) {
2323
2323
  if (this.isEOF())
2324
2324
  return null;
2325
2325
  var n = this.char();
2326
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
2326
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
2327
2327
  }, e.prototype.parseArgument = function(t, r) {
2328
2328
  var n = this.clonePosition();
2329
2329
  if (this.bump(), this.bumpSpace(), this.isEOF())
2330
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2330
+ return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
2331
2331
  if (this.char() === 125)
2332
- return this.bump(), this.error(w.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2332
+ return this.bump(), this.error(M.EMPTY_ARGUMENT, w(n, this.clonePosition()));
2333
2333
  var i = this.parseIdentifierIfPossible().value;
2334
2334
  if (!i)
2335
- return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2335
+ return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2336
2336
  if (this.bumpSpace(), this.isEOF())
2337
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2337
+ return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
2338
2338
  switch (this.char()) {
2339
2339
  case 125:
2340
2340
  return this.bump(), {
2341
2341
  val: {
2342
- type: B.argument,
2342
+ type: P.argument,
2343
2343
  // value does not include the opening and closing braces.
2344
2344
  value: i,
2345
- location: N(n, this.clonePosition())
2345
+ location: w(n, this.clonePosition())
2346
2346
  },
2347
2347
  err: null
2348
2348
  };
2349
2349
  case 44:
2350
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2350
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2351
2351
  default:
2352
- return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2352
+ return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2353
2353
  }
2354
2354
  }, e.prototype.parseIdentifierIfPossible = function() {
2355
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
2355
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2356
2356
  this.bumpTo(i);
2357
- var o = this.clonePosition(), a = N(t, o);
2357
+ var o = this.clonePosition(), a = w(t, o);
2358
2358
  return { value: n, location: a };
2359
2359
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2360
2360
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2361
2361
  switch (s) {
2362
2362
  case "":
2363
- return this.error(w.EXPECT_ARGUMENT_TYPE, N(a, h));
2363
+ return this.error(M.EXPECT_ARGUMENT_TYPE, w(a, h));
2364
2364
  case "number":
2365
2365
  case "date":
2366
2366
  case "time": {
@@ -2371,46 +2371,46 @@ var Vn = (
2371
2371
  var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2372
2372
  if (d.err)
2373
2373
  return d;
2374
- var m = Fn(d.val);
2375
- if (m.length === 0)
2376
- return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2377
- var v = N(l, this.clonePosition());
2378
- u = { style: m, styleLocation: v };
2374
+ var g = Vn(d.val);
2375
+ if (g.length === 0)
2376
+ return this.error(M.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
2377
+ var v = w(l, this.clonePosition());
2378
+ u = { style: g, styleLocation: v };
2379
2379
  }
2380
2380
  var f = this.tryParseArgumentClose(i);
2381
2381
  if (f.err)
2382
2382
  return f;
2383
- var g = N(i, this.clonePosition());
2384
- if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
2385
- var C = Gn(u.style.slice(2));
2383
+ var m = w(i, this.clonePosition());
2384
+ if (u && mt(u == null ? void 0 : u.style, "::", 0)) {
2385
+ var C = Fn(u.style.slice(2));
2386
2386
  if (s === "number") {
2387
2387
  var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
2388
2388
  return d.err ? d : {
2389
- val: { type: B.number, value: n, location: g, style: d.val },
2389
+ val: { type: P.number, value: n, location: m, style: d.val },
2390
2390
  err: null
2391
2391
  };
2392
2392
  } else {
2393
2393
  if (C.length === 0)
2394
- return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
2394
+ return this.error(M.EXPECT_DATE_TIME_SKELETON, m);
2395
2395
  var _ = C;
2396
- this.locale && (_ = An(C, this.locale));
2397
- var m = {
2396
+ this.locale && (_ = Nn(C, this.locale));
2397
+ var g = {
2398
2398
  type: te.dateTime,
2399
2399
  pattern: _,
2400
2400
  location: u.styleLocation,
2401
2401
  parsedOptions: this.shouldParseSkeletons ? Cn(_) : {}
2402
- }, b = s === "date" ? B.date : B.time;
2402
+ }, b = s === "date" ? P.date : P.time;
2403
2403
  return {
2404
- val: { type: b, value: n, location: g, style: m },
2404
+ val: { type: b, value: n, location: m, style: g },
2405
2405
  err: null
2406
2406
  };
2407
2407
  }
2408
2408
  }
2409
2409
  return {
2410
2410
  val: {
2411
- type: s === "number" ? B.number : s === "date" ? B.date : B.time,
2411
+ type: s === "number" ? P.number : s === "date" ? P.date : P.time,
2412
2412
  value: n,
2413
- location: g,
2413
+ location: m,
2414
2414
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2415
2415
  },
2416
2416
  err: null
@@ -2421,39 +2421,39 @@ var Vn = (
2421
2421
  case "select": {
2422
2422
  var x = this.clonePosition();
2423
2423
  if (this.bumpSpace(), !this.bumpIf(","))
2424
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x, H({}, x)));
2424
+ return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, w(x, A({}, x)));
2425
2425
  this.bumpSpace();
2426
- var P = this.parseIdentifierIfPossible(), E = 0;
2427
- if (s !== "select" && P.value === "offset") {
2426
+ var H = this.parseIdentifierIfPossible(), k = 0;
2427
+ if (s !== "select" && H.value === "offset") {
2428
2428
  if (!this.bumpIf(":"))
2429
- return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2429
+ return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
2430
2430
  this.bumpSpace();
2431
- var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2431
+ var d = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2432
2432
  if (d.err)
2433
2433
  return d;
2434
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), E = d.val;
2434
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), k = d.val;
2435
2435
  }
2436
- var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
2437
- if (z.err)
2438
- return z;
2436
+ var B = this.tryParsePluralOrSelectOptions(t, s, r, H);
2437
+ if (B.err)
2438
+ return B;
2439
2439
  var f = this.tryParseArgumentClose(i);
2440
2440
  if (f.err)
2441
2441
  return f;
2442
- var O = N(i, this.clonePosition());
2442
+ var O = w(i, this.clonePosition());
2443
2443
  return s === "select" ? {
2444
2444
  val: {
2445
- type: B.select,
2445
+ type: P.select,
2446
2446
  value: n,
2447
- options: pt(z.val),
2447
+ options: pt(B.val),
2448
2448
  location: O
2449
2449
  },
2450
2450
  err: null
2451
2451
  } : {
2452
2452
  val: {
2453
- type: B.plural,
2453
+ type: P.plural,
2454
2454
  value: n,
2455
- options: pt(z.val),
2456
- offset: E,
2455
+ options: pt(B.val),
2456
+ offset: k,
2457
2457
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2458
2458
  location: O
2459
2459
  },
@@ -2461,10 +2461,10 @@ var Vn = (
2461
2461
  };
2462
2462
  }
2463
2463
  default:
2464
- return this.error(w.INVALID_ARGUMENT_TYPE, N(a, h));
2464
+ return this.error(M.INVALID_ARGUMENT_TYPE, w(a, h));
2465
2465
  }
2466
2466
  }, e.prototype.tryParseArgumentClose = function(t) {
2467
- return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2467
+ return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2468
2468
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2469
2469
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2470
2470
  var n = this.char();
@@ -2473,7 +2473,7 @@ var Vn = (
2473
2473
  this.bump();
2474
2474
  var i = this.clonePosition();
2475
2475
  if (!this.bumpUntil("'"))
2476
- return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2476
+ return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
2477
2477
  this.bump();
2478
2478
  break;
2479
2479
  }
@@ -2505,14 +2505,14 @@ var Vn = (
2505
2505
  try {
2506
2506
  n = xn(t);
2507
2507
  } catch (i) {
2508
- return this.error(w.INVALID_NUMBER_SKELETON, r);
2508
+ return this.error(M.INVALID_NUMBER_SKELETON, r);
2509
2509
  }
2510
2510
  return {
2511
2511
  val: {
2512
2512
  type: te.number,
2513
2513
  tokens: n,
2514
2514
  location: r,
2515
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
2515
+ parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
2516
2516
  },
2517
2517
  err: null
2518
2518
  };
@@ -2521,34 +2521,34 @@ var Vn = (
2521
2521
  if (u.length === 0) {
2522
2522
  var d = this.clonePosition();
2523
2523
  if (r !== "select" && this.bumpIf("=")) {
2524
- var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
2525
- if (m.err)
2526
- return m;
2527
- l = N(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
2524
+ var g = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2525
+ if (g.err)
2526
+ return g;
2527
+ l = w(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
2528
2528
  } else
2529
2529
  break;
2530
2530
  }
2531
2531
  if (h.has(u))
2532
- return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2532
+ return this.error(r === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2533
2533
  u === "other" && (a = !0), this.bumpSpace();
2534
2534
  var v = this.clonePosition();
2535
2535
  if (!this.bumpIf("{"))
2536
- return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2536
+ return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
2537
2537
  var f = this.parseMessage(t + 1, r, n);
2538
2538
  if (f.err)
2539
2539
  return f;
2540
- var g = this.tryParseArgumentClose(v);
2541
- if (g.err)
2542
- return g;
2540
+ var m = this.tryParseArgumentClose(v);
2541
+ if (m.err)
2542
+ return m;
2543
2543
  s.push([
2544
2544
  u,
2545
2545
  {
2546
2546
  value: f.val,
2547
- location: N(v, this.clonePosition())
2547
+ location: w(v, this.clonePosition())
2548
2548
  }
2549
2549
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2550
2550
  }
2551
- 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 };
2551
+ return s.length === 0 ? this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(M.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2552
2552
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2553
2553
  var n = 1, i = this.clonePosition();
2554
2554
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2559,7 +2559,7 @@ var Vn = (
2559
2559
  else
2560
2560
  break;
2561
2561
  }
2562
- var h = N(i, this.clonePosition());
2562
+ var h = w(i, this.clonePosition());
2563
2563
  return o ? (a *= n, Dn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2564
2564
  }, e.prototype.offset = function() {
2565
2565
  return this.position.offset;
@@ -2594,7 +2594,7 @@ var Vn = (
2594
2594
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
2595
2595
  }
2596
2596
  }, e.prototype.bumpIf = function(t) {
2597
- if (gt(this.message, t, this.offset())) {
2597
+ if (mt(this.message, t, this.offset())) {
2598
2598
  for (var r = 0; r < t.length; r++)
2599
2599
  this.bump();
2600
2600
  return !0;
@@ -2629,7 +2629,7 @@ var Vn = (
2629
2629
  function We(e) {
2630
2630
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2631
2631
  }
2632
- function Xn(e) {
2632
+ function qn(e) {
2633
2633
  return We(e) || e === 47;
2634
2634
  }
2635
2635
  function Wn(e) {
@@ -2647,14 +2647,14 @@ function Ze(e) {
2647
2647
  for (var r in t.options)
2648
2648
  delete t.options[r].location, Ze(t.options[r].value);
2649
2649
  else
2650
- Ft(t) && Qt(t.style) || (Vt(t) || Xt(t)) && Ge(t.style) ? delete t.style.location : Jt(t) && Ze(t.children);
2650
+ Vt(t) && Qt(t.style) || (Xt(t) || qt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && Ze(t.children);
2651
2651
  });
2652
2652
  }
2653
2653
  function Jn(e, t) {
2654
- t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2655
- var r = new Vn(e, t).parse();
2654
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2655
+ var r = new Xn(e, t).parse();
2656
2656
  if (r.err) {
2657
- var n = SyntaxError(w[r.err.kind]);
2657
+ var n = SyntaxError(M[r.err.kind]);
2658
2658
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2659
2659
  }
2660
2660
  return t != null && t.captureLocation || Ze(r.val), r.val;
@@ -2663,10 +2663,10 @@ var re;
2663
2663
  (function(e) {
2664
2664
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2665
2665
  })(re || (re = {}));
2666
- var Pe = (
2666
+ var He = (
2667
2667
  /** @class */
2668
2668
  function(e) {
2669
- He(t, e);
2669
+ Ae(t, e);
2670
2670
  function t(r, n, i) {
2671
2671
  var o = e.call(this, r) || this;
2672
2672
  return o.code = n, o.originalMessage = i, o;
@@ -2678,30 +2678,30 @@ var Pe = (
2678
2678
  ), _t = (
2679
2679
  /** @class */
2680
2680
  function(e) {
2681
- He(t, e);
2681
+ Ae(t, e);
2682
2682
  function t(r, n, i, o) {
2683
2683
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
2684
2684
  }
2685
2685
  return t;
2686
- }(Pe)
2686
+ }(He)
2687
2687
  ), Qn = (
2688
2688
  /** @class */
2689
2689
  function(e) {
2690
- He(t, e);
2690
+ Ae(t, e);
2691
2691
  function t(r, n, i) {
2692
2692
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
2693
2693
  }
2694
2694
  return t;
2695
- }(Pe)
2695
+ }(He)
2696
2696
  ), Yn = (
2697
2697
  /** @class */
2698
2698
  function(e) {
2699
- He(t, e);
2699
+ Ae(t, e);
2700
2700
  function t(r, n) {
2701
2701
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
2702
2702
  }
2703
2703
  return t;
2704
- }(Pe)
2704
+ }(He)
2705
2705
  ), D;
2706
2706
  (function(e) {
2707
2707
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -2715,7 +2715,7 @@ function Kn(e) {
2715
2715
  function $n(e) {
2716
2716
  return typeof e == "function";
2717
2717
  }
2718
- function Te(e, t, r, n, i, o, a) {
2718
+ function ze(e, t, r, n, i, o, a) {
2719
2719
  if (e.length === 1 && ut(e[0]))
2720
2720
  return [
2721
2721
  {
@@ -2732,7 +2732,7 @@ function Te(e, t, r, n, i, o, a) {
2732
2732
  });
2733
2733
  continue;
2734
2734
  }
2735
- if (En(l)) {
2735
+ if (kn(l)) {
2736
2736
  typeof o == "number" && s.push({
2737
2737
  type: D.literal,
2738
2738
  value: r.getNumberFormat(t).format(o)
@@ -2742,86 +2742,86 @@ function Te(e, t, r, n, i, o, a) {
2742
2742
  var d = l.value;
2743
2743
  if (!(i && d in i))
2744
2744
  throw new Yn(d, a);
2745
- var m = i[d];
2745
+ var g = i[d];
2746
2746
  if (yn(l)) {
2747
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
2748
- type: typeof m == "string" ? D.literal : D.object,
2749
- value: m
2747
+ (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
2748
+ type: typeof g == "string" ? D.literal : D.object,
2749
+ value: g
2750
2750
  });
2751
2751
  continue;
2752
2752
  }
2753
- if (Vt(l)) {
2754
- var v = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
2753
+ if (Xt(l)) {
2754
+ var v = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
2755
2755
  s.push({
2756
2756
  type: D.literal,
2757
- value: r.getDateTimeFormat(t, v).format(m)
2757
+ value: r.getDateTimeFormat(t, v).format(g)
2758
2758
  });
2759
2759
  continue;
2760
2760
  }
2761
- if (Xt(l)) {
2762
- var v = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
2761
+ if (qt(l)) {
2762
+ var v = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
2763
2763
  s.push({
2764
2764
  type: D.literal,
2765
- value: r.getDateTimeFormat(t, v).format(m)
2765
+ value: r.getDateTimeFormat(t, v).format(g)
2766
2766
  });
2767
2767
  continue;
2768
2768
  }
2769
- if (Ft(l)) {
2769
+ if (Vt(l)) {
2770
2770
  var v = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
2771
- v && v.scale && (m = m * (v.scale || 1)), s.push({
2771
+ v && v.scale && (g = g * (v.scale || 1)), s.push({
2772
2772
  type: D.literal,
2773
- value: r.getNumberFormat(t, v).format(m)
2773
+ value: r.getNumberFormat(t, v).format(g)
2774
2774
  });
2775
2775
  continue;
2776
2776
  }
2777
2777
  if (Jt(l)) {
2778
- var f = l.children, g = l.value, C = i[g];
2778
+ var f = l.children, m = l.value, C = i[m];
2779
2779
  if (!$n(C))
2780
- throw new Qn(g, "function", a);
2781
- var _ = Te(f, t, r, n, i, o), b = C(_.map(function(E) {
2782
- return E.value;
2780
+ throw new Qn(m, "function", a);
2781
+ var _ = ze(f, t, r, n, i, o), b = C(_.map(function(k) {
2782
+ return k.value;
2783
2783
  }));
2784
- Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(E) {
2784
+ Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(k) {
2785
2785
  return {
2786
- type: typeof E == "string" ? D.literal : D.object,
2787
- value: E
2786
+ type: typeof k == "string" ? D.literal : D.object,
2787
+ value: k
2788
2788
  };
2789
2789
  }));
2790
2790
  }
2791
2791
  if (Wt(l)) {
2792
- var x = l.options[m] || l.options.other;
2792
+ var x = l.options[g] || l.options.other;
2793
2793
  if (!x)
2794
- throw new _t(l.value, m, Object.keys(l.options), a);
2795
- s.push.apply(s, Te(x.value, t, r, n, i));
2794
+ throw new _t(l.value, g, Object.keys(l.options), a);
2795
+ s.push.apply(s, ze(x.value, t, r, n, i));
2796
2796
  continue;
2797
2797
  }
2798
2798
  if (Zt(l)) {
2799
- var x = l.options["=".concat(m)];
2799
+ var x = l.options["=".concat(g)];
2800
2800
  if (!x) {
2801
2801
  if (!Intl.PluralRules)
2802
- throw new Pe(`Intl.PluralRules is not available in this environment.
2802
+ throw new He(`Intl.PluralRules is not available in this environment.
2803
2803
  Try polyfilling it using "@formatjs/intl-pluralrules"
2804
2804
  `, re.MISSING_INTL_API, a);
2805
- var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
2806
- x = l.options[P] || l.options.other;
2805
+ var H = r.getPluralRules(t, { type: l.pluralType }).select(g - (l.offset || 0));
2806
+ x = l.options[H] || l.options.other;
2807
2807
  }
2808
2808
  if (!x)
2809
- throw new _t(l.value, m, Object.keys(l.options), a);
2810
- s.push.apply(s, Te(x.value, t, r, n, i, m - (l.offset || 0)));
2809
+ throw new _t(l.value, g, Object.keys(l.options), a);
2810
+ s.push.apply(s, ze(x.value, t, r, n, i, g - (l.offset || 0)));
2811
2811
  continue;
2812
2812
  }
2813
2813
  }
2814
2814
  return Kn(s);
2815
2815
  }
2816
2816
  function ei(e, t) {
2817
- return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2818
- return r[n] = H(H({}, e[n]), t[n] || {}), r;
2817
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2818
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
2819
2819
  }, {})) : e;
2820
2820
  }
2821
2821
  function ti(e, t) {
2822
2822
  return t ? Object.keys(e).reduce(function(r, n) {
2823
2823
  return r[n] = ei(e[n], t[n]), r;
2824
- }, H({}, e)) : e;
2824
+ }, A({}, e)) : e;
2825
2825
  }
2826
2826
  function Ue(e) {
2827
2827
  return {
@@ -2883,12 +2883,12 @@ var ni = (
2883
2883
  var u = o.formatToParts(h);
2884
2884
  if (u.length === 1)
2885
2885
  return u[0].value;
2886
- var l = u.reduce(function(d, m) {
2887
- return !d.length || m.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
2886
+ var l = u.reduce(function(d, g) {
2887
+ return !d.length || g.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(g.value) : d[d.length - 1] += g.value, d;
2888
2888
  }, []);
2889
2889
  return l.length <= 1 ? l[0] || "" : l;
2890
2890
  }, this.formatToParts = function(h) {
2891
- return Te(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2891
+ return ze(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2892
2892
  }, this.resolvedOptions = function() {
2893
2893
  var h;
2894
2894
  return {
@@ -2902,7 +2902,7 @@ var ni = (
2902
2902
  var a = i || {};
2903
2903
  a.formatters;
2904
2904
  var s = dn(a, ["formatters"]);
2905
- this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
2905
+ this.ast = e.__parse(t, A(A({}, s), { locale: this.resolvedLocale }));
2906
2906
  } else
2907
2907
  this.ast = t;
2908
2908
  if (!Array.isArray(this.ast))
@@ -3007,7 +3007,7 @@ const J = {}, oi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
3007
3007
  return;
3008
3008
  if (t in J && e in J[t])
3009
3009
  return J[t][e];
3010
- const r = Be(t);
3010
+ const r = Pe(t);
3011
3011
  for (let n = 0; n < r.length; n++) {
3012
3012
  const i = r[n], o = si(i, e);
3013
3013
  if (o)
@@ -3015,7 +3015,7 @@ const J = {}, oi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
3015
3015
  }
3016
3016
  };
3017
3017
  let $e;
3018
- const be = Ae({});
3018
+ const be = Ne({});
3019
3019
  function ai(e) {
3020
3020
  return $e[e] || null;
3021
3021
  }
@@ -3031,7 +3031,7 @@ function si(e, t) {
3031
3031
  function li(e) {
3032
3032
  if (e == null)
3033
3033
  return;
3034
- const t = Be(e);
3034
+ const t = Pe(e);
3035
3035
  for (let r = 0; r < t.length; r++) {
3036
3036
  const n = t[r];
3037
3037
  if (or(n))
@@ -3046,21 +3046,21 @@ ie(
3046
3046
  ([e]) => Object.keys(e)
3047
3047
  );
3048
3048
  be.subscribe((e) => $e = e);
3049
- const Me = {};
3049
+ const Te = {};
3050
3050
  function ci(e, t) {
3051
- Me[e].delete(t), Me[e].size === 0 && delete Me[e];
3051
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3052
3052
  }
3053
3053
  function sr(e) {
3054
- return Me[e];
3054
+ return Te[e];
3055
3055
  }
3056
3056
  function ui(e) {
3057
- return Be(e).map((t) => {
3057
+ return Pe(e).map((t) => {
3058
3058
  const r = sr(t);
3059
3059
  return [t, r ? [...r] : []];
3060
3060
  }).filter(([, t]) => t.length > 0);
3061
3061
  }
3062
3062
  function Je(e) {
3063
- return e == null ? !1 : Be(e).some(
3063
+ return e == null ? !1 : Pe(e).some(
3064
3064
  (t) => {
3065
3065
  var r;
3066
3066
  return (r = sr(t)) == null ? void 0 : r.size;
@@ -3116,18 +3116,18 @@ const di = {
3116
3116
  timeZoneName: "short"
3117
3117
  }
3118
3118
  }
3119
- }, mi = {
3119
+ }, gi = {
3120
3120
  fallbackLocale: null,
3121
3121
  loadingDelay: 200,
3122
3122
  formats: di,
3123
3123
  warnOnMissingMessages: !0,
3124
3124
  handleMissingMessage: void 0,
3125
3125
  ignoreTag: !0
3126
- }, gi = mi;
3126
+ }, mi = gi;
3127
3127
  function ne() {
3128
- return gi;
3128
+ return mi;
3129
3129
  }
3130
- const De = Ae(!1);
3130
+ const De = Ne(!1);
3131
3131
  var pi = Object.defineProperty, fi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
3132
3132
  for (var r in t || (t = {}))
3133
3133
  bi.call(t, r) && vt(e, r, t[r]);
@@ -3135,23 +3135,23 @@ var pi = Object.defineProperty, fi = Object.defineProperties, _i = Object.getOwn
3135
3135
  for (var r of bt(t))
3136
3136
  vi.call(t, r) && vt(e, r, t[r]);
3137
3137
  return e;
3138
- }, Ei = (e, t) => fi(e, _i(t));
3138
+ }, ki = (e, t) => fi(e, _i(t));
3139
3139
  let Qe;
3140
- const we = Ae(null);
3140
+ const Me = Ne(null);
3141
3141
  function yt(e) {
3142
3142
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3143
3143
  }
3144
- function Be(e, t = ne().fallbackLocale) {
3144
+ function Pe(e, t = ne().fallbackLocale) {
3145
3145
  const r = yt(e);
3146
3146
  return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
3147
3147
  }
3148
3148
  function Y() {
3149
3149
  return Qe != null ? Qe : void 0;
3150
3150
  }
3151
- we.subscribe((e) => {
3151
+ Me.subscribe((e) => {
3152
3152
  Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3153
3153
  });
3154
- const ki = (e) => {
3154
+ const Ei = (e) => {
3155
3155
  if (e && li(e) && Je(e)) {
3156
3156
  const { loadingDelay: t } = ne();
3157
3157
  let r;
@@ -3159,34 +3159,34 @@ const ki = (e) => {
3159
3159
  () => De.set(!0),
3160
3160
  t
3161
3161
  ) : De.set(!0), lr(e).then(() => {
3162
- we.set(e);
3162
+ Me.set(e);
3163
3163
  }).finally(() => {
3164
3164
  clearTimeout(r), De.set(!1);
3165
3165
  });
3166
3166
  }
3167
- return we.set(e);
3168
- }, oe = Ei(yi({}, we), {
3169
- set: ki
3170
- }), ze = (e) => {
3167
+ return Me.set(e);
3168
+ }, oe = ki(yi({}, Me), {
3169
+ set: Ei
3170
+ }), Be = (e) => {
3171
3171
  const t = /* @__PURE__ */ Object.create(null);
3172
3172
  return (n) => {
3173
3173
  const i = JSON.stringify(n);
3174
3174
  return i in t ? t[i] : t[i] = e(n);
3175
3175
  };
3176
3176
  };
3177
- var Ci = Object.defineProperty, Ne = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3177
+ var Ci = Object.defineProperty, we = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3178
3178
  for (var r in t || (t = {}))
3179
- cr.call(t, r) && Et(e, r, t[r]);
3180
- if (Ne)
3181
- for (var r of Ne(t))
3182
- ur.call(t, r) && Et(e, r, t[r]);
3179
+ cr.call(t, r) && kt(e, r, t[r]);
3180
+ if (we)
3181
+ for (var r of we(t))
3182
+ ur.call(t, r) && kt(e, r, t[r]);
3183
3183
  return e;
3184
3184
  }, ae = (e, t) => {
3185
3185
  var r = {};
3186
3186
  for (var n in e)
3187
3187
  cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3188
- if (e != null && Ne)
3189
- for (var n of Ne(e))
3188
+ if (e != null && we)
3189
+ for (var n of we(e))
3190
3190
  t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
3191
3191
  return r;
3192
3192
  };
@@ -3195,21 +3195,21 @@ const pe = (e, t) => {
3195
3195
  if (e in r && t in r[e])
3196
3196
  return r[e][t];
3197
3197
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3198
- }, Si = ze(
3198
+ }, Si = Be(
3199
3199
  (e) => {
3200
3200
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3201
3201
  if (r == null)
3202
3202
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3203
3203
  return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
3204
3204
  }
3205
- ), xi = ze(
3205
+ ), xi = Be(
3206
3206
  (e) => {
3207
3207
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3208
3208
  if (r == null)
3209
3209
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3210
3210
  return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
3211
3211
  }
3212
- ), Ti = ze(
3212
+ ), zi = Be(
3213
3213
  (e) => {
3214
3214
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3215
3215
  if (r == null)
@@ -3218,33 +3218,33 @@ const pe = (e, t) => {
3218
3218
  );
3219
3219
  return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
3220
3220
  }
3221
- ), Mi = (e = {}) => {
3221
+ ), Ti = (e = {}) => {
3222
3222
  var t = e, {
3223
3223
  locale: r = Y()
3224
3224
  } = t, n = ae(t, [
3225
3225
  "locale"
3226
3226
  ]);
3227
3227
  return Si(et({ locale: r }, n));
3228
- }, wi = (e = {}) => {
3228
+ }, Mi = (e = {}) => {
3229
3229
  var t = e, {
3230
3230
  locale: r = Y()
3231
3231
  } = t, n = ae(t, [
3232
3232
  "locale"
3233
3233
  ]);
3234
3234
  return xi(et({ locale: r }, n));
3235
- }, Ni = (e = {}) => {
3235
+ }, wi = (e = {}) => {
3236
3236
  var t = e, {
3237
3237
  locale: r = Y()
3238
3238
  } = t, n = ae(t, [
3239
3239
  "locale"
3240
3240
  ]);
3241
- return Ti(et({ locale: r }, n));
3242
- }, Ai = ze(
3241
+ return zi(et({ locale: r }, n));
3242
+ }, Ni = Be(
3243
3243
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3244
3244
  (e, t = Y()) => new ni(e, t, ne().formats, {
3245
3245
  ignoreTag: ne().ignoreTag
3246
3246
  })
3247
- ), Hi = (e, t = {}) => {
3247
+ ), Ai = (e, t = {}) => {
3248
3248
  var r, n, i, o;
3249
3249
  let a = t;
3250
3250
  typeof e == "object" && (a = e, e = a.id);
@@ -3268,20 +3268,20 @@ const pe = (e, t) => {
3268
3268
  return l;
3269
3269
  let d = l;
3270
3270
  try {
3271
- d = Ai(l, h).format(s);
3272
- } catch (m) {
3273
- m instanceof Error && console.warn(
3271
+ d = Ni(l, h).format(s);
3272
+ } catch (g) {
3273
+ g instanceof Error && console.warn(
3274
3274
  `[svelte-i18n] Message "${e}" has syntax error:`,
3275
- m.message
3275
+ g.message
3276
3276
  );
3277
3277
  }
3278
3278
  return d;
3279
- }, Pi = (e, t) => Ni(t).format(e), Bi = (e, t) => wi(t).format(e), zi = (e, t) => Mi(t).format(e), Oi = (e, t = Y()) => ir(e, t), Ii = ie([oe, be], () => Hi);
3279
+ }, Hi = (e, t) => wi(t).format(e), Pi = (e, t) => Mi(t).format(e), Bi = (e, t) => Ti(t).format(e), Oi = (e, t = Y()) => ir(e, t), Ii = ie([oe, be], () => Ai);
3280
+ ie([oe], () => Hi);
3280
3281
  ie([oe], () => Pi);
3281
3282
  ie([oe], () => Bi);
3282
- ie([oe], () => zi);
3283
3283
  ie([oe, be], () => Oi);
3284
- function kt(e, t) {
3284
+ function Et(e, t) {
3285
3285
  ar(e, t);
3286
3286
  }
3287
3287
  function ji(e) {
@@ -3867,14 +3867,14 @@ function Li(e) {
3867
3867
  let t, r;
3868
3868
  return {
3869
3869
  c() {
3870
- t = st("svg"), r = st("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");
3870
+ t = st("svg"), r = st("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");
3871
3871
  },
3872
3872
  m(n, i) {
3873
3873
  L(n, t, i), S(t, r);
3874
3874
  },
3875
- p: X,
3876
- i: X,
3877
- o: X,
3875
+ p: q,
3876
+ i: q,
3877
+ o: q,
3878
3878
  d(n) {
3879
3879
  n && j(t);
3880
3880
  }
@@ -3887,7 +3887,7 @@ class Ri extends Lt {
3887
3887
  }
3888
3888
  customElements.define("circle-exclamation-icon", jt(Ri, {}, [], [], !0));
3889
3889
  function Ui(e) {
3890
- Ur(e, "svelte-ltb9q9", '.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}');
3890
+ Ur(e, "svelte-1kygizb", '.DisplayNone.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:none}.ContainerCenter.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{margin-bottom:30px}.AccordionHeader.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{margin-bottom:10px}.AccordionContent.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:block;padding:10px 0}.AccordionContent.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:last-of-type{padding-bottom:0}.ConsentItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:last-of-type{margin-bottom:0}.ConsentItem.svelte-1kygizb .ConsentName.svelte-1kygizb.svelte-1kygizb{margin:0}.ConsentItem.svelte-1kygizb .ConsentDescription.svelte-1kygizb.svelte-1kygizb{font-size:0.8rem}.ToggleSwitch.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{width:53px;height:30px}.ToggleSwitch.Big.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb.svelte-1kygizb{opacity:0;width:0;height:0}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:disabled+.Slider.svelte-1kygizb{opacity:0.1}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:focus+.Slider.svelte-1kygizb{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-1kygizb .Slider.Round.svelte-1kygizb.svelte-1kygizb{border-radius:34px}.ToggleSwitch.svelte-1kygizb .Slider.Round.svelte-1kygizb.svelte-1kygizb:before{border-radius:50%}.SaveConsentsButton.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-1kygizb circle-exclamation-icon.svelte-1kygizb.svelte-1kygizb{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox.svelte-1kygizb.svelte-1kygizb{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__wrapper.svelte-1kygizb.svelte-1kygizb{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-1kygizb.svelte-1kygizb{position:relative}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__input.svelte-1kygizb.svelte-1kygizb{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__label.svelte-1kygizb.svelte-1kygizb{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-1kygizb.svelte-1kygizb{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__error-message.svelte-1kygizb.svelte-1kygizb{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-1kygizb.svelte-1kygizb{width:16px;height:auto}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip.svelte-1kygizb.svelte-1kygizb{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-1kygizb.svelte-1kygizb{opacity:1}');
3891
3891
  }
3892
3892
  function St(e, t, r) {
3893
3893
  const n = e.slice();
@@ -3897,7 +3897,7 @@ function xt(e, t, r) {
3897
3897
  const n = e.slice();
3898
3898
  return n[61] = t[r], n[62] = t, n[63] = r, n;
3899
3899
  }
3900
- function Tt(e, t, r) {
3900
+ function zt(e, t, r) {
3901
3901
  const n = e.slice();
3902
3902
  return n[64] = t[r], n;
3903
3903
  }
@@ -3907,13 +3907,13 @@ function Di(e) {
3907
3907
  e[9]
3908
3908
  ), i = [];
3909
3909
  for (let o = 0; o < n.length; o += 1)
3910
- i[o] = Mt(St(e, n, o));
3910
+ i[o] = Tt(St(e, n, o));
3911
3911
  return {
3912
3912
  c() {
3913
- t = A("div"), r = A("form");
3913
+ t = N("div"), r = N("form");
3914
3914
  for (let o = 0; o < i.length; o += 1)
3915
3915
  i[o].c();
3916
- k(r, "class", "checkbox svelte-ltb9q9"), k(t, "class", "legacyStyle");
3916
+ E(r, "class", "checkbox svelte-1kygizb"), E(t, "class", "legacyStyle");
3917
3917
  },
3918
3918
  m(o, a) {
3919
3919
  L(o, t, a), S(t, r);
@@ -3931,7 +3931,7 @@ function Di(e) {
3931
3931
  let s;
3932
3932
  for (s = 0; s < n.length; s += 1) {
3933
3933
  const h = St(o, n, s);
3934
- i[s] ? i[s].p(h, a) : (i[s] = Mt(h), i[s].c(), i[s].m(r, null));
3934
+ i[s] ? i[s].p(h, a) : (i[s] = Tt(h), i[s].c(), i[s].m(r, null));
3935
3935
  }
3936
3936
  for (; s < i.length; s += 1)
3937
3937
  i[s].d(1);
@@ -3943,7 +3943,7 @@ function Di(e) {
3943
3943
  }
3944
3944
  };
3945
3945
  }
3946
- function qi(e) {
3946
+ function Gi(e) {
3947
3947
  let t = (
3948
3948
  /*$_*/
3949
3949
  e[16]("title") || /*$_*/
@@ -3951,74 +3951,74 @@ function qi(e) {
3951
3951
  ), r, n, i, o = (
3952
3952
  /*$_*/
3953
3953
  (e[16]("saveButtonContent") || "Save Consents") + ""
3954
- ), a, s, h, u, l, d = t && wt(e), m = $(
3954
+ ), a, s, h, u, l, d = t && Mt(e), g = $(
3955
3955
  /*consentsCategories*/
3956
3956
  e[8]
3957
3957
  ), v = [];
3958
- for (let g = 0; g < m.length; g += 1)
3959
- v[g] = zt(xt(e, m, g));
3958
+ for (let m = 0; m < g.length; m += 1)
3959
+ v[m] = Bt(xt(e, g, m));
3960
3960
  let f = (
3961
3961
  /*errorMessage*/
3962
3962
  e[6] && Ot(e)
3963
3963
  );
3964
3964
  return {
3965
3965
  c() {
3966
- d && d.c(), r = q();
3967
- for (let g = 0; g < v.length; g += 1)
3968
- v[g].c();
3969
- n = q(), i = A("button"), s = q(), f && f.c(), h = Gr(), k(i, "class", "SaveConsentsButton svelte-ltb9q9"), i.disabled = a = !/*isValid*/
3966
+ d && d.c(), r = G();
3967
+ for (let m = 0; m < v.length; m += 1)
3968
+ v[m].c();
3969
+ n = G(), i = N("button"), s = G(), f && f.c(), h = Fr(), E(i, "class", "SaveConsentsButton svelte-1kygizb"), i.disabled = a = !/*isValid*/
3970
3970
  e[14];
3971
3971
  },
3972
- m(g, C) {
3973
- d && d.m(g, C), L(g, r, C);
3972
+ m(m, C) {
3973
+ d && d.m(m, C), L(m, r, C);
3974
3974
  for (let _ = 0; _ < v.length; _ += 1)
3975
- v[_] && v[_].m(g, C);
3976
- L(g, n, C), L(g, i, C), i.innerHTML = o, L(g, s, C), f && f.m(g, C), L(g, h, C), u || (l = me(
3975
+ v[_] && v[_].m(m, C);
3976
+ L(m, n, C), L(m, i, C), i.innerHTML = o, L(m, s, C), f && f.m(m, C), L(m, h, C), u || (l = ge(
3977
3977
  i,
3978
3978
  "click",
3979
3979
  /*saveChanges*/
3980
3980
  e[17]
3981
3981
  ), u = !0);
3982
3982
  },
3983
- p(g, C) {
3983
+ p(m, C) {
3984
3984
  if (C[0] & /*$_*/
3985
3985
  65536 && (t = /*$_*/
3986
- g[16]("title") || /*$_*/
3987
- g[16]("description")), t ? d ? d.p(g, C) : (d = wt(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
3986
+ m[16]("title") || /*$_*/
3987
+ m[16]("description")), t ? d ? d.p(m, C) : (d = Mt(m), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
3988
3988
  867088) {
3989
- m = $(
3989
+ g = $(
3990
3990
  /*consentsCategories*/
3991
- g[8]
3991
+ m[8]
3992
3992
  );
3993
3993
  let _;
3994
- for (_ = 0; _ < m.length; _ += 1) {
3995
- const b = xt(g, m, _);
3996
- v[_] ? v[_].p(b, C) : (v[_] = zt(b), v[_].c(), v[_].m(n.parentNode, n));
3994
+ for (_ = 0; _ < g.length; _ += 1) {
3995
+ const b = xt(m, g, _);
3996
+ v[_] ? v[_].p(b, C) : (v[_] = Bt(b), v[_].c(), v[_].m(n.parentNode, n));
3997
3997
  }
3998
3998
  for (; _ < v.length; _ += 1)
3999
3999
  v[_].d(1);
4000
- v.length = m.length;
4000
+ v.length = g.length;
4001
4001
  }
4002
4002
  C[0] & /*$_*/
4003
4003
  65536 && o !== (o = /*$_*/
4004
- (g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
4004
+ (m[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
4005
4005
  16384 && a !== (a = !/*isValid*/
4006
- g[14]) && (i.disabled = a), /*errorMessage*/
4007
- g[6] ? f ? f.p(g, C) : (f = Ot(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
4006
+ m[14]) && (i.disabled = a), /*errorMessage*/
4007
+ m[6] ? f ? f.p(m, C) : (f = Ot(m), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
4008
4008
  },
4009
- d(g) {
4010
- g && (j(r), j(n), j(i), j(s), j(h)), d && d.d(g), Ke(v, g), f && f.d(g), u = !1, l();
4009
+ d(m) {
4010
+ m && (j(r), j(n), j(i), j(s), j(h)), d && d.d(m), Ke(v, m), f && f.d(m), u = !1, l();
4011
4011
  }
4012
4012
  };
4013
4013
  }
4014
- function Gi(e) {
4014
+ function Fi(e) {
4015
4015
  let t, r, n;
4016
4016
  return {
4017
4017
  c() {
4018
- t = A("div"), r = A("strong"), n = _e(
4018
+ t = N("div"), r = N("strong"), n = _e(
4019
4019
  /*fatalError*/
4020
4020
  e[7]
4021
- ), k(r, "class", "ErrorMessage svelte-ltb9q9"), k(t, "class", "ContainerCenter svelte-ltb9q9");
4021
+ ), E(r, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ContainerCenter svelte-1kygizb");
4022
4022
  },
4023
4023
  m(i, o) {
4024
4024
  L(i, t, o), S(t, r), S(r, n);
@@ -4036,11 +4036,11 @@ function Gi(e) {
4036
4036
  }
4037
4037
  };
4038
4038
  }
4039
- function Fi(e) {
4039
+ function Vi(e) {
4040
4040
  let t;
4041
4041
  return {
4042
4042
  c() {
4043
- t = A("general-animation-loading"), Q(
4043
+ t = N("general-animation-loading"), Q(
4044
4044
  t,
4045
4045
  "clientstyling",
4046
4046
  /*clientstyling*/
@@ -4086,7 +4086,7 @@ function Fi(e) {
4086
4086
  }
4087
4087
  };
4088
4088
  }
4089
- function Mt(e) {
4089
+ function Tt(e) {
4090
4090
  let t, r, n, i, o, a, s, h, u = (
4091
4091
  /*$_*/
4092
4092
  (e[16](`${/*consent*/
@@ -4095,64 +4095,64 @@ function Mt(e) {
4095
4095
  ), l = (
4096
4096
  /*consent*/
4097
4097
  e[64].mustAccept ? " *" : ""
4098
- ), d, m, v, f, g, C, _, b, x;
4099
- function P(...E) {
4098
+ ), d, g, v, f, m, C, _, b, x;
4099
+ function H(...k) {
4100
4100
  return (
4101
4101
  /*input_handler_1*/
4102
4102
  e[30](
4103
4103
  /*consent*/
4104
4104
  e[64],
4105
- ...E
4105
+ ...k
4106
4106
  )
4107
4107
  );
4108
4108
  }
4109
4109
  return {
4110
4110
  c() {
4111
- t = A("div"), r = A("input"), o = q(), a = A("label"), s = A("div"), h = new Ut(!1), d = _e(l), v = q(), f = A("small"), C = q(), k(r, "class", "checkbox__input svelte-ltb9q9"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4112
- e[64].status === "1", k(r, "id", i = `${/*consent*/
4113
- e[64].tagCode}__input`), h.a = d, k(s, "class", "checkbox__label-text svelte-ltb9q9"), k(a, "class", "checkbox__label svelte-ltb9q9"), k(a, "for", m = `${/*consent*/
4114
- e[64].tagCode}__input`), k(f, "class", "checkbox__error-message svelte-ltb9q9"), k(f, "id", g = "checkBoxError__" + /*consent*/
4115
- e[64].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4116
- e[64].tagCode + "__input svelte-ltb9q9");
4111
+ t = N("div"), r = N("input"), o = G(), a = N("label"), s = N("div"), h = new Ut(!1), d = _e(l), v = G(), f = N("small"), C = G(), E(r, "class", "checkbox__input svelte-1kygizb"), E(r, "type", "checkbox"), r.checked = n = /*consent*/
4112
+ e[64].status === "1", E(r, "id", i = `${/*consent*/
4113
+ e[64].tagCode}__input`), h.a = d, E(s, "class", "checkbox__label-text svelte-1kygizb"), E(a, "class", "checkbox__label svelte-1kygizb"), E(a, "for", g = `${/*consent*/
4114
+ e[64].tagCode}__input`), E(f, "class", "checkbox__error-message svelte-1kygizb"), E(f, "id", m = "checkBoxError__" + /*consent*/
4115
+ e[64].tagCode), E(t, "class", _ = "checkbox__wrapper " + /*consent*/
4116
+ e[64].tagCode + "__input svelte-1kygizb");
4117
4117
  },
4118
- m(E, z) {
4119
- L(E, t, z), S(t, r), S(t, o), S(t, a), S(a, s), h.m(u, s), S(s, d), S(t, v), S(t, f), S(t, C), b || (x = me(r, "input", P), b = !0);
4118
+ m(k, B) {
4119
+ L(k, t, B), S(t, r), S(t, o), S(t, a), S(a, s), h.m(u, s), S(s, d), S(t, v), S(t, f), S(t, C), b || (x = ge(r, "input", H), b = !0);
4120
4120
  },
4121
- p(E, z) {
4122
- e = E, z[0] & /*playerConsents*/
4121
+ p(k, B) {
4122
+ e = k, B[0] & /*playerConsents*/
4123
4123
  512 && n !== (n = /*consent*/
4124
- e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4124
+ e[64].status === "1") && (r.checked = n), B[0] & /*playerConsents*/
4125
4125
  512 && i !== (i = `${/*consent*/
4126
- e[64].tagCode}__input`) && k(r, "id", i), z[0] & /*$_, playerConsents*/
4126
+ e[64].tagCode}__input`) && E(r, "id", i), B[0] & /*$_, playerConsents*/
4127
4127
  66048 && u !== (u = /*$_*/
4128
4128
  (e[16](`${/*consent*/
4129
4129
  e[64].tagCode}__description`) || /*consent*/
4130
- e[64].tagCode) + "") && h.p(u), z[0] & /*playerConsents*/
4130
+ e[64].tagCode) + "") && h.p(u), B[0] & /*playerConsents*/
4131
4131
  512 && l !== (l = /*consent*/
4132
- e[64].mustAccept ? " *" : "") && fe(d, l), z[0] & /*playerConsents*/
4133
- 512 && m !== (m = `${/*consent*/
4134
- e[64].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4135
- 512 && g !== (g = "checkBoxError__" + /*consent*/
4136
- e[64].tagCode) && k(f, "id", g), z[0] & /*playerConsents*/
4132
+ e[64].mustAccept ? " *" : "") && fe(d, l), B[0] & /*playerConsents*/
4133
+ 512 && g !== (g = `${/*consent*/
4134
+ e[64].tagCode}__input`) && E(a, "for", g), B[0] & /*playerConsents*/
4135
+ 512 && m !== (m = "checkBoxError__" + /*consent*/
4136
+ e[64].tagCode) && E(f, "id", m), B[0] & /*playerConsents*/
4137
4137
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4138
- e[64].tagCode + "__input svelte-ltb9q9") && k(t, "class", _);
4138
+ e[64].tagCode + "__input svelte-1kygizb") && E(t, "class", _);
4139
4139
  },
4140
- d(E) {
4141
- E && j(t), b = !1, x();
4140
+ d(k) {
4141
+ k && j(t), b = !1, x();
4142
4142
  }
4143
4143
  };
4144
4144
  }
4145
- function wt(e) {
4145
+ function Mt(e) {
4146
4146
  let t, r = (
4147
4147
  /*$_*/
4148
4148
  e[16]("title")
4149
4149
  ), n, i = (
4150
4150
  /*$_*/
4151
4151
  e[16]("description")
4152
- ), o = r && Nt(e), a = i && At(e);
4152
+ ), o = r && wt(e), a = i && Nt(e);
4153
4153
  return {
4154
4154
  c() {
4155
- t = A("div"), o && o.c(), n = q(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-ltb9q9");
4155
+ t = N("div"), o && o.c(), n = G(), a && a.c(), E(t, "class", "PlayerConsentsHeader svelte-1kygizb");
4156
4156
  },
4157
4157
  m(s, h) {
4158
4158
  L(s, t, h), o && o.m(t, null), S(t, n), a && a.m(t, null);
@@ -4160,23 +4160,23 @@ function wt(e) {
4160
4160
  p(s, h) {
4161
4161
  h[0] & /*$_*/
4162
4162
  65536 && (r = /*$_*/
4163
- s[16]("title")), r ? o ? o.p(s, h) : (o = Nt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4163
+ s[16]("title")), r ? o ? o.p(s, h) : (o = wt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4164
4164
  65536 && (i = /*$_*/
4165
- s[16]("description")), i ? a ? a.p(s, h) : (a = At(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4165
+ s[16]("description")), i ? a ? a.p(s, h) : (a = Nt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4166
4166
  },
4167
4167
  d(s) {
4168
4168
  s && j(t), o && o.d(), a && a.d();
4169
4169
  }
4170
4170
  };
4171
4171
  }
4172
- function Nt(e) {
4172
+ function wt(e) {
4173
4173
  let t, r = (
4174
4174
  /*$_*/
4175
4175
  e[16]("title") + ""
4176
4176
  ), n;
4177
4177
  return {
4178
4178
  c() {
4179
- t = A("h2"), n = _e(r), k(t, "class", "PlayerConsentsTitle");
4179
+ t = N("h2"), n = _e(r), E(t, "class", "PlayerConsentsTitle");
4180
4180
  },
4181
4181
  m(i, o) {
4182
4182
  L(i, t, o), S(t, n);
@@ -4191,14 +4191,14 @@ function Nt(e) {
4191
4191
  }
4192
4192
  };
4193
4193
  }
4194
- function At(e) {
4194
+ function Nt(e) {
4195
4195
  let t, r = (
4196
4196
  /*$_*/
4197
4197
  e[16]("description") + ""
4198
4198
  ), n;
4199
4199
  return {
4200
4200
  c() {
4201
- t = A("p"), n = _e(r), k(t, "class", "PlayerConsentsDescription");
4201
+ t = N("p"), n = _e(r), E(t, "class", "PlayerConsentsDescription");
4202
4202
  },
4203
4203
  m(i, o) {
4204
4204
  L(i, t, o), S(t, n);
@@ -4213,11 +4213,11 @@ function At(e) {
4213
4213
  }
4214
4214
  };
4215
4215
  }
4216
- function Ht(e) {
4216
+ function At(e) {
4217
4217
  let t;
4218
4218
  return {
4219
4219
  c() {
4220
- t = A("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-ltb9q9");
4220
+ t = N("sup"), t.textContent = "*", E(t, "class", "ConsentRequired svelte-1kygizb");
4221
4221
  },
4222
4222
  m(r, n) {
4223
4223
  L(r, t, n);
@@ -4227,7 +4227,7 @@ function Ht(e) {
4227
4227
  }
4228
4228
  };
4229
4229
  }
4230
- function Pt(e) {
4230
+ function Ht(e) {
4231
4231
  let t, r = (
4232
4232
  /*$_*/
4233
4233
  (e[16](`${/*consent*/
@@ -4236,7 +4236,7 @@ function Pt(e) {
4236
4236
  );
4237
4237
  return {
4238
4238
  c() {
4239
- t = A("p"), k(t, "class", "ConsentDescription svelte-ltb9q9");
4239
+ t = N("p"), E(t, "class", "ConsentDescription svelte-1kygizb");
4240
4240
  },
4241
4241
  m(n, i) {
4242
4242
  L(n, t, i), t.innerHTML = r;
@@ -4253,77 +4253,77 @@ function Pt(e) {
4253
4253
  }
4254
4254
  };
4255
4255
  }
4256
- function Bt(e) {
4256
+ function Pt(e) {
4257
4257
  let t, r, n, i, o = (
4258
4258
  /*$_*/
4259
4259
  (e[16](`${/*consent*/
4260
4260
  e[64].tagCode}__name`) || /*consent*/
4261
4261
  e[64].friendlyName) + ""
4262
- ), a, s, h, u, l, d, m, v, f, g, C, _ = (
4262
+ ), a, s, h, u, l, d, g, v, f, m, C, _ = (
4263
4263
  /*consent*/
4264
- e[64].mustAccept === !0 && Ht()
4264
+ e[64].mustAccept === !0 && At()
4265
4265
  ), b = (
4266
4266
  /*displayconsentdescription*/
4267
- e[4] === "true" && Pt(e)
4267
+ e[4] === "true" && Ht(e)
4268
4268
  );
4269
- function x(...P) {
4269
+ function x(...H) {
4270
4270
  return (
4271
4271
  /*input_handler*/
4272
4272
  e[29](
4273
4273
  /*consent*/
4274
4274
  e[64],
4275
- ...P
4275
+ ...H
4276
4276
  )
4277
4277
  );
4278
4278
  }
4279
4279
  return {
4280
4280
  c() {
4281
- t = A("div"), r = A("div"), n = A("h4"), i = new Ut(!1), a = q(), _ && _.c(), s = q(), b && b.c(), h = q(), u = A("label"), l = A("input"), v = q(), f = A("span"), i.a = a, k(n, "class", "ConsentName svelte-ltb9q9"), k(r, "class", "ConsentContent"), k(l, "type", "checkbox"), l.disabled = d = /*consent*/
4281
+ t = N("div"), r = N("div"), n = N("h4"), i = new Ut(!1), a = G(), _ && _.c(), s = G(), b && b.c(), h = G(), u = N("label"), l = N("input"), v = G(), f = N("span"), i.a = a, E(n, "class", "ConsentName svelte-1kygizb"), E(r, "class", "ConsentContent"), E(l, "type", "checkbox"), l.disabled = d = /*consent*/
4282
4282
  e[64].mustAccept === !0 && /*initialConsentsState*/
4283
4283
  e[12][
4284
4284
  /*consent*/
4285
4285
  e[64].tagCode
4286
- ] === !0, l.checked = m = /*consentsState*/
4286
+ ] === !0, l.checked = g = /*consentsState*/
4287
4287
  e[13][
4288
4288
  /*consent*/
4289
4289
  e[64].tagCode
4290
- ], k(l, "class", "svelte-ltb9q9"), k(f, "class", "Slider Round svelte-ltb9q9"), k(u, "class", "ToggleSwitch svelte-ltb9q9"), k(t, "class", "ConsentItem svelte-ltb9q9");
4290
+ ], E(l, "class", "svelte-1kygizb"), E(f, "class", "Slider Round svelte-1kygizb"), E(u, "class", "ToggleSwitch svelte-1kygizb"), E(t, "class", "ConsentItem svelte-1kygizb");
4291
4291
  },
4292
- m(P, E) {
4293
- L(P, t, E), S(t, r), S(r, n), i.m(o, n), S(n, a), _ && _.m(n, null), S(r, s), b && b.m(r, null), S(t, h), S(t, u), S(u, l), S(u, v), S(u, f), g || (C = me(l, "input", x), g = !0);
4292
+ m(H, k) {
4293
+ L(H, t, k), S(t, r), S(r, n), i.m(o, n), S(n, a), _ && _.m(n, null), S(r, s), b && b.m(r, null), S(t, h), S(t, u), S(u, l), S(u, v), S(u, f), m || (C = ge(l, "input", x), m = !0);
4294
4294
  },
4295
- p(P, E) {
4296
- e = P, E[0] & /*$_, playerConsents, consentsCategories*/
4295
+ p(H, k) {
4296
+ e = H, k[0] & /*$_, playerConsents, consentsCategories*/
4297
4297
  66304 && o !== (o = /*$_*/
4298
4298
  (e[16](`${/*consent*/
4299
4299
  e[64].tagCode}__name`) || /*consent*/
4300
4300
  e[64].friendlyName) + "") && i.p(o), /*consent*/
4301
- e[64].mustAccept === !0 ? _ || (_ = Ht(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4302
- e[4] === "true" ? b ? b.p(e, E) : (b = Pt(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4301
+ e[64].mustAccept === !0 ? _ || (_ = At(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4302
+ e[4] === "true" ? b ? b.p(e, k) : (b = Ht(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4303
4303
  4864 && d !== (d = /*consent*/
4304
4304
  e[64].mustAccept === !0 && /*initialConsentsState*/
4305
4305
  e[12][
4306
4306
  /*consent*/
4307
4307
  e[64].tagCode
4308
- ] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4309
- 8960 && m !== (m = /*consentsState*/
4308
+ ] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
4309
+ 8960 && g !== (g = /*consentsState*/
4310
4310
  e[13][
4311
4311
  /*consent*/
4312
4312
  e[64].tagCode
4313
- ]) && (l.checked = m);
4313
+ ]) && (l.checked = g);
4314
4314
  },
4315
- d(P) {
4316
- P && j(t), _ && _.d(), b && b.d(), g = !1, C();
4315
+ d(H) {
4316
+ H && j(t), _ && _.d(), b && b.d(), m = !1, C();
4317
4317
  }
4318
4318
  };
4319
4319
  }
4320
- function zt(e) {
4320
+ function Bt(e) {
4321
4321
  let t, r, n, i = (
4322
4322
  /*$_*/
4323
4323
  (e[16](`${/*category*/
4324
4324
  e[61].categoryTagCode}__category`) || /*category*/
4325
4325
  e[61].friendlyName) + ""
4326
- ), o, a, s, h, u, l, d, m, v;
4326
+ ), o, a, s, h, u, l, d, g, v;
4327
4327
  function f() {
4328
4328
  e[26].call(
4329
4329
  s,
@@ -4331,7 +4331,7 @@ function zt(e) {
4331
4331
  e[61]
4332
4332
  );
4333
4333
  }
4334
- function g() {
4334
+ function m() {
4335
4335
  return (
4336
4336
  /*change_handler*/
4337
4337
  e[27](
@@ -4355,55 +4355,55 @@ function zt(e) {
4355
4355
  e[9].filter(C)
4356
4356
  ), b = [];
4357
4357
  for (let x = 0; x < _.length; x += 1)
4358
- b[x] = Bt(Tt(e, _, x));
4358
+ b[x] = Pt(zt(e, _, x));
4359
4359
  return {
4360
4360
  c() {
4361
- 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");
4361
+ t = N("div"), r = N("div"), n = N("h3"), o = G(), a = N("label"), s = N("input"), h = G(), u = N("span"), l = G(), d = N("div");
4362
4362
  for (let x = 0; x < b.length; x += 1)
4363
4363
  b[x].c();
4364
- k(s, "type", "checkbox"), k(s, "class", "svelte-ltb9q9"), k(u, "class", "Slider Round svelte-ltb9q9"), k(a, "class", "ToggleSwitch Big svelte-ltb9q9"), k(r, "class", "AccordionHeader svelte-ltb9q9"), k(d, "class", "AccordionContent svelte-ltb9q9"), k(t, "class", "AccordionItem svelte-ltb9q9");
4364
+ E(s, "type", "checkbox"), E(s, "class", "svelte-1kygizb"), E(u, "class", "Slider Round svelte-1kygizb"), E(a, "class", "ToggleSwitch Big svelte-1kygizb"), E(r, "class", "AccordionHeader svelte-1kygizb"), E(d, "class", "AccordionContent svelte-1kygizb"), E(t, "class", "AccordionItem svelte-1kygizb");
4365
4365
  },
4366
- m(x, P) {
4367
- L(x, t, P), S(t, r), S(r, n), n.innerHTML = i, S(r, o), S(r, a), S(a, s), s.checked = /*categoryToggle*/
4366
+ m(x, H) {
4367
+ 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*/
4368
4368
  e[11][
4369
4369
  /*category*/
4370
4370
  e[61].categoryTagCode
4371
4371
  ], S(a, h), S(a, u), S(t, l), S(t, d);
4372
- for (let E = 0; E < b.length; E += 1)
4373
- b[E] && b[E].m(d, null);
4374
- m || (v = [
4375
- me(s, "change", f),
4376
- me(s, "change", g)
4377
- ], m = !0);
4372
+ for (let k = 0; k < b.length; k += 1)
4373
+ b[k] && b[k].m(d, null);
4374
+ g || (v = [
4375
+ ge(s, "change", f),
4376
+ ge(s, "change", m)
4377
+ ], g = !0);
4378
4378
  },
4379
- p(x, P) {
4380
- if (e = x, P[0] & /*$_, consentsCategories*/
4379
+ p(x, H) {
4380
+ if (e = x, H[0] & /*$_, consentsCategories*/
4381
4381
  65792 && i !== (i = /*$_*/
4382
4382
  (e[16](`${/*category*/
4383
4383
  e[61].categoryTagCode}__category`) || /*category*/
4384
- e[61].friendlyName) + "") && (n.innerHTML = i), P[0] & /*categoryToggle, consentsCategories*/
4384
+ e[61].friendlyName) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
4385
4385
  2304 && (s.checked = /*categoryToggle*/
4386
4386
  e[11][
4387
4387
  /*category*/
4388
4388
  e[61].categoryTagCode
4389
- ]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4389
+ ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4390
4390
  602896) {
4391
4391
  _ = $(
4392
4392
  /*playerConsents*/
4393
4393
  e[9].filter(C)
4394
4394
  );
4395
- let E;
4396
- for (E = 0; E < _.length; E += 1) {
4397
- const z = Tt(e, _, E);
4398
- b[E] ? b[E].p(z, P) : (b[E] = Bt(z), b[E].c(), b[E].m(d, null));
4395
+ let k;
4396
+ for (k = 0; k < _.length; k += 1) {
4397
+ const B = zt(e, _, k);
4398
+ b[k] ? b[k].p(B, H) : (b[k] = Pt(B), b[k].c(), b[k].m(d, null));
4399
4399
  }
4400
- for (; E < b.length; E += 1)
4401
- b[E].d(1);
4400
+ for (; k < b.length; k += 1)
4401
+ b[k].d(1);
4402
4402
  b.length = _.length;
4403
4403
  }
4404
4404
  },
4405
4405
  d(x) {
4406
- x && j(t), Ke(b, x), m = !1, It(v);
4406
+ x && j(t), Ke(b, x), g = !1, It(v);
4407
4407
  }
4408
4408
  };
4409
4409
  }
@@ -4411,10 +4411,10 @@ function Ot(e) {
4411
4411
  let t, r, n, i, o;
4412
4412
  return {
4413
4413
  c() {
4414
- t = A("div"), r = A("circle-exclamation-icon"), n = q(), i = A("strong"), o = _e(
4414
+ t = N("div"), r = N("circle-exclamation-icon"), n = G(), i = N("strong"), o = _e(
4415
4415
  /*errorMessage*/
4416
4416
  e[6]
4417
- ), Q(r, "class", "svelte-ltb9q9"), k(i, "class", "ErrorMessage svelte-ltb9q9"), k(t, "class", "ConsentErrorContainer svelte-ltb9q9");
4417
+ ), Q(r, "class", "svelte-1kygizb"), E(i, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ConsentErrorContainer svelte-1kygizb");
4418
4418
  },
4419
4419
  m(a, s) {
4420
4420
  L(a, t, s), S(t, r), S(t, n), S(t, i), S(i, o);
@@ -4432,24 +4432,24 @@ function Ot(e) {
4432
4432
  }
4433
4433
  };
4434
4434
  }
4435
- function Vi(e) {
4435
+ function Xi(e) {
4436
4436
  let t, r;
4437
4437
  function n(a, s) {
4438
4438
  if (
4439
4439
  /*isLoading*/
4440
4440
  a[10]
4441
4441
  )
4442
- return Fi;
4442
+ return Vi;
4443
4443
  if (
4444
4444
  /*fatalError*/
4445
4445
  a[7]
4446
4446
  )
4447
- return Gi;
4447
+ return Fi;
4448
4448
  if (
4449
4449
  /*session*/
4450
4450
  a[0]
4451
4451
  )
4452
- return qi;
4452
+ return Gi;
4453
4453
  if (!/*session*/
4454
4454
  a[0])
4455
4455
  return Di;
@@ -4457,7 +4457,7 @@ function Vi(e) {
4457
4457
  let i = n(e), o = i && i(e);
4458
4458
  return {
4459
4459
  c() {
4460
- t = A("div"), r = A("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-ltb9q9"), k(t, "class", Fr("") + " svelte-ltb9q9");
4460
+ t = N("div"), r = N("div"), o && o.c(), E(r, "class", "ConsentsContainer svelte-1kygizb"), E(t, "class", Vr("") + " svelte-1kygizb");
4461
4461
  },
4462
4462
  m(a, s) {
4463
4463
  L(a, t, s), S(t, r), o && o.m(r, null), e[32](r);
@@ -4465,64 +4465,64 @@ function Vi(e) {
4465
4465
  p(a, s) {
4466
4466
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
4467
4467
  },
4468
- i: X,
4469
- o: X,
4468
+ i: q,
4469
+ o: q,
4470
4470
  d(a) {
4471
4471
  a && j(t), o && o.d(), e[32](null);
4472
4472
  }
4473
4473
  };
4474
4474
  }
4475
- function Xi(e, t, r) {
4475
+ function qi(e, t, r) {
4476
4476
  let n;
4477
4477
  Dr(e, Ii, (c) => r(16, n = c));
4478
- 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, g = !1, C = !1, _ = "", b = "", x = "", P = "", E = [], z = [], O = [], se = !0, ve = !0, G = {}, ye = {}, Z = {}, U = {}, le, Ee, R = {
4478
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: g = "" } = t, { modalconsents: v = "false" } = t, f, m = !1, C = !1, _ = "", b = "", x = "", H = "", k = [], B = [], O = [], se = !0, ve = !0, F = {}, ye = {}, Z = {}, U = {}, le, ke, R = {
4479
4479
  none: { key: "0", value: "None" },
4480
4480
  accepted: { key: "1", value: "Accepted" },
4481
4481
  expired: { key: "2", value: "Expired" },
4482
4482
  denied: { key: "3", value: "Denied" },
4483
4483
  suspended: { key: "4", value: "Suspended" }
4484
- }, ke = !1;
4484
+ }, Ee = !1;
4485
4485
  Object.keys(Ct).forEach((c) => {
4486
- kt(c, Ct[c]);
4486
+ Et(c, Ct[c]);
4487
4487
  });
4488
4488
  const hr = () => {
4489
4489
  ji(l);
4490
4490
  }, dr = () => {
4491
- let c = new URL(m);
4491
+ let c = new URL(g);
4492
4492
  fetch(c.href).then((p) => p.json()).then((p) => {
4493
- Object.keys(p).forEach((M) => {
4494
- kt(M, p[M]);
4493
+ Object.keys(p).forEach((T) => {
4494
+ Et(T, p[T]);
4495
4495
  });
4496
4496
  }).catch((p) => {
4497
4497
  console.log(p);
4498
4498
  });
4499
- }, mr = () => {
4499
+ }, gr = () => {
4500
4500
  i && (_ = i, C = !0), o && (b = o);
4501
4501
  }, Ce = (c, p = !1) => {
4502
- p ? r(7, P = c) : (vr(), r(6, x = c));
4503
- }, ce = (c, p, M, y = !1) => he(this, null, function* () {
4502
+ p ? r(7, H = c) : (vr(), r(6, x = c));
4503
+ }, ce = (c, p, T, y = !1) => he(this, null, function* () {
4504
4504
  try {
4505
- const T = yield fetch(c, M);
4506
- if (!T.ok)
4505
+ const z = yield fetch(c, T);
4506
+ if (!z.ok)
4507
4507
  throw new Error(n(p));
4508
- const I = yield T.json();
4509
- return C ? I : I.filter((F) => F.showOnRegister === !0);
4510
- } catch (T) {
4508
+ const I = yield z.json();
4509
+ return C ? I : I.filter((V) => V.showOnRegister === !0);
4510
+ } catch (z) {
4511
4511
  throw Ce(
4512
- T instanceof TypeError ? n(p) : T.message,
4512
+ z instanceof TypeError ? n(p) : z.message,
4513
4513
  y
4514
- ), T;
4514
+ ), z;
4515
4515
  }
4516
- }), gr = () => he(this, null, function* () {
4516
+ }), mr = () => he(this, null, function* () {
4517
4517
  try {
4518
4518
  let c = [], p = [];
4519
- if (C ? [c, p] = yield tt() : c = yield tt(), r(10, se = !1), z = [...c], r(8, E = fr(z).sort((M, y) => M.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = _r(E)), ye = W({}, G), r(9, O = [...p]), z.forEach((M) => {
4520
- let y = O.find((T) => T.tagCode === M.tagCode);
4521
- y || (y = at(W({}, M), {
4519
+ if (C ? [c, p] = yield tt() : c = yield tt(), r(10, se = !1), B = [...c], r(8, k = fr(B).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, F = _r(k)), ye = W({}, F), r(9, O = [...p]), B.forEach((T) => {
4520
+ let y = O.find((z) => z.tagCode === T.tagCode);
4521
+ y || (y = at(W({}, T), {
4522
4522
  status: R.denied.value
4523
- }), O.push(y)), y.description = M.description, y.orderNumber = M.orderNumber;
4523
+ }), O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
4524
4524
  }), v === "true") {
4525
- if (r(9, O = O.filter((M) => M.status === R.expired.value)), O.length !== 0)
4525
+ if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
4526
4526
  return;
4527
4527
  Ce(n("wrongModalConfig"), !0);
4528
4528
  }
@@ -4549,28 +4549,28 @@ function Xi(e, t, r) {
4549
4549
  })
4550
4550
  ]);
4551
4551
  }), pr = () => {
4552
- ke = !1;
4552
+ Ee = !1;
4553
4553
  const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
4554
4554
  "Content-Type": "application/json",
4555
4555
  Accept: "application/json"
4556
- }, M = { method: "GET", headers: p };
4557
- fetch(c.href, M).then((y) => y.ok ? y.json() : (ke = !0, y.json().then((T) => (console.error(T), Se(T))))).then((y) => {
4558
- if (!ke) {
4559
- if (z = y, localStorage.getItem("playerConsents")) {
4556
+ }, T = { method: "GET", headers: p };
4557
+ fetch(c.href, T).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((z) => (console.error(z), Se(z))))).then((y) => {
4558
+ if (!Ee) {
4559
+ if (B = y, localStorage.getItem("playerConsents")) {
4560
4560
  try {
4561
4561
  r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
4562
- } catch (T) {
4563
- return console.error(T), Se(T);
4562
+ } catch (z) {
4563
+ return console.error(z), Se(z);
4564
4564
  }
4565
4565
  return;
4566
4566
  }
4567
- return r(9, O = z.map((T) => ({
4568
- id: T.id,
4567
+ return r(9, O = B.map((z) => ({
4568
+ id: z.id,
4569
4569
  status: R.denied.key,
4570
- friendlyName: T.friendlyName,
4571
- tagCode: T.tagCode,
4570
+ friendlyName: z.friendlyName,
4571
+ tagCode: z.tagCode,
4572
4572
  selected: null,
4573
- mustAccept: T.mustAccept
4573
+ mustAccept: z.mustAccept
4574
4574
  }))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
4575
4575
  }
4576
4576
  }).catch((y) => (console.error(y), Se(y))).finally(() => {
@@ -4578,17 +4578,17 @@ function Xi(e, t, r) {
4578
4578
  });
4579
4579
  }, fr = (c) => {
4580
4580
  const p = /* @__PURE__ */ new Map();
4581
- return c.forEach((M) => {
4582
- p.has(M.category.categoryTagCode) || p.set(M.category.categoryTagCode, M.category);
4581
+ return c.forEach((T) => {
4582
+ p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
4583
4583
  }), Array.from(p.values());
4584
4584
  }, _r = (c) => {
4585
4585
  const p = localStorage.getItem("categoryToggle" + b);
4586
4586
  if (p === null) {
4587
- const M = c.reduce(
4588
- (y, T) => (y[T.categoryTagCode] = !1, y),
4587
+ const T = c.reduce(
4588
+ (y, z) => (y[z.categoryTagCode] = !1, y),
4589
4589
  {}
4590
4590
  );
4591
- return localStorage.setItem("categoryToggle" + b, JSON.stringify(M)), M;
4591
+ return localStorage.setItem("categoryToggle" + b, JSON.stringify(T)), T;
4592
4592
  } else
4593
4593
  return JSON.parse(p);
4594
4594
  }, br = () => {
@@ -4596,15 +4596,15 @@ function Xi(e, t, r) {
4596
4596
  r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
4597
4597
  }), r(13, U = W({}, Z));
4598
4598
  }, vr = () => {
4599
- r(13, U = W({}, Z)), r(11, G = W({}, ye));
4599
+ r(13, U = W({}, Z)), r(11, F = W({}, ye));
4600
4600
  }, yr = () => he(this, null, function* () {
4601
4601
  if (!ve)
4602
4602
  return;
4603
4603
  ve = !1;
4604
4604
  const c = [], p = [];
4605
4605
  if (Object.keys(U).forEach((y) => {
4606
- const T = O.find((I) => I.tagCode === y);
4607
- U[y] !== Z[y] && (T ? c.push({
4606
+ const z = O.find((I) => I.tagCode === y);
4607
+ U[y] !== Z[y] && (z ? c.push({
4608
4608
  tagCode: y,
4609
4609
  status: U[y] ? R.accepted.value : R.denied.value
4610
4610
  }) : p.push({
@@ -4612,7 +4612,7 @@ function Xi(e, t, r) {
4612
4612
  status: U[y] ? R.accepted.value : R.denied.value
4613
4613
  }));
4614
4614
  }), !C) {
4615
- localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), ye = W({}, G), window.postMessage(
4615
+ localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), ye = W({}, F), window.postMessage(
4616
4616
  {
4617
4617
  type: "NewPlayerConsentData",
4618
4618
  data: JSON.stringify(p)
@@ -4621,10 +4621,10 @@ function Xi(e, t, r) {
4621
4621
  ), ve = !0;
4622
4622
  return;
4623
4623
  }
4624
- const M = new URL(`${a}/api/v1/gm/user-consents/${b}`);
4624
+ const T = new URL(`${a}/api/v1/gm/user-consents/${b}`);
4625
4625
  try {
4626
4626
  const y = yield Promise.allSettled([
4627
- p.length > 0 && ce(M.href, "updateConsentsError", {
4627
+ p.length > 0 && ce(T.href, "updateConsentsError", {
4628
4628
  method: "POST",
4629
4629
  headers: {
4630
4630
  "X-SessionId": _,
@@ -4632,7 +4632,7 @@ function Xi(e, t, r) {
4632
4632
  },
4633
4633
  body: JSON.stringify({ userConsents: p })
4634
4634
  }),
4635
- c.length > 0 && ce(M.href, "updateConsentsError", {
4635
+ c.length > 0 && ce(T.href, "updateConsentsError", {
4636
4636
  method: "PATCH",
4637
4637
  headers: {
4638
4638
  "X-SessionId": _,
@@ -4641,12 +4641,12 @@ function Xi(e, t, r) {
4641
4641
  body: JSON.stringify({ userConsents: c })
4642
4642
  })
4643
4643
  ]);
4644
- y.forEach((T, I) => {
4645
- if (T.status === "rejected" || T.value.ok === !1) {
4646
- const F = I < p.length ? p[I] : c[I - p.length];
4647
- r(13, U[F.tagCode] = Z[F.tagCode], U);
4644
+ y.forEach((z, I) => {
4645
+ if (z.status === "rejected" || z.value.ok === !1) {
4646
+ const V = I < p.length ? p[I] : c[I - p.length];
4647
+ r(13, U[V.tagCode] = Z[V.tagCode], U);
4648
4648
  }
4649
- }), y.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), ye = W({}, G), window.postMessage(
4649
+ }), y.every((z) => z.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), ye = W({}, F), window.postMessage(
4650
4650
  {
4651
4651
  type: "PlayerConsentUpdated",
4652
4652
  success: !0
@@ -4664,56 +4664,56 @@ function Xi(e, t, r) {
4664
4664
  } finally {
4665
4665
  ve = !0, r(14, le = !1);
4666
4666
  }
4667
- }), Er = (c) => {
4668
- const p = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
4667
+ }), kr = (c) => {
4668
+ const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
4669
4669
  "Content-Type": "application/json",
4670
4670
  Accept: "application/json"
4671
4671
  }, y = {
4672
4672
  playerConsents: O,
4673
4673
  registrationId: c
4674
- }, T = {
4674
+ }, z = {
4675
4675
  method: "POST",
4676
4676
  body: JSON.stringify(y),
4677
- headers: M
4677
+ headers: T
4678
4678
  };
4679
- fetch(p.href, T).then((I) => {
4680
- I.ok || (ke = !0);
4679
+ fetch(p.href, z).then((I) => {
4680
+ I.ok || (Ee = !0);
4681
4681
  }).catch((I) => (console.error(I), Se(I))).finally(() => {
4682
4682
  r(10, se = !1);
4683
4683
  });
4684
4684
  }, rt = (c) => {
4685
4685
  O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
4686
- p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = G[c] || !1, U);
4686
+ p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = F[c] || !1, U);
4687
4687
  }), r(14, le = nt());
4688
- }, Oe = (c, p, M) => {
4689
- const y = O.find((F) => F.id === M), T = p ? "value" : "key";
4688
+ }, Oe = (c, p, T) => {
4689
+ const y = O.find((V) => V.id === T), z = p ? "value" : "key";
4690
4690
  let I;
4691
4691
  if (!p && y.mustAccept) {
4692
- const F = Array.from(Ee.children);
4693
- for (const ue of F)
4694
- if (I = Array.from(ue.children).find((Pr) => Pr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
4692
+ const V = Array.from(ke.children);
4693
+ for (const ue of V)
4694
+ if (I = Array.from(ue.children).find((Hr) => Hr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
4695
4695
  break;
4696
4696
  }
4697
- if (y.status === R.accepted[T] ? (y.status = R.denied[T], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[T], I && (I.innerHTML = "")), p) {
4697
+ if (y.status === R.accepted[z] ? (y.status = R.denied[z], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[z], I && (I.innerHTML = "")), p) {
4698
4698
  r(13, U[y.tagCode] = !U[y.tagCode], U);
4699
- const F = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
4700
- r(11, G[p.categoryTagCode] = F, G);
4699
+ const V = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
4700
+ r(11, F[p.categoryTagCode] = V, F);
4701
4701
  }
4702
- kr();
4703
- }, kr = ((c, p) => {
4704
- let M;
4702
+ Er();
4703
+ }, Er = ((c, p) => {
4704
+ let T;
4705
4705
  return function(...y) {
4706
- const T = this;
4707
- clearTimeout(M), M = setTimeout(
4706
+ const z = this;
4707
+ clearTimeout(T), T = setTimeout(
4708
4708
  () => {
4709
- c.apply(T, y);
4709
+ c.apply(z, y);
4710
4710
  },
4711
4711
  p
4712
4712
  );
4713
4713
  };
4714
4714
  })(() => Cr(), 500), Cr = () => {
4715
4715
  r(14, le = nt()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
4716
- }, nt = () => O.filter((p) => O.some((M) => p.tagCode === M.tagCode && M.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Se = (c) => {
4716
+ }, nt = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Se = (c) => {
4717
4717
  window.postMessage(
4718
4718
  {
4719
4719
  type: "WidgetNotification",
@@ -4722,12 +4722,12 @@ function Xi(e, t, r) {
4722
4722
  window.location.href
4723
4723
  );
4724
4724
  }, Sr = (c) => {
4725
- c.data && c.data.type !== "setUpPlayerConsents" || Er(c.data.registerid);
4725
+ c.data && c.data.type !== "setUpPlayerConsents" || kr(c.data.registerid);
4726
4726
  };
4727
- qr(() => {
4727
+ Gr(() => {
4728
4728
  setTimeout(
4729
4729
  () => {
4730
- r(25, g = !0);
4730
+ r(25, m = !0);
4731
4731
  },
4732
4732
  50
4733
4733
  );
@@ -4737,30 +4737,30 @@ function Xi(e, t, r) {
4737
4737
  };
4738
4738
  });
4739
4739
  function xr(c) {
4740
- G[c.categoryTagCode] = this.checked, r(11, G);
4740
+ F[c.categoryTagCode] = this.checked, r(11, F);
4741
4741
  }
4742
- const Tr = (c) => rt(c.categoryTagCode), Mr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, wr = (c, p) => Oe(p, c.category, c.id), Nr = (c, p) => Oe(p, null, c.id);
4743
- function Ar(c) {
4742
+ const zr = (c) => rt(c.categoryTagCode), Tr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Mr = (c, p) => Oe(p, c.category, c.id), wr = (c, p) => Oe(p, null, c.id);
4743
+ function Nr(c) {
4744
4744
  lt[c ? "unshift" : "push"](() => {
4745
- Ee = c, r(15, Ee);
4745
+ ke = c, r(15, ke);
4746
4746
  });
4747
4747
  }
4748
- function Hr(c) {
4748
+ function Ar(c) {
4749
4749
  lt[c ? "unshift" : "push"](() => {
4750
4750
  f = c, r(5, f);
4751
4751
  });
4752
4752
  }
4753
4753
  return e.$$set = (c) => {
4754
- "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);
4754
+ "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, g = c.translationurl), "modalconsents" in c && r(24, v = c.modalconsents);
4755
4755
  }, e.$$.update = () => {
4756
4756
  e.$$.dirty[0] & /*isMounted, session*/
4757
- 33554433 && g && i && (mr(), gr()), e.$$.dirty[0] & /*session*/
4757
+ 33554433 && m && i && (gr(), mr()), e.$$.dirty[0] & /*session*/
4758
4758
  1 && (i || pr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4759
- 34 && s && f && Vr(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4760
- 36 && h && f && Xr(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4759
+ 34 && s && f && Xr(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4760
+ 36 && h && f && qr(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4761
4761
  40 && f && Wr(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
4762
4762
  4194304 && l && hr(), e.$$.dirty[0] & /*translationurl*/
4763
- 8388608 && m && dr();
4763
+ 8388608 && g && dr();
4764
4764
  }, [
4765
4765
  i,
4766
4766
  s,
@@ -4769,15 +4769,15 @@ function Xi(e, t, r) {
4769
4769
  d,
4770
4770
  f,
4771
4771
  x,
4772
- P,
4773
- E,
4772
+ H,
4773
+ k,
4774
4774
  O,
4775
4775
  se,
4776
- G,
4776
+ F,
4777
4777
  Z,
4778
4778
  U,
4779
4779
  le,
4780
- Ee,
4780
+ ke,
4781
4781
  n,
4782
4782
  yr,
4783
4783
  rt,
@@ -4785,16 +4785,16 @@ function Xi(e, t, r) {
4785
4785
  o,
4786
4786
  a,
4787
4787
  l,
4788
- m,
4789
- v,
4790
4788
  g,
4789
+ v,
4790
+ m,
4791
4791
  xr,
4792
+ zr,
4792
4793
  Tr,
4793
4794
  Mr,
4794
4795
  wr,
4795
4796
  Nr,
4796
- Ar,
4797
- Hr
4797
+ Ar
4798
4798
  ];
4799
4799
  }
4800
4800
  class Wi extends Lt {
@@ -4802,8 +4802,8 @@ class Wi extends Lt {
4802
4802
  super(), Rt(
4803
4803
  this,
4804
4804
  t,
4805
+ qi,
4805
4806
  Xi,
4806
- Vi,
4807
4807
  Ye,
4808
4808
  {
4809
4809
  session: 0,
@@ -4825,61 +4825,61 @@ class Wi extends Lt {
4825
4825
  return this.$$.ctx[0];
4826
4826
  }
4827
4827
  set session(t) {
4828
- this.$$set({ session: t }), V();
4828
+ this.$$set({ session: t }), X();
4829
4829
  }
4830
4830
  get userid() {
4831
4831
  return this.$$.ctx[20];
4832
4832
  }
4833
4833
  set userid(t) {
4834
- this.$$set({ userid: t }), V();
4834
+ this.$$set({ userid: t }), X();
4835
4835
  }
4836
4836
  get endpoint() {
4837
4837
  return this.$$.ctx[21];
4838
4838
  }
4839
4839
  set endpoint(t) {
4840
- this.$$set({ endpoint: t }), V();
4840
+ this.$$set({ endpoint: t }), X();
4841
4841
  }
4842
4842
  get clientstyling() {
4843
4843
  return this.$$.ctx[1];
4844
4844
  }
4845
4845
  set clientstyling(t) {
4846
- this.$$set({ clientstyling: t }), V();
4846
+ this.$$set({ clientstyling: t }), X();
4847
4847
  }
4848
4848
  get clientstylingurl() {
4849
4849
  return this.$$.ctx[2];
4850
4850
  }
4851
4851
  set clientstylingurl(t) {
4852
- this.$$set({ clientstylingurl: t }), V();
4852
+ this.$$set({ clientstylingurl: t }), X();
4853
4853
  }
4854
4854
  get mbsource() {
4855
4855
  return this.$$.ctx[3];
4856
4856
  }
4857
4857
  set mbsource(t) {
4858
- this.$$set({ mbsource: t }), V();
4858
+ this.$$set({ mbsource: t }), X();
4859
4859
  }
4860
4860
  get lang() {
4861
4861
  return this.$$.ctx[22];
4862
4862
  }
4863
4863
  set lang(t) {
4864
- this.$$set({ lang: t }), V();
4864
+ this.$$set({ lang: t }), X();
4865
4865
  }
4866
4866
  get displayconsentdescription() {
4867
4867
  return this.$$.ctx[4];
4868
4868
  }
4869
4869
  set displayconsentdescription(t) {
4870
- this.$$set({ displayconsentdescription: t }), V();
4870
+ this.$$set({ displayconsentdescription: t }), X();
4871
4871
  }
4872
4872
  get translationurl() {
4873
4873
  return this.$$.ctx[23];
4874
4874
  }
4875
4875
  set translationurl(t) {
4876
- this.$$set({ translationurl: t }), V();
4876
+ this.$$set({ translationurl: t }), X();
4877
4877
  }
4878
4878
  get modalconsents() {
4879
4879
  return this.$$.ctx[24];
4880
4880
  }
4881
4881
  set modalconsents(t) {
4882
- this.$$set({ modalconsents: t }), V();
4882
+ this.$$set({ modalconsents: t }), X();
4883
4883
  }
4884
4884
  }
4885
4885
  jt(Wi, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);