@everymatrix/general-registration 1.90.24 → 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) {
@@ -3489,13 +3489,13 @@ var Ri = (
3489
3489
  if (this.message = t, !e.__parse)
3490
3490
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3491
3491
  var a = i || {};
3492
- var s = Wn(a, ["formatters"]);
3492
+ var s = Zn(a, ["formatters"]);
3493
3493
  this.ast = e.__parse(t, Z(Z({}, s), { locale: this.resolvedLocale }));
3494
3494
  } else
3495
3495
  this.ast = t;
3496
3496
  if (!Array.isArray(this.ast))
3497
3497
  throw new TypeError("A message must be provided as a String or AST.");
3498
- this.formats = ji(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
3498
+ this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
3499
3499
  }
3500
3500
  return Object.defineProperty(e, "defaultLocale", {
3501
3501
  get: function() {
@@ -3508,7 +3508,7 @@ var Ri = (
3508
3508
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3509
3509
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3510
3510
  }
3511
- }, e.__parse = Hi, e.formats = {
3511
+ }, e.__parse = Pi, e.formats = {
3512
3512
  number: {
3513
3513
  integer: {
3514
3514
  maximumFractionDigits: 0
@@ -3569,7 +3569,7 @@ var Ri = (
3569
3569
  }, e;
3570
3570
  }()
3571
3571
  );
3572
- function Ui(e, t) {
3572
+ function Di(e, t) {
3573
3573
  if (t == null)
3574
3574
  return;
3575
3575
  if (t in e)
@@ -3590,33 +3590,33 @@ function Ui(e, t) {
3590
3590
  n = void 0;
3591
3591
  return n;
3592
3592
  }
3593
- const Y = {}, Di = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Sr = (e, t) => {
3593
+ const Y = {}, Gi = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Sr = (e, t) => {
3594
3594
  if (t == null)
3595
3595
  return;
3596
3596
  if (t in Y && e in Y[t])
3597
3597
  return Y[t][e];
3598
3598
  const r = Xe(t);
3599
3599
  for (let n = 0; n < r.length; n++) {
3600
- const i = r[n], o = Fi(i, e);
3600
+ const i = r[n], o = $i(i, e);
3601
3601
  if (o)
3602
- return Di(e, t, o);
3602
+ return Gi(e, t, o);
3603
3603
  }
3604
3604
  };
3605
3605
  let vt;
3606
3606
  const Me = Fe({});
3607
- function Gi(e) {
3607
+ function Fi(e) {
3608
3608
  return vt[e] || null;
3609
3609
  }
3610
3610
  function xr(e) {
3611
3611
  return e in vt;
3612
3612
  }
3613
- function Fi(e, t) {
3613
+ function $i(e, t) {
3614
3614
  if (!xr(e))
3615
3615
  return null;
3616
- const r = Gi(e);
3617
- return Ui(r, t);
3616
+ const r = Fi(e);
3617
+ return Di(r, t);
3618
3618
  }
3619
- function $i(e) {
3619
+ function Vi(e) {
3620
3620
  if (e == null)
3621
3621
  return;
3622
3622
  const t = Xe(e);
@@ -3627,7 +3627,7 @@ function $i(e) {
3627
3627
  }
3628
3628
  }
3629
3629
  function wr(e, ...t) {
3630
- delete Y[e], Me.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
3630
+ delete Y[e], Me.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
3631
3631
  }
3632
3632
  fe(
3633
3633
  [Me],
@@ -3635,13 +3635,13 @@ fe(
3635
3635
  );
3636
3636
  Me.subscribe((e) => vt = e);
3637
3637
  const Ie = {};
3638
- function Vi(e, t) {
3638
+ function Xi(e, t) {
3639
3639
  Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3640
3640
  }
3641
3641
  function Tr(e) {
3642
3642
  return Ie[e];
3643
3643
  }
3644
- function Xi(e) {
3644
+ function qi(e) {
3645
3645
  return Xe(e).map((t) => {
3646
3646
  const r = Tr(t);
3647
3647
  return [t, r ? [...r] : []];
@@ -3655,19 +3655,19 @@ function ft(e) {
3655
3655
  }
3656
3656
  );
3657
3657
  }
3658
- function qi(e, t) {
3658
+ function Wi(e, t) {
3659
3659
  return Promise.all(
3660
- t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
3660
+ t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
3661
3661
  ).then((n) => wr(e, ...n));
3662
3662
  }
3663
3663
  const ke = {};
3664
3664
  function Mr(e) {
3665
3665
  if (!ft(e))
3666
3666
  return e in ke ? ke[e] : Promise.resolve();
3667
- const t = Xi(e);
3667
+ const t = qi(e);
3668
3668
  return ke[e] = Promise.all(
3669
3669
  t.map(
3670
- ([r, n]) => qi(r, n)
3670
+ ([r, n]) => Wi(r, n)
3671
3671
  )
3672
3672
  ).then(() => {
3673
3673
  if (ft(e))
@@ -3675,7 +3675,7 @@ function Mr(e) {
3675
3675
  delete ke[e];
3676
3676
  }), ke[e];
3677
3677
  }
3678
- const Wi = {
3678
+ const Zi = {
3679
3679
  number: {
3680
3680
  scientific: { notation: "scientific" },
3681
3681
  engineering: { notation: "engineering" },
@@ -3704,26 +3704,26 @@ const Wi = {
3704
3704
  timeZoneName: "short"
3705
3705
  }
3706
3706
  }
3707
- }, Zi = {
3707
+ }, Ji = {
3708
3708
  fallbackLocale: null,
3709
3709
  loadingDelay: 200,
3710
- formats: Wi,
3710
+ formats: Zi,
3711
3711
  warnOnMissingMessages: !0,
3712
3712
  handleMissingMessage: void 0,
3713
3713
  ignoreTag: !0
3714
- }, Ji = Zi;
3714
+ }, Qi = Ji;
3715
3715
  function de() {
3716
- return Ji;
3716
+ return Qi;
3717
3717
  }
3718
3718
  const nt = Fe(!1);
3719
- 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) => {
3719
+ 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) => {
3720
3720
  for (var r in t || (t = {}))
3721
- eo.call(t, r) && jt(e, r, t[r]);
3721
+ to.call(t, r) && jt(e, r, t[r]);
3722
3722
  if (Lt)
3723
3723
  for (var r of Lt(t))
3724
- to.call(t, r) && jt(e, r, t[r]);
3724
+ ro.call(t, r) && jt(e, r, t[r]);
3725
3725
  return e;
3726
- }, no = (e, t) => Yi(e, Ki(t));
3726
+ }, io = (e, t) => Ki(e, eo(t));
3727
3727
  let pt;
3728
3728
  const De = Fe(null);
3729
3729
  function It(e) {
@@ -3739,8 +3739,8 @@ function te() {
3739
3739
  De.subscribe((e) => {
3740
3740
  pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3741
3741
  });
3742
- const io = (e) => {
3743
- if (e && $i(e) && ft(e)) {
3742
+ const oo = (e) => {
3743
+ if (e && Vi(e) && ft(e)) {
3744
3744
  const { loadingDelay: t } = de();
3745
3745
  let r;
3746
3746
  return typeof window != "undefined" && te() != null && t ? r = window.setTimeout(
@@ -3753,8 +3753,8 @@ const io = (e) => {
3753
3753
  });
3754
3754
  }
3755
3755
  return De.set(e);
3756
- }, pe = no(ro({}, De), {
3757
- set: io
3756
+ }, pe = io(no({}, De), {
3757
+ set: oo
3758
3758
  }), qe = (e) => {
3759
3759
  const t = /* @__PURE__ */ Object.create(null);
3760
3760
  return (n) => {
@@ -3762,7 +3762,7 @@ const io = (e) => {
3762
3762
  return i in t ? t[i] : t[i] = e(n);
3763
3763
  };
3764
3764
  };
3765
- 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) => {
3765
+ 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) => {
3766
3766
  for (var r in t || (t = {}))
3767
3767
  Nr.call(t, r) && Rt(e, r, t[r]);
3768
3768
  if (Ge)
@@ -3783,21 +3783,21 @@ const we = (e, t) => {
3783
3783
  if (e in r && t in r[e])
3784
3784
  return r[e][t];
3785
3785
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3786
- }, ao = qe(
3786
+ }, so = qe(
3787
3787
  (e) => {
3788
3788
  var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3789
3789
  if (r == null)
3790
3790
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3791
3791
  return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
3792
3792
  }
3793
- ), so = qe(
3793
+ ), lo = qe(
3794
3794
  (e) => {
3795
3795
  var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3796
3796
  if (r == null)
3797
3797
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3798
3798
  return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
3799
3799
  }
3800
- ), lo = qe(
3800
+ ), co = qe(
3801
3801
  (e) => {
3802
3802
  var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3803
3803
  if (r == null)
@@ -3806,33 +3806,33 @@ const we = (e, t) => {
3806
3806
  );
3807
3807
  return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
3808
3808
  }
3809
- ), co = (e = {}) => {
3809
+ ), uo = (e = {}) => {
3810
3810
  var t = e, {
3811
3811
  locale: r = te()
3812
3812
  } = t, n = ge(t, [
3813
3813
  "locale"
3814
3814
  ]);
3815
- return ao(bt({ locale: r }, n));
3816
- }, uo = (e = {}) => {
3815
+ return so(bt({ locale: r }, n));
3816
+ }, ho = (e = {}) => {
3817
3817
  var t = e, {
3818
3818
  locale: r = te()
3819
3819
  } = t, n = ge(t, [
3820
3820
  "locale"
3821
3821
  ]);
3822
- return so(bt({ locale: r }, n));
3823
- }, ho = (e = {}) => {
3822
+ return lo(bt({ locale: r }, n));
3823
+ }, mo = (e = {}) => {
3824
3824
  var t = e, {
3825
3825
  locale: r = te()
3826
3826
  } = t, n = ge(t, [
3827
3827
  "locale"
3828
3828
  ]);
3829
- return lo(bt({ locale: r }, n));
3830
- }, mo = qe(
3829
+ return co(bt({ locale: r }, n));
3830
+ }, fo = qe(
3831
3831
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3832
- (e, t = te()) => new Ri(e, t, de().formats, {
3832
+ (e, t = te()) => new Ui(e, t, de().formats, {
3833
3833
  ignoreTag: de().ignoreTag
3834
3834
  })
3835
- ), fo = (e, t = {}) => {
3835
+ ), po = (e, t = {}) => {
3836
3836
  var r, n, i, o;
3837
3837
  let a = t;
3838
3838
  typeof e == "object" && (a = e, e = a.id);
@@ -3856,7 +3856,7 @@ const we = (e, t) => {
3856
3856
  return u;
3857
3857
  let d = u;
3858
3858
  try {
3859
- d = mo(u, c).format(s);
3859
+ d = fo(u, c).format(s);
3860
3860
  } catch (m) {
3861
3861
  m instanceof Error && console.warn(
3862
3862
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3864,15 +3864,15 @@ const we = (e, t) => {
3864
3864
  );
3865
3865
  }
3866
3866
  return d;
3867
- }, 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);
3868
- fe([pe], () => po);
3867
+ }, 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);
3869
3868
  fe([pe], () => go);
3870
3869
  fe([pe], () => _o);
3871
- fe([pe, Me], () => yo);
3870
+ fe([pe], () => yo);
3871
+ fe([pe, Me], () => vo);
3872
3872
  function Ut(e, t) {
3873
3873
  wr(e, t);
3874
3874
  }
3875
- function bo(e) {
3875
+ function ko(e) {
3876
3876
  pe.set(e);
3877
3877
  }
3878
3878
  const Dt = {
@@ -4447,11 +4447,11 @@ if (typeof window != "undefined") {
4447
4447
  }
4448
4448
  };
4449
4449
  };
4450
- customElements.define = e(customElements.define), import('./GeneralAnimationLoading-DvwHUxLh-4d6766a1.js').then(({ default: t }) => {
4450
+ customElements.define = e(customElements.define), import('./GeneralAnimationLoading-lTLzF5jR-501a49e3.js').then(({ default: t }) => {
4451
4451
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4452
4452
  });
4453
4453
  }
4454
- function ko(e) {
4454
+ function Eo(e) {
4455
4455
  let t, r;
4456
4456
  return {
4457
4457
  c() {
@@ -4468,28 +4468,28 @@ function ko(e) {
4468
4468
  }
4469
4469
  };
4470
4470
  }
4471
- class Eo extends ar {
4471
+ class Co extends ar {
4472
4472
  constructor(t) {
4473
- super(), nr(this, t, null, ko, _t, {});
4473
+ super(), nr(this, t, null, Eo, _t, {});
4474
4474
  }
4475
4475
  }
4476
- customElements.define("circle-exclamation-icon", or(Eo, {}, [], [], !0));
4477
- function Co(e) {
4478
- 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}');
4476
+ customElements.define("circle-exclamation-icon", or(Co, {}, [], [], !0));
4477
+ function So(e) {
4478
+ 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}');
4479
4479
  }
4480
4480
  function Gt(e, t, r) {
4481
4481
  const n = e.slice();
4482
- return n[64] = t[r], n;
4482
+ return n[65] = t[r], n;
4483
4483
  }
4484
4484
  function Ft(e, t, r) {
4485
4485
  const n = e.slice();
4486
- return n[61] = t[r], n[62] = t, n[63] = r, n;
4486
+ return n[62] = t[r], n[63] = t, n[64] = r, n;
4487
4487
  }
4488
4488
  function $t(e, t, r) {
4489
4489
  const n = e.slice();
4490
- return n[64] = t[r], n;
4490
+ return n[65] = t[r], n;
4491
4491
  }
4492
- function So(e) {
4492
+ function xo(e) {
4493
4493
  let t, r, n = le(
4494
4494
  /*playerConsents*/
4495
4495
  e[9]
@@ -4498,7 +4498,7 @@ function So(e) {
4498
4498
  i[o] = Vt(Gt(e, n, o));
4499
4499
  return {
4500
4500
  c() {
4501
- t = w("div"), r = w("form");
4501
+ t = T("div"), r = T("form");
4502
4502
  for (let o = 0; o < i.length; o += 1)
4503
4503
  i[o].c();
4504
4504
  k(r, "class", "checkbox svelte-etk3ty"), k(t, "class", "legacyStyle");
@@ -4507,11 +4507,11 @@ function So(e) {
4507
4507
  L(o, t, a), x(t, r);
4508
4508
  for (let s = 0; s < i.length; s += 1)
4509
4509
  i[s] && i[s].m(r, null);
4510
- e[31](r);
4510
+ e[32](r);
4511
4511
  },
4512
4512
  p(o, a) {
4513
- if (a[0] & /*playerConsents, $_, handleInput*/
4514
- 590336) {
4513
+ if (a[0] & /*playerConsents, translate, handleInput*/
4514
+ 1180160) {
4515
4515
  n = le(
4516
4516
  /*playerConsents*/
4517
4517
  o[9]
@@ -4527,11 +4527,11 @@ function So(e) {
4527
4527
  }
4528
4528
  },
4529
4529
  d(o) {
4530
- o && O(t), yt(i, o), e[31](null);
4530
+ o && O(t), yt(i, o), e[32](null);
4531
4531
  }
4532
4532
  };
4533
4533
  }
4534
- function xo(e) {
4534
+ function wo(e) {
4535
4535
  let t = (
4536
4536
  /*$_*/
4537
4537
  e[16]("title") || /*$_*/
@@ -4543,8 +4543,8 @@ function xo(e) {
4543
4543
  /*consentsCategories*/
4544
4544
  e[8]
4545
4545
  ), y = [];
4546
- for (let f = 0; f < m.length; f += 1)
4547
- y[f] = Yt(Ft(e, m, f));
4546
+ for (let p = 0; p < m.length; p += 1)
4547
+ y[p] = Yt(Ft(e, m, p));
4548
4548
  let g = (
4549
4549
  /*errorMessage*/
4550
4550
  e[6] && Kt(e)
@@ -4552,35 +4552,35 @@ function xo(e) {
4552
4552
  return {
4553
4553
  c() {
4554
4554
  d && d.c(), r = F();
4555
- for (let f = 0; f < y.length; f += 1)
4556
- y[f].c();
4557
- n = F(), i = w("button"), s = F(), g && g.c(), c = hn(), k(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
4555
+ for (let p = 0; p < y.length; p += 1)
4556
+ y[p].c();
4557
+ n = F(), i = T("button"), s = F(), g && g.c(), c = dn(), k(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
4558
4558
  e[14];
4559
4559
  },
4560
- m(f, S) {
4561
- d && d.m(f, S), L(f, r, S);
4560
+ m(p, S) {
4561
+ d && d.m(p, S), L(p, r, S);
4562
4562
  for (let _ = 0; _ < y.length; _ += 1)
4563
- y[_] && y[_].m(f, S);
4564
- 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(
4563
+ y[_] && y[_].m(p, S);
4564
+ 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(
4565
4565
  i,
4566
4566
  "click",
4567
4567
  /*saveChanges*/
4568
- e[17]
4568
+ e[18]
4569
4569
  ), l = !0);
4570
4570
  },
4571
- p(f, S) {
4571
+ p(p, S) {
4572
4572
  if (S[0] & /*$_*/
4573
4573
  65536 && (t = /*$_*/
4574
- f[16]("title") || /*$_*/
4575
- 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*/
4576
- 867088) {
4574
+ p[16]("title") || /*$_*/
4575
+ 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*/
4576
+ 1719056) {
4577
4577
  m = le(
4578
4578
  /*consentsCategories*/
4579
- f[8]
4579
+ p[8]
4580
4580
  );
4581
4581
  let _;
4582
4582
  for (_ = 0; _ < m.length; _ += 1) {
4583
- const v = Ft(f, m, _);
4583
+ const v = Ft(p, m, _);
4584
4584
  y[_] ? y[_].p(v, S) : (y[_] = Yt(v), y[_].c(), y[_].m(n.parentNode, n));
4585
4585
  }
4586
4586
  for (; _ < y.length; _ += 1)
@@ -4589,21 +4589,21 @@ function xo(e) {
4589
4589
  }
4590
4590
  S[0] & /*$_*/
4591
4591
  65536 && o !== (o = /*$_*/
4592
- (f[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4592
+ (p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4593
4593
  16384 && a !== (a = !/*isValid*/
4594
- f[14]) && (i.disabled = a), /*errorMessage*/
4595
- f[6] ? g ? g.p(f, S) : (g = Kt(f), g.c(), g.m(c.parentNode, c)) : g && (g.d(1), g = null);
4594
+ p[14]) && (i.disabled = a), /*errorMessage*/
4595
+ p[6] ? g ? g.p(p, S) : (g = Kt(p), g.c(), g.m(c.parentNode, c)) : g && (g.d(1), g = null);
4596
4596
  },
4597
- d(f) {
4598
- 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();
4597
+ d(p) {
4598
+ 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();
4599
4599
  }
4600
4600
  };
4601
4601
  }
4602
- function wo(e) {
4602
+ function To(e) {
4603
4603
  let t, r, n;
4604
4604
  return {
4605
4605
  c() {
4606
- t = w("div"), r = w("strong"), n = ee(
4606
+ t = T("div"), r = T("strong"), n = ee(
4607
4607
  /*fatalError*/
4608
4608
  e[7]
4609
4609
  ), k(r, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ContainerCenter svelte-etk3ty");
@@ -4624,11 +4624,11 @@ function wo(e) {
4624
4624
  }
4625
4625
  };
4626
4626
  }
4627
- function To(e) {
4627
+ function Mo(e) {
4628
4628
  let t;
4629
4629
  return {
4630
4630
  c() {
4631
- t = w("general-animation-loading"), K(
4631
+ t = T("general-animation-loading"), K(
4632
4632
  t,
4633
4633
  "clientstyling",
4634
4634
  /*clientstyling*/
@@ -4676,32 +4676,35 @@ function To(e) {
4676
4676
  }
4677
4677
  function Vt(e) {
4678
4678
  let t, r, n, i, o, a, s, c, l = (
4679
- /*$_*/
4680
- (e[16](`${/*consent*/
4681
- e[64].tagCode}__description`) || /*consent*/
4682
- e[64].tagCode) + ""
4679
+ /*translate*/
4680
+ e[17](
4681
+ `${/*consent*/
4682
+ e[65].tagCode}__description`,
4683
+ /*consent*/
4684
+ e[65].friendlyName
4685
+ ) + ""
4683
4686
  ), u = (
4684
4687
  /*consent*/
4685
- e[64].mustAccept ? " *" : ""
4686
- ), d, m, y, g, f, S, _, v, C;
4688
+ e[65].mustAccept ? " *" : ""
4689
+ ), d, m, y, g, p, S, _, v, C;
4687
4690
  function H(...E) {
4688
4691
  return (
4689
4692
  /*input_handler_1*/
4690
- e[30](
4693
+ e[31](
4691
4694
  /*consent*/
4692
- e[64],
4695
+ e[65],
4693
4696
  ...E
4694
4697
  )
4695
4698
  );
4696
4699
  }
4697
4700
  return {
4698
4701
  c() {
4699
- 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*/
4700
- e[64].status === "1", k(r, "id", i = `${/*consent*/
4701
- 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*/
4702
- e[64].tagCode}__input`), k(g, "class", "checkbox__error-message svelte-etk3ty"), k(g, "id", f = "checkBoxError__" + /*consent*/
4703
- e[64].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4704
- e[64].tagCode + "__input svelte-etk3ty");
4702
+ 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*/
4703
+ e[65].status === "1", k(r, "id", i = `${/*consent*/
4704
+ 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*/
4705
+ e[65].tagCode}__input`), k(g, "class", "checkbox__error-message svelte-etk3ty"), k(g, "id", p = "checkBoxError__" + /*consent*/
4706
+ e[65].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4707
+ e[65].tagCode + "__input svelte-etk3ty");
4705
4708
  },
4706
4709
  m(E, z) {
4707
4710
  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);
@@ -4709,21 +4712,24 @@ function Vt(e) {
4709
4712
  p(E, z) {
4710
4713
  e = E, z[0] & /*playerConsents*/
4711
4714
  512 && n !== (n = /*consent*/
4712
- e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4715
+ e[65].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4713
4716
  512 && i !== (i = `${/*consent*/
4714
- e[64].tagCode}__input`) && k(r, "id", i), z[0] & /*$_, playerConsents*/
4715
- 66048 && l !== (l = /*$_*/
4716
- (e[16](`${/*consent*/
4717
- e[64].tagCode}__description`) || /*consent*/
4718
- e[64].tagCode) + "") && c.p(l), z[0] & /*playerConsents*/
4717
+ e[65].tagCode}__input`) && k(r, "id", i), z[0] & /*playerConsents*/
4718
+ 512 && l !== (l = /*translate*/
4719
+ e[17](
4720
+ `${/*consent*/
4721
+ e[65].tagCode}__description`,
4722
+ /*consent*/
4723
+ e[65].friendlyName
4724
+ ) + "") && c.p(l), z[0] & /*playerConsents*/
4719
4725
  512 && u !== (u = /*consent*/
4720
- e[64].mustAccept ? " *" : "") && Te(d, u), z[0] & /*playerConsents*/
4726
+ e[65].mustAccept ? " *" : "") && Te(d, u), z[0] & /*playerConsents*/
4721
4727
  512 && m !== (m = `${/*consent*/
4722
- e[64].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4723
- 512 && f !== (f = "checkBoxError__" + /*consent*/
4724
- e[64].tagCode) && k(g, "id", f), z[0] & /*playerConsents*/
4728
+ e[65].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4729
+ 512 && p !== (p = "checkBoxError__" + /*consent*/
4730
+ e[65].tagCode) && k(g, "id", p), z[0] & /*playerConsents*/
4725
4731
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4726
- e[64].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
4732
+ e[65].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
4727
4733
  },
4728
4734
  d(E) {
4729
4735
  E && O(t), v = !1, C();
@@ -4740,7 +4746,7 @@ function Xt(e) {
4740
4746
  ), o = r && qt(e), a = i && Wt(e);
4741
4747
  return {
4742
4748
  c() {
4743
- t = w("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4749
+ t = T("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4744
4750
  },
4745
4751
  m(s, c) {
4746
4752
  L(s, t, c), o && o.m(t, null), x(t, n), a && a.m(t, null);
@@ -4764,7 +4770,7 @@ function qt(e) {
4764
4770
  ), n;
4765
4771
  return {
4766
4772
  c() {
4767
- t = w("h2"), n = ee(r), k(t, "class", "PlayerConsentsTitle");
4773
+ t = T("h2"), n = ee(r), k(t, "class", "PlayerConsentsTitle");
4768
4774
  },
4769
4775
  m(i, o) {
4770
4776
  L(i, t, o), x(t, n);
@@ -4786,7 +4792,7 @@ function Wt(e) {
4786
4792
  ), n;
4787
4793
  return {
4788
4794
  c() {
4789
- t = w("p"), n = ee(r), k(t, "class", "PlayerConsentsDescription");
4795
+ t = T("p"), n = ee(r), k(t, "class", "PlayerConsentsDescription");
4790
4796
  },
4791
4797
  m(i, o) {
4792
4798
  L(i, t, o), x(t, n);
@@ -4805,7 +4811,7 @@ function Zt(e) {
4805
4811
  let t;
4806
4812
  return {
4807
4813
  c() {
4808
- t = w("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
4814
+ t = T("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
4809
4815
  },
4810
4816
  m(r, n) {
4811
4817
  L(r, t, n);
@@ -4817,24 +4823,30 @@ function Zt(e) {
4817
4823
  }
4818
4824
  function Jt(e) {
4819
4825
  let t, r = (
4820
- /*$_*/
4821
- (e[16](`${/*consent*/
4822
- e[64].tagCode}__description`) || /*consent*/
4823
- e[64].description) + ""
4826
+ /*translate*/
4827
+ e[17](
4828
+ `${/*consent*/
4829
+ e[65].tagCode}__description`,
4830
+ /*consent*/
4831
+ e[65].description
4832
+ ) + ""
4824
4833
  );
4825
4834
  return {
4826
4835
  c() {
4827
- t = w("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
4836
+ t = T("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
4828
4837
  },
4829
4838
  m(n, i) {
4830
4839
  L(n, t, i), t.innerHTML = r;
4831
4840
  },
4832
4841
  p(n, i) {
4833
- i[0] & /*$_, playerConsents, consentsCategories*/
4834
- 66304 && r !== (r = /*$_*/
4835
- (n[16](`${/*consent*/
4836
- n[64].tagCode}__description`) || /*consent*/
4837
- n[64].description) + "") && (t.innerHTML = r);
4842
+ i[0] & /*playerConsents, consentsCategories*/
4843
+ 768 && r !== (r = /*translate*/
4844
+ n[17](
4845
+ `${/*consent*/
4846
+ n[65].tagCode}__description`,
4847
+ /*consent*/
4848
+ n[65].description
4849
+ ) + "") && (t.innerHTML = r);
4838
4850
  },
4839
4851
  d(n) {
4840
4852
  n && O(t);
@@ -4843,13 +4855,16 @@ function Jt(e) {
4843
4855
  }
4844
4856
  function Qt(e) {
4845
4857
  let t, r, n, i, o = (
4846
- /*$_*/
4847
- (e[16](`${/*consent*/
4848
- e[64].tagCode}__name`) || /*consent*/
4849
- e[64].friendlyName) + ""
4850
- ), a, s, c, l, u, d, m, y, g, f, S, _ = (
4858
+ /*translate*/
4859
+ e[17](
4860
+ `${/*consent*/
4861
+ e[65].tagCode}__name`,
4862
+ /*consent*/
4863
+ e[65].friendlyName
4864
+ ) + ""
4865
+ ), a, s, c, l, u, d, m, y, g, p, S, _ = (
4851
4866
  /*consent*/
4852
- e[64].mustAccept === !0 && Zt()
4867
+ e[65].mustAccept === !0 && Zt()
4853
4868
  ), v = (
4854
4869
  /*displayconsentdescription*/
4855
4870
  e[4] === "true" && Jt(e)
@@ -4857,83 +4872,89 @@ function Qt(e) {
4857
4872
  function C(...H) {
4858
4873
  return (
4859
4874
  /*input_handler*/
4860
- e[29](
4875
+ e[30](
4861
4876
  /*consent*/
4862
- e[64],
4877
+ e[65],
4863
4878
  ...H
4864
4879
  )
4865
4880
  );
4866
4881
  }
4867
4882
  return {
4868
4883
  c() {
4869
- 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*/
4870
- e[64].mustAccept === !0 && /*initialConsentsState*/
4884
+ 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*/
4885
+ e[65].mustAccept === !0 && /*initialConsentsState*/
4871
4886
  e[12][
4872
4887
  /*consent*/
4873
- e[64].tagCode
4888
+ e[65].tagCode
4874
4889
  ] === !0, u.checked = m = /*consentsState*/
4875
4890
  e[13][
4876
4891
  /*consent*/
4877
- e[64].tagCode
4892
+ e[65].tagCode
4878
4893
  ], k(u, "class", "svelte-etk3ty"), k(g, "class", "Slider Round svelte-etk3ty"), k(l, "class", "ToggleSwitch svelte-etk3ty"), k(t, "class", "ConsentItem svelte-etk3ty");
4879
4894
  },
4880
4895
  m(H, E) {
4881
- 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);
4896
+ 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);
4882
4897
  },
4883
4898
  p(H, E) {
4884
- e = H, E[0] & /*$_, playerConsents, consentsCategories*/
4885
- 66304 && o !== (o = /*$_*/
4886
- (e[16](`${/*consent*/
4887
- e[64].tagCode}__name`) || /*consent*/
4888
- e[64].friendlyName) + "") && i.p(o), /*consent*/
4889
- e[64].mustAccept === !0 ? _ || (_ = Zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4899
+ e = H, E[0] & /*playerConsents, consentsCategories*/
4900
+ 768 && o !== (o = /*translate*/
4901
+ e[17](
4902
+ `${/*consent*/
4903
+ e[65].tagCode}__name`,
4904
+ /*consent*/
4905
+ e[65].friendlyName
4906
+ ) + "") && i.p(o), /*consent*/
4907
+ e[65].mustAccept === !0 ? _ || (_ = Zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4890
4908
  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*/
4891
4909
  4864 && d !== (d = /*consent*/
4892
- e[64].mustAccept === !0 && /*initialConsentsState*/
4910
+ e[65].mustAccept === !0 && /*initialConsentsState*/
4893
4911
  e[12][
4894
4912
  /*consent*/
4895
- e[64].tagCode
4913
+ e[65].tagCode
4896
4914
  ] === !0) && (u.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4897
4915
  8960 && m !== (m = /*consentsState*/
4898
4916
  e[13][
4899
4917
  /*consent*/
4900
- e[64].tagCode
4918
+ e[65].tagCode
4901
4919
  ]) && (u.checked = m);
4902
4920
  },
4903
4921
  d(H) {
4904
- H && O(t), _ && _.d(), v && v.d(), f = !1, S();
4922
+ H && O(t), _ && _.d(), v && v.d(), p = !1, S();
4905
4923
  }
4906
4924
  };
4907
4925
  }
4908
4926
  function Yt(e) {
4909
4927
  let t, r, n, i = (
4910
- /*$_*/
4911
- (e[16](`${/*category*/
4912
- e[61].categoryTagCode}__category`) || /*category*/
4913
- e[61].friendlyName) + ""
4928
+ /*translate*/
4929
+ e[17](
4930
+ `${/*category*/
4931
+ e[62].categoryTagCode}__category`,
4932
+ /*category*/
4933
+ e[62].friendlyName
4934
+ ) + ""
4914
4935
  ), o, a, s, c, l, u, d, m, y;
4915
4936
  function g() {
4916
- e[26].call(
4937
+ e[27].call(
4917
4938
  s,
4918
4939
  /*category*/
4919
- e[61]
4940
+ e[62]
4920
4941
  );
4921
4942
  }
4922
- function f() {
4943
+ function p() {
4923
4944
  return (
4924
4945
  /*change_handler*/
4925
- e[27](
4946
+ e[28](
4926
4947
  /*category*/
4927
- e[61]
4948
+ e[62]
4928
4949
  )
4929
4950
  );
4930
4951
  }
4931
4952
  function S(...C) {
4932
4953
  return (
4933
4954
  /*func*/
4934
- e[28](
4955
+ e[29](
4935
4956
  /*category*/
4936
- e[61],
4957
+ e[62],
4937
4958
  ...C
4938
4959
  )
4939
4960
  );
@@ -4946,7 +4967,7 @@ function Yt(e) {
4946
4967
  v[C] = Qt($t(e, _, C));
4947
4968
  return {
4948
4969
  c() {
4949
- 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");
4970
+ 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");
4950
4971
  for (let C = 0; C < v.length; C += 1)
4951
4972
  v[C].c();
4952
4973
  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");
@@ -4955,27 +4976,30 @@ function Yt(e) {
4955
4976
  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*/
4956
4977
  e[11][
4957
4978
  /*category*/
4958
- e[61].categoryTagCode
4979
+ e[62].categoryTagCode
4959
4980
  ], x(a, c), x(a, l), x(t, u), x(t, d);
4960
4981
  for (let E = 0; E < v.length; E += 1)
4961
4982
  v[E] && v[E].m(d, null);
4962
4983
  m || (y = [
4963
4984
  Ce(s, "change", g),
4964
- Ce(s, "change", f)
4985
+ Ce(s, "change", p)
4965
4986
  ], m = !0);
4966
4987
  },
4967
4988
  p(C, H) {
4968
- if (e = C, H[0] & /*$_, consentsCategories*/
4969
- 65792 && i !== (i = /*$_*/
4970
- (e[16](`${/*category*/
4971
- e[61].categoryTagCode}__category`) || /*category*/
4972
- e[61].friendlyName) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
4989
+ if (e = C, H[0] & /*consentsCategories*/
4990
+ 256 && i !== (i = /*translate*/
4991
+ e[17](
4992
+ `${/*category*/
4993
+ e[62].categoryTagCode}__category`,
4994
+ /*category*/
4995
+ e[62].friendlyName
4996
+ ) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
4973
4997
  2304 && (s.checked = /*categoryToggle*/
4974
4998
  e[11][
4975
4999
  /*category*/
4976
- e[61].categoryTagCode
4977
- ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4978
- 602896) {
5000
+ e[62].categoryTagCode
5001
+ ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription*/
5002
+ 1192720) {
4979
5003
  _ = le(
4980
5004
  /*playerConsents*/
4981
5005
  e[9].filter(S)
@@ -4999,7 +5023,7 @@ function Kt(e) {
4999
5023
  let t, r, n, i, o;
5000
5024
  return {
5001
5025
  c() {
5002
- t = w("div"), r = w("circle-exclamation-icon"), n = F(), i = w("strong"), o = ee(
5026
+ t = T("div"), r = T("circle-exclamation-icon"), n = F(), i = T("strong"), o = ee(
5003
5027
  /*errorMessage*/
5004
5028
  e[6]
5005
5029
  ), K(r, "class", "svelte-etk3ty"), k(i, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ConsentErrorContainer svelte-etk3ty");
@@ -5020,35 +5044,35 @@ function Kt(e) {
5020
5044
  }
5021
5045
  };
5022
5046
  }
5023
- function Mo(e) {
5047
+ function No(e) {
5024
5048
  let t, r;
5025
5049
  function n(a, s) {
5026
5050
  if (
5027
5051
  /*isLoading*/
5028
5052
  a[10]
5029
5053
  )
5030
- return To;
5054
+ return Mo;
5031
5055
  if (
5032
5056
  /*fatalError*/
5033
5057
  a[7]
5034
5058
  )
5035
- return wo;
5059
+ return To;
5036
5060
  if (
5037
5061
  /*session*/
5038
5062
  a[0]
5039
5063
  )
5040
- return xo;
5064
+ return wo;
5041
5065
  if (!/*session*/
5042
5066
  a[0])
5043
- return So;
5067
+ return xo;
5044
5068
  }
5045
5069
  let i = n(e), o = i && i(e);
5046
5070
  return {
5047
5071
  c() {
5048
- t = w("div"), r = w("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
5072
+ t = T("div"), r = T("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
5049
5073
  },
5050
5074
  m(a, s) {
5051
- L(a, t, s), x(t, r), o && o.m(r, null), e[32](r);
5075
+ L(a, t, s), x(t, r), o && o.m(r, null), e[33](r);
5052
5076
  },
5053
5077
  p(a, s) {
5054
5078
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
@@ -5056,14 +5080,14 @@ function Mo(e) {
5056
5080
  i: $,
5057
5081
  o: $,
5058
5082
  d(a) {
5059
- a && O(t), o && o.d(), e[32](null);
5083
+ a && O(t), o && o.d(), e[33](null);
5060
5084
  }
5061
5085
  };
5062
5086
  }
5063
- function No(e, t, r) {
5087
+ function Ao(e, t, r) {
5064
5088
  let n;
5065
- sn(e, vo, (h) => r(16, n = h));
5066
- 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 = {
5089
+ ln(e, bo, (h) => r(16, n = h));
5090
+ 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 = {
5067
5091
  none: { key: "0", value: "None" },
5068
5092
  accepted: { key: "1", value: "Accepted" },
5069
5093
  expired: { key: "2", value: "Expired" },
@@ -5074,47 +5098,50 @@ function No(e, t, r) {
5074
5098
  Ut(h, Dt[h]);
5075
5099
  });
5076
5100
  const Pr = () => {
5077
- bo(u);
5101
+ ko(u);
5078
5102
  }, Br = () => {
5079
5103
  let h = new URL(m);
5080
- fetch(h.href).then((p) => p.json()).then((p) => {
5081
- Object.keys(p).forEach((M) => {
5082
- Ut(M, p[M]);
5104
+ fetch(h.href).then((f) => f.json()).then((f) => {
5105
+ Object.keys(f).forEach((w) => {
5106
+ Ut(w, f[w]);
5083
5107
  });
5084
- }).catch((p) => {
5085
- console.log(p);
5108
+ }).catch((f) => {
5109
+ console.log(f);
5086
5110
  });
5087
- }, Or = () => {
5111
+ }, Or = (h, f) => {
5112
+ const w = n(h);
5113
+ return w !== h ? w : f;
5114
+ }, zr = () => {
5088
5115
  i && (v = i, _ = !0), o && (C = o);
5089
- }, Be = (h, p = !1) => {
5090
- p ? r(7, E = h) : (Ur(), r(6, H = h));
5091
- }, ve = (h, p, M, b = !1) => re(this, null, function* () {
5116
+ }, Be = (h, f = !1) => {
5117
+ f ? r(7, E = h) : (Dr(), r(6, H = h));
5118
+ }, ve = (h, f, w, b = !1) => re(this, null, function* () {
5092
5119
  try {
5093
- const T = yield fetch(h, M);
5094
- if (!T.ok)
5095
- throw new Error(n(p));
5096
- const I = yield T.json();
5120
+ const M = yield fetch(h, w);
5121
+ if (!M.ok)
5122
+ throw new Error(n(f));
5123
+ const I = yield M.json();
5097
5124
  return _ ? I : I.filter((q) => q.showOnRegister === !0);
5098
- } catch (T) {
5125
+ } catch (M) {
5099
5126
  throw Be(
5100
- T instanceof TypeError ? n(p) : T.message,
5127
+ M instanceof TypeError ? n(f) : M.message,
5101
5128
  b
5102
- ), T;
5129
+ ), M;
5103
5130
  }
5104
- }), zr = () => re(this, null, function* () {
5131
+ }), Lr = () => re(this, null, function* () {
5105
5132
  try {
5106
- let h = [], p = [];
5107
- 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) => {
5108
- let b = j.find((T) => T.tagCode === M.tagCode);
5109
- b || (b = Je(W({}, M), {
5133
+ let h = [], f = [];
5134
+ 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) => {
5135
+ let b = j.find((M) => M.tagCode === w.tagCode);
5136
+ b || (b = Je(W({}, w), {
5110
5137
  status: R.denied.value
5111
- }), j.push(b)), b.description = M.description, b.orderNumber = M.orderNumber;
5138
+ }), j.push(b)), b.description = w.description, b.orderNumber = w.orderNumber;
5112
5139
  }), y === "true") {
5113
- if (r(9, j = j.filter((M) => M.status === R.expired.value)), j.length !== 0)
5140
+ if (r(9, j = j.filter((w) => w.status === R.expired.value)), j.length !== 0)
5114
5141
  return;
5115
5142
  Be(n("wrongModalConfig"), !0);
5116
5143
  }
5117
- Rr();
5144
+ Ur();
5118
5145
  } catch (h) {
5119
5146
  throw r(10, _e = !1), Be(
5120
5147
  h instanceof TypeError ? n("invalidUrl") : h.message,
@@ -5125,10 +5152,10 @@ function No(e, t, r) {
5125
5152
  const h = new URL(`${a}/api/v1/gm/consents`);
5126
5153
  if (h.searchParams.append("Status", "Active"), !_)
5127
5154
  return yield ve(h.href, "fetchConsentsError", { method: "GET" }, !0);
5128
- const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5155
+ const f = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5129
5156
  return yield Promise.all([
5130
5157
  ve(h.href, "fetchConsentsError", { method: "GET" }, !0),
5131
- ve(p.href, "fetchPlayerConsentsError", {
5158
+ ve(f.href, "fetchPlayerConsentsError", {
5132
5159
  method: "GET",
5133
5160
  headers: {
5134
5161
  "X-SessionId": v,
@@ -5136,66 +5163,66 @@ function No(e, t, r) {
5136
5163
  }
5137
5164
  })
5138
5165
  ]);
5139
- }), Lr = () => {
5166
+ }), jr = () => {
5140
5167
  Pe = !1;
5141
- const h = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
5168
+ const h = new URL(`${a}/api/v2/gm/legislation/consents`), f = {
5142
5169
  "Content-Type": "application/json",
5143
5170
  Accept: "application/json"
5144
- }, M = { method: "GET", headers: p };
5145
- fetch(h.href, M).then((b) => b.ok ? b.json() : (Pe = !0, b.json().then((T) => (console.error(T), Oe(T))))).then((b) => {
5171
+ }, w = { method: "GET", headers: f };
5172
+ fetch(h.href, w).then((b) => b.ok ? b.json() : (Pe = !0, b.json().then((M) => (console.error(M), Oe(M))))).then((b) => {
5146
5173
  if (!Pe) {
5147
5174
  if (J = b, localStorage.getItem("playerConsents")) {
5148
5175
  try {
5149
5176
  r(9, j = JSON.parse(localStorage.getItem("playerConsents")));
5150
- } catch (T) {
5151
- return console.error(T), Oe(T);
5177
+ } catch (M) {
5178
+ return console.error(M), Oe(M);
5152
5179
  }
5153
5180
  return;
5154
5181
  }
5155
- return r(9, j = J.map((T) => ({
5156
- id: T.id,
5182
+ return r(9, j = J.map((M) => ({
5183
+ id: M.id,
5157
5184
  status: R.denied.key,
5158
- friendlyName: T.friendlyName,
5159
- tagCode: T.tagCode,
5185
+ friendlyName: M.friendlyName,
5186
+ tagCode: M.tagCode,
5160
5187
  selected: null,
5161
- mustAccept: T.mustAccept
5188
+ mustAccept: M.mustAccept
5162
5189
  }))), localStorage.setItem("playerConsents", JSON.stringify(j)), j;
5163
5190
  }
5164
5191
  }).catch((b) => (console.error(b), Oe(b))).finally(() => {
5165
5192
  r(10, _e = !1);
5166
5193
  });
5167
- }, jr = (h) => {
5168
- const p = /* @__PURE__ */ new Map();
5169
- return h.forEach((M) => {
5170
- p.has(M.category.categoryTagCode) || p.set(M.category.categoryTagCode, M.category);
5171
- }), Array.from(p.values());
5172
5194
  }, Ir = (h) => {
5173
- const p = localStorage.getItem("categoryToggle" + C);
5174
- if (p === null) {
5175
- const M = h.reduce(
5176
- (b, T) => (b[T.categoryTagCode] = !1, b),
5195
+ const f = /* @__PURE__ */ new Map();
5196
+ return h.forEach((w) => {
5197
+ f.has(w.category.categoryTagCode) || f.set(w.category.categoryTagCode, w.category);
5198
+ }), Array.from(f.values());
5199
+ }, Rr = (h) => {
5200
+ const f = localStorage.getItem("categoryToggle" + C);
5201
+ if (f === null) {
5202
+ const w = h.reduce(
5203
+ (b, M) => (b[M.categoryTagCode] = !1, b),
5177
5204
  {}
5178
5205
  );
5179
- return localStorage.setItem("categoryToggle" + C, JSON.stringify(M)), M;
5206
+ return localStorage.setItem("categoryToggle" + C, JSON.stringify(w)), w;
5180
5207
  } else
5181
- return JSON.parse(p);
5182
- }, Rr = () => {
5208
+ return JSON.parse(f);
5209
+ }, Ur = () => {
5183
5210
  j.forEach((h) => {
5184
5211
  r(12, Q[h.tagCode] = h.status === R.accepted.value, Q);
5185
5212
  }), r(13, D = W({}, Q));
5186
- }, Ur = () => {
5213
+ }, Dr = () => {
5187
5214
  r(13, D = W({}, Q)), r(11, V = W({}, Ae));
5188
- }, Dr = () => re(this, null, function* () {
5215
+ }, Gr = () => re(this, null, function* () {
5189
5216
  if (!Ne)
5190
5217
  return;
5191
5218
  Ne = !1;
5192
- const h = [], p = [];
5219
+ const h = [], f = [];
5193
5220
  if (Object.keys(D).forEach((b) => {
5194
- const T = j.find((I) => I.tagCode === b);
5195
- D[b] !== Q[b] && (T ? h.push({
5221
+ const M = j.find((I) => I.tagCode === b);
5222
+ D[b] !== Q[b] && (M ? h.push({
5196
5223
  tagCode: b,
5197
5224
  status: D[b] ? R.accepted.value : R.denied.value
5198
- }) : p.push({
5225
+ }) : f.push({
5199
5226
  tagCode: b,
5200
5227
  status: D[b] ? R.accepted.value : R.denied.value
5201
5228
  }));
@@ -5203,24 +5230,24 @@ function No(e, t, r) {
5203
5230
  localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5204
5231
  {
5205
5232
  type: "NewPlayerConsentData",
5206
- data: JSON.stringify(p)
5233
+ data: JSON.stringify(f)
5207
5234
  },
5208
5235
  window.location.href
5209
5236
  ), Ne = !0;
5210
5237
  return;
5211
5238
  }
5212
- const M = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5239
+ const w = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5213
5240
  try {
5214
5241
  const b = yield Promise.allSettled([
5215
- p.length > 0 && ve(M.href, "updateConsentsError", {
5242
+ f.length > 0 && ve(w.href, "updateConsentsError", {
5216
5243
  method: "POST",
5217
5244
  headers: {
5218
5245
  "X-SessionId": v,
5219
5246
  "Content-Type": "application/json"
5220
5247
  },
5221
- body: JSON.stringify({ userConsents: p })
5248
+ body: JSON.stringify({ userConsents: f })
5222
5249
  }),
5223
- h.length > 0 && ve(M.href, "updateConsentsError", {
5250
+ h.length > 0 && ve(w.href, "updateConsentsError", {
5224
5251
  method: "PATCH",
5225
5252
  headers: {
5226
5253
  "X-SessionId": v,
@@ -5229,12 +5256,12 @@ function No(e, t, r) {
5229
5256
  body: JSON.stringify({ userConsents: h })
5230
5257
  })
5231
5258
  ]);
5232
- b.forEach((T, I) => {
5233
- if (T.status === "rejected" || T.value.ok === !1) {
5234
- const q = I < p.length ? p[I] : h[I - p.length];
5259
+ b.forEach((M, I) => {
5260
+ if (M.status === "rejected" || M.value.ok === !1) {
5261
+ const q = I < f.length ? f[I] : h[I - f.length];
5235
5262
  r(13, D[q.tagCode] = Q[q.tagCode], D);
5236
5263
  }
5237
- }), b.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5264
+ }), b.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5238
5265
  {
5239
5266
  type: "PlayerConsentUpdated",
5240
5267
  success: !0
@@ -5252,56 +5279,56 @@ function No(e, t, r) {
5252
5279
  } finally {
5253
5280
  Ne = !0, r(14, ye = !1);
5254
5281
  }
5255
- }), Gr = (h) => {
5256
- const p = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
5282
+ }), Fr = (h) => {
5283
+ const f = new URL(`${a}/api/v2/gm/legislation/consents`), w = {
5257
5284
  "Content-Type": "application/json",
5258
5285
  Accept: "application/json"
5259
5286
  }, b = {
5260
5287
  playerConsents: j,
5261
5288
  registrationId: h
5262
- }, T = {
5289
+ }, M = {
5263
5290
  method: "POST",
5264
5291
  body: JSON.stringify(b),
5265
- headers: M
5292
+ headers: w
5266
5293
  };
5267
- fetch(p.href, T).then((I) => {
5294
+ fetch(f.href, M).then((I) => {
5268
5295
  I.ok || (Pe = !0);
5269
5296
  }).catch((I) => (console.error(I), Oe(I))).finally(() => {
5270
5297
  r(10, _e = !1);
5271
5298
  });
5272
5299
  }, Et = (h) => {
5273
- j.filter((p) => p.category.categoryTagCode === h).forEach((p) => {
5274
- p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, D[p.tagCode] = V[h] || !1, D);
5300
+ j.filter((f) => f.category.categoryTagCode === h).forEach((f) => {
5301
+ f.status = f.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, D[f.tagCode] = V[h] || !1, D);
5275
5302
  }), r(14, ye = Ct());
5276
- }, We = (h, p, M) => {
5277
- const b = j.find((q) => q.id === M), T = p ? "value" : "key";
5303
+ }, We = (h, f, w) => {
5304
+ const b = j.find((q) => q.id === w), M = f ? "value" : "key";
5278
5305
  let I;
5279
- if (!p && b.mustAccept) {
5306
+ if (!f && b.mustAccept) {
5280
5307
  const q = Array.from(He.children);
5281
5308
  for (const be of q)
5282
- if (I = Array.from(be.children).find((Kr) => Kr.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
5309
+ if (I = Array.from(be.children).find((en) => en.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
5283
5310
  break;
5284
5311
  }
5285
- 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) {
5312
+ 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) {
5286
5313
  r(13, D[b.tagCode] = !D[b.tagCode], D);
5287
- const q = j.filter((be) => be.category.categoryTagCode === p.categoryTagCode).every((be) => be.status !== R.denied.value);
5288
- r(11, V[p.categoryTagCode] = q, V);
5314
+ const q = j.filter((be) => be.category.categoryTagCode === f.categoryTagCode).every((be) => be.status !== R.denied.value);
5315
+ r(11, V[f.categoryTagCode] = q, V);
5289
5316
  }
5290
- Fr();
5291
- }, Fr = ((h, p) => {
5292
- let M;
5317
+ $r();
5318
+ }, $r = ((h, f) => {
5319
+ let w;
5293
5320
  return function(...b) {
5294
- const T = this;
5295
- clearTimeout(M), M = setTimeout(
5321
+ const M = this;
5322
+ clearTimeout(w), w = setTimeout(
5296
5323
  () => {
5297
- h.apply(T, b);
5324
+ h.apply(M, b);
5298
5325
  },
5299
- p
5326
+ f
5300
5327
  );
5301
5328
  };
5302
- })(() => $r(), 500), $r = () => {
5329
+ })(() => Vr(), 500), Vr = () => {
5303
5330
  r(14, ye = Ct()), i || (window.postMessage({ type: "isConsentsValid", isValid: ye }), localStorage.setItem("playerConsents", JSON.stringify(j)));
5304
- }, 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) => {
5331
+ }, 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) => {
5305
5332
  window.postMessage(
5306
5333
  {
5307
5334
  type: "WidgetNotification",
@@ -5309,46 +5336,46 @@ function No(e, t, r) {
5309
5336
  },
5310
5337
  window.location.href
5311
5338
  );
5312
- }, Vr = (h) => {
5313
- h.data && h.data.type !== "setUpPlayerConsents" || Gr(h.data.registerid);
5339
+ }, Xr = (h) => {
5340
+ h.data && h.data.type !== "setUpPlayerConsents" || Fr(h.data.registerid);
5314
5341
  };
5315
- pn(() => {
5342
+ gn(() => {
5316
5343
  setTimeout(
5317
5344
  () => {
5318
- r(25, S = !0);
5345
+ r(26, S = !0);
5319
5346
  },
5320
5347
  50
5321
5348
  );
5322
- const h = (p) => Vr(p);
5349
+ const h = (f) => Xr(f);
5323
5350
  return window.addEventListener("message", h), () => {
5324
5351
  window.removeEventListener("message", h);
5325
5352
  };
5326
5353
  });
5327
- function Xr(h) {
5354
+ function qr(h) {
5328
5355
  V[h.categoryTagCode] = this.checked, r(11, V);
5329
5356
  }
5330
- 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);
5331
- function Qr(h) {
5357
+ 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);
5358
+ function Yr(h) {
5332
5359
  Re[h ? "unshift" : "push"](() => {
5333
5360
  He = h, r(15, He);
5334
5361
  });
5335
5362
  }
5336
- function Yr(h) {
5363
+ function Kr(h) {
5337
5364
  Re[h ? "unshift" : "push"](() => {
5338
5365
  g = h, r(5, g);
5339
5366
  });
5340
5367
  }
5341
5368
  return e.$$set = (h) => {
5342
- "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);
5369
+ "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);
5343
5370
  }, e.$$.update = () => {
5344
5371
  e.$$.dirty[0] & /*isMounted, session*/
5345
- 33554433 && S && i && (Or(), zr()), e.$$.dirty[0] & /*session*/
5346
- 1 && (i || Lr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5347
- 34 && s && g && wn(g, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5348
- 36 && c && g && Tn(g, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5349
- 40 && g && Mn(g, `${l}.Style`, f), e.$$.dirty[0] & /*lang*/
5350
- 4194304 && u && Pr(), e.$$.dirty[0] & /*translationurl*/
5351
- 8388608 && m && Br();
5372
+ 67108865 && S && i && (zr(), Lr()), e.$$.dirty[0] & /*session*/
5373
+ 1 && (i || jr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5374
+ 34 && s && g && Tn(g, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5375
+ 36 && c && g && Mn(g, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5376
+ 40 && g && Nn(g, `${l}.Style`, p), e.$$.dirty[0] & /*lang*/
5377
+ 8388608 && u && Pr(), e.$$.dirty[0] & /*translationurl*/
5378
+ 16777216 && m && Br();
5352
5379
  }, [
5353
5380
  i,
5354
5381
  s,
@@ -5367,7 +5394,8 @@ function No(e, t, r) {
5367
5394
  ye,
5368
5395
  He,
5369
5396
  n,
5370
- Dr,
5397
+ Or,
5398
+ Gr,
5371
5399
  Et,
5372
5400
  We,
5373
5401
  o,
@@ -5376,13 +5404,13 @@ function No(e, t, r) {
5376
5404
  m,
5377
5405
  y,
5378
5406
  S,
5379
- Xr,
5380
5407
  qr,
5381
5408
  Wr,
5382
5409
  Zr,
5383
5410
  Jr,
5384
5411
  Qr,
5385
- Yr
5412
+ Yr,
5413
+ Kr
5386
5414
  ];
5387
5415
  }
5388
5416
  class Hr extends ar {
@@ -5390,22 +5418,22 @@ class Hr extends ar {
5390
5418
  super(), nr(
5391
5419
  this,
5392
5420
  t,
5421
+ Ao,
5393
5422
  No,
5394
- Mo,
5395
5423
  _t,
5396
5424
  {
5397
5425
  session: 0,
5398
- userid: 20,
5399
- endpoint: 21,
5426
+ userid: 21,
5427
+ endpoint: 22,
5400
5428
  clientstyling: 1,
5401
5429
  clientstylingurl: 2,
5402
5430
  mbsource: 3,
5403
- lang: 22,
5431
+ lang: 23,
5404
5432
  displayconsentdescription: 4,
5405
- translationurl: 23,
5406
- modalconsents: 24
5433
+ translationurl: 24,
5434
+ modalconsents: 25
5407
5435
  },
5408
- Co,
5436
+ So,
5409
5437
  [-1, -1, -1]
5410
5438
  );
5411
5439
  }
@@ -5416,13 +5444,13 @@ class Hr extends ar {
5416
5444
  this.$$set({ session: t }), X();
5417
5445
  }
5418
5446
  get userid() {
5419
- return this.$$.ctx[20];
5447
+ return this.$$.ctx[21];
5420
5448
  }
5421
5449
  set userid(t) {
5422
5450
  this.$$set({ userid: t }), X();
5423
5451
  }
5424
5452
  get endpoint() {
5425
- return this.$$.ctx[21];
5453
+ return this.$$.ctx[22];
5426
5454
  }
5427
5455
  set endpoint(t) {
5428
5456
  this.$$set({ endpoint: t }), X();
@@ -5446,7 +5474,7 @@ class Hr extends ar {
5446
5474
  this.$$set({ mbsource: t }), X();
5447
5475
  }
5448
5476
  get lang() {
5449
- return this.$$.ctx[22];
5477
+ return this.$$.ctx[23];
5450
5478
  }
5451
5479
  set lang(t) {
5452
5480
  this.$$set({ lang: t }), X();
@@ -5458,22 +5486,22 @@ class Hr extends ar {
5458
5486
  this.$$set({ displayconsentdescription: t }), X();
5459
5487
  }
5460
5488
  get translationurl() {
5461
- return this.$$.ctx[23];
5489
+ return this.$$.ctx[24];
5462
5490
  }
5463
5491
  set translationurl(t) {
5464
5492
  this.$$set({ translationurl: t }), X();
5465
5493
  }
5466
5494
  get modalconsents() {
5467
- return this.$$.ctx[24];
5495
+ return this.$$.ctx[25];
5468
5496
  }
5469
5497
  set modalconsents(t) {
5470
5498
  this.$$set({ modalconsents: t }), X();
5471
5499
  }
5472
5500
  }
5473
5501
  or(Hr, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
5474
- const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5502
+ const Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5475
5503
  __proto__: null,
5476
5504
  default: Hr
5477
5505
  }, Symbol.toStringTag, { value: "Module" }));
5478
5506
 
5479
- export { Bo as P, ar as S, ln as a, L as b, Re as c, O as d, w as e, X as f, wn as g, Tn as h, nr as i, Mn as j, or as k, $ as n, pn as o, _t as s };
5507
+ export { Oo as P, ar as S, cn as a, L as b, Re as c, O as d, T as e, X as f, Tn as g, Mn as h, nr as i, Nn as j, or as k, $ as n, gn as o, _t as s };