@everymatrix/player-reality-check 1.45.0 → 1.45.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,75 +1,75 @@
1
1
  var Cr = Object.defineProperty, Br = Object.defineProperties;
2
- var Ar = Object.getOwnPropertyDescriptors;
3
- var st = Object.getOwnPropertySymbols;
4
- var Pr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable;
5
- var Ce = (e, t, r) => t in e ? Cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
2
+ var Pr = Object.getOwnPropertyDescriptors;
3
+ var ot = Object.getOwnPropertySymbols;
4
+ var Ar = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
+ var Ce = (e, t, r) => t in e ? Cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Pr.call(t, r) && Ce(e, r, t[r]);
8
- if (st)
9
- for (var r of st(t))
10
- Or.call(t, r) && Ce(e, r, t[r]);
7
+ Ar.call(t, r) && Ce(e, r, t[r]);
8
+ if (ot)
9
+ for (var r of ot(t))
10
+ Rr.call(t, r) && Ce(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => Br(e, Ar(t));
13
- var k = (e, t, r) => Ce(e, typeof t != "symbol" ? t + "" : t, r);
12
+ }, at = (e, t) => Br(e, Pr(t));
13
+ var O = (e, t, r) => Ce(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var Be = (e, t, r) => new Promise((n, i) => {
15
- var s = (l) => {
15
+ var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, o = (l) => {
21
+ }, s = (l) => {
22
22
  try {
23
23
  a(r.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
27
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function R() {
30
+ function M() {
31
31
  }
32
- function Nt(e) {
32
+ function $t(e) {
33
33
  return e();
34
34
  }
35
35
  function ut() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ne(e) {
39
- e.forEach(Nt);
39
+ e.forEach($t);
40
40
  }
41
41
  function Ke(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function jt(e, t) {
44
+ function kt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function kr(e) {
47
+ function Or(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function $t(e, ...t) {
50
+ function Ut(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return R;
54
+ return M;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Rr(e, t, r) {
60
- e.$$.on_destroy.push($t(t, r));
59
+ function Mr(e, t, r) {
60
+ e.$$.on_destroy.push(Ut(t, r));
61
61
  }
62
62
  function T(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Mr(e, t, r) {
66
- const n = Ir(e);
65
+ function Ir(e, t, r) {
66
+ const n = Lr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = B("style");
69
- i.id = t, i.textContent = r, Lr(n, i);
69
+ i.id = t, i.textContent = r, Nr(n, i);
70
70
  }
71
71
  }
72
- function Ir(e) {
72
+ function Lr(e) {
73
73
  if (!e) return document;
74
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
75
  return t && /** @type {ShadowRoot} */
@@ -78,42 +78,42 @@ function Ir(e) {
78
78
  t
79
79
  ) : e.ownerDocument;
80
80
  }
81
- function Lr(e, t) {
81
+ function Nr(e, t) {
82
82
  return T(
83
83
  /** @type {Document} */
84
84
  e.head || e,
85
85
  t
86
86
  ), t.sheet;
87
87
  }
88
- function $(e, t, r) {
88
+ function U(e, t, r) {
89
89
  e.insertBefore(t, r || null);
90
90
  }
91
- function M(e) {
91
+ function I(e) {
92
92
  e.parentNode && e.parentNode.removeChild(e);
93
93
  }
94
- function Nr(e, t) {
94
+ function $r(e, t) {
95
95
  for (let r = 0; r < e.length; r += 1)
96
96
  e[r] && e[r].d(t);
97
97
  }
98
98
  function B(e) {
99
99
  return document.createElement(e);
100
100
  }
101
- function q(e) {
101
+ function W(e) {
102
102
  return document.createElementNS("http://www.w3.org/2000/svg", e);
103
103
  }
104
- function I(e) {
104
+ function L(e) {
105
105
  return document.createTextNode(e);
106
106
  }
107
- function D() {
108
- return I(" ");
107
+ function F() {
108
+ return L(" ");
109
109
  }
110
- function ge(e, t, r, n) {
110
+ function ve(e, t, r, n) {
111
111
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
112
112
  }
113
- function w(e, t, r) {
113
+ function H(e, t, r) {
114
114
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
115
115
  }
116
- function jr(e) {
116
+ function kr(e) {
117
117
  let t;
118
118
  return {
119
119
  /* push */
@@ -126,17 +126,17 @@ function jr(e) {
126
126
  }
127
127
  };
128
128
  }
129
- function $r(e) {
129
+ function Ur(e) {
130
130
  return Array.from(e.childNodes);
131
131
  }
132
- function z(e, t) {
132
+ function V(e, t) {
133
133
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
134
134
  t);
135
135
  }
136
- function Ur(e, t) {
136
+ function Dr(e, t) {
137
137
  e.value = t == null ? "" : t;
138
138
  }
139
- function Dr(e) {
139
+ function Fr(e) {
140
140
  const t = {};
141
141
  return e.childNodes.forEach(
142
142
  /** @param {Element} node */
@@ -149,83 +149,83 @@ let et;
149
149
  function le(e) {
150
150
  et = e;
151
151
  }
152
- const Q = [], Ne = [];
152
+ const Q = [], $e = [];
153
153
  let J = [];
154
- const lt = [], Fr = /* @__PURE__ */ Promise.resolve();
155
- let je = !1;
156
- function Gr() {
157
- je || (je = !0, Fr.then(N));
154
+ const lt = [], Gr = /* @__PURE__ */ Promise.resolve();
155
+ let ke = !1;
156
+ function jr() {
157
+ ke || (ke = !0, Gr.then($));
158
158
  }
159
- function $e(e) {
159
+ function Ue(e) {
160
160
  J.push(e);
161
161
  }
162
- const Ae = /* @__PURE__ */ new Set();
163
- let W = 0;
164
- function N() {
165
- if (W !== 0)
162
+ const Pe = /* @__PURE__ */ new Set();
163
+ let q = 0;
164
+ function $() {
165
+ if (q !== 0)
166
166
  return;
167
167
  const e = et;
168
168
  do {
169
169
  try {
170
- for (; W < Q.length; ) {
171
- const t = Q[W];
172
- W++, le(t), zr(t.$$);
170
+ for (; q < Q.length; ) {
171
+ const t = Q[q];
172
+ q++, le(t), Vr(t.$$);
173
173
  }
174
174
  } catch (t) {
175
- throw Q.length = 0, W = 0, t;
175
+ throw Q.length = 0, q = 0, t;
176
176
  }
177
- for (le(null), Q.length = 0, W = 0; Ne.length; ) Ne.pop()();
177
+ for (le(null), Q.length = 0, q = 0; $e.length; ) $e.pop()();
178
178
  for (let t = 0; t < J.length; t += 1) {
179
179
  const r = J[t];
180
- Ae.has(r) || (Ae.add(r), r());
180
+ Pe.has(r) || (Pe.add(r), r());
181
181
  }
182
182
  J.length = 0;
183
183
  } while (Q.length);
184
184
  for (; lt.length; )
185
185
  lt.pop()();
186
- je = !1, Ae.clear(), le(e);
186
+ ke = !1, Pe.clear(), le(e);
187
187
  }
188
- function zr(e) {
188
+ function Vr(e) {
189
189
  if (e.fragment !== null) {
190
190
  e.update(), ne(e.before_update);
191
191
  const t = e.dirty;
192
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
192
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
193
193
  }
194
194
  }
195
- function Vr(e) {
195
+ function Xr(e) {
196
196
  const t = [], r = [];
197
197
  J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
198
198
  }
199
- const Xr = /* @__PURE__ */ new Set();
200
- function qr(e, t) {
201
- e && e.i && (Xr.delete(e), e.i(t));
199
+ const zr = /* @__PURE__ */ new Set();
200
+ function Wr(e, t) {
201
+ e && e.i && (zr.delete(e), e.i(t));
202
202
  }
203
203
  function ht(e) {
204
204
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
205
205
  }
206
- function Wr(e, t, r) {
206
+ function qr(e, t, r) {
207
207
  const { fragment: n, after_update: i } = e.$$;
208
- n && n.m(t, r), $e(() => {
209
- const s = e.$$.on_mount.map(Nt).filter(Ke);
210
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
211
- }), i.forEach($e);
208
+ n && n.m(t, r), Ue(() => {
209
+ const o = e.$$.on_mount.map($t).filter(Ke);
210
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
211
+ }), i.forEach(Ue);
212
212
  }
213
213
  function Zr(e, t) {
214
214
  const r = e.$$;
215
- r.fragment !== null && (Vr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && (Xr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
216
  }
217
217
  function Qr(e, t) {
218
- e.$$.dirty[0] === -1 && (Q.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
218
+ e.$$.dirty[0] === -1 && (Q.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
- function Jr(e, t, r, n, i, s, o = null, a = [-1]) {
220
+ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
221
221
  const l = et;
222
222
  le(e);
223
223
  const u = e.$$ = {
224
224
  fragment: null,
225
225
  ctx: [],
226
226
  // state
227
- props: s,
228
- update: R,
227
+ props: o,
228
+ update: M,
229
229
  not_equal: i,
230
230
  bound: ut(),
231
231
  // lifecycle
@@ -241,43 +241,43 @@ function Jr(e, t, r, n, i, s, o = null, a = [-1]) {
241
241
  skip_bound: !1,
242
242
  root: t.target || l.$$.root
243
243
  };
244
- o && o(u.root);
244
+ s && s(u.root);
245
245
  let h = !1;
246
246
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
247
247
  const d = p.length ? p[0] : f;
248
248
  return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Qr(e, c)), f;
249
249
  }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
250
250
  if (t.hydrate) {
251
- const c = $r(t.target);
252
- u.fragment && u.fragment.l(c), c.forEach(M);
251
+ const c = Ur(t.target);
252
+ u.fragment && u.fragment.l(c), c.forEach(I);
253
253
  } else
254
254
  u.fragment && u.fragment.c();
255
- t.intro && qr(e.$$.fragment), Wr(e, t.target, t.anchor), N();
255
+ t.intro && Wr(e.$$.fragment), qr(e, t.target, t.anchor), $();
256
256
  }
257
257
  le(l);
258
258
  }
259
- let Ut;
260
- typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
259
+ let Dt;
260
+ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
261
261
  constructor(t, r, n) {
262
262
  super();
263
263
  /** The Svelte component constructor */
264
- k(this, "$$ctor");
264
+ O(this, "$$ctor");
265
265
  /** Slots */
266
- k(this, "$$s");
266
+ O(this, "$$s");
267
267
  /** The Svelte component instance */
268
- k(this, "$$c");
268
+ O(this, "$$c");
269
269
  /** Whether or not the custom element is connected */
270
- k(this, "$$cn", !1);
270
+ O(this, "$$cn", !1);
271
271
  /** Component props data */
272
- k(this, "$$d", {});
272
+ O(this, "$$d", {});
273
273
  /** `true` if currently in the process of reflecting component props back to attributes */
274
- k(this, "$$r", !1);
274
+ O(this, "$$r", !1);
275
275
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
276
- k(this, "$$p_d", {});
276
+ O(this, "$$p_d", {});
277
277
  /** @type {Record<string, Function[]>} Event listeners */
278
- k(this, "$$l", {});
278
+ O(this, "$$l", {});
279
279
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
280
- k(this, "$$l_u", /* @__PURE__ */ new Map());
280
+ O(this, "$$l_u", /* @__PURE__ */ new Map());
281
281
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
282
282
  }
283
283
  addEventListener(t, r, n) {
@@ -296,40 +296,40 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
296
296
  connectedCallback() {
297
297
  return Be(this, null, function* () {
298
298
  if (this.$$cn = !0, !this.$$c) {
299
- let t = function(s) {
299
+ let t = function(o) {
300
300
  return () => {
301
- let o;
301
+ let s;
302
302
  return {
303
303
  c: function() {
304
- o = B("slot"), s !== "default" && w(o, "name", s);
304
+ s = B("slot"), o !== "default" && H(s, "name", o);
305
305
  },
306
306
  /**
307
307
  * @param {HTMLElement} target
308
308
  * @param {HTMLElement} [anchor]
309
309
  */
310
310
  m: function(u, h) {
311
- $(u, o, h);
311
+ U(u, s, h);
312
312
  },
313
313
  d: function(u) {
314
- u && M(o);
314
+ u && I(s);
315
315
  }
316
316
  };
317
317
  };
318
318
  };
319
319
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
320
320
  return;
321
- const r = {}, n = Dr(this);
322
- for (const s of this.$$s)
323
- s in n && (r[s] = [t(s)]);
324
- for (const s of this.attributes) {
325
- const o = this.$$g_p(s.name);
326
- o in this.$$d || (this.$$d[o] = me(o, s.value, this.$$p_d, "toProp"));
321
+ const r = {}, n = Fr(this);
322
+ for (const o of this.$$s)
323
+ o in n && (r[o] = [t(o)]);
324
+ for (const o of this.attributes) {
325
+ const s = this.$$g_p(o.name);
326
+ s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
327
327
  }
328
- for (const s in this.$$p_d)
329
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
328
+ for (const o in this.$$p_d)
329
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
330
330
  this.$$c = new this.$$ctor({
331
331
  target: this.shadowRoot || this,
332
- props: at(ot({}, this.$$d), {
332
+ props: at(st({}, this.$$d), {
333
333
  $$slots: r,
334
334
  $$scope: {
335
335
  ctx: []
@@ -338,23 +338,23 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
338
338
  });
339
339
  const i = () => {
340
340
  this.$$r = !0;
341
- for (const s in this.$$p_d)
342
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
343
- const o = me(
344
- s,
345
- this.$$d[s],
341
+ for (const o in this.$$p_d)
342
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
343
+ const s = me(
344
+ o,
345
+ this.$$d[o],
346
346
  this.$$p_d,
347
347
  "toAttribute"
348
348
  );
349
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
349
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
350
350
  }
351
351
  this.$$r = !1;
352
352
  };
353
353
  this.$$c.$$.after_update.push(i), i();
354
- for (const s in this.$$l)
355
- for (const o of this.$$l[s]) {
356
- const a = this.$$c.$on(s, o);
357
- this.$$l_u.set(o, a);
354
+ for (const o in this.$$l)
355
+ for (const s of this.$$l[o]) {
356
+ const a = this.$$c.$on(o, s);
357
+ this.$$l_u.set(s, a);
358
358
  }
359
359
  this.$$l = {};
360
360
  }
@@ -378,8 +378,8 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
378
378
  }
379
379
  });
380
380
  function me(e, t, r, n) {
381
- var s;
382
- const i = (s = r[e]) == null ? void 0 : s.type;
381
+ var o;
382
+ const i = (o = r[e]) == null ? void 0 : o.type;
383
383
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
384
384
  return t;
385
385
  if (n === "toAttribute")
@@ -407,8 +407,8 @@ function me(e, t, r, n) {
407
407
  return t;
408
408
  }
409
409
  }
410
- function Yr(e, t, r, n, i, s) {
411
- let o = class extends Ut {
410
+ function Yr(e, t, r, n, i, o) {
411
+ let s = class extends Dt {
412
412
  constructor() {
413
413
  super(e, r, i), this.$$p_d = t;
414
414
  }
@@ -419,7 +419,7 @@ function Yr(e, t, r, n, i, s) {
419
419
  }
420
420
  };
421
421
  return Object.keys(t).forEach((a) => {
422
- Object.defineProperty(o.prototype, a, {
422
+ Object.defineProperty(s.prototype, a, {
423
423
  get() {
424
424
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
425
425
  },
@@ -429,14 +429,14 @@ function Yr(e, t, r, n, i, s) {
429
429
  }
430
430
  });
431
431
  }), n.forEach((a) => {
432
- Object.defineProperty(o.prototype, a, {
432
+ Object.defineProperty(s.prototype, a, {
433
433
  get() {
434
434
  var l;
435
435
  return (l = this.$$c) == null ? void 0 : l[a];
436
436
  }
437
437
  });
438
438
  }), e.element = /** @type {any} */
439
- o, o;
439
+ s, s;
440
440
  }
441
441
  class Kr {
442
442
  constructor() {
@@ -447,7 +447,7 @@ class Kr {
447
447
  *
448
448
  * @type {any}
449
449
  */
450
- k(this, "$$");
450
+ O(this, "$$");
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -455,11 +455,11 @@ class Kr {
455
455
  *
456
456
  * @type {any}
457
457
  */
458
- k(this, "$$set");
458
+ O(this, "$$set");
459
459
  }
460
460
  /** @returns {void} */
461
461
  $destroy() {
462
- Zr(this, 1), this.$destroy = R;
462
+ Zr(this, 1), this.$destroy = M;
463
463
  }
464
464
  /**
465
465
  * @template {Extract<keyof Events, string>} K
@@ -469,7 +469,7 @@ class Kr {
469
469
  */
470
470
  $on(t, r) {
471
471
  if (!Ke(r))
472
- return R;
472
+ return M;
473
473
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
474
474
  return n.push(r), () => {
475
475
  const i = n.indexOf(r);
@@ -481,22 +481,22 @@ class Kr {
481
481
  * @returns {void}
482
482
  */
483
483
  $set(t) {
484
- this.$$set && !kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
+ this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
485
  }
486
486
  }
487
487
  const en = "4";
488
488
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
489
- var Ue = function(e, t) {
490
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
489
+ var De = function(e, t) {
490
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
491
491
  r.__proto__ = n;
492
492
  } || function(r, n) {
493
493
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
494
- }, Ue(e, t);
494
+ }, De(e, t);
495
495
  };
496
- function U(e, t) {
496
+ function D(e, t) {
497
497
  if (typeof t != "function" && t !== null)
498
498
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
499
- Ue(e, t);
499
+ De(e, t);
500
500
  function r() {
501
501
  this.constructor = e;
502
502
  }
@@ -506,7 +506,7 @@ var E = function() {
506
506
  return E = Object.assign || function(t) {
507
507
  for (var r, n = 1, i = arguments.length; n < i; n++) {
508
508
  r = arguments[n];
509
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
509
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
510
510
  }
511
511
  return t;
512
512
  }, E.apply(this, arguments);
@@ -519,7 +519,7 @@ function tn(e, t) {
519
519
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
520
520
  return r;
521
521
  }
522
- function De(e) {
522
+ function Fe(e) {
523
523
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
524
524
  if (r) return r.call(e);
525
525
  if (e && typeof e.length == "number") return {
@@ -529,38 +529,38 @@ function De(e) {
529
529
  };
530
530
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
531
531
  }
532
- function Fe(e, t) {
532
+ function Ge(e, t) {
533
533
  var r = typeof Symbol == "function" && e[Symbol.iterator];
534
534
  if (!r) return e;
535
- var n = r.call(e), i, s = [], o;
535
+ var n = r.call(e), i, o = [], s;
536
536
  try {
537
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) s.push(i.value);
537
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
538
538
  } catch (a) {
539
- o = { error: a };
539
+ s = { error: a };
540
540
  } finally {
541
541
  try {
542
542
  i && !i.done && (r = n.return) && r.call(n);
543
543
  } finally {
544
- if (o) throw o.error;
544
+ if (s) throw s.error;
545
545
  }
546
546
  }
547
- return s;
547
+ return o;
548
548
  }
549
549
  function Y(e, t, r) {
550
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
551
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
552
- return e.concat(s || Array.prototype.slice.call(t));
550
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
551
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
552
+ return e.concat(o || Array.prototype.slice.call(t));
553
553
  }
554
- function j(e) {
554
+ function k(e) {
555
555
  return typeof e == "function";
556
556
  }
557
- function Dt(e) {
557
+ function Ft(e) {
558
558
  var t = function(n) {
559
559
  Error.call(n), n.stack = new Error().stack;
560
560
  }, r = e(t);
561
561
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
562
562
  }
563
- var Pe = Dt(function(e) {
563
+ var Ae = Ft(function(e) {
564
564
  return function(r) {
565
565
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
566
566
  ` + r.map(function(n, i) {
@@ -569,7 +569,7 @@ var Pe = Dt(function(e) {
569
569
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
570
570
  };
571
571
  });
572
- function Ge(e, t) {
572
+ function je(e, t) {
573
573
  if (e) {
574
574
  var r = e.indexOf(t);
575
575
  0 <= r && e.splice(r, 1);
@@ -580,19 +580,19 @@ var Ee = function() {
580
580
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
581
581
  }
582
582
  return e.prototype.unsubscribe = function() {
583
- var t, r, n, i, s;
583
+ var t, r, n, i, o;
584
584
  if (!this.closed) {
585
585
  this.closed = !0;
586
- var o = this._parentage;
587
- if (o)
588
- if (this._parentage = null, Array.isArray(o))
586
+ var s = this._parentage;
587
+ if (s)
588
+ if (this._parentage = null, Array.isArray(s))
589
589
  try {
590
- for (var a = De(o), l = a.next(); !l.done; l = a.next()) {
590
+ for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
591
591
  var u = l.value;
592
592
  u.remove(this);
593
593
  }
594
- } catch (v) {
595
- t = { error: v };
594
+ } catch (b) {
595
+ t = { error: b };
596
596
  } finally {
597
597
  try {
598
598
  l && !l.done && (r = a.return) && r.call(a);
@@ -601,28 +601,28 @@ var Ee = function() {
601
601
  }
602
602
  }
603
603
  else
604
- o.remove(this);
604
+ s.remove(this);
605
605
  var h = this.initialTeardown;
606
- if (j(h))
606
+ if (k(h))
607
607
  try {
608
608
  h();
609
- } catch (v) {
610
- s = v instanceof Pe ? v.errors : [v];
609
+ } catch (b) {
610
+ o = b instanceof Ae ? b.errors : [b];
611
611
  }
612
612
  var c = this._finalizers;
613
613
  if (c) {
614
614
  this._finalizers = null;
615
615
  try {
616
- for (var f = De(c), p = f.next(); !p.done; p = f.next()) {
616
+ for (var f = Fe(c), p = f.next(); !p.done; p = f.next()) {
617
617
  var d = p.value;
618
618
  try {
619
619
  ct(d);
620
- } catch (v) {
621
- s = s != null ? s : [], v instanceof Pe ? s = Y(Y([], Fe(s)), Fe(v.errors)) : s.push(v);
620
+ } catch (b) {
621
+ o = o != null ? o : [], b instanceof Ae ? o = Y(Y([], Ge(o)), Ge(b.errors)) : o.push(b);
622
622
  }
623
623
  }
624
- } catch (v) {
625
- n = { error: v };
624
+ } catch (b) {
625
+ n = { error: b };
626
626
  } finally {
627
627
  try {
628
628
  p && !p.done && (i = f.return) && i.call(f);
@@ -631,8 +631,8 @@ var Ee = function() {
631
631
  }
632
632
  }
633
633
  }
634
- if (s)
635
- throw new Pe(s);
634
+ if (o)
635
+ throw new Ae(o);
636
636
  }
637
637
  }, e.prototype.add = function(t) {
638
638
  var r;
@@ -655,57 +655,57 @@ var Ee = function() {
655
655
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
656
656
  }, e.prototype._removeParent = function(t) {
657
657
  var r = this._parentage;
658
- r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
658
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
659
659
  }, e.prototype.remove = function(t) {
660
660
  var r = this._finalizers;
661
- r && Ge(r, t), t instanceof e && t._removeParent(this);
661
+ r && je(r, t), t instanceof e && t._removeParent(this);
662
662
  }, e.EMPTY = function() {
663
663
  var t = new e();
664
664
  return t.closed = !0, t;
665
665
  }(), e;
666
- }(), Ft = Ee.EMPTY;
667
- function Gt(e) {
668
- return e instanceof Ee || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
666
+ }(), Gt = Ee.EMPTY;
667
+ function jt(e) {
668
+ return e instanceof Ee || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
669
669
  }
670
670
  function ct(e) {
671
- j(e) ? e() : e.unsubscribe();
671
+ k(e) ? e() : e.unsubscribe();
672
672
  }
673
- var zt = {
673
+ var Vt = {
674
674
  onUnhandledError: null,
675
675
  onStoppedNotification: null,
676
676
  Promise: void 0,
677
677
  useDeprecatedSynchronousErrorHandling: !1,
678
678
  useDeprecatedNextContext: !1
679
- }, Vt = {
679
+ }, Xt = {
680
680
  setTimeout: function(e, t) {
681
681
  for (var r = [], n = 2; n < arguments.length; n++)
682
682
  r[n - 2] = arguments[n];
683
- return setTimeout.apply(void 0, Y([e, t], Fe(r)));
683
+ return setTimeout.apply(void 0, Y([e, t], Ge(r)));
684
684
  },
685
685
  clearTimeout: function(e) {
686
- var t = Vt.delegate;
686
+ var t = Xt.delegate;
687
687
  return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
688
688
  },
689
689
  delegate: void 0
690
690
  };
691
691
  function rn(e) {
692
- Vt.setTimeout(function() {
692
+ Xt.setTimeout(function() {
693
693
  throw e;
694
694
  });
695
695
  }
696
696
  function ft() {
697
697
  }
698
- function ve(e) {
698
+ function be(e) {
699
699
  e();
700
700
  }
701
- var Xt = function(e) {
702
- U(t, e);
701
+ var zt = function(e) {
702
+ D(t, e);
703
703
  function t(r) {
704
704
  var n = e.call(this) || this;
705
- return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = an, n;
705
+ return n.isStopped = !1, r ? (n.destination = r, jt(r) && r.add(n)) : n.destination = an, n;
706
706
  }
707
707
  return t.create = function(r, n, i) {
708
- return new ze(r, n, i);
708
+ return new Ve(r, n, i);
709
709
  }, t.prototype.next = function(r) {
710
710
  this.isStopped || this._next(r);
711
711
  }, t.prototype.error = function(r) {
@@ -730,10 +730,10 @@ var Xt = function(e) {
730
730
  }
731
731
  }, t;
732
732
  }(Ee), nn = Function.prototype.bind;
733
- function Oe(e, t) {
733
+ function Re(e, t) {
734
734
  return nn.call(e, t);
735
735
  }
736
- var sn = function() {
736
+ var on = function() {
737
737
  function e(t) {
738
738
  this.partialObserver = t;
739
739
  }
@@ -764,40 +764,40 @@ var sn = function() {
764
764
  pe(r);
765
765
  }
766
766
  }, e;
767
- }(), ze = function(e) {
768
- U(t, e);
767
+ }(), Ve = function(e) {
768
+ D(t, e);
769
769
  function t(r, n, i) {
770
- var s = e.call(this) || this, o;
771
- if (j(r) || !r)
772
- o = {
770
+ var o = e.call(this) || this, s;
771
+ if (k(r) || !r)
772
+ s = {
773
773
  next: r != null ? r : void 0,
774
774
  error: n != null ? n : void 0,
775
775
  complete: i != null ? i : void 0
776
776
  };
777
777
  else {
778
778
  var a;
779
- s && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
780
- return s.unsubscribe();
781
- }, o = {
782
- next: r.next && Oe(r.next, a),
783
- error: r.error && Oe(r.error, a),
784
- complete: r.complete && Oe(r.complete, a)
785
- }) : o = r;
779
+ o && Vt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
780
+ return o.unsubscribe();
781
+ }, s = {
782
+ next: r.next && Re(r.next, a),
783
+ error: r.error && Re(r.error, a),
784
+ complete: r.complete && Re(r.complete, a)
785
+ }) : s = r;
786
786
  }
787
- return s.destination = new sn(o), s;
787
+ return o.destination = new on(s), o;
788
788
  }
789
789
  return t;
790
- }(Xt);
790
+ }(zt);
791
791
  function pe(e) {
792
792
  rn(e);
793
793
  }
794
- function on(e) {
794
+ function sn(e) {
795
795
  throw e;
796
796
  }
797
797
  var an = {
798
798
  closed: !0,
799
799
  next: ft,
800
- error: on,
800
+ error: sn,
801
801
  complete: ft
802
802
  }, un = function() {
803
803
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
@@ -820,11 +820,11 @@ var pt = function() {
820
820
  var r = new e();
821
821
  return r.source = this, r.operator = t, r;
822
822
  }, e.prototype.subscribe = function(t, r, n) {
823
- var i = this, s = fn(t) ? t : new ze(t, r, n);
824
- return ve(function() {
825
- var o = i, a = o.operator, l = o.source;
826
- s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
827
- }), s;
823
+ var i = this, o = fn(t) ? t : new Ve(t, r, n);
824
+ return be(function() {
825
+ var s = i, a = s.operator, l = s.source;
826
+ o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
827
+ }), o;
828
828
  }, e.prototype._trySubscribe = function(t) {
829
829
  try {
830
830
  return this._subscribe(t);
@@ -833,19 +833,19 @@ var pt = function() {
833
833
  }
834
834
  }, e.prototype.forEach = function(t, r) {
835
835
  var n = this;
836
- return r = dt(r), new r(function(i, s) {
837
- var o = new ze({
836
+ return r = dt(r), new r(function(i, o) {
837
+ var s = new Ve({
838
838
  next: function(a) {
839
839
  try {
840
840
  t(a);
841
841
  } catch (l) {
842
- s(l), o.unsubscribe();
842
+ o(l), s.unsubscribe();
843
843
  }
844
844
  },
845
- error: s,
845
+ error: o,
846
846
  complete: i
847
847
  });
848
- n.subscribe(o);
848
+ n.subscribe(s);
849
849
  });
850
850
  }, e.prototype._subscribe = function(t) {
851
851
  var r;
@@ -859,13 +859,13 @@ var pt = function() {
859
859
  }, e.prototype.toPromise = function(t) {
860
860
  var r = this;
861
861
  return t = dt(t), new t(function(n, i) {
862
- var s;
863
- r.subscribe(function(o) {
864
- return s = o;
865
- }, function(o) {
866
- return i(o);
862
+ var o;
863
+ r.subscribe(function(s) {
864
+ return o = s;
865
+ }, function(s) {
866
+ return i(s);
867
867
  }, function() {
868
- return n(s);
868
+ return n(o);
869
869
  });
870
870
  });
871
871
  }, e.create = function(t) {
@@ -874,20 +874,20 @@ var pt = function() {
874
874
  }();
875
875
  function dt(e) {
876
876
  var t;
877
- return (t = e != null ? e : zt.Promise) !== null && t !== void 0 ? t : Promise;
877
+ return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
878
878
  }
879
879
  function cn(e) {
880
- return e && j(e.next) && j(e.error) && j(e.complete);
880
+ return e && k(e.next) && k(e.error) && k(e.complete);
881
881
  }
882
882
  function fn(e) {
883
- return e && e instanceof Xt || cn(e) && Gt(e);
883
+ return e && e instanceof zt || cn(e) && jt(e);
884
884
  }
885
- var pn = Dt(function(e) {
885
+ var pn = Ft(function(e) {
886
886
  return function() {
887
887
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
888
888
  };
889
- }), qt = function(e) {
890
- U(t, e);
889
+ }), Wt = function(e) {
890
+ D(t, e);
891
891
  function t() {
892
892
  var r = e.call(this) || this;
893
893
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -900,12 +900,12 @@ var pn = Dt(function(e) {
900
900
  throw new pn();
901
901
  }, t.prototype.next = function(r) {
902
902
  var n = this;
903
- ve(function() {
904
- var i, s;
903
+ be(function() {
904
+ var i, o;
905
905
  if (n._throwIfClosed(), !n.isStopped) {
906
906
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
907
907
  try {
908
- for (var o = De(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
908
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
909
909
  var l = a.value;
910
910
  l.next(r);
911
911
  }
@@ -913,7 +913,7 @@ var pn = Dt(function(e) {
913
913
  i = { error: u };
914
914
  } finally {
915
915
  try {
916
- a && !a.done && (s = o.return) && s.call(o);
916
+ a && !a.done && (o = s.return) && o.call(s);
917
917
  } finally {
918
918
  if (i) throw i.error;
919
919
  }
@@ -922,7 +922,7 @@ var pn = Dt(function(e) {
922
922
  });
923
923
  }, t.prototype.error = function(r) {
924
924
  var n = this;
925
- ve(function() {
925
+ be(function() {
926
926
  if (n._throwIfClosed(), !n.isStopped) {
927
927
  n.hasError = n.isStopped = !0, n.thrownError = r;
928
928
  for (var i = n.observers; i.length; )
@@ -931,7 +931,7 @@ var pn = Dt(function(e) {
931
931
  });
932
932
  }, t.prototype.complete = function() {
933
933
  var r = this;
934
- ve(function() {
934
+ be(function() {
935
935
  if (r._throwIfClosed(), !r.isStopped) {
936
936
  r.isStopped = !0;
937
937
  for (var n = r.observers; n.length; )
@@ -952,13 +952,13 @@ var pn = Dt(function(e) {
952
952
  }, t.prototype._subscribe = function(r) {
953
953
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
954
954
  }, t.prototype._innerSubscribe = function(r) {
955
- var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
956
- return s || o ? Ft : (this.currentObservers = null, a.push(r), new Ee(function() {
957
- n.currentObservers = null, Ge(a, r);
955
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
956
+ return o || s ? Gt : (this.currentObservers = null, a.push(r), new Ee(function() {
957
+ n.currentObservers = null, je(a, r);
958
958
  }));
959
959
  }, t.prototype._checkFinalizedStatuses = function(r) {
960
- var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
961
- i ? r.error(s) : o && r.complete();
960
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
961
+ i ? r.error(o) : s && r.complete();
962
962
  }, t.prototype.asObservable = function() {
963
963
  var r = new pt();
964
964
  return r.source = this, r;
@@ -966,7 +966,7 @@ var pn = Dt(function(e) {
966
966
  return new mt(r, n);
967
967
  }, t;
968
968
  }(pt), mt = function(e) {
969
- U(t, e);
969
+ D(t, e);
970
970
  function t(r, n) {
971
971
  var i = e.call(this) || this;
972
972
  return i.destination = r, i.source = n, i;
@@ -982,54 +982,54 @@ var pn = Dt(function(e) {
982
982
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
983
983
  }, t.prototype._subscribe = function(r) {
984
984
  var n, i;
985
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ft;
985
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
986
986
  }, t;
987
- }(qt), Wt = {
987
+ }(Wt), qt = {
988
988
  now: function() {
989
- return (Wt.delegate || Date).now();
989
+ return (qt.delegate || Date).now();
990
990
  },
991
991
  delegate: void 0
992
992
  }, dn = function(e) {
993
- U(t, e);
993
+ D(t, e);
994
994
  function t(r, n, i) {
995
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
996
- var s = e.call(this) || this;
997
- return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
995
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
996
+ var o = e.call(this) || this;
997
+ return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
998
998
  }
999
999
  return t.prototype.next = function(r) {
1000
- var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1001
- i || (s.push(r), !o && s.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1000
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1001
+ i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1002
1002
  }, t.prototype._subscribe = function(r) {
1003
1003
  this._throwIfClosed(), this._trimBuffer();
1004
- for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), l = 0; l < a.length && !r.closed; l += s ? 1 : 2)
1004
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1005
1005
  r.next(a[l]);
1006
1006
  return this._checkFinalizedStatuses(r), n;
1007
1007
  }, t.prototype._trimBuffer = function() {
1008
- var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
1009
- if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1010
- for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1008
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1009
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1010
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1011
1011
  u = h;
1012
- u && s.splice(0, u + 1);
1012
+ u && o.splice(0, u + 1);
1013
1013
  }
1014
1014
  }, t;
1015
- }(qt);
1016
- const vt = [], bt = {}, mn = (e, t = 0) => {
1017
- if (vt.indexOf(e) == -1) {
1015
+ }(Wt);
1016
+ const bt = [], yt = {}, mn = (e, t = 0) => {
1017
+ if (bt.indexOf(e) == -1) {
1018
1018
  const r = new dn(t);
1019
- bt[e] = r, vt.push(e);
1019
+ yt[e] = r, bt.push(e);
1020
1020
  }
1021
- return bt[e];
1021
+ return yt[e];
1022
1022
  }, Z = [];
1023
- function vn(e, t) {
1023
+ function bn(e, t) {
1024
1024
  return {
1025
1025
  subscribe: Se(e, t).subscribe
1026
1026
  };
1027
1027
  }
1028
- function Se(e, t = R) {
1028
+ function Se(e, t = M) {
1029
1029
  let r;
1030
1030
  const n = /* @__PURE__ */ new Set();
1031
1031
  function i(a) {
1032
- if (jt(e, a) && (e = a, r)) {
1032
+ if (kt(e, a) && (e = a, r)) {
1033
1033
  const l = !Z.length;
1034
1034
  for (const u of n)
1035
1035
  u[1](), Z.push(u, e);
@@ -1040,40 +1040,40 @@ function Se(e, t = R) {
1040
1040
  }
1041
1041
  }
1042
1042
  }
1043
- function s(a) {
1043
+ function o(a) {
1044
1044
  i(a(e));
1045
1045
  }
1046
- function o(a, l = R) {
1046
+ function s(a, l = M) {
1047
1047
  const u = [a, l];
1048
- return n.add(u), n.size === 1 && (r = t(i, s) || R), a(e), () => {
1048
+ return n.add(u), n.size === 1 && (r = t(i, o) || M), a(e), () => {
1049
1049
  n.delete(u), n.size === 0 && r && (r(), r = null);
1050
1050
  };
1051
1051
  }
1052
- return { set: i, update: s, subscribe: o };
1052
+ return { set: i, update: o, subscribe: s };
1053
1053
  }
1054
1054
  function ie(e, t, r) {
1055
1055
  const n = !Array.isArray(e), i = n ? [e] : e;
1056
1056
  if (!i.every(Boolean))
1057
1057
  throw new Error("derived() expects stores as input, got a falsy value");
1058
- const s = t.length < 2;
1059
- return vn(r, (o, a) => {
1058
+ const o = t.length < 2;
1059
+ return bn(r, (s, a) => {
1060
1060
  let l = !1;
1061
1061
  const u = [];
1062
- let h = 0, c = R;
1062
+ let h = 0, c = M;
1063
1063
  const f = () => {
1064
1064
  if (h)
1065
1065
  return;
1066
1066
  c();
1067
- const d = t(n ? u[0] : u, o, a);
1068
- s ? o(d) : c = Ke(d) ? d : R;
1067
+ const d = t(n ? u[0] : u, s, a);
1068
+ o ? s(d) : c = Ke(d) ? d : M;
1069
1069
  }, p = i.map(
1070
- (d, v) => $t(
1070
+ (d, b) => Ut(
1071
1071
  d,
1072
- (b) => {
1073
- u[v] = b, h &= ~(1 << v), l && f();
1072
+ (y) => {
1073
+ u[b] = y, h &= ~(1 << b), l && f();
1074
1074
  },
1075
1075
  () => {
1076
- h |= 1 << v;
1076
+ h |= 1 << b;
1077
1077
  }
1078
1078
  )
1079
1079
  );
@@ -1082,20 +1082,20 @@ function ie(e, t, r) {
1082
1082
  };
1083
1083
  });
1084
1084
  }
1085
- function bn(e) {
1085
+ function yn(e) {
1086
1086
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1087
1087
  }
1088
- var yn = function(t) {
1089
- return gn(t) && !_n(t);
1088
+ var gn = function(t) {
1089
+ return vn(t) && !xn(t);
1090
1090
  };
1091
- function gn(e) {
1091
+ function vn(e) {
1092
1092
  return !!e && typeof e == "object";
1093
1093
  }
1094
- function _n(e) {
1094
+ function xn(e) {
1095
1095
  var t = Object.prototype.toString.call(e);
1096
1096
  return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1097
1097
  }
1098
- var xn = typeof Symbol == "function" && Symbol.for, En = xn ? Symbol.for("react.element") : 60103;
1098
+ var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.element") : 60103;
1099
1099
  function Sn(e) {
1100
1100
  return e.$$typeof === En;
1101
1101
  }
@@ -1121,7 +1121,7 @@ function Cn(e) {
1121
1121
  return Object.propertyIsEnumerable.call(e, t);
1122
1122
  }) : [];
1123
1123
  }
1124
- function yt(e) {
1124
+ function gt(e) {
1125
1125
  return Object.keys(e).concat(Cn(e));
1126
1126
  }
1127
1127
  function Zt(e, t) {
@@ -1134,18 +1134,18 @@ function Zt(e, t) {
1134
1134
  function Bn(e, t) {
1135
1135
  return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1136
1136
  }
1137
- function An(e, t, r) {
1137
+ function Pn(e, t, r) {
1138
1138
  var n = {};
1139
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1139
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1140
1140
  n[i] = he(e[i], r);
1141
- }), yt(t).forEach(function(i) {
1141
+ }), gt(t).forEach(function(i) {
1142
1142
  Bn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1143
1143
  }), n;
1144
1144
  }
1145
1145
  function K(e, t, r) {
1146
- r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || yn, r.cloneUnlessOtherwiseSpecified = he;
1147
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1148
- return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : he(t, r);
1146
+ r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = he;
1147
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1148
+ return o ? n ? r.arrayMerge(e, t, r) : Pn(e, t, r) : he(t, r);
1149
1149
  }
1150
1150
  K.all = function(t, r) {
1151
1151
  if (!Array.isArray(t))
@@ -1154,57 +1154,57 @@ K.all = function(t, r) {
1154
1154
  return K(n, i, r);
1155
1155
  }, {});
1156
1156
  };
1157
- var Pn = K, On = Pn;
1158
- const kn = /* @__PURE__ */ bn(On);
1159
- var g;
1157
+ var An = K, Rn = An;
1158
+ const On = /* @__PURE__ */ yn(Rn);
1159
+ var v;
1160
1160
  (function(e) {
1161
1161
  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";
1162
- })(g || (g = {}));
1163
- var H;
1162
+ })(v || (v = {}));
1163
+ var w;
1164
1164
  (function(e) {
1165
1165
  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";
1166
- })(H || (H = {}));
1166
+ })(w || (w = {}));
1167
1167
  var ee;
1168
1168
  (function(e) {
1169
1169
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1170
1170
  })(ee || (ee = {}));
1171
- function gt(e) {
1172
- return e.type === H.literal;
1171
+ function vt(e) {
1172
+ return e.type === w.literal;
1173
1173
  }
1174
- function Rn(e) {
1175
- return e.type === H.argument;
1174
+ function Mn(e) {
1175
+ return e.type === w.argument;
1176
1176
  }
1177
1177
  function Qt(e) {
1178
- return e.type === H.number;
1178
+ return e.type === w.number;
1179
1179
  }
1180
1180
  function Jt(e) {
1181
- return e.type === H.date;
1181
+ return e.type === w.date;
1182
1182
  }
1183
1183
  function Yt(e) {
1184
- return e.type === H.time;
1184
+ return e.type === w.time;
1185
1185
  }
1186
1186
  function Kt(e) {
1187
- return e.type === H.select;
1187
+ return e.type === w.select;
1188
1188
  }
1189
1189
  function er(e) {
1190
- return e.type === H.plural;
1190
+ return e.type === w.plural;
1191
1191
  }
1192
- function Mn(e) {
1193
- return e.type === H.pound;
1192
+ function In(e) {
1193
+ return e.type === w.pound;
1194
1194
  }
1195
1195
  function tr(e) {
1196
- return e.type === H.tag;
1196
+ return e.type === w.tag;
1197
1197
  }
1198
1198
  function rr(e) {
1199
1199
  return !!(e && typeof e == "object" && e.type === ee.number);
1200
1200
  }
1201
- function Ve(e) {
1201
+ function Xe(e) {
1202
1202
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
1203
1203
  }
1204
- var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
1205
- function Ln(e) {
1204
+ var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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;
1205
+ function Nn(e) {
1206
1206
  var t = {};
1207
- return e.replace(In, function(r) {
1207
+ return e.replace(Ln, function(r) {
1208
1208
  var n = r.length;
1209
1209
  switch (r[0]) {
1210
1210
  case "G":
@@ -1293,17 +1293,17 @@ function Ln(e) {
1293
1293
  return "";
1294
1294
  }), t;
1295
1295
  }
1296
- var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1297
- function jn(e) {
1296
+ var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1297
+ function kn(e) {
1298
1298
  if (e.length === 0)
1299
1299
  throw new Error("Number skeleton cannot be empty");
1300
- for (var t = e.split(Nn).filter(function(f) {
1300
+ for (var t = e.split($n).filter(function(f) {
1301
1301
  return f.length > 0;
1302
1302
  }), r = [], n = 0, i = t; n < i.length; n++) {
1303
- var s = i[n], o = s.split("/");
1304
- if (o.length === 0)
1303
+ var o = i[n], s = o.split("/");
1304
+ if (s.length === 0)
1305
1305
  throw new Error("Invalid number skeleton");
1306
- for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
1306
+ for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1307
1307
  var c = h[u];
1308
1308
  if (c.length === 0)
1309
1309
  throw new Error("Invalid number skeleton");
@@ -1312,17 +1312,17 @@ function jn(e) {
1312
1312
  }
1313
1313
  return r;
1314
1314
  }
1315
- function $n(e) {
1315
+ function Un(e) {
1316
1316
  return e.replace(/^(.*?)-/, "");
1317
1317
  }
1318
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Un = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1319
- function xt(e) {
1318
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1319
+ function _t(e) {
1320
1320
  var t = {};
1321
1321
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
1322
1322
  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)), "";
1323
1323
  }), t;
1324
1324
  }
1325
- function or(e) {
1325
+ function sr(e) {
1326
1326
  switch (e) {
1327
1327
  case "sign-auto":
1328
1328
  return {
@@ -1362,7 +1362,7 @@ function or(e) {
1362
1362
  };
1363
1363
  }
1364
1364
  }
1365
- function Dn(e) {
1365
+ function Fn(e) {
1366
1366
  var t;
1367
1367
  if (e[0] === "E" && e[1] === "E" ? (t = {
1368
1368
  notation: "engineering"
@@ -1370,17 +1370,17 @@ function Dn(e) {
1370
1370
  notation: "scientific"
1371
1371
  }, e = e.slice(1)), t) {
1372
1372
  var r = e.slice(0, 2);
1373
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1373
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1374
1374
  throw new Error("Malformed concise eng/scientific notation");
1375
1375
  t.minimumIntegerDigits = e.length;
1376
1376
  }
1377
1377
  return t;
1378
1378
  }
1379
1379
  function Et(e) {
1380
- var t = {}, r = or(e);
1380
+ var t = {}, r = sr(e);
1381
1381
  return r || t;
1382
1382
  }
1383
- function Fn(e) {
1383
+ function Gn(e) {
1384
1384
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1385
1385
  var i = n[r];
1386
1386
  switch (i.stem) {
@@ -1404,7 +1404,7 @@ function Fn(e) {
1404
1404
  continue;
1405
1405
  case "measure-unit":
1406
1406
  case "unit":
1407
- t.style = "unit", t.unit = $n(i.options[0]);
1407
+ t.style = "unit", t.unit = Un(i.options[0]);
1408
1408
  continue;
1409
1409
  case "compact-short":
1410
1410
  case "K":
@@ -1466,7 +1466,7 @@ function Fn(e) {
1466
1466
  case "integer-width":
1467
1467
  if (i.options.length > 1)
1468
1468
  throw new RangeError("integer-width stems only accept a single optional option");
1469
- i.options[0].replace(Un, function(l, u, h, c, f, p) {
1469
+ i.options[0].replace(Dn, function(l, u, h, c, f, p) {
1470
1470
  if (u)
1471
1471
  t.minimumIntegerDigits = h.length;
1472
1472
  else {
@@ -1479,27 +1479,27 @@ function Fn(e) {
1479
1479
  });
1480
1480
  continue;
1481
1481
  }
1482
- if (sr.test(i.stem)) {
1482
+ if (or.test(i.stem)) {
1483
1483
  t.minimumIntegerDigits = i.stem.length;
1484
1484
  continue;
1485
1485
  }
1486
- if (_t.test(i.stem)) {
1486
+ if (xt.test(i.stem)) {
1487
1487
  if (i.options.length > 1)
1488
1488
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1489
- i.stem.replace(_t, function(l, u, h, c, f, p) {
1489
+ i.stem.replace(xt, function(l, u, h, c, f, p) {
1490
1490
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1491
1491
  });
1492
- var s = i.options[0];
1493
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), xt(s)));
1492
+ var o = i.options[0];
1493
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), _t(o)));
1494
1494
  continue;
1495
1495
  }
1496
1496
  if (ir.test(i.stem)) {
1497
- t = E(E({}, t), xt(i.stem));
1497
+ t = E(E({}, t), _t(i.stem));
1498
1498
  continue;
1499
1499
  }
1500
- var o = or(i.stem);
1501
- o && (t = E(E({}, t), o));
1502
- var a = Dn(i.stem);
1500
+ var s = sr(i.stem);
1501
+ s && (t = E(E({}, t), s));
1502
+ var a = Fn(i.stem);
1503
1503
  a && (t = E(E({}, t), a));
1504
1504
  }
1505
1505
  return t;
@@ -2913,22 +2913,22 @@ var de = {
2913
2913
  "h"
2914
2914
  ]
2915
2915
  };
2916
- function Gn(e, t) {
2916
+ function jn(e, t) {
2917
2917
  for (var r = "", n = 0; n < e.length; n++) {
2918
2918
  var i = e.charAt(n);
2919
2919
  if (i === "j") {
2920
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2921
- s++, n++;
2922
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = zn(t);
2920
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2921
+ o++, n++;
2922
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Vn(t);
2923
2923
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2924
2924
  r += l;
2925
- for (; o-- > 0; )
2925
+ for (; s-- > 0; )
2926
2926
  r = u + r;
2927
2927
  } else i === "J" ? r += "H" : r += i;
2928
2928
  }
2929
2929
  return r;
2930
2930
  }
2931
- function zn(e) {
2931
+ function Vn(e) {
2932
2932
  var t = e.hourCycle;
2933
2933
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2934
2934
  e.hourCycles && // @ts-ignore
@@ -2950,20 +2950,20 @@ function zn(e) {
2950
2950
  var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2951
2951
  return i[0];
2952
2952
  }
2953
- var ke, Vn = new RegExp("^".concat(nr.source, "*")), Xn = new RegExp("".concat(nr.source, "*$"));
2954
- function _(e, t) {
2953
+ var Oe, Xn = new RegExp("^".concat(nr.source, "*")), zn = new RegExp("".concat(nr.source, "*$"));
2954
+ function x(e, t) {
2955
2955
  return { start: e, end: t };
2956
2956
  }
2957
- var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2957
+ var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2958
2958
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2959
- }, Xe = !0;
2959
+ }, ze = !0;
2960
2960
  try {
2961
2961
  var ti = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2962
- Xe = ((ke = ti.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2962
+ ze = ((Oe = ti.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2963
2963
  } catch (e) {
2964
- Xe = !1;
2964
+ ze = !1;
2965
2965
  }
2966
- var St = qn ? (
2966
+ var St = Wn ? (
2967
2967
  // Native
2968
2968
  function(t, r, n) {
2969
2969
  return t.startsWith(r, n);
@@ -2973,15 +2973,15 @@ var St = qn ? (
2973
2973
  function(t, r, n) {
2974
2974
  return t.slice(n, n + r.length) === r;
2975
2975
  }
2976
- ), qe = Wn ? String.fromCodePoint : (
2976
+ ), We = qn ? String.fromCodePoint : (
2977
2977
  // IE11
2978
2978
  function() {
2979
2979
  for (var t = [], r = 0; r < arguments.length; r++)
2980
2980
  t[r] = arguments[r];
2981
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2982
- if (o = t[s++], o > 1114111)
2983
- throw RangeError(o + " is not a valid code point");
2984
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2981
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2982
+ if (s = t[o++], s > 1114111)
2983
+ throw RangeError(s + " is not a valid code point");
2984
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2985
2985
  }
2986
2986
  return n;
2987
2987
  }
@@ -2991,8 +2991,8 @@ var St = qn ? (
2991
2991
  // Ponyfill
2992
2992
  function(t) {
2993
2993
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2994
- var s = i[n], o = s[0], a = s[1];
2995
- r[o] = a;
2994
+ var o = i[n], s = o[0], a = o[1];
2995
+ r[s] = a;
2996
2996
  }
2997
2997
  return r;
2998
2998
  }
@@ -3007,8 +3007,8 @@ var St = qn ? (
3007
3007
  function(t, r) {
3008
3008
  var n = t.length;
3009
3009
  if (!(r < 0 || r >= n)) {
3010
- var i = t.charCodeAt(r), s;
3011
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3010
+ var i = t.charCodeAt(r), o;
3011
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3012
3012
  }
3013
3013
  }
3014
3014
  ), ri = Jn ? (
@@ -3019,7 +3019,7 @@ var St = qn ? (
3019
3019
  ) : (
3020
3020
  // Ponyfill
3021
3021
  function(t) {
3022
- return t.replace(Vn, "");
3022
+ return t.replace(Xn, "");
3023
3023
  }
3024
3024
  ), ni = Yn ? (
3025
3025
  // Native
@@ -3029,30 +3029,30 @@ var St = qn ? (
3029
3029
  ) : (
3030
3030
  // Ponyfill
3031
3031
  function(t) {
3032
- return t.replace(Xn, "");
3032
+ return t.replace(zn, "");
3033
3033
  }
3034
3034
  );
3035
3035
  function ur(e, t) {
3036
3036
  return new RegExp(e, t);
3037
3037
  }
3038
- var We;
3039
- if (Xe) {
3038
+ var qe;
3039
+ if (ze) {
3040
3040
  var wt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3041
- We = function(t, r) {
3041
+ qe = function(t, r) {
3042
3042
  var n;
3043
3043
  wt.lastIndex = r;
3044
3044
  var i = wt.exec(t);
3045
3045
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3046
3046
  };
3047
3047
  } else
3048
- We = function(t, r) {
3048
+ qe = function(t, r) {
3049
3049
  for (var n = []; ; ) {
3050
3050
  var i = ar(t, r);
3051
3051
  if (i === void 0 || lr(i) || ai(i))
3052
3052
  break;
3053
3053
  n.push(i), r += i >= 65536 ? 2 : 1;
3054
3054
  }
3055
- return qe.apply(void 0, n);
3055
+ return We.apply(void 0, n);
3056
3056
  };
3057
3057
  var ii = (
3058
3058
  /** @class */
@@ -3066,35 +3066,35 @@ var ii = (
3066
3066
  return this.parseMessage(0, "", !1);
3067
3067
  }, e.prototype.parseMessage = function(t, r, n) {
3068
3068
  for (var i = []; !this.isEOF(); ) {
3069
- var s = this.char();
3070
- if (s === 123) {
3071
- var o = this.parseArgument(t, n);
3072
- if (o.err)
3073
- return o;
3074
- i.push(o.val);
3069
+ var o = this.char();
3070
+ if (o === 123) {
3071
+ var s = this.parseArgument(t, n);
3072
+ if (s.err)
3073
+ return s;
3074
+ i.push(s.val);
3075
3075
  } else {
3076
- if (s === 125 && t > 0)
3076
+ if (o === 125 && t > 0)
3077
3077
  break;
3078
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
3078
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3079
3079
  var a = this.clonePosition();
3080
3080
  this.bump(), i.push({
3081
- type: H.pound,
3082
- location: _(a, this.clonePosition())
3081
+ type: w.pound,
3082
+ location: x(a, this.clonePosition())
3083
3083
  });
3084
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3084
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3085
3085
  if (n)
3086
3086
  break;
3087
- return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3088
- } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3089
- var o = this.parseTag(t, r);
3090
- if (o.err)
3091
- return o;
3092
- i.push(o.val);
3087
+ return this.error(v.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3088
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3089
+ var s = this.parseTag(t, r);
3090
+ if (s.err)
3091
+ return s;
3092
+ i.push(s.val);
3093
3093
  } else {
3094
- var o = this.parseLiteral(t, r);
3095
- if (o.err)
3096
- return o;
3097
- i.push(o.val);
3094
+ var s = this.parseLiteral(t, r);
3095
+ if (s.err)
3096
+ return s;
3097
+ i.push(s.val);
3098
3098
  }
3099
3099
  }
3100
3100
  }
@@ -3106,51 +3106,51 @@ var ii = (
3106
3106
  if (this.bumpSpace(), this.bumpIf("/>"))
3107
3107
  return {
3108
3108
  val: {
3109
- type: H.literal,
3109
+ type: w.literal,
3110
3110
  value: "<".concat(i, "/>"),
3111
- location: _(n, this.clonePosition())
3111
+ location: x(n, this.clonePosition())
3112
3112
  },
3113
3113
  err: null
3114
3114
  };
3115
3115
  if (this.bumpIf(">")) {
3116
- var s = this.parseMessage(t + 1, r, !0);
3117
- if (s.err)
3118
- return s;
3119
- var o = s.val, a = this.clonePosition();
3116
+ var o = this.parseMessage(t + 1, r, !0);
3117
+ if (o.err)
3118
+ return o;
3119
+ var s = o.val, a = this.clonePosition();
3120
3120
  if (this.bumpIf("</")) {
3121
3121
  if (this.isEOF() || !Ze(this.char()))
3122
- return this.error(g.INVALID_TAG, _(a, this.clonePosition()));
3122
+ return this.error(v.INVALID_TAG, x(a, this.clonePosition()));
3123
3123
  var l = this.clonePosition(), u = this.parseTagName();
3124
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3124
+ return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3125
3125
  val: {
3126
- type: H.tag,
3126
+ type: w.tag,
3127
3127
  value: i,
3128
- children: o,
3129
- location: _(n, this.clonePosition())
3128
+ children: s,
3129
+ location: x(n, this.clonePosition())
3130
3130
  },
3131
3131
  err: null
3132
- } : this.error(g.INVALID_TAG, _(a, this.clonePosition())));
3132
+ } : this.error(v.INVALID_TAG, x(a, this.clonePosition())));
3133
3133
  } else
3134
- return this.error(g.UNCLOSED_TAG, _(n, this.clonePosition()));
3134
+ return this.error(v.UNCLOSED_TAG, x(n, this.clonePosition()));
3135
3135
  } else
3136
- return this.error(g.INVALID_TAG, _(n, this.clonePosition()));
3136
+ return this.error(v.INVALID_TAG, x(n, this.clonePosition()));
3137
3137
  }, e.prototype.parseTagName = function() {
3138
3138
  var t = this.offset();
3139
- for (this.bump(); !this.isEOF() && oi(this.char()); )
3139
+ for (this.bump(); !this.isEOF() && si(this.char()); )
3140
3140
  this.bump();
3141
3141
  return this.message.slice(t, this.offset());
3142
3142
  }, e.prototype.parseLiteral = function(t, r) {
3143
3143
  for (var n = this.clonePosition(), i = ""; ; ) {
3144
- var s = this.tryParseQuote(r);
3145
- if (s) {
3146
- i += s;
3147
- continue;
3148
- }
3149
- var o = this.tryParseUnquoted(t, r);
3144
+ var o = this.tryParseQuote(r);
3150
3145
  if (o) {
3151
3146
  i += o;
3152
3147
  continue;
3153
3148
  }
3149
+ var s = this.tryParseUnquoted(t, r);
3150
+ if (s) {
3151
+ i += s;
3152
+ continue;
3153
+ }
3154
3154
  var a = this.tryParseLeftAngleBracket();
3155
3155
  if (a) {
3156
3156
  i += a;
@@ -3158,14 +3158,14 @@ var ii = (
3158
3158
  }
3159
3159
  break;
3160
3160
  }
3161
- var l = _(n, this.clonePosition());
3161
+ var l = x(n, this.clonePosition());
3162
3162
  return {
3163
- val: { type: H.literal, value: i, location: l },
3163
+ val: { type: w.literal, value: i, location: l },
3164
3164
  err: null
3165
3165
  };
3166
3166
  }, e.prototype.tryParseLeftAngleBracket = function() {
3167
3167
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3168
- !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3168
+ !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3169
3169
  }, e.prototype.tryParseQuote = function(t) {
3170
3170
  if (this.isEOF() || this.char() !== 39)
3171
3171
  return null;
@@ -3199,49 +3199,49 @@ var ii = (
3199
3199
  r.push(n);
3200
3200
  this.bump();
3201
3201
  }
3202
- return qe.apply(void 0, r);
3202
+ return We.apply(void 0, r);
3203
3203
  }, e.prototype.tryParseUnquoted = function(t, r) {
3204
3204
  if (this.isEOF())
3205
3205
  return null;
3206
3206
  var n = this.char();
3207
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3207
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3208
3208
  }, e.prototype.parseArgument = function(t, r) {
3209
3209
  var n = this.clonePosition();
3210
3210
  if (this.bump(), this.bumpSpace(), this.isEOF())
3211
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3211
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3212
3212
  if (this.char() === 125)
3213
- return this.bump(), this.error(g.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3213
+ return this.bump(), this.error(v.EMPTY_ARGUMENT, x(n, this.clonePosition()));
3214
3214
  var i = this.parseIdentifierIfPossible().value;
3215
3215
  if (!i)
3216
- return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3216
+ return this.error(v.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3217
3217
  if (this.bumpSpace(), this.isEOF())
3218
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3218
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3219
3219
  switch (this.char()) {
3220
3220
  case 125:
3221
3221
  return this.bump(), {
3222
3222
  val: {
3223
- type: H.argument,
3223
+ type: w.argument,
3224
3224
  // value does not include the opening and closing braces.
3225
3225
  value: i,
3226
- location: _(n, this.clonePosition())
3226
+ location: x(n, this.clonePosition())
3227
3227
  },
3228
3228
  err: null
3229
3229
  };
3230
3230
  case 44:
3231
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3231
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3232
3232
  default:
3233
- return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3233
+ return this.error(v.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3234
3234
  }
3235
3235
  }, e.prototype.parseIdentifierIfPossible = function() {
3236
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3236
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3237
3237
  this.bumpTo(i);
3238
- var s = this.clonePosition(), o = _(t, s);
3239
- return { value: n, location: o };
3238
+ var o = this.clonePosition(), s = x(t, o);
3239
+ return { value: n, location: s };
3240
3240
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3241
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3241
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3242
3242
  switch (a) {
3243
3243
  case "":
3244
- return this.error(g.EXPECT_ARGUMENT_TYPE, _(o, l));
3244
+ return this.error(v.EXPECT_ARGUMENT_TYPE, x(s, l));
3245
3245
  case "number":
3246
3246
  case "date":
3247
3247
  case "time": {
@@ -3254,45 +3254,45 @@ var ii = (
3254
3254
  return c;
3255
3255
  var f = ni(c.val);
3256
3256
  if (f.length === 0)
3257
- return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3258
- var p = _(h, this.clonePosition());
3257
+ return this.error(v.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3258
+ var p = x(h, this.clonePosition());
3259
3259
  u = { style: f, styleLocation: p };
3260
3260
  }
3261
3261
  var d = this.tryParseArgumentClose(i);
3262
3262
  if (d.err)
3263
3263
  return d;
3264
- var v = _(i, this.clonePosition());
3264
+ var b = x(i, this.clonePosition());
3265
3265
  if (u && St(u == null ? void 0 : u.style, "::", 0)) {
3266
- var b = ri(u.style.slice(2));
3266
+ var y = ri(u.style.slice(2));
3267
3267
  if (a === "number") {
3268
- var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
3268
+ var c = this.parseNumberSkeletonFromString(y, u.styleLocation);
3269
3269
  return c.err ? c : {
3270
- val: { type: H.number, value: n, location: v, style: c.val },
3270
+ val: { type: w.number, value: n, location: b, style: c.val },
3271
3271
  err: null
3272
3272
  };
3273
3273
  } else {
3274
- if (b.length === 0)
3275
- return this.error(g.EXPECT_DATE_TIME_SKELETON, v);
3276
- var S = b;
3277
- this.locale && (S = Gn(b, this.locale));
3274
+ if (y.length === 0)
3275
+ return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
3276
+ var S = y;
3277
+ this.locale && (S = jn(y, this.locale));
3278
3278
  var f = {
3279
3279
  type: ee.dateTime,
3280
3280
  pattern: S,
3281
3281
  location: u.styleLocation,
3282
- parsedOptions: this.shouldParseSkeletons ? Ln(S) : {}
3283
- }, x = a === "date" ? H.date : H.time;
3282
+ parsedOptions: this.shouldParseSkeletons ? Nn(S) : {}
3283
+ }, _ = a === "date" ? w.date : w.time;
3284
3284
  return {
3285
- val: { type: x, value: n, location: v, style: f },
3285
+ val: { type: _, value: n, location: b, style: f },
3286
3286
  err: null
3287
3287
  };
3288
3288
  }
3289
3289
  }
3290
3290
  return {
3291
3291
  val: {
3292
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3292
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3293
3293
  value: n,
3294
- location: v,
3295
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3294
+ location: b,
3295
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3296
3296
  },
3297
3297
  err: null
3298
3298
  };
@@ -3302,39 +3302,39 @@ var ii = (
3302
3302
  case "select": {
3303
3303
  var C = this.clonePosition();
3304
3304
  if (this.bumpSpace(), !this.bumpIf(","))
3305
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(C, E({}, C)));
3305
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, x(C, E({}, C)));
3306
3306
  this.bumpSpace();
3307
- var G = this.parseIdentifierIfPossible(), L = 0;
3308
- if (a !== "select" && G.value === "offset") {
3307
+ var j = this.parseIdentifierIfPossible(), N = 0;
3308
+ if (a !== "select" && j.value === "offset") {
3309
3309
  if (!this.bumpIf(":"))
3310
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3310
+ return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3311
3311
  this.bumpSpace();
3312
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3312
+ var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3313
3313
  if (c.err)
3314
3314
  return c;
3315
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), L = c.val;
3315
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), N = c.val;
3316
3316
  }
3317
- var X = this.tryParsePluralOrSelectOptions(t, a, r, G);
3318
- if (X.err)
3319
- return X;
3317
+ var z = this.tryParsePluralOrSelectOptions(t, a, r, j);
3318
+ if (z.err)
3319
+ return z;
3320
3320
  var d = this.tryParseArgumentClose(i);
3321
3321
  if (d.err)
3322
3322
  return d;
3323
- var ae = _(i, this.clonePosition());
3323
+ var ae = x(i, this.clonePosition());
3324
3324
  return a === "select" ? {
3325
3325
  val: {
3326
- type: H.select,
3326
+ type: w.select,
3327
3327
  value: n,
3328
- options: Tt(X.val),
3328
+ options: Tt(z.val),
3329
3329
  location: ae
3330
3330
  },
3331
3331
  err: null
3332
3332
  } : {
3333
3333
  val: {
3334
- type: H.plural,
3334
+ type: w.plural,
3335
3335
  value: n,
3336
- options: Tt(X.val),
3337
- offset: L,
3336
+ options: Tt(z.val),
3337
+ offset: N,
3338
3338
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3339
3339
  location: ae
3340
3340
  },
@@ -3342,10 +3342,10 @@ var ii = (
3342
3342
  };
3343
3343
  }
3344
3344
  default:
3345
- return this.error(g.INVALID_ARGUMENT_TYPE, _(o, l));
3345
+ return this.error(v.INVALID_ARGUMENT_TYPE, x(s, l));
3346
3346
  }
3347
3347
  }, e.prototype.tryParseArgumentClose = function(t) {
3348
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3348
+ return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3349
3349
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3350
3350
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3351
3351
  var n = this.char();
@@ -3354,7 +3354,7 @@ var ii = (
3354
3354
  this.bump();
3355
3355
  var i = this.clonePosition();
3356
3356
  if (!this.bumpUntil("'"))
3357
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3357
+ return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3358
3358
  this.bump();
3359
3359
  break;
3360
3360
  }
@@ -3384,64 +3384,64 @@ var ii = (
3384
3384
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3385
3385
  var n = [];
3386
3386
  try {
3387
- n = jn(t);
3387
+ n = kn(t);
3388
3388
  } catch (i) {
3389
- return this.error(g.INVALID_NUMBER_SKELETON, r);
3389
+ return this.error(v.INVALID_NUMBER_SKELETON, r);
3390
3390
  }
3391
3391
  return {
3392
3392
  val: {
3393
3393
  type: ee.number,
3394
3394
  tokens: n,
3395
3395
  location: r,
3396
- parsedOptions: this.shouldParseSkeletons ? Fn(n) : {}
3396
+ parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
3397
3397
  },
3398
3398
  err: null
3399
3399
  };
3400
3400
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3401
- for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3401
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3402
3402
  if (u.length === 0) {
3403
3403
  var c = this.clonePosition();
3404
3404
  if (r !== "select" && this.bumpIf("=")) {
3405
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3405
+ var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3406
3406
  if (f.err)
3407
3407
  return f;
3408
- h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3408
+ h = x(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3409
3409
  } else
3410
3410
  break;
3411
3411
  }
3412
3412
  if (l.has(u))
3413
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3414
- u === "other" && (o = !0), this.bumpSpace();
3413
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3414
+ u === "other" && (s = !0), this.bumpSpace();
3415
3415
  var p = this.clonePosition();
3416
3416
  if (!this.bumpIf("{"))
3417
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3417
+ return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3418
3418
  var d = this.parseMessage(t + 1, r, n);
3419
3419
  if (d.err)
3420
3420
  return d;
3421
- var v = this.tryParseArgumentClose(p);
3422
- if (v.err)
3423
- return v;
3421
+ var b = this.tryParseArgumentClose(p);
3422
+ if (b.err)
3423
+ return b;
3424
3424
  a.push([
3425
3425
  u,
3426
3426
  {
3427
3427
  value: d.val,
3428
- location: _(p, this.clonePosition())
3428
+ location: x(p, this.clonePosition())
3429
3429
  }
3430
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3430
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3431
3431
  }
3432
- return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3432
+ return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3433
3433
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3434
3434
  var n = 1, i = this.clonePosition();
3435
3435
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3436
- for (var s = !1, o = 0; !this.isEOF(); ) {
3436
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3437
3437
  var a = this.char();
3438
3438
  if (a >= 48 && a <= 57)
3439
- s = !0, o = o * 10 + (a - 48), this.bump();
3439
+ o = !0, s = s * 10 + (a - 48), this.bump();
3440
3440
  else
3441
3441
  break;
3442
3442
  }
3443
- var l = _(i, this.clonePosition());
3444
- return s ? (o *= n, ei(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3443
+ var l = x(i, this.clonePosition());
3444
+ return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3445
3445
  }, e.prototype.offset = function() {
3446
3446
  return this.position.offset;
3447
3447
  }, e.prototype.isEOF = function() {
@@ -3510,10 +3510,10 @@ var ii = (
3510
3510
  function Ze(e) {
3511
3511
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3512
3512
  }
3513
- function si(e) {
3513
+ function oi(e) {
3514
3514
  return Ze(e) || e === 47;
3515
3515
  }
3516
- function oi(e) {
3516
+ function si(e) {
3517
3517
  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;
3518
3518
  }
3519
3519
  function lr(e) {
@@ -3527,19 +3527,19 @@ function Qe(e) {
3527
3527
  if (delete t.location, Kt(t) || er(t))
3528
3528
  for (var r in t.options)
3529
3529
  delete t.options[r].location, Qe(t.options[r].value);
3530
- else Qt(t) && rr(t.style) || (Jt(t) || Yt(t)) && Ve(t.style) ? delete t.style.location : tr(t) && Qe(t.children);
3530
+ else Qt(t) && rr(t.style) || (Jt(t) || Yt(t)) && Xe(t.style) ? delete t.style.location : tr(t) && Qe(t.children);
3531
3531
  });
3532
3532
  }
3533
3533
  function ui(e, t) {
3534
3534
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3535
3535
  var r = new ii(e, t).parse();
3536
3536
  if (r.err) {
3537
- var n = SyntaxError(g[r.err.kind]);
3537
+ var n = SyntaxError(v[r.err.kind]);
3538
3538
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3539
3539
  }
3540
3540
  return t != null && t.captureLocation || Qe(r.val), r.val;
3541
3541
  }
3542
- function Re(e, t) {
3542
+ function Me(e, t) {
3543
3543
  var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : hi;
3544
3544
  return i(e, {
3545
3545
  cache: r,
@@ -3550,12 +3550,12 @@ function li(e) {
3550
3550
  return e == null || typeof e == "number" || typeof e == "boolean";
3551
3551
  }
3552
3552
  function hr(e, t, r, n) {
3553
- var i = li(n) ? n : r(n), s = t.get(i);
3554
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
3553
+ var i = li(n) ? n : r(n), o = t.get(i);
3554
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3555
3555
  }
3556
3556
  function cr(e, t, r) {
3557
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
3558
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
3557
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3558
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3559
3559
  }
3560
3560
  function tt(e, t, r, n, i) {
3561
3561
  return r.bind(t, e, n, i);
@@ -3586,7 +3586,7 @@ var di = {
3586
3586
  create: function() {
3587
3587
  return new rt();
3588
3588
  }
3589
- }, Me = {
3589
+ }, Ie = {
3590
3590
  variadic: ci,
3591
3591
  monadic: fi
3592
3592
  }, te;
@@ -3596,10 +3596,10 @@ var di = {
3596
3596
  var Te = (
3597
3597
  /** @class */
3598
3598
  function(e) {
3599
- U(t, e);
3599
+ D(t, e);
3600
3600
  function t(r, n, i) {
3601
- var s = e.call(this, r) || this;
3602
- return s.code = n, s.originalMessage = i, s;
3601
+ var o = e.call(this, r) || this;
3602
+ return o.code = n, o.originalMessage = i, o;
3603
3603
  }
3604
3604
  return t.prototype.toString = function() {
3605
3605
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3608,90 +3608,90 @@ var Te = (
3608
3608
  ), Ht = (
3609
3609
  /** @class */
3610
3610
  function(e) {
3611
- U(t, e);
3612
- function t(r, n, i, s) {
3613
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3611
+ D(t, e);
3612
+ function t(r, n, i, o) {
3613
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3614
3614
  }
3615
3615
  return t;
3616
3616
  }(Te)
3617
3617
  ), mi = (
3618
3618
  /** @class */
3619
3619
  function(e) {
3620
- U(t, e);
3620
+ D(t, e);
3621
3621
  function t(r, n, i) {
3622
3622
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3623
3623
  }
3624
3624
  return t;
3625
3625
  }(Te)
3626
- ), vi = (
3626
+ ), bi = (
3627
3627
  /** @class */
3628
3628
  function(e) {
3629
- U(t, e);
3629
+ D(t, e);
3630
3630
  function t(r, n) {
3631
3631
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3632
3632
  }
3633
3633
  return t;
3634
3634
  }(Te)
3635
- ), P;
3635
+ ), A;
3636
3636
  (function(e) {
3637
3637
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3638
- })(P || (P = {}));
3639
- function bi(e) {
3638
+ })(A || (A = {}));
3639
+ function yi(e) {
3640
3640
  return e.length < 2 ? e : e.reduce(function(t, r) {
3641
3641
  var n = t[t.length - 1];
3642
- return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3642
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3643
3643
  }, []);
3644
3644
  }
3645
- function yi(e) {
3645
+ function gi(e) {
3646
3646
  return typeof e == "function";
3647
3647
  }
3648
- function be(e, t, r, n, i, s, o) {
3649
- if (e.length === 1 && gt(e[0]))
3648
+ function ye(e, t, r, n, i, o, s) {
3649
+ if (e.length === 1 && vt(e[0]))
3650
3650
  return [
3651
3651
  {
3652
- type: P.literal,
3652
+ type: A.literal,
3653
3653
  value: e[0].value
3654
3654
  }
3655
3655
  ];
3656
3656
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3657
3657
  var h = u[l];
3658
- if (gt(h)) {
3658
+ if (vt(h)) {
3659
3659
  a.push({
3660
- type: P.literal,
3660
+ type: A.literal,
3661
3661
  value: h.value
3662
3662
  });
3663
3663
  continue;
3664
3664
  }
3665
- if (Mn(h)) {
3666
- typeof s == "number" && a.push({
3667
- type: P.literal,
3668
- value: r.getNumberFormat(t).format(s)
3665
+ if (In(h)) {
3666
+ typeof o == "number" && a.push({
3667
+ type: A.literal,
3668
+ value: r.getNumberFormat(t).format(o)
3669
3669
  });
3670
3670
  continue;
3671
3671
  }
3672
3672
  var c = h.value;
3673
3673
  if (!(i && c in i))
3674
- throw new vi(c, o);
3674
+ throw new bi(c, s);
3675
3675
  var f = i[c];
3676
- if (Rn(h)) {
3676
+ if (Mn(h)) {
3677
3677
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3678
- type: typeof f == "string" ? P.literal : P.object,
3678
+ type: typeof f == "string" ? A.literal : A.object,
3679
3679
  value: f
3680
3680
  });
3681
3681
  continue;
3682
3682
  }
3683
3683
  if (Jt(h)) {
3684
- var p = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3684
+ var p = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3685
3685
  a.push({
3686
- type: P.literal,
3686
+ type: A.literal,
3687
3687
  value: r.getDateTimeFormat(t, p).format(f)
3688
3688
  });
3689
3689
  continue;
3690
3690
  }
3691
3691
  if (Yt(h)) {
3692
- var p = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3692
+ var p = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3693
3693
  a.push({
3694
- type: P.literal,
3694
+ type: A.literal,
3695
3695
  value: r.getDateTimeFormat(t, p).format(f)
3696
3696
  });
3697
3697
  continue;
@@ -3699,30 +3699,30 @@ function be(e, t, r, n, i, s, o) {
3699
3699
  if (Qt(h)) {
3700
3700
  var p = typeof h.style == "string" ? n.number[h.style] : rr(h.style) ? h.style.parsedOptions : void 0;
3701
3701
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3702
- type: P.literal,
3702
+ type: A.literal,
3703
3703
  value: r.getNumberFormat(t, p).format(f)
3704
3704
  });
3705
3705
  continue;
3706
3706
  }
3707
3707
  if (tr(h)) {
3708
- var d = h.children, v = h.value, b = i[v];
3709
- if (!yi(b))
3710
- throw new mi(v, "function", o);
3711
- var S = be(d, t, r, n, i, s), x = b(S.map(function(L) {
3712
- return L.value;
3708
+ var d = h.children, b = h.value, y = i[b];
3709
+ if (!gi(y))
3710
+ throw new mi(b, "function", s);
3711
+ var S = ye(d, t, r, n, i, o), _ = y(S.map(function(N) {
3712
+ return N.value;
3713
3713
  }));
3714
- Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(L) {
3714
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(N) {
3715
3715
  return {
3716
- type: typeof L == "string" ? P.literal : P.object,
3717
- value: L
3716
+ type: typeof N == "string" ? A.literal : A.object,
3717
+ value: N
3718
3718
  };
3719
3719
  }));
3720
3720
  }
3721
3721
  if (Kt(h)) {
3722
3722
  var C = h.options[f] || h.options.other;
3723
3723
  if (!C)
3724
- throw new Ht(h.value, f, Object.keys(h.options), o);
3725
- a.push.apply(a, be(C.value, t, r, n, i));
3724
+ throw new Ht(h.value, f, Object.keys(h.options), s);
3725
+ a.push.apply(a, ye(C.value, t, r, n, i));
3726
3726
  continue;
3727
3727
  }
3728
3728
  if (er(h)) {
@@ -3731,29 +3731,29 @@ function be(e, t, r, n, i, s, o) {
3731
3731
  if (!Intl.PluralRules)
3732
3732
  throw new Te(`Intl.PluralRules is not available in this environment.
3733
3733
  Try polyfilling it using "@formatjs/intl-pluralrules"
3734
- `, te.MISSING_INTL_API, o);
3735
- var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3736
- C = h.options[G] || h.options.other;
3734
+ `, te.MISSING_INTL_API, s);
3735
+ var j = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3736
+ C = h.options[j] || h.options.other;
3737
3737
  }
3738
3738
  if (!C)
3739
- throw new Ht(h.value, f, Object.keys(h.options), o);
3740
- a.push.apply(a, be(C.value, t, r, n, i, f - (h.offset || 0)));
3739
+ throw new Ht(h.value, f, Object.keys(h.options), s);
3740
+ a.push.apply(a, ye(C.value, t, r, n, i, f - (h.offset || 0)));
3741
3741
  continue;
3742
3742
  }
3743
3743
  }
3744
- return bi(a);
3744
+ return yi(a);
3745
3745
  }
3746
- function gi(e, t) {
3746
+ function vi(e, t) {
3747
3747
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3748
3748
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3749
3749
  }, {})) : e;
3750
3750
  }
3751
- function _i(e, t) {
3751
+ function xi(e, t) {
3752
3752
  return t ? Object.keys(e).reduce(function(r, n) {
3753
- return r[n] = gi(e[n], t[n]), r;
3753
+ return r[n] = vi(e[n], t[n]), r;
3754
3754
  }, E({}, e)) : e;
3755
3755
  }
3756
- function Ie(e) {
3756
+ function Le(e) {
3757
3757
  return {
3758
3758
  create: function() {
3759
3759
  return {
@@ -3767,35 +3767,35 @@ function Ie(e) {
3767
3767
  }
3768
3768
  };
3769
3769
  }
3770
- function xi(e) {
3770
+ function _i(e) {
3771
3771
  return e === void 0 && (e = {
3772
3772
  number: {},
3773
3773
  dateTime: {},
3774
3774
  pluralRules: {}
3775
3775
  }), {
3776
- getNumberFormat: Re(function() {
3776
+ getNumberFormat: Me(function() {
3777
3777
  for (var t, r = [], n = 0; n < arguments.length; n++)
3778
3778
  r[n] = arguments[n];
3779
3779
  return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
3780
3780
  }, {
3781
- cache: Ie(e.number),
3782
- strategy: Me.variadic
3781
+ cache: Le(e.number),
3782
+ strategy: Ie.variadic
3783
3783
  }),
3784
- getDateTimeFormat: Re(function() {
3784
+ getDateTimeFormat: Me(function() {
3785
3785
  for (var t, r = [], n = 0; n < arguments.length; n++)
3786
3786
  r[n] = arguments[n];
3787
3787
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
3788
3788
  }, {
3789
- cache: Ie(e.dateTime),
3790
- strategy: Me.variadic
3789
+ cache: Le(e.dateTime),
3790
+ strategy: Ie.variadic
3791
3791
  }),
3792
- getPluralRules: Re(function() {
3792
+ getPluralRules: Me(function() {
3793
3793
  for (var t, r = [], n = 0; n < arguments.length; n++)
3794
3794
  r[n] = arguments[n];
3795
3795
  return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
3796
3796
  }, {
3797
- cache: Ie(e.pluralRules),
3798
- strategy: Me.variadic
3797
+ cache: Le(e.pluralRules),
3798
+ strategy: Ie.variadic
3799
3799
  })
3800
3800
  };
3801
3801
  }
@@ -3803,40 +3803,40 @@ var Ei = (
3803
3803
  /** @class */
3804
3804
  function() {
3805
3805
  function e(t, r, n, i) {
3806
- var s = this;
3806
+ var o = this;
3807
3807
  if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
3808
3808
  number: {},
3809
3809
  dateTime: {},
3810
3810
  pluralRules: {}
3811
3811
  }, this.format = function(l) {
3812
- var u = s.formatToParts(l);
3812
+ var u = o.formatToParts(l);
3813
3813
  if (u.length === 1)
3814
3814
  return u[0].value;
3815
3815
  var h = u.reduce(function(c, f) {
3816
- return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3816
+ return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3817
3817
  }, []);
3818
3818
  return h.length <= 1 ? h[0] || "" : h;
3819
3819
  }, this.formatToParts = function(l) {
3820
- return be(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3820
+ return ye(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3821
3821
  }, this.resolvedOptions = function() {
3822
3822
  var l;
3823
3823
  return {
3824
- locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3824
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3825
3825
  };
3826
3826
  }, this.getAst = function() {
3827
- return s.ast;
3827
+ return o.ast;
3828
3828
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3829
3829
  if (this.message = t, !e.__parse)
3830
3830
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3831
- var o = i || {};
3832
- o.formatters;
3833
- var a = tn(o, ["formatters"]);
3831
+ var s = i || {};
3832
+ s.formatters;
3833
+ var a = tn(s, ["formatters"]);
3834
3834
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3835
3835
  } else
3836
3836
  this.ast = t;
3837
3837
  if (!Array.isArray(this.ast))
3838
3838
  throw new TypeError("A message must be provided as a String or AST.");
3839
- this.formats = _i(e.formats, n), this.formatters = i && i.formatters || xi(this.formatterCache);
3839
+ this.formats = xi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
3840
3840
  }
3841
3841
  return Object.defineProperty(e, "defaultLocale", {
3842
3842
  get: function() {
@@ -3920,9 +3920,9 @@ function Si(e, t) {
3920
3920
  for (let i = 0; i < r.length; i++)
3921
3921
  if (typeof n == "object") {
3922
3922
  if (i > 0) {
3923
- const s = r.slice(i, r.length).join(".");
3924
- if (s in n) {
3925
- n = n[s];
3923
+ const o = r.slice(i, r.length).join(".");
3924
+ if (o in n) {
3925
+ n = n[o];
3926
3926
  break;
3927
3927
  }
3928
3928
  }
@@ -3931,16 +3931,16 @@ function Si(e, t) {
3931
3931
  n = void 0;
3932
3932
  return n;
3933
3933
  }
3934
- const F = {}, Ti = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
3934
+ const G = {}, Ti = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), fr = (e, t) => {
3935
3935
  if (t == null)
3936
3936
  return;
3937
- if (t in F && e in F[t])
3938
- return F[t][e];
3937
+ if (t in G && e in G[t])
3938
+ return G[t][e];
3939
3939
  const r = we(t);
3940
3940
  for (let n = 0; n < r.length; n++) {
3941
- const i = r[n], s = Hi(i, e);
3942
- if (s)
3943
- return Ti(e, t, s);
3941
+ const i = r[n], o = Hi(i, e);
3942
+ if (o)
3943
+ return Ti(e, t, o);
3944
3944
  }
3945
3945
  };
3946
3946
  let nt;
@@ -3968,21 +3968,21 @@ function Ci(e) {
3968
3968
  }
3969
3969
  }
3970
3970
  function dr(e, ...t) {
3971
- delete F[e], fe.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
3971
+ delete G[e], fe.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
3972
3972
  }
3973
3973
  ie(
3974
3974
  [fe],
3975
3975
  ([e]) => Object.keys(e)
3976
3976
  );
3977
3977
  fe.subscribe((e) => nt = e);
3978
- const ye = {};
3978
+ const ge = {};
3979
3979
  function Bi(e, t) {
3980
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3980
+ ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3981
3981
  }
3982
3982
  function mr(e) {
3983
- return ye[e];
3983
+ return ge[e];
3984
3984
  }
3985
- function Ai(e) {
3985
+ function Pi(e) {
3986
3986
  return we(e).map((t) => {
3987
3987
  const r = mr(t);
3988
3988
  return [t, r ? [...r] : []];
@@ -3996,27 +3996,27 @@ function Je(e) {
3996
3996
  }
3997
3997
  );
3998
3998
  }
3999
- function Pi(e, t) {
3999
+ function Ai(e, t) {
4000
4000
  return Promise.all(
4001
4001
  t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4002
4002
  ).then((n) => dr(e, ...n));
4003
4003
  }
4004
4004
  const ue = {};
4005
- function vr(e) {
4005
+ function br(e) {
4006
4006
  if (!Je(e))
4007
4007
  return e in ue ? ue[e] : Promise.resolve();
4008
- const t = Ai(e);
4008
+ const t = Pi(e);
4009
4009
  return ue[e] = Promise.all(
4010
4010
  t.map(
4011
- ([r, n]) => Pi(r, n)
4011
+ ([r, n]) => Ai(r, n)
4012
4012
  )
4013
4013
  ).then(() => {
4014
4014
  if (Je(e))
4015
- return vr(e);
4015
+ return br(e);
4016
4016
  delete ue[e];
4017
4017
  }), ue[e];
4018
4018
  }
4019
- const Oi = {
4019
+ const Ri = {
4020
4020
  number: {
4021
4021
  scientific: { notation: "scientific" },
4022
4022
  engineering: { notation: "engineering" },
@@ -4045,57 +4045,57 @@ const Oi = {
4045
4045
  timeZoneName: "short"
4046
4046
  }
4047
4047
  }
4048
- }, ki = {
4048
+ }, Oi = {
4049
4049
  fallbackLocale: null,
4050
4050
  loadingDelay: 200,
4051
- formats: Oi,
4051
+ formats: Ri,
4052
4052
  warnOnMissingMessages: !0,
4053
4053
  handleMissingMessage: void 0,
4054
4054
  ignoreTag: !0
4055
- }, Ri = ki;
4055
+ }, Mi = Oi;
4056
4056
  function re() {
4057
- return Ri;
4057
+ return Mi;
4058
4058
  }
4059
- const Le = Se(!1);
4060
- var Mi = Object.defineProperty, Ii = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
4059
+ const Ne = Se(!1);
4060
+ var Ii = Object.defineProperty, Li = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
4061
4061
  for (var r in t || (t = {}))
4062
- Ni.call(t, r) && Bt(e, r, t[r]);
4062
+ $i.call(t, r) && Bt(e, r, t[r]);
4063
4063
  if (Ct)
4064
4064
  for (var r of Ct(t))
4065
- ji.call(t, r) && Bt(e, r, t[r]);
4065
+ ki.call(t, r) && Bt(e, r, t[r]);
4066
4066
  return e;
4067
- }, Ui = (e, t) => Ii(e, Li(t));
4067
+ }, Di = (e, t) => Li(e, Ni(t));
4068
4068
  let Ye;
4069
- const _e = Se(null);
4070
- function At(e) {
4069
+ const xe = Se(null);
4070
+ function Pt(e) {
4071
4071
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4072
4072
  }
4073
4073
  function we(e, t = re().fallbackLocale) {
4074
- const r = At(e);
4075
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4074
+ const r = Pt(e);
4075
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4076
4076
  }
4077
- function V() {
4077
+ function X() {
4078
4078
  return Ye != null ? Ye : void 0;
4079
4079
  }
4080
- _e.subscribe((e) => {
4080
+ xe.subscribe((e) => {
4081
4081
  Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4082
4082
  });
4083
- const Di = (e) => {
4083
+ const Fi = (e) => {
4084
4084
  if (e && Ci(e) && Je(e)) {
4085
4085
  const { loadingDelay: t } = re();
4086
4086
  let r;
4087
- return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
4088
- () => Le.set(!0),
4087
+ return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4088
+ () => Ne.set(!0),
4089
4089
  t
4090
- ) : Le.set(!0), vr(e).then(() => {
4091
- _e.set(e);
4090
+ ) : Ne.set(!0), br(e).then(() => {
4091
+ xe.set(e);
4092
4092
  }).finally(() => {
4093
- clearTimeout(r), Le.set(!1);
4093
+ clearTimeout(r), Ne.set(!1);
4094
4094
  });
4095
4095
  }
4096
- return _e.set(e);
4097
- }, se = Ui($i({}, _e), {
4098
- set: Di
4096
+ return xe.set(e);
4097
+ }, oe = Di(Ui({}, xe), {
4098
+ set: Fi
4099
4099
  }), He = (e) => {
4100
4100
  const t = /* @__PURE__ */ Object.create(null);
4101
4101
  return (n) => {
@@ -4103,20 +4103,20 @@ const Di = (e) => {
4103
4103
  return i in t ? t[i] : t[i] = e(n);
4104
4104
  };
4105
4105
  };
4106
- var Fi = Object.defineProperty, xe = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4106
+ var Gi = Object.defineProperty, _e = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4107
4107
  for (var r in t || (t = {}))
4108
- br.call(t, r) && Pt(e, r, t[r]);
4109
- if (xe)
4110
- for (var r of xe(t))
4111
- yr.call(t, r) && Pt(e, r, t[r]);
4108
+ yr.call(t, r) && At(e, r, t[r]);
4109
+ if (_e)
4110
+ for (var r of _e(t))
4111
+ gr.call(t, r) && At(e, r, t[r]);
4112
4112
  return e;
4113
- }, oe = (e, t) => {
4113
+ }, se = (e, t) => {
4114
4114
  var r = {};
4115
4115
  for (var n in e)
4116
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4117
- if (e != null && xe)
4118
- for (var n of xe(e))
4119
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4116
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4117
+ if (e != null && _e)
4118
+ for (var n of _e(e))
4119
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4120
4120
  return r;
4121
4121
  };
4122
4122
  const ce = (e, t) => {
@@ -4124,71 +4124,71 @@ const ce = (e, t) => {
4124
4124
  if (e in r && t in r[e])
4125
4125
  return r[e][t];
4126
4126
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4127
- }, Gi = He(
4127
+ }, ji = He(
4128
4128
  (e) => {
4129
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4129
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4130
4130
  if (r == null)
4131
4131
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4132
4132
  return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4133
4133
  }
4134
- ), zi = He(
4134
+ ), Vi = He(
4135
4135
  (e) => {
4136
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4136
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4137
4137
  if (r == null)
4138
4138
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4139
4139
  return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4140
4140
  }
4141
- ), Vi = He(
4141
+ ), Xi = He(
4142
4142
  (e) => {
4143
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4143
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4144
4144
  if (r == null)
4145
4145
  throw new Error(
4146
4146
  '[svelte-i18n] A "locale" must be set to format time values'
4147
4147
  );
4148
4148
  return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4149
4149
  }
4150
- ), Xi = (e = {}) => {
4150
+ ), zi = (e = {}) => {
4151
4151
  var t = e, {
4152
- locale: r = V()
4153
- } = t, n = oe(t, [
4152
+ locale: r = X()
4153
+ } = t, n = se(t, [
4154
4154
  "locale"
4155
4155
  ]);
4156
- return Gi(it({ locale: r }, n));
4157
- }, qi = (e = {}) => {
4156
+ return ji(it({ locale: r }, n));
4157
+ }, Wi = (e = {}) => {
4158
4158
  var t = e, {
4159
- locale: r = V()
4160
- } = t, n = oe(t, [
4159
+ locale: r = X()
4160
+ } = t, n = se(t, [
4161
4161
  "locale"
4162
4162
  ]);
4163
- return zi(it({ locale: r }, n));
4164
- }, Wi = (e = {}) => {
4163
+ return Vi(it({ locale: r }, n));
4164
+ }, qi = (e = {}) => {
4165
4165
  var t = e, {
4166
- locale: r = V()
4167
- } = t, n = oe(t, [
4166
+ locale: r = X()
4167
+ } = t, n = se(t, [
4168
4168
  "locale"
4169
4169
  ]);
4170
- return Vi(it({ locale: r }, n));
4170
+ return Xi(it({ locale: r }, n));
4171
4171
  }, Zi = He(
4172
4172
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4173
- (e, t = V()) => new Ei(e, t, re().formats, {
4173
+ (e, t = X()) => new Ei(e, t, re().formats, {
4174
4174
  ignoreTag: re().ignoreTag
4175
4175
  })
4176
4176
  ), Qi = (e, t = {}) => {
4177
- var r, n, i, s;
4178
- let o = t;
4179
- typeof e == "object" && (o = e, e = o.id);
4177
+ var r, n, i, o;
4178
+ let s = t;
4179
+ typeof e == "object" && (s = e, e = s.id);
4180
4180
  const {
4181
4181
  values: a,
4182
- locale: l = V(),
4182
+ locale: l = X(),
4183
4183
  default: u
4184
- } = o;
4184
+ } = s;
4185
4185
  if (l == null)
4186
4186
  throw new Error(
4187
4187
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4188
4188
  );
4189
4189
  let h = fr(e, l);
4190
4190
  if (!h)
4191
- h = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4191
+ h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4192
4192
  else if (typeof h != "string")
4193
4193
  return console.warn(
4194
4194
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4205,20 +4205,20 @@ const ce = (e, t) => {
4205
4205
  );
4206
4206
  }
4207
4207
  return c;
4208
- }, Ji = (e, t) => Wi(t).format(e), Yi = (e, t) => qi(t).format(e), Ki = (e, t) => Xi(t).format(e), es = (e, t = V()) => fr(e, t), ts = ie([se, fe], () => Qi);
4209
- ie([se], () => Ji);
4210
- ie([se], () => Yi);
4211
- ie([se], () => Ki);
4212
- ie([se, fe], () => es);
4208
+ }, Ji = (e, t) => qi(t).format(e), Yi = (e, t) => Wi(t).format(e), Ki = (e, t) => zi(t).format(e), eo = (e, t = X()) => fr(e, t), to = ie([oe, fe], () => Qi);
4209
+ ie([oe], () => Ji);
4210
+ ie([oe], () => Yi);
4211
+ ie([oe], () => Ki);
4212
+ ie([oe, fe], () => eo);
4213
4213
  window.emWidgets = { topic: mn };
4214
- const rs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4215
- function Ot(e, t) {
4214
+ const ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4215
+ function Rt(e, t) {
4216
4216
  dr(e, t);
4217
4217
  }
4218
- function ns(e) {
4219
- se.set(e);
4218
+ function no(e) {
4219
+ oe.set(e);
4220
4220
  }
4221
- const kt = {
4221
+ const Ot = {
4222
4222
  en: {
4223
4223
  titleRealityCheck: "Reality Check",
4224
4224
  never: "Never",
@@ -4319,115 +4319,115 @@ const kt = {
4319
4319
  setFrequency: "Fijar frecuencia"
4320
4320
  }
4321
4321
  };
4322
- function is(e) {
4323
- Mr(e, "svelte-12kj1rz", '.successMessage.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{position:absolute;display:block;top:25px;left:50px;background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emfe-w-color-white, #FFFFFF)}.successMessage.successMessageMobile.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{display:none}.successMessageMobile.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{display:block;background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emfe-w-color-white, #FFFFFF)}.successMessageMobile.successMessage.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{display:none}.customRadio.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{margin-top:15px}.customRadio.svelte-12kj1rz div.svelte-12kj1rz.svelte-12kj1rz{margin:0 0 20px}.customRadio.svelte-12kj1rz input[type=radio].svelte-12kj1rz.svelte-12kj1rz{position:absolute;left:-9999px}.customRadio.svelte-12kj1rz input[type=radio].svelte-12kj1rz+label.svelte-12kj1rz{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio.svelte-12kj1rz input[type=radio].svelte-12kj1rz+label.svelte-12kj1rz:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio.svelte-12kj1rz input[type=radio].svelte-12kj1rz+label.svelte-12kj1rz:after{content:"";background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio.svelte-12kj1rz input[type=radio].svelte-12kj1rz:checked+label.svelte-12kj1rz:after{opacity:1;transform:scale(1)}.RealityCheckDescription.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));line-height:24px}.PlayerRealityCheckWrapper.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{position:relative;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{padding:20px 15px;max-width:unset}.RealityCheckTitle.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.RealityCheckTitleMobile.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.RealityCheckTitleNone.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{display:none}.BottomButtonsArea.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B)}.PlayerRealityCheckButton.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.MenuReturnButton.svelte-12kj1rz.svelte-12kj1rz.svelte-12kj1rz{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton.svelte-12kj1rz svg.svelte-12kj1rz.svelte-12kj1rz{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}');
4322
+ function io(e) {
4323
+ Ir(e, "svelte-1nu1im1", '.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emfe-w-color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emfe-w-color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));line-height:24px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);cursor:not-allowed;opacity:0.6}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerDetailsContent{grid-template-columns:1fr}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerRealityCheckWrapperTablet{padding:40px 25% 100% 25%}.PlayerRealityCheckWrapperTablet .PlayerRealityCheckContent{grid-row-gap:40px}.PlayerRealityCheckWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}');
4324
4324
  }
4325
- function Rt(e, t, r) {
4325
+ function Mt(e, t, r) {
4326
4326
  const n = e.slice();
4327
4327
  return n[29] = t[r].value, n[30] = t[r].text, n[32] = r, n;
4328
4328
  }
4329
- function ss(e) {
4330
- let t, r, n, i, s, o, a, l, u, h, c, f = (
4329
+ function oo(e) {
4330
+ let t, r, n, i, o, s, a, l, u, h, c, f = (
4331
4331
  /*$_*/
4332
4332
  e[4]("titleRealityCheck") + ""
4333
- ), p, d, v, b = (
4333
+ ), p, d, b, y = (
4334
4334
  /*realityCheckSuccess*/
4335
- e[3] && Mt(e)
4335
+ e[3] && It(e)
4336
4336
  );
4337
4337
  return {
4338
4338
  c() {
4339
- b && b.c(), t = D(), r = B("div"), n = q("svg"), i = q("defs"), s = q("style"), o = I(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"), a = q("g"), l = q("g"), u = q("path"), h = D(), c = B("h2"), p = I(f), w(u, "class", "aaa"), w(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(u, "transform", "translate(15 15) rotate(180)"), w(l, "transform", "translate(20 158)"), w(a, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(n, "class", "svelte-12kj1rz"), w(c, "class", "RealityCheckTitleMobile svelte-12kj1rz"), w(r, "class", "MenuReturnButton svelte-12kj1rz");
4339
+ y && y.c(), t = F(), r = B("div"), n = W("svg"), i = W("defs"), o = W("style"), s = L(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"), a = W("g"), l = W("g"), u = W("path"), h = F(), c = B("h2"), p = L(f), H(u, "class", "aaa"), H(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), H(u, "transform", "translate(15 15) rotate(180)"), H(l, "transform", "translate(20 158)"), H(a, "transform", "translate(-20 -158)"), H(n, "xmlns", "http://www.w3.org/2000/svg"), H(n, "width", "15"), H(n, "height", "15"), H(n, "viewBox", "0 0 15 15"), H(c, "class", "RealityCheckTitleMobile"), H(r, "class", "MenuReturnButton");
4340
4340
  },
4341
- m(S, x) {
4342
- b && b.m(S, x), $(S, t, x), $(S, r, x), T(r, n), T(n, i), T(i, s), T(s, o), T(n, a), T(a, l), T(l, u), T(r, h), T(r, c), T(c, p), d || (v = [
4343
- ge(
4341
+ m(S, _) {
4342
+ y && y.m(S, _), U(S, t, _), U(S, r, _), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(a, l), T(l, u), T(r, h), T(r, c), T(c, p), d || (b = [
4343
+ ve(
4344
4344
  r,
4345
4345
  "click",
4346
4346
  /*click_handler*/
4347
4347
  e[16]
4348
4348
  ),
4349
- ge(r, "keydown", null)
4349
+ ve(r, "keydown", null)
4350
4350
  ], d = !0);
4351
4351
  },
4352
- p(S, x) {
4352
+ p(S, _) {
4353
4353
  /*realityCheckSuccess*/
4354
- S[3] ? b ? b.p(S, x) : (b = Mt(S), b.c(), b.m(t.parentNode, t)) : b && (b.d(1), b = null), x[0] & /*$_*/
4354
+ S[3] ? y ? y.p(S, _) : (y = It(S), y.c(), y.m(t.parentNode, t)) : y && (y.d(1), y = null), _[0] & /*$_*/
4355
4355
  16 && f !== (f = /*$_*/
4356
- S[4]("titleRealityCheck") + "") && z(p, f);
4356
+ S[4]("titleRealityCheck") + "") && V(p, f);
4357
4357
  },
4358
4358
  d(S) {
4359
- S && (M(t), M(r)), b && b.d(S), d = !1, ne(v);
4359
+ S && (I(t), I(r)), y && y.d(S), d = !1, ne(b);
4360
4360
  }
4361
4361
  };
4362
4362
  }
4363
- function Mt(e) {
4363
+ function It(e) {
4364
4364
  let t, r = (
4365
4365
  /*$_*/
4366
4366
  e[4]("successMessage") + ""
4367
4367
  ), n;
4368
4368
  return {
4369
4369
  c() {
4370
- t = B("div"), n = I(r), w(t, "class", "successMessageMobile svelte-12kj1rz");
4370
+ t = B("div"), n = L(r), H(t, "class", "successMessageMobile");
4371
4371
  },
4372
- m(i, s) {
4373
- $(i, t, s), T(t, n);
4372
+ m(i, o) {
4373
+ U(i, t, o), T(t, n);
4374
4374
  },
4375
- p(i, s) {
4376
- s[0] & /*$_*/
4375
+ p(i, o) {
4376
+ o[0] & /*$_*/
4377
4377
  16 && r !== (r = /*$_*/
4378
- i[4]("successMessage") + "") && z(n, r);
4378
+ i[4]("successMessage") + "") && V(n, r);
4379
4379
  },
4380
4380
  d(i) {
4381
- i && M(t);
4381
+ i && I(t);
4382
4382
  }
4383
4383
  };
4384
4384
  }
4385
- function It(e) {
4385
+ function Lt(e) {
4386
4386
  let t, r = (
4387
4387
  /*$_*/
4388
4388
  e[4]("successMessage") + ""
4389
4389
  ), n;
4390
4390
  return {
4391
4391
  c() {
4392
- t = B("div"), n = I(r), w(t, "class", "successMessage " + /*isMobile*/
4393
- (e[5] ? "successMessageMobile" : "") + " svelte-12kj1rz");
4392
+ t = B("div"), n = L(r), H(t, "class", "successMessage " + /*isMobile*/
4393
+ (e[5] ? "successMessageMobile" : ""));
4394
4394
  },
4395
- m(i, s) {
4396
- $(i, t, s), T(t, n);
4395
+ m(i, o) {
4396
+ U(i, t, o), T(t, n);
4397
4397
  },
4398
- p(i, s) {
4399
- s[0] & /*$_*/
4398
+ p(i, o) {
4399
+ o[0] & /*$_*/
4400
4400
  16 && r !== (r = /*$_*/
4401
- i[4]("successMessage") + "") && z(n, r);
4401
+ i[4]("successMessage") + "") && V(n, r);
4402
4402
  },
4403
4403
  d(i) {
4404
- i && M(t);
4404
+ i && I(t);
4405
4405
  }
4406
4406
  };
4407
4407
  }
4408
- function os(e) {
4409
- let t, r, n, i, s = (
4408
+ function so(e) {
4409
+ let t, r, n, i, o = (
4410
4410
  /*$_*/
4411
4411
  e[4]("setFrequency") + ""
4412
- ), o, a, l, u = ht(
4412
+ ), s, a, l, u = ht(
4413
4413
  /*realityCheckOptions*/
4414
4414
  e[6]
4415
4415
  ), h = [];
4416
4416
  for (let c = 0; c < u.length; c += 1)
4417
- h[c] = Lt(Rt(e, u, c));
4417
+ h[c] = Nt(Mt(e, u, c));
4418
4418
  return {
4419
4419
  c() {
4420
4420
  t = B("form");
4421
4421
  for (let c = 0; c < h.length; c += 1)
4422
4422
  h[c].c();
4423
- r = D(), n = B("div"), i = B("button"), o = I(s), w(i, "class", "PlayerRealityCheckButton svelte-12kj1rz"), w(n, "class", "BottomButtonsArea " + /*isMobile*/
4424
- (e[5] ? "BottomButtonsAreaMobile" : "") + " svelte-12kj1rz"), w(t, "class", "customRadio svelte-12kj1rz");
4423
+ r = F(), n = B("div"), i = B("button"), s = L(o), H(i, "class", "PlayerRealityCheckButton"), H(n, "class", "BottomButtonsArea " + /*isMobile*/
4424
+ (e[5] ? "BottomButtonsAreaMobile" : "")), H(t, "class", "customRadio");
4425
4425
  },
4426
4426
  m(c, f) {
4427
- $(c, t, f);
4427
+ U(c, t, f);
4428
4428
  for (let p = 0; p < h.length; p += 1)
4429
4429
  h[p] && h[p].m(t, null);
4430
- T(t, r), T(t, n), T(n, i), T(i, o), a || (l = ge(
4430
+ T(t, r), T(t, n), T(n, i), T(i, s), a || (l = ve(
4431
4431
  i,
4432
4432
  "click",
4433
4433
  /*submitRealityCheckValue*/
@@ -4443,70 +4443,70 @@ function os(e) {
4443
4443
  );
4444
4444
  let p;
4445
4445
  for (p = 0; p < u.length; p += 1) {
4446
- const d = Rt(c, u, p);
4447
- h[p] ? h[p].p(d, f) : (h[p] = Lt(d), h[p].c(), h[p].m(t, r));
4446
+ const d = Mt(c, u, p);
4447
+ h[p] ? h[p].p(d, f) : (h[p] = Nt(d), h[p].c(), h[p].m(t, r));
4448
4448
  }
4449
4449
  for (; p < h.length; p += 1)
4450
4450
  h[p].d(1);
4451
4451
  h.length = u.length;
4452
4452
  }
4453
4453
  f[0] & /*$_*/
4454
- 16 && s !== (s = /*$_*/
4455
- c[4]("setFrequency") + "") && z(o, s);
4454
+ 16 && o !== (o = /*$_*/
4455
+ c[4]("setFrequency") + "") && V(s, o);
4456
4456
  },
4457
4457
  d(c) {
4458
- c && M(t), Nr(h, c), a = !1, l();
4458
+ c && I(t), $r(h, c), a = !1, l();
4459
4459
  }
4460
4460
  };
4461
4461
  }
4462
- function as(e) {
4462
+ function ao(e) {
4463
4463
  let t, r = (
4464
4464
  /*$_*/
4465
4465
  e[4]("realityCheckLoading") + ""
4466
4466
  ), n;
4467
4467
  return {
4468
4468
  c() {
4469
- t = B("p"), n = I(r);
4469
+ t = B("p"), n = L(r);
4470
4470
  },
4471
- m(i, s) {
4472
- $(i, t, s), T(t, n);
4471
+ m(i, o) {
4472
+ U(i, t, o), T(t, n);
4473
4473
  },
4474
- p(i, s) {
4475
- s[0] & /*$_*/
4474
+ p(i, o) {
4475
+ o[0] & /*$_*/
4476
4476
  16 && r !== (r = /*$_*/
4477
- i[4]("realityCheckLoading") + "") && z(n, r);
4477
+ i[4]("realityCheckLoading") + "") && V(n, r);
4478
4478
  },
4479
4479
  d(i) {
4480
- i && M(t);
4480
+ i && I(t);
4481
4481
  }
4482
4482
  };
4483
4483
  }
4484
- function Lt(e) {
4485
- let t, r, n, i, s = (
4484
+ function Nt(e) {
4485
+ let t, r, n, i, o = (
4486
4486
  /*text*/
4487
4487
  e[30] + ""
4488
- ), o, a, l, u;
4489
- return a = jr(
4488
+ ), s, a, l, u;
4489
+ return a = kr(
4490
4490
  /*$$binding_groups*/
4491
4491
  e[18][0]
4492
4492
  ), {
4493
4493
  c() {
4494
- t = B("div"), r = B("input"), n = D(), i = B("label"), o = I(s), w(r, "type", "radio"), w(
4494
+ t = B("div"), r = B("input"), n = F(), i = B("label"), s = L(o), H(r, "type", "radio"), H(
4495
4495
  r,
4496
4496
  "id",
4497
4497
  /*value*/
4498
4498
  e[29]
4499
4499
  ), r.__value = /*value*/
4500
- e[29], Ur(r, r.__value), w(r, "class", "svelte-12kj1rz"), w(
4500
+ e[29], Dr(r, r.__value), H(
4501
4501
  i,
4502
4502
  "for",
4503
4503
  /*value*/
4504
4504
  e[29]
4505
- ), w(i, "class", "svelte-12kj1rz"), w(t, "class", "svelte-12kj1rz"), a.p(r);
4505
+ ), a.p(r);
4506
4506
  },
4507
4507
  m(h, c) {
4508
- $(h, t, c), T(t, r), r.checked = r.__value === /*realityCheckValue*/
4509
- e[2], T(t, n), T(t, i), T(i, o), l || (u = ge(
4508
+ U(h, t, c), T(t, r), r.checked = r.__value === /*realityCheckValue*/
4509
+ e[2], T(t, n), T(t, i), T(i, s), l || (u = ve(
4510
4510
  r,
4511
4511
  "change",
4512
4512
  /*input_change_handler*/
@@ -4519,114 +4519,114 @@ function Lt(e) {
4519
4519
  h[2]);
4520
4520
  },
4521
4521
  d(h) {
4522
- h && M(t), a.r(), l = !1, u();
4522
+ h && I(t), a.r(), l = !1, u();
4523
4523
  }
4524
4524
  };
4525
4525
  }
4526
- function us(e) {
4527
- let t, r, n, i, s = (
4526
+ function uo(e) {
4527
+ let t, r, n, i, o = (
4528
4528
  /*$_*/
4529
4529
  e[4]("titleRealityCheck") + ""
4530
- ), o, a, l, u, h = (
4530
+ ), s, a, l, u, h = (
4531
4531
  /*$_*/
4532
4532
  e[4]("realityCheckText") + ""
4533
4533
  ), c, f, p = (
4534
4534
  /*isMobile*/
4535
- e[5] && ss(e)
4535
+ e[5] && oo(e)
4536
4536
  ), d = (
4537
4537
  /*realityCheckSuccess*/
4538
- e[3] && It(e)
4538
+ e[3] && Lt(e)
4539
4539
  );
4540
- function v(x, C) {
4540
+ function b(_, C) {
4541
4541
  return (
4542
4542
  /*isLoading*/
4543
- x[1] ? as : os
4543
+ _[1] ? ao : so
4544
4544
  );
4545
4545
  }
4546
- let b = v(e), S = b(e);
4546
+ let y = b(e), S = y(e);
4547
4547
  return {
4548
4548
  c() {
4549
- t = B("div"), p && p.c(), r = D(), d && d.c(), n = D(), i = B("h2"), o = I(s), a = D(), l = B("div"), u = B("p"), c = I(h), f = D(), S.c(), w(i, "class", "RealityCheckTitle " + /*isMobile*/
4550
- (e[5] ? "RealityCheckTitleNone" : "") + " svelte-12kj1rz"), w(l, "class", "RealityCheckDescription " + /*isMobile*/
4551
- (e[5] ? "RealityCheckDescriptionMobile" : "") + " svelte-12kj1rz"), w(t, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
4552
- (e[5] ? "PlayerRealityCheckWrapperMobile" : "") + " svelte-12kj1rz");
4549
+ t = B("div"), p && p.c(), r = F(), d && d.c(), n = F(), i = B("h2"), s = L(o), a = F(), l = B("div"), u = B("p"), c = L(h), f = F(), S.c(), H(i, "class", "RealityCheckTitle " + /*isMobile*/
4550
+ (e[5] ? "RealityCheckTitleNone" : "")), H(l, "class", "RealityCheckDescription " + /*isMobile*/
4551
+ (e[5] ? "RealityCheckDescriptionMobile" : "")), H(t, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
4552
+ (e[5] ? "PlayerRealityCheckWrapperMobile" : ""));
4553
4553
  },
4554
- m(x, C) {
4555
- $(x, t, C), p && p.m(t, null), T(t, r), d && d.m(t, null), T(t, n), T(t, i), T(i, o), T(t, a), T(t, l), T(l, u), T(u, c), T(l, f), S.m(l, null), e[19](t);
4554
+ m(_, C) {
4555
+ U(_, t, C), p && p.m(t, null), T(t, r), d && d.m(t, null), T(t, n), T(t, i), T(i, s), T(t, a), T(t, l), T(l, u), T(u, c), T(l, f), S.m(l, null), e[19](t);
4556
4556
  },
4557
- p(x, C) {
4557
+ p(_, C) {
4558
4558
  /*isMobile*/
4559
- x[5] && p.p(x, C), /*realityCheckSuccess*/
4560
- x[3] ? d ? d.p(x, C) : (d = It(x), d.c(), d.m(t, n)) : d && (d.d(1), d = null), C[0] & /*$_*/
4561
- 16 && s !== (s = /*$_*/
4562
- x[4]("titleRealityCheck") + "") && z(o, s), C[0] & /*$_*/
4559
+ _[5] && p.p(_, C), /*realityCheckSuccess*/
4560
+ _[3] ? d ? d.p(_, C) : (d = Lt(_), d.c(), d.m(t, n)) : d && (d.d(1), d = null), C[0] & /*$_*/
4561
+ 16 && o !== (o = /*$_*/
4562
+ _[4]("titleRealityCheck") + "") && V(s, o), C[0] & /*$_*/
4563
4563
  16 && h !== (h = /*$_*/
4564
- x[4]("realityCheckText") + "") && z(c, h), b === (b = v(x)) && S ? S.p(x, C) : (S.d(1), S = b(x), S && (S.c(), S.m(l, null)));
4564
+ _[4]("realityCheckText") + "") && V(c, h), y === (y = b(_)) && S ? S.p(_, C) : (S.d(1), S = y(_), S && (S.c(), S.m(l, null)));
4565
4565
  },
4566
- i: R,
4567
- o: R,
4568
- d(x) {
4569
- x && M(t), p && p.d(), d && d.d(), S.d(), e[19](null);
4566
+ i: M,
4567
+ o: M,
4568
+ d(_) {
4569
+ _ && I(t), p && p.d(), d && d.d(), S.d(), e[19](null);
4570
4570
  }
4571
4571
  };
4572
4572
  }
4573
- function ls(e, t, r) {
4573
+ function lo(e, t, r) {
4574
4574
  let n;
4575
- Rr(e, ts, (m) => r(4, n = m));
4576
- let { endpoint: i = "" } = t, { playerid: s = "" } = t, { session: o = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t, c, f = rs(window.navigator.userAgent) !== "PC", p = !0, d, v = !1, b = [];
4575
+ Mr(e, to, (m) => r(4, n = m));
4576
+ let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t, c, f = ro(window.navigator.userAgent) !== "PC", p = !0, d, b = !1, y = [];
4577
4577
  const S = () => {
4578
- const m = new URL(`${i}/v1/player/${s}/realitycheck`), y = new Headers();
4579
- y.append("X-SessionID", o);
4580
- const O = { method: "GET", headers: y };
4581
- fetch(m.href, O).then((A) => A.json()).then(
4582
- (A) => {
4583
- r(2, d = A.UserRealityCheckValue);
4578
+ const m = new URL(`${i}/v1/player/${o}/realitycheck`), g = new Headers();
4579
+ g.append("X-SessionID", s);
4580
+ const R = { method: "GET", headers: g };
4581
+ fetch(m.href, R).then((P) => P.json()).then(
4582
+ (P) => {
4583
+ r(2, d = P.UserRealityCheckValue);
4584
4584
  },
4585
- (A) => {
4586
- console.error(A);
4585
+ (P) => {
4586
+ console.error(P);
4587
4587
  }
4588
4588
  );
4589
- }, x = () => {
4590
- const m = new URL(`${i}/v1/player/${s}/availablerealityvalues`), y = new Headers();
4591
- y.append("X-SessionID", o), y.append("accept", "application/json");
4592
- const O = { method: "GET", headers: y };
4593
- fetch(m.href, O).then((A) => A.json()).then(
4594
- (A) => {
4595
- C(A.AvailableRealityCheckValues), r(1, p = !1);
4589
+ }, _ = () => {
4590
+ const m = new URL(`${i}/v1/player/${o}/availablerealityvalues`), g = new Headers();
4591
+ g.append("X-SessionID", s), g.append("accept", "application/json");
4592
+ const R = { method: "GET", headers: g };
4593
+ fetch(m.href, R).then((P) => P.json()).then(
4594
+ (P) => {
4595
+ C(P.AvailableRealityCheckValues), r(1, p = !1);
4596
4596
  },
4597
- (A) => {
4598
- console.error(A);
4597
+ (P) => {
4598
+ console.error(P);
4599
4599
  }
4600
4600
  );
4601
4601
  }, C = (m) => {
4602
- m.forEach((y) => {
4603
- y == 0 ? b.push({
4604
- value: y.toString(),
4602
+ m.forEach((g) => {
4603
+ g == 0 ? y.push({
4604
+ value: g.toString(),
4605
4605
  text: n("never")
4606
- }) : y < 60 ? b.push({
4607
- value: y.toString(),
4608
- text: y + " " + n("minutes")
4609
- }) : y == 60 ? b.push({
4610
- value: y.toString(),
4606
+ }) : g < 60 ? y.push({
4607
+ value: g.toString(),
4608
+ text: g + " " + n("minutes")
4609
+ }) : g == 60 ? y.push({
4610
+ value: g.toString(),
4611
4611
  text: n("oneHour")
4612
- }) : y > 60 && b.push({
4613
- value: y.toString(),
4614
- text: y / 60 + " " + n("hours")
4612
+ }) : g > 60 && y.push({
4613
+ value: g.toString(),
4614
+ text: g / 60 + " " + n("hours")
4615
4615
  });
4616
4616
  });
4617
- }, G = () => Be(this, null, function* () {
4618
- const m = new URL(`${i}/v1/player/${s}/realitycheck`), y = new Headers();
4619
- y.append("X-SessionID", o), y.append("Content-Type", "application/json"), y.append("Accept", "application/json"), y.append("realityCheckValue", `${parseInt(d, 10)}`);
4620
- const O = { method: "POST", headers: y };
4621
- return yield fetch(m.href, O).then(
4622
- (A) => A.status == 200,
4623
- (A) => (console.error(A), !1)
4617
+ }, j = () => Be(this, null, function* () {
4618
+ const m = new URL(`${i}/v1/player/${o}/realitycheck`), g = new Headers();
4619
+ g.append("X-SessionID", s), g.append("Content-Type", "application/json"), g.append("Accept", "application/json"), g.append("realityCheckValue", `${parseInt(d, 10)}`);
4620
+ const R = { method: "POST", headers: g };
4621
+ return yield fetch(m.href, R).then(
4622
+ (P) => P.status == 200,
4623
+ (P) => (console.error(P), !1)
4624
4624
  );
4625
- }), L = (m) => {
4626
- m.preventDefault(), G().then((y) => {
4627
- y && (X(), S());
4625
+ }), N = (m) => {
4626
+ m.preventDefault(), j().then((g) => {
4627
+ g && (z(), S());
4628
4628
  });
4629
- }, X = () => {
4629
+ }, z = () => {
4630
4630
  window.postMessage(
4631
4631
  {
4632
4632
  type: "WidgetNotification",
@@ -4636,7 +4636,7 @@ function ls(e, t, r) {
4636
4636
  }
4637
4637
  },
4638
4638
  window.location.href
4639
- ), r(3, v = !0), setTimeout(() => r(3, v = !1), 2e3);
4639
+ ), r(3, b = !0), setTimeout(() => r(3, b = !1), 2e3);
4640
4640
  }, ae = () => {
4641
4641
  window.postMessage(
4642
4642
  {
@@ -4645,29 +4645,29 @@ function ls(e, t, r) {
4645
4645
  },
4646
4646
  window.location.href
4647
4647
  );
4648
- }, gr = () => {
4649
- ns(a);
4650
- }, _r = () => {
4651
- fetch(h).then((y) => y.json()).then((y) => {
4652
- Object.keys(y).forEach((O) => {
4653
- Ot(O, y[O]);
4648
+ }, vr = () => {
4649
+ no(a);
4650
+ }, xr = () => {
4651
+ fetch(h).then((g) => g.json()).then((g) => {
4652
+ Object.keys(g).forEach((R) => {
4653
+ Rt(R, g[R]);
4654
4654
  });
4655
- }).catch((y) => {
4656
- console.log(y);
4655
+ }).catch((g) => {
4656
+ console.log(g);
4657
4657
  });
4658
4658
  };
4659
- Object.keys(kt).forEach((m) => {
4660
- Ot(m, kt[m]);
4659
+ Object.keys(Ot).forEach((m) => {
4660
+ Rt(m, Ot[m]);
4661
4661
  });
4662
- const xr = () => {
4662
+ const _r = () => {
4663
4663
  let m = document.createElement("style");
4664
4664
  m.innerHTML = l, c.appendChild(m);
4665
4665
  }, Er = () => {
4666
- let m = new URL(u), y = document.createElement("style");
4667
- fetch(m.href).then((O) => O.text()).then((O) => {
4668
- y.innerHTML = O, setTimeout(
4666
+ let m = new URL(u), g = document.createElement("style");
4667
+ fetch(m.href).then((R) => R.text()).then((R) => {
4668
+ g.innerHTML = R, setTimeout(
4669
4669
  () => {
4670
- c.appendChild(y);
4670
+ c.appendChild(g);
4671
4671
  },
4672
4672
  1
4673
4673
  );
@@ -4677,33 +4677,33 @@ function ls(e, t, r) {
4677
4677
  d = this.__value, r(2, d);
4678
4678
  }
4679
4679
  function Hr(m) {
4680
- Ne[m ? "unshift" : "push"](() => {
4680
+ $e[m ? "unshift" : "push"](() => {
4681
4681
  c = m, r(0, c);
4682
4682
  });
4683
4683
  }
4684
4684
  return e.$$set = (m) => {
4685
- "endpoint" in m && r(9, i = m.endpoint), "playerid" in m && r(10, s = m.playerid), "session" in m && r(11, o = m.session), "lang" in m && r(12, a = m.lang), "clientstyling" in m && r(13, l = m.clientstyling), "clientstylingurl" in m && r(14, u = m.clientstylingurl), "translationurl" in m && r(15, h = m.translationurl);
4685
+ "endpoint" in m && r(9, i = m.endpoint), "playerid" in m && r(10, o = m.playerid), "session" in m && r(11, s = m.session), "lang" in m && r(12, a = m.lang), "clientstyling" in m && r(13, l = m.clientstyling), "clientstylingurl" in m && r(14, u = m.clientstylingurl), "translationurl" in m && r(15, h = m.translationurl);
4686
4686
  }, e.$$.update = () => {
4687
4687
  e.$$.dirty[0] & /*lang*/
4688
- 4096 && a && gr(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4689
- 3584 && i && s && o && S(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4690
- 3584 && i && s && o && x(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4688
+ 4096 && a && vr(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4689
+ 3584 && i && o && s && S(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4690
+ 3584 && i && o && s && _(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4691
4691
  16385 && u && c && Er(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4692
- 8193 && l && c && xr(), e.$$.dirty[0] & /*translationurl*/
4693
- 32768 && h && _r();
4692
+ 8193 && l && c && _r(), e.$$.dirty[0] & /*translationurl*/
4693
+ 32768 && h && xr();
4694
4694
  }, [
4695
4695
  c,
4696
4696
  p,
4697
4697
  d,
4698
- v,
4698
+ b,
4699
4699
  n,
4700
4700
  f,
4701
- b,
4702
- L,
4701
+ y,
4702
+ N,
4703
4703
  ae,
4704
4704
  i,
4705
- s,
4706
4705
  o,
4706
+ s,
4707
4707
  a,
4708
4708
  l,
4709
4709
  u,
@@ -4714,14 +4714,14 @@ function ls(e, t, r) {
4714
4714
  Hr
4715
4715
  ];
4716
4716
  }
4717
- class hs extends Kr {
4717
+ class ho extends Kr {
4718
4718
  constructor(t) {
4719
4719
  super(), Jr(
4720
4720
  this,
4721
4721
  t,
4722
- ls,
4723
- us,
4724
- jt,
4722
+ lo,
4723
+ uo,
4724
+ kt,
4725
4725
  {
4726
4726
  endpoint: 9,
4727
4727
  playerid: 10,
@@ -4731,7 +4731,7 @@ class hs extends Kr {
4731
4731
  clientstylingurl: 14,
4732
4732
  translationurl: 15
4733
4733
  },
4734
- is,
4734
+ io,
4735
4735
  [-1, -1]
4736
4736
  );
4737
4737
  }
@@ -4739,46 +4739,46 @@ class hs extends Kr {
4739
4739
  return this.$$.ctx[9];
4740
4740
  }
4741
4741
  set endpoint(t) {
4742
- this.$$set({ endpoint: t }), N();
4742
+ this.$$set({ endpoint: t }), $();
4743
4743
  }
4744
4744
  get playerid() {
4745
4745
  return this.$$.ctx[10];
4746
4746
  }
4747
4747
  set playerid(t) {
4748
- this.$$set({ playerid: t }), N();
4748
+ this.$$set({ playerid: t }), $();
4749
4749
  }
4750
4750
  get session() {
4751
4751
  return this.$$.ctx[11];
4752
4752
  }
4753
4753
  set session(t) {
4754
- this.$$set({ session: t }), N();
4754
+ this.$$set({ session: t }), $();
4755
4755
  }
4756
4756
  get lang() {
4757
4757
  return this.$$.ctx[12];
4758
4758
  }
4759
4759
  set lang(t) {
4760
- this.$$set({ lang: t }), N();
4760
+ this.$$set({ lang: t }), $();
4761
4761
  }
4762
4762
  get clientstyling() {
4763
4763
  return this.$$.ctx[13];
4764
4764
  }
4765
4765
  set clientstyling(t) {
4766
- this.$$set({ clientstyling: t }), N();
4766
+ this.$$set({ clientstyling: t }), $();
4767
4767
  }
4768
4768
  get clientstylingurl() {
4769
4769
  return this.$$.ctx[14];
4770
4770
  }
4771
4771
  set clientstylingurl(t) {
4772
- this.$$set({ clientstylingurl: t }), N();
4772
+ this.$$set({ clientstylingurl: t }), $();
4773
4773
  }
4774
4774
  get translationurl() {
4775
4775
  return this.$$.ctx[15];
4776
4776
  }
4777
4777
  set translationurl(t) {
4778
- this.$$set({ translationurl: t }), N();
4778
+ this.$$set({ translationurl: t }), $();
4779
4779
  }
4780
4780
  }
4781
- Yr(hs, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4781
+ Yr(ho, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4782
4782
  export {
4783
- hs as default
4783
+ ho as default
4784
4784
  };