@everymatrix/player-consents 1.90.23 → 1.90.25

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 en = Object.defineProperty, tn = Object.defineProperties;
2
- var rn = Object.getOwnPropertyDescriptors;
1
+ var tn = Object.defineProperty, rn = Object.defineProperties;
2
+ var nn = Object.getOwnPropertyDescriptors;
3
3
  var St = Object.getOwnPropertySymbols;
4
- var nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable;
5
- var Ze = (e, t, r) => t in e ? en(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
4
+ var on = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
5
+ var Ze = (e, t, r) => t in e ? tn(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
- nn.call(t, r) && Ze(e, r, t[r]);
7
+ on.call(t, r) && Ze(e, r, t[r]);
8
8
  if (St)
9
9
  for (var r of St(t))
10
- on.call(t, r) && Ze(e, r, t[r]);
10
+ an.call(t, r) && Ze(e, r, t[r]);
11
11
  return e;
12
- }, Je = (e, t) => tn(e, rn(t));
12
+ }, Je = (e, t) => rn(e, nn(t));
13
13
  var U = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var re = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (c) => {
@@ -44,7 +44,7 @@ function gt(e) {
44
44
  function _t(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function an(e) {
47
+ function sn(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
50
  function tr(e, ...t) {
@@ -56,20 +56,20 @@ function tr(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function sn(e, t, r) {
59
+ function ln(e, t, r) {
60
60
  e.$$.on_destroy.push(tr(t, r));
61
61
  }
62
62
  function x(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function ln(e, t, r) {
66
- const n = cn(e);
65
+ function cn(e, t, r) {
66
+ const n = un(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = w("style");
69
- i.id = t, i.textContent = r, un(n, i);
68
+ const i = T("style");
69
+ i.id = t, i.textContent = r, hn(n, i);
70
70
  }
71
71
  }
72
- function cn(e) {
72
+ function un(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,7 +79,7 @@ function cn(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function un(e, t) {
82
+ function hn(e, t) {
83
83
  return x(
84
84
  /** @type {Document} */
85
85
  e.head || e,
@@ -96,7 +96,7 @@ function yt(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
99
- function w(e) {
99
+ function T(e) {
100
100
  return document.createElement(e);
101
101
  }
102
102
  function it(e) {
@@ -108,7 +108,7 @@ function ee(e) {
108
108
  function F() {
109
109
  return ee(" ");
110
110
  }
111
- function hn() {
111
+ function dn() {
112
112
  return ee("");
113
113
  }
114
114
  function Ce(e, t, r, n) {
@@ -121,7 +121,7 @@ function K(e, t, r) {
121
121
  const n = t.toLowerCase();
122
122
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
123
123
  }
124
- function dn(e) {
124
+ function mn(e) {
125
125
  return Array.from(e.childNodes);
126
126
  }
127
127
  function Te(e, t) {
@@ -162,7 +162,7 @@ class rr {
162
162
  this.e || (this.is_svg ? this.e = it(
163
163
  /** @type {keyof SVGElementTagNameMap} */
164
164
  r.nodeName
165
- ) : this.e = w(
165
+ ) : this.e = T(
166
166
  /** @type {keyof HTMLElementTagNameMap} */
167
167
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
168
168
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -198,7 +198,7 @@ class rr {
198
198
  this.n.forEach(O);
199
199
  }
200
200
  }
201
- function mn(e) {
201
+ function fn(e) {
202
202
  const t = {};
203
203
  return e.childNodes.forEach(
204
204
  /** @param {Element} node */
@@ -211,20 +211,20 @@ let Se;
211
211
  function Ee(e) {
212
212
  Se = e;
213
213
  }
214
- function fn() {
214
+ function pn() {
215
215
  if (!Se)
216
216
  throw new Error("Function called outside component initialization");
217
217
  return Se;
218
218
  }
219
- function pn(e) {
220
- fn().$$.on_mount.push(e);
219
+ function gn(e) {
220
+ pn().$$.on_mount.push(e);
221
221
  }
222
222
  const oe = [], Re = [];
223
223
  let se = [];
224
- const wt = [], gn = /* @__PURE__ */ Promise.resolve();
224
+ const wt = [], _n = /* @__PURE__ */ Promise.resolve();
225
225
  let ot = !1;
226
- function _n() {
227
- ot || (ot = !0, gn.then(X));
226
+ function yn() {
227
+ ot || (ot = !0, _n.then(X));
228
228
  }
229
229
  function at(e) {
230
230
  se.push(e);
@@ -239,7 +239,7 @@ function X() {
239
239
  try {
240
240
  for (; ne < oe.length; ) {
241
241
  const t = oe[ne];
242
- ne++, Ee(t), yn(t.$$);
242
+ ne++, Ee(t), vn(t.$$);
243
243
  }
244
244
  } catch (t) {
245
245
  throw oe.length = 0, ne = 0, t;
@@ -256,37 +256,37 @@ function X() {
256
256
  wt.pop()();
257
257
  ot = !1, Qe.clear(), Ee(e);
258
258
  }
259
- function yn(e) {
259
+ function vn(e) {
260
260
  if (e.fragment !== null) {
261
261
  e.update(), me(e.before_update);
262
262
  const t = e.dirty;
263
263
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
264
264
  }
265
265
  }
266
- function vn(e) {
266
+ function bn(e) {
267
267
  const t = [], r = [];
268
268
  se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
269
269
  }
270
- const bn = /* @__PURE__ */ new Set();
271
- function kn(e, t) {
272
- e && e.i && (bn.delete(e), e.i(t));
270
+ const kn = /* @__PURE__ */ new Set();
271
+ function En(e, t) {
272
+ e && e.i && (kn.delete(e), e.i(t));
273
273
  }
274
274
  function le(e) {
275
275
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
276
276
  }
277
- function En(e, t, r) {
277
+ function Cn(e, t, r) {
278
278
  const { fragment: n, after_update: i } = e.$$;
279
279
  n && n.m(t, r), at(() => {
280
280
  const o = e.$$.on_mount.map(er).filter(gt);
281
281
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
282
282
  }), i.forEach(at);
283
283
  }
284
- function Cn(e, t) {
284
+ function Sn(e, t) {
285
285
  const r = e.$$;
286
- r.fragment !== null && (vn(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
286
+ r.fragment !== null && (bn(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
287
287
  }
288
- function Sn(e, t) {
289
- e.$$.dirty[0] === -1 && (oe.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
288
+ function xn(e, t) {
289
+ e.$$.dirty[0] === -1 && (oe.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
290
290
  }
291
291
  function nr(e, t, r, n, i, o, a = null, s = [-1]) {
292
292
  const c = Se;
@@ -316,14 +316,14 @@ function nr(e, t, r, n, i, o, a = null, s = [-1]) {
316
316
  let u = !1;
317
317
  if (l.ctx = r ? r(e, t.props || {}, (d, m, ...y) => {
318
318
  const g = y.length ? y[0] : m;
319
- return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), u && Sn(e, d)), m;
319
+ return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), u && xn(e, d)), m;
320
320
  }) : [], l.update(), u = !0, me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
321
321
  if (t.hydrate) {
322
- const d = dn(t.target);
322
+ const d = mn(t.target);
323
323
  l.fragment && l.fragment.l(d), d.forEach(O);
324
324
  } else
325
325
  l.fragment && l.fragment.c();
326
- t.intro && kn(e.$$.fragment), En(e, t.target, t.anchor), X();
326
+ t.intro && En(e.$$.fragment), Cn(e, t.target, t.anchor), X();
327
327
  }
328
328
  Ee(c);
329
329
  }
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
372
372
  let a;
373
373
  return {
374
374
  c: function() {
375
- a = w("slot"), o !== "default" && k(a, "name", o);
375
+ a = T("slot"), o !== "default" && k(a, "name", o);
376
376
  },
377
377
  /**
378
378
  * @param {HTMLElement} target
@@ -389,7 +389,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
389
389
  };
390
390
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
391
391
  return;
392
- const r = {}, n = mn(this);
392
+ const r = {}, n = fn(this);
393
393
  for (const o of this.$$s)
394
394
  o in n && (r[o] = [t(o)]);
395
395
  for (const o of this.attributes) {
@@ -530,7 +530,7 @@ class ar {
530
530
  }
531
531
  /** @returns {void} */
532
532
  $destroy() {
533
- Cn(this, 1), this.$destroy = $;
533
+ Sn(this, 1), this.$destroy = $;
534
534
  }
535
535
  /**
536
536
  * @template {Extract<keyof Events, string>} K
@@ -552,19 +552,19 @@ class ar {
552
552
  * @returns {void}
553
553
  */
554
554
  $set(t) {
555
- this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
555
+ this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
556
556
  }
557
557
  }
558
- const xn = "4";
559
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
558
+ const wn = "4";
559
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
560
560
  const ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
561
- function wn(e, t) {
561
+ function Tn(e, t) {
562
562
  if (e) {
563
563
  const r = document.createElement("style");
564
564
  r.innerHTML = t, e.appendChild(r);
565
565
  }
566
566
  }
567
- function Tn(e, t) {
567
+ function Mn(e, t) {
568
568
  if (!e || !t)
569
569
  return;
570
570
  const r = new URL(t);
@@ -575,12 +575,12 @@ function Tn(e, t) {
575
575
  console.error("There was an error while trying to load client styling from URL", n);
576
576
  });
577
577
  }
578
- function Mn(e, t, r, n = !1) {
578
+ function Nn(e, t, r, n = !1) {
579
579
  if (!window.emMessageBus)
580
580
  return;
581
581
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
582
- return r = Nn(e, t), r;
583
- window[ae] || (window[ae] = {}), r = An(e, t);
582
+ return r = An(e, t), r;
583
+ window[ae] || (window[ae] = {}), r = Hn(e, t);
584
584
  const o = r.unsubscribe.bind(r), a = () => {
585
585
  if (window[ae][t]) {
586
586
  const s = window[ae][t];
@@ -590,13 +590,13 @@ function Mn(e, t, r, n = !1) {
590
590
  };
591
591
  return r.unsubscribe = a, r;
592
592
  }
593
- function Nn(e, t) {
593
+ function An(e, t) {
594
594
  const r = document.createElement("style");
595
595
  return window.emMessageBus.subscribe(t, (n) => {
596
596
  e && (r.innerHTML = n, e.appendChild(r));
597
597
  });
598
598
  }
599
- function An(e, t) {
599
+ function Hn(e, t) {
600
600
  return window.emMessageBus.subscribe(t, (r) => {
601
601
  if (!e)
602
602
  return;
@@ -611,7 +611,7 @@ function An(e, t) {
611
611
  });
612
612
  }
613
613
  const ie = [];
614
- function Hn(e, t) {
614
+ function Pn(e, t) {
615
615
  return {
616
616
  subscribe: Fe(e, t).subscribe
617
617
  };
@@ -647,7 +647,7 @@ function fe(e, t, r) {
647
647
  if (!i.every(Boolean))
648
648
  throw new Error("derived() expects stores as input, got a falsy value");
649
649
  const o = t.length < 2;
650
- return Hn(r, (a, s) => {
650
+ return Pn(r, (a, s) => {
651
651
  let c = !1;
652
652
  const l = [];
653
653
  let u = 0, d = $;
@@ -658,13 +658,13 @@ function fe(e, t, r) {
658
658
  const g = t(n ? l[0] : l, a, s);
659
659
  o ? a(g) : d = gt(g) ? g : $;
660
660
  }, y = i.map(
661
- (g, f) => tr(
661
+ (g, p) => tr(
662
662
  g,
663
663
  (S) => {
664
- l[f] = S, u &= ~(1 << f), c && m();
664
+ l[p] = S, u &= ~(1 << p), c && m();
665
665
  },
666
666
  () => {
667
- u |= 1 << f;
667
+ u |= 1 << p;
668
668
  }
669
669
  )
670
670
  );
@@ -673,47 +673,47 @@ function fe(e, t, r) {
673
673
  };
674
674
  });
675
675
  }
676
- function Pn(e) {
676
+ function Bn(e) {
677
677
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
678
678
  }
679
- var Bn = function(t) {
680
- return On(t) && !zn(t);
679
+ var On = function(t) {
680
+ return zn(t) && !Ln(t);
681
681
  };
682
- function On(e) {
682
+ function zn(e) {
683
683
  return !!e && typeof e == "object";
684
684
  }
685
- function zn(e) {
685
+ function Ln(e) {
686
686
  var t = Object.prototype.toString.call(e);
687
- return t === "[object RegExp]" || t === "[object Date]" || In(e);
688
- }
689
- var Ln = typeof Symbol == "function" && Symbol.for, jn = Ln ? Symbol.for("react.element") : 60103;
690
- function In(e) {
691
- return e.$$typeof === jn;
687
+ return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
692
688
  }
689
+ var jn = typeof Symbol == "function" && Symbol.for, In = jn ? Symbol.for("react.element") : 60103;
693
690
  function Rn(e) {
691
+ return e.$$typeof === In;
692
+ }
693
+ function Un(e) {
694
694
  return Array.isArray(e) ? [] : {};
695
695
  }
696
696
  function xe(e, t) {
697
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(Rn(e), e, t) : e;
697
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Un(e), e, t) : e;
698
698
  }
699
- function Un(e, t, r) {
699
+ function Dn(e, t, r) {
700
700
  return e.concat(t).map(function(n) {
701
701
  return xe(n, r);
702
702
  });
703
703
  }
704
- function Dn(e, t) {
704
+ function Gn(e, t) {
705
705
  if (!t.customMerge)
706
706
  return ce;
707
707
  var r = t.customMerge(e);
708
708
  return typeof r == "function" ? r : ce;
709
709
  }
710
- function Gn(e) {
710
+ function Fn(e) {
711
711
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
712
712
  return Object.propertyIsEnumerable.call(e, t);
713
713
  }) : [];
714
714
  }
715
715
  function Tt(e) {
716
- return Object.keys(e).concat(Gn(e));
716
+ return Object.keys(e).concat(Fn(e));
717
717
  }
718
718
  function sr(e, t) {
719
719
  try {
@@ -722,21 +722,21 @@ function sr(e, t) {
722
722
  return !1;
723
723
  }
724
724
  }
725
- function Fn(e, t) {
725
+ function $n(e, t) {
726
726
  return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
727
727
  }
728
- function $n(e, t, r) {
728
+ function Vn(e, t, r) {
729
729
  var n = {};
730
730
  return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
731
731
  n[i] = xe(e[i], r);
732
732
  }), Tt(t).forEach(function(i) {
733
- Fn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
733
+ $n(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
734
734
  }), n;
735
735
  }
736
736
  function ce(e, t, r) {
737
- r = r || {}, r.arrayMerge = r.arrayMerge || Un, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = xe;
737
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = xe;
738
738
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
739
- return o ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : xe(t, r);
739
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : xe(t, r);
740
740
  }
741
741
  ce.all = function(t, r) {
742
742
  if (!Array.isArray(t))
@@ -745,8 +745,8 @@ ce.all = function(t, r) {
745
745
  return ce(n, i, r);
746
746
  }, {});
747
747
  };
748
- var Vn = ce, Xn = Vn;
749
- const qn = /* @__PURE__ */ Pn(Xn);
748
+ var Xn = ce, qn = Xn;
749
+ const Wn = /* @__PURE__ */ Bn(qn);
750
750
  var st = function(e, t) {
751
751
  return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
752
752
  r.__proto__ = n;
@@ -774,7 +774,7 @@ var Z = function() {
774
774
  return t;
775
775
  }, Z.apply(this, arguments);
776
776
  };
777
- function Wn(e, t) {
777
+ function Zn(e, t) {
778
778
  var r = {};
779
779
  for (var n in e)
780
780
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -790,17 +790,17 @@ function Ye(e, t, r) {
790
790
  return e.concat(o || Array.prototype.slice.call(t));
791
791
  }
792
792
  function Ke(e, t) {
793
- var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : Qn;
793
+ var r = t && t.cache ? t.cache : ri, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : Yn;
794
794
  return i(e, {
795
795
  cache: r,
796
796
  serializer: n
797
797
  });
798
798
  }
799
- function Zn(e) {
799
+ function Jn(e) {
800
800
  return e == null || typeof e == "number" || typeof e == "boolean";
801
801
  }
802
- function Jn(e, t, r, n) {
803
- var i = Zn(n) ? n : r(n), o = t.get(i);
802
+ function Qn(e, t, r, n) {
803
+ var i = Jn(n) ? n : r(n), o = t.get(i);
804
804
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
805
805
  }
806
806
  function lr(e, t, r) {
@@ -810,16 +810,16 @@ function lr(e, t, r) {
810
810
  function cr(e, t, r, n, i) {
811
811
  return r.bind(t, e, n, i);
812
812
  }
813
- function Qn(e, t) {
814
- var r = e.length === 1 ? Jn : lr;
813
+ function Yn(e, t) {
814
+ var r = e.length === 1 ? Qn : lr;
815
815
  return cr(e, this, r, t.cache.create(), t.serializer);
816
816
  }
817
- function Yn(e, t) {
817
+ function Kn(e, t) {
818
818
  return cr(e, this, lr, t.cache.create(), t.serializer);
819
819
  }
820
- var Kn = function() {
820
+ var ei = function() {
821
821
  return JSON.stringify(arguments);
822
- }, ei = (
822
+ }, ti = (
823
823
  /** @class */
824
824
  function() {
825
825
  function e() {
@@ -831,12 +831,12 @@ var Kn = function() {
831
831
  this.cache[t] = r;
832
832
  }, e;
833
833
  }()
834
- ), ti = {
834
+ ), ri = {
835
835
  create: function() {
836
- return new ei();
836
+ return new ti();
837
837
  }
838
838
  }, et = {
839
- variadic: Yn
839
+ variadic: Kn
840
840
  }, Ue = function() {
841
841
  return Ue = Object.assign || function(t) {
842
842
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -862,7 +862,7 @@ var ue;
862
862
  function Mt(e) {
863
863
  return e.type === P.literal;
864
864
  }
865
- function ri(e) {
865
+ function ni(e) {
866
866
  return e.type === P.argument;
867
867
  }
868
868
  function ur(e) {
@@ -880,7 +880,7 @@ function mr(e) {
880
880
  function fr(e) {
881
881
  return e.type === P.plural;
882
882
  }
883
- function ni(e) {
883
+ function ii(e) {
884
884
  return e.type === P.pound;
885
885
  }
886
886
  function pr(e) {
@@ -892,10 +892,10 @@ function gr(e) {
892
892
  function lt(e) {
893
893
  return !!(e && typeof e == "object" && e.type === ue.dateTime);
894
894
  }
895
- var _r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
896
- function oi(e) {
895
+ var _r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, oi = /(?:[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;
896
+ function ai(e) {
897
897
  var t = {};
898
- return e.replace(ii, function(r) {
898
+ return e.replace(oi, function(r) {
899
899
  var n = r.length;
900
900
  switch (r[0]) {
901
901
  case "G":
@@ -994,11 +994,11 @@ var B = function() {
994
994
  return t;
995
995
  }, B.apply(this, arguments);
996
996
  };
997
- var ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
998
- function si(e) {
997
+ var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
998
+ function li(e) {
999
999
  if (e.length === 0)
1000
1000
  throw new Error("Number skeleton cannot be empty");
1001
- for (var t = e.split(ai).filter(function(m) {
1001
+ for (var t = e.split(si).filter(function(m) {
1002
1002
  return m.length > 0;
1003
1003
  }), r = [], n = 0, i = t; n < i.length; n++) {
1004
1004
  var o = i[n], a = o.split("/");
@@ -1013,10 +1013,10 @@ function si(e) {
1013
1013
  }
1014
1014
  return r;
1015
1015
  }
1016
- function li(e) {
1016
+ function ci(e) {
1017
1017
  return e.replace(/^(.*?)-/, "");
1018
1018
  }
1019
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1019
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1020
1020
  function At(e) {
1021
1021
  var t = {};
1022
1022
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
@@ -1063,7 +1063,7 @@ function br(e) {
1063
1063
  };
1064
1064
  }
1065
1065
  }
1066
- function ui(e) {
1066
+ function hi(e) {
1067
1067
  var t;
1068
1068
  if (e[0] === "E" && e[1] === "E" ? (t = {
1069
1069
  notation: "engineering"
@@ -1081,7 +1081,7 @@ function Ht(e) {
1081
1081
  var t = {}, r = br(e);
1082
1082
  return r || t;
1083
1083
  }
1084
- function hi(e) {
1084
+ function di(e) {
1085
1085
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1086
1086
  var i = n[r];
1087
1087
  switch (i.stem) {
@@ -1105,7 +1105,7 @@ function hi(e) {
1105
1105
  continue;
1106
1106
  case "measure-unit":
1107
1107
  case "unit":
1108
- t.style = "unit", t.unit = li(i.options[0]);
1108
+ t.style = "unit", t.unit = ci(i.options[0]);
1109
1109
  continue;
1110
1110
  case "compact-short":
1111
1111
  case "K":
@@ -1167,7 +1167,7 @@ function hi(e) {
1167
1167
  case "integer-width":
1168
1168
  if (i.options.length > 1)
1169
1169
  throw new RangeError("integer-width stems only accept a single optional option");
1170
- i.options[0].replace(ci, function(c, l, u, d, m, y) {
1170
+ i.options[0].replace(ui, function(c, l, u, d, m, y) {
1171
1171
  if (l)
1172
1172
  t.minimumIntegerDigits = u.length;
1173
1173
  else {
@@ -1200,7 +1200,7 @@ function hi(e) {
1200
1200
  }
1201
1201
  var a = br(i.stem);
1202
1202
  a && (t = B(B({}, t), a));
1203
- var s = ui(i.stem);
1203
+ var s = hi(i.stem);
1204
1204
  s && (t = B(B({}, t), s));
1205
1205
  }
1206
1206
  return t;
@@ -2620,13 +2620,13 @@ var ze = {
2620
2620
  "h"
2621
2621
  ]
2622
2622
  };
2623
- function di(e, t) {
2623
+ function mi(e, t) {
2624
2624
  for (var r = "", n = 0; n < e.length; n++) {
2625
2625
  var i = e.charAt(n);
2626
2626
  if (i === "j") {
2627
2627
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2628
2628
  o++, n++;
2629
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = mi(t);
2629
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = fi(t);
2630
2630
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2631
2631
  r += c;
2632
2632
  for (; a-- > 0; )
@@ -2636,7 +2636,7 @@ function di(e, t) {
2636
2636
  }
2637
2637
  return r;
2638
2638
  }
2639
- function mi(e) {
2639
+ function fi(e) {
2640
2640
  var t = e.hourCycle;
2641
2641
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2642
2642
  e.hourCycles && // @ts-ignore
@@ -2658,20 +2658,20 @@ function mi(e) {
2658
2658
  var i = ze[n || ""] || ze[r || ""] || ze["".concat(r, "-001")] || ze["001"];
2659
2659
  return i[0];
2660
2660
  }
2661
- var tt, fi = new RegExp("^".concat(_r.source, "*")), pi = new RegExp("".concat(_r.source, "*$"));
2661
+ var tt, pi = new RegExp("^".concat(_r.source, "*")), gi = new RegExp("".concat(_r.source, "*$"));
2662
2662
  function A(e, t) {
2663
2663
  return { start: e, end: t };
2664
2664
  }
2665
- var gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), _i = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, Ci = Ei ? Number.isSafeInteger : function(e) {
2665
+ var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), yi = !!String.fromCodePoint, vi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Si = Ci ? Number.isSafeInteger : function(e) {
2666
2666
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2667
2667
  }, ct = !0;
2668
2668
  try {
2669
- var Si = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2670
- ct = ((tt = Si.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2669
+ var xi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2670
+ ct = ((tt = xi.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2671
2671
  } catch (e) {
2672
2672
  ct = !1;
2673
2673
  }
2674
- var Pt = gi ? (
2674
+ var Pt = _i ? (
2675
2675
  // Native
2676
2676
  function(t, r, n) {
2677
2677
  return t.startsWith(r, n);
@@ -2681,7 +2681,7 @@ var Pt = gi ? (
2681
2681
  function(t, r, n) {
2682
2682
  return t.slice(n, n + r.length) === r;
2683
2683
  }
2684
- ), ut = _i ? String.fromCodePoint : (
2684
+ ), ut = yi ? String.fromCodePoint : (
2685
2685
  // IE11
2686
2686
  function() {
2687
2687
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2695,7 +2695,7 @@ var Pt = gi ? (
2695
2695
  }
2696
2696
  ), Bt = (
2697
2697
  // native
2698
- yi ? Object.fromEntries : (
2698
+ vi ? Object.fromEntries : (
2699
2699
  // Ponyfill
2700
2700
  function(t) {
2701
2701
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2705,7 +2705,7 @@ var Pt = gi ? (
2705
2705
  return r;
2706
2706
  }
2707
2707
  )
2708
- ), kr = vi ? (
2708
+ ), kr = bi ? (
2709
2709
  // Native
2710
2710
  function(t, r) {
2711
2711
  return t.codePointAt(r);
@@ -2719,7 +2719,7 @@ var Pt = gi ? (
2719
2719
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2720
2720
  }
2721
2721
  }
2722
- ), xi = bi ? (
2722
+ ), wi = ki ? (
2723
2723
  // Native
2724
2724
  function(t) {
2725
2725
  return t.trimStart();
@@ -2727,9 +2727,9 @@ var Pt = gi ? (
2727
2727
  ) : (
2728
2728
  // Ponyfill
2729
2729
  function(t) {
2730
- return t.replace(fi, "");
2730
+ return t.replace(pi, "");
2731
2731
  }
2732
- ), wi = ki ? (
2732
+ ), Ti = Ei ? (
2733
2733
  // Native
2734
2734
  function(t) {
2735
2735
  return t.trimEnd();
@@ -2737,7 +2737,7 @@ var Pt = gi ? (
2737
2737
  ) : (
2738
2738
  // Ponyfill
2739
2739
  function(t) {
2740
- return t.replace(pi, "");
2740
+ return t.replace(gi, "");
2741
2741
  }
2742
2742
  );
2743
2743
  function Er(e, t) {
@@ -2756,13 +2756,13 @@ if (ct) {
2756
2756
  ht = function(t, r) {
2757
2757
  for (var n = []; ; ) {
2758
2758
  var i = kr(t, r);
2759
- if (i === void 0 || Cr(i) || Ai(i))
2759
+ if (i === void 0 || Cr(i) || Hi(i))
2760
2760
  break;
2761
2761
  n.push(i), r += i >= 65536 ? 2 : 1;
2762
2762
  }
2763
2763
  return ut.apply(void 0, n);
2764
2764
  };
2765
- var Ti = (
2765
+ var Mi = (
2766
2766
  /** @class */
2767
2767
  function() {
2768
2768
  function e(t, r) {
@@ -2844,7 +2844,7 @@ var Ti = (
2844
2844
  return this.error(N.INVALID_TAG, A(n, this.clonePosition()));
2845
2845
  }, e.prototype.parseTagName = function() {
2846
2846
  var t = this.offset();
2847
- for (this.bump(); !this.isEOF() && Ni(this.char()); )
2847
+ for (this.bump(); !this.isEOF() && Ai(this.char()); )
2848
2848
  this.bump();
2849
2849
  return this.message.slice(t, this.offset());
2850
2850
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2873,7 +2873,7 @@ var Ti = (
2873
2873
  };
2874
2874
  }, e.prototype.tryParseLeftAngleBracket = function() {
2875
2875
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2876
- !Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
2876
+ !Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2877
2877
  }, e.prototype.tryParseQuote = function(t) {
2878
2878
  if (this.isEOF() || this.char() !== 39)
2879
2879
  return null;
@@ -2960,7 +2960,7 @@ var Ti = (
2960
2960
  var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2961
2961
  if (d.err)
2962
2962
  return d;
2963
- var m = wi(d.val);
2963
+ var m = Ti(d.val);
2964
2964
  if (m.length === 0)
2965
2965
  return this.error(N.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2966
2966
  var y = A(u, this.clonePosition());
@@ -2969,28 +2969,28 @@ var Ti = (
2969
2969
  var g = this.tryParseArgumentClose(i);
2970
2970
  if (g.err)
2971
2971
  return g;
2972
- var f = A(i, this.clonePosition());
2972
+ var p = A(i, this.clonePosition());
2973
2973
  if (l && Pt(l == null ? void 0 : l.style, "::", 0)) {
2974
- var S = xi(l.style.slice(2));
2974
+ var S = wi(l.style.slice(2));
2975
2975
  if (s === "number") {
2976
2976
  var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
2977
2977
  return d.err ? d : {
2978
- val: { type: P.number, value: n, location: f, style: d.val },
2978
+ val: { type: P.number, value: n, location: p, style: d.val },
2979
2979
  err: null
2980
2980
  };
2981
2981
  } else {
2982
2982
  if (S.length === 0)
2983
- return this.error(N.EXPECT_DATE_TIME_SKELETON, f);
2983
+ return this.error(N.EXPECT_DATE_TIME_SKELETON, p);
2984
2984
  var _ = S;
2985
- this.locale && (_ = di(S, this.locale));
2985
+ this.locale && (_ = mi(S, this.locale));
2986
2986
  var m = {
2987
2987
  type: ue.dateTime,
2988
2988
  pattern: _,
2989
2989
  location: l.styleLocation,
2990
- parsedOptions: this.shouldParseSkeletons ? oi(_) : {}
2990
+ parsedOptions: this.shouldParseSkeletons ? ai(_) : {}
2991
2991
  }, v = s === "date" ? P.date : P.time;
2992
2992
  return {
2993
- val: { type: v, value: n, location: f, style: m },
2993
+ val: { type: v, value: n, location: p, style: m },
2994
2994
  err: null
2995
2995
  };
2996
2996
  }
@@ -2999,7 +2999,7 @@ var Ti = (
2999
2999
  val: {
3000
3000
  type: s === "number" ? P.number : s === "date" ? P.date : P.time,
3001
3001
  value: n,
3002
- location: f,
3002
+ location: p,
3003
3003
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3004
3004
  },
3005
3005
  err: null
@@ -3092,7 +3092,7 @@ var Ti = (
3092
3092
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3093
3093
  var n = [];
3094
3094
  try {
3095
- n = si(t);
3095
+ n = li(t);
3096
3096
  } catch (i) {
3097
3097
  return this.error(N.INVALID_NUMBER_SKELETON, r);
3098
3098
  }
@@ -3101,7 +3101,7 @@ var Ti = (
3101
3101
  type: ue.number,
3102
3102
  tokens: n,
3103
3103
  location: r,
3104
- parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
3104
+ parsedOptions: this.shouldParseSkeletons ? di(n) : {}
3105
3105
  },
3106
3106
  err: null
3107
3107
  };
@@ -3126,9 +3126,9 @@ var Ti = (
3126
3126
  var g = this.parseMessage(t + 1, r, n);
3127
3127
  if (g.err)
3128
3128
  return g;
3129
- var f = this.tryParseArgumentClose(y);
3130
- if (f.err)
3131
- return f;
3129
+ var p = this.tryParseArgumentClose(y);
3130
+ if (p.err)
3131
+ return p;
3132
3132
  s.push([
3133
3133
  l,
3134
3134
  {
@@ -3149,7 +3149,7 @@ var Ti = (
3149
3149
  break;
3150
3150
  }
3151
3151
  var c = A(i, this.clonePosition());
3152
- return o ? (a *= n, Ci(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
3152
+ return o ? (a *= n, Si(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
3153
3153
  }, e.prototype.offset = function() {
3154
3154
  return this.position.offset;
3155
3155
  }, e.prototype.isEOF = function() {
@@ -3218,16 +3218,16 @@ var Ti = (
3218
3218
  function dt(e) {
3219
3219
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3220
3220
  }
3221
- function Mi(e) {
3221
+ function Ni(e) {
3222
3222
  return dt(e) || e === 47;
3223
3223
  }
3224
- function Ni(e) {
3224
+ function Ai(e) {
3225
3225
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3226
3226
  }
3227
3227
  function Cr(e) {
3228
3228
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3229
3229
  }
3230
- function Ai(e) {
3230
+ function Hi(e) {
3231
3231
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3232
3232
  }
3233
3233
  function mt(e) {
@@ -3239,9 +3239,9 @@ function mt(e) {
3239
3239
  ur(t) && gr(t.style) || (hr(t) || dr(t)) && lt(t.style) ? delete t.style.location : pr(t) && mt(t.children);
3240
3240
  });
3241
3241
  }
3242
- function Hi(e, t) {
3242
+ function Pi(e, t) {
3243
3243
  t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3244
- var r = new Ti(e, t).parse();
3244
+ var r = new Mi(e, t).parse();
3245
3245
  if (r.err) {
3246
3246
  var n = SyntaxError(N[r.err.kind]);
3247
3247
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3273,7 +3273,7 @@ var Ve = (
3273
3273
  }
3274
3274
  return t;
3275
3275
  }(Ve)
3276
- ), Pi = (
3276
+ ), Bi = (
3277
3277
  /** @class */
3278
3278
  function(e) {
3279
3279
  $e(t, e);
@@ -3282,7 +3282,7 @@ var Ve = (
3282
3282
  }
3283
3283
  return t;
3284
3284
  }(Ve)
3285
- ), Bi = (
3285
+ ), Oi = (
3286
3286
  /** @class */
3287
3287
  function(e) {
3288
3288
  $e(t, e);
@@ -3295,13 +3295,13 @@ var Ve = (
3295
3295
  (function(e) {
3296
3296
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3297
3297
  })(G || (G = {}));
3298
- function Oi(e) {
3298
+ function zi(e) {
3299
3299
  return e.length < 2 ? e : e.reduce(function(t, r) {
3300
3300
  var n = t[t.length - 1];
3301
3301
  return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3302
3302
  }, []);
3303
3303
  }
3304
- function zi(e) {
3304
+ function Li(e) {
3305
3305
  return typeof e == "function";
3306
3306
  }
3307
3307
  function je(e, t, r, n, i, o, a) {
@@ -3321,7 +3321,7 @@ function je(e, t, r, n, i, o, a) {
3321
3321
  });
3322
3322
  continue;
3323
3323
  }
3324
- if (ni(u)) {
3324
+ if (ii(u)) {
3325
3325
  typeof o == "number" && s.push({
3326
3326
  type: G.literal,
3327
3327
  value: r.getNumberFormat(t).format(o)
@@ -3330,9 +3330,9 @@ function je(e, t, r, n, i, o, a) {
3330
3330
  }
3331
3331
  var d = u.value;
3332
3332
  if (!(i && d in i))
3333
- throw new Bi(d, a);
3333
+ throw new Oi(d, a);
3334
3334
  var m = i[d];
3335
- if (ri(u)) {
3335
+ if (ni(u)) {
3336
3336
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3337
3337
  type: typeof m == "string" ? G.literal : G.object,
3338
3338
  value: m
@@ -3364,9 +3364,9 @@ function je(e, t, r, n, i, o, a) {
3364
3364
  continue;
3365
3365
  }
3366
3366
  if (pr(u)) {
3367
- var g = u.children, f = u.value, S = i[f];
3368
- if (!zi(S))
3369
- throw new Pi(f, "function", a);
3367
+ var g = u.children, p = u.value, S = i[p];
3368
+ if (!Li(S))
3369
+ throw new Bi(p, "function", a);
3370
3370
  var _ = je(g, t, r, n, i, o), v = S(_.map(function(E) {
3371
3371
  return E.value;
3372
3372
  }));
@@ -3400,16 +3400,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3400
3400
  continue;
3401
3401
  }
3402
3402
  }
3403
- return Oi(s);
3403
+ return zi(s);
3404
3404
  }
3405
- function Li(e, t) {
3405
+ function ji(e, t) {
3406
3406
  return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3407
3407
  return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
3408
3408
  }, {})) : e;
3409
3409
  }
3410
- function ji(e, t) {
3410
+ function Ii(e, t) {
3411
3411
  return t ? Object.keys(e).reduce(function(r, n) {
3412
- return r[n] = Li(e[n], t[n]), r;
3412
+ return r[n] = ji(e[n], t[n]), r;
3413
3413
  }, Z({}, e)) : e;
3414
3414
  }
3415
3415
  function rt(e) {
@@ -3426,7 +3426,7 @@ function rt(e) {
3426
3426
  }
3427
3427
  };
3428
3428
  }
3429
- function Ii(e) {
3429
+ function Ri(e) {
3430
3430
  return e === void 0 && (e = {
3431
3431
  number: {},
3432
3432
  dateTime: {},
@@ -3458,7 +3458,7 @@ function Ii(e) {
3458
3458
  })
3459
3459
  };
3460
3460
  }
3461
- var Ri = (
3461
+ var Ui = (
3462
3462
  /** @class */
3463
3463
  function() {
3464
3464
  function e(t, r, n, i) {
@@ -3490,13 +3490,13 @@ var Ri = (
3490
3490
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3491
3491
  var a = i || {};
3492
3492
  a.formatters;
3493
- var s = Wn(a, ["formatters"]);
3493
+ var s = Zn(a, ["formatters"]);
3494
3494
  this.ast = e.__parse(t, Z(Z({}, s), { locale: this.resolvedLocale }));
3495
3495
  } else
3496
3496
  this.ast = t;
3497
3497
  if (!Array.isArray(this.ast))
3498
3498
  throw new TypeError("A message must be provided as a String or AST.");
3499
- this.formats = ji(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
3499
+ this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
3500
3500
  }
3501
3501
  return Object.defineProperty(e, "defaultLocale", {
3502
3502
  get: function() {
@@ -3509,7 +3509,7 @@ var Ri = (
3509
3509
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3510
3510
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3511
3511
  }
3512
- }, e.__parse = Hi, e.formats = {
3512
+ }, e.__parse = Pi, e.formats = {
3513
3513
  number: {
3514
3514
  integer: {
3515
3515
  maximumFractionDigits: 0
@@ -3570,7 +3570,7 @@ var Ri = (
3570
3570
  }, e;
3571
3571
  }()
3572
3572
  );
3573
- function Ui(e, t) {
3573
+ function Di(e, t) {
3574
3574
  if (t == null)
3575
3575
  return;
3576
3576
  if (t in e)
@@ -3591,33 +3591,33 @@ function Ui(e, t) {
3591
3591
  n = void 0;
3592
3592
  return n;
3593
3593
  }
3594
- const Y = {}, Di = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Sr = (e, t) => {
3594
+ const Y = {}, Gi = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Sr = (e, t) => {
3595
3595
  if (t == null)
3596
3596
  return;
3597
3597
  if (t in Y && e in Y[t])
3598
3598
  return Y[t][e];
3599
3599
  const r = Xe(t);
3600
3600
  for (let n = 0; n < r.length; n++) {
3601
- const i = r[n], o = Fi(i, e);
3601
+ const i = r[n], o = $i(i, e);
3602
3602
  if (o)
3603
- return Di(e, t, o);
3603
+ return Gi(e, t, o);
3604
3604
  }
3605
3605
  };
3606
3606
  let vt;
3607
3607
  const Me = Fe({});
3608
- function Gi(e) {
3608
+ function Fi(e) {
3609
3609
  return vt[e] || null;
3610
3610
  }
3611
3611
  function xr(e) {
3612
3612
  return e in vt;
3613
3613
  }
3614
- function Fi(e, t) {
3614
+ function $i(e, t) {
3615
3615
  if (!xr(e))
3616
3616
  return null;
3617
- const r = Gi(e);
3618
- return Ui(r, t);
3617
+ const r = Fi(e);
3618
+ return Di(r, t);
3619
3619
  }
3620
- function $i(e) {
3620
+ function Vi(e) {
3621
3621
  if (e == null)
3622
3622
  return;
3623
3623
  const t = Xe(e);
@@ -3628,7 +3628,7 @@ function $i(e) {
3628
3628
  }
3629
3629
  }
3630
3630
  function wr(e, ...t) {
3631
- delete Y[e], Me.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
3631
+ delete Y[e], Me.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
3632
3632
  }
3633
3633
  fe(
3634
3634
  [Me],
@@ -3636,13 +3636,13 @@ fe(
3636
3636
  );
3637
3637
  Me.subscribe((e) => vt = e);
3638
3638
  const Ie = {};
3639
- function Vi(e, t) {
3639
+ function Xi(e, t) {
3640
3640
  Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3641
3641
  }
3642
3642
  function Tr(e) {
3643
3643
  return Ie[e];
3644
3644
  }
3645
- function Xi(e) {
3645
+ function qi(e) {
3646
3646
  return Xe(e).map((t) => {
3647
3647
  const r = Tr(t);
3648
3648
  return [t, r ? [...r] : []];
@@ -3656,19 +3656,19 @@ function ft(e) {
3656
3656
  }
3657
3657
  );
3658
3658
  }
3659
- function qi(e, t) {
3659
+ function Wi(e, t) {
3660
3660
  return Promise.all(
3661
- t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
3661
+ t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
3662
3662
  ).then((n) => wr(e, ...n));
3663
3663
  }
3664
3664
  const ke = {};
3665
3665
  function Mr(e) {
3666
3666
  if (!ft(e))
3667
3667
  return e in ke ? ke[e] : Promise.resolve();
3668
- const t = Xi(e);
3668
+ const t = qi(e);
3669
3669
  return ke[e] = Promise.all(
3670
3670
  t.map(
3671
- ([r, n]) => qi(r, n)
3671
+ ([r, n]) => Wi(r, n)
3672
3672
  )
3673
3673
  ).then(() => {
3674
3674
  if (ft(e))
@@ -3676,7 +3676,7 @@ function Mr(e) {
3676
3676
  delete ke[e];
3677
3677
  }), ke[e];
3678
3678
  }
3679
- const Wi = {
3679
+ const Zi = {
3680
3680
  number: {
3681
3681
  scientific: { notation: "scientific" },
3682
3682
  engineering: { notation: "engineering" },
@@ -3705,26 +3705,26 @@ const Wi = {
3705
3705
  timeZoneName: "short"
3706
3706
  }
3707
3707
  }
3708
- }, Zi = {
3708
+ }, Ji = {
3709
3709
  fallbackLocale: null,
3710
3710
  loadingDelay: 200,
3711
- formats: Wi,
3711
+ formats: Zi,
3712
3712
  warnOnMissingMessages: !0,
3713
3713
  handleMissingMessage: void 0,
3714
3714
  ignoreTag: !0
3715
- }, Ji = Zi;
3715
+ }, Qi = Ji;
3716
3716
  function de() {
3717
- return Ji;
3717
+ return Qi;
3718
3718
  }
3719
3719
  const nt = Fe(!1);
3720
- var Qi = Object.defineProperty, Yi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
3720
+ var Yi = Object.defineProperty, Ki = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, no = (e, t) => {
3721
3721
  for (var r in t || (t = {}))
3722
- eo.call(t, r) && jt(e, r, t[r]);
3722
+ to.call(t, r) && jt(e, r, t[r]);
3723
3723
  if (Lt)
3724
3724
  for (var r of Lt(t))
3725
- to.call(t, r) && jt(e, r, t[r]);
3725
+ ro.call(t, r) && jt(e, r, t[r]);
3726
3726
  return e;
3727
- }, no = (e, t) => Yi(e, Ki(t));
3727
+ }, io = (e, t) => Ki(e, eo(t));
3728
3728
  let pt;
3729
3729
  const De = Fe(null);
3730
3730
  function It(e) {
@@ -3740,8 +3740,8 @@ function te() {
3740
3740
  De.subscribe((e) => {
3741
3741
  pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3742
3742
  });
3743
- const io = (e) => {
3744
- if (e && $i(e) && ft(e)) {
3743
+ const oo = (e) => {
3744
+ if (e && Vi(e) && ft(e)) {
3745
3745
  const { loadingDelay: t } = de();
3746
3746
  let r;
3747
3747
  return typeof window != "undefined" && te() != null && t ? r = window.setTimeout(
@@ -3754,8 +3754,8 @@ const io = (e) => {
3754
3754
  });
3755
3755
  }
3756
3756
  return De.set(e);
3757
- }, pe = no(ro({}, De), {
3758
- set: io
3757
+ }, pe = io(no({}, De), {
3758
+ set: oo
3759
3759
  }), qe = (e) => {
3760
3760
  const t = /* @__PURE__ */ Object.create(null);
3761
3761
  return (n) => {
@@ -3763,7 +3763,7 @@ const io = (e) => {
3763
3763
  return i in t ? t[i] : t[i] = e(n);
3764
3764
  };
3765
3765
  };
3766
- var oo = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
3766
+ var ao = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
3767
3767
  for (var r in t || (t = {}))
3768
3768
  Nr.call(t, r) && Rt(e, r, t[r]);
3769
3769
  if (Ge)
@@ -3784,21 +3784,21 @@ const we = (e, t) => {
3784
3784
  if (e in r && t in r[e])
3785
3785
  return r[e][t];
3786
3786
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3787
- }, ao = qe(
3787
+ }, so = qe(
3788
3788
  (e) => {
3789
3789
  var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3790
3790
  if (r == null)
3791
3791
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3792
3792
  return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
3793
3793
  }
3794
- ), so = qe(
3794
+ ), lo = qe(
3795
3795
  (e) => {
3796
3796
  var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3797
3797
  if (r == null)
3798
3798
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3799
3799
  return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
3800
3800
  }
3801
- ), lo = qe(
3801
+ ), co = qe(
3802
3802
  (e) => {
3803
3803
  var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3804
3804
  if (r == null)
@@ -3807,33 +3807,33 @@ const we = (e, t) => {
3807
3807
  );
3808
3808
  return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
3809
3809
  }
3810
- ), co = (e = {}) => {
3810
+ ), uo = (e = {}) => {
3811
3811
  var t = e, {
3812
3812
  locale: r = te()
3813
3813
  } = t, n = ge(t, [
3814
3814
  "locale"
3815
3815
  ]);
3816
- return ao(bt({ locale: r }, n));
3817
- }, uo = (e = {}) => {
3816
+ return so(bt({ locale: r }, n));
3817
+ }, ho = (e = {}) => {
3818
3818
  var t = e, {
3819
3819
  locale: r = te()
3820
3820
  } = t, n = ge(t, [
3821
3821
  "locale"
3822
3822
  ]);
3823
- return so(bt({ locale: r }, n));
3824
- }, ho = (e = {}) => {
3823
+ return lo(bt({ locale: r }, n));
3824
+ }, mo = (e = {}) => {
3825
3825
  var t = e, {
3826
3826
  locale: r = te()
3827
3827
  } = t, n = ge(t, [
3828
3828
  "locale"
3829
3829
  ]);
3830
- return lo(bt({ locale: r }, n));
3831
- }, mo = qe(
3830
+ return co(bt({ locale: r }, n));
3831
+ }, fo = qe(
3832
3832
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3833
- (e, t = te()) => new Ri(e, t, de().formats, {
3833
+ (e, t = te()) => new Ui(e, t, de().formats, {
3834
3834
  ignoreTag: de().ignoreTag
3835
3835
  })
3836
- ), fo = (e, t = {}) => {
3836
+ ), po = (e, t = {}) => {
3837
3837
  var r, n, i, o;
3838
3838
  let a = t;
3839
3839
  typeof e == "object" && (a = e, e = a.id);
@@ -3857,7 +3857,7 @@ const we = (e, t) => {
3857
3857
  return u;
3858
3858
  let d = u;
3859
3859
  try {
3860
- d = mo(u, c).format(s);
3860
+ d = fo(u, c).format(s);
3861
3861
  } catch (m) {
3862
3862
  m instanceof Error && console.warn(
3863
3863
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3865,15 +3865,15 @@ const we = (e, t) => {
3865
3865
  );
3866
3866
  }
3867
3867
  return d;
3868
- }, po = (e, t) => ho(t).format(e), go = (e, t) => uo(t).format(e), _o = (e, t) => co(t).format(e), yo = (e, t = te()) => Sr(e, t), vo = fe([pe, Me], () => fo);
3869
- fe([pe], () => po);
3868
+ }, go = (e, t) => mo(t).format(e), _o = (e, t) => ho(t).format(e), yo = (e, t) => uo(t).format(e), vo = (e, t = te()) => Sr(e, t), bo = fe([pe, Me], () => po);
3870
3869
  fe([pe], () => go);
3871
3870
  fe([pe], () => _o);
3872
- fe([pe, Me], () => yo);
3871
+ fe([pe], () => yo);
3872
+ fe([pe, Me], () => vo);
3873
3873
  function Ut(e, t) {
3874
3874
  wr(e, t);
3875
3875
  }
3876
- function bo(e) {
3876
+ function ko(e) {
3877
3877
  pe.set(e);
3878
3878
  }
3879
3879
  const Dt = {
@@ -4448,11 +4448,11 @@ if (typeof window != "undefined") {
4448
4448
  }
4449
4449
  };
4450
4450
  };
4451
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-DvwHUxLh.js").then(({ default: t }) => {
4451
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-lTLzF5jR.js").then(({ default: t }) => {
4452
4452
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4453
4453
  });
4454
4454
  }
4455
- function ko(e) {
4455
+ function Eo(e) {
4456
4456
  let t, r;
4457
4457
  return {
4458
4458
  c() {
@@ -4469,28 +4469,28 @@ function ko(e) {
4469
4469
  }
4470
4470
  };
4471
4471
  }
4472
- class Eo extends ar {
4472
+ class Co extends ar {
4473
4473
  constructor(t) {
4474
- super(), nr(this, t, null, ko, _t, {});
4474
+ super(), nr(this, t, null, Eo, _t, {});
4475
4475
  }
4476
4476
  }
4477
- customElements.define("circle-exclamation-icon", or(Eo, {}, [], [], !0));
4478
- function Co(e) {
4479
- ln(e, "svelte-etk3ty", '.DisplayNone.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:none}.ContainerCenter.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:30px}.AccordionHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:10px}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;padding:10px 0}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{padding-bottom:0}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{margin-bottom:0}.ConsentItem.svelte-etk3ty .ConsentName.svelte-etk3ty.svelte-etk3ty{margin:0}.ConsentItem.svelte-etk3ty .ConsentDescription.svelte-etk3ty.svelte-etk3ty{font-size:0.8rem}.ToggleSwitch.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:53px;height:30px}.ToggleSwitch.Big.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty.svelte-etk3ty{opacity:0;width:0;height:0}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:disabled+.Slider.svelte-etk3ty{opacity:0.1}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:focus+.Slider.svelte-etk3ty{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty{border-radius:34px}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty:before{border-radius:50%}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-etk3ty circle-exclamation-icon.svelte-etk3ty.svelte-etk3ty{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox.svelte-etk3ty.svelte-etk3ty{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-etk3ty.svelte-etk3ty{position:relative}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__input.svelte-etk3ty.svelte-etk3ty{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));width:46px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label.svelte-etk3ty.svelte-etk3ty{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-etk3ty.svelte-etk3ty{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__error-message.svelte-etk3ty.svelte-etk3ty{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-etk3ty.svelte-etk3ty{width:16px;height:auto}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.svelte-etk3ty.svelte-etk3ty{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-etk3ty.svelte-etk3ty{opacity:1}');
4477
+ customElements.define("circle-exclamation-icon", or(Co, {}, [], [], !0));
4478
+ function So(e) {
4479
+ cn(e, "svelte-etk3ty", '.DisplayNone.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:none}.ContainerCenter.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:30px}.AccordionHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:10px}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;padding:10px 0}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{padding-bottom:0}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{margin-bottom:0}.ConsentItem.svelte-etk3ty .ConsentName.svelte-etk3ty.svelte-etk3ty{margin:0}.ConsentItem.svelte-etk3ty .ConsentDescription.svelte-etk3ty.svelte-etk3ty{font-size:0.8rem}.ToggleSwitch.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:53px;height:30px}.ToggleSwitch.Big.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty.svelte-etk3ty{opacity:0;width:0;height:0}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:disabled+.Slider.svelte-etk3ty{opacity:0.1}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:focus+.Slider.svelte-etk3ty{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty{border-radius:34px}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty:before{border-radius:50%}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-etk3ty circle-exclamation-icon.svelte-etk3ty.svelte-etk3ty{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox.svelte-etk3ty.svelte-etk3ty{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-etk3ty.svelte-etk3ty{position:relative}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__input.svelte-etk3ty.svelte-etk3ty{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));width:46px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label.svelte-etk3ty.svelte-etk3ty{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-etk3ty.svelte-etk3ty{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__error-message.svelte-etk3ty.svelte-etk3ty{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-etk3ty.svelte-etk3ty{width:16px;height:auto}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.svelte-etk3ty.svelte-etk3ty{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-etk3ty.svelte-etk3ty{opacity:1}');
4480
4480
  }
4481
4481
  function Gt(e, t, r) {
4482
4482
  const n = e.slice();
4483
- return n[64] = t[r], n;
4483
+ return n[65] = t[r], n;
4484
4484
  }
4485
4485
  function Ft(e, t, r) {
4486
4486
  const n = e.slice();
4487
- return n[61] = t[r], n[62] = t, n[63] = r, n;
4487
+ return n[62] = t[r], n[63] = t, n[64] = r, n;
4488
4488
  }
4489
4489
  function $t(e, t, r) {
4490
4490
  const n = e.slice();
4491
- return n[64] = t[r], n;
4491
+ return n[65] = t[r], n;
4492
4492
  }
4493
- function So(e) {
4493
+ function xo(e) {
4494
4494
  let t, r, n = le(
4495
4495
  /*playerConsents*/
4496
4496
  e[9]
@@ -4499,7 +4499,7 @@ function So(e) {
4499
4499
  i[o] = Vt(Gt(e, n, o));
4500
4500
  return {
4501
4501
  c() {
4502
- t = w("div"), r = w("form");
4502
+ t = T("div"), r = T("form");
4503
4503
  for (let o = 0; o < i.length; o += 1)
4504
4504
  i[o].c();
4505
4505
  k(r, "class", "checkbox svelte-etk3ty"), k(t, "class", "legacyStyle");
@@ -4508,11 +4508,11 @@ function So(e) {
4508
4508
  L(o, t, a), x(t, r);
4509
4509
  for (let s = 0; s < i.length; s += 1)
4510
4510
  i[s] && i[s].m(r, null);
4511
- e[31](r);
4511
+ e[32](r);
4512
4512
  },
4513
4513
  p(o, a) {
4514
- if (a[0] & /*playerConsents, $_, handleInput*/
4515
- 590336) {
4514
+ if (a[0] & /*playerConsents, translate, handleInput*/
4515
+ 1180160) {
4516
4516
  n = le(
4517
4517
  /*playerConsents*/
4518
4518
  o[9]
@@ -4528,11 +4528,11 @@ function So(e) {
4528
4528
  }
4529
4529
  },
4530
4530
  d(o) {
4531
- o && O(t), yt(i, o), e[31](null);
4531
+ o && O(t), yt(i, o), e[32](null);
4532
4532
  }
4533
4533
  };
4534
4534
  }
4535
- function xo(e) {
4535
+ function wo(e) {
4536
4536
  let t = (
4537
4537
  /*$_*/
4538
4538
  e[16]("title") || /*$_*/
@@ -4544,8 +4544,8 @@ function xo(e) {
4544
4544
  /*consentsCategories*/
4545
4545
  e[8]
4546
4546
  ), y = [];
4547
- for (let f = 0; f < m.length; f += 1)
4548
- y[f] = Yt(Ft(e, m, f));
4547
+ for (let p = 0; p < m.length; p += 1)
4548
+ y[p] = Yt(Ft(e, m, p));
4549
4549
  let g = (
4550
4550
  /*errorMessage*/
4551
4551
  e[6] && Kt(e)
@@ -4553,35 +4553,35 @@ function xo(e) {
4553
4553
  return {
4554
4554
  c() {
4555
4555
  d && d.c(), r = F();
4556
- for (let f = 0; f < y.length; f += 1)
4557
- y[f].c();
4558
- n = F(), i = w("button"), s = F(), g && g.c(), c = hn(), k(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
4556
+ for (let p = 0; p < y.length; p += 1)
4557
+ y[p].c();
4558
+ n = F(), i = T("button"), s = F(), g && g.c(), c = dn(), k(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
4559
4559
  e[14];
4560
4560
  },
4561
- m(f, S) {
4562
- d && d.m(f, S), L(f, r, S);
4561
+ m(p, S) {
4562
+ d && d.m(p, S), L(p, r, S);
4563
4563
  for (let _ = 0; _ < y.length; _ += 1)
4564
- y[_] && y[_].m(f, S);
4565
- L(f, n, S), L(f, i, S), i.innerHTML = o, L(f, s, S), g && g.m(f, S), L(f, c, S), l || (u = Ce(
4564
+ y[_] && y[_].m(p, S);
4565
+ L(p, n, S), L(p, i, S), i.innerHTML = o, L(p, s, S), g && g.m(p, S), L(p, c, S), l || (u = Ce(
4566
4566
  i,
4567
4567
  "click",
4568
4568
  /*saveChanges*/
4569
- e[17]
4569
+ e[18]
4570
4570
  ), l = !0);
4571
4571
  },
4572
- p(f, S) {
4572
+ p(p, S) {
4573
4573
  if (S[0] & /*$_*/
4574
4574
  65536 && (t = /*$_*/
4575
- f[16]("title") || /*$_*/
4576
- f[16]("description")), t ? d ? d.p(f, S) : (d = Xt(f), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
4577
- 867088) {
4575
+ p[16]("title") || /*$_*/
4576
+ p[16]("description")), t ? d ? d.p(p, S) : (d = Xt(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
4577
+ 1719056) {
4578
4578
  m = le(
4579
4579
  /*consentsCategories*/
4580
- f[8]
4580
+ p[8]
4581
4581
  );
4582
4582
  let _;
4583
4583
  for (_ = 0; _ < m.length; _ += 1) {
4584
- const v = Ft(f, m, _);
4584
+ const v = Ft(p, m, _);
4585
4585
  y[_] ? y[_].p(v, S) : (y[_] = Yt(v), y[_].c(), y[_].m(n.parentNode, n));
4586
4586
  }
4587
4587
  for (; _ < y.length; _ += 1)
@@ -4590,21 +4590,21 @@ function xo(e) {
4590
4590
  }
4591
4591
  S[0] & /*$_*/
4592
4592
  65536 && o !== (o = /*$_*/
4593
- (f[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4593
+ (p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4594
4594
  16384 && a !== (a = !/*isValid*/
4595
- f[14]) && (i.disabled = a), /*errorMessage*/
4596
- f[6] ? g ? g.p(f, S) : (g = Kt(f), g.c(), g.m(c.parentNode, c)) : g && (g.d(1), g = null);
4595
+ p[14]) && (i.disabled = a), /*errorMessage*/
4596
+ p[6] ? g ? g.p(p, S) : (g = Kt(p), g.c(), g.m(c.parentNode, c)) : g && (g.d(1), g = null);
4597
4597
  },
4598
- d(f) {
4599
- f && (O(r), O(n), O(i), O(s), O(c)), d && d.d(f), yt(y, f), g && g.d(f), l = !1, u();
4598
+ d(p) {
4599
+ p && (O(r), O(n), O(i), O(s), O(c)), d && d.d(p), yt(y, p), g && g.d(p), l = !1, u();
4600
4600
  }
4601
4601
  };
4602
4602
  }
4603
- function wo(e) {
4603
+ function To(e) {
4604
4604
  let t, r, n;
4605
4605
  return {
4606
4606
  c() {
4607
- t = w("div"), r = w("strong"), n = ee(
4607
+ t = T("div"), r = T("strong"), n = ee(
4608
4608
  /*fatalError*/
4609
4609
  e[7]
4610
4610
  ), k(r, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ContainerCenter svelte-etk3ty");
@@ -4625,11 +4625,11 @@ function wo(e) {
4625
4625
  }
4626
4626
  };
4627
4627
  }
4628
- function To(e) {
4628
+ function Mo(e) {
4629
4629
  let t;
4630
4630
  return {
4631
4631
  c() {
4632
- t = w("general-animation-loading"), K(
4632
+ t = T("general-animation-loading"), K(
4633
4633
  t,
4634
4634
  "clientstyling",
4635
4635
  /*clientstyling*/
@@ -4677,32 +4677,35 @@ function To(e) {
4677
4677
  }
4678
4678
  function Vt(e) {
4679
4679
  let t, r, n, i, o, a, s, c, l = (
4680
- /*$_*/
4681
- (e[16](`${/*consent*/
4682
- e[64].tagCode}__description`) || /*consent*/
4683
- e[64].tagCode) + ""
4680
+ /*translate*/
4681
+ e[17](
4682
+ `${/*consent*/
4683
+ e[65].tagCode}__description`,
4684
+ /*consent*/
4685
+ e[65].friendlyName
4686
+ ) + ""
4684
4687
  ), u = (
4685
4688
  /*consent*/
4686
- e[64].mustAccept ? " *" : ""
4687
- ), d, m, y, g, f, S, _, v, C;
4689
+ e[65].mustAccept ? " *" : ""
4690
+ ), d, m, y, g, p, S, _, v, C;
4688
4691
  function H(...E) {
4689
4692
  return (
4690
4693
  /*input_handler_1*/
4691
- e[30](
4694
+ e[31](
4692
4695
  /*consent*/
4693
- e[64],
4696
+ e[65],
4694
4697
  ...E
4695
4698
  )
4696
4699
  );
4697
4700
  }
4698
4701
  return {
4699
4702
  c() {
4700
- t = w("div"), r = w("input"), o = F(), a = w("label"), s = w("div"), c = new rr(!1), d = ee(u), y = F(), g = w("small"), S = F(), k(r, "class", "checkbox__input svelte-etk3ty"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4701
- e[64].status === "1", k(r, "id", i = `${/*consent*/
4702
- e[64].tagCode}__input`), c.a = d, k(s, "class", "checkbox__label-text svelte-etk3ty"), k(a, "class", "checkbox__label svelte-etk3ty"), k(a, "for", m = `${/*consent*/
4703
- e[64].tagCode}__input`), k(g, "class", "checkbox__error-message svelte-etk3ty"), k(g, "id", f = "checkBoxError__" + /*consent*/
4704
- e[64].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4705
- e[64].tagCode + "__input svelte-etk3ty");
4703
+ t = T("div"), r = T("input"), o = F(), a = T("label"), s = T("div"), c = new rr(!1), d = ee(u), y = F(), g = T("small"), S = F(), k(r, "class", "checkbox__input svelte-etk3ty"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4704
+ e[65].status === "1", k(r, "id", i = `${/*consent*/
4705
+ e[65].tagCode}__input`), c.a = d, k(s, "class", "checkbox__label-text svelte-etk3ty"), k(a, "class", "checkbox__label svelte-etk3ty"), k(a, "for", m = `${/*consent*/
4706
+ e[65].tagCode}__input`), k(g, "class", "checkbox__error-message svelte-etk3ty"), k(g, "id", p = "checkBoxError__" + /*consent*/
4707
+ e[65].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4708
+ e[65].tagCode + "__input svelte-etk3ty");
4706
4709
  },
4707
4710
  m(E, z) {
4708
4711
  L(E, t, z), x(t, r), x(t, o), x(t, a), x(a, s), c.m(l, s), x(s, d), x(t, y), x(t, g), x(t, S), v || (C = Ce(r, "input", H), v = !0);
@@ -4710,21 +4713,24 @@ function Vt(e) {
4710
4713
  p(E, z) {
4711
4714
  e = E, z[0] & /*playerConsents*/
4712
4715
  512 && n !== (n = /*consent*/
4713
- e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4716
+ e[65].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4714
4717
  512 && i !== (i = `${/*consent*/
4715
- e[64].tagCode}__input`) && k(r, "id", i), z[0] & /*$_, playerConsents*/
4716
- 66048 && l !== (l = /*$_*/
4717
- (e[16](`${/*consent*/
4718
- e[64].tagCode}__description`) || /*consent*/
4719
- e[64].tagCode) + "") && c.p(l), z[0] & /*playerConsents*/
4718
+ e[65].tagCode}__input`) && k(r, "id", i), z[0] & /*playerConsents*/
4719
+ 512 && l !== (l = /*translate*/
4720
+ e[17](
4721
+ `${/*consent*/
4722
+ e[65].tagCode}__description`,
4723
+ /*consent*/
4724
+ e[65].friendlyName
4725
+ ) + "") && c.p(l), z[0] & /*playerConsents*/
4720
4726
  512 && u !== (u = /*consent*/
4721
- e[64].mustAccept ? " *" : "") && Te(d, u), z[0] & /*playerConsents*/
4727
+ e[65].mustAccept ? " *" : "") && Te(d, u), z[0] & /*playerConsents*/
4722
4728
  512 && m !== (m = `${/*consent*/
4723
- e[64].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4724
- 512 && f !== (f = "checkBoxError__" + /*consent*/
4725
- e[64].tagCode) && k(g, "id", f), z[0] & /*playerConsents*/
4729
+ e[65].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4730
+ 512 && p !== (p = "checkBoxError__" + /*consent*/
4731
+ e[65].tagCode) && k(g, "id", p), z[0] & /*playerConsents*/
4726
4732
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4727
- e[64].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
4733
+ e[65].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
4728
4734
  },
4729
4735
  d(E) {
4730
4736
  E && O(t), v = !1, C();
@@ -4741,7 +4747,7 @@ function Xt(e) {
4741
4747
  ), o = r && qt(e), a = i && Wt(e);
4742
4748
  return {
4743
4749
  c() {
4744
- t = w("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4750
+ t = T("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4745
4751
  },
4746
4752
  m(s, c) {
4747
4753
  L(s, t, c), o && o.m(t, null), x(t, n), a && a.m(t, null);
@@ -4765,7 +4771,7 @@ function qt(e) {
4765
4771
  ), n;
4766
4772
  return {
4767
4773
  c() {
4768
- t = w("h2"), n = ee(r), k(t, "class", "PlayerConsentsTitle");
4774
+ t = T("h2"), n = ee(r), k(t, "class", "PlayerConsentsTitle");
4769
4775
  },
4770
4776
  m(i, o) {
4771
4777
  L(i, t, o), x(t, n);
@@ -4787,7 +4793,7 @@ function Wt(e) {
4787
4793
  ), n;
4788
4794
  return {
4789
4795
  c() {
4790
- t = w("p"), n = ee(r), k(t, "class", "PlayerConsentsDescription");
4796
+ t = T("p"), n = ee(r), k(t, "class", "PlayerConsentsDescription");
4791
4797
  },
4792
4798
  m(i, o) {
4793
4799
  L(i, t, o), x(t, n);
@@ -4806,7 +4812,7 @@ function Zt(e) {
4806
4812
  let t;
4807
4813
  return {
4808
4814
  c() {
4809
- t = w("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
4815
+ t = T("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
4810
4816
  },
4811
4817
  m(r, n) {
4812
4818
  L(r, t, n);
@@ -4818,24 +4824,30 @@ function Zt(e) {
4818
4824
  }
4819
4825
  function Jt(e) {
4820
4826
  let t, r = (
4821
- /*$_*/
4822
- (e[16](`${/*consent*/
4823
- e[64].tagCode}__description`) || /*consent*/
4824
- e[64].description) + ""
4827
+ /*translate*/
4828
+ e[17](
4829
+ `${/*consent*/
4830
+ e[65].tagCode}__description`,
4831
+ /*consent*/
4832
+ e[65].description
4833
+ ) + ""
4825
4834
  );
4826
4835
  return {
4827
4836
  c() {
4828
- t = w("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
4837
+ t = T("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
4829
4838
  },
4830
4839
  m(n, i) {
4831
4840
  L(n, t, i), t.innerHTML = r;
4832
4841
  },
4833
4842
  p(n, i) {
4834
- i[0] & /*$_, playerConsents, consentsCategories*/
4835
- 66304 && r !== (r = /*$_*/
4836
- (n[16](`${/*consent*/
4837
- n[64].tagCode}__description`) || /*consent*/
4838
- n[64].description) + "") && (t.innerHTML = r);
4843
+ i[0] & /*playerConsents, consentsCategories*/
4844
+ 768 && r !== (r = /*translate*/
4845
+ n[17](
4846
+ `${/*consent*/
4847
+ n[65].tagCode}__description`,
4848
+ /*consent*/
4849
+ n[65].description
4850
+ ) + "") && (t.innerHTML = r);
4839
4851
  },
4840
4852
  d(n) {
4841
4853
  n && O(t);
@@ -4844,13 +4856,16 @@ function Jt(e) {
4844
4856
  }
4845
4857
  function Qt(e) {
4846
4858
  let t, r, n, i, o = (
4847
- /*$_*/
4848
- (e[16](`${/*consent*/
4849
- e[64].tagCode}__name`) || /*consent*/
4850
- e[64].friendlyName) + ""
4851
- ), a, s, c, l, u, d, m, y, g, f, S, _ = (
4859
+ /*translate*/
4860
+ e[17](
4861
+ `${/*consent*/
4862
+ e[65].tagCode}__name`,
4863
+ /*consent*/
4864
+ e[65].friendlyName
4865
+ ) + ""
4866
+ ), a, s, c, l, u, d, m, y, g, p, S, _ = (
4852
4867
  /*consent*/
4853
- e[64].mustAccept === !0 && Zt()
4868
+ e[65].mustAccept === !0 && Zt()
4854
4869
  ), v = (
4855
4870
  /*displayconsentdescription*/
4856
4871
  e[4] === "true" && Jt(e)
@@ -4858,83 +4873,89 @@ function Qt(e) {
4858
4873
  function C(...H) {
4859
4874
  return (
4860
4875
  /*input_handler*/
4861
- e[29](
4876
+ e[30](
4862
4877
  /*consent*/
4863
- e[64],
4878
+ e[65],
4864
4879
  ...H
4865
4880
  )
4866
4881
  );
4867
4882
  }
4868
4883
  return {
4869
4884
  c() {
4870
- t = w("div"), r = w("div"), n = w("h4"), i = new rr(!1), a = F(), _ && _.c(), s = F(), v && v.c(), c = F(), l = w("label"), u = w("input"), y = F(), g = w("span"), i.a = a, k(n, "class", "ConsentName svelte-etk3ty"), k(r, "class", "ConsentContent"), k(u, "type", "checkbox"), u.disabled = d = /*consent*/
4871
- e[64].mustAccept === !0 && /*initialConsentsState*/
4885
+ t = T("div"), r = T("div"), n = T("h4"), i = new rr(!1), a = F(), _ && _.c(), s = F(), v && v.c(), c = F(), l = T("label"), u = T("input"), y = F(), g = T("span"), i.a = a, k(n, "class", "ConsentName svelte-etk3ty"), k(r, "class", "ConsentContent"), k(u, "type", "checkbox"), u.disabled = d = /*consent*/
4886
+ e[65].mustAccept === !0 && /*initialConsentsState*/
4872
4887
  e[12][
4873
4888
  /*consent*/
4874
- e[64].tagCode
4889
+ e[65].tagCode
4875
4890
  ] === !0, u.checked = m = /*consentsState*/
4876
4891
  e[13][
4877
4892
  /*consent*/
4878
- e[64].tagCode
4893
+ e[65].tagCode
4879
4894
  ], k(u, "class", "svelte-etk3ty"), k(g, "class", "Slider Round svelte-etk3ty"), k(l, "class", "ToggleSwitch svelte-etk3ty"), k(t, "class", "ConsentItem svelte-etk3ty");
4880
4895
  },
4881
4896
  m(H, E) {
4882
- L(H, t, E), x(t, r), x(r, n), i.m(o, n), x(n, a), _ && _.m(n, null), x(r, s), v && v.m(r, null), x(t, c), x(t, l), x(l, u), x(l, y), x(l, g), f || (S = Ce(u, "input", C), f = !0);
4897
+ L(H, t, E), x(t, r), x(r, n), i.m(o, n), x(n, a), _ && _.m(n, null), x(r, s), v && v.m(r, null), x(t, c), x(t, l), x(l, u), x(l, y), x(l, g), p || (S = Ce(u, "input", C), p = !0);
4883
4898
  },
4884
4899
  p(H, E) {
4885
- e = H, E[0] & /*$_, playerConsents, consentsCategories*/
4886
- 66304 && o !== (o = /*$_*/
4887
- (e[16](`${/*consent*/
4888
- e[64].tagCode}__name`) || /*consent*/
4889
- e[64].friendlyName) + "") && i.p(o), /*consent*/
4890
- e[64].mustAccept === !0 ? _ || (_ = Zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4900
+ e = H, E[0] & /*playerConsents, consentsCategories*/
4901
+ 768 && o !== (o = /*translate*/
4902
+ e[17](
4903
+ `${/*consent*/
4904
+ e[65].tagCode}__name`,
4905
+ /*consent*/
4906
+ e[65].friendlyName
4907
+ ) + "") && i.p(o), /*consent*/
4908
+ e[65].mustAccept === !0 ? _ || (_ = Zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4891
4909
  e[4] === "true" ? v ? v.p(e, E) : (v = Jt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4892
4910
  4864 && d !== (d = /*consent*/
4893
- e[64].mustAccept === !0 && /*initialConsentsState*/
4911
+ e[65].mustAccept === !0 && /*initialConsentsState*/
4894
4912
  e[12][
4895
4913
  /*consent*/
4896
- e[64].tagCode
4914
+ e[65].tagCode
4897
4915
  ] === !0) && (u.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4898
4916
  8960 && m !== (m = /*consentsState*/
4899
4917
  e[13][
4900
4918
  /*consent*/
4901
- e[64].tagCode
4919
+ e[65].tagCode
4902
4920
  ]) && (u.checked = m);
4903
4921
  },
4904
4922
  d(H) {
4905
- H && O(t), _ && _.d(), v && v.d(), f = !1, S();
4923
+ H && O(t), _ && _.d(), v && v.d(), p = !1, S();
4906
4924
  }
4907
4925
  };
4908
4926
  }
4909
4927
  function Yt(e) {
4910
4928
  let t, r, n, i = (
4911
- /*$_*/
4912
- (e[16](`${/*category*/
4913
- e[61].categoryTagCode}__category`) || /*category*/
4914
- e[61].friendlyName) + ""
4929
+ /*translate*/
4930
+ e[17](
4931
+ `${/*category*/
4932
+ e[62].categoryTagCode}__category`,
4933
+ /*category*/
4934
+ e[62].friendlyName
4935
+ ) + ""
4915
4936
  ), o, a, s, c, l, u, d, m, y;
4916
4937
  function g() {
4917
- e[26].call(
4938
+ e[27].call(
4918
4939
  s,
4919
4940
  /*category*/
4920
- e[61]
4941
+ e[62]
4921
4942
  );
4922
4943
  }
4923
- function f() {
4944
+ function p() {
4924
4945
  return (
4925
4946
  /*change_handler*/
4926
- e[27](
4947
+ e[28](
4927
4948
  /*category*/
4928
- e[61]
4949
+ e[62]
4929
4950
  )
4930
4951
  );
4931
4952
  }
4932
4953
  function S(...C) {
4933
4954
  return (
4934
4955
  /*func*/
4935
- e[28](
4956
+ e[29](
4936
4957
  /*category*/
4937
- e[61],
4958
+ e[62],
4938
4959
  ...C
4939
4960
  )
4940
4961
  );
@@ -4947,7 +4968,7 @@ function Yt(e) {
4947
4968
  v[C] = Qt($t(e, _, C));
4948
4969
  return {
4949
4970
  c() {
4950
- t = w("div"), r = w("div"), n = w("h3"), o = F(), a = w("label"), s = w("input"), c = F(), l = w("span"), u = F(), d = w("div");
4971
+ t = T("div"), r = T("div"), n = T("h3"), o = F(), a = T("label"), s = T("input"), c = F(), l = T("span"), u = F(), d = T("div");
4951
4972
  for (let C = 0; C < v.length; C += 1)
4952
4973
  v[C].c();
4953
4974
  k(s, "type", "checkbox"), k(s, "class", "svelte-etk3ty"), k(l, "class", "Slider Round svelte-etk3ty"), k(a, "class", "ToggleSwitch Big svelte-etk3ty"), k(r, "class", "AccordionHeader svelte-etk3ty"), k(d, "class", "AccordionContent svelte-etk3ty"), k(t, "class", "AccordionItem svelte-etk3ty");
@@ -4956,27 +4977,30 @@ function Yt(e) {
4956
4977
  L(C, t, H), x(t, r), x(r, n), n.innerHTML = i, x(r, o), x(r, a), x(a, s), s.checked = /*categoryToggle*/
4957
4978
  e[11][
4958
4979
  /*category*/
4959
- e[61].categoryTagCode
4980
+ e[62].categoryTagCode
4960
4981
  ], x(a, c), x(a, l), x(t, u), x(t, d);
4961
4982
  for (let E = 0; E < v.length; E += 1)
4962
4983
  v[E] && v[E].m(d, null);
4963
4984
  m || (y = [
4964
4985
  Ce(s, "change", g),
4965
- Ce(s, "change", f)
4986
+ Ce(s, "change", p)
4966
4987
  ], m = !0);
4967
4988
  },
4968
4989
  p(C, H) {
4969
- if (e = C, H[0] & /*$_, consentsCategories*/
4970
- 65792 && i !== (i = /*$_*/
4971
- (e[16](`${/*category*/
4972
- e[61].categoryTagCode}__category`) || /*category*/
4973
- e[61].friendlyName) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
4990
+ if (e = C, H[0] & /*consentsCategories*/
4991
+ 256 && i !== (i = /*translate*/
4992
+ e[17](
4993
+ `${/*category*/
4994
+ e[62].categoryTagCode}__category`,
4995
+ /*category*/
4996
+ e[62].friendlyName
4997
+ ) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
4974
4998
  2304 && (s.checked = /*categoryToggle*/
4975
4999
  e[11][
4976
5000
  /*category*/
4977
- e[61].categoryTagCode
4978
- ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4979
- 602896) {
5001
+ e[62].categoryTagCode
5002
+ ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription*/
5003
+ 1192720) {
4980
5004
  _ = le(
4981
5005
  /*playerConsents*/
4982
5006
  e[9].filter(S)
@@ -5000,7 +5024,7 @@ function Kt(e) {
5000
5024
  let t, r, n, i, o;
5001
5025
  return {
5002
5026
  c() {
5003
- t = w("div"), r = w("circle-exclamation-icon"), n = F(), i = w("strong"), o = ee(
5027
+ t = T("div"), r = T("circle-exclamation-icon"), n = F(), i = T("strong"), o = ee(
5004
5028
  /*errorMessage*/
5005
5029
  e[6]
5006
5030
  ), K(r, "class", "svelte-etk3ty"), k(i, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ConsentErrorContainer svelte-etk3ty");
@@ -5021,35 +5045,35 @@ function Kt(e) {
5021
5045
  }
5022
5046
  };
5023
5047
  }
5024
- function Mo(e) {
5048
+ function No(e) {
5025
5049
  let t, r;
5026
5050
  function n(a, s) {
5027
5051
  if (
5028
5052
  /*isLoading*/
5029
5053
  a[10]
5030
5054
  )
5031
- return To;
5055
+ return Mo;
5032
5056
  if (
5033
5057
  /*fatalError*/
5034
5058
  a[7]
5035
5059
  )
5036
- return wo;
5060
+ return To;
5037
5061
  if (
5038
5062
  /*session*/
5039
5063
  a[0]
5040
5064
  )
5041
- return xo;
5065
+ return wo;
5042
5066
  if (!/*session*/
5043
5067
  a[0])
5044
- return So;
5068
+ return xo;
5045
5069
  }
5046
5070
  let i = n(e), o = i && i(e);
5047
5071
  return {
5048
5072
  c() {
5049
- t = w("div"), r = w("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
5073
+ t = T("div"), r = T("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
5050
5074
  },
5051
5075
  m(a, s) {
5052
- L(a, t, s), x(t, r), o && o.m(r, null), e[32](r);
5076
+ L(a, t, s), x(t, r), o && o.m(r, null), e[33](r);
5053
5077
  },
5054
5078
  p(a, s) {
5055
5079
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
@@ -5057,14 +5081,14 @@ function Mo(e) {
5057
5081
  i: $,
5058
5082
  o: $,
5059
5083
  d(a) {
5060
- a && O(t), o && o.d(), e[32](null);
5084
+ a && O(t), o && o.d(), e[33](null);
5061
5085
  }
5062
5086
  };
5063
5087
  }
5064
- function No(e, t, r) {
5088
+ function Ao(e, t, r) {
5065
5089
  let n;
5066
- sn(e, vo, (h) => r(16, n = h));
5067
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: l } = t, { lang: u = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, g, f, S = !1, _ = !1, v = "", C = "", H = "", E = "", z = [], J = [], j = [], _e = !0, Ne = !0, V = {}, Ae = {}, Q = {}, D = {}, ye, He, R = {
5090
+ ln(e, bo, (h) => r(16, n = h));
5091
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: l } = t, { lang: u = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, g, p, S = !1, _ = !1, v = "", C = "", H = "", E = "", z = [], J = [], j = [], _e = !0, Ne = !0, V = {}, Ae = {}, Q = {}, D = {}, ye, He, R = {
5068
5092
  none: { key: "0", value: "None" },
5069
5093
  accepted: { key: "1", value: "Accepted" },
5070
5094
  expired: { key: "2", value: "Expired" },
@@ -5075,47 +5099,50 @@ function No(e, t, r) {
5075
5099
  Ut(h, Dt[h]);
5076
5100
  });
5077
5101
  const Pr = () => {
5078
- bo(u);
5102
+ ko(u);
5079
5103
  }, Br = () => {
5080
5104
  let h = new URL(m);
5081
- fetch(h.href).then((p) => p.json()).then((p) => {
5082
- Object.keys(p).forEach((M) => {
5083
- Ut(M, p[M]);
5105
+ fetch(h.href).then((f) => f.json()).then((f) => {
5106
+ Object.keys(f).forEach((w) => {
5107
+ Ut(w, f[w]);
5084
5108
  });
5085
- }).catch((p) => {
5086
- console.log(p);
5109
+ }).catch((f) => {
5110
+ console.log(f);
5087
5111
  });
5088
- }, Or = () => {
5112
+ }, Or = (h, f) => {
5113
+ const w = n(h);
5114
+ return w !== h ? w : f;
5115
+ }, zr = () => {
5089
5116
  i && (v = i, _ = !0), o && (C = o);
5090
- }, Be = (h, p = !1) => {
5091
- p ? r(7, E = h) : (Ur(), r(6, H = h));
5092
- }, ve = (h, p, M, b = !1) => re(this, null, function* () {
5117
+ }, Be = (h, f = !1) => {
5118
+ f ? r(7, E = h) : (Dr(), r(6, H = h));
5119
+ }, ve = (h, f, w, b = !1) => re(this, null, function* () {
5093
5120
  try {
5094
- const T = yield fetch(h, M);
5095
- if (!T.ok)
5096
- throw new Error(n(p));
5097
- const I = yield T.json();
5121
+ const M = yield fetch(h, w);
5122
+ if (!M.ok)
5123
+ throw new Error(n(f));
5124
+ const I = yield M.json();
5098
5125
  return _ ? I : I.filter((q) => q.showOnRegister === !0);
5099
- } catch (T) {
5126
+ } catch (M) {
5100
5127
  throw Be(
5101
- T instanceof TypeError ? n(p) : T.message,
5128
+ M instanceof TypeError ? n(f) : M.message,
5102
5129
  b
5103
- ), T;
5130
+ ), M;
5104
5131
  }
5105
- }), zr = () => re(this, null, function* () {
5132
+ }), Lr = () => re(this, null, function* () {
5106
5133
  try {
5107
- let h = [], p = [];
5108
- if (_ ? [h, p] = yield kt() : h = yield kt(), r(10, _e = !1), J = [...h], r(8, z = jr(J).sort((M, b) => M.categoryTagCode.localeCompare(b.categoryTagCode))), r(11, V = Ir(z)), Ae = W({}, V), r(9, j = [...p]), J.forEach((M) => {
5109
- let b = j.find((T) => T.tagCode === M.tagCode);
5110
- b || (b = Je(W({}, M), {
5134
+ let h = [], f = [];
5135
+ if (_ ? [h, f] = yield kt() : h = yield kt(), r(10, _e = !1), J = [...h], r(8, z = Ir(J).sort((w, b) => w.categoryTagCode.localeCompare(b.categoryTagCode))), r(11, V = Rr(z)), Ae = W({}, V), r(9, j = [...f]), J.forEach((w) => {
5136
+ let b = j.find((M) => M.tagCode === w.tagCode);
5137
+ b || (b = Je(W({}, w), {
5111
5138
  status: R.denied.value
5112
- }), j.push(b)), b.description = M.description, b.orderNumber = M.orderNumber;
5139
+ }), j.push(b)), b.description = w.description, b.orderNumber = w.orderNumber;
5113
5140
  }), y === "true") {
5114
- if (r(9, j = j.filter((M) => M.status === R.expired.value)), j.length !== 0)
5141
+ if (r(9, j = j.filter((w) => w.status === R.expired.value)), j.length !== 0)
5115
5142
  return;
5116
5143
  Be(n("wrongModalConfig"), !0);
5117
5144
  }
5118
- Rr();
5145
+ Ur();
5119
5146
  } catch (h) {
5120
5147
  throw r(10, _e = !1), Be(
5121
5148
  h instanceof TypeError ? n("invalidUrl") : h.message,
@@ -5126,10 +5153,10 @@ function No(e, t, r) {
5126
5153
  const h = new URL(`${a}/api/v1/gm/consents`);
5127
5154
  if (h.searchParams.append("Status", "Active"), !_)
5128
5155
  return yield ve(h.href, "fetchConsentsError", { method: "GET" }, !0);
5129
- const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5156
+ const f = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5130
5157
  return yield Promise.all([
5131
5158
  ve(h.href, "fetchConsentsError", { method: "GET" }, !0),
5132
- ve(p.href, "fetchPlayerConsentsError", {
5159
+ ve(f.href, "fetchPlayerConsentsError", {
5133
5160
  method: "GET",
5134
5161
  headers: {
5135
5162
  "X-SessionId": v,
@@ -5137,66 +5164,66 @@ function No(e, t, r) {
5137
5164
  }
5138
5165
  })
5139
5166
  ]);
5140
- }), Lr = () => {
5167
+ }), jr = () => {
5141
5168
  Pe = !1;
5142
- const h = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
5169
+ const h = new URL(`${a}/api/v2/gm/legislation/consents`), f = {
5143
5170
  "Content-Type": "application/json",
5144
5171
  Accept: "application/json"
5145
- }, M = { method: "GET", headers: p };
5146
- fetch(h.href, M).then((b) => b.ok ? b.json() : (Pe = !0, b.json().then((T) => (console.error(T), Oe(T))))).then((b) => {
5172
+ }, w = { method: "GET", headers: f };
5173
+ fetch(h.href, w).then((b) => b.ok ? b.json() : (Pe = !0, b.json().then((M) => (console.error(M), Oe(M))))).then((b) => {
5147
5174
  if (!Pe) {
5148
5175
  if (J = b, localStorage.getItem("playerConsents")) {
5149
5176
  try {
5150
5177
  r(9, j = JSON.parse(localStorage.getItem("playerConsents")));
5151
- } catch (T) {
5152
- return console.error(T), Oe(T);
5178
+ } catch (M) {
5179
+ return console.error(M), Oe(M);
5153
5180
  }
5154
5181
  return;
5155
5182
  }
5156
- return r(9, j = J.map((T) => ({
5157
- id: T.id,
5183
+ return r(9, j = J.map((M) => ({
5184
+ id: M.id,
5158
5185
  status: R.denied.key,
5159
- friendlyName: T.friendlyName,
5160
- tagCode: T.tagCode,
5186
+ friendlyName: M.friendlyName,
5187
+ tagCode: M.tagCode,
5161
5188
  selected: null,
5162
- mustAccept: T.mustAccept
5189
+ mustAccept: M.mustAccept
5163
5190
  }))), localStorage.setItem("playerConsents", JSON.stringify(j)), j;
5164
5191
  }
5165
5192
  }).catch((b) => (console.error(b), Oe(b))).finally(() => {
5166
5193
  r(10, _e = !1);
5167
5194
  });
5168
- }, jr = (h) => {
5169
- const p = /* @__PURE__ */ new Map();
5170
- return h.forEach((M) => {
5171
- p.has(M.category.categoryTagCode) || p.set(M.category.categoryTagCode, M.category);
5172
- }), Array.from(p.values());
5173
5195
  }, Ir = (h) => {
5174
- const p = localStorage.getItem("categoryToggle" + C);
5175
- if (p === null) {
5176
- const M = h.reduce(
5177
- (b, T) => (b[T.categoryTagCode] = !1, b),
5196
+ const f = /* @__PURE__ */ new Map();
5197
+ return h.forEach((w) => {
5198
+ f.has(w.category.categoryTagCode) || f.set(w.category.categoryTagCode, w.category);
5199
+ }), Array.from(f.values());
5200
+ }, Rr = (h) => {
5201
+ const f = localStorage.getItem("categoryToggle" + C);
5202
+ if (f === null) {
5203
+ const w = h.reduce(
5204
+ (b, M) => (b[M.categoryTagCode] = !1, b),
5178
5205
  {}
5179
5206
  );
5180
- return localStorage.setItem("categoryToggle" + C, JSON.stringify(M)), M;
5207
+ return localStorage.setItem("categoryToggle" + C, JSON.stringify(w)), w;
5181
5208
  } else
5182
- return JSON.parse(p);
5183
- }, Rr = () => {
5209
+ return JSON.parse(f);
5210
+ }, Ur = () => {
5184
5211
  j.forEach((h) => {
5185
5212
  r(12, Q[h.tagCode] = h.status === R.accepted.value, Q);
5186
5213
  }), r(13, D = W({}, Q));
5187
- }, Ur = () => {
5214
+ }, Dr = () => {
5188
5215
  r(13, D = W({}, Q)), r(11, V = W({}, Ae));
5189
- }, Dr = () => re(this, null, function* () {
5216
+ }, Gr = () => re(this, null, function* () {
5190
5217
  if (!Ne)
5191
5218
  return;
5192
5219
  Ne = !1;
5193
- const h = [], p = [];
5220
+ const h = [], f = [];
5194
5221
  if (Object.keys(D).forEach((b) => {
5195
- const T = j.find((I) => I.tagCode === b);
5196
- D[b] !== Q[b] && (T ? h.push({
5222
+ const M = j.find((I) => I.tagCode === b);
5223
+ D[b] !== Q[b] && (M ? h.push({
5197
5224
  tagCode: b,
5198
5225
  status: D[b] ? R.accepted.value : R.denied.value
5199
- }) : p.push({
5226
+ }) : f.push({
5200
5227
  tagCode: b,
5201
5228
  status: D[b] ? R.accepted.value : R.denied.value
5202
5229
  }));
@@ -5204,24 +5231,24 @@ function No(e, t, r) {
5204
5231
  localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5205
5232
  {
5206
5233
  type: "NewPlayerConsentData",
5207
- data: JSON.stringify(p)
5234
+ data: JSON.stringify(f)
5208
5235
  },
5209
5236
  window.location.href
5210
5237
  ), Ne = !0;
5211
5238
  return;
5212
5239
  }
5213
- const M = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5240
+ const w = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5214
5241
  try {
5215
5242
  const b = yield Promise.allSettled([
5216
- p.length > 0 && ve(M.href, "updateConsentsError", {
5243
+ f.length > 0 && ve(w.href, "updateConsentsError", {
5217
5244
  method: "POST",
5218
5245
  headers: {
5219
5246
  "X-SessionId": v,
5220
5247
  "Content-Type": "application/json"
5221
5248
  },
5222
- body: JSON.stringify({ userConsents: p })
5249
+ body: JSON.stringify({ userConsents: f })
5223
5250
  }),
5224
- h.length > 0 && ve(M.href, "updateConsentsError", {
5251
+ h.length > 0 && ve(w.href, "updateConsentsError", {
5225
5252
  method: "PATCH",
5226
5253
  headers: {
5227
5254
  "X-SessionId": v,
@@ -5230,12 +5257,12 @@ function No(e, t, r) {
5230
5257
  body: JSON.stringify({ userConsents: h })
5231
5258
  })
5232
5259
  ]);
5233
- b.forEach((T, I) => {
5234
- if (T.status === "rejected" || T.value.ok === !1) {
5235
- const q = I < p.length ? p[I] : h[I - p.length];
5260
+ b.forEach((M, I) => {
5261
+ if (M.status === "rejected" || M.value.ok === !1) {
5262
+ const q = I < f.length ? f[I] : h[I - f.length];
5236
5263
  r(13, D[q.tagCode] = Q[q.tagCode], D);
5237
5264
  }
5238
- }), b.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5265
+ }), b.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5239
5266
  {
5240
5267
  type: "PlayerConsentUpdated",
5241
5268
  success: !0
@@ -5253,56 +5280,56 @@ function No(e, t, r) {
5253
5280
  } finally {
5254
5281
  Ne = !0, r(14, ye = !1);
5255
5282
  }
5256
- }), Gr = (h) => {
5257
- const p = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
5283
+ }), Fr = (h) => {
5284
+ const f = new URL(`${a}/api/v2/gm/legislation/consents`), w = {
5258
5285
  "Content-Type": "application/json",
5259
5286
  Accept: "application/json"
5260
5287
  }, b = {
5261
5288
  playerConsents: j,
5262
5289
  registrationId: h
5263
- }, T = {
5290
+ }, M = {
5264
5291
  method: "POST",
5265
5292
  body: JSON.stringify(b),
5266
- headers: M
5293
+ headers: w
5267
5294
  };
5268
- fetch(p.href, T).then((I) => {
5295
+ fetch(f.href, M).then((I) => {
5269
5296
  I.ok || (Pe = !0);
5270
5297
  }).catch((I) => (console.error(I), Oe(I))).finally(() => {
5271
5298
  r(10, _e = !1);
5272
5299
  });
5273
5300
  }, Et = (h) => {
5274
- j.filter((p) => p.category.categoryTagCode === h).forEach((p) => {
5275
- p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, D[p.tagCode] = V[h] || !1, D);
5301
+ j.filter((f) => f.category.categoryTagCode === h).forEach((f) => {
5302
+ f.status = f.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, D[f.tagCode] = V[h] || !1, D);
5276
5303
  }), r(14, ye = Ct());
5277
- }, We = (h, p, M) => {
5278
- const b = j.find((q) => q.id === M), T = p ? "value" : "key";
5304
+ }, We = (h, f, w) => {
5305
+ const b = j.find((q) => q.id === w), M = f ? "value" : "key";
5279
5306
  let I;
5280
- if (!p && b.mustAccept) {
5307
+ if (!f && b.mustAccept) {
5281
5308
  const q = Array.from(He.children);
5282
5309
  for (const be of q)
5283
- if (I = Array.from(be.children).find((Kr) => Kr.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
5310
+ if (I = Array.from(be.children).find((en) => en.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
5284
5311
  break;
5285
5312
  }
5286
- if (b.status === R.accepted[T] ? (b.status = R.denied[T], I && (I.innerHTML = n("requiredError"))) : (b.status = R.accepted[T], I && (I.innerHTML = "")), p) {
5313
+ if (b.status === R.accepted[M] ? (b.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (b.status = R.accepted[M], I && (I.innerHTML = "")), f) {
5287
5314
  r(13, D[b.tagCode] = !D[b.tagCode], D);
5288
- const q = j.filter((be) => be.category.categoryTagCode === p.categoryTagCode).every((be) => be.status !== R.denied.value);
5289
- r(11, V[p.categoryTagCode] = q, V);
5315
+ const q = j.filter((be) => be.category.categoryTagCode === f.categoryTagCode).every((be) => be.status !== R.denied.value);
5316
+ r(11, V[f.categoryTagCode] = q, V);
5290
5317
  }
5291
- Fr();
5292
- }, Fr = ((h, p) => {
5293
- let M;
5318
+ $r();
5319
+ }, $r = ((h, f) => {
5320
+ let w;
5294
5321
  return function(...b) {
5295
- const T = this;
5296
- clearTimeout(M), M = setTimeout(
5322
+ const M = this;
5323
+ clearTimeout(w), w = setTimeout(
5297
5324
  () => {
5298
- h.apply(T, b);
5325
+ h.apply(M, b);
5299
5326
  },
5300
- p
5327
+ f
5301
5328
  );
5302
5329
  };
5303
- })(() => $r(), 500), $r = () => {
5330
+ })(() => Vr(), 500), Vr = () => {
5304
5331
  r(14, ye = Ct()), i || (window.postMessage({ type: "isConsentsValid", isValid: ye }), localStorage.setItem("playerConsents", JSON.stringify(j)));
5305
- }, Ct = () => j.filter((p) => j.some((M) => p.tagCode === M.tagCode && M.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Oe = (h) => {
5332
+ }, Ct = () => j.filter((f) => j.some((w) => f.tagCode === w.tagCode && w.mustAccept && (f.status === R.denied.key || f.status === R.denied.value))).length === 0, Oe = (h) => {
5306
5333
  window.postMessage(
5307
5334
  {
5308
5335
  type: "WidgetNotification",
@@ -5310,46 +5337,46 @@ function No(e, t, r) {
5310
5337
  },
5311
5338
  window.location.href
5312
5339
  );
5313
- }, Vr = (h) => {
5314
- h.data && h.data.type !== "setUpPlayerConsents" || Gr(h.data.registerid);
5340
+ }, Xr = (h) => {
5341
+ h.data && h.data.type !== "setUpPlayerConsents" || Fr(h.data.registerid);
5315
5342
  };
5316
- pn(() => {
5343
+ gn(() => {
5317
5344
  setTimeout(
5318
5345
  () => {
5319
- r(25, S = !0);
5346
+ r(26, S = !0);
5320
5347
  },
5321
5348
  50
5322
5349
  );
5323
- const h = (p) => Vr(p);
5350
+ const h = (f) => Xr(f);
5324
5351
  return window.addEventListener("message", h), () => {
5325
5352
  window.removeEventListener("message", h);
5326
5353
  };
5327
5354
  });
5328
- function Xr(h) {
5355
+ function qr(h) {
5329
5356
  V[h.categoryTagCode] = this.checked, r(11, V);
5330
5357
  }
5331
- const qr = (h) => Et(h.categoryTagCode), Wr = (h, p) => p.category.categoryTagCode === h.categoryTagCode, Zr = (h, p) => We(p, h.category, h.id), Jr = (h, p) => We(p, null, h.id);
5332
- function Qr(h) {
5358
+ const Wr = (h) => Et(h.categoryTagCode), Zr = (h, f) => f.category.categoryTagCode === h.categoryTagCode, Jr = (h, f) => We(f, h.category, h.id), Qr = (h, f) => We(f, null, h.id);
5359
+ function Yr(h) {
5333
5360
  Re[h ? "unshift" : "push"](() => {
5334
5361
  He = h, r(15, He);
5335
5362
  });
5336
5363
  }
5337
- function Yr(h) {
5364
+ function Kr(h) {
5338
5365
  Re[h ? "unshift" : "push"](() => {
5339
5366
  g = h, r(5, g);
5340
5367
  });
5341
5368
  }
5342
5369
  return e.$$set = (h) => {
5343
- "session" in h && r(0, i = h.session), "userid" in h && r(20, o = h.userid), "endpoint" in h && r(21, a = h.endpoint), "clientstyling" in h && r(1, s = h.clientstyling), "clientstylingurl" in h && r(2, c = h.clientstylingurl), "mbsource" in h && r(3, l = h.mbsource), "lang" in h && r(22, u = h.lang), "displayconsentdescription" in h && r(4, d = h.displayconsentdescription), "translationurl" in h && r(23, m = h.translationurl), "modalconsents" in h && r(24, y = h.modalconsents);
5370
+ "session" in h && r(0, i = h.session), "userid" in h && r(21, o = h.userid), "endpoint" in h && r(22, a = h.endpoint), "clientstyling" in h && r(1, s = h.clientstyling), "clientstylingurl" in h && r(2, c = h.clientstylingurl), "mbsource" in h && r(3, l = h.mbsource), "lang" in h && r(23, u = h.lang), "displayconsentdescription" in h && r(4, d = h.displayconsentdescription), "translationurl" in h && r(24, m = h.translationurl), "modalconsents" in h && r(25, y = h.modalconsents);
5344
5371
  }, e.$$.update = () => {
5345
5372
  e.$$.dirty[0] & /*isMounted, session*/
5346
- 33554433 && S && i && (Or(), zr()), e.$$.dirty[0] & /*session*/
5347
- 1 && (i || Lr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5348
- 34 && s && g && wn(g, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5349
- 36 && c && g && Tn(g, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5350
- 40 && g && Mn(g, `${l}.Style`, f), e.$$.dirty[0] & /*lang*/
5351
- 4194304 && u && Pr(), e.$$.dirty[0] & /*translationurl*/
5352
- 8388608 && m && Br();
5373
+ 67108865 && S && i && (zr(), Lr()), e.$$.dirty[0] & /*session*/
5374
+ 1 && (i || jr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5375
+ 34 && s && g && Tn(g, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5376
+ 36 && c && g && Mn(g, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5377
+ 40 && g && Nn(g, `${l}.Style`, p), e.$$.dirty[0] & /*lang*/
5378
+ 8388608 && u && Pr(), e.$$.dirty[0] & /*translationurl*/
5379
+ 16777216 && m && Br();
5353
5380
  }, [
5354
5381
  i,
5355
5382
  s,
@@ -5368,7 +5395,8 @@ function No(e, t, r) {
5368
5395
  ye,
5369
5396
  He,
5370
5397
  n,
5371
- Dr,
5398
+ Or,
5399
+ Gr,
5372
5400
  Et,
5373
5401
  We,
5374
5402
  o,
@@ -5377,13 +5405,13 @@ function No(e, t, r) {
5377
5405
  m,
5378
5406
  y,
5379
5407
  S,
5380
- Xr,
5381
5408
  qr,
5382
5409
  Wr,
5383
5410
  Zr,
5384
5411
  Jr,
5385
5412
  Qr,
5386
- Yr
5413
+ Yr,
5414
+ Kr
5387
5415
  ];
5388
5416
  }
5389
5417
  class Hr extends ar {
@@ -5391,22 +5419,22 @@ class Hr extends ar {
5391
5419
  super(), nr(
5392
5420
  this,
5393
5421
  t,
5422
+ Ao,
5394
5423
  No,
5395
- Mo,
5396
5424
  _t,
5397
5425
  {
5398
5426
  session: 0,
5399
- userid: 20,
5400
- endpoint: 21,
5427
+ userid: 21,
5428
+ endpoint: 22,
5401
5429
  clientstyling: 1,
5402
5430
  clientstylingurl: 2,
5403
5431
  mbsource: 3,
5404
- lang: 22,
5432
+ lang: 23,
5405
5433
  displayconsentdescription: 4,
5406
- translationurl: 23,
5407
- modalconsents: 24
5434
+ translationurl: 24,
5435
+ modalconsents: 25
5408
5436
  },
5409
- Co,
5437
+ So,
5410
5438
  [-1, -1, -1]
5411
5439
  );
5412
5440
  }
@@ -5417,13 +5445,13 @@ class Hr extends ar {
5417
5445
  this.$$set({ session: t }), X();
5418
5446
  }
5419
5447
  get userid() {
5420
- return this.$$.ctx[20];
5448
+ return this.$$.ctx[21];
5421
5449
  }
5422
5450
  set userid(t) {
5423
5451
  this.$$set({ userid: t }), X();
5424
5452
  }
5425
5453
  get endpoint() {
5426
- return this.$$.ctx[21];
5454
+ return this.$$.ctx[22];
5427
5455
  }
5428
5456
  set endpoint(t) {
5429
5457
  this.$$set({ endpoint: t }), X();
@@ -5447,7 +5475,7 @@ class Hr extends ar {
5447
5475
  this.$$set({ mbsource: t }), X();
5448
5476
  }
5449
5477
  get lang() {
5450
- return this.$$.ctx[22];
5478
+ return this.$$.ctx[23];
5451
5479
  }
5452
5480
  set lang(t) {
5453
5481
  this.$$set({ lang: t }), X();
@@ -5459,38 +5487,38 @@ class Hr extends ar {
5459
5487
  this.$$set({ displayconsentdescription: t }), X();
5460
5488
  }
5461
5489
  get translationurl() {
5462
- return this.$$.ctx[23];
5490
+ return this.$$.ctx[24];
5463
5491
  }
5464
5492
  set translationurl(t) {
5465
5493
  this.$$set({ translationurl: t }), X();
5466
5494
  }
5467
5495
  get modalconsents() {
5468
- return this.$$.ctx[24];
5496
+ return this.$$.ctx[25];
5469
5497
  }
5470
5498
  set modalconsents(t) {
5471
5499
  this.$$set({ modalconsents: t }), X();
5472
5500
  }
5473
5501
  }
5474
5502
  or(Hr, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
5475
- const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5503
+ const Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5476
5504
  __proto__: null,
5477
5505
  default: Hr
5478
5506
  }, Symbol.toStringTag, { value: "Module" }));
5479
5507
  export {
5480
- Bo as P,
5508
+ Oo as P,
5481
5509
  ar as S,
5482
- ln as a,
5510
+ cn as a,
5483
5511
  L as b,
5484
5512
  Re as c,
5485
5513
  O as d,
5486
- w as e,
5514
+ T as e,
5487
5515
  X as f,
5488
- wn as g,
5489
- Tn as h,
5516
+ Tn as g,
5517
+ Mn as h,
5490
5518
  nr as i,
5491
- Mn as j,
5519
+ Nn as j,
5492
5520
  or as k,
5493
5521
  $ as n,
5494
- pn as o,
5522
+ gn as o,
5495
5523
  _t as s
5496
5524
  };