@everymatrix/casino-footer-thumbnail 1.61.0 → 1.62.0

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 Or = Object.defineProperty, kr = Object.defineProperties;
2
- var Cr = Object.getOwnPropertyDescriptors;
3
- var ht = Object.getOwnPropertySymbols;
4
- var Nr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable;
5
- var Ne = (e, t, r) => t in e ? Or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
1
+ var Mr = Object.defineProperty, Dr = Object.defineProperties;
2
+ var Rr = Object.getOwnPropertyDescriptors;
3
+ var mt = Object.getOwnPropertySymbols;
4
+ var Ur = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
5
+ var Ne = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Nr.call(t, r) && Ne(e, r, t[r]);
8
- if (ht)
9
- for (var r of ht(t))
10
- Mr.call(t, r) && Ne(e, r, t[r]);
7
+ Ur.call(t, r) && Ne(e, r, t[r]);
8
+ if (mt)
9
+ for (var r of mt(t))
10
+ Gr.call(t, r) && Ne(e, r, t[r]);
11
11
  return e;
12
- }, ct = (e, t) => kr(e, Cr(t));
13
- var k = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var mt = (e, t, r) => new Promise((i, n) => {
12
+ }, dt = (e, t) => Dr(e, Rr(t));
13
+ var O = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var bt = (e, t, r) => new Promise((i, n) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -27,32 +27,32 @@ var mt = (e, t, r) => new Promise((i, n) => {
27
27
  }, u = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(o, l);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-CPH6BqjQ.js";
30
+ import "../stencil/ui-image-Bi4jDe3D.js";
31
31
  function C() {
32
32
  }
33
- function Vt(e) {
33
+ function zt(e) {
34
34
  return e();
35
35
  }
36
- function pt() {
36
+ function gt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
39
  function ce(e) {
40
- e.forEach(Vt);
40
+ e.forEach(zt);
41
41
  }
42
- function st(e) {
42
+ function at(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Xt(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
  let _e;
49
49
  function F(e, t) {
50
50
  return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
51
51
  }
52
- function Rr(e) {
52
+ function $r(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function Dr(e, ...t) {
55
+ function jr(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const i of t)
58
58
  i(void 0);
@@ -64,14 +64,14 @@ function Dr(e, ...t) {
64
64
  function _(e, t) {
65
65
  e.appendChild(t);
66
66
  }
67
- function Ur(e, t, r) {
68
- const i = Gr(e);
67
+ function Vr(e, t, r) {
68
+ const i = Xr(e);
69
69
  if (!i.getElementById(t)) {
70
70
  const n = b("style");
71
- n.id = t, n.textContent = r, $r(i, n);
71
+ n.id = t, n.textContent = r, Wr(i, n);
72
72
  }
73
73
  }
74
- function Gr(e) {
74
+ function Xr(e) {
75
75
  if (!e)
76
76
  return document;
77
77
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -81,7 +81,7 @@ function Gr(e) {
81
81
  t
82
82
  ) : e.ownerDocument;
83
83
  }
84
- function $r(e, t) {
84
+ function Wr(e, t) {
85
85
  return _(
86
86
  /** @type {Document} */
87
87
  e.head || e,
@@ -91,7 +91,7 @@ function $r(e, t) {
91
91
  function L(e, t, r) {
92
92
  e.insertBefore(t, r || null);
93
93
  }
94
- function H(e) {
94
+ function T(e) {
95
95
  e.parentNode && e.parentNode.removeChild(e);
96
96
  }
97
97
  function b(e) {
@@ -103,7 +103,7 @@ function j(e) {
103
103
  function te() {
104
104
  return j(" ");
105
105
  }
106
- function Wt() {
106
+ function Qt() {
107
107
  return j("");
108
108
  }
109
109
  function re(e, t, r, i) {
@@ -116,14 +116,14 @@ function p(e, t, r) {
116
116
  const i = t.toLowerCase();
117
117
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : c(e, t, r);
118
118
  }
119
- function jr(e) {
119
+ function zr(e) {
120
120
  return Array.from(e.childNodes);
121
121
  }
122
122
  function ie(e, t) {
123
123
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
124
124
  t);
125
125
  }
126
- function Vr(e) {
126
+ function Zr(e) {
127
127
  const t = {};
128
128
  return e.childNodes.forEach(
129
129
  /** @param {Element} node */
@@ -136,22 +136,22 @@ let ue;
136
136
  function le(e) {
137
137
  ue = e;
138
138
  }
139
- function Xr() {
139
+ function Qr() {
140
140
  if (!ue)
141
141
  throw new Error("Function called outside component initialization");
142
142
  return ue;
143
143
  }
144
- function Wr(e) {
145
- Xr().$$.on_mount.push(e);
144
+ function Jr(e) {
145
+ Qr().$$.on_mount.push(e);
146
146
  }
147
- const Z = [], Ve = [];
147
+ const Z = [], Xe = [];
148
148
  let Q = [];
149
- const dt = [], zr = /* @__PURE__ */ Promise.resolve();
150
- let Xe = !1;
151
- function Zr() {
152
- Xe || (Xe = !0, zr.then(S));
149
+ const _t = [], qr = /* @__PURE__ */ Promise.resolve();
150
+ let We = !1;
151
+ function Yr() {
152
+ We || (We = !0, qr.then(S));
153
153
  }
154
- function We(e) {
154
+ function ze(e) {
155
155
  Q.push(e);
156
156
  }
157
157
  const Me = /* @__PURE__ */ new Set();
@@ -164,53 +164,53 @@ function S() {
164
164
  try {
165
165
  for (; W < Z.length; ) {
166
166
  const t = Z[W];
167
- W++, le(t), Qr(t.$$);
167
+ W++, le(t), Kr(t.$$);
168
168
  }
169
169
  } catch (t) {
170
170
  throw Z.length = 0, W = 0, t;
171
171
  }
172
- for (le(null), Z.length = 0, W = 0; Ve.length; )
173
- Ve.pop()();
172
+ for (le(null), Z.length = 0, W = 0; Xe.length; )
173
+ Xe.pop()();
174
174
  for (let t = 0; t < Q.length; t += 1) {
175
175
  const r = Q[t];
176
176
  Me.has(r) || (Me.add(r), r());
177
177
  }
178
178
  Q.length = 0;
179
179
  } while (Z.length);
180
- for (; dt.length; )
181
- dt.pop()();
182
- Xe = !1, Me.clear(), le(e);
180
+ for (; _t.length; )
181
+ _t.pop()();
182
+ We = !1, Me.clear(), le(e);
183
183
  }
184
- function Qr(e) {
184
+ function Kr(e) {
185
185
  if (e.fragment !== null) {
186
186
  e.update(), ce(e.before_update);
187
187
  const t = e.dirty;
188
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
188
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
189
189
  }
190
190
  }
191
- function Jr(e) {
191
+ function ei(e) {
192
192
  const t = [], r = [];
193
193
  Q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Q = t;
194
194
  }
195
- const qr = /* @__PURE__ */ new Set();
196
- function Yr(e, t) {
197
- e && e.i && (qr.delete(e), e.i(t));
195
+ const ti = /* @__PURE__ */ new Set();
196
+ function ri(e, t) {
197
+ e && e.i && (ti.delete(e), e.i(t));
198
198
  }
199
- function Kr(e, t, r) {
199
+ function ii(e, t, r) {
200
200
  const { fragment: i, after_update: n } = e.$$;
201
- i && i.m(t, r), We(() => {
202
- const o = e.$$.on_mount.map(Vt).filter(st);
201
+ i && i.m(t, r), ze(() => {
202
+ const o = e.$$.on_mount.map(zt).filter(at);
203
203
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
204
- }), n.forEach(We);
204
+ }), n.forEach(ze);
205
205
  }
206
- function ei(e, t) {
206
+ function ni(e, t) {
207
207
  const r = e.$$;
208
- r.fragment !== null && (Jr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
208
+ r.fragment !== null && (ei(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
209
209
  }
210
- function ti(e, t) {
211
- e.$$.dirty[0] === -1 && (Z.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
210
+ function oi(e, t) {
211
+ e.$$.dirty[0] === -1 && (Z.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
212
212
  }
213
- function ri(e, t, r, i, n, o, l = null, u = [-1]) {
213
+ function si(e, t, r, i, n, o, l = null, u = [-1]) {
214
214
  const h = ue;
215
215
  le(e);
216
216
  const s = e.$$ = {
@@ -220,7 +220,7 @@ function ri(e, t, r, i, n, o, l = null, u = [-1]) {
220
220
  props: o,
221
221
  update: C,
222
222
  not_equal: n,
223
- bound: pt(),
223
+ bound: gt(),
224
224
  // lifecycle
225
225
  on_mount: [],
226
226
  on_destroy: [],
@@ -229,7 +229,7 @@ function ri(e, t, r, i, n, o, l = null, u = [-1]) {
229
229
  after_update: [],
230
230
  context: new Map(t.context || (h ? h.$$.context : [])),
231
231
  // everything else
232
- callbacks: pt(),
232
+ callbacks: gt(),
233
233
  dirty: u,
234
234
  skip_bound: !1,
235
235
  root: t.target || h.$$.root
@@ -237,40 +237,40 @@ function ri(e, t, r, i, n, o, l = null, u = [-1]) {
237
237
  l && l(s.root);
238
238
  let a = !1;
239
239
  if (s.ctx = r ? r(e, t.props || {}, (f, m, ...y) => {
240
- const T = y.length ? y[0] : m;
241
- return s.ctx && n(s.ctx[f], s.ctx[f] = T) && (!s.skip_bound && s.bound[f] && s.bound[f](T), a && ti(e, f)), m;
240
+ const H = y.length ? y[0] : m;
241
+ return s.ctx && n(s.ctx[f], s.ctx[f] = H) && (!s.skip_bound && s.bound[f] && s.bound[f](H), a && oi(e, f)), m;
242
242
  }) : [], s.update(), a = !0, ce(s.before_update), s.fragment = i ? i(s.ctx) : !1, t.target) {
243
243
  if (t.hydrate) {
244
- const f = jr(t.target);
245
- s.fragment && s.fragment.l(f), f.forEach(H);
244
+ const f = zr(t.target);
245
+ s.fragment && s.fragment.l(f), f.forEach(T);
246
246
  } else
247
247
  s.fragment && s.fragment.c();
248
- t.intro && Yr(e.$$.fragment), Kr(e, t.target, t.anchor), S();
248
+ t.intro && ri(e.$$.fragment), ii(e, t.target, t.anchor), S();
249
249
  }
250
250
  le(h);
251
251
  }
252
- let zt;
253
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
252
+ let Jt;
253
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
254
254
  constructor(t, r, i) {
255
255
  super();
256
256
  /** The Svelte component constructor */
257
- k(this, "$$ctor");
257
+ O(this, "$$ctor");
258
258
  /** Slots */
259
- k(this, "$$s");
259
+ O(this, "$$s");
260
260
  /** The Svelte component instance */
261
- k(this, "$$c");
261
+ O(this, "$$c");
262
262
  /** Whether or not the custom element is connected */
263
- k(this, "$$cn", !1);
263
+ O(this, "$$cn", !1);
264
264
  /** Component props data */
265
- k(this, "$$d", {});
265
+ O(this, "$$d", {});
266
266
  /** `true` if currently in the process of reflecting component props back to attributes */
267
- k(this, "$$r", !1);
267
+ O(this, "$$r", !1);
268
268
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
269
- k(this, "$$p_d", {});
269
+ O(this, "$$p_d", {});
270
270
  /** @type {Record<string, Function[]>} Event listeners */
271
- k(this, "$$l", {});
271
+ O(this, "$$l", {});
272
272
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
273
- k(this, "$$l_u", /* @__PURE__ */ new Map());
273
+ O(this, "$$l_u", /* @__PURE__ */ new Map());
274
274
  this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
275
275
  }
276
276
  addEventListener(t, r, i) {
@@ -287,7 +287,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
287
287
  }
288
288
  }
289
289
  connectedCallback() {
290
- return mt(this, null, function* () {
290
+ return bt(this, null, function* () {
291
291
  if (this.$$cn = !0, !this.$$c) {
292
292
  let t = function(o) {
293
293
  return () => {
@@ -304,14 +304,14 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
304
304
  L(s, l, a);
305
305
  },
306
306
  d: function(s) {
307
- s && H(l);
307
+ s && T(l);
308
308
  }
309
309
  };
310
310
  };
311
311
  };
312
312
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
313
313
  return;
314
- const r = {}, i = Vr(this);
314
+ const r = {}, i = Zr(this);
315
315
  for (const o of this.$$s)
316
316
  o in i && (r[o] = [t(o)]);
317
317
  for (const o of this.attributes) {
@@ -322,7 +322,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
322
322
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
323
323
  this.$$c = new this.$$ctor({
324
324
  target: this.shadowRoot || this,
325
- props: ct(ft({}, this.$$d), {
325
+ props: dt(pt({}, this.$$d), {
326
326
  $$slots: r,
327
327
  $$scope: {
328
328
  ctx: []
@@ -400,8 +400,8 @@ function Ee(e, t, r, i) {
400
400
  return t;
401
401
  }
402
402
  }
403
- function ii(e, t, r, i, n, o) {
404
- let l = class extends zt {
403
+ function ai(e, t, r, i, n, o) {
404
+ let l = class extends Jt {
405
405
  constructor() {
406
406
  super(e, r, n), this.$$p_d = t;
407
407
  }
@@ -431,7 +431,7 @@ function ii(e, t, r, i, n, o) {
431
431
  }), e.element = /** @type {any} */
432
432
  l, l;
433
433
  }
434
- class ni {
434
+ class li {
435
435
  constructor() {
436
436
  /**
437
437
  * ### PRIVATE API
@@ -440,7 +440,7 @@ class ni {
440
440
  *
441
441
  * @type {any}
442
442
  */
443
- k(this, "$$");
443
+ O(this, "$$");
444
444
  /**
445
445
  * ### PRIVATE API
446
446
  *
@@ -448,11 +448,11 @@ class ni {
448
448
  *
449
449
  * @type {any}
450
450
  */
451
- k(this, "$$set");
451
+ O(this, "$$set");
452
452
  }
453
453
  /** @returns {void} */
454
454
  $destroy() {
455
- ei(this, 1), this.$destroy = C;
455
+ ni(this, 1), this.$destroy = C;
456
456
  }
457
457
  /**
458
458
  * @template {Extract<keyof Events, string>} K
@@ -461,7 +461,7 @@ class ni {
461
461
  * @returns {() => void}
462
462
  */
463
463
  $on(t, r) {
464
- if (!st(r))
464
+ if (!at(r))
465
465
  return C;
466
466
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
467
467
  return i.push(r), () => {
@@ -474,11 +474,11 @@ class ni {
474
474
  * @returns {void}
475
475
  */
476
476
  $set(t) {
477
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
477
+ this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
478
  }
479
479
  }
480
- const oi = "4";
481
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(oi);
480
+ const ui = "4";
481
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ui);
482
482
  /*! *****************************************************************************
483
483
  Copyright (c) Microsoft Corporation.
484
484
 
@@ -493,18 +493,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
493
493
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
494
494
  PERFORMANCE OF THIS SOFTWARE.
495
495
  ***************************************************************************** */
496
- var ze = function(e, t) {
497
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
496
+ var Ze = function(e, t) {
497
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
498
498
  r.__proto__ = i;
499
499
  } || function(r, i) {
500
500
  for (var n in i)
501
501
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
502
- }, ze(e, t);
502
+ }, Ze(e, t);
503
503
  };
504
- function D(e, t) {
504
+ function R(e, t) {
505
505
  if (typeof t != "function" && t !== null)
506
506
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
507
- ze(e, t);
507
+ Ze(e, t);
508
508
  function r() {
509
509
  this.constructor = e;
510
510
  }
@@ -520,7 +520,7 @@ var E = function() {
520
520
  return t;
521
521
  }, E.apply(this, arguments);
522
522
  };
523
- function si(e, t) {
523
+ function hi(e, t) {
524
524
  var r = {};
525
525
  for (var i in e)
526
526
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -529,7 +529,7 @@ function si(e, t) {
529
529
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
530
530
  return r;
531
531
  }
532
- function Ze(e) {
532
+ function Qe(e) {
533
533
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
534
534
  if (r)
535
535
  return r.call(e);
@@ -541,7 +541,7 @@ function Ze(e) {
541
541
  };
542
542
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
543
543
  }
544
- function Qe(e, t) {
544
+ function Je(e, t) {
545
545
  var r = typeof Symbol == "function" && e[Symbol.iterator];
546
546
  if (!r)
547
547
  return e;
@@ -567,16 +567,16 @@ function J(e, t, r) {
567
567
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
568
568
  return e.concat(o || t);
569
569
  }
570
- function R(e) {
570
+ function D(e) {
571
571
  return typeof e == "function";
572
572
  }
573
- function Zt(e) {
573
+ function qt(e) {
574
574
  var t = function(i) {
575
575
  Error.call(i), i.stack = new Error().stack;
576
576
  }, r = e(t);
577
577
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
578
578
  }
579
- var Re = Zt(function(e) {
579
+ var De = qt(function(e) {
580
580
  return function(r) {
581
581
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
582
582
  ` + r.map(function(i, n) {
@@ -585,7 +585,7 @@ var Re = Zt(function(e) {
585
585
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
586
586
  };
587
587
  });
588
- function Je(e, t) {
588
+ function qe(e, t) {
589
589
  if (e) {
590
590
  var r = e.indexOf(t);
591
591
  0 <= r && e.splice(r, 1);
@@ -603,7 +603,7 @@ var Fe = function() {
603
603
  if (l)
604
604
  if (this._parentage = null, Array.isArray(l))
605
605
  try {
606
- for (var u = Ze(l), h = u.next(); !h.done; h = u.next()) {
606
+ for (var u = Qe(l), h = u.next(); !h.done; h = u.next()) {
607
607
  var s = h.value;
608
608
  s.remove(this);
609
609
  }
@@ -620,22 +620,22 @@ var Fe = function() {
620
620
  else
621
621
  l.remove(this);
622
622
  var a = this.initialTeardown;
623
- if (R(a))
623
+ if (D(a))
624
624
  try {
625
625
  a();
626
626
  } catch (I) {
627
- o = I instanceof Re ? I.errors : [I];
627
+ o = I instanceof De ? I.errors : [I];
628
628
  }
629
629
  var f = this._finalizers;
630
630
  if (f) {
631
631
  this._finalizers = null;
632
632
  try {
633
- for (var m = Ze(f), y = m.next(); !y.done; y = m.next()) {
634
- var T = y.value;
633
+ for (var m = Qe(f), y = m.next(); !y.done; y = m.next()) {
634
+ var H = y.value;
635
635
  try {
636
- bt(T);
636
+ vt(H);
637
637
  } catch (I) {
638
- o = o != null ? o : [], I instanceof Re ? o = J(J([], Qe(o)), Qe(I.errors)) : o.push(I);
638
+ o = o != null ? o : [], I instanceof De ? o = J(J([], Je(o)), Je(I.errors)) : o.push(I);
639
639
  }
640
640
  }
641
641
  } catch (I) {
@@ -650,13 +650,13 @@ var Fe = function() {
650
650
  }
651
651
  }
652
652
  if (o)
653
- throw new Re(o);
653
+ throw new De(o);
654
654
  }
655
655
  }, e.prototype.add = function(t) {
656
656
  var r;
657
657
  if (t && t !== this)
658
658
  if (this.closed)
659
- bt(t);
659
+ vt(t);
660
660
  else {
661
661
  if (t instanceof e) {
662
662
  if (t.closed || t._hasParent(this))
@@ -673,52 +673,56 @@ var Fe = function() {
673
673
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
674
674
  }, e.prototype._removeParent = function(t) {
675
675
  var r = this._parentage;
676
- r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
676
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
677
677
  }, e.prototype.remove = function(t) {
678
678
  var r = this._finalizers;
679
- r && Je(r, t), t instanceof e && t._removeParent(this);
679
+ r && qe(r, t), t instanceof e && t._removeParent(this);
680
680
  }, e.EMPTY = function() {
681
681
  var t = new e();
682
682
  return t.closed = !0, t;
683
683
  }(), e;
684
- }(), Qt = Fe.EMPTY;
685
- function Jt(e) {
686
- return e instanceof Fe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
687
- }
688
- function bt(e) {
689
- R(e) ? e() : e.unsubscribe();
684
+ }(), Yt = Fe.EMPTY;
685
+ function Kt(e) {
686
+ return e instanceof Fe || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
690
687
  }
691
- var ai = {
692
- Promise: void 0
693
- }, li = {
688
+ function vt(e) {
689
+ D(e) ? e() : e.unsubscribe();
690
+ }
691
+ var er = {
692
+ onUnhandledError: null,
693
+ onStoppedNotification: null,
694
+ Promise: void 0,
695
+ useDeprecatedSynchronousErrorHandling: !1,
696
+ useDeprecatedNextContext: !1
697
+ }, fi = {
694
698
  setTimeout: function(e, t) {
695
699
  for (var r = [], i = 2; i < arguments.length; i++)
696
700
  r[i - 2] = arguments[i];
697
- return setTimeout.apply(void 0, J([e, t], Qe(r)));
701
+ return setTimeout.apply(void 0, J([e, t], Je(r)));
698
702
  },
699
703
  clearTimeout: function(e) {
700
704
  return clearTimeout(e);
701
705
  },
702
706
  delegate: void 0
703
707
  };
704
- function ui(e) {
705
- li.setTimeout(function() {
708
+ function ci(e) {
709
+ fi.setTimeout(function() {
706
710
  throw e;
707
711
  });
708
712
  }
709
- function gt() {
713
+ function yt() {
710
714
  }
711
715
  function Ie(e) {
712
716
  e();
713
717
  }
714
- var qt = function(e) {
715
- D(t, e);
718
+ var tr = function(e) {
719
+ R(t, e);
716
720
  function t(r) {
717
721
  var i = e.call(this) || this;
718
- return i.isStopped = !1, r ? (i.destination = r, Jt(r) && r.add(i)) : i.destination = ci, i;
722
+ return i.isStopped = !1, r ? (i.destination = r, Kt(r) && r.add(i)) : i.destination = bi, i;
719
723
  }
720
724
  return t.create = function(r, i, n) {
721
- return new qe(r, i, n);
725
+ return new Ye(r, i, n);
722
726
  }, t.prototype.next = function(r) {
723
727
  this.isStopped || this._next(r);
724
728
  }, t.prototype.error = function(r) {
@@ -742,7 +746,11 @@ var qt = function(e) {
742
746
  this.unsubscribe();
743
747
  }
744
748
  }, t;
745
- }(Fe), hi = function() {
749
+ }(Fe), mi = Function.prototype.bind;
750
+ function Re(e, t) {
751
+ return mi.call(e, t);
752
+ }
753
+ var pi = function() {
746
754
  function e(t) {
747
755
  this.partialObserver = t;
748
756
  }
@@ -773,43 +781,55 @@ var qt = function(e) {
773
781
  ve(r);
774
782
  }
775
783
  }, e;
776
- }(), qe = function(e) {
777
- D(t, e);
784
+ }(), Ye = function(e) {
785
+ R(t, e);
778
786
  function t(r, i, n) {
779
787
  var o = e.call(this) || this, l;
780
- return R(r) || !r ? l = {
781
- next: r != null ? r : void 0,
782
- error: i != null ? i : void 0,
783
- complete: n != null ? n : void 0
784
- } : l = r, o.destination = new hi(l), o;
788
+ if (D(r) || !r)
789
+ l = {
790
+ next: r != null ? r : void 0,
791
+ error: i != null ? i : void 0,
792
+ complete: n != null ? n : void 0
793
+ };
794
+ else {
795
+ var u;
796
+ o && er.useDeprecatedNextContext ? (u = Object.create(r), u.unsubscribe = function() {
797
+ return o.unsubscribe();
798
+ }, l = {
799
+ next: r.next && Re(r.next, u),
800
+ error: r.error && Re(r.error, u),
801
+ complete: r.complete && Re(r.complete, u)
802
+ }) : l = r;
803
+ }
804
+ return o.destination = new pi(l), o;
785
805
  }
786
806
  return t;
787
- }(qt);
807
+ }(tr);
788
808
  function ve(e) {
789
- ui(e);
809
+ ci(e);
790
810
  }
791
- function fi(e) {
811
+ function di(e) {
792
812
  throw e;
793
813
  }
794
- var ci = {
814
+ var bi = {
795
815
  closed: !0,
796
- next: gt,
797
- error: fi,
798
- complete: gt
799
- }, mi = function() {
816
+ next: yt,
817
+ error: di,
818
+ complete: yt
819
+ }, gi = function() {
800
820
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
801
821
  }();
802
- function pi(e) {
822
+ function _i(e) {
803
823
  return e;
804
824
  }
805
- function di(e) {
806
- return e.length === 0 ? pi : e.length === 1 ? e[0] : function(r) {
825
+ function vi(e) {
826
+ return e.length === 0 ? _i : e.length === 1 ? e[0] : function(r) {
807
827
  return e.reduce(function(i, n) {
808
828
  return n(i);
809
829
  }, r);
810
830
  };
811
831
  }
812
- var _t = function() {
832
+ var Et = function() {
813
833
  function e(t) {
814
834
  t && (this._subscribe = t);
815
835
  }
@@ -817,7 +837,7 @@ var _t = function() {
817
837
  var r = new e();
818
838
  return r.source = this, r.operator = t, r;
819
839
  }, e.prototype.subscribe = function(t, r, i) {
820
- var n = this, o = gi(t) ? t : new qe(t, r, i);
840
+ var n = this, o = Ei(t) ? t : new Ye(t, r, i);
821
841
  return Ie(function() {
822
842
  var l = n, u = l.operator, h = l.source;
823
843
  o.add(u ? u.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
@@ -830,8 +850,8 @@ var _t = function() {
830
850
  }
831
851
  }, e.prototype.forEach = function(t, r) {
832
852
  var i = this;
833
- return r = vt(r), new r(function(n, o) {
834
- var l = new qe({
853
+ return r = It(r), new r(function(n, o) {
854
+ var l = new Ye({
835
855
  next: function(u) {
836
856
  try {
837
857
  t(u);
@@ -847,15 +867,15 @@ var _t = function() {
847
867
  }, e.prototype._subscribe = function(t) {
848
868
  var r;
849
869
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
850
- }, e.prototype[mi] = function() {
870
+ }, e.prototype[gi] = function() {
851
871
  return this;
852
872
  }, e.prototype.pipe = function() {
853
873
  for (var t = [], r = 0; r < arguments.length; r++)
854
874
  t[r] = arguments[r];
855
- return di(t)(this);
875
+ return vi(t)(this);
856
876
  }, e.prototype.toPromise = function(t) {
857
877
  var r = this;
858
- return t = vt(t), new t(function(i, n) {
878
+ return t = It(t), new t(function(i, n) {
859
879
  var o;
860
880
  r.subscribe(function(l) {
861
881
  return o = l;
@@ -869,32 +889,32 @@ var _t = function() {
869
889
  return new e(t);
870
890
  }, e;
871
891
  }();
872
- function vt(e) {
892
+ function It(e) {
873
893
  var t;
874
- return (t = e != null ? e : ai.Promise) !== null && t !== void 0 ? t : Promise;
894
+ return (t = e != null ? e : er.Promise) !== null && t !== void 0 ? t : Promise;
875
895
  }
876
- function bi(e) {
877
- return e && R(e.next) && R(e.error) && R(e.complete);
896
+ function yi(e) {
897
+ return e && D(e.next) && D(e.error) && D(e.complete);
878
898
  }
879
- function gi(e) {
880
- return e && e instanceof qt || bi(e) && Jt(e);
899
+ function Ei(e) {
900
+ return e && e instanceof tr || yi(e) && Kt(e);
881
901
  }
882
- var _i = Zt(function(e) {
902
+ var Ii = qt(function(e) {
883
903
  return function() {
884
904
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
885
905
  };
886
- }), Yt = function(e) {
887
- D(t, e);
906
+ }), rr = function(e) {
907
+ R(t, e);
888
908
  function t() {
889
909
  var r = e.call(this) || this;
890
910
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
891
911
  }
892
912
  return t.prototype.lift = function(r) {
893
- var i = new yt(this, this);
913
+ var i = new St(this, this);
894
914
  return i.operator = r, i;
895
915
  }, t.prototype._throwIfClosed = function() {
896
916
  if (this.closed)
897
- throw new _i();
917
+ throw new Ii();
898
918
  }, t.prototype.next = function(r) {
899
919
  var i = this;
900
920
  Ie(function() {
@@ -902,7 +922,7 @@ var _i = Zt(function(e) {
902
922
  if (i._throwIfClosed(), !i.isStopped) {
903
923
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
904
924
  try {
905
- for (var l = Ze(i.currentObservers), u = l.next(); !u.done; u = l.next()) {
925
+ for (var l = Qe(i.currentObservers), u = l.next(); !u.done; u = l.next()) {
906
926
  var h = u.value;
907
927
  h.next(r);
908
928
  }
@@ -951,20 +971,20 @@ var _i = Zt(function(e) {
951
971
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
952
972
  }, t.prototype._innerSubscribe = function(r) {
953
973
  var i = this, n = this, o = n.hasError, l = n.isStopped, u = n.observers;
954
- return o || l ? Qt : (this.currentObservers = null, u.push(r), new Fe(function() {
955
- i.currentObservers = null, Je(u, r);
974
+ return o || l ? Yt : (this.currentObservers = null, u.push(r), new Fe(function() {
975
+ i.currentObservers = null, qe(u, r);
956
976
  }));
957
977
  }, t.prototype._checkFinalizedStatuses = function(r) {
958
978
  var i = this, n = i.hasError, o = i.thrownError, l = i.isStopped;
959
979
  n ? r.error(o) : l && r.complete();
960
980
  }, t.prototype.asObservable = function() {
961
- var r = new _t();
981
+ var r = new Et();
962
982
  return r.source = this, r;
963
983
  }, t.create = function(r, i) {
964
- return new yt(r, i);
984
+ return new St(r, i);
965
985
  }, t;
966
- }(_t), yt = function(e) {
967
- D(t, e);
986
+ }(Et), St = function(e) {
987
+ R(t, e);
968
988
  function t(r, i) {
969
989
  var n = e.call(this) || this;
970
990
  return n.destination = r, n.source = i, n;
@@ -980,17 +1000,17 @@ var _i = Zt(function(e) {
980
1000
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
981
1001
  }, t.prototype._subscribe = function(r) {
982
1002
  var i, n;
983
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Qt;
1003
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Yt;
984
1004
  }, t;
985
- }(Yt), Kt = {
1005
+ }(rr), ir = {
986
1006
  now: function() {
987
- return (Kt.delegate || Date).now();
1007
+ return (ir.delegate || Date).now();
988
1008
  },
989
1009
  delegate: void 0
990
- }, vi = function(e) {
991
- D(t, e);
1010
+ }, Si = function(e) {
1011
+ R(t, e);
992
1012
  function t(r, i, n) {
993
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Kt);
1013
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = ir);
994
1014
  var o = e.call(this) || this;
995
1015
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
996
1016
  }
@@ -1010,15 +1030,15 @@ var _i = Zt(function(e) {
1010
1030
  s && o.splice(0, s + 1);
1011
1031
  }
1012
1032
  }, t;
1013
- }(Yt);
1014
- const Et = [], It = {}, yi = (e, t = 0) => {
1015
- if (Et.indexOf(e) == -1) {
1016
- const r = new vi(t);
1017
- It[e] = r, Et.push(e);
1033
+ }(rr);
1034
+ const Ht = [], Tt = {}, Hi = (e, t = 0) => {
1035
+ if (Ht.indexOf(e) == -1) {
1036
+ const r = new Si(t);
1037
+ Tt[e] = r, Ht.push(e);
1018
1038
  }
1019
- return It[e];
1039
+ return Tt[e];
1020
1040
  }, z = [];
1021
- function Ei(e, t) {
1041
+ function Ti(e, t) {
1022
1042
  return {
1023
1043
  subscribe: Le(e, t).subscribe
1024
1044
  };
@@ -1027,7 +1047,7 @@ function Le(e, t = C) {
1027
1047
  let r;
1028
1048
  const i = /* @__PURE__ */ new Set();
1029
1049
  function n(u) {
1030
- if (Xt(e, u) && (e = u, r)) {
1050
+ if (Zt(e, u) && (e = u, r)) {
1031
1051
  const h = !z.length;
1032
1052
  for (const s of i)
1033
1053
  s[1](), z.push(s, e);
@@ -1054,7 +1074,7 @@ function ne(e, t, r) {
1054
1074
  if (!n.every(Boolean))
1055
1075
  throw new Error("derived() expects stores as input, got a falsy value");
1056
1076
  const o = t.length < 2;
1057
- return Ei(r, (l, u) => {
1077
+ return Ti(r, (l, u) => {
1058
1078
  let h = !1;
1059
1079
  const s = [];
1060
1080
  let a = 0, f = C;
@@ -1062,13 +1082,13 @@ function ne(e, t, r) {
1062
1082
  if (a)
1063
1083
  return;
1064
1084
  f();
1065
- const T = t(i ? s[0] : s, l, u);
1066
- o ? l(T) : f = st(T) ? T : C;
1085
+ const H = t(i ? s[0] : s, l, u);
1086
+ o ? l(H) : f = at(H) ? H : C;
1067
1087
  }, y = n.map(
1068
- (T, I) => Dr(
1069
- T,
1070
- (O) => {
1071
- s[I] = O, a &= ~(1 << I), h && m();
1088
+ (H, I) => jr(
1089
+ H,
1090
+ (k) => {
1091
+ s[I] = k, a &= ~(1 << I), h && m();
1072
1092
  },
1073
1093
  () => {
1074
1094
  a |= 1 << I;
@@ -1080,70 +1100,70 @@ function ne(e, t, r) {
1080
1100
  };
1081
1101
  });
1082
1102
  }
1083
- function Ii(e) {
1103
+ function Ai(e) {
1084
1104
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1085
1105
  }
1086
- var Si = function(t) {
1087
- return Ti(t) && !Hi(t);
1106
+ var Fi = function(t) {
1107
+ return Li(t) && !Pi(t);
1088
1108
  };
1089
- function Ti(e) {
1109
+ function Li(e) {
1090
1110
  return !!e && typeof e == "object";
1091
1111
  }
1092
- function Hi(e) {
1112
+ function Pi(e) {
1093
1113
  var t = Object.prototype.toString.call(e);
1094
- return t === "[object RegExp]" || t === "[object Date]" || Li(e);
1114
+ return t === "[object RegExp]" || t === "[object Date]" || xi(e);
1095
1115
  }
1096
- var Ai = typeof Symbol == "function" && Symbol.for, Fi = Ai ? Symbol.for("react.element") : 60103;
1097
- function Li(e) {
1098
- return e.$$typeof === Fi;
1116
+ var wi = typeof Symbol == "function" && Symbol.for, Bi = wi ? Symbol.for("react.element") : 60103;
1117
+ function xi(e) {
1118
+ return e.$$typeof === Bi;
1099
1119
  }
1100
- function Pi(e) {
1120
+ function ki(e) {
1101
1121
  return Array.isArray(e) ? [] : {};
1102
1122
  }
1103
1123
  function he(e, t) {
1104
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Pi(e), e, t) : e;
1124
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(ki(e), e, t) : e;
1105
1125
  }
1106
- function wi(e, t, r) {
1126
+ function Oi(e, t, r) {
1107
1127
  return e.concat(t).map(function(i) {
1108
1128
  return he(i, r);
1109
1129
  });
1110
1130
  }
1111
- function xi(e, t) {
1131
+ function Ci(e, t) {
1112
1132
  if (!t.customMerge)
1113
1133
  return q;
1114
1134
  var r = t.customMerge(e);
1115
1135
  return typeof r == "function" ? r : q;
1116
1136
  }
1117
- function Bi(e) {
1137
+ function Ni(e) {
1118
1138
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1119
1139
  return Object.propertyIsEnumerable.call(e, t);
1120
1140
  }) : [];
1121
1141
  }
1122
- function St(e) {
1123
- return Object.keys(e).concat(Bi(e));
1142
+ function At(e) {
1143
+ return Object.keys(e).concat(Ni(e));
1124
1144
  }
1125
- function er(e, t) {
1145
+ function nr(e, t) {
1126
1146
  try {
1127
1147
  return t in e;
1128
1148
  } catch (r) {
1129
1149
  return !1;
1130
1150
  }
1131
1151
  }
1132
- function Oi(e, t) {
1133
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1152
+ function Mi(e, t) {
1153
+ return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1134
1154
  }
1135
- function ki(e, t, r) {
1155
+ function Di(e, t, r) {
1136
1156
  var i = {};
1137
- return r.isMergeableObject(e) && St(e).forEach(function(n) {
1157
+ return r.isMergeableObject(e) && At(e).forEach(function(n) {
1138
1158
  i[n] = he(e[n], r);
1139
- }), St(t).forEach(function(n) {
1140
- Oi(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = xi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
1159
+ }), At(t).forEach(function(n) {
1160
+ Mi(e, n) || (nr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Ci(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
1141
1161
  }), i;
1142
1162
  }
1143
1163
  function q(e, t, r) {
1144
- r = r || {}, r.arrayMerge = r.arrayMerge || wi, r.isMergeableObject = r.isMergeableObject || Si, r.cloneUnlessOtherwiseSpecified = he;
1164
+ r = r || {}, r.arrayMerge = r.arrayMerge || Oi, r.isMergeableObject = r.isMergeableObject || Fi, r.cloneUnlessOtherwiseSpecified = he;
1145
1165
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1146
- return o ? i ? r.arrayMerge(e, t, r) : ki(e, t, r) : he(t, r);
1166
+ return o ? i ? r.arrayMerge(e, t, r) : Di(e, t, r) : he(t, r);
1147
1167
  }
1148
1168
  q.all = function(t, r) {
1149
1169
  if (!Array.isArray(t))
@@ -1152,56 +1172,58 @@ q.all = function(t, r) {
1152
1172
  return q(i, n, r);
1153
1173
  }, {});
1154
1174
  };
1155
- var Ci = q, Ni = Ci;
1156
- const Mi = /* @__PURE__ */ Ii(Ni);
1157
- function De(e, t) {
1158
- var r = t && t.cache ? t.cache : Vi, i = t && t.serializer ? t.serializer : $i, n = t && t.strategy ? t.strategy : Ui;
1175
+ var Ri = q, Ui = Ri;
1176
+ const Gi = /* @__PURE__ */ Ai(Ui);
1177
+ function Ue(e, t) {
1178
+ var r = t && t.cache ? t.cache : zi, i = t && t.serializer ? t.serializer : Wi, n = t && t.strategy ? t.strategy : ji;
1159
1179
  return n(e, {
1160
1180
  cache: r,
1161
1181
  serializer: i
1162
1182
  });
1163
1183
  }
1164
- function Ri(e) {
1184
+ function $i(e) {
1165
1185
  return e == null || typeof e == "number" || typeof e == "boolean";
1166
1186
  }
1167
- function Di(e, t, r, i) {
1168
- var n = Ri(i) ? i : r(i), o = t.get(n);
1187
+ function or(e, t, r, i) {
1188
+ var n = $i(i) ? i : r(i), o = t.get(n);
1169
1189
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
1170
1190
  }
1171
- function tr(e, t, r) {
1191
+ function sr(e, t, r) {
1172
1192
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1173
1193
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
1174
1194
  }
1175
- function rr(e, t, r, i, n) {
1195
+ function lt(e, t, r, i, n) {
1176
1196
  return r.bind(t, e, i, n);
1177
1197
  }
1178
- function Ui(e, t) {
1179
- var r = e.length === 1 ? Di : tr;
1180
- return rr(e, this, r, t.cache.create(), t.serializer);
1198
+ function ji(e, t) {
1199
+ var r = e.length === 1 ? or : sr;
1200
+ return lt(e, this, r, t.cache.create(), t.serializer);
1201
+ }
1202
+ function Vi(e, t) {
1203
+ return lt(e, this, sr, t.cache.create(), t.serializer);
1181
1204
  }
1182
- function Gi(e, t) {
1183
- return rr(e, this, tr, t.cache.create(), t.serializer);
1205
+ function Xi(e, t) {
1206
+ return lt(e, this, or, t.cache.create(), t.serializer);
1184
1207
  }
1185
- var $i = function() {
1208
+ var Wi = function() {
1186
1209
  return JSON.stringify(arguments);
1187
- }, ji = (
1188
- /** @class */
1189
- function() {
1190
- function e() {
1191
- this.cache = /* @__PURE__ */ Object.create(null);
1192
- }
1193
- return e.prototype.get = function(t) {
1194
- return this.cache[t];
1195
- }, e.prototype.set = function(t, r) {
1196
- this.cache[t] = r;
1197
- }, e;
1198
- }()
1199
- ), Vi = {
1210
+ };
1211
+ function ut() {
1212
+ this.cache = /* @__PURE__ */ Object.create(null);
1213
+ }
1214
+ ut.prototype.get = function(e) {
1215
+ return this.cache[e];
1216
+ };
1217
+ ut.prototype.set = function(e, t) {
1218
+ this.cache[e] = t;
1219
+ };
1220
+ var zi = {
1200
1221
  create: function() {
1201
- return new ji();
1222
+ return new ut();
1202
1223
  }
1203
- }, Ue = {
1204
- variadic: Gi
1224
+ }, Ge = {
1225
+ variadic: Vi,
1226
+ monadic: Xi
1205
1227
  }, g;
1206
1228
  (function(e) {
1207
1229
  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";
@@ -1214,43 +1236,43 @@ var Y;
1214
1236
  (function(e) {
1215
1237
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1216
1238
  })(Y || (Y = {}));
1217
- function Tt(e) {
1239
+ function Ft(e) {
1218
1240
  return e.type === A.literal;
1219
1241
  }
1220
- function Xi(e) {
1242
+ function Zi(e) {
1221
1243
  return e.type === A.argument;
1222
1244
  }
1223
- function ir(e) {
1245
+ function ar(e) {
1224
1246
  return e.type === A.number;
1225
1247
  }
1226
- function nr(e) {
1248
+ function lr(e) {
1227
1249
  return e.type === A.date;
1228
1250
  }
1229
- function or(e) {
1251
+ function ur(e) {
1230
1252
  return e.type === A.time;
1231
1253
  }
1232
- function sr(e) {
1254
+ function hr(e) {
1233
1255
  return e.type === A.select;
1234
1256
  }
1235
- function ar(e) {
1257
+ function fr(e) {
1236
1258
  return e.type === A.plural;
1237
1259
  }
1238
- function Wi(e) {
1260
+ function Qi(e) {
1239
1261
  return e.type === A.pound;
1240
1262
  }
1241
- function lr(e) {
1263
+ function cr(e) {
1242
1264
  return e.type === A.tag;
1243
1265
  }
1244
- function ur(e) {
1266
+ function mr(e) {
1245
1267
  return !!(e && typeof e == "object" && e.type === Y.number);
1246
1268
  }
1247
- function Ye(e) {
1269
+ function Ke(e) {
1248
1270
  return !!(e && typeof e == "object" && e.type === Y.dateTime);
1249
1271
  }
1250
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zi = /(?:[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;
1251
- function Zi(e) {
1272
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ji = /(?:[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;
1273
+ function qi(e) {
1252
1274
  var t = {};
1253
- return e.replace(zi, function(r) {
1275
+ return e.replace(Ji, function(r) {
1254
1276
  var i = r.length;
1255
1277
  switch (r[0]) {
1256
1278
  case "G":
@@ -1339,11 +1361,11 @@ function Zi(e) {
1339
1361
  return "";
1340
1362
  }), t;
1341
1363
  }
1342
- var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
- function Ji(e) {
1364
+ var Yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1365
+ function Ki(e) {
1344
1366
  if (e.length === 0)
1345
1367
  throw new Error("Number skeleton cannot be empty");
1346
- for (var t = e.split(Qi).filter(function(m) {
1368
+ for (var t = e.split(Yi).filter(function(m) {
1347
1369
  return m.length > 0;
1348
1370
  }), r = [], i = 0, n = t; i < n.length; i++) {
1349
1371
  var o = n[i], l = o.split("/");
@@ -1358,17 +1380,17 @@ function Ji(e) {
1358
1380
  }
1359
1381
  return r;
1360
1382
  }
1361
- function qi(e) {
1383
+ function en(e) {
1362
1384
  return e.replace(/^(.*?)-/, "");
1363
1385
  }
1364
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
1365
- function At(e) {
1386
+ var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1387
+ function Pt(e) {
1366
1388
  var t = {};
1367
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
1389
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, i, n) {
1368
1390
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
1369
1391
  }), t;
1370
1392
  }
1371
- function mr(e) {
1393
+ function gr(e) {
1372
1394
  switch (e) {
1373
1395
  case "sign-auto":
1374
1396
  return {
@@ -1408,7 +1430,7 @@ function mr(e) {
1408
1430
  };
1409
1431
  }
1410
1432
  }
1411
- function Ki(e) {
1433
+ function rn(e) {
1412
1434
  var t;
1413
1435
  if (e[0] === "E" && e[1] === "E" ? (t = {
1414
1436
  notation: "engineering"
@@ -1416,17 +1438,17 @@ function Ki(e) {
1416
1438
  notation: "scientific"
1417
1439
  }, e = e.slice(1)), t) {
1418
1440
  var r = e.slice(0, 2);
1419
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1441
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
1420
1442
  throw new Error("Malformed concise eng/scientific notation");
1421
1443
  t.minimumIntegerDigits = e.length;
1422
1444
  }
1423
1445
  return t;
1424
1446
  }
1425
- function Ft(e) {
1426
- var t = {}, r = mr(e);
1447
+ function wt(e) {
1448
+ var t = {}, r = gr(e);
1427
1449
  return r || t;
1428
1450
  }
1429
- function en(e) {
1451
+ function nn(e) {
1430
1452
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1431
1453
  var n = i[r];
1432
1454
  switch (n.stem) {
@@ -1450,7 +1472,7 @@ function en(e) {
1450
1472
  continue;
1451
1473
  case "measure-unit":
1452
1474
  case "unit":
1453
- t.style = "unit", t.unit = qi(n.options[0]);
1475
+ t.style = "unit", t.unit = en(n.options[0]);
1454
1476
  continue;
1455
1477
  case "compact-short":
1456
1478
  case "K":
@@ -1462,12 +1484,12 @@ function en(e) {
1462
1484
  continue;
1463
1485
  case "scientific":
1464
1486
  t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, s) {
1465
- return E(E({}, h), Ft(s));
1487
+ return E(E({}, h), wt(s));
1466
1488
  }, {}));
1467
1489
  continue;
1468
1490
  case "engineering":
1469
1491
  t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, s) {
1470
- return E(E({}, h), Ft(s));
1492
+ return E(E({}, h), wt(s));
1471
1493
  }, {}));
1472
1494
  continue;
1473
1495
  case "notation-simple":
@@ -1512,7 +1534,7 @@ function en(e) {
1512
1534
  case "integer-width":
1513
1535
  if (n.options.length > 1)
1514
1536
  throw new RangeError("integer-width stems only accept a single optional option");
1515
- n.options[0].replace(Yi, function(h, s, a, f, m, y) {
1537
+ n.options[0].replace(tn, function(h, s, a, f, m, y) {
1516
1538
  if (s)
1517
1539
  t.minimumIntegerDigits = a.length;
1518
1540
  else {
@@ -1525,27 +1547,27 @@ function en(e) {
1525
1547
  });
1526
1548
  continue;
1527
1549
  }
1528
- if (cr.test(n.stem)) {
1550
+ if (br.test(n.stem)) {
1529
1551
  t.minimumIntegerDigits = n.stem.length;
1530
1552
  continue;
1531
1553
  }
1532
- if (Ht.test(n.stem)) {
1554
+ if (Lt.test(n.stem)) {
1533
1555
  if (n.options.length > 1)
1534
1556
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1535
- n.stem.replace(Ht, function(h, s, a, f, m, y) {
1557
+ n.stem.replace(Lt, function(h, s, a, f, m, y) {
1536
1558
  return a === "*" ? t.minimumFractionDigits = s.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
1537
1559
  });
1538
1560
  var o = n.options[0];
1539
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), At(o)));
1561
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
1540
1562
  continue;
1541
1563
  }
1542
- if (fr.test(n.stem)) {
1543
- t = E(E({}, t), At(n.stem));
1564
+ if (dr.test(n.stem)) {
1565
+ t = E(E({}, t), Pt(n.stem));
1544
1566
  continue;
1545
1567
  }
1546
- var l = mr(n.stem);
1568
+ var l = gr(n.stem);
1547
1569
  l && (t = E(E({}, t), l));
1548
- var u = Ki(n.stem);
1570
+ var u = rn(n.stem);
1549
1571
  u && (t = E(E({}, t), u));
1550
1572
  }
1551
1573
  return t;
@@ -2965,13 +2987,13 @@ var ye = {
2965
2987
  "h"
2966
2988
  ]
2967
2989
  };
2968
- function tn(e, t) {
2990
+ function on(e, t) {
2969
2991
  for (var r = "", i = 0; i < e.length; i++) {
2970
2992
  var n = e.charAt(i);
2971
2993
  if (n === "j") {
2972
2994
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2973
2995
  o++, i++;
2974
- var l = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", s = rn(t);
2996
+ var l = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", s = sn(t);
2975
2997
  for ((s == "H" || s == "k") && (u = 0); u-- > 0; )
2976
2998
  r += h;
2977
2999
  for (; l-- > 0; )
@@ -2981,7 +3003,7 @@ function tn(e, t) {
2981
3003
  }
2982
3004
  return r;
2983
3005
  }
2984
- function rn(e) {
3006
+ function sn(e) {
2985
3007
  var t = e.hourCycle;
2986
3008
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2987
3009
  e.hourCycles && // @ts-ignore
@@ -3003,20 +3025,20 @@ function rn(e) {
3003
3025
  var n = ye[i || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3004
3026
  return n[0];
3005
3027
  }
3006
- var Ge, nn = new RegExp("^".concat(hr.source, "*")), on = new RegExp("".concat(hr.source, "*$"));
3028
+ var $e, an = new RegExp("^".concat(pr.source, "*")), ln = new RegExp("".concat(pr.source, "*$"));
3007
3029
  function v(e, t) {
3008
3030
  return { start: e, end: t };
3009
3031
  }
3010
- var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, ln = !!Object.fromEntries, un = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, mn = cn ? Number.isSafeInteger : function(e) {
3032
+ var un = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String.fromCodePoint, fn = !!Object.fromEntries, cn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, pn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, bn = dn ? Number.isSafeInteger : function(e) {
3011
3033
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3012
- }, Ke = !0;
3034
+ }, et = !0;
3013
3035
  try {
3014
- var pn = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
- Ke = ((Ge = pn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3036
+ var gn = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3037
+ et = (($e = gn.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3016
3038
  } catch (e) {
3017
- Ke = !1;
3039
+ et = !1;
3018
3040
  }
3019
- var Lt = sn ? (
3041
+ var Bt = un ? (
3020
3042
  // Native
3021
3043
  function(t, r, i) {
3022
3044
  return t.startsWith(r, i);
@@ -3026,7 +3048,7 @@ var Lt = sn ? (
3026
3048
  function(t, r, i) {
3027
3049
  return t.slice(i, i + r.length) === r;
3028
3050
  }
3029
- ), et = an ? String.fromCodePoint : (
3051
+ ), tt = hn ? String.fromCodePoint : (
3030
3052
  // IE11
3031
3053
  function() {
3032
3054
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3038,9 +3060,9 @@ var Lt = sn ? (
3038
3060
  }
3039
3061
  return i;
3040
3062
  }
3041
- ), Pt = (
3063
+ ), xt = (
3042
3064
  // native
3043
- ln ? Object.fromEntries : (
3065
+ fn ? Object.fromEntries : (
3044
3066
  // Ponyfill
3045
3067
  function(t) {
3046
3068
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -3050,7 +3072,7 @@ var Lt = sn ? (
3050
3072
  return r;
3051
3073
  }
3052
3074
  )
3053
- ), pr = un ? (
3075
+ ), _r = cn ? (
3054
3076
  // Native
3055
3077
  function(t, r) {
3056
3078
  return t.codePointAt(r);
@@ -3064,7 +3086,7 @@ var Lt = sn ? (
3064
3086
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3065
3087
  }
3066
3088
  }
3067
- ), dn = hn ? (
3089
+ ), _n = mn ? (
3068
3090
  // Native
3069
3091
  function(t) {
3070
3092
  return t.trimStart();
@@ -3072,9 +3094,9 @@ var Lt = sn ? (
3072
3094
  ) : (
3073
3095
  // Ponyfill
3074
3096
  function(t) {
3075
- return t.replace(nn, "");
3097
+ return t.replace(an, "");
3076
3098
  }
3077
- ), bn = fn ? (
3099
+ ), vn = pn ? (
3078
3100
  // Native
3079
3101
  function(t) {
3080
3102
  return t.trimEnd();
@@ -3082,32 +3104,32 @@ var Lt = sn ? (
3082
3104
  ) : (
3083
3105
  // Ponyfill
3084
3106
  function(t) {
3085
- return t.replace(on, "");
3107
+ return t.replace(ln, "");
3086
3108
  }
3087
3109
  );
3088
- function dr(e, t) {
3110
+ function vr(e, t) {
3089
3111
  return new RegExp(e, t);
3090
3112
  }
3091
- var tt;
3092
- if (Ke) {
3093
- var wt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
- tt = function(t, r) {
3113
+ var rt;
3114
+ if (et) {
3115
+ var kt = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3116
+ rt = function(t, r) {
3095
3117
  var i;
3096
- wt.lastIndex = r;
3097
- var n = wt.exec(t);
3118
+ kt.lastIndex = r;
3119
+ var n = kt.exec(t);
3098
3120
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3099
3121
  };
3100
3122
  } else
3101
- tt = function(t, r) {
3123
+ rt = function(t, r) {
3102
3124
  for (var i = []; ; ) {
3103
- var n = pr(t, r);
3104
- if (n === void 0 || br(n) || yn(n))
3125
+ var n = _r(t, r);
3126
+ if (n === void 0 || yr(n) || Sn(n))
3105
3127
  break;
3106
3128
  i.push(n), r += n >= 65536 ? 2 : 1;
3107
3129
  }
3108
- return et.apply(void 0, i);
3130
+ return tt.apply(void 0, i);
3109
3131
  };
3110
- var gn = (
3132
+ var yn = (
3111
3133
  /** @class */
3112
3134
  function() {
3113
3135
  function e(t, r) {
@@ -3138,7 +3160,7 @@ var gn = (
3138
3160
  if (i)
3139
3161
  break;
3140
3162
  return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3141
- } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3163
+ } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3142
3164
  var l = this.parseTag(t, r);
3143
3165
  if (l.err)
3144
3166
  return l;
@@ -3171,7 +3193,7 @@ var gn = (
3171
3193
  return o;
3172
3194
  var l = o.val, u = this.clonePosition();
3173
3195
  if (this.bumpIf("</")) {
3174
- if (this.isEOF() || !rt(this.char()))
3196
+ if (this.isEOF() || !it(this.char()))
3175
3197
  return this.error(g.INVALID_TAG, v(u, this.clonePosition()));
3176
3198
  var h = this.clonePosition(), s = this.parseTagName();
3177
3199
  return n !== s ? this.error(g.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3189,7 +3211,7 @@ var gn = (
3189
3211
  return this.error(g.INVALID_TAG, v(i, this.clonePosition()));
3190
3212
  }, e.prototype.parseTagName = function() {
3191
3213
  var t = this.offset();
3192
- for (this.bump(); !this.isEOF() && vn(this.char()); )
3214
+ for (this.bump(); !this.isEOF() && In(this.char()); )
3193
3215
  this.bump();
3194
3216
  return this.message.slice(t, this.offset());
3195
3217
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3218,7 +3240,7 @@ var gn = (
3218
3240
  };
3219
3241
  }, e.prototype.tryParseLeftAngleBracket = function() {
3220
3242
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3221
- !_n(this.peek() || 0)) ? (this.bump(), "<") : null;
3243
+ !En(this.peek() || 0)) ? (this.bump(), "<") : null;
3222
3244
  }, e.prototype.tryParseQuote = function(t) {
3223
3245
  if (this.isEOF() || this.char() !== 39)
3224
3246
  return null;
@@ -3252,12 +3274,12 @@ var gn = (
3252
3274
  r.push(i);
3253
3275
  this.bump();
3254
3276
  }
3255
- return et.apply(void 0, r);
3277
+ return tt.apply(void 0, r);
3256
3278
  }, e.prototype.tryParseUnquoted = function(t, r) {
3257
3279
  if (this.isEOF())
3258
3280
  return null;
3259
3281
  var i = this.char();
3260
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), et(i));
3282
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
3261
3283
  }, e.prototype.parseArgument = function(t, r) {
3262
3284
  var i = this.clonePosition();
3263
3285
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3286,7 +3308,7 @@ var gn = (
3286
3308
  return this.error(g.MALFORMED_ARGUMENT, v(i, this.clonePosition()));
3287
3309
  }
3288
3310
  }, e.prototype.parseIdentifierIfPossible = function() {
3289
- var t = this.clonePosition(), r = this.offset(), i = tt(this.message, r), n = r + i.length;
3311
+ var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
3290
3312
  this.bumpTo(n);
3291
3313
  var o = this.clonePosition(), l = v(t, o);
3292
3314
  return { value: i, location: l };
@@ -3305,34 +3327,34 @@ var gn = (
3305
3327
  var a = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3306
3328
  if (f.err)
3307
3329
  return f;
3308
- var m = bn(f.val);
3330
+ var m = vn(f.val);
3309
3331
  if (m.length === 0)
3310
3332
  return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3311
3333
  var y = v(a, this.clonePosition());
3312
3334
  s = { style: m, styleLocation: y };
3313
3335
  }
3314
- var T = this.tryParseArgumentClose(n);
3315
- if (T.err)
3316
- return T;
3336
+ var H = this.tryParseArgumentClose(n);
3337
+ if (H.err)
3338
+ return H;
3317
3339
  var I = v(n, this.clonePosition());
3318
- if (s && Lt(s == null ? void 0 : s.style, "::", 0)) {
3319
- var O = dn(s.style.slice(2));
3340
+ if (s && Bt(s == null ? void 0 : s.style, "::", 0)) {
3341
+ var k = _n(s.style.slice(2));
3320
3342
  if (u === "number") {
3321
- var f = this.parseNumberSkeletonFromString(O, s.styleLocation);
3343
+ var f = this.parseNumberSkeletonFromString(k, s.styleLocation);
3322
3344
  return f.err ? f : {
3323
3345
  val: { type: A.number, value: i, location: I, style: f.val },
3324
3346
  err: null
3325
3347
  };
3326
3348
  } else {
3327
- if (O.length === 0)
3349
+ if (k.length === 0)
3328
3350
  return this.error(g.EXPECT_DATE_TIME_SKELETON, I);
3329
- var U = O;
3330
- this.locale && (U = tn(O, this.locale));
3351
+ var U = k;
3352
+ this.locale && (U = on(k, this.locale));
3331
3353
  var m = {
3332
3354
  type: Y.dateTime,
3333
3355
  pattern: U,
3334
3356
  location: s.styleLocation,
3335
- parsedOptions: this.shouldParseSkeletons ? Zi(U) : {}
3357
+ parsedOptions: this.shouldParseSkeletons ? qi(U) : {}
3336
3358
  }, N = u === "date" ? A.date : A.time;
3337
3359
  return {
3338
3360
  val: { type: N, value: i, location: I, style: m },
@@ -3353,9 +3375,9 @@ var gn = (
3353
3375
  case "plural":
3354
3376
  case "selectordinal":
3355
3377
  case "select": {
3356
- var x = this.clonePosition();
3378
+ var B = this.clonePosition();
3357
3379
  if (this.bumpSpace(), !this.bumpIf(","))
3358
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, E({}, x)));
3380
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, E({}, B)));
3359
3381
  this.bumpSpace();
3360
3382
  var G = this.parseIdentifierIfPossible(), P = 0;
3361
3383
  if (u !== "select" && G.value === "offset") {
@@ -3367,18 +3389,18 @@ var gn = (
3367
3389
  return f;
3368
3390
  this.bumpSpace(), G = this.parseIdentifierIfPossible(), P = f.val;
3369
3391
  }
3370
- var B = this.tryParsePluralOrSelectOptions(t, u, r, G);
3371
- if (B.err)
3372
- return B;
3373
- var T = this.tryParseArgumentClose(n);
3374
- if (T.err)
3375
- return T;
3392
+ var x = this.tryParsePluralOrSelectOptions(t, u, r, G);
3393
+ if (x.err)
3394
+ return x;
3395
+ var H = this.tryParseArgumentClose(n);
3396
+ if (H.err)
3397
+ return H;
3376
3398
  var se = v(n, this.clonePosition());
3377
3399
  return u === "select" ? {
3378
3400
  val: {
3379
3401
  type: A.select,
3380
3402
  value: i,
3381
- options: Pt(B.val),
3403
+ options: xt(x.val),
3382
3404
  location: se
3383
3405
  },
3384
3406
  err: null
@@ -3386,7 +3408,7 @@ var gn = (
3386
3408
  val: {
3387
3409
  type: A.plural,
3388
3410
  value: i,
3389
- options: Pt(B.val),
3411
+ options: xt(x.val),
3390
3412
  offset: P,
3391
3413
  pluralType: u === "plural" ? "cardinal" : "ordinal",
3392
3414
  location: se
@@ -3437,7 +3459,7 @@ var gn = (
3437
3459
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3438
3460
  var i = [];
3439
3461
  try {
3440
- i = Ji(t);
3462
+ i = Ki(t);
3441
3463
  } catch (n) {
3442
3464
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3443
3465
  }
@@ -3446,7 +3468,7 @@ var gn = (
3446
3468
  type: Y.number,
3447
3469
  tokens: i,
3448
3470
  location: r,
3449
- parsedOptions: this.shouldParseSkeletons ? en(i) : {}
3471
+ parsedOptions: this.shouldParseSkeletons ? nn(i) : {}
3450
3472
  },
3451
3473
  err: null
3452
3474
  };
@@ -3468,16 +3490,16 @@ var gn = (
3468
3490
  var y = this.clonePosition();
3469
3491
  if (!this.bumpIf("{"))
3470
3492
  return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3471
- var T = this.parseMessage(t + 1, r, i);
3472
- if (T.err)
3473
- return T;
3493
+ var H = this.parseMessage(t + 1, r, i);
3494
+ if (H.err)
3495
+ return H;
3474
3496
  var I = this.tryParseArgumentClose(y);
3475
3497
  if (I.err)
3476
3498
  return I;
3477
3499
  u.push([
3478
3500
  s,
3479
3501
  {
3480
- value: T.val,
3502
+ value: H.val,
3481
3503
  location: v(y, this.clonePosition())
3482
3504
  }
3483
3505
  ]), h.add(s), this.bumpSpace(), o = this.parseIdentifierIfPossible(), s = o.value, a = o.location;
@@ -3494,7 +3516,7 @@ var gn = (
3494
3516
  break;
3495
3517
  }
3496
3518
  var h = v(n, this.clonePosition());
3497
- return o ? (l *= i, mn(l) ? { val: l, err: null } : this.error(r, h)) : this.error(t, h);
3519
+ return o ? (l *= i, bn(l) ? { val: l, err: null } : this.error(r, h)) : this.error(t, h);
3498
3520
  }, e.prototype.offset = function() {
3499
3521
  return this.position.offset;
3500
3522
  }, e.prototype.isEOF = function() {
@@ -3509,7 +3531,7 @@ var gn = (
3509
3531
  var t = this.position.offset;
3510
3532
  if (t >= this.message.length)
3511
3533
  throw Error("out of bound");
3512
- var r = pr(this.message, t);
3534
+ var r = _r(this.message, t);
3513
3535
  if (r === void 0)
3514
3536
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3515
3537
  return r;
@@ -3528,7 +3550,7 @@ var gn = (
3528
3550
  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);
3529
3551
  }
3530
3552
  }, e.prototype.bumpIf = function(t) {
3531
- if (Lt(this.message, t, this.offset())) {
3553
+ if (Bt(this.message, t, this.offset())) {
3532
3554
  for (var r = 0; r < t.length; r++)
3533
3555
  this.bump();
3534
3556
  return !0;
@@ -3550,7 +3572,7 @@ var gn = (
3550
3572
  break;
3551
3573
  }
3552
3574
  }, e.prototype.bumpSpace = function() {
3553
- for (; !this.isEOF() && br(this.char()); )
3575
+ for (; !this.isEOF() && yr(this.char()); )
3554
3576
  this.bump();
3555
3577
  }, e.prototype.peek = function() {
3556
3578
  if (this.isEOF())
@@ -3560,38 +3582,38 @@ var gn = (
3560
3582
  }, e;
3561
3583
  }()
3562
3584
  );
3563
- function rt(e) {
3585
+ function it(e) {
3564
3586
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3565
3587
  }
3566
- function _n(e) {
3567
- return rt(e) || e === 47;
3588
+ function En(e) {
3589
+ return it(e) || e === 47;
3568
3590
  }
3569
- function vn(e) {
3591
+ function In(e) {
3570
3592
  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;
3571
3593
  }
3572
- function br(e) {
3594
+ function yr(e) {
3573
3595
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3574
3596
  }
3575
- function yn(e) {
3597
+ function Sn(e) {
3576
3598
  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;
3577
3599
  }
3578
- function it(e) {
3600
+ function nt(e) {
3579
3601
  e.forEach(function(t) {
3580
- if (delete t.location, sr(t) || ar(t))
3602
+ if (delete t.location, hr(t) || fr(t))
3581
3603
  for (var r in t.options)
3582
- delete t.options[r].location, it(t.options[r].value);
3604
+ delete t.options[r].location, nt(t.options[r].value);
3583
3605
  else
3584
- ir(t) && ur(t.style) || (nr(t) || or(t)) && Ye(t.style) ? delete t.style.location : lr(t) && it(t.children);
3606
+ ar(t) && mr(t.style) || (lr(t) || ur(t)) && Ke(t.style) ? delete t.style.location : cr(t) && nt(t.children);
3585
3607
  });
3586
3608
  }
3587
- function En(e, t) {
3609
+ function Hn(e, t) {
3588
3610
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3589
- var r = new gn(e, t).parse();
3611
+ var r = new yn(e, t).parse();
3590
3612
  if (r.err) {
3591
3613
  var i = SyntaxError(g[r.err.kind]);
3592
3614
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3593
3615
  }
3594
- return t != null && t.captureLocation || it(r.val), r.val;
3616
+ return t != null && t.captureLocation || nt(r.val), r.val;
3595
3617
  }
3596
3618
  var K;
3597
3619
  (function(e) {
@@ -3600,7 +3622,7 @@ var K;
3600
3622
  var Pe = (
3601
3623
  /** @class */
3602
3624
  function(e) {
3603
- D(t, e);
3625
+ R(t, e);
3604
3626
  function t(r, i, n) {
3605
3627
  var o = e.call(this, r) || this;
3606
3628
  return o.code = i, o.originalMessage = n, o;
@@ -3609,28 +3631,28 @@ var Pe = (
3609
3631
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3610
3632
  }, t;
3611
3633
  }(Error)
3612
- ), xt = (
3634
+ ), Ot = (
3613
3635
  /** @class */
3614
3636
  function(e) {
3615
- D(t, e);
3637
+ R(t, e);
3616
3638
  function t(r, i, n, o) {
3617
3639
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3618
3640
  }
3619
3641
  return t;
3620
3642
  }(Pe)
3621
- ), In = (
3643
+ ), Tn = (
3622
3644
  /** @class */
3623
3645
  function(e) {
3624
- D(t, e);
3646
+ R(t, e);
3625
3647
  function t(r, i, n) {
3626
3648
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), K.INVALID_VALUE, n) || this;
3627
3649
  }
3628
3650
  return t;
3629
3651
  }(Pe)
3630
- ), Sn = (
3652
+ ), An = (
3631
3653
  /** @class */
3632
3654
  function(e) {
3633
- D(t, e);
3655
+ R(t, e);
3634
3656
  function t(r, i) {
3635
3657
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), K.MISSING_VALUE, i) || this;
3636
3658
  }
@@ -3640,17 +3662,17 @@ var Pe = (
3640
3662
  (function(e) {
3641
3663
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3642
3664
  })(w || (w = {}));
3643
- function Tn(e) {
3665
+ function Fn(e) {
3644
3666
  return e.length < 2 ? e : e.reduce(function(t, r) {
3645
3667
  var i = t[t.length - 1];
3646
3668
  return !i || i.type !== w.literal || r.type !== w.literal ? t.push(r) : i.value += r.value, t;
3647
3669
  }, []);
3648
3670
  }
3649
- function Hn(e) {
3671
+ function Ln(e) {
3650
3672
  return typeof e == "function";
3651
3673
  }
3652
3674
  function Se(e, t, r, i, n, o, l) {
3653
- if (e.length === 1 && Tt(e[0]))
3675
+ if (e.length === 1 && Ft(e[0]))
3654
3676
  return [
3655
3677
  {
3656
3678
  type: w.literal,
@@ -3659,14 +3681,14 @@ function Se(e, t, r, i, n, o, l) {
3659
3681
  ];
3660
3682
  for (var u = [], h = 0, s = e; h < s.length; h++) {
3661
3683
  var a = s[h];
3662
- if (Tt(a)) {
3684
+ if (Ft(a)) {
3663
3685
  u.push({
3664
3686
  type: w.literal,
3665
3687
  value: a.value
3666
3688
  });
3667
3689
  continue;
3668
3690
  }
3669
- if (Wi(a)) {
3691
+ if (Qi(a)) {
3670
3692
  typeof o == "number" && u.push({
3671
3693
  type: w.literal,
3672
3694
  value: r.getNumberFormat(t).format(o)
@@ -3675,44 +3697,44 @@ function Se(e, t, r, i, n, o, l) {
3675
3697
  }
3676
3698
  var f = a.value;
3677
3699
  if (!(n && f in n))
3678
- throw new Sn(f, l);
3700
+ throw new An(f, l);
3679
3701
  var m = n[f];
3680
- if (Xi(a)) {
3702
+ if (Zi(a)) {
3681
3703
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), u.push({
3682
3704
  type: typeof m == "string" ? w.literal : w.object,
3683
3705
  value: m
3684
3706
  });
3685
3707
  continue;
3686
3708
  }
3687
- if (nr(a)) {
3688
- var y = typeof a.style == "string" ? i.date[a.style] : Ye(a.style) ? a.style.parsedOptions : void 0;
3709
+ if (lr(a)) {
3710
+ var y = typeof a.style == "string" ? i.date[a.style] : Ke(a.style) ? a.style.parsedOptions : void 0;
3689
3711
  u.push({
3690
3712
  type: w.literal,
3691
3713
  value: r.getDateTimeFormat(t, y).format(m)
3692
3714
  });
3693
3715
  continue;
3694
3716
  }
3695
- if (or(a)) {
3696
- var y = typeof a.style == "string" ? i.time[a.style] : Ye(a.style) ? a.style.parsedOptions : i.time.medium;
3717
+ if (ur(a)) {
3718
+ var y = typeof a.style == "string" ? i.time[a.style] : Ke(a.style) ? a.style.parsedOptions : i.time.medium;
3697
3719
  u.push({
3698
3720
  type: w.literal,
3699
3721
  value: r.getDateTimeFormat(t, y).format(m)
3700
3722
  });
3701
3723
  continue;
3702
3724
  }
3703
- if (ir(a)) {
3704
- var y = typeof a.style == "string" ? i.number[a.style] : ur(a.style) ? a.style.parsedOptions : void 0;
3725
+ if (ar(a)) {
3726
+ var y = typeof a.style == "string" ? i.number[a.style] : mr(a.style) ? a.style.parsedOptions : void 0;
3705
3727
  y && y.scale && (m = m * (y.scale || 1)), u.push({
3706
3728
  type: w.literal,
3707
3729
  value: r.getNumberFormat(t, y).format(m)
3708
3730
  });
3709
3731
  continue;
3710
3732
  }
3711
- if (lr(a)) {
3712
- var T = a.children, I = a.value, O = n[I];
3713
- if (!Hn(O))
3714
- throw new In(I, "function", l);
3715
- var U = Se(T, t, r, i, n, o), N = O(U.map(function(P) {
3733
+ if (cr(a)) {
3734
+ var H = a.children, I = a.value, k = n[I];
3735
+ if (!Ln(k))
3736
+ throw new Tn(I, "function", l);
3737
+ var U = Se(H, t, r, i, n, o), N = k(U.map(function(P) {
3716
3738
  return P.value;
3717
3739
  }));
3718
3740
  Array.isArray(N) || (N = [N]), u.push.apply(u, N.map(function(P) {
@@ -3722,42 +3744,42 @@ function Se(e, t, r, i, n, o, l) {
3722
3744
  };
3723
3745
  }));
3724
3746
  }
3725
- if (sr(a)) {
3726
- var x = a.options[m] || a.options.other;
3727
- if (!x)
3728
- throw new xt(a.value, m, Object.keys(a.options), l);
3729
- u.push.apply(u, Se(x.value, t, r, i, n));
3747
+ if (hr(a)) {
3748
+ var B = a.options[m] || a.options.other;
3749
+ if (!B)
3750
+ throw new Ot(a.value, m, Object.keys(a.options), l);
3751
+ u.push.apply(u, Se(B.value, t, r, i, n));
3730
3752
  continue;
3731
3753
  }
3732
- if (ar(a)) {
3733
- var x = a.options["=".concat(m)];
3734
- if (!x) {
3754
+ if (fr(a)) {
3755
+ var B = a.options["=".concat(m)];
3756
+ if (!B) {
3735
3757
  if (!Intl.PluralRules)
3736
3758
  throw new Pe(`Intl.PluralRules is not available in this environment.
3737
3759
  Try polyfilling it using "@formatjs/intl-pluralrules"
3738
3760
  `, K.MISSING_INTL_API, l);
3739
3761
  var G = r.getPluralRules(t, { type: a.pluralType }).select(m - (a.offset || 0));
3740
- x = a.options[G] || a.options.other;
3762
+ B = a.options[G] || a.options.other;
3741
3763
  }
3742
- if (!x)
3743
- throw new xt(a.value, m, Object.keys(a.options), l);
3744
- u.push.apply(u, Se(x.value, t, r, i, n, m - (a.offset || 0)));
3764
+ if (!B)
3765
+ throw new Ot(a.value, m, Object.keys(a.options), l);
3766
+ u.push.apply(u, Se(B.value, t, r, i, n, m - (a.offset || 0)));
3745
3767
  continue;
3746
3768
  }
3747
3769
  }
3748
- return Tn(u);
3770
+ return Fn(u);
3749
3771
  }
3750
- function An(e, t) {
3772
+ function Pn(e, t) {
3751
3773
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3752
3774
  return r[i] = E(E({}, e[i]), t[i] || {}), r;
3753
3775
  }, {})) : e;
3754
3776
  }
3755
- function Fn(e, t) {
3777
+ function wn(e, t) {
3756
3778
  return t ? Object.keys(e).reduce(function(r, i) {
3757
- return r[i] = An(e[i], t[i]), r;
3779
+ return r[i] = Pn(e[i], t[i]), r;
3758
3780
  }, E({}, e)) : e;
3759
3781
  }
3760
- function $e(e) {
3782
+ function je(e) {
3761
3783
  return {
3762
3784
  create: function() {
3763
3785
  return {
@@ -3771,39 +3793,39 @@ function $e(e) {
3771
3793
  }
3772
3794
  };
3773
3795
  }
3774
- function Ln(e) {
3796
+ function Bn(e) {
3775
3797
  return e === void 0 && (e = {
3776
3798
  number: {},
3777
3799
  dateTime: {},
3778
3800
  pluralRules: {}
3779
3801
  }), {
3780
- getNumberFormat: De(function() {
3802
+ getNumberFormat: Ue(function() {
3781
3803
  for (var t, r = [], i = 0; i < arguments.length; i++)
3782
3804
  r[i] = arguments[i];
3783
3805
  return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3784
3806
  }, {
3785
- cache: $e(e.number),
3786
- strategy: Ue.variadic
3807
+ cache: je(e.number),
3808
+ strategy: Ge.variadic
3787
3809
  }),
3788
- getDateTimeFormat: De(function() {
3810
+ getDateTimeFormat: Ue(function() {
3789
3811
  for (var t, r = [], i = 0; i < arguments.length; i++)
3790
3812
  r[i] = arguments[i];
3791
3813
  return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3792
3814
  }, {
3793
- cache: $e(e.dateTime),
3794
- strategy: Ue.variadic
3815
+ cache: je(e.dateTime),
3816
+ strategy: Ge.variadic
3795
3817
  }),
3796
- getPluralRules: De(function() {
3818
+ getPluralRules: Ue(function() {
3797
3819
  for (var t, r = [], i = 0; i < arguments.length; i++)
3798
3820
  r[i] = arguments[i];
3799
3821
  return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3800
3822
  }, {
3801
- cache: $e(e.pluralRules),
3802
- strategy: Ue.variadic
3823
+ cache: je(e.pluralRules),
3824
+ strategy: Ge.variadic
3803
3825
  })
3804
3826
  };
3805
3827
  }
3806
- var Pn = (
3828
+ var xn = (
3807
3829
  /** @class */
3808
3830
  function() {
3809
3831
  function e(t, r, i, n) {
@@ -3835,13 +3857,13 @@ var Pn = (
3835
3857
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3836
3858
  var l = n || {};
3837
3859
  l.formatters;
3838
- var u = si(l, ["formatters"]);
3860
+ var u = hi(l, ["formatters"]);
3839
3861
  this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3840
3862
  } else
3841
3863
  this.ast = t;
3842
3864
  if (!Array.isArray(this.ast))
3843
3865
  throw new TypeError("A message must be provided as a String or AST.");
3844
- this.formats = Fn(e.formats, i), this.formatters = n && n.formatters || Ln(this.formatterCache);
3866
+ this.formats = wn(e.formats, i), this.formatters = n && n.formatters || Bn(this.formatterCache);
3845
3867
  }
3846
3868
  return Object.defineProperty(e, "defaultLocale", {
3847
3869
  get: function() {
@@ -3854,7 +3876,7 @@ var Pn = (
3854
3876
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3855
3877
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3856
3878
  }
3857
- }, e.__parse = En, e.formats = {
3879
+ }, e.__parse = Hn, e.formats = {
3858
3880
  number: {
3859
3881
  integer: {
3860
3882
  maximumFractionDigits: 0
@@ -3915,7 +3937,7 @@ var Pn = (
3915
3937
  }, e;
3916
3938
  }()
3917
3939
  );
3918
- function wn(e, t) {
3940
+ function kn(e, t) {
3919
3941
  if (t == null)
3920
3942
  return;
3921
3943
  if (t in e)
@@ -3936,92 +3958,92 @@ function wn(e, t) {
3936
3958
  i = void 0;
3937
3959
  return i;
3938
3960
  }
3939
- const $ = {}, xn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), gr = (e, t) => {
3961
+ const $ = {}, On = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Er = (e, t) => {
3940
3962
  if (t == null)
3941
3963
  return;
3942
3964
  if (t in $ && e in $[t])
3943
3965
  return $[t][e];
3944
3966
  const r = we(t);
3945
3967
  for (let i = 0; i < r.length; i++) {
3946
- const n = r[i], o = On(n, e);
3968
+ const n = r[i], o = Nn(n, e);
3947
3969
  if (o)
3948
- return xn(e, t, o);
3970
+ return On(e, t, o);
3949
3971
  }
3950
3972
  };
3951
- let at;
3973
+ let ht;
3952
3974
  const me = Le({});
3953
- function Bn(e) {
3954
- return at[e] || null;
3975
+ function Cn(e) {
3976
+ return ht[e] || null;
3955
3977
  }
3956
- function _r(e) {
3957
- return e in at;
3978
+ function Ir(e) {
3979
+ return e in ht;
3958
3980
  }
3959
- function On(e, t) {
3960
- if (!_r(e))
3981
+ function Nn(e, t) {
3982
+ if (!Ir(e))
3961
3983
  return null;
3962
- const r = Bn(e);
3963
- return wn(r, t);
3984
+ const r = Cn(e);
3985
+ return kn(r, t);
3964
3986
  }
3965
- function kn(e) {
3987
+ function Mn(e) {
3966
3988
  if (e == null)
3967
3989
  return;
3968
3990
  const t = we(e);
3969
3991
  for (let r = 0; r < t.length; r++) {
3970
3992
  const i = t[r];
3971
- if (_r(i))
3993
+ if (Ir(i))
3972
3994
  return i;
3973
3995
  }
3974
3996
  }
3975
- function Cn(e, ...t) {
3976
- delete $[e], me.update((r) => (r[e] = Mi.all([r[e] || {}, ...t]), r));
3997
+ function Dn(e, ...t) {
3998
+ delete $[e], me.update((r) => (r[e] = Gi.all([r[e] || {}, ...t]), r));
3977
3999
  }
3978
4000
  ne(
3979
4001
  [me],
3980
4002
  ([e]) => Object.keys(e)
3981
4003
  );
3982
- me.subscribe((e) => at = e);
3983
- const Te = {};
3984
- function Nn(e, t) {
3985
- Te[e].delete(t), Te[e].size === 0 && delete Te[e];
4004
+ me.subscribe((e) => ht = e);
4005
+ const He = {};
4006
+ function Rn(e, t) {
4007
+ He[e].delete(t), He[e].size === 0 && delete He[e];
3986
4008
  }
3987
- function vr(e) {
3988
- return Te[e];
4009
+ function Sr(e) {
4010
+ return He[e];
3989
4011
  }
3990
- function Mn(e) {
4012
+ function Un(e) {
3991
4013
  return we(e).map((t) => {
3992
- const r = vr(t);
4014
+ const r = Sr(t);
3993
4015
  return [t, r ? [...r] : []];
3994
4016
  }).filter(([, t]) => t.length > 0);
3995
4017
  }
3996
- function nt(e) {
4018
+ function ot(e) {
3997
4019
  return e == null ? !1 : we(e).some(
3998
4020
  (t) => {
3999
4021
  var r;
4000
- return (r = vr(t)) == null ? void 0 : r.size;
4022
+ return (r = Sr(t)) == null ? void 0 : r.size;
4001
4023
  }
4002
4024
  );
4003
4025
  }
4004
- function Rn(e, t) {
4026
+ function Gn(e, t) {
4005
4027
  return Promise.all(
4006
- t.map((i) => (Nn(e, i), i().then((n) => n.default || n)))
4007
- ).then((i) => Cn(e, ...i));
4028
+ t.map((i) => (Rn(e, i), i().then((n) => n.default || n)))
4029
+ ).then((i) => Dn(e, ...i));
4008
4030
  }
4009
4031
  const ae = {};
4010
- function yr(e) {
4011
- if (!nt(e))
4032
+ function Hr(e) {
4033
+ if (!ot(e))
4012
4034
  return e in ae ? ae[e] : Promise.resolve();
4013
- const t = Mn(e);
4035
+ const t = Un(e);
4014
4036
  return ae[e] = Promise.all(
4015
4037
  t.map(
4016
- ([r, i]) => Rn(r, i)
4038
+ ([r, i]) => Gn(r, i)
4017
4039
  )
4018
4040
  ).then(() => {
4019
- if (nt(e))
4020
- return yr(e);
4041
+ if (ot(e))
4042
+ return Hr(e);
4021
4043
  delete ae[e];
4022
4044
  }), ae[e];
4023
4045
  }
4024
- const Dn = {
4046
+ const $n = {
4025
4047
  number: {
4026
4048
  scientific: { notation: "scientific" },
4027
4049
  engineering: { notation: "engineering" },
@@ -4050,78 +4072,78 @@ const Dn = {
4050
4072
  timeZoneName: "short"
4051
4073
  }
4052
4074
  }
4053
- }, Un = {
4075
+ }, jn = {
4054
4076
  fallbackLocale: null,
4055
4077
  loadingDelay: 200,
4056
- formats: Dn,
4078
+ formats: $n,
4057
4079
  warnOnMissingMessages: !0,
4058
4080
  handleMissingMessage: void 0,
4059
4081
  ignoreTag: !0
4060
- }, Gn = Un;
4082
+ }, Vn = jn;
4061
4083
  function ee() {
4062
- return Gn;
4084
+ return Vn;
4063
4085
  }
4064
- const je = Le(!1);
4065
- var $n = Object.defineProperty, jn = Object.defineProperties, Vn = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zn = (e, t) => {
4086
+ const Ve = Le(!1);
4087
+ var Xn = Object.defineProperty, Wn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
4066
4088
  for (var r in t || (t = {}))
4067
- Xn.call(t, r) && Ot(e, r, t[r]);
4068
- if (Bt)
4069
- for (var r of Bt(t))
4070
- Wn.call(t, r) && Ot(e, r, t[r]);
4089
+ Zn.call(t, r) && Nt(e, r, t[r]);
4090
+ if (Ct)
4091
+ for (var r of Ct(t))
4092
+ Qn.call(t, r) && Nt(e, r, t[r]);
4071
4093
  return e;
4072
- }, Zn = (e, t) => jn(e, Vn(t));
4073
- let ot;
4074
- const He = Le(null);
4075
- function kt(e) {
4094
+ }, qn = (e, t) => Wn(e, zn(t));
4095
+ let st;
4096
+ const Te = Le(null);
4097
+ function Mt(e) {
4076
4098
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4077
4099
  }
4078
4100
  function we(e, t = ee().fallbackLocale) {
4079
- const r = kt(e);
4080
- return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
4101
+ const r = Mt(e);
4102
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4081
4103
  }
4082
4104
  function X() {
4083
- return ot != null ? ot : void 0;
4105
+ return st != null ? st : void 0;
4084
4106
  }
4085
- He.subscribe((e) => {
4086
- ot = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4107
+ Te.subscribe((e) => {
4108
+ st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4087
4109
  });
4088
- const Qn = (e) => {
4089
- if (e && kn(e) && nt(e)) {
4110
+ const Yn = (e) => {
4111
+ if (e && Mn(e) && ot(e)) {
4090
4112
  const { loadingDelay: t } = ee();
4091
4113
  let r;
4092
4114
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4093
- () => je.set(!0),
4115
+ () => Ve.set(!0),
4094
4116
  t
4095
- ) : je.set(!0), yr(e).then(() => {
4096
- He.set(e);
4117
+ ) : Ve.set(!0), Hr(e).then(() => {
4118
+ Te.set(e);
4097
4119
  }).finally(() => {
4098
- clearTimeout(r), je.set(!1);
4120
+ clearTimeout(r), Ve.set(!1);
4099
4121
  });
4100
4122
  }
4101
- return He.set(e);
4102
- }, pe = Zn(zn({}, He), {
4103
- set: Qn
4104
- }), xe = (e) => {
4123
+ return Te.set(e);
4124
+ }, pe = qn(Jn({}, Te), {
4125
+ set: Yn
4126
+ }), Be = (e) => {
4105
4127
  const t = /* @__PURE__ */ Object.create(null);
4106
4128
  return (i) => {
4107
4129
  const n = JSON.stringify(i);
4108
4130
  return n in t ? t[n] : t[n] = e(i);
4109
4131
  };
4110
4132
  };
4111
- var Jn = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4133
+ var Kn = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4112
4134
  for (var r in t || (t = {}))
4113
- Er.call(t, r) && Ct(e, r, t[r]);
4135
+ Tr.call(t, r) && Dt(e, r, t[r]);
4114
4136
  if (Ae)
4115
4137
  for (var r of Ae(t))
4116
- Ir.call(t, r) && Ct(e, r, t[r]);
4138
+ Ar.call(t, r) && Dt(e, r, t[r]);
4117
4139
  return e;
4118
4140
  }, oe = (e, t) => {
4119
4141
  var r = {};
4120
4142
  for (var i in e)
4121
- Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4143
+ Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4122
4144
  if (e != null && Ae)
4123
4145
  for (var i of Ae(e))
4124
- t.indexOf(i) < 0 && Ir.call(e, i) && (r[i] = e[i]);
4146
+ t.indexOf(i) < 0 && Ar.call(e, i) && (r[i] = e[i]);
4125
4147
  return r;
4126
4148
  };
4127
4149
  const fe = (e, t) => {
@@ -4129,21 +4151,21 @@ const fe = (e, t) => {
4129
4151
  if (e in r && t in r[e])
4130
4152
  return r[e][t];
4131
4153
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4132
- }, qn = xe(
4154
+ }, eo = Be(
4133
4155
  (e) => {
4134
4156
  var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4135
4157
  if (r == null)
4136
4158
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4137
4159
  return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
4138
4160
  }
4139
- ), Yn = xe(
4161
+ ), to = Be(
4140
4162
  (e) => {
4141
4163
  var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4142
4164
  if (r == null)
4143
4165
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4144
4166
  return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
4145
4167
  }
4146
- ), Kn = xe(
4168
+ ), ro = Be(
4147
4169
  (e) => {
4148
4170
  var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4149
4171
  if (r == null)
@@ -4152,33 +4174,33 @@ const fe = (e, t) => {
4152
4174
  );
4153
4175
  return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
4154
4176
  }
4155
- ), eo = (e = {}) => {
4177
+ ), io = (e = {}) => {
4156
4178
  var t = e, {
4157
4179
  locale: r = X()
4158
4180
  } = t, i = oe(t, [
4159
4181
  "locale"
4160
4182
  ]);
4161
- return qn(lt({ locale: r }, i));
4162
- }, to = (e = {}) => {
4183
+ return eo(ft({ locale: r }, i));
4184
+ }, no = (e = {}) => {
4163
4185
  var t = e, {
4164
4186
  locale: r = X()
4165
4187
  } = t, i = oe(t, [
4166
4188
  "locale"
4167
4189
  ]);
4168
- return Yn(lt({ locale: r }, i));
4169
- }, ro = (e = {}) => {
4190
+ return to(ft({ locale: r }, i));
4191
+ }, oo = (e = {}) => {
4170
4192
  var t = e, {
4171
4193
  locale: r = X()
4172
4194
  } = t, i = oe(t, [
4173
4195
  "locale"
4174
4196
  ]);
4175
- return Kn(lt({ locale: r }, i));
4176
- }, io = xe(
4197
+ return ro(ft({ locale: r }, i));
4198
+ }, so = Be(
4177
4199
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4178
- (e, t = X()) => new Pn(e, t, ee().formats, {
4200
+ (e, t = X()) => new xn(e, t, ee().formats, {
4179
4201
  ignoreTag: ee().ignoreTag
4180
4202
  })
4181
- ), no = (e, t = {}) => {
4203
+ ), ao = (e, t = {}) => {
4182
4204
  var r, i, n, o;
4183
4205
  let l = t;
4184
4206
  typeof e == "object" && (l = e, e = l.id);
@@ -4191,7 +4213,7 @@ const fe = (e, t) => {
4191
4213
  throw new Error(
4192
4214
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4193
4215
  );
4194
- let a = gr(e, h);
4216
+ let a = Er(e, h);
4195
4217
  if (!a)
4196
4218
  a = (o = (n = (i = (r = ee()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: s })) != null ? n : s) != null ? o : e;
4197
4219
  else if (typeof a != "string")
@@ -4202,7 +4224,7 @@ const fe = (e, t) => {
4202
4224
  return a;
4203
4225
  let f = a;
4204
4226
  try {
4205
- f = io(a, h).format(u);
4227
+ f = so(a, h).format(u);
4206
4228
  } catch (m) {
4207
4229
  m instanceof Error && console.warn(
4208
4230
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4210,21 +4232,21 @@ const fe = (e, t) => {
4210
4232
  );
4211
4233
  }
4212
4234
  return f;
4213
- }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), lo = (e, t = X()) => gr(e, t);
4214
- ne([pe, me], () => no);
4215
- ne([pe], () => oo);
4216
- ne([pe], () => so);
4217
- ne([pe], () => ao);
4218
- ne([pe, me], () => lo);
4219
- window.emWidgets = { topic: yi };
4220
- const uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4221
- function ho(e, t) {
4235
+ }, lo = (e, t) => oo(t).format(e), uo = (e, t) => no(t).format(e), ho = (e, t) => io(t).format(e), fo = (e, t = X()) => Er(e, t);
4236
+ ne([pe, me], () => ao);
4237
+ ne([pe], () => lo);
4238
+ ne([pe], () => uo);
4239
+ ne([pe], () => ho);
4240
+ ne([pe, me], () => fo);
4241
+ window.emWidgets = { topic: Hi };
4242
+ const co = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4243
+ function mo(e, t) {
4222
4244
  if (e) {
4223
4245
  const r = document.createElement("style");
4224
4246
  r.innerHTML = t, e.appendChild(r);
4225
4247
  }
4226
4248
  }
4227
- function fo(e, t) {
4249
+ function po(e, t) {
4228
4250
  const r = new URL(t);
4229
4251
  fetch(r.href).then((i) => i.text()).then((i) => {
4230
4252
  const n = document.createElement("style");
@@ -4233,7 +4255,7 @@ function fo(e, t) {
4233
4255
  console.error("There was an error while trying to load client styling from URL", i);
4234
4256
  });
4235
4257
  }
4236
- function co(e, t, r) {
4258
+ function bo(e, t, r) {
4237
4259
  if (window.emMessageBus) {
4238
4260
  const i = document.createElement("style");
4239
4261
  window.emMessageBus.subscribe(t, (n) => {
@@ -4241,47 +4263,47 @@ function co(e, t, r) {
4241
4263
  });
4242
4264
  }
4243
4265
  }
4244
- function mo(e) {
4245
- Ur(e, "svelte-vuji6b", ":host{font-family:inherit}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emw--color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:var(--emw--footer-typography, var(--emw--color-contrast, #111));font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}");
4266
+ function go(e) {
4267
+ Vr(e, "svelte-vuji6b", ":host{font-family:inherit}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emw--color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:var(--emw--footer-typography, var(--emw--color-contrast, #111));font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}");
4246
4268
  }
4247
- function po(e) {
4269
+ function _o(e) {
4248
4270
  let t;
4249
4271
  function r(o, l) {
4250
4272
  if (
4251
4273
  /*sponsorimage*/
4252
4274
  o[1]
4253
4275
  )
4254
- return Io;
4276
+ return To;
4255
4277
  if (
4256
4278
  /*paymentimage*/
4257
4279
  o[4]
4258
4280
  )
4259
- return Eo;
4281
+ return Ho;
4260
4282
  if (
4261
4283
  /*vendorimage*/
4262
4284
  o[7]
4263
4285
  )
4264
- return yo;
4286
+ return So;
4265
4287
  if (
4266
4288
  /*helperlinkurl*/
4267
4289
  o[9]
4268
4290
  )
4269
- return vo;
4291
+ return Io;
4270
4292
  if (
4271
4293
  /*licenseimage*/
4272
4294
  o[13]
4273
4295
  )
4274
- return _o;
4296
+ return Eo;
4275
4297
  if (
4276
4298
  /*sociallinkimage*/
4277
4299
  o[16]
4278
4300
  )
4279
- return go;
4301
+ return yo;
4280
4302
  }
4281
4303
  let i = r(e), n = i && i(e);
4282
4304
  return {
4283
4305
  c() {
4284
- n && n.c(), t = Wt();
4306
+ n && n.c(), t = Qt();
4285
4307
  },
4286
4308
  m(o, l) {
4287
4309
  n && n.m(o, l), L(o, t, l);
@@ -4290,48 +4312,48 @@ function po(e) {
4290
4312
  i === (i = r(o)) && n ? n.p(o, l) : (n && n.d(1), n = i && i(o), n && (n.c(), n.m(t.parentNode, t)));
4291
4313
  },
4292
4314
  d(o) {
4293
- o && H(t), n && n.d(o);
4315
+ o && T(t), n && n.d(o);
4294
4316
  }
4295
4317
  };
4296
4318
  }
4297
- function bo(e) {
4319
+ function vo(e) {
4298
4320
  let t;
4299
4321
  function r(o, l) {
4300
4322
  if (
4301
4323
  /*sponsorimage*/
4302
4324
  o[1]
4303
4325
  )
4304
- return Lo;
4326
+ return Bo;
4305
4327
  if (
4306
4328
  /*paymentimage*/
4307
4329
  o[4]
4308
4330
  )
4309
- return Fo;
4331
+ return wo;
4310
4332
  if (
4311
4333
  /*vendorimage*/
4312
4334
  o[7]
4313
4335
  )
4314
- return Ao;
4336
+ return Po;
4315
4337
  if (
4316
4338
  /*helperlinkurl*/
4317
4339
  o[9]
4318
4340
  )
4319
- return Ho;
4341
+ return Lo;
4320
4342
  if (
4321
4343
  /*licenseimage*/
4322
4344
  o[13]
4323
4345
  )
4324
- return To;
4346
+ return Fo;
4325
4347
  if (
4326
4348
  /*sociallinkimage*/
4327
4349
  o[16]
4328
4350
  )
4329
- return So;
4351
+ return Ao;
4330
4352
  }
4331
4353
  let i = r(e), n = i && i(e);
4332
4354
  return {
4333
4355
  c() {
4334
- n && n.c(), t = Wt();
4356
+ n && n.c(), t = Qt();
4335
4357
  },
4336
4358
  m(o, l) {
4337
4359
  n && n.m(o, l), L(o, t, l);
@@ -4340,11 +4362,11 @@ function bo(e) {
4340
4362
  i === (i = r(o)) && n ? n.p(o, l) : (n && n.d(1), n = i && i(o), n && (n.c(), n.m(t.parentNode, t)));
4341
4363
  },
4342
4364
  d(o) {
4343
- o && H(t), n && n.d(o);
4365
+ o && T(t), n && n.d(o);
4344
4366
  }
4345
4367
  };
4346
4368
  }
4347
- function go(e) {
4369
+ function yo(e) {
4348
4370
  let t, r, i, n, o, l, u, h;
4349
4371
  return {
4350
4372
  c() {
@@ -4373,11 +4395,11 @@ function go(e) {
4373
4395
  (s[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && c(r, "class", l);
4374
4396
  },
4375
4397
  d(s) {
4376
- s && H(t), u = !1, h();
4398
+ s && T(t), u = !1, h();
4377
4399
  }
4378
4400
  };
4379
4401
  }
4380
- function _o(e) {
4402
+ function Eo(e) {
4381
4403
  let t, r, i, n, o, l, u, h;
4382
4404
  return {
4383
4405
  c() {
@@ -4406,17 +4428,17 @@ function _o(e) {
4406
4428
  (s[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && c(r, "class", l);
4407
4429
  },
4408
4430
  d(s) {
4409
- s && H(t), u = !1, h();
4431
+ s && T(t), u = !1, h();
4410
4432
  }
4411
4433
  };
4412
4434
  }
4413
- function vo(e) {
4435
+ function Io(e) {
4414
4436
  let t, r, i, n, o, l, u, h = (
4415
4437
  /*helperlinkimage*/
4416
- e[10] && Nt(e)
4438
+ e[10] && Rt(e)
4417
4439
  ), s = (
4418
4440
  /*helperlinktitle*/
4419
- e[11] && Mt(e)
4441
+ e[11] && Ut(e)
4420
4442
  );
4421
4443
  return {
4422
4444
  c() {
@@ -4435,8 +4457,8 @@ function vo(e) {
4435
4457
  },
4436
4458
  p(a, f) {
4437
4459
  /*helperlinkimage*/
4438
- a[10] ? h ? h.p(a, f) : (h = Nt(a), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*helperlinktitle*/
4439
- a[11] ? s ? s.p(a, f) : (s = Mt(a), s.c(), s.m(r, null)) : s && (s.d(1), s = null), f[0] & /*helperlinktitle, helperlinkurl*/
4460
+ a[10] ? h ? h.p(a, f) : (h = Rt(a), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*helperlinktitle*/
4461
+ a[11] ? s ? s.p(a, f) : (s = Ut(a), s.c(), s.m(r, null)) : s && (s.d(1), s = null), f[0] & /*helperlinktitle, helperlinkurl*/
4440
4462
  2560 && n !== (n = /*helperlinktitle*/
4441
4463
  (a[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
4442
4464
  (a[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && c(r, "class", n), f[0] & /*displaycolumn*/
@@ -4444,11 +4466,11 @@ function vo(e) {
4444
4466
  (a[20] == "true" ? "DisplayColumn" : "")) && c(t, "class", o);
4445
4467
  },
4446
4468
  d(a) {
4447
- a && H(t), h && h.d(), s && s.d(), l = !1, u();
4469
+ a && T(t), h && h.d(), s && s.d(), l = !1, u();
4448
4470
  }
4449
4471
  };
4450
4472
  }
4451
- function yo(e) {
4473
+ function So(e) {
4452
4474
  let t, r, i, n, o, l, u, h;
4453
4475
  return {
4454
4476
  c() {
@@ -4477,14 +4499,14 @@ function yo(e) {
4477
4499
  (s[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && c(r, "class", l);
4478
4500
  },
4479
4501
  d(s) {
4480
- s && H(t), u = !1, h();
4502
+ s && T(t), u = !1, h();
4481
4503
  }
4482
4504
  };
4483
4505
  }
4484
- function Eo(e) {
4506
+ function Ho(e) {
4485
4507
  let t, r, i, n, o, l, u, h, s, a = (
4486
4508
  /*paymenttitle*/
4487
- e[5] && Rt(e)
4509
+ e[5] && Gt(e)
4488
4510
  );
4489
4511
  return {
4490
4512
  c() {
@@ -4510,20 +4532,20 @@ function Eo(e) {
4510
4532
  40 && o !== (o = /*paymenttitle*/
4511
4533
  f[5] || /*paymenturl*/
4512
4534
  f[3]) && p(i, "title", o), /*paymenttitle*/
4513
- f[5] ? a ? a.p(f, m) : (a = Rt(f), a.c(), a.m(r, null)) : a && (a.d(1), a = null), m[0] & /*paymenttitle, paymenturl*/
4535
+ f[5] ? a ? a.p(f, m) : (a = Gt(f), a.c(), a.m(r, null)) : a && (a.d(1), a = null), m[0] & /*paymenttitle, paymenturl*/
4514
4536
  40 && u !== (u = /*paymenttitle*/
4515
4537
  (f[5] ? "FooterPaymentLink" : "") + " " + /*paymenturl*/
4516
4538
  (f[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && c(r, "class", u);
4517
4539
  },
4518
4540
  d(f) {
4519
- f && H(t), a && a.d(), h = !1, s();
4541
+ f && T(t), a && a.d(), h = !1, s();
4520
4542
  }
4521
4543
  };
4522
4544
  }
4523
- function Io(e) {
4545
+ function To(e) {
4524
4546
  let t, r, i, n, o, l, u, h, s, a = (
4525
4547
  /*sponsortitle*/
4526
- e[2] && Dt(e)
4548
+ e[2] && $t(e)
4527
4549
  );
4528
4550
  return {
4529
4551
  c() {
@@ -4549,17 +4571,17 @@ function Io(e) {
4549
4571
  5 && o !== (o = /*sponsortitle*/
4550
4572
  f[2] || /*sponsorurl*/
4551
4573
  f[0]) && p(i, "title", o), /*sponsortitle*/
4552
- f[2] ? a ? a.p(f, m) : (a = Dt(f), a.c(), a.m(r, null)) : a && (a.d(1), a = null), m[0] & /*sponsortitle, sponsorurl*/
4574
+ f[2] ? a ? a.p(f, m) : (a = $t(f), a.c(), a.m(r, null)) : a && (a.d(1), a = null), m[0] & /*sponsortitle, sponsorurl*/
4553
4575
  5 && u !== (u = /*sponsortitle*/
4554
4576
  (f[2] ? "FooterSponsorLink" : "") + " " + /*sponsorurl*/
4555
4577
  (f[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && c(r, "class", u);
4556
4578
  },
4557
4579
  d(f) {
4558
- f && H(t), a && a.d(), h = !1, s();
4580
+ f && T(t), a && a.d(), h = !1, s();
4559
4581
  }
4560
4582
  };
4561
4583
  }
4562
- function Nt(e) {
4584
+ function Rt(e) {
4563
4585
  let t, r, i;
4564
4586
  return {
4565
4587
  c() {
@@ -4580,11 +4602,11 @@ function Nt(e) {
4580
4602
  n[9]) && p(t, "title", i);
4581
4603
  },
4582
4604
  d(n) {
4583
- n && H(t);
4605
+ n && T(t);
4584
4606
  }
4585
4607
  };
4586
4608
  }
4587
- function Mt(e) {
4609
+ function Ut(e) {
4588
4610
  let t, r;
4589
4611
  return {
4590
4612
  c() {
@@ -4605,11 +4627,11 @@ function Mt(e) {
4605
4627
  );
4606
4628
  },
4607
4629
  d(i) {
4608
- i && H(t);
4630
+ i && T(t);
4609
4631
  }
4610
4632
  };
4611
4633
  }
4612
- function Rt(e) {
4634
+ function Gt(e) {
4613
4635
  let t, r;
4614
4636
  return {
4615
4637
  c() {
@@ -4630,11 +4652,11 @@ function Rt(e) {
4630
4652
  );
4631
4653
  },
4632
4654
  d(i) {
4633
- i && H(t);
4655
+ i && T(t);
4634
4656
  }
4635
4657
  };
4636
4658
  }
4637
- function Dt(e) {
4659
+ function $t(e) {
4638
4660
  let t, r;
4639
4661
  return {
4640
4662
  c() {
@@ -4655,11 +4677,11 @@ function Dt(e) {
4655
4677
  );
4656
4678
  },
4657
4679
  d(i) {
4658
- i && H(t);
4680
+ i && T(t);
4659
4681
  }
4660
4682
  };
4661
4683
  }
4662
- function So(e) {
4684
+ function Ao(e) {
4663
4685
  let t, r, i, n, o, l, u, h;
4664
4686
  return {
4665
4687
  c() {
@@ -4716,11 +4738,11 @@ function So(e) {
4716
4738
  );
4717
4739
  },
4718
4740
  d(s) {
4719
- s && H(t);
4741
+ s && T(t);
4720
4742
  }
4721
4743
  };
4722
4744
  }
4723
- function To(e) {
4745
+ function Fo(e) {
4724
4746
  let t, r, i, n, o, l, u, h;
4725
4747
  return {
4726
4748
  c() {
@@ -4777,17 +4799,17 @@ function To(e) {
4777
4799
  );
4778
4800
  },
4779
4801
  d(s) {
4780
- s && H(t);
4802
+ s && T(t);
4781
4803
  }
4782
4804
  };
4783
4805
  }
4784
- function Ho(e) {
4806
+ function Lo(e) {
4785
4807
  let t, r, i, n, o, l, u, h = (
4786
4808
  /*helperlinkimage*/
4787
- e[10] && Ut(e)
4809
+ e[10] && jt(e)
4788
4810
  ), s = (
4789
4811
  /*helperlinktitle*/
4790
- e[11] && Gt(e)
4812
+ e[11] && Vt(e)
4791
4813
  );
4792
4814
  return {
4793
4815
  c() {
@@ -4817,8 +4839,8 @@ function Ho(e) {
4817
4839
  },
4818
4840
  p(a, f) {
4819
4841
  /*helperlinkimage*/
4820
- a[10] ? h ? h.p(a, f) : (h = Ut(a), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*helperlinktitle*/
4821
- a[11] ? s ? s.p(a, f) : (s = Gt(a), s.c(), s.m(r, null)) : s && (s.d(1), s = null), f[0] & /*helperlinktitle, helperlinkurl*/
4842
+ a[10] ? h ? h.p(a, f) : (h = jt(a), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*helperlinktitle*/
4843
+ a[11] ? s ? s.p(a, f) : (s = Vt(a), s.c(), s.m(r, null)) : s && (s.d(1), s = null), f[0] & /*helperlinktitle, helperlinkurl*/
4822
4844
  2560 && n !== (n = /*helperlinktitle*/
4823
4845
  (a[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
4824
4846
  (a[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && c(r, "class", n), f[0] & /*helperlinktitle, helperlinkurl*/
@@ -4845,11 +4867,11 @@ function Ho(e) {
4845
4867
  (a[20] == "true" ? "DisplayColumn" : "")) && c(t, "class", u);
4846
4868
  },
4847
4869
  d(a) {
4848
- a && H(t), h && h.d(), s && s.d();
4870
+ a && T(t), h && h.d(), s && s.d();
4849
4871
  }
4850
4872
  };
4851
4873
  }
4852
- function Ao(e) {
4874
+ function Po(e) {
4853
4875
  let t, r, i, n, o, l, u, h;
4854
4876
  return {
4855
4877
  c() {
@@ -4906,14 +4928,14 @@ function Ao(e) {
4906
4928
  );
4907
4929
  },
4908
4930
  d(s) {
4909
- s && H(t);
4931
+ s && T(t);
4910
4932
  }
4911
4933
  };
4912
4934
  }
4913
- function Fo(e) {
4935
+ function wo(e) {
4914
4936
  let t, r, i, n, o, l, u, h, s, a = (
4915
4937
  /*paymenttitle*/
4916
- e[5] && $t(e)
4938
+ e[5] && Xt(e)
4917
4939
  );
4918
4940
  return {
4919
4941
  c() {
@@ -4950,7 +4972,7 @@ function Fo(e) {
4950
4972
  40 && o !== (o = /*paymenttitle*/
4951
4973
  f[5] || /*paymenturl*/
4952
4974
  f[3]) && p(i, "title", o), /*paymenttitle*/
4953
- f[5] ? a ? a.p(f, m) : (a = $t(f), a.c(), a.m(r, null)) : a && (a.d(1), a = null), m[0] & /*paymenttitle, paymenturl*/
4975
+ f[5] ? a ? a.p(f, m) : (a = Xt(f), a.c(), a.m(r, null)) : a && (a.d(1), a = null), m[0] & /*paymenttitle, paymenturl*/
4954
4976
  40 && u !== (u = /*paymenttitle*/
4955
4977
  (f[5] ? "FooterPaymentLink" : "") + " " + /*paymenturl*/
4956
4978
  (f[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && c(r, "class", u), m[0] & /*paymenttitle, paymenturl*/
@@ -4975,14 +4997,14 @@ function Fo(e) {
4975
4997
  );
4976
4998
  },
4977
4999
  d(f) {
4978
- f && H(t), a && a.d();
5000
+ f && T(t), a && a.d();
4979
5001
  }
4980
5002
  };
4981
5003
  }
4982
- function Lo(e) {
5004
+ function Bo(e) {
4983
5005
  let t, r, i, n, o, l, u, h, s, a = (
4984
5006
  /*sponsortitle*/
4985
- e[2] && jt(e)
5007
+ e[2] && Wt(e)
4986
5008
  );
4987
5009
  return {
4988
5010
  c() {
@@ -5019,7 +5041,7 @@ function Lo(e) {
5019
5041
  5 && o !== (o = /*sponsortitle*/
5020
5042
  f[2] || /*sponsorurl*/
5021
5043
  f[0]) && p(i, "title", o), /*sponsortitle*/
5022
- f[2] ? a ? a.p(f, m) : (a = jt(f), a.c(), a.m(r, null)) : a && (a.d(1), a = null), m[0] & /*sponsortitle, sponsorurl*/
5044
+ f[2] ? a ? a.p(f, m) : (a = Wt(f), a.c(), a.m(r, null)) : a && (a.d(1), a = null), m[0] & /*sponsortitle, sponsorurl*/
5023
5045
  5 && u !== (u = /*sponsortitle*/
5024
5046
  (f[2] ? "FooterSponsorLink" : "") + " " + /*sponsorurl*/
5025
5047
  (f[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && c(r, "class", u), m[0] & /*sponsortitle, sponsorurl*/
@@ -5044,11 +5066,11 @@ function Lo(e) {
5044
5066
  );
5045
5067
  },
5046
5068
  d(f) {
5047
- f && H(t), a && a.d();
5069
+ f && T(t), a && a.d();
5048
5070
  }
5049
5071
  };
5050
5072
  }
5051
- function Ut(e) {
5073
+ function jt(e) {
5052
5074
  let t, r, i;
5053
5075
  return {
5054
5076
  c() {
@@ -5069,11 +5091,11 @@ function Ut(e) {
5069
5091
  n[9]) && p(t, "title", i);
5070
5092
  },
5071
5093
  d(n) {
5072
- n && H(t);
5094
+ n && T(t);
5073
5095
  }
5074
5096
  };
5075
5097
  }
5076
- function Gt(e) {
5098
+ function Vt(e) {
5077
5099
  let t, r;
5078
5100
  return {
5079
5101
  c() {
@@ -5094,11 +5116,11 @@ function Gt(e) {
5094
5116
  );
5095
5117
  },
5096
5118
  d(i) {
5097
- i && H(t);
5119
+ i && T(t);
5098
5120
  }
5099
5121
  };
5100
5122
  }
5101
- function $t(e) {
5123
+ function Xt(e) {
5102
5124
  let t, r;
5103
5125
  return {
5104
5126
  c() {
@@ -5119,11 +5141,11 @@ function $t(e) {
5119
5141
  );
5120
5142
  },
5121
5143
  d(i) {
5122
- i && H(t);
5144
+ i && T(t);
5123
5145
  }
5124
5146
  };
5125
5147
  }
5126
- function jt(e) {
5148
+ function Wt(e) {
5127
5149
  let t, r;
5128
5150
  return {
5129
5151
  c() {
@@ -5144,16 +5166,16 @@ function jt(e) {
5144
5166
  );
5145
5167
  },
5146
5168
  d(i) {
5147
- i && H(t);
5169
+ i && T(t);
5148
5170
  }
5149
5171
  };
5150
5172
  }
5151
- function Po(e) {
5173
+ function xo(e) {
5152
5174
  let t;
5153
5175
  function r(o, l) {
5154
5176
  return (
5155
5177
  /*device*/
5156
- o[24] == "PC" ? bo : po
5178
+ o[24] == "PC" ? vo : _o
5157
5179
  );
5158
5180
  }
5159
5181
  let n = r(e)(e);
@@ -5170,53 +5192,53 @@ function Po(e) {
5170
5192
  i: C,
5171
5193
  o: C,
5172
5194
  d(o) {
5173
- o && H(t), n.d(), e[35](null);
5195
+ o && T(t), n.d(), e[35](null);
5174
5196
  }
5175
5197
  };
5176
5198
  }
5177
- function wo(e, t, r) {
5178
- let { sponsorurl: i = "" } = t, { sponsorimage: n = "" } = t, { sponsortitle: o = "" } = t, { paymenturl: l = "" } = t, { paymentimage: u = "" } = t, { paymenttitle: h = "" } = t, { vendorurl: s = "" } = t, { vendorimage: a = "" } = t, { vendortitle: f = "" } = t, { helperlinkurl: m = "" } = t, { helperlinkimage: y = "" } = t, { helperlinktitle: T = "" } = t, { licenseurl: I = "" } = t, { licenseimage: O = "" } = t, { licensetitle: U = "" } = t, { sociallinkurl: N = "" } = t, { sociallinkimage: x = "" } = t, { sociallinktitle: G = "" } = t, { target: P = "_self" } = t, { linktype: B = "false" } = t, { displaycolumn: se = "" } = t, { baseurl: Be = "" } = t, { lang: Oe = "" } = t, { mbsource: de } = t, { clientstyling: be = "" } = t, { clientstylingurl: ge = "" } = t, M, Sr = window.navigator.userAgent, Tr = uo(Sr);
5179
- const V = (d, Br, ke) => {
5180
- const Ce = Br, ut = Ce ? d : Be + `/${Oe}/` + d;
5199
+ function ko(e, t, r) {
5200
+ let { sponsorurl: i = "" } = t, { sponsorimage: n = "" } = t, { sponsortitle: o = "" } = t, { paymenturl: l = "" } = t, { paymentimage: u = "" } = t, { paymenttitle: h = "" } = t, { vendorurl: s = "" } = t, { vendorimage: a = "" } = t, { vendortitle: f = "" } = t, { helperlinkurl: m = "" } = t, { helperlinkimage: y = "" } = t, { helperlinktitle: H = "" } = t, { licenseurl: I = "" } = t, { licenseimage: k = "" } = t, { licensetitle: U = "" } = t, { sociallinkurl: N = "" } = t, { sociallinkimage: B = "" } = t, { sociallinktitle: G = "" } = t, { target: P = "_self" } = t, { linktype: x = "false" } = t, { displaycolumn: se = "" } = t, { baseurl: xe = "" } = t, { lang: ke = "" } = t, { mbsource: de } = t, { clientstyling: be = "" } = t, { clientstylingurl: ge = "" } = t, M, Fr = window.navigator.userAgent, Lr = co(Fr);
5201
+ const V = (d, Nr, Oe) => {
5202
+ const Ce = Nr, ct = Ce ? d : xe + `/${ke}/` + d;
5181
5203
  window.postMessage(
5182
5204
  {
5183
5205
  type: "NavigateTo",
5184
5206
  path: d,
5185
- target: ke || null,
5207
+ target: Oe || null,
5186
5208
  externalLink: Ce || !1
5187
5209
  },
5188
5210
  window.location.href
5189
5211
  ), Ce ? window.postMessage(
5190
5212
  {
5191
5213
  type: "ExternalLinkNavigation",
5192
- externalUrl: ut,
5193
- target: ke
5214
+ externalUrl: ct,
5215
+ target: Oe
5194
5216
  },
5195
5217
  window.location.href
5196
5218
  ) : window.postMessage(
5197
5219
  {
5198
5220
  type: "LinkNavigation",
5199
- navUrl: ut,
5200
- target: ke
5221
+ navUrl: ct,
5222
+ target: Oe
5201
5223
  },
5202
5224
  window.location.href
5203
5225
  );
5204
5226
  };
5205
- Wr(() => () => {
5227
+ Jr(() => () => {
5206
5228
  });
5207
- const Hr = () => V(i, B, P), Ar = () => V(l, B, P), Fr = () => V(s, B, P), Lr = () => V(m, B, P), Pr = () => V(I, B, P), wr = () => V(N, B, P);
5208
- function xr(d) {
5209
- Ve[d ? "unshift" : "push"](() => {
5229
+ const Pr = () => V(i, x, P), wr = () => V(l, x, P), Br = () => V(s, x, P), xr = () => V(m, x, P), kr = () => V(I, x, P), Or = () => V(N, x, P);
5230
+ function Cr(d) {
5231
+ Xe[d ? "unshift" : "push"](() => {
5210
5232
  M = d, r(23, M);
5211
5233
  });
5212
5234
  }
5213
5235
  return e.$$set = (d) => {
5214
- "sponsorurl" in d && r(0, i = d.sponsorurl), "sponsorimage" in d && r(1, n = d.sponsorimage), "sponsortitle" in d && r(2, o = d.sponsortitle), "paymenturl" in d && r(3, l = d.paymenturl), "paymentimage" in d && r(4, u = d.paymentimage), "paymenttitle" in d && r(5, h = d.paymenttitle), "vendorurl" in d && r(6, s = d.vendorurl), "vendorimage" in d && r(7, a = d.vendorimage), "vendortitle" in d && r(8, f = d.vendortitle), "helperlinkurl" in d && r(9, m = d.helperlinkurl), "helperlinkimage" in d && r(10, y = d.helperlinkimage), "helperlinktitle" in d && r(11, T = d.helperlinktitle), "licenseurl" in d && r(12, I = d.licenseurl), "licenseimage" in d && r(13, O = d.licenseimage), "licensetitle" in d && r(14, U = d.licensetitle), "sociallinkurl" in d && r(15, N = d.sociallinkurl), "sociallinkimage" in d && r(16, x = d.sociallinkimage), "sociallinktitle" in d && r(17, G = d.sociallinktitle), "target" in d && r(18, P = d.target), "linktype" in d && r(19, B = d.linktype), "displaycolumn" in d && r(20, se = d.displaycolumn), "baseurl" in d && r(21, Be = d.baseurl), "lang" in d && r(22, Oe = d.lang), "mbsource" in d && r(26, de = d.mbsource), "clientstyling" in d && r(27, be = d.clientstyling), "clientstylingurl" in d && r(28, ge = d.clientstylingurl);
5236
+ "sponsorurl" in d && r(0, i = d.sponsorurl), "sponsorimage" in d && r(1, n = d.sponsorimage), "sponsortitle" in d && r(2, o = d.sponsortitle), "paymenturl" in d && r(3, l = d.paymenturl), "paymentimage" in d && r(4, u = d.paymentimage), "paymenttitle" in d && r(5, h = d.paymenttitle), "vendorurl" in d && r(6, s = d.vendorurl), "vendorimage" in d && r(7, a = d.vendorimage), "vendortitle" in d && r(8, f = d.vendortitle), "helperlinkurl" in d && r(9, m = d.helperlinkurl), "helperlinkimage" in d && r(10, y = d.helperlinkimage), "helperlinktitle" in d && r(11, H = d.helperlinktitle), "licenseurl" in d && r(12, I = d.licenseurl), "licenseimage" in d && r(13, k = d.licenseimage), "licensetitle" in d && r(14, U = d.licensetitle), "sociallinkurl" in d && r(15, N = d.sociallinkurl), "sociallinkimage" in d && r(16, B = d.sociallinkimage), "sociallinktitle" in d && r(17, G = d.sociallinktitle), "target" in d && r(18, P = d.target), "linktype" in d && r(19, x = d.linktype), "displaycolumn" in d && r(20, se = d.displaycolumn), "baseurl" in d && r(21, xe = d.baseurl), "lang" in d && r(22, ke = d.lang), "mbsource" in d && r(26, de = d.mbsource), "clientstyling" in d && r(27, be = d.clientstyling), "clientstylingurl" in d && r(28, ge = d.clientstylingurl);
5215
5237
  }, e.$$.update = () => {
5216
5238
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5217
- 142606336 && be && M && ho(M, be), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5218
- 276824064 && ge && M && fo(M, ge), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5219
- 75497472 && de && M && co(M, `${de}.Style`);
5239
+ 142606336 && be && M && mo(M, be), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5240
+ 276824064 && ge && M && po(M, ge), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5241
+ 75497472 && de && M && bo(M, `${de}.Style`);
5220
5242
  }, [
5221
5243
  i,
5222
5244
  n,
@@ -5229,41 +5251,41 @@ function wo(e, t, r) {
5229
5251
  f,
5230
5252
  m,
5231
5253
  y,
5232
- T,
5254
+ H,
5233
5255
  I,
5234
- O,
5256
+ k,
5235
5257
  U,
5236
5258
  N,
5237
- x,
5259
+ B,
5238
5260
  G,
5239
5261
  P,
5240
- B,
5262
+ x,
5241
5263
  se,
5242
- Be,
5243
- Oe,
5264
+ xe,
5265
+ ke,
5244
5266
  M,
5245
- Tr,
5267
+ Lr,
5246
5268
  V,
5247
5269
  de,
5248
5270
  be,
5249
5271
  ge,
5250
- Hr,
5251
- Ar,
5252
- Fr,
5253
- Lr,
5254
5272
  Pr,
5255
5273
  wr,
5256
- xr
5274
+ Br,
5275
+ xr,
5276
+ kr,
5277
+ Or,
5278
+ Cr
5257
5279
  ];
5258
5280
  }
5259
- class xo extends ni {
5281
+ class Oo extends li {
5260
5282
  constructor(t) {
5261
- super(), ri(
5283
+ super(), si(
5262
5284
  this,
5263
5285
  t,
5264
- wo,
5265
- Po,
5266
- Xt,
5286
+ ko,
5287
+ xo,
5288
+ Zt,
5267
5289
  {
5268
5290
  sponsorurl: 0,
5269
5291
  sponsorimage: 1,
@@ -5292,7 +5314,7 @@ class xo extends ni {
5292
5314
  clientstyling: 27,
5293
5315
  clientstylingurl: 28
5294
5316
  },
5295
- mo,
5317
+ go,
5296
5318
  [-1, -1]
5297
5319
  );
5298
5320
  }
@@ -5453,7 +5475,7 @@ class xo extends ni {
5453
5475
  this.$$set({ clientstylingurl: t }), S();
5454
5476
  }
5455
5477
  }
5456
- ii(xo, { sponsorurl: {}, sponsorimage: {}, sponsortitle: {}, paymenturl: {}, paymentimage: {}, paymenttitle: {}, vendorurl: {}, vendorimage: {}, vendortitle: {}, helperlinkurl: {}, helperlinkimage: {}, helperlinktitle: {}, licenseurl: {}, licenseimage: {}, licensetitle: {}, sociallinkurl: {}, sociallinkimage: {}, sociallinktitle: {}, target: {}, linktype: {}, displaycolumn: {}, baseurl: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
5478
+ ai(Oo, { sponsorurl: {}, sponsorimage: {}, sponsortitle: {}, paymenturl: {}, paymentimage: {}, paymenttitle: {}, vendorurl: {}, vendorimage: {}, vendortitle: {}, helperlinkurl: {}, helperlinkimage: {}, helperlinktitle: {}, licenseurl: {}, licenseimage: {}, licensetitle: {}, sociallinkurl: {}, sociallinkimage: {}, sociallinktitle: {}, target: {}, linktype: {}, displaycolumn: {}, baseurl: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
5457
5479
  export {
5458
- xo as default
5480
+ Oo as default
5459
5481
  };