@everymatrix/casino-lobby-mini-games 0.2.3 → 0.3.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.
Files changed (24) hide show
  1. package/components/{CasinoLobbyMiniGames-BryWSr_q.js → CasinoLobbyMiniGames-BY57Q6t9.js} +874 -839
  2. package/components/{CasinoLobbyMiniGames-sNUyjxD5.js → CasinoLobbyMiniGames-Bh5LeG52.js} +839 -804
  3. package/components/CasinoLobbyMiniGames-CajMXLVl.cjs +20 -0
  4. package/components/{CasinoMysteryChestContainer-CdhHMGFs.js → CasinoMysteryChestContainer-IiI_otYE.js} +16 -16
  5. package/components/{CasinoMysteryChestContainer-D15BPVsB.cjs → CasinoMysteryChestContainer-Z25Fea_T.cjs} +1 -1
  6. package/components/{CasinoMysteryChestContainer-D7JtkMJ9.js → CasinoMysteryChestContainer-wxjkuWy1.js} +18 -18
  7. package/components/{CasinoMysteryChestDetails-D5dMcrfJ.js → CasinoMysteryChestDetails-Chfd66X8.js} +183 -183
  8. package/components/{CasinoMysteryChestDetails--0wC24zE.js → CasinoMysteryChestDetails-Dqlj_CKW.js} +169 -169
  9. package/components/{CasinoMysteryChestDetails-xS_2_kXB.cjs → CasinoMysteryChestDetails-foimB6DB.cjs} +2 -2
  10. package/components/{CasinoMysteryChestModal-Dg8ZAcJN.js → CasinoMysteryChestModal-CC3ky83r.js} +13 -13
  11. package/components/{CasinoMysteryChestModal-GMfH3Nfr.js → CasinoMysteryChestModal-CePqroCF.js} +16 -16
  12. package/components/{CasinoMysteryChestModal-DoD9hwC0.cjs → CasinoMysteryChestModal-a-4F-9oK.cjs} +1 -1
  13. package/components/CasinoMysteryChestsList-Bub2sm61.cjs +1 -0
  14. package/components/{CasinoMysteryChestsList-BT105bIk.js → CasinoMysteryChestsList-DK9sWaBi.js} +563 -565
  15. package/components/{CasinoMysteryChestsList-D2r8u6uw.js → CasinoMysteryChestsList-IyypXB58.js} +591 -593
  16. package/components/{GeneralAnimationLoading-5lYCjCwv.js → GeneralAnimationLoading-C5zco7Jv.js} +17 -17
  17. package/components/{GeneralAnimationLoading-CRL3xtro.cjs → GeneralAnimationLoading-ie71G-dL.cjs} +1 -1
  18. package/components/{GeneralAnimationLoading-5QXKFRlL.js → GeneralAnimationLoading-kV60Vm7G.js} +13 -13
  19. package/es2015/casino-lobby-mini-games.cjs +1 -1
  20. package/es2015/casino-lobby-mini-games.js +1 -1
  21. package/esnext/casino-lobby-mini-games.js +1 -1
  22. package/package.json +1 -1
  23. package/components/CasinoLobbyMiniGames-n4MOHFqS.cjs +0 -20
  24. package/components/CasinoMysteryChestsList-6U8-I26u.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var vr = Object.defineProperty, _r = Object.defineProperties;
2
- var Er = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable;
5
- var Le = (e, t, r) => t in e ? vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
1
+ var Sr = Object.defineProperty, wr = Object.defineProperties;
2
+ var Tr = Object.getOwnPropertyDescriptors;
3
+ var ft = Object.getOwnPropertySymbols;
4
+ var Hr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable;
5
+ var Ne = (e, t, r) => t in e ? Sr(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
- xr.call(t, r) && Le(e, r, t[r]);
8
- if (ut)
9
- for (var r of ut(t))
10
- Sr.call(t, r) && Le(e, r, t[r]);
7
+ Hr.call(t, r) && Ne(e, r, t[r]);
8
+ if (ft)
9
+ for (var r of ft(t))
10
+ Or.call(t, r) && Ne(e, r, t[r]);
11
11
  return e;
12
- }, lt = (e, t) => _r(e, Er(t));
13
- var N = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Me = (e, t, r) => new Promise((n, i) => {
12
+ }, dt = (e, t) => wr(e, Tr(t));
13
+ var N = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var $e = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var Me = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function $t(e) {
32
+ function Gt(e) {
33
33
  return e();
34
34
  }
35
- function ft() {
35
+ function mt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ne(e) {
39
- e.forEach($t);
38
+ function re(e) {
39
+ e.forEach(Gt);
40
40
  }
41
- function nt(e) {
41
+ function ut(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Rt(e, t) {
44
+ function Ft(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let be;
48
- function fs(e, t) {
48
+ function ms(e, t) {
49
49
  return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
50
50
  }
51
- function Tr(e) {
51
+ function Ar(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ut(e, ...t) {
54
+ function jt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Ut(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Hr(e, t, r) {
64
- e.$$.on_destroy.push(Ut(t, r));
63
+ function Br(e, t, r) {
64
+ e.$$.on_destroy.push(jt(t, r));
65
65
  }
66
- function w(e, t) {
66
+ function H(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function wr(e, t, r) {
70
- const n = Br(e);
69
+ function Pr(e, t, r) {
70
+ const n = Cr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = C("style");
73
- i.id = t, i.textContent = r, Ar(n, i);
73
+ i.id = t, i.textContent = r, Ir(n, i);
74
74
  }
75
75
  }
76
- function Br(e) {
76
+ function Cr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,20 +83,20 @@ function Br(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Ar(e, t) {
87
- return w(
86
+ function Ir(e, t) {
87
+ return H(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function ie(e, t, r) {
93
+ function ne(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
96
  function V(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function cs(e, t) {
99
+ function bs(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
@@ -109,20 +109,20 @@ function q(e) {
109
109
  function ye() {
110
110
  return q(" ");
111
111
  }
112
- function ds() {
112
+ function ys() {
113
113
  return q("");
114
114
  }
115
115
  function ge(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
- function B(e, t, r) {
118
+ function O(e, t, r) {
119
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
120
  }
121
121
  function R(e, t, r) {
122
122
  const n = t.toLowerCase();
123
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
123
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : O(e, t, r);
124
124
  }
125
- function Or(e) {
125
+ function Lr(e) {
126
126
  return Array.from(e.childNodes);
127
127
  }
128
128
  function ve(e, t) {
@@ -132,7 +132,7 @@ function ve(e, t) {
132
132
  function F(e, t, r) {
133
133
  e.classList.toggle(t, !!r);
134
134
  }
135
- function Pr(e) {
135
+ function Mr(e) {
136
136
  const t = {};
137
137
  return e.childNodes.forEach(
138
138
  /** @param {Element} node */
@@ -141,90 +141,90 @@ function Pr(e) {
141
141
  }
142
142
  ), t;
143
143
  }
144
- let fe;
145
- function le(e) {
146
- fe = e;
144
+ let le;
145
+ function he(e) {
146
+ le = e;
147
147
  }
148
- function Cr() {
149
- if (!fe)
148
+ function Nr() {
149
+ if (!le)
150
150
  throw new Error("Function called outside component initialization");
151
- return fe;
151
+ return le;
152
152
  }
153
- function Ir(e) {
154
- Cr().$$.on_mount.push(e);
153
+ function $r(e) {
154
+ Nr().$$.on_mount.push(e);
155
155
  }
156
- const Q = [], je = [];
156
+ const Q = [], Xe = [];
157
157
  let J = [];
158
- const ct = [], Lr = /* @__PURE__ */ Promise.resolve();
159
- let ke = !1;
160
- function Mr() {
161
- ke || (ke = !0, Lr.then(U));
158
+ const bt = [], Rr = /* @__PURE__ */ Promise.resolve();
159
+ let We = !1;
160
+ function Ur() {
161
+ We || (We = !0, Rr.then(D));
162
162
  }
163
- function Ve(e) {
163
+ function ze(e) {
164
164
  J.push(e);
165
165
  }
166
- const Ne = /* @__PURE__ */ new Set();
166
+ const Re = /* @__PURE__ */ new Set();
167
167
  let z = 0;
168
- function U() {
168
+ function D() {
169
169
  if (z !== 0)
170
170
  return;
171
- const e = fe;
171
+ const e = le;
172
172
  do {
173
173
  try {
174
174
  for (; z < Q.length; ) {
175
175
  const t = Q[z];
176
- z++, le(t), Nr(t.$$);
176
+ z++, he(t), Dr(t.$$);
177
177
  }
178
178
  } catch (t) {
179
179
  throw Q.length = 0, z = 0, t;
180
180
  }
181
- for (le(null), Q.length = 0, z = 0; je.length; )
182
- je.pop()();
181
+ for (he(null), Q.length = 0, z = 0; Xe.length; )
182
+ Xe.pop()();
183
183
  for (let t = 0; t < J.length; t += 1) {
184
184
  const r = J[t];
185
- Ne.has(r) || (Ne.add(r), r());
185
+ Re.has(r) || (Re.add(r), r());
186
186
  }
187
187
  J.length = 0;
188
188
  } while (Q.length);
189
- for (; ct.length; )
190
- ct.pop()();
191
- ke = !1, Ne.clear(), le(e);
189
+ for (; bt.length; )
190
+ bt.pop()();
191
+ We = !1, Re.clear(), he(e);
192
192
  }
193
- function Nr(e) {
193
+ function Dr(e) {
194
194
  if (e.fragment !== null) {
195
- e.update(), ne(e.before_update);
195
+ e.update(), re(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
198
198
  }
199
199
  }
200
- function $r(e) {
200
+ function Gr(e) {
201
201
  const t = [], r = [];
202
202
  J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
203
203
  }
204
- const Rr = /* @__PURE__ */ new Set();
205
- function Ur(e, t) {
206
- e && e.i && (Rr.delete(e), e.i(t));
204
+ const Fr = /* @__PURE__ */ new Set();
205
+ function jr(e, t) {
206
+ e && e.i && (Fr.delete(e), e.i(t));
207
207
  }
208
- function ps(e) {
208
+ function gs(e) {
209
209
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
210
210
  }
211
- function Dr(e, t, r) {
211
+ function kr(e, t, r) {
212
212
  const { fragment: n, after_update: i } = e.$$;
213
- n && n.m(t, r), Ve(() => {
214
- const s = e.$$.on_mount.map($t).filter(nt);
215
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
216
- }), i.forEach(Ve);
213
+ n && n.m(t, r), ze(() => {
214
+ const s = e.$$.on_mount.map(Gt).filter(ut);
215
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
216
+ }), i.forEach(ze);
217
217
  }
218
- function Gr(e, t) {
218
+ function Vr(e, t) {
219
219
  const r = e.$$;
220
- r.fragment !== null && ($r(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
+ r.fragment !== null && (Gr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
221
221
  }
222
- function Fr(e, t) {
223
- e.$$.dirty[0] === -1 && (Q.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function Xr(e, t) {
223
+ e.$$.dirty[0] === -1 && (Q.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
224
  }
225
- function jr(e, t, r, n, i, s, o = null, a = [-1]) {
226
- const h = fe;
227
- le(e);
225
+ function Wr(e, t, r, n, i, s, o = null, a = [-1]) {
226
+ const h = le;
227
+ he(e);
228
228
  const u = e.$$ = {
229
229
  fragment: null,
230
230
  ctx: [],
@@ -232,7 +232,7 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
232
232
  props: s,
233
233
  update: I,
234
234
  not_equal: i,
235
- bound: ft(),
235
+ bound: mt(),
236
236
  // lifecycle
237
237
  on_mount: [],
238
238
  on_destroy: [],
@@ -241,28 +241,28 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
241
241
  after_update: [],
242
242
  context: new Map(t.context || (h ? h.$$.context : [])),
243
243
  // everything else
244
- callbacks: ft(),
244
+ callbacks: mt(),
245
245
  dirty: a,
246
246
  skip_bound: !1,
247
247
  root: t.target || h.$$.root
248
248
  };
249
249
  o && o(u.root);
250
250
  let l = !1;
251
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
252
- const y = d.length ? d[0] : c;
253
- return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && Fr(e, f)), c;
254
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
251
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
252
+ const y = p.length ? p[0] : f;
253
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Xr(e, c)), f;
254
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
255
255
  if (t.hydrate) {
256
- const f = Or(t.target);
257
- u.fragment && u.fragment.l(f), f.forEach(V);
256
+ const c = Lr(t.target);
257
+ u.fragment && u.fragment.l(c), c.forEach(V);
258
258
  } else
259
259
  u.fragment && u.fragment.c();
260
- t.intro && Ur(e.$$.fragment), Dr(e, t.target, t.anchor), U();
260
+ t.intro && jr(e.$$.fragment), kr(e, t.target, t.anchor), D();
261
261
  }
262
- le(h);
262
+ he(h);
263
263
  }
264
- let Dt;
265
- typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
264
+ let kt;
265
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
266
266
  constructor(t, r, n) {
267
267
  super();
268
268
  /** The Svelte component constructor */
@@ -299,21 +299,21 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
299
299
  }
300
300
  }
301
301
  connectedCallback() {
302
- return Me(this, null, function* () {
302
+ return $e(this, null, function* () {
303
303
  if (this.$$cn = !0, !this.$$c) {
304
304
  let t = function(s) {
305
305
  return () => {
306
306
  let o;
307
307
  return {
308
308
  c: function() {
309
- o = C("slot"), s !== "default" && B(o, "name", s);
309
+ o = C("slot"), s !== "default" && O(o, "name", s);
310
310
  },
311
311
  /**
312
312
  * @param {HTMLElement} target
313
313
  * @param {HTMLElement} [anchor]
314
314
  */
315
315
  m: function(u, l) {
316
- ie(u, o, l);
316
+ ne(u, o, l);
317
317
  },
318
318
  d: function(u) {
319
319
  u && V(o);
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
323
323
  };
324
324
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
325
325
  return;
326
- const r = {}, n = Pr(this);
326
+ const r = {}, n = Mr(this);
327
327
  for (const s of this.$$s)
328
328
  s in n && (r[s] = [t(s)]);
329
329
  for (const s of this.attributes) {
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
334
334
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
335
335
  this.$$c = new this.$$ctor({
336
336
  target: this.shadowRoot || this,
337
- props: lt(ht({}, this.$$d), {
337
+ props: dt(pt({}, this.$$d), {
338
338
  $$slots: r,
339
339
  $$scope: {
340
340
  ctx: []
@@ -412,8 +412,8 @@ function xe(e, t, r, n) {
412
412
  return t;
413
413
  }
414
414
  }
415
- function kr(e, t, r, n, i, s) {
416
- let o = class extends Dt {
415
+ function zr(e, t, r, n, i, s) {
416
+ let o = class extends kt {
417
417
  constructor() {
418
418
  super(e, r, i), this.$$p_d = t;
419
419
  }
@@ -443,7 +443,7 @@ function kr(e, t, r, n, i, s) {
443
443
  }), e.element = /** @type {any} */
444
444
  o, o;
445
445
  }
446
- class Vr {
446
+ class Zr {
447
447
  constructor() {
448
448
  /**
449
449
  * ### PRIVATE API
@@ -464,7 +464,7 @@ class Vr {
464
464
  }
465
465
  /** @returns {void} */
466
466
  $destroy() {
467
- Gr(this, 1), this.$destroy = I;
467
+ Vr(this, 1), this.$destroy = I;
468
468
  }
469
469
  /**
470
470
  * @template {Extract<keyof Events, string>} K
@@ -473,7 +473,7 @@ class Vr {
473
473
  * @returns {() => void}
474
474
  */
475
475
  $on(t, r) {
476
- if (!nt(r))
476
+ if (!ut(r))
477
477
  return I;
478
478
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
479
479
  return n.push(r), () => {
@@ -486,11 +486,11 @@ class Vr {
486
486
  * @returns {void}
487
487
  */
488
488
  $set(t) {
489
- this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
489
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
490
490
  }
491
491
  }
492
- const Xr = "4";
493
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xr);
492
+ const Qr = "4";
493
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
494
494
  if (typeof window != "undefined") {
495
495
  let e = function(t) {
496
496
  return function(...r) {
@@ -503,7 +503,7 @@ if (typeof window != "undefined") {
503
503
  }
504
504
  };
505
505
  };
506
- customElements.define = e(customElements.define), import("./CasinoMysteryChestContainer-D7JtkMJ9.js").then(({ default: t }) => {
506
+ customElements.define = e(customElements.define), import("./CasinoMysteryChestContainer-wxjkuWy1.js").then(({ default: t }) => {
507
507
  !customElements.get("casino-mystery-chest-container") && customElements.define("casino-mystery-chest-container", t.element);
508
508
  });
509
509
  }
@@ -521,43 +521,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
521
521
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
522
522
  PERFORMANCE OF THIS SOFTWARE.
523
523
  ***************************************************************************** */
524
- var Xe = function(e, t) {
525
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
524
+ var Ze = function(e, t) {
525
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
526
526
  r.__proto__ = n;
527
527
  } || function(r, n) {
528
528
  for (var i in n)
529
529
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
530
- }, Xe(e, t);
530
+ }, Ze(e, t);
531
531
  };
532
- function G(e, t) {
532
+ function pe(e, t) {
533
533
  if (typeof t != "function" && t !== null)
534
534
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
535
- Xe(e, t);
535
+ Ze(e, t);
536
536
  function r() {
537
537
  this.constructor = e;
538
538
  }
539
539
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
540
540
  }
541
- var v = function() {
542
- return v = Object.assign || function(t) {
543
- for (var r, n = 1, i = arguments.length; n < i; n++) {
544
- r = arguments[n];
545
- for (var s in r)
546
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
547
- }
548
- return t;
549
- }, v.apply(this, arguments);
550
- };
551
- function Wr(e, t) {
552
- var r = {};
553
- for (var n in e)
554
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
555
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
556
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
557
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
558
- return r;
559
- }
560
- function We(e) {
541
+ function Qe(e) {
561
542
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
562
543
  if (r)
563
544
  return r.call(e);
@@ -569,7 +550,7 @@ function We(e) {
569
550
  };
570
551
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
571
552
  }
572
- function ze(e, t) {
553
+ function qe(e, t) {
573
554
  var r = typeof Symbol == "function" && e[Symbol.iterator];
574
555
  if (!r)
575
556
  return e;
@@ -589,22 +570,22 @@ function ze(e, t) {
589
570
  }
590
571
  return s;
591
572
  }
592
- function Y(e, t, r) {
593
- if (r || arguments.length === 2)
573
+ function Je(e, t, r) {
574
+ if (arguments.length === 2)
594
575
  for (var n = 0, i = t.length, s; n < i; n++)
595
576
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
596
577
  return e.concat(s || t);
597
578
  }
598
- function D(e) {
579
+ function G(e) {
599
580
  return typeof e == "function";
600
581
  }
601
- function Gt(e) {
582
+ function Vt(e) {
602
583
  var t = function(n) {
603
584
  Error.call(n), n.stack = new Error().stack;
604
585
  }, r = e(t);
605
586
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
606
587
  }
607
- var $e = Gt(function(e) {
588
+ var Ue = Vt(function(e) {
608
589
  return function(r) {
609
590
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
610
591
  ` + r.map(function(n, i) {
@@ -613,13 +594,13 @@ var $e = Gt(function(e) {
613
594
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
614
595
  };
615
596
  });
616
- function Ze(e, t) {
597
+ function Ye(e, t) {
617
598
  if (e) {
618
599
  var r = e.indexOf(t);
619
600
  0 <= r && e.splice(r, 1);
620
601
  }
621
602
  }
622
- var Oe = function() {
603
+ var Pe = function() {
623
604
  function e(t) {
624
605
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
625
606
  }
@@ -631,7 +612,7 @@ var Oe = function() {
631
612
  if (o)
632
613
  if (this._parentage = null, Array.isArray(o))
633
614
  try {
634
- for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
615
+ for (var a = Qe(o), h = a.next(); !h.done; h = a.next()) {
635
616
  var u = h.value;
636
617
  u.remove(this);
637
618
  }
@@ -648,29 +629,29 @@ var Oe = function() {
648
629
  else
649
630
  o.remove(this);
650
631
  var l = this.initialTeardown;
651
- if (D(l))
632
+ if (G(l))
652
633
  try {
653
634
  l();
654
635
  } catch (g) {
655
- s = g instanceof $e ? g.errors : [g];
636
+ s = g instanceof Ue ? g.errors : [g];
656
637
  }
657
- var f = this._finalizers;
658
- if (f) {
638
+ var c = this._finalizers;
639
+ if (c) {
659
640
  this._finalizers = null;
660
641
  try {
661
- for (var c = We(f), d = c.next(); !d.done; d = c.next()) {
662
- var y = d.value;
642
+ for (var f = Qe(c), p = f.next(); !p.done; p = f.next()) {
643
+ var y = p.value;
663
644
  try {
664
- dt(y);
645
+ yt(y);
665
646
  } catch (g) {
666
- s = s != null ? s : [], g instanceof $e ? s = Y(Y([], ze(s)), ze(g.errors)) : s.push(g);
647
+ s = s != null ? s : [], g instanceof Ue ? s = Je(Je([], qe(s)), qe(g.errors)) : s.push(g);
667
648
  }
668
649
  }
669
650
  } catch (g) {
670
651
  n = { error: g };
671
652
  } finally {
672
653
  try {
673
- d && !d.done && (i = c.return) && i.call(c);
654
+ p && !p.done && (i = f.return) && i.call(f);
674
655
  } finally {
675
656
  if (n)
676
657
  throw n.error;
@@ -678,13 +659,13 @@ var Oe = function() {
678
659
  }
679
660
  }
680
661
  if (s)
681
- throw new $e(s);
662
+ throw new Ue(s);
682
663
  }
683
664
  }, e.prototype.add = function(t) {
684
665
  var r;
685
666
  if (t && t !== this)
686
667
  if (this.closed)
687
- dt(t);
668
+ yt(t);
688
669
  else {
689
670
  if (t instanceof e) {
690
671
  if (t.closed || t._hasParent(this))
@@ -701,56 +682,52 @@ var Oe = function() {
701
682
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
702
683
  }, e.prototype._removeParent = function(t) {
703
684
  var r = this._parentage;
704
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
685
+ r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
705
686
  }, e.prototype.remove = function(t) {
706
687
  var r = this._finalizers;
707
- r && Ze(r, t), t instanceof e && t._removeParent(this);
688
+ r && Ye(r, t), t instanceof e && t._removeParent(this);
708
689
  }, e.EMPTY = function() {
709
690
  var t = new e();
710
691
  return t.closed = !0, t;
711
692
  }(), e;
712
- }(), Ft = Oe.EMPTY;
713
- function jt(e) {
714
- return e instanceof Oe || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
715
- }
716
- function dt(e) {
717
- D(e) ? e() : e.unsubscribe();
718
- }
719
- var zr = {
720
- onUnhandledError: null,
721
- onStoppedNotification: null,
722
- Promise: void 0,
723
- useDeprecatedSynchronousErrorHandling: !1,
724
- useDeprecatedNextContext: !1
725
- }, Zr = {
693
+ }(), Xt = Pe.EMPTY;
694
+ function Wt(e) {
695
+ return e instanceof Pe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
696
+ }
697
+ function yt(e) {
698
+ G(e) ? e() : e.unsubscribe();
699
+ }
700
+ var qr = {
701
+ Promise: void 0
702
+ }, Jr = {
726
703
  setTimeout: function(e, t) {
727
704
  for (var r = [], n = 2; n < arguments.length; n++)
728
705
  r[n - 2] = arguments[n];
729
- return setTimeout.apply(void 0, Y([e, t], ze(r)));
706
+ return setTimeout.apply(void 0, Je([e, t], qe(r)));
730
707
  },
731
708
  clearTimeout: function(e) {
732
709
  return clearTimeout(e);
733
710
  },
734
711
  delegate: void 0
735
712
  };
736
- function Qr(e) {
737
- Zr.setTimeout(function() {
713
+ function Yr(e) {
714
+ Jr.setTimeout(function() {
738
715
  throw e;
739
716
  });
740
717
  }
741
- function pt() {
718
+ function gt() {
742
719
  }
743
720
  function Se(e) {
744
721
  e();
745
722
  }
746
- var kt = function(e) {
747
- G(t, e);
723
+ var zt = function(e) {
724
+ pe(t, e);
748
725
  function t(r) {
749
726
  var n = e.call(this) || this;
750
- return n.isStopped = !1, r ? (n.destination = r, jt(r) && r.add(n)) : n.destination = Yr, n;
727
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = tn, n;
751
728
  }
752
729
  return t.create = function(r, n, i) {
753
- return new Qe(r, n, i);
730
+ return new Ke(r, n, i);
754
731
  }, t.prototype.next = function(r) {
755
732
  this.isStopped || this._next(r);
756
733
  }, t.prototype.error = function(r) {
@@ -774,7 +751,7 @@ var kt = function(e) {
774
751
  this.unsubscribe();
775
752
  }
776
753
  }, t;
777
- }(Oe), qr = function() {
754
+ }(Pe), Kr = function() {
778
755
  function e(t) {
779
756
  this.partialObserver = t;
780
757
  }
@@ -805,43 +782,43 @@ var kt = function(e) {
805
782
  _e(r);
806
783
  }
807
784
  }, e;
808
- }(), Qe = function(e) {
809
- G(t, e);
785
+ }(), Ke = function(e) {
786
+ pe(t, e);
810
787
  function t(r, n, i) {
811
788
  var s = e.call(this) || this, o;
812
- return D(r) || !r ? o = {
789
+ return G(r) || !r ? o = {
813
790
  next: r != null ? r : void 0,
814
791
  error: n != null ? n : void 0,
815
792
  complete: i != null ? i : void 0
816
- } : o = r, s.destination = new qr(o), s;
793
+ } : o = r, s.destination = new Kr(o), s;
817
794
  }
818
795
  return t;
819
- }(kt);
796
+ }(zt);
820
797
  function _e(e) {
821
- Qr(e);
798
+ Yr(e);
822
799
  }
823
- function Jr(e) {
800
+ function en(e) {
824
801
  throw e;
825
802
  }
826
- var Yr = {
803
+ var tn = {
827
804
  closed: !0,
828
- next: pt,
829
- error: Jr,
830
- complete: pt
831
- }, Kr = function() {
805
+ next: gt,
806
+ error: en,
807
+ complete: gt
808
+ }, rn = function() {
832
809
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
833
810
  }();
834
- function en(e) {
811
+ function nn(e) {
835
812
  return e;
836
813
  }
837
- function tn(e) {
838
- return e.length === 0 ? en : e.length === 1 ? e[0] : function(r) {
814
+ function sn(e) {
815
+ return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
839
816
  return e.reduce(function(n, i) {
840
817
  return i(n);
841
818
  }, r);
842
819
  };
843
820
  }
844
- var mt = function() {
821
+ var vt = function() {
845
822
  function e(t) {
846
823
  t && (this._subscribe = t);
847
824
  }
@@ -849,7 +826,7 @@ var mt = function() {
849
826
  var r = new e();
850
827
  return r.source = this, r.operator = t, r;
851
828
  }, e.prototype.subscribe = function(t, r, n) {
852
- var i = this, s = nn(t) ? t : new Qe(t, r, n);
829
+ var i = this, s = an(t) ? t : new Ke(t, r, n);
853
830
  return Se(function() {
854
831
  var o = i, a = o.operator, h = o.source;
855
832
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
@@ -862,8 +839,8 @@ var mt = function() {
862
839
  }
863
840
  }, e.prototype.forEach = function(t, r) {
864
841
  var n = this;
865
- return r = bt(r), new r(function(i, s) {
866
- var o = new Qe({
842
+ return r = _t(r), new r(function(i, s) {
843
+ var o = new Ke({
867
844
  next: function(a) {
868
845
  try {
869
846
  t(a);
@@ -879,15 +856,15 @@ var mt = function() {
879
856
  }, e.prototype._subscribe = function(t) {
880
857
  var r;
881
858
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
882
- }, e.prototype[Kr] = function() {
859
+ }, e.prototype[rn] = function() {
883
860
  return this;
884
861
  }, e.prototype.pipe = function() {
885
862
  for (var t = [], r = 0; r < arguments.length; r++)
886
863
  t[r] = arguments[r];
887
- return tn(t)(this);
864
+ return sn(t)(this);
888
865
  }, e.prototype.toPromise = function(t) {
889
866
  var r = this;
890
- return t = bt(t), new t(function(n, i) {
867
+ return t = _t(t), new t(function(n, i) {
891
868
  var s;
892
869
  r.subscribe(function(o) {
893
870
  return s = o;
@@ -901,32 +878,32 @@ var mt = function() {
901
878
  return new e(t);
902
879
  }, e;
903
880
  }();
904
- function bt(e) {
881
+ function _t(e) {
905
882
  var t;
906
- return (t = e != null ? e : zr.Promise) !== null && t !== void 0 ? t : Promise;
883
+ return (t = e != null ? e : qr.Promise) !== null && t !== void 0 ? t : Promise;
907
884
  }
908
- function rn(e) {
909
- return e && D(e.next) && D(e.error) && D(e.complete);
885
+ function on(e) {
886
+ return e && G(e.next) && G(e.error) && G(e.complete);
910
887
  }
911
- function nn(e) {
912
- return e && e instanceof kt || rn(e) && jt(e);
888
+ function an(e) {
889
+ return e && e instanceof zt || on(e) && Wt(e);
913
890
  }
914
- var sn = Gt(function(e) {
891
+ var un = Vt(function(e) {
915
892
  return function() {
916
893
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
917
894
  };
918
- }), Vt = function(e) {
919
- G(t, e);
895
+ }), Zt = function(e) {
896
+ pe(t, e);
920
897
  function t() {
921
898
  var r = e.call(this) || this;
922
899
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
923
900
  }
924
901
  return t.prototype.lift = function(r) {
925
- var n = new yt(this, this);
902
+ var n = new Et(this, this);
926
903
  return n.operator = r, n;
927
904
  }, t.prototype._throwIfClosed = function() {
928
905
  if (this.closed)
929
- throw new sn();
906
+ throw new un();
930
907
  }, t.prototype.next = function(r) {
931
908
  var n = this;
932
909
  Se(function() {
@@ -934,7 +911,7 @@ var sn = Gt(function(e) {
934
911
  if (n._throwIfClosed(), !n.isStopped) {
935
912
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
936
913
  try {
937
- for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
914
+ for (var o = Qe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
938
915
  var h = a.value;
939
916
  h.next(r);
940
917
  }
@@ -983,20 +960,20 @@ var sn = Gt(function(e) {
983
960
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
984
961
  }, t.prototype._innerSubscribe = function(r) {
985
962
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
986
- return s || o ? Ft : (this.currentObservers = null, a.push(r), new Oe(function() {
987
- n.currentObservers = null, Ze(a, r);
963
+ return s || o ? Xt : (this.currentObservers = null, a.push(r), new Pe(function() {
964
+ n.currentObservers = null, Ye(a, r);
988
965
  }));
989
966
  }, t.prototype._checkFinalizedStatuses = function(r) {
990
967
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
991
968
  i ? r.error(s) : o && r.complete();
992
969
  }, t.prototype.asObservable = function() {
993
- var r = new mt();
970
+ var r = new vt();
994
971
  return r.source = this, r;
995
972
  }, t.create = function(r, n) {
996
- return new yt(r, n);
973
+ return new Et(r, n);
997
974
  }, t;
998
- }(mt), yt = function(e) {
999
- G(t, e);
975
+ }(vt), Et = function(e) {
976
+ pe(t, e);
1000
977
  function t(r, n) {
1001
978
  var i = e.call(this) || this;
1002
979
  return i.destination = r, i.source = n, i;
@@ -1012,17 +989,17 @@ var sn = Gt(function(e) {
1012
989
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1013
990
  }, t.prototype._subscribe = function(r) {
1014
991
  var n, i;
1015
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ft;
992
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
1016
993
  }, t;
1017
- }(Vt), Xt = {
994
+ }(Zt), Qt = {
1018
995
  now: function() {
1019
- return (Xt.delegate || Date).now();
996
+ return (Qt.delegate || Date).now();
1020
997
  },
1021
998
  delegate: void 0
1022
- }, on = function(e) {
1023
- G(t, e);
999
+ }, hn = function(e) {
1000
+ pe(t, e);
1024
1001
  function t(r, n, i) {
1025
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
1002
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
1026
1003
  var s = e.call(this) || this;
1027
1004
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1028
1005
  }
@@ -1042,24 +1019,24 @@ var sn = Gt(function(e) {
1042
1019
  u && s.splice(0, u + 1);
1043
1020
  }
1044
1021
  }, t;
1045
- }(Vt);
1046
- const gt = [], vt = {}, an = (e, t = 0) => {
1047
- if (gt.indexOf(e) == -1) {
1048
- const r = new on(t);
1049
- vt[e] = r, gt.push(e);
1022
+ }(Zt);
1023
+ const xt = [], St = {}, ln = (e, t = 0) => {
1024
+ if (xt.indexOf(e) == -1) {
1025
+ const r = new hn(t);
1026
+ St[e] = r, xt.push(e);
1050
1027
  }
1051
- return vt[e];
1028
+ return St[e];
1052
1029
  }, Z = [];
1053
- function un(e, t) {
1030
+ function cn(e, t) {
1054
1031
  return {
1055
- subscribe: Pe(e, t).subscribe
1032
+ subscribe: Ce(e, t).subscribe
1056
1033
  };
1057
1034
  }
1058
- function Pe(e, t = I) {
1035
+ function Ce(e, t = I) {
1059
1036
  let r;
1060
1037
  const n = /* @__PURE__ */ new Set();
1061
1038
  function i(a) {
1062
- if (Rt(e, a) && (e = a, r)) {
1039
+ if (Ft(e, a) && (e = a, r)) {
1063
1040
  const h = !Z.length;
1064
1041
  for (const u of n)
1065
1042
  u[1](), Z.push(u, e);
@@ -1081,145 +1058,184 @@ function Pe(e, t = I) {
1081
1058
  }
1082
1059
  return { set: i, update: s, subscribe: o };
1083
1060
  }
1084
- function se(e, t, r) {
1061
+ function ie(e, t, r) {
1085
1062
  const n = !Array.isArray(e), i = n ? [e] : e;
1086
1063
  if (!i.every(Boolean))
1087
1064
  throw new Error("derived() expects stores as input, got a falsy value");
1088
1065
  const s = t.length < 2;
1089
- return un(r, (o, a) => {
1066
+ return cn(r, (o, a) => {
1090
1067
  let h = !1;
1091
1068
  const u = [];
1092
- let l = 0, f = I;
1093
- const c = () => {
1069
+ let l = 0, c = I;
1070
+ const f = () => {
1094
1071
  if (l)
1095
1072
  return;
1096
- f();
1073
+ c();
1097
1074
  const y = t(n ? u[0] : u, o, a);
1098
- s ? o(y) : f = nt(y) ? y : I;
1099
- }, d = i.map(
1100
- (y, g) => Ut(
1075
+ s ? o(y) : c = ut(y) ? y : I;
1076
+ }, p = i.map(
1077
+ (y, g) => jt(
1101
1078
  y,
1102
- (O) => {
1103
- u[g] = O, l &= ~(1 << g), h && c();
1079
+ (B) => {
1080
+ u[g] = B, l &= ~(1 << g), h && f();
1104
1081
  },
1105
1082
  () => {
1106
1083
  l |= 1 << g;
1107
1084
  }
1108
1085
  )
1109
1086
  );
1110
- return h = !0, c(), function() {
1111
- ne(d), f(), h = !1;
1087
+ return h = !0, f(), function() {
1088
+ re(p), c(), h = !1;
1112
1089
  };
1113
1090
  });
1114
1091
  }
1115
- function hn(e) {
1116
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1092
+ function fn(e) {
1093
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1117
1094
  }
1118
- var ln = function(t) {
1119
- return fn(t) && !cn(t);
1095
+ var pn = function(t) {
1096
+ return dn(t) && !mn(t);
1120
1097
  };
1121
- function fn(e) {
1098
+ function dn(e) {
1122
1099
  return !!e && typeof e == "object";
1123
1100
  }
1124
- function cn(e) {
1101
+ function mn(e) {
1125
1102
  var t = Object.prototype.toString.call(e);
1126
- return t === "[object RegExp]" || t === "[object Date]" || mn(e);
1103
+ return t === "[object RegExp]" || t === "[object Date]" || gn(e);
1127
1104
  }
1128
- var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
1129
- function mn(e) {
1130
- return e.$$typeof === pn;
1105
+ var bn = typeof Symbol == "function" && Symbol.for, yn = bn ? Symbol.for("react.element") : 60103;
1106
+ function gn(e) {
1107
+ return e.$$typeof === yn;
1131
1108
  }
1132
- function bn(e) {
1109
+ function vn(e) {
1133
1110
  return Array.isArray(e) ? [] : {};
1134
1111
  }
1135
1112
  function ce(e, t) {
1136
- return t.clone !== !1 && t.isMergeableObject(e) ? K(bn(e), e, t) : e;
1113
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(vn(e), e, t) : e;
1137
1114
  }
1138
- function yn(e, t, r) {
1115
+ function _n(e, t, r) {
1139
1116
  return e.concat(t).map(function(n) {
1140
1117
  return ce(n, r);
1141
1118
  });
1142
1119
  }
1143
- function gn(e, t) {
1120
+ function En(e, t) {
1144
1121
  if (!t.customMerge)
1145
- return K;
1122
+ return Y;
1146
1123
  var r = t.customMerge(e);
1147
- return typeof r == "function" ? r : K;
1124
+ return typeof r == "function" ? r : Y;
1148
1125
  }
1149
- function vn(e) {
1126
+ function xn(e) {
1150
1127
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1151
1128
  return Object.propertyIsEnumerable.call(e, t);
1152
1129
  }) : [];
1153
1130
  }
1154
- function _t(e) {
1155
- return Object.keys(e).concat(vn(e));
1131
+ function wt(e) {
1132
+ return Object.keys(e).concat(xn(e));
1156
1133
  }
1157
- function Wt(e, t) {
1134
+ function qt(e, t) {
1158
1135
  try {
1159
1136
  return t in e;
1160
1137
  } catch (r) {
1161
1138
  return !1;
1162
1139
  }
1163
1140
  }
1164
- function _n(e, t) {
1165
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1141
+ function Sn(e, t) {
1142
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1166
1143
  }
1167
- function En(e, t, r) {
1144
+ function wn(e, t, r) {
1168
1145
  var n = {};
1169
- return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1146
+ return r.isMergeableObject(e) && wt(e).forEach(function(i) {
1170
1147
  n[i] = ce(e[i], r);
1171
- }), _t(t).forEach(function(i) {
1172
- _n(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1148
+ }), wt(t).forEach(function(i) {
1149
+ Sn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1173
1150
  }), n;
1174
1151
  }
1175
- function K(e, t, r) {
1176
- r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = ce;
1152
+ function Y(e, t, r) {
1153
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = ce;
1177
1154
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1178
- return s ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : ce(t, r);
1155
+ return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : ce(t, r);
1179
1156
  }
1180
- K.all = function(t, r) {
1157
+ Y.all = function(t, r) {
1181
1158
  if (!Array.isArray(t))
1182
1159
  throw new Error("first argument should be an array");
1183
1160
  return t.reduce(function(n, i) {
1184
- return K(n, i, r);
1161
+ return Y(n, i, r);
1185
1162
  }, {});
1186
1163
  };
1187
- var xn = K, Sn = xn;
1188
- const Tn = /* @__PURE__ */ hn(Sn);
1189
- function Re(e, t) {
1190
- var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : wn;
1164
+ var Tn = Y, Hn = Tn;
1165
+ const On = /* @__PURE__ */ fn(Hn);
1166
+ var et = function(e, t) {
1167
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1168
+ r.__proto__ = n;
1169
+ } || function(r, n) {
1170
+ for (var i in n)
1171
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1172
+ }, et(e, t);
1173
+ };
1174
+ function Ie(e, t) {
1175
+ if (typeof t != "function" && t !== null)
1176
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1177
+ et(e, t);
1178
+ function r() {
1179
+ this.constructor = e;
1180
+ }
1181
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1182
+ }
1183
+ var U = function() {
1184
+ return U = Object.assign || function(t) {
1185
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1186
+ r = arguments[n];
1187
+ for (var s in r)
1188
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1189
+ }
1190
+ return t;
1191
+ }, U.apply(this, arguments);
1192
+ };
1193
+ function An(e, t) {
1194
+ var r = {};
1195
+ for (var n in e)
1196
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1197
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1198
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1199
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1200
+ return r;
1201
+ }
1202
+ function De(e, t, r) {
1203
+ if (r || arguments.length === 2)
1204
+ for (var n = 0, i = t.length, s; n < i; n++)
1205
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1206
+ return e.concat(s || Array.prototype.slice.call(t));
1207
+ }
1208
+ function Ge(e, t) {
1209
+ var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Cn;
1191
1210
  return i(e, {
1192
1211
  cache: r,
1193
1212
  serializer: n
1194
1213
  });
1195
1214
  }
1196
- function Hn(e) {
1215
+ function Bn(e) {
1197
1216
  return e == null || typeof e == "number" || typeof e == "boolean";
1198
1217
  }
1199
- function zt(e, t, r, n) {
1200
- var i = Hn(n) ? n : r(n), s = t.get(i);
1218
+ function Pn(e, t, r, n) {
1219
+ var i = Bn(n) ? n : r(n), s = t.get(i);
1201
1220
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1202
1221
  }
1203
- function Zt(e, t, r) {
1222
+ function Jt(e, t, r) {
1204
1223
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1205
1224
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1206
1225
  }
1207
- function it(e, t, r, n, i) {
1226
+ function Yt(e, t, r, n, i) {
1208
1227
  return r.bind(t, e, n, i);
1209
1228
  }
1210
- function wn(e, t) {
1211
- var r = e.length === 1 ? zt : Zt;
1212
- return it(e, this, r, t.cache.create(), t.serializer);
1229
+ function Cn(e, t) {
1230
+ var r = e.length === 1 ? Pn : Jt;
1231
+ return Yt(e, this, r, t.cache.create(), t.serializer);
1213
1232
  }
1214
- function Bn(e, t) {
1215
- return it(e, this, Zt, t.cache.create(), t.serializer);
1233
+ function In(e, t) {
1234
+ return Yt(e, this, Jt, t.cache.create(), t.serializer);
1216
1235
  }
1217
- function An(e, t) {
1218
- return it(e, this, zt, t.cache.create(), t.serializer);
1219
- }
1220
- var On = function() {
1236
+ var Ln = function() {
1221
1237
  return JSON.stringify(arguments);
1222
- }, Pn = (
1238
+ }, Mn = (
1223
1239
  /** @class */
1224
1240
  function() {
1225
1241
  function e() {
@@ -1231,62 +1247,71 @@ var On = function() {
1231
1247
  this.cache[t] = r;
1232
1248
  }, e;
1233
1249
  }()
1234
- ), Cn = {
1250
+ ), Nn = {
1235
1251
  create: function() {
1236
- return new Pn();
1252
+ return new Mn();
1237
1253
  }
1238
- }, Ue = {
1239
- variadic: Bn,
1240
- monadic: An
1241
- }, p;
1254
+ }, Fe = {
1255
+ variadic: In
1256
+ }, He = function() {
1257
+ return He = Object.assign || function(t) {
1258
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1259
+ r = arguments[n];
1260
+ for (var s in r)
1261
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1262
+ }
1263
+ return t;
1264
+ }, He.apply(this, arguments);
1265
+ };
1266
+ var d;
1242
1267
  (function(e) {
1243
1268
  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";
1244
- })(p || (p = {}));
1245
- var _;
1269
+ })(d || (d = {}));
1270
+ var v;
1246
1271
  (function(e) {
1247
1272
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1248
- })(_ || (_ = {}));
1249
- var ee;
1273
+ })(v || (v = {}));
1274
+ var K;
1250
1275
  (function(e) {
1251
1276
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1252
- })(ee || (ee = {}));
1253
- function Et(e) {
1254
- return e.type === _.literal;
1277
+ })(K || (K = {}));
1278
+ function Tt(e) {
1279
+ return e.type === v.literal;
1255
1280
  }
1256
- function In(e) {
1257
- return e.type === _.argument;
1281
+ function $n(e) {
1282
+ return e.type === v.argument;
1258
1283
  }
1259
- function Qt(e) {
1260
- return e.type === _.number;
1284
+ function Kt(e) {
1285
+ return e.type === v.number;
1261
1286
  }
1262
- function qt(e) {
1263
- return e.type === _.date;
1287
+ function er(e) {
1288
+ return e.type === v.date;
1264
1289
  }
1265
- function Jt(e) {
1266
- return e.type === _.time;
1290
+ function tr(e) {
1291
+ return e.type === v.time;
1267
1292
  }
1268
- function Yt(e) {
1269
- return e.type === _.select;
1293
+ function rr(e) {
1294
+ return e.type === v.select;
1270
1295
  }
1271
- function Kt(e) {
1272
- return e.type === _.plural;
1296
+ function nr(e) {
1297
+ return e.type === v.plural;
1273
1298
  }
1274
- function Ln(e) {
1275
- return e.type === _.pound;
1299
+ function Rn(e) {
1300
+ return e.type === v.pound;
1276
1301
  }
1277
- function er(e) {
1278
- return e.type === _.tag;
1302
+ function ir(e) {
1303
+ return e.type === v.tag;
1279
1304
  }
1280
- function tr(e) {
1281
- return !!(e && typeof e == "object" && e.type === ee.number);
1305
+ function sr(e) {
1306
+ return !!(e && typeof e == "object" && e.type === K.number);
1282
1307
  }
1283
- function qe(e) {
1284
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1308
+ function tt(e) {
1309
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1285
1310
  }
1286
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
1287
- function Nn(e) {
1311
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
1312
+ function Dn(e) {
1288
1313
  var t = {};
1289
- return e.replace(Mn, function(r) {
1314
+ return e.replace(Un, function(r) {
1290
1315
  var n = r.length;
1291
1316
  switch (r[0]) {
1292
1317
  case "G":
@@ -1375,36 +1400,46 @@ function Nn(e) {
1375
1400
  return "";
1376
1401
  }), t;
1377
1402
  }
1378
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1379
- function Rn(e) {
1403
+ var _ = function() {
1404
+ return _ = Object.assign || function(t) {
1405
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1406
+ r = arguments[n];
1407
+ for (var s in r)
1408
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1409
+ }
1410
+ return t;
1411
+ }, _.apply(this, arguments);
1412
+ };
1413
+ var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1414
+ function Fn(e) {
1380
1415
  if (e.length === 0)
1381
1416
  throw new Error("Number skeleton cannot be empty");
1382
- for (var t = e.split($n).filter(function(c) {
1383
- return c.length > 0;
1417
+ for (var t = e.split(Gn).filter(function(f) {
1418
+ return f.length > 0;
1384
1419
  }), r = [], n = 0, i = t; n < i.length; n++) {
1385
1420
  var s = i[n], o = s.split("/");
1386
1421
  if (o.length === 0)
1387
1422
  throw new Error("Invalid number skeleton");
1388
1423
  for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1389
- var f = l[u];
1390
- if (f.length === 0)
1424
+ var c = l[u];
1425
+ if (c.length === 0)
1391
1426
  throw new Error("Invalid number skeleton");
1392
1427
  }
1393
1428
  r.push({ stem: a, options: h });
1394
1429
  }
1395
1430
  return r;
1396
1431
  }
1397
- function Un(e) {
1432
+ function jn(e) {
1398
1433
  return e.replace(/^(.*?)-/, "");
1399
1434
  }
1400
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1401
- function St(e) {
1435
+ var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1436
+ function Ot(e) {
1402
1437
  var t = {};
1403
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1438
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1404
1439
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1405
1440
  }), t;
1406
1441
  }
1407
- function sr(e) {
1442
+ function hr(e) {
1408
1443
  switch (e) {
1409
1444
  case "sign-auto":
1410
1445
  return {
@@ -1444,7 +1479,7 @@ function sr(e) {
1444
1479
  };
1445
1480
  }
1446
1481
  }
1447
- function Gn(e) {
1482
+ function Vn(e) {
1448
1483
  var t;
1449
1484
  if (e[0] === "E" && e[1] === "E" ? (t = {
1450
1485
  notation: "engineering"
@@ -1452,17 +1487,17 @@ function Gn(e) {
1452
1487
  notation: "scientific"
1453
1488
  }, e = e.slice(1)), t) {
1454
1489
  var r = e.slice(0, 2);
1455
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1490
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1456
1491
  throw new Error("Malformed concise eng/scientific notation");
1457
1492
  t.minimumIntegerDigits = e.length;
1458
1493
  }
1459
1494
  return t;
1460
1495
  }
1461
- function Tt(e) {
1462
- var t = {}, r = sr(e);
1496
+ function At(e) {
1497
+ var t = {}, r = hr(e);
1463
1498
  return r || t;
1464
1499
  }
1465
- function Fn(e) {
1500
+ function Xn(e) {
1466
1501
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1467
1502
  var i = n[r];
1468
1503
  switch (i.stem) {
@@ -1486,7 +1521,7 @@ function Fn(e) {
1486
1521
  continue;
1487
1522
  case "measure-unit":
1488
1523
  case "unit":
1489
- t.style = "unit", t.unit = Un(i.options[0]);
1524
+ t.style = "unit", t.unit = jn(i.options[0]);
1490
1525
  continue;
1491
1526
  case "compact-short":
1492
1527
  case "K":
@@ -1497,13 +1532,13 @@ function Fn(e) {
1497
1532
  t.notation = "compact", t.compactDisplay = "long";
1498
1533
  continue;
1499
1534
  case "scientific":
1500
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1501
- return v(v({}, h), Tt(u));
1535
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1536
+ return _(_({}, h), At(u));
1502
1537
  }, {}));
1503
1538
  continue;
1504
1539
  case "engineering":
1505
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1506
- return v(v({}, h), Tt(u));
1540
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1541
+ return _(_({}, h), At(u));
1507
1542
  }, {}));
1508
1543
  continue;
1509
1544
  case "notation-simple":
@@ -1548,41 +1583,41 @@ function Fn(e) {
1548
1583
  case "integer-width":
1549
1584
  if (i.options.length > 1)
1550
1585
  throw new RangeError("integer-width stems only accept a single optional option");
1551
- i.options[0].replace(Dn, function(h, u, l, f, c, d) {
1586
+ i.options[0].replace(kn, function(h, u, l, c, f, p) {
1552
1587
  if (u)
1553
1588
  t.minimumIntegerDigits = l.length;
1554
1589
  else {
1555
- if (f && c)
1590
+ if (c && f)
1556
1591
  throw new Error("We currently do not support maximum integer digits");
1557
- if (d)
1592
+ if (p)
1558
1593
  throw new Error("We currently do not support exact integer digits");
1559
1594
  }
1560
1595
  return "";
1561
1596
  });
1562
1597
  continue;
1563
1598
  }
1564
- if (ir.test(i.stem)) {
1599
+ if (ur.test(i.stem)) {
1565
1600
  t.minimumIntegerDigits = i.stem.length;
1566
1601
  continue;
1567
1602
  }
1568
- if (xt.test(i.stem)) {
1603
+ if (Ht.test(i.stem)) {
1569
1604
  if (i.options.length > 1)
1570
1605
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1571
- i.stem.replace(xt, function(h, u, l, f, c, d) {
1572
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1606
+ i.stem.replace(Ht, function(h, u, l, c, f, p) {
1607
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1573
1608
  });
1574
1609
  var s = i.options[0];
1575
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), St(s)));
1610
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), Ot(s)));
1576
1611
  continue;
1577
1612
  }
1578
- if (nr.test(i.stem)) {
1579
- t = v(v({}, t), St(i.stem));
1613
+ if (ar.test(i.stem)) {
1614
+ t = _(_({}, t), Ot(i.stem));
1580
1615
  continue;
1581
1616
  }
1582
- var o = sr(i.stem);
1583
- o && (t = v(v({}, t), o));
1584
- var a = Gn(i.stem);
1585
- a && (t = v(v({}, t), a));
1617
+ var o = hr(i.stem);
1618
+ o && (t = _(_({}, t), o));
1619
+ var a = Vn(i.stem);
1620
+ a && (t = _(_({}, t), a));
1586
1621
  }
1587
1622
  return t;
1588
1623
  }
@@ -3001,13 +3036,13 @@ var Ee = {
3001
3036
  "h"
3002
3037
  ]
3003
3038
  };
3004
- function jn(e, t) {
3039
+ function Wn(e, t) {
3005
3040
  for (var r = "", n = 0; n < e.length; n++) {
3006
3041
  var i = e.charAt(n);
3007
3042
  if (i === "j") {
3008
3043
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3009
3044
  s++, n++;
3010
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = kn(t);
3045
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = zn(t);
3011
3046
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3012
3047
  r += h;
3013
3048
  for (; o-- > 0; )
@@ -3017,7 +3052,7 @@ function jn(e, t) {
3017
3052
  }
3018
3053
  return r;
3019
3054
  }
3020
- function kn(e) {
3055
+ function zn(e) {
3021
3056
  var t = e.hourCycle;
3022
3057
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3023
3058
  e.hourCycles && // @ts-ignore
@@ -3039,20 +3074,20 @@ function kn(e) {
3039
3074
  var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3040
3075
  return i[0];
3041
3076
  }
3042
- var De, Vn = new RegExp("^".concat(rr.source, "*")), Xn = new RegExp("".concat(rr.source, "*$"));
3077
+ var je, Zn = new RegExp("^".concat(or.source, "*")), Qn = new RegExp("".concat(or.source, "*$"));
3043
3078
  function b(e, t) {
3044
3079
  return { start: e, end: t };
3045
3080
  }
3046
- var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Jn = !!String.prototype.trimEnd, Yn = !!Number.isSafeInteger, Kn = Yn ? Number.isSafeInteger : function(e) {
3081
+ var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
3047
3082
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3048
- }, Je = !0;
3083
+ }, rt = !0;
3049
3084
  try {
3050
- var ei = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3051
- Je = ((De = ei.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3085
+ var ii = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3086
+ rt = ((je = ii.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3052
3087
  } catch (e) {
3053
- Je = !1;
3088
+ rt = !1;
3054
3089
  }
3055
- var Ht = Wn ? (
3090
+ var Bt = qn ? (
3056
3091
  // Native
3057
3092
  function(t, r, n) {
3058
3093
  return t.startsWith(r, n);
@@ -3062,7 +3097,7 @@ var Ht = Wn ? (
3062
3097
  function(t, r, n) {
3063
3098
  return t.slice(n, n + r.length) === r;
3064
3099
  }
3065
- ), Ye = zn ? String.fromCodePoint : (
3100
+ ), nt = Jn ? String.fromCodePoint : (
3066
3101
  // IE11
3067
3102
  function() {
3068
3103
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3074,9 +3109,9 @@ var Ht = Wn ? (
3074
3109
  }
3075
3110
  return n;
3076
3111
  }
3077
- ), wt = (
3112
+ ), Pt = (
3078
3113
  // native
3079
- Zn ? Object.fromEntries : (
3114
+ Yn ? Object.fromEntries : (
3080
3115
  // Ponyfill
3081
3116
  function(t) {
3082
3117
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3086,7 +3121,7 @@ var Ht = Wn ? (
3086
3121
  return r;
3087
3122
  }
3088
3123
  )
3089
- ), or = Qn ? (
3124
+ ), lr = Kn ? (
3090
3125
  // Native
3091
3126
  function(t, r) {
3092
3127
  return t.codePointAt(r);
@@ -3100,7 +3135,7 @@ var Ht = Wn ? (
3100
3135
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3101
3136
  }
3102
3137
  }
3103
- ), ti = qn ? (
3138
+ ), si = ei ? (
3104
3139
  // Native
3105
3140
  function(t) {
3106
3141
  return t.trimStart();
@@ -3108,9 +3143,9 @@ var Ht = Wn ? (
3108
3143
  ) : (
3109
3144
  // Ponyfill
3110
3145
  function(t) {
3111
- return t.replace(Vn, "");
3146
+ return t.replace(Zn, "");
3112
3147
  }
3113
- ), ri = Jn ? (
3148
+ ), oi = ti ? (
3114
3149
  // Native
3115
3150
  function(t) {
3116
3151
  return t.trimEnd();
@@ -3118,32 +3153,32 @@ var Ht = Wn ? (
3118
3153
  ) : (
3119
3154
  // Ponyfill
3120
3155
  function(t) {
3121
- return t.replace(Xn, "");
3156
+ return t.replace(Qn, "");
3122
3157
  }
3123
3158
  );
3124
- function ar(e, t) {
3159
+ function cr(e, t) {
3125
3160
  return new RegExp(e, t);
3126
3161
  }
3127
- var Ke;
3128
- if (Je) {
3129
- var Bt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3130
- Ke = function(t, r) {
3162
+ var it;
3163
+ if (rt) {
3164
+ var Ct = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3165
+ it = function(t, r) {
3131
3166
  var n;
3132
- Bt.lastIndex = r;
3133
- var i = Bt.exec(t);
3167
+ Ct.lastIndex = r;
3168
+ var i = Ct.exec(t);
3134
3169
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3135
3170
  };
3136
3171
  } else
3137
- Ke = function(t, r) {
3172
+ it = function(t, r) {
3138
3173
  for (var n = []; ; ) {
3139
- var i = or(t, r);
3140
- if (i === void 0 || ur(i) || oi(i))
3174
+ var i = lr(t, r);
3175
+ if (i === void 0 || fr(i) || li(i))
3141
3176
  break;
3142
3177
  n.push(i), r += i >= 65536 ? 2 : 1;
3143
3178
  }
3144
- return Ye.apply(void 0, n);
3179
+ return nt.apply(void 0, n);
3145
3180
  };
3146
- var ni = (
3181
+ var ai = (
3147
3182
  /** @class */
3148
3183
  function() {
3149
3184
  function e(t, r) {
@@ -3167,14 +3202,14 @@ var ni = (
3167
3202
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3168
3203
  var a = this.clonePosition();
3169
3204
  this.bump(), i.push({
3170
- type: _.pound,
3205
+ type: v.pound,
3171
3206
  location: b(a, this.clonePosition())
3172
3207
  });
3173
3208
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3174
3209
  if (n)
3175
3210
  break;
3176
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3177
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3211
+ return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3212
+ } else if (s === 60 && !this.ignoreTag && st(this.peek() || 0)) {
3178
3213
  var o = this.parseTag(t, r);
3179
3214
  if (o.err)
3180
3215
  return o;
@@ -3195,7 +3230,7 @@ var ni = (
3195
3230
  if (this.bumpSpace(), this.bumpIf("/>"))
3196
3231
  return {
3197
3232
  val: {
3198
- type: _.literal,
3233
+ type: v.literal,
3199
3234
  value: "<".concat(i, "/>"),
3200
3235
  location: b(n, this.clonePosition())
3201
3236
  },
@@ -3207,25 +3242,25 @@ var ni = (
3207
3242
  return s;
3208
3243
  var o = s.val, a = this.clonePosition();
3209
3244
  if (this.bumpIf("</")) {
3210
- if (this.isEOF() || !et(this.char()))
3211
- return this.error(p.INVALID_TAG, b(a, this.clonePosition()));
3245
+ if (this.isEOF() || !st(this.char()))
3246
+ return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
3212
3247
  var h = this.clonePosition(), u = this.parseTagName();
3213
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3248
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3214
3249
  val: {
3215
- type: _.tag,
3250
+ type: v.tag,
3216
3251
  value: i,
3217
3252
  children: o,
3218
3253
  location: b(n, this.clonePosition())
3219
3254
  },
3220
3255
  err: null
3221
- } : this.error(p.INVALID_TAG, b(a, this.clonePosition())));
3256
+ } : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
3222
3257
  } else
3223
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
3258
+ return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
3224
3259
  } else
3225
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
3260
+ return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
3226
3261
  }, e.prototype.parseTagName = function() {
3227
3262
  var t = this.offset();
3228
- for (this.bump(); !this.isEOF() && si(this.char()); )
3263
+ for (this.bump(); !this.isEOF() && hi(this.char()); )
3229
3264
  this.bump();
3230
3265
  return this.message.slice(t, this.offset());
3231
3266
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3249,12 +3284,12 @@ var ni = (
3249
3284
  }
3250
3285
  var h = b(n, this.clonePosition());
3251
3286
  return {
3252
- val: { type: _.literal, value: i, location: h },
3287
+ val: { type: v.literal, value: i, location: h },
3253
3288
  err: null
3254
3289
  };
3255
3290
  }, e.prototype.tryParseLeftAngleBracket = function() {
3256
3291
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3257
- !ii(this.peek() || 0)) ? (this.bump(), "<") : null;
3292
+ !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3258
3293
  }, e.prototype.tryParseQuote = function(t) {
3259
3294
  if (this.isEOF() || this.char() !== 39)
3260
3295
  return null;
@@ -3288,28 +3323,28 @@ var ni = (
3288
3323
  r.push(n);
3289
3324
  this.bump();
3290
3325
  }
3291
- return Ye.apply(void 0, r);
3326
+ return nt.apply(void 0, r);
3292
3327
  }, e.prototype.tryParseUnquoted = function(t, r) {
3293
3328
  if (this.isEOF())
3294
3329
  return null;
3295
3330
  var n = this.char();
3296
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3331
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
3297
3332
  }, e.prototype.parseArgument = function(t, r) {
3298
3333
  var n = this.clonePosition();
3299
3334
  if (this.bump(), this.bumpSpace(), this.isEOF())
3300
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3335
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3301
3336
  if (this.char() === 125)
3302
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3337
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3303
3338
  var i = this.parseIdentifierIfPossible().value;
3304
3339
  if (!i)
3305
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3340
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3306
3341
  if (this.bumpSpace(), this.isEOF())
3307
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3342
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3308
3343
  switch (this.char()) {
3309
3344
  case 125:
3310
3345
  return this.bump(), {
3311
3346
  val: {
3312
- type: _.argument,
3347
+ type: v.argument,
3313
3348
  // value does not include the opening and closing braces.
3314
3349
  value: i,
3315
3350
  location: b(n, this.clonePosition())
@@ -3317,12 +3352,12 @@ var ni = (
3317
3352
  err: null
3318
3353
  };
3319
3354
  case 44:
3320
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3355
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3321
3356
  default:
3322
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3357
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3323
3358
  }
3324
3359
  }, e.prototype.parseIdentifierIfPossible = function() {
3325
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3360
+ var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
3326
3361
  this.bumpTo(i);
3327
3362
  var s = this.clonePosition(), o = b(t, s);
3328
3363
  return { value: n, location: o };
@@ -3330,7 +3365,7 @@ var ni = (
3330
3365
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3331
3366
  switch (a) {
3332
3367
  case "":
3333
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(o, h));
3368
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(o, h));
3334
3369
  case "number":
3335
3370
  case "date":
3336
3371
  case "time": {
@@ -3338,47 +3373,47 @@ var ni = (
3338
3373
  var u = null;
3339
3374
  if (this.bumpIf(",")) {
3340
3375
  this.bumpSpace();
3341
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3342
- if (f.err)
3343
- return f;
3344
- var c = ri(f.val);
3345
- if (c.length === 0)
3346
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3347
- var d = b(l, this.clonePosition());
3348
- u = { style: c, styleLocation: d };
3376
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3377
+ if (c.err)
3378
+ return c;
3379
+ var f = oi(c.val);
3380
+ if (f.length === 0)
3381
+ return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3382
+ var p = b(l, this.clonePosition());
3383
+ u = { style: f, styleLocation: p };
3349
3384
  }
3350
3385
  var y = this.tryParseArgumentClose(i);
3351
3386
  if (y.err)
3352
3387
  return y;
3353
3388
  var g = b(i, this.clonePosition());
3354
- if (u && Ht(u == null ? void 0 : u.style, "::", 0)) {
3355
- var O = ti(u.style.slice(2));
3389
+ if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
3390
+ var B = si(u.style.slice(2));
3356
3391
  if (a === "number") {
3357
- var f = this.parseNumberSkeletonFromString(O, u.styleLocation);
3358
- return f.err ? f : {
3359
- val: { type: _.number, value: n, location: g, style: f.val },
3392
+ var c = this.parseNumberSkeletonFromString(B, u.styleLocation);
3393
+ return c.err ? c : {
3394
+ val: { type: v.number, value: n, location: g, style: c.val },
3360
3395
  err: null
3361
3396
  };
3362
3397
  } else {
3363
- if (O.length === 0)
3364
- return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
3365
- var T = O;
3366
- this.locale && (T = jn(O, this.locale));
3367
- var c = {
3368
- type: ee.dateTime,
3369
- pattern: T,
3398
+ if (B.length === 0)
3399
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3400
+ var w = B;
3401
+ this.locale && (w = Wn(B, this.locale));
3402
+ var f = {
3403
+ type: K.dateTime,
3404
+ pattern: w,
3370
3405
  location: u.styleLocation,
3371
- parsedOptions: this.shouldParseSkeletons ? Nn(T) : {}
3372
- }, L = a === "date" ? _.date : _.time;
3406
+ parsedOptions: this.shouldParseSkeletons ? Dn(w) : {}
3407
+ }, L = a === "date" ? v.date : v.time;
3373
3408
  return {
3374
- val: { type: L, value: n, location: g, style: c },
3409
+ val: { type: L, value: n, location: g, style: f },
3375
3410
  err: null
3376
3411
  };
3377
3412
  }
3378
3413
  }
3379
3414
  return {
3380
3415
  val: {
3381
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3416
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3382
3417
  value: n,
3383
3418
  location: g,
3384
3419
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -3389,19 +3424,19 @@ var ni = (
3389
3424
  case "plural":
3390
3425
  case "selectordinal":
3391
3426
  case "select": {
3392
- var H = this.clonePosition();
3427
+ var T = this.clonePosition();
3393
3428
  if (this.bumpSpace(), !this.bumpIf(","))
3394
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, v({}, H)));
3429
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(T, He({}, T)));
3395
3430
  this.bumpSpace();
3396
3431
  var m = this.parseIdentifierIfPossible(), S = 0;
3397
3432
  if (a !== "select" && m.value === "offset") {
3398
3433
  if (!this.bumpIf(":"))
3399
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3434
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3400
3435
  this.bumpSpace();
3401
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3402
- if (f.err)
3403
- return f;
3404
- this.bumpSpace(), m = this.parseIdentifierIfPossible(), S = f.val;
3436
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3437
+ if (c.err)
3438
+ return c;
3439
+ this.bumpSpace(), m = this.parseIdentifierIfPossible(), S = c.val;
3405
3440
  }
3406
3441
  var $ = this.tryParsePluralOrSelectOptions(t, a, r, m);
3407
3442
  if ($.err)
@@ -3409,32 +3444,32 @@ var ni = (
3409
3444
  var y = this.tryParseArgumentClose(i);
3410
3445
  if (y.err)
3411
3446
  return y;
3412
- var ae = b(i, this.clonePosition());
3447
+ var oe = b(i, this.clonePosition());
3413
3448
  return a === "select" ? {
3414
3449
  val: {
3415
- type: _.select,
3450
+ type: v.select,
3416
3451
  value: n,
3417
- options: wt($.val),
3418
- location: ae
3452
+ options: Pt($.val),
3453
+ location: oe
3419
3454
  },
3420
3455
  err: null
3421
3456
  } : {
3422
3457
  val: {
3423
- type: _.plural,
3458
+ type: v.plural,
3424
3459
  value: n,
3425
- options: wt($.val),
3460
+ options: Pt($.val),
3426
3461
  offset: S,
3427
3462
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3428
- location: ae
3463
+ location: oe
3429
3464
  },
3430
3465
  err: null
3431
3466
  };
3432
3467
  }
3433
3468
  default:
3434
- return this.error(p.INVALID_ARGUMENT_TYPE, b(o, h));
3469
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(o, h));
3435
3470
  }
3436
3471
  }, e.prototype.tryParseArgumentClose = function(t) {
3437
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3472
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3438
3473
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3439
3474
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3440
3475
  var n = this.char();
@@ -3443,7 +3478,7 @@ var ni = (
3443
3478
  this.bump();
3444
3479
  var i = this.clonePosition();
3445
3480
  if (!this.bumpUntil("'"))
3446
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3481
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3447
3482
  this.bump();
3448
3483
  break;
3449
3484
  }
@@ -3473,52 +3508,52 @@ var ni = (
3473
3508
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3474
3509
  var n = [];
3475
3510
  try {
3476
- n = Rn(t);
3511
+ n = Fn(t);
3477
3512
  } catch (i) {
3478
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3513
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3479
3514
  }
3480
3515
  return {
3481
3516
  val: {
3482
- type: ee.number,
3517
+ type: K.number,
3483
3518
  tokens: n,
3484
3519
  location: r,
3485
- parsedOptions: this.shouldParseSkeletons ? Fn(n) : {}
3520
+ parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3486
3521
  },
3487
3522
  err: null
3488
3523
  };
3489
3524
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3490
3525
  for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3491
3526
  if (u.length === 0) {
3492
- var f = this.clonePosition();
3527
+ var c = this.clonePosition();
3493
3528
  if (r !== "select" && this.bumpIf("=")) {
3494
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3495
- if (c.err)
3496
- return c;
3497
- l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3529
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3530
+ if (f.err)
3531
+ return f;
3532
+ l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3498
3533
  } else
3499
3534
  break;
3500
3535
  }
3501
3536
  if (h.has(u))
3502
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3537
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3503
3538
  u === "other" && (o = !0), this.bumpSpace();
3504
- var d = this.clonePosition();
3539
+ var p = this.clonePosition();
3505
3540
  if (!this.bumpIf("{"))
3506
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3541
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3507
3542
  var y = this.parseMessage(t + 1, r, n);
3508
3543
  if (y.err)
3509
3544
  return y;
3510
- var g = this.tryParseArgumentClose(d);
3545
+ var g = this.tryParseArgumentClose(p);
3511
3546
  if (g.err)
3512
3547
  return g;
3513
3548
  a.push([
3514
3549
  u,
3515
3550
  {
3516
3551
  value: y.val,
3517
- location: b(d, this.clonePosition())
3552
+ location: b(p, this.clonePosition())
3518
3553
  }
3519
3554
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3520
3555
  }
3521
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3556
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3522
3557
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3523
3558
  var n = 1, i = this.clonePosition();
3524
3559
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3530,7 +3565,7 @@ var ni = (
3530
3565
  break;
3531
3566
  }
3532
3567
  var h = b(i, this.clonePosition());
3533
- return s ? (o *= n, Kn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3568
+ return s ? (o *= n, ni(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3534
3569
  }, e.prototype.offset = function() {
3535
3570
  return this.position.offset;
3536
3571
  }, e.prototype.isEOF = function() {
@@ -3545,7 +3580,7 @@ var ni = (
3545
3580
  var t = this.position.offset;
3546
3581
  if (t >= this.message.length)
3547
3582
  throw Error("out of bound");
3548
- var r = or(this.message, t);
3583
+ var r = lr(this.message, t);
3549
3584
  if (r === void 0)
3550
3585
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3551
3586
  return r;
@@ -3564,7 +3599,7 @@ var ni = (
3564
3599
  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);
3565
3600
  }
3566
3601
  }, e.prototype.bumpIf = function(t) {
3567
- if (Ht(this.message, t, this.offset())) {
3602
+ if (Bt(this.message, t, this.offset())) {
3568
3603
  for (var r = 0; r < t.length; r++)
3569
3604
  this.bump();
3570
3605
  return !0;
@@ -3586,7 +3621,7 @@ var ni = (
3586
3621
  break;
3587
3622
  }
3588
3623
  }, e.prototype.bumpSpace = function() {
3589
- for (; !this.isEOF() && ur(this.char()); )
3624
+ for (; !this.isEOF() && fr(this.char()); )
3590
3625
  this.bump();
3591
3626
  }, e.prototype.peek = function() {
3592
3627
  if (this.isEOF())
@@ -3596,47 +3631,47 @@ var ni = (
3596
3631
  }, e;
3597
3632
  }()
3598
3633
  );
3599
- function et(e) {
3634
+ function st(e) {
3600
3635
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3601
3636
  }
3602
- function ii(e) {
3603
- return et(e) || e === 47;
3637
+ function ui(e) {
3638
+ return st(e) || e === 47;
3604
3639
  }
3605
- function si(e) {
3640
+ function hi(e) {
3606
3641
  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;
3607
3642
  }
3608
- function ur(e) {
3643
+ function fr(e) {
3609
3644
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3610
3645
  }
3611
- function oi(e) {
3646
+ function li(e) {
3612
3647
  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;
3613
3648
  }
3614
- function tt(e) {
3649
+ function ot(e) {
3615
3650
  e.forEach(function(t) {
3616
- if (delete t.location, Yt(t) || Kt(t))
3651
+ if (delete t.location, rr(t) || nr(t))
3617
3652
  for (var r in t.options)
3618
- delete t.options[r].location, tt(t.options[r].value);
3653
+ delete t.options[r].location, ot(t.options[r].value);
3619
3654
  else
3620
- Qt(t) && tr(t.style) || (qt(t) || Jt(t)) && qe(t.style) ? delete t.style.location : er(t) && tt(t.children);
3655
+ Kt(t) && sr(t.style) || (er(t) || tr(t)) && tt(t.style) ? delete t.style.location : ir(t) && ot(t.children);
3621
3656
  });
3622
3657
  }
3623
- function ai(e, t) {
3624
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3625
- var r = new ni(e, t).parse();
3658
+ function ci(e, t) {
3659
+ t === void 0 && (t = {}), t = He({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3660
+ var r = new ai(e, t).parse();
3626
3661
  if (r.err) {
3627
- var n = SyntaxError(p[r.err.kind]);
3662
+ var n = SyntaxError(d[r.err.kind]);
3628
3663
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3629
3664
  }
3630
- return t != null && t.captureLocation || tt(r.val), r.val;
3665
+ return t != null && t.captureLocation || ot(r.val), r.val;
3631
3666
  }
3632
- var te;
3667
+ var ee;
3633
3668
  (function(e) {
3634
3669
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3635
- })(te || (te = {}));
3636
- var Ce = (
3670
+ })(ee || (ee = {}));
3671
+ var Le = (
3637
3672
  /** @class */
3638
3673
  function(e) {
3639
- G(t, e);
3674
+ Ie(t, e);
3640
3675
  function t(r, n, i) {
3641
3676
  var s = e.call(this, r) || this;
3642
3677
  return s.code = n, s.originalMessage = i, s;
@@ -3645,48 +3680,48 @@ var Ce = (
3645
3680
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3646
3681
  }, t;
3647
3682
  }(Error)
3648
- ), At = (
3683
+ ), It = (
3649
3684
  /** @class */
3650
3685
  function(e) {
3651
- G(t, e);
3686
+ Ie(t, e);
3652
3687
  function t(r, n, i, s) {
3653
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3688
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3654
3689
  }
3655
3690
  return t;
3656
- }(Ce)
3657
- ), ui = (
3691
+ }(Le)
3692
+ ), fi = (
3658
3693
  /** @class */
3659
3694
  function(e) {
3660
- G(t, e);
3695
+ Ie(t, e);
3661
3696
  function t(r, n, i) {
3662
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3697
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3663
3698
  }
3664
3699
  return t;
3665
- }(Ce)
3666
- ), hi = (
3700
+ }(Le)
3701
+ ), pi = (
3667
3702
  /** @class */
3668
3703
  function(e) {
3669
- G(t, e);
3704
+ Ie(t, e);
3670
3705
  function t(r, n) {
3671
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3706
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3672
3707
  }
3673
3708
  return t;
3674
- }(Ce)
3709
+ }(Le)
3675
3710
  ), A;
3676
3711
  (function(e) {
3677
3712
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3678
3713
  })(A || (A = {}));
3679
- function li(e) {
3714
+ function di(e) {
3680
3715
  return e.length < 2 ? e : e.reduce(function(t, r) {
3681
3716
  var n = t[t.length - 1];
3682
3717
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3683
3718
  }, []);
3684
3719
  }
3685
- function fi(e) {
3720
+ function mi(e) {
3686
3721
  return typeof e == "function";
3687
3722
  }
3688
- function Te(e, t, r, n, i, s, o) {
3689
- if (e.length === 1 && Et(e[0]))
3723
+ function we(e, t, r, n, i, s, o) {
3724
+ if (e.length === 1 && Tt(e[0]))
3690
3725
  return [
3691
3726
  {
3692
3727
  type: A.literal,
@@ -3695,60 +3730,60 @@ function Te(e, t, r, n, i, s, o) {
3695
3730
  ];
3696
3731
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3697
3732
  var l = u[h];
3698
- if (Et(l)) {
3733
+ if (Tt(l)) {
3699
3734
  a.push({
3700
3735
  type: A.literal,
3701
3736
  value: l.value
3702
3737
  });
3703
3738
  continue;
3704
3739
  }
3705
- if (Ln(l)) {
3740
+ if (Rn(l)) {
3706
3741
  typeof s == "number" && a.push({
3707
3742
  type: A.literal,
3708
3743
  value: r.getNumberFormat(t).format(s)
3709
3744
  });
3710
3745
  continue;
3711
3746
  }
3712
- var f = l.value;
3713
- if (!(i && f in i))
3714
- throw new hi(f, o);
3715
- var c = i[f];
3716
- if (In(l)) {
3717
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3718
- type: typeof c == "string" ? A.literal : A.object,
3719
- value: c
3747
+ var c = l.value;
3748
+ if (!(i && c in i))
3749
+ throw new pi(c, o);
3750
+ var f = i[c];
3751
+ if ($n(l)) {
3752
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3753
+ type: typeof f == "string" ? A.literal : A.object,
3754
+ value: f
3720
3755
  });
3721
3756
  continue;
3722
3757
  }
3723
- if (qt(l)) {
3724
- var d = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
3758
+ if (er(l)) {
3759
+ var p = typeof l.style == "string" ? n.date[l.style] : tt(l.style) ? l.style.parsedOptions : void 0;
3725
3760
  a.push({
3726
3761
  type: A.literal,
3727
- value: r.getDateTimeFormat(t, d).format(c)
3762
+ value: r.getDateTimeFormat(t, p).format(f)
3728
3763
  });
3729
3764
  continue;
3730
3765
  }
3731
- if (Jt(l)) {
3732
- var d = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
3766
+ if (tr(l)) {
3767
+ var p = typeof l.style == "string" ? n.time[l.style] : tt(l.style) ? l.style.parsedOptions : n.time.medium;
3733
3768
  a.push({
3734
3769
  type: A.literal,
3735
- value: r.getDateTimeFormat(t, d).format(c)
3770
+ value: r.getDateTimeFormat(t, p).format(f)
3736
3771
  });
3737
3772
  continue;
3738
3773
  }
3739
- if (Qt(l)) {
3740
- var d = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3741
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3774
+ if (Kt(l)) {
3775
+ var p = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3776
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3742
3777
  type: A.literal,
3743
- value: r.getNumberFormat(t, d).format(c)
3778
+ value: r.getNumberFormat(t, p).format(f)
3744
3779
  });
3745
3780
  continue;
3746
3781
  }
3747
- if (er(l)) {
3748
- var y = l.children, g = l.value, O = i[g];
3749
- if (!fi(O))
3750
- throw new ui(g, "function", o);
3751
- var T = Te(y, t, r, n, i, s), L = O(T.map(function(S) {
3782
+ if (ir(l)) {
3783
+ var y = l.children, g = l.value, B = i[g];
3784
+ if (!mi(B))
3785
+ throw new fi(g, "function", o);
3786
+ var w = we(y, t, r, n, i, s), L = B(w.map(function(S) {
3752
3787
  return S.value;
3753
3788
  }));
3754
3789
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(S) {
@@ -3758,42 +3793,42 @@ function Te(e, t, r, n, i, s, o) {
3758
3793
  };
3759
3794
  }));
3760
3795
  }
3761
- if (Yt(l)) {
3762
- var H = l.options[c] || l.options.other;
3763
- if (!H)
3764
- throw new At(l.value, c, Object.keys(l.options), o);
3765
- a.push.apply(a, Te(H.value, t, r, n, i));
3796
+ if (rr(l)) {
3797
+ var T = l.options[f] || l.options.other;
3798
+ if (!T)
3799
+ throw new It(l.value, f, Object.keys(l.options), o);
3800
+ a.push.apply(a, we(T.value, t, r, n, i));
3766
3801
  continue;
3767
3802
  }
3768
- if (Kt(l)) {
3769
- var H = l.options["=".concat(c)];
3770
- if (!H) {
3803
+ if (nr(l)) {
3804
+ var T = l.options["=".concat(f)];
3805
+ if (!T) {
3771
3806
  if (!Intl.PluralRules)
3772
- throw new Ce(`Intl.PluralRules is not available in this environment.
3807
+ throw new Le(`Intl.PluralRules is not available in this environment.
3773
3808
  Try polyfilling it using "@formatjs/intl-pluralrules"
3774
- `, te.MISSING_INTL_API, o);
3775
- var m = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3776
- H = l.options[m] || l.options.other;
3809
+ `, ee.MISSING_INTL_API, o);
3810
+ var m = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3811
+ T = l.options[m] || l.options.other;
3777
3812
  }
3778
- if (!H)
3779
- throw new At(l.value, c, Object.keys(l.options), o);
3780
- a.push.apply(a, Te(H.value, t, r, n, i, c - (l.offset || 0)));
3813
+ if (!T)
3814
+ throw new It(l.value, f, Object.keys(l.options), o);
3815
+ a.push.apply(a, we(T.value, t, r, n, i, f - (l.offset || 0)));
3781
3816
  continue;
3782
3817
  }
3783
3818
  }
3784
- return li(a);
3819
+ return di(a);
3785
3820
  }
3786
- function ci(e, t) {
3787
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3788
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3821
+ function bi(e, t) {
3822
+ return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3823
+ return r[n] = U(U({}, e[n]), t[n] || {}), r;
3789
3824
  }, {})) : e;
3790
3825
  }
3791
- function di(e, t) {
3826
+ function yi(e, t) {
3792
3827
  return t ? Object.keys(e).reduce(function(r, n) {
3793
- return r[n] = ci(e[n], t[n]), r;
3794
- }, v({}, e)) : e;
3828
+ return r[n] = bi(e[n], t[n]), r;
3829
+ }, U({}, e)) : e;
3795
3830
  }
3796
- function Ge(e) {
3831
+ function ke(e) {
3797
3832
  return {
3798
3833
  create: function() {
3799
3834
  return {
@@ -3807,39 +3842,39 @@ function Ge(e) {
3807
3842
  }
3808
3843
  };
3809
3844
  }
3810
- function pi(e) {
3845
+ function gi(e) {
3811
3846
  return e === void 0 && (e = {
3812
3847
  number: {},
3813
3848
  dateTime: {},
3814
3849
  pluralRules: {}
3815
3850
  }), {
3816
- getNumberFormat: Re(function() {
3851
+ getNumberFormat: Ge(function() {
3817
3852
  for (var t, r = [], n = 0; n < arguments.length; n++)
3818
3853
  r[n] = arguments[n];
3819
- return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
3854
+ return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3820
3855
  }, {
3821
- cache: Ge(e.number),
3822
- strategy: Ue.variadic
3856
+ cache: ke(e.number),
3857
+ strategy: Fe.variadic
3823
3858
  }),
3824
- getDateTimeFormat: Re(function() {
3859
+ getDateTimeFormat: Ge(function() {
3825
3860
  for (var t, r = [], n = 0; n < arguments.length; n++)
3826
3861
  r[n] = arguments[n];
3827
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
3862
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3828
3863
  }, {
3829
- cache: Ge(e.dateTime),
3830
- strategy: Ue.variadic
3864
+ cache: ke(e.dateTime),
3865
+ strategy: Fe.variadic
3831
3866
  }),
3832
- getPluralRules: Re(function() {
3867
+ getPluralRules: Ge(function() {
3833
3868
  for (var t, r = [], n = 0; n < arguments.length; n++)
3834
3869
  r[n] = arguments[n];
3835
- return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
3870
+ return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3836
3871
  }, {
3837
- cache: Ge(e.pluralRules),
3838
- strategy: Ue.variadic
3872
+ cache: ke(e.pluralRules),
3873
+ strategy: Fe.variadic
3839
3874
  })
3840
3875
  };
3841
3876
  }
3842
- var hr = (
3877
+ var pr = (
3843
3878
  /** @class */
3844
3879
  function() {
3845
3880
  function e(t, r, n, i) {
@@ -3853,12 +3888,12 @@ var hr = (
3853
3888
  var u = s.formatToParts(h);
3854
3889
  if (u.length === 1)
3855
3890
  return u[0].value;
3856
- var l = u.reduce(function(f, c) {
3857
- return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3891
+ var l = u.reduce(function(c, f) {
3892
+ return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3858
3893
  }, []);
3859
3894
  return l.length <= 1 ? l[0] || "" : l;
3860
3895
  }, this.formatToParts = function(h) {
3861
- return Te(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3896
+ return we(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3862
3897
  }, this.resolvedOptions = function() {
3863
3898
  var h;
3864
3899
  return {
@@ -3871,13 +3906,13 @@ var hr = (
3871
3906
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3872
3907
  var o = i || {};
3873
3908
  o.formatters;
3874
- var a = Wr(o, ["formatters"]);
3875
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3909
+ var a = An(o, ["formatters"]);
3910
+ this.ast = e.__parse(t, U(U({}, a), { locale: this.resolvedLocale }));
3876
3911
  } else
3877
3912
  this.ast = t;
3878
3913
  if (!Array.isArray(this.ast))
3879
3914
  throw new TypeError("A message must be provided as a String or AST.");
3880
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3915
+ this.formats = yi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3881
3916
  }
3882
3917
  return Object.defineProperty(e, "defaultLocale", {
3883
3918
  get: function() {
@@ -3890,7 +3925,7 @@ var hr = (
3890
3925
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3891
3926
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3892
3927
  }
3893
- }, e.__parse = ai, e.formats = {
3928
+ }, e.__parse = ci, e.formats = {
3894
3929
  number: {
3895
3930
  integer: {
3896
3931
  maximumFractionDigits: 0
@@ -3951,7 +3986,7 @@ var hr = (
3951
3986
  }, e;
3952
3987
  }()
3953
3988
  );
3954
- function mi(e, t) {
3989
+ function vi(e, t) {
3955
3990
  if (t == null)
3956
3991
  return;
3957
3992
  if (t in e)
@@ -3972,101 +4007,101 @@ function mi(e, t) {
3972
4007
  n = void 0;
3973
4008
  return n;
3974
4009
  }
3975
- const j = {}, bi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), lr = (e, t) => {
4010
+ const j = {}, _i = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), dr = (e, t) => {
3976
4011
  if (t == null)
3977
4012
  return;
3978
4013
  if (t in j && e in j[t])
3979
4014
  return j[t][e];
3980
4015
  const r = me(t);
3981
4016
  for (let n = 0; n < r.length; n++) {
3982
- const i = r[n], s = gi(i, e);
4017
+ const i = r[n], s = xi(i, e);
3983
4018
  if (s)
3984
- return bi(e, t, s);
4019
+ return _i(e, t, s);
3985
4020
  }
3986
4021
  };
3987
- let st;
3988
- const pe = Pe({});
3989
- function yi(e) {
3990
- return st[e] || null;
4022
+ let ht;
4023
+ const de = Ce({});
4024
+ function Ei(e) {
4025
+ return ht[e] || null;
3991
4026
  }
3992
- function fr(e) {
3993
- return e in st;
4027
+ function mr(e) {
4028
+ return e in ht;
3994
4029
  }
3995
- function gi(e, t) {
3996
- if (!fr(e))
4030
+ function xi(e, t) {
4031
+ if (!mr(e))
3997
4032
  return null;
3998
- const r = yi(e);
3999
- return mi(r, t);
4033
+ const r = Ei(e);
4034
+ return vi(r, t);
4000
4035
  }
4001
- function vi(e) {
4036
+ function Si(e) {
4002
4037
  if (e == null)
4003
4038
  return;
4004
4039
  const t = me(e);
4005
4040
  for (let r = 0; r < t.length; r++) {
4006
4041
  const n = t[r];
4007
- if (fr(n))
4042
+ if (mr(n))
4008
4043
  return n;
4009
4044
  }
4010
4045
  }
4011
- function cr(e, ...t) {
4012
- delete j[e], pe.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
4046
+ function br(e, ...t) {
4047
+ delete j[e], de.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4013
4048
  }
4014
- se(
4015
- [pe],
4049
+ ie(
4050
+ [de],
4016
4051
  ([e]) => Object.keys(e)
4017
4052
  );
4018
- pe.subscribe((e) => st = e);
4019
- const He = {};
4020
- function _i(e, t) {
4021
- He[e].delete(t), He[e].size === 0 && delete He[e];
4053
+ de.subscribe((e) => ht = e);
4054
+ const Te = {};
4055
+ function wi(e, t) {
4056
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
4022
4057
  }
4023
- function dr(e) {
4024
- return He[e];
4058
+ function yr(e) {
4059
+ return Te[e];
4025
4060
  }
4026
- function Ei(e) {
4061
+ function Ti(e) {
4027
4062
  return me(e).map((t) => {
4028
- const r = dr(t);
4063
+ const r = yr(t);
4029
4064
  return [t, r ? [...r] : []];
4030
4065
  }).filter(([, t]) => t.length > 0);
4031
4066
  }
4032
- function we(e) {
4067
+ function Oe(e) {
4033
4068
  return e == null ? !1 : me(e).some(
4034
4069
  (t) => {
4035
4070
  var r;
4036
- return (r = dr(t)) == null ? void 0 : r.size;
4071
+ return (r = yr(t)) == null ? void 0 : r.size;
4037
4072
  }
4038
4073
  );
4039
4074
  }
4040
- function xi(e, t) {
4075
+ function Hi(e, t) {
4041
4076
  return Promise.all(
4042
- t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
4043
- ).then((n) => cr(e, ...n));
4044
- }
4045
- const ue = {};
4046
- function pr(e) {
4047
- if (!we(e))
4048
- return e in ue ? ue[e] : Promise.resolve();
4049
- const t = Ei(e);
4050
- return ue[e] = Promise.all(
4077
+ t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4078
+ ).then((n) => br(e, ...n));
4079
+ }
4080
+ const ae = {};
4081
+ function gr(e) {
4082
+ if (!Oe(e))
4083
+ return e in ae ? ae[e] : Promise.resolve();
4084
+ const t = Ti(e);
4085
+ return ae[e] = Promise.all(
4051
4086
  t.map(
4052
- ([r, n]) => xi(r, n)
4087
+ ([r, n]) => Hi(r, n)
4053
4088
  )
4054
4089
  ).then(() => {
4055
- if (we(e))
4056
- return pr(e);
4057
- delete ue[e];
4058
- }), ue[e];
4090
+ if (Oe(e))
4091
+ return gr(e);
4092
+ delete ae[e];
4093
+ }), ae[e];
4059
4094
  }
4060
- var Ot = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Hi = (e, t) => {
4095
+ var Lt = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Bi = (e, t) => {
4061
4096
  var r = {};
4062
4097
  for (var n in e)
4063
- Si.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4064
- if (e != null && Ot)
4065
- for (var n of Ot(e))
4066
- t.indexOf(n) < 0 && Ti.call(e, n) && (r[n] = e[n]);
4098
+ Oi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4099
+ if (e != null && Lt)
4100
+ for (var n of Lt(e))
4101
+ t.indexOf(n) < 0 && Ai.call(e, n) && (r[n] = e[n]);
4067
4102
  return r;
4068
4103
  };
4069
- const wi = {
4104
+ const Pi = {
4070
4105
  number: {
4071
4106
  scientific: { notation: "scientific" },
4072
4107
  engineering: { notation: "engineering" },
@@ -4096,159 +4131,159 @@ const wi = {
4096
4131
  }
4097
4132
  }
4098
4133
  };
4099
- function Bi({ locale: e, id: t }) {
4134
+ function Ci({ locale: e, id: t }) {
4100
4135
  console.warn(
4101
4136
  `[svelte-i18n] The message "${t}" was not found in "${me(
4102
4137
  e
4103
- ).join('", "')}".${we(k()) ? `
4138
+ ).join('", "')}".${Oe(k()) ? `
4104
4139
 
4105
4140
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
4106
4141
  );
4107
4142
  }
4108
- const Ai = {
4143
+ const Ii = {
4109
4144
  fallbackLocale: null,
4110
4145
  loadingDelay: 200,
4111
- formats: wi,
4146
+ formats: Pi,
4112
4147
  warnOnMissingMessages: !0,
4113
4148
  handleMissingMessage: void 0,
4114
4149
  ignoreTag: !0
4115
- }, he = Ai;
4116
- function re() {
4117
- return he;
4150
+ }, ue = Ii;
4151
+ function te() {
4152
+ return ue;
4118
4153
  }
4119
- function Oi(e) {
4120
- const t = e, { formats: r } = t, n = Hi(t, ["formats"]);
4154
+ function Li(e) {
4155
+ const t = e, { formats: r } = t, n = Bi(t, ["formats"]);
4121
4156
  let i = e.fallbackLocale;
4122
4157
  if (e.initialLocale)
4123
4158
  try {
4124
- hr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
4159
+ pr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
4125
4160
  } catch (s) {
4126
4161
  console.warn(
4127
4162
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
4128
4163
  );
4129
4164
  }
4130
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Bi : console.warn(
4165
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ci : console.warn(
4131
4166
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
4132
- )), Object.assign(he, n, { initialLocale: i }), r && ("number" in r && Object.assign(he.formats.number, r.number), "date" in r && Object.assign(he.formats.date, r.date), "time" in r && Object.assign(he.formats.time, r.time)), X.set(i);
4133
- }
4134
- const Fe = Pe(!1);
4135
- var Pi = Object.defineProperty, Ci = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4136
- for (var r in t)
4137
- Li.call(t, r) && Ct(e, r, t[r]);
4138
- if (Pt)
4139
- for (var r of Pt(t))
4140
- Mi.call(t, r) && Ct(e, r, t[r]);
4167
+ )), Object.assign(ue, n, { initialLocale: i }), r && ("number" in r && Object.assign(ue.formats.number, r.number), "date" in r && Object.assign(ue.formats.date, r.date), "time" in r && Object.assign(ue.formats.time, r.time)), X.set(i);
4168
+ }
4169
+ const Ve = Ce(!1);
4170
+ var Mi = Object.defineProperty, Ni = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4171
+ for (var r in t || (t = {}))
4172
+ Ri.call(t, r) && Nt(e, r, t[r]);
4173
+ if (Mt)
4174
+ for (var r of Mt(t))
4175
+ Ui.call(t, r) && Nt(e, r, t[r]);
4141
4176
  return e;
4142
- }, $i = (e, t) => Ci(e, Ii(t));
4143
- let rt;
4144
- const Be = Pe(null);
4145
- function It(e) {
4177
+ }, Gi = (e, t) => Ni(e, $i(t));
4178
+ let at;
4179
+ const Ae = Ce(null);
4180
+ function $t(e) {
4146
4181
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4147
4182
  }
4148
- function me(e, t = re().fallbackLocale) {
4149
- const r = It(e);
4150
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4183
+ function me(e, t = te().fallbackLocale) {
4184
+ const r = $t(e);
4185
+ return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4151
4186
  }
4152
4187
  function k() {
4153
- return rt != null ? rt : void 0;
4188
+ return at != null ? at : void 0;
4154
4189
  }
4155
- Be.subscribe((e) => {
4156
- rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4190
+ Ae.subscribe((e) => {
4191
+ at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4157
4192
  });
4158
- const Ri = (e) => {
4159
- if (e && vi(e) && we(e)) {
4160
- const { loadingDelay: t } = re();
4193
+ const Fi = (e) => {
4194
+ if (e && Si(e) && Oe(e)) {
4195
+ const { loadingDelay: t } = te();
4161
4196
  let r;
4162
4197
  return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
4163
- () => Fe.set(!0),
4198
+ () => Ve.set(!0),
4164
4199
  t
4165
- ) : Fe.set(!0), pr(e).then(() => {
4166
- Be.set(e);
4200
+ ) : Ve.set(!0), gr(e).then(() => {
4201
+ Ae.set(e);
4167
4202
  }).finally(() => {
4168
- clearTimeout(r), Fe.set(!1);
4203
+ clearTimeout(r), Ve.set(!1);
4169
4204
  });
4170
4205
  }
4171
- return Be.set(e);
4172
- }, X = $i(Ni({}, Be), {
4173
- set: Ri
4174
- }), Ie = (e) => {
4206
+ return Ae.set(e);
4207
+ }, X = Gi(Di({}, Ae), {
4208
+ set: Fi
4209
+ }), Me = (e) => {
4175
4210
  const t = /* @__PURE__ */ Object.create(null);
4176
4211
  return (n) => {
4177
4212
  const i = JSON.stringify(n);
4178
4213
  return i in t ? t[i] : t[i] = e(n);
4179
4214
  };
4180
4215
  };
4181
- var Ui = Object.defineProperty, Ae = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4216
+ var ji = Object.defineProperty, Be = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4182
4217
  for (var r in t || (t = {}))
4183
- mr.call(t, r) && Lt(e, r, t[r]);
4184
- if (Ae)
4185
- for (var r of Ae(t))
4186
- br.call(t, r) && Lt(e, r, t[r]);
4218
+ vr.call(t, r) && Rt(e, r, t[r]);
4219
+ if (Be)
4220
+ for (var r of Be(t))
4221
+ _r.call(t, r) && Rt(e, r, t[r]);
4187
4222
  return e;
4188
- }, oe = (e, t) => {
4223
+ }, se = (e, t) => {
4189
4224
  var r = {};
4190
4225
  for (var n in e)
4191
- mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4192
- if (e != null && Ae)
4193
- for (var n of Ae(e))
4194
- t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
4226
+ vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4227
+ if (e != null && Be)
4228
+ for (var n of Be(e))
4229
+ t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4195
4230
  return r;
4196
4231
  };
4197
- const de = (e, t) => {
4198
- const { formats: r } = re();
4232
+ const fe = (e, t) => {
4233
+ const { formats: r } = te();
4199
4234
  if (e in r && t in r[e])
4200
4235
  return r[e][t];
4201
4236
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4202
- }, Di = Ie(
4237
+ }, ki = Me(
4203
4238
  (e) => {
4204
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4239
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4205
4240
  if (r == null)
4206
4241
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4207
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4242
+ return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4208
4243
  }
4209
- ), Gi = Ie(
4244
+ ), Vi = Me(
4210
4245
  (e) => {
4211
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4246
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4212
4247
  if (r == null)
4213
4248
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4214
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4249
+ return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4215
4250
  }
4216
- ), Fi = Ie(
4251
+ ), Xi = Me(
4217
4252
  (e) => {
4218
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4253
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4219
4254
  if (r == null)
4220
4255
  throw new Error(
4221
4256
  '[svelte-i18n] A "locale" must be set to format time values'
4222
4257
  );
4223
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4258
+ return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4224
4259
  }
4225
- ), ji = (e = {}) => {
4260
+ ), Wi = (e = {}) => {
4226
4261
  var t = e, {
4227
4262
  locale: r = k()
4228
- } = t, n = oe(t, [
4263
+ } = t, n = se(t, [
4229
4264
  "locale"
4230
4265
  ]);
4231
- return Di(ot({ locale: r }, n));
4232
- }, ki = (e = {}) => {
4266
+ return ki(lt({ locale: r }, n));
4267
+ }, zi = (e = {}) => {
4233
4268
  var t = e, {
4234
4269
  locale: r = k()
4235
- } = t, n = oe(t, [
4270
+ } = t, n = se(t, [
4236
4271
  "locale"
4237
4272
  ]);
4238
- return Gi(ot({ locale: r }, n));
4239
- }, Vi = (e = {}) => {
4273
+ return Vi(lt({ locale: r }, n));
4274
+ }, Zi = (e = {}) => {
4240
4275
  var t = e, {
4241
4276
  locale: r = k()
4242
- } = t, n = oe(t, [
4277
+ } = t, n = se(t, [
4243
4278
  "locale"
4244
4279
  ]);
4245
- return Fi(ot({ locale: r }, n));
4246
- }, Xi = Ie(
4280
+ return Xi(lt({ locale: r }, n));
4281
+ }, Qi = Me(
4247
4282
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4248
- (e, t = k()) => new hr(e, t, re().formats, {
4249
- ignoreTag: re().ignoreTag
4283
+ (e, t = k()) => new pr(e, t, te().formats, {
4284
+ ignoreTag: te().ignoreTag
4250
4285
  })
4251
- ), Wi = (e, t = {}) => {
4286
+ ), qi = (e, t = {}) => {
4252
4287
  var r, n, i, s;
4253
4288
  let o = t;
4254
4289
  typeof e == "object" && (o = e, e = o.id);
@@ -4261,39 +4296,39 @@ const de = (e, t) => {
4261
4296
  throw new Error(
4262
4297
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4263
4298
  );
4264
- let l = lr(e, h);
4299
+ let l = dr(e, h);
4265
4300
  if (!l)
4266
- l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4301
+ l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4267
4302
  else if (typeof l != "string")
4268
4303
  return console.warn(
4269
4304
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4270
4305
  ), l;
4271
4306
  if (!a)
4272
4307
  return l;
4273
- let f = l;
4308
+ let c = l;
4274
4309
  try {
4275
- f = Xi(l, h).format(a);
4276
- } catch (c) {
4277
- c instanceof Error && console.warn(
4310
+ c = Qi(l, h).format(a);
4311
+ } catch (f) {
4312
+ f instanceof Error && console.warn(
4278
4313
  `[svelte-i18n] Message "${e}" has syntax error:`,
4279
- c.message
4314
+ f.message
4280
4315
  );
4281
4316
  }
4282
- return f;
4283
- }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), qi = (e, t = k()) => lr(e, t), Ji = se([X, pe], () => Wi);
4284
- se([X], () => zi);
4285
- se([X], () => Zi);
4286
- se([X], () => Qi);
4287
- se([X, pe], () => qi);
4288
- window.emWidgets = { topic: an };
4289
- const Yi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4290
- function Ki(e, t) {
4317
+ return c;
4318
+ }, Ji = (e, t) => Zi(t).format(e), Yi = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), es = (e, t = k()) => dr(e, t), ts = ie([X, de], () => qi);
4319
+ ie([X], () => Ji);
4320
+ ie([X], () => Yi);
4321
+ ie([X], () => Ki);
4322
+ ie([X, de], () => es);
4323
+ window.emWidgets = { topic: ln };
4324
+ const rs = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4325
+ function ns(e, t) {
4291
4326
  if (e) {
4292
4327
  const r = document.createElement("style");
4293
4328
  r.innerHTML = t, e.appendChild(r);
4294
4329
  }
4295
4330
  }
4296
- function es(e, t) {
4331
+ function is(e, t) {
4297
4332
  const r = new URL(t);
4298
4333
  fetch(r.href).then((n) => n.text()).then((n) => {
4299
4334
  const i = document.createElement("style");
@@ -4302,7 +4337,7 @@ function es(e, t) {
4302
4337
  console.error("There was an error while trying to load client styling from URL", n);
4303
4338
  });
4304
4339
  }
4305
- function ts(e, t, r) {
4340
+ function ss(e, t, r) {
4306
4341
  if (window.emMessageBus) {
4307
4342
  const n = document.createElement("style");
4308
4343
  window.emMessageBus.subscribe(t, (i) => {
@@ -4310,8 +4345,8 @@ function ts(e, t, r) {
4310
4345
  });
4311
4346
  }
4312
4347
  }
4313
- var x = /* @__PURE__ */ ((e) => (e.MysteryChests = "MysteryChests", e.FlipCoin = "FlipCoin", e.LuckyWheels = "LuckyWheels", e.Dices = "Dices", e))(x || {}), yr = /* @__PURE__ */ ((e) => (e.Showed = "Showed", e.Hiden = "Hiden", e))(yr || {});
4314
- const Mt = {
4348
+ var x = /* @__PURE__ */ ((e) => (e.MysteryChests = "MysteryChests", e.FlipCoin = "FlipCoin", e.LuckyWheels = "LuckyWheels", e.Dices = "Dices", e))(x || {}), Er = /* @__PURE__ */ ((e) => (e.Showed = "Showed", e.Hiden = "Hiden", e))(Er || {});
4349
+ const Ut = {
4315
4350
  en: {
4316
4351
  mysteryChest: "Mystery Chest",
4317
4352
  luckyWheel: "LuckyWheel",
@@ -4319,25 +4354,25 @@ const Mt = {
4319
4354
  flipCoin: "Flip Coin"
4320
4355
  }
4321
4356
  };
4322
- function Nt(e, t) {
4323
- cr(e, t);
4357
+ function Dt(e, t) {
4358
+ br(e, t);
4324
4359
  }
4325
- function rs(e) {
4326
- Oi({
4360
+ function os(e) {
4361
+ Li({
4327
4362
  fallbackLocale: "en"
4328
4363
  }), X.set(e);
4329
4364
  }
4330
- function ns(e) {
4331
- wr(e, "svelte-dp9rm6", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.container{padding:0 16.5%}.container.mobile{padding:0 28px}.container.mobile .header{padding:16px 0 13px}.container.mobile .header .slider__container{gap:16px;justify-content:space-between;padding:0 24px}.container.mobile .header .slider__container__tab{font-size:var(--emw--font-size-2x-small, 10px)}.header{background:linear-gradient(89.94deg, var(--emw--color-background, #003e5c) 0.05%, var(--emw--color-background-secondary, #113b21) 87.69%);padding:23px 0 17px;border-radius:12px}.header .slider__container{display:flex;position:relative;gap:60px;justify-content:center}.header .slider__tab{padding:8px 0 13px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-gray-300, #729787);cursor:pointer;text-align:center;background:transparent;border:none;font-size:var(--emw--font-size-x-small, 12px);line-height:15px}.header .slider__tab.active{color:var(--emw--color-typography, #fff);border-bottom:2px solid var(--emw--button-border-color, #00b74f);margin-bottom:-2px}");
4365
+ function as(e) {
4366
+ Pr(e, "svelte-dp9rm6", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.container{padding:0 16.5%}.container.mobile{padding:0 28px}.container.mobile .header{padding:16px 0 13px}.container.mobile .header .slider__container{gap:16px;justify-content:space-between;padding:0 24px}.container.mobile .header .slider__container__tab{font-size:var(--emw--font-size-2x-small, 10px)}.header{background:linear-gradient(89.94deg, var(--emw--color-background, #003e5c) 0.05%, var(--emw--color-background-secondary, #113b21) 87.69%);padding:23px 0 17px;border-radius:12px}.header .slider__container{display:flex;position:relative;gap:60px;justify-content:center}.header .slider__tab{padding:8px 0 13px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-gray-300, #729787);cursor:pointer;text-align:center;background:transparent;border:none;font-size:var(--emw--font-size-x-small, 12px);line-height:15px}.header .slider__tab.active{color:var(--emw--color-typography, #fff);border-bottom:2px solid var(--emw--button-border-color, #00b74f);margin-bottom:-2px}");
4332
4367
  }
4333
- function is(e) {
4368
+ function us(e) {
4334
4369
  let t;
4335
4370
  return {
4336
4371
  c() {
4337
4372
  t = C("div"), t.textContent = "Comming soon";
4338
4373
  },
4339
4374
  m(r, n) {
4340
- ie(r, t, n);
4375
+ ne(r, t, n);
4341
4376
  },
4342
4377
  p: I,
4343
4378
  d(r) {
@@ -4345,14 +4380,14 @@ function is(e) {
4345
4380
  }
4346
4381
  };
4347
4382
  }
4348
- function ss(e) {
4383
+ function hs(e) {
4349
4384
  let t;
4350
4385
  return {
4351
4386
  c() {
4352
4387
  t = C("div"), t.textContent = "Comming soon";
4353
4388
  },
4354
4389
  m(r, n) {
4355
- ie(r, t, n);
4390
+ ne(r, t, n);
4356
4391
  },
4357
4392
  p: I,
4358
4393
  d(r) {
@@ -4360,14 +4395,14 @@ function ss(e) {
4360
4395
  }
4361
4396
  };
4362
4397
  }
4363
- function os(e) {
4398
+ function ls(e) {
4364
4399
  let t;
4365
4400
  return {
4366
4401
  c() {
4367
4402
  t = C("div"), t.textContent = "Comming soon";
4368
4403
  },
4369
4404
  m(r, n) {
4370
- ie(r, t, n);
4405
+ ne(r, t, n);
4371
4406
  },
4372
4407
  p: I,
4373
4408
  d(r) {
@@ -4375,7 +4410,7 @@ function os(e) {
4375
4410
  }
4376
4411
  };
4377
4412
  }
4378
- function as(e) {
4413
+ function cs(e) {
4379
4414
  let t;
4380
4415
  return {
4381
4416
  c() {
@@ -4399,7 +4434,7 @@ function as(e) {
4399
4434
  "clientstylingurl",
4400
4435
  /*clientstylingurl*/
4401
4436
  e[0]
4402
- ), R(t, "gameoverlay", yr.Hiden), R(t, "openedbydefauls", !0), R(
4437
+ ), R(t, "gameoverlay", Er.Hiden), R(t, "openedbydefauls", !0), R(
4403
4438
  t,
4404
4439
  "clientstyling",
4405
4440
  /*mysteryChestDrawerStyles*/
@@ -4407,7 +4442,7 @@ function as(e) {
4407
4442
  );
4408
4443
  },
4409
4444
  m(r, n) {
4410
- ie(r, t, n);
4445
+ ne(r, t, n);
4411
4446
  },
4412
4447
  p(r, n) {
4413
4448
  n & /*endpoint*/
@@ -4441,70 +4476,70 @@ function as(e) {
4441
4476
  }
4442
4477
  };
4443
4478
  }
4444
- function us(e) {
4479
+ function fs(e) {
4445
4480
  let t, r, n, i, s, o = (
4446
4481
  /*$_*/
4447
4482
  e[7]("mysteryChest") + ""
4448
4483
  ), a, h, u, l = (
4449
4484
  /*$_*/
4450
4485
  e[7]("flipCoin") + ""
4451
- ), f, c, d, y = (
4486
+ ), c, f, p, y = (
4452
4487
  /*$_*/
4453
4488
  e[7]("luckyWheel") + ""
4454
- ), g, O, T, L = (
4489
+ ), g, B, w, L = (
4455
4490
  /*$_*/
4456
4491
  e[7]("dices") + ""
4457
- ), H, m, S, $, ae;
4458
- function at(E, M) {
4492
+ ), T, m, S, $, oe;
4493
+ function ct(E, M) {
4459
4494
  if (
4460
4495
  /*activeTab*/
4461
4496
  E[6] === x.MysteryChests
4462
4497
  )
4463
- return as;
4498
+ return cs;
4464
4499
  if (
4465
4500
  /*activeTab*/
4466
4501
  E[6] === x.LuckyWheels
4467
4502
  )
4468
- return os;
4503
+ return ls;
4469
4504
  if (
4470
4505
  /*activeTab*/
4471
4506
  E[6] === x.FlipCoin
4472
4507
  )
4473
- return ss;
4508
+ return hs;
4474
4509
  if (
4475
4510
  /*activeTab*/
4476
4511
  E[6] === x.Dices
4477
4512
  )
4478
- return is;
4513
+ return us;
4479
4514
  }
4480
- let W = at(e), P = W && W(e);
4515
+ let W = ct(e), P = W && W(e);
4481
4516
  return {
4482
4517
  c() {
4483
- t = C("div"), r = C("div"), n = C("div"), i = C("div"), s = C("button"), a = q(o), h = ye(), u = C("button"), f = q(l), c = ye(), d = C("button"), g = q(y), O = ye(), T = C("button"), H = q(L), m = ye(), P && P.c(), B(s, "data-index", x.MysteryChests), B(s, "class", "slider__tab"), F(
4518
+ t = C("div"), r = C("div"), n = C("div"), i = C("div"), s = C("button"), a = q(o), h = ye(), u = C("button"), c = q(l), f = ye(), p = C("button"), g = q(y), B = ye(), w = C("button"), T = q(L), m = ye(), P && P.c(), O(s, "data-index", x.MysteryChests), O(s, "class", "slider__tab"), F(
4484
4519
  s,
4485
4520
  "active",
4486
4521
  /*activeTab*/
4487
4522
  e[6] === x.MysteryChests
4488
- ), B(u, "data-index", x.FlipCoin), B(u, "class", "slider__tab"), F(
4523
+ ), O(u, "data-index", x.FlipCoin), O(u, "class", "slider__tab"), F(
4489
4524
  u,
4490
4525
  "active",
4491
4526
  /*activeTab*/
4492
4527
  e[6] === x.FlipCoin
4493
- ), B(d, "data-index", x.LuckyWheels), B(d, "class", "slider__tab"), F(
4494
- d,
4528
+ ), O(p, "data-index", x.LuckyWheels), O(p, "class", "slider__tab"), F(
4529
+ p,
4495
4530
  "active",
4496
4531
  /*activeTab*/
4497
4532
  e[6] === x.LuckyWheels
4498
- ), B(T, "data-index", x.Dices), B(T, "class", "slider__tab"), F(
4499
- T,
4533
+ ), O(w, "data-index", x.Dices), O(w, "class", "slider__tab"), F(
4534
+ w,
4500
4535
  "active",
4501
4536
  /*activeTab*/
4502
4537
  e[6] === x.Dices
4503
- ), B(i, "class", "slider__container"), B(n, "class", "slider"), B(r, "class", "header"), B(t, "class", S = "container " + /*mobileView*/
4538
+ ), O(i, "class", "slider__container"), O(n, "class", "slider"), O(r, "class", "header"), O(t, "class", S = "container " + /*mobileView*/
4504
4539
  (e[5] ? "mobile" : ""));
4505
4540
  },
4506
4541
  m(E, M) {
4507
- ie(E, t, M), w(t, r), w(r, n), w(n, i), w(i, s), w(s, a), w(i, h), w(i, u), w(u, f), w(i, c), w(i, d), w(d, g), w(i, O), w(i, T), w(T, H), w(t, m), P && P.m(t, null), e[13](t), $ || (ae = [
4542
+ ne(E, t, M), H(t, r), H(r, n), H(n, i), H(i, s), H(s, a), H(i, h), H(i, u), H(u, c), H(i, f), H(i, p), H(p, g), H(i, B), H(i, w), H(w, T), H(t, m), P && P.m(t, null), e[13](t), $ || (oe = [
4508
4543
  ge(
4509
4544
  s,
4510
4545
  "click",
@@ -4518,13 +4553,13 @@ function us(e) {
4518
4553
  e[9]
4519
4554
  ),
4520
4555
  ge(
4521
- d,
4556
+ p,
4522
4557
  "click",
4523
4558
  /*handleTabChange*/
4524
4559
  e[9]
4525
4560
  ),
4526
4561
  ge(
4527
- T,
4562
+ w,
4528
4563
  "click",
4529
4564
  /*handleTabChange*/
4530
4565
  e[9]
@@ -4542,7 +4577,7 @@ function us(e) {
4542
4577
  E[6] === x.MysteryChests
4543
4578
  ), M & /*$_*/
4544
4579
  128 && l !== (l = /*$_*/
4545
- E[7]("flipCoin") + "") && ve(f, l), M & /*activeTab*/
4580
+ E[7]("flipCoin") + "") && ve(c, l), M & /*activeTab*/
4546
4581
  64 && F(
4547
4582
  u,
4548
4583
  "active",
@@ -4552,87 +4587,87 @@ function us(e) {
4552
4587
  128 && y !== (y = /*$_*/
4553
4588
  E[7]("luckyWheel") + "") && ve(g, y), M & /*activeTab*/
4554
4589
  64 && F(
4555
- d,
4590
+ p,
4556
4591
  "active",
4557
4592
  /*activeTab*/
4558
4593
  E[6] === x.LuckyWheels
4559
4594
  ), M & /*$_*/
4560
4595
  128 && L !== (L = /*$_*/
4561
- E[7]("dices") + "") && ve(H, L), M & /*activeTab*/
4596
+ E[7]("dices") + "") && ve(T, L), M & /*activeTab*/
4562
4597
  64 && F(
4563
- T,
4598
+ w,
4564
4599
  "active",
4565
4600
  /*activeTab*/
4566
4601
  E[6] === x.Dices
4567
- ), W === (W = at(E)) && P ? P.p(E, M) : (P && P.d(1), P = W && W(E), P && (P.c(), P.m(t, null))), M & /*mobileView*/
4602
+ ), W === (W = ct(E)) && P ? P.p(E, M) : (P && P.d(1), P = W && W(E), P && (P.c(), P.m(t, null))), M & /*mobileView*/
4568
4603
  32 && S !== (S = "container " + /*mobileView*/
4569
- (E[5] ? "mobile" : "")) && B(t, "class", S);
4604
+ (E[5] ? "mobile" : "")) && O(t, "class", S);
4570
4605
  },
4571
4606
  i: I,
4572
4607
  o: I,
4573
4608
  d(E) {
4574
- E && V(t), P && P.d(), e[13](null), $ = !1, ne(ae);
4609
+ E && V(t), P && P.d(), e[13](null), $ = !1, re(oe);
4575
4610
  }
4576
4611
  };
4577
4612
  }
4578
- function hs(e, t, r) {
4613
+ function ps(e, t, r) {
4579
4614
  let n;
4580
- Hr(e, Ji, (m) => r(7, n = m));
4581
- let { clientstyling: i = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: o = "" } = t, { mbsource: a } = t, { endpoint: h = "" } = t, { session: u = "" } = t, { lang: l = "en" } = t, f = !0, c = window.navigator.userAgent, d, y = x.MysteryChests;
4582
- const g = ".overlay { display: none; } .drawer { position: unset; transform: none; background: transparent; width: initial; height: initial; padding: 0; border-radius: 0; } .chests-header,.close,.chest-header__title { display: none } .mobile.drawer { padding: 0 } .back { height: 40px; width: 40px;} .chest-header {padding: 20px 0 0}", O = (m) => Me(this, null, function* () {
4615
+ Br(e, ts, (m) => r(7, n = m));
4616
+ let { clientstyling: i = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: o = "" } = t, { mbsource: a } = t, { endpoint: h = "" } = t, { session: u = "" } = t, { lang: l = "en" } = t, c = !0, f = window.navigator.userAgent, p, y = x.MysteryChests;
4617
+ const g = ".overlay { display: none; } .drawer { position: unset; transform: none; background: transparent; width: initial; height: initial; padding: 0; border-radius: 0; } .chests-header,.close,.chest-header__title { display: none } .mobile.drawer { padding: 0 } .back { height: 40px; width: 40px;} .chest-header {padding: 20px 0 0}", B = (m) => $e(this, null, function* () {
4583
4618
  r(6, y = m.target.getAttribute("data-index")), y === x.MysteryChests && window.postMessage({ type: "OpenMysteryChestDrawer" });
4584
- }), T = () => {
4585
- rs(l);
4619
+ }), w = () => {
4620
+ os(l);
4586
4621
  }, L = () => {
4587
4622
  fetch(o).then((S) => S.json()).then((S) => {
4588
4623
  Object.keys(S).forEach(($) => {
4589
- Nt($, S[$]);
4624
+ Dt($, S[$]);
4590
4625
  });
4591
4626
  });
4592
4627
  };
4593
- Object.keys(Mt).forEach((m) => {
4594
- Nt(m, Mt[m]);
4595
- }), Ir(() => (r(5, f = Yi(c)), () => {
4628
+ Object.keys(Ut).forEach((m) => {
4629
+ Dt(m, Ut[m]);
4630
+ }), $r(() => (r(5, c = rs(f)), () => {
4596
4631
  }));
4597
- function H(m) {
4598
- je[m ? "unshift" : "push"](() => {
4599
- d = m, r(4, d);
4632
+ function T(m) {
4633
+ Xe[m ? "unshift" : "push"](() => {
4634
+ p = m, r(4, p);
4600
4635
  });
4601
4636
  }
4602
4637
  return e.$$set = (m) => {
4603
4638
  "clientstyling" in m && r(10, i = m.clientstyling), "clientstylingurl" in m && r(0, s = m.clientstylingurl), "translationurl" in m && r(11, o = m.translationurl), "mbsource" in m && r(12, a = m.mbsource), "endpoint" in m && r(1, h = m.endpoint), "session" in m && r(2, u = m.session), "lang" in m && r(3, l = m.lang);
4604
4639
  }, e.$$.update = () => {
4605
4640
  e.$$.dirty & /*lang*/
4606
- 8 && l && T(), e.$$.dirty & /*translationurl*/
4641
+ 8 && l && w(), e.$$.dirty & /*translationurl*/
4607
4642
  2048 && o && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4608
- 1040 && i && d && Ki(d, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4609
- 17 && s && d && es(d, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4610
- 4112 && a && d && ts(d, `${a}.Style`);
4643
+ 1040 && i && p && ns(p, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4644
+ 17 && s && p && is(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4645
+ 4112 && a && p && ss(p, `${a}.Style`);
4611
4646
  }, [
4612
4647
  s,
4613
4648
  h,
4614
4649
  u,
4615
4650
  l,
4616
- d,
4617
- f,
4651
+ p,
4652
+ c,
4618
4653
  y,
4619
4654
  n,
4620
4655
  g,
4621
- O,
4656
+ B,
4622
4657
  i,
4623
4658
  o,
4624
4659
  a,
4625
- H
4660
+ T
4626
4661
  ];
4627
4662
  }
4628
- class gr extends Vr {
4663
+ class xr extends Zr {
4629
4664
  constructor(t) {
4630
- super(), jr(
4665
+ super(), Wr(
4631
4666
  this,
4632
4667
  t,
4633
- hs,
4634
- us,
4635
- Rt,
4668
+ ps,
4669
+ fs,
4670
+ Ft,
4636
4671
  {
4637
4672
  clientstyling: 10,
4638
4673
  clientstylingurl: 0,
@@ -4642,90 +4677,90 @@ class gr extends Vr {
4642
4677
  session: 2,
4643
4678
  lang: 3
4644
4679
  },
4645
- ns
4680
+ as
4646
4681
  );
4647
4682
  }
4648
4683
  get clientstyling() {
4649
4684
  return this.$$.ctx[10];
4650
4685
  }
4651
4686
  set clientstyling(t) {
4652
- this.$$set({ clientstyling: t }), U();
4687
+ this.$$set({ clientstyling: t }), D();
4653
4688
  }
4654
4689
  get clientstylingurl() {
4655
4690
  return this.$$.ctx[0];
4656
4691
  }
4657
4692
  set clientstylingurl(t) {
4658
- this.$$set({ clientstylingurl: t }), U();
4693
+ this.$$set({ clientstylingurl: t }), D();
4659
4694
  }
4660
4695
  get translationurl() {
4661
4696
  return this.$$.ctx[11];
4662
4697
  }
4663
4698
  set translationurl(t) {
4664
- this.$$set({ translationurl: t }), U();
4699
+ this.$$set({ translationurl: t }), D();
4665
4700
  }
4666
4701
  get mbsource() {
4667
4702
  return this.$$.ctx[12];
4668
4703
  }
4669
4704
  set mbsource(t) {
4670
- this.$$set({ mbsource: t }), U();
4705
+ this.$$set({ mbsource: t }), D();
4671
4706
  }
4672
4707
  get endpoint() {
4673
4708
  return this.$$.ctx[1];
4674
4709
  }
4675
4710
  set endpoint(t) {
4676
- this.$$set({ endpoint: t }), U();
4711
+ this.$$set({ endpoint: t }), D();
4677
4712
  }
4678
4713
  get session() {
4679
4714
  return this.$$.ctx[2];
4680
4715
  }
4681
4716
  set session(t) {
4682
- this.$$set({ session: t }), U();
4717
+ this.$$set({ session: t }), D();
4683
4718
  }
4684
4719
  get lang() {
4685
4720
  return this.$$.ctx[3];
4686
4721
  }
4687
4722
  set lang(t) {
4688
- this.$$set({ lang: t }), U();
4723
+ this.$$set({ lang: t }), D();
4689
4724
  }
4690
4725
  }
4691
- kr(gr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, endpoint: {}, session: {}, lang: {} }, [], [], !0);
4692
- const ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4726
+ zr(xr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, endpoint: {}, session: {}, lang: {} }, [], [], !0);
4727
+ const vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4693
4728
  __proto__: null,
4694
- default: gr
4729
+ default: xr
4695
4730
  }, Symbol.toStringTag, { value: "Module" }));
4696
4731
  export {
4697
4732
  X as $,
4698
- ps as A,
4699
- cs as B,
4700
- Ki as C,
4701
- es as D,
4702
- ts as E,
4703
- ms as F,
4704
- Vr as S,
4705
- wr as a,
4706
- ye as b,
4707
- kr as c,
4708
- ie as d,
4709
- ds as e,
4710
- U as f,
4711
- V as g,
4712
- Yi as h,
4713
- jr as i,
4733
+ gs as A,
4734
+ bs as B,
4735
+ ns as C,
4736
+ is as D,
4737
+ ss as E,
4738
+ vs as F,
4739
+ Zr as S,
4740
+ Pr as a,
4741
+ ne as b,
4742
+ ye as c,
4743
+ V as d,
4744
+ ys as e,
4745
+ D as f,
4746
+ rs as g,
4747
+ R as h,
4748
+ Wr as i,
4714
4749
  C as j,
4715
- R as k,
4716
- B as l,
4717
- fs as m,
4750
+ O as k,
4751
+ H as l,
4752
+ ge as m,
4718
4753
  I as n,
4719
- Ir as o,
4720
- w as p,
4721
- ge as q,
4722
- cr as r,
4723
- Rt as s,
4724
- q as t,
4754
+ $r as o,
4755
+ ms as p,
4756
+ zr as q,
4757
+ br as r,
4758
+ Ft as s,
4759
+ re as t,
4725
4760
  ve as u,
4726
- ne as v,
4727
- Hr as w,
4728
- je as x,
4729
- Ji as y,
4761
+ q as v,
4762
+ Br as w,
4763
+ Xe as x,
4764
+ ts as y,
4730
4765
  F as z
4731
4766
  };