@everymatrix/player-reality-check 1.62.0 → 1.62.1

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 Cr = Object.defineProperty, Br = Object.defineProperties;
2
- var Pr = Object.getOwnPropertyDescriptors;
3
- var ft = Object.getOwnPropertySymbols;
4
- var Ar = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? Cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
1
+ var Br = Object.defineProperty, Pr = Object.defineProperties;
2
+ var Ar = Object.getOwnPropertyDescriptors;
3
+ var dt = Object.getOwnPropertySymbols;
4
+ var Or = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
+ var Ne = (e, t, r) => t in e ? Br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Ar.call(t, r) && Ie(e, r, t[r]);
8
- if (ft)
9
- for (var r of ft(t))
10
- Rr.call(t, r) && Ie(e, r, t[r]);
7
+ Or.call(t, r) && Ne(e, r, t[r]);
8
+ if (dt)
9
+ for (var r of dt(t))
10
+ Rr.call(t, r) && Ne(e, r, t[r]);
11
11
  return e;
12
- }, dt = (e, t) => Br(e, Pr(t));
13
- var U = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Le = (e, t, r) => new Promise((n, i) => {
12
+ }, bt = (e, t) => Pr(e, Ar(t));
13
+ var U = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ke = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,50 +27,50 @@ var Le = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-B5-YtBjf.js";
31
- function N() {
30
+ import "../stencil/ui-skeleton-Bk5dn5mu.js";
31
+ function k() {
32
32
  }
33
- function jt(e) {
33
+ function Xt(e) {
34
34
  return e();
35
35
  }
36
- function mt() {
36
+ function yt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function le(e) {
40
- e.forEach(jt);
39
+ function ue(e) {
40
+ e.forEach(Xt);
41
41
  }
42
- function at(e) {
42
+ function ht(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Vt(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
48
  function Mr(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);
55
- return N;
55
+ return k;
56
56
  }
57
57
  const r = e.subscribe(...t);
58
58
  return r.unsubscribe ? () => r.unsubscribe() : r;
59
59
  }
60
- function Or(e, t, r) {
61
- e.$$.on_destroy.push(zt(t, r));
60
+ function Ir(e, t, r) {
61
+ e.$$.on_destroy.push(qt(t, r));
62
62
  }
63
63
  function b(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function Ir(e, t, r) {
67
- const n = Lr(e);
66
+ function Lr(e, t, r) {
67
+ const n = Nr(e);
68
68
  if (!n.getElementById(t)) {
69
- const i = T("style");
69
+ const i = w("style");
70
70
  i.id = t, i.textContent = r, kr(n, i);
71
71
  }
72
72
  }
73
- function Lr(e) {
73
+ function Nr(e) {
74
74
  if (!e)
75
75
  return document;
76
76
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -93,33 +93,33 @@ function F(e, t, r) {
93
93
  function $(e) {
94
94
  e.parentNode && e.parentNode.removeChild(e);
95
95
  }
96
- function Xt(e, t) {
96
+ function Wt(e, t) {
97
97
  for (let r = 0; r < e.length; r += 1)
98
98
  e[r] && e[r].d(t);
99
99
  }
100
- function T(e) {
100
+ function w(e) {
101
101
  return document.createElement(e);
102
102
  }
103
103
  function Y(e) {
104
104
  return document.createElementNS("http://www.w3.org/2000/svg", e);
105
105
  }
106
- function X(e) {
106
+ function q(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
109
  function D() {
110
- return X(" ");
110
+ return q(" ");
111
111
  }
112
- function He(e, t, r, n) {
112
+ function Ce(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function w(e, t, r) {
115
+ function S(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
118
  function A(e, t, r) {
119
119
  const n = t.toLowerCase();
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 : w(e, t, r);
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 : S(e, t, r);
121
121
  }
122
- function Nr(e) {
122
+ function $r(e) {
123
123
  let t;
124
124
  return {
125
125
  /* push */
@@ -132,17 +132,17 @@ function Nr(e) {
132
132
  }
133
133
  };
134
134
  }
135
- function $r(e) {
135
+ function Ur(e) {
136
136
  return Array.from(e.childNodes);
137
137
  }
138
138
  function re(e, t) {
139
139
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
140
140
  t);
141
141
  }
142
- function Ur(e, t) {
142
+ function Dr(e, t) {
143
143
  e.value = t == null ? "" : t;
144
144
  }
145
- function Dr(e) {
145
+ function Fr(e) {
146
146
  const t = {};
147
147
  return e.childNodes.forEach(
148
148
  /** @param {Element} node */
@@ -151,98 +151,98 @@ function Dr(e) {
151
151
  }
152
152
  ), t;
153
153
  }
154
- let me;
155
- function de(e) {
156
- me = e;
154
+ let de;
155
+ function pe(e) {
156
+ de = e;
157
157
  }
158
- function Fr() {
159
- if (!me)
158
+ function jr() {
159
+ if (!de)
160
160
  throw new Error("Function called outside component initialization");
161
- return me;
161
+ return de;
162
162
  }
163
163
  function Gr(e) {
164
- Fr().$$.on_mount.push(e);
164
+ jr().$$.on_mount.push(e);
165
165
  }
166
- const te = [], Ve = [];
166
+ const te = [], ze = [];
167
167
  let ne = [];
168
- const bt = [], jr = /* @__PURE__ */ Promise.resolve();
169
- let ze = !1;
170
- function Vr() {
171
- ze || (ze = !0, jr.then(z));
168
+ const gt = [], Vr = /* @__PURE__ */ Promise.resolve();
169
+ let qe = !1;
170
+ function Xr() {
171
+ qe || (qe = !0, Vr.then(X));
172
172
  }
173
- function Xe(e) {
173
+ function We(e) {
174
174
  ne.push(e);
175
175
  }
176
- const ke = /* @__PURE__ */ new Set();
176
+ const $e = /* @__PURE__ */ new Set();
177
177
  let K = 0;
178
- function z() {
178
+ function X() {
179
179
  if (K !== 0)
180
180
  return;
181
- const e = me;
181
+ const e = de;
182
182
  do {
183
183
  try {
184
184
  for (; K < te.length; ) {
185
185
  const t = te[K];
186
- K++, de(t), zr(t.$$);
186
+ K++, pe(t), zr(t.$$);
187
187
  }
188
188
  } catch (t) {
189
189
  throw te.length = 0, K = 0, t;
190
190
  }
191
- for (de(null), te.length = 0, K = 0; Ve.length; )
192
- Ve.pop()();
191
+ for (pe(null), te.length = 0, K = 0; ze.length; )
192
+ ze.pop()();
193
193
  for (let t = 0; t < ne.length; t += 1) {
194
194
  const r = ne[t];
195
- ke.has(r) || (ke.add(r), r());
195
+ $e.has(r) || ($e.add(r), r());
196
196
  }
197
197
  ne.length = 0;
198
198
  } while (te.length);
199
- for (; bt.length; )
200
- bt.pop()();
201
- ze = !1, ke.clear(), de(e);
199
+ for (; gt.length; )
200
+ gt.pop()();
201
+ qe = !1, $e.clear(), pe(e);
202
202
  }
203
203
  function zr(e) {
204
204
  if (e.fragment !== null) {
205
- e.update(), le(e.before_update);
205
+ e.update(), ue(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(Xe);
207
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
208
208
  }
209
209
  }
210
- function Xr(e) {
210
+ function qr(e) {
211
211
  const t = [], r = [];
212
212
  ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
213
213
  }
214
- const qr = /* @__PURE__ */ new Set();
215
- function Wr(e, t) {
216
- e && e.i && (qr.delete(e), e.i(t));
214
+ const Wr = /* @__PURE__ */ new Set();
215
+ function Zr(e, t) {
216
+ e && e.i && (Wr.delete(e), e.i(t));
217
217
  }
218
- function qe(e) {
218
+ function Ze(e) {
219
219
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
220
220
  }
221
- function Zr(e, t, r) {
221
+ function Qr(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), Xe(() => {
224
- const o = e.$$.on_mount.map(jt).filter(at);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
226
- }), i.forEach(Xe);
223
+ n && n.m(t, r), We(() => {
224
+ const o = e.$$.on_mount.map(Xt).filter(ht);
225
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
226
+ }), i.forEach(We);
227
227
  }
228
- function Qr(e, t) {
228
+ function Jr(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (Xr(r.after_update), le(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), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
- function Jr(e, t) {
233
- e.$$.dirty[0] === -1 && (te.push(e), Vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function Yr(e, t) {
233
+ e.$$.dirty[0] === -1 && (te.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
236
- const l = me;
237
- de(e);
235
+ function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
236
+ const l = de;
237
+ pe(e);
238
238
  const u = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
241
241
  // state
242
242
  props: o,
243
- update: N,
243
+ update: k,
244
244
  not_equal: i,
245
- bound: mt(),
245
+ bound: yt(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,7 +251,7 @@ function Yr(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: mt(),
254
+ callbacks: yt(),
255
255
  dirty: a,
256
256
  skip_bound: !1,
257
257
  root: t.target || l.$$.root
@@ -260,19 +260,19 @@ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
260
260
  let c = !1;
261
261
  if (u.ctx = r ? r(e, t.props || {}, (f, h, ...d) => {
262
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 && Jr(e, f)), h;
264
- }) : [], u.update(), c = !0, le(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
263
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && Yr(e, f)), h;
264
+ }) : [], u.update(), c = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const f = $r(t.target);
266
+ const f = Ur(t.target);
267
267
  u.fragment && u.fragment.l(f), f.forEach($);
268
268
  } else
269
269
  u.fragment && u.fragment.c();
270
- t.intro && Wr(e.$$.fragment), Zr(e, t.target, t.anchor), z();
270
+ t.intro && Zr(e.$$.fragment), Qr(e, t.target, t.anchor), X();
271
271
  }
272
- de(l);
272
+ pe(l);
273
273
  }
274
- let qt;
275
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
274
+ let Zt;
275
+ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
276
276
  constructor(t, r, n) {
277
277
  super();
278
278
  /** The Svelte component constructor */
@@ -309,14 +309,14 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
309
309
  }
310
310
  }
311
311
  connectedCallback() {
312
- return Le(this, null, function* () {
312
+ return ke(this, null, function* () {
313
313
  if (this.$$cn = !0, !this.$$c) {
314
314
  let t = function(o) {
315
315
  return () => {
316
316
  let s;
317
317
  return {
318
318
  c: function() {
319
- s = T("slot"), o !== "default" && w(s, "name", o);
319
+ s = w("slot"), o !== "default" && S(s, "name", o);
320
320
  },
321
321
  /**
322
322
  * @param {HTMLElement} target
@@ -333,7 +333,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
333
333
  };
334
334
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
335
335
  return;
336
- const r = {}, n = Dr(this);
336
+ const r = {}, n = Fr(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) {
@@ -344,7 +344,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
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: dt(pt({}, this.$$d), {
347
+ props: bt(mt({}, this.$$d), {
348
348
  $$slots: r,
349
349
  $$scope: {
350
350
  ctx: []
@@ -422,8 +422,8 @@ function Ee(e, t, r, n) {
422
422
  return t;
423
423
  }
424
424
  }
425
- function Kr(e, t, r, n, i, o) {
426
- let s = class extends qt {
425
+ function en(e, t, r, n, i, o) {
426
+ let s = class extends Zt {
427
427
  constructor() {
428
428
  super(e, r, i), this.$$p_d = t;
429
429
  }
@@ -453,7 +453,7 @@ function Kr(e, t, r, n, i, o) {
453
453
  }), e.element = /** @type {any} */
454
454
  s, s;
455
455
  }
456
- class en {
456
+ class tn {
457
457
  constructor() {
458
458
  /**
459
459
  * ### PRIVATE API
@@ -474,7 +474,7 @@ class en {
474
474
  }
475
475
  /** @returns {void} */
476
476
  $destroy() {
477
- Qr(this, 1), this.$destroy = N;
477
+ Jr(this, 1), this.$destroy = k;
478
478
  }
479
479
  /**
480
480
  * @template {Extract<keyof Events, string>} K
@@ -483,8 +483,8 @@ class en {
483
483
  * @returns {() => void}
484
484
  */
485
485
  $on(t, r) {
486
- if (!at(r))
487
- return N;
486
+ if (!ht(r))
487
+ return k;
488
488
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
489
489
  return n.push(r), () => {
490
490
  const i = n.indexOf(r);
@@ -499,8 +499,8 @@ class en {
499
499
  this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
500
500
  }
501
501
  }
502
- const tn = "4";
503
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
502
+ const rn = "4";
503
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
504
504
  /*! *****************************************************************************
505
505
  Copyright (c) Microsoft Corporation.
506
506
 
@@ -515,43 +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 We = function(e, t) {
519
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
+ var Qe = function(e, t) {
519
+ return Qe = 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
- }, We(e, t);
524
+ }, Qe(e, t);
525
525
  };
526
- function W(e, t) {
526
+ function ye(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
- We(e, t);
529
+ Qe(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
- var S = function() {
536
- return S = Object.assign || function(t) {
537
- for (var r, n = 1, i = arguments.length; n < i; n++) {
538
- r = arguments[n];
539
- for (var o in r)
540
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
541
- }
542
- return t;
543
- }, S.apply(this, arguments);
544
- };
545
- function rn(e, t) {
546
- var r = {};
547
- for (var n in e)
548
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
549
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
550
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
551
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
552
- return r;
553
- }
554
- function Ze(e) {
535
+ function Je(e) {
555
536
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
556
537
  if (r)
557
538
  return r.call(e);
@@ -563,7 +544,7 @@ function Ze(e) {
563
544
  };
564
545
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
565
546
  }
566
- function Qe(e, t) {
547
+ function Ye(e, t) {
567
548
  var r = typeof Symbol == "function" && e[Symbol.iterator];
568
549
  if (!r)
569
550
  return e;
@@ -583,22 +564,22 @@ function Qe(e, t) {
583
564
  }
584
565
  return o;
585
566
  }
586
- function ie(e, t, r) {
587
- if (r || arguments.length === 2)
567
+ function Ke(e, t, r) {
568
+ if (arguments.length === 2)
588
569
  for (var n = 0, i = t.length, o; n < i; n++)
589
570
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
590
571
  return e.concat(o || t);
591
572
  }
592
- function q(e) {
573
+ function W(e) {
593
574
  return typeof e == "function";
594
575
  }
595
- function Wt(e) {
576
+ function Qt(e) {
596
577
  var t = function(n) {
597
578
  Error.call(n), n.stack = new Error().stack;
598
579
  }, r = e(t);
599
580
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
600
581
  }
601
- var Ne = Wt(function(e) {
582
+ var Ue = Qt(function(e) {
602
583
  return function(r) {
603
584
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
604
585
  ` + r.map(function(n, i) {
@@ -607,13 +588,13 @@ var Ne = Wt(function(e) {
607
588
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
608
589
  };
609
590
  });
610
- function Je(e, t) {
591
+ function et(e, t) {
611
592
  if (e) {
612
593
  var r = e.indexOf(t);
613
594
  0 <= r && e.splice(r, 1);
614
595
  }
615
596
  }
616
- var Pe = function() {
597
+ var Ae = function() {
617
598
  function e(t) {
618
599
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
619
600
  }
@@ -625,7 +606,7 @@ var Pe = function() {
625
606
  if (s)
626
607
  if (this._parentage = null, Array.isArray(s))
627
608
  try {
628
- for (var a = Ze(s), l = a.next(); !l.done; l = a.next()) {
609
+ for (var a = Je(s), l = a.next(); !l.done; l = a.next()) {
629
610
  var u = l.value;
630
611
  u.remove(this);
631
612
  }
@@ -642,22 +623,22 @@ var Pe = function() {
642
623
  else
643
624
  s.remove(this);
644
625
  var c = this.initialTeardown;
645
- if (q(c))
626
+ if (W(c))
646
627
  try {
647
628
  c();
648
629
  } catch (p) {
649
- o = p instanceof Ne ? p.errors : [p];
630
+ o = p instanceof Ue ? p.errors : [p];
650
631
  }
651
632
  var f = this._finalizers;
652
633
  if (f) {
653
634
  this._finalizers = null;
654
635
  try {
655
- for (var h = Ze(f), d = h.next(); !d.done; d = h.next()) {
636
+ for (var h = Je(f), d = h.next(); !d.done; d = h.next()) {
656
637
  var m = d.value;
657
638
  try {
658
- yt(m);
639
+ vt(m);
659
640
  } catch (p) {
660
- o = o != null ? o : [], p instanceof Ne ? o = ie(ie([], Qe(o)), Qe(p.errors)) : o.push(p);
641
+ o = o != null ? o : [], p instanceof Ue ? o = Ke(Ke([], Ye(o)), Ye(p.errors)) : o.push(p);
661
642
  }
662
643
  }
663
644
  } catch (p) {
@@ -672,13 +653,13 @@ var Pe = function() {
672
653
  }
673
654
  }
674
655
  if (o)
675
- throw new Ne(o);
656
+ throw new Ue(o);
676
657
  }
677
658
  }, e.prototype.add = function(t) {
678
659
  var r;
679
660
  if (t && t !== this)
680
661
  if (this.closed)
681
- yt(t);
662
+ vt(t);
682
663
  else {
683
664
  if (t instanceof e) {
684
665
  if (t.closed || t._hasParent(this))
@@ -695,56 +676,52 @@ var Pe = function() {
695
676
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
696
677
  }, e.prototype._removeParent = function(t) {
697
678
  var r = this._parentage;
698
- r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
679
+ r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
699
680
  }, e.prototype.remove = function(t) {
700
681
  var r = this._finalizers;
701
- r && Je(r, t), t instanceof e && t._removeParent(this);
682
+ r && et(r, t), t instanceof e && t._removeParent(this);
702
683
  }, e.EMPTY = function() {
703
684
  var t = new e();
704
685
  return t.closed = !0, t;
705
686
  }(), e;
706
- }(), Zt = Pe.EMPTY;
707
- function Qt(e) {
708
- return e instanceof Pe || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
709
- }
710
- function yt(e) {
711
- q(e) ? e() : e.unsubscribe();
712
- }
713
- var Jt = {
714
- onUnhandledError: null,
715
- onStoppedNotification: null,
716
- Promise: void 0,
717
- useDeprecatedSynchronousErrorHandling: !1,
718
- useDeprecatedNextContext: !1
719
- }, nn = {
687
+ }(), Jt = Ae.EMPTY;
688
+ function Yt(e) {
689
+ return e instanceof Ae || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
690
+ }
691
+ function vt(e) {
692
+ W(e) ? e() : e.unsubscribe();
693
+ }
694
+ var nn = {
695
+ Promise: void 0
696
+ }, on = {
720
697
  setTimeout: function(e, t) {
721
698
  for (var r = [], n = 2; n < arguments.length; n++)
722
699
  r[n - 2] = arguments[n];
723
- return setTimeout.apply(void 0, ie([e, t], Qe(r)));
700
+ return setTimeout.apply(void 0, Ke([e, t], Ye(r)));
724
701
  },
725
702
  clearTimeout: function(e) {
726
703
  return clearTimeout(e);
727
704
  },
728
705
  delegate: void 0
729
706
  };
730
- function on(e) {
731
- nn.setTimeout(function() {
707
+ function sn(e) {
708
+ on.setTimeout(function() {
732
709
  throw e;
733
710
  });
734
711
  }
735
- function gt() {
712
+ function _t() {
736
713
  }
737
714
  function Se(e) {
738
715
  e();
739
716
  }
740
- var Yt = function(e) {
741
- W(t, e);
717
+ var Kt = function(e) {
718
+ ye(t, e);
742
719
  function t(r) {
743
720
  var n = e.call(this) || this;
744
- return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = ln, n;
721
+ return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = ln, n;
745
722
  }
746
723
  return t.create = function(r, n, i) {
747
- return new Ye(r, n, i);
724
+ return new tt(r, n, i);
748
725
  }, t.prototype.next = function(r) {
749
726
  this.isStopped || this._next(r);
750
727
  }, t.prototype.error = function(r) {
@@ -768,11 +745,7 @@ var Yt = function(e) {
768
745
  this.unsubscribe();
769
746
  }
770
747
  }, t;
771
- }(Pe), sn = Function.prototype.bind;
772
- function $e(e, t) {
773
- return sn.call(e, t);
774
- }
775
- var an = function() {
748
+ }(Ae), an = function() {
776
749
  function e(t) {
777
750
  this.partialObserver = t;
778
751
  }
@@ -782,7 +755,7 @@ var an = function() {
782
755
  try {
783
756
  r.next(t);
784
757
  } catch (n) {
785
- xe(n);
758
+ _e(n);
786
759
  }
787
760
  }, e.prototype.error = function(t) {
788
761
  var r = this.partialObserver;
@@ -790,54 +763,42 @@ var an = function() {
790
763
  try {
791
764
  r.error(t);
792
765
  } catch (n) {
793
- xe(n);
766
+ _e(n);
794
767
  }
795
768
  else
796
- xe(t);
769
+ _e(t);
797
770
  }, e.prototype.complete = function() {
798
771
  var t = this.partialObserver;
799
772
  if (t.complete)
800
773
  try {
801
774
  t.complete();
802
775
  } catch (r) {
803
- xe(r);
776
+ _e(r);
804
777
  }
805
778
  }, e;
806
- }(), Ye = function(e) {
807
- W(t, e);
779
+ }(), tt = function(e) {
780
+ ye(t, e);
808
781
  function t(r, n, i) {
809
782
  var o = e.call(this) || this, s;
810
- if (q(r) || !r)
811
- s = {
812
- next: r != null ? r : void 0,
813
- error: n != null ? n : void 0,
814
- complete: i != null ? i : void 0
815
- };
816
- else {
817
- var a;
818
- o && Jt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
819
- return o.unsubscribe();
820
- }, s = {
821
- next: r.next && $e(r.next, a),
822
- error: r.error && $e(r.error, a),
823
- complete: r.complete && $e(r.complete, a)
824
- }) : s = r;
825
- }
826
- return o.destination = new an(s), o;
783
+ return W(r) || !r ? s = {
784
+ next: r != null ? r : void 0,
785
+ error: n != null ? n : void 0,
786
+ complete: i != null ? i : void 0
787
+ } : s = r, o.destination = new an(s), o;
827
788
  }
828
789
  return t;
829
- }(Yt);
830
- function xe(e) {
831
- on(e);
790
+ }(Kt);
791
+ function _e(e) {
792
+ sn(e);
832
793
  }
833
794
  function un(e) {
834
795
  throw e;
835
796
  }
836
797
  var ln = {
837
798
  closed: !0,
838
- next: gt,
799
+ next: _t,
839
800
  error: un,
840
- complete: gt
801
+ complete: _t
841
802
  }, cn = function() {
842
803
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
843
804
  }();
@@ -851,7 +812,7 @@ function fn(e) {
851
812
  }, r);
852
813
  };
853
814
  }
854
- var vt = function() {
815
+ var xt = function() {
855
816
  function e(t) {
856
817
  t && (this._subscribe = t);
857
818
  }
@@ -859,7 +820,7 @@ var vt = function() {
859
820
  var r = new e();
860
821
  return r.source = this, r.operator = t, r;
861
822
  }, e.prototype.subscribe = function(t, r, n) {
862
- var i = this, o = dn(t) ? t : new Ye(t, r, n);
823
+ var i = this, o = dn(t) ? t : new tt(t, r, n);
863
824
  return Se(function() {
864
825
  var s = i, a = s.operator, l = s.source;
865
826
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -872,8 +833,8 @@ var vt = function() {
872
833
  }
873
834
  }, e.prototype.forEach = function(t, r) {
874
835
  var n = this;
875
- return r = xt(r), new r(function(i, o) {
876
- var s = new Ye({
836
+ return r = Et(r), new r(function(i, o) {
837
+ var s = new tt({
877
838
  next: function(a) {
878
839
  try {
879
840
  t(a);
@@ -897,7 +858,7 @@ var vt = function() {
897
858
  return fn(t)(this);
898
859
  }, e.prototype.toPromise = function(t) {
899
860
  var r = this;
900
- return t = xt(t), new t(function(n, i) {
861
+ return t = Et(t), new t(function(n, i) {
901
862
  var o;
902
863
  r.subscribe(function(s) {
903
864
  return o = s;
@@ -911,28 +872,28 @@ var vt = function() {
911
872
  return new e(t);
912
873
  }, e;
913
874
  }();
914
- function xt(e) {
875
+ function Et(e) {
915
876
  var t;
916
- return (t = e != null ? e : Jt.Promise) !== null && t !== void 0 ? t : Promise;
877
+ return (t = e != null ? e : nn.Promise) !== null && t !== void 0 ? t : Promise;
917
878
  }
918
879
  function pn(e) {
919
- return e && q(e.next) && q(e.error) && q(e.complete);
880
+ return e && W(e.next) && W(e.error) && W(e.complete);
920
881
  }
921
882
  function dn(e) {
922
- return e && e instanceof Yt || pn(e) && Qt(e);
883
+ return e && e instanceof Kt || pn(e) && Yt(e);
923
884
  }
924
- var mn = Wt(function(e) {
885
+ var mn = Qt(function(e) {
925
886
  return function() {
926
887
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
927
888
  };
928
- }), Kt = function(e) {
929
- W(t, e);
889
+ }), er = function(e) {
890
+ ye(t, e);
930
891
  function t() {
931
892
  var r = e.call(this) || this;
932
893
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
933
894
  }
934
895
  return t.prototype.lift = function(r) {
935
- var n = new _t(this, this);
896
+ var n = new St(this, this);
936
897
  return n.operator = r, n;
937
898
  }, t.prototype._throwIfClosed = function() {
938
899
  if (this.closed)
@@ -944,7 +905,7 @@ var mn = Wt(function(e) {
944
905
  if (n._throwIfClosed(), !n.isStopped) {
945
906
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
946
907
  try {
947
- for (var s = Ze(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
908
+ for (var s = Je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
948
909
  var l = a.value;
949
910
  l.next(r);
950
911
  }
@@ -993,20 +954,20 @@ var mn = Wt(function(e) {
993
954
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
994
955
  }, t.prototype._innerSubscribe = function(r) {
995
956
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
996
- return o || s ? Zt : (this.currentObservers = null, a.push(r), new Pe(function() {
997
- n.currentObservers = null, Je(a, r);
957
+ return o || s ? Jt : (this.currentObservers = null, a.push(r), new Ae(function() {
958
+ n.currentObservers = null, et(a, r);
998
959
  }));
999
960
  }, t.prototype._checkFinalizedStatuses = function(r) {
1000
961
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1001
962
  i ? r.error(o) : s && r.complete();
1002
963
  }, t.prototype.asObservable = function() {
1003
- var r = new vt();
964
+ var r = new xt();
1004
965
  return r.source = this, r;
1005
966
  }, t.create = function(r, n) {
1006
- return new _t(r, n);
967
+ return new St(r, n);
1007
968
  }, t;
1008
- }(vt), _t = function(e) {
1009
- W(t, e);
969
+ }(xt), St = function(e) {
970
+ ye(t, e);
1010
971
  function t(r, n) {
1011
972
  var i = e.call(this) || this;
1012
973
  return i.destination = r, i.source = n, i;
@@ -1022,17 +983,17 @@ var mn = Wt(function(e) {
1022
983
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1023
984
  }, t.prototype._subscribe = function(r) {
1024
985
  var n, i;
1025
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
986
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
1026
987
  }, t;
1027
- }(Kt), er = {
988
+ }(er), tr = {
1028
989
  now: function() {
1029
- return (er.delegate || Date).now();
990
+ return (tr.delegate || Date).now();
1030
991
  },
1031
992
  delegate: void 0
1032
993
  }, bn = function(e) {
1033
- W(t, e);
994
+ ye(t, e);
1034
995
  function t(r, n, i) {
1035
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
996
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
1036
997
  var o = e.call(this) || this;
1037
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;
1038
999
  }
@@ -1052,24 +1013,24 @@ var mn = Wt(function(e) {
1052
1013
  u && o.splice(0, u + 1);
1053
1014
  }
1054
1015
  }, t;
1055
- }(Kt);
1056
- const Et = [], St = {}, yn = (e, t = 0) => {
1057
- if (Et.indexOf(e) == -1) {
1016
+ }(er);
1017
+ const wt = [], Tt = {}, yn = (e, t = 0) => {
1018
+ if (wt.indexOf(e) == -1) {
1058
1019
  const r = new bn(t);
1059
- St[e] = r, Et.push(e);
1020
+ Tt[e] = r, wt.push(e);
1060
1021
  }
1061
- return St[e];
1022
+ return Tt[e];
1062
1023
  }, ee = [];
1063
1024
  function gn(e, t) {
1064
1025
  return {
1065
- subscribe: Ae(e, t).subscribe
1026
+ subscribe: Oe(e, t).subscribe
1066
1027
  };
1067
1028
  }
1068
- function Ae(e, t = N) {
1029
+ function Oe(e, t = k) {
1069
1030
  let r;
1070
1031
  const n = /* @__PURE__ */ new Set();
1071
1032
  function i(a) {
1072
- if (Vt(e, a) && (e = a, r)) {
1033
+ if (zt(e, a) && (e = a, r)) {
1073
1034
  const l = !ee.length;
1074
1035
  for (const u of n)
1075
1036
  u[1](), ee.push(u, e);
@@ -1083,15 +1044,15 @@ function Ae(e, t = N) {
1083
1044
  function o(a) {
1084
1045
  i(a(e));
1085
1046
  }
1086
- function s(a, l = N) {
1047
+ function s(a, l = k) {
1087
1048
  const u = [a, l];
1088
- return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1049
+ return n.add(u), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1089
1050
  n.delete(u), n.size === 0 && r && (r(), r = null);
1090
1051
  };
1091
1052
  }
1092
1053
  return { set: i, update: o, subscribe: s };
1093
1054
  }
1094
- function ce(e, t, r) {
1055
+ function le(e, t, r) {
1095
1056
  const n = !Array.isArray(e), i = n ? [e] : e;
1096
1057
  if (!i.every(Boolean))
1097
1058
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1099,15 +1060,15 @@ function ce(e, t, r) {
1099
1060
  return gn(r, (s, a) => {
1100
1061
  let l = !1;
1101
1062
  const u = [];
1102
- let c = 0, f = N;
1063
+ let c = 0, f = k;
1103
1064
  const h = () => {
1104
1065
  if (c)
1105
1066
  return;
1106
1067
  f();
1107
1068
  const m = t(n ? u[0] : u, s, a);
1108
- o ? s(m) : f = at(m) ? m : N;
1069
+ o ? s(m) : f = ht(m) ? m : k;
1109
1070
  }, d = i.map(
1110
- (m, p) => zt(
1071
+ (m, p) => qt(
1111
1072
  m,
1112
1073
  (y) => {
1113
1074
  u[p] = y, c &= ~(1 << p), l && h();
@@ -1118,17 +1079,17 @@ function ce(e, t, r) {
1118
1079
  )
1119
1080
  );
1120
1081
  return l = !0, h(), function() {
1121
- le(d), f(), l = !1;
1082
+ ue(d), f(), l = !1;
1122
1083
  };
1123
1084
  });
1124
1085
  }
1125
1086
  function vn(e) {
1126
1087
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1127
1088
  }
1128
- var xn = function(t) {
1129
- return _n(t) && !En(t);
1089
+ var _n = function(t) {
1090
+ return xn(t) && !En(t);
1130
1091
  };
1131
- function _n(e) {
1092
+ function xn(e) {
1132
1093
  return !!e && typeof e == "object";
1133
1094
  }
1134
1095
  function En(e) {
@@ -1139,32 +1100,32 @@ var Sn = typeof Symbol == "function" && Symbol.for, wn = Sn ? Symbol.for("react.
1139
1100
  function Tn(e) {
1140
1101
  return e.$$typeof === wn;
1141
1102
  }
1142
- function Hn(e) {
1103
+ function Cn(e) {
1143
1104
  return Array.isArray(e) ? [] : {};
1144
1105
  }
1145
- function be(e, t) {
1146
- return t.clone !== !1 && t.isMergeableObject(e) ? oe(Hn(e), e, t) : e;
1106
+ function me(e, t) {
1107
+ return t.clone !== !1 && t.isMergeableObject(e) ? ie(Cn(e), e, t) : e;
1147
1108
  }
1148
- function Cn(e, t, r) {
1109
+ function Hn(e, t, r) {
1149
1110
  return e.concat(t).map(function(n) {
1150
- return be(n, r);
1111
+ return me(n, r);
1151
1112
  });
1152
1113
  }
1153
1114
  function Bn(e, t) {
1154
1115
  if (!t.customMerge)
1155
- return oe;
1116
+ return ie;
1156
1117
  var r = t.customMerge(e);
1157
- return typeof r == "function" ? r : oe;
1118
+ return typeof r == "function" ? r : ie;
1158
1119
  }
1159
1120
  function Pn(e) {
1160
1121
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1161
1122
  return Object.propertyIsEnumerable.call(e, t);
1162
1123
  }) : [];
1163
1124
  }
1164
- function wt(e) {
1125
+ function Ct(e) {
1165
1126
  return Object.keys(e).concat(Pn(e));
1166
1127
  }
1167
- function tr(e, t) {
1128
+ function rr(e, t) {
1168
1129
  try {
1169
1130
  return t in e;
1170
1131
  } catch (r) {
@@ -1172,81 +1133,131 @@ function tr(e, t) {
1172
1133
  }
1173
1134
  }
1174
1135
  function An(e, t) {
1175
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1136
+ return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1176
1137
  }
1177
- function Rn(e, t, r) {
1138
+ function On(e, t, r) {
1178
1139
  var n = {};
1179
- return r.isMergeableObject(e) && wt(e).forEach(function(i) {
1180
- n[i] = be(e[i], r);
1181
- }), wt(t).forEach(function(i) {
1182
- An(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bn(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
1140
+ return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
1141
+ n[i] = me(e[i], r);
1142
+ }), Ct(t).forEach(function(i) {
1143
+ An(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1183
1144
  }), n;
1184
1145
  }
1185
- function oe(e, t, r) {
1186
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = be;
1146
+ function ie(e, t, r) {
1147
+ r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = me;
1187
1148
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1188
- return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : be(t, r);
1149
+ return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : me(t, r);
1189
1150
  }
1190
- oe.all = function(t, r) {
1151
+ ie.all = function(t, r) {
1191
1152
  if (!Array.isArray(t))
1192
1153
  throw new Error("first argument should be an array");
1193
1154
  return t.reduce(function(n, i) {
1194
- return oe(n, i, r);
1155
+ return ie(n, i, r);
1195
1156
  }, {});
1196
1157
  };
1197
- var Mn = oe, On = Mn;
1198
- const In = /* @__PURE__ */ vn(On);
1199
- function Ue(e, t) {
1200
- var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : kn;
1158
+ var Rn = ie, Mn = Rn;
1159
+ const In = /* @__PURE__ */ vn(Mn);
1160
+ var rt = function(e, t) {
1161
+ return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1162
+ r.__proto__ = n;
1163
+ } || function(r, n) {
1164
+ for (var i in n)
1165
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1166
+ }, rt(e, t);
1167
+ };
1168
+ function Re(e, t) {
1169
+ if (typeof t != "function" && t !== null)
1170
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1171
+ rt(e, t);
1172
+ function r() {
1173
+ this.constructor = e;
1174
+ }
1175
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1176
+ }
1177
+ var z = function() {
1178
+ return z = Object.assign || function(t) {
1179
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1180
+ r = arguments[n];
1181
+ for (var o in r)
1182
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1183
+ }
1184
+ return t;
1185
+ }, z.apply(this, arguments);
1186
+ };
1187
+ function Ln(e, t) {
1188
+ var r = {};
1189
+ for (var n in e)
1190
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1191
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1192
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1193
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1194
+ return r;
1195
+ }
1196
+ function De(e, t, r) {
1197
+ if (r || arguments.length === 2)
1198
+ for (var n = 0, i = t.length, o; n < i; n++)
1199
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1200
+ return e.concat(o || Array.prototype.slice.call(t));
1201
+ }
1202
+ function Fe(e, t) {
1203
+ var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : Dn, i = t && t.strategy ? t.strategy : $n;
1201
1204
  return i(e, {
1202
1205
  cache: r,
1203
1206
  serializer: n
1204
1207
  });
1205
1208
  }
1206
- function Ln(e) {
1209
+ function Nn(e) {
1207
1210
  return e == null || typeof e == "number" || typeof e == "boolean";
1208
1211
  }
1209
- function rr(e, t, r, n) {
1210
- var i = Ln(n) ? n : r(n), o = t.get(i);
1212
+ function kn(e, t, r, n) {
1213
+ var i = Nn(n) ? n : r(n), o = t.get(i);
1211
1214
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1212
1215
  }
1213
1216
  function nr(e, t, r) {
1214
1217
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1215
1218
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1216
1219
  }
1217
- function ut(e, t, r, n, i) {
1220
+ function ir(e, t, r, n, i) {
1218
1221
  return r.bind(t, e, n, i);
1219
1222
  }
1220
- function kn(e, t) {
1221
- var r = e.length === 1 ? rr : nr;
1222
- return ut(e, this, r, t.cache.create(), t.serializer);
1223
- }
1224
- function Nn(e, t) {
1225
- return ut(e, this, nr, t.cache.create(), t.serializer);
1226
- }
1227
1223
  function $n(e, t) {
1228
- return ut(e, this, rr, t.cache.create(), t.serializer);
1224
+ var r = e.length === 1 ? kn : nr;
1225
+ return ir(e, this, r, t.cache.create(), t.serializer);
1229
1226
  }
1230
- var Un = function() {
1231
- return JSON.stringify(arguments);
1232
- };
1233
- function lt() {
1234
- this.cache = /* @__PURE__ */ Object.create(null);
1227
+ function Un(e, t) {
1228
+ return ir(e, this, nr, t.cache.create(), t.serializer);
1235
1229
  }
1236
- lt.prototype.get = function(e) {
1237
- return this.cache[e];
1238
- };
1239
- lt.prototype.set = function(e, t) {
1240
- this.cache[e] = t;
1241
- };
1242
- var Dn = {
1230
+ var Dn = function() {
1231
+ return JSON.stringify(arguments);
1232
+ }, Fn = (
1233
+ /** @class */
1234
+ function() {
1235
+ function e() {
1236
+ this.cache = /* @__PURE__ */ Object.create(null);
1237
+ }
1238
+ return e.prototype.get = function(t) {
1239
+ return this.cache[t];
1240
+ }, e.prototype.set = function(t, r) {
1241
+ this.cache[t] = r;
1242
+ }, e;
1243
+ }()
1244
+ ), jn = {
1243
1245
  create: function() {
1244
- return new lt();
1246
+ return new Fn();
1245
1247
  }
1246
- }, De = {
1247
- variadic: Nn,
1248
- monadic: $n
1249
- }, v;
1248
+ }, je = {
1249
+ variadic: Un
1250
+ }, He = function() {
1251
+ return He = Object.assign || function(t) {
1252
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1253
+ r = arguments[n];
1254
+ for (var o in r)
1255
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1256
+ }
1257
+ return t;
1258
+ }, He.apply(this, arguments);
1259
+ };
1260
+ var v;
1250
1261
  (function(e) {
1251
1262
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1252
1263
  })(v || (v = {}));
@@ -1254,47 +1265,47 @@ var C;
1254
1265
  (function(e) {
1255
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";
1256
1267
  })(C || (C = {}));
1257
- var se;
1268
+ var oe;
1258
1269
  (function(e) {
1259
1270
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1260
- })(se || (se = {}));
1261
- function Tt(e) {
1271
+ })(oe || (oe = {}));
1272
+ function Ht(e) {
1262
1273
  return e.type === C.literal;
1263
1274
  }
1264
- function Fn(e) {
1275
+ function Gn(e) {
1265
1276
  return e.type === C.argument;
1266
1277
  }
1267
- function ir(e) {
1278
+ function or(e) {
1268
1279
  return e.type === C.number;
1269
1280
  }
1270
- function or(e) {
1281
+ function sr(e) {
1271
1282
  return e.type === C.date;
1272
1283
  }
1273
- function sr(e) {
1284
+ function ar(e) {
1274
1285
  return e.type === C.time;
1275
1286
  }
1276
- function ar(e) {
1287
+ function ur(e) {
1277
1288
  return e.type === C.select;
1278
1289
  }
1279
- function ur(e) {
1290
+ function lr(e) {
1280
1291
  return e.type === C.plural;
1281
1292
  }
1282
- function Gn(e) {
1293
+ function Vn(e) {
1283
1294
  return e.type === C.pound;
1284
1295
  }
1285
- function lr(e) {
1296
+ function cr(e) {
1286
1297
  return e.type === C.tag;
1287
1298
  }
1288
- function cr(e) {
1289
- return !!(e && typeof e == "object" && e.type === se.number);
1299
+ function hr(e) {
1300
+ return !!(e && typeof e == "object" && e.type === oe.number);
1290
1301
  }
1291
- function Ke(e) {
1292
- return !!(e && typeof e == "object" && e.type === se.dateTime);
1302
+ function nt(e) {
1303
+ return !!(e && typeof e == "object" && e.type === oe.dateTime);
1293
1304
  }
1294
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
1295
- function Vn(e) {
1305
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xn = /(?:[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) {
1296
1307
  var t = {};
1297
- return e.replace(jn, function(r) {
1308
+ return e.replace(Xn, function(r) {
1298
1309
  var n = r.length;
1299
1310
  switch (r[0]) {
1300
1311
  case "G":
@@ -1383,11 +1394,21 @@ function Vn(e) {
1383
1394
  return "";
1384
1395
  }), t;
1385
1396
  }
1386
- var zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1387
- function Xn(e) {
1397
+ var H = function() {
1398
+ return H = Object.assign || function(t) {
1399
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1400
+ r = arguments[n];
1401
+ for (var o in r)
1402
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1403
+ }
1404
+ return t;
1405
+ }, H.apply(this, arguments);
1406
+ };
1407
+ var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1408
+ function Wn(e) {
1388
1409
  if (e.length === 0)
1389
1410
  throw new Error("Number skeleton cannot be empty");
1390
- for (var t = e.split(zn).filter(function(h) {
1411
+ for (var t = e.split(qn).filter(function(h) {
1391
1412
  return h.length > 0;
1392
1413
  }), r = [], n = 0, i = t; n < i.length; n++) {
1393
1414
  var o = i[n], s = o.split("/");
@@ -1402,17 +1423,17 @@ function Xn(e) {
1402
1423
  }
1403
1424
  return r;
1404
1425
  }
1405
- function qn(e) {
1426
+ function Zn(e) {
1406
1427
  return e.replace(/^(.*?)-/, "");
1407
1428
  }
1408
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, pr = /^(0+)$/;
1409
- function Ct(e) {
1429
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Qn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1430
+ function Pt(e) {
1410
1431
  var t = {};
1411
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
1432
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1412
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)), "";
1413
1434
  }), t;
1414
1435
  }
1415
- function dr(e) {
1436
+ function mr(e) {
1416
1437
  switch (e) {
1417
1438
  case "sign-auto":
1418
1439
  return {
@@ -1452,7 +1473,7 @@ function dr(e) {
1452
1473
  };
1453
1474
  }
1454
1475
  }
1455
- function Zn(e) {
1476
+ function Jn(e) {
1456
1477
  var t;
1457
1478
  if (e[0] === "E" && e[1] === "E" ? (t = {
1458
1479
  notation: "engineering"
@@ -1460,17 +1481,17 @@ function Zn(e) {
1460
1481
  notation: "scientific"
1461
1482
  }, e = e.slice(1)), t) {
1462
1483
  var r = e.slice(0, 2);
1463
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pr.test(e))
1484
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1464
1485
  throw new Error("Malformed concise eng/scientific notation");
1465
1486
  t.minimumIntegerDigits = e.length;
1466
1487
  }
1467
1488
  return t;
1468
1489
  }
1469
- function Bt(e) {
1470
- var t = {}, r = dr(e);
1490
+ function At(e) {
1491
+ var t = {}, r = mr(e);
1471
1492
  return r || t;
1472
1493
  }
1473
- function Qn(e) {
1494
+ function Yn(e) {
1474
1495
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1475
1496
  var i = n[r];
1476
1497
  switch (i.stem) {
@@ -1494,7 +1515,7 @@ function Qn(e) {
1494
1515
  continue;
1495
1516
  case "measure-unit":
1496
1517
  case "unit":
1497
- t.style = "unit", t.unit = qn(i.options[0]);
1518
+ t.style = "unit", t.unit = Zn(i.options[0]);
1498
1519
  continue;
1499
1520
  case "compact-short":
1500
1521
  case "K":
@@ -1505,13 +1526,13 @@ function Qn(e) {
1505
1526
  t.notation = "compact", t.compactDisplay = "long";
1506
1527
  continue;
1507
1528
  case "scientific":
1508
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1509
- return S(S({}, l), Bt(u));
1529
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1530
+ return H(H({}, l), At(u));
1510
1531
  }, {}));
1511
1532
  continue;
1512
1533
  case "engineering":
1513
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1514
- return S(S({}, l), Bt(u));
1534
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1535
+ return H(H({}, l), At(u));
1515
1536
  }, {}));
1516
1537
  continue;
1517
1538
  case "notation-simple":
@@ -1556,7 +1577,7 @@ function Qn(e) {
1556
1577
  case "integer-width":
1557
1578
  if (i.options.length > 1)
1558
1579
  throw new RangeError("integer-width stems only accept a single optional option");
1559
- i.options[0].replace(Wn, function(l, u, c, f, h, d) {
1580
+ i.options[0].replace(Qn, function(l, u, c, f, h, d) {
1560
1581
  if (u)
1561
1582
  t.minimumIntegerDigits = c.length;
1562
1583
  else {
@@ -1569,32 +1590,32 @@ function Qn(e) {
1569
1590
  });
1570
1591
  continue;
1571
1592
  }
1572
- if (pr.test(i.stem)) {
1593
+ if (dr.test(i.stem)) {
1573
1594
  t.minimumIntegerDigits = i.stem.length;
1574
1595
  continue;
1575
1596
  }
1576
- if (Ht.test(i.stem)) {
1597
+ if (Bt.test(i.stem)) {
1577
1598
  if (i.options.length > 1)
1578
1599
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1579
- i.stem.replace(Ht, function(l, u, c, f, h, d) {
1600
+ i.stem.replace(Bt, function(l, u, c, f, h, d) {
1580
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), "";
1581
1602
  });
1582
1603
  var o = i.options[0];
1583
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ct(o)));
1604
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Pt(o)));
1584
1605
  continue;
1585
1606
  }
1586
- if (fr.test(i.stem)) {
1587
- t = S(S({}, t), Ct(i.stem));
1607
+ if (pr.test(i.stem)) {
1608
+ t = H(H({}, t), Pt(i.stem));
1588
1609
  continue;
1589
1610
  }
1590
- var s = dr(i.stem);
1591
- s && (t = S(S({}, t), s));
1592
- var a = Zn(i.stem);
1593
- a && (t = S(S({}, t), a));
1611
+ var s = mr(i.stem);
1612
+ s && (t = H(H({}, t), s));
1613
+ var a = Jn(i.stem);
1614
+ a && (t = H(H({}, t), a));
1594
1615
  }
1595
1616
  return t;
1596
1617
  }
1597
- var _e = {
1618
+ var xe = {
1598
1619
  "001": [
1599
1620
  "H",
1600
1621
  "h"
@@ -3009,13 +3030,13 @@ var _e = {
3009
3030
  "h"
3010
3031
  ]
3011
3032
  };
3012
- function Jn(e, t) {
3033
+ function Kn(e, t) {
3013
3034
  for (var r = "", n = 0; n < e.length; n++) {
3014
3035
  var i = e.charAt(n);
3015
3036
  if (i === "j") {
3016
3037
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3017
3038
  o++, n++;
3018
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Yn(t);
3039
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ei(t);
3019
3040
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3020
3041
  r += l;
3021
3042
  for (; s-- > 0; )
@@ -3025,7 +3046,7 @@ function Jn(e, t) {
3025
3046
  }
3026
3047
  return r;
3027
3048
  }
3028
- function Yn(e) {
3049
+ function ei(e) {
3029
3050
  var t = e.hourCycle;
3030
3051
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3031
3052
  e.hourCycles && // @ts-ignore
@@ -3044,23 +3065,23 @@ function Yn(e) {
3044
3065
  }
3045
3066
  var r = e.language, n;
3046
3067
  r !== "root" && (n = e.maximize().region);
3047
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3068
+ var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
3048
3069
  return i[0];
3049
3070
  }
3050
- var Fe, Kn = new RegExp("^".concat(hr.source, "*")), ei = new RegExp("".concat(hr.source, "*$"));
3051
- function x(e, t) {
3071
+ var Ge, ti = new RegExp("^".concat(fr.source, "*")), ri = new RegExp("".concat(fr.source, "*$"));
3072
+ function _(e, t) {
3052
3073
  return { start: e, end: t };
3053
3074
  }
3054
- var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, oi = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, ui = ai ? Number.isSafeInteger : function(e) {
3075
+ var ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), ii = !!String.fromCodePoint, oi = !!Object.fromEntries, si = !!String.prototype.codePointAt, ai = !!String.prototype.trimStart, ui = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, ci = li ? Number.isSafeInteger : function(e) {
3055
3076
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3056
- }, et = !0;
3077
+ }, it = !0;
3057
3078
  try {
3058
- var li = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3059
- et = ((Fe = li.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3079
+ var hi = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
+ it = ((Ge = hi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3060
3081
  } catch (e) {
3061
- et = !1;
3082
+ it = !1;
3062
3083
  }
3063
- var Pt = ti ? (
3084
+ var Ot = ni ? (
3064
3085
  // Native
3065
3086
  function(t, r, n) {
3066
3087
  return t.startsWith(r, n);
@@ -3070,7 +3091,7 @@ var Pt = ti ? (
3070
3091
  function(t, r, n) {
3071
3092
  return t.slice(n, n + r.length) === r;
3072
3093
  }
3073
- ), tt = ri ? String.fromCodePoint : (
3094
+ ), ot = ii ? String.fromCodePoint : (
3074
3095
  // IE11
3075
3096
  function() {
3076
3097
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3082,9 +3103,9 @@ var Pt = ti ? (
3082
3103
  }
3083
3104
  return n;
3084
3105
  }
3085
- ), At = (
3106
+ ), Rt = (
3086
3107
  // native
3087
- ni ? Object.fromEntries : (
3108
+ oi ? Object.fromEntries : (
3088
3109
  // Ponyfill
3089
3110
  function(t) {
3090
3111
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3094,7 +3115,7 @@ var Pt = ti ? (
3094
3115
  return r;
3095
3116
  }
3096
3117
  )
3097
- ), mr = ii ? (
3118
+ ), br = si ? (
3098
3119
  // Native
3099
3120
  function(t, r) {
3100
3121
  return t.codePointAt(r);
@@ -3108,7 +3129,7 @@ var Pt = ti ? (
3108
3129
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3109
3130
  }
3110
3131
  }
3111
- ), ci = oi ? (
3132
+ ), fi = ai ? (
3112
3133
  // Native
3113
3134
  function(t) {
3114
3135
  return t.trimStart();
@@ -3116,9 +3137,9 @@ var Pt = ti ? (
3116
3137
  ) : (
3117
3138
  // Ponyfill
3118
3139
  function(t) {
3119
- return t.replace(Kn, "");
3140
+ return t.replace(ti, "");
3120
3141
  }
3121
- ), hi = si ? (
3142
+ ), pi = ui ? (
3122
3143
  // Native
3123
3144
  function(t) {
3124
3145
  return t.trimEnd();
@@ -3126,32 +3147,32 @@ var Pt = ti ? (
3126
3147
  ) : (
3127
3148
  // Ponyfill
3128
3149
  function(t) {
3129
- return t.replace(ei, "");
3150
+ return t.replace(ri, "");
3130
3151
  }
3131
3152
  );
3132
- function br(e, t) {
3153
+ function yr(e, t) {
3133
3154
  return new RegExp(e, t);
3134
3155
  }
3135
- var rt;
3136
- if (et) {
3137
- var Rt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3138
- rt = function(t, r) {
3156
+ var st;
3157
+ if (it) {
3158
+ var Mt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3159
+ st = function(t, r) {
3139
3160
  var n;
3140
- Rt.lastIndex = r;
3141
- var i = Rt.exec(t);
3161
+ Mt.lastIndex = r;
3162
+ var i = Mt.exec(t);
3142
3163
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3143
3164
  };
3144
3165
  } else
3145
- rt = function(t, r) {
3166
+ st = function(t, r) {
3146
3167
  for (var n = []; ; ) {
3147
- var i = mr(t, r);
3148
- if (i === void 0 || yr(i) || mi(i))
3168
+ var i = br(t, r);
3169
+ if (i === void 0 || gr(i) || yi(i))
3149
3170
  break;
3150
3171
  n.push(i), r += i >= 65536 ? 2 : 1;
3151
3172
  }
3152
- return tt.apply(void 0, n);
3173
+ return ot.apply(void 0, n);
3153
3174
  };
3154
- var fi = (
3175
+ var di = (
3155
3176
  /** @class */
3156
3177
  function() {
3157
3178
  function e(t, r) {
@@ -3176,13 +3197,13 @@ var fi = (
3176
3197
  var a = this.clonePosition();
3177
3198
  this.bump(), i.push({
3178
3199
  type: C.pound,
3179
- location: x(a, this.clonePosition())
3200
+ location: _(a, this.clonePosition())
3180
3201
  });
3181
3202
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3182
3203
  if (n)
3183
3204
  break;
3184
- return this.error(v.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3185
- } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3205
+ return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3206
+ } else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
3186
3207
  var s = this.parseTag(t, r);
3187
3208
  if (s.err)
3188
3209
  return s;
@@ -3205,7 +3226,7 @@ var fi = (
3205
3226
  val: {
3206
3227
  type: C.literal,
3207
3228
  value: "<".concat(i, "/>"),
3208
- location: x(n, this.clonePosition())
3229
+ location: _(n, this.clonePosition())
3209
3230
  },
3210
3231
  err: null
3211
3232
  };
@@ -3215,25 +3236,25 @@ var fi = (
3215
3236
  return o;
3216
3237
  var s = o.val, a = this.clonePosition();
3217
3238
  if (this.bumpIf("</")) {
3218
- if (this.isEOF() || !nt(this.char()))
3219
- return this.error(v.INVALID_TAG, x(a, this.clonePosition()));
3239
+ if (this.isEOF() || !at(this.char()))
3240
+ return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
3220
3241
  var l = this.clonePosition(), u = this.parseTagName();
3221
- return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3242
+ return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3222
3243
  val: {
3223
3244
  type: C.tag,
3224
3245
  value: i,
3225
3246
  children: s,
3226
- location: x(n, this.clonePosition())
3247
+ location: _(n, this.clonePosition())
3227
3248
  },
3228
3249
  err: null
3229
- } : this.error(v.INVALID_TAG, x(a, this.clonePosition())));
3250
+ } : this.error(v.INVALID_TAG, _(a, this.clonePosition())));
3230
3251
  } else
3231
- return this.error(v.UNCLOSED_TAG, x(n, this.clonePosition()));
3252
+ return this.error(v.UNCLOSED_TAG, _(n, this.clonePosition()));
3232
3253
  } else
3233
- return this.error(v.INVALID_TAG, x(n, this.clonePosition()));
3254
+ return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3234
3255
  }, e.prototype.parseTagName = function() {
3235
3256
  var t = this.offset();
3236
- for (this.bump(); !this.isEOF() && di(this.char()); )
3257
+ for (this.bump(); !this.isEOF() && bi(this.char()); )
3237
3258
  this.bump();
3238
3259
  return this.message.slice(t, this.offset());
3239
3260
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3255,14 +3276,14 @@ var fi = (
3255
3276
  }
3256
3277
  break;
3257
3278
  }
3258
- var l = x(n, this.clonePosition());
3279
+ var l = _(n, this.clonePosition());
3259
3280
  return {
3260
3281
  val: { type: C.literal, value: i, location: l },
3261
3282
  err: null
3262
3283
  };
3263
3284
  }, e.prototype.tryParseLeftAngleBracket = function() {
3264
3285
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3265
- !pi(this.peek() || 0)) ? (this.bump(), "<") : null;
3286
+ !mi(this.peek() || 0)) ? (this.bump(), "<") : null;
3266
3287
  }, e.prototype.tryParseQuote = function(t) {
3267
3288
  if (this.isEOF() || this.char() !== 39)
3268
3289
  return null;
@@ -3296,23 +3317,23 @@ var fi = (
3296
3317
  r.push(n);
3297
3318
  this.bump();
3298
3319
  }
3299
- return tt.apply(void 0, r);
3320
+ return ot.apply(void 0, r);
3300
3321
  }, e.prototype.tryParseUnquoted = function(t, r) {
3301
3322
  if (this.isEOF())
3302
3323
  return null;
3303
3324
  var n = this.char();
3304
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
3325
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ot(n));
3305
3326
  }, e.prototype.parseArgument = function(t, r) {
3306
3327
  var n = this.clonePosition();
3307
3328
  if (this.bump(), this.bumpSpace(), this.isEOF())
3308
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3329
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3309
3330
  if (this.char() === 125)
3310
- return this.bump(), this.error(v.EMPTY_ARGUMENT, x(n, this.clonePosition()));
3331
+ return this.bump(), this.error(v.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3311
3332
  var i = this.parseIdentifierIfPossible().value;
3312
3333
  if (!i)
3313
- return this.error(v.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3334
+ return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3314
3335
  if (this.bumpSpace(), this.isEOF())
3315
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
3336
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3316
3337
  switch (this.char()) {
3317
3338
  case 125:
3318
3339
  return this.bump(), {
@@ -3320,25 +3341,25 @@ var fi = (
3320
3341
  type: C.argument,
3321
3342
  // value does not include the opening and closing braces.
3322
3343
  value: i,
3323
- location: x(n, this.clonePosition())
3344
+ location: _(n, this.clonePosition())
3324
3345
  },
3325
3346
  err: null
3326
3347
  };
3327
3348
  case 44:
3328
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3349
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3329
3350
  default:
3330
- return this.error(v.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3351
+ return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3331
3352
  }
3332
3353
  }, e.prototype.parseIdentifierIfPossible = function() {
3333
- var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
3354
+ var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
3334
3355
  this.bumpTo(i);
3335
- var o = this.clonePosition(), s = x(t, o);
3356
+ var o = this.clonePosition(), s = _(t, o);
3336
3357
  return { value: n, location: s };
3337
3358
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3338
3359
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3339
3360
  switch (a) {
3340
3361
  case "":
3341
- return this.error(v.EXPECT_ARGUMENT_TYPE, x(s, l));
3362
+ return this.error(v.EXPECT_ARGUMENT_TYPE, _(s, l));
3342
3363
  case "number":
3343
3364
  case "date":
3344
3365
  case "time": {
@@ -3349,18 +3370,18 @@ var fi = (
3349
3370
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3350
3371
  if (f.err)
3351
3372
  return f;
3352
- var h = hi(f.val);
3373
+ var h = pi(f.val);
3353
3374
  if (h.length === 0)
3354
- return this.error(v.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3355
- var d = x(c, this.clonePosition());
3375
+ return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3376
+ var d = _(c, this.clonePosition());
3356
3377
  u = { style: h, styleLocation: d };
3357
3378
  }
3358
3379
  var m = this.tryParseArgumentClose(i);
3359
3380
  if (m.err)
3360
3381
  return m;
3361
- var p = x(i, this.clonePosition());
3362
- if (u && Pt(u == null ? void 0 : u.style, "::", 0)) {
3363
- var y = ci(u.style.slice(2));
3382
+ var p = _(i, this.clonePosition());
3383
+ if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
3384
+ var y = fi(u.style.slice(2));
3364
3385
  if (a === "number") {
3365
3386
  var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
3366
3387
  return f.err ? f : {
@@ -3370,13 +3391,13 @@ var fi = (
3370
3391
  } else {
3371
3392
  if (y.length === 0)
3372
3393
  return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
3373
- var _ = y;
3374
- this.locale && (_ = Jn(y, this.locale));
3394
+ var x = y;
3395
+ this.locale && (x = Kn(y, this.locale));
3375
3396
  var h = {
3376
- type: se.dateTime,
3377
- pattern: _,
3397
+ type: oe.dateTime,
3398
+ pattern: x,
3378
3399
  location: u.styleLocation,
3379
- parsedOptions: this.shouldParseSkeletons ? Vn(_) : {}
3400
+ parsedOptions: this.shouldParseSkeletons ? zn(x) : {}
3380
3401
  }, P = a === "date" ? C.date : C.time;
3381
3402
  return {
3382
3403
  val: { type: P, value: n, location: p, style: h },
@@ -3399,17 +3420,17 @@ var fi = (
3399
3420
  case "select": {
3400
3421
  var I = this.clonePosition();
3401
3422
  if (this.bumpSpace(), !this.bumpIf(","))
3402
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, x(I, S({}, I)));
3423
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(I, He({}, I)));
3403
3424
  this.bumpSpace();
3404
- var V = this.parseIdentifierIfPossible(), O = 0;
3425
+ var V = this.parseIdentifierIfPossible(), M = 0;
3405
3426
  if (a !== "select" && V.value === "offset") {
3406
3427
  if (!this.bumpIf(":"))
3407
- return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3428
+ return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3408
3429
  this.bumpSpace();
3409
3430
  var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3410
3431
  if (f.err)
3411
3432
  return f;
3412
- this.bumpSpace(), V = this.parseIdentifierIfPossible(), O = f.val;
3433
+ this.bumpSpace(), V = this.parseIdentifierIfPossible(), M = f.val;
3413
3434
  }
3414
3435
  var B = this.tryParsePluralOrSelectOptions(t, a, r, V);
3415
3436
  if (B.err)
@@ -3417,32 +3438,32 @@ var fi = (
3417
3438
  var m = this.tryParseArgumentClose(i);
3418
3439
  if (m.err)
3419
3440
  return m;
3420
- var G = x(i, this.clonePosition());
3441
+ var j = _(i, this.clonePosition());
3421
3442
  return a === "select" ? {
3422
3443
  val: {
3423
3444
  type: C.select,
3424
3445
  value: n,
3425
- options: At(B.val),
3426
- location: G
3446
+ options: Rt(B.val),
3447
+ location: j
3427
3448
  },
3428
3449
  err: null
3429
3450
  } : {
3430
3451
  val: {
3431
3452
  type: C.plural,
3432
3453
  value: n,
3433
- options: At(B.val),
3434
- offset: O,
3454
+ options: Rt(B.val),
3455
+ offset: M,
3435
3456
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3436
- location: G
3457
+ location: j
3437
3458
  },
3438
3459
  err: null
3439
3460
  };
3440
3461
  }
3441
3462
  default:
3442
- return this.error(v.INVALID_ARGUMENT_TYPE, x(s, l));
3463
+ return this.error(v.INVALID_ARGUMENT_TYPE, _(s, l));
3443
3464
  }
3444
3465
  }, e.prototype.tryParseArgumentClose = function(t) {
3445
- return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3466
+ return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3446
3467
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3447
3468
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3448
3469
  var n = this.char();
@@ -3451,7 +3472,7 @@ var fi = (
3451
3472
  this.bump();
3452
3473
  var i = this.clonePosition();
3453
3474
  if (!this.bumpUntil("'"))
3454
- return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
3475
+ return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3455
3476
  this.bump();
3456
3477
  break;
3457
3478
  }
@@ -3481,16 +3502,16 @@ var fi = (
3481
3502
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3482
3503
  var n = [];
3483
3504
  try {
3484
- n = Xn(t);
3505
+ n = Wn(t);
3485
3506
  } catch (i) {
3486
3507
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3487
3508
  }
3488
3509
  return {
3489
3510
  val: {
3490
- type: se.number,
3511
+ type: oe.number,
3491
3512
  tokens: n,
3492
3513
  location: r,
3493
- parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3514
+ parsedOptions: this.shouldParseSkeletons ? Yn(n) : {}
3494
3515
  },
3495
3516
  err: null
3496
3517
  };
@@ -3502,7 +3523,7 @@ var fi = (
3502
3523
  var h = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3503
3524
  if (h.err)
3504
3525
  return h;
3505
- c = x(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3526
+ c = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3506
3527
  } else
3507
3528
  break;
3508
3529
  }
@@ -3511,7 +3532,7 @@ var fi = (
3511
3532
  u === "other" && (s = !0), this.bumpSpace();
3512
3533
  var d = this.clonePosition();
3513
3534
  if (!this.bumpIf("{"))
3514
- return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3535
+ return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3515
3536
  var m = this.parseMessage(t + 1, r, n);
3516
3537
  if (m.err)
3517
3538
  return m;
@@ -3522,11 +3543,11 @@ var fi = (
3522
3543
  u,
3523
3544
  {
3524
3545
  value: m.val,
3525
- location: x(d, this.clonePosition())
3546
+ location: _(d, this.clonePosition())
3526
3547
  }
3527
3548
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3528
3549
  }
3529
- return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3550
+ return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3530
3551
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3531
3552
  var n = 1, i = this.clonePosition();
3532
3553
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3537,8 +3558,8 @@ var fi = (
3537
3558
  else
3538
3559
  break;
3539
3560
  }
3540
- var l = x(i, this.clonePosition());
3541
- return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3561
+ var l = _(i, this.clonePosition());
3562
+ return o ? (s *= n, ci(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3542
3563
  }, e.prototype.offset = function() {
3543
3564
  return this.position.offset;
3544
3565
  }, e.prototype.isEOF = function() {
@@ -3553,7 +3574,7 @@ var fi = (
3553
3574
  var t = this.position.offset;
3554
3575
  if (t >= this.message.length)
3555
3576
  throw Error("out of bound");
3556
- var r = mr(this.message, t);
3577
+ var r = br(this.message, t);
3557
3578
  if (r === void 0)
3558
3579
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3559
3580
  return r;
@@ -3572,7 +3593,7 @@ var fi = (
3572
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);
3573
3594
  }
3574
3595
  }, e.prototype.bumpIf = function(t) {
3575
- if (Pt(this.message, t, this.offset())) {
3596
+ if (Ot(this.message, t, this.offset())) {
3576
3597
  for (var r = 0; r < t.length; r++)
3577
3598
  this.bump();
3578
3599
  return !0;
@@ -3594,7 +3615,7 @@ var fi = (
3594
3615
  break;
3595
3616
  }
3596
3617
  }, e.prototype.bumpSpace = function() {
3597
- for (; !this.isEOF() && yr(this.char()); )
3618
+ for (; !this.isEOF() && gr(this.char()); )
3598
3619
  this.bump();
3599
3620
  }, e.prototype.peek = function() {
3600
3621
  if (this.isEOF())
@@ -3604,47 +3625,47 @@ var fi = (
3604
3625
  }, e;
3605
3626
  }()
3606
3627
  );
3607
- function nt(e) {
3628
+ function at(e) {
3608
3629
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3609
3630
  }
3610
- function pi(e) {
3611
- return nt(e) || e === 47;
3631
+ function mi(e) {
3632
+ return at(e) || e === 47;
3612
3633
  }
3613
- function di(e) {
3634
+ function bi(e) {
3614
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;
3615
3636
  }
3616
- function yr(e) {
3637
+ function gr(e) {
3617
3638
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3618
3639
  }
3619
- function mi(e) {
3640
+ function yi(e) {
3620
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;
3621
3642
  }
3622
- function it(e) {
3643
+ function ut(e) {
3623
3644
  e.forEach(function(t) {
3624
- if (delete t.location, ar(t) || ur(t))
3645
+ if (delete t.location, ur(t) || lr(t))
3625
3646
  for (var r in t.options)
3626
- delete t.options[r].location, it(t.options[r].value);
3647
+ delete t.options[r].location, ut(t.options[r].value);
3627
3648
  else
3628
- ir(t) && cr(t.style) || (or(t) || sr(t)) && Ke(t.style) ? delete t.style.location : lr(t) && it(t.children);
3649
+ or(t) && hr(t.style) || (sr(t) || ar(t)) && nt(t.style) ? delete t.style.location : cr(t) && ut(t.children);
3629
3650
  });
3630
3651
  }
3631
- function bi(e, t) {
3632
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3633
- var r = new fi(e, t).parse();
3652
+ function gi(e, t) {
3653
+ t === void 0 && (t = {}), t = He({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3654
+ var r = new di(e, t).parse();
3634
3655
  if (r.err) {
3635
3656
  var n = SyntaxError(v[r.err.kind]);
3636
3657
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3637
3658
  }
3638
- return t != null && t.captureLocation || it(r.val), r.val;
3659
+ return t != null && t.captureLocation || ut(r.val), r.val;
3639
3660
  }
3640
- var ae;
3661
+ var se;
3641
3662
  (function(e) {
3642
3663
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3643
- })(ae || (ae = {}));
3644
- var Re = (
3664
+ })(se || (se = {}));
3665
+ var Me = (
3645
3666
  /** @class */
3646
3667
  function(e) {
3647
- W(t, e);
3668
+ Re(t, e);
3648
3669
  function t(r, n, i) {
3649
3670
  var o = e.call(this, r) || this;
3650
3671
  return o.code = n, o.originalMessage = i, o;
@@ -3653,155 +3674,155 @@ var Re = (
3653
3674
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3654
3675
  }, t;
3655
3676
  }(Error)
3656
- ), Mt = (
3677
+ ), It = (
3657
3678
  /** @class */
3658
3679
  function(e) {
3659
- W(t, e);
3680
+ Re(t, e);
3660
3681
  function t(r, n, i, o) {
3661
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
3682
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3662
3683
  }
3663
3684
  return t;
3664
- }(Re)
3665
- ), yi = (
3685
+ }(Me)
3686
+ ), vi = (
3666
3687
  /** @class */
3667
3688
  function(e) {
3668
- W(t, e);
3689
+ Re(t, e);
3669
3690
  function t(r, n, i) {
3670
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
3691
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3671
3692
  }
3672
3693
  return t;
3673
- }(Re)
3674
- ), gi = (
3694
+ }(Me)
3695
+ ), _i = (
3675
3696
  /** @class */
3676
3697
  function(e) {
3677
- W(t, e);
3698
+ Re(t, e);
3678
3699
  function t(r, n) {
3679
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
3700
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3680
3701
  }
3681
3702
  return t;
3682
- }(Re)
3683
- ), k;
3703
+ }(Me)
3704
+ ), N;
3684
3705
  (function(e) {
3685
3706
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3686
- })(k || (k = {}));
3687
- function vi(e) {
3707
+ })(N || (N = {}));
3708
+ function xi(e) {
3688
3709
  return e.length < 2 ? e : e.reduce(function(t, r) {
3689
3710
  var n = t[t.length - 1];
3690
- return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
3711
+ return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
3691
3712
  }, []);
3692
3713
  }
3693
- function xi(e) {
3714
+ function Ei(e) {
3694
3715
  return typeof e == "function";
3695
3716
  }
3696
3717
  function we(e, t, r, n, i, o, s) {
3697
- if (e.length === 1 && Tt(e[0]))
3718
+ if (e.length === 1 && Ht(e[0]))
3698
3719
  return [
3699
3720
  {
3700
- type: k.literal,
3721
+ type: N.literal,
3701
3722
  value: e[0].value
3702
3723
  }
3703
3724
  ];
3704
3725
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3705
3726
  var c = u[l];
3706
- if (Tt(c)) {
3727
+ if (Ht(c)) {
3707
3728
  a.push({
3708
- type: k.literal,
3729
+ type: N.literal,
3709
3730
  value: c.value
3710
3731
  });
3711
3732
  continue;
3712
3733
  }
3713
- if (Gn(c)) {
3734
+ if (Vn(c)) {
3714
3735
  typeof o == "number" && a.push({
3715
- type: k.literal,
3736
+ type: N.literal,
3716
3737
  value: r.getNumberFormat(t).format(o)
3717
3738
  });
3718
3739
  continue;
3719
3740
  }
3720
3741
  var f = c.value;
3721
3742
  if (!(i && f in i))
3722
- throw new gi(f, s);
3743
+ throw new _i(f, s);
3723
3744
  var h = i[f];
3724
- if (Fn(c)) {
3745
+ if (Gn(c)) {
3725
3746
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3726
- type: typeof h == "string" ? k.literal : k.object,
3747
+ type: typeof h == "string" ? N.literal : N.object,
3727
3748
  value: h
3728
3749
  });
3729
3750
  continue;
3730
3751
  }
3731
- if (or(c)) {
3732
- var d = typeof c.style == "string" ? n.date[c.style] : Ke(c.style) ? c.style.parsedOptions : void 0;
3752
+ if (sr(c)) {
3753
+ var d = typeof c.style == "string" ? n.date[c.style] : nt(c.style) ? c.style.parsedOptions : void 0;
3733
3754
  a.push({
3734
- type: k.literal,
3755
+ type: N.literal,
3735
3756
  value: r.getDateTimeFormat(t, d).format(h)
3736
3757
  });
3737
3758
  continue;
3738
3759
  }
3739
- if (sr(c)) {
3740
- var d = typeof c.style == "string" ? n.time[c.style] : Ke(c.style) ? c.style.parsedOptions : n.time.medium;
3760
+ if (ar(c)) {
3761
+ var d = typeof c.style == "string" ? n.time[c.style] : nt(c.style) ? c.style.parsedOptions : n.time.medium;
3741
3762
  a.push({
3742
- type: k.literal,
3763
+ type: N.literal,
3743
3764
  value: r.getDateTimeFormat(t, d).format(h)
3744
3765
  });
3745
3766
  continue;
3746
3767
  }
3747
- if (ir(c)) {
3748
- var d = typeof c.style == "string" ? n.number[c.style] : cr(c.style) ? c.style.parsedOptions : void 0;
3768
+ if (or(c)) {
3769
+ var d = typeof c.style == "string" ? n.number[c.style] : hr(c.style) ? c.style.parsedOptions : void 0;
3749
3770
  d && d.scale && (h = h * (d.scale || 1)), a.push({
3750
- type: k.literal,
3771
+ type: N.literal,
3751
3772
  value: r.getNumberFormat(t, d).format(h)
3752
3773
  });
3753
3774
  continue;
3754
3775
  }
3755
- if (lr(c)) {
3776
+ if (cr(c)) {
3756
3777
  var m = c.children, p = c.value, y = i[p];
3757
- if (!xi(y))
3758
- throw new yi(p, "function", s);
3759
- var _ = we(m, t, r, n, i, o), P = y(_.map(function(O) {
3760
- return O.value;
3778
+ if (!Ei(y))
3779
+ throw new vi(p, "function", s);
3780
+ var x = we(m, t, r, n, i, o), P = y(x.map(function(M) {
3781
+ return M.value;
3761
3782
  }));
3762
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3783
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(M) {
3763
3784
  return {
3764
- type: typeof O == "string" ? k.literal : k.object,
3765
- value: O
3785
+ type: typeof M == "string" ? N.literal : N.object,
3786
+ value: M
3766
3787
  };
3767
3788
  }));
3768
3789
  }
3769
- if (ar(c)) {
3790
+ if (ur(c)) {
3770
3791
  var I = c.options[h] || c.options.other;
3771
3792
  if (!I)
3772
- throw new Mt(c.value, h, Object.keys(c.options), s);
3793
+ throw new It(c.value, h, Object.keys(c.options), s);
3773
3794
  a.push.apply(a, we(I.value, t, r, n, i));
3774
3795
  continue;
3775
3796
  }
3776
- if (ur(c)) {
3797
+ if (lr(c)) {
3777
3798
  var I = c.options["=".concat(h)];
3778
3799
  if (!I) {
3779
3800
  if (!Intl.PluralRules)
3780
- throw new Re(`Intl.PluralRules is not available in this environment.
3801
+ throw new Me(`Intl.PluralRules is not available in this environment.
3781
3802
  Try polyfilling it using "@formatjs/intl-pluralrules"
3782
- `, ae.MISSING_INTL_API, s);
3803
+ `, se.MISSING_INTL_API, s);
3783
3804
  var V = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3784
3805
  I = c.options[V] || c.options.other;
3785
3806
  }
3786
3807
  if (!I)
3787
- throw new Mt(c.value, h, Object.keys(c.options), s);
3808
+ throw new It(c.value, h, Object.keys(c.options), s);
3788
3809
  a.push.apply(a, we(I.value, t, r, n, i, h - (c.offset || 0)));
3789
3810
  continue;
3790
3811
  }
3791
3812
  }
3792
- return vi(a);
3813
+ return xi(a);
3793
3814
  }
3794
- function _i(e, t) {
3795
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3796
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3815
+ function Si(e, t) {
3816
+ return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3817
+ return r[n] = z(z({}, e[n]), t[n] || {}), r;
3797
3818
  }, {})) : e;
3798
3819
  }
3799
- function Ei(e, t) {
3820
+ function wi(e, t) {
3800
3821
  return t ? Object.keys(e).reduce(function(r, n) {
3801
- return r[n] = _i(e[n], t[n]), r;
3802
- }, S({}, e)) : e;
3822
+ return r[n] = Si(e[n], t[n]), r;
3823
+ }, z({}, e)) : e;
3803
3824
  }
3804
- function Ge(e) {
3825
+ function Ve(e) {
3805
3826
  return {
3806
3827
  create: function() {
3807
3828
  return {
@@ -3815,39 +3836,39 @@ function Ge(e) {
3815
3836
  }
3816
3837
  };
3817
3838
  }
3818
- function Si(e) {
3839
+ function Ti(e) {
3819
3840
  return e === void 0 && (e = {
3820
3841
  number: {},
3821
3842
  dateTime: {},
3822
3843
  pluralRules: {}
3823
3844
  }), {
3824
- getNumberFormat: Ue(function() {
3845
+ getNumberFormat: Fe(function() {
3825
3846
  for (var t, r = [], n = 0; n < arguments.length; n++)
3826
3847
  r[n] = arguments[n];
3827
- return new ((t = Intl.NumberFormat).bind.apply(t, ie([void 0], r, !1)))();
3848
+ return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3828
3849
  }, {
3829
- cache: Ge(e.number),
3830
- strategy: De.variadic
3850
+ cache: Ve(e.number),
3851
+ strategy: je.variadic
3831
3852
  }),
3832
- getDateTimeFormat: Ue(function() {
3853
+ getDateTimeFormat: Fe(function() {
3833
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3834
3855
  r[n] = arguments[n];
3835
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ie([void 0], r, !1)))();
3856
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3836
3857
  }, {
3837
- cache: Ge(e.dateTime),
3838
- strategy: De.variadic
3858
+ cache: Ve(e.dateTime),
3859
+ strategy: je.variadic
3839
3860
  }),
3840
- getPluralRules: Ue(function() {
3861
+ getPluralRules: Fe(function() {
3841
3862
  for (var t, r = [], n = 0; n < arguments.length; n++)
3842
3863
  r[n] = arguments[n];
3843
- return new ((t = Intl.PluralRules).bind.apply(t, ie([void 0], r, !1)))();
3864
+ return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3844
3865
  }, {
3845
- cache: Ge(e.pluralRules),
3846
- strategy: De.variadic
3866
+ cache: Ve(e.pluralRules),
3867
+ strategy: je.variadic
3847
3868
  })
3848
3869
  };
3849
3870
  }
3850
- var wi = (
3871
+ var Ci = (
3851
3872
  /** @class */
3852
3873
  function() {
3853
3874
  function e(t, r, n, i) {
@@ -3862,7 +3883,7 @@ var wi = (
3862
3883
  if (u.length === 1)
3863
3884
  return u[0].value;
3864
3885
  var c = u.reduce(function(f, h) {
3865
- return !f.length || h.type !== k.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3886
+ return !f.length || h.type !== N.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3866
3887
  }, []);
3867
3888
  return c.length <= 1 ? c[0] || "" : c;
3868
3889
  }, this.formatToParts = function(l) {
@@ -3879,13 +3900,13 @@ var wi = (
3879
3900
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3880
3901
  var s = i || {};
3881
3902
  s.formatters;
3882
- var a = rn(s, ["formatters"]);
3883
- this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3903
+ var a = Ln(s, ["formatters"]);
3904
+ this.ast = e.__parse(t, z(z({}, a), { locale: this.resolvedLocale }));
3884
3905
  } else
3885
3906
  this.ast = t;
3886
3907
  if (!Array.isArray(this.ast))
3887
3908
  throw new TypeError("A message must be provided as a String or AST.");
3888
- this.formats = Ei(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
3909
+ this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
3889
3910
  }
3890
3911
  return Object.defineProperty(e, "defaultLocale", {
3891
3912
  get: function() {
@@ -3898,7 +3919,7 @@ var wi = (
3898
3919
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3899
3920
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3900
3921
  }
3901
- }, e.__parse = bi, e.formats = {
3922
+ }, e.__parse = gi, e.formats = {
3902
3923
  number: {
3903
3924
  integer: {
3904
3925
  maximumFractionDigits: 0
@@ -3959,7 +3980,7 @@ var wi = (
3959
3980
  }, e;
3960
3981
  }()
3961
3982
  );
3962
- function Ti(e, t) {
3983
+ function Hi(e, t) {
3963
3984
  if (t == null)
3964
3985
  return;
3965
3986
  if (t in e)
@@ -3980,92 +4001,92 @@ function Ti(e, t) {
3980
4001
  n = void 0;
3981
4002
  return n;
3982
4003
  }
3983
- const Q = {}, Hi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), gr = (e, t) => {
4004
+ const Q = {}, Bi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), vr = (e, t) => {
3984
4005
  if (t == null)
3985
4006
  return;
3986
4007
  if (t in Q && e in Q[t])
3987
4008
  return Q[t][e];
3988
- const r = Me(t);
4009
+ const r = Ie(t);
3989
4010
  for (let n = 0; n < r.length; n++) {
3990
- const i = r[n], o = Bi(i, e);
4011
+ const i = r[n], o = Ai(i, e);
3991
4012
  if (o)
3992
- return Hi(e, t, o);
4013
+ return Bi(e, t, o);
3993
4014
  }
3994
4015
  };
3995
- let ct;
3996
- const ge = Ae({});
3997
- function Ci(e) {
3998
- return ct[e] || null;
4016
+ let ft;
4017
+ const ge = Oe({});
4018
+ function Pi(e) {
4019
+ return ft[e] || null;
3999
4020
  }
4000
- function vr(e) {
4001
- return e in ct;
4021
+ function _r(e) {
4022
+ return e in ft;
4002
4023
  }
4003
- function Bi(e, t) {
4004
- if (!vr(e))
4024
+ function Ai(e, t) {
4025
+ if (!_r(e))
4005
4026
  return null;
4006
- const r = Ci(e);
4007
- return Ti(r, t);
4027
+ const r = Pi(e);
4028
+ return Hi(r, t);
4008
4029
  }
4009
- function Pi(e) {
4030
+ function Oi(e) {
4010
4031
  if (e == null)
4011
4032
  return;
4012
- const t = Me(e);
4033
+ const t = Ie(e);
4013
4034
  for (let r = 0; r < t.length; r++) {
4014
4035
  const n = t[r];
4015
- if (vr(n))
4036
+ if (_r(n))
4016
4037
  return n;
4017
4038
  }
4018
4039
  }
4019
4040
  function xr(e, ...t) {
4020
4041
  delete Q[e], ge.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4021
4042
  }
4022
- ce(
4043
+ le(
4023
4044
  [ge],
4024
4045
  ([e]) => Object.keys(e)
4025
4046
  );
4026
- ge.subscribe((e) => ct = e);
4047
+ ge.subscribe((e) => ft = e);
4027
4048
  const Te = {};
4028
- function Ai(e, t) {
4049
+ function Ri(e, t) {
4029
4050
  Te[e].delete(t), Te[e].size === 0 && delete Te[e];
4030
4051
  }
4031
- function _r(e) {
4052
+ function Er(e) {
4032
4053
  return Te[e];
4033
4054
  }
4034
- function Ri(e) {
4035
- return Me(e).map((t) => {
4036
- const r = _r(t);
4055
+ function Mi(e) {
4056
+ return Ie(e).map((t) => {
4057
+ const r = Er(t);
4037
4058
  return [t, r ? [...r] : []];
4038
4059
  }).filter(([, t]) => t.length > 0);
4039
4060
  }
4040
- function ot(e) {
4041
- return e == null ? !1 : Me(e).some(
4061
+ function lt(e) {
4062
+ return e == null ? !1 : Ie(e).some(
4042
4063
  (t) => {
4043
4064
  var r;
4044
- return (r = _r(t)) == null ? void 0 : r.size;
4065
+ return (r = Er(t)) == null ? void 0 : r.size;
4045
4066
  }
4046
4067
  );
4047
4068
  }
4048
- function Mi(e, t) {
4069
+ function Ii(e, t) {
4049
4070
  return Promise.all(
4050
- t.map((n) => (Ai(e, n), n().then((i) => i.default || i)))
4071
+ t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
4051
4072
  ).then((n) => xr(e, ...n));
4052
4073
  }
4053
- const pe = {};
4054
- function Er(e) {
4055
- if (!ot(e))
4056
- return e in pe ? pe[e] : Promise.resolve();
4057
- const t = Ri(e);
4058
- return pe[e] = Promise.all(
4074
+ const fe = {};
4075
+ function Sr(e) {
4076
+ if (!lt(e))
4077
+ return e in fe ? fe[e] : Promise.resolve();
4078
+ const t = Mi(e);
4079
+ return fe[e] = Promise.all(
4059
4080
  t.map(
4060
- ([r, n]) => Mi(r, n)
4081
+ ([r, n]) => Ii(r, n)
4061
4082
  )
4062
4083
  ).then(() => {
4063
- if (ot(e))
4064
- return Er(e);
4065
- delete pe[e];
4066
- }), pe[e];
4084
+ if (lt(e))
4085
+ return Sr(e);
4086
+ delete fe[e];
4087
+ }), fe[e];
4067
4088
  }
4068
- const Oi = {
4089
+ const Li = {
4069
4090
  number: {
4070
4091
  scientific: { notation: "scientific" },
4071
4092
  engineering: { notation: "engineering" },
@@ -4094,135 +4115,135 @@ const Oi = {
4094
4115
  timeZoneName: "short"
4095
4116
  }
4096
4117
  }
4097
- }, Ii = {
4118
+ }, Ni = {
4098
4119
  fallbackLocale: null,
4099
4120
  loadingDelay: 200,
4100
- formats: Oi,
4121
+ formats: Li,
4101
4122
  warnOnMissingMessages: !0,
4102
4123
  handleMissingMessage: void 0,
4103
4124
  ignoreTag: !0
4104
- }, Li = Ii;
4105
- function ue() {
4106
- return Li;
4125
+ }, ki = Ni;
4126
+ function ae() {
4127
+ return ki;
4107
4128
  }
4108
- const je = Ae(!1);
4109
- var ki = Object.defineProperty, Ni = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
4129
+ const Xe = Oe(!1);
4130
+ var $i = Object.defineProperty, Ui = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, Fi = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4110
4131
  for (var r in t || (t = {}))
4111
- Ui.call(t, r) && It(e, r, t[r]);
4112
- if (Ot)
4113
- for (var r of Ot(t))
4114
- Di.call(t, r) && It(e, r, t[r]);
4132
+ Fi.call(t, r) && Nt(e, r, t[r]);
4133
+ if (Lt)
4134
+ for (var r of Lt(t))
4135
+ ji.call(t, r) && Nt(e, r, t[r]);
4115
4136
  return e;
4116
- }, Gi = (e, t) => Ni(e, $i(t));
4117
- let st;
4118
- const Ce = Ae(null);
4119
- function Lt(e) {
4137
+ }, Vi = (e, t) => Ui(e, Di(t));
4138
+ let ct;
4139
+ const Be = Oe(null);
4140
+ function kt(e) {
4120
4141
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4121
4142
  }
4122
- function Me(e, t = ue().fallbackLocale) {
4123
- const r = Lt(e);
4124
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
4143
+ function Ie(e, t = ae().fallbackLocale) {
4144
+ const r = kt(e);
4145
+ return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
4125
4146
  }
4126
4147
  function J() {
4127
- return st != null ? st : void 0;
4148
+ return ct != null ? ct : void 0;
4128
4149
  }
4129
- Ce.subscribe((e) => {
4130
- st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4150
+ Be.subscribe((e) => {
4151
+ ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4131
4152
  });
4132
- const ji = (e) => {
4133
- if (e && Pi(e) && ot(e)) {
4134
- const { loadingDelay: t } = ue();
4153
+ const Xi = (e) => {
4154
+ if (e && Oi(e) && lt(e)) {
4155
+ const { loadingDelay: t } = ae();
4135
4156
  let r;
4136
4157
  return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
4137
- () => je.set(!0),
4158
+ () => Xe.set(!0),
4138
4159
  t
4139
- ) : je.set(!0), Er(e).then(() => {
4140
- Ce.set(e);
4160
+ ) : Xe.set(!0), Sr(e).then(() => {
4161
+ Be.set(e);
4141
4162
  }).finally(() => {
4142
- clearTimeout(r), je.set(!1);
4163
+ clearTimeout(r), Xe.set(!1);
4143
4164
  });
4144
4165
  }
4145
- return Ce.set(e);
4146
- }, he = Gi(Fi({}, Ce), {
4147
- set: ji
4148
- }), Oe = (e) => {
4166
+ return Be.set(e);
4167
+ }, ce = Vi(Gi({}, Be), {
4168
+ set: Xi
4169
+ }), Le = (e) => {
4149
4170
  const t = /* @__PURE__ */ Object.create(null);
4150
4171
  return (n) => {
4151
4172
  const i = JSON.stringify(n);
4152
4173
  return i in t ? t[i] : t[i] = e(n);
4153
4174
  };
4154
4175
  };
4155
- var Vi = Object.defineProperty, Be = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4176
+ var zi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4156
4177
  for (var r in t || (t = {}))
4157
- Sr.call(t, r) && kt(e, r, t[r]);
4158
- if (Be)
4159
- for (var r of Be(t))
4160
- wr.call(t, r) && kt(e, r, t[r]);
4178
+ wr.call(t, r) && $t(e, r, t[r]);
4179
+ if (Pe)
4180
+ for (var r of Pe(t))
4181
+ Tr.call(t, r) && $t(e, r, t[r]);
4161
4182
  return e;
4162
- }, fe = (e, t) => {
4183
+ }, he = (e, t) => {
4163
4184
  var r = {};
4164
4185
  for (var n in e)
4165
- Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4166
- if (e != null && Be)
4167
- for (var n of Be(e))
4168
- t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
4186
+ wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4187
+ if (e != null && Pe)
4188
+ for (var n of Pe(e))
4189
+ t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4169
4190
  return r;
4170
4191
  };
4171
- const ye = (e, t) => {
4172
- const { formats: r } = ue();
4192
+ const be = (e, t) => {
4193
+ const { formats: r } = ae();
4173
4194
  if (e in r && t in r[e])
4174
4195
  return r[e][t];
4175
4196
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4176
- }, zi = Oe(
4197
+ }, qi = Le(
4177
4198
  (e) => {
4178
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
4199
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4179
4200
  if (r == null)
4180
4201
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4181
- return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
4202
+ return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
4182
4203
  }
4183
- ), Xi = Oe(
4204
+ ), Wi = Le(
4184
4205
  (e) => {
4185
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
4206
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4186
4207
  if (r == null)
4187
4208
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4188
- return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
4209
+ return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
4189
4210
  }
4190
- ), qi = Oe(
4211
+ ), Zi = Le(
4191
4212
  (e) => {
4192
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
4213
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4193
4214
  if (r == null)
4194
4215
  throw new Error(
4195
4216
  '[svelte-i18n] A "locale" must be set to format time values'
4196
4217
  );
4197
- return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
4218
+ return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
4198
4219
  }
4199
- ), Wi = (e = {}) => {
4220
+ ), Qi = (e = {}) => {
4200
4221
  var t = e, {
4201
4222
  locale: r = J()
4202
- } = t, n = fe(t, [
4223
+ } = t, n = he(t, [
4203
4224
  "locale"
4204
4225
  ]);
4205
- return zi(ht({ locale: r }, n));
4206
- }, Zi = (e = {}) => {
4226
+ return qi(pt({ locale: r }, n));
4227
+ }, Ji = (e = {}) => {
4207
4228
  var t = e, {
4208
4229
  locale: r = J()
4209
- } = t, n = fe(t, [
4230
+ } = t, n = he(t, [
4210
4231
  "locale"
4211
4232
  ]);
4212
- return Xi(ht({ locale: r }, n));
4213
- }, Qi = (e = {}) => {
4233
+ return Wi(pt({ locale: r }, n));
4234
+ }, Yi = (e = {}) => {
4214
4235
  var t = e, {
4215
4236
  locale: r = J()
4216
- } = t, n = fe(t, [
4237
+ } = t, n = he(t, [
4217
4238
  "locale"
4218
4239
  ]);
4219
- return qi(ht({ locale: r }, n));
4220
- }, Ji = Oe(
4240
+ return Zi(pt({ locale: r }, n));
4241
+ }, Ki = Le(
4221
4242
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4222
- (e, t = J()) => new wi(e, t, ue().formats, {
4223
- ignoreTag: ue().ignoreTag
4243
+ (e, t = J()) => new Ci(e, t, ae().formats, {
4244
+ ignoreTag: ae().ignoreTag
4224
4245
  })
4225
- ), Yi = (e, t = {}) => {
4246
+ ), eo = (e, t = {}) => {
4226
4247
  var r, n, i, o;
4227
4248
  let s = t;
4228
4249
  typeof e == "object" && (s = e, e = s.id);
@@ -4235,9 +4256,9 @@ const ye = (e, t) => {
4235
4256
  throw new Error(
4236
4257
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4237
4258
  );
4238
- let c = gr(e, l);
4259
+ let c = vr(e, l);
4239
4260
  if (!c)
4240
- c = (o = (i = (n = (r = ue()).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 = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4241
4262
  else if (typeof c != "string")
4242
4263
  return console.warn(
4243
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.`
@@ -4246,7 +4267,7 @@ const ye = (e, t) => {
4246
4267
  return c;
4247
4268
  let f = c;
4248
4269
  try {
4249
- f = Ji(c, l).format(a);
4270
+ f = Ki(c, l).format(a);
4250
4271
  } catch (h) {
4251
4272
  h instanceof Error && console.warn(
4252
4273
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4254,20 +4275,20 @@ const ye = (e, t) => {
4254
4275
  );
4255
4276
  }
4256
4277
  return f;
4257
- }, Ki = (e, t) => Qi(t).format(e), eo = (e, t) => Zi(t).format(e), to = (e, t) => Wi(t).format(e), ro = (e, t = J()) => gr(e, t), no = ce([he, ge], () => Yi);
4258
- ce([he], () => Ki);
4259
- ce([he], () => eo);
4260
- ce([he], () => to);
4261
- ce([he, ge], () => ro);
4278
+ }, to = (e, t) => Yi(t).format(e), ro = (e, t) => Ji(t).format(e), no = (e, t) => Qi(t).format(e), io = (e, t = J()) => vr(e, t), oo = le([ce, ge], () => eo);
4279
+ le([ce], () => to);
4280
+ le([ce], () => ro);
4281
+ le([ce], () => no);
4282
+ le([ce, ge], () => io);
4262
4283
  window.emWidgets = { topic: yn };
4263
- const io = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4264
- function Nt(e, t) {
4284
+ const so = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4285
+ function Ut(e, t) {
4265
4286
  xr(e, t);
4266
4287
  }
4267
- function oo(e) {
4268
- he.set(e);
4288
+ function ao(e) {
4289
+ ce.set(e);
4269
4290
  }
4270
- const $t = {
4291
+ const Dt = {
4271
4292
  en: {
4272
4293
  titleRealityCheck: "Reality Check",
4273
4294
  never: "Never",
@@ -4379,13 +4400,13 @@ const $t = {
4379
4400
  setFrequency: "Set frequency"
4380
4401
  }
4381
4402
  };
4382
- function so(e, t) {
4403
+ function uo(e, t) {
4383
4404
  if (e) {
4384
4405
  const r = document.createElement("style");
4385
4406
  r.innerHTML = t, e.appendChild(r);
4386
4407
  }
4387
4408
  }
4388
- function ao(e, t) {
4409
+ function lo(e, t) {
4389
4410
  const r = new URL(t);
4390
4411
  fetch(r.href).then((n) => n.text()).then((n) => {
4391
4412
  const i = document.createElement("style");
@@ -4394,7 +4415,7 @@ function ao(e, t) {
4394
4415
  console.error("There was an error while trying to load client styling from URL", n);
4395
4416
  });
4396
4417
  }
4397
- function uo(e, t, r) {
4418
+ function co(e, t, r) {
4398
4419
  if (window.emMessageBus) {
4399
4420
  const n = document.createElement("style");
4400
4421
  window.emMessageBus.subscribe(t, (i) => {
@@ -4402,177 +4423,177 @@ function uo(e, t, r) {
4402
4423
  });
4403
4424
  }
4404
4425
  }
4405
- function lo(e) {
4406
- Ir(e, "svelte-1nvaky6", '.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, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--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, #D0046C));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--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}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerRealityCheckWrapperTablet{padding:40px 25% 100% 25%}.PlayerRealityCheckWrapperTablet .PlayerRealityCheckContent{grid-row-gap:40px}.PlayerRealityCheckWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4426
+ function ho(e) {
4427
+ Lr(e, "svelte-1nvaky6", '.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, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--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, #D0046C));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--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}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerRealityCheckWrapperTablet{padding:40px 25% 100% 25%}.PlayerRealityCheckWrapperTablet .PlayerRealityCheckContent{grid-row-gap:40px}.PlayerRealityCheckWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4407
4428
  }
4408
- function Ut(e, t, r) {
4429
+ function Ft(e, t, r) {
4409
4430
  const n = e.slice();
4410
4431
  return n[32] = t[r].value, n[33] = t[r].text, n[35] = r, n;
4411
4432
  }
4412
- function co(e, t, r) {
4433
+ function fo(e, t, r) {
4413
4434
  const n = e.slice();
4414
4435
  return n[29] = t[r], n;
4415
4436
  }
4416
- function ho(e) {
4437
+ function po(e) {
4417
4438
  let t, r, n, i, o = (
4418
4439
  /*$_*/
4419
4440
  e[4]("titleRealityCheck") + ""
4420
4441
  ), s, a, l, u, c = (
4421
4442
  /*$_*/
4422
4443
  e[4]("realityCheckText") + ""
4423
- ), f, h, d, m, p, y, _ = (
4444
+ ), f, h, d, m, p, y, x = (
4424
4445
  /*$_*/
4425
4446
  e[4]("setFrequency") + ""
4426
- ), P, I, V, O = (
4447
+ ), P, I, V, M = (
4427
4448
  /*isMobile*/
4428
- e[5] && po(e)
4449
+ e[5] && bo(e)
4429
4450
  ), B = (
4430
4451
  /*realityCheckSuccess*/
4431
- e[3] && Ft(e)
4432
- ), G = qe(
4452
+ e[3] && Gt(e)
4453
+ ), j = Ze(
4433
4454
  /*realityCheckOptions*/
4434
4455
  e[6]
4435
- ), M = [];
4436
- for (let H = 0; H < G.length; H += 1)
4437
- M[H] = Gt(Ut(e, G, H));
4456
+ ), R = [];
4457
+ for (let T = 0; T < j.length; T += 1)
4458
+ R[T] = Vt(Ft(e, j, T));
4438
4459
  return {
4439
4460
  c() {
4440
- t = T("div"), O && O.c(), r = D(), B && B.c(), n = D(), i = T("h2"), s = X(o), a = D(), l = T("div"), u = T("p"), f = X(c), h = D(), d = T("form");
4441
- for (let H = 0; H < M.length; H += 1)
4442
- M[H].c();
4443
- m = D(), p = T("div"), y = T("button"), P = X(_), w(i, "class", "RealityCheckTitle " + /*isMobile*/
4444
- (e[5] ? "RealityCheckTitleNone" : "")), w(l, "class", "RealityCheckDescription " + /*isMobile*/
4445
- (e[5] ? "RealityCheckDescriptionMobile" : "")), w(y, "class", "PlayerRealityCheckButton"), w(p, "class", "BottomButtonsArea " + /*isMobile*/
4446
- (e[5] ? "BottomButtonsAreaMobile" : "")), w(d, "class", "customRadio"), w(t, "class", "containerTimeout");
4461
+ t = w("div"), M && M.c(), r = D(), B && B.c(), n = D(), i = w("h2"), s = q(o), a = D(), l = w("div"), u = w("p"), f = q(c), h = D(), d = w("form");
4462
+ for (let T = 0; T < R.length; T += 1)
4463
+ R[T].c();
4464
+ m = D(), p = w("div"), y = w("button"), P = q(x), S(i, "class", "RealityCheckTitle " + /*isMobile*/
4465
+ (e[5] ? "RealityCheckTitleNone" : "")), S(l, "class", "RealityCheckDescription " + /*isMobile*/
4466
+ (e[5] ? "RealityCheckDescriptionMobile" : "")), S(y, "class", "PlayerRealityCheckButton"), S(p, "class", "BottomButtonsArea " + /*isMobile*/
4467
+ (e[5] ? "BottomButtonsAreaMobile" : "")), S(d, "class", "customRadio"), S(t, "class", "containerTimeout");
4447
4468
  },
4448
- m(H, j) {
4449
- F(H, t, j), O && O.m(t, null), b(t, r), B && B.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);
4450
- for (let R = 0; R < M.length; R += 1)
4451
- M[R] && M[R].m(d, null);
4452
- b(d, m), b(d, p), b(p, y), b(y, P), I || (V = He(
4469
+ m(T, G) {
4470
+ F(T, t, G), M && M.m(t, null), b(t, r), B && B.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);
4471
+ for (let O = 0; O < R.length; O += 1)
4472
+ R[O] && R[O].m(d, null);
4473
+ b(d, m), b(d, p), b(p, y), b(y, P), I || (V = Ce(
4453
4474
  y,
4454
4475
  "click",
4455
4476
  /*submitRealityCheckValue*/
4456
4477
  e[7]
4457
4478
  ), I = !0);
4458
4479
  },
4459
- p(H, j) {
4480
+ p(T, G) {
4460
4481
  if (
4461
4482
  /*isMobile*/
4462
- H[5] && O.p(H, j), /*realityCheckSuccess*/
4463
- H[3] ? B ? B.p(H, j) : (B = Ft(H), B.c(), B.m(t, n)) : B && (B.d(1), B = null), j[0] & /*$_*/
4483
+ T[5] && M.p(T, G), /*realityCheckSuccess*/
4484
+ T[3] ? B ? B.p(T, G) : (B = Gt(T), B.c(), B.m(t, n)) : B && (B.d(1), B = null), G[0] & /*$_*/
4464
4485
  16 && o !== (o = /*$_*/
4465
- H[4]("titleRealityCheck") + "") && re(s, o), j[0] & /*$_*/
4486
+ T[4]("titleRealityCheck") + "") && re(s, o), G[0] & /*$_*/
4466
4487
  16 && c !== (c = /*$_*/
4467
- H[4]("realityCheckText") + "") && re(f, c), j[0] & /*realityCheckOptions, realityCheckValue*/
4488
+ T[4]("realityCheckText") + "") && re(f, c), G[0] & /*realityCheckOptions, realityCheckValue*/
4468
4489
  68
4469
4490
  ) {
4470
- G = qe(
4491
+ j = Ze(
4471
4492
  /*realityCheckOptions*/
4472
- H[6]
4493
+ T[6]
4473
4494
  );
4474
- let R;
4475
- for (R = 0; R < G.length; R += 1) {
4476
- const ve = Ut(H, G, R);
4477
- M[R] ? M[R].p(ve, j) : (M[R] = Gt(ve), M[R].c(), M[R].m(d, m));
4495
+ let O;
4496
+ for (O = 0; O < j.length; O += 1) {
4497
+ const ve = Ft(T, j, O);
4498
+ R[O] ? R[O].p(ve, G) : (R[O] = Vt(ve), R[O].c(), R[O].m(d, m));
4478
4499
  }
4479
- for (; R < M.length; R += 1)
4480
- M[R].d(1);
4481
- M.length = G.length;
4500
+ for (; O < R.length; O += 1)
4501
+ R[O].d(1);
4502
+ R.length = j.length;
4482
4503
  }
4483
- j[0] & /*$_*/
4484
- 16 && _ !== (_ = /*$_*/
4485
- H[4]("setFrequency") + "") && re(P, _);
4504
+ G[0] & /*$_*/
4505
+ 16 && x !== (x = /*$_*/
4506
+ T[4]("setFrequency") + "") && re(P, x);
4486
4507
  },
4487
- d(H) {
4488
- H && $(t), O && O.d(), B && B.d(), Xt(M, H), I = !1, V();
4508
+ d(T) {
4509
+ T && $(t), M && M.d(), B && B.d(), Wt(R, T), I = !1, V();
4489
4510
  }
4490
4511
  };
4491
4512
  }
4492
- function fo(e) {
4513
+ function mo(e) {
4493
4514
  let t, r, n, i, o, s, a, l, u;
4494
4515
  function c(p, y) {
4495
4516
  return (
4496
4517
  /*isMobile*/
4497
- p[5] ? bo : mo
4518
+ p[5] ? go : yo
4498
4519
  );
4499
4520
  }
4500
- let h = c(e)(e), d = qe({ length: 6 }), m = [];
4521
+ let h = c(e)(e), d = Ze({ length: 6 }), m = [];
4501
4522
  for (let p = 0; p < d.length; p += 1)
4502
- m[p] = yo(co(e, d, p));
4523
+ m[p] = vo(fo(e, d, p));
4503
4524
  return {
4504
4525
  c() {
4505
- t = T("div"), h.c(), r = D(), n = T("div"), i = T("ui-skeleton"), o = D(), s = T("div");
4526
+ t = w("div"), h.c(), r = D(), n = w("div"), i = w("ui-skeleton"), o = D(), s = w("div");
4506
4527
  for (let p = 0; p < m.length; p += 1)
4507
4528
  m[p].c();
4508
- a = D(), 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(
4529
+ a = D(), l = w("div"), u = w("ui-skeleton"), A(i, "structure", "text"), A(i, "height", "15px"), A(i, "width", "100%"), A(i, "margin-bottom", "7px"), A(
4509
4530
  i,
4510
4531
  "rows",
4511
4532
  /*isMobile*/
4512
4533
  e[5] ? "5" : "3"
4513
- ), w(n, "class", "SkeletonTextContainer"), A(u, "structure", "rectangle"), A(u, "height", "50px"), A(u, "margin-bottom", "0"), A(u, "borderRadius", "5px"), A(
4534
+ ), S(n, "class", "SkeletonTextContainer"), A(u, "structure", "rectangle"), A(u, "height", "50px"), A(u, "margin-bottom", "0"), A(u, "borderRadius", "5px"), A(
4514
4535
  u,
4515
4536
  "width",
4516
4537
  /*isMobile*/
4517
4538
  e[5] ? "100%" : "350px"
4518
- ), w(l, "class", "Button"), w(s, "class", "SkeletonOptionContainer"), w(t, "class", "SkeletonContainer");
4539
+ ), S(l, "class", "Button"), S(s, "class", "SkeletonOptionContainer"), S(t, "class", "SkeletonContainer");
4519
4540
  },
4520
4541
  m(p, y) {
4521
4542
  F(p, t, y), h.m(t, null), b(t, r), b(t, n), b(n, i), b(t, o), b(t, s);
4522
- for (let _ = 0; _ < m.length; _ += 1)
4523
- m[_] && m[_].m(s, null);
4543
+ for (let x = 0; x < m.length; x += 1)
4544
+ m[x] && m[x].m(s, null);
4524
4545
  b(s, a), b(s, l), b(l, u);
4525
4546
  },
4526
4547
  p(p, y) {
4527
4548
  h.p(p, y);
4528
4549
  },
4529
4550
  d(p) {
4530
- p && $(t), h.d(), Xt(m, p);
4551
+ p && $(t), h.d(), Wt(m, p);
4531
4552
  }
4532
4553
  };
4533
4554
  }
4534
- function po(e) {
4555
+ function bo(e) {
4535
4556
  let t, r, n, i, o, s, a, l, u, c, f, h = (
4536
4557
  /*$_*/
4537
4558
  e[4]("titleRealityCheck") + ""
4538
4559
  ), d, m, p, y = (
4539
4560
  /*realityCheckSuccess*/
4540
- e[3] && Dt(e)
4561
+ e[3] && jt(e)
4541
4562
  );
4542
4563
  return {
4543
4564
  c() {
4544
- y && y.c(), t = D(), r = T("div"), n = Y("svg"), i = Y("defs"), o = Y("style"), s = X(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), a = Y("g"), l = Y("g"), u = Y("path"), c = D(), f = T("h2"), d = X(h), w(u, "class", "aaa"), w(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(u, "transform", "translate(15 15) rotate(180)"), w(l, "transform", "translate(20 158)"), w(a, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(f, "class", "RealityCheckTitleMobile"), w(r, "class", "MenuReturnButton");
4565
+ y && y.c(), t = D(), r = w("div"), n = Y("svg"), i = Y("defs"), o = Y("style"), s = q(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), a = Y("g"), l = Y("g"), u = Y("path"), c = D(), f = w("h2"), d = q(h), S(u, "class", "aaa"), S(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), S(u, "transform", "translate(15 15) rotate(180)"), S(l, "transform", "translate(20 158)"), S(a, "transform", "translate(-20 -158)"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "width", "15"), S(n, "height", "15"), S(n, "viewBox", "0 0 15 15"), S(f, "class", "RealityCheckTitleMobile"), S(r, "class", "MenuReturnButton");
4545
4566
  },
4546
- m(_, P) {
4547
- y && y.m(_, P), F(_, t, P), F(_, r, P), 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 = [
4548
- He(
4567
+ m(x, P) {
4568
+ y && y.m(x, P), F(x, t, P), F(x, r, P), 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 = [
4569
+ Ce(
4549
4570
  r,
4550
4571
  "click",
4551
4572
  /*click_handler*/
4552
4573
  e[17]
4553
4574
  ),
4554
- He(r, "keydown", null)
4575
+ Ce(r, "keydown", null)
4555
4576
  ], m = !0);
4556
4577
  },
4557
- p(_, P) {
4578
+ p(x, P) {
4558
4579
  /*realityCheckSuccess*/
4559
- _[3] ? y ? y.p(_, P) : (y = Dt(_), y.c(), y.m(t.parentNode, t)) : y && (y.d(1), y = null), P[0] & /*$_*/
4580
+ x[3] ? y ? y.p(x, P) : (y = jt(x), y.c(), y.m(t.parentNode, t)) : y && (y.d(1), y = null), P[0] & /*$_*/
4560
4581
  16 && h !== (h = /*$_*/
4561
- _[4]("titleRealityCheck") + "") && re(d, h);
4582
+ x[4]("titleRealityCheck") + "") && re(d, h);
4562
4583
  },
4563
- d(_) {
4564
- _ && ($(t), $(r)), y && y.d(_), m = !1, le(p);
4584
+ d(x) {
4585
+ x && ($(t), $(r)), y && y.d(x), m = !1, ue(p);
4565
4586
  }
4566
4587
  };
4567
4588
  }
4568
- function Dt(e) {
4589
+ function jt(e) {
4569
4590
  let t, r = (
4570
4591
  /*$_*/
4571
4592
  e[4]("successMessage") + ""
4572
4593
  ), n;
4573
4594
  return {
4574
4595
  c() {
4575
- t = T("div"), n = X(r), w(t, "class", "successMessageMobile");
4596
+ t = w("div"), n = q(r), S(t, "class", "successMessageMobile");
4576
4597
  },
4577
4598
  m(i, o) {
4578
4599
  F(i, t, o), b(t, n);
@@ -4587,14 +4608,14 @@ function Dt(e) {
4587
4608
  }
4588
4609
  };
4589
4610
  }
4590
- function Ft(e) {
4611
+ function Gt(e) {
4591
4612
  let t, r = (
4592
4613
  /*$_*/
4593
4614
  e[4]("successMessage") + ""
4594
4615
  ), n;
4595
4616
  return {
4596
4617
  c() {
4597
- t = T("div"), n = X(r), w(t, "class", "successMessage " + /*isMobile*/
4618
+ t = w("div"), n = q(r), S(t, "class", "successMessage " + /*isMobile*/
4598
4619
  (e[5] ? "successMessageMobile" : ""));
4599
4620
  },
4600
4621
  m(i, o) {
@@ -4610,23 +4631,23 @@ function Ft(e) {
4610
4631
  }
4611
4632
  };
4612
4633
  }
4613
- function Gt(e) {
4634
+ function Vt(e) {
4614
4635
  let t, r, n, i, o = (
4615
4636
  /*text*/
4616
4637
  e[33] + ""
4617
4638
  ), s, a, l, u;
4618
- return a = Nr(
4639
+ return a = $r(
4619
4640
  /*$$binding_groups*/
4620
4641
  e[19][0]
4621
4642
  ), {
4622
4643
  c() {
4623
- t = T("div"), r = T("input"), n = D(), i = T("label"), s = X(o), w(r, "type", "radio"), w(
4644
+ t = w("div"), r = w("input"), n = D(), i = w("label"), s = q(o), S(r, "type", "radio"), S(
4624
4645
  r,
4625
4646
  "id",
4626
4647
  /*value*/
4627
4648
  e[32]
4628
4649
  ), r.__value = /*value*/
4629
- e[32], Ur(r, r.__value), w(
4650
+ e[32], Dr(r, r.__value), S(
4630
4651
  i,
4631
4652
  "for",
4632
4653
  /*value*/
@@ -4635,7 +4656,7 @@ function Gt(e) {
4635
4656
  },
4636
4657
  m(c, f) {
4637
4658
  F(c, t, f), b(t, r), r.checked = r.__value === /*realityCheckValue*/
4638
- e[2], b(t, n), b(t, i), b(i, s), l || (u = He(
4659
+ e[2], b(t, n), b(t, i), b(i, s), l || (u = Ce(
4639
4660
  r,
4640
4661
  "change",
4641
4662
  /*input_change_handler*/
@@ -4652,64 +4673,64 @@ function Gt(e) {
4652
4673
  }
4653
4674
  };
4654
4675
  }
4655
- function mo(e) {
4676
+ function yo(e) {
4656
4677
  let t;
4657
4678
  return {
4658
4679
  c() {
4659
- t = T("div"), t.innerHTML = '<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>', w(t, "class", "SkeletonHeaderText");
4680
+ t = w("div"), t.innerHTML = '<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>', S(t, "class", "SkeletonHeaderText");
4660
4681
  },
4661
4682
  m(r, n) {
4662
4683
  F(r, t, n);
4663
4684
  },
4664
- p: N,
4685
+ p: k,
4665
4686
  d(r) {
4666
4687
  r && $(t);
4667
4688
  }
4668
4689
  };
4669
4690
  }
4670
- function bo(e) {
4691
+ function go(e) {
4671
4692
  let t, r, n, i;
4672
4693
  return {
4673
4694
  c() {
4674
- t = T("div"), r = T("ui-skeleton"), n = D(), 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"), w(t, "class", "SkeletonMenuButton " + /*isMobile*/
4695
+ t = w("div"), r = w("ui-skeleton"), n = D(), i = w("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"), S(t, "class", "SkeletonMenuButton " + /*isMobile*/
4675
4696
  (e[5] ? "Mobile" : ""));
4676
4697
  },
4677
4698
  m(o, s) {
4678
4699
  F(o, t, s), b(t, r), b(t, n), b(t, i);
4679
4700
  },
4680
- p: N,
4701
+ p: k,
4681
4702
  d(o) {
4682
4703
  o && $(t);
4683
4704
  }
4684
4705
  };
4685
4706
  }
4686
- function yo(e) {
4707
+ function vo(e) {
4687
4708
  let t;
4688
4709
  return {
4689
4710
  c() {
4690
- t = T("div"), t.innerHTML = '<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>', w(t, "class", "SkeletonOption");
4711
+ t = w("div"), t.innerHTML = '<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>', S(t, "class", "SkeletonOption");
4691
4712
  },
4692
4713
  m(r, n) {
4693
4714
  F(r, t, n);
4694
4715
  },
4695
- p: N,
4716
+ p: k,
4696
4717
  d(r) {
4697
4718
  r && $(t);
4698
4719
  }
4699
4720
  };
4700
4721
  }
4701
- function go(e) {
4722
+ function _o(e) {
4702
4723
  let t;
4703
4724
  function r(o, s) {
4704
4725
  return (
4705
4726
  /*skeletonLoading*/
4706
- o[1] ? fo : ho
4727
+ o[1] ? mo : po
4707
4728
  );
4708
4729
  }
4709
4730
  let n = r(e), i = n(e);
4710
4731
  return {
4711
4732
  c() {
4712
- t = T("div"), i.c(), w(t, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
4733
+ t = w("div"), i.c(), S(t, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
4713
4734
  (e[5] ? "PlayerRealityCheckWrapperMobile" : ""));
4714
4735
  },
4715
4736
  m(o, s) {
@@ -4718,17 +4739,17 @@ function go(e) {
4718
4739
  p(o, s) {
4719
4740
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4720
4741
  },
4721
- i: N,
4722
- o: N,
4742
+ i: k,
4743
+ o: k,
4723
4744
  d(o) {
4724
4745
  o && $(t), i.d(), e[20](null);
4725
4746
  }
4726
4747
  };
4727
4748
  }
4728
- function vo(e, t, r) {
4749
+ function xo(e, t, r) {
4729
4750
  let n;
4730
- Or(e, no, (g) => r(4, n = g));
4731
- 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 = io(window.navigator.userAgent) !== "PC", m = !0, p, y = !1, _ = [];
4751
+ Ir(e, oo, (g) => r(4, n = g));
4752
+ 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 = so(window.navigator.userAgent) !== "PC", m = !0, p, y = !1, x = [];
4732
4753
  const P = () => {
4733
4754
  const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
4734
4755
  E.append("X-SessionID", s);
@@ -4755,21 +4776,21 @@ function vo(e, t, r) {
4755
4776
  );
4756
4777
  }, V = (g) => {
4757
4778
  g.forEach((E) => {
4758
- E == 0 ? _.push({
4779
+ E == 0 ? x.push({
4759
4780
  value: E.toString(),
4760
4781
  text: n("never")
4761
- }) : E < 60 ? _.push({
4782
+ }) : E < 60 ? x.push({
4762
4783
  value: E.toString(),
4763
4784
  text: E + " " + n("minutes")
4764
- }) : E == 60 ? _.push({
4785
+ }) : E == 60 ? x.push({
4765
4786
  value: E.toString(),
4766
4787
  text: n("oneHour")
4767
- }) : E > 60 && _.push({
4788
+ }) : E > 60 && x.push({
4768
4789
  value: E.toString(),
4769
4790
  text: E / 60 + " " + n("hours")
4770
4791
  });
4771
4792
  });
4772
- }, O = () => Le(this, null, function* () {
4793
+ }, M = () => ke(this, null, function* () {
4773
4794
  const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
4774
4795
  E.append("X-SessionID", s), E.append("Content-Type", "application/json"), E.append("Accept", "application/json"), E.append("realityCheckValue", `${parseInt(p, 10)}`);
4775
4796
  const Z = { method: "POST", headers: E };
@@ -4778,10 +4799,10 @@ function vo(e, t, r) {
4778
4799
  (L) => (console.error(L), !1)
4779
4800
  );
4780
4801
  }), B = (g) => {
4781
- g.preventDefault(), O().then((E) => {
4782
- E && (G(), P());
4802
+ g.preventDefault(), M().then((E) => {
4803
+ E && (j(), P());
4783
4804
  });
4784
- }, G = () => {
4805
+ }, j = () => {
4785
4806
  window.postMessage(
4786
4807
  {
4787
4808
  type: "WidgetNotification",
@@ -4792,7 +4813,7 @@ function vo(e, t, r) {
4792
4813
  },
4793
4814
  window.location.href
4794
4815
  ), r(3, y = !0), setTimeout(() => r(3, y = !1), 2e3);
4795
- }, M = () => {
4816
+ }, R = () => {
4796
4817
  window.postMessage(
4797
4818
  {
4798
4819
  type: "PlayerAccountMenuActive",
@@ -4800,27 +4821,27 @@ function vo(e, t, r) {
4800
4821
  },
4801
4822
  window.location.href
4802
4823
  );
4803
- }, H = () => {
4804
- oo(a);
4805
- }, j = () => {
4824
+ }, T = () => {
4825
+ ao(a);
4826
+ }, G = () => {
4806
4827
  fetch(f).then((E) => E.json()).then((E) => {
4807
4828
  Object.keys(E).forEach((Z) => {
4808
- Nt(Z, E[Z]);
4829
+ Ut(Z, E[Z]);
4809
4830
  });
4810
4831
  }).catch((E) => {
4811
4832
  console.log(E);
4812
4833
  });
4813
4834
  };
4814
- Object.keys($t).forEach((g) => {
4815
- Nt(g, $t[g]);
4835
+ Object.keys(Dt).forEach((g) => {
4836
+ Ut(g, Dt[g]);
4816
4837
  }), Gr(() => () => {
4817
4838
  });
4818
- const R = [[]], ve = () => M();
4819
- function Tr() {
4839
+ const O = [[]], ve = () => R();
4840
+ function Cr() {
4820
4841
  p = this.__value, r(2, p);
4821
4842
  }
4822
4843
  function Hr(g) {
4823
- Ve[g ? "unshift" : "push"](() => {
4844
+ ze[g ? "unshift" : "push"](() => {
4824
4845
  h = g, r(0, h);
4825
4846
  });
4826
4847
  }
@@ -4828,13 +4849,13 @@ function vo(e, t, r) {
4828
4849
  "endpoint" in g && r(9, i = g.endpoint), "playerid" in g && r(10, o = g.playerid), "session" in g && r(11, s = g.session), "lang" in g && r(12, a = g.lang), "clientstyling" in g && r(13, l = g.clientstyling), "clientstylingurl" in g && r(14, u = g.clientstylingurl), "mbsource" in g && r(15, c = g.mbsource), "translationurl" in g && r(16, f = g.translationurl);
4829
4850
  }, e.$$.update = () => {
4830
4851
  e.$$.dirty[0] & /*lang*/
4831
- 4096 && a && H(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4852
+ 4096 && a && T(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4832
4853
  3584 && i && o && s && P(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4833
4854
  3584 && i && o && s && I(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4834
- 8193 && l && h && so(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4835
- 16385 && u && h && ao(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4836
- 32769 && c && h && uo(h, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
4837
- 65536 && f && j();
4855
+ 8193 && l && h && uo(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4856
+ 16385 && u && h && lo(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4857
+ 32769 && c && h && co(h, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
4858
+ 65536 && f && G();
4838
4859
  }, [
4839
4860
  h,
4840
4861
  m,
@@ -4842,9 +4863,9 @@ function vo(e, t, r) {
4842
4863
  y,
4843
4864
  n,
4844
4865
  d,
4845
- _,
4866
+ x,
4846
4867
  B,
4847
- M,
4868
+ R,
4848
4869
  i,
4849
4870
  o,
4850
4871
  s,
@@ -4854,19 +4875,19 @@ function vo(e, t, r) {
4854
4875
  c,
4855
4876
  f,
4856
4877
  ve,
4857
- Tr,
4858
- R,
4878
+ Cr,
4879
+ O,
4859
4880
  Hr
4860
4881
  ];
4861
4882
  }
4862
- class xo extends en {
4883
+ class Eo extends tn {
4863
4884
  constructor(t) {
4864
- super(), Yr(
4885
+ super(), Kr(
4865
4886
  this,
4866
4887
  t,
4867
- vo,
4868
- go,
4869
- Vt,
4888
+ xo,
4889
+ _o,
4890
+ zt,
4870
4891
  {
4871
4892
  endpoint: 9,
4872
4893
  playerid: 10,
@@ -4877,7 +4898,7 @@ class xo extends en {
4877
4898
  mbsource: 15,
4878
4899
  translationurl: 16
4879
4900
  },
4880
- lo,
4901
+ ho,
4881
4902
  [-1, -1]
4882
4903
  );
4883
4904
  }
@@ -4885,52 +4906,52 @@ class xo extends en {
4885
4906
  return this.$$.ctx[9];
4886
4907
  }
4887
4908
  set endpoint(t) {
4888
- this.$$set({ endpoint: t }), z();
4909
+ this.$$set({ endpoint: t }), X();
4889
4910
  }
4890
4911
  get playerid() {
4891
4912
  return this.$$.ctx[10];
4892
4913
  }
4893
4914
  set playerid(t) {
4894
- this.$$set({ playerid: t }), z();
4915
+ this.$$set({ playerid: t }), X();
4895
4916
  }
4896
4917
  get session() {
4897
4918
  return this.$$.ctx[11];
4898
4919
  }
4899
4920
  set session(t) {
4900
- this.$$set({ session: t }), z();
4921
+ this.$$set({ session: t }), X();
4901
4922
  }
4902
4923
  get lang() {
4903
4924
  return this.$$.ctx[12];
4904
4925
  }
4905
4926
  set lang(t) {
4906
- this.$$set({ lang: t }), z();
4927
+ this.$$set({ lang: t }), X();
4907
4928
  }
4908
4929
  get clientstyling() {
4909
4930
  return this.$$.ctx[13];
4910
4931
  }
4911
4932
  set clientstyling(t) {
4912
- this.$$set({ clientstyling: t }), z();
4933
+ this.$$set({ clientstyling: t }), X();
4913
4934
  }
4914
4935
  get clientstylingurl() {
4915
4936
  return this.$$.ctx[14];
4916
4937
  }
4917
4938
  set clientstylingurl(t) {
4918
- this.$$set({ clientstylingurl: t }), z();
4939
+ this.$$set({ clientstylingurl: t }), X();
4919
4940
  }
4920
4941
  get mbsource() {
4921
4942
  return this.$$.ctx[15];
4922
4943
  }
4923
4944
  set mbsource(t) {
4924
- this.$$set({ mbsource: t }), z();
4945
+ this.$$set({ mbsource: t }), X();
4925
4946
  }
4926
4947
  get translationurl() {
4927
4948
  return this.$$.ctx[16];
4928
4949
  }
4929
4950
  set translationurl(t) {
4930
- this.$$set({ translationurl: t }), z();
4951
+ this.$$set({ translationurl: t }), X();
4931
4952
  }
4932
4953
  }
4933
- Kr(xo, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4954
+ en(Eo, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4934
4955
  export {
4935
- xo as default
4956
+ Eo as default
4936
4957
  };