@everymatrix/general-registration 1.90.27 → 1.90.28

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.
Files changed (24) hide show
  1. package/dist/cjs/GeneralAnimationLoading-lTLzF5jR-8645dd28.js +86 -0
  2. package/dist/cjs/{PlayerConsents-uUnB_ySd-c7d5a465.js → PlayerConsents-Duni8Aqx-1d0f4f21.js} +1226 -1360
  3. package/dist/cjs/checkbox-group-input_15.cjs.entry.js +254 -254
  4. package/dist/esm/GeneralAnimationLoading-lTLzF5jR-501a49e3.js +84 -0
  5. package/dist/esm/{PlayerConsents-uUnB_ySd-8a92900a.js → PlayerConsents-Duni8Aqx-dd7cf325.js} +1211 -1360
  6. package/dist/esm/checkbox-group-input_15.entry.js +254 -254
  7. package/dist/general-registration/GeneralAnimationLoading-lTLzF5jR-501a49e3.js +1 -0
  8. package/dist/general-registration/PlayerConsents-Duni8Aqx-dd7cf325.js +1 -0
  9. package/dist/general-registration/checkbox-group-input_15.entry.js +4 -4
  10. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
  11. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
  12. package/package.json +1 -1
  13. package/dist/general-registration/PlayerConsents-uUnB_ySd-8a92900a.js +0 -1
  14. package/dist/types/Users/sebastian.strulea/Documents/work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
  15. package/dist/types/Users/sebastian.strulea/Documents/work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
  16. /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  17. /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
  18. /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/main.d.ts +0 -0
  19. /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/preview.d.ts +0 -0
  20. /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
  21. /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
  22. /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,78 +1,75 @@
1
- var V = Object.defineProperty, q$1 = Object.defineProperties;
2
- var K = Object.getOwnPropertyDescriptors;
3
- var M = Object.getOwnPropertySymbols;
4
- var W = Object.prototype.hasOwnProperty, Y$1 = Object.prototype.propertyIsEnumerable;
5
- var L = (e, t, n) => t in e ? V(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P$1 = (e, t) => {
6
- for (var n in t || (t = {}))
7
- W.call(t, n) && L(e, n, t[n]);
8
- if (M)
9
- for (var n of M(t))
10
- Y$1.call(t, n) && L(e, n, t[n]);
1
+ var tn = Object.defineProperty, rn = Object.defineProperties;
2
+ var nn = Object.getOwnPropertyDescriptors;
3
+ var St = Object.getOwnPropertySymbols;
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
+ for (var r in t || (t = {}))
7
+ on.call(t, r) && Ze(e, r, t[r]);
8
+ if (St)
9
+ for (var r of St(t))
10
+ an.call(t, r) && Ze(e, r, t[r]);
11
11
  return e;
12
- }, B$1 = (e, t) => q$1(e, K(t));
13
- var f = (e, t, n) => (L(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var H = (e, t, n) => new Promise((s, c) => {
15
- var i = (u) => {
12
+ }, Je = (e, t) => rn(e, nn(t));
13
+ var U = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var re = (e, t, r) => new Promise((n, i) => {
15
+ var o = (c) => {
16
16
  try {
17
- l(n.next(u));
18
- } catch (o) {
19
- c(o);
17
+ s(r.next(c));
18
+ } catch (l) {
19
+ i(l);
20
20
  }
21
- }, r = (u) => {
21
+ }, a = (c) => {
22
22
  try {
23
- l(n.throw(u));
24
- } catch (o) {
25
- c(o);
23
+ s(r.throw(c));
24
+ } catch (l) {
25
+ i(l);
26
26
  }
27
- }, l = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(i, r);
28
- l((n = n.apply(e, t)).next());
27
+ }, s = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(o, a);
28
+ s((r = r.apply(e, t)).next());
29
29
  });
30
- function h() {
30
+ function $() {
31
31
  }
32
- function G(e) {
32
+ function er(e) {
33
33
  return e();
34
34
  }
35
- function R() {
35
+ function xt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function S(e) {
39
- e.forEach(G);
38
+ function me(e) {
39
+ e.forEach(er);
40
40
  }
41
- function U(e) {
41
+ function gt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Q(e, t) {
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 X(e) {
47
+ function sn(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Z$1(e, ...t) {
50
+ function tr(e, ...t) {
51
51
  if (e == null) {
52
- for (const s of t)
53
- s(void 0);
54
- return h;
52
+ for (const n of t)
53
+ n(void 0);
54
+ return $;
55
55
  }
56
- const n = e.subscribe(...t);
57
- return n.unsubscribe ? () => n.unsubscribe() : n;
56
+ const r = e.subscribe(...t);
57
+ return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function jt$1(e, t, n) {
60
- e.$$.on_destroy.push(Z$1(t, n));
61
- }
62
- function kt$1(e) {
63
- return e;
59
+ function ln(e, t, r) {
60
+ e.$$.on_destroy.push(tr(t, r));
64
61
  }
65
- function tt(e, t) {
62
+ function x(e, t) {
66
63
  e.appendChild(t);
67
64
  }
68
- function et(e, t, n) {
69
- const s = nt$1(e);
70
- if (!s.getElementById(t)) {
71
- const c = E("style");
72
- c.id = t, c.textContent = n, st$1(s, c);
65
+ function cn(e, t, r) {
66
+ const n = un(e);
67
+ if (!n.getElementById(t)) {
68
+ const i = T("style");
69
+ i.id = t, i.textContent = r, hn(n, i);
73
70
  }
74
71
  }
75
- function nt$1(e) {
72
+ function un(e) {
76
73
  if (!e)
77
74
  return document;
78
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -82,70 +79,70 @@ function nt$1(e) {
82
79
  t
83
80
  ) : e.ownerDocument;
84
81
  }
85
- function st$1(e, t) {
86
- return tt(
82
+ function hn(e, t) {
83
+ return x(
87
84
  /** @type {Document} */
88
85
  e.head || e,
89
86
  t
90
87
  ), t.sheet;
91
88
  }
92
- function N$1(e, t, n) {
93
- e.insertBefore(t, n || null);
89
+ function L(e, t, r) {
90
+ e.insertBefore(t, r || null);
94
91
  }
95
- function x(e) {
92
+ function O(e) {
96
93
  e.parentNode && e.parentNode.removeChild(e);
97
94
  }
98
- function Ot$1(e, t) {
99
- for (let n = 0; n < e.length; n += 1)
100
- e[n] && e[n].d(t);
95
+ function yt(e, t) {
96
+ for (let r = 0; r < e.length; r += 1)
97
+ e[r] && e[r].d(t);
101
98
  }
102
- function E(e) {
99
+ function T(e) {
103
100
  return document.createElement(e);
104
101
  }
105
102
  function it(e) {
106
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
104
  }
108
- function z(e) {
105
+ function ee(e) {
109
106
  return document.createTextNode(e);
110
107
  }
111
- function Mt$1() {
112
- return z(" ");
108
+ function F() {
109
+ return ee(" ");
113
110
  }
114
- function Pt$1() {
115
- return z("");
111
+ function dn() {
112
+ return ee("");
116
113
  }
117
- function Bt$1(e, t, n, s) {
118
- return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
114
+ function Ce(e, t, r, n) {
115
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
119
116
  }
120
- function I(e, t, n) {
121
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
117
+ function k(e, t, r) {
118
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
119
  }
123
- function Ht$1(e, t, n) {
124
- const s = t.toLowerCase();
125
- s in e ? e[s] = typeof e[s] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : I(e, t, n);
120
+ function K(e, t, r) {
121
+ const n = t.toLowerCase();
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);
126
123
  }
127
- function ct$1(e) {
124
+ function mn(e) {
128
125
  return Array.from(e.childNodes);
129
126
  }
130
- function Rt(e, t) {
127
+ function Te(e, t) {
131
128
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
129
  t);
133
130
  }
134
- class Dt {
131
+ class rr {
135
132
  constructor(t = !1) {
136
133
  /**
137
134
  * @private
138
135
  * @default false
139
136
  */
140
- f(this, "is_svg", !1);
137
+ U(this, "is_svg", !1);
141
138
  /** parent for creating node */
142
- f(this, "e");
139
+ U(this, "e");
143
140
  /** html tag nodes */
144
- f(this, "n");
141
+ U(this, "n");
145
142
  /** target */
146
- f(this, "t");
143
+ U(this, "t");
147
144
  /** anchor */
148
- f(this, "a");
145
+ U(this, "a");
149
146
  this.is_svg = t, this.e = this.n = null;
150
147
  }
151
148
  /**
@@ -161,17 +158,17 @@ class Dt {
161
158
  * @param {HTMLElement | SVGElement} anchor
162
159
  * @returns {void}
163
160
  */
164
- m(t, n, s = null) {
161
+ m(t, r, n = null) {
165
162
  this.e || (this.is_svg ? this.e = it(
166
163
  /** @type {keyof SVGElementTagNameMap} */
167
- n.nodeName
168
- ) : this.e = E(
164
+ r.nodeName
165
+ ) : this.e = T(
169
166
  /** @type {keyof HTMLElementTagNameMap} */
170
- n.nodeType === 11 ? "TEMPLATE" : n.nodeName
171
- ), this.t = n.tagName !== "TEMPLATE" ? n : (
167
+ r.nodeType === 11 ? "TEMPLATE" : r.nodeName
168
+ ), this.t = r.tagName !== "TEMPLATE" ? r : (
172
169
  /** @type {HTMLTemplateElement} */
173
- n.content
174
- ), this.c(t)), this.i(s);
170
+ r.content
171
+ ), this.c(t)), this.i(n);
175
172
  }
176
173
  /**
177
174
  * @param {string} html
@@ -185,8 +182,8 @@ class Dt {
185
182
  /**
186
183
  * @returns {void} */
187
184
  i(t) {
188
- for (let n = 0; n < this.n.length; n += 1)
189
- N$1(this.t, this.n[n], t);
185
+ for (let r = 0; r < this.n.length; r += 1)
186
+ L(this.t, this.n[r], t);
190
187
  }
191
188
  /**
192
189
  * @param {string} html
@@ -198,237 +195,237 @@ class Dt {
198
195
  /**
199
196
  * @returns {void} */
200
197
  d() {
201
- this.n.forEach(x);
198
+ this.n.forEach(O);
202
199
  }
203
200
  }
204
- function rt$1(e) {
201
+ function fn(e) {
205
202
  const t = {};
206
203
  return e.childNodes.forEach(
207
204
  /** @param {Element} node */
208
- (n) => {
209
- t[n.slot || "default"] = !0;
205
+ (r) => {
206
+ t[r.slot || "default"] = !0;
210
207
  }
211
208
  ), t;
212
209
  }
213
- let g;
214
- function p(e) {
215
- g = e;
210
+ let Se;
211
+ function Ee(e) {
212
+ Se = e;
216
213
  }
217
- function ot() {
218
- if (!g)
214
+ function pn() {
215
+ if (!Se)
219
216
  throw new Error("Function called outside component initialization");
220
- return g;
217
+ return Se;
221
218
  }
222
- function lt$1(e) {
223
- ot().$$.on_mount.push(e);
219
+ function gn(e) {
220
+ pn().$$.on_mount.push(e);
224
221
  }
225
- const $$1 = [], v = [];
226
- let _ = [];
227
- const D$1 = [], ut = /* @__PURE__ */ Promise.resolve();
228
- let A = !1;
229
- function ft$1() {
230
- A || (A = !0, ut.then(b));
222
+ const oe = [], Re = [];
223
+ let se = [];
224
+ const wt = [], _n = /* @__PURE__ */ Promise.resolve();
225
+ let ot = !1;
226
+ function yn() {
227
+ ot || (ot = !0, _n.then(X));
231
228
  }
232
- function T(e) {
233
- _.push(e);
229
+ function at(e) {
230
+ se.push(e);
234
231
  }
235
- const C = /* @__PURE__ */ new Set();
236
- let a = 0;
237
- function b() {
238
- if (a !== 0)
232
+ const Qe = /* @__PURE__ */ new Set();
233
+ let ne = 0;
234
+ function X() {
235
+ if (ne !== 0)
239
236
  return;
240
- const e = g;
237
+ const e = Se;
241
238
  do {
242
239
  try {
243
- for (; a < $$1.length; ) {
244
- const t = $$1[a];
245
- a++, p(t), dt$1(t.$$);
240
+ for (; ne < oe.length; ) {
241
+ const t = oe[ne];
242
+ ne++, Ee(t), vn(t.$$);
246
243
  }
247
244
  } catch (t) {
248
- throw $$1.length = 0, a = 0, t;
245
+ throw oe.length = 0, ne = 0, t;
249
246
  }
250
- for (p(null), $$1.length = 0, a = 0; v.length; )
251
- v.pop()();
252
- for (let t = 0; t < _.length; t += 1) {
253
- const n = _[t];
254
- C.has(n) || (C.add(n), n());
247
+ for (Ee(null), oe.length = 0, ne = 0; Re.length; )
248
+ Re.pop()();
249
+ for (let t = 0; t < se.length; t += 1) {
250
+ const r = se[t];
251
+ Qe.has(r) || (Qe.add(r), r());
255
252
  }
256
- _.length = 0;
257
- } while ($$1.length);
258
- for (; D$1.length; )
259
- D$1.pop()();
260
- A = !1, C.clear(), p(e);
253
+ se.length = 0;
254
+ } while (oe.length);
255
+ for (; wt.length; )
256
+ wt.pop()();
257
+ ot = !1, Qe.clear(), Ee(e);
261
258
  }
262
- function dt$1(e) {
259
+ function vn(e) {
263
260
  if (e.fragment !== null) {
264
- e.update(), S(e.before_update);
261
+ e.update(), me(e.before_update);
265
262
  const t = e.dirty;
266
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(T);
263
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
267
264
  }
268
265
  }
269
- function ht(e) {
270
- const t = [], n = [];
271
- _.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), _ = t;
266
+ function bn(e) {
267
+ const t = [], r = [];
268
+ se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
272
269
  }
273
- const at = /* @__PURE__ */ new Set();
274
- function $t$1(e, t) {
275
- e && e.i && (at.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));
276
273
  }
277
- function Gt(e) {
274
+ function le(e) {
278
275
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
279
276
  }
280
- function mt$1(e, t, n) {
281
- const { fragment: s, after_update: c } = e.$$;
282
- s && s.m(t, n), T(() => {
283
- const i = e.$$.on_mount.map(G).filter(U);
284
- e.$$.on_destroy ? e.$$.on_destroy.push(...i) : S(i), e.$$.on_mount = [];
285
- }), c.forEach(T);
277
+ function Cn(e, t, r) {
278
+ const { fragment: n, after_update: i } = e.$$;
279
+ n && n.m(t, r), at(() => {
280
+ const o = e.$$.on_mount.map(er).filter(gt);
281
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
282
+ }), i.forEach(at);
286
283
  }
287
- function _t$1(e, t) {
288
- const n = e.$$;
289
- n.fragment !== null && (ht(n.after_update), S(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
284
+ function Sn(e, t) {
285
+ const r = e.$$;
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 = []);
290
287
  }
291
- function pt$1(e, t) {
292
- e.$$.dirty[0] === -1 && ($$1.push(e), ft$1(), 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;
293
290
  }
294
- function bt$1(e, t, n, s, c, i, r = null, l = [-1]) {
295
- const u = g;
296
- p(e);
297
- const o = e.$$ = {
291
+ function nr(e, t, r, n, i, o, a = null, s = [-1]) {
292
+ const c = Se;
293
+ Ee(e);
294
+ const l = e.$$ = {
298
295
  fragment: null,
299
296
  ctx: [],
300
297
  // state
301
- props: i,
302
- update: h,
303
- not_equal: c,
304
- bound: R(),
298
+ props: o,
299
+ update: $,
300
+ not_equal: i,
301
+ bound: xt(),
305
302
  // lifecycle
306
303
  on_mount: [],
307
304
  on_destroy: [],
308
305
  on_disconnect: [],
309
306
  before_update: [],
310
307
  after_update: [],
311
- context: new Map(t.context || (u ? u.$$.context : [])),
308
+ context: new Map(t.context || (c ? c.$$.context : [])),
312
309
  // everything else
313
- callbacks: R(),
314
- dirty: l,
310
+ callbacks: xt(),
311
+ dirty: s,
315
312
  skip_bound: !1,
316
- root: t.target || u.$$.root
313
+ root: t.target || c.$$.root
317
314
  };
318
- r && r(o.root);
319
- let y = !1;
320
- if (o.ctx = n ? n(e, t.props || {}, (d, j, ...k) => {
321
- const O = k.length ? k[0] : j;
322
- return o.ctx && c(o.ctx[d], o.ctx[d] = O) && (!o.skip_bound && o.bound[d] && o.bound[d](O), y && pt$1(e, d)), j;
323
- }) : [], o.update(), y = !0, S(o.before_update), o.fragment = s ? s(o.ctx) : !1, t.target) {
315
+ a && a(l.root);
316
+ let u = !1;
317
+ if (l.ctx = r ? r(e, t.props || {}, (d, m, ...y) => {
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 && xn(e, d)), m;
320
+ }) : [], l.update(), u = !0, me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
324
321
  if (t.hydrate) {
325
- const d = ct$1(t.target);
326
- o.fragment && o.fragment.l(d), d.forEach(x);
322
+ const d = mn(t.target);
323
+ l.fragment && l.fragment.l(d), d.forEach(O);
327
324
  } else
328
- o.fragment && o.fragment.c();
329
- t.intro && $t$1(e.$$.fragment), mt$1(e, t.target, t.anchor), b();
325
+ l.fragment && l.fragment.c();
326
+ t.intro && En(e.$$.fragment), Cn(e, t.target, t.anchor), X();
330
327
  }
331
- p(u);
328
+ Ee(c);
332
329
  }
333
- let F;
334
- typeof HTMLElement == "function" && (F = class extends HTMLElement {
335
- constructor(t, n, s) {
330
+ let ir;
331
+ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
332
+ constructor(t, r, n) {
336
333
  super();
337
334
  /** The Svelte component constructor */
338
- f(this, "$$ctor");
335
+ U(this, "$$ctor");
339
336
  /** Slots */
340
- f(this, "$$s");
337
+ U(this, "$$s");
341
338
  /** The Svelte component instance */
342
- f(this, "$$c");
339
+ U(this, "$$c");
343
340
  /** Whether or not the custom element is connected */
344
- f(this, "$$cn", !1);
341
+ U(this, "$$cn", !1);
345
342
  /** Component props data */
346
- f(this, "$$d", {});
343
+ U(this, "$$d", {});
347
344
  /** `true` if currently in the process of reflecting component props back to attributes */
348
- f(this, "$$r", !1);
345
+ U(this, "$$r", !1);
349
346
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
350
- f(this, "$$p_d", {});
347
+ U(this, "$$p_d", {});
351
348
  /** @type {Record<string, Function[]>} Event listeners */
352
- f(this, "$$l", {});
349
+ U(this, "$$l", {});
353
350
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
354
- f(this, "$$l_u", /* @__PURE__ */ new Map());
355
- this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
351
+ U(this, "$$l_u", /* @__PURE__ */ new Map());
352
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
356
353
  }
357
- addEventListener(t, n, s) {
358
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
359
- const c = this.$$c.$on(t, n);
360
- this.$$l_u.set(n, c);
354
+ addEventListener(t, r, n) {
355
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
356
+ const i = this.$$c.$on(t, r);
357
+ this.$$l_u.set(r, i);
361
358
  }
362
- super.addEventListener(t, n, s);
359
+ super.addEventListener(t, r, n);
363
360
  }
364
- removeEventListener(t, n, s) {
365
- if (super.removeEventListener(t, n, s), this.$$c) {
366
- const c = this.$$l_u.get(n);
367
- c && (c(), this.$$l_u.delete(n));
361
+ removeEventListener(t, r, n) {
362
+ if (super.removeEventListener(t, r, n), this.$$c) {
363
+ const i = this.$$l_u.get(r);
364
+ i && (i(), this.$$l_u.delete(r));
368
365
  }
369
366
  }
370
367
  connectedCallback() {
371
- return H(this, null, function* () {
368
+ return re(this, null, function* () {
372
369
  if (this.$$cn = !0, !this.$$c) {
373
- let t = function(i) {
370
+ let t = function(o) {
374
371
  return () => {
375
- let r;
372
+ let a;
376
373
  return {
377
374
  c: function() {
378
- r = E("slot"), i !== "default" && I(r, "name", i);
375
+ a = T("slot"), o !== "default" && k(a, "name", o);
379
376
  },
380
377
  /**
381
378
  * @param {HTMLElement} target
382
379
  * @param {HTMLElement} [anchor]
383
380
  */
384
- m: function(o, y) {
385
- N$1(o, r, y);
381
+ m: function(l, u) {
382
+ L(l, a, u);
386
383
  },
387
- d: function(o) {
388
- o && x(r);
384
+ d: function(l) {
385
+ l && O(a);
389
386
  }
390
387
  };
391
388
  };
392
389
  };
393
390
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
394
391
  return;
395
- const n = {}, s = rt$1(this);
396
- for (const i of this.$$s)
397
- i in s && (n[i] = [t(i)]);
398
- for (const i of this.attributes) {
399
- const r = this.$$g_p(i.name);
400
- r in this.$$d || (this.$$d[r] = w$1(r, i.value, this.$$p_d, "toProp"));
392
+ const r = {}, n = fn(this);
393
+ for (const o of this.$$s)
394
+ o in n && (r[o] = [t(o)]);
395
+ for (const o of this.attributes) {
396
+ const a = this.$$g_p(o.name);
397
+ a in this.$$d || (this.$$d[a] = Le(a, o.value, this.$$p_d, "toProp"));
401
398
  }
402
- for (const i in this.$$p_d)
403
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
399
+ for (const o in this.$$p_d)
400
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
404
401
  this.$$c = new this.$$ctor({
405
402
  target: this.shadowRoot || this,
406
- props: B$1(P$1({}, this.$$d), {
407
- $$slots: n,
403
+ props: Je(W({}, this.$$d), {
404
+ $$slots: r,
408
405
  $$scope: {
409
406
  ctx: []
410
407
  }
411
408
  })
412
409
  });
413
- const c = () => {
410
+ const i = () => {
414
411
  this.$$r = !0;
415
- for (const i in this.$$p_d)
416
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
417
- const r = w$1(
418
- i,
419
- this.$$d[i],
412
+ for (const o in this.$$p_d)
413
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
414
+ const a = Le(
415
+ o,
416
+ this.$$d[o],
420
417
  this.$$p_d,
421
418
  "toAttribute"
422
419
  );
423
- r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
420
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
424
421
  }
425
422
  this.$$r = !1;
426
423
  };
427
- this.$$c.$$.after_update.push(c), c();
428
- for (const i in this.$$l)
429
- for (const r of this.$$l[i]) {
430
- const l = this.$$c.$on(i, r);
431
- this.$$l_u.set(r, l);
424
+ this.$$c.$$.after_update.push(i), i();
425
+ for (const o in this.$$l)
426
+ for (const a of this.$$l[o]) {
427
+ const s = this.$$c.$on(o, a);
428
+ this.$$l_u.set(a, s);
432
429
  }
433
430
  this.$$l = {};
434
431
  }
@@ -436,9 +433,9 @@ typeof HTMLElement == "function" && (F = class extends HTMLElement {
436
433
  }
437
434
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
438
435
  // and setting attributes through setAttribute etc, this is helpful
439
- attributeChangedCallback(t, n, s) {
440
- var c;
441
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = w$1(t, s, this.$$p_d, "toProp"), (c = this.$$c) == null || c.$set({ [t]: this.$$d[t] }));
436
+ attributeChangedCallback(t, r, n) {
437
+ var i;
438
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
442
439
  }
443
440
  disconnectedCallback() {
444
441
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -447,17 +444,17 @@ typeof HTMLElement == "function" && (F = class extends HTMLElement {
447
444
  }
448
445
  $$g_p(t) {
449
446
  return Object.keys(this.$$p_d).find(
450
- (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
447
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
451
448
  ) || t;
452
449
  }
453
450
  });
454
- function w$1(e, t, n, s) {
455
- var i;
456
- const c = (i = n[e]) == null ? void 0 : i.type;
457
- if (t = c === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
451
+ function Le(e, t, r, n) {
452
+ var o;
453
+ const i = (o = r[e]) == null ? void 0 : o.type;
454
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
458
455
  return t;
459
- if (s === "toAttribute")
460
- switch (c) {
456
+ if (n === "toAttribute")
457
+ switch (i) {
461
458
  case "Object":
462
459
  case "Array":
463
460
  return t == null ? null : JSON.stringify(t);
@@ -469,7 +466,7 @@ function w$1(e, t, n, s) {
469
466
  return t;
470
467
  }
471
468
  else
472
- switch (c) {
469
+ switch (i) {
473
470
  case "Object":
474
471
  case "Array":
475
472
  return t && JSON.parse(t);
@@ -481,38 +478,38 @@ function w$1(e, t, n, s) {
481
478
  return t;
482
479
  }
483
480
  }
484
- function gt$1(e, t, n, s, c, i) {
485
- let r = class extends F {
481
+ function or(e, t, r, n, i, o) {
482
+ let a = class extends ir {
486
483
  constructor() {
487
- super(e, n, c), this.$$p_d = t;
484
+ super(e, r, i), this.$$p_d = t;
488
485
  }
489
486
  static get observedAttributes() {
490
487
  return Object.keys(t).map(
491
- (l) => (t[l].attribute || l).toLowerCase()
488
+ (s) => (t[s].attribute || s).toLowerCase()
492
489
  );
493
490
  }
494
491
  };
495
- return Object.keys(t).forEach((l) => {
496
- Object.defineProperty(r.prototype, l, {
492
+ return Object.keys(t).forEach((s) => {
493
+ Object.defineProperty(a.prototype, s, {
497
494
  get() {
498
- return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
495
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
499
496
  },
500
- set(u) {
501
- var o;
502
- u = w$1(l, u, t), this.$$d[l] = u, (o = this.$$c) == null || o.$set({ [l]: u });
497
+ set(c) {
498
+ var l;
499
+ c = Le(s, c, t), this.$$d[s] = c, (l = this.$$c) == null || l.$set({ [s]: c });
503
500
  }
504
501
  });
505
- }), s.forEach((l) => {
506
- Object.defineProperty(r.prototype, l, {
502
+ }), n.forEach((s) => {
503
+ Object.defineProperty(a.prototype, s, {
507
504
  get() {
508
- var u;
509
- return (u = this.$$c) == null ? void 0 : u[l];
505
+ var c;
506
+ return (c = this.$$c) == null ? void 0 : c[s];
510
507
  }
511
508
  });
512
509
  }), e.element = /** @type {any} */
513
- r, r;
510
+ a, a;
514
511
  }
515
- class yt$1 {
512
+ class ar {
516
513
  constructor() {
517
514
  /**
518
515
  * ### PRIVATE API
@@ -521,7 +518,7 @@ class yt$1 {
521
518
  *
522
519
  * @type {any}
523
520
  */
524
- f(this, "$$");
521
+ U(this, "$$");
525
522
  /**
526
523
  * ### PRIVATE API
527
524
  *
@@ -529,11 +526,11 @@ class yt$1 {
529
526
  *
530
527
  * @type {any}
531
528
  */
532
- f(this, "$$set");
529
+ U(this, "$$set");
533
530
  }
534
531
  /** @returns {void} */
535
532
  $destroy() {
536
- _t$1(this, 1), this.$destroy = h;
533
+ Sn(this, 1), this.$destroy = $;
537
534
  }
538
535
  /**
539
536
  * @template {Extract<keyof Events, string>} K
@@ -541,13 +538,13 @@ class yt$1 {
541
538
  * @param {((e: Events[K]) => void) | null | undefined} callback
542
539
  * @returns {() => void}
543
540
  */
544
- $on(t, n) {
545
- if (!U(n))
546
- return h;
547
- const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
548
- return s.push(n), () => {
549
- const c = s.indexOf(n);
550
- c !== -1 && s.splice(c, 1);
541
+ $on(t, r) {
542
+ if (!gt(r))
543
+ return $;
544
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
545
+ return n.push(r), () => {
546
+ const i = n.indexOf(r);
547
+ i !== -1 && n.splice(i, 1);
551
548
  };
552
549
  }
553
550
  /**
@@ -555,379 +552,229 @@ class yt$1 {
555
552
  * @returns {void}
556
553
  */
557
554
  $set(t) {
558
- this.$$set && !X(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);
559
556
  }
560
557
  }
561
- const wt$1 = "4";
562
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wt$1);
563
- const m = "__WIDGET_GLOBAL_STYLE_CACHE__";
564
- function St$1(e, t) {
558
+ const wn = "4";
559
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
560
+ const ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
561
+ function Tn(e, t) {
565
562
  if (e) {
566
- const n = document.createElement("style");
567
- n.innerHTML = t, e.appendChild(n);
563
+ const r = document.createElement("style");
564
+ r.innerHTML = t, e.appendChild(r);
568
565
  }
569
566
  }
570
- function xt$1(e, t) {
567
+ function Mn(e, t) {
571
568
  if (!e || !t)
572
569
  return;
573
- const n = new URL(t);
574
- fetch(n.href).then((s) => s.text()).then((s) => {
575
- const c = document.createElement("style");
576
- c.innerHTML = s, e && e.appendChild(c);
577
- }).catch((s) => {
578
- console.error("There was an error while trying to load client styling from URL", s);
570
+ const r = new URL(t);
571
+ fetch(r.href).then((n) => n.text()).then((n) => {
572
+ const i = document.createElement("style");
573
+ i.innerHTML = n, e && e.appendChild(i);
574
+ }).catch((n) => {
575
+ console.error("There was an error while trying to load client styling from URL", n);
579
576
  });
580
577
  }
581
- function Et$1(e, t, n, s = !1) {
578
+ function Nn(e, t, r, n = !1) {
582
579
  if (!window.emMessageBus)
583
580
  return;
584
- if (!("adoptedStyleSheets" in Document.prototype) || !s)
585
- return n = Lt$1(e, t), n;
586
- window[m] || (window[m] = {}), n = Ct$1(e, t);
587
- const i = n.unsubscribe.bind(n), r = () => {
588
- if (window[m][t]) {
589
- const l = window[m][t];
590
- l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[m][t];
581
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
582
+ return r = An(e, t), r;
583
+ window[ae] || (window[ae] = {}), r = Hn(e, t);
584
+ const o = r.unsubscribe.bind(r), a = () => {
585
+ if (window[ae][t]) {
586
+ const s = window[ae][t];
587
+ s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[ae][t];
591
588
  }
592
- i();
589
+ o();
593
590
  };
594
- return n.unsubscribe = r, n;
591
+ return r.unsubscribe = a, r;
595
592
  }
596
- function Lt$1(e, t) {
597
- const n = document.createElement("style");
598
- return window.emMessageBus.subscribe(t, (s) => {
599
- e && (n.innerHTML = s, e.appendChild(n));
593
+ function An(e, t) {
594
+ const r = document.createElement("style");
595
+ return window.emMessageBus.subscribe(t, (n) => {
596
+ e && (r.innerHTML = n, e.appendChild(r));
600
597
  });
601
598
  }
602
- function Ct$1(e, t) {
603
- return window.emMessageBus.subscribe(t, (n) => {
599
+ function Hn(e, t) {
600
+ return window.emMessageBus.subscribe(t, (r) => {
604
601
  if (!e)
605
602
  return;
606
- const s = e.getRootNode(), c = window[m];
607
- let i = c[t] && c[t].sheet;
608
- i ? c[t].refCount = c[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(n), c[t] = {
609
- sheet: i,
603
+ const n = e.getRootNode(), i = window[ae];
604
+ let o = i[t] && i[t].sheet;
605
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
606
+ sheet: o,
610
607
  refCount: 1
611
608
  });
612
- const r = s.adoptedStyleSheets || [];
613
- r.includes(i) || (s.adoptedStyleSheets = [...r, i]);
609
+ const a = n.adoptedStyleSheets || [];
610
+ a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
614
611
  });
615
612
  }
616
- function vt$1(e) {
617
- et(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
618
- }
619
- function At$1(e) {
620
- let t;
613
+ const ie = [];
614
+ function Pn(e, t) {
621
615
  return {
622
- c() {
623
- t = E("div"), t.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
624
- },
625
- m(n, s) {
626
- N$1(n, t, s), e[4](t);
627
- },
628
- p: h,
629
- i: h,
630
- o: h,
631
- d(n) {
632
- n && x(t), e[4](null);
633
- }
616
+ subscribe: Fe(e, t).subscribe
634
617
  };
635
618
  }
636
- function Tt$1(e, t, n) {
637
- let { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: i } = t, r, l;
638
- lt$1(() => () => {
639
- });
640
- function u(o) {
641
- v[o ? "unshift" : "push"](() => {
642
- r = o, n(0, r);
643
- });
644
- }
645
- return e.$$set = (o) => {
646
- "clientstyling" in o && n(1, s = o.clientstyling), "clientstylingurl" in o && n(2, c = o.clientstylingurl), "mbsource" in o && n(3, i = o.mbsource);
647
- }, e.$$.update = () => {
648
- e.$$.dirty & /*clientstyling, customStylingContainer*/
649
- 3 && s && r && St$1(r, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
650
- 5 && c && r && xt$1(r, c), e.$$.dirty & /*mbsource, customStylingContainer*/
651
- 9 && i && r && Et$1(r, `${i}.Style`, l);
652
- }, [
653
- r,
654
- s,
655
- c,
656
- i,
657
- u
658
- ];
659
- }
660
- class J extends yt$1 {
661
- constructor(t) {
662
- super(), bt$1(
663
- this,
664
- t,
665
- Tt$1,
666
- At$1,
667
- Q,
668
- {
669
- clientstyling: 1,
670
- clientstylingurl: 2,
671
- mbsource: 3
672
- },
673
- vt$1
674
- );
675
- }
676
- get clientstyling() {
677
- return this.$$.ctx[1];
678
- }
679
- set clientstyling(t) {
680
- this.$$set({ clientstyling: t }), b();
681
- }
682
- get clientstylingurl() {
683
- return this.$$.ctx[2];
684
- }
685
- set clientstylingurl(t) {
686
- this.$$set({ clientstylingurl: t }), b();
687
- }
688
- get mbsource() {
689
- return this.$$.ctx[3];
690
- }
691
- set mbsource(t) {
692
- this.$$set({ mbsource: t }), b();
693
- }
694
- }
695
- gt$1(J, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
696
- const Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
697
- __proto__: null,
698
- default: J
699
- }, Symbol.toStringTag, { value: "Module" }));
700
-
701
- const GeneralAnimationLoadingC1pQ_j2M = /*#__PURE__*/Object.freeze({
702
- __proto__: null,
703
- A: kt$1,
704
- B: St$1,
705
- C: xt$1,
706
- D: Et$1,
707
- G: Ut,
708
- H: Dt,
709
- S: yt$1,
710
- a: Z$1,
711
- b: bt$1,
712
- c: gt$1,
713
- d: x,
714
- e: N$1,
715
- f: tt,
716
- g: it,
717
- h: I,
718
- i: U,
719
- j: b,
720
- k: et,
721
- l: E,
722
- m: jt$1,
723
- n: h,
724
- o: lt$1,
725
- p: v,
726
- q: Ht$1,
727
- r: S,
728
- s: Q,
729
- t: Rt,
730
- u: z,
731
- v: Gt,
732
- w: Ot$1,
733
- x: Bt$1,
734
- y: Mt$1,
735
- z: Pt$1
736
- });
737
-
738
- var jr = Object.defineProperty, Lr = Object.defineProperties;
739
- var Rr = Object.getOwnPropertyDescriptors;
740
- var st = Object.getOwnPropertySymbols;
741
- var Ur = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
742
- var lt = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Z = (e, t) => {
743
- for (var r in t || (t = {}))
744
- Ur.call(t, r) && lt(e, r, t[r]);
745
- if (st)
746
- for (var r of st(t))
747
- Dr.call(t, r) && lt(e, r, t[r]);
748
- return e;
749
- }, ct = (e, t) => Lr(e, Rr(t));
750
- var me = (e, t, r) => new Promise((n, i) => {
751
- var o = (h) => {
752
- try {
753
- s(r.next(h));
754
- } catch (u) {
755
- i(u);
756
- }
757
- }, a = (h) => {
758
- try {
759
- s(r.throw(h));
760
- } catch (u) {
761
- i(u);
762
- }
763
- }, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
764
- s((r = r.apply(e, t)).next());
765
- });
766
- const ee = [];
767
- function Kr(e, t) {
768
- return {
769
- subscribe: Be(e, t).subscribe
770
- };
771
- }
772
- function Be(e, t = h) {
619
+ function Fe(e, t = $) {
773
620
  let r;
774
621
  const n = /* @__PURE__ */ new Set();
775
622
  function i(s) {
776
- if (Q(e, s) && (e = s, r)) {
777
- const h = !ee.length;
778
- for (const u of n)
779
- u[1](), ee.push(u, e);
780
- if (h) {
781
- for (let u = 0; u < ee.length; u += 2)
782
- ee[u][0](ee[u + 1]);
783
- ee.length = 0;
623
+ if (_t(e, s) && (e = s, r)) {
624
+ const c = !ie.length;
625
+ for (const l of n)
626
+ l[1](), ie.push(l, e);
627
+ if (c) {
628
+ for (let l = 0; l < ie.length; l += 2)
629
+ ie[l][0](ie[l + 1]);
630
+ ie.length = 0;
784
631
  }
785
632
  }
786
633
  }
787
634
  function o(s) {
788
635
  i(s(e));
789
636
  }
790
- function a(s, h$1 = h) {
791
- const u = [s, h$1];
792
- return n.add(u), n.size === 1 && (r = t(i, o) || h), s(e), () => {
793
- n.delete(u), n.size === 0 && r && (r(), r = null);
637
+ function a(s, c = $) {
638
+ const l = [s, c];
639
+ return n.add(l), n.size === 1 && (r = t(i, o) || $), s(e), () => {
640
+ n.delete(l), n.size === 0 && r && (r(), r = null);
794
641
  };
795
642
  }
796
643
  return { set: i, update: o, subscribe: a };
797
644
  }
798
- function ae(e, t, r) {
645
+ function fe(e, t, r) {
799
646
  const n = !Array.isArray(e), i = n ? [e] : e;
800
647
  if (!i.every(Boolean))
801
648
  throw new Error("derived() expects stores as input, got a falsy value");
802
649
  const o = t.length < 2;
803
- return Kr(r, (a, s) => {
804
- let h$1 = !1;
805
- const u = [];
806
- let c = 0, d = h;
650
+ return Pn(r, (a, s) => {
651
+ let c = !1;
652
+ const l = [];
653
+ let u = 0, d = $;
807
654
  const m = () => {
808
- if (c)
655
+ if (u)
809
656
  return;
810
657
  d();
811
- const f = t(n ? u[0] : u, a, s);
812
- o ? a(f) : d = U(f) ? f : h;
658
+ const g = t(n ? l[0] : l, a, s);
659
+ o ? a(g) : d = gt(g) ? g : $;
813
660
  }, y = i.map(
814
- (f, g) => Z$1(
815
- f,
661
+ (g, p) => tr(
662
+ g,
816
663
  (S) => {
817
- u[g] = S, c &= ~(1 << g), h$1 && m();
664
+ l[p] = S, u &= ~(1 << p), c && m();
818
665
  },
819
666
  () => {
820
- c |= 1 << g;
667
+ u |= 1 << p;
821
668
  }
822
669
  )
823
670
  );
824
- return h$1 = !0, m(), function() {
825
- S(y), d(), h$1 = !1;
671
+ return c = !0, m(), function() {
672
+ me(y), d(), c = !1;
826
673
  };
827
674
  });
828
675
  }
829
- function $r(e) {
676
+ function Bn(e) {
830
677
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
831
678
  }
832
- var en = function(t) {
833
- return tn(t) && !rn(t);
679
+ var On = function(t) {
680
+ return zn(t) && !Ln(t);
834
681
  };
835
- function tn(e) {
682
+ function zn(e) {
836
683
  return !!e && typeof e == "object";
837
684
  }
838
- function rn(e) {
685
+ function Ln(e) {
839
686
  var t = Object.prototype.toString.call(e);
840
- return t === "[object RegExp]" || t === "[object Date]" || an(e);
687
+ return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
841
688
  }
842
- var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
843
- function an(e) {
844
- return e.$$typeof === on;
689
+ var jn = typeof Symbol == "function" && Symbol.for, In = jn ? Symbol.for("react.element") : 60103;
690
+ function Rn(e) {
691
+ return e.$$typeof === In;
845
692
  }
846
- function sn(e) {
693
+ function Un(e) {
847
694
  return Array.isArray(e) ? [] : {};
848
695
  }
849
- function fe(e, t) {
850
- return t.clone !== !1 && t.isMergeableObject(e) ? re(sn(e), e, t) : e;
696
+ function xe(e, t) {
697
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Un(e), e, t) : e;
851
698
  }
852
- function ln(e, t, r) {
699
+ function Dn(e, t, r) {
853
700
  return e.concat(t).map(function(n) {
854
- return fe(n, r);
701
+ return xe(n, r);
855
702
  });
856
703
  }
857
- function cn(e, t) {
704
+ function Gn(e, t) {
858
705
  if (!t.customMerge)
859
- return re;
706
+ return ce;
860
707
  var r = t.customMerge(e);
861
- return typeof r == "function" ? r : re;
708
+ return typeof r == "function" ? r : ce;
862
709
  }
863
- function un(e) {
710
+ function Fn(e) {
864
711
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
865
712
  return Object.propertyIsEnumerable.call(e, t);
866
713
  }) : [];
867
714
  }
868
- function dt(e) {
869
- return Object.keys(e).concat(un(e));
715
+ function Tt(e) {
716
+ return Object.keys(e).concat(Fn(e));
870
717
  }
871
- function Vt(e, t) {
718
+ function sr(e, t) {
872
719
  try {
873
720
  return t in e;
874
721
  } catch (r) {
875
722
  return !1;
876
723
  }
877
724
  }
878
- function hn(e, t) {
879
- return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
725
+ function $n(e, t) {
726
+ return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
880
727
  }
881
- function dn(e, t, r) {
728
+ function Vn(e, t, r) {
882
729
  var n = {};
883
- return r.isMergeableObject(e) && dt(e).forEach(function(i) {
884
- n[i] = fe(e[i], r);
885
- }), dt(t).forEach(function(i) {
886
- hn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
730
+ return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
731
+ n[i] = xe(e[i], r);
732
+ }), Tt(t).forEach(function(i) {
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));
887
734
  }), n;
888
735
  }
889
- function re(e, t, r) {
890
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = fe;
736
+ function ce(e, t, r) {
737
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = xe;
891
738
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
892
- return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : fe(t, r);
739
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : xe(t, r);
893
740
  }
894
- re.all = function(t, r) {
741
+ ce.all = function(t, r) {
895
742
  if (!Array.isArray(t))
896
743
  throw new Error("first argument should be an array");
897
744
  return t.reduce(function(n, i) {
898
- return re(n, i, r);
745
+ return ce(n, i, r);
899
746
  }, {});
900
747
  };
901
- var mn = re, pn = mn;
902
- const gn = /* @__PURE__ */ $r(pn);
903
- var Xe = function(e, t) {
904
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
748
+ var Xn = ce, qn = Xn;
749
+ const Wn = /* @__PURE__ */ Bn(qn);
750
+ var st = function(e, t) {
751
+ return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
905
752
  r.__proto__ = n;
906
753
  } || function(r, n) {
907
754
  for (var i in n)
908
755
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
909
- }, Xe(e, t);
756
+ }, st(e, t);
910
757
  };
911
- function Oe(e, t) {
758
+ function $e(e, t) {
912
759
  if (typeof t != "function" && t !== null)
913
760
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
914
- Xe(e, t);
761
+ st(e, t);
915
762
  function r() {
916
763
  this.constructor = e;
917
764
  }
918
765
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
919
766
  }
920
- var q = function() {
921
- return q = Object.assign || function(t) {
767
+ var Z = function() {
768
+ return Z = Object.assign || function(t) {
922
769
  for (var r, n = 1, i = arguments.length; n < i; n++) {
923
770
  r = arguments[n];
924
771
  for (var o in r)
925
772
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
926
773
  }
927
774
  return t;
928
- }, q.apply(this, arguments);
775
+ }, Z.apply(this, arguments);
929
776
  };
930
- function fn(e, t) {
777
+ function Zn(e, t) {
931
778
  var r = {};
932
779
  for (var n in e)
933
780
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -936,43 +783,43 @@ function fn(e, t) {
936
783
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
937
784
  return r;
938
785
  }
939
- function Re(e, t, r) {
786
+ function Ye(e, t, r) {
940
787
  if (r || arguments.length === 2)
941
788
  for (var n = 0, i = t.length, o; n < i; n++)
942
789
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
943
790
  return e.concat(o || Array.prototype.slice.call(t));
944
791
  }
945
- function Ue(e, t) {
946
- var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : vn;
792
+ function Ke(e, t) {
793
+ var r = t && t.cache ? t.cache : ri, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : Yn;
947
794
  return i(e, {
948
795
  cache: r,
949
796
  serializer: n
950
797
  });
951
798
  }
952
- function _n(e) {
799
+ function Jn(e) {
953
800
  return e == null || typeof e == "number" || typeof e == "boolean";
954
801
  }
955
- function yn(e, t, r, n) {
956
- var i = _n(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);
957
804
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
958
805
  }
959
- function Xt(e, t, r) {
806
+ function lr(e, t, r) {
960
807
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
961
808
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
962
809
  }
963
- function qt(e, t, r, n, i) {
810
+ function cr(e, t, r, n, i) {
964
811
  return r.bind(t, e, n, i);
965
812
  }
966
- function vn(e, t) {
967
- var r = e.length === 1 ? yn : Xt;
968
- return qt(e, this, r, t.cache.create(), t.serializer);
813
+ function Yn(e, t) {
814
+ var r = e.length === 1 ? Qn : lr;
815
+ return cr(e, this, r, t.cache.create(), t.serializer);
969
816
  }
970
- function kn(e, t) {
971
- return qt(e, this, Xt, t.cache.create(), t.serializer);
817
+ function Kn(e, t) {
818
+ return cr(e, this, lr, t.cache.create(), t.serializer);
972
819
  }
973
- var bn = function() {
820
+ var ei = function() {
974
821
  return JSON.stringify(arguments);
975
- }, En = (
822
+ }, ti = (
976
823
  /** @class */
977
824
  function() {
978
825
  function e() {
@@ -984,71 +831,71 @@ var bn = function() {
984
831
  this.cache[t] = r;
985
832
  }, e;
986
833
  }()
987
- ), Cn = {
834
+ ), ri = {
988
835
  create: function() {
989
- return new En();
836
+ return new ti();
990
837
  }
991
- }, De = {
992
- variadic: kn
993
- }, Ae = function() {
994
- return Ae = Object.assign || function(t) {
838
+ }, et = {
839
+ variadic: Kn
840
+ }, Ue = function() {
841
+ return Ue = Object.assign || function(t) {
995
842
  for (var r, n = 1, i = arguments.length; n < i; n++) {
996
843
  r = arguments[n];
997
844
  for (var o in r)
998
845
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
999
846
  }
1000
847
  return t;
1001
- }, Ae.apply(this, arguments);
848
+ }, Ue.apply(this, arguments);
1002
849
  };
1003
- var w;
850
+ var N;
1004
851
  (function(e) {
1005
852
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1006
- })(w || (w = {}));
853
+ })(N || (N = {}));
1007
854
  var P;
1008
855
  (function(e) {
1009
856
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1010
857
  })(P || (P = {}));
1011
- var ne;
858
+ var ue;
1012
859
  (function(e) {
1013
860
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1014
- })(ne || (ne = {}));
1015
- function mt(e) {
861
+ })(ue || (ue = {}));
862
+ function Mt(e) {
1016
863
  return e.type === P.literal;
1017
864
  }
1018
- function Sn(e) {
865
+ function ni(e) {
1019
866
  return e.type === P.argument;
1020
867
  }
1021
- function Wt(e) {
868
+ function ur(e) {
1022
869
  return e.type === P.number;
1023
870
  }
1024
- function Zt(e) {
871
+ function hr(e) {
1025
872
  return e.type === P.date;
1026
873
  }
1027
- function Jt(e) {
874
+ function dr(e) {
1028
875
  return e.type === P.time;
1029
876
  }
1030
- function Qt(e) {
877
+ function mr(e) {
1031
878
  return e.type === P.select;
1032
879
  }
1033
- function Yt(e) {
880
+ function fr(e) {
1034
881
  return e.type === P.plural;
1035
882
  }
1036
- function xn(e) {
883
+ function ii(e) {
1037
884
  return e.type === P.pound;
1038
885
  }
1039
- function Kt(e) {
886
+ function pr(e) {
1040
887
  return e.type === P.tag;
1041
888
  }
1042
- function $t(e) {
1043
- return !!(e && typeof e == "object" && e.type === ne.number);
889
+ function gr(e) {
890
+ return !!(e && typeof e == "object" && e.type === ue.number);
1044
891
  }
1045
- function qe(e) {
1046
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
892
+ function lt(e) {
893
+ return !!(e && typeof e == "object" && e.type === ue.dateTime);
1047
894
  }
1048
- var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1049
- function Mn(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) {
1050
897
  var t = {};
1051
- return e.replace(Tn, function(r) {
898
+ return e.replace(oi, function(r) {
1052
899
  var n = r.length;
1053
900
  switch (r[0]) {
1054
901
  case "G":
@@ -1147,36 +994,36 @@ var B = function() {
1147
994
  return t;
1148
995
  }, B.apply(this, arguments);
1149
996
  };
1150
- var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1151
- function Nn(e) {
997
+ var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
998
+ function li(e) {
1152
999
  if (e.length === 0)
1153
1000
  throw new Error("Number skeleton cannot be empty");
1154
- for (var t = e.split(wn).filter(function(m) {
1001
+ for (var t = e.split(si).filter(function(m) {
1155
1002
  return m.length > 0;
1156
1003
  }), r = [], n = 0, i = t; n < i.length; n++) {
1157
1004
  var o = i[n], a = o.split("/");
1158
1005
  if (a.length === 0)
1159
1006
  throw new Error("Invalid number skeleton");
1160
- for (var s = a[0], h = a.slice(1), u = 0, c = h; u < c.length; u++) {
1161
- var d = c[u];
1007
+ for (var s = a[0], c = a.slice(1), l = 0, u = c; l < u.length; l++) {
1008
+ var d = u[l];
1162
1009
  if (d.length === 0)
1163
1010
  throw new Error("Invalid number skeleton");
1164
1011
  }
1165
- r.push({ stem: s, options: h });
1012
+ r.push({ stem: s, options: c });
1166
1013
  }
1167
1014
  return r;
1168
1015
  }
1169
- function An(e) {
1016
+ function ci(e) {
1170
1017
  return e.replace(/^(.*?)-/, "");
1171
1018
  }
1172
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1173
- function gt(e) {
1019
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1020
+ function At(e) {
1174
1021
  var t = {};
1175
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
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) {
1176
1023
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1177
1024
  }), t;
1178
1025
  }
1179
- function nr(e) {
1026
+ function br(e) {
1180
1027
  switch (e) {
1181
1028
  case "sign-auto":
1182
1029
  return {
@@ -1216,7 +1063,7 @@ function nr(e) {
1216
1063
  };
1217
1064
  }
1218
1065
  }
1219
- function Pn(e) {
1066
+ function hi(e) {
1220
1067
  var t;
1221
1068
  if (e[0] === "E" && e[1] === "E" ? (t = {
1222
1069
  notation: "engineering"
@@ -1224,17 +1071,17 @@ function Pn(e) {
1224
1071
  notation: "scientific"
1225
1072
  }, e = e.slice(1)), t) {
1226
1073
  var r = e.slice(0, 2);
1227
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1074
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1228
1075
  throw new Error("Malformed concise eng/scientific notation");
1229
1076
  t.minimumIntegerDigits = e.length;
1230
1077
  }
1231
1078
  return t;
1232
1079
  }
1233
- function ft(e) {
1234
- var t = {}, r = nr(e);
1080
+ function Ht(e) {
1081
+ var t = {}, r = br(e);
1235
1082
  return r || t;
1236
1083
  }
1237
- function Bn(e) {
1084
+ function di(e) {
1238
1085
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1239
1086
  var i = n[r];
1240
1087
  switch (i.stem) {
@@ -1258,7 +1105,7 @@ function Bn(e) {
1258
1105
  continue;
1259
1106
  case "measure-unit":
1260
1107
  case "unit":
1261
- t.style = "unit", t.unit = An(i.options[0]);
1108
+ t.style = "unit", t.unit = ci(i.options[0]);
1262
1109
  continue;
1263
1110
  case "compact-short":
1264
1111
  case "K":
@@ -1269,13 +1116,13 @@ function Bn(e) {
1269
1116
  t.notation = "compact", t.compactDisplay = "long";
1270
1117
  continue;
1271
1118
  case "scientific":
1272
- t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1273
- return B(B({}, h), ft(u));
1119
+ t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1120
+ return B(B({}, c), Ht(l));
1274
1121
  }, {}));
1275
1122
  continue;
1276
1123
  case "engineering":
1277
- t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1278
- return B(B({}, h), ft(u));
1124
+ t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1125
+ return B(B({}, c), Ht(l));
1279
1126
  }, {}));
1280
1127
  continue;
1281
1128
  case "notation-simple":
@@ -1320,9 +1167,9 @@ function Bn(e) {
1320
1167
  case "integer-width":
1321
1168
  if (i.options.length > 1)
1322
1169
  throw new RangeError("integer-width stems only accept a single optional option");
1323
- i.options[0].replace(Hn, function(h, u, c, d, m, y) {
1324
- if (u)
1325
- t.minimumIntegerDigits = c.length;
1170
+ i.options[0].replace(ui, function(c, l, u, d, m, y) {
1171
+ if (l)
1172
+ t.minimumIntegerDigits = u.length;
1326
1173
  else {
1327
1174
  if (d && m)
1328
1175
  throw new Error("We currently do not support maximum integer digits");
@@ -1333,32 +1180,32 @@ function Bn(e) {
1333
1180
  });
1334
1181
  continue;
1335
1182
  }
1336
- if (rr.test(i.stem)) {
1183
+ if (vr.test(i.stem)) {
1337
1184
  t.minimumIntegerDigits = i.stem.length;
1338
1185
  continue;
1339
1186
  }
1340
- if (pt.test(i.stem)) {
1187
+ if (Nt.test(i.stem)) {
1341
1188
  if (i.options.length > 1)
1342
1189
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1343
- i.stem.replace(pt, function(h, u, c, d, m, y) {
1344
- return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1190
+ i.stem.replace(Nt, function(c, l, u, d, m, y) {
1191
+ return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1345
1192
  });
1346
1193
  var o = i.options[0];
1347
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), gt(o)));
1194
+ o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), At(o)));
1348
1195
  continue;
1349
1196
  }
1350
- if (tr.test(i.stem)) {
1351
- t = B(B({}, t), gt(i.stem));
1197
+ if (yr.test(i.stem)) {
1198
+ t = B(B({}, t), At(i.stem));
1352
1199
  continue;
1353
1200
  }
1354
- var a = nr(i.stem);
1201
+ var a = br(i.stem);
1355
1202
  a && (t = B(B({}, t), a));
1356
- var s = Pn(i.stem);
1203
+ var s = hi(i.stem);
1357
1204
  s && (t = B(B({}, t), s));
1358
1205
  }
1359
1206
  return t;
1360
1207
  }
1361
- var Me = {
1208
+ var ze = {
1362
1209
  "001": [
1363
1210
  "H",
1364
1211
  "h"
@@ -2773,23 +2620,23 @@ var Me = {
2773
2620
  "h"
2774
2621
  ]
2775
2622
  };
2776
- function On(e, t) {
2623
+ function mi(e, t) {
2777
2624
  for (var r = "", n = 0; n < e.length; n++) {
2778
2625
  var i = e.charAt(n);
2779
2626
  if (i === "j") {
2780
2627
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2781
2628
  o++, n++;
2782
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = zn(t);
2783
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2784
- r += h;
2629
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = fi(t);
2630
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2631
+ r += c;
2785
2632
  for (; a-- > 0; )
2786
- r = u + r;
2633
+ r = l + r;
2787
2634
  } else
2788
2635
  i === "J" ? r += "H" : r += i;
2789
2636
  }
2790
2637
  return r;
2791
2638
  }
2792
- function zn(e) {
2639
+ function fi(e) {
2793
2640
  var t = e.hourCycle;
2794
2641
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2795
2642
  e.hourCycles && // @ts-ignore
@@ -2808,23 +2655,23 @@ function zn(e) {
2808
2655
  }
2809
2656
  var r = e.language, n;
2810
2657
  r !== "root" && (n = e.maximize().region);
2811
- var i = Me[n || ""] || Me[r || ""] || Me["".concat(r, "-001")] || Me["001"];
2658
+ var i = ze[n || ""] || ze[r || ""] || ze["".concat(r, "-001")] || ze["001"];
2812
2659
  return i[0];
2813
2660
  }
2814
- var Ge, In = new RegExp("^".concat(er.source, "*")), jn = new RegExp("".concat(er.source, "*$"));
2815
- function N(e, t) {
2661
+ var tt, pi = new RegExp("^".concat(_r.source, "*")), gi = new RegExp("".concat(_r.source, "*$"));
2662
+ function A(e, t) {
2816
2663
  return { start: e, end: t };
2817
2664
  }
2818
- var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? 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) {
2819
2666
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2820
- }, We = !0;
2667
+ }, ct = !0;
2821
2668
  try {
2822
- var qn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2823
- We = ((Ge = qn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[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";
2824
2671
  } catch (e) {
2825
- We = !1;
2672
+ ct = !1;
2826
2673
  }
2827
- var _t = Ln ? (
2674
+ var Pt = _i ? (
2828
2675
  // Native
2829
2676
  function(t, r, n) {
2830
2677
  return t.startsWith(r, n);
@@ -2834,7 +2681,7 @@ var _t = Ln ? (
2834
2681
  function(t, r, n) {
2835
2682
  return t.slice(n, n + r.length) === r;
2836
2683
  }
2837
- ), Ze = Rn ? String.fromCodePoint : (
2684
+ ), ut = yi ? String.fromCodePoint : (
2838
2685
  // IE11
2839
2686
  function() {
2840
2687
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2846,9 +2693,9 @@ var _t = Ln ? (
2846
2693
  }
2847
2694
  return n;
2848
2695
  }
2849
- ), yt = (
2696
+ ), Bt = (
2850
2697
  // native
2851
- Un ? Object.fromEntries : (
2698
+ vi ? Object.fromEntries : (
2852
2699
  // Ponyfill
2853
2700
  function(t) {
2854
2701
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2858,7 +2705,7 @@ var _t = Ln ? (
2858
2705
  return r;
2859
2706
  }
2860
2707
  )
2861
- ), ir = Dn ? (
2708
+ ), kr = bi ? (
2862
2709
  // Native
2863
2710
  function(t, r) {
2864
2711
  return t.codePointAt(r);
@@ -2872,7 +2719,7 @@ var _t = Ln ? (
2872
2719
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2873
2720
  }
2874
2721
  }
2875
- ), Wn = Gn ? (
2722
+ ), wi = ki ? (
2876
2723
  // Native
2877
2724
  function(t) {
2878
2725
  return t.trimStart();
@@ -2880,9 +2727,9 @@ var _t = Ln ? (
2880
2727
  ) : (
2881
2728
  // Ponyfill
2882
2729
  function(t) {
2883
- return t.replace(In, "");
2730
+ return t.replace(pi, "");
2884
2731
  }
2885
- ), Zn = Fn ? (
2732
+ ), Ti = Ei ? (
2886
2733
  // Native
2887
2734
  function(t) {
2888
2735
  return t.trimEnd();
@@ -2890,32 +2737,32 @@ var _t = Ln ? (
2890
2737
  ) : (
2891
2738
  // Ponyfill
2892
2739
  function(t) {
2893
- return t.replace(jn, "");
2740
+ return t.replace(gi, "");
2894
2741
  }
2895
2742
  );
2896
- function or(e, t) {
2743
+ function Er(e, t) {
2897
2744
  return new RegExp(e, t);
2898
2745
  }
2899
- var Je;
2900
- if (We) {
2901
- var vt = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2902
- Je = function(t, r) {
2746
+ var ht;
2747
+ if (ct) {
2748
+ var Ot = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2749
+ ht = function(t, r) {
2903
2750
  var n;
2904
- vt.lastIndex = r;
2905
- var i = vt.exec(t);
2751
+ Ot.lastIndex = r;
2752
+ var i = Ot.exec(t);
2906
2753
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2907
2754
  };
2908
2755
  } else
2909
- Je = function(t, r) {
2756
+ ht = function(t, r) {
2910
2757
  for (var n = []; ; ) {
2911
- var i = ir(t, r);
2912
- if (i === void 0 || ar(i) || Kn(i))
2758
+ var i = kr(t, r);
2759
+ if (i === void 0 || Cr(i) || Hi(i))
2913
2760
  break;
2914
2761
  n.push(i), r += i >= 65536 ? 2 : 1;
2915
2762
  }
2916
- return Ze.apply(void 0, n);
2763
+ return ut.apply(void 0, n);
2917
2764
  };
2918
- var Jn = (
2765
+ var Mi = (
2919
2766
  /** @class */
2920
2767
  function() {
2921
2768
  function e(t, r) {
@@ -2940,13 +2787,13 @@ var Jn = (
2940
2787
  var s = this.clonePosition();
2941
2788
  this.bump(), i.push({
2942
2789
  type: P.pound,
2943
- location: N(s, this.clonePosition())
2790
+ location: A(s, this.clonePosition())
2944
2791
  });
2945
2792
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2946
2793
  if (n)
2947
2794
  break;
2948
- return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2949
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2795
+ return this.error(N.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
2796
+ } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2950
2797
  var a = this.parseTag(t, r);
2951
2798
  if (a.err)
2952
2799
  return a;
@@ -2969,7 +2816,7 @@ var Jn = (
2969
2816
  val: {
2970
2817
  type: P.literal,
2971
2818
  value: "<".concat(i, "/>"),
2972
- location: N(n, this.clonePosition())
2819
+ location: A(n, this.clonePosition())
2973
2820
  },
2974
2821
  err: null
2975
2822
  };
@@ -2979,25 +2826,25 @@ var Jn = (
2979
2826
  return o;
2980
2827
  var a = o.val, s = this.clonePosition();
2981
2828
  if (this.bumpIf("</")) {
2982
- if (this.isEOF() || !Qe(this.char()))
2983
- return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
2984
- var h = this.clonePosition(), u = this.parseTagName();
2985
- return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2829
+ if (this.isEOF() || !dt(this.char()))
2830
+ return this.error(N.INVALID_TAG, A(s, this.clonePosition()));
2831
+ var c = this.clonePosition(), l = this.parseTagName();
2832
+ return i !== l ? this.error(N.UNMATCHED_CLOSING_TAG, A(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2986
2833
  val: {
2987
2834
  type: P.tag,
2988
2835
  value: i,
2989
2836
  children: a,
2990
- location: N(n, this.clonePosition())
2837
+ location: A(n, this.clonePosition())
2991
2838
  },
2992
2839
  err: null
2993
- } : this.error(w.INVALID_TAG, N(s, this.clonePosition())));
2840
+ } : this.error(N.INVALID_TAG, A(s, this.clonePosition())));
2994
2841
  } else
2995
- return this.error(w.UNCLOSED_TAG, N(n, this.clonePosition()));
2842
+ return this.error(N.UNCLOSED_TAG, A(n, this.clonePosition()));
2996
2843
  } else
2997
- return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
2844
+ return this.error(N.INVALID_TAG, A(n, this.clonePosition()));
2998
2845
  }, e.prototype.parseTagName = function() {
2999
2846
  var t = this.offset();
3000
- for (this.bump(); !this.isEOF() && Yn(this.char()); )
2847
+ for (this.bump(); !this.isEOF() && Ai(this.char()); )
3001
2848
  this.bump();
3002
2849
  return this.message.slice(t, this.offset());
3003
2850
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3019,14 +2866,14 @@ var Jn = (
3019
2866
  }
3020
2867
  break;
3021
2868
  }
3022
- var h = N(n, this.clonePosition());
2869
+ var c = A(n, this.clonePosition());
3023
2870
  return {
3024
- val: { type: P.literal, value: i, location: h },
2871
+ val: { type: P.literal, value: i, location: c },
3025
2872
  err: null
3026
2873
  };
3027
2874
  }, e.prototype.tryParseLeftAngleBracket = function() {
3028
2875
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3029
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2876
+ !Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
3030
2877
  }, e.prototype.tryParseQuote = function(t) {
3031
2878
  if (this.isEOF() || this.char() !== 39)
3032
2879
  return null;
@@ -3060,23 +2907,23 @@ var Jn = (
3060
2907
  r.push(n);
3061
2908
  this.bump();
3062
2909
  }
3063
- return Ze.apply(void 0, r);
2910
+ return ut.apply(void 0, r);
3064
2911
  }, e.prototype.tryParseUnquoted = function(t, r) {
3065
2912
  if (this.isEOF())
3066
2913
  return null;
3067
2914
  var n = this.char();
3068
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2915
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ut(n));
3069
2916
  }, e.prototype.parseArgument = function(t, r) {
3070
2917
  var n = this.clonePosition();
3071
2918
  if (this.bump(), this.bumpSpace(), this.isEOF())
3072
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2919
+ return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
3073
2920
  if (this.char() === 125)
3074
- return this.bump(), this.error(w.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2921
+ return this.bump(), this.error(N.EMPTY_ARGUMENT, A(n, this.clonePosition()));
3075
2922
  var i = this.parseIdentifierIfPossible().value;
3076
2923
  if (!i)
3077
- return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2924
+ return this.error(N.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3078
2925
  if (this.bumpSpace(), this.isEOF())
3079
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2926
+ return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
3080
2927
  switch (this.char()) {
3081
2928
  case 125:
3082
2929
  return this.bump(), {
@@ -3084,66 +2931,66 @@ var Jn = (
3084
2931
  type: P.argument,
3085
2932
  // value does not include the opening and closing braces.
3086
2933
  value: i,
3087
- location: N(n, this.clonePosition())
2934
+ location: A(n, this.clonePosition())
3088
2935
  },
3089
2936
  err: null
3090
2937
  };
3091
2938
  case 44:
3092
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2939
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3093
2940
  default:
3094
- return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2941
+ return this.error(N.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3095
2942
  }
3096
2943
  }, e.prototype.parseIdentifierIfPossible = function() {
3097
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2944
+ var t = this.clonePosition(), r = this.offset(), n = ht(this.message, r), i = r + n.length;
3098
2945
  this.bumpTo(i);
3099
- var o = this.clonePosition(), a = N(t, o);
2946
+ var o = this.clonePosition(), a = A(t, o);
3100
2947
  return { value: n, location: a };
3101
2948
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3102
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2949
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, c = this.clonePosition();
3103
2950
  switch (s) {
3104
2951
  case "":
3105
- return this.error(w.EXPECT_ARGUMENT_TYPE, N(a, h));
2952
+ return this.error(N.EXPECT_ARGUMENT_TYPE, A(a, c));
3106
2953
  case "number":
3107
2954
  case "date":
3108
2955
  case "time": {
3109
2956
  this.bumpSpace();
3110
- var u = null;
2957
+ var l = null;
3111
2958
  if (this.bumpIf(",")) {
3112
2959
  this.bumpSpace();
3113
- var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2960
+ var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3114
2961
  if (d.err)
3115
2962
  return d;
3116
- var m = Zn(d.val);
2963
+ var m = Ti(d.val);
3117
2964
  if (m.length === 0)
3118
- return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
3119
- var y = N(c, this.clonePosition());
3120
- u = { style: m, styleLocation: y };
2965
+ return this.error(N.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2966
+ var y = A(u, this.clonePosition());
2967
+ l = { style: m, styleLocation: y };
3121
2968
  }
3122
- var f = this.tryParseArgumentClose(i);
3123
- if (f.err)
3124
- return f;
3125
- var g = N(i, this.clonePosition());
3126
- if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3127
- var S = Wn(u.style.slice(2));
2969
+ var g = this.tryParseArgumentClose(i);
2970
+ if (g.err)
2971
+ return g;
2972
+ var p = A(i, this.clonePosition());
2973
+ if (l && Pt(l == null ? void 0 : l.style, "::", 0)) {
2974
+ var S = wi(l.style.slice(2));
3128
2975
  if (s === "number") {
3129
- var d = this.parseNumberSkeletonFromString(S, u.styleLocation);
2976
+ var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
3130
2977
  return d.err ? d : {
3131
- val: { type: P.number, value: n, location: g, style: d.val },
2978
+ val: { type: P.number, value: n, location: p, style: d.val },
3132
2979
  err: null
3133
2980
  };
3134
2981
  } else {
3135
2982
  if (S.length === 0)
3136
- return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
2983
+ return this.error(N.EXPECT_DATE_TIME_SKELETON, p);
3137
2984
  var _ = S;
3138
- this.locale && (_ = On(S, this.locale));
2985
+ this.locale && (_ = mi(S, this.locale));
3139
2986
  var m = {
3140
- type: ne.dateTime,
2987
+ type: ue.dateTime,
3141
2988
  pattern: _,
3142
- location: u.styleLocation,
3143
- parsedOptions: this.shouldParseSkeletons ? Mn(_) : {}
2989
+ location: l.styleLocation,
2990
+ parsedOptions: this.shouldParseSkeletons ? ai(_) : {}
3144
2991
  }, v = s === "date" ? P.date : P.time;
3145
2992
  return {
3146
- val: { type: v, value: n, location: g, style: m },
2993
+ val: { type: v, value: n, location: p, style: m },
3147
2994
  err: null
3148
2995
  };
3149
2996
  }
@@ -3152,8 +2999,8 @@ var Jn = (
3152
2999
  val: {
3153
3000
  type: s === "number" ? P.number : s === "date" ? P.date : P.time,
3154
3001
  value: n,
3155
- location: g,
3156
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3002
+ location: p,
3003
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3157
3004
  },
3158
3005
  err: null
3159
3006
  };
@@ -3163,30 +3010,30 @@ var Jn = (
3163
3010
  case "select": {
3164
3011
  var C = this.clonePosition();
3165
3012
  if (this.bumpSpace(), !this.bumpIf(","))
3166
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, Ae({}, C)));
3013
+ return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS, A(C, Ue({}, C)));
3167
3014
  this.bumpSpace();
3168
3015
  var H = this.parseIdentifierIfPossible(), E = 0;
3169
3016
  if (s !== "select" && H.value === "offset") {
3170
3017
  if (!this.bumpIf(":"))
3171
- return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
3018
+ return this.error(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
3172
3019
  this.bumpSpace();
3173
- var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3020
+ var d = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3174
3021
  if (d.err)
3175
3022
  return d;
3176
3023
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), E = d.val;
3177
3024
  }
3178
- var O = this.tryParsePluralOrSelectOptions(t, s, r, H);
3179
- if (O.err)
3180
- return O;
3181
- var f = this.tryParseArgumentClose(i);
3182
- if (f.err)
3183
- return f;
3184
- var J = N(i, this.clonePosition());
3025
+ var z = this.tryParsePluralOrSelectOptions(t, s, r, H);
3026
+ if (z.err)
3027
+ return z;
3028
+ var g = this.tryParseArgumentClose(i);
3029
+ if (g.err)
3030
+ return g;
3031
+ var J = A(i, this.clonePosition());
3185
3032
  return s === "select" ? {
3186
3033
  val: {
3187
3034
  type: P.select,
3188
3035
  value: n,
3189
- options: yt(O.val),
3036
+ options: Bt(z.val),
3190
3037
  location: J
3191
3038
  },
3192
3039
  err: null
@@ -3194,7 +3041,7 @@ var Jn = (
3194
3041
  val: {
3195
3042
  type: P.plural,
3196
3043
  value: n,
3197
- options: yt(O.val),
3044
+ options: Bt(z.val),
3198
3045
  offset: E,
3199
3046
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3200
3047
  location: J
@@ -3203,10 +3050,10 @@ var Jn = (
3203
3050
  };
3204
3051
  }
3205
3052
  default:
3206
- return this.error(w.INVALID_ARGUMENT_TYPE, N(a, h));
3053
+ return this.error(N.INVALID_ARGUMENT_TYPE, A(a, c));
3207
3054
  }
3208
3055
  }, e.prototype.tryParseArgumentClose = function(t) {
3209
- return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3056
+ return this.isEOF() || this.char() !== 125 ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3210
3057
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3211
3058
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3212
3059
  var n = this.char();
@@ -3215,7 +3062,7 @@ var Jn = (
3215
3062
  this.bump();
3216
3063
  var i = this.clonePosition();
3217
3064
  if (!this.bumpUntil("'"))
3218
- return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
3065
+ return this.error(N.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(i, this.clonePosition()));
3219
3066
  this.bump();
3220
3067
  break;
3221
3068
  }
@@ -3245,52 +3092,52 @@ var Jn = (
3245
3092
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3246
3093
  var n = [];
3247
3094
  try {
3248
- n = Nn(t);
3095
+ n = li(t);
3249
3096
  } catch (i) {
3250
- return this.error(w.INVALID_NUMBER_SKELETON, r);
3097
+ return this.error(N.INVALID_NUMBER_SKELETON, r);
3251
3098
  }
3252
3099
  return {
3253
3100
  val: {
3254
- type: ne.number,
3101
+ type: ue.number,
3255
3102
  tokens: n,
3256
3103
  location: r,
3257
- parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
3104
+ parsedOptions: this.shouldParseSkeletons ? di(n) : {}
3258
3105
  },
3259
3106
  err: null
3260
3107
  };
3261
3108
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3262
- for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3263
- if (u.length === 0) {
3109
+ for (var o, a = !1, s = [], c = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3110
+ if (l.length === 0) {
3264
3111
  var d = this.clonePosition();
3265
3112
  if (r !== "select" && this.bumpIf("=")) {
3266
- var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3113
+ var m = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_SELECTOR, N.INVALID_PLURAL_ARGUMENT_SELECTOR);
3267
3114
  if (m.err)
3268
3115
  return m;
3269
- c = N(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3116
+ u = A(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3270
3117
  } else
3271
3118
  break;
3272
3119
  }
3273
- if (h.has(u))
3274
- return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3275
- u === "other" && (a = !0), this.bumpSpace();
3120
+ if (c.has(l))
3121
+ return this.error(r === "select" ? N.DUPLICATE_SELECT_ARGUMENT_SELECTOR : N.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3122
+ l === "other" && (a = !0), this.bumpSpace();
3276
3123
  var y = this.clonePosition();
3277
3124
  if (!this.bumpIf("{"))
3278
- return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
3279
- var f = this.parseMessage(t + 1, r, n);
3280
- if (f.err)
3281
- return f;
3282
- var g = this.tryParseArgumentClose(y);
3125
+ return this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : N.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3126
+ var g = this.parseMessage(t + 1, r, n);
3283
3127
  if (g.err)
3284
3128
  return g;
3129
+ var p = this.tryParseArgumentClose(y);
3130
+ if (p.err)
3131
+ return p;
3285
3132
  s.push([
3286
- u,
3133
+ l,
3287
3134
  {
3288
- value: f.val,
3289
- location: N(y, this.clonePosition())
3135
+ value: g.val,
3136
+ location: A(y, this.clonePosition())
3290
3137
  }
3291
- ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3138
+ ]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3292
3139
  }
3293
- return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3140
+ return s.length === 0 ? this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR : N.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(N.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3294
3141
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3295
3142
  var n = 1, i = this.clonePosition();
3296
3143
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3301,8 +3148,8 @@ var Jn = (
3301
3148
  else
3302
3149
  break;
3303
3150
  }
3304
- var h = N(i, this.clonePosition());
3305
- return o ? (a *= n, Xn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3151
+ var c = A(i, this.clonePosition());
3152
+ return o ? (a *= n, Si(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
3306
3153
  }, e.prototype.offset = function() {
3307
3154
  return this.position.offset;
3308
3155
  }, e.prototype.isEOF = function() {
@@ -3317,7 +3164,7 @@ var Jn = (
3317
3164
  var t = this.position.offset;
3318
3165
  if (t >= this.message.length)
3319
3166
  throw Error("out of bound");
3320
- var r = ir(this.message, t);
3167
+ var r = kr(this.message, t);
3321
3168
  if (r === void 0)
3322
3169
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3323
3170
  return r;
@@ -3336,7 +3183,7 @@ var Jn = (
3336
3183
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3337
3184
  }
3338
3185
  }, e.prototype.bumpIf = function(t) {
3339
- if (_t(this.message, t, this.offset())) {
3186
+ if (Pt(this.message, t, this.offset())) {
3340
3187
  for (var r = 0; r < t.length; r++)
3341
3188
  this.bump();
3342
3189
  return !0;
@@ -3358,7 +3205,7 @@ var Jn = (
3358
3205
  break;
3359
3206
  }
3360
3207
  }, e.prototype.bumpSpace = function() {
3361
- for (; !this.isEOF() && ar(this.char()); )
3208
+ for (; !this.isEOF() && Cr(this.char()); )
3362
3209
  this.bump();
3363
3210
  }, e.prototype.peek = function() {
3364
3211
  if (this.isEOF())
@@ -3368,47 +3215,47 @@ var Jn = (
3368
3215
  }, e;
3369
3216
  }()
3370
3217
  );
3371
- function Qe(e) {
3218
+ function dt(e) {
3372
3219
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3373
3220
  }
3374
- function Qn(e) {
3375
- return Qe(e) || e === 47;
3221
+ function Ni(e) {
3222
+ return dt(e) || e === 47;
3376
3223
  }
3377
- function Yn(e) {
3224
+ function Ai(e) {
3378
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;
3379
3226
  }
3380
- function ar(e) {
3227
+ function Cr(e) {
3381
3228
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3382
3229
  }
3383
- function Kn(e) {
3230
+ function Hi(e) {
3384
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;
3385
3232
  }
3386
- function Ye(e) {
3233
+ function mt(e) {
3387
3234
  e.forEach(function(t) {
3388
- if (delete t.location, Qt(t) || Yt(t))
3235
+ if (delete t.location, mr(t) || fr(t))
3389
3236
  for (var r in t.options)
3390
- delete t.options[r].location, Ye(t.options[r].value);
3237
+ delete t.options[r].location, mt(t.options[r].value);
3391
3238
  else
3392
- Wt(t) && $t(t.style) || (Zt(t) || Jt(t)) && qe(t.style) ? delete t.style.location : Kt(t) && Ye(t.children);
3239
+ ur(t) && gr(t.style) || (hr(t) || dr(t)) && lt(t.style) ? delete t.style.location : pr(t) && mt(t.children);
3393
3240
  });
3394
3241
  }
3395
- function $n(e, t) {
3396
- t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3397
- var r = new Jn(e, t).parse();
3242
+ function Pi(e, t) {
3243
+ t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3244
+ var r = new Mi(e, t).parse();
3398
3245
  if (r.err) {
3399
- var n = SyntaxError(w[r.err.kind]);
3246
+ var n = SyntaxError(N[r.err.kind]);
3400
3247
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3401
3248
  }
3402
- return t != null && t.captureLocation || Ye(r.val), r.val;
3249
+ return t != null && t.captureLocation || mt(r.val), r.val;
3403
3250
  }
3404
- var ie;
3251
+ var he;
3405
3252
  (function(e) {
3406
3253
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3407
- })(ie || (ie = {}));
3408
- var ze = (
3254
+ })(he || (he = {}));
3255
+ var Ve = (
3409
3256
  /** @class */
3410
3257
  function(e) {
3411
- Oe(t, e);
3258
+ $e(t, e);
3412
3259
  function t(r, n, i) {
3413
3260
  var o = e.call(this, r) || this;
3414
3261
  return o.code = n, o.originalMessage = i, o;
@@ -3417,155 +3264,155 @@ var ze = (
3417
3264
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3418
3265
  }, t;
3419
3266
  }(Error)
3420
- ), kt = (
3267
+ ), zt = (
3421
3268
  /** @class */
3422
3269
  function(e) {
3423
- Oe(t, e);
3270
+ $e(t, e);
3424
3271
  function t(r, n, i, o) {
3425
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3272
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3426
3273
  }
3427
3274
  return t;
3428
- }(ze)
3429
- ), ei = (
3275
+ }(Ve)
3276
+ ), Bi = (
3430
3277
  /** @class */
3431
3278
  function(e) {
3432
- Oe(t, e);
3279
+ $e(t, e);
3433
3280
  function t(r, n, i) {
3434
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3281
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3435
3282
  }
3436
3283
  return t;
3437
- }(ze)
3438
- ), ti = (
3284
+ }(Ve)
3285
+ ), Oi = (
3439
3286
  /** @class */
3440
3287
  function(e) {
3441
- Oe(t, e);
3288
+ $e(t, e);
3442
3289
  function t(r, n) {
3443
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3290
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3444
3291
  }
3445
3292
  return t;
3446
- }(ze)
3447
- ), D;
3293
+ }(Ve)
3294
+ ), G;
3448
3295
  (function(e) {
3449
3296
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3450
- })(D || (D = {}));
3451
- function ri(e) {
3297
+ })(G || (G = {}));
3298
+ function zi(e) {
3452
3299
  return e.length < 2 ? e : e.reduce(function(t, r) {
3453
3300
  var n = t[t.length - 1];
3454
- return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3301
+ return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3455
3302
  }, []);
3456
3303
  }
3457
- function ni(e) {
3304
+ function Li(e) {
3458
3305
  return typeof e == "function";
3459
3306
  }
3460
- function we(e, t, r, n, i, o, a) {
3461
- if (e.length === 1 && mt(e[0]))
3307
+ function je(e, t, r, n, i, o, a) {
3308
+ if (e.length === 1 && Mt(e[0]))
3462
3309
  return [
3463
3310
  {
3464
- type: D.literal,
3311
+ type: G.literal,
3465
3312
  value: e[0].value
3466
3313
  }
3467
3314
  ];
3468
- for (var s = [], h = 0, u = e; h < u.length; h++) {
3469
- var c = u[h];
3470
- if (mt(c)) {
3315
+ for (var s = [], c = 0, l = e; c < l.length; c++) {
3316
+ var u = l[c];
3317
+ if (Mt(u)) {
3471
3318
  s.push({
3472
- type: D.literal,
3473
- value: c.value
3319
+ type: G.literal,
3320
+ value: u.value
3474
3321
  });
3475
3322
  continue;
3476
3323
  }
3477
- if (xn(c)) {
3324
+ if (ii(u)) {
3478
3325
  typeof o == "number" && s.push({
3479
- type: D.literal,
3326
+ type: G.literal,
3480
3327
  value: r.getNumberFormat(t).format(o)
3481
3328
  });
3482
3329
  continue;
3483
3330
  }
3484
- var d = c.value;
3331
+ var d = u.value;
3485
3332
  if (!(i && d in i))
3486
- throw new ti(d, a);
3333
+ throw new Oi(d, a);
3487
3334
  var m = i[d];
3488
- if (Sn(c)) {
3335
+ if (ni(u)) {
3489
3336
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3490
- type: typeof m == "string" ? D.literal : D.object,
3337
+ type: typeof m == "string" ? G.literal : G.object,
3491
3338
  value: m
3492
3339
  });
3493
3340
  continue;
3494
3341
  }
3495
- if (Zt(c)) {
3496
- var y = typeof c.style == "string" ? n.date[c.style] : qe(c.style) ? c.style.parsedOptions : void 0;
3342
+ if (hr(u)) {
3343
+ var y = typeof u.style == "string" ? n.date[u.style] : lt(u.style) ? u.style.parsedOptions : void 0;
3497
3344
  s.push({
3498
- type: D.literal,
3345
+ type: G.literal,
3499
3346
  value: r.getDateTimeFormat(t, y).format(m)
3500
3347
  });
3501
3348
  continue;
3502
3349
  }
3503
- if (Jt(c)) {
3504
- var y = typeof c.style == "string" ? n.time[c.style] : qe(c.style) ? c.style.parsedOptions : n.time.medium;
3350
+ if (dr(u)) {
3351
+ var y = typeof u.style == "string" ? n.time[u.style] : lt(u.style) ? u.style.parsedOptions : n.time.medium;
3505
3352
  s.push({
3506
- type: D.literal,
3353
+ type: G.literal,
3507
3354
  value: r.getDateTimeFormat(t, y).format(m)
3508
3355
  });
3509
3356
  continue;
3510
3357
  }
3511
- if (Wt(c)) {
3512
- var y = typeof c.style == "string" ? n.number[c.style] : $t(c.style) ? c.style.parsedOptions : void 0;
3358
+ if (ur(u)) {
3359
+ var y = typeof u.style == "string" ? n.number[u.style] : gr(u.style) ? u.style.parsedOptions : void 0;
3513
3360
  y && y.scale && (m = m * (y.scale || 1)), s.push({
3514
- type: D.literal,
3361
+ type: G.literal,
3515
3362
  value: r.getNumberFormat(t, y).format(m)
3516
3363
  });
3517
3364
  continue;
3518
3365
  }
3519
- if (Kt(c)) {
3520
- var f = c.children, g = c.value, S = i[g];
3521
- if (!ni(S))
3522
- throw new ei(g, "function", a);
3523
- var _ = we(f, t, r, n, i, o), v = S(_.map(function(E) {
3366
+ if (pr(u)) {
3367
+ var g = u.children, p = u.value, S = i[p];
3368
+ if (!Li(S))
3369
+ throw new Bi(p, "function", a);
3370
+ var _ = je(g, t, r, n, i, o), v = S(_.map(function(E) {
3524
3371
  return E.value;
3525
3372
  }));
3526
3373
  Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(E) {
3527
3374
  return {
3528
- type: typeof E == "string" ? D.literal : D.object,
3375
+ type: typeof E == "string" ? G.literal : G.object,
3529
3376
  value: E
3530
3377
  };
3531
3378
  }));
3532
3379
  }
3533
- if (Qt(c)) {
3534
- var C = c.options[m] || c.options.other;
3380
+ if (mr(u)) {
3381
+ var C = u.options[m] || u.options.other;
3535
3382
  if (!C)
3536
- throw new kt(c.value, m, Object.keys(c.options), a);
3537
- s.push.apply(s, we(C.value, t, r, n, i));
3383
+ throw new zt(u.value, m, Object.keys(u.options), a);
3384
+ s.push.apply(s, je(C.value, t, r, n, i));
3538
3385
  continue;
3539
3386
  }
3540
- if (Yt(c)) {
3541
- var C = c.options["=".concat(m)];
3387
+ if (fr(u)) {
3388
+ var C = u.options["=".concat(m)];
3542
3389
  if (!C) {
3543
3390
  if (!Intl.PluralRules)
3544
- throw new ze(`Intl.PluralRules is not available in this environment.
3391
+ throw new Ve(`Intl.PluralRules is not available in this environment.
3545
3392
  Try polyfilling it using "@formatjs/intl-pluralrules"
3546
- `, ie.MISSING_INTL_API, a);
3547
- var H = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3548
- C = c.options[H] || c.options.other;
3393
+ `, he.MISSING_INTL_API, a);
3394
+ var H = r.getPluralRules(t, { type: u.pluralType }).select(m - (u.offset || 0));
3395
+ C = u.options[H] || u.options.other;
3549
3396
  }
3550
3397
  if (!C)
3551
- throw new kt(c.value, m, Object.keys(c.options), a);
3552
- s.push.apply(s, we(C.value, t, r, n, i, m - (c.offset || 0)));
3398
+ throw new zt(u.value, m, Object.keys(u.options), a);
3399
+ s.push.apply(s, je(C.value, t, r, n, i, m - (u.offset || 0)));
3553
3400
  continue;
3554
3401
  }
3555
3402
  }
3556
- return ri(s);
3403
+ return zi(s);
3557
3404
  }
3558
- function ii(e, t) {
3559
- return t ? q(q(q({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3560
- return r[n] = q(q({}, e[n]), t[n] || {}), r;
3405
+ function ji(e, t) {
3406
+ return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3407
+ return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
3561
3408
  }, {})) : e;
3562
3409
  }
3563
- function oi(e, t) {
3410
+ function Ii(e, t) {
3564
3411
  return t ? Object.keys(e).reduce(function(r, n) {
3565
- return r[n] = ii(e[n], t[n]), r;
3566
- }, q({}, e)) : e;
3412
+ return r[n] = ji(e[n], t[n]), r;
3413
+ }, Z({}, e)) : e;
3567
3414
  }
3568
- function Fe(e) {
3415
+ function rt(e) {
3569
3416
  return {
3570
3417
  create: function() {
3571
3418
  return {
@@ -3579,39 +3426,39 @@ function Fe(e) {
3579
3426
  }
3580
3427
  };
3581
3428
  }
3582
- function ai(e) {
3429
+ function Ri(e) {
3583
3430
  return e === void 0 && (e = {
3584
3431
  number: {},
3585
3432
  dateTime: {},
3586
3433
  pluralRules: {}
3587
3434
  }), {
3588
- getNumberFormat: Ue(function() {
3435
+ getNumberFormat: Ke(function() {
3589
3436
  for (var t, r = [], n = 0; n < arguments.length; n++)
3590
3437
  r[n] = arguments[n];
3591
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3438
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ye([void 0], r, !1)))();
3592
3439
  }, {
3593
- cache: Fe(e.number),
3594
- strategy: De.variadic
3440
+ cache: rt(e.number),
3441
+ strategy: et.variadic
3595
3442
  }),
3596
- getDateTimeFormat: Ue(function() {
3443
+ getDateTimeFormat: Ke(function() {
3597
3444
  for (var t, r = [], n = 0; n < arguments.length; n++)
3598
3445
  r[n] = arguments[n];
3599
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3446
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ye([void 0], r, !1)))();
3600
3447
  }, {
3601
- cache: Fe(e.dateTime),
3602
- strategy: De.variadic
3448
+ cache: rt(e.dateTime),
3449
+ strategy: et.variadic
3603
3450
  }),
3604
- getPluralRules: Ue(function() {
3451
+ getPluralRules: Ke(function() {
3605
3452
  for (var t, r = [], n = 0; n < arguments.length; n++)
3606
3453
  r[n] = arguments[n];
3607
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3454
+ return new ((t = Intl.PluralRules).bind.apply(t, Ye([void 0], r, !1)))();
3608
3455
  }, {
3609
- cache: Fe(e.pluralRules),
3610
- strategy: De.variadic
3456
+ cache: rt(e.pluralRules),
3457
+ strategy: et.variadic
3611
3458
  })
3612
3459
  };
3613
3460
  }
3614
- var si = (
3461
+ var Ui = (
3615
3462
  /** @class */
3616
3463
  function() {
3617
3464
  function e(t, r, n, i) {
@@ -3621,20 +3468,20 @@ var si = (
3621
3468
  number: {},
3622
3469
  dateTime: {},
3623
3470
  pluralRules: {}
3624
- }, this.format = function(h) {
3625
- var u = o.formatToParts(h);
3626
- if (u.length === 1)
3627
- return u[0].value;
3628
- var c = u.reduce(function(d, m) {
3629
- return !d.length || m.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3471
+ }, this.format = function(c) {
3472
+ var l = o.formatToParts(c);
3473
+ if (l.length === 1)
3474
+ return l[0].value;
3475
+ var u = l.reduce(function(d, m) {
3476
+ return !d.length || m.type !== G.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3630
3477
  }, []);
3631
- return c.length <= 1 ? c[0] || "" : c;
3632
- }, this.formatToParts = function(h) {
3633
- return we(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3478
+ return u.length <= 1 ? u[0] || "" : u;
3479
+ }, this.formatToParts = function(c) {
3480
+ return je(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3634
3481
  }, this.resolvedOptions = function() {
3635
- var h;
3482
+ var c;
3636
3483
  return {
3637
- locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3484
+ locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3638
3485
  };
3639
3486
  }, this.getAst = function() {
3640
3487
  return o.ast;
@@ -3642,13 +3489,13 @@ var si = (
3642
3489
  if (this.message = t, !e.__parse)
3643
3490
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3644
3491
  var a = i || {};
3645
- var s = fn(a, ["formatters"]);
3646
- this.ast = e.__parse(t, q(q({}, s), { locale: this.resolvedLocale }));
3492
+ var s = Zn(a, ["formatters"]);
3493
+ this.ast = e.__parse(t, Z(Z({}, s), { locale: this.resolvedLocale }));
3647
3494
  } else
3648
3495
  this.ast = t;
3649
3496
  if (!Array.isArray(this.ast))
3650
3497
  throw new TypeError("A message must be provided as a String or AST.");
3651
- this.formats = oi(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3498
+ this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
3652
3499
  }
3653
3500
  return Object.defineProperty(e, "defaultLocale", {
3654
3501
  get: function() {
@@ -3661,7 +3508,7 @@ var si = (
3661
3508
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3662
3509
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3663
3510
  }
3664
- }, e.__parse = $n, e.formats = {
3511
+ }, e.__parse = Pi, e.formats = {
3665
3512
  number: {
3666
3513
  integer: {
3667
3514
  maximumFractionDigits: 0
@@ -3722,7 +3569,7 @@ var si = (
3722
3569
  }, e;
3723
3570
  }()
3724
3571
  );
3725
- function li(e, t) {
3572
+ function Di(e, t) {
3726
3573
  if (t == null)
3727
3574
  return;
3728
3575
  if (t in e)
@@ -3743,92 +3590,92 @@ function li(e, t) {
3743
3590
  n = void 0;
3744
3591
  return n;
3745
3592
  }
3746
- const Y = {}, ci = (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) => {
3747
3594
  if (t == null)
3748
3595
  return;
3749
3596
  if (t in Y && e in Y[t])
3750
3597
  return Y[t][e];
3751
- const r = Ie(t);
3598
+ const r = Xe(t);
3752
3599
  for (let n = 0; n < r.length; n++) {
3753
- const i = r[n], o = hi(i, e);
3600
+ const i = r[n], o = $i(i, e);
3754
3601
  if (o)
3755
- return ci(e, t, o);
3602
+ return Gi(e, t, o);
3756
3603
  }
3757
3604
  };
3758
- let rt;
3759
- const ke = Be({});
3760
- function ui(e) {
3761
- return rt[e] || null;
3605
+ let vt;
3606
+ const Me = Fe({});
3607
+ function Fi(e) {
3608
+ return vt[e] || null;
3762
3609
  }
3763
- function lr(e) {
3764
- return e in rt;
3610
+ function xr(e) {
3611
+ return e in vt;
3765
3612
  }
3766
- function hi(e, t) {
3767
- if (!lr(e))
3613
+ function $i(e, t) {
3614
+ if (!xr(e))
3768
3615
  return null;
3769
- const r = ui(e);
3770
- return li(r, t);
3616
+ const r = Fi(e);
3617
+ return Di(r, t);
3771
3618
  }
3772
- function di(e) {
3619
+ function Vi(e) {
3773
3620
  if (e == null)
3774
3621
  return;
3775
- const t = Ie(e);
3622
+ const t = Xe(e);
3776
3623
  for (let r = 0; r < t.length; r++) {
3777
3624
  const n = t[r];
3778
- if (lr(n))
3625
+ if (xr(n))
3779
3626
  return n;
3780
3627
  }
3781
3628
  }
3782
- function cr(e, ...t) {
3783
- delete Y[e], ke.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3629
+ function wr(e, ...t) {
3630
+ delete Y[e], Me.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
3784
3631
  }
3785
- ae(
3786
- [ke],
3632
+ fe(
3633
+ [Me],
3787
3634
  ([e]) => Object.keys(e)
3788
3635
  );
3789
- ke.subscribe((e) => rt = e);
3790
- const Ne = {};
3791
- function mi(e, t) {
3792
- Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
3636
+ Me.subscribe((e) => vt = e);
3637
+ const Ie = {};
3638
+ function Xi(e, t) {
3639
+ Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3793
3640
  }
3794
- function ur(e) {
3795
- return Ne[e];
3641
+ function Tr(e) {
3642
+ return Ie[e];
3796
3643
  }
3797
- function pi(e) {
3798
- return Ie(e).map((t) => {
3799
- const r = ur(t);
3644
+ function qi(e) {
3645
+ return Xe(e).map((t) => {
3646
+ const r = Tr(t);
3800
3647
  return [t, r ? [...r] : []];
3801
3648
  }).filter(([, t]) => t.length > 0);
3802
3649
  }
3803
- function Ke(e) {
3804
- return e == null ? !1 : Ie(e).some(
3650
+ function ft(e) {
3651
+ return e == null ? !1 : Xe(e).some(
3805
3652
  (t) => {
3806
3653
  var r;
3807
- return (r = ur(t)) == null ? void 0 : r.size;
3654
+ return (r = Tr(t)) == null ? void 0 : r.size;
3808
3655
  }
3809
3656
  );
3810
3657
  }
3811
- function gi(e, t) {
3658
+ function Wi(e, t) {
3812
3659
  return Promise.all(
3813
- t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
3814
- ).then((n) => cr(e, ...n));
3815
- }
3816
- const pe = {};
3817
- function hr(e) {
3818
- if (!Ke(e))
3819
- return e in pe ? pe[e] : Promise.resolve();
3820
- const t = pi(e);
3821
- return pe[e] = Promise.all(
3660
+ t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
3661
+ ).then((n) => wr(e, ...n));
3662
+ }
3663
+ const ke = {};
3664
+ function Mr(e) {
3665
+ if (!ft(e))
3666
+ return e in ke ? ke[e] : Promise.resolve();
3667
+ const t = qi(e);
3668
+ return ke[e] = Promise.all(
3822
3669
  t.map(
3823
- ([r, n]) => gi(r, n)
3670
+ ([r, n]) => Wi(r, n)
3824
3671
  )
3825
3672
  ).then(() => {
3826
- if (Ke(e))
3827
- return hr(e);
3828
- delete pe[e];
3829
- }), pe[e];
3673
+ if (ft(e))
3674
+ return Mr(e);
3675
+ delete ke[e];
3676
+ }), ke[e];
3830
3677
  }
3831
- const fi = {
3678
+ const Zi = {
3832
3679
  number: {
3833
3680
  scientific: { notation: "scientific" },
3834
3681
  engineering: { notation: "engineering" },
@@ -3857,159 +3704,159 @@ const fi = {
3857
3704
  timeZoneName: "short"
3858
3705
  }
3859
3706
  }
3860
- }, _i = {
3707
+ }, Ji = {
3861
3708
  fallbackLocale: null,
3862
3709
  loadingDelay: 200,
3863
- formats: fi,
3710
+ formats: Zi,
3864
3711
  warnOnMissingMessages: !0,
3865
3712
  handleMissingMessage: void 0,
3866
3713
  ignoreTag: !0
3867
- }, yi = _i;
3868
- function oe() {
3869
- return yi;
3714
+ }, Qi = Ji;
3715
+ function de() {
3716
+ return Qi;
3870
3717
  }
3871
- const Ve = Be(!1);
3872
- var vi = Object.defineProperty, ki = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
3718
+ const nt = Fe(!1);
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) => {
3873
3720
  for (var r in t || (t = {}))
3874
- Ei.call(t, r) && Et(e, r, t[r]);
3875
- if (bt)
3876
- for (var r of bt(t))
3877
- Ci.call(t, r) && Et(e, r, t[r]);
3721
+ to.call(t, r) && jt(e, r, t[r]);
3722
+ if (Lt)
3723
+ for (var r of Lt(t))
3724
+ ro.call(t, r) && jt(e, r, t[r]);
3878
3725
  return e;
3879
- }, xi = (e, t) => ki(e, bi(t));
3880
- let $e;
3881
- const He = Be(null);
3882
- function Ct(e) {
3726
+ }, io = (e, t) => Ki(e, eo(t));
3727
+ let pt;
3728
+ const De = Fe(null);
3729
+ function It(e) {
3883
3730
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3884
3731
  }
3885
- function Ie(e, t = oe().fallbackLocale) {
3886
- const r = Ct(e);
3887
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3732
+ function Xe(e, t = de().fallbackLocale) {
3733
+ const r = It(e);
3734
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3888
3735
  }
3889
- function $() {
3890
- return $e != null ? $e : void 0;
3736
+ function te() {
3737
+ return pt != null ? pt : void 0;
3891
3738
  }
3892
- He.subscribe((e) => {
3893
- $e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3739
+ De.subscribe((e) => {
3740
+ pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3894
3741
  });
3895
- const Ti = (e) => {
3896
- if (e && di(e) && Ke(e)) {
3897
- const { loadingDelay: t } = oe();
3742
+ const oo = (e) => {
3743
+ if (e && Vi(e) && ft(e)) {
3744
+ const { loadingDelay: t } = de();
3898
3745
  let r;
3899
- return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
3900
- () => Ve.set(!0),
3746
+ return typeof window != "undefined" && te() != null && t ? r = window.setTimeout(
3747
+ () => nt.set(!0),
3901
3748
  t
3902
- ) : Ve.set(!0), hr(e).then(() => {
3903
- He.set(e);
3749
+ ) : nt.set(!0), Mr(e).then(() => {
3750
+ De.set(e);
3904
3751
  }).finally(() => {
3905
- clearTimeout(r), Ve.set(!1);
3752
+ clearTimeout(r), nt.set(!1);
3906
3753
  });
3907
3754
  }
3908
- return He.set(e);
3909
- }, se = xi(Si({}, He), {
3910
- set: Ti
3911
- }), je = (e) => {
3755
+ return De.set(e);
3756
+ }, pe = io(no({}, De), {
3757
+ set: oo
3758
+ }), qe = (e) => {
3912
3759
  const t = /* @__PURE__ */ Object.create(null);
3913
3760
  return (n) => {
3914
3761
  const i = JSON.stringify(n);
3915
3762
  return i in t ? t[i] : t[i] = e(n);
3916
3763
  };
3917
3764
  };
3918
- var Mi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (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) => {
3919
3766
  for (var r in t || (t = {}))
3920
- dr.call(t, r) && St(e, r, t[r]);
3921
- if (Pe)
3922
- for (var r of Pe(t))
3923
- mr.call(t, r) && St(e, r, t[r]);
3767
+ Nr.call(t, r) && Rt(e, r, t[r]);
3768
+ if (Ge)
3769
+ for (var r of Ge(t))
3770
+ Ar.call(t, r) && Rt(e, r, t[r]);
3924
3771
  return e;
3925
- }, le = (e, t) => {
3772
+ }, ge = (e, t) => {
3926
3773
  var r = {};
3927
3774
  for (var n in e)
3928
- dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3929
- if (e != null && Pe)
3930
- for (var n of Pe(e))
3931
- t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3775
+ Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3776
+ if (e != null && Ge)
3777
+ for (var n of Ge(e))
3778
+ t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
3932
3779
  return r;
3933
3780
  };
3934
- const _e = (e, t) => {
3935
- const { formats: r } = oe();
3781
+ const we = (e, t) => {
3782
+ const { formats: r } = de();
3936
3783
  if (e in r && t in r[e])
3937
3784
  return r[e][t];
3938
3785
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3939
- }, wi = je(
3786
+ }, so = qe(
3940
3787
  (e) => {
3941
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3788
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3942
3789
  if (r == null)
3943
3790
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3944
- return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3791
+ return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
3945
3792
  }
3946
- ), Ni = je(
3793
+ ), lo = qe(
3947
3794
  (e) => {
3948
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3795
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3949
3796
  if (r == null)
3950
3797
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3951
- return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3798
+ return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
3952
3799
  }
3953
- ), Ai = je(
3800
+ ), co = qe(
3954
3801
  (e) => {
3955
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3802
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3956
3803
  if (r == null)
3957
3804
  throw new Error(
3958
3805
  '[svelte-i18n] A "locale" must be set to format time values'
3959
3806
  );
3960
- return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3807
+ return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
3961
3808
  }
3962
- ), Hi = (e = {}) => {
3809
+ ), uo = (e = {}) => {
3963
3810
  var t = e, {
3964
- locale: r = $()
3965
- } = t, n = le(t, [
3811
+ locale: r = te()
3812
+ } = t, n = ge(t, [
3966
3813
  "locale"
3967
3814
  ]);
3968
- return wi(nt({ locale: r }, n));
3969
- }, Pi = (e = {}) => {
3815
+ return so(bt({ locale: r }, n));
3816
+ }, ho = (e = {}) => {
3970
3817
  var t = e, {
3971
- locale: r = $()
3972
- } = t, n = le(t, [
3818
+ locale: r = te()
3819
+ } = t, n = ge(t, [
3973
3820
  "locale"
3974
3821
  ]);
3975
- return Ni(nt({ locale: r }, n));
3976
- }, Bi = (e = {}) => {
3822
+ return lo(bt({ locale: r }, n));
3823
+ }, mo = (e = {}) => {
3977
3824
  var t = e, {
3978
- locale: r = $()
3979
- } = t, n = le(t, [
3825
+ locale: r = te()
3826
+ } = t, n = ge(t, [
3980
3827
  "locale"
3981
3828
  ]);
3982
- return Ai(nt({ locale: r }, n));
3983
- }, Oi = je(
3829
+ return co(bt({ locale: r }, n));
3830
+ }, fo = qe(
3984
3831
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3985
- (e, t = $()) => new si(e, t, oe().formats, {
3986
- ignoreTag: oe().ignoreTag
3832
+ (e, t = te()) => new Ui(e, t, de().formats, {
3833
+ ignoreTag: de().ignoreTag
3987
3834
  })
3988
- ), zi = (e, t = {}) => {
3835
+ ), po = (e, t = {}) => {
3989
3836
  var r, n, i, o;
3990
3837
  let a = t;
3991
3838
  typeof e == "object" && (a = e, e = a.id);
3992
3839
  const {
3993
3840
  values: s,
3994
- locale: h = $(),
3995
- default: u
3841
+ locale: c = te(),
3842
+ default: l
3996
3843
  } = a;
3997
- if (h == null)
3844
+ if (c == null)
3998
3845
  throw new Error(
3999
3846
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4000
3847
  );
4001
- let c = sr(e, h);
4002
- if (!c)
4003
- c = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4004
- else if (typeof c != "string")
3848
+ let u = Sr(e, c);
3849
+ if (!u)
3850
+ u = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3851
+ else if (typeof u != "string")
4005
3852
  return console.warn(
4006
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4007
- ), c;
3853
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3854
+ ), u;
4008
3855
  if (!s)
4009
- return c;
4010
- let d = c;
3856
+ return u;
3857
+ let d = u;
4011
3858
  try {
4012
- d = Oi(c, h).format(s);
3859
+ d = fo(u, c).format(s);
4013
3860
  } catch (m) {
4014
3861
  m instanceof Error && console.warn(
4015
3862
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4017,18 +3864,18 @@ const _e = (e, t) => {
4017
3864
  );
4018
3865
  }
4019
3866
  return d;
4020
- }, Ii = (e, t) => Bi(t).format(e), ji = (e, t) => Pi(t).format(e), Li = (e, t) => Hi(t).format(e), Ri = (e, t = $()) => sr(e, t), Ui = ae([se, ke], () => zi);
4021
- ae([se], () => Ii);
4022
- ae([se], () => ji);
4023
- ae([se], () => Li);
4024
- ae([se, ke], () => Ri);
4025
- function xt(e, t) {
4026
- cr(e, t);
4027
- }
4028
- function Di(e) {
4029
- se.set(e);
4030
- }
4031
- const Tt = {
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);
3868
+ fe([pe], () => go);
3869
+ fe([pe], () => _o);
3870
+ fe([pe], () => yo);
3871
+ fe([pe, Me], () => vo);
3872
+ function Ut(e, t) {
3873
+ wr(e, t);
3874
+ }
3875
+ function ko(e) {
3876
+ pe.set(e);
3877
+ }
3878
+ const Dt = {
4032
3879
  en: {
4033
3880
  invalidUrl: "Failed to construct 'URL': Invalid URL",
4034
3881
  fetchConsentsError: "Error: Could not fetch consents.",
@@ -4600,64 +4447,64 @@ if (typeof window != "undefined") {
4600
4447
  }
4601
4448
  };
4602
4449
  };
4603
- customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingC1pQ_j2M; }).then((t) => t.G).then(({ default: t }) => {
4450
+ customElements.define = e(customElements.define), import('./GeneralAnimationLoading-lTLzF5jR-501a49e3.js').then(({ default: t }) => {
4604
4451
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4605
4452
  });
4606
4453
  }
4607
- function Gi(e) {
4454
+ function Eo(e) {
4608
4455
  let t, r;
4609
4456
  return {
4610
4457
  c() {
4611
- t = it("svg"), r = it("path"), I(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), I(t, "xmlns", "http://www.w3.org/2000/svg"), I(t, "viewBox", "0 0 512 512");
4458
+ t = it("svg"), r = it("path"), k(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), k(t, "xmlns", "http://www.w3.org/2000/svg"), k(t, "viewBox", "0 0 512 512");
4612
4459
  },
4613
4460
  m(n, i) {
4614
- N$1(n, t, i), tt(t, r);
4461
+ L(n, t, i), x(t, r);
4615
4462
  },
4616
- p: h,
4617
- i: h,
4618
- o: h,
4463
+ p: $,
4464
+ i: $,
4465
+ o: $,
4619
4466
  d(n) {
4620
- n && x(t);
4467
+ n && O(t);
4621
4468
  }
4622
4469
  };
4623
4470
  }
4624
- class Fi extends yt$1 {
4471
+ class Co extends ar {
4625
4472
  constructor(t) {
4626
- super(), bt$1(this, t, null, Gi, Q, {});
4473
+ super(), nr(this, t, null, Eo, _t, {});
4627
4474
  }
4628
4475
  }
4629
- customElements.define("circle-exclamation-icon", gt$1(Fi, {}, [], [], !0));
4630
- function Vi(e) {
4631
- et(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}');
4632
4479
  }
4633
- function Mt(e, t, r) {
4480
+ function Gt(e, t, r) {
4634
4481
  const n = e.slice();
4635
4482
  return n[65] = t[r], n;
4636
4483
  }
4637
- function wt(e, t, r) {
4484
+ function Ft(e, t, r) {
4638
4485
  const n = e.slice();
4639
4486
  return n[62] = t[r], n[63] = t, n[64] = r, n;
4640
4487
  }
4641
- function Nt(e, t, r) {
4488
+ function $t(e, t, r) {
4642
4489
  const n = e.slice();
4643
4490
  return n[65] = t[r], n;
4644
4491
  }
4645
- function Xi(e) {
4646
- let t, r, n = Gt(
4492
+ function xo(e) {
4493
+ let t, r, n = le(
4647
4494
  /*playerConsents*/
4648
4495
  e[9]
4649
4496
  ), i = [];
4650
4497
  for (let o = 0; o < n.length; o += 1)
4651
- i[o] = At(Mt(e, n, o));
4498
+ i[o] = Vt(Gt(e, n, o));
4652
4499
  return {
4653
4500
  c() {
4654
- t = E("div"), r = E("form");
4501
+ t = T("div"), r = T("form");
4655
4502
  for (let o = 0; o < i.length; o += 1)
4656
4503
  i[o].c();
4657
- I(r, "class", "checkbox svelte-etk3ty"), I(t, "class", "legacyStyle");
4504
+ k(r, "class", "checkbox svelte-etk3ty"), k(t, "class", "legacyStyle");
4658
4505
  },
4659
4506
  m(o, a) {
4660
- N$1(o, t, a), tt(t, r);
4507
+ L(o, t, a), x(t, r);
4661
4508
  for (let s = 0; s < i.length; s += 1)
4662
4509
  i[s] && i[s].m(r, null);
4663
4510
  e[32](r);
@@ -4665,14 +4512,14 @@ function Xi(e) {
4665
4512
  p(o, a) {
4666
4513
  if (a[0] & /*playerConsents, translate, handleInput*/
4667
4514
  1180160) {
4668
- n = Gt(
4515
+ n = le(
4669
4516
  /*playerConsents*/
4670
4517
  o[9]
4671
4518
  );
4672
4519
  let s;
4673
4520
  for (s = 0; s < n.length; s += 1) {
4674
- const h = Mt(o, n, s);
4675
- i[s] ? i[s].p(h, a) : (i[s] = At(h), i[s].c(), i[s].m(r, null));
4521
+ const c = Gt(o, n, s);
4522
+ i[s] ? i[s].p(c, a) : (i[s] = Vt(c), i[s].c(), i[s].m(r, null));
4676
4523
  }
4677
4524
  for (; s < i.length; s += 1)
4678
4525
  i[s].d(1);
@@ -4680,11 +4527,11 @@ function Xi(e) {
4680
4527
  }
4681
4528
  },
4682
4529
  d(o) {
4683
- o && x(t), Ot$1(i, o), e[32](null);
4530
+ o && O(t), yt(i, o), e[32](null);
4684
4531
  }
4685
4532
  };
4686
4533
  }
4687
- function qi(e) {
4534
+ function wo(e) {
4688
4535
  let t = (
4689
4536
  /*$_*/
4690
4537
  e[16]("title") || /*$_*/
@@ -4692,49 +4539,49 @@ function qi(e) {
4692
4539
  ), r, n, i, o = (
4693
4540
  /*$_*/
4694
4541
  (e[16]("saveButtonContent") || "Save Consents") + ""
4695
- ), a, s, h, u, c, d = t && Ht(e), m = Gt(
4542
+ ), a, s, c, l, u, d = t && Xt(e), m = le(
4696
4543
  /*consentsCategories*/
4697
4544
  e[8]
4698
4545
  ), y = [];
4699
- for (let g = 0; g < m.length; g += 1)
4700
- y[g] = jt(wt(e, m, g));
4701
- let f = (
4546
+ for (let p = 0; p < m.length; p += 1)
4547
+ y[p] = Yt(Ft(e, m, p));
4548
+ let g = (
4702
4549
  /*errorMessage*/
4703
- e[6] && Lt(e)
4550
+ e[6] && Kt(e)
4704
4551
  );
4705
4552
  return {
4706
4553
  c() {
4707
- d && d.c(), r = Mt$1();
4708
- for (let g = 0; g < y.length; g += 1)
4709
- y[g].c();
4710
- n = Mt$1(), i = E("button"), s = Mt$1(), f && f.c(), h = Pt$1(), I(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
4554
+ d && d.c(), r = F();
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*/
4711
4558
  e[14];
4712
4559
  },
4713
- m(g, S) {
4714
- d && d.m(g, S), N$1(g, r, S);
4560
+ m(p, S) {
4561
+ d && d.m(p, S), L(p, r, S);
4715
4562
  for (let _ = 0; _ < y.length; _ += 1)
4716
- y[_] && y[_].m(g, S);
4717
- N$1(g, n, S), N$1(g, i, S), i.innerHTML = o, N$1(g, s, S), f && f.m(g, S), N$1(g, h, S), u || (c = Bt$1(
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(
4718
4565
  i,
4719
4566
  "click",
4720
4567
  /*saveChanges*/
4721
4568
  e[18]
4722
- ), u = !0);
4569
+ ), l = !0);
4723
4570
  },
4724
- p(g, S) {
4571
+ p(p, S) {
4725
4572
  if (S[0] & /*$_*/
4726
4573
  65536 && (t = /*$_*/
4727
- g[16]("title") || /*$_*/
4728
- g[16]("description")), t ? d ? d.p(g, S) : (d = Ht(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
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*/
4729
4576
  1719056) {
4730
- m = Gt(
4577
+ m = le(
4731
4578
  /*consentsCategories*/
4732
- g[8]
4579
+ p[8]
4733
4580
  );
4734
4581
  let _;
4735
4582
  for (_ = 0; _ < m.length; _ += 1) {
4736
- const v = wt(g, m, _);
4737
- y[_] ? y[_].p(v, S) : (y[_] = jt(v), y[_].c(), y[_].m(n.parentNode, n));
4583
+ const v = Ft(p, m, _);
4584
+ y[_] ? y[_].p(v, S) : (y[_] = Yt(v), y[_].c(), y[_].m(n.parentNode, n));
4738
4585
  }
4739
4586
  for (; _ < y.length; _ += 1)
4740
4587
  y[_].d(1);
@@ -4742,56 +4589,56 @@ function qi(e) {
4742
4589
  }
4743
4590
  S[0] & /*$_*/
4744
4591
  65536 && o !== (o = /*$_*/
4745
- (g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4592
+ (p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4746
4593
  16384 && a !== (a = !/*isValid*/
4747
- g[14]) && (i.disabled = a), /*errorMessage*/
4748
- g[6] ? f ? f.p(g, S) : (f = Lt(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = 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);
4749
4596
  },
4750
- d(g) {
4751
- g && (x(r), x(n), x(i), x(s), x(h)), d && d.d(g), Ot$1(y, g), f && f.d(g), u = !1, c();
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();
4752
4599
  }
4753
4600
  };
4754
4601
  }
4755
- function Wi(e) {
4602
+ function To(e) {
4756
4603
  let t, r, n;
4757
4604
  return {
4758
4605
  c() {
4759
- t = E("div"), r = E("strong"), n = z(
4606
+ t = T("div"), r = T("strong"), n = ee(
4760
4607
  /*fatalError*/
4761
4608
  e[7]
4762
- ), I(r, "class", "ErrorMessage svelte-etk3ty"), I(t, "class", "ContainerCenter svelte-etk3ty");
4609
+ ), k(r, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ContainerCenter svelte-etk3ty");
4763
4610
  },
4764
4611
  m(i, o) {
4765
- N$1(i, t, o), tt(t, r), tt(r, n);
4612
+ L(i, t, o), x(t, r), x(r, n);
4766
4613
  },
4767
4614
  p(i, o) {
4768
4615
  o[0] & /*fatalError*/
4769
- 128 && Rt(
4616
+ 128 && Te(
4770
4617
  n,
4771
4618
  /*fatalError*/
4772
4619
  i[7]
4773
4620
  );
4774
4621
  },
4775
4622
  d(i) {
4776
- i && x(t);
4623
+ i && O(t);
4777
4624
  }
4778
4625
  };
4779
4626
  }
4780
- function Zi(e) {
4627
+ function Mo(e) {
4781
4628
  let t;
4782
4629
  return {
4783
4630
  c() {
4784
- t = E("general-animation-loading"), Ht$1(
4631
+ t = T("general-animation-loading"), K(
4785
4632
  t,
4786
4633
  "clientstyling",
4787
4634
  /*clientstyling*/
4788
4635
  e[1]
4789
- ), Ht$1(
4636
+ ), K(
4790
4637
  t,
4791
4638
  "clientstylingurl",
4792
4639
  /*clientstylingurl*/
4793
4640
  e[2]
4794
- ), Ht$1(
4641
+ ), K(
4795
4642
  t,
4796
4643
  "mbsource",
4797
4644
  /*mbsource*/
@@ -4799,23 +4646,23 @@ function Zi(e) {
4799
4646
  );
4800
4647
  },
4801
4648
  m(r, n) {
4802
- N$1(r, t, n);
4649
+ L(r, t, n);
4803
4650
  },
4804
4651
  p(r, n) {
4805
4652
  n[0] & /*clientstyling*/
4806
- 2 && Ht$1(
4653
+ 2 && K(
4807
4654
  t,
4808
4655
  "clientstyling",
4809
4656
  /*clientstyling*/
4810
4657
  r[1]
4811
4658
  ), n[0] & /*clientstylingurl*/
4812
- 4 && Ht$1(
4659
+ 4 && K(
4813
4660
  t,
4814
4661
  "clientstylingurl",
4815
4662
  /*clientstylingurl*/
4816
4663
  r[2]
4817
4664
  ), n[0] & /*mbsource*/
4818
- 8 && Ht$1(
4665
+ 8 && K(
4819
4666
  t,
4820
4667
  "mbsource",
4821
4668
  /*mbsource*/
@@ -4823,12 +4670,12 @@ function Zi(e) {
4823
4670
  );
4824
4671
  },
4825
4672
  d(r) {
4826
- r && x(t);
4673
+ r && O(t);
4827
4674
  }
4828
4675
  };
4829
4676
  }
4830
- function At(e) {
4831
- let t, r, n, i, o, a, s, h, u = (
4677
+ function Vt(e) {
4678
+ let t, r, n, i, o, a, s, c, l = (
4832
4679
  /*translate*/
4833
4680
  e[17](
4834
4681
  `${/*consent*/
@@ -4836,10 +4683,10 @@ function At(e) {
4836
4683
  /*consent*/
4837
4684
  e[65].friendlyName
4838
4685
  ) + ""
4839
- ), c = (
4686
+ ), u = (
4840
4687
  /*consent*/
4841
4688
  e[65].mustAccept ? " *" : ""
4842
- ), d, m, y, f, g, S, _, v, C;
4689
+ ), d, m, y, g, p, S, _, v, C;
4843
4690
  function H(...E) {
4844
4691
  return (
4845
4692
  /*input_handler_1*/
@@ -4852,129 +4699,129 @@ function At(e) {
4852
4699
  }
4853
4700
  return {
4854
4701
  c() {
4855
- t = E("div"), r = E("input"), o = Mt$1(), a = E("label"), s = E("div"), h = new Dt(!1), d = z(c), y = Mt$1(), f = E("small"), S = Mt$1(), I(r, "class", "checkbox__input svelte-etk3ty"), I(r, "type", "checkbox"), r.checked = n = /*consent*/
4856
- e[65].status === "1", I(r, "id", i = `${/*consent*/
4857
- e[65].tagCode}__input`), h.a = d, I(s, "class", "checkbox__label-text svelte-etk3ty"), I(a, "class", "checkbox__label svelte-etk3ty"), I(a, "for", m = `${/*consent*/
4858
- e[65].tagCode}__input`), I(f, "class", "checkbox__error-message svelte-etk3ty"), I(f, "id", g = "checkBoxError__" + /*consent*/
4859
- e[65].tagCode), I(t, "class", _ = "checkbox__wrapper " + /*consent*/
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*/
4860
4707
  e[65].tagCode + "__input svelte-etk3ty");
4861
4708
  },
4862
- m(E, O) {
4863
- N$1(E, t, O), tt(t, r), tt(t, o), tt(t, a), tt(a, s), h.m(u, s), tt(s, d), tt(t, y), tt(t, f), tt(t, S), v || (C = Bt$1(r, "input", H), v = !0);
4709
+ m(E, z) {
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);
4864
4711
  },
4865
- p(E, O) {
4866
- e = E, O[0] & /*playerConsents*/
4712
+ p(E, z) {
4713
+ e = E, z[0] & /*playerConsents*/
4867
4714
  512 && n !== (n = /*consent*/
4868
- e[65].status === "1") && (r.checked = n), O[0] & /*playerConsents*/
4715
+ e[65].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4869
4716
  512 && i !== (i = `${/*consent*/
4870
- e[65].tagCode}__input`) && I(r, "id", i), O[0] & /*playerConsents*/
4871
- 512 && u !== (u = /*translate*/
4717
+ e[65].tagCode}__input`) && k(r, "id", i), z[0] & /*playerConsents*/
4718
+ 512 && l !== (l = /*translate*/
4872
4719
  e[17](
4873
4720
  `${/*consent*/
4874
4721
  e[65].tagCode}__description`,
4875
4722
  /*consent*/
4876
4723
  e[65].friendlyName
4877
- ) + "") && h.p(u), O[0] & /*playerConsents*/
4878
- 512 && c !== (c = /*consent*/
4879
- e[65].mustAccept ? " *" : "") && Rt(d, c), O[0] & /*playerConsents*/
4724
+ ) + "") && c.p(l), z[0] & /*playerConsents*/
4725
+ 512 && u !== (u = /*consent*/
4726
+ e[65].mustAccept ? " *" : "") && Te(d, u), z[0] & /*playerConsents*/
4880
4727
  512 && m !== (m = `${/*consent*/
4881
- e[65].tagCode}__input`) && I(a, "for", m), O[0] & /*playerConsents*/
4882
- 512 && g !== (g = "checkBoxError__" + /*consent*/
4883
- e[65].tagCode) && I(f, "id", g), O[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*/
4884
4731
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4885
- e[65].tagCode + "__input svelte-etk3ty") && I(t, "class", _);
4732
+ e[65].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
4886
4733
  },
4887
4734
  d(E) {
4888
- E && x(t), v = !1, C();
4735
+ E && O(t), v = !1, C();
4889
4736
  }
4890
4737
  };
4891
4738
  }
4892
- function Ht(e) {
4739
+ function Xt(e) {
4893
4740
  let t, r = (
4894
4741
  /*$_*/
4895
4742
  e[16]("title")
4896
4743
  ), n, i = (
4897
4744
  /*$_*/
4898
4745
  e[16]("description")
4899
- ), o = r && Pt(e), a = i && Bt(e);
4746
+ ), o = r && qt(e), a = i && Wt(e);
4900
4747
  return {
4901
4748
  c() {
4902
- t = E("div"), o && o.c(), n = Mt$1(), a && a.c(), I(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4749
+ t = T("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4903
4750
  },
4904
- m(s, h) {
4905
- N$1(s, t, h), o && o.m(t, null), tt(t, n), a && a.m(t, null);
4751
+ m(s, c) {
4752
+ L(s, t, c), o && o.m(t, null), x(t, n), a && a.m(t, null);
4906
4753
  },
4907
- p(s, h) {
4908
- h[0] & /*$_*/
4754
+ p(s, c) {
4755
+ c[0] & /*$_*/
4909
4756
  65536 && (r = /*$_*/
4910
- s[16]("title")), r ? o ? o.p(s, h) : (o = Pt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4757
+ s[16]("title")), r ? o ? o.p(s, c) : (o = qt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), c[0] & /*$_*/
4911
4758
  65536 && (i = /*$_*/
4912
- s[16]("description")), i ? a ? a.p(s, h) : (a = Bt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4759
+ s[16]("description")), i ? a ? a.p(s, c) : (a = Wt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4913
4760
  },
4914
4761
  d(s) {
4915
- s && x(t), o && o.d(), a && a.d();
4762
+ s && O(t), o && o.d(), a && a.d();
4916
4763
  }
4917
4764
  };
4918
4765
  }
4919
- function Pt(e) {
4766
+ function qt(e) {
4920
4767
  let t, r = (
4921
4768
  /*$_*/
4922
4769
  e[16]("title") + ""
4923
4770
  ), n;
4924
4771
  return {
4925
4772
  c() {
4926
- t = E("h2"), n = z(r), I(t, "class", "PlayerConsentsTitle");
4773
+ t = T("h2"), n = ee(r), k(t, "class", "PlayerConsentsTitle");
4927
4774
  },
4928
4775
  m(i, o) {
4929
- N$1(i, t, o), tt(t, n);
4776
+ L(i, t, o), x(t, n);
4930
4777
  },
4931
4778
  p(i, o) {
4932
4779
  o[0] & /*$_*/
4933
4780
  65536 && r !== (r = /*$_*/
4934
- i[16]("title") + "") && Rt(n, r);
4781
+ i[16]("title") + "") && Te(n, r);
4935
4782
  },
4936
4783
  d(i) {
4937
- i && x(t);
4784
+ i && O(t);
4938
4785
  }
4939
4786
  };
4940
4787
  }
4941
- function Bt(e) {
4788
+ function Wt(e) {
4942
4789
  let t, r = (
4943
4790
  /*$_*/
4944
4791
  e[16]("description") + ""
4945
4792
  ), n;
4946
4793
  return {
4947
4794
  c() {
4948
- t = E("p"), n = z(r), I(t, "class", "PlayerConsentsDescription");
4795
+ t = T("p"), n = ee(r), k(t, "class", "PlayerConsentsDescription");
4949
4796
  },
4950
4797
  m(i, o) {
4951
- N$1(i, t, o), tt(t, n);
4798
+ L(i, t, o), x(t, n);
4952
4799
  },
4953
4800
  p(i, o) {
4954
4801
  o[0] & /*$_*/
4955
4802
  65536 && r !== (r = /*$_*/
4956
- i[16]("description") + "") && Rt(n, r);
4803
+ i[16]("description") + "") && Te(n, r);
4957
4804
  },
4958
4805
  d(i) {
4959
- i && x(t);
4806
+ i && O(t);
4960
4807
  }
4961
4808
  };
4962
4809
  }
4963
- function Ot(e) {
4810
+ function Zt(e) {
4964
4811
  let t;
4965
4812
  return {
4966
4813
  c() {
4967
- t = E("sup"), t.textContent = "*", I(t, "class", "ConsentRequired svelte-etk3ty");
4814
+ t = T("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
4968
4815
  },
4969
4816
  m(r, n) {
4970
- N$1(r, t, n);
4817
+ L(r, t, n);
4971
4818
  },
4972
4819
  d(r) {
4973
- r && x(t);
4820
+ r && O(t);
4974
4821
  }
4975
4822
  };
4976
4823
  }
4977
- function zt(e) {
4824
+ function Jt(e) {
4978
4825
  let t, r = (
4979
4826
  /*translate*/
4980
4827
  e[17](
@@ -4986,10 +4833,10 @@ function zt(e) {
4986
4833
  );
4987
4834
  return {
4988
4835
  c() {
4989
- t = E("p"), I(t, "class", "ConsentDescription svelte-etk3ty");
4836
+ t = T("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
4990
4837
  },
4991
4838
  m(n, i) {
4992
- N$1(n, t, i), t.innerHTML = r;
4839
+ L(n, t, i), t.innerHTML = r;
4993
4840
  },
4994
4841
  p(n, i) {
4995
4842
  i[0] & /*playerConsents, consentsCategories*/
@@ -5002,11 +4849,11 @@ function zt(e) {
5002
4849
  ) + "") && (t.innerHTML = r);
5003
4850
  },
5004
4851
  d(n) {
5005
- n && x(t);
4852
+ n && O(t);
5006
4853
  }
5007
4854
  };
5008
4855
  }
5009
- function It(e) {
4856
+ function Qt(e) {
5010
4857
  let t, r, n, i, o = (
5011
4858
  /*translate*/
5012
4859
  e[17](
@@ -5015,12 +4862,12 @@ function It(e) {
5015
4862
  /*consent*/
5016
4863
  e[65].friendlyName
5017
4864
  ) + ""
5018
- ), a, s, h, u, c, d, m, y, f, g, S, _ = (
4865
+ ), a, s, c, l, u, d, m, y, g, p, S, _ = (
5019
4866
  /*consent*/
5020
- e[65].mustAccept === !0 && Ot()
4867
+ e[65].mustAccept === !0 && Zt()
5021
4868
  ), v = (
5022
4869
  /*displayconsentdescription*/
5023
- e[4] === "true" && zt(e)
4870
+ e[4] === "true" && Jt(e)
5024
4871
  );
5025
4872
  function C(...H) {
5026
4873
  return (
@@ -5034,19 +4881,19 @@ function It(e) {
5034
4881
  }
5035
4882
  return {
5036
4883
  c() {
5037
- t = E("div"), r = E("div"), n = E("h4"), i = new Dt(!1), a = Mt$1(), _ && _.c(), s = Mt$1(), v && v.c(), h = Mt$1(), u = E("label"), c = E("input"), y = Mt$1(), f = E("span"), i.a = a, I(n, "class", "ConsentName svelte-etk3ty"), I(r, "class", "ConsentContent"), I(c, "type", "checkbox"), c.disabled = d = /*consent*/
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*/
5038
4885
  e[65].mustAccept === !0 && /*initialConsentsState*/
5039
4886
  e[12][
5040
4887
  /*consent*/
5041
4888
  e[65].tagCode
5042
- ] === !0, c.checked = m = /*consentsState*/
4889
+ ] === !0, u.checked = m = /*consentsState*/
5043
4890
  e[13][
5044
4891
  /*consent*/
5045
4892
  e[65].tagCode
5046
- ], I(c, "class", "svelte-etk3ty"), I(f, "class", "Slider Round svelte-etk3ty"), I(u, "class", "ToggleSwitch svelte-etk3ty"), I(t, "class", "ConsentItem svelte-etk3ty");
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");
5047
4894
  },
5048
4895
  m(H, E) {
5049
- N$1(H, t, E), tt(t, r), tt(r, n), i.m(o, n), tt(n, a), _ && _.m(n, null), tt(r, s), v && v.m(r, null), tt(t, h), tt(t, u), tt(u, c), tt(u, y), tt(u, f), g || (S = Bt$1(c, "input", C), g = !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);
5050
4897
  },
5051
4898
  p(H, E) {
5052
4899
  e = H, E[0] & /*playerConsents, consentsCategories*/
@@ -5057,26 +4904,26 @@ function It(e) {
5057
4904
  /*consent*/
5058
4905
  e[65].friendlyName
5059
4906
  ) + "") && i.p(o), /*consent*/
5060
- e[65].mustAccept === !0 ? _ || (_ = Ot(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
5061
- e[4] === "true" ? v ? v.p(e, E) : (v = zt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4907
+ e[65].mustAccept === !0 ? _ || (_ = Zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
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*/
5062
4909
  4864 && d !== (d = /*consent*/
5063
4910
  e[65].mustAccept === !0 && /*initialConsentsState*/
5064
4911
  e[12][
5065
4912
  /*consent*/
5066
4913
  e[65].tagCode
5067
- ] === !0) && (c.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4914
+ ] === !0) && (u.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
5068
4915
  8960 && m !== (m = /*consentsState*/
5069
4916
  e[13][
5070
4917
  /*consent*/
5071
4918
  e[65].tagCode
5072
- ]) && (c.checked = m);
4919
+ ]) && (u.checked = m);
5073
4920
  },
5074
4921
  d(H) {
5075
- H && x(t), _ && _.d(), v && v.d(), g = !1, S();
4922
+ H && O(t), _ && _.d(), v && v.d(), p = !1, S();
5076
4923
  }
5077
4924
  };
5078
4925
  }
5079
- function jt(e) {
4926
+ function Yt(e) {
5080
4927
  let t, r, n, i = (
5081
4928
  /*translate*/
5082
4929
  e[17](
@@ -5085,15 +4932,15 @@ function jt(e) {
5085
4932
  /*category*/
5086
4933
  e[62].friendlyName
5087
4934
  ) + ""
5088
- ), o, a, s, h, u, c, d, m, y;
5089
- function f() {
4935
+ ), o, a, s, c, l, u, d, m, y;
4936
+ function g() {
5090
4937
  e[27].call(
5091
4938
  s,
5092
4939
  /*category*/
5093
4940
  e[62]
5094
4941
  );
5095
4942
  }
5096
- function g() {
4943
+ function p() {
5097
4944
  return (
5098
4945
  /*change_handler*/
5099
4946
  e[28](
@@ -5102,7 +4949,7 @@ function jt(e) {
5102
4949
  )
5103
4950
  );
5104
4951
  }
5105
- function S$1(...C) {
4952
+ function S(...C) {
5106
4953
  return (
5107
4954
  /*func*/
5108
4955
  e[29](
@@ -5112,30 +4959,30 @@ function jt(e) {
5112
4959
  )
5113
4960
  );
5114
4961
  }
5115
- let _ = Gt(
4962
+ let _ = le(
5116
4963
  /*playerConsents*/
5117
- e[9].filter(S$1)
4964
+ e[9].filter(S)
5118
4965
  ), v = [];
5119
4966
  for (let C = 0; C < _.length; C += 1)
5120
- v[C] = It(Nt(e, _, C));
4967
+ v[C] = Qt($t(e, _, C));
5121
4968
  return {
5122
4969
  c() {
5123
- t = E("div"), r = E("div"), n = E("h3"), o = Mt$1(), a = E("label"), s = E("input"), h = Mt$1(), u = E("span"), c = Mt$1(), d = E("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");
5124
4971
  for (let C = 0; C < v.length; C += 1)
5125
4972
  v[C].c();
5126
- I(s, "type", "checkbox"), I(s, "class", "svelte-etk3ty"), I(u, "class", "Slider Round svelte-etk3ty"), I(a, "class", "ToggleSwitch Big svelte-etk3ty"), I(r, "class", "AccordionHeader svelte-etk3ty"), I(d, "class", "AccordionContent svelte-etk3ty"), I(t, "class", "AccordionItem svelte-etk3ty");
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");
5127
4974
  },
5128
4975
  m(C, H) {
5129
- N$1(C, t, H), tt(t, r), tt(r, n), n.innerHTML = i, tt(r, o), tt(r, a), tt(a, s), s.checked = /*categoryToggle*/
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*/
5130
4977
  e[11][
5131
4978
  /*category*/
5132
4979
  e[62].categoryTagCode
5133
- ], tt(a, h), tt(a, u), tt(t, c), tt(t, d);
4980
+ ], x(a, c), x(a, l), x(t, u), x(t, d);
5134
4981
  for (let E = 0; E < v.length; E += 1)
5135
4982
  v[E] && v[E].m(d, null);
5136
4983
  m || (y = [
5137
- Bt$1(s, "change", f),
5138
- Bt$1(s, "change", g)
4984
+ Ce(s, "change", g),
4985
+ Ce(s, "change", p)
5139
4986
  ], m = !0);
5140
4987
  },
5141
4988
  p(C, H) {
@@ -5153,14 +5000,14 @@ function jt(e) {
5153
5000
  e[62].categoryTagCode
5154
5001
  ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription*/
5155
5002
  1192720) {
5156
- _ = Gt(
5003
+ _ = le(
5157
5004
  /*playerConsents*/
5158
- e[9].filter(S$1)
5005
+ e[9].filter(S)
5159
5006
  );
5160
5007
  let E;
5161
5008
  for (E = 0; E < _.length; E += 1) {
5162
- const O = Nt(e, _, E);
5163
- v[E] ? v[E].p(O, H) : (v[E] = It(O), v[E].c(), v[E].m(d, null));
5009
+ const z = $t(e, _, E);
5010
+ v[E] ? v[E].p(z, H) : (v[E] = Qt(z), v[E].c(), v[E].m(d, null));
5164
5011
  }
5165
5012
  for (; E < v.length; E += 1)
5166
5013
  v[E].d(1);
@@ -5168,261 +5015,261 @@ function jt(e) {
5168
5015
  }
5169
5016
  },
5170
5017
  d(C) {
5171
- C && x(t), Ot$1(v, C), m = !1, S(y);
5018
+ C && O(t), yt(v, C), m = !1, me(y);
5172
5019
  }
5173
5020
  };
5174
5021
  }
5175
- function Lt(e) {
5022
+ function Kt(e) {
5176
5023
  let t, r, n, i, o;
5177
5024
  return {
5178
5025
  c() {
5179
- t = E("div"), r = E("circle-exclamation-icon"), n = Mt$1(), i = E("strong"), o = z(
5026
+ t = T("div"), r = T("circle-exclamation-icon"), n = F(), i = T("strong"), o = ee(
5180
5027
  /*errorMessage*/
5181
5028
  e[6]
5182
- ), Ht$1(r, "class", "svelte-etk3ty"), I(i, "class", "ErrorMessage svelte-etk3ty"), I(t, "class", "ConsentErrorContainer svelte-etk3ty");
5029
+ ), K(r, "class", "svelte-etk3ty"), k(i, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ConsentErrorContainer svelte-etk3ty");
5183
5030
  },
5184
5031
  m(a, s) {
5185
- N$1(a, t, s), tt(t, r), tt(t, n), tt(t, i), tt(i, o);
5032
+ L(a, t, s), x(t, r), x(t, n), x(t, i), x(i, o);
5186
5033
  },
5187
5034
  p(a, s) {
5188
5035
  s[0] & /*errorMessage*/
5189
- 64 && Rt(
5036
+ 64 && Te(
5190
5037
  o,
5191
5038
  /*errorMessage*/
5192
5039
  a[6]
5193
5040
  );
5194
5041
  },
5195
5042
  d(a) {
5196
- a && x(t);
5043
+ a && O(t);
5197
5044
  }
5198
5045
  };
5199
5046
  }
5200
- function Ji(e) {
5047
+ function No(e) {
5201
5048
  let t, r;
5202
5049
  function n(a, s) {
5203
5050
  if (
5204
5051
  /*isLoading*/
5205
5052
  a[10]
5206
5053
  )
5207
- return Zi;
5054
+ return Mo;
5208
5055
  if (
5209
5056
  /*fatalError*/
5210
5057
  a[7]
5211
5058
  )
5212
- return Wi;
5059
+ return To;
5213
5060
  if (
5214
5061
  /*session*/
5215
5062
  a[0]
5216
5063
  )
5217
- return qi;
5064
+ return wo;
5218
5065
  if (!/*session*/
5219
5066
  a[0])
5220
- return Xi;
5067
+ return xo;
5221
5068
  }
5222
5069
  let i = n(e), o = i && i(e);
5223
5070
  return {
5224
5071
  c() {
5225
- t = E("div"), r = E("div"), o && o.c(), I(r, "class", "ConsentsContainer svelte-etk3ty"), I(t, "class", kt$1("") + " svelte-etk3ty");
5072
+ t = T("div"), r = T("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
5226
5073
  },
5227
5074
  m(a, s) {
5228
- N$1(a, t, s), tt(t, r), o && o.m(r, null), e[33](r);
5075
+ L(a, t, s), x(t, r), o && o.m(r, null), e[33](r);
5229
5076
  },
5230
5077
  p(a, s) {
5231
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)));
5232
5079
  },
5233
- i: h,
5234
- o: h,
5080
+ i: $,
5081
+ o: $,
5235
5082
  d(a) {
5236
- a && x(t), o && o.d(), e[33](null);
5083
+ a && O(t), o && o.d(), e[33](null);
5237
5084
  }
5238
5085
  };
5239
5086
  }
5240
- function Qi(e, t, r) {
5087
+ function Ao(e, t, r) {
5241
5088
  let n;
5242
- jt$1(e, Ui, (l) => r(16, n = l));
5243
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: c = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, f, g, S = !1, _ = !1, v$1 = "", C = "", H = "", E = "", O = [], J = [], z = [], ce = !0, be = !0, F = {}, Ee = {}, Q = {}, U = {}, ue, Ce, 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 = {
5244
5091
  none: { key: "0", value: "None" },
5245
5092
  accepted: { key: "1", value: "Accepted" },
5246
5093
  expired: { key: "2", value: "Expired" },
5247
5094
  denied: { key: "3", value: "Denied" },
5248
5095
  suspended: { key: "4", value: "Suspended" }
5249
- }, Se = !1;
5250
- Object.keys(Tt).forEach((l) => {
5251
- xt(l, Tt[l]);
5096
+ }, Pe = !1;
5097
+ Object.keys(Dt).forEach((h) => {
5098
+ Ut(h, Dt[h]);
5252
5099
  });
5253
- const pr = () => {
5254
- Di(c);
5255
- }, gr = () => {
5256
- let l = new URL(m);
5257
- fetch(l.href).then((p) => p.json()).then((p) => {
5258
- Object.keys(p).forEach((x) => {
5259
- xt(x, p[x]);
5100
+ const Pr = () => {
5101
+ ko(u);
5102
+ }, Br = () => {
5103
+ let h = new URL(m);
5104
+ fetch(h.href).then((f) => f.json()).then((f) => {
5105
+ Object.keys(f).forEach((w) => {
5106
+ Ut(w, f[w]);
5260
5107
  });
5261
- }).catch((p) => {
5262
- console.log(p);
5108
+ }).catch((f) => {
5109
+ console.log(f);
5263
5110
  });
5264
- }, fr = (l, p) => {
5265
- const x = n(l);
5266
- return x !== l ? x : p;
5267
- }, _r = () => {
5268
- i && (v$1 = i, _ = !0), o && (C = o);
5269
- }, xe = (l, p = !1) => {
5270
- p ? r(7, E = l) : (Cr(), r(6, H = l));
5271
- }, he = (l, p, x, k = !1) => me(this, null, function* () {
5111
+ }, Or = (h, f) => {
5112
+ const w = n(h);
5113
+ return w !== h ? w : f;
5114
+ }, zr = () => {
5115
+ i && (v = i, _ = !0), o && (C = o);
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* () {
5272
5119
  try {
5273
- const M = yield fetch(l, x);
5120
+ const M = yield fetch(h, w);
5274
5121
  if (!M.ok)
5275
- throw new Error(n(p));
5122
+ throw new Error(n(f));
5276
5123
  const I = yield M.json();
5277
- return _ ? I : I.filter((V) => V.showOnRegister === !0);
5124
+ return _ ? I : I.filter((q) => q.showOnRegister === !0);
5278
5125
  } catch (M) {
5279
- throw xe(
5280
- M instanceof TypeError ? n(p) : M.message,
5281
- k
5126
+ throw Be(
5127
+ M instanceof TypeError ? n(f) : M.message,
5128
+ b
5282
5129
  ), M;
5283
5130
  }
5284
- }), yr = () => me(this, null, function* () {
5131
+ }), Lr = () => re(this, null, function* () {
5285
5132
  try {
5286
- let l = [], p = [];
5287
- if (_ ? [l, p] = yield it() : l = yield it(), r(10, ce = !1), J = [...l], r(8, O = kr(J).sort((x, k) => x.categoryTagCode.localeCompare(k.categoryTagCode))), r(11, F = br(O)), Ee = Z({}, F), r(9, z = [...p]), J.forEach((x) => {
5288
- let k = z.find((M) => M.tagCode === x.tagCode);
5289
- k || (k = ct(Z({}, x), {
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), {
5290
5137
  status: R.denied.value
5291
- }), z.push(k)), k.description = x.description, k.orderNumber = x.orderNumber;
5138
+ }), j.push(b)), b.description = w.description, b.orderNumber = w.orderNumber;
5292
5139
  }), y === "true") {
5293
- if (r(9, z = z.filter((x) => x.status === R.expired.value)), z.length !== 0)
5140
+ if (r(9, j = j.filter((w) => w.status === R.expired.value)), j.length !== 0)
5294
5141
  return;
5295
- xe(n("wrongModalConfig"), !0);
5142
+ Be(n("wrongModalConfig"), !0);
5296
5143
  }
5297
- Er();
5298
- } catch (l) {
5299
- throw r(10, ce = !1), xe(
5300
- l instanceof TypeError ? n("invalidUrl") : l.message,
5144
+ Ur();
5145
+ } catch (h) {
5146
+ throw r(10, _e = !1), Be(
5147
+ h instanceof TypeError ? n("invalidUrl") : h.message,
5301
5148
  !0
5302
- ), l;
5149
+ ), h;
5303
5150
  }
5304
- }), it = () => me(this, null, function* () {
5305
- const l = new URL(`${a}/api/v1/gm/consents`);
5306
- if (l.searchParams.append("Status", "Active"), !_)
5307
- return yield he(l.href, "fetchConsentsError", { method: "GET" }, !0);
5308
- const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5151
+ }), kt = () => re(this, null, function* () {
5152
+ const h = new URL(`${a}/api/v1/gm/consents`);
5153
+ if (h.searchParams.append("Status", "Active"), !_)
5154
+ return yield ve(h.href, "fetchConsentsError", { method: "GET" }, !0);
5155
+ const f = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5309
5156
  return yield Promise.all([
5310
- he(l.href, "fetchConsentsError", { method: "GET" }, !0),
5311
- he(p.href, "fetchPlayerConsentsError", {
5157
+ ve(h.href, "fetchConsentsError", { method: "GET" }, !0),
5158
+ ve(f.href, "fetchPlayerConsentsError", {
5312
5159
  method: "GET",
5313
5160
  headers: {
5314
- "X-SessionId": v$1,
5161
+ "X-SessionId": v,
5315
5162
  "Content-Type": "application/json"
5316
5163
  }
5317
5164
  })
5318
5165
  ]);
5319
- }), vr = () => {
5320
- Se = !1;
5321
- const l = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
5166
+ }), jr = () => {
5167
+ Pe = !1;
5168
+ const h = new URL(`${a}/api/v2/gm/legislation/consents`), f = {
5322
5169
  "Content-Type": "application/json",
5323
5170
  Accept: "application/json"
5324
- }, x = { method: "GET", headers: p };
5325
- fetch(l.href, x).then((k) => k.ok ? k.json() : (Se = !0, k.json().then((M) => (console.error(M), Te(M))))).then((k) => {
5326
- if (!Se) {
5327
- if (J = k, localStorage.getItem("playerConsents")) {
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) => {
5173
+ if (!Pe) {
5174
+ if (J = b, localStorage.getItem("playerConsents")) {
5328
5175
  try {
5329
- r(9, z = JSON.parse(localStorage.getItem("playerConsents")));
5176
+ r(9, j = JSON.parse(localStorage.getItem("playerConsents")));
5330
5177
  } catch (M) {
5331
- return console.error(M), Te(M);
5178
+ return console.error(M), Oe(M);
5332
5179
  }
5333
5180
  return;
5334
5181
  }
5335
- return r(9, z = J.map((M) => ({
5182
+ return r(9, j = J.map((M) => ({
5336
5183
  id: M.id,
5337
5184
  status: R.denied.key,
5338
5185
  friendlyName: M.friendlyName,
5339
5186
  tagCode: M.tagCode,
5340
5187
  selected: null,
5341
5188
  mustAccept: M.mustAccept
5342
- }))), localStorage.setItem("playerConsents", JSON.stringify(z)), z;
5189
+ }))), localStorage.setItem("playerConsents", JSON.stringify(j)), j;
5343
5190
  }
5344
- }).catch((k) => (console.error(k), Te(k))).finally(() => {
5345
- r(10, ce = !1);
5191
+ }).catch((b) => (console.error(b), Oe(b))).finally(() => {
5192
+ r(10, _e = !1);
5346
5193
  });
5347
- }, kr = (l) => {
5348
- const p = /* @__PURE__ */ new Map();
5349
- return l.forEach((x) => {
5350
- p.has(x.category.categoryTagCode) || p.set(x.category.categoryTagCode, x.category);
5351
- }), Array.from(p.values());
5352
- }, br = (l) => {
5353
- const p = localStorage.getItem("categoryToggle" + C);
5354
- if (p === null) {
5355
- const x = l.reduce(
5356
- (k, M) => (k[M.categoryTagCode] = !1, k),
5194
+ }, Ir = (h) => {
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),
5357
5204
  {}
5358
5205
  );
5359
- return localStorage.setItem("categoryToggle" + C, JSON.stringify(x)), x;
5206
+ return localStorage.setItem("categoryToggle" + C, JSON.stringify(w)), w;
5360
5207
  } else
5361
- return JSON.parse(p);
5362
- }, Er = () => {
5363
- z.forEach((l) => {
5364
- r(12, Q[l.tagCode] = l.status === R.accepted.value, Q);
5365
- }), r(13, U = Z({}, Q));
5366
- }, Cr = () => {
5367
- r(13, U = Z({}, Q)), r(11, F = Z({}, Ee));
5368
- }, Sr = () => me(this, null, function* () {
5369
- if (!be)
5208
+ return JSON.parse(f);
5209
+ }, Ur = () => {
5210
+ j.forEach((h) => {
5211
+ r(12, Q[h.tagCode] = h.status === R.accepted.value, Q);
5212
+ }), r(13, D = W({}, Q));
5213
+ }, Dr = () => {
5214
+ r(13, D = W({}, Q)), r(11, V = W({}, Ae));
5215
+ }, Gr = () => re(this, null, function* () {
5216
+ if (!Ne)
5370
5217
  return;
5371
- be = !1;
5372
- const l = [], p = [];
5373
- if (Object.keys(U).forEach((k) => {
5374
- const M = z.find((I) => I.tagCode === k);
5375
- U[k] !== Q[k] && (M ? l.push({
5376
- tagCode: k,
5377
- status: U[k] ? R.accepted.value : R.denied.value
5378
- }) : p.push({
5379
- tagCode: k,
5380
- status: U[k] ? R.accepted.value : R.denied.value
5218
+ Ne = !1;
5219
+ const h = [], f = [];
5220
+ if (Object.keys(D).forEach((b) => {
5221
+ const M = j.find((I) => I.tagCode === b);
5222
+ D[b] !== Q[b] && (M ? h.push({
5223
+ tagCode: b,
5224
+ status: D[b] ? R.accepted.value : R.denied.value
5225
+ }) : f.push({
5226
+ tagCode: b,
5227
+ status: D[b] ? R.accepted.value : R.denied.value
5381
5228
  }));
5382
5229
  }), !_) {
5383
- localStorage.setItem("categoryToggle" + C, JSON.stringify(F)), Ee = Z({}, F), window.postMessage(
5230
+ localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5384
5231
  {
5385
5232
  type: "NewPlayerConsentData",
5386
- data: JSON.stringify(p)
5233
+ data: JSON.stringify(f)
5387
5234
  },
5388
5235
  window.location.href
5389
- ), be = !0;
5236
+ ), Ne = !0;
5390
5237
  return;
5391
5238
  }
5392
- const x = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5239
+ const w = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5393
5240
  try {
5394
- const k = yield Promise.allSettled([
5395
- p.length > 0 && he(x.href, "updateConsentsError", {
5241
+ const b = yield Promise.allSettled([
5242
+ f.length > 0 && ve(w.href, "updateConsentsError", {
5396
5243
  method: "POST",
5397
5244
  headers: {
5398
- "X-SessionId": v$1,
5245
+ "X-SessionId": v,
5399
5246
  "Content-Type": "application/json"
5400
5247
  },
5401
- body: JSON.stringify({ userConsents: p })
5248
+ body: JSON.stringify({ userConsents: f })
5402
5249
  }),
5403
- l.length > 0 && he(x.href, "updateConsentsError", {
5250
+ h.length > 0 && ve(w.href, "updateConsentsError", {
5404
5251
  method: "PATCH",
5405
5252
  headers: {
5406
- "X-SessionId": v$1,
5253
+ "X-SessionId": v,
5407
5254
  "Content-Type": "application/json"
5408
5255
  },
5409
- body: JSON.stringify({ userConsents: l })
5256
+ body: JSON.stringify({ userConsents: h })
5410
5257
  })
5411
5258
  ]);
5412
- k.forEach((M, I) => {
5259
+ b.forEach((M, I) => {
5413
5260
  if (M.status === "rejected" || M.value.ok === !1) {
5414
- const V = I < p.length ? p[I] : l[I - p.length];
5415
- r(13, U[V.tagCode] = Q[V.tagCode], U);
5261
+ const q = I < f.length ? f[I] : h[I - f.length];
5262
+ r(13, D[q.tagCode] = Q[q.tagCode], D);
5416
5263
  }
5417
- }), k.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(F)), Ee = Z({}, F), window.postMessage(
5264
+ }), b.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5418
5265
  {
5419
5266
  type: "PlayerConsentUpdated",
5420
5267
  success: !0
5421
5268
  },
5422
5269
  window.location.href
5423
- ), r(12, Q = Z({}, U)));
5424
- } catch (k) {
5425
- xe(k instanceof TypeError ? n("saveChangesError") : k.message), window.postMessage(
5270
+ ), r(12, Q = W({}, D)));
5271
+ } catch (b) {
5272
+ Be(b instanceof TypeError ? n("saveChangesError") : b.message), window.postMessage(
5426
5273
  {
5427
5274
  type: "PlayerConsentUpdated",
5428
5275
  success: !1
@@ -5430,150 +5277,150 @@ function Qi(e, t, r) {
5430
5277
  window.location.href
5431
5278
  );
5432
5279
  } finally {
5433
- be = !0, r(14, ue = !1);
5280
+ Ne = !0, r(14, ye = !1);
5434
5281
  }
5435
- }), xr = (l) => {
5436
- const p = new URL(`${a}/api/v2/gm/legislation/consents`), x = {
5282
+ }), Fr = (h) => {
5283
+ const f = new URL(`${a}/api/v2/gm/legislation/consents`), w = {
5437
5284
  "Content-Type": "application/json",
5438
5285
  Accept: "application/json"
5439
- }, k = {
5440
- playerConsents: z,
5441
- registrationId: l
5286
+ }, b = {
5287
+ playerConsents: j,
5288
+ registrationId: h
5442
5289
  }, M = {
5443
5290
  method: "POST",
5444
- body: JSON.stringify(k),
5445
- headers: x
5291
+ body: JSON.stringify(b),
5292
+ headers: w
5446
5293
  };
5447
- fetch(p.href, M).then((I) => {
5448
- I.ok || (Se = !0);
5449
- }).catch((I) => (console.error(I), Te(I))).finally(() => {
5450
- r(10, ce = !1);
5294
+ fetch(f.href, M).then((I) => {
5295
+ I.ok || (Pe = !0);
5296
+ }).catch((I) => (console.error(I), Oe(I))).finally(() => {
5297
+ r(10, _e = !1);
5451
5298
  });
5452
- }, ot = (l) => {
5453
- z.filter((p) => p.category.categoryTagCode === l).forEach((p) => {
5454
- p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = F[l] || !1, U);
5455
- }), r(14, ue = at());
5456
- }, Le = (l, p, x) => {
5457
- const k = z.find((V) => V.id === x), M = p ? "value" : "key";
5299
+ }, Et = (h) => {
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);
5302
+ }), r(14, ye = Ct());
5303
+ }, We = (h, f, w) => {
5304
+ const b = j.find((q) => q.id === w), M = f ? "value" : "key";
5458
5305
  let I;
5459
- if (!p && k.mustAccept) {
5460
- const V = Array.from(Ce.children);
5461
- for (const de of V)
5462
- if (I = Array.from(de.children).find((Ir) => Ir.getAttribute("id") === `checkBoxError__${k.tagCode}`), I)
5306
+ if (!f && b.mustAccept) {
5307
+ const q = Array.from(He.children);
5308
+ for (const be of q)
5309
+ if (I = Array.from(be.children).find((en) => en.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
5463
5310
  break;
5464
5311
  }
5465
- if (k.status === R.accepted[M] ? (k.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (k.status = R.accepted[M], I && (I.innerHTML = "")), p) {
5466
- r(13, U[k.tagCode] = !U[k.tagCode], U);
5467
- const V = z.filter((de) => de.category.categoryTagCode === p.categoryTagCode).every((de) => de.status !== R.denied.value);
5468
- r(11, F[p.categoryTagCode] = V, F);
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) {
5313
+ r(13, D[b.tagCode] = !D[b.tagCode], D);
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);
5469
5316
  }
5470
- Tr();
5471
- }, Tr = ((l, p) => {
5472
- let x;
5473
- return function(...k) {
5317
+ $r();
5318
+ }, $r = ((h, f) => {
5319
+ let w;
5320
+ return function(...b) {
5474
5321
  const M = this;
5475
- clearTimeout(x), x = setTimeout(
5322
+ clearTimeout(w), w = setTimeout(
5476
5323
  () => {
5477
- l.apply(M, k);
5324
+ h.apply(M, b);
5478
5325
  },
5479
- p
5326
+ f
5480
5327
  );
5481
5328
  };
5482
- })(() => Mr(), 500), Mr = () => {
5483
- r(14, ue = at()), i || (window.postMessage({ type: "isConsentsValid", isValid: ue }), localStorage.setItem("playerConsents", JSON.stringify(z)));
5484
- }, at = () => z.filter((p) => z.some((x) => p.tagCode === x.tagCode && x.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Te = (l) => {
5329
+ })(() => Vr(), 500), Vr = () => {
5330
+ r(14, ye = Ct()), i || (window.postMessage({ type: "isConsentsValid", isValid: ye }), localStorage.setItem("playerConsents", JSON.stringify(j)));
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) => {
5485
5332
  window.postMessage(
5486
5333
  {
5487
5334
  type: "WidgetNotification",
5488
- data: { type: "error", message: l }
5335
+ data: { type: "error", message: h }
5489
5336
  },
5490
5337
  window.location.href
5491
5338
  );
5492
- }, wr = (l) => {
5493
- l.data && l.data.type !== "setUpPlayerConsents" || xr(l.data.registerid);
5339
+ }, Xr = (h) => {
5340
+ h.data && h.data.type !== "setUpPlayerConsents" || Fr(h.data.registerid);
5494
5341
  };
5495
- lt$1(() => {
5342
+ gn(() => {
5496
5343
  setTimeout(
5497
5344
  () => {
5498
5345
  r(26, S = !0);
5499
5346
  },
5500
5347
  50
5501
5348
  );
5502
- const l = (p) => wr(p);
5503
- return window.addEventListener("message", l), () => {
5504
- window.removeEventListener("message", l);
5349
+ const h = (f) => Xr(f);
5350
+ return window.addEventListener("message", h), () => {
5351
+ window.removeEventListener("message", h);
5505
5352
  };
5506
5353
  });
5507
- function Nr(l) {
5508
- F[l.categoryTagCode] = this.checked, r(11, F);
5354
+ function qr(h) {
5355
+ V[h.categoryTagCode] = this.checked, r(11, V);
5509
5356
  }
5510
- const Ar = (l) => ot(l.categoryTagCode), Hr = (l, p) => p.category.categoryTagCode === l.categoryTagCode, Pr = (l, p) => Le(p, l.category, l.id), Br = (l, p) => Le(p, null, l.id);
5511
- function Or(l) {
5512
- v[l ? "unshift" : "push"](() => {
5513
- Ce = l, r(15, Ce);
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) {
5359
+ Re[h ? "unshift" : "push"](() => {
5360
+ He = h, r(15, He);
5514
5361
  });
5515
5362
  }
5516
- function zr(l) {
5517
- v[l ? "unshift" : "push"](() => {
5518
- f = l, r(5, f);
5363
+ function Kr(h) {
5364
+ Re[h ? "unshift" : "push"](() => {
5365
+ g = h, r(5, g);
5519
5366
  });
5520
5367
  }
5521
- return e.$$set = (l) => {
5522
- "session" in l && r(0, i = l.session), "userid" in l && r(21, o = l.userid), "endpoint" in l && r(22, a = l.endpoint), "clientstyling" in l && r(1, s = l.clientstyling), "clientstylingurl" in l && r(2, h = l.clientstylingurl), "mbsource" in l && r(3, u = l.mbsource), "lang" in l && r(23, c = l.lang), "displayconsentdescription" in l && r(4, d = l.displayconsentdescription), "translationurl" in l && r(24, m = l.translationurl), "modalconsents" in l && r(25, y = l.modalconsents);
5368
+ return e.$$set = (h) => {
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);
5523
5370
  }, e.$$.update = () => {
5524
5371
  e.$$.dirty[0] & /*isMounted, session*/
5525
- 67108865 && S && i && (_r(), yr()), e.$$.dirty[0] & /*session*/
5526
- 1 && (i || vr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5527
- 34 && s && f && St$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5528
- 36 && h && f && xt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5529
- 40 && f && Et$1(f, `${u}.Style`, g), e.$$.dirty[0] & /*lang*/
5530
- 8388608 && c && pr(), e.$$.dirty[0] & /*translationurl*/
5531
- 16777216 && m && gr();
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();
5532
5379
  }, [
5533
5380
  i,
5534
5381
  s,
5535
- h,
5536
- u,
5382
+ c,
5383
+ l,
5537
5384
  d,
5538
- f,
5385
+ g,
5539
5386
  H,
5540
5387
  E,
5541
- O,
5542
5388
  z,
5543
- ce,
5544
- F,
5389
+ j,
5390
+ _e,
5391
+ V,
5545
5392
  Q,
5546
- U,
5547
- ue,
5548
- Ce,
5393
+ D,
5394
+ ye,
5395
+ He,
5549
5396
  n,
5550
- fr,
5551
- Sr,
5552
- ot,
5553
- Le,
5397
+ Or,
5398
+ Gr,
5399
+ Et,
5400
+ We,
5554
5401
  o,
5555
5402
  a,
5556
- c,
5403
+ u,
5557
5404
  m,
5558
5405
  y,
5559
5406
  S,
5560
- Nr,
5561
- Ar,
5562
- Hr,
5563
- Pr,
5564
- Br,
5565
- Or,
5566
- zr
5407
+ qr,
5408
+ Wr,
5409
+ Zr,
5410
+ Jr,
5411
+ Qr,
5412
+ Yr,
5413
+ Kr
5567
5414
  ];
5568
5415
  }
5569
- class Yi extends yt$1 {
5416
+ class Hr extends ar {
5570
5417
  constructor(t) {
5571
- super(), bt$1(
5418
+ super(), nr(
5572
5419
  this,
5573
5420
  t,
5574
- Qi,
5575
- Ji,
5576
- Q,
5421
+ Ao,
5422
+ No,
5423
+ _t,
5577
5424
  {
5578
5425
  session: 0,
5579
5426
  userid: 21,
@@ -5586,7 +5433,7 @@ class Yi extends yt$1 {
5586
5433
  translationurl: 24,
5587
5434
  modalconsents: 25
5588
5435
  },
5589
- Vi,
5436
+ So,
5590
5437
  [-1, -1, -1]
5591
5438
  );
5592
5439
  }
@@ -5594,63 +5441,67 @@ class Yi extends yt$1 {
5594
5441
  return this.$$.ctx[0];
5595
5442
  }
5596
5443
  set session(t) {
5597
- this.$$set({ session: t }), b();
5444
+ this.$$set({ session: t }), X();
5598
5445
  }
5599
5446
  get userid() {
5600
5447
  return this.$$.ctx[21];
5601
5448
  }
5602
5449
  set userid(t) {
5603
- this.$$set({ userid: t }), b();
5450
+ this.$$set({ userid: t }), X();
5604
5451
  }
5605
5452
  get endpoint() {
5606
5453
  return this.$$.ctx[22];
5607
5454
  }
5608
5455
  set endpoint(t) {
5609
- this.$$set({ endpoint: t }), b();
5456
+ this.$$set({ endpoint: t }), X();
5610
5457
  }
5611
5458
  get clientstyling() {
5612
5459
  return this.$$.ctx[1];
5613
5460
  }
5614
5461
  set clientstyling(t) {
5615
- this.$$set({ clientstyling: t }), b();
5462
+ this.$$set({ clientstyling: t }), X();
5616
5463
  }
5617
5464
  get clientstylingurl() {
5618
5465
  return this.$$.ctx[2];
5619
5466
  }
5620
5467
  set clientstylingurl(t) {
5621
- this.$$set({ clientstylingurl: t }), b();
5468
+ this.$$set({ clientstylingurl: t }), X();
5622
5469
  }
5623
5470
  get mbsource() {
5624
5471
  return this.$$.ctx[3];
5625
5472
  }
5626
5473
  set mbsource(t) {
5627
- this.$$set({ mbsource: t }), b();
5474
+ this.$$set({ mbsource: t }), X();
5628
5475
  }
5629
5476
  get lang() {
5630
5477
  return this.$$.ctx[23];
5631
5478
  }
5632
5479
  set lang(t) {
5633
- this.$$set({ lang: t }), b();
5480
+ this.$$set({ lang: t }), X();
5634
5481
  }
5635
5482
  get displayconsentdescription() {
5636
5483
  return this.$$.ctx[4];
5637
5484
  }
5638
5485
  set displayconsentdescription(t) {
5639
- this.$$set({ displayconsentdescription: t }), b();
5486
+ this.$$set({ displayconsentdescription: t }), X();
5640
5487
  }
5641
5488
  get translationurl() {
5642
5489
  return this.$$.ctx[24];
5643
5490
  }
5644
5491
  set translationurl(t) {
5645
- this.$$set({ translationurl: t }), b();
5492
+ this.$$set({ translationurl: t }), X();
5646
5493
  }
5647
5494
  get modalconsents() {
5648
5495
  return this.$$.ctx[25];
5649
5496
  }
5650
5497
  set modalconsents(t) {
5651
- this.$$set({ modalconsents: t }), b();
5498
+ this.$$set({ modalconsents: t }), X();
5652
5499
  }
5653
5500
  }
5654
- gt$1(Yi, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
5501
+ or(Hr, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
5502
+ const Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5503
+ __proto__: null,
5504
+ default: Hr
5505
+ }, Symbol.toStringTag, { value: "Module" }));
5655
5506
 
5656
- export { Yi as default };
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 };