@everymatrix/player-reality-check 1.87.26 → 1.87.27

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,17 +1,17 @@
1
- var Ar = Object.defineProperty, Pr = Object.defineProperties;
2
- var Or = Object.getOwnPropertyDescriptors;
3
- var bt = Object.getOwnPropertySymbols;
4
- var Rr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable;
5
- var $e = (e, t, r) => t in e ? Ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
1
+ var Or = Object.defineProperty, Rr = Object.defineProperties;
2
+ var Mr = Object.getOwnPropertyDescriptors;
3
+ var yt = Object.getOwnPropertySymbols;
4
+ var Ir = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable;
5
+ var Ue = (e, t, r) => t in e ? Or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Rr.call(t, r) && $e(e, r, t[r]);
8
- if (bt)
9
- for (var r of bt(t))
10
- Mr.call(t, r) && $e(e, r, t[r]);
7
+ Ir.call(t, r) && Ue(e, r, t[r]);
8
+ if (yt)
9
+ for (var r of yt(t))
10
+ Lr.call(t, r) && Ue(e, r, t[r]);
11
11
  return e;
12
- }, gt = (e, t) => Pr(e, Or(t));
13
- var j = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ue = (e, t, r) => new Promise((n, i) => {
12
+ }, vt = (e, t) => Rr(e, Mr(t));
13
+ var j = (e, t, r) => (Ue(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Fe = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -30,25 +30,25 @@ var Ue = (e, t, r) => new Promise((n, i) => {
30
30
  import "../stencil/ui-skeleton-xXZA3rYO.js";
31
31
  function N() {
32
32
  }
33
- function qt(e) {
33
+ function Wt(e) {
34
34
  return e();
35
35
  }
36
- function vt() {
36
+ function _t() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function ce(e) {
40
- e.forEach(qt);
39
+ function he(e) {
40
+ e.forEach(Wt);
41
41
  }
42
- function pt(e) {
42
+ function dt(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Wt(e, t) {
45
+ function Zt(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
- function Ir(e) {
48
+ function Nr(e) {
49
49
  return Object.keys(e).length === 0;
50
50
  }
51
- function Zt(e, ...t) {
51
+ function Qt(e, ...t) {
52
52
  if (e == null) {
53
53
  for (const n of t)
54
54
  n(void 0);
@@ -57,20 +57,20 @@ function Zt(e, ...t) {
57
57
  const r = e.subscribe(...t);
58
58
  return r.unsubscribe ? () => r.unsubscribe() : r;
59
59
  }
60
- function Lr(e, t, r) {
61
- e.$$.on_destroy.push(Zt(t, r));
60
+ function kr(e, t, r) {
61
+ e.$$.on_destroy.push(Qt(t, r));
62
62
  }
63
- function b(e, t) {
63
+ function y(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function Nr(e, t, r) {
67
- const n = kr(e);
66
+ function $r(e, t, r) {
67
+ const n = Ur(e);
68
68
  if (!n.getElementById(t)) {
69
69
  const i = T("style");
70
- i.id = t, i.textContent = r, $r(n, i);
70
+ i.id = t, i.textContent = r, Fr(n, i);
71
71
  }
72
72
  }
73
- function kr(e) {
73
+ function Ur(e) {
74
74
  if (!e)
75
75
  return document;
76
76
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -80,8 +80,8 @@ function kr(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function $r(e, t) {
84
- return b(
83
+ function Fr(e, t) {
84
+ return y(
85
85
  /** @type {Document} */
86
86
  e.head || e,
87
87
  t
@@ -90,10 +90,10 @@ function $r(e, t) {
90
90
  function V(e, t, r) {
91
91
  e.insertBefore(t, r || null);
92
92
  }
93
- function U(e) {
93
+ function F(e) {
94
94
  e.parentNode && e.parentNode.removeChild(e);
95
95
  }
96
- function Qt(e, t) {
96
+ function Yt(e, t) {
97
97
  for (let r = 0; r < e.length; r += 1)
98
98
  e[r] && e[r].d(t);
99
99
  }
@@ -103,23 +103,23 @@ function T(e) {
103
103
  function ee(e) {
104
104
  return document.createElementNS("http://www.w3.org/2000/svg", e);
105
105
  }
106
- function Z(e) {
106
+ function W(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
109
  function G() {
110
- return Z(" ");
110
+ return W(" ");
111
111
  }
112
- function Be(e, t, r, n) {
112
+ function Ae(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
115
  function x(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function A(e, t, r) {
118
+ function P(e, t, r) {
119
119
  const n = t.toLowerCase();
120
120
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
121
121
  }
122
- function Ur(e) {
122
+ function Dr(e) {
123
123
  let t;
124
124
  return {
125
125
  /* push */
@@ -132,17 +132,17 @@ function Ur(e) {
132
132
  }
133
133
  };
134
134
  }
135
- function Fr(e) {
135
+ function jr(e) {
136
136
  return Array.from(e.childNodes);
137
137
  }
138
- function ie(e, t) {
138
+ function oe(e, t) {
139
139
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
140
140
  t);
141
141
  }
142
- function Dr(e, t) {
142
+ function Gr(e, t) {
143
143
  e.value = t == null ? "" : t;
144
144
  }
145
- function jr(e) {
145
+ function Vr(e) {
146
146
  const t = {};
147
147
  return e.childNodes.forEach(
148
148
  /** @param {Element} node */
@@ -151,90 +151,90 @@ function jr(e) {
151
151
  }
152
152
  ), t;
153
153
  }
154
- let be;
155
- function me(e) {
156
- be = e;
154
+ let ye;
155
+ function be(e) {
156
+ ye = e;
157
157
  }
158
- function Gr() {
159
- if (!be)
158
+ function Xr() {
159
+ if (!ye)
160
160
  throw new Error("Function called outside component initialization");
161
- return be;
161
+ return ye;
162
162
  }
163
- function Vr(e) {
164
- Gr().$$.on_mount.push(e);
163
+ function zr(e) {
164
+ Xr().$$.on_mount.push(e);
165
165
  }
166
- const ne = [], We = [];
167
- let oe = [];
168
- const _t = [], Xr = /* @__PURE__ */ Promise.resolve();
169
- let Ze = !1;
170
- function zr() {
171
- Ze || (Ze = !0, Xr.then(X));
166
+ const ne = [], Ze = [];
167
+ let se = [];
168
+ const xt = [], qr = /* @__PURE__ */ Promise.resolve();
169
+ let Qe = !1;
170
+ function Wr() {
171
+ Qe || (Qe = !0, qr.then(X));
172
172
  }
173
- function Qe(e) {
174
- oe.push(e);
173
+ function Ye(e) {
174
+ se.push(e);
175
175
  }
176
- const Fe = /* @__PURE__ */ new Set();
176
+ const De = /* @__PURE__ */ new Set();
177
177
  let te = 0;
178
178
  function X() {
179
179
  if (te !== 0)
180
180
  return;
181
- const e = be;
181
+ const e = ye;
182
182
  do {
183
183
  try {
184
184
  for (; te < ne.length; ) {
185
185
  const t = ne[te];
186
- te++, me(t), qr(t.$$);
186
+ te++, be(t), Zr(t.$$);
187
187
  }
188
188
  } catch (t) {
189
189
  throw ne.length = 0, te = 0, t;
190
190
  }
191
- for (me(null), ne.length = 0, te = 0; We.length; )
192
- We.pop()();
193
- for (let t = 0; t < oe.length; t += 1) {
194
- const r = oe[t];
195
- Fe.has(r) || (Fe.add(r), r());
191
+ for (be(null), ne.length = 0, te = 0; Ze.length; )
192
+ Ze.pop()();
193
+ for (let t = 0; t < se.length; t += 1) {
194
+ const r = se[t];
195
+ De.has(r) || (De.add(r), r());
196
196
  }
197
- oe.length = 0;
197
+ se.length = 0;
198
198
  } while (ne.length);
199
- for (; _t.length; )
200
- _t.pop()();
201
- Ze = !1, Fe.clear(), me(e);
199
+ for (; xt.length; )
200
+ xt.pop()();
201
+ Qe = !1, De.clear(), be(e);
202
202
  }
203
- function qr(e) {
203
+ function Zr(e) {
204
204
  if (e.fragment !== null) {
205
- e.update(), ce(e.before_update);
205
+ e.update(), he(e.before_update);
206
206
  const t = e.dirty;
207
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
207
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
208
208
  }
209
209
  }
210
- function Wr(e) {
210
+ function Qr(e) {
211
211
  const t = [], r = [];
212
- oe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), oe = t;
212
+ se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
213
213
  }
214
- const Zr = /* @__PURE__ */ new Set();
215
- function Qr(e, t) {
216
- e && e.i && (Zr.delete(e), e.i(t));
214
+ const Yr = /* @__PURE__ */ new Set();
215
+ function Jr(e, t) {
216
+ e && e.i && (Yr.delete(e), e.i(t));
217
217
  }
218
218
  function Je(e) {
219
219
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
220
220
  }
221
- function Jr(e, t, r) {
221
+ function Kr(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), Qe(() => {
224
- const o = e.$$.on_mount.map(qt).filter(pt);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
226
- }), i.forEach(Qe);
223
+ n && n.m(t, r), Ye(() => {
224
+ const o = e.$$.on_mount.map(Wt).filter(dt);
225
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
226
+ }), i.forEach(Ye);
227
227
  }
228
- function Yr(e, t) {
228
+ function en(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (Wr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
230
+ r.fragment !== null && (Qr(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
- function Kr(e, t) {
233
- e.$$.dirty[0] === -1 && (ne.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function tn(e, t) {
233
+ e.$$.dirty[0] === -1 && (ne.push(e), Wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function en(e, t, r, n, i, o, s = null, a = [-1]) {
236
- const l = be;
237
- me(e);
235
+ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
236
+ const l = ye;
237
+ be(e);
238
238
  const u = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
@@ -242,7 +242,7 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
242
242
  props: o,
243
243
  update: N,
244
244
  not_equal: i,
245
- bound: vt(),
245
+ bound: _t(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,7 +251,7 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
251
251
  after_update: [],
252
252
  context: new Map(t.context || (l ? l.$$.context : [])),
253
253
  // everything else
254
- callbacks: vt(),
254
+ callbacks: _t(),
255
255
  dirty: a,
256
256
  skip_bound: !1,
257
257
  root: t.target || l.$$.root
@@ -259,17 +259,17 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
259
259
  s && s(u.root);
260
260
  let c = !1;
261
261
  if (u.ctx = r ? r(e, t.props || {}, (f, h, ...d) => {
262
- const m = d.length ? d[0] : h;
263
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && Kr(e, f)), h;
264
- }) : [], u.update(), c = !0, ce(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
262
+ const b = d.length ? d[0] : h;
263
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), c && tn(e, f)), h;
264
+ }) : [], u.update(), c = !0, he(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const f = Fr(t.target);
267
- u.fragment && u.fragment.l(f), f.forEach(U);
266
+ const f = jr(t.target);
267
+ u.fragment && u.fragment.l(f), f.forEach(F);
268
268
  } else
269
269
  u.fragment && u.fragment.c();
270
- t.intro && Qr(e.$$.fragment), Jr(e, t.target, t.anchor), X();
270
+ t.intro && Jr(e.$$.fragment), Kr(e, t.target, t.anchor), X();
271
271
  }
272
- me(l);
272
+ be(l);
273
273
  }
274
274
  let Jt;
275
275
  typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
@@ -309,7 +309,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
309
309
  }
310
310
  }
311
311
  connectedCallback() {
312
- return Ue(this, null, function* () {
312
+ return Fe(this, null, function* () {
313
313
  if (this.$$cn = !0, !this.$$c) {
314
314
  let t = function(o) {
315
315
  return () => {
@@ -326,25 +326,25 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
326
326
  V(u, s, c);
327
327
  },
328
328
  d: function(u) {
329
- u && U(s);
329
+ u && F(s);
330
330
  }
331
331
  };
332
332
  };
333
333
  };
334
334
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
335
335
  return;
336
- const r = {}, n = jr(this);
336
+ const r = {}, n = Vr(this);
337
337
  for (const o of this.$$s)
338
338
  o in n && (r[o] = [t(o)]);
339
339
  for (const o of this.attributes) {
340
340
  const s = this.$$g_p(o.name);
341
- s in this.$$d || (this.$$d[s] = we(s, o.value, this.$$p_d, "toProp"));
341
+ s in this.$$d || (this.$$d[s] = Te(s, o.value, this.$$p_d, "toProp"));
342
342
  }
343
343
  for (const o in this.$$p_d)
344
344
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
345
345
  this.$$c = new this.$$ctor({
346
346
  target: this.shadowRoot || this,
347
- props: gt(yt({}, this.$$d), {
347
+ props: vt(gt({}, this.$$d), {
348
348
  $$slots: r,
349
349
  $$scope: {
350
350
  ctx: []
@@ -355,7 +355,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
355
355
  this.$$r = !0;
356
356
  for (const o in this.$$p_d)
357
357
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
358
- const s = we(
358
+ const s = Te(
359
359
  o,
360
360
  this.$$d[o],
361
361
  this.$$p_d,
@@ -379,7 +379,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
379
379
  // and setting attributes through setAttribute etc, this is helpful
380
380
  attributeChangedCallback(t, r, n) {
381
381
  var i;
382
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
382
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Te(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
383
383
  }
384
384
  disconnectedCallback() {
385
385
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -392,7 +392,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
392
392
  ) || t;
393
393
  }
394
394
  });
395
- function we(e, t, r, n) {
395
+ function Te(e, t, r, n) {
396
396
  var o;
397
397
  const i = (o = r[e]) == null ? void 0 : o.type;
398
398
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -422,7 +422,7 @@ function we(e, t, r, n) {
422
422
  return t;
423
423
  }
424
424
  }
425
- function tn(e, t, r, n, i, o) {
425
+ function nn(e, t, r, n, i, o) {
426
426
  let s = class extends Jt {
427
427
  constructor() {
428
428
  super(e, r, i), this.$$p_d = t;
@@ -440,7 +440,7 @@ function tn(e, t, r, n, i, o) {
440
440
  },
441
441
  set(l) {
442
442
  var u;
443
- l = we(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
443
+ l = Te(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
444
444
  }
445
445
  });
446
446
  }), n.forEach((a) => {
@@ -453,7 +453,7 @@ function tn(e, t, r, n, i, o) {
453
453
  }), e.element = /** @type {any} */
454
454
  s, s;
455
455
  }
456
- class rn {
456
+ class on {
457
457
  constructor() {
458
458
  /**
459
459
  * ### PRIVATE API
@@ -474,7 +474,7 @@ class rn {
474
474
  }
475
475
  /** @returns {void} */
476
476
  $destroy() {
477
- Yr(this, 1), this.$destroy = N;
477
+ en(this, 1), this.$destroy = N;
478
478
  }
479
479
  /**
480
480
  * @template {Extract<keyof Events, string>} K
@@ -483,7 +483,7 @@ class rn {
483
483
  * @returns {() => void}
484
484
  */
485
485
  $on(t, r) {
486
- if (!pt(r))
486
+ if (!dt(r))
487
487
  return N;
488
488
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
489
489
  return n.push(r), () => {
@@ -496,11 +496,11 @@ class rn {
496
496
  * @returns {void}
497
497
  */
498
498
  $set(t) {
499
- this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
499
+ this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
500
500
  }
501
501
  }
502
- const nn = "4";
503
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
502
+ const sn = "4";
503
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
504
504
  /*! *****************************************************************************
505
505
  Copyright (c) Microsoft Corporation.
506
506
 
@@ -515,24 +515,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
515
515
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
516
516
  PERFORMANCE OF THIS SOFTWARE.
517
517
  ***************************************************************************** */
518
- var Ye = function(e, t) {
519
- return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
+ var Ke = function(e, t) {
519
+ return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
520
520
  r.__proto__ = n;
521
521
  } || function(r, n) {
522
522
  for (var i in n)
523
523
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
524
- }, Ye(e, t);
524
+ }, Ke(e, t);
525
525
  };
526
- function ve(e, t) {
526
+ function _e(e, t) {
527
527
  if (typeof t != "function" && t !== null)
528
528
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
529
- Ye(e, t);
529
+ Ke(e, t);
530
530
  function r() {
531
531
  this.constructor = e;
532
532
  }
533
533
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
534
534
  }
535
- function Ke(e) {
535
+ function et(e) {
536
536
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
537
537
  if (r)
538
538
  return r.call(e);
@@ -544,7 +544,7 @@ function Ke(e) {
544
544
  };
545
545
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
546
546
  }
547
- function et(e, t) {
547
+ function tt(e, t) {
548
548
  var r = typeof Symbol == "function" && e[Symbol.iterator];
549
549
  if (!r)
550
550
  return e;
@@ -564,22 +564,22 @@ function et(e, t) {
564
564
  }
565
565
  return o;
566
566
  }
567
- function tt(e, t, r) {
567
+ function rt(e, t, r) {
568
568
  if (arguments.length === 2)
569
569
  for (var n = 0, i = t.length, o; n < i; n++)
570
570
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
571
571
  return e.concat(o || t);
572
572
  }
573
- function Q(e) {
573
+ function Z(e) {
574
574
  return typeof e == "function";
575
575
  }
576
- function Yt(e) {
576
+ function Kt(e) {
577
577
  var t = function(n) {
578
578
  Error.call(n), n.stack = new Error().stack;
579
579
  }, r = e(t);
580
580
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
581
581
  }
582
- var De = Yt(function(e) {
582
+ var je = Kt(function(e) {
583
583
  return function(r) {
584
584
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
585
585
  ` + r.map(function(n, i) {
@@ -588,13 +588,13 @@ var De = Yt(function(e) {
588
588
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
589
589
  };
590
590
  });
591
- function rt(e, t) {
591
+ function nt(e, t) {
592
592
  if (e) {
593
593
  var r = e.indexOf(t);
594
594
  0 <= r && e.splice(r, 1);
595
595
  }
596
596
  }
597
- var Re = function() {
597
+ var Me = function() {
598
598
  function e(t) {
599
599
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
600
600
  }
@@ -606,7 +606,7 @@ var Re = function() {
606
606
  if (s)
607
607
  if (this._parentage = null, Array.isArray(s))
608
608
  try {
609
- for (var a = Ke(s), l = a.next(); !l.done; l = a.next()) {
609
+ for (var a = et(s), l = a.next(); !l.done; l = a.next()) {
610
610
  var u = l.value;
611
611
  u.remove(this);
612
612
  }
@@ -623,22 +623,22 @@ var Re = function() {
623
623
  else
624
624
  s.remove(this);
625
625
  var c = this.initialTeardown;
626
- if (Q(c))
626
+ if (Z(c))
627
627
  try {
628
628
  c();
629
629
  } catch (p) {
630
- o = p instanceof De ? p.errors : [p];
630
+ o = p instanceof je ? p.errors : [p];
631
631
  }
632
632
  var f = this._finalizers;
633
633
  if (f) {
634
634
  this._finalizers = null;
635
635
  try {
636
- for (var h = Ke(f), d = h.next(); !d.done; d = h.next()) {
637
- var m = d.value;
636
+ for (var h = et(f), d = h.next(); !d.done; d = h.next()) {
637
+ var b = d.value;
638
638
  try {
639
- xt(m);
639
+ Et(b);
640
640
  } catch (p) {
641
- o = o != null ? o : [], p instanceof De ? o = tt(tt([], et(o)), et(p.errors)) : o.push(p);
641
+ o = o != null ? o : [], p instanceof je ? o = rt(rt([], tt(o)), tt(p.errors)) : o.push(p);
642
642
  }
643
643
  }
644
644
  } catch (p) {
@@ -653,13 +653,13 @@ var Re = function() {
653
653
  }
654
654
  }
655
655
  if (o)
656
- throw new De(o);
656
+ throw new je(o);
657
657
  }
658
658
  }, e.prototype.add = function(t) {
659
659
  var r;
660
660
  if (t && t !== this)
661
661
  if (this.closed)
662
- xt(t);
662
+ Et(t);
663
663
  else {
664
664
  if (t instanceof e) {
665
665
  if (t.closed || t._hasParent(this))
@@ -676,52 +676,52 @@ var Re = function() {
676
676
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
677
677
  }, e.prototype._removeParent = function(t) {
678
678
  var r = this._parentage;
679
- r === t ? this._parentage = null : Array.isArray(r) && rt(r, t);
679
+ r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
680
680
  }, e.prototype.remove = function(t) {
681
681
  var r = this._finalizers;
682
- r && rt(r, t), t instanceof e && t._removeParent(this);
682
+ r && nt(r, t), t instanceof e && t._removeParent(this);
683
683
  }, e.EMPTY = function() {
684
684
  var t = new e();
685
685
  return t.closed = !0, t;
686
686
  }(), e;
687
- }(), Kt = Re.EMPTY;
688
- function er(e) {
689
- return e instanceof Re || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
687
+ }(), er = Me.EMPTY;
688
+ function tr(e) {
689
+ return e instanceof Me || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
690
690
  }
691
- function xt(e) {
692
- Q(e) ? e() : e.unsubscribe();
691
+ function Et(e) {
692
+ Z(e) ? e() : e.unsubscribe();
693
693
  }
694
- var on = {
694
+ var an = {
695
695
  Promise: void 0
696
- }, sn = {
696
+ }, un = {
697
697
  setTimeout: function(e, t) {
698
698
  for (var r = [], n = 2; n < arguments.length; n++)
699
699
  r[n - 2] = arguments[n];
700
- return setTimeout.apply(void 0, tt([e, t], et(r)));
700
+ return setTimeout.apply(void 0, rt([e, t], tt(r)));
701
701
  },
702
702
  clearTimeout: function(e) {
703
703
  return clearTimeout(e);
704
704
  },
705
705
  delegate: void 0
706
706
  };
707
- function an(e) {
708
- sn.setTimeout(function() {
707
+ function ln(e) {
708
+ un.setTimeout(function() {
709
709
  throw e;
710
710
  });
711
711
  }
712
- function Et() {
712
+ function St() {
713
713
  }
714
- function Te(e) {
714
+ function He(e) {
715
715
  e();
716
716
  }
717
- var tr = function(e) {
718
- ve(t, e);
717
+ var rr = function(e) {
718
+ _e(t, e);
719
719
  function t(r) {
720
720
  var n = e.call(this) || this;
721
- return n.isStopped = !1, r ? (n.destination = r, er(r) && r.add(n)) : n.destination = cn, n;
721
+ return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = fn, n;
722
722
  }
723
723
  return t.create = function(r, n, i) {
724
- return new nt(r, n, i);
724
+ return new it(r, n, i);
725
725
  }, t.prototype.next = function(r) {
726
726
  this.isStopped || this._next(r);
727
727
  }, t.prototype.error = function(r) {
@@ -745,7 +745,7 @@ var tr = function(e) {
745
745
  this.unsubscribe();
746
746
  }
747
747
  }, t;
748
- }(Re), un = function() {
748
+ }(Me), cn = function() {
749
749
  function e(t) {
750
750
  this.partialObserver = t;
751
751
  }
@@ -755,7 +755,7 @@ var tr = function(e) {
755
755
  try {
756
756
  r.next(t);
757
757
  } catch (n) {
758
- Ee(n);
758
+ Se(n);
759
759
  }
760
760
  }, e.prototype.error = function(t) {
761
761
  var r = this.partialObserver;
@@ -763,56 +763,56 @@ var tr = function(e) {
763
763
  try {
764
764
  r.error(t);
765
765
  } catch (n) {
766
- Ee(n);
766
+ Se(n);
767
767
  }
768
768
  else
769
- Ee(t);
769
+ Se(t);
770
770
  }, e.prototype.complete = function() {
771
771
  var t = this.partialObserver;
772
772
  if (t.complete)
773
773
  try {
774
774
  t.complete();
775
775
  } catch (r) {
776
- Ee(r);
776
+ Se(r);
777
777
  }
778
778
  }, e;
779
- }(), nt = function(e) {
780
- ve(t, e);
779
+ }(), it = function(e) {
780
+ _e(t, e);
781
781
  function t(r, n, i) {
782
782
  var o = e.call(this) || this, s;
783
- return Q(r) || !r ? s = {
783
+ return Z(r) || !r ? s = {
784
784
  next: r != null ? r : void 0,
785
785
  error: n != null ? n : void 0,
786
786
  complete: i != null ? i : void 0
787
- } : s = r, o.destination = new un(s), o;
787
+ } : s = r, o.destination = new cn(s), o;
788
788
  }
789
789
  return t;
790
- }(tr);
791
- function Ee(e) {
792
- an(e);
790
+ }(rr);
791
+ function Se(e) {
792
+ ln(e);
793
793
  }
794
- function ln(e) {
794
+ function hn(e) {
795
795
  throw e;
796
796
  }
797
- var cn = {
797
+ var fn = {
798
798
  closed: !0,
799
- next: Et,
800
- error: ln,
801
- complete: Et
802
- }, hn = function() {
799
+ next: St,
800
+ error: hn,
801
+ complete: St
802
+ }, pn = function() {
803
803
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
804
804
  }();
805
- function fn(e) {
805
+ function dn(e) {
806
806
  return e;
807
807
  }
808
- function pn(e) {
809
- return e.length === 0 ? fn : e.length === 1 ? e[0] : function(r) {
808
+ function mn(e) {
809
+ return e.length === 0 ? dn : e.length === 1 ? e[0] : function(r) {
810
810
  return e.reduce(function(n, i) {
811
811
  return i(n);
812
812
  }, r);
813
813
  };
814
814
  }
815
- var St = function() {
815
+ var wt = function() {
816
816
  function e(t) {
817
817
  t && (this._subscribe = t);
818
818
  }
@@ -820,8 +820,8 @@ var St = 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, o = mn(t) ? t : new nt(t, r, n);
824
- return Te(function() {
823
+ var i = this, o = yn(t) ? t : new it(t, r, n);
824
+ return He(function() {
825
825
  var s = i, a = s.operator, l = s.source;
826
826
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
827
827
  }), o;
@@ -833,8 +833,8 @@ var St = function() {
833
833
  }
834
834
  }, e.prototype.forEach = function(t, r) {
835
835
  var n = this;
836
- return r = wt(r), new r(function(i, o) {
837
- var s = new nt({
836
+ return r = Tt(r), new r(function(i, o) {
837
+ var s = new it({
838
838
  next: function(a) {
839
839
  try {
840
840
  t(a);
@@ -850,15 +850,15 @@ var St = function() {
850
850
  }, e.prototype._subscribe = function(t) {
851
851
  var r;
852
852
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
853
- }, e.prototype[hn] = function() {
853
+ }, e.prototype[pn] = function() {
854
854
  return this;
855
855
  }, e.prototype.pipe = function() {
856
856
  for (var t = [], r = 0; r < arguments.length; r++)
857
857
  t[r] = arguments[r];
858
- return pn(t)(this);
858
+ return mn(t)(this);
859
859
  }, e.prototype.toPromise = function(t) {
860
860
  var r = this;
861
- return t = wt(t), new t(function(n, i) {
861
+ return t = Tt(t), new t(function(n, i) {
862
862
  var o;
863
863
  r.subscribe(function(s) {
864
864
  return o = s;
@@ -872,40 +872,40 @@ var St = function() {
872
872
  return new e(t);
873
873
  }, e;
874
874
  }();
875
- function wt(e) {
875
+ function Tt(e) {
876
876
  var t;
877
- return (t = e != null ? e : on.Promise) !== null && t !== void 0 ? t : Promise;
877
+ return (t = e != null ? e : an.Promise) !== null && t !== void 0 ? t : Promise;
878
878
  }
879
- function dn(e) {
880
- return e && Q(e.next) && Q(e.error) && Q(e.complete);
879
+ function bn(e) {
880
+ return e && Z(e.next) && Z(e.error) && Z(e.complete);
881
881
  }
882
- function mn(e) {
883
- return e && e instanceof tr || dn(e) && er(e);
882
+ function yn(e) {
883
+ return e && e instanceof rr || bn(e) && tr(e);
884
884
  }
885
- var bn = Yt(function(e) {
885
+ var gn = Kt(function(e) {
886
886
  return function() {
887
887
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
888
888
  };
889
- }), rr = function(e) {
890
- ve(t, e);
889
+ }), nr = function(e) {
890
+ _e(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;
894
894
  }
895
895
  return t.prototype.lift = function(r) {
896
- var n = new Tt(this, this);
896
+ var n = new Ht(this, this);
897
897
  return n.operator = r, n;
898
898
  }, t.prototype._throwIfClosed = function() {
899
899
  if (this.closed)
900
- throw new bn();
900
+ throw new gn();
901
901
  }, t.prototype.next = function(r) {
902
902
  var n = this;
903
- Te(function() {
903
+ He(function() {
904
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 s = Ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
908
+ for (var s = et(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
909
909
  var l = a.value;
910
910
  l.next(r);
911
911
  }
@@ -923,7 +923,7 @@ var bn = Yt(function(e) {
923
923
  });
924
924
  }, t.prototype.error = function(r) {
925
925
  var n = this;
926
- Te(function() {
926
+ He(function() {
927
927
  if (n._throwIfClosed(), !n.isStopped) {
928
928
  n.hasError = n.isStopped = !0, n.thrownError = r;
929
929
  for (var i = n.observers; i.length; )
@@ -932,7 +932,7 @@ var bn = Yt(function(e) {
932
932
  });
933
933
  }, t.prototype.complete = function() {
934
934
  var r = this;
935
- Te(function() {
935
+ He(function() {
936
936
  if (r._throwIfClosed(), !r.isStopped) {
937
937
  r.isStopped = !0;
938
938
  for (var n = r.observers; n.length; )
@@ -954,20 +954,20 @@ var bn = Yt(function(e) {
954
954
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
955
955
  }, t.prototype._innerSubscribe = function(r) {
956
956
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
957
- return o || s ? Kt : (this.currentObservers = null, a.push(r), new Re(function() {
958
- n.currentObservers = null, rt(a, r);
957
+ return o || s ? er : (this.currentObservers = null, a.push(r), new Me(function() {
958
+ n.currentObservers = null, nt(a, r);
959
959
  }));
960
960
  }, t.prototype._checkFinalizedStatuses = function(r) {
961
961
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
962
962
  i ? r.error(o) : s && r.complete();
963
963
  }, t.prototype.asObservable = function() {
964
- var r = new St();
964
+ var r = new wt();
965
965
  return r.source = this, r;
966
966
  }, t.create = function(r, n) {
967
- return new Tt(r, n);
967
+ return new Ht(r, n);
968
968
  }, t;
969
- }(St), Tt = function(e) {
970
- ve(t, e);
969
+ }(wt), Ht = function(e) {
970
+ _e(t, e);
971
971
  function t(r, n) {
972
972
  var i = e.call(this) || this;
973
973
  return i.destination = r, i.source = n, i;
@@ -983,17 +983,17 @@ var bn = Yt(function(e) {
983
983
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
984
984
  }, t.prototype._subscribe = function(r) {
985
985
  var n, i;
986
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kt;
986
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
987
987
  }, t;
988
- }(rr), nr = {
988
+ }(nr), ir = {
989
989
  now: function() {
990
- return (nr.delegate || Date).now();
990
+ return (ir.delegate || Date).now();
991
991
  },
992
992
  delegate: void 0
993
- }, yn = function(e) {
994
- ve(t, e);
993
+ }, vn = function(e) {
994
+ _e(t, e);
995
995
  function t(r, n, i) {
996
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
996
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
997
997
  var o = e.call(this) || this;
998
998
  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;
999
999
  }
@@ -1013,24 +1013,24 @@ var bn = Yt(function(e) {
1013
1013
  u && o.splice(0, u + 1);
1014
1014
  }
1015
1015
  }, t;
1016
- }(rr);
1017
- const Ht = [], Ct = {}, gn = (e, t = 0) => {
1018
- if (Ht.indexOf(e) == -1) {
1019
- const r = new yn(t);
1020
- Ct[e] = r, Ht.push(e);
1016
+ }(nr);
1017
+ const Ct = [], Bt = {}, _n = (e, t = 0) => {
1018
+ if (Ct.indexOf(e) == -1) {
1019
+ const r = new vn(t);
1020
+ Bt[e] = r, Ct.push(e);
1021
1021
  }
1022
- return Ct[e];
1022
+ return Bt[e];
1023
1023
  }, re = [];
1024
- function vn(e, t) {
1024
+ function xn(e, t) {
1025
1025
  return {
1026
- subscribe: Me(e, t).subscribe
1026
+ subscribe: Ie(e, t).subscribe
1027
1027
  };
1028
1028
  }
1029
- function Me(e, t = N) {
1029
+ function Ie(e, t = N) {
1030
1030
  let r;
1031
1031
  const n = /* @__PURE__ */ new Set();
1032
1032
  function i(a) {
1033
- if (Wt(e, a) && (e = a, r)) {
1033
+ if (Zt(e, a) && (e = a, r)) {
1034
1034
  const l = !re.length;
1035
1035
  for (const u of n)
1036
1036
  u[1](), re.push(u, e);
@@ -1052,12 +1052,12 @@ function Me(e, t = N) {
1052
1052
  }
1053
1053
  return { set: i, update: o, subscribe: s };
1054
1054
  }
1055
- function he(e, t, r) {
1055
+ function fe(e, t, r) {
1056
1056
  const n = !Array.isArray(e), i = n ? [e] : e;
1057
1057
  if (!i.every(Boolean))
1058
1058
  throw new Error("derived() expects stores as input, got a falsy value");
1059
1059
  const o = t.length < 2;
1060
- return vn(r, (s, a) => {
1060
+ return xn(r, (s, a) => {
1061
1061
  let l = !1;
1062
1062
  const u = [];
1063
1063
  let c = 0, f = N;
@@ -1065,13 +1065,13 @@ function he(e, t, r) {
1065
1065
  if (c)
1066
1066
  return;
1067
1067
  f();
1068
- const m = t(n ? u[0] : u, s, a);
1069
- o ? s(m) : f = pt(m) ? m : N;
1068
+ const b = t(n ? u[0] : u, s, a);
1069
+ o ? s(b) : f = dt(b) ? b : N;
1070
1070
  }, d = i.map(
1071
- (m, p) => Zt(
1072
- m,
1073
- (y) => {
1074
- u[p] = y, c &= ~(1 << p), l && h();
1071
+ (b, p) => Qt(
1072
+ b,
1073
+ (m) => {
1074
+ u[p] = m, c &= ~(1 << p), l && h();
1075
1075
  },
1076
1076
  () => {
1077
1077
  c |= 1 << p;
@@ -1079,96 +1079,96 @@ function he(e, t, r) {
1079
1079
  )
1080
1080
  );
1081
1081
  return l = !0, h(), function() {
1082
- ce(d), f(), l = !1;
1082
+ he(d), f(), l = !1;
1083
1083
  };
1084
1084
  });
1085
1085
  }
1086
- function _n(e) {
1086
+ function En(e) {
1087
1087
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1088
1088
  }
1089
- var xn = function(t) {
1090
- return En(t) && !Sn(t);
1089
+ var Sn = function(t) {
1090
+ return wn(t) && !Tn(t);
1091
1091
  };
1092
- function En(e) {
1092
+ function wn(e) {
1093
1093
  return !!e && typeof e == "object";
1094
1094
  }
1095
- function Sn(e) {
1095
+ function Tn(e) {
1096
1096
  var t = Object.prototype.toString.call(e);
1097
- return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
1097
+ return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
1098
1098
  }
1099
- var wn = typeof Symbol == "function" && Symbol.for, Tn = wn ? Symbol.for("react.element") : 60103;
1100
- function Hn(e) {
1101
- return e.$$typeof === Tn;
1099
+ var Hn = typeof Symbol == "function" && Symbol.for, Cn = Hn ? Symbol.for("react.element") : 60103;
1100
+ function Bn(e) {
1101
+ return e.$$typeof === Cn;
1102
1102
  }
1103
- function Cn(e) {
1103
+ function An(e) {
1104
1104
  return Array.isArray(e) ? [] : {};
1105
1105
  }
1106
- function ye(e, t) {
1107
- return t.clone !== !1 && t.isMergeableObject(e) ? se(Cn(e), e, t) : e;
1106
+ function ge(e, t) {
1107
+ return t.clone !== !1 && t.isMergeableObject(e) ? ae(An(e), e, t) : e;
1108
1108
  }
1109
- function Bn(e, t, r) {
1109
+ function Pn(e, t, r) {
1110
1110
  return e.concat(t).map(function(n) {
1111
- return ye(n, r);
1111
+ return ge(n, r);
1112
1112
  });
1113
1113
  }
1114
- function An(e, t) {
1114
+ function On(e, t) {
1115
1115
  if (!t.customMerge)
1116
- return se;
1116
+ return ae;
1117
1117
  var r = t.customMerge(e);
1118
- return typeof r == "function" ? r : se;
1118
+ return typeof r == "function" ? r : ae;
1119
1119
  }
1120
- function Pn(e) {
1120
+ function Rn(e) {
1121
1121
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1122
1122
  return Object.propertyIsEnumerable.call(e, t);
1123
1123
  }) : [];
1124
1124
  }
1125
- function Bt(e) {
1126
- return Object.keys(e).concat(Pn(e));
1125
+ function At(e) {
1126
+ return Object.keys(e).concat(Rn(e));
1127
1127
  }
1128
- function ir(e, t) {
1128
+ function or(e, t) {
1129
1129
  try {
1130
1130
  return t in e;
1131
1131
  } catch (r) {
1132
1132
  return !1;
1133
1133
  }
1134
1134
  }
1135
- function On(e, t) {
1136
- return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1135
+ function Mn(e, t) {
1136
+ return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1137
1137
  }
1138
- function Rn(e, t, r) {
1138
+ function In(e, t, r) {
1139
1139
  var n = {};
1140
- return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1141
- n[i] = ye(e[i], r);
1142
- }), Bt(t).forEach(function(i) {
1143
- On(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
1140
+ return r.isMergeableObject(e) && At(e).forEach(function(i) {
1141
+ n[i] = ge(e[i], r);
1142
+ }), At(t).forEach(function(i) {
1143
+ Mn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
1144
1144
  }), n;
1145
1145
  }
1146
- function se(e, t, r) {
1147
- r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = ye;
1146
+ function ae(e, t, r) {
1147
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pn, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = ge;
1148
1148
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1149
- return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : ye(t, r);
1149
+ return o ? n ? r.arrayMerge(e, t, r) : In(e, t, r) : ge(t, r);
1150
1150
  }
1151
- se.all = function(t, r) {
1151
+ ae.all = function(t, r) {
1152
1152
  if (!Array.isArray(t))
1153
1153
  throw new Error("first argument should be an array");
1154
1154
  return t.reduce(function(n, i) {
1155
- return se(n, i, r);
1155
+ return ae(n, i, r);
1156
1156
  }, {});
1157
1157
  };
1158
- var Mn = se, In = Mn;
1159
- const Ln = /* @__PURE__ */ _n(In);
1160
- var it = function(e, t) {
1161
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1158
+ var Ln = ae, Nn = Ln;
1159
+ const kn = /* @__PURE__ */ En(Nn);
1160
+ var ot = function(e, t) {
1161
+ return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1162
1162
  r.__proto__ = n;
1163
1163
  } || function(r, n) {
1164
1164
  for (var i in n)
1165
1165
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1166
- }, it(e, t);
1166
+ }, ot(e, t);
1167
1167
  };
1168
- function Ie(e, t) {
1168
+ function Le(e, t) {
1169
1169
  if (typeof t != "function" && t !== null)
1170
1170
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1171
- it(e, t);
1171
+ ot(e, t);
1172
1172
  function r() {
1173
1173
  this.constructor = e;
1174
1174
  }
@@ -1184,7 +1184,7 @@ var z = function() {
1184
1184
  return t;
1185
1185
  }, z.apply(this, arguments);
1186
1186
  };
1187
- function Nn(e, t) {
1187
+ function $n(e, t) {
1188
1188
  var r = {};
1189
1189
  for (var n in e)
1190
1190
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1193,43 +1193,43 @@ function Nn(e, t) {
1193
1193
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1194
1194
  return r;
1195
1195
  }
1196
- function je(e, t, r) {
1196
+ function Ge(e, t, r) {
1197
1197
  if (r || arguments.length === 2)
1198
1198
  for (var n = 0, i = t.length, o; n < i; n++)
1199
1199
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1200
1200
  return e.concat(o || Array.prototype.slice.call(t));
1201
1201
  }
1202
- function Ge(e, t) {
1203
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Dn, i = t && t.strategy ? t.strategy : Un;
1202
+ function Ve(e, t) {
1203
+ var r = t && t.cache ? t.cache : Xn, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : Dn;
1204
1204
  return i(e, {
1205
1205
  cache: r,
1206
1206
  serializer: n
1207
1207
  });
1208
1208
  }
1209
- function kn(e) {
1209
+ function Un(e) {
1210
1210
  return e == null || typeof e == "number" || typeof e == "boolean";
1211
1211
  }
1212
- function $n(e, t, r, n) {
1213
- var i = kn(n) ? n : r(n), o = t.get(i);
1212
+ function Fn(e, t, r, n) {
1213
+ var i = Un(n) ? n : r(n), o = t.get(i);
1214
1214
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1215
1215
  }
1216
- function or(e, t, r) {
1216
+ function sr(e, t, r) {
1217
1217
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1218
1218
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1219
1219
  }
1220
- function sr(e, t, r, n, i) {
1220
+ function ar(e, t, r, n, i) {
1221
1221
  return r.bind(t, e, n, i);
1222
1222
  }
1223
- function Un(e, t) {
1224
- var r = e.length === 1 ? $n : or;
1225
- return sr(e, this, r, t.cache.create(), t.serializer);
1223
+ function Dn(e, t) {
1224
+ var r = e.length === 1 ? Fn : sr;
1225
+ return ar(e, this, r, t.cache.create(), t.serializer);
1226
1226
  }
1227
- function Fn(e, t) {
1228
- return sr(e, this, or, t.cache.create(), t.serializer);
1227
+ function jn(e, t) {
1228
+ return ar(e, this, sr, t.cache.create(), t.serializer);
1229
1229
  }
1230
- var Dn = function() {
1230
+ var Gn = function() {
1231
1231
  return JSON.stringify(arguments);
1232
- }, jn = (
1232
+ }, Vn = (
1233
1233
  /** @class */
1234
1234
  function() {
1235
1235
  function e() {
@@ -1241,21 +1241,21 @@ var Dn = function() {
1241
1241
  this.cache[t] = r;
1242
1242
  }, e;
1243
1243
  }()
1244
- ), Gn = {
1244
+ ), Xn = {
1245
1245
  create: function() {
1246
- return new jn();
1246
+ return new Vn();
1247
1247
  }
1248
- }, Ve = {
1249
- variadic: Fn
1250
- }, Ae = function() {
1251
- return Ae = Object.assign || function(t) {
1248
+ }, Xe = {
1249
+ variadic: jn
1250
+ }, Pe = function() {
1251
+ return Pe = Object.assign || function(t) {
1252
1252
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1253
1253
  r = arguments[n];
1254
1254
  for (var o in r)
1255
1255
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1256
1256
  }
1257
1257
  return t;
1258
- }, Ae.apply(this, arguments);
1258
+ }, Pe.apply(this, arguments);
1259
1259
  };
1260
1260
  var v;
1261
1261
  (function(e) {
@@ -1265,47 +1265,47 @@ var H;
1265
1265
  (function(e) {
1266
1266
  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";
1267
1267
  })(H || (H = {}));
1268
- var ae;
1268
+ var ue;
1269
1269
  (function(e) {
1270
1270
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1271
- })(ae || (ae = {}));
1272
- function At(e) {
1271
+ })(ue || (ue = {}));
1272
+ function Pt(e) {
1273
1273
  return e.type === H.literal;
1274
1274
  }
1275
- function Vn(e) {
1275
+ function zn(e) {
1276
1276
  return e.type === H.argument;
1277
1277
  }
1278
- function ar(e) {
1278
+ function ur(e) {
1279
1279
  return e.type === H.number;
1280
1280
  }
1281
- function ur(e) {
1281
+ function lr(e) {
1282
1282
  return e.type === H.date;
1283
1283
  }
1284
- function lr(e) {
1284
+ function cr(e) {
1285
1285
  return e.type === H.time;
1286
1286
  }
1287
- function cr(e) {
1287
+ function hr(e) {
1288
1288
  return e.type === H.select;
1289
1289
  }
1290
- function hr(e) {
1290
+ function fr(e) {
1291
1291
  return e.type === H.plural;
1292
1292
  }
1293
- function Xn(e) {
1293
+ function qn(e) {
1294
1294
  return e.type === H.pound;
1295
1295
  }
1296
- function fr(e) {
1296
+ function pr(e) {
1297
1297
  return e.type === H.tag;
1298
1298
  }
1299
- function pr(e) {
1300
- return !!(e && typeof e == "object" && e.type === ae.number);
1299
+ function dr(e) {
1300
+ return !!(e && typeof e == "object" && e.type === ue.number);
1301
1301
  }
1302
- function ot(e) {
1303
- return !!(e && typeof e == "object" && e.type === ae.dateTime);
1302
+ function st(e) {
1303
+ return !!(e && typeof e == "object" && e.type === ue.dateTime);
1304
1304
  }
1305
- var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
1306
- function qn(e) {
1305
+ var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
1306
+ function Zn(e) {
1307
1307
  var t = {};
1308
- return e.replace(zn, function(r) {
1308
+ return e.replace(Wn, function(r) {
1309
1309
  var n = r.length;
1310
1310
  switch (r[0]) {
1311
1311
  case "G":
@@ -1394,21 +1394,21 @@ function qn(e) {
1394
1394
  return "";
1395
1395
  }), t;
1396
1396
  }
1397
- var B = function() {
1398
- return B = Object.assign || function(t) {
1397
+ var C = function() {
1398
+ return C = Object.assign || function(t) {
1399
1399
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1400
1400
  r = arguments[n];
1401
1401
  for (var o in r)
1402
1402
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1403
1403
  }
1404
1404
  return t;
1405
- }, B.apply(this, arguments);
1405
+ }, C.apply(this, arguments);
1406
1406
  };
1407
- var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1408
- function Zn(e) {
1407
+ var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1408
+ function Yn(e) {
1409
1409
  if (e.length === 0)
1410
1410
  throw new Error("Number skeleton cannot be empty");
1411
- for (var t = e.split(Wn).filter(function(h) {
1411
+ for (var t = e.split(Qn).filter(function(h) {
1412
1412
  return h.length > 0;
1413
1413
  }), r = [], n = 0, i = t; n < i.length; n++) {
1414
1414
  var o = i[n], s = o.split("/");
@@ -1423,17 +1423,17 @@ function Zn(e) {
1423
1423
  }
1424
1424
  return r;
1425
1425
  }
1426
- function Qn(e) {
1426
+ function Jn(e) {
1427
1427
  return e.replace(/^(.*?)-/, "");
1428
1428
  }
1429
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1430
- function Ot(e) {
1429
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, Kn = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1430
+ function Rt(e) {
1431
1431
  var t = {};
1432
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1432
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
1433
1433
  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)), "";
1434
1434
  }), t;
1435
1435
  }
1436
- function yr(e) {
1436
+ function gr(e) {
1437
1437
  switch (e) {
1438
1438
  case "sign-auto":
1439
1439
  return {
@@ -1473,7 +1473,7 @@ function yr(e) {
1473
1473
  };
1474
1474
  }
1475
1475
  }
1476
- function Yn(e) {
1476
+ function ei(e) {
1477
1477
  var t;
1478
1478
  if (e[0] === "E" && e[1] === "E" ? (t = {
1479
1479
  notation: "engineering"
@@ -1481,17 +1481,17 @@ function Yn(e) {
1481
1481
  notation: "scientific"
1482
1482
  }, e = e.slice(1)), t) {
1483
1483
  var r = e.slice(0, 2);
1484
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
1484
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1485
1485
  throw new Error("Malformed concise eng/scientific notation");
1486
1486
  t.minimumIntegerDigits = e.length;
1487
1487
  }
1488
1488
  return t;
1489
1489
  }
1490
- function Rt(e) {
1491
- var t = {}, r = yr(e);
1490
+ function Mt(e) {
1491
+ var t = {}, r = gr(e);
1492
1492
  return r || t;
1493
1493
  }
1494
- function Kn(e) {
1494
+ function ti(e) {
1495
1495
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1496
1496
  var i = n[r];
1497
1497
  switch (i.stem) {
@@ -1515,7 +1515,7 @@ function Kn(e) {
1515
1515
  continue;
1516
1516
  case "measure-unit":
1517
1517
  case "unit":
1518
- t.style = "unit", t.unit = Qn(i.options[0]);
1518
+ t.style = "unit", t.unit = Jn(i.options[0]);
1519
1519
  continue;
1520
1520
  case "compact-short":
1521
1521
  case "K":
@@ -1526,13 +1526,13 @@ function Kn(e) {
1526
1526
  t.notation = "compact", t.compactDisplay = "long";
1527
1527
  continue;
1528
1528
  case "scientific":
1529
- t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1530
- return B(B({}, l), Rt(u));
1529
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1530
+ return C(C({}, l), Mt(u));
1531
1531
  }, {}));
1532
1532
  continue;
1533
1533
  case "engineering":
1534
- t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1535
- return B(B({}, l), Rt(u));
1534
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1535
+ return C(C({}, l), Mt(u));
1536
1536
  }, {}));
1537
1537
  continue;
1538
1538
  case "notation-simple":
@@ -1577,7 +1577,7 @@ function Kn(e) {
1577
1577
  case "integer-width":
1578
1578
  if (i.options.length > 1)
1579
1579
  throw new RangeError("integer-width stems only accept a single optional option");
1580
- i.options[0].replace(Jn, function(l, u, c, f, h, d) {
1580
+ i.options[0].replace(Kn, function(l, u, c, f, h, d) {
1581
1581
  if (u)
1582
1582
  t.minimumIntegerDigits = c.length;
1583
1583
  else {
@@ -1590,32 +1590,32 @@ function Kn(e) {
1590
1590
  });
1591
1591
  continue;
1592
1592
  }
1593
- if (br.test(i.stem)) {
1593
+ if (yr.test(i.stem)) {
1594
1594
  t.minimumIntegerDigits = i.stem.length;
1595
1595
  continue;
1596
1596
  }
1597
- if (Pt.test(i.stem)) {
1597
+ if (Ot.test(i.stem)) {
1598
1598
  if (i.options.length > 1)
1599
1599
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1600
- i.stem.replace(Pt, function(l, u, c, f, h, d) {
1600
+ i.stem.replace(Ot, function(l, u, c, f, h, d) {
1601
1601
  return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && d ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1602
1602
  });
1603
1603
  var o = i.options[0];
1604
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), Ot(o)));
1604
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Rt(o)));
1605
1605
  continue;
1606
1606
  }
1607
- if (mr.test(i.stem)) {
1608
- t = B(B({}, t), Ot(i.stem));
1607
+ if (br.test(i.stem)) {
1608
+ t = C(C({}, t), Rt(i.stem));
1609
1609
  continue;
1610
1610
  }
1611
- var s = yr(i.stem);
1612
- s && (t = B(B({}, t), s));
1613
- var a = Yn(i.stem);
1614
- a && (t = B(B({}, t), a));
1611
+ var s = gr(i.stem);
1612
+ s && (t = C(C({}, t), s));
1613
+ var a = ei(i.stem);
1614
+ a && (t = C(C({}, t), a));
1615
1615
  }
1616
1616
  return t;
1617
1617
  }
1618
- var Se = {
1618
+ var we = {
1619
1619
  "001": [
1620
1620
  "H",
1621
1621
  "h"
@@ -3030,13 +3030,13 @@ var Se = {
3030
3030
  "h"
3031
3031
  ]
3032
3032
  };
3033
- function ei(e, t) {
3033
+ function ri(e, t) {
3034
3034
  for (var r = "", n = 0; n < e.length; n++) {
3035
3035
  var i = e.charAt(n);
3036
3036
  if (i === "j") {
3037
3037
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3038
3038
  o++, n++;
3039
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ti(t);
3039
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ni(t);
3040
3040
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3041
3041
  r += l;
3042
3042
  for (; s-- > 0; )
@@ -3046,7 +3046,7 @@ function ei(e, t) {
3046
3046
  }
3047
3047
  return r;
3048
3048
  }
3049
- function ti(e) {
3049
+ function ni(e) {
3050
3050
  var t = e.hourCycle;
3051
3051
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3052
3052
  e.hourCycles && // @ts-ignore
@@ -3065,23 +3065,23 @@ function ti(e) {
3065
3065
  }
3066
3066
  var r = e.language, n;
3067
3067
  r !== "root" && (n = e.maximize().region);
3068
- var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
3068
+ var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
3069
3069
  return i[0];
3070
3070
  }
3071
- var Xe, ri = new RegExp("^".concat(dr.source, "*")), ni = new RegExp("".concat(dr.source, "*$"));
3071
+ var ze, ii = new RegExp("^".concat(mr.source, "*")), oi = new RegExp("".concat(mr.source, "*$"));
3072
3072
  function _(e, t) {
3073
3073
  return { start: e, end: t };
3074
3074
  }
3075
- var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, hi = ci ? Number.isSafeInteger : function(e) {
3075
+ var si = !!String.prototype.startsWith && "_a".startsWith("a", 1), ai = !!String.fromCodePoint, ui = !!Object.fromEntries, li = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, fi = !!Number.isSafeInteger, pi = fi ? Number.isSafeInteger : function(e) {
3076
3076
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3077
- }, st = !0;
3077
+ }, at = !0;
3078
3078
  try {
3079
- var fi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
- st = ((Xe = fi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
3079
+ var di = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
+ at = ((ze = di.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
3081
3081
  } catch (e) {
3082
- st = !1;
3082
+ at = !1;
3083
3083
  }
3084
- var Mt = ii ? (
3084
+ var It = si ? (
3085
3085
  // Native
3086
3086
  function(t, r, n) {
3087
3087
  return t.startsWith(r, n);
@@ -3091,7 +3091,7 @@ var Mt = ii ? (
3091
3091
  function(t, r, n) {
3092
3092
  return t.slice(n, n + r.length) === r;
3093
3093
  }
3094
- ), at = oi ? String.fromCodePoint : (
3094
+ ), ut = ai ? String.fromCodePoint : (
3095
3095
  // IE11
3096
3096
  function() {
3097
3097
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3103,9 +3103,9 @@ var Mt = ii ? (
3103
3103
  }
3104
3104
  return n;
3105
3105
  }
3106
- ), It = (
3106
+ ), Lt = (
3107
3107
  // native
3108
- si ? Object.fromEntries : (
3108
+ ui ? Object.fromEntries : (
3109
3109
  // Ponyfill
3110
3110
  function(t) {
3111
3111
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3115,7 +3115,7 @@ var Mt = ii ? (
3115
3115
  return r;
3116
3116
  }
3117
3117
  )
3118
- ), gr = ai ? (
3118
+ ), vr = li ? (
3119
3119
  // Native
3120
3120
  function(t, r) {
3121
3121
  return t.codePointAt(r);
@@ -3129,7 +3129,7 @@ var Mt = ii ? (
3129
3129
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3130
3130
  }
3131
3131
  }
3132
- ), pi = ui ? (
3132
+ ), mi = ci ? (
3133
3133
  // Native
3134
3134
  function(t) {
3135
3135
  return t.trimStart();
@@ -3137,9 +3137,9 @@ var Mt = ii ? (
3137
3137
  ) : (
3138
3138
  // Ponyfill
3139
3139
  function(t) {
3140
- return t.replace(ri, "");
3140
+ return t.replace(ii, "");
3141
3141
  }
3142
- ), di = li ? (
3142
+ ), bi = hi ? (
3143
3143
  // Native
3144
3144
  function(t) {
3145
3145
  return t.trimEnd();
@@ -3147,32 +3147,32 @@ var Mt = ii ? (
3147
3147
  ) : (
3148
3148
  // Ponyfill
3149
3149
  function(t) {
3150
- return t.replace(ni, "");
3150
+ return t.replace(oi, "");
3151
3151
  }
3152
3152
  );
3153
- function vr(e, t) {
3153
+ function _r(e, t) {
3154
3154
  return new RegExp(e, t);
3155
3155
  }
3156
- var ut;
3157
- if (st) {
3158
- var Lt = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3159
- ut = function(t, r) {
3156
+ var lt;
3157
+ if (at) {
3158
+ var Nt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3159
+ lt = function(t, r) {
3160
3160
  var n;
3161
- Lt.lastIndex = r;
3162
- var i = Lt.exec(t);
3161
+ Nt.lastIndex = r;
3162
+ var i = Nt.exec(t);
3163
3163
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3164
3164
  };
3165
3165
  } else
3166
- ut = function(t, r) {
3166
+ lt = function(t, r) {
3167
3167
  for (var n = []; ; ) {
3168
- var i = gr(t, r);
3169
- if (i === void 0 || _r(i) || gi(i))
3168
+ var i = vr(t, r);
3169
+ if (i === void 0 || xr(i) || _i(i))
3170
3170
  break;
3171
3171
  n.push(i), r += i >= 65536 ? 2 : 1;
3172
3172
  }
3173
- return at.apply(void 0, n);
3173
+ return ut.apply(void 0, n);
3174
3174
  };
3175
- var mi = (
3175
+ var yi = (
3176
3176
  /** @class */
3177
3177
  function() {
3178
3178
  function e(t, r) {
@@ -3203,7 +3203,7 @@ var mi = (
3203
3203
  if (n)
3204
3204
  break;
3205
3205
  return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3206
- } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
3206
+ } else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
3207
3207
  var s = this.parseTag(t, r);
3208
3208
  if (s.err)
3209
3209
  return s;
@@ -3236,7 +3236,7 @@ var mi = (
3236
3236
  return o;
3237
3237
  var s = o.val, a = this.clonePosition();
3238
3238
  if (this.bumpIf("</")) {
3239
- if (this.isEOF() || !lt(this.char()))
3239
+ if (this.isEOF() || !ct(this.char()))
3240
3240
  return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
3241
3241
  var l = this.clonePosition(), u = this.parseTagName();
3242
3242
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3254,7 +3254,7 @@ var mi = (
3254
3254
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3255
3255
  }, e.prototype.parseTagName = function() {
3256
3256
  var t = this.offset();
3257
- for (this.bump(); !this.isEOF() && yi(this.char()); )
3257
+ for (this.bump(); !this.isEOF() && vi(this.char()); )
3258
3258
  this.bump();
3259
3259
  return this.message.slice(t, this.offset());
3260
3260
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3283,7 +3283,7 @@ var mi = (
3283
3283
  };
3284
3284
  }, e.prototype.tryParseLeftAngleBracket = function() {
3285
3285
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3286
- !bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3286
+ !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3287
3287
  }, e.prototype.tryParseQuote = function(t) {
3288
3288
  if (this.isEOF() || this.char() !== 39)
3289
3289
  return null;
@@ -3317,12 +3317,12 @@ var mi = (
3317
3317
  r.push(n);
3318
3318
  this.bump();
3319
3319
  }
3320
- return at.apply(void 0, r);
3320
+ return ut.apply(void 0, r);
3321
3321
  }, e.prototype.tryParseUnquoted = function(t, r) {
3322
3322
  if (this.isEOF())
3323
3323
  return null;
3324
3324
  var n = this.char();
3325
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
3325
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ut(n));
3326
3326
  }, e.prototype.parseArgument = function(t, r) {
3327
3327
  var n = this.clonePosition();
3328
3328
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3351,7 +3351,7 @@ var mi = (
3351
3351
  return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3352
3352
  }
3353
3353
  }, e.prototype.parseIdentifierIfPossible = function() {
3354
- var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3354
+ var t = this.clonePosition(), r = this.offset(), n = lt(this.message, r), i = r + n.length;
3355
3355
  this.bumpTo(i);
3356
3356
  var o = this.clonePosition(), s = _(t, o);
3357
3357
  return { value: n, location: s };
@@ -3370,37 +3370,37 @@ var mi = (
3370
3370
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3371
3371
  if (f.err)
3372
3372
  return f;
3373
- var h = di(f.val);
3373
+ var h = bi(f.val);
3374
3374
  if (h.length === 0)
3375
3375
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3376
3376
  var d = _(c, this.clonePosition());
3377
3377
  u = { style: h, styleLocation: d };
3378
3378
  }
3379
- var m = this.tryParseArgumentClose(i);
3380
- if (m.err)
3381
- return m;
3379
+ var b = this.tryParseArgumentClose(i);
3380
+ if (b.err)
3381
+ return b;
3382
3382
  var p = _(i, this.clonePosition());
3383
- if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3384
- var y = pi(u.style.slice(2));
3383
+ if (u && It(u == null ? void 0 : u.style, "::", 0)) {
3384
+ var m = mi(u.style.slice(2));
3385
3385
  if (a === "number") {
3386
- var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
3386
+ var f = this.parseNumberSkeletonFromString(m, u.styleLocation);
3387
3387
  return f.err ? f : {
3388
3388
  val: { type: H.number, value: n, location: p, style: f.val },
3389
3389
  err: null
3390
3390
  };
3391
3391
  } else {
3392
- if (y.length === 0)
3392
+ if (m.length === 0)
3393
3393
  return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
3394
- var S = y;
3395
- this.locale && (S = ei(y, this.locale));
3394
+ var S = m;
3395
+ this.locale && (S = ri(m, this.locale));
3396
3396
  var h = {
3397
- type: ae.dateTime,
3397
+ type: ue.dateTime,
3398
3398
  pattern: S,
3399
3399
  location: u.styleLocation,
3400
- parsedOptions: this.shouldParseSkeletons ? qn(S) : {}
3401
- }, C = a === "date" ? H.date : H.time;
3400
+ parsedOptions: this.shouldParseSkeletons ? Zn(S) : {}
3401
+ }, B = a === "date" ? H.date : H.time;
3402
3402
  return {
3403
- val: { type: C, value: n, location: p, style: h },
3403
+ val: { type: B, value: n, location: p, style: h },
3404
3404
  err: null
3405
3405
  };
3406
3406
  }
@@ -3418,32 +3418,32 @@ var mi = (
3418
3418
  case "plural":
3419
3419
  case "selectordinal":
3420
3420
  case "select": {
3421
- var O = this.clonePosition();
3421
+ var A = this.clonePosition();
3422
3422
  if (this.bumpSpace(), !this.bumpIf(","))
3423
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(O, Ae({}, O)));
3423
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, Pe({}, A)));
3424
3424
  this.bumpSpace();
3425
- var F = this.parseIdentifierIfPossible(), k = 0;
3426
- if (a !== "select" && F.value === "offset") {
3425
+ var k = this.parseIdentifierIfPossible(), $ = 0;
3426
+ if (a !== "select" && k.value === "offset") {
3427
3427
  if (!this.bumpIf(":"))
3428
3428
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3429
3429
  this.bumpSpace();
3430
3430
  var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3431
3431
  if (f.err)
3432
3432
  return f;
3433
- this.bumpSpace(), F = this.parseIdentifierIfPossible(), k = f.val;
3433
+ this.bumpSpace(), k = this.parseIdentifierIfPossible(), $ = f.val;
3434
3434
  }
3435
- var q = this.tryParsePluralOrSelectOptions(t, a, r, F);
3435
+ var q = this.tryParsePluralOrSelectOptions(t, a, r, k);
3436
3436
  if (q.err)
3437
3437
  return q;
3438
- var m = this.tryParseArgumentClose(i);
3439
- if (m.err)
3440
- return m;
3438
+ var b = this.tryParseArgumentClose(i);
3439
+ if (b.err)
3440
+ return b;
3441
3441
  var D = _(i, this.clonePosition());
3442
3442
  return a === "select" ? {
3443
3443
  val: {
3444
3444
  type: H.select,
3445
3445
  value: n,
3446
- options: It(q.val),
3446
+ options: Lt(q.val),
3447
3447
  location: D
3448
3448
  },
3449
3449
  err: null
@@ -3451,8 +3451,8 @@ var mi = (
3451
3451
  val: {
3452
3452
  type: H.plural,
3453
3453
  value: n,
3454
- options: It(q.val),
3455
- offset: k,
3454
+ options: Lt(q.val),
3455
+ offset: $,
3456
3456
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3457
3457
  location: D
3458
3458
  },
@@ -3502,16 +3502,16 @@ var mi = (
3502
3502
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3503
3503
  var n = [];
3504
3504
  try {
3505
- n = Zn(t);
3505
+ n = Yn(t);
3506
3506
  } catch (i) {
3507
3507
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3508
3508
  }
3509
3509
  return {
3510
3510
  val: {
3511
- type: ae.number,
3511
+ type: ue.number,
3512
3512
  tokens: n,
3513
3513
  location: r,
3514
- parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
3514
+ parsedOptions: this.shouldParseSkeletons ? ti(n) : {}
3515
3515
  },
3516
3516
  err: null
3517
3517
  };
@@ -3533,16 +3533,16 @@ var mi = (
3533
3533
  var d = this.clonePosition();
3534
3534
  if (!this.bumpIf("{"))
3535
3535
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3536
- var m = this.parseMessage(t + 1, r, n);
3537
- if (m.err)
3538
- return m;
3536
+ var b = this.parseMessage(t + 1, r, n);
3537
+ if (b.err)
3538
+ return b;
3539
3539
  var p = this.tryParseArgumentClose(d);
3540
3540
  if (p.err)
3541
3541
  return p;
3542
3542
  a.push([
3543
3543
  u,
3544
3544
  {
3545
- value: m.val,
3545
+ value: b.val,
3546
3546
  location: _(d, this.clonePosition())
3547
3547
  }
3548
3548
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
@@ -3559,7 +3559,7 @@ var mi = (
3559
3559
  break;
3560
3560
  }
3561
3561
  var l = _(i, this.clonePosition());
3562
- return o ? (s *= n, hi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3562
+ return o ? (s *= n, pi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3563
3563
  }, e.prototype.offset = function() {
3564
3564
  return this.position.offset;
3565
3565
  }, e.prototype.isEOF = function() {
@@ -3574,7 +3574,7 @@ var mi = (
3574
3574
  var t = this.position.offset;
3575
3575
  if (t >= this.message.length)
3576
3576
  throw Error("out of bound");
3577
- var r = gr(this.message, t);
3577
+ var r = vr(this.message, t);
3578
3578
  if (r === void 0)
3579
3579
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3580
3580
  return r;
@@ -3593,7 +3593,7 @@ var mi = (
3593
3593
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3594
3594
  }
3595
3595
  }, e.prototype.bumpIf = function(t) {
3596
- if (Mt(this.message, t, this.offset())) {
3596
+ if (It(this.message, t, this.offset())) {
3597
3597
  for (var r = 0; r < t.length; r++)
3598
3598
  this.bump();
3599
3599
  return !0;
@@ -3615,7 +3615,7 @@ var mi = (
3615
3615
  break;
3616
3616
  }
3617
3617
  }, e.prototype.bumpSpace = function() {
3618
- for (; !this.isEOF() && _r(this.char()); )
3618
+ for (; !this.isEOF() && xr(this.char()); )
3619
3619
  this.bump();
3620
3620
  }, e.prototype.peek = function() {
3621
3621
  if (this.isEOF())
@@ -3625,47 +3625,47 @@ var mi = (
3625
3625
  }, e;
3626
3626
  }()
3627
3627
  );
3628
- function lt(e) {
3628
+ function ct(e) {
3629
3629
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3630
3630
  }
3631
- function bi(e) {
3632
- return lt(e) || e === 47;
3631
+ function gi(e) {
3632
+ return ct(e) || e === 47;
3633
3633
  }
3634
- function yi(e) {
3634
+ function vi(e) {
3635
3635
  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;
3636
3636
  }
3637
- function _r(e) {
3637
+ function xr(e) {
3638
3638
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3639
3639
  }
3640
- function gi(e) {
3640
+ function _i(e) {
3641
3641
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3642
3642
  }
3643
- function ct(e) {
3643
+ function ht(e) {
3644
3644
  e.forEach(function(t) {
3645
- if (delete t.location, cr(t) || hr(t))
3645
+ if (delete t.location, hr(t) || fr(t))
3646
3646
  for (var r in t.options)
3647
- delete t.options[r].location, ct(t.options[r].value);
3647
+ delete t.options[r].location, ht(t.options[r].value);
3648
3648
  else
3649
- ar(t) && pr(t.style) || (ur(t) || lr(t)) && ot(t.style) ? delete t.style.location : fr(t) && ct(t.children);
3649
+ ur(t) && dr(t.style) || (lr(t) || cr(t)) && st(t.style) ? delete t.style.location : pr(t) && ht(t.children);
3650
3650
  });
3651
3651
  }
3652
- function vi(e, t) {
3653
- t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3654
- var r = new mi(e, t).parse();
3652
+ function xi(e, t) {
3653
+ t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3654
+ var r = new yi(e, t).parse();
3655
3655
  if (r.err) {
3656
3656
  var n = SyntaxError(v[r.err.kind]);
3657
3657
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3658
3658
  }
3659
- return t != null && t.captureLocation || ct(r.val), r.val;
3659
+ return t != null && t.captureLocation || ht(r.val), r.val;
3660
3660
  }
3661
- var ue;
3661
+ var le;
3662
3662
  (function(e) {
3663
3663
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3664
- })(ue || (ue = {}));
3665
- var Le = (
3664
+ })(le || (le = {}));
3665
+ var Ne = (
3666
3666
  /** @class */
3667
3667
  function(e) {
3668
- Ie(t, e);
3668
+ Le(t, e);
3669
3669
  function t(r, n, i) {
3670
3670
  var o = e.call(this, r) || this;
3671
3671
  return o.code = n, o.originalMessage = i, o;
@@ -3674,48 +3674,48 @@ var Le = (
3674
3674
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3675
3675
  }, t;
3676
3676
  }(Error)
3677
- ), Nt = (
3677
+ ), kt = (
3678
3678
  /** @class */
3679
3679
  function(e) {
3680
- Ie(t, e);
3680
+ Le(t, e);
3681
3681
  function t(r, n, i, o) {
3682
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ue.INVALID_VALUE, o) || this;
3682
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), le.INVALID_VALUE, o) || this;
3683
3683
  }
3684
3684
  return t;
3685
- }(Le)
3686
- ), _i = (
3685
+ }(Ne)
3686
+ ), Ei = (
3687
3687
  /** @class */
3688
3688
  function(e) {
3689
- Ie(t, e);
3689
+ Le(t, e);
3690
3690
  function t(r, n, i) {
3691
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ue.INVALID_VALUE, i) || this;
3691
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), le.INVALID_VALUE, i) || this;
3692
3692
  }
3693
3693
  return t;
3694
- }(Le)
3695
- ), xi = (
3694
+ }(Ne)
3695
+ ), Si = (
3696
3696
  /** @class */
3697
3697
  function(e) {
3698
- Ie(t, e);
3698
+ Le(t, e);
3699
3699
  function t(r, n) {
3700
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ue.MISSING_VALUE, n) || this;
3700
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), le.MISSING_VALUE, n) || this;
3701
3701
  }
3702
3702
  return t;
3703
- }(Le)
3703
+ }(Ne)
3704
3704
  ), L;
3705
3705
  (function(e) {
3706
3706
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3707
3707
  })(L || (L = {}));
3708
- function Ei(e) {
3708
+ function wi(e) {
3709
3709
  return e.length < 2 ? e : e.reduce(function(t, r) {
3710
3710
  var n = t[t.length - 1];
3711
3711
  return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3712
3712
  }, []);
3713
3713
  }
3714
- function Si(e) {
3714
+ function Ti(e) {
3715
3715
  return typeof e == "function";
3716
3716
  }
3717
- function He(e, t, r, n, i, o, s) {
3718
- if (e.length === 1 && At(e[0]))
3717
+ function Ce(e, t, r, n, i, o, s) {
3718
+ if (e.length === 1 && Pt(e[0]))
3719
3719
  return [
3720
3720
  {
3721
3721
  type: L.literal,
@@ -3724,14 +3724,14 @@ function He(e, t, r, n, i, o, s) {
3724
3724
  ];
3725
3725
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3726
3726
  var c = u[l];
3727
- if (At(c)) {
3727
+ if (Pt(c)) {
3728
3728
  a.push({
3729
3729
  type: L.literal,
3730
3730
  value: c.value
3731
3731
  });
3732
3732
  continue;
3733
3733
  }
3734
- if (Xn(c)) {
3734
+ if (qn(c)) {
3735
3735
  typeof o == "number" && a.push({
3736
3736
  type: L.literal,
3737
3737
  value: r.getNumberFormat(t).format(o)
@@ -3740,89 +3740,89 @@ function He(e, t, r, n, i, o, s) {
3740
3740
  }
3741
3741
  var f = c.value;
3742
3742
  if (!(i && f in i))
3743
- throw new xi(f, s);
3743
+ throw new Si(f, s);
3744
3744
  var h = i[f];
3745
- if (Vn(c)) {
3745
+ if (zn(c)) {
3746
3746
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3747
3747
  type: typeof h == "string" ? L.literal : L.object,
3748
3748
  value: h
3749
3749
  });
3750
3750
  continue;
3751
3751
  }
3752
- if (ur(c)) {
3753
- var d = typeof c.style == "string" ? n.date[c.style] : ot(c.style) ? c.style.parsedOptions : void 0;
3752
+ if (lr(c)) {
3753
+ var d = typeof c.style == "string" ? n.date[c.style] : st(c.style) ? c.style.parsedOptions : void 0;
3754
3754
  a.push({
3755
3755
  type: L.literal,
3756
3756
  value: r.getDateTimeFormat(t, d).format(h)
3757
3757
  });
3758
3758
  continue;
3759
3759
  }
3760
- if (lr(c)) {
3761
- var d = typeof c.style == "string" ? n.time[c.style] : ot(c.style) ? c.style.parsedOptions : n.time.medium;
3760
+ if (cr(c)) {
3761
+ var d = typeof c.style == "string" ? n.time[c.style] : st(c.style) ? c.style.parsedOptions : n.time.medium;
3762
3762
  a.push({
3763
3763
  type: L.literal,
3764
3764
  value: r.getDateTimeFormat(t, d).format(h)
3765
3765
  });
3766
3766
  continue;
3767
3767
  }
3768
- if (ar(c)) {
3769
- var d = typeof c.style == "string" ? n.number[c.style] : pr(c.style) ? c.style.parsedOptions : void 0;
3768
+ if (ur(c)) {
3769
+ var d = typeof c.style == "string" ? n.number[c.style] : dr(c.style) ? c.style.parsedOptions : void 0;
3770
3770
  d && d.scale && (h = h * (d.scale || 1)), a.push({
3771
3771
  type: L.literal,
3772
3772
  value: r.getNumberFormat(t, d).format(h)
3773
3773
  });
3774
3774
  continue;
3775
3775
  }
3776
- if (fr(c)) {
3777
- var m = c.children, p = c.value, y = i[p];
3778
- if (!Si(y))
3779
- throw new _i(p, "function", s);
3780
- var S = He(m, t, r, n, i, o), C = y(S.map(function(k) {
3781
- return k.value;
3776
+ if (pr(c)) {
3777
+ var b = c.children, p = c.value, m = i[p];
3778
+ if (!Ti(m))
3779
+ throw new Ei(p, "function", s);
3780
+ var S = Ce(b, t, r, n, i, o), B = m(S.map(function($) {
3781
+ return $.value;
3782
3782
  }));
3783
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(k) {
3783
+ Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function($) {
3784
3784
  return {
3785
- type: typeof k == "string" ? L.literal : L.object,
3786
- value: k
3785
+ type: typeof $ == "string" ? L.literal : L.object,
3786
+ value: $
3787
3787
  };
3788
3788
  }));
3789
3789
  }
3790
- if (cr(c)) {
3791
- var O = c.options[h] || c.options.other;
3792
- if (!O)
3793
- throw new Nt(c.value, h, Object.keys(c.options), s);
3794
- a.push.apply(a, He(O.value, t, r, n, i));
3790
+ if (hr(c)) {
3791
+ var A = c.options[h] || c.options.other;
3792
+ if (!A)
3793
+ throw new kt(c.value, h, Object.keys(c.options), s);
3794
+ a.push.apply(a, Ce(A.value, t, r, n, i));
3795
3795
  continue;
3796
3796
  }
3797
- if (hr(c)) {
3798
- var O = c.options["=".concat(h)];
3799
- if (!O) {
3797
+ if (fr(c)) {
3798
+ var A = c.options["=".concat(h)];
3799
+ if (!A) {
3800
3800
  if (!Intl.PluralRules)
3801
- throw new Le(`Intl.PluralRules is not available in this environment.
3801
+ throw new Ne(`Intl.PluralRules is not available in this environment.
3802
3802
  Try polyfilling it using "@formatjs/intl-pluralrules"
3803
- `, ue.MISSING_INTL_API, s);
3804
- var F = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3805
- O = c.options[F] || c.options.other;
3803
+ `, le.MISSING_INTL_API, s);
3804
+ var k = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3805
+ A = c.options[k] || c.options.other;
3806
3806
  }
3807
- if (!O)
3808
- throw new Nt(c.value, h, Object.keys(c.options), s);
3809
- a.push.apply(a, He(O.value, t, r, n, i, h - (c.offset || 0)));
3807
+ if (!A)
3808
+ throw new kt(c.value, h, Object.keys(c.options), s);
3809
+ a.push.apply(a, Ce(A.value, t, r, n, i, h - (c.offset || 0)));
3810
3810
  continue;
3811
3811
  }
3812
3812
  }
3813
- return Ei(a);
3813
+ return wi(a);
3814
3814
  }
3815
- function wi(e, t) {
3815
+ function Hi(e, t) {
3816
3816
  return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3817
3817
  return r[n] = z(z({}, e[n]), t[n] || {}), r;
3818
3818
  }, {})) : e;
3819
3819
  }
3820
- function Ti(e, t) {
3820
+ function Ci(e, t) {
3821
3821
  return t ? Object.keys(e).reduce(function(r, n) {
3822
- return r[n] = wi(e[n], t[n]), r;
3822
+ return r[n] = Hi(e[n], t[n]), r;
3823
3823
  }, z({}, e)) : e;
3824
3824
  }
3825
- function ze(e) {
3825
+ function qe(e) {
3826
3826
  return {
3827
3827
  create: function() {
3828
3828
  return {
@@ -3836,39 +3836,39 @@ function ze(e) {
3836
3836
  }
3837
3837
  };
3838
3838
  }
3839
- function Hi(e) {
3839
+ function Bi(e) {
3840
3840
  return e === void 0 && (e = {
3841
3841
  number: {},
3842
3842
  dateTime: {},
3843
3843
  pluralRules: {}
3844
3844
  }), {
3845
- getNumberFormat: Ge(function() {
3845
+ getNumberFormat: Ve(function() {
3846
3846
  for (var t, r = [], n = 0; n < arguments.length; n++)
3847
3847
  r[n] = arguments[n];
3848
- return new ((t = Intl.NumberFormat).bind.apply(t, je([void 0], r, !1)))();
3848
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3849
3849
  }, {
3850
- cache: ze(e.number),
3851
- strategy: Ve.variadic
3850
+ cache: qe(e.number),
3851
+ strategy: Xe.variadic
3852
3852
  }),
3853
- getDateTimeFormat: Ge(function() {
3853
+ getDateTimeFormat: Ve(function() {
3854
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3855
3855
  r[n] = arguments[n];
3856
- return new ((t = Intl.DateTimeFormat).bind.apply(t, je([void 0], r, !1)))();
3856
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3857
3857
  }, {
3858
- cache: ze(e.dateTime),
3859
- strategy: Ve.variadic
3858
+ cache: qe(e.dateTime),
3859
+ strategy: Xe.variadic
3860
3860
  }),
3861
- getPluralRules: Ge(function() {
3861
+ getPluralRules: Ve(function() {
3862
3862
  for (var t, r = [], n = 0; n < arguments.length; n++)
3863
3863
  r[n] = arguments[n];
3864
- return new ((t = Intl.PluralRules).bind.apply(t, je([void 0], r, !1)))();
3864
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3865
3865
  }, {
3866
- cache: ze(e.pluralRules),
3867
- strategy: Ve.variadic
3866
+ cache: qe(e.pluralRules),
3867
+ strategy: Xe.variadic
3868
3868
  })
3869
3869
  };
3870
3870
  }
3871
- var Ci = (
3871
+ var Ai = (
3872
3872
  /** @class */
3873
3873
  function() {
3874
3874
  function e(t, r, n, i) {
@@ -3887,7 +3887,7 @@ var Ci = (
3887
3887
  }, []);
3888
3888
  return c.length <= 1 ? c[0] || "" : c;
3889
3889
  }, this.formatToParts = function(l) {
3890
- return He(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3890
+ return Ce(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3891
3891
  }, this.resolvedOptions = function() {
3892
3892
  var l;
3893
3893
  return {
@@ -3900,13 +3900,13 @@ var Ci = (
3900
3900
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3901
3901
  var s = i || {};
3902
3902
  s.formatters;
3903
- var a = Nn(s, ["formatters"]);
3903
+ var a = $n(s, ["formatters"]);
3904
3904
  this.ast = e.__parse(t, z(z({}, a), { locale: this.resolvedLocale }));
3905
3905
  } else
3906
3906
  this.ast = t;
3907
3907
  if (!Array.isArray(this.ast))
3908
3908
  throw new TypeError("A message must be provided as a String or AST.");
3909
- this.formats = Ti(e.formats, n), this.formatters = i && i.formatters || Hi(this.formatterCache);
3909
+ this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
3910
3910
  }
3911
3911
  return Object.defineProperty(e, "defaultLocale", {
3912
3912
  get: function() {
@@ -3919,7 +3919,7 @@ var Ci = (
3919
3919
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3920
3920
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3921
3921
  }
3922
- }, e.__parse = vi, e.formats = {
3922
+ }, e.__parse = xi, e.formats = {
3923
3923
  number: {
3924
3924
  integer: {
3925
3925
  maximumFractionDigits: 0
@@ -3980,7 +3980,7 @@ var Ci = (
3980
3980
  }, e;
3981
3981
  }()
3982
3982
  );
3983
- function Bi(e, t) {
3983
+ function Pi(e, t) {
3984
3984
  if (t == null)
3985
3985
  return;
3986
3986
  if (t in e)
@@ -4001,92 +4001,92 @@ function Bi(e, t) {
4001
4001
  n = void 0;
4002
4002
  return n;
4003
4003
  }
4004
- const Y = {}, Ai = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), xr = (e, t) => {
4004
+ const J = {}, Oi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Er = (e, t) => {
4005
4005
  if (t == null)
4006
4006
  return;
4007
- if (t in Y && e in Y[t])
4008
- return Y[t][e];
4009
- const r = Ne(t);
4007
+ if (t in J && e in J[t])
4008
+ return J[t][e];
4009
+ const r = ke(t);
4010
4010
  for (let n = 0; n < r.length; n++) {
4011
- const i = r[n], o = Oi(i, e);
4011
+ const i = r[n], o = Mi(i, e);
4012
4012
  if (o)
4013
- return Ai(e, t, o);
4013
+ return Oi(e, t, o);
4014
4014
  }
4015
4015
  };
4016
- let dt;
4017
- const _e = Me({});
4018
- function Pi(e) {
4019
- return dt[e] || null;
4016
+ let mt;
4017
+ const xe = Ie({});
4018
+ function Ri(e) {
4019
+ return mt[e] || null;
4020
4020
  }
4021
- function Er(e) {
4022
- return e in dt;
4021
+ function Sr(e) {
4022
+ return e in mt;
4023
4023
  }
4024
- function Oi(e, t) {
4025
- if (!Er(e))
4024
+ function Mi(e, t) {
4025
+ if (!Sr(e))
4026
4026
  return null;
4027
- const r = Pi(e);
4028
- return Bi(r, t);
4027
+ const r = Ri(e);
4028
+ return Pi(r, t);
4029
4029
  }
4030
- function Ri(e) {
4030
+ function Ii(e) {
4031
4031
  if (e == null)
4032
4032
  return;
4033
- const t = Ne(e);
4033
+ const t = ke(e);
4034
4034
  for (let r = 0; r < t.length; r++) {
4035
4035
  const n = t[r];
4036
- if (Er(n))
4036
+ if (Sr(n))
4037
4037
  return n;
4038
4038
  }
4039
4039
  }
4040
- function Sr(e, ...t) {
4041
- delete Y[e], _e.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
4040
+ function wr(e, ...t) {
4041
+ delete J[e], xe.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4042
4042
  }
4043
- he(
4044
- [_e],
4043
+ fe(
4044
+ [xe],
4045
4045
  ([e]) => Object.keys(e)
4046
4046
  );
4047
- _e.subscribe((e) => dt = e);
4048
- const Ce = {};
4049
- function Mi(e, t) {
4050
- Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
4047
+ xe.subscribe((e) => mt = e);
4048
+ const Be = {};
4049
+ function Li(e, t) {
4050
+ Be[e].delete(t), Be[e].size === 0 && delete Be[e];
4051
4051
  }
4052
- function wr(e) {
4053
- return Ce[e];
4052
+ function Tr(e) {
4053
+ return Be[e];
4054
4054
  }
4055
- function Ii(e) {
4056
- return Ne(e).map((t) => {
4057
- const r = wr(t);
4055
+ function Ni(e) {
4056
+ return ke(e).map((t) => {
4057
+ const r = Tr(t);
4058
4058
  return [t, r ? [...r] : []];
4059
4059
  }).filter(([, t]) => t.length > 0);
4060
4060
  }
4061
- function ht(e) {
4062
- return e == null ? !1 : Ne(e).some(
4061
+ function ft(e) {
4062
+ return e == null ? !1 : ke(e).some(
4063
4063
  (t) => {
4064
4064
  var r;
4065
- return (r = wr(t)) == null ? void 0 : r.size;
4065
+ return (r = Tr(t)) == null ? void 0 : r.size;
4066
4066
  }
4067
4067
  );
4068
4068
  }
4069
- function Li(e, t) {
4069
+ function ki(e, t) {
4070
4070
  return Promise.all(
4071
- t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
4072
- ).then((n) => Sr(e, ...n));
4073
- }
4074
- const de = {};
4075
- function Tr(e) {
4076
- if (!ht(e))
4077
- return e in de ? de[e] : Promise.resolve();
4078
- const t = Ii(e);
4079
- return de[e] = Promise.all(
4071
+ t.map((n) => (Li(e, n), n().then((i) => i.default || i)))
4072
+ ).then((n) => wr(e, ...n));
4073
+ }
4074
+ const me = {};
4075
+ function Hr(e) {
4076
+ if (!ft(e))
4077
+ return e in me ? me[e] : Promise.resolve();
4078
+ const t = Ni(e);
4079
+ return me[e] = Promise.all(
4080
4080
  t.map(
4081
- ([r, n]) => Li(r, n)
4081
+ ([r, n]) => ki(r, n)
4082
4082
  )
4083
4083
  ).then(() => {
4084
- if (ht(e))
4085
- return Tr(e);
4086
- delete de[e];
4087
- }), de[e];
4084
+ if (ft(e))
4085
+ return Hr(e);
4086
+ delete me[e];
4087
+ }), me[e];
4088
4088
  }
4089
- const Ni = {
4089
+ const $i = {
4090
4090
  number: {
4091
4091
  scientific: { notation: "scientific" },
4092
4092
  engineering: { notation: "engineering" },
@@ -4115,135 +4115,135 @@ const Ni = {
4115
4115
  timeZoneName: "short"
4116
4116
  }
4117
4117
  }
4118
- }, ki = {
4118
+ }, Ui = {
4119
4119
  fallbackLocale: null,
4120
4120
  loadingDelay: 200,
4121
- formats: Ni,
4121
+ formats: $i,
4122
4122
  warnOnMissingMessages: !0,
4123
4123
  handleMissingMessage: void 0,
4124
4124
  ignoreTag: !0
4125
- }, $i = ki;
4126
- function le() {
4127
- return $i;
4125
+ }, Fi = Ui;
4126
+ function ce() {
4127
+ return Fi;
4128
4128
  }
4129
- const qe = Me(!1);
4130
- var Ui = Object.defineProperty, Fi = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, ji = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
4129
+ const We = Ie(!1);
4130
+ var Di = Object.defineProperty, ji = Object.defineProperties, Gi = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Vi = Object.prototype.hasOwnProperty, Xi = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
4131
4131
  for (var r in t || (t = {}))
4132
- ji.call(t, r) && $t(e, r, t[r]);
4133
- if (kt)
4134
- for (var r of kt(t))
4135
- Gi.call(t, r) && $t(e, r, t[r]);
4132
+ Vi.call(t, r) && Ut(e, r, t[r]);
4133
+ if ($t)
4134
+ for (var r of $t(t))
4135
+ Xi.call(t, r) && Ut(e, r, t[r]);
4136
4136
  return e;
4137
- }, Xi = (e, t) => Fi(e, Di(t));
4138
- let ft;
4139
- const Pe = Me(null);
4140
- function Ut(e) {
4137
+ }, qi = (e, t) => ji(e, Gi(t));
4138
+ let pt;
4139
+ const Oe = Ie(null);
4140
+ function Ft(e) {
4141
4141
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4142
4142
  }
4143
- function Ne(e, t = le().fallbackLocale) {
4144
- const r = Ut(e);
4145
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
4143
+ function ke(e, t = ce().fallbackLocale) {
4144
+ const r = Ft(e);
4145
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
4146
4146
  }
4147
4147
  function K() {
4148
- return ft != null ? ft : void 0;
4148
+ return pt != null ? pt : void 0;
4149
4149
  }
4150
- Pe.subscribe((e) => {
4151
- ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4150
+ Oe.subscribe((e) => {
4151
+ pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4152
4152
  });
4153
- const zi = (e) => {
4154
- if (e && Ri(e) && ht(e)) {
4155
- const { loadingDelay: t } = le();
4153
+ const Wi = (e) => {
4154
+ if (e && Ii(e) && ft(e)) {
4155
+ const { loadingDelay: t } = ce();
4156
4156
  let r;
4157
4157
  return typeof window != "undefined" && K() != null && t ? r = window.setTimeout(
4158
- () => qe.set(!0),
4158
+ () => We.set(!0),
4159
4159
  t
4160
- ) : qe.set(!0), Tr(e).then(() => {
4161
- Pe.set(e);
4160
+ ) : We.set(!0), Hr(e).then(() => {
4161
+ Oe.set(e);
4162
4162
  }).finally(() => {
4163
- clearTimeout(r), qe.set(!1);
4163
+ clearTimeout(r), We.set(!1);
4164
4164
  });
4165
4165
  }
4166
- return Pe.set(e);
4167
- }, fe = Xi(Vi({}, Pe), {
4168
- set: zi
4169
- }), ke = (e) => {
4166
+ return Oe.set(e);
4167
+ }, pe = qi(zi({}, Oe), {
4168
+ set: Wi
4169
+ }), $e = (e) => {
4170
4170
  const t = /* @__PURE__ */ Object.create(null);
4171
4171
  return (n) => {
4172
4172
  const i = JSON.stringify(n);
4173
4173
  return i in t ? t[i] : t[i] = e(n);
4174
4174
  };
4175
4175
  };
4176
- var qi = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
4176
+ var Zi = Object.defineProperty, Re = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
4177
4177
  for (var r in t || (t = {}))
4178
- Hr.call(t, r) && Ft(e, r, t[r]);
4179
- if (Oe)
4180
- for (var r of Oe(t))
4181
- Cr.call(t, r) && Ft(e, r, t[r]);
4178
+ Cr.call(t, r) && Dt(e, r, t[r]);
4179
+ if (Re)
4180
+ for (var r of Re(t))
4181
+ Br.call(t, r) && Dt(e, r, t[r]);
4182
4182
  return e;
4183
- }, pe = (e, t) => {
4183
+ }, de = (e, t) => {
4184
4184
  var r = {};
4185
4185
  for (var n in e)
4186
- Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4187
- if (e != null && Oe)
4188
- for (var n of Oe(e))
4189
- t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
4186
+ Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4187
+ if (e != null && Re)
4188
+ for (var n of Re(e))
4189
+ t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
4190
4190
  return r;
4191
4191
  };
4192
- const ge = (e, t) => {
4193
- const { formats: r } = le();
4192
+ const ve = (e, t) => {
4193
+ const { formats: r } = ce();
4194
4194
  if (e in r && t in r[e])
4195
4195
  return r[e][t];
4196
4196
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4197
- }, Wi = ke(
4197
+ }, Qi = $e(
4198
4198
  (e) => {
4199
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
4199
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
4200
4200
  if (r == null)
4201
4201
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4202
- return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
4202
+ return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
4203
4203
  }
4204
- ), Zi = ke(
4204
+ ), Yi = $e(
4205
4205
  (e) => {
4206
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
4206
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
4207
4207
  if (r == null)
4208
4208
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4209
- return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
4209
+ return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
4210
4210
  }
4211
- ), Qi = ke(
4211
+ ), Ji = $e(
4212
4212
  (e) => {
4213
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
4213
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
4214
4214
  if (r == null)
4215
4215
  throw new Error(
4216
4216
  '[svelte-i18n] A "locale" must be set to format time values'
4217
4217
  );
4218
- return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
4218
+ return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
4219
4219
  }
4220
- ), Ji = (e = {}) => {
4220
+ ), Ki = (e = {}) => {
4221
4221
  var t = e, {
4222
4222
  locale: r = K()
4223
- } = t, n = pe(t, [
4223
+ } = t, n = de(t, [
4224
4224
  "locale"
4225
4225
  ]);
4226
- return Wi(mt({ locale: r }, n));
4227
- }, Yi = (e = {}) => {
4226
+ return Qi(bt({ locale: r }, n));
4227
+ }, eo = (e = {}) => {
4228
4228
  var t = e, {
4229
4229
  locale: r = K()
4230
- } = t, n = pe(t, [
4230
+ } = t, n = de(t, [
4231
4231
  "locale"
4232
4232
  ]);
4233
- return Zi(mt({ locale: r }, n));
4234
- }, Ki = (e = {}) => {
4233
+ return Yi(bt({ locale: r }, n));
4234
+ }, to = (e = {}) => {
4235
4235
  var t = e, {
4236
4236
  locale: r = K()
4237
- } = t, n = pe(t, [
4237
+ } = t, n = de(t, [
4238
4238
  "locale"
4239
4239
  ]);
4240
- return Qi(mt({ locale: r }, n));
4241
- }, eo = ke(
4240
+ return Ji(bt({ locale: r }, n));
4241
+ }, ro = $e(
4242
4242
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4243
- (e, t = K()) => new Ci(e, t, le().formats, {
4244
- ignoreTag: le().ignoreTag
4243
+ (e, t = K()) => new Ai(e, t, ce().formats, {
4244
+ ignoreTag: ce().ignoreTag
4245
4245
  })
4246
- ), to = (e, t = {}) => {
4246
+ ), no = (e, t = {}) => {
4247
4247
  var r, n, i, o;
4248
4248
  let s = t;
4249
4249
  typeof e == "object" && (s = e, e = s.id);
@@ -4256,9 +4256,9 @@ const ge = (e, t) => {
4256
4256
  throw new Error(
4257
4257
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4258
4258
  );
4259
- let c = xr(e, l);
4259
+ let c = Er(e, l);
4260
4260
  if (!c)
4261
- c = (o = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4261
+ c = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4262
4262
  else if (typeof c != "string")
4263
4263
  return console.warn(
4264
4264
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4267,7 +4267,7 @@ const ge = (e, t) => {
4267
4267
  return c;
4268
4268
  let f = c;
4269
4269
  try {
4270
- f = eo(c, l).format(a);
4270
+ f = ro(c, l).format(a);
4271
4271
  } catch (h) {
4272
4272
  h instanceof Error && console.warn(
4273
4273
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4275,21 +4275,21 @@ const ge = (e, t) => {
4275
4275
  );
4276
4276
  }
4277
4277
  return f;
4278
- }, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = K()) => xr(e, t), so = he([fe, _e], () => to);
4279
- he([fe], () => ro);
4280
- he([fe], () => no);
4281
- he([fe], () => io);
4282
- he([fe, _e], () => oo);
4283
- window.emWidgets = { topic: gn };
4284
- const ao = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4278
+ }, io = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Ki(t).format(e), ao = (e, t = K()) => Er(e, t), uo = fe([pe, xe], () => no);
4279
+ fe([pe], () => io);
4280
+ fe([pe], () => oo);
4281
+ fe([pe], () => so);
4282
+ fe([pe, xe], () => ao);
4283
+ window.emWidgets = { topic: _n };
4284
+ const lo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4285
4285
  String(Number.MAX_SAFE_INTEGER).length;
4286
- function Dt(e, t) {
4287
- Sr(e, t);
4286
+ function jt(e, t) {
4287
+ wr(e, t);
4288
4288
  }
4289
- function uo(e) {
4290
- fe.set(e);
4289
+ function co(e) {
4290
+ pe.set(e);
4291
4291
  }
4292
- const jt = {
4292
+ const Gt = {
4293
4293
  en: {
4294
4294
  titleRealityCheck: "Reality Check",
4295
4295
  never: "Never",
@@ -4400,14 +4400,14 @@ const jt = {
4400
4400
  realityCheckLoading: "Loading items, please wait ...",
4401
4401
  setFrequency: "Set frequency"
4402
4402
  }
4403
- };
4404
- function lo(e, t) {
4403
+ }, ie = "__WIDGET_GLOBAL_STYLE_CACHE__";
4404
+ function ho(e, t) {
4405
4405
  if (e) {
4406
4406
  const r = document.createElement("style");
4407
4407
  r.innerHTML = t, e.appendChild(r);
4408
4408
  }
4409
4409
  }
4410
- function co(e, t) {
4410
+ function fo(e, t) {
4411
4411
  if (!e || !t)
4412
4412
  return;
4413
4413
  const r = new URL(t);
@@ -4418,249 +4418,277 @@ function co(e, t) {
4418
4418
  console.error("There was an error while trying to load client styling from URL", n);
4419
4419
  });
4420
4420
  }
4421
- function ho(e, t, r) {
4422
- if (window.emMessageBus) {
4423
- const n = document.createElement("style");
4424
- window.emMessageBus.subscribe(t, (i) => {
4425
- n.innerHTML = i, e && e.appendChild(n);
4421
+ function po(e, t, r, n = !1) {
4422
+ if (!window.emMessageBus)
4423
+ return;
4424
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4425
+ return r = mo(e, t), r;
4426
+ window[ie] || (window[ie] = {}), r = bo(e, t);
4427
+ const o = r.unsubscribe.bind(r), s = () => {
4428
+ if (window[ie][t]) {
4429
+ const a = window[ie][t];
4430
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[ie][t];
4431
+ }
4432
+ o();
4433
+ };
4434
+ return r.unsubscribe = s, r;
4435
+ }
4436
+ function mo(e, t) {
4437
+ const r = document.createElement("style");
4438
+ return window.emMessageBus.subscribe(t, (n) => {
4439
+ e && (r.innerHTML = n, e.appendChild(r));
4440
+ });
4441
+ }
4442
+ function bo(e, t) {
4443
+ return window.emMessageBus.subscribe(t, (r) => {
4444
+ var a;
4445
+ if (!e)
4446
+ return;
4447
+ const n = e.getRootNode(), i = window[ie];
4448
+ let o = (a = i[t]) == null ? void 0 : a.sheet;
4449
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4450
+ sheet: o,
4451
+ refCount: 1
4426
4452
  });
4427
- }
4453
+ const s = n.adoptedStyleSheets || [];
4454
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
4455
+ });
4428
4456
  }
4429
- function fo(e) {
4430
- Nr(e, "svelte-17lev58", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--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(--emw--color-white, #FFFFFF);border:1px solid var(--emw--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(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.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(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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(--emw--button-typography, var(--emw--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(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4457
+ function yo(e) {
4458
+ $r(e, "svelte-17lev58", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--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(--emw--color-white, #FFFFFF);border:1px solid var(--emw--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(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.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(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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(--emw--button-typography, var(--emw--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(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4431
4459
  }
4432
- function Gt(e, t, r) {
4460
+ function Vt(e, t, r) {
4433
4461
  const n = e.slice();
4434
4462
  return n[33] = t[r].value, n[34] = t[r].text, n[36] = r, n;
4435
4463
  }
4436
- function po(e, t, r) {
4464
+ function go(e, t, r) {
4437
4465
  const n = e.slice();
4438
4466
  return n[30] = t[r], n;
4439
4467
  }
4440
- function mo(e) {
4468
+ function vo(e) {
4441
4469
  let t, r, n, i, o = (
4442
4470
  /*$_*/
4443
4471
  e[5]("titleRealityCheck") + ""
4444
4472
  ), s, a, l, u, c = (
4445
4473
  /*$_*/
4446
4474
  e[5]("realityCheckText") + ""
4447
- ), f, h, d, m, p, y, S = (
4475
+ ), f, h, d, b, p, m, S = (
4448
4476
  /*$_*/
4449
4477
  e[5]("setFrequency") + ""
4450
- ), C, O, F, k, q, D = (
4478
+ ), B, A, k, $, q, D = (
4451
4479
  /*isMobile*/
4452
- e[6] && yo(e)
4480
+ e[6] && xo(e)
4453
4481
  ), M = (
4454
4482
  /*realityCheckSuccess*/
4455
- e[4] && Xt(e)
4456
- ), W = Je(
4483
+ e[4] && zt(e)
4484
+ ), Q = Je(
4457
4485
  /*realityCheckOptions*/
4458
4486
  e[7]
4459
4487
  ), R = [];
4460
- for (let w = 0; w < W.length; w += 1)
4461
- R[w] = zt(Gt(e, W, w));
4488
+ for (let w = 0; w < Q.length; w += 1)
4489
+ R[w] = qt(Vt(e, Q, w));
4462
4490
  return {
4463
4491
  c() {
4464
- t = T("div"), D && D.c(), r = G(), M && M.c(), n = G(), i = T("h2"), s = Z(o), a = G(), l = T("div"), u = T("p"), f = Z(c), h = G(), d = T("form");
4492
+ t = T("div"), D && D.c(), r = G(), M && M.c(), n = G(), i = T("h2"), s = W(o), a = G(), l = T("div"), u = T("p"), f = W(c), h = G(), d = T("form");
4465
4493
  for (let w = 0; w < R.length; w += 1)
4466
4494
  R[w].c();
4467
- m = G(), p = T("div"), y = T("button"), C = Z(S), x(i, "class", "RealityCheckTitle " + /*isMobile*/
4495
+ b = G(), p = T("div"), m = T("button"), B = W(S), x(i, "class", "RealityCheckTitle " + /*isMobile*/
4468
4496
  (e[6] ? "RealityCheckTitleNone" : "")), x(l, "class", "RealityCheckDescription " + /*isMobile*/
4469
- (e[6] ? "RealityCheckDescriptionMobile" : "")), x(y, "class", O = "PlayerRealityCheckButton " + /*currentRealityCheckValue*/
4497
+ (e[6] ? "RealityCheckDescriptionMobile" : "")), x(m, "class", A = "PlayerRealityCheckButton " + /*currentRealityCheckValue*/
4470
4498
  (e[3] === /*realityCheckValue*/
4471
- e[2] ? "ButtonInactive" : "")), y.disabled = F = /*currentRealityCheckValue*/
4499
+ e[2] ? "ButtonInactive" : "")), m.disabled = k = /*currentRealityCheckValue*/
4472
4500
  e[3] === /*realityCheckValue*/
4473
4501
  e[2], x(p, "class", "BottomButtonsArea " + /*isMobile*/
4474
4502
  (e[6] ? "BottomButtonsAreaMobile" : "")), x(d, "class", "customRadio"), x(t, "class", "containerTimeout");
4475
4503
  },
4476
- m(w, $) {
4477
- V(w, t, $), D && D.m(t, null), b(t, r), M && M.m(t, null), b(t, n), b(t, i), b(i, s), b(t, a), b(t, l), b(l, u), b(u, f), b(t, h), b(t, d);
4478
- for (let P = 0; P < R.length; P += 1)
4479
- R[P] && R[P].m(d, null);
4480
- b(d, m), b(d, p), b(p, y), b(y, C), k || (q = Be(
4481
- y,
4504
+ m(w, U) {
4505
+ V(w, t, U), D && D.m(t, null), y(t, r), M && M.m(t, null), y(t, n), y(t, i), y(i, s), y(t, a), y(t, l), y(l, u), y(u, f), y(t, h), y(t, d);
4506
+ for (let O = 0; O < R.length; O += 1)
4507
+ R[O] && R[O].m(d, null);
4508
+ y(d, b), y(d, p), y(p, m), y(m, B), $ || (q = Ae(
4509
+ m,
4482
4510
  "click",
4483
4511
  /*submitRealityCheckValue*/
4484
4512
  e[8]
4485
- ), k = !0);
4513
+ ), $ = !0);
4486
4514
  },
4487
- p(w, $) {
4515
+ p(w, U) {
4488
4516
  if (
4489
4517
  /*isMobile*/
4490
- w[6] && D.p(w, $), /*realityCheckSuccess*/
4491
- w[4] ? M ? M.p(w, $) : (M = Xt(w), M.c(), M.m(t, n)) : M && (M.d(1), M = null), $[0] & /*$_*/
4518
+ w[6] && D.p(w, U), /*realityCheckSuccess*/
4519
+ w[4] ? M ? M.p(w, U) : (M = zt(w), M.c(), M.m(t, n)) : M && (M.d(1), M = null), U[0] & /*$_*/
4492
4520
  32 && o !== (o = /*$_*/
4493
- w[5]("titleRealityCheck") + "") && ie(s, o), $[0] & /*$_*/
4521
+ w[5]("titleRealityCheck") + "") && oe(s, o), U[0] & /*$_*/
4494
4522
  32 && c !== (c = /*$_*/
4495
- w[5]("realityCheckText") + "") && ie(f, c), $[0] & /*realityCheckOptions, realityCheckValue*/
4523
+ w[5]("realityCheckText") + "") && oe(f, c), U[0] & /*realityCheckOptions, realityCheckValue*/
4496
4524
  132
4497
4525
  ) {
4498
- W = Je(
4526
+ Q = Je(
4499
4527
  /*realityCheckOptions*/
4500
4528
  w[7]
4501
4529
  );
4502
- let P;
4503
- for (P = 0; P < W.length; P += 1) {
4504
- const xe = Gt(w, W, P);
4505
- R[P] ? R[P].p(xe, $) : (R[P] = zt(xe), R[P].c(), R[P].m(d, m));
4530
+ let O;
4531
+ for (O = 0; O < Q.length; O += 1) {
4532
+ const Ee = Vt(w, Q, O);
4533
+ R[O] ? R[O].p(Ee, U) : (R[O] = qt(Ee), R[O].c(), R[O].m(d, b));
4506
4534
  }
4507
- for (; P < R.length; P += 1)
4508
- R[P].d(1);
4509
- R.length = W.length;
4535
+ for (; O < R.length; O += 1)
4536
+ R[O].d(1);
4537
+ R.length = Q.length;
4510
4538
  }
4511
- $[0] & /*$_*/
4539
+ U[0] & /*$_*/
4512
4540
  32 && S !== (S = /*$_*/
4513
- w[5]("setFrequency") + "") && ie(C, S), $[0] & /*currentRealityCheckValue, realityCheckValue*/
4514
- 12 && O !== (O = "PlayerRealityCheckButton " + /*currentRealityCheckValue*/
4541
+ w[5]("setFrequency") + "") && oe(B, S), U[0] & /*currentRealityCheckValue, realityCheckValue*/
4542
+ 12 && A !== (A = "PlayerRealityCheckButton " + /*currentRealityCheckValue*/
4515
4543
  (w[3] === /*realityCheckValue*/
4516
- w[2] ? "ButtonInactive" : "")) && x(y, "class", O), $[0] & /*currentRealityCheckValue, realityCheckValue*/
4517
- 12 && F !== (F = /*currentRealityCheckValue*/
4544
+ w[2] ? "ButtonInactive" : "")) && x(m, "class", A), U[0] & /*currentRealityCheckValue, realityCheckValue*/
4545
+ 12 && k !== (k = /*currentRealityCheckValue*/
4518
4546
  w[3] === /*realityCheckValue*/
4519
- w[2]) && (y.disabled = F);
4547
+ w[2]) && (m.disabled = k);
4520
4548
  },
4521
4549
  d(w) {
4522
- w && U(t), D && D.d(), M && M.d(), Qt(R, w), k = !1, q();
4550
+ w && F(t), D && D.d(), M && M.d(), Yt(R, w), $ = !1, q();
4523
4551
  }
4524
4552
  };
4525
4553
  }
4526
- function bo(e) {
4554
+ function _o(e) {
4527
4555
  let t, r, n, i, o, s, a, l, u;
4528
- function c(p, y) {
4556
+ function c(p, m) {
4529
4557
  return (
4530
4558
  /*isMobile*/
4531
- p[6] ? vo : go
4559
+ p[6] ? So : Eo
4532
4560
  );
4533
4561
  }
4534
- let h = c(e)(e), d = Je({ length: 6 }), m = [];
4562
+ let h = c(e)(e), d = Je({ length: 6 }), b = [];
4535
4563
  for (let p = 0; p < d.length; p += 1)
4536
- m[p] = _o(po(e, d, p));
4564
+ b[p] = wo(go(e, d, p));
4537
4565
  return {
4538
4566
  c() {
4539
4567
  t = T("div"), h.c(), r = G(), n = T("div"), i = T("ui-skeleton"), o = G(), s = T("div");
4540
- for (let p = 0; p < m.length; p += 1)
4541
- m[p].c();
4542
- a = G(), l = T("div"), u = T("ui-skeleton"), A(i, "structure", "text"), A(i, "height", "15px"), A(i, "width", "100%"), A(i, "margin-bottom", "7px"), A(
4568
+ for (let p = 0; p < b.length; p += 1)
4569
+ b[p].c();
4570
+ a = G(), l = T("div"), u = T("ui-skeleton"), P(i, "structure", "text"), P(i, "height", "15px"), P(i, "width", "100%"), P(i, "margin-bottom", "7px"), P(
4543
4571
  i,
4544
4572
  "rows",
4545
4573
  /*isMobile*/
4546
4574
  e[6] ? "5" : "3"
4547
- ), x(n, "class", "SkeletonTextContainer"), A(u, "structure", "rectangle"), A(u, "height", "50px"), A(u, "margin-bottom", "0"), A(u, "borderRadius", "5px"), A(
4575
+ ), x(n, "class", "SkeletonTextContainer"), P(u, "structure", "rectangle"), P(u, "height", "50px"), P(u, "margin-bottom", "0"), P(u, "borderRadius", "5px"), P(
4548
4576
  u,
4549
4577
  "width",
4550
4578
  /*isMobile*/
4551
4579
  e[6] ? "100%" : "350px"
4552
4580
  ), x(l, "class", "Button"), x(s, "class", "SkeletonOptionContainer"), x(t, "class", "SkeletonContainer");
4553
4581
  },
4554
- m(p, y) {
4555
- V(p, t, y), h.m(t, null), b(t, r), b(t, n), b(n, i), b(t, o), b(t, s);
4556
- for (let S = 0; S < m.length; S += 1)
4557
- m[S] && m[S].m(s, null);
4558
- b(s, a), b(s, l), b(l, u);
4582
+ m(p, m) {
4583
+ V(p, t, m), h.m(t, null), y(t, r), y(t, n), y(n, i), y(t, o), y(t, s);
4584
+ for (let S = 0; S < b.length; S += 1)
4585
+ b[S] && b[S].m(s, null);
4586
+ y(s, a), y(s, l), y(l, u);
4559
4587
  },
4560
- p(p, y) {
4561
- h.p(p, y);
4588
+ p(p, m) {
4589
+ h.p(p, m);
4562
4590
  },
4563
4591
  d(p) {
4564
- p && U(t), h.d(), Qt(m, p);
4592
+ p && F(t), h.d(), Yt(b, p);
4565
4593
  }
4566
4594
  };
4567
4595
  }
4568
- function yo(e) {
4596
+ function xo(e) {
4569
4597
  let t, r, n, i, o, s, a, l, u, c, f, h = (
4570
4598
  /*$_*/
4571
4599
  e[5]("titleRealityCheck") + ""
4572
- ), d, m, p, y = (
4600
+ ), d, b, p, m = (
4573
4601
  /*realityCheckSuccess*/
4574
- e[4] && Vt(e)
4602
+ e[4] && Xt(e)
4575
4603
  );
4576
4604
  return {
4577
4605
  c() {
4578
- y && y.c(), t = G(), r = T("div"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = Z(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = ee("g"), l = ee("g"), u = ee("path"), c = G(), f = T("h2"), d = Z(h), x(u, "class", "aaa"), x(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(u, "transform", "translate(15 15) rotate(180)"), x(l, "transform", "translate(20 158)"), x(a, "transform", "translate(-20 -158)"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "15"), x(n, "height", "15"), x(n, "viewBox", "0 0 15 15"), x(f, "class", "RealityCheckTitleMobile"), x(r, "class", "MenuReturnButton");
4606
+ m && m.c(), t = G(), r = T("div"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = W(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = ee("g"), l = ee("g"), u = ee("path"), c = G(), f = T("h2"), d = W(h), x(u, "class", "aaa"), x(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(u, "transform", "translate(15 15) rotate(180)"), x(l, "transform", "translate(20 158)"), x(a, "transform", "translate(-20 -158)"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "15"), x(n, "height", "15"), x(n, "viewBox", "0 0 15 15"), x(f, "class", "RealityCheckTitleMobile"), x(r, "class", "MenuReturnButton");
4579
4607
  },
4580
- m(S, C) {
4581
- y && y.m(S, C), V(S, t, C), V(S, r, C), b(r, n), b(n, i), b(i, o), b(o, s), b(n, a), b(a, l), b(l, u), b(r, c), b(r, f), b(f, d), m || (p = [
4582
- Be(
4608
+ m(S, B) {
4609
+ m && m.m(S, B), V(S, t, B), V(S, r, B), y(r, n), y(n, i), y(i, o), y(o, s), y(n, a), y(a, l), y(l, u), y(r, c), y(r, f), y(f, d), b || (p = [
4610
+ Ae(
4583
4611
  r,
4584
4612
  "click",
4585
4613
  /*click_handler*/
4586
4614
  e[18]
4587
4615
  ),
4588
- Be(r, "keydown", null)
4589
- ], m = !0);
4616
+ Ae(r, "keydown", null)
4617
+ ], b = !0);
4590
4618
  },
4591
- p(S, C) {
4619
+ p(S, B) {
4592
4620
  /*realityCheckSuccess*/
4593
- S[4] ? y ? y.p(S, C) : (y = Vt(S), y.c(), y.m(t.parentNode, t)) : y && (y.d(1), y = null), C[0] & /*$_*/
4621
+ S[4] ? m ? m.p(S, B) : (m = Xt(S), m.c(), m.m(t.parentNode, t)) : m && (m.d(1), m = null), B[0] & /*$_*/
4594
4622
  32 && h !== (h = /*$_*/
4595
- S[5]("titleRealityCheck") + "") && ie(d, h);
4623
+ S[5]("titleRealityCheck") + "") && oe(d, h);
4596
4624
  },
4597
4625
  d(S) {
4598
- S && (U(t), U(r)), y && y.d(S), m = !1, ce(p);
4626
+ S && (F(t), F(r)), m && m.d(S), b = !1, he(p);
4599
4627
  }
4600
4628
  };
4601
4629
  }
4602
- function Vt(e) {
4630
+ function Xt(e) {
4603
4631
  let t, r = (
4604
4632
  /*$_*/
4605
4633
  e[5]("successMessage") + ""
4606
4634
  ), n;
4607
4635
  return {
4608
4636
  c() {
4609
- t = T("div"), n = Z(r), x(t, "class", "successMessageMobile");
4637
+ t = T("div"), n = W(r), x(t, "class", "successMessageMobile");
4610
4638
  },
4611
4639
  m(i, o) {
4612
- V(i, t, o), b(t, n);
4640
+ V(i, t, o), y(t, n);
4613
4641
  },
4614
4642
  p(i, o) {
4615
4643
  o[0] & /*$_*/
4616
4644
  32 && r !== (r = /*$_*/
4617
- i[5]("successMessage") + "") && ie(n, r);
4645
+ i[5]("successMessage") + "") && oe(n, r);
4618
4646
  },
4619
4647
  d(i) {
4620
- i && U(t);
4648
+ i && F(t);
4621
4649
  }
4622
4650
  };
4623
4651
  }
4624
- function Xt(e) {
4652
+ function zt(e) {
4625
4653
  let t, r = (
4626
4654
  /*$_*/
4627
4655
  e[5]("successMessage") + ""
4628
4656
  ), n;
4629
4657
  return {
4630
4658
  c() {
4631
- t = T("div"), n = Z(r), x(t, "class", "successMessage " + /*isMobile*/
4659
+ t = T("div"), n = W(r), x(t, "class", "successMessage " + /*isMobile*/
4632
4660
  (e[6] ? "successMessageMobile" : ""));
4633
4661
  },
4634
4662
  m(i, o) {
4635
- V(i, t, o), b(t, n);
4663
+ V(i, t, o), y(t, n);
4636
4664
  },
4637
4665
  p(i, o) {
4638
4666
  o[0] & /*$_*/
4639
4667
  32 && r !== (r = /*$_*/
4640
- i[5]("successMessage") + "") && ie(n, r);
4668
+ i[5]("successMessage") + "") && oe(n, r);
4641
4669
  },
4642
4670
  d(i) {
4643
- i && U(t);
4671
+ i && F(t);
4644
4672
  }
4645
4673
  };
4646
4674
  }
4647
- function zt(e) {
4675
+ function qt(e) {
4648
4676
  let t, r, n, i, o = (
4649
4677
  /*text*/
4650
4678
  e[34] + ""
4651
4679
  ), s, a, l, u;
4652
- return a = Ur(
4680
+ return a = Dr(
4653
4681
  /*$$binding_groups*/
4654
4682
  e[20][0]
4655
4683
  ), {
4656
4684
  c() {
4657
- t = T("div"), r = T("input"), n = G(), i = T("label"), s = Z(o), x(r, "type", "radio"), x(
4685
+ t = T("div"), r = T("input"), n = G(), i = T("label"), s = W(o), x(r, "type", "radio"), x(
4658
4686
  r,
4659
4687
  "id",
4660
4688
  /*value*/
4661
4689
  e[33]
4662
4690
  ), r.__value = /*value*/
4663
- e[33], Dr(r, r.__value), x(
4691
+ e[33], Gr(r, r.__value), x(
4664
4692
  i,
4665
4693
  "for",
4666
4694
  /*value*/
@@ -4668,8 +4696,8 @@ function zt(e) {
4668
4696
  ), a.p(r);
4669
4697
  },
4670
4698
  m(c, f) {
4671
- V(c, t, f), b(t, r), r.checked = r.__value === /*realityCheckValue*/
4672
- e[2], b(t, n), b(t, i), b(i, s), l || (u = Be(
4699
+ V(c, t, f), y(t, r), r.checked = r.__value === /*realityCheckValue*/
4700
+ e[2], y(t, n), y(t, i), y(i, s), l || (u = Ae(
4673
4701
  r,
4674
4702
  "change",
4675
4703
  /*input_change_handler*/
@@ -4682,11 +4710,11 @@ function zt(e) {
4682
4710
  c[2]);
4683
4711
  },
4684
4712
  d(c) {
4685
- c && U(t), a.r(), l = !1, u();
4713
+ c && F(t), a.r(), l = !1, u();
4686
4714
  }
4687
4715
  };
4688
4716
  }
4689
- function go(e) {
4717
+ function Eo(e) {
4690
4718
  let t;
4691
4719
  return {
4692
4720
  c() {
@@ -4697,27 +4725,27 @@ function go(e) {
4697
4725
  },
4698
4726
  p: N,
4699
4727
  d(r) {
4700
- r && U(t);
4728
+ r && F(t);
4701
4729
  }
4702
4730
  };
4703
4731
  }
4704
- function vo(e) {
4732
+ function So(e) {
4705
4733
  let t, r, n, i;
4706
4734
  return {
4707
4735
  c() {
4708
- t = T("div"), r = T("ui-skeleton"), n = G(), i = T("ui-skeleton"), A(r, "structure", "title"), A(r, "width", "20px"), A(r, "height", "20px"), A(r, "margin-top", "5px"), A(r, "margin-bottom", "15px"), A(i, "structure", "title"), A(i, "width", "100px"), A(i, "height", "20px"), A(i, "margin-top", "5px"), A(i, "margin-bottom", "15px"), x(t, "class", "SkeletonMenuButton " + /*isMobile*/
4736
+ t = T("div"), r = T("ui-skeleton"), n = G(), i = T("ui-skeleton"), P(r, "structure", "title"), P(r, "width", "20px"), P(r, "height", "20px"), P(r, "margin-top", "5px"), P(r, "margin-bottom", "15px"), P(i, "structure", "title"), P(i, "width", "100px"), P(i, "height", "20px"), P(i, "margin-top", "5px"), P(i, "margin-bottom", "15px"), x(t, "class", "SkeletonMenuButton " + /*isMobile*/
4709
4737
  (e[6] ? "Mobile" : ""));
4710
4738
  },
4711
4739
  m(o, s) {
4712
- V(o, t, s), b(t, r), b(t, n), b(t, i);
4740
+ V(o, t, s), y(t, r), y(t, n), y(t, i);
4713
4741
  },
4714
4742
  p: N,
4715
4743
  d(o) {
4716
- o && U(t);
4744
+ o && F(t);
4717
4745
  }
4718
4746
  };
4719
4747
  }
4720
- function _o(e) {
4748
+ function wo(e) {
4721
4749
  let t;
4722
4750
  return {
4723
4751
  c() {
@@ -4728,16 +4756,16 @@ function _o(e) {
4728
4756
  },
4729
4757
  p: N,
4730
4758
  d(r) {
4731
- r && U(t);
4759
+ r && F(t);
4732
4760
  }
4733
4761
  };
4734
4762
  }
4735
- function xo(e) {
4763
+ function To(e) {
4736
4764
  let t;
4737
4765
  function r(o, s) {
4738
4766
  return (
4739
4767
  /*skeletonLoading*/
4740
- o[1] ? bo : mo
4768
+ o[1] ? _o : vo
4741
4769
  );
4742
4770
  }
4743
4771
  let n = r(e), i = n(e);
@@ -4755,67 +4783,67 @@ function xo(e) {
4755
4783
  i: N,
4756
4784
  o: N,
4757
4785
  d(o) {
4758
- o && U(t), i.d(), e[21](null);
4786
+ o && F(t), i.d(), e[21](null);
4759
4787
  }
4760
4788
  };
4761
4789
  }
4762
- function Eo(e, t, r) {
4790
+ function Ho(e, t, r) {
4763
4791
  let n;
4764
- Lr(e, so, (g) => r(5, n = g));
4765
- let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, h, d = ao(window.navigator.userAgent) !== "PC", m = !0, p, y, S = !1, C = [];
4766
- const O = () => {
4792
+ kr(e, uo, (g) => r(5, n = g));
4793
+ let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, h, d, b = lo(window.navigator.userAgent) !== "PC", p = !0, m, S, B = !1, A = [];
4794
+ const k = () => {
4767
4795
  const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
4768
4796
  E.append("X-SessionID", s);
4769
- const J = { method: "GET", headers: E };
4770
- fetch(g.href, J).then((I) => I.json()).then(
4797
+ const Y = { method: "GET", headers: E };
4798
+ fetch(g.href, Y).then((I) => I.json()).then(
4771
4799
  (I) => {
4772
- r(2, p = r(3, y = I.UserRealityCheckValue));
4800
+ r(2, m = r(3, S = I.UserRealityCheckValue));
4773
4801
  },
4774
4802
  (I) => {
4775
4803
  console.error(I);
4776
4804
  }
4777
4805
  );
4778
- }, F = () => {
4806
+ }, $ = () => {
4779
4807
  const g = new URL(`${i}/v1/player/${o}/availablerealityvalues`), E = new Headers();
4780
4808
  E.append("X-SessionID", s), E.append("accept", "application/json");
4781
- const J = { method: "GET", headers: E };
4782
- fetch(g.href, J).then((I) => I.json()).then(
4809
+ const Y = { method: "GET", headers: E };
4810
+ fetch(g.href, Y).then((I) => I.json()).then(
4783
4811
  (I) => {
4784
- k(I.AvailableRealityCheckValues), r(1, m = !1);
4812
+ q(I.AvailableRealityCheckValues), r(1, p = !1);
4785
4813
  },
4786
4814
  (I) => {
4787
4815
  console.error(I);
4788
4816
  }
4789
4817
  );
4790
- }, k = (g) => {
4818
+ }, q = (g) => {
4791
4819
  g.forEach((E) => {
4792
- E == 0 ? C.push({
4820
+ E == 0 ? A.push({
4793
4821
  value: E.toString(),
4794
4822
  text: n("never")
4795
- }) : E < 60 ? C.push({
4823
+ }) : E < 60 ? A.push({
4796
4824
  value: E.toString(),
4797
4825
  text: E + " " + n("minutes")
4798
- }) : E == 60 ? C.push({
4826
+ }) : E == 60 ? A.push({
4799
4827
  value: E.toString(),
4800
4828
  text: n("oneHour")
4801
- }) : E > 60 && C.push({
4829
+ }) : E > 60 && A.push({
4802
4830
  value: E.toString(),
4803
4831
  text: E / 60 + " " + n("hours")
4804
4832
  });
4805
4833
  });
4806
- }, q = () => Ue(this, null, function* () {
4834
+ }, D = () => Fe(this, null, function* () {
4807
4835
  const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
4808
- E.append("X-SessionID", s), E.append("Content-Type", "application/json"), E.append("Accept", "application/json"), E.append("realityCheckValue", `${parseInt(p, 10)}`);
4809
- const J = { method: "POST", headers: E };
4810
- return yield fetch(g.href, J).then(
4836
+ E.append("X-SessionID", s), E.append("Content-Type", "application/json"), E.append("Accept", "application/json"), E.append("realityCheckValue", `${parseInt(m, 10)}`);
4837
+ const Y = { method: "POST", headers: E };
4838
+ return yield fetch(g.href, Y).then(
4811
4839
  (I) => I.status == 200,
4812
4840
  (I) => (console.error(I), !1)
4813
4841
  );
4814
- }), D = (g) => {
4815
- g.preventDefault(), q().then((E) => {
4816
- E && (M(), O());
4842
+ }), M = (g) => {
4843
+ g.preventDefault(), D().then((E) => {
4844
+ E && (Q(), k());
4817
4845
  });
4818
- }, M = () => {
4846
+ }, Q = () => {
4819
4847
  window.postMessage(
4820
4848
  {
4821
4849
  type: "WidgetNotification",
@@ -4825,36 +4853,36 @@ function Eo(e, t, r) {
4825
4853
  }
4826
4854
  },
4827
4855
  window.location.href
4828
- ), r(4, S = !0), setTimeout(() => r(4, S = !1), 2e3);
4829
- }, W = () => {
4856
+ ), r(4, B = !0), setTimeout(() => r(4, B = !1), 2e3);
4857
+ }, R = () => {
4830
4858
  window.postMessage(
4831
4859
  {
4832
4860
  type: "PlayerAccountMenuActive",
4833
- isMobile: d
4861
+ isMobile: b
4834
4862
  },
4835
4863
  window.location.href
4836
4864
  );
4837
- }, R = () => {
4838
- uo(a);
4839
4865
  }, w = () => {
4866
+ co(a);
4867
+ }, U = () => {
4840
4868
  fetch(f).then((E) => E.json()).then((E) => {
4841
- Object.keys(E).forEach((J) => {
4842
- Dt(J, E[J]);
4869
+ Object.keys(E).forEach((Y) => {
4870
+ jt(Y, E[Y]);
4843
4871
  });
4844
4872
  }).catch((E) => {
4845
4873
  console.log(E);
4846
4874
  });
4847
4875
  };
4848
- Object.keys(jt).forEach((g) => {
4849
- Dt(g, jt[g]);
4850
- }), Vr(() => () => {
4876
+ Object.keys(Gt).forEach((g) => {
4877
+ jt(g, Gt[g]);
4878
+ }), zr(() => () => {
4851
4879
  });
4852
- const $ = [[]], P = () => W();
4853
- function xe() {
4854
- p = this.__value, r(2, p);
4880
+ const O = [[]], Ee = () => R();
4881
+ function Ar() {
4882
+ m = this.__value, r(2, m);
4855
4883
  }
4856
- function Br(g) {
4857
- We[g ? "unshift" : "push"](() => {
4884
+ function Pr(g) {
4885
+ Ze[g ? "unshift" : "push"](() => {
4858
4886
  h = g, r(0, h);
4859
4887
  });
4860
4888
  }
@@ -4862,24 +4890,24 @@ function Eo(e, t, r) {
4862
4890
  "endpoint" in g && r(10, i = g.endpoint), "playerid" in g && r(11, o = g.playerid), "session" in g && r(12, s = g.session), "lang" in g && r(13, a = g.lang), "clientstyling" in g && r(14, l = g.clientstyling), "clientstylingurl" in g && r(15, u = g.clientstylingurl), "mbsource" in g && r(16, c = g.mbsource), "translationurl" in g && r(17, f = g.translationurl);
4863
4891
  }, e.$$.update = () => {
4864
4892
  e.$$.dirty[0] & /*lang*/
4865
- 8192 && a && R(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4866
- 7168 && i && o && s && O(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4867
- 7168 && i && o && s && F(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4868
- 16385 && l && h && lo(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4869
- 32769 && u && h && co(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4870
- 65537 && c && h && ho(h, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
4871
- 131072 && f && w();
4893
+ 8192 && a && w(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4894
+ 7168 && i && o && s && k(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4895
+ 7168 && i && o && s && $(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4896
+ 16385 && l && h && ho(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4897
+ 32769 && u && h && fo(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4898
+ 65537 && c && h && po(h, `${c}.Style`, d), e.$$.dirty[0] & /*translationurl*/
4899
+ 131072 && f && U();
4872
4900
  }, [
4873
4901
  h,
4874
- m,
4875
4902
  p,
4876
- y,
4903
+ m,
4877
4904
  S,
4905
+ B,
4878
4906
  n,
4879
- d,
4880
- C,
4881
- D,
4882
- W,
4907
+ b,
4908
+ A,
4909
+ M,
4910
+ R,
4883
4911
  i,
4884
4912
  o,
4885
4913
  s,
@@ -4888,20 +4916,20 @@ function Eo(e, t, r) {
4888
4916
  u,
4889
4917
  c,
4890
4918
  f,
4891
- P,
4892
- xe,
4893
- $,
4894
- Br
4919
+ Ee,
4920
+ Ar,
4921
+ O,
4922
+ Pr
4895
4923
  ];
4896
4924
  }
4897
- class So extends rn {
4925
+ class Co extends on {
4898
4926
  constructor(t) {
4899
- super(), en(
4927
+ super(), rn(
4900
4928
  this,
4901
4929
  t,
4902
- Eo,
4903
- xo,
4904
- Wt,
4930
+ Ho,
4931
+ To,
4932
+ Zt,
4905
4933
  {
4906
4934
  endpoint: 10,
4907
4935
  playerid: 11,
@@ -4912,7 +4940,7 @@ class So extends rn {
4912
4940
  mbsource: 16,
4913
4941
  translationurl: 17
4914
4942
  },
4915
- fo,
4943
+ yo,
4916
4944
  [-1, -1]
4917
4945
  );
4918
4946
  }
@@ -4965,7 +4993,7 @@ class So extends rn {
4965
4993
  this.$$set({ translationurl: t }), X();
4966
4994
  }
4967
4995
  }
4968
- tn(So, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4996
+ nn(Co, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4969
4997
  export {
4970
- So as default
4998
+ Co as default
4971
4999
  };